signify-ts 0.3.0-rc2 → 0.4.0

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 (37) hide show
  1. package/dist/keri/app/aiding.d.ts +20 -4
  2. package/dist/keri/app/aiding.js +27 -2
  3. package/dist/keri/app/clienting.d.ts +2 -0
  4. package/dist/keri/app/clienting.js +1 -1
  5. package/dist/keri/app/contacting.d.ts +9 -14
  6. package/dist/keri/app/contacting.js +2 -2
  7. package/dist/keri/app/controller.js +2 -2
  8. package/dist/keri/app/coring.d.ts +119 -25
  9. package/dist/keri/app/coring.js +40 -13
  10. package/dist/keri/app/credentialing.d.ts +10 -10
  11. package/dist/keri/app/didwebing.d.ts +146 -0
  12. package/dist/keri/app/didwebing.js +359 -0
  13. package/dist/keri/app/escrowing.d.ts +4 -2
  14. package/dist/keri/app/escrowing.js +1 -1
  15. package/dist/keri/app/exchanging.d.ts +238 -7
  16. package/dist/keri/app/exchanging.js +102 -3
  17. package/dist/keri/app/grouping.d.ts +10 -8
  18. package/dist/keri/app/grouping.js +4 -4
  19. package/dist/keri/app/signaling.d.ts +50 -0
  20. package/dist/keri/app/signaling.js +52 -0
  21. package/dist/keri/app/w3cing.d.ts +137 -0
  22. package/dist/keri/app/w3cing.js +337 -0
  23. package/dist/keri/core/eventing.d.ts +2 -2
  24. package/dist/keri/core/eventing.js +7 -18
  25. package/dist/keri/core/keeping.d.ts +111 -8
  26. package/dist/keri/core/keeping.js +133 -54
  27. package/dist/keri/core/keyState.d.ts +84 -70
  28. package/dist/keri/core/keyState.js +1 -1
  29. package/dist/keri/core/manager.d.ts +1 -1
  30. package/dist/keri/core/manager.js +3 -3
  31. package/dist/keri/core/number.d.ts +1 -1
  32. package/dist/keri/core/number.js +7 -4
  33. package/dist/keri/core/salter.d.ts +2 -9
  34. package/dist/keri/core/salter.js +2 -9
  35. package/dist/types/keria-api-schema.d.ts +889 -35
  36. package/dist/types/keria-api-schema.js +34 -2
  37. package/package.json +3 -5
@@ -52,7 +52,7 @@ export interface components {
52
52
  IssEvent: {
53
53
  v: string;
54
54
  /** @enum {unknown} */
55
- t: 'iss' | 'bis';
55
+ t: IssEventT;
56
56
  d: string;
57
57
  i: string;
58
58
  s: string;
@@ -90,7 +90,7 @@ export interface components {
90
90
  i: string;
91
91
  s: string;
92
92
  p: string;
93
- a: components['schemas']['Seal'][];
93
+ a: unknown;
94
94
  };
95
95
  IXN_V_2: {
96
96
  v: string;
@@ -99,7 +99,7 @@ export interface components {
99
99
  i: string;
100
100
  s: string;
101
101
  p: string;
102
- a: components['schemas']['Seal'][];
102
+ a: unknown;
103
103
  };
104
104
  ICP_V_1: {
105
105
  v: string;
@@ -107,9 +107,9 @@ export interface components {
107
107
  d: string;
108
108
  i: string;
109
109
  s: string;
110
- kt: string;
110
+ kt: string | string[] | string[][];
111
111
  k: string[];
112
- nt: string;
112
+ nt: string | string[] | string[][];
113
113
  n: string[];
114
114
  bt: string;
115
115
  b: string[];
@@ -122,9 +122,9 @@ export interface components {
122
122
  d: string;
123
123
  i: string;
124
124
  s: string;
125
- kt: string;
125
+ kt: string | string[] | string[][];
126
126
  k: string[];
127
- nt: string;
127
+ nt: string | string[] | string[][];
128
128
  n: string[];
129
129
  bt: string;
130
130
  b: string[];
@@ -138,9 +138,9 @@ export interface components {
138
138
  i: string;
139
139
  s: string;
140
140
  p: string;
141
- kt: string;
141
+ kt: string | string[] | string[][];
142
142
  k: string[];
143
- nt: string;
143
+ nt: string | string[] | string[][];
144
144
  n: string[];
145
145
  bt: string;
146
146
  br: string[];
@@ -154,9 +154,9 @@ export interface components {
154
154
  i: string;
155
155
  s: string;
156
156
  p: string;
157
- kt: string;
157
+ kt: string | string[] | string[][];
158
158
  k: string[];
159
- nt: string;
159
+ nt: string | string[] | string[][];
160
160
  n: string[];
161
161
  bt: string;
162
162
  br: string[];
@@ -170,9 +170,9 @@ export interface components {
170
170
  d: string;
171
171
  i: string;
172
172
  s: string;
173
- kt: string;
173
+ kt: string | string[] | string[][];
174
174
  k: string[];
175
- nt: string;
175
+ nt: string | string[] | string[][];
176
176
  n: string[];
177
177
  bt: string;
178
178
  b: string[];
@@ -186,9 +186,9 @@ export interface components {
186
186
  d: string;
187
187
  i: string;
188
188
  s: string;
189
- kt: string;
189
+ kt: string | string[] | string[][];
190
190
  k: string[];
191
- nt: string;
191
+ nt: string | string[] | string[][];
192
192
  n: string[];
193
193
  bt: string;
194
194
  b: string[];
@@ -203,9 +203,9 @@ export interface components {
203
203
  i: string;
204
204
  s: string;
205
205
  p: string;
206
- kt: string;
206
+ kt: string | string[] | string[][];
207
207
  k: string[];
208
- nt: string;
208
+ nt: string | string[] | string[][];
209
209
  n: string[];
210
210
  bt: string;
211
211
  br: string[];
@@ -219,9 +219,9 @@ export interface components {
219
219
  i: string;
220
220
  s: string;
221
221
  p: string;
222
- kt: string;
222
+ kt: string | string[] | string[][];
223
223
  k: string[];
224
- nt: string;
224
+ nt: string | string[] | string[][];
225
225
  n: string[];
226
226
  bt: string;
227
227
  br: string[];
@@ -229,6 +229,85 @@ export interface components {
229
229
  c: string[];
230
230
  a: unknown;
231
231
  };
232
+ RPY_V_1: {
233
+ v: string;
234
+ t: string;
235
+ d: string;
236
+ dt: string;
237
+ r: string;
238
+ a: unknown;
239
+ };
240
+ RPY_V_2: {
241
+ v: string;
242
+ t: string;
243
+ d: string;
244
+ i: string;
245
+ dt: string;
246
+ r: string;
247
+ a: unknown;
248
+ };
249
+ VCP_V_1: {
250
+ v: string;
251
+ t: string;
252
+ d: string;
253
+ i: string;
254
+ ii: string;
255
+ s: string;
256
+ c: string[];
257
+ bt: string;
258
+ b: string[];
259
+ n: string;
260
+ };
261
+ ISS_V_1: {
262
+ v: string;
263
+ t: string;
264
+ d: string;
265
+ i: string;
266
+ s: string;
267
+ ri: string;
268
+ dt: string;
269
+ };
270
+ REV_V_1: {
271
+ v: string;
272
+ t: string;
273
+ d: string;
274
+ i: string;
275
+ s: string;
276
+ ri: string;
277
+ p: string;
278
+ dt: string;
279
+ };
280
+ EXN_V_1: {
281
+ v: string;
282
+ t: string;
283
+ d: string;
284
+ i: string;
285
+ rp: string;
286
+ p: string;
287
+ dt: string;
288
+ r: string;
289
+ q: {
290
+ [key: string]: unknown;
291
+ };
292
+ a: unknown;
293
+ e: {
294
+ [key: string]: unknown;
295
+ };
296
+ };
297
+ EXN_V_2: {
298
+ v: string;
299
+ t: string;
300
+ d: string;
301
+ i: string;
302
+ x: string;
303
+ p: string;
304
+ dt: string;
305
+ r: string;
306
+ q: {
307
+ [key: string]: unknown;
308
+ };
309
+ a: unknown;
310
+ };
232
311
  Credential: {
233
312
  sad: components['schemas']['ACDC_V_1'] | components['schemas']['ACDC_V_2'];
234
313
  atc: string;
@@ -244,20 +323,6 @@ export interface components {
244
323
  anc: components['schemas']['IXN_V_1'] | components['schemas']['IXN_V_2'] | components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'] | components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'] | components['schemas']['DIP_V_1'] | components['schemas']['DIP_V_2'] | components['schemas']['DRT_V_1'] | components['schemas']['DRT_V_2'];
245
324
  ancatc: string;
246
325
  };
247
- OperationStatus: {
248
- code: number;
249
- message: string;
250
- details?: {
251
- [key: string]: unknown;
252
- } | null;
253
- };
254
- Operation: {
255
- name: string;
256
- error?: components['schemas']['OperationStatus'];
257
- done?: boolean;
258
- metadata?: Record<string, never>;
259
- response?: Record<string, never>;
260
- };
261
326
  EmptyDict: Record<string, never>;
262
327
  CredentialStateIssOrRev: {
263
328
  vn: unknown;
@@ -268,7 +333,7 @@ export interface components {
268
333
  a: components['schemas']['Seal'];
269
334
  dt: string;
270
335
  /** @enum {unknown} */
271
- et: 'iss' | 'rev';
336
+ et: CredentialStateIssOrRevEt;
272
337
  ra: components['schemas']['EmptyDict'];
273
338
  };
274
339
  RaFields: {
@@ -285,7 +350,7 @@ export interface components {
285
350
  a: components['schemas']['Seal'];
286
351
  dt: string;
287
352
  /** @enum {unknown} */
288
- et: 'bis' | 'brv';
353
+ et: CredentialStateBisOrBrvEt;
289
354
  ra: components['schemas']['RaFields'];
290
355
  };
291
356
  CredentialState: components['schemas']['CredentialStateIssOrRev'] | components['schemas']['CredentialStateBisOrBrv'];
@@ -295,6 +360,767 @@ export interface components {
295
360
  pre: string;
296
361
  state: components['schemas']['CredentialState'];
297
362
  };
363
+ StateEERecord: {
364
+ /** @default 0 */
365
+ s: string;
366
+ /** @default */
367
+ d: string;
368
+ br?: unknown[];
369
+ ba?: unknown[];
370
+ };
371
+ KeyStateRecord: {
372
+ vn?: number[];
373
+ /** @default */
374
+ i: string;
375
+ /** @default 0 */
376
+ s: string;
377
+ /** @default */
378
+ p: string;
379
+ /** @default */
380
+ d: string;
381
+ /** @default 0 */
382
+ f: string;
383
+ /** @default */
384
+ dt: string;
385
+ /** @default */
386
+ et: string;
387
+ kt: string | string[];
388
+ k: string[];
389
+ nt: string | string[];
390
+ n: string[];
391
+ /** @default 0 */
392
+ bt: string;
393
+ b: string[];
394
+ c: string[];
395
+ ee: components['schemas']['StateEERecord'];
396
+ /** @default */
397
+ di: string;
398
+ };
399
+ Controller: {
400
+ state: components['schemas']['KeyStateRecord'];
401
+ ee: components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'] | components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'] | components['schemas']['DIP_V_1'] | components['schemas']['DIP_V_2'] | components['schemas']['DRT_V_1'] | components['schemas']['DRT_V_2'];
402
+ };
403
+ AgentResourceResult: {
404
+ agent: components['schemas']['KeyStateRecord'];
405
+ controller: components['schemas']['Controller'];
406
+ pidx: number;
407
+ /** @default null */
408
+ ridx: number | null;
409
+ /** @default null */
410
+ sxlt: string | null;
411
+ };
412
+ HabState: {
413
+ name: string;
414
+ prefix: string;
415
+ icp_dt: string;
416
+ state: components['schemas']['KeyStateRecord'];
417
+ transferable: boolean;
418
+ windexes: string[];
419
+ } & ({
420
+ salty: components['schemas']['SaltyState'];
421
+ } | {
422
+ randy: components['schemas']['RandyKeyState'];
423
+ } | {
424
+ group: components['schemas']['GroupKeyState'];
425
+ } | {
426
+ extern: components['schemas']['ExternState'];
427
+ });
428
+ SaltyState: {
429
+ tier: components['schemas']['Tier'];
430
+ /** @default */
431
+ sxlt: string;
432
+ /** @default 0 */
433
+ pidx: number;
434
+ /** @default 0 */
435
+ kidx: number;
436
+ /** @default */
437
+ stem: string;
438
+ /** @default */
439
+ dcode: string;
440
+ icodes: string[];
441
+ ncodes: string[];
442
+ /** @default false */
443
+ transferable: boolean;
444
+ };
445
+ RandyKeyState: {
446
+ prxs: string[];
447
+ nxts: string[];
448
+ };
449
+ GroupKeyState: {
450
+ mhab: components['schemas']['HabState'];
451
+ keys: string[];
452
+ ndigs: string[];
453
+ };
454
+ ExternState: {
455
+ extern_type: string;
456
+ pidx: number;
457
+ } & {
458
+ [key: string]: unknown;
459
+ };
460
+ HabStateBase: {
461
+ name: string;
462
+ prefix: string;
463
+ icp_dt: string;
464
+ } & ({
465
+ salty: components['schemas']['SaltyState'];
466
+ } | {
467
+ randy: components['schemas']['RandyKeyState'];
468
+ } | {
469
+ group: components['schemas']['GroupKeyState'];
470
+ } | {
471
+ extern: components['schemas']['ExternState'];
472
+ });
473
+ /**
474
+ * @description Tier of key material
475
+ * @enum {string}
476
+ */
477
+ Tier: Tier;
478
+ OOBI: {
479
+ /** @enum {string} */
480
+ role: OOBIRole;
481
+ oobis: string[];
482
+ };
483
+ EndRole: {
484
+ cid: string;
485
+ role: string;
486
+ eid: string;
487
+ };
488
+ Challenge: {
489
+ words: string[];
490
+ dt?: string;
491
+ said?: string;
492
+ authenticated?: boolean;
493
+ };
494
+ MemberEnds: {
495
+ /** @default null */
496
+ agent: {
497
+ [key: string]: string;
498
+ } | null;
499
+ /** @default null */
500
+ controller: {
501
+ [key: string]: string;
502
+ } | null;
503
+ /** @default null */
504
+ witness: {
505
+ [key: string]: string;
506
+ } | null;
507
+ /** @default null */
508
+ registrar: {
509
+ [key: string]: string;
510
+ } | null;
511
+ /** @default null */
512
+ watcher: {
513
+ [key: string]: string;
514
+ } | null;
515
+ /** @default null */
516
+ judge: {
517
+ [key: string]: string;
518
+ } | null;
519
+ /** @default null */
520
+ juror: {
521
+ [key: string]: string;
522
+ } | null;
523
+ /** @default null */
524
+ peer: {
525
+ [key: string]: string;
526
+ } | null;
527
+ /** @default null */
528
+ mailbox: {
529
+ [key: string]: string;
530
+ } | null;
531
+ };
532
+ WellKnown: {
533
+ url: string;
534
+ dt: string;
535
+ };
536
+ Contact: {
537
+ id: string;
538
+ alias?: string;
539
+ oobi?: string;
540
+ ends?: components['schemas']['MemberEnds'];
541
+ challenges?: components['schemas']['Challenge'][];
542
+ wellKnowns?: components['schemas']['WellKnown'][];
543
+ } & {
544
+ [key: string]: unknown;
545
+ };
546
+ AidRecord: {
547
+ aid: string;
548
+ ends: components['schemas']['MemberEnds'];
549
+ };
550
+ GroupMember: {
551
+ signing: components['schemas']['AidRecord'][];
552
+ rotation: components['schemas']['AidRecord'][];
553
+ };
554
+ KeyEventRecord: {
555
+ ked: components['schemas']['IXN_V_1'] | components['schemas']['IXN_V_2'] | components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'] | components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'] | components['schemas']['DIP_V_1'] | components['schemas']['DIP_V_2'] | components['schemas']['DRT_V_1'] | components['schemas']['DRT_V_2'];
556
+ atc: string;
557
+ };
558
+ AgentConfig: {
559
+ iurls?: string[];
560
+ };
561
+ Exn: components['schemas']['EXN_V_1'] | components['schemas']['EXN_V_2'];
562
+ Icp: components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'];
563
+ Rot: components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'];
564
+ Vcp: components['schemas']['VCP_V_1'];
565
+ Iss: components['schemas']['ISS_V_1'];
566
+ Ixn: components['schemas']['IXN_V_1'] | components['schemas']['IXN_V_2'];
567
+ Rpy: components['schemas']['RPY_V_1'] | components['schemas']['RPY_V_2'];
568
+ NotificationData: {
569
+ r?: string;
570
+ d?: string;
571
+ m?: string;
572
+ } & {
573
+ [key: string]: unknown;
574
+ };
575
+ Notification: {
576
+ i: string;
577
+ dt: string;
578
+ r: boolean;
579
+ a: components['schemas']['NotificationData'];
580
+ };
581
+ ExchangeResource: {
582
+ exn: components['schemas']['Exn'];
583
+ pathed: {
584
+ [key: string]: unknown;
585
+ };
586
+ };
587
+ MultisigInceptEmbeds: {
588
+ icp: components['schemas']['Icp'];
589
+ };
590
+ MultisigRotateEmbeds: {
591
+ rot: components['schemas']['Rot'];
592
+ };
593
+ MultisigInteractEmbeds: {
594
+ ixn: components['schemas']['Ixn'];
595
+ };
596
+ MultisigRegistryInceptEmbeds: {
597
+ vcp: components['schemas']['Vcp'];
598
+ anc: components['schemas']['IXN_V_1'] | components['schemas']['IXN_V_2'] | components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'] | components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'] | components['schemas']['DIP_V_1'] | components['schemas']['DIP_V_2'] | components['schemas']['DRT_V_1'] | components['schemas']['DRT_V_2'];
599
+ };
600
+ MultisigIssueEmbeds: {
601
+ acdc: components['schemas']['ACDC_V_1'] | components['schemas']['ACDC_V_2'];
602
+ iss: components['schemas']['Iss'];
603
+ anc: components['schemas']['IXN_V_1'] | components['schemas']['IXN_V_2'] | components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'] | components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'] | components['schemas']['DIP_V_1'] | components['schemas']['DIP_V_2'] | components['schemas']['DRT_V_1'] | components['schemas']['DRT_V_2'];
604
+ };
605
+ MultisigRevokeEmbeds: {
606
+ rev: components['schemas']['REV_V_1'];
607
+ anc: components['schemas']['IXN_V_1'] | components['schemas']['IXN_V_2'] | components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'] | components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'] | components['schemas']['DIP_V_1'] | components['schemas']['DIP_V_2'] | components['schemas']['DRT_V_1'] | components['schemas']['DRT_V_2'];
608
+ };
609
+ MultisigRpyEmbeds: {
610
+ rpy: components['schemas']['Rpy'];
611
+ };
612
+ MultisigExnEmbeds: {
613
+ exn: components['schemas']['Exn'];
614
+ };
615
+ ExnEmbeds: {
616
+ d: string;
617
+ } & (components['schemas']['MultisigInceptEmbeds'] | components['schemas']['MultisigRotateEmbeds'] | components['schemas']['MultisigInteractEmbeds'] | components['schemas']['MultisigRegistryInceptEmbeds'] | components['schemas']['MultisigIssueEmbeds'] | components['schemas']['MultisigRevokeEmbeds'] | components['schemas']['MultisigRpyEmbeds'] | components['schemas']['MultisigExnEmbeds']);
618
+ ExnMultisig: {
619
+ exn: components['schemas']['Exn'];
620
+ paths: {
621
+ [key: string]: unknown;
622
+ };
623
+ groupName?: string;
624
+ memberName?: string;
625
+ sender?: string;
626
+ };
627
+ OOBIMetadata: {
628
+ oobi: string;
629
+ };
630
+ PendingOOBIOperation: {
631
+ name: string;
632
+ metadata?: components['schemas']['OOBIMetadata'];
633
+ /**
634
+ * @default false
635
+ * @enum {unknown}
636
+ */
637
+ done: false;
638
+ };
639
+ CompletedOOBIOperation: {
640
+ name: string;
641
+ metadata?: components['schemas']['OOBIMetadata'];
642
+ response: components['schemas']['KeyStateRecord'];
643
+ /**
644
+ * @default true
645
+ * @enum {unknown}
646
+ */
647
+ done: true;
648
+ };
649
+ OperationStatus: {
650
+ code: number;
651
+ message: string;
652
+ details?: {
653
+ [key: string]: unknown;
654
+ } | null;
655
+ };
656
+ FailedOOBIOperation: {
657
+ name: string;
658
+ metadata?: components['schemas']['OOBIMetadata'];
659
+ error: components['schemas']['OperationStatus'];
660
+ /**
661
+ * @default true
662
+ * @enum {unknown}
663
+ */
664
+ done: true;
665
+ };
666
+ OOBIOperation: components['schemas']['PendingOOBIOperation'] | components['schemas']['CompletedOOBIOperation'] | components['schemas']['FailedOOBIOperation'];
667
+ QueryMetadata: {
668
+ pre: string;
669
+ sn: number;
670
+ anchor?: components['schemas']['Anchor'];
671
+ };
672
+ PendingQueryOperation: {
673
+ name: string;
674
+ metadata?: components['schemas']['QueryMetadata'];
675
+ /**
676
+ * @default false
677
+ * @enum {unknown}
678
+ */
679
+ done: false;
680
+ };
681
+ CompletedQueryOperation: {
682
+ name: string;
683
+ metadata?: components['schemas']['QueryMetadata'];
684
+ response: components['schemas']['KeyStateRecord'];
685
+ /**
686
+ * @default true
687
+ * @enum {unknown}
688
+ */
689
+ done: true;
690
+ };
691
+ FailedQueryOperation: {
692
+ name: string;
693
+ metadata?: components['schemas']['QueryMetadata'];
694
+ error: components['schemas']['OperationStatus'];
695
+ /**
696
+ * @default true
697
+ * @enum {unknown}
698
+ */
699
+ done: true;
700
+ };
701
+ QueryOperation: components['schemas']['PendingQueryOperation'] | components['schemas']['CompletedQueryOperation'] | components['schemas']['FailedQueryOperation'];
702
+ EndRoleMetadata: {
703
+ cid: string;
704
+ role: string;
705
+ eid: string;
706
+ };
707
+ PendingEndRoleOperation: {
708
+ name: string;
709
+ metadata?: components['schemas']['EndRoleMetadata'];
710
+ /**
711
+ * @default false
712
+ * @enum {unknown}
713
+ */
714
+ done: false;
715
+ };
716
+ CompletedEndRoleOperation: {
717
+ name: string;
718
+ metadata?: components['schemas']['EndRoleMetadata'];
719
+ response: components['schemas']['RPY_V_1'] | components['schemas']['RPY_V_2'];
720
+ /**
721
+ * @default true
722
+ * @enum {unknown}
723
+ */
724
+ done: true;
725
+ };
726
+ FailedEndRoleOperation: {
727
+ name: string;
728
+ metadata?: components['schemas']['EndRoleMetadata'];
729
+ error: components['schemas']['OperationStatus'];
730
+ /**
731
+ * @default true
732
+ * @enum {unknown}
733
+ */
734
+ done: true;
735
+ };
736
+ EndRoleOperation: components['schemas']['PendingEndRoleOperation'] | components['schemas']['CompletedEndRoleOperation'] | components['schemas']['FailedEndRoleOperation'];
737
+ WitnessMetadata: {
738
+ pre: string;
739
+ sn: number;
740
+ };
741
+ PendingWitnessOperation: {
742
+ name: string;
743
+ metadata?: components['schemas']['WitnessMetadata'];
744
+ /**
745
+ * @default false
746
+ * @enum {unknown}
747
+ */
748
+ done: false;
749
+ };
750
+ CompletedWitnessOperation: {
751
+ name: string;
752
+ metadata?: components['schemas']['WitnessMetadata'];
753
+ response: components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'] | components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'] | components['schemas']['IXN_V_1'] | components['schemas']['IXN_V_2'];
754
+ /**
755
+ * @default true
756
+ * @enum {unknown}
757
+ */
758
+ done: true;
759
+ };
760
+ FailedWitnessOperation: {
761
+ name: string;
762
+ metadata?: components['schemas']['WitnessMetadata'];
763
+ error: components['schemas']['OperationStatus'];
764
+ /**
765
+ * @default true
766
+ * @enum {unknown}
767
+ */
768
+ done: true;
769
+ };
770
+ WitnessOperation: components['schemas']['PendingWitnessOperation'] | components['schemas']['CompletedWitnessOperation'] | components['schemas']['FailedWitnessOperation'];
771
+ DelegationMetadata: {
772
+ pre: string;
773
+ sn: number;
774
+ };
775
+ PendingDelegationOperation: {
776
+ name: string;
777
+ metadata?: components['schemas']['DelegationMetadata'];
778
+ /**
779
+ * @default false
780
+ * @enum {unknown}
781
+ */
782
+ done: false;
783
+ };
784
+ CompletedDelegationOperation: {
785
+ name: string;
786
+ metadata?: components['schemas']['DelegationMetadata'];
787
+ response: components['schemas']['DIP_V_1'] | components['schemas']['DIP_V_2'] | components['schemas']['DRT_V_1'] | components['schemas']['DRT_V_2'];
788
+ /**
789
+ * @default true
790
+ * @enum {unknown}
791
+ */
792
+ done: true;
793
+ };
794
+ FailedDelegationOperation: {
795
+ name: string;
796
+ metadata?: components['schemas']['DelegationMetadata'];
797
+ error: components['schemas']['OperationStatus'];
798
+ /**
799
+ * @default true
800
+ * @enum {unknown}
801
+ */
802
+ done: true;
803
+ };
804
+ DelegationOperation: components['schemas']['PendingDelegationOperation'] | components['schemas']['CompletedDelegationOperation'] | components['schemas']['FailedDelegationOperation'];
805
+ RegistryOperationMetadata: {
806
+ pre: string;
807
+ depends?: components['schemas']['Operation'];
808
+ anchor: components['schemas']['Anchor'];
809
+ };
810
+ PendingRegistryOperation: {
811
+ name: string;
812
+ metadata?: components['schemas']['RegistryOperationMetadata'];
813
+ /**
814
+ * @default false
815
+ * @enum {unknown}
816
+ */
817
+ done: false;
818
+ };
819
+ RegistryOperationResponse: {
820
+ anchor: components['schemas']['Anchor'];
821
+ };
822
+ CompletedRegistryOperation: {
823
+ name: string;
824
+ metadata?: components['schemas']['RegistryOperationMetadata'];
825
+ response: components['schemas']['RegistryOperationResponse'];
826
+ /**
827
+ * @default true
828
+ * @enum {unknown}
829
+ */
830
+ done: true;
831
+ };
832
+ FailedRegistryOperation: {
833
+ name: string;
834
+ metadata?: components['schemas']['RegistryOperationMetadata'];
835
+ error: components['schemas']['OperationStatus'];
836
+ /**
837
+ * @default true
838
+ * @enum {unknown}
839
+ */
840
+ done: true;
841
+ };
842
+ RegistryOperation: components['schemas']['PendingRegistryOperation'] | components['schemas']['CompletedRegistryOperation'] | components['schemas']['FailedRegistryOperation'];
843
+ LocSchemeMetadata: {
844
+ eid: string;
845
+ scheme: string;
846
+ url: string;
847
+ };
848
+ PendingLocSchemeOperation: {
849
+ name: string;
850
+ metadata?: components['schemas']['LocSchemeMetadata'];
851
+ /**
852
+ * @default false
853
+ * @enum {unknown}
854
+ */
855
+ done: false;
856
+ };
857
+ CompletedLocSchemeOperation: {
858
+ name: string;
859
+ metadata?: components['schemas']['LocSchemeMetadata'];
860
+ response: components['schemas']['LocSchemeMetadata'];
861
+ /**
862
+ * @default true
863
+ * @enum {unknown}
864
+ */
865
+ done: true;
866
+ };
867
+ FailedLocSchemeOperation: {
868
+ name: string;
869
+ metadata?: components['schemas']['LocSchemeMetadata'];
870
+ error: components['schemas']['OperationStatus'];
871
+ /**
872
+ * @default true
873
+ * @enum {unknown}
874
+ */
875
+ done: true;
876
+ };
877
+ LocSchemeOperation: components['schemas']['PendingLocSchemeOperation'] | components['schemas']['CompletedLocSchemeOperation'] | components['schemas']['FailedLocSchemeOperation'];
878
+ ChallengeOperationMetadata: {
879
+ words: string[];
880
+ };
881
+ PendingChallengeOperation: {
882
+ name: string;
883
+ metadata?: components['schemas']['ChallengeOperationMetadata'];
884
+ /**
885
+ * @default false
886
+ * @enum {unknown}
887
+ */
888
+ done: false;
889
+ };
890
+ ChallengeOperationResponse: {
891
+ exn: components['schemas']['EXN_V_1'] | components['schemas']['EXN_V_2'];
892
+ };
893
+ CompletedChallengeOperation: {
894
+ name: string;
895
+ metadata?: components['schemas']['ChallengeOperationMetadata'];
896
+ response: components['schemas']['ChallengeOperationResponse'];
897
+ /**
898
+ * @default true
899
+ * @enum {unknown}
900
+ */
901
+ done: true;
902
+ };
903
+ FailedChallengeOperation: {
904
+ name: string;
905
+ metadata?: components['schemas']['ChallengeOperationMetadata'];
906
+ error: components['schemas']['OperationStatus'];
907
+ /**
908
+ * @default true
909
+ * @enum {unknown}
910
+ */
911
+ done: true;
912
+ };
913
+ ChallengeOperation: components['schemas']['PendingChallengeOperation'] | components['schemas']['CompletedChallengeOperation'] | components['schemas']['FailedChallengeOperation'];
914
+ ExchangeOperationMetadata: {
915
+ said: string;
916
+ };
917
+ PendingExchangeOperation: {
918
+ name: string;
919
+ metadata?: components['schemas']['ExchangeOperationMetadata'];
920
+ /**
921
+ * @default false
922
+ * @enum {unknown}
923
+ */
924
+ done: false;
925
+ };
926
+ CompletedExchangeOperation: {
927
+ name: string;
928
+ metadata?: components['schemas']['ExchangeOperationMetadata'];
929
+ response: components['schemas']['ExchangeOperationMetadata'];
930
+ /**
931
+ * @default true
932
+ * @enum {unknown}
933
+ */
934
+ done: true;
935
+ };
936
+ FailedExchangeOperation: {
937
+ name: string;
938
+ metadata?: components['schemas']['ExchangeOperationMetadata'];
939
+ error: components['schemas']['OperationStatus'];
940
+ /**
941
+ * @default true
942
+ * @enum {unknown}
943
+ */
944
+ done: true;
945
+ };
946
+ ExchangeOperation: components['schemas']['PendingExchangeOperation'] | components['schemas']['CompletedExchangeOperation'] | components['schemas']['FailedExchangeOperation'];
947
+ SubmitOperationMetadata: {
948
+ pre: string;
949
+ sn: number;
950
+ };
951
+ PendingSubmitOperation: {
952
+ name: string;
953
+ metadata?: components['schemas']['SubmitOperationMetadata'];
954
+ /**
955
+ * @default false
956
+ * @enum {unknown}
957
+ */
958
+ done: false;
959
+ };
960
+ CompletedSubmitOperation: {
961
+ name: string;
962
+ metadata?: components['schemas']['SubmitOperationMetadata'];
963
+ response: components['schemas']['KeyStateRecord'];
964
+ /**
965
+ * @default true
966
+ * @enum {unknown}
967
+ */
968
+ done: true;
969
+ };
970
+ FailedSubmitOperation: {
971
+ name: string;
972
+ metadata?: components['schemas']['SubmitOperationMetadata'];
973
+ error: components['schemas']['OperationStatus'];
974
+ /**
975
+ * @default true
976
+ * @enum {unknown}
977
+ */
978
+ done: true;
979
+ };
980
+ SubmitOperation: components['schemas']['PendingSubmitOperation'] | components['schemas']['CompletedSubmitOperation'] | components['schemas']['FailedSubmitOperation'];
981
+ DoneOperationMetadata: {
982
+ response: components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'] | components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'] | components['schemas']['EXN_V_1'] | components['schemas']['EXN_V_2'];
983
+ /** @default null */
984
+ pre: string | null;
985
+ };
986
+ PendingDoneOperation: {
987
+ name: string;
988
+ metadata?: components['schemas']['DoneOperationMetadata'];
989
+ /**
990
+ * @default false
991
+ * @enum {unknown}
992
+ */
993
+ done: false;
994
+ };
995
+ CompletedDoneOperation: {
996
+ name: string;
997
+ metadata?: components['schemas']['DoneOperationMetadata'];
998
+ response: components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'] | components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'] | components['schemas']['EXN_V_1'] | components['schemas']['EXN_V_2'];
999
+ /**
1000
+ * @default true
1001
+ * @enum {unknown}
1002
+ */
1003
+ done: true;
1004
+ };
1005
+ FailedDoneOperation: {
1006
+ name: string;
1007
+ metadata?: components['schemas']['DoneOperationMetadata'];
1008
+ error: components['schemas']['OperationStatus'];
1009
+ /**
1010
+ * @default true
1011
+ * @enum {unknown}
1012
+ */
1013
+ done: true;
1014
+ };
1015
+ DoneOperation: components['schemas']['PendingDoneOperation'] | components['schemas']['CompletedDoneOperation'] | components['schemas']['FailedDoneOperation'];
1016
+ CredentialOperationMetadata: {
1017
+ ced: components['schemas']['ACDC_V_1'] | components['schemas']['ACDC_V_2'];
1018
+ depends?: components['schemas']['Operation'];
1019
+ };
1020
+ CredentialOperationResponse: {
1021
+ ced?: components['schemas']['ACDC_V_1'] | components['schemas']['ACDC_V_2'];
1022
+ };
1023
+ PendingCredentialOperation: {
1024
+ name: string;
1025
+ metadata?: components['schemas']['CredentialOperationMetadata'];
1026
+ /**
1027
+ * @default false
1028
+ * @enum {unknown}
1029
+ */
1030
+ done: false;
1031
+ };
1032
+ CompletedCredentialOperation: {
1033
+ name: string;
1034
+ metadata?: components['schemas']['CredentialOperationMetadata'];
1035
+ response: components['schemas']['CredentialOperationResponse'];
1036
+ /**
1037
+ * @default true
1038
+ * @enum {unknown}
1039
+ */
1040
+ done: true;
1041
+ };
1042
+ FailedCredentialOperation: {
1043
+ name: string;
1044
+ metadata?: components['schemas']['CredentialOperationMetadata'];
1045
+ error: components['schemas']['OperationStatus'];
1046
+ /**
1047
+ * @default true
1048
+ * @enum {unknown}
1049
+ */
1050
+ done: true;
1051
+ };
1052
+ CredentialOperation: components['schemas']['PendingCredentialOperation'] | components['schemas']['CompletedCredentialOperation'] | components['schemas']['FailedCredentialOperation'];
1053
+ GroupOperationMetadata: {
1054
+ pre: string;
1055
+ sn: number;
1056
+ };
1057
+ PendingGroupOperation: {
1058
+ name: string;
1059
+ metadata?: components['schemas']['GroupOperationMetadata'];
1060
+ /**
1061
+ * @default false
1062
+ * @enum {unknown}
1063
+ */
1064
+ done: false;
1065
+ };
1066
+ CompletedGroupOperation: {
1067
+ name: string;
1068
+ metadata?: components['schemas']['GroupOperationMetadata'];
1069
+ response: components['schemas']['IXN_V_1'] | components['schemas']['IXN_V_2'] | components['schemas']['ICP_V_1'] | components['schemas']['ICP_V_2'] | components['schemas']['ROT_V_1'] | components['schemas']['ROT_V_2'] | components['schemas']['DIP_V_1'] | components['schemas']['DIP_V_2'] | components['schemas']['DRT_V_1'] | components['schemas']['DRT_V_2'];
1070
+ /**
1071
+ * @default true
1072
+ * @enum {unknown}
1073
+ */
1074
+ done: true;
1075
+ };
1076
+ FailedGroupOperation: {
1077
+ name: string;
1078
+ metadata?: components['schemas']['GroupOperationMetadata'];
1079
+ error: components['schemas']['OperationStatus'];
1080
+ /**
1081
+ * @default true
1082
+ * @enum {unknown}
1083
+ */
1084
+ done: true;
1085
+ };
1086
+ GroupOperation: components['schemas']['PendingGroupOperation'] | components['schemas']['CompletedGroupOperation'] | components['schemas']['FailedGroupOperation'];
1087
+ DelegatorOperationMetadata: {
1088
+ pre: string;
1089
+ teepre: string;
1090
+ anchor?: components['schemas']['Anchor'];
1091
+ depends?: components['schemas']['GroupOperation'] | components['schemas']['WitnessOperation'] | components['schemas']['DoneOperation'];
1092
+ };
1093
+ PendingDelegatorOperation: {
1094
+ name: string;
1095
+ metadata?: components['schemas']['DelegatorOperationMetadata'];
1096
+ /**
1097
+ * @default false
1098
+ * @enum {unknown}
1099
+ */
1100
+ done: false;
1101
+ };
1102
+ CompletedDelegatorOperation: {
1103
+ name: string;
1104
+ metadata?: components['schemas']['DelegatorOperationMetadata'];
1105
+ response: string;
1106
+ /**
1107
+ * @default true
1108
+ * @enum {unknown}
1109
+ */
1110
+ done: true;
1111
+ };
1112
+ FailedDelegatorOperation: {
1113
+ name: string;
1114
+ metadata?: components['schemas']['DelegatorOperationMetadata'];
1115
+ error: components['schemas']['OperationStatus'];
1116
+ /**
1117
+ * @default true
1118
+ * @enum {unknown}
1119
+ */
1120
+ done: true;
1121
+ };
1122
+ DelegatorOperation: components['schemas']['PendingDelegatorOperation'] | components['schemas']['CompletedDelegatorOperation'] | components['schemas']['FailedDelegatorOperation'];
1123
+ Operation: components['schemas']['OOBIOperation'] | components['schemas']['QueryOperation'] | components['schemas']['EndRoleOperation'] | components['schemas']['WitnessOperation'] | components['schemas']['DelegationOperation'] | components['schemas']['RegistryOperation'] | components['schemas']['LocSchemeOperation'] | components['schemas']['ChallengeOperation'] | components['schemas']['ExchangeOperation'] | components['schemas']['SubmitOperation'] | components['schemas']['DoneOperation'] | components['schemas']['CredentialOperation'] | components['schemas']['GroupOperation'] | components['schemas']['DelegatorOperation'];
298
1124
  };
299
1125
  responses: never;
300
1126
  parameters: never;
@@ -302,3 +1128,31 @@ export interface components {
302
1128
  headers: never;
303
1129
  pathItems: never;
304
1130
  }
1131
+ export declare enum IssEventT {
1132
+ iss = "iss",
1133
+ bis = "bis"
1134
+ }
1135
+ export declare enum CredentialStateIssOrRevEt {
1136
+ iss = "iss",
1137
+ rev = "rev"
1138
+ }
1139
+ export declare enum CredentialStateBisOrBrvEt {
1140
+ bis = "bis",
1141
+ brv = "brv"
1142
+ }
1143
+ export declare enum Tier {
1144
+ low = "low",
1145
+ med = "med",
1146
+ high = "high"
1147
+ }
1148
+ export declare enum OOBIRole {
1149
+ controller = "controller",
1150
+ witness = "witness",
1151
+ registrar = "registrar",
1152
+ watcher = "watcher",
1153
+ judge = "judge",
1154
+ juror = "juror",
1155
+ peer = "peer",
1156
+ mailbox = "mailbox",
1157
+ agent = "agent"
1158
+ }