@openvtc/trust-tasks 0.28.10 → 0.28.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +88 -0
- package/dist/_shared/components.d.ts +903 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +144 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +144 -0
- package/dist/index.js.map +1 -1
- package/dist/vta/notifications/deposit/0.1/payload.d.ts +349 -0
- package/dist/vta/notifications/deposit/0.1/payload.d.ts.map +1 -0
- package/dist/vta/notifications/deposit/0.1/payload.js +198 -0
- package/dist/vta/notifications/deposit/0.1/payload.js.map +1 -0
- package/dist/vta/pcs/vetter/recover/0.1/payload.d.ts +667 -0
- package/dist/vta/pcs/vetter/recover/0.1/payload.d.ts.map +1 -0
- package/dist/vta/pcs/vetter/recover/0.1/payload.js +387 -0
- package/dist/vta/pcs/vetter/recover/0.1/payload.js.map +1 -0
- package/dist/vtc/notifications/_shared/0.1/received-notification.d.ts +16 -0
- package/dist/vtc/notifications/_shared/0.1/received-notification.d.ts.map +1 -0
- package/dist/vtc/notifications/_shared/0.1/received-notification.js +6 -0
- package/dist/vtc/notifications/_shared/0.1/received-notification.js.map +1 -0
- package/dist/vtc/notifications/list/0.1/payload.d.ts +1311 -0
- package/dist/vtc/notifications/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/notifications/list/0.1/payload.js +753 -0
- package/dist/vtc/notifications/list/0.1/payload.js.map +1 -0
- package/dist/vtc/notifications/relay/0.1/payload.d.ts +568 -0
- package/dist/vtc/notifications/relay/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/notifications/relay/0.1/payload.js +339 -0
- package/dist/vtc/notifications/relay/0.1/payload.js.map +1 -0
- package/dist/vtc/notifications/show/0.1/payload.d.ts +1229 -0
- package/dist/vtc/notifications/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/notifications/show/0.1/payload.js +727 -0
- package/dist/vtc/notifications/show/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.d.ts +340 -0
- package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.js +194 -0
- package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.d.ts +425 -0
- package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.js +233 -0
- package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.js.map +1 -0
- package/dist/vtn/_shared/0.1/directory.d.ts +16 -0
- package/dist/vtn/_shared/0.1/directory.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/directory.js +6 -0
- package/dist/vtn/_shared/0.1/directory.js.map +1 -0
- package/dist/vtn/_shared/0.1/entry.d.ts +16 -0
- package/dist/vtn/_shared/0.1/entry.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/entry.js +6 -0
- package/dist/vtn/_shared/0.1/entry.js.map +1 -0
- package/dist/vtn/_shared/0.1/graph.d.ts +16 -0
- package/dist/vtn/_shared/0.1/graph.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/graph.js +6 -0
- package/dist/vtn/_shared/0.1/graph.js.map +1 -0
- package/dist/vtn/_shared/0.1/groups.d.ts +16 -0
- package/dist/vtn/_shared/0.1/groups.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/groups.js +6 -0
- package/dist/vtn/_shared/0.1/groups.js.map +1 -0
- package/dist/vtn/_shared/0.1/membership.d.ts +16 -0
- package/dist/vtn/_shared/0.1/membership.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/membership.js +6 -0
- package/dist/vtn/_shared/0.1/membership.js.map +1 -0
- package/dist/vtn/_shared/0.1/relay.d.ts +16 -0
- package/dist/vtn/_shared/0.1/relay.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/relay.js +6 -0
- package/dist/vtn/_shared/0.1/relay.js.map +1 -0
- package/dist/vtn/_shared/0.1/rooms.d.ts +16 -0
- package/dist/vtn/_shared/0.1/rooms.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/rooms.js +6 -0
- package/dist/vtn/_shared/0.1/rooms.js.map +1 -0
- package/dist/vtn/audit/list/0.1/payload.d.ts +457 -0
- package/dist/vtn/audit/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/audit/list/0.1/payload.js +292 -0
- package/dist/vtn/audit/list/0.1/payload.js.map +1 -0
- package/dist/vtn/broadcasts/list/0.1/payload.d.ts +687 -0
- package/dist/vtn/broadcasts/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/broadcasts/list/0.1/payload.js +407 -0
- package/dist/vtn/broadcasts/list/0.1/payload.js.map +1 -0
- package/dist/vtn/broadcasts/send/0.1/payload.d.ts +728 -0
- package/dist/vtn/broadcasts/send/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/broadcasts/send/0.1/payload.js +425 -0
- package/dist/vtn/broadcasts/send/0.1/payload.js.map +1 -0
- package/dist/vtn/broadcasts/show/0.1/payload.d.ts +670 -0
- package/dist/vtn/broadcasts/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/broadcasts/show/0.1/payload.js +402 -0
- package/dist/vtn/broadcasts/show/0.1/payload.js.map +1 -0
- package/dist/vtn/directory/federated/0.1/payload.d.ts +939 -0
- package/dist/vtn/directory/federated/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/directory/federated/0.1/payload.js +536 -0
- package/dist/vtn/directory/federated/0.1/payload.js.map +1 -0
- package/dist/vtn/directory/search/0.1/payload.d.ts +643 -0
- package/dist/vtn/directory/search/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/directory/search/0.1/payload.js +368 -0
- package/dist/vtn/directory/search/0.1/payload.js.map +1 -0
- package/dist/vtn/directory/summary/0.1/payload.d.ts +366 -0
- package/dist/vtn/directory/summary/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/directory/summary/0.1/payload.js +216 -0
- package/dist/vtn/directory/summary/0.1/payload.js.map +1 -0
- package/dist/vtn/entries/show/0.1/payload.d.ts +682 -0
- package/dist/vtn/entries/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/entries/show/0.1/payload.js +398 -0
- package/dist/vtn/entries/show/0.1/payload.js.map +1 -0
- package/dist/vtn/graph/member/0.1/payload.d.ts +754 -0
- package/dist/vtn/graph/member/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/graph/member/0.1/payload.js +470 -0
- package/dist/vtn/graph/member/0.1/payload.js.map +1 -0
- package/dist/vtn/graph/show/0.1/payload.d.ts +754 -0
- package/dist/vtn/graph/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/graph/show/0.1/payload.js +468 -0
- package/dist/vtn/graph/show/0.1/payload.js.map +1 -0
- package/dist/vtn/groups/list/0.1/payload.d.ts +489 -0
- package/dist/vtn/groups/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/groups/list/0.1/payload.js +282 -0
- package/dist/vtn/groups/list/0.1/payload.js.map +1 -0
- package/dist/vtn/groups/register/0.1/payload.d.ts +504 -0
- package/dist/vtn/groups/register/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/groups/register/0.1/payload.js +291 -0
- package/dist/vtn/groups/register/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/create/0.1/payload.d.ts +954 -0
- package/dist/vtn/listings/create/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/create/0.1/payload.js +549 -0
- package/dist/vtn/listings/create/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/list/0.1/payload.d.ts +933 -0
- package/dist/vtn/listings/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/list/0.1/payload.js +538 -0
- package/dist/vtn/listings/list/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/reinstate/0.1/payload.d.ts +926 -0
- package/dist/vtn/listings/reinstate/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/reinstate/0.1/payload.js +536 -0
- package/dist/vtn/listings/reinstate/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/remove/0.1/payload.d.ts +926 -0
- package/dist/vtn/listings/remove/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/remove/0.1/payload.js +536 -0
- package/dist/vtn/listings/remove/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/show/0.1/payload.d.ts +914 -0
- package/dist/vtn/listings/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/show/0.1/payload.js +532 -0
- package/dist/vtn/listings/show/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/suspend/0.1/payload.d.ts +926 -0
- package/dist/vtn/listings/suspend/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/suspend/0.1/payload.js +536 -0
- package/dist/vtn/listings/suspend/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/update/0.1/payload.d.ts +966 -0
- package/dist/vtn/listings/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/update/0.1/payload.js +550 -0
- package/dist/vtn/listings/update/0.1/payload.js.map +1 -0
- package/dist/vtn/membership/acknowledge/0.1/payload.d.ts +654 -0
- package/dist/vtn/membership/acknowledge/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/membership/acknowledge/0.1/payload.js +386 -0
- package/dist/vtn/membership/acknowledge/0.1/payload.js.map +1 -0
- package/dist/vtn/membership/offer/0.1/payload.d.ts +247 -0
- package/dist/vtn/membership/offer/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/membership/offer/0.1/payload.js +147 -0
- package/dist/vtn/membership/offer/0.1/payload.js.map +1 -0
- package/dist/vtn/membership/repudiate/0.1/payload.d.ts +654 -0
- package/dist/vtn/membership/repudiate/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/membership/repudiate/0.1/payload.js +386 -0
- package/dist/vtn/membership/repudiate/0.1/payload.js.map +1 -0
- package/dist/vtn/memberships/groups/add/0.1/payload.d.ts +677 -0
- package/dist/vtn/memberships/groups/add/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/memberships/groups/add/0.1/payload.js +394 -0
- package/dist/vtn/memberships/groups/add/0.1/payload.js.map +1 -0
- package/dist/vtn/memberships/join/0.1/payload.d.ts +755 -0
- package/dist/vtn/memberships/join/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/memberships/join/0.1/payload.js +438 -0
- package/dist/vtn/memberships/join/0.1/payload.js.map +1 -0
- package/dist/vtn/memberships/leave/0.1/payload.d.ts +653 -0
- package/dist/vtn/memberships/leave/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/memberships/leave/0.1/payload.js +384 -0
- package/dist/vtn/memberships/leave/0.1/payload.js.map +1 -0
- package/dist/vtn/memberships/list/0.1/payload.d.ts +651 -0
- package/dist/vtn/memberships/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/memberships/list/0.1/payload.js +383 -0
- package/dist/vtn/memberships/list/0.1/payload.js.map +1 -0
- package/dist/vtn/memberships/repudiate/0.1/payload.d.ts +669 -0
- package/dist/vtn/memberships/repudiate/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/memberships/repudiate/0.1/payload.js +391 -0
- package/dist/vtn/memberships/repudiate/0.1/payload.js.map +1 -0
- package/dist/vtn/outbox/list/0.1/payload.d.ts +567 -0
- package/dist/vtn/outbox/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/outbox/list/0.1/payload.js +333 -0
- package/dist/vtn/outbox/list/0.1/payload.js.map +1 -0
- package/dist/vtn/outbox/retry/0.1/payload.d.ts +235 -0
- package/dist/vtn/outbox/retry/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/outbox/retry/0.1/payload.js +141 -0
- package/dist/vtn/outbox/retry/0.1/payload.js.map +1 -0
- package/dist/vtn/relay/deliver/0.1/payload.d.ts +592 -0
- package/dist/vtn/relay/deliver/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/relay/deliver/0.1/payload.js +352 -0
- package/dist/vtn/relay/deliver/0.1/payload.js.map +1 -0
- package/dist/vtn/roles/list/0.1/payload.d.ts +371 -0
- package/dist/vtn/roles/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/roles/list/0.1/payload.js +213 -0
- package/dist/vtn/roles/list/0.1/payload.js.map +1 -0
- package/dist/vtn/rooms/list/0.1/payload.d.ts +447 -0
- package/dist/vtn/rooms/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/rooms/list/0.1/payload.js +255 -0
- package/dist/vtn/rooms/list/0.1/payload.js.map +1 -0
- package/dist/vtn/rooms/pass/0.1/payload.d.ts +674 -0
- package/dist/vtn/rooms/pass/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/rooms/pass/0.1/payload.js +383 -0
- package/dist/vtn/rooms/pass/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +922 -0
- package/src/index.ts +144 -0
- package/src/vta/notifications/deposit/0.1/payload.ts +243 -0
- package/src/vta/pcs/vetter/recover/0.1/payload.ts +437 -0
- package/src/vtc/notifications/_shared/0.1/received-notification.ts +17 -0
- package/src/vtc/notifications/list/0.1/payload.ts +809 -0
- package/src/vtc/notifications/relay/0.1/payload.ts +382 -0
- package/src/vtc/notifications/show/0.1/payload.ts +761 -0
- package/src/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.ts +247 -0
- package/src/vtc/vetting/vetters/pcs-binding/show/0.1/payload.ts +295 -0
- package/src/vtn/_shared/0.1/directory.ts +17 -0
- package/src/vtn/_shared/0.1/entry.ts +17 -0
- package/src/vtn/_shared/0.1/graph.ts +17 -0
- package/src/vtn/_shared/0.1/groups.ts +17 -0
- package/src/vtn/_shared/0.1/membership.ts +17 -0
- package/src/vtn/_shared/0.1/relay.ts +17 -0
- package/src/vtn/_shared/0.1/rooms.ts +17 -0
- package/src/vtn/audit/list/0.1/payload.ts +336 -0
- package/src/vtn/broadcasts/list/0.1/payload.ts +447 -0
- package/src/vtn/broadcasts/send/0.1/payload.ts +478 -0
- package/src/vtn/broadcasts/show/0.1/payload.ts +439 -0
- package/src/vtn/directory/federated/0.1/payload.ts +594 -0
- package/src/vtn/directory/search/0.1/payload.ts +418 -0
- package/src/vtn/directory/summary/0.1/payload.ts +253 -0
- package/src/vtn/entries/show/0.1/payload.ts +439 -0
- package/src/vtn/graph/member/0.1/payload.ts +511 -0
- package/src/vtn/graph/show/0.1/payload.ts +509 -0
- package/src/vtn/groups/list/0.1/payload.ts +322 -0
- package/src/vtn/groups/register/0.1/payload.ts +336 -0
- package/src/vtn/listings/create/0.1/payload.ts +594 -0
- package/src/vtn/listings/list/0.1/payload.ts +578 -0
- package/src/vtn/listings/reinstate/0.1/payload.ts +577 -0
- package/src/vtn/listings/remove/0.1/payload.ts +577 -0
- package/src/vtn/listings/show/0.1/payload.ts +569 -0
- package/src/vtn/listings/suspend/0.1/payload.ts +577 -0
- package/src/vtn/listings/update/0.1/payload.ts +603 -0
- package/src/vtn/membership/acknowledge/0.1/payload.ts +423 -0
- package/src/vtn/membership/offer/0.1/payload.ts +183 -0
- package/src/vtn/membership/repudiate/0.1/payload.ts +423 -0
- package/src/vtn/memberships/groups/add/0.1/payload.ts +442 -0
- package/src/vtn/memberships/join/0.1/payload.ts +488 -0
- package/src/vtn/memberships/leave/0.1/payload.ts +424 -0
- package/src/vtn/memberships/list/0.1/payload.ts +419 -0
- package/src/vtn/memberships/repudiate/0.1/payload.ts +435 -0
- package/src/vtn/outbox/list/0.1/payload.ts +369 -0
- package/src/vtn/outbox/retry/0.1/payload.ts +177 -0
- package/src/vtn/relay/deliver/0.1/payload.ts +397 -0
- package/src/vtn/roles/list/0.1/payload.ts +253 -0
- package/src/vtn/rooms/list/0.1/payload.ts +295 -0
- package/src/vtn/rooms/pass/0.1/payload.ts +439 -0
|
@@ -544,6 +544,14 @@ export type DecryptionTarget = {
|
|
|
544
544
|
* `queued`: stored and not yet handed to the recipient. `delivered`: handed to the recipient (pickup or live stream) but not yet deleted by it — the recipient has not acknowledged it.
|
|
545
545
|
*/
|
|
546
546
|
export type DeliveryState = "queued" | "delivered";
|
|
547
|
+
/**
|
|
548
|
+
* What happened to one delivery. `queued` will be retried.
|
|
549
|
+
*/
|
|
550
|
+
export type DeliveryStatus = "delivered" | "duplicate" | "refused" | "queued" | "failed";
|
|
551
|
+
/**
|
|
552
|
+
* What the listed party is, for the directory.
|
|
553
|
+
*/
|
|
554
|
+
export type Description = string;
|
|
547
555
|
/**
|
|
548
556
|
* Producer-supplied attestation at registration time, verifiable by the maintainer against the platform's attestation infrastructure. Tagged union over the discriminator `kind`.
|
|
549
557
|
*/
|
|
@@ -576,6 +584,10 @@ export type Did_GitNsV0_3 = string;
|
|
|
576
584
|
* A DID.
|
|
577
585
|
*/
|
|
578
586
|
export type Did_NotificationsV0_1 = string;
|
|
587
|
+
/**
|
|
588
|
+
* A DID.
|
|
589
|
+
*/
|
|
590
|
+
export type Did_VtnV0_1 = string;
|
|
579
591
|
/**
|
|
580
592
|
* A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.
|
|
581
593
|
*
|
|
@@ -609,6 +621,14 @@ export type DtgType = string;
|
|
|
609
621
|
* An ISO 8601 duration in weeks, days, hours, minutes and seconds only (e.g. `P120D`, `P2W`, `P1DT12H`, `PT15M`). Years and months are refused: their length depends on the calendar, and an age limit that means different things on different days is not a limit.
|
|
610
622
|
*/
|
|
611
623
|
export type Duration = string;
|
|
624
|
+
/**
|
|
625
|
+
* Which credential an edge is.
|
|
626
|
+
*/
|
|
627
|
+
export type EdgeRole = "listing" | "grant" | "acknowledgement" | "repudiation";
|
|
628
|
+
/**
|
|
629
|
+
* The credential's status as far as this network can determine it. `unchecked` is a credential whose status list this network does not hold.
|
|
630
|
+
*/
|
|
631
|
+
export type EdgeStatus = "valid" | "suspended" | "revoked" | "unchecked";
|
|
612
632
|
/**
|
|
613
633
|
* Whether the subject is permitted. The ABSENCE of any grant is treated as `deny` (default-deny).
|
|
614
634
|
*/
|
|
@@ -636,6 +656,14 @@ export type EnrolledVia = "install" | "invite" | "selfService" | "offline";
|
|
|
636
656
|
* Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.
|
|
637
657
|
*/
|
|
638
658
|
export type EntryId = string;
|
|
659
|
+
/**
|
|
660
|
+
* What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.
|
|
661
|
+
*/
|
|
662
|
+
export type EntryKind = "community" | "network";
|
|
663
|
+
/**
|
|
664
|
+
* `listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.
|
|
665
|
+
*/
|
|
666
|
+
export type EntryState = "listed" | "acknowledged" | "repudiated" | "suspended" | "removed" | "departed";
|
|
639
667
|
/**
|
|
640
668
|
* The earliest epoch whose storage key a room still lets anybody derive: its chain was pruned below it (`rooms/epoch/prune`), and every epoch under it is meant to be unreadable — at the host, and, as far as each of them conforms, at every member's key holder. Absent means the room's chain has never been pruned.
|
|
641
669
|
*
|
|
@@ -912,6 +940,10 @@ export type Kind = "dm" | "group" | "channel";
|
|
|
912
940
|
* What the thing is. Either a registered kind — one lowerCamelCase name in the VTI specification's notification kind registry (Appendix G), such as `election` — or an unregistered kind, written `<reverse-DNS domain>:<name>` under a domain its definer controls, such as `org.example:meetingInvite`. A recipient that does not recognise a kind holds, lists and discards it and does nothing else with it (VTI-NTF-012).
|
|
913
941
|
*/
|
|
914
942
|
export type Kind_NotificationsV0_1 = string;
|
|
943
|
+
/**
|
|
944
|
+
* The name the directory shows.
|
|
945
|
+
*/
|
|
946
|
+
export type Label = string;
|
|
915
947
|
/**
|
|
916
948
|
* A BCP 47 language tag, e.g. `en`, `de-AT`. Compared case-insensitively.
|
|
917
949
|
*/
|
|
@@ -974,6 +1006,10 @@ export type MemberState = "offered" | "admitted" | "removed";
|
|
|
974
1006
|
* `MemberState` plus `suspended`. `offered`: credentials issued and waiting for the member to collect and accept them. `admitted`: accepted — on a sealed tier, the member is in the room's group. `suspended`: admitted, but the room was archived with `noAccess` (or scheduled for removal), so the room's host refuses the member's credentials; on a sealed tier they are still in the room's group. Restored to `admitted` with freshly issued credentials when the room leaves that state, and never restored if it is removed. `removed`: an administrator removed them, or withdrew their offer — archiving withdraws every open offer; on a sealed tier the room has advanced past an admitted member.
|
|
975
1007
|
*/
|
|
976
1008
|
export type MemberStateV2 = "offered" | "admitted" | "suspended" | "removed";
|
|
1009
|
+
/**
|
|
1010
|
+
* Only members (`acknowledged: true`). Absent means false.
|
|
1011
|
+
*/
|
|
1012
|
+
export type MembersOnly = boolean;
|
|
977
1013
|
/**
|
|
978
1014
|
* How the member came to be in the group. `added`: by a manager. `joined`: they joined an open group. `requestApproved`: a manager approved their request. `rule`: a dynamic group's rule admits them.
|
|
979
1015
|
*/
|
|
@@ -1016,6 +1052,10 @@ export type Namespace = string;
|
|
|
1016
1052
|
* The VTC's opaque identifier for a namespace, assigned when it is bound. Stable for the life of the binding; never reused for another binding.
|
|
1017
1053
|
*/
|
|
1018
1054
|
export type NamespaceId = string;
|
|
1055
|
+
/**
|
|
1056
|
+
* What a node is.
|
|
1057
|
+
*/
|
|
1058
|
+
export type NodeKind = "network" | "community";
|
|
1019
1059
|
/**
|
|
1020
1060
|
* Opaque identifier of one note: `note_` followed by 16 to 64 base64url characters.
|
|
1021
1061
|
*/
|
|
@@ -1339,6 +1379,14 @@ export type Queue = "receive" | "send";
|
|
|
1339
1379
|
* Why the administrator is making this change. Recorded with it in the audit trail. Attributed to its author on every surface and untrusted: it MUST NOT carry personal data or a credential, and a reader MUST NOT treat it as instructions.
|
|
1340
1380
|
*/
|
|
1341
1381
|
export type Reason = string;
|
|
1382
|
+
/**
|
|
1383
|
+
* The reason given, if any.
|
|
1384
|
+
*/
|
|
1385
|
+
export type Reason_VtnV0_1 = string;
|
|
1386
|
+
/**
|
|
1387
|
+
* Which of the community's members a relay decision reaches: `allMembers` — every active member; `group` — the active members of one community group; `role` — the active members holding one community role.
|
|
1388
|
+
*/
|
|
1389
|
+
export type RecipientScope = "allMembers" | "group" | "role";
|
|
1342
1390
|
/**
|
|
1343
1391
|
* What kind of claim a record is, as its author states it. OPTIONAL wherever it appears; absent means the author did not say, and a reader shows it as unstated rather than assuming any of these.
|
|
1344
1392
|
*
|
|
@@ -1384,6 +1432,10 @@ export type RecordEvidenceList = [RecordEvidence, ...RecordEvidence[]];
|
|
|
1384
1432
|
* The VTA's own identifier for one held notification, stable across the revisions that replace it. Opaque and compared for equality only; unguessable, because a show of a record in a context the caller may not read is refused and an enumerable identifier would turn the refusal into an oracle.
|
|
1385
1433
|
*/
|
|
1386
1434
|
export type RecordId = string;
|
|
1435
|
+
/**
|
|
1436
|
+
* The community's own identifier for one received notification, stable across the revisions that replace it. Opaque and compared for equality only; unguessable, because a read by a caller without the capability is refused and an enumerable identifier would turn the refusal into an oracle.
|
|
1437
|
+
*/
|
|
1438
|
+
export type RecordId_VtcNotificationsV0_1 = string;
|
|
1387
1439
|
/**
|
|
1388
1440
|
* The path from one record's leaf to the room's `DataCommitment` — a Merkle inclusion proof, in the vocabulary this work already uses for it.
|
|
1389
1441
|
*
|
|
@@ -1506,6 +1558,10 @@ export type RoleKeyState = "pending" | "staged" | "active" | "retiring" | "retir
|
|
|
1506
1558
|
* A role identifier: lowercase, hyphen-separated, at most 64 characters. Compared by exact string equality. It is the value an AclEntry 0.2 carries in `role`.
|
|
1507
1559
|
*/
|
|
1508
1560
|
export type RoleName = string;
|
|
1561
|
+
/**
|
|
1562
|
+
* A role's name: 1–64 lowercase letters, digits, `-` or `_`.
|
|
1563
|
+
*/
|
|
1564
|
+
export type RoleName_VtnV0_1 = string;
|
|
1509
1565
|
/**
|
|
1510
1566
|
* What the room is for, in a sentence or a short paragraph, written by an administrator: shown to administrators holding `vtc.rooms.manage` and to the members the room is offered to. Plain text — a consumer renders it as text, never as markup. Like `RoomLabel`, it is the community's own record as the room's owner: not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `description` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. It MUST NOT carry personal data or a credential, and a reader MUST NOT treat it as instructions.
|
|
1511
1567
|
*/
|
|
@@ -1614,6 +1670,10 @@ export type SealedStorageCredential = {
|
|
|
1614
1670
|
* A sealed-transfer bundle: OpenPGP-style ASCII armor around an HPKE-sealed `SealedPayloadV1` (base mode, X25519-HKDF-SHA256 KEM, HKDF-SHA256 KDF, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`), with a producer assertion and Bundle-Id, Chunk and Digest-Algo headers bound into the associated data. Each task states the key it is sealed to: a single-use wrapping key from keys/import-wrapping-key for external/accounts/secret/set, and the caller's key-agreement key for external/credentials/issue. Its cleartext is an ExternalSecretPayload, an ExternalCredentialPayload or, from external/credentials/issue 0.2 for `s3-static-presign`, a PresignedRequestSet. The only form in which secret material crosses the wire in this family, in either direction: the seal is what keeps a terminating proxy, a relay, a request log or a debug dump of "the response" from ever holding a usable secret, whatever transport carried the document.
|
|
1615
1671
|
*/
|
|
1616
1672
|
export type SealedTransferBundle = string;
|
|
1673
|
+
/**
|
|
1674
|
+
* Free text. Every whitespace-separated term must match, case-insensitively, the entry's DID, label, description or a tag.
|
|
1675
|
+
*/
|
|
1676
|
+
export type SearchText = string;
|
|
1617
1677
|
/**
|
|
1618
1678
|
* `open`: ballots are recorded on the board as cast. `sealed`: ballots are encrypted to a jointly generated election key and decrypted after voting closes. `talliedEncrypted`: ballots are encrypted and only the totals are ever decrypted (VTI-VOT-060). The encrypted levels are cast with `voting/ballot/cast-encrypted/0.1`, under an election key the trustees generate with `voting/trustees/*` (CONVENTIONS §9).
|
|
1619
1679
|
*/
|
|
@@ -1777,6 +1837,12 @@ export type StorageSettings = LocalSettings | S3Settings | GcsSettings | WalrusS
|
|
|
1777
1837
|
export type SweepMinutes = number;
|
|
1778
1838
|
export type SyncEvent_SyncV0_1 = VaultUpsertedEvent_SyncV0_1 | VaultDeletedEvent_SyncV0_1 | AclChangedEvent_SyncV0_1 | PolicyChangedEvent_SyncV0_1;
|
|
1779
1839
|
export type SyncEvent_SyncV0_2 = VaultUpsertedEvent_SyncV0_2 | VaultDeletedEvent_SyncV0_2 | AclChangedEvent_SyncV0_2 | PolicyChangedEvent_SyncV0_2;
|
|
1840
|
+
/**
|
|
1841
|
+
* Free-text tags the directory searches.
|
|
1842
|
+
*
|
|
1843
|
+
* @maxItems 32
|
|
1844
|
+
*/
|
|
1845
|
+
export type Tags = string[];
|
|
1780
1846
|
/**
|
|
1781
1847
|
* A family of Trust Tasks, named by a slug prefix of whole segments (SPEC §6.1 grammar): `vtc/directory` names every task whose slug is `vtc/directory` or begins `vtc/directory/`, at any version. A prefix matches on segment boundaries only, so `vtc/dir` names nothing under `vtc/directory`.
|
|
1782
1848
|
*/
|
|
@@ -1848,6 +1914,10 @@ export type UpdateKeyClass = "routine" | "recovery";
|
|
|
1848
1914
|
* Handle for one upload across begin, chunk, commit and abort, and — for a bundle — deploy. Recipient-generated and unguessable, which is what lets a reference to somebody else's upload be answered as not-found without confirming it exists. Opaque: a producer quotes what it was given.
|
|
1849
1915
|
*/
|
|
1850
1916
|
export type UploadId = string;
|
|
1917
|
+
/**
|
|
1918
|
+
* The party's public address.
|
|
1919
|
+
*/
|
|
1920
|
+
export type Url = string;
|
|
1851
1921
|
/**
|
|
1852
1922
|
* The JSON shape of `value`, declared so that a consumer can render and compare without guessing. The maintainer validates that `value` agrees with this member and does nothing further: it does NOT validate a phone number against a phone-number grammar. That is a producer's affordance, and a store that grows opinions about the contents of its records eventually blocks its consumer's release.
|
|
1853
1923
|
*/
|
|
@@ -5212,6 +5282,35 @@ export interface AuditEnvelope {
|
|
|
5212
5282
|
};
|
|
5213
5283
|
ext?: Ext;
|
|
5214
5284
|
}
|
|
5285
|
+
/**
|
|
5286
|
+
* One change to the published set, as the audit trail records it.
|
|
5287
|
+
*/
|
|
5288
|
+
export interface AuditEvent {
|
|
5289
|
+
/**
|
|
5290
|
+
* When it happened.
|
|
5291
|
+
*/
|
|
5292
|
+
occurredAt: string;
|
|
5293
|
+
/**
|
|
5294
|
+
* The entry it happened to.
|
|
5295
|
+
*/
|
|
5296
|
+
did: Did_VtnV0_1;
|
|
5297
|
+
/**
|
|
5298
|
+
* What happened.
|
|
5299
|
+
*/
|
|
5300
|
+
event: "list" | "acknowledge" | "repudiate" | "suspend" | "reinstate" | "remove" | "depart" | "update";
|
|
5301
|
+
/**
|
|
5302
|
+
* The entry's state afterwards.
|
|
5303
|
+
*/
|
|
5304
|
+
to: EntryState;
|
|
5305
|
+
/**
|
|
5306
|
+
* Who did it: an administrator, or the listed party.
|
|
5307
|
+
*/
|
|
5308
|
+
actor: Did_VtnV0_1;
|
|
5309
|
+
/**
|
|
5310
|
+
* The reason given, if any.
|
|
5311
|
+
*/
|
|
5312
|
+
reason?: string;
|
|
5313
|
+
}
|
|
5215
5314
|
/**
|
|
5216
5315
|
* The credential the client returns from `navigator.credentials.get`. Binary fields are base64url-encoded.
|
|
5217
5316
|
*/
|
|
@@ -5676,6 +5775,47 @@ export interface BreakGlass_GitNsV0_6 {
|
|
|
5676
5775
|
*/
|
|
5677
5776
|
ratifiedAt?: string;
|
|
5678
5777
|
}
|
|
5778
|
+
/**
|
|
5779
|
+
* A broadcast as this network sent or relayed it.
|
|
5780
|
+
*/
|
|
5781
|
+
export interface BroadcastRecord {
|
|
5782
|
+
/**
|
|
5783
|
+
* The message id.
|
|
5784
|
+
*/
|
|
5785
|
+
id: string;
|
|
5786
|
+
/**
|
|
5787
|
+
* Whether this network sent it or received it to relay.
|
|
5788
|
+
*/
|
|
5789
|
+
direction: "sent" | "received";
|
|
5790
|
+
/**
|
|
5791
|
+
* The role it was addressed to.
|
|
5792
|
+
*/
|
|
5793
|
+
role: RoleName_VtnV0_1;
|
|
5794
|
+
/**
|
|
5795
|
+
* The signed message.
|
|
5796
|
+
*/
|
|
5797
|
+
message: Credential;
|
|
5798
|
+
/**
|
|
5799
|
+
* For a received message, the network that delivered it.
|
|
5800
|
+
*/
|
|
5801
|
+
from?: Did_VtnV0_1;
|
|
5802
|
+
/**
|
|
5803
|
+
* For a sent message, the administrator that sent it.
|
|
5804
|
+
*/
|
|
5805
|
+
actor?: Did_VtnV0_1;
|
|
5806
|
+
/**
|
|
5807
|
+
* When.
|
|
5808
|
+
*/
|
|
5809
|
+
recordedAt: string;
|
|
5810
|
+
/**
|
|
5811
|
+
* Per group.
|
|
5812
|
+
*/
|
|
5813
|
+
receipts: Receipt[];
|
|
5814
|
+
/**
|
|
5815
|
+
* Groups delivered to, counting relays.
|
|
5816
|
+
*/
|
|
5817
|
+
reached: number;
|
|
5818
|
+
}
|
|
5679
5819
|
/**
|
|
5680
5820
|
* A capability held by an entry, optionally qualified by a resource, optionally marked additive. A qualified grant confers nothing without a live entry for the same subject, and is bounded as delegated authority is.
|
|
5681
5821
|
*/
|
|
@@ -5844,6 +5984,19 @@ export interface Cast {
|
|
|
5844
5984
|
tag: Multibase_VotingV0_1;
|
|
5845
5985
|
attestation: Multibase_VotingV0_1;
|
|
5846
5986
|
}
|
|
5987
|
+
/**
|
|
5988
|
+
* One registration on the path from a person's community up to the network a room belongs to: the member's signed request and the accepting network's groupRegistered credential.
|
|
5989
|
+
*/
|
|
5990
|
+
export interface ChainLink {
|
|
5991
|
+
/**
|
|
5992
|
+
* A member's signed vtn/groups/register request.
|
|
5993
|
+
*/
|
|
5994
|
+
registration: SignedTask;
|
|
5995
|
+
/**
|
|
5996
|
+
* The network's groupRegistered credential: a statement (`https://openvtc.org/vtn/vsc/groupRegistered/1`) issued by the accepting network, subject the group, `object.digestMultibase` the digest of `registration`, with a `credentialStatus` on the network's revocation list.
|
|
5997
|
+
*/
|
|
5998
|
+
acceptance: Credential;
|
|
5999
|
+
}
|
|
5847
6000
|
/**
|
|
5848
6001
|
* The terms of a `chunkedTrustTask` transfer, committed before any chunk moves. On export the recipient states them in the descriptor; on import the producer pre-commits them in the request and the recipient echoes them. Either way the manifest arrives in a document whose proof is REQUIRED, so the per-chunk digests are authenticated by the party that computed them and each chunk can be verified — and a single bad chunk re-fetched or refused — on arrival rather than only after reassembly.
|
|
5849
6002
|
*
|
|
@@ -6418,6 +6571,11 @@ export interface ContextRecord {
|
|
|
6418
6571
|
updatedAt: string;
|
|
6419
6572
|
ext?: Ext;
|
|
6420
6573
|
}
|
|
6574
|
+
/**
|
|
6575
|
+
* A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.
|
|
6576
|
+
*/
|
|
6577
|
+
export interface Credential {
|
|
6578
|
+
}
|
|
6421
6579
|
/**
|
|
6422
6580
|
* A pointer to an issued credential, without the credential itself.
|
|
6423
6581
|
*
|
|
@@ -7387,6 +7545,44 @@ export interface DirectoryEntry {
|
|
|
7387
7545
|
*/
|
|
7388
7546
|
sharedGroups?: string[];
|
|
7389
7547
|
}
|
|
7548
|
+
/**
|
|
7549
|
+
* One directory result.
|
|
7550
|
+
*/
|
|
7551
|
+
export interface DirectoryEntry_VtnV0_1 {
|
|
7552
|
+
did: Did_VtnV0_1;
|
|
7553
|
+
kind: EntryKind;
|
|
7554
|
+
state: EntryState;
|
|
7555
|
+
/**
|
|
7556
|
+
* Whether the party is a member. Every result states it (VTI-VTN-013).
|
|
7557
|
+
*/
|
|
7558
|
+
acknowledged: boolean;
|
|
7559
|
+
/**
|
|
7560
|
+
* The name shown.
|
|
7561
|
+
*/
|
|
7562
|
+
label?: string;
|
|
7563
|
+
/**
|
|
7564
|
+
* What the party is.
|
|
7565
|
+
*/
|
|
7566
|
+
description?: string;
|
|
7567
|
+
/**
|
|
7568
|
+
* The party's public address.
|
|
7569
|
+
*/
|
|
7570
|
+
url?: string;
|
|
7571
|
+
/**
|
|
7572
|
+
* Tags.
|
|
7573
|
+
*
|
|
7574
|
+
* @maxItems 32
|
|
7575
|
+
*/
|
|
7576
|
+
tags?: string[];
|
|
7577
|
+
/**
|
|
7578
|
+
* The listing credential's `id`, to fetch it.
|
|
7579
|
+
*/
|
|
7580
|
+
listingId?: string;
|
|
7581
|
+
/**
|
|
7582
|
+
* The grant's `id`, once acknowledged.
|
|
7583
|
+
*/
|
|
7584
|
+
grantId?: string;
|
|
7585
|
+
}
|
|
7390
7586
|
/**
|
|
7391
7587
|
* Links a contact to the entry in a community's member directory it corresponds to, so the holder's own client can join that community's directory with the holder's address book — showing a star or a petname beside an entry — without either side telling the other. The community never learns the link exists; the contact never learns it either. A contact has at most one.
|
|
7392
7588
|
*/
|
|
@@ -7400,6 +7596,27 @@ export interface DirectoryRef {
|
|
|
7400
7596
|
*/
|
|
7401
7597
|
entryId: DirectoryEntryId;
|
|
7402
7598
|
}
|
|
7599
|
+
/**
|
|
7600
|
+
* Counts over the published set.
|
|
7601
|
+
*/
|
|
7602
|
+
export interface DirectorySummary {
|
|
7603
|
+
/**
|
|
7604
|
+
* Published community entries.
|
|
7605
|
+
*/
|
|
7606
|
+
communities: number;
|
|
7607
|
+
/**
|
|
7608
|
+
* Published network entries.
|
|
7609
|
+
*/
|
|
7610
|
+
networks: number;
|
|
7611
|
+
/**
|
|
7612
|
+
* Of those, members.
|
|
7613
|
+
*/
|
|
7614
|
+
acknowledged: number;
|
|
7615
|
+
/**
|
|
7616
|
+
* Of those, listed but not members.
|
|
7617
|
+
*/
|
|
7618
|
+
unacknowledged: number;
|
|
7619
|
+
}
|
|
7403
7620
|
/**
|
|
7404
7621
|
* One active field of the community's directory, as an applicant needs to see it: what it is, who writes its value, the widest audience it may ever reach and the audience a new card gives it. Disabled and retired fields are not listed: no projection shows them.
|
|
7405
7622
|
*/
|
|
@@ -7732,6 +7949,33 @@ export interface DynamicRule {
|
|
|
7732
7949
|
RuleCondition
|
|
7733
7950
|
];
|
|
7734
7951
|
}
|
|
7952
|
+
/**
|
|
7953
|
+
* One credential, from issuer to subject. A membership is two edges: the grant and the acknowledgement.
|
|
7954
|
+
*/
|
|
7955
|
+
export interface Edge {
|
|
7956
|
+
/**
|
|
7957
|
+
* The credential's `id`.
|
|
7958
|
+
*/
|
|
7959
|
+
id: string;
|
|
7960
|
+
/**
|
|
7961
|
+
* The issuer.
|
|
7962
|
+
*/
|
|
7963
|
+
source: Did_VtnV0_1;
|
|
7964
|
+
/**
|
|
7965
|
+
* The subject.
|
|
7966
|
+
*/
|
|
7967
|
+
target: Did_VtnV0_1;
|
|
7968
|
+
role: EdgeRole;
|
|
7969
|
+
/**
|
|
7970
|
+
* The credential's DTG type, e.g. `MembershipCredential`.
|
|
7971
|
+
*/
|
|
7972
|
+
credType: string;
|
|
7973
|
+
status: EdgeStatus;
|
|
7974
|
+
/**
|
|
7975
|
+
* The credential itself.
|
|
7976
|
+
*/
|
|
7977
|
+
credential: Credential;
|
|
7978
|
+
}
|
|
7735
7979
|
/**
|
|
7736
7980
|
* One consequence of executing the pending task, authored by the executor that is about to run it. An effect is produced by dry-running the real handler against the executor's own prior state — never by the requester, and never by re-implementing the handler's semantics elsewhere. A consent surface renders ONLY effects it received under the executor's signature.
|
|
7737
7981
|
*/
|
|
@@ -7928,12 +8172,65 @@ export interface EndorsementType {
|
|
|
7928
8172
|
*/
|
|
7929
8173
|
createdByDid?: string;
|
|
7930
8174
|
}
|
|
8175
|
+
/**
|
|
8176
|
+
* An entry as its network's administrators see it.
|
|
8177
|
+
*/
|
|
8178
|
+
export interface Entry {
|
|
8179
|
+
/**
|
|
8180
|
+
* The listed party's DID.
|
|
8181
|
+
*/
|
|
8182
|
+
did: Did_VtnV0_1;
|
|
8183
|
+
kind: EntryKind;
|
|
8184
|
+
label?: Label;
|
|
8185
|
+
profile: EntryProfile;
|
|
8186
|
+
state: EntryState;
|
|
8187
|
+
/**
|
|
8188
|
+
* When the party was first listed.
|
|
8189
|
+
*/
|
|
8190
|
+
createdAt: string;
|
|
8191
|
+
/**
|
|
8192
|
+
* When the entry last changed.
|
|
8193
|
+
*/
|
|
8194
|
+
updatedAt: string;
|
|
8195
|
+
/**
|
|
8196
|
+
* The listing credential (`lists/1`).
|
|
8197
|
+
*/
|
|
8198
|
+
listing: Issued;
|
|
8199
|
+
/**
|
|
8200
|
+
* The unsigned membership grant offered to the party, before it acknowledged.
|
|
8201
|
+
*/
|
|
8202
|
+
offer?: Issued;
|
|
8203
|
+
/**
|
|
8204
|
+
* The signed membership grant (VMC), once the party acknowledged.
|
|
8205
|
+
*/
|
|
8206
|
+
grant?: Issued;
|
|
8207
|
+
/**
|
|
8208
|
+
* The party's acknowledgement (VMC carrying the grant's digest).
|
|
8209
|
+
*/
|
|
8210
|
+
ack?: Credential;
|
|
8211
|
+
/**
|
|
8212
|
+
* The party's repudiation (`repudiates/1`) of the listing or the grant.
|
|
8213
|
+
*/
|
|
8214
|
+
repudiation?: Credential;
|
|
8215
|
+
/**
|
|
8216
|
+
* Every transition, oldest first.
|
|
8217
|
+
*/
|
|
8218
|
+
history: StateChange[];
|
|
8219
|
+
}
|
|
7931
8220
|
/**
|
|
7932
8221
|
* The fields of one entry that a particular viewer may see, keyed by field: the intersection of the member's visibility, the community's ceiling and policy, plus any derived fields that intersection admits. A withheld field is ABSENT, never null.
|
|
7933
8222
|
*/
|
|
7934
8223
|
export interface EntryFields {
|
|
7935
8224
|
[k: string]: FieldValue | undefined;
|
|
7936
8225
|
}
|
|
8226
|
+
/**
|
|
8227
|
+
* What the directory shows about an entry, set by the network's administrators.
|
|
8228
|
+
*/
|
|
8229
|
+
export interface EntryProfile {
|
|
8230
|
+
description?: Description;
|
|
8231
|
+
url?: Url;
|
|
8232
|
+
tags?: Tags;
|
|
8233
|
+
}
|
|
7937
8234
|
export interface EnumOption {
|
|
7938
8235
|
/**
|
|
7939
8236
|
* The stored value.
|
|
@@ -7944,6 +8241,119 @@ export interface EnumOption {
|
|
|
7944
8241
|
*/
|
|
7945
8242
|
label: string;
|
|
7946
8243
|
}
|
|
8244
|
+
/**
|
|
8245
|
+
* A broadcast in transit.
|
|
8246
|
+
*/
|
|
8247
|
+
export interface Envelope {
|
|
8248
|
+
/**
|
|
8249
|
+
* The message, signed by the origin network.
|
|
8250
|
+
*/
|
|
8251
|
+
message: Credential;
|
|
8252
|
+
/**
|
|
8253
|
+
* One signed hop per relay step, each by the network that owns the previous hop's group.
|
|
8254
|
+
*
|
|
8255
|
+
* @maxItems 16
|
|
8256
|
+
*/
|
|
8257
|
+
hops: [] | [Credential] | [Credential, Credential] | [Credential, Credential, Credential] | [Credential, Credential, Credential, Credential] | [Credential, Credential, Credential, Credential, Credential] | [Credential, Credential, Credential, Credential, Credential, Credential] | [Credential, Credential, Credential, Credential, Credential, Credential, Credential] | [Credential, Credential, Credential, Credential, Credential, Credential, Credential, Credential] | [Credential, Credential, Credential, Credential, Credential, Credential, Credential, Credential, Credential] | [
|
|
8258
|
+
Credential,
|
|
8259
|
+
Credential,
|
|
8260
|
+
Credential,
|
|
8261
|
+
Credential,
|
|
8262
|
+
Credential,
|
|
8263
|
+
Credential,
|
|
8264
|
+
Credential,
|
|
8265
|
+
Credential,
|
|
8266
|
+
Credential,
|
|
8267
|
+
Credential
|
|
8268
|
+
] | [
|
|
8269
|
+
Credential,
|
|
8270
|
+
Credential,
|
|
8271
|
+
Credential,
|
|
8272
|
+
Credential,
|
|
8273
|
+
Credential,
|
|
8274
|
+
Credential,
|
|
8275
|
+
Credential,
|
|
8276
|
+
Credential,
|
|
8277
|
+
Credential,
|
|
8278
|
+
Credential,
|
|
8279
|
+
Credential
|
|
8280
|
+
] | [
|
|
8281
|
+
Credential,
|
|
8282
|
+
Credential,
|
|
8283
|
+
Credential,
|
|
8284
|
+
Credential,
|
|
8285
|
+
Credential,
|
|
8286
|
+
Credential,
|
|
8287
|
+
Credential,
|
|
8288
|
+
Credential,
|
|
8289
|
+
Credential,
|
|
8290
|
+
Credential,
|
|
8291
|
+
Credential,
|
|
8292
|
+
Credential
|
|
8293
|
+
] | [
|
|
8294
|
+
Credential,
|
|
8295
|
+
Credential,
|
|
8296
|
+
Credential,
|
|
8297
|
+
Credential,
|
|
8298
|
+
Credential,
|
|
8299
|
+
Credential,
|
|
8300
|
+
Credential,
|
|
8301
|
+
Credential,
|
|
8302
|
+
Credential,
|
|
8303
|
+
Credential,
|
|
8304
|
+
Credential,
|
|
8305
|
+
Credential,
|
|
8306
|
+
Credential
|
|
8307
|
+
] | [
|
|
8308
|
+
Credential,
|
|
8309
|
+
Credential,
|
|
8310
|
+
Credential,
|
|
8311
|
+
Credential,
|
|
8312
|
+
Credential,
|
|
8313
|
+
Credential,
|
|
8314
|
+
Credential,
|
|
8315
|
+
Credential,
|
|
8316
|
+
Credential,
|
|
8317
|
+
Credential,
|
|
8318
|
+
Credential,
|
|
8319
|
+
Credential,
|
|
8320
|
+
Credential,
|
|
8321
|
+
Credential
|
|
8322
|
+
] | [
|
|
8323
|
+
Credential,
|
|
8324
|
+
Credential,
|
|
8325
|
+
Credential,
|
|
8326
|
+
Credential,
|
|
8327
|
+
Credential,
|
|
8328
|
+
Credential,
|
|
8329
|
+
Credential,
|
|
8330
|
+
Credential,
|
|
8331
|
+
Credential,
|
|
8332
|
+
Credential,
|
|
8333
|
+
Credential,
|
|
8334
|
+
Credential,
|
|
8335
|
+
Credential,
|
|
8336
|
+
Credential,
|
|
8337
|
+
Credential
|
|
8338
|
+
] | [
|
|
8339
|
+
Credential,
|
|
8340
|
+
Credential,
|
|
8341
|
+
Credential,
|
|
8342
|
+
Credential,
|
|
8343
|
+
Credential,
|
|
8344
|
+
Credential,
|
|
8345
|
+
Credential,
|
|
8346
|
+
Credential,
|
|
8347
|
+
Credential,
|
|
8348
|
+
Credential,
|
|
8349
|
+
Credential,
|
|
8350
|
+
Credential,
|
|
8351
|
+
Credential,
|
|
8352
|
+
Credential,
|
|
8353
|
+
Credential,
|
|
8354
|
+
Credential
|
|
8355
|
+
];
|
|
8356
|
+
}
|
|
7947
8357
|
/**
|
|
7948
8358
|
* What a room writes into its own witnessed log, so that a host serving a stale, forked or partial view of it becomes **evident rather than merely possible**.
|
|
7949
8359
|
*
|
|
@@ -8106,6 +8516,52 @@ export interface ExternalCard {
|
|
|
8106
8516
|
*/
|
|
8107
8517
|
publishedAt?: string;
|
|
8108
8518
|
}
|
|
8519
|
+
/**
|
|
8520
|
+
* A result from a member network's set, with the network that lists it and the path to that network.
|
|
8521
|
+
*/
|
|
8522
|
+
export interface FederatedEntry {
|
|
8523
|
+
did: Did_VtnV0_1;
|
|
8524
|
+
kind: EntryKind;
|
|
8525
|
+
state: EntryState;
|
|
8526
|
+
/**
|
|
8527
|
+
* Whether the party is a member. Every result states it (VTI-VTN-013).
|
|
8528
|
+
*/
|
|
8529
|
+
acknowledged: boolean;
|
|
8530
|
+
/**
|
|
8531
|
+
* The name shown.
|
|
8532
|
+
*/
|
|
8533
|
+
label?: string;
|
|
8534
|
+
/**
|
|
8535
|
+
* What the party is.
|
|
8536
|
+
*/
|
|
8537
|
+
description?: string;
|
|
8538
|
+
/**
|
|
8539
|
+
* The party's public address.
|
|
8540
|
+
*/
|
|
8541
|
+
url?: string;
|
|
8542
|
+
/**
|
|
8543
|
+
* Tags.
|
|
8544
|
+
*
|
|
8545
|
+
* @maxItems 32
|
|
8546
|
+
*/
|
|
8547
|
+
tags?: string[];
|
|
8548
|
+
/**
|
|
8549
|
+
* The listing credential's `id`, to fetch it.
|
|
8550
|
+
*/
|
|
8551
|
+
listingId?: string;
|
|
8552
|
+
/**
|
|
8553
|
+
* The grant's `id`, once acknowledged.
|
|
8554
|
+
*/
|
|
8555
|
+
grantId?: string;
|
|
8556
|
+
/**
|
|
8557
|
+
* The network whose set the result is in.
|
|
8558
|
+
*/
|
|
8559
|
+
listedBy: Did_VtnV0_1;
|
|
8560
|
+
/**
|
|
8561
|
+
* From the searched network to `listedBy`, one hop per nesting.
|
|
8562
|
+
*/
|
|
8563
|
+
path: PathHop[];
|
|
8564
|
+
}
|
|
8109
8565
|
/**
|
|
8110
8566
|
* One displayed value, with where it comes from and how to render it.
|
|
8111
8567
|
*/
|
|
@@ -8373,6 +8829,19 @@ export interface GrantsBindingSpec {
|
|
|
8373
8829
|
*/
|
|
8374
8830
|
grants: [CapabilityRef, ...CapabilityRef[]];
|
|
8375
8831
|
}
|
|
8832
|
+
/**
|
|
8833
|
+
* The graph.
|
|
8834
|
+
*/
|
|
8835
|
+
export interface Graph {
|
|
8836
|
+
/**
|
|
8837
|
+
* The parties.
|
|
8838
|
+
*/
|
|
8839
|
+
nodes: Node[];
|
|
8840
|
+
/**
|
|
8841
|
+
* The credentials.
|
|
8842
|
+
*/
|
|
8843
|
+
edges: Edge[];
|
|
8844
|
+
}
|
|
8376
8845
|
/**
|
|
8377
8846
|
* A community group, as a caller who may see it sees it. Members a caller may not see are absent: `memberCount` only to those who may see the group's members, `managers` and `credentialAuthorityValidUntil` only to its managers.
|
|
8378
8847
|
*/
|
|
@@ -8858,6 +9327,42 @@ export interface InForce_VtcV0_4 {
|
|
|
8858
9327
|
*/
|
|
8859
9328
|
reason?: string;
|
|
8860
9329
|
}
|
|
9330
|
+
/**
|
|
9331
|
+
* An entry as the network publishes it, with the credentials a verifier needs.
|
|
9332
|
+
*/
|
|
9333
|
+
export interface IndexEntry {
|
|
9334
|
+
/**
|
|
9335
|
+
* The listed party's DID.
|
|
9336
|
+
*/
|
|
9337
|
+
did: Did_VtnV0_1;
|
|
9338
|
+
kind: EntryKind;
|
|
9339
|
+
state: EntryState;
|
|
9340
|
+
/**
|
|
9341
|
+
* Whether the party acknowledged: true only for a member. Every published entry states it (VTI-VTN-013).
|
|
9342
|
+
*/
|
|
9343
|
+
acknowledged: boolean;
|
|
9344
|
+
/**
|
|
9345
|
+
* The name the directory shows.
|
|
9346
|
+
*/
|
|
9347
|
+
label?: string;
|
|
9348
|
+
profile: EntryProfile;
|
|
9349
|
+
/**
|
|
9350
|
+
* The listing credential.
|
|
9351
|
+
*/
|
|
9352
|
+
listing: Credential;
|
|
9353
|
+
/**
|
|
9354
|
+
* The membership grant, once acknowledged.
|
|
9355
|
+
*/
|
|
9356
|
+
grant?: Credential;
|
|
9357
|
+
/**
|
|
9358
|
+
* The party's acknowledgement.
|
|
9359
|
+
*/
|
|
9360
|
+
acknowledgement?: Credential;
|
|
9361
|
+
/**
|
|
9362
|
+
* The party's repudiation.
|
|
9363
|
+
*/
|
|
9364
|
+
repudiation?: Credential;
|
|
9365
|
+
}
|
|
8861
9366
|
/**
|
|
8862
9367
|
* Registry view of one issued Invitation Credential. Carries no credential material — the VIC itself is returned only once, by `issue`.
|
|
8863
9368
|
*/
|
|
@@ -8960,6 +9465,19 @@ export interface InviteSummary_VtcV0_2 {
|
|
|
8960
9465
|
*/
|
|
8961
9466
|
consumedAt?: string;
|
|
8962
9467
|
}
|
|
9468
|
+
/**
|
|
9469
|
+
* A credential the network issued, with where its status is kept.
|
|
9470
|
+
*/
|
|
9471
|
+
export interface Issued {
|
|
9472
|
+
/**
|
|
9473
|
+
* The credential as issued.
|
|
9474
|
+
*/
|
|
9475
|
+
credential: Credential;
|
|
9476
|
+
/**
|
|
9477
|
+
* The credential's index in the network's status lists.
|
|
9478
|
+
*/
|
|
9479
|
+
statusIndex: number;
|
|
9480
|
+
}
|
|
8963
9481
|
/**
|
|
8964
9482
|
* The members of an issuance receipt, deliberately left **open** so a consuming specification can `$ref` it under `allOf` and add its own, then close the result with `unevaluatedProperties: false`.
|
|
8965
9483
|
*
|
|
@@ -9606,6 +10124,11 @@ export interface MemberResponse {
|
|
|
9606
10124
|
*/
|
|
9607
10125
|
extensions: {};
|
|
9608
10126
|
}
|
|
10127
|
+
/**
|
|
10128
|
+
* A person's membership credential (VMC) from a community that is a member of this network, holder-bound to the requester's identity. Open for the same reason as `Credential`.
|
|
10129
|
+
*/
|
|
10130
|
+
export interface Membership {
|
|
10131
|
+
}
|
|
9609
10132
|
/**
|
|
9610
10133
|
* Metadata of one stored message. Never carries the message body.
|
|
9611
10134
|
*/
|
|
@@ -9969,6 +10492,32 @@ export interface NewCardDefaults {
|
|
|
9969
10492
|
*/
|
|
9970
10493
|
introductions?: Introductions;
|
|
9971
10494
|
}
|
|
10495
|
+
/**
|
|
10496
|
+
* A party.
|
|
10497
|
+
*/
|
|
10498
|
+
export interface Node {
|
|
10499
|
+
/**
|
|
10500
|
+
* The party's DID.
|
|
10501
|
+
*/
|
|
10502
|
+
id: Did_VtnV0_1;
|
|
10503
|
+
kind: NodeKind;
|
|
10504
|
+
/**
|
|
10505
|
+
* Its name.
|
|
10506
|
+
*/
|
|
10507
|
+
label?: string;
|
|
10508
|
+
/**
|
|
10509
|
+
* Its entry's state; absent for the root.
|
|
10510
|
+
*/
|
|
10511
|
+
state?: EntryState;
|
|
10512
|
+
/**
|
|
10513
|
+
* Whether this is the network whose graph it is.
|
|
10514
|
+
*/
|
|
10515
|
+
root: boolean;
|
|
10516
|
+
/**
|
|
10517
|
+
* Where a member network is reached, so a viewer can expand it.
|
|
10518
|
+
*/
|
|
10519
|
+
url?: string;
|
|
10520
|
+
}
|
|
9972
10521
|
/**
|
|
9973
10522
|
* The members of one notification, as notifications/notify carries them and as a recipient's agent records them. The originator is the `issuer` of the notifications/notify document and the addressee its `recipient`; neither is repeated here, because the originator's proof covers both.
|
|
9974
10523
|
*/
|
|
@@ -10059,6 +10608,44 @@ export interface OfferV2 {
|
|
|
10059
10608
|
state: "open" | "accepted";
|
|
10060
10609
|
credentials: OfferCredentials;
|
|
10061
10610
|
}
|
|
10611
|
+
/**
|
|
10612
|
+
* A delivery waiting to be retried.
|
|
10613
|
+
*/
|
|
10614
|
+
export interface OutboxItem {
|
|
10615
|
+
/**
|
|
10616
|
+
* The message id.
|
|
10617
|
+
*/
|
|
10618
|
+
messageId: string;
|
|
10619
|
+
/**
|
|
10620
|
+
* The group.
|
|
10621
|
+
*/
|
|
10622
|
+
group: string;
|
|
10623
|
+
/**
|
|
10624
|
+
* Its member.
|
|
10625
|
+
*/
|
|
10626
|
+
member: Did_VtnV0_1;
|
|
10627
|
+
/**
|
|
10628
|
+
* Where it is being delivered.
|
|
10629
|
+
*/
|
|
10630
|
+
endpoint: string;
|
|
10631
|
+
envelope: Envelope;
|
|
10632
|
+
/**
|
|
10633
|
+
* Attempts so far.
|
|
10634
|
+
*/
|
|
10635
|
+
attempts: number;
|
|
10636
|
+
/**
|
|
10637
|
+
* When it is next tried.
|
|
10638
|
+
*/
|
|
10639
|
+
nextAttemptAt: string;
|
|
10640
|
+
/**
|
|
10641
|
+
* When it is given up.
|
|
10642
|
+
*/
|
|
10643
|
+
expiresAt: string;
|
|
10644
|
+
/**
|
|
10645
|
+
* The last failure.
|
|
10646
|
+
*/
|
|
10647
|
+
lastError: string;
|
|
10648
|
+
}
|
|
10062
10649
|
/**
|
|
10063
10650
|
* One witnessing session's outcome evidence. `session` is the initiating witness/session document; `outcome` is the terminal witness/session/submit #response that the initiating document's own specification declares as its outcome evidence, under the witness's proof, delivering the VWC and its vwcDigestMultibase. A consumer pairs them with a presented VWC by SPEC §4.9.4's four checks and the witnessing checks of witness/session/submit (This response is the outcome evidence).
|
|
10064
10651
|
*/
|
|
@@ -10129,6 +10716,27 @@ export interface PasskeyVerificationMethod {
|
|
|
10129
10716
|
*/
|
|
10130
10717
|
label?: string;
|
|
10131
10718
|
}
|
|
10719
|
+
/**
|
|
10720
|
+
* One step on the path from the searched network to the network that lists a result. Each hop states its own entry state: membership does not chain (VTI-VTN-033).
|
|
10721
|
+
*/
|
|
10722
|
+
export interface PathHop {
|
|
10723
|
+
/**
|
|
10724
|
+
* A network on the path.
|
|
10725
|
+
*/
|
|
10726
|
+
network: Did_VtnV0_1;
|
|
10727
|
+
/**
|
|
10728
|
+
* Its name.
|
|
10729
|
+
*/
|
|
10730
|
+
name?: string;
|
|
10731
|
+
/**
|
|
10732
|
+
* Its own entry's state at the network before it on the path.
|
|
10733
|
+
*/
|
|
10734
|
+
state: EntryState;
|
|
10735
|
+
/**
|
|
10736
|
+
* Whether that entry is a membership.
|
|
10737
|
+
*/
|
|
10738
|
+
acknowledged: boolean;
|
|
10739
|
+
}
|
|
10132
10740
|
/**
|
|
10133
10741
|
* The share of one queue attributable to one counterparty: in a send queue, the recipient; in a receive queue, the sender.
|
|
10134
10742
|
*/
|
|
@@ -10929,6 +11537,82 @@ export interface ReadVerification {
|
|
|
10929
11537
|
headVersion: HeadVersion;
|
|
10930
11538
|
};
|
|
10931
11539
|
}
|
|
11540
|
+
/**
|
|
11541
|
+
* The outcome of one delivery.
|
|
11542
|
+
*/
|
|
11543
|
+
export interface Receipt {
|
|
11544
|
+
/**
|
|
11545
|
+
* The group delivered to.
|
|
11546
|
+
*/
|
|
11547
|
+
group: string;
|
|
11548
|
+
/**
|
|
11549
|
+
* The member that owns it.
|
|
11550
|
+
*/
|
|
11551
|
+
member: Did_VtnV0_1;
|
|
11552
|
+
status: DeliveryStatus;
|
|
11553
|
+
/**
|
|
11554
|
+
* Why, for anything but `delivered`.
|
|
11555
|
+
*/
|
|
11556
|
+
detail?: string;
|
|
11557
|
+
/**
|
|
11558
|
+
* Whether the group is a network group, which relays further.
|
|
11559
|
+
*/
|
|
11560
|
+
network?: boolean;
|
|
11561
|
+
/**
|
|
11562
|
+
* The receipts the network group's own relay returned.
|
|
11563
|
+
*/
|
|
11564
|
+
relayed?: Receipt[];
|
|
11565
|
+
}
|
|
11566
|
+
/**
|
|
11567
|
+
* One notification the community holds, as an administrator with `vtc.notifications.read` sees it. `originator`, `deliveredBy` and every entry of `relayedBy` were verified by the community when it accepted the notification (VTI-NTF-042); an administrator that does not take the community's word for them reads the document with vtc/notifications/show and verifies it.
|
|
11568
|
+
*/
|
|
11569
|
+
export interface ReceivedNotification {
|
|
11570
|
+
recordId: RecordId_VtcNotificationsV0_1;
|
|
11571
|
+
/**
|
|
11572
|
+
* The issuer of the notifications/notify document: who said the thing exists.
|
|
11573
|
+
*/
|
|
11574
|
+
originator: Did_NotificationsV0_1;
|
|
11575
|
+
/**
|
|
11576
|
+
* The relayers the held revision passed through before it reached the community, in the order they relayed it; the last delivered it here, and is the party the acceptance policy counted (VTI-NTF-031). Empty for a notification the originator sent the community directly.
|
|
11577
|
+
*
|
|
11578
|
+
* @maxItems 4
|
|
11579
|
+
*/
|
|
11580
|
+
relayedBy: [] | [Did_NotificationsV0_1] | [Did_NotificationsV0_1, Did_NotificationsV0_1] | [Did_NotificationsV0_1, Did_NotificationsV0_1, Did_NotificationsV0_1] | [Did_NotificationsV0_1, Did_NotificationsV0_1, Did_NotificationsV0_1, Did_NotificationsV0_1];
|
|
11581
|
+
/**
|
|
11582
|
+
* The notification's members at the revision held.
|
|
11583
|
+
*/
|
|
11584
|
+
notification: Notification;
|
|
11585
|
+
/**
|
|
11586
|
+
* When the community accepted the revision held.
|
|
11587
|
+
*/
|
|
11588
|
+
receivedAt: string;
|
|
11589
|
+
/**
|
|
11590
|
+
* Whether the community may relay the revision held now: its `relayable` is true, its kind may be relayed, the received chain carries at most three relays so that the community's own makes at most four (VTI-NTF-041), and it is neither withdrawn nor past its `validUntil`.
|
|
11591
|
+
*/
|
|
11592
|
+
mayRelay: boolean;
|
|
11593
|
+
/**
|
|
11594
|
+
* What a relay of the notification discloses about the community, as the kind's definition states it (VTI-NTF-046) — for the kind `election`, that the community is a member of the community holding the election. Present exactly when the kind's definition says a relay discloses something; the administrator deciding a relay is shown it, and acknowledges it in vtc/notifications/relay.
|
|
11595
|
+
*/
|
|
11596
|
+
relayDisclosure?: string;
|
|
11597
|
+
/**
|
|
11598
|
+
* The relay decisions made for this notification, oldest first. Empty while none has been. Every later revision, a withdrawal included, is relayed to every party an earlier one was, without a new decision (VTI-NTF-044).
|
|
11599
|
+
*/
|
|
11600
|
+
relayDecisions: RelayDecision[];
|
|
11601
|
+
}
|
|
11602
|
+
/**
|
|
11603
|
+
* The members a relay decision reaches, resolved by the community from its own records when the decision is made (VTI-NTF-072). `groupId` is present exactly when `scope` is `group`, and `role` exactly when `scope` is `role`. Whatever the scope, the community never relays to itself, to the notification's originator, or to any relayer the received chain names (VTI-NTF-047), and relays to each party at most once per revision.
|
|
11604
|
+
*/
|
|
11605
|
+
export interface Recipients {
|
|
11606
|
+
scope: RecipientScope;
|
|
11607
|
+
/**
|
|
11608
|
+
* The community group whose active members the relay reaches.
|
|
11609
|
+
*/
|
|
11610
|
+
groupId?: GroupId;
|
|
11611
|
+
/**
|
|
11612
|
+
* The community role whose active holders the relay reaches, in the wire form the community's member records use — for example `moderator`, or `custom:editor`.
|
|
11613
|
+
*/
|
|
11614
|
+
role?: string;
|
|
11615
|
+
}
|
|
10932
11616
|
/**
|
|
10933
11617
|
* Cites a credential.
|
|
10934
11618
|
*/
|
|
@@ -11198,6 +11882,36 @@ export interface RegisteredGroup {
|
|
|
11198
11882
|
acceptance: {};
|
|
11199
11883
|
registeredAt: string;
|
|
11200
11884
|
}
|
|
11885
|
+
/**
|
|
11886
|
+
* A group serving a role: the member's signed registration and the network's groupRegistered credential accepting it.
|
|
11887
|
+
*/
|
|
11888
|
+
export interface RegisteredGroup_VtnV0_1 {
|
|
11889
|
+
/**
|
|
11890
|
+
* The member that registered the group.
|
|
11891
|
+
*/
|
|
11892
|
+
member: Did_VtnV0_1;
|
|
11893
|
+
role: RoleName_VtnV0_1;
|
|
11894
|
+
/**
|
|
11895
|
+
* The group: a DID, or for a network group a DID URL on the network's DID (`<did>#role-<name>`).
|
|
11896
|
+
*/
|
|
11897
|
+
group: string;
|
|
11898
|
+
/**
|
|
11899
|
+
* Where the network delivers broadcasts for the group.
|
|
11900
|
+
*/
|
|
11901
|
+
endpoint: string;
|
|
11902
|
+
/**
|
|
11903
|
+
* The member's signed vtn/groups/register request.
|
|
11904
|
+
*/
|
|
11905
|
+
registration: SignedTask;
|
|
11906
|
+
/**
|
|
11907
|
+
* The network's groupRegistered credential: a statement (`https://openvtc.org/vtn/vsc/groupRegistered/1`) issued by the accepting network, subject the group, `object.digestMultibase` the digest of `registration`, with a `credentialStatus` on the network's revocation list.
|
|
11908
|
+
*/
|
|
11909
|
+
acceptance: Credential;
|
|
11910
|
+
/**
|
|
11911
|
+
* When the network accepted the registration.
|
|
11912
|
+
*/
|
|
11913
|
+
registeredAt: string;
|
|
11914
|
+
}
|
|
11201
11915
|
/**
|
|
11202
11916
|
* The `ServiceInstance` shape of `did-management/_shared/0.1`, with `lastSeen` renamed `lastSeenAt`; named apart from `service-instance.schema.json`'s `ServiceInstance`, a different shape, so the two do not collide in generated code.
|
|
11203
11917
|
*/
|
|
@@ -11242,6 +11956,24 @@ export interface RejectedKey {
|
|
|
11242
11956
|
*/
|
|
11243
11957
|
reason: string;
|
|
11244
11958
|
}
|
|
11959
|
+
/**
|
|
11960
|
+
* One administrator's decision to relay a received notification, as the community records it (VTI-NTF-073). It records the selection and how many parties it added, never who they are: the record of whom the community relayed to exists only to relay later revisions to them (VTI-NTF-044).
|
|
11961
|
+
*/
|
|
11962
|
+
export interface RelayDecision {
|
|
11963
|
+
/**
|
|
11964
|
+
* When the decision was made.
|
|
11965
|
+
*/
|
|
11966
|
+
decidedAt: string;
|
|
11967
|
+
/**
|
|
11968
|
+
* The administrator who made it.
|
|
11969
|
+
*/
|
|
11970
|
+
decidedBy: Did_NotificationsV0_1;
|
|
11971
|
+
recipients: Recipients;
|
|
11972
|
+
/**
|
|
11973
|
+
* How many parties this decision added to those the notification is relayed to. Parties an earlier decision already reached are not counted again.
|
|
11974
|
+
*/
|
|
11975
|
+
recipientCount: number;
|
|
11976
|
+
}
|
|
11245
11977
|
/**
|
|
11246
11978
|
* The two credentials a renewal replaces, serialized as rooms/owner/{issue-membership,issue-authority} return them: a membership and an authority granting the same actions until the renewal's `validUntil`. No invitation: the member is already admitted, and a renewal never opens a second way in. The member's surface stores each with the member's key holder **in place of** the one it renews, never beside it.
|
|
11247
11979
|
*/
|
|
@@ -11654,6 +12386,20 @@ export interface RoleBindingSpec {
|
|
|
11654
12386
|
kind: "role";
|
|
11655
12387
|
role: RoleName;
|
|
11656
12388
|
}
|
|
12389
|
+
/**
|
|
12390
|
+
* A role the network defines.
|
|
12391
|
+
*/
|
|
12392
|
+
export interface RoleDef {
|
|
12393
|
+
name: RoleName_VtnV0_1;
|
|
12394
|
+
/**
|
|
12395
|
+
* What the role is for.
|
|
12396
|
+
*/
|
|
12397
|
+
description?: string;
|
|
12398
|
+
/**
|
|
12399
|
+
* Whether a party must register a group for it before its acknowledgement is accepted.
|
|
12400
|
+
*/
|
|
12401
|
+
required: boolean;
|
|
12402
|
+
}
|
|
11657
12403
|
/**
|
|
11658
12404
|
* One administrative role of a VTC: a name, the CEILING of capabilities an entry holding the role may hold, and the approve ceiling of capabilities it may approve.
|
|
11659
12405
|
*
|
|
@@ -11797,6 +12543,19 @@ export interface RoleLayout {
|
|
|
11797
12543
|
*/
|
|
11798
12544
|
algorithms: [KeyType, ...KeyType[]];
|
|
11799
12545
|
}
|
|
12546
|
+
/**
|
|
12547
|
+
* Which of this network's roles serves a parent's role.
|
|
12548
|
+
*/
|
|
12549
|
+
export interface RoleMapping {
|
|
12550
|
+
/**
|
|
12551
|
+
* The parent's role.
|
|
12552
|
+
*/
|
|
12553
|
+
parentRole: RoleName_VtnV0_1;
|
|
12554
|
+
/**
|
|
12555
|
+
* This network's role whose network group serves it.
|
|
12556
|
+
*/
|
|
12557
|
+
localRole: RoleName_VtnV0_1;
|
|
12558
|
+
}
|
|
11800
12559
|
export interface RoleSummary {
|
|
11801
12560
|
role: KeyRole;
|
|
11802
12561
|
/**
|
|
@@ -11934,6 +12693,35 @@ export interface RoomBindingSpec {
|
|
|
11934
12693
|
*/
|
|
11935
12694
|
validFor: string;
|
|
11936
12695
|
}
|
|
12696
|
+
/**
|
|
12697
|
+
* A room.
|
|
12698
|
+
*/
|
|
12699
|
+
export interface RoomDef {
|
|
12700
|
+
/**
|
|
12701
|
+
* The room's id.
|
|
12702
|
+
*/
|
|
12703
|
+
id: string;
|
|
12704
|
+
/**
|
|
12705
|
+
* Its name.
|
|
12706
|
+
*/
|
|
12707
|
+
name: string;
|
|
12708
|
+
/**
|
|
12709
|
+
* The role whose groups' members may enter.
|
|
12710
|
+
*/
|
|
12711
|
+
role: RoleName_VtnV0_1;
|
|
12712
|
+
/**
|
|
12713
|
+
* What it is for.
|
|
12714
|
+
*/
|
|
12715
|
+
description?: string;
|
|
12716
|
+
/**
|
|
12717
|
+
* Where the room is.
|
|
12718
|
+
*/
|
|
12719
|
+
url?: string;
|
|
12720
|
+
/**
|
|
12721
|
+
* How long a pass lasts, in minutes: at most 1440 (24 hours). A pass is short-lived because it is not revoked; eligibility is re-proved for the next one.
|
|
12722
|
+
*/
|
|
12723
|
+
passMinutes: number;
|
|
12724
|
+
}
|
|
11937
12725
|
/**
|
|
11938
12726
|
* How much a host is willing to store for one room, at the room and per member. A hosting decision, set by the host and never by anything in the room's credentials. An upload must fit every scope at once: the object against the smallest `maxFileBytes` that applies, and the member and the room with the file added.
|
|
11939
12727
|
*/
|
|
@@ -12071,6 +12859,20 @@ export interface RoomMembershipV2 {
|
|
|
12071
12859
|
*/
|
|
12072
12860
|
purgeAt?: string;
|
|
12073
12861
|
}
|
|
12862
|
+
/**
|
|
12863
|
+
* A room pass.
|
|
12864
|
+
*/
|
|
12865
|
+
export interface RoomPass {
|
|
12866
|
+
room: RoomDef;
|
|
12867
|
+
/**
|
|
12868
|
+
* The pass: a credential the network signs for the person, valid for `passMinutes`.
|
|
12869
|
+
*/
|
|
12870
|
+
pass: Credential;
|
|
12871
|
+
/**
|
|
12872
|
+
* The networks the person's eligibility ran through, from the one nearest their community up to this network.
|
|
12873
|
+
*/
|
|
12874
|
+
via: Did_VtnV0_1[];
|
|
12875
|
+
}
|
|
12074
12876
|
/**
|
|
12075
12877
|
* What a room says about itself to its own members: a name and, optionally, a description, short tags and an emoji, so that a member's wallet, portal or CLI can show what each room is rather than a DID.
|
|
12076
12878
|
*
|
|
@@ -12730,6 +13532,11 @@ export interface SigmaProof {
|
|
|
12730
13532
|
*/
|
|
12731
13533
|
export interface SignedRequest {
|
|
12732
13534
|
}
|
|
13535
|
+
/**
|
|
13536
|
+
* A complete Trust Task document, with its proof, exactly as signed and received. Verified as a document in its own right; open so its proof still covers every member, and so its digest can be recomputed.
|
|
13537
|
+
*/
|
|
13538
|
+
export interface SignedTask {
|
|
13539
|
+
}
|
|
12733
13540
|
/**
|
|
12734
13541
|
* One signing-key delegation, as its holder sees it. A delegation confers nothing of its own: it names an identity that already holds whatever standing it holds, and a document signed by the key is authorized by that identity's standing read at execution time.
|
|
12735
13542
|
*/
|
|
@@ -12838,6 +13645,21 @@ export interface AndroidApp_VaultV0_2 {
|
|
|
12838
13645
|
*/
|
|
12839
13646
|
sha256CertFingerprints: [string, ...string[]];
|
|
12840
13647
|
}
|
|
13648
|
+
/**
|
|
13649
|
+
* One transition in an entry's lifecycle.
|
|
13650
|
+
*/
|
|
13651
|
+
export interface StateChange {
|
|
13652
|
+
/**
|
|
13653
|
+
* When the state changed.
|
|
13654
|
+
*/
|
|
13655
|
+
changedAt: string;
|
|
13656
|
+
/**
|
|
13657
|
+
* The state before; absent for the first listing.
|
|
13658
|
+
*/
|
|
13659
|
+
from?: EntryState;
|
|
13660
|
+
to: EntryState;
|
|
13661
|
+
reason?: Reason_VtnV0_1;
|
|
13662
|
+
}
|
|
12841
13663
|
/**
|
|
12842
13664
|
* The prior state the effects were computed against. A human in the loop makes the approval window minutes wide, so the state can move underneath a pending approval. The executor asserts this pin still holds at execution and refuses otherwise — without it, a lost update silently executes against state the approver never saw.
|
|
12843
13665
|
*/
|
|
@@ -13444,6 +14266,23 @@ export interface TspMessageEnvelope_VaultV0_2 {
|
|
|
13444
14266
|
*/
|
|
13445
14267
|
message: string;
|
|
13446
14268
|
}
|
|
14269
|
+
/**
|
|
14270
|
+
* A member network whose set could not be read: its results are indeterminate, not absent (VTI-REG-012).
|
|
14271
|
+
*/
|
|
14272
|
+
export interface Unreachable {
|
|
14273
|
+
/**
|
|
14274
|
+
* The member network that could not be searched.
|
|
14275
|
+
*/
|
|
14276
|
+
network: Did_VtnV0_1;
|
|
14277
|
+
/**
|
|
14278
|
+
* How it was reached.
|
|
14279
|
+
*/
|
|
14280
|
+
path: PathHop[];
|
|
14281
|
+
/**
|
|
14282
|
+
* Why.
|
|
14283
|
+
*/
|
|
14284
|
+
reason: string;
|
|
14285
|
+
}
|
|
13447
14286
|
/**
|
|
13448
14287
|
* What the uploaded bytes are for, committed before any byte moves. `file`: one file at `path`, written into the site when the upload commits — the single-file write. `bundle`: a gzip-compressed tar of the whole site, staged when the upload commits and published by vtc/website/deploy. `path` is required for a `file` target and forbidden for a `bundle`, and `ifMatch` is allowed only for a `file` — rules over two members that this schema does not express; a community refuses a violation with `malformedRequest`. `ifMatch` is optimistic concurrency: the write commits only if the file's current content hash is this value.
|
|
13449
14288
|
*/
|
|
@@ -13452,6 +14291,70 @@ export interface UploadTarget {
|
|
|
13452
14291
|
path?: WebsitePath;
|
|
13453
14292
|
ifMatch?: WebsiteEtag;
|
|
13454
14293
|
}
|
|
14294
|
+
/**
|
|
14295
|
+
* A group this network registered at its parent.
|
|
14296
|
+
*/
|
|
14297
|
+
export interface UpstreamGroup {
|
|
14298
|
+
parentRole: RoleName_VtnV0_1;
|
|
14299
|
+
localRole: RoleName_VtnV0_1;
|
|
14300
|
+
/**
|
|
14301
|
+
* This network's network group (`<did>#role-<localRole>`).
|
|
14302
|
+
*/
|
|
14303
|
+
group: string;
|
|
14304
|
+
/**
|
|
14305
|
+
* This network's signed vtn/groups/register request to the parent.
|
|
14306
|
+
*/
|
|
14307
|
+
registration: SignedTask;
|
|
14308
|
+
/**
|
|
14309
|
+
* The parent's groupRegistered credential accepting the registration: issued by the parent, subject this network's network group, `object.digestMultibase` the digest of `registration`, revocable on the parent's status list.
|
|
14310
|
+
*/
|
|
14311
|
+
acceptance: Credential;
|
|
14312
|
+
}
|
|
14313
|
+
/**
|
|
14314
|
+
* This network's membership of a parent.
|
|
14315
|
+
*/
|
|
14316
|
+
export interface UpstreamMembership {
|
|
14317
|
+
/**
|
|
14318
|
+
* The parent network.
|
|
14319
|
+
*/
|
|
14320
|
+
network: Did_VtnV0_1;
|
|
14321
|
+
/**
|
|
14322
|
+
* Where the parent is reached.
|
|
14323
|
+
*/
|
|
14324
|
+
url: string;
|
|
14325
|
+
/**
|
|
14326
|
+
* The parent's name.
|
|
14327
|
+
*/
|
|
14328
|
+
name?: string;
|
|
14329
|
+
/**
|
|
14330
|
+
* `acknowledged`: this network is a member. `repudiated`: it rejected the parent's listing. `departed`: it left.
|
|
14331
|
+
*/
|
|
14332
|
+
state: "acknowledged" | "repudiated" | "departed";
|
|
14333
|
+
/**
|
|
14334
|
+
* The parent's listing of this network, as verified.
|
|
14335
|
+
*/
|
|
14336
|
+
listing: Credential;
|
|
14337
|
+
/**
|
|
14338
|
+
* The parent's grant.
|
|
14339
|
+
*/
|
|
14340
|
+
grant?: Credential;
|
|
14341
|
+
/**
|
|
14342
|
+
* This network's acknowledgement.
|
|
14343
|
+
*/
|
|
14344
|
+
acknowledgement?: Credential;
|
|
14345
|
+
/**
|
|
14346
|
+
* This network's repudiation of the listing or grant.
|
|
14347
|
+
*/
|
|
14348
|
+
repudiation?: Credential;
|
|
14349
|
+
/**
|
|
14350
|
+
* Groups registered at the parent.
|
|
14351
|
+
*/
|
|
14352
|
+
groups: UpstreamGroup[];
|
|
14353
|
+
/**
|
|
14354
|
+
* When it last changed.
|
|
14355
|
+
*/
|
|
14356
|
+
updatedAt: string;
|
|
14357
|
+
}
|
|
13455
14358
|
/**
|
|
13456
14359
|
* What one scope holds now. Ciphertext bytes throughout.
|
|
13457
14360
|
*/
|