@openvtc/trust-tasks 0.28.7 → 0.28.9
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 +157 -0
- package/dist/_extends.d.ts.map +1 -1
- package/dist/_extends.js +6 -0
- package/dist/_extends.js.map +1 -1
- package/dist/_shared/components.d.ts +492 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +150 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +150 -0
- package/dist/index.js.map +1 -1
- package/dist/notifications/_shared/0.1/notification.d.ts +22 -0
- package/dist/notifications/_shared/0.1/notification.d.ts.map +1 -0
- package/dist/notifications/_shared/0.1/notification.js +6 -0
- package/dist/notifications/_shared/0.1/notification.js.map +1 -0
- package/dist/notifications/notify/0.1/payload.d.ts +652 -0
- package/dist/notifications/notify/0.1/payload.d.ts.map +1 -0
- package/dist/notifications/notify/0.1/payload.js +383 -0
- package/dist/notifications/notify/0.1/payload.js.map +1 -0
- package/dist/notifications/relay/0.1/payload.d.ts +309 -0
- package/dist/notifications/relay/0.1/payload.d.ts.map +1 -0
- package/dist/notifications/relay/0.1/payload.js +179 -0
- package/dist/notifications/relay/0.1/payload.js.map +1 -0
- package/dist/rooms/keys/act/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.1/payload.js +1 -1
- package/dist/rooms/keys/act/0.1/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.10/payload.d.ts +560 -0
- package/dist/rooms/keys/act/0.10/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.10/payload.js +319 -0
- package/dist/rooms/keys/act/0.10/payload.js.map +1 -0
- package/dist/rooms/keys/act/0.2/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.2/payload.js +1 -1
- package/dist/rooms/keys/act/0.2/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.3/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.3/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.3/payload.js +1 -1
- package/dist/rooms/keys/act/0.3/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.4/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.4/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.4/payload.js +1 -1
- package/dist/rooms/keys/act/0.4/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.5/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.5/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.5/payload.js +1 -1
- package/dist/rooms/keys/act/0.5/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.6/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.6/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.6/payload.js +1 -1
- package/dist/rooms/keys/act/0.6/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.7/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.7/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.7/payload.js +1 -1
- package/dist/rooms/keys/act/0.7/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.8/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.8/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.8/payload.js +1 -1
- package/dist/rooms/keys/act/0.8/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.9/payload.d.ts +14 -2
- package/dist/rooms/keys/act/0.9/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.9/payload.js +1 -1
- package/dist/rooms/keys/act/0.9/payload.js.map +1 -1
- package/dist/voting/_shared/0.4/voting.d.ts +16 -0
- package/dist/voting/_shared/0.4/voting.d.ts.map +1 -0
- package/dist/voting/_shared/0.4/voting.js +6 -0
- package/dist/voting/_shared/0.4/voting.js.map +1 -0
- package/dist/voting/election/register/0.1/payload.d.ts +4 -4
- package/dist/voting/election/register/0.1/payload.js +1 -1
- package/dist/voting/election/register/0.2/payload.d.ts +4 -4
- package/dist/voting/election/register/0.2/payload.js +1 -1
- package/dist/voting/election/register/0.3/payload.d.ts +13 -2
- package/dist/voting/election/register/0.3/payload.d.ts.map +1 -1
- package/dist/voting/election/register/0.3/payload.js +1 -1
- package/dist/voting/election/register/0.3/payload.js.map +1 -1
- package/dist/voting/election/register/0.4/payload.d.ts +2054 -0
- package/dist/voting/election/register/0.4/payload.d.ts.map +1 -0
- package/dist/voting/election/register/0.4/payload.js +1264 -0
- package/dist/voting/election/register/0.4/payload.js.map +1 -0
- package/dist/voting/election/show/0.1/payload.d.ts +4 -4
- package/dist/voting/election/show/0.1/payload.js +1 -1
- package/dist/voting/election/show/0.2/payload.d.ts +4 -4
- package/dist/voting/election/show/0.2/payload.js +1 -1
- package/dist/voting/election/show/0.3/payload.d.ts +13 -2
- package/dist/voting/election/show/0.3/payload.d.ts.map +1 -1
- package/dist/voting/election/show/0.3/payload.js +1 -1
- package/dist/voting/election/show/0.3/payload.js.map +1 -1
- package/dist/voting/election/show/0.4/payload.d.ts +1958 -0
- package/dist/voting/election/show/0.4/payload.d.ts.map +1 -0
- package/dist/voting/election/show/0.4/payload.js +1210 -0
- package/dist/voting/election/show/0.4/payload.js.map +1 -0
- package/dist/vta/notifications/_shared/0.1/held-notification.d.ts +16 -0
- package/dist/vta/notifications/_shared/0.1/held-notification.d.ts.map +1 -0
- package/dist/vta/notifications/_shared/0.1/held-notification.js +6 -0
- package/dist/vta/notifications/_shared/0.1/held-notification.js.map +1 -0
- package/dist/vta/notifications/dismiss/0.1/payload.d.ts +300 -0
- package/dist/vta/notifications/dismiss/0.1/payload.d.ts.map +1 -0
- package/dist/vta/notifications/dismiss/0.1/payload.js +179 -0
- package/dist/vta/notifications/dismiss/0.1/payload.js.map +1 -0
- package/dist/vta/notifications/list/0.1/payload.d.ts +1100 -0
- package/dist/vta/notifications/list/0.1/payload.d.ts.map +1 -0
- package/dist/vta/notifications/list/0.1/payload.js +627 -0
- package/dist/vta/notifications/list/0.1/payload.js.map +1 -0
- package/dist/vta/notifications/show/0.1/payload.d.ts +1004 -0
- package/dist/vta/notifications/show/0.1/payload.d.ts.map +1 -0
- package/dist/vta/notifications/show/0.1/payload.js +595 -0
- package/dist/vta/notifications/show/0.1/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/deal/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/deal/0.2/payload.js +1 -1
- package/dist/vta/pcs/trustee/deal/0.3/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/deal/0.3/payload.js +1 -1
- package/dist/vta/pcs/trustee/deal/0.4/payload.d.ts +13 -2
- package/dist/vta/pcs/trustee/deal/0.4/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/deal/0.4/payload.js +1 -1
- package/dist/vta/pcs/trustee/deal/0.4/payload.js.map +1 -1
- package/dist/vta/pcs/trustee/deal/0.5/payload.d.ts +1966 -0
- package/dist/vta/pcs/trustee/deal/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/deal/0.5/payload.js +1175 -0
- package/dist/vta/pcs/trustee/deal/0.5/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/enrol/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/enrol/0.1/payload.js +1 -1
- package/dist/vta/pcs/trustee/enrol/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/enrol/0.2/payload.js +1 -1
- package/dist/vta/pcs/trustee/enrol/0.3/payload.d.ts +13 -2
- package/dist/vta/pcs/trustee/enrol/0.3/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/enrol/0.3/payload.js +1 -1
- package/dist/vta/pcs/trustee/enrol/0.3/payload.js.map +1 -1
- package/dist/vta/pcs/trustee/enrol/0.4/payload.d.ts +1890 -0
- package/dist/vta/pcs/trustee/enrol/0.4/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/enrol/0.4/payload.js +1138 -0
- package/dist/vta/pcs/trustee/enrol/0.4/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/justify/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/justify/0.2/payload.js +1 -1
- package/dist/vta/pcs/trustee/justify/0.3/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/justify/0.3/payload.js +1 -1
- package/dist/vta/pcs/trustee/justify/0.4/payload.d.ts +13 -2
- package/dist/vta/pcs/trustee/justify/0.4/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/justify/0.4/payload.js +1 -1
- package/dist/vta/pcs/trustee/justify/0.4/payload.js.map +1 -1
- package/dist/vta/pcs/trustee/justify/0.5/payload.d.ts +2001 -0
- package/dist/vta/pcs/trustee/justify/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/justify/0.5/payload.js +1193 -0
- package/dist/vta/pcs/trustee/justify/0.5/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/keys/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/keys/0.2/payload.js +1 -1
- package/dist/vta/pcs/trustee/keys/0.3/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/keys/0.3/payload.js +1 -1
- package/dist/vta/pcs/trustee/keys/0.4/payload.d.ts +13 -2
- package/dist/vta/pcs/trustee/keys/0.4/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/keys/0.4/payload.js +1 -1
- package/dist/vta/pcs/trustee/keys/0.4/payload.js.map +1 -1
- package/dist/vta/pcs/trustee/keys/0.5/payload.d.ts +2046 -0
- package/dist/vta/pcs/trustee/keys/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/keys/0.5/payload.js +1213 -0
- package/dist/vta/pcs/trustee/keys/0.5/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/read/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/read/0.1/payload.js +1 -1
- package/dist/vta/pcs/trustee/read/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/read/0.2/payload.js +1 -1
- package/dist/vta/pcs/trustee/read/0.3/payload.d.ts +14 -2
- package/dist/vta/pcs/trustee/read/0.3/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/read/0.3/payload.js +1 -1
- package/dist/vta/pcs/trustee/read/0.3/payload.js.map +1 -1
- package/dist/vta/pcs/trustee/read/0.4/payload.d.ts +540 -0
- package/dist/vta/pcs/trustee/read/0.4/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/read/0.4/payload.js +304 -0
- package/dist/vta/pcs/trustee/read/0.4/payload.js.map +1 -0
- package/dist/vta/pcs/vote/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/vote/0.1/payload.js +1 -1
- package/dist/vta/pcs/vote/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/vote/0.2/payload.js +1 -1
- package/dist/vta/pcs/vote/0.3/payload.d.ts +13 -2
- package/dist/vta/pcs/vote/0.3/payload.d.ts.map +1 -1
- package/dist/vta/pcs/vote/0.3/payload.js +1 -1
- package/dist/vta/pcs/vote/0.3/payload.js.map +1 -1
- package/dist/vta/pcs/vote/0.4/payload.d.ts +2342 -0
- package/dist/vta/pcs/vote/0.4/payload.d.ts.map +1 -0
- package/dist/vta/pcs/vote/0.4/payload.js +1380 -0
- package/dist/vta/pcs/vote/0.4/payload.js.map +1 -0
- package/dist/vta/pcs/vote-encrypted/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/vote-encrypted/0.2/payload.js +1 -1
- package/dist/vta/pcs/vote-encrypted/0.3/payload.d.ts +4 -4
- package/dist/vta/pcs/vote-encrypted/0.3/payload.js +1 -1
- package/dist/vta/pcs/vote-encrypted/0.4/payload.d.ts +13 -2
- package/dist/vta/pcs/vote-encrypted/0.4/payload.d.ts.map +1 -1
- package/dist/vta/pcs/vote-encrypted/0.4/payload.js +1 -1
- package/dist/vta/pcs/vote-encrypted/0.4/payload.js.map +1 -1
- package/dist/vta/pcs/vote-encrypted/0.5/payload.d.ts +2362 -0
- package/dist/vta/pcs/vote-encrypted/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/vote-encrypted/0.5/payload.js +1398 -0
- package/dist/vta/pcs/vote-encrypted/0.5/payload.js.map +1 -0
- package/dist/vta/pcs/voter/accept/0.1/payload.d.ts +3 -3
- package/dist/vta/pcs/voter/accept/0.1/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/read/0.1/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/read/0.2/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.3/payload.d.ts +14 -2
- package/dist/vta/pcs/voter/read/0.3/payload.d.ts.map +1 -1
- package/dist/vta/pcs/voter/read/0.3/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.3/payload.js.map +1 -1
- package/dist/vta/pcs/voter/read/0.4/payload.d.ts +515 -0
- package/dist/vta/pcs/voter/read/0.4/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/read/0.4/payload.js +285 -0
- package/dist/vta/pcs/voter/read/0.4/payload.js.map +1 -0
- package/dist/vta/pcs/voter/read/0.5/payload.d.ts +549 -0
- package/dist/vta/pcs/voter/read/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/read/0.5/payload.js +300 -0
- package/dist/vta/pcs/voter/read/0.5/payload.js.map +1 -0
- package/dist/vta/pcs/voter/read/0.6/payload.d.ts +561 -0
- package/dist/vta/pcs/voter/read/0.6/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/read/0.6/payload.js +312 -0
- package/dist/vta/pcs/voter/read/0.6/payload.js.map +1 -0
- package/dist/vta/pcs/voter/register/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/register/0.1/payload.js +1 -1
- package/dist/vta/pcs/voter/register/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/register/0.2/payload.js +1 -1
- package/dist/vta/pcs/voter/register/0.3/payload.d.ts +14 -2
- package/dist/vta/pcs/voter/register/0.3/payload.d.ts.map +1 -1
- package/dist/vta/pcs/voter/register/0.3/payload.js +1 -1
- package/dist/vta/pcs/voter/register/0.3/payload.js.map +1 -1
- package/dist/vta/pcs/voter/register/0.4/payload.d.ts +2324 -0
- package/dist/vta/pcs/voter/register/0.4/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/register/0.4/payload.js +1352 -0
- package/dist/vta/pcs/voter/register/0.4/payload.js.map +1 -0
- package/dist/vta/pcs/voter/register/0.5/payload.d.ts +2312 -0
- package/dist/vta/pcs/voter/register/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/register/0.5/payload.js +1352 -0
- package/dist/vta/pcs/voter/register/0.5/payload.js.map +1 -0
- package/dist/vtc/_shared/0.5/community-room.d.ts +16 -0
- package/dist/vtc/_shared/0.5/community-room.d.ts.map +1 -0
- package/dist/vtc/_shared/0.5/community-room.js +6 -0
- package/dist/vtc/_shared/0.5/community-room.js.map +1 -0
- package/dist/vtc/_shared/0.6/network-membership.d.ts +16 -0
- package/dist/vtc/_shared/0.6/network-membership.d.ts.map +1 -0
- package/dist/vtc/_shared/0.6/network-membership.js +6 -0
- package/dist/vtc/_shared/0.6/network-membership.js.map +1 -0
- package/dist/vtc/elections/create/0.1/payload.d.ts +4 -4
- package/dist/vtc/elections/create/0.1/payload.js +1 -1
- package/dist/vtc/elections/create/0.2/payload.d.ts +4 -4
- package/dist/vtc/elections/create/0.2/payload.js +1 -1
- package/dist/vtc/elections/create/0.3/payload.d.ts +4 -4
- package/dist/vtc/elections/create/0.3/payload.js +1 -1
- package/dist/vtc/elections/create/0.4/payload.d.ts +14 -2
- package/dist/vtc/elections/create/0.4/payload.d.ts.map +1 -1
- package/dist/vtc/elections/create/0.4/payload.js +1 -1
- package/dist/vtc/elections/create/0.4/payload.js.map +1 -1
- package/dist/vtc/elections/create/0.5/payload.d.ts +1790 -0
- package/dist/vtc/elections/create/0.5/payload.d.ts.map +1 -0
- package/dist/vtc/elections/create/0.5/payload.js +1092 -0
- package/dist/vtc/elections/create/0.5/payload.js.map +1 -0
- package/dist/vtc/elections/list/0.1/payload.d.ts +4 -4
- package/dist/vtc/elections/list/0.1/payload.js +1 -1
- package/dist/vtc/elections/list/0.2/payload.d.ts +4 -4
- package/dist/vtc/elections/list/0.2/payload.js +1 -1
- package/dist/vtc/elections/list/0.3/payload.d.ts +14 -2
- package/dist/vtc/elections/list/0.3/payload.d.ts.map +1 -1
- package/dist/vtc/elections/list/0.3/payload.js +1 -1
- package/dist/vtc/elections/list/0.3/payload.js.map +1 -1
- package/dist/vtc/elections/list/0.4/payload.d.ts +547 -0
- package/dist/vtc/elections/list/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/elections/list/0.4/payload.js +304 -0
- package/dist/vtc/elections/list/0.4/payload.js.map +1 -0
- package/dist/vtc/elections/list/0.5/payload.d.ts +535 -0
- package/dist/vtc/elections/list/0.5/payload.d.ts.map +1 -0
- package/dist/vtc/elections/list/0.5/payload.js +304 -0
- package/dist/vtc/elections/list/0.5/payload.js.map +1 -0
- package/dist/vtc/elections/show/0.1/payload.d.ts +4 -4
- package/dist/vtc/elections/show/0.1/payload.js +1 -1
- package/dist/vtc/elections/show/0.2/payload.d.ts +4 -4
- package/dist/vtc/elections/show/0.2/payload.js +1 -1
- package/dist/vtc/elections/show/0.3/payload.d.ts +14 -2
- package/dist/vtc/elections/show/0.3/payload.d.ts.map +1 -1
- package/dist/vtc/elections/show/0.3/payload.js +1 -1
- package/dist/vtc/elections/show/0.3/payload.js.map +1 -1
- package/dist/vtc/elections/show/0.4/payload.d.ts +3290 -0
- package/dist/vtc/elections/show/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/elections/show/0.4/payload.js +1931 -0
- package/dist/vtc/elections/show/0.4/payload.js.map +1 -0
- package/dist/vtc/elections/show/0.5/payload.d.ts +3318 -0
- package/dist/vtc/elections/show/0.5/payload.d.ts.map +1 -0
- package/dist/vtc/elections/show/0.5/payload.js +1946 -0
- package/dist/vtc/elections/show/0.5/payload.js.map +1 -0
- package/dist/vtc/elections/show/0.6/payload.d.ts +3306 -0
- package/dist/vtc/elections/show/0.6/payload.d.ts.map +1 -0
- package/dist/vtc/elections/show/0.6/payload.js +1946 -0
- package/dist/vtc/elections/show/0.6/payload.js.map +1 -0
- package/dist/vtc/elections/tickets/issue/0.1/payload.d.ts +14 -2
- package/dist/vtc/elections/tickets/issue/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/elections/tickets/issue/0.1/payload.js +1 -1
- package/dist/vtc/elections/tickets/issue/0.1/payload.js.map +1 -1
- package/dist/vtc/elections/tickets/issue/0.2/payload.d.ts +651 -0
- package/dist/vtc/elections/tickets/issue/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/elections/tickets/issue/0.2/payload.js +347 -0
- package/dist/vtc/elections/tickets/issue/0.2/payload.js.map +1 -0
- package/dist/vtc/elections/tickets/issue/0.3/payload.d.ts +639 -0
- package/dist/vtc/elections/tickets/issue/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/elections/tickets/issue/0.3/payload.js +347 -0
- package/dist/vtc/elections/tickets/issue/0.3/payload.js.map +1 -0
- package/dist/vtc/networks/evidence/0.1/payload.d.ts +412 -0
- package/dist/vtc/networks/evidence/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/evidence/0.1/payload.js +233 -0
- package/dist/vtc/networks/evidence/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/groups/register/0.1/payload.d.ts +680 -0
- package/dist/vtc/networks/groups/register/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/groups/register/0.1/payload.js +401 -0
- package/dist/vtc/networks/groups/register/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/join/0.1/payload.d.ts +760 -0
- package/dist/vtc/networks/join/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/join/0.1/payload.js +445 -0
- package/dist/vtc/networks/join/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/leave/0.1/payload.d.ts +664 -0
- package/dist/vtc/networks/leave/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/leave/0.1/payload.js +393 -0
- package/dist/vtc/networks/leave/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/list/0.1/payload.d.ts +713 -0
- package/dist/vtc/networks/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/list/0.1/payload.js +417 -0
- package/dist/vtc/networks/list/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/notice/0.1/payload.d.ts +210 -0
- package/dist/vtc/networks/notice/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/notice/0.1/payload.js +116 -0
- package/dist/vtc/networks/notice/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/repudiate/0.1/payload.d.ts +680 -0
- package/dist/vtc/networks/repudiate/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/repudiate/0.1/payload.js +400 -0
- package/dist/vtc/networks/repudiate/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/show/0.1/payload.d.ts +650 -0
- package/dist/vtc/networks/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/show/0.1/payload.js +388 -0
- package/dist/vtc/networks/show/0.1/payload.js.map +1 -0
- package/dist/vtc/rooms/community/archive/0.1/payload.d.ts +1644 -0
- package/dist/vtc/rooms/community/archive/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/archive/0.1/payload.js +940 -0
- package/dist/vtc/rooms/community/archive/0.1/payload.js.map +1 -0
- package/dist/vtc/rooms/community/get/0.1/payload.d.ts +4 -4
- package/dist/vtc/rooms/community/get/0.1/payload.js +1 -1
- package/dist/vtc/rooms/community/get/0.2/payload.d.ts +4 -4
- package/dist/vtc/rooms/community/get/0.2/payload.js +1 -1
- package/dist/vtc/rooms/community/get/0.3/payload.d.ts +13 -2
- package/dist/vtc/rooms/community/get/0.3/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/get/0.3/payload.js +1 -1
- package/dist/vtc/rooms/community/get/0.3/payload.js.map +1 -1
- package/dist/vtc/rooms/community/get/0.4/payload.d.ts +1405 -0
- package/dist/vtc/rooms/community/get/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/get/0.4/payload.js +817 -0
- package/dist/vtc/rooms/community/get/0.4/payload.js.map +1 -0
- package/dist/vtc/rooms/community/list/0.1/payload.d.ts +4 -4
- package/dist/vtc/rooms/community/list/0.1/payload.js +1 -1
- package/dist/vtc/rooms/community/list/0.2/payload.d.ts +4 -4
- package/dist/vtc/rooms/community/list/0.2/payload.js +1 -1
- package/dist/vtc/rooms/community/list/0.3/payload.d.ts +13 -2
- package/dist/vtc/rooms/community/list/0.3/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/list/0.3/payload.js +1 -1
- package/dist/vtc/rooms/community/list/0.3/payload.js.map +1 -1
- package/dist/vtc/rooms/community/list/0.4/payload.d.ts +1505 -0
- package/dist/vtc/rooms/community/list/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/list/0.4/payload.js +854 -0
- package/dist/vtc/rooms/community/list/0.4/payload.js.map +1 -0
- package/dist/vtc/rooms/community/members/add/0.1/payload.d.ts +13 -2
- package/dist/vtc/rooms/community/members/add/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/members/add/0.1/payload.js +1 -1
- package/dist/vtc/rooms/community/members/add/0.1/payload.js.map +1 -1
- package/dist/vtc/rooms/community/members/add/0.2/payload.d.ts +569 -0
- package/dist/vtc/rooms/community/members/add/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/members/add/0.2/payload.js +340 -0
- package/dist/vtc/rooms/community/members/add/0.2/payload.js.map +1 -0
- package/dist/vtc/rooms/community/members/list/0.1/payload.d.ts +13 -2
- package/dist/vtc/rooms/community/members/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/members/list/0.1/payload.js +1 -1
- package/dist/vtc/rooms/community/members/list/0.1/payload.js.map +1 -1
- package/dist/vtc/rooms/community/members/list/0.2/payload.d.ts +588 -0
- package/dist/vtc/rooms/community/members/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/members/list/0.2/payload.js +341 -0
- package/dist/vtc/rooms/community/members/list/0.2/payload.js.map +1 -0
- package/dist/vtc/rooms/community/removal/cancel/0.1/payload.d.ts +1440 -0
- package/dist/vtc/rooms/community/removal/cancel/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/removal/cancel/0.1/payload.js +835 -0
- package/dist/vtc/rooms/community/removal/cancel/0.1/payload.js.map +1 -0
- package/dist/vtc/rooms/community/remove/0.1/payload.d.ts +1604 -0
- package/dist/vtc/rooms/community/remove/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/remove/0.1/payload.js +921 -0
- package/dist/vtc/rooms/community/remove/0.1/payload.js.map +1 -0
- package/dist/vtc/rooms/community/unarchive/0.1/payload.d.ts +1460 -0
- package/dist/vtc/rooms/community/unarchive/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/unarchive/0.1/payload.js +845 -0
- package/dist/vtc/rooms/community/unarchive/0.1/payload.js.map +1 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts +13 -2
- package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/memberships/list/0.1/payload.js +1 -1
- package/dist/vtc/rooms/memberships/list/0.1/payload.js.map +1 -1
- package/dist/vtc/rooms/memberships/list/0.2/payload.d.ts +830 -0
- package/dist/vtc/rooms/memberships/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/memberships/list/0.2/payload.js +498 -0
- package/dist/vtc/rooms/memberships/list/0.2/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_extends.ts +6 -0
- package/src/_shared/components.ts +497 -0
- package/src/index.ts +150 -0
- package/src/notifications/_shared/0.1/notification.ts +23 -0
- package/src/notifications/notify/0.1/payload.ts +420 -0
- package/src/notifications/relay/0.1/payload.ts +220 -0
- package/src/rooms/keys/act/0.1/payload.ts +5 -5
- package/src/rooms/keys/act/0.10/payload.ts +396 -0
- package/src/rooms/keys/act/0.2/payload.ts +5 -5
- package/src/rooms/keys/act/0.3/payload.ts +5 -5
- package/src/rooms/keys/act/0.4/payload.ts +5 -5
- package/src/rooms/keys/act/0.5/payload.ts +5 -5
- package/src/rooms/keys/act/0.6/payload.ts +5 -5
- package/src/rooms/keys/act/0.7/payload.ts +5 -5
- package/src/rooms/keys/act/0.8/payload.ts +5 -5
- package/src/rooms/keys/act/0.9/payload.ts +15 -3
- package/src/voting/_shared/0.4/voting.ts +17 -0
- package/src/voting/election/register/0.1/payload.ts +5 -5
- package/src/voting/election/register/0.2/payload.ts +5 -5
- package/src/voting/election/register/0.3/payload.ts +14 -3
- package/src/voting/election/register/0.4/payload.ts +1307 -0
- package/src/voting/election/show/0.1/payload.ts +5 -5
- package/src/voting/election/show/0.2/payload.ts +5 -5
- package/src/voting/election/show/0.3/payload.ts +14 -3
- package/src/voting/election/show/0.4/payload.ts +1249 -0
- package/src/vta/notifications/_shared/0.1/held-notification.ts +17 -0
- package/src/vta/notifications/dismiss/0.1/payload.ts +214 -0
- package/src/vta/notifications/list/0.1/payload.ts +688 -0
- package/src/vta/notifications/show/0.1/payload.ts +630 -0
- package/src/vta/pcs/trustee/deal/0.2/payload.ts +5 -5
- package/src/vta/pcs/trustee/deal/0.3/payload.ts +5 -5
- package/src/vta/pcs/trustee/deal/0.4/payload.ts +14 -3
- package/src/vta/pcs/trustee/deal/0.5/payload.ts +1248 -0
- package/src/vta/pcs/trustee/enrol/0.1/payload.ts +5 -5
- package/src/vta/pcs/trustee/enrol/0.2/payload.ts +5 -5
- package/src/vta/pcs/trustee/enrol/0.3/payload.ts +14 -3
- package/src/vta/pcs/trustee/enrol/0.4/payload.ts +1207 -0
- package/src/vta/pcs/trustee/justify/0.2/payload.ts +5 -5
- package/src/vta/pcs/trustee/justify/0.3/payload.ts +5 -5
- package/src/vta/pcs/trustee/justify/0.4/payload.ts +14 -3
- package/src/vta/pcs/trustee/justify/0.5/payload.ts +1267 -0
- package/src/vta/pcs/trustee/keys/0.2/payload.ts +5 -5
- package/src/vta/pcs/trustee/keys/0.3/payload.ts +5 -5
- package/src/vta/pcs/trustee/keys/0.4/payload.ts +14 -3
- package/src/vta/pcs/trustee/keys/0.5/payload.ts +1294 -0
- package/src/vta/pcs/trustee/read/0.1/payload.ts +5 -5
- package/src/vta/pcs/trustee/read/0.2/payload.ts +5 -5
- package/src/vta/pcs/trustee/read/0.3/payload.ts +15 -3
- package/src/vta/pcs/trustee/read/0.4/payload.ts +385 -0
- package/src/vta/pcs/vote/0.1/payload.ts +5 -5
- package/src/vta/pcs/vote/0.2/payload.ts +5 -5
- package/src/vta/pcs/vote/0.3/payload.ts +14 -3
- package/src/vta/pcs/vote/0.4/payload.ts +1465 -0
- package/src/vta/pcs/vote-encrypted/0.2/payload.ts +5 -5
- package/src/vta/pcs/vote-encrypted/0.3/payload.ts +5 -5
- package/src/vta/pcs/vote-encrypted/0.4/payload.ts +14 -3
- package/src/vta/pcs/vote-encrypted/0.5/payload.ts +1469 -0
- package/src/vta/pcs/voter/accept/0.1/payload.ts +2 -2
- package/src/vta/pcs/voter/read/0.1/payload.ts +5 -5
- package/src/vta/pcs/voter/read/0.2/payload.ts +5 -5
- package/src/vta/pcs/voter/read/0.3/payload.ts +15 -3
- package/src/vta/pcs/voter/read/0.4/payload.ts +375 -0
- package/src/vta/pcs/voter/read/0.5/payload.ts +394 -0
- package/src/vta/pcs/voter/read/0.6/payload.ts +398 -0
- package/src/vta/pcs/voter/register/0.1/payload.ts +5 -5
- package/src/vta/pcs/voter/register/0.2/payload.ts +5 -5
- package/src/vta/pcs/voter/register/0.3/payload.ts +15 -3
- package/src/vta/pcs/voter/register/0.4/payload.ts +1478 -0
- package/src/vta/pcs/voter/register/0.5/payload.ts +1466 -0
- package/src/vtc/_shared/0.5/community-room.ts +17 -0
- package/src/vtc/_shared/0.6/network-membership.ts +17 -0
- package/src/vtc/elections/create/0.1/payload.ts +5 -5
- package/src/vtc/elections/create/0.2/payload.ts +5 -5
- package/src/vtc/elections/create/0.3/payload.ts +5 -5
- package/src/vtc/elections/create/0.4/payload.ts +15 -3
- package/src/vtc/elections/create/0.5/payload.ts +1141 -0
- package/src/vtc/elections/list/0.1/payload.ts +5 -5
- package/src/vtc/elections/list/0.2/payload.ts +5 -5
- package/src/vtc/elections/list/0.3/payload.ts +15 -3
- package/src/vtc/elections/list/0.4/payload.ts +399 -0
- package/src/vtc/elections/list/0.5/payload.ts +387 -0
- package/src/vtc/elections/show/0.1/payload.ts +5 -5
- package/src/vtc/elections/show/0.2/payload.ts +5 -5
- package/src/vtc/elections/show/0.3/payload.ts +15 -3
- package/src/vtc/elections/show/0.4/payload.ts +2043 -0
- package/src/vtc/elections/show/0.5/payload.ts +2062 -0
- package/src/vtc/elections/show/0.6/payload.ts +2050 -0
- package/src/vtc/elections/tickets/issue/0.1/payload.ts +15 -3
- package/src/vtc/elections/tickets/issue/0.2/payload.ts +441 -0
- package/src/vtc/elections/tickets/issue/0.3/payload.ts +429 -0
- package/src/vtc/networks/evidence/0.1/payload.ts +290 -0
- package/src/vtc/networks/groups/register/0.1/payload.ts +446 -0
- package/src/vtc/networks/join/0.1/payload.ts +492 -0
- package/src/vtc/networks/leave/0.1/payload.ts +434 -0
- package/src/vtc/networks/list/0.1/payload.ts +463 -0
- package/src/vtc/networks/notice/0.1/payload.ts +172 -0
- package/src/vtc/networks/repudiate/0.1/payload.ts +445 -0
- package/src/vtc/networks/show/0.1/payload.ts +425 -0
- package/src/vtc/rooms/community/archive/0.1/payload.ts +995 -0
- package/src/vtc/rooms/community/get/0.1/payload.ts +5 -5
- package/src/vtc/rooms/community/get/0.2/payload.ts +5 -5
- package/src/vtc/rooms/community/get/0.3/payload.ts +14 -3
- package/src/vtc/rooms/community/get/0.4/payload.ts +851 -0
- package/src/vtc/rooms/community/list/0.1/payload.ts +5 -5
- package/src/vtc/rooms/community/list/0.2/payload.ts +5 -5
- package/src/vtc/rooms/community/list/0.3/payload.ts +14 -3
- package/src/vtc/rooms/community/list/0.4/payload.ts +915 -0
- package/src/vtc/rooms/community/members/add/0.1/payload.ts +14 -3
- package/src/vtc/rooms/community/members/add/0.2/payload.ts +384 -0
- package/src/vtc/rooms/community/members/list/0.1/payload.ts +14 -3
- package/src/vtc/rooms/community/members/list/0.2/payload.ts +394 -0
- package/src/vtc/rooms/community/removal/cancel/0.1/payload.ts +870 -0
- package/src/vtc/rooms/community/remove/0.1/payload.ts +968 -0
- package/src/vtc/rooms/community/unarchive/0.1/payload.ts +884 -0
- package/src/vtc/rooms/memberships/list/0.1/payload.ts +14 -3
- package/src/vtc/rooms/memberships/list/0.2/payload.ts +543 -0
|
@@ -357,6 +357,10 @@ export type ApproverDid = string;
|
|
|
357
357
|
* A human-readable name for where the approver lives — e.g. `Browser plugin — work laptop`. Chosen by the subject (or suggested by an inviter), untrusted, and attributed to its author wherever it is rendered. Absent rather than invented when none was chosen.
|
|
358
358
|
*/
|
|
359
359
|
export type ApproverLabel = string;
|
|
360
|
+
/**
|
|
361
|
+
* What an archived room's members may still do. `readOnly`: their credentials stand and they keep reading what the room holds; the room's host refuses every write, upload and curation from a member. `noAccess`: every credential the room issued before the archival is withdrawn at its host — a room reset — so the host refuses every member's every task; the content is kept intact, and each withdrawn admission is `suspended`, restored when the room is unarchived or made `readOnly`. Neither recalls what a member already read or saved, and on a sealed tier neither removes anyone from the room's group.
|
|
362
|
+
*/
|
|
363
|
+
export type ArchiveAccess = "readOnly" | "noAccess";
|
|
360
364
|
/**
|
|
361
365
|
* The metadata of one attestation: what a Vetting Statement would have said, minus its issuer, as vetting/attestation/0.1 defines it.
|
|
362
366
|
*/
|
|
@@ -473,6 +477,10 @@ export type ConsumerKind_DeviceV0_1 = Companion_DeviceV0_1 | Service_DeviceV0_1;
|
|
|
473
477
|
* Discriminator: is this consumer a user-driven Companion or a headless Service?
|
|
474
478
|
*/
|
|
475
479
|
export type ConsumerKind_DeviceV0_2 = Companion_DeviceV0_2 | Service_DeviceV0_2;
|
|
480
|
+
/**
|
|
481
|
+
* The trust context the notification is held in: the one the addressed DID belongs to.
|
|
482
|
+
*/
|
|
483
|
+
export type ContextId = string;
|
|
476
484
|
/**
|
|
477
485
|
* Opaque identifier of one of the maintainer's contexts, compared by the maintainer's own ancestry predicate. Its grammar is the maintainer's.
|
|
478
486
|
*/
|
|
@@ -564,6 +572,10 @@ export type Did_GitNsV0_1 = string;
|
|
|
564
572
|
* A bare DID in the W3C DID Core syntax (§3.1): `did:`, a method name of lowercase letters and digits, `:`, and a method-specific id of colon-separated segments drawn from `A-Z a-z 0-9 . - _` and percent-encoded octets, the last segment non-empty. A DID URL is not a DID: no path, query or fragment (`/`, `?`, `#`), so a verification-method id such as `did:key:z6Mk…#z6Mk…` is refused. Compared by exact string equality — no case folding or percent-decoding. A consumer MUST still treat the value as data: the pattern keeps shell metacharacters, whitespace and quotes out of the wire form, but it does not make a DID safe to splice into a command or markup.
|
|
565
573
|
*/
|
|
566
574
|
export type Did_GitNsV0_3 = string;
|
|
575
|
+
/**
|
|
576
|
+
* A DID.
|
|
577
|
+
*/
|
|
578
|
+
export type Did_NotificationsV0_1 = string;
|
|
567
579
|
/**
|
|
568
580
|
* 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.
|
|
569
581
|
*
|
|
@@ -896,6 +908,10 @@ export type Key_VtaV0_1 = string;
|
|
|
896
908
|
* The interaction kind: a 1:1 direct message, a multi-party group, or a broadcast channel.
|
|
897
909
|
*/
|
|
898
910
|
export type Kind = "dm" | "group" | "channel";
|
|
911
|
+
/**
|
|
912
|
+
* 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
|
+
*/
|
|
914
|
+
export type Kind_NotificationsV0_1 = string;
|
|
899
915
|
/**
|
|
900
916
|
* A BCP 47 language tag, e.g. `en`, `de-AT`. Compared case-insensitively.
|
|
901
917
|
*/
|
|
@@ -954,6 +970,10 @@ export type MemberActions = [MemberAction] | [MemberAction, MemberAction] | [Mem
|
|
|
954
970
|
* Where an admission stands. `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. `removed`: an administrator removed them; on a sealed tier the room has advanced past them.
|
|
955
971
|
*/
|
|
956
972
|
export type MemberState = "offered" | "admitted" | "removed";
|
|
973
|
+
/**
|
|
974
|
+
* `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
|
+
*/
|
|
976
|
+
export type MemberStateV2 = "offered" | "admitted" | "suspended" | "removed";
|
|
957
977
|
/**
|
|
958
978
|
* 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.
|
|
959
979
|
*/
|
|
@@ -1004,6 +1024,10 @@ export type NoteId = string;
|
|
|
1004
1024
|
* The note, as plain text. Read only by holders of `vtc.directory.notes`. A reader MUST NOT treat it as instructions.
|
|
1005
1025
|
*/
|
|
1006
1026
|
export type NoteText = string;
|
|
1027
|
+
/**
|
|
1028
|
+
* The originator's identifier for one notification, unique among the notifications that originator issues and the same in every document that carries it — retries, re-issued documents and relayed copies alike. It is the notification's idempotency key (VTI-NTF-021). Compared for equality only. An originator SHOULD make it unguessable and SHOULD NOT make it descriptive: it travels as far as the notification does.
|
|
1029
|
+
*/
|
|
1030
|
+
export type NotificationId = string;
|
|
1007
1031
|
/**
|
|
1008
1032
|
* A key prefix inside the bucket, ending in `/`, under which the config's `rooms/` tree is placed. Restricted to the S3 safe-character set so that it can be placed in a downscoped policy without escaping.
|
|
1009
1033
|
*/
|
|
@@ -1356,6 +1380,10 @@ export type RecordEvidence = RecordEvidenceRecord | RecordEvidenceCredential;
|
|
|
1356
1380
|
* @maxItems 32
|
|
1357
1381
|
*/
|
|
1358
1382
|
export type RecordEvidenceList = [RecordEvidence, ...RecordEvidence[]];
|
|
1383
|
+
/**
|
|
1384
|
+
* 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
|
+
*/
|
|
1386
|
+
export type RecordId = string;
|
|
1359
1387
|
/**
|
|
1360
1388
|
* 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.
|
|
1361
1389
|
*
|
|
@@ -1486,6 +1514,10 @@ export type RoomDescription = string;
|
|
|
1486
1514
|
* A name for the room, chosen by an administrator: shown to administrators and to the members a room is offered to. 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 `name` 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. MUST NOT carry personal data.
|
|
1487
1515
|
*/
|
|
1488
1516
|
export type RoomLabel = string;
|
|
1517
|
+
/**
|
|
1518
|
+
* Where a room the community owns stands in its owner's lifecycle — distinct from `HostedRoom.lifecycle`, which is the host's clock (`live`, `lapsed`, `dormant`, `reclaimable`) and is computed from the room's epoch, never set. `active`: open to change. `archived`: closed to change by an administrator — no admissions, and the room's host accepts no writes from its members; what members may still do is `ArchiveAccess`. Reversible with vtc/rooms/community/unarchive. `removalScheduled`: an administrator removed the room with a grace period; it admits nobody and its content is kept until `purgeAt`, and vtc/rooms/community/removal/cancel returns it to `archived`. `purging`: the grace period ended (or there was none) and the community is deleting the room's content from its host and storage; not reversible. `removed`: the content is gone; the community keeps only this record of the room, for its history.
|
|
1519
|
+
*/
|
|
1520
|
+
export type RoomState = "active" | "archived" | "removalScheduled" | "purging" | "removed";
|
|
1489
1521
|
/**
|
|
1490
1522
|
* A short identifier an administrator files a community-owned room under — `board`, `working-group`, `finance` — so the room list can be filtered. Lower-case letters, digits and hyphens, starting with a letter or digit. Owner-side tracking metadata for holders of `vtc.rooms.manage` only: never shown to members, never sent on the room's host path, and it confers nothing.
|
|
1491
1523
|
*/
|
|
@@ -1677,6 +1709,14 @@ export type SiteTarget_VaultV0_2 = WebOrigin_VaultV0_2 | Did_VaultV0_2 | IosApp_
|
|
|
1677
1709
|
* Other values are the holder's or the producer's own and carry no meaning a maintainer interprets.
|
|
1678
1710
|
*/
|
|
1679
1711
|
export type Slot = string;
|
|
1712
|
+
/**
|
|
1713
|
+
* The principal's disposition of a held notification: `active`, or `dismissed` by vta/notifications/dismiss. Dismissal is the principal's alone and changes nothing outside the VTA (VTI-NTF-052).
|
|
1714
|
+
*/
|
|
1715
|
+
export type State = "active" | "dismissed";
|
|
1716
|
+
/**
|
|
1717
|
+
* Whether the thing is still open to the audience: `available`, or `withdrawn` — cancelled by its holder, or no longer open to the audience — in which case the recipient keeps the record only to show that it was withdrawn (VTI-NTF-024).
|
|
1718
|
+
*/
|
|
1719
|
+
export type Status = "available" | "withdrawn";
|
|
1680
1720
|
/**
|
|
1681
1721
|
* How the community authenticates to a config's backend. Absent on a `local` config, which needs none.
|
|
1682
1722
|
*
|
|
@@ -6059,6 +6099,54 @@ export interface CommunityRoomV2_VtcV0_3 {
|
|
|
6059
6099
|
*/
|
|
6060
6100
|
detailsUpdatedBy?: string;
|
|
6061
6101
|
}
|
|
6102
|
+
/**
|
|
6103
|
+
* What vtc/rooms/community/{get,list}/0.4 and vtc/rooms/community/{archive,unarchive,remove,removal/cancel}/0.1 return: `CommunityRoomV2` plus the room's `status` in its owner's lifecycle and the count of `suspended` admissions. A separate definition, not a change to `CommunityRoomV2`, so that the versions returning that keep the exact shape they published. For a room in state `purging` or `removed`, whose host record a purge deletes, `room` is the host record as it last stood before the purge began — the community keeps that snapshot with the room's record when the purge starts — and its `lifecycle` is what was computed then.
|
|
6104
|
+
*/
|
|
6105
|
+
export interface CommunityRoomV3 {
|
|
6106
|
+
room: HostedRoom_VtcV0_3;
|
|
6107
|
+
label: RoomLabel;
|
|
6108
|
+
status: RoomStatus;
|
|
6109
|
+
/**
|
|
6110
|
+
* Absent when the room has none.
|
|
6111
|
+
*/
|
|
6112
|
+
description?: RoomDescription;
|
|
6113
|
+
/**
|
|
6114
|
+
* Absent or empty when the room has none.
|
|
6115
|
+
*/
|
|
6116
|
+
tags?: RoomTags;
|
|
6117
|
+
/**
|
|
6118
|
+
* The storage config receiving the room's new uploads.
|
|
6119
|
+
*/
|
|
6120
|
+
storageConfig?: StorageConfigId;
|
|
6121
|
+
/**
|
|
6122
|
+
* Members in state `admitted`.
|
|
6123
|
+
*/
|
|
6124
|
+
admitted: number;
|
|
6125
|
+
/**
|
|
6126
|
+
* Offers not yet accepted or withdrawn.
|
|
6127
|
+
*/
|
|
6128
|
+
offered: number;
|
|
6129
|
+
/**
|
|
6130
|
+
* Admissions in state `suspended`: withdrawn while the room was archived with `noAccess`, and restored when it leaves that state. Absent when zero.
|
|
6131
|
+
*/
|
|
6132
|
+
suspended?: number;
|
|
6133
|
+
/**
|
|
6134
|
+
* When the community's own `admin` authority over the room expires. A room whose owner's authority lapses can no longer advance its epoch, admit or remove; a community SHOULD renew it well before.
|
|
6135
|
+
*/
|
|
6136
|
+
ownerAuthorityValidUntil?: string;
|
|
6137
|
+
/**
|
|
6138
|
+
* The administrator who created it.
|
|
6139
|
+
*/
|
|
6140
|
+
createdBy?: string;
|
|
6141
|
+
/**
|
|
6142
|
+
* When `label`, `description` or `tags` last changed. Absent until the first change after creation. Distinct from `room.updatedAt`, which is the host record's and moves with the room's epoch and lifecycle.
|
|
6143
|
+
*/
|
|
6144
|
+
detailsUpdatedAt?: string;
|
|
6145
|
+
/**
|
|
6146
|
+
* The administrator who made that change. Present exactly when `detailsUpdatedAt` is. The earlier values and who set them are in the community's audit trail, not here.
|
|
6147
|
+
*/
|
|
6148
|
+
detailsUpdatedBy?: string;
|
|
6149
|
+
}
|
|
6062
6150
|
/**
|
|
6063
6151
|
* A community's portable configuration: its profile plus the configuration overrides a maintainer stores for itself. Deliberately excludes per-host layers (environment variables, on-disk config files) — those describe where a maintainer runs, not what the community is, and carrying them would make an import overwrite the target host's own deployment settings.
|
|
6064
6152
|
*
|
|
@@ -7366,6 +7454,32 @@ export interface Disclosure {
|
|
|
7366
7454
|
*/
|
|
7367
7455
|
coercionResistance: false;
|
|
7368
7456
|
}
|
|
7457
|
+
/**
|
|
7458
|
+
* The statement a community publishes, and shows a member before they request a ticket, about how one election is run (VTI-VOT-090). Generated from the election's manifest and the community's configuration, never written by hand. Under a `credential` roll it also says whose membership credential counts (`rollCredential`).
|
|
7459
|
+
*/
|
|
7460
|
+
export interface Disclosure_VotingV0_4 {
|
|
7461
|
+
/**
|
|
7462
|
+
* The ballot box's DID.
|
|
7463
|
+
*/
|
|
7464
|
+
ballotBox: string;
|
|
7465
|
+
/**
|
|
7466
|
+
* Who operates the ballot box, as the community names them.
|
|
7467
|
+
*/
|
|
7468
|
+
ballotBoxOperator: string;
|
|
7469
|
+
/**
|
|
7470
|
+
* Whether the party operating the community's VTC also operates the ballot box.
|
|
7471
|
+
*/
|
|
7472
|
+
sameOperator: boolean;
|
|
7473
|
+
trustees?: Trustees;
|
|
7474
|
+
boardVisibility: BoardVisibility;
|
|
7475
|
+
auditors: string[];
|
|
7476
|
+
revote: Revote;
|
|
7477
|
+
rollCredential?: RollCredentialDisclosure;
|
|
7478
|
+
/**
|
|
7479
|
+
* Always false: a voter can prove how they voted, so the community cannot protect a member against being made to vote a certain way.
|
|
7480
|
+
*/
|
|
7481
|
+
coercionResistance: false;
|
|
7482
|
+
}
|
|
7369
7483
|
/**
|
|
7370
7484
|
* The member's three discoverability decisions, made separately.
|
|
7371
7485
|
*/
|
|
@@ -8373,6 +8487,40 @@ export interface GroupMember {
|
|
|
8373
8487
|
*/
|
|
8374
8488
|
credentialValidUntil?: string;
|
|
8375
8489
|
}
|
|
8490
|
+
/**
|
|
8491
|
+
* One notification the VTA holds, as a client with standing in its context sees it. `originator` and every entry of `relayedBy` were verified by the VTA when it accepted the notification (VTI-NTF-042); a client that does not take the VTA's word for them reads the document with vta/notifications/show and verifies it itself.
|
|
8492
|
+
*/
|
|
8493
|
+
export interface HeldNotification {
|
|
8494
|
+
recordId: RecordId;
|
|
8495
|
+
contextId: ContextId;
|
|
8496
|
+
/**
|
|
8497
|
+
* The principal's DID the notification, or the relay that delivered it, was addressed to.
|
|
8498
|
+
*/
|
|
8499
|
+
addressee: Did_NotificationsV0_1;
|
|
8500
|
+
/**
|
|
8501
|
+
* The issuer of the notifications/notify document: who said the thing exists.
|
|
8502
|
+
*/
|
|
8503
|
+
originator: Did_NotificationsV0_1;
|
|
8504
|
+
/**
|
|
8505
|
+
* The relayers the held revision passed through, in the order they relayed it: the first is the notification's own addressee, the last the relayer that delivered it to `addressee`. Empty for a notification the originator sent to `addressee` directly. The acceptance policy counted the last one (VTI-NTF-031).
|
|
8506
|
+
*
|
|
8507
|
+
* @maxItems 4
|
|
8508
|
+
*/
|
|
8509
|
+
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];
|
|
8510
|
+
/**
|
|
8511
|
+
* The notification's members at the revision held.
|
|
8512
|
+
*/
|
|
8513
|
+
notification: Notification;
|
|
8514
|
+
state: State;
|
|
8515
|
+
/**
|
|
8516
|
+
* When the VTA accepted the revision held.
|
|
8517
|
+
*/
|
|
8518
|
+
receivedAt: string;
|
|
8519
|
+
/**
|
|
8520
|
+
* When the principal dismissed it. Present exactly when `state` is `dismissed`.
|
|
8521
|
+
*/
|
|
8522
|
+
dismissedAt?: string;
|
|
8523
|
+
}
|
|
8376
8524
|
/**
|
|
8377
8525
|
* The applicant's proof that distinct eligible vetters of the community vetted it, as a join submission carries it under `extensions.hiddenVetting`. Built by vta/pcs/prove, verified by the community.
|
|
8378
8526
|
*/
|
|
@@ -9290,6 +9438,51 @@ export interface Manifest_VotingV0_3 {
|
|
|
9290
9438
|
*/
|
|
9291
9439
|
textReleaseThreshold: number;
|
|
9292
9440
|
}
|
|
9441
|
+
/**
|
|
9442
|
+
* What an election asks and how it is decided (VTI-VOT-010). Its digest (`manifestDigest`) is the SHA-256 multihash of its RFC 8785 (JCS) canonicalization, and every cast is bound to it (VTI-VOT-011).
|
|
9443
|
+
*/
|
|
9444
|
+
export interface Manifest_VotingV0_4 {
|
|
9445
|
+
electionId: ElectionId;
|
|
9446
|
+
/**
|
|
9447
|
+
* The community's DID.
|
|
9448
|
+
*/
|
|
9449
|
+
community: string;
|
|
9450
|
+
title?: string;
|
|
9451
|
+
description?: string;
|
|
9452
|
+
/**
|
|
9453
|
+
* @minItems 1
|
|
9454
|
+
* @maxItems 128
|
|
9455
|
+
*/
|
|
9456
|
+
questions: [Question, ...Question[]];
|
|
9457
|
+
secrecy: SecrecyLevel;
|
|
9458
|
+
roll: RollRule_VotingV0_4;
|
|
9459
|
+
registrationOpensAt: string;
|
|
9460
|
+
votingOpensAt: string;
|
|
9461
|
+
votingClosesAt: string;
|
|
9462
|
+
revote: Revote;
|
|
9463
|
+
board: {
|
|
9464
|
+
visibility: BoardVisibility;
|
|
9465
|
+
auditors: string[];
|
|
9466
|
+
};
|
|
9467
|
+
/**
|
|
9468
|
+
* The DID of the voting service that holds the board.
|
|
9469
|
+
*/
|
|
9470
|
+
ballotBox: string;
|
|
9471
|
+
trustees?: Trustees;
|
|
9472
|
+
/**
|
|
9473
|
+
* Whether the community treats the result as deciding something; creating a binding election takes another administrator's consent (VTI-VOT-081).
|
|
9474
|
+
*/
|
|
9475
|
+
binding: boolean;
|
|
9476
|
+
allowEarlyClose: boolean;
|
|
9477
|
+
/**
|
|
9478
|
+
* Open elections only: whether running totals may be read while voting is open (VTI-VOT-061).
|
|
9479
|
+
*/
|
|
9480
|
+
resultsBeforeClose: boolean;
|
|
9481
|
+
/**
|
|
9482
|
+
* Counted ballots required before any text answer is disclosed (VTI-VOT-065). At least 1, and SHOULD be at least 10: a written answer can identify its author by what it says or how it is phrased, and the fewer the ballots released together, the easier that is. Where it is below 10, the disclosure a member is shown before they request a ticket MUST say so, and MUST say that a written answer may identify its author (VTI-VOT-090).
|
|
9483
|
+
*/
|
|
9484
|
+
textReleaseThreshold: number;
|
|
9485
|
+
}
|
|
9293
9486
|
/**
|
|
9294
9487
|
* The mediator's per-account access-control capability set, expressed as named booleans (the transport-agnostic form of the mediator's internal capability flags). On a set request, members omitted are left unchanged; a get/response carries the full realized set.
|
|
9295
9488
|
*/
|
|
@@ -9719,6 +9912,46 @@ export interface MonitorFilter {
|
|
|
9719
9912
|
*/
|
|
9720
9913
|
failuresOnly?: boolean;
|
|
9721
9914
|
}
|
|
9915
|
+
export interface NetworkMembership {
|
|
9916
|
+
/**
|
|
9917
|
+
* The network's DID.
|
|
9918
|
+
*/
|
|
9919
|
+
network: string;
|
|
9920
|
+
/**
|
|
9921
|
+
* Where the network's API is reached: the base its `/.well-known/vtn` profile is served under.
|
|
9922
|
+
*/
|
|
9923
|
+
url: string;
|
|
9924
|
+
/**
|
|
9925
|
+
* The network's name, as its profile gives it.
|
|
9926
|
+
*/
|
|
9927
|
+
name?: string;
|
|
9928
|
+
/**
|
|
9929
|
+
* `acknowledged`: the community is a member — it signed the acknowledgement of the network's grant. `repudiated`: the community rejected the network's listing of it. `departed`: the community left, by repudiating the grant.
|
|
9930
|
+
*/
|
|
9931
|
+
state: "acknowledged" | "repudiated" | "departed";
|
|
9932
|
+
/**
|
|
9933
|
+
* The network's listing credential naming the community, as the community verified it.
|
|
9934
|
+
*/
|
|
9935
|
+
listing: {};
|
|
9936
|
+
/**
|
|
9937
|
+
* The network's membership grant (VMC), once the community acknowledged.
|
|
9938
|
+
*/
|
|
9939
|
+
grant?: {};
|
|
9940
|
+
/**
|
|
9941
|
+
* The community's acknowledgement (VMC carrying the grant's digest).
|
|
9942
|
+
*/
|
|
9943
|
+
acknowledgement?: {};
|
|
9944
|
+
/**
|
|
9945
|
+
* The community's repudiation (VSC) of the listing, or — on departure — of the grant.
|
|
9946
|
+
*/
|
|
9947
|
+
repudiation?: {};
|
|
9948
|
+
/**
|
|
9949
|
+
* @maxItems 64
|
|
9950
|
+
*/
|
|
9951
|
+
groups: RegisteredGroup[];
|
|
9952
|
+
joinedAt?: string;
|
|
9953
|
+
updatedAt: string;
|
|
9954
|
+
}
|
|
9722
9955
|
/**
|
|
9723
9956
|
* The discoverability a card has when the community creates it, before its member chooses. A new card is never published beyond the community (VTI-DIR-042), so there is no member for that here: `externalCards` says whether the member may turn it on.
|
|
9724
9957
|
*/
|
|
@@ -9736,6 +9969,35 @@ export interface NewCardDefaults {
|
|
|
9736
9969
|
*/
|
|
9737
9970
|
introductions?: Introductions;
|
|
9738
9971
|
}
|
|
9972
|
+
/**
|
|
9973
|
+
* 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
|
+
*/
|
|
9975
|
+
export interface Notification {
|
|
9976
|
+
notificationId: NotificationId;
|
|
9977
|
+
/**
|
|
9978
|
+
* The revision of this notification. A recipient replaces the record it holds with a higher revision and leaves it unchanged for an equal or lower one (VTI-NTF-022). The first revision is 1.
|
|
9979
|
+
*/
|
|
9980
|
+
revision: number;
|
|
9981
|
+
kind: Kind_NotificationsV0_1;
|
|
9982
|
+
subject: Subject;
|
|
9983
|
+
/**
|
|
9984
|
+
* The DID whose holders or members the thing concerns — for an election under a credential roll, the DID the roll names (`roll.memberOf`); otherwise the community's own. It says whom the thing is for, not that the recipient is one of them: a recipient may be the audience itself, or a party the audience relayed the notification to.
|
|
9985
|
+
*/
|
|
9986
|
+
audience: Did_NotificationsV0_1;
|
|
9987
|
+
status: Status;
|
|
9988
|
+
/**
|
|
9989
|
+
* Whether the addressee may relay this notification to the parties it stands for (notifications/relay). The originator states it explicitly; an addressee MUST NOT relay a notification whose `relayable` is false, or whose kind may not be relayed (VTI-NTF-041).
|
|
9990
|
+
*/
|
|
9991
|
+
relayable: boolean;
|
|
9992
|
+
/**
|
|
9993
|
+
* When the thing can first be acted on — for an election, when voting opens. Absent: it can be acted on now.
|
|
9994
|
+
*/
|
|
9995
|
+
validFrom?: string;
|
|
9996
|
+
/**
|
|
9997
|
+
* When the thing can no longer be acted on, and the notification lapses — for an election, when voting closes. A recipient discards a notification received after it (VTI-NTF-032). Absent: the kind's definition says when it lapses.
|
|
9998
|
+
*/
|
|
9999
|
+
validUntil?: string;
|
|
10000
|
+
}
|
|
9739
10001
|
/**
|
|
9740
10002
|
* A community's offer of admission to a room it owns, as the member it is addressed to sees it.
|
|
9741
10003
|
*/
|
|
@@ -9879,6 +10141,24 @@ export interface PeerDepth {
|
|
|
9879
10141
|
bytes: number;
|
|
9880
10142
|
oldestAgeSeconds?: number;
|
|
9881
10143
|
}
|
|
10144
|
+
/**
|
|
10145
|
+
* A change of state the community began and has not finished, because a step at its VTA did not complete — most often a room reset the host accepted, after which the community's own credentials must be re-issued before it can act on the room again. `RoomStatus.state` stays what it was until the change finishes, but what the room's host enforces may already be the new state's: a pending move to `noAccess` means members' credentials may already be refused. The community finishes it by itself, retrying with backoff, and repeating the request that began it finishes it too; nothing else changes the room until it is finished.
|
|
10146
|
+
*/
|
|
10147
|
+
export interface PendingChange {
|
|
10148
|
+
/**
|
|
10149
|
+
* The state the change leads to.
|
|
10150
|
+
*/
|
|
10151
|
+
state: RoomState;
|
|
10152
|
+
/**
|
|
10153
|
+
* The access it leads to, where `state` has one.
|
|
10154
|
+
*/
|
|
10155
|
+
access?: ArchiveAccess;
|
|
10156
|
+
beganAt: string;
|
|
10157
|
+
/**
|
|
10158
|
+
* What stopped the last attempt, for an administrator. Plain text; it names no member and carries no credential.
|
|
10159
|
+
*/
|
|
10160
|
+
lastError?: string;
|
|
10161
|
+
}
|
|
9882
10162
|
/**
|
|
9883
10163
|
* What the author permits the record to be used for — for example, that a learner's record is for instructional personalisation only. OPTIONAL; absent means the author stated no limit beyond the room's own terms.
|
|
9884
10164
|
*
|
|
@@ -10380,6 +10660,24 @@ export interface PublishedEvent {
|
|
|
10380
10660
|
groupFloor: number;
|
|
10381
10661
|
tiers: Tier[];
|
|
10382
10662
|
}
|
|
10663
|
+
/**
|
|
10664
|
+
* How a purge is going. A purge deletes at the room's host and at each storage config holding its files, and some of those are remote; a step that fails is retried with backoff until it succeeds, and nothing is reported removed until every step has.
|
|
10665
|
+
*/
|
|
10666
|
+
export interface PurgeProgress {
|
|
10667
|
+
/**
|
|
10668
|
+
* Passes made so far; 0 until the first.
|
|
10669
|
+
*/
|
|
10670
|
+
attempts: number;
|
|
10671
|
+
lastAttemptAt?: string;
|
|
10672
|
+
/**
|
|
10673
|
+
* When the next pass is due. Absent while one runs.
|
|
10674
|
+
*/
|
|
10675
|
+
nextAttemptAt?: string;
|
|
10676
|
+
/**
|
|
10677
|
+
* What stopped the last pass, for an administrator. Present only after a pass failed. Plain text, written by the community; it names no member and carries no credential.
|
|
10678
|
+
*/
|
|
10679
|
+
lastError?: string;
|
|
10680
|
+
}
|
|
10383
10681
|
export interface Apns {
|
|
10384
10682
|
platform: "apns";
|
|
10385
10683
|
/**
|
|
@@ -10873,6 +11171,33 @@ export interface RegisteredCredential {
|
|
|
10873
11171
|
*/
|
|
10874
11172
|
lastUsedAt?: string;
|
|
10875
11173
|
}
|
|
11174
|
+
export interface RegisteredGroup {
|
|
11175
|
+
/**
|
|
11176
|
+
* A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.
|
|
11177
|
+
*/
|
|
11178
|
+
role: string;
|
|
11179
|
+
/**
|
|
11180
|
+
* The community's identifier for the group.
|
|
11181
|
+
*/
|
|
11182
|
+
groupId: string;
|
|
11183
|
+
/**
|
|
11184
|
+
* The group's own DID, which the registration names as its subject.
|
|
11185
|
+
*/
|
|
11186
|
+
groupDid: string;
|
|
11187
|
+
/**
|
|
11188
|
+
* Where the network delivers broadcasts for the group: the community's relay endpoint for it.
|
|
11189
|
+
*/
|
|
11190
|
+
endpoint: string;
|
|
11191
|
+
/**
|
|
11192
|
+
* The community's `servesRole` statement (VSC): the group serves `role` in the network.
|
|
11193
|
+
*/
|
|
11194
|
+
registration: {};
|
|
11195
|
+
/**
|
|
11196
|
+
* The network's `groupRegistered` statement (VSC), bound to the registration's digest.
|
|
11197
|
+
*/
|
|
11198
|
+
acceptance: {};
|
|
11199
|
+
registeredAt: string;
|
|
11200
|
+
}
|
|
10876
11201
|
/**
|
|
10877
11202
|
* 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.
|
|
10878
11203
|
*/
|
|
@@ -11312,6 +11637,16 @@ export interface RightRecord_GitNsV0_6 {
|
|
|
11312
11637
|
*/
|
|
11313
11638
|
breakGlass?: BreakGlass_GitNsV0_6;
|
|
11314
11639
|
}
|
|
11640
|
+
export interface RoleAssignment {
|
|
11641
|
+
/**
|
|
11642
|
+
* A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.
|
|
11643
|
+
*/
|
|
11644
|
+
role: string;
|
|
11645
|
+
/**
|
|
11646
|
+
* The community group to serve the role.
|
|
11647
|
+
*/
|
|
11648
|
+
groupId: string;
|
|
11649
|
+
}
|
|
11315
11650
|
/**
|
|
11316
11651
|
* A grant set by reference: the capability ceiling of a defined role, conferred as resource grants exactly as a `grants` binding confers its list. It never assigns the role itself — an entry's administrative role and its community role stay direct assignments.
|
|
11317
11652
|
*/
|
|
@@ -11477,6 +11812,27 @@ export interface RoleSummary {
|
|
|
11477
11812
|
*/
|
|
11478
11813
|
preRotationCommitments?: number;
|
|
11479
11814
|
}
|
|
11815
|
+
/**
|
|
11816
|
+
* Under a `credential` roll, whose membership credential admits a party to a ticket, as a member is shown it before they claim one (VTI-VOT-090): the DID the roll names, what kind of party it is to this community, and its name as the community knows it. Present in a disclosure exactly when the election's roll rule is `credential`.
|
|
11817
|
+
*/
|
|
11818
|
+
export interface RollCredentialDisclosure {
|
|
11819
|
+
/**
|
|
11820
|
+
* The manifest's `roll.memberOf`.
|
|
11821
|
+
*/
|
|
11822
|
+
memberOf: string;
|
|
11823
|
+
/**
|
|
11824
|
+
* `thisCommunity`: the community itself. `communityGroup`: one of the community's own groups, whose membership credentials it authorizes the group to issue (VTI-DIR-083). `memberParty`: a party outside the community that is itself an active member of it — another community, a group of another community, or a network — whose own membership credentials admit their holders (VTI-VOT-026).
|
|
11825
|
+
*/
|
|
11826
|
+
memberOfKind: "thisCommunity" | "communityGroup" | "memberParty";
|
|
11827
|
+
/**
|
|
11828
|
+
* The name the community shows for the party `memberOf` names: the group's name, or the member party's name as the community's records hold it. Absent where showing it would disclose more than the group's visibility admits (VTI-DIR-070).
|
|
11829
|
+
*/
|
|
11830
|
+
memberOfName?: string;
|
|
11831
|
+
/**
|
|
11832
|
+
* Always true: claiming a ticket shows the community the presenter's membership credential for `memberOf`, so the community learns that the presenter is a member of that party.
|
|
11833
|
+
*/
|
|
11834
|
+
presenterDisclosed?: true;
|
|
11835
|
+
}
|
|
11480
11836
|
/**
|
|
11481
11837
|
* Who may be issued a ticket (VTI-VOT-021): the community's active members, its active members and the parties `listed` names, or only the parties `listed` names.
|
|
11482
11838
|
*/
|
|
@@ -11484,6 +11840,17 @@ export interface RollRule {
|
|
|
11484
11840
|
rule: "members" | "membersAndListed" | "listed";
|
|
11485
11841
|
listed?: string[];
|
|
11486
11842
|
}
|
|
11843
|
+
/**
|
|
11844
|
+
* Who may be issued a ticket (VTI-VOT-021): the community's active members (`members`), its active members and the parties `listed` names (`membersAndListed`), only the parties `listed` names (`listed`), or the holders of a membership credential for the one DID `memberOf` names (`credential`), proven by presentation when the holder claims their ticket and never resolved when the election is created (VTI-VOT-025). `memberOf` is present exactly when `rule` is `credential`, and `listed` is never present with it.
|
|
11845
|
+
*/
|
|
11846
|
+
export interface RollRule_VotingV0_4 {
|
|
11847
|
+
rule: "members" | "membersAndListed" | "listed" | "credential";
|
|
11848
|
+
listed?: string[];
|
|
11849
|
+
/**
|
|
11850
|
+
* The DID whose membership credential admits its holder, under the `credential` rule: this community, one of its groups, or a party that is itself an active member of this community — holding a membership credential this community issued it — such as another community, a group of another community, or a network (VTI-VOT-026). Always a DID, never a group's local identifier or name. A community refuses to create an election naming any other DID (vtc/elections/create:rollUntrusted).
|
|
11851
|
+
*/
|
|
11852
|
+
memberOf?: string;
|
|
11853
|
+
}
|
|
11487
11854
|
/**
|
|
11488
11855
|
* The outcome of a rollback. Distinct from ServiceMutationResult because a rollback can legitimately publish nothing: if the previous state already equals the current one there is no change to write, and `kind: "noOp"` says so with `logEntryVersionId` absent. Treating that as a failure would be wrong — the requested state holds — and treating it as an ordinary success would report a log entry that does not exist.
|
|
11489
11856
|
*/
|
|
@@ -11599,6 +11966,25 @@ export interface RoomMember {
|
|
|
11599
11966
|
admittedAt?: string;
|
|
11600
11967
|
removedAt?: string;
|
|
11601
11968
|
}
|
|
11969
|
+
/**
|
|
11970
|
+
* `RoomMember` with `MemberStateV2`, and `suspendedAt`.
|
|
11971
|
+
*/
|
|
11972
|
+
export interface RoomMemberV2 {
|
|
11973
|
+
member: string;
|
|
11974
|
+
actions: MemberActions;
|
|
11975
|
+
/**
|
|
11976
|
+
* When the member's authority credential expires.
|
|
11977
|
+
*/
|
|
11978
|
+
validUntil: string;
|
|
11979
|
+
state: MemberStateV2;
|
|
11980
|
+
offeredAt: string;
|
|
11981
|
+
admittedAt?: string;
|
|
11982
|
+
removedAt?: string;
|
|
11983
|
+
/**
|
|
11984
|
+
* Present exactly when `state` is `suspended`.
|
|
11985
|
+
*/
|
|
11986
|
+
suspendedAt?: string;
|
|
11987
|
+
}
|
|
11602
11988
|
/**
|
|
11603
11989
|
* What vtc/rooms/memberships/list/0.1 returns: one room the community owns, and where the caller's admission to it stands in the community's own record. Unlike `OfferV2` it carries no credentials — those are collected with vtc/rooms/offers/list while an offer is open — and it is listed in every state, for as long as the community keeps the record, not only while an accept can be repeated. `label` and `description` are the room's as they stand when the record is read.
|
|
11604
11990
|
*/
|
|
@@ -11634,6 +12020,57 @@ export interface RoomMembership {
|
|
|
11634
12020
|
*/
|
|
11635
12021
|
repeatAcceptUntil?: string;
|
|
11636
12022
|
}
|
|
12023
|
+
/**
|
|
12024
|
+
* What vtc/rooms/memberships/list/0.2 returns: `RoomMembership` with `MemberStateV2`, `suspendedAt`, and the room's own state, so that a member can tell a room that is read-only, closed or going away from one they were removed from.
|
|
12025
|
+
*/
|
|
12026
|
+
export interface RoomMembershipV2 {
|
|
12027
|
+
roomId: string;
|
|
12028
|
+
/**
|
|
12029
|
+
* The room's host: this community.
|
|
12030
|
+
*/
|
|
12031
|
+
host: string;
|
|
12032
|
+
label: RoomLabel;
|
|
12033
|
+
/**
|
|
12034
|
+
* Absent when the room has none.
|
|
12035
|
+
*/
|
|
12036
|
+
description?: RoomDescription;
|
|
12037
|
+
visibility: Visibility;
|
|
12038
|
+
actions: MemberActions;
|
|
12039
|
+
/**
|
|
12040
|
+
* When the member's authority credential expires.
|
|
12041
|
+
*/
|
|
12042
|
+
validUntil: string;
|
|
12043
|
+
state: MemberStateV2;
|
|
12044
|
+
offeredAt: string;
|
|
12045
|
+
/**
|
|
12046
|
+
* When the community recorded the admission. Present when `state` is `admitted`, and kept when it becomes `removed`.
|
|
12047
|
+
*/
|
|
12048
|
+
admittedAt?: string;
|
|
12049
|
+
/**
|
|
12050
|
+
* Present exactly when `state` is `removed`.
|
|
12051
|
+
*/
|
|
12052
|
+
removedAt?: string;
|
|
12053
|
+
/**
|
|
12054
|
+
* On an `attributed` or `private` room in state `admitted`: until when the community keeps the Welcome, so that a repeated vtc/rooms/offers/accept carrying the same KeyPackage is answered with it. Absent on an `open` room, in any other state, and once the community no longer keeps it. A surface finding the member admitted but the room absent from its key holder's rooms/keys/list finishes the acceptance before this time, and asks an administrator to re-admit the member after it.
|
|
12055
|
+
*/
|
|
12056
|
+
repeatAcceptUntil?: string;
|
|
12057
|
+
/**
|
|
12058
|
+
* Present exactly when `state` is `suspended`.
|
|
12059
|
+
*/
|
|
12060
|
+
suspendedAt?: string;
|
|
12061
|
+
/**
|
|
12062
|
+
* The room's state in its owner's lifecycle. `purging` is shown to members as `removalScheduled`: to them, the room is going away either way.
|
|
12063
|
+
*/
|
|
12064
|
+
roomState: RoomState;
|
|
12065
|
+
/**
|
|
12066
|
+
* Present exactly when `roomState` is `archived` or `removalScheduled`.
|
|
12067
|
+
*/
|
|
12068
|
+
roomAccess?: ArchiveAccess;
|
|
12069
|
+
/**
|
|
12070
|
+
* Present when `roomState` is `removalScheduled`: when the room's content is to be deleted.
|
|
12071
|
+
*/
|
|
12072
|
+
purgeAt?: string;
|
|
12073
|
+
}
|
|
11637
12074
|
/**
|
|
11638
12075
|
* 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.
|
|
11639
12076
|
*
|
|
@@ -11681,6 +12118,44 @@ export interface RoomRevocation {
|
|
|
11681
12118
|
*/
|
|
11682
12119
|
until?: string;
|
|
11683
12120
|
}
|
|
12121
|
+
/**
|
|
12122
|
+
* A room's state in its owner's lifecycle, and what that state needs to be understood.
|
|
12123
|
+
*/
|
|
12124
|
+
export interface RoomStatus {
|
|
12125
|
+
state: RoomState;
|
|
12126
|
+
/**
|
|
12127
|
+
* Present exactly when `state` is `archived` or `removalScheduled`; always `noAccess` for `removalScheduled`.
|
|
12128
|
+
*/
|
|
12129
|
+
access?: ArchiveAccess;
|
|
12130
|
+
/**
|
|
12131
|
+
* When the room entered `state`. Absent for a room that has been `active` since it was created.
|
|
12132
|
+
*/
|
|
12133
|
+
changedAt?: string;
|
|
12134
|
+
/**
|
|
12135
|
+
* The administrator whose act put the room in `state`. Present exactly when `changedAt` is, except for `purging` and `removed` reached when a grace period ended, which no one did at that moment: then the administrator who scheduled the removal. The reason each gave is in the community's audit trail, not here.
|
|
12136
|
+
*/
|
|
12137
|
+
changedBy?: string;
|
|
12138
|
+
/**
|
|
12139
|
+
* Present when `state` is `removalScheduled`: when the grace period ends and the purge begins. Kept when `state` is `purging` or `removed`, as when it became due.
|
|
12140
|
+
*/
|
|
12141
|
+
purgeAt?: string;
|
|
12142
|
+
/**
|
|
12143
|
+
* Present exactly when `state` is `purging`.
|
|
12144
|
+
*/
|
|
12145
|
+
purge?: PurgeProgress;
|
|
12146
|
+
/**
|
|
12147
|
+
* Present exactly when `state` is `removed`: when the last of the room's content was deleted.
|
|
12148
|
+
*/
|
|
12149
|
+
removedAt?: string;
|
|
12150
|
+
/**
|
|
12151
|
+
* Admissions still `suspended` that the community is restoring, after the room left `noAccess` — the room re-issues each member's credentials and the member collects them as a renewal. Absent when there are none.
|
|
12152
|
+
*/
|
|
12153
|
+
restoring?: number;
|
|
12154
|
+
/**
|
|
12155
|
+
* Present while a change of state is begun and not finished.
|
|
12156
|
+
*/
|
|
12157
|
+
pendingChange?: PendingChange;
|
|
12158
|
+
}
|
|
11684
12159
|
/**
|
|
11685
12160
|
* One change to a role's key set, from preview to completion. The rotation history of a DID is the list of these; the log is the authority for what was published, and this record adds what the log cannot say — which change was which, and (custody projection only) who asked, who approved, and why.
|
|
11686
12161
|
*/
|
|
@@ -12646,6 +13121,23 @@ export interface StreamDescriptor {
|
|
|
12646
13121
|
expectedSizeBytes: ExpectedSizeBytes;
|
|
12647
13122
|
expiresAt: ExpiresAt;
|
|
12648
13123
|
}
|
|
13124
|
+
/**
|
|
13125
|
+
* Where the thing is and how to open it. Only these three members: what the thing contains is shown by its holder, to a reader it admits, when the thing is opened with `openWith`.
|
|
13126
|
+
*/
|
|
13127
|
+
export interface Subject {
|
|
13128
|
+
/**
|
|
13129
|
+
* The DID of the party holding the thing — for an election, the community. The party a recipient sends `openWith` to.
|
|
13130
|
+
*/
|
|
13131
|
+
heldBy: Did_NotificationsV0_1;
|
|
13132
|
+
/**
|
|
13133
|
+
* The thing's identifier at `heldBy`, in the form the `openWith` task takes it — for an election, its `electionId`.
|
|
13134
|
+
*/
|
|
13135
|
+
id: string;
|
|
13136
|
+
/**
|
|
13137
|
+
* The Type URI of the Trust Task by which a recipient opens the thing at `heldBy` — for an election, `https://trusttasks.org/spec/vtc/elections/show/0.6`. A recipient opens it only at its principal's choice (VTI-NTF-053), and only by a version of that task it and `heldBy` both serve.
|
|
13138
|
+
*/
|
|
13139
|
+
openWith: string;
|
|
13140
|
+
}
|
|
12649
13141
|
/**
|
|
12650
13142
|
* Withdraws a party: every credential naming them as subject or issuer whose `validFrom` is earlier than `revokedAt`.
|
|
12651
13143
|
*/
|