@openvtc/trust-tasks 0.28.8 → 0.28.10
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 +116 -0
- package/dist/_extends.d.ts.map +1 -1
- package/dist/_extends.js +5 -0
- package/dist/_extends.js.map +1 -1
- package/dist/_shared/components.d.ts +288 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/git-ns/bridge/event/0.1/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.1/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.2/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.2/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.3/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.3/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.4/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.4/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.5/payload.d.ts +14 -2
- package/dist/git-ns/bridge/event/0.5/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/event/0.5/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.5/payload.js.map +1 -1
- package/dist/git-ns/bridge/event/0.6/payload.d.ts +2067 -0
- package/dist/git-ns/bridge/event/0.6/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/event/0.6/payload.js +1119 -0
- package/dist/git-ns/bridge/event/0.6/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/0.1/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.1/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.2/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.2/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.3/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.3/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.4/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.4/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.5/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.5/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.6/payload.d.ts +14 -2
- package/dist/git-ns/bridge/job/0.6/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/job/0.6/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.6/payload.js.map +1 -1
- package/dist/git-ns/bridge/job/0.7/payload.d.ts +1120 -0
- package/dist/git-ns/bridge/job/0.7/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/job/0.7/payload.js +608 -0
- package/dist/git-ns/bridge/job/0.7/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/list/0.4/payload.d.ts +5 -5
- package/dist/git-ns/bridge/job/list/0.4/payload.js +2 -2
- package/dist/index.d.ts +123 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +123 -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/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.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/package.json +1 -1
- package/src/_extends.ts +5 -0
- package/src/_shared/components.ts +293 -0
- package/src/git-ns/bridge/event/0.1/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.2/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.3/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.4/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.5/payload.ts +15 -3
- package/src/git-ns/bridge/event/0.6/payload.ts +1450 -0
- package/src/git-ns/bridge/job/0.1/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.2/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.3/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.4/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.5/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.6/payload.ts +15 -3
- package/src/git-ns/bridge/job/0.7/payload.ts +744 -0
- package/src/git-ns/bridge/job/list/0.4/payload.ts +3 -3
- package/src/index.ts +123 -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/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.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
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vta/pcs/voter/read/0.6/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Ext } from "../../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* A voter's client asks its VTA for a vtc/elections/list or vtc/elections/show request signed as the voter's membership DID, so the client can read the community's elections as the member without holding the member's key. For a show of an election put to the members of a party that is itself a member of the community, the VTA can present the member's credential for that party from its vault, bound to the read it signs, and only where that credential was issued by the party the client names.
|
|
11
|
+
*/
|
|
12
|
+
export interface VTAPCSVoterReadPayload {
|
|
13
|
+
/**
|
|
14
|
+
* The context the voter belongs to.
|
|
15
|
+
*/
|
|
16
|
+
contextId: string;
|
|
17
|
+
/**
|
|
18
|
+
* The community's DID: the recipient of the signed request.
|
|
19
|
+
*/
|
|
20
|
+
community: string;
|
|
21
|
+
/**
|
|
22
|
+
* The voter's membership DID at the community. MUST be a DID the engine holds an authentication key of that the caller may act as.
|
|
23
|
+
*/
|
|
24
|
+
member: string;
|
|
25
|
+
/**
|
|
26
|
+
* Which read to sign: vtc/elections/list/0.5 or vtc/elections/show/0.6.
|
|
27
|
+
*/
|
|
28
|
+
read: "list" | "show";
|
|
29
|
+
/**
|
|
30
|
+
* The request payload of that task, validated against its own schema.
|
|
31
|
+
*/
|
|
32
|
+
payload: {};
|
|
33
|
+
/**
|
|
34
|
+
* Only with `read` `show`, and only to read an election whose `credential` roll names a member party (vtc/elections/show/0.6, VTI-VOT-015): the vault's local handle (vault/credentials/query) of the membership credential the member chose to present for it, whose subject is `member`. The engine presents it in the `show` request it signs, bound to that document and the community. Opaque; never derived or guessed.
|
|
35
|
+
*/
|
|
36
|
+
membershipCredential?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Only with `membershipCredential`: the DID the member was told the election's `credential` roll names (voting/_shared/0.4 `RollRule.memberOf`) — the party whose membership the read is to prove. The engine presents `membershipCredential` only where that credential's issuer is this DID, and otherwise refuses with `membershipCredentialMismatch`, so that it never presents a membership unrelated to the election (VTI-VOT-016).
|
|
39
|
+
*/
|
|
40
|
+
memberOf?: string;
|
|
41
|
+
ext?: Ext;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The signed read, to send to the community.
|
|
45
|
+
*/
|
|
46
|
+
export interface VTAPCSVoterReadResponsePayload {
|
|
47
|
+
document: ReadDocument;
|
|
48
|
+
ext?: Ext;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A complete, signed vtc/elections/list/0.5 or vtc/elections/show/0.6 request document, ready to send to the community unchanged.
|
|
52
|
+
*/
|
|
53
|
+
export interface ReadDocument {
|
|
54
|
+
id: string;
|
|
55
|
+
type: "https://trusttasks.org/spec/vtc/elections/list/0.5" | "https://trusttasks.org/spec/vtc/elections/show/0.6";
|
|
56
|
+
/**
|
|
57
|
+
* The request's `member`.
|
|
58
|
+
*/
|
|
59
|
+
issuer: string;
|
|
60
|
+
/**
|
|
61
|
+
* The request's `community`.
|
|
62
|
+
*/
|
|
63
|
+
recipient: string;
|
|
64
|
+
issuedAt: string;
|
|
65
|
+
expiresAt?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The request's `payload`, exactly — and, where the request named `membershipCredential`, with `presentation` added: the engine's presentation of that credential, bound to this document.
|
|
68
|
+
*/
|
|
69
|
+
payload: {};
|
|
70
|
+
/**
|
|
71
|
+
* A Data Integrity proof by an `authentication` key of `issuer`.
|
|
72
|
+
*/
|
|
73
|
+
proof: {};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
77
|
+
export type { Ext };
|
|
78
|
+
|
|
79
|
+
/** Trust Task type URI. */
|
|
80
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/read/0.6" as const;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* The earlier version of this specification that this one declares it
|
|
84
|
+
* extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
|
|
85
|
+
* `null`. Only the direct declaration — follow the chain with
|
|
86
|
+
* `extendsChain` / `readForSpec`.
|
|
87
|
+
*/
|
|
88
|
+
export const EXTENDS: string | null = null;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Why this version is deprecated, or `null` while it is current. A
|
|
92
|
+
* superseded or retired version is still supported, and is withdrawn from
|
|
93
|
+
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
94
|
+
* Versions").
|
|
95
|
+
*/
|
|
96
|
+
export const DEPRECATION: string | null = null;
|
|
97
|
+
|
|
98
|
+
/** Stable alias for this specification's request payload shape. */
|
|
99
|
+
export type Payload = VTAPCSVoterReadPayload;
|
|
100
|
+
|
|
101
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
102
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/read/0.6#response" as const;
|
|
103
|
+
|
|
104
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
105
|
+
export type Response = VTAPCSVoterReadResponsePayload;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* This specification's payload schema, as a value.
|
|
109
|
+
*
|
|
110
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
111
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
112
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
113
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
114
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
115
|
+
*/
|
|
116
|
+
export const PAYLOAD_SCHEMA = {
|
|
117
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
118
|
+
"$id": "https://trusttasks.org/spec/vta/pcs/voter/read/0.6",
|
|
119
|
+
"title": "VTA PCS — Voter Read — payload",
|
|
120
|
+
"description": "A voter's client asks its VTA for a vtc/elections/list or vtc/elections/show request signed as the voter's membership DID, so the client can read the community's elections as the member without holding the member's key. For a show of an election put to the members of a party that is itself a member of the community, the VTA can present the member's credential for that party from its vault, bound to the read it signs, and only where that credential was issued by the party the client names.",
|
|
121
|
+
"type": "object",
|
|
122
|
+
"additionalProperties": false,
|
|
123
|
+
"required": [
|
|
124
|
+
"contextId",
|
|
125
|
+
"community",
|
|
126
|
+
"member",
|
|
127
|
+
"read",
|
|
128
|
+
"payload"
|
|
129
|
+
],
|
|
130
|
+
"properties": {
|
|
131
|
+
"contextId": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"minLength": 1,
|
|
134
|
+
"maxLength": 256,
|
|
135
|
+
"description": "The context the voter belongs to."
|
|
136
|
+
},
|
|
137
|
+
"community": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"minLength": 1,
|
|
140
|
+
"maxLength": 2048,
|
|
141
|
+
"description": "The community's DID: the recipient of the signed request."
|
|
142
|
+
},
|
|
143
|
+
"member": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"minLength": 1,
|
|
146
|
+
"maxLength": 2048,
|
|
147
|
+
"pattern": "^did:",
|
|
148
|
+
"description": "The voter's membership DID at the community. MUST be a DID the engine holds an authentication key of that the caller may act as."
|
|
149
|
+
},
|
|
150
|
+
"read": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"enum": [
|
|
153
|
+
"list",
|
|
154
|
+
"show"
|
|
155
|
+
],
|
|
156
|
+
"description": "Which read to sign: vtc/elections/list/0.5 or vtc/elections/show/0.6."
|
|
157
|
+
},
|
|
158
|
+
"payload": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"description": "The request payload of that task, validated against its own schema."
|
|
161
|
+
},
|
|
162
|
+
"membershipCredential": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"minLength": 1,
|
|
165
|
+
"maxLength": 256,
|
|
166
|
+
"description": "Only with `read` `show`, and only to read an election whose `credential` roll names a member party (vtc/elections/show/0.6, VTI-VOT-015): the vault's local handle (vault/credentials/query) of the membership credential the member chose to present for it, whose subject is `member`. The engine presents it in the `show` request it signs, bound to that document and the community. Opaque; never derived or guessed."
|
|
167
|
+
},
|
|
168
|
+
"memberOf": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"minLength": 8,
|
|
171
|
+
"maxLength": 2048,
|
|
172
|
+
"pattern": "^did:[a-z0-9]+:\\S+$",
|
|
173
|
+
"description": "Only with `membershipCredential`: the DID the member was told the election's `credential` roll names (voting/_shared/0.4 `RollRule.memberOf`) — the party whose membership the read is to prove. The engine presents `membershipCredential` only where that credential's issuer is this DID, and otherwise refuses with `membershipCredentialMismatch`, so that it never presents a membership unrelated to the election (VTI-VOT-016)."
|
|
174
|
+
},
|
|
175
|
+
"ext": {
|
|
176
|
+
"$ref": "#/$defs/Ext"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"dependentSchemas": {
|
|
180
|
+
"membershipCredential": {
|
|
181
|
+
"properties": {
|
|
182
|
+
"read": {
|
|
183
|
+
"const": "show"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"memberOf": {
|
|
188
|
+
"required": [
|
|
189
|
+
"membershipCredential"
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"$defs": {
|
|
194
|
+
"ReadDocument": {
|
|
195
|
+
"title": "ReadDocument",
|
|
196
|
+
"description": "A complete, signed vtc/elections/list/0.5 or vtc/elections/show/0.6 request document, ready to send to the community unchanged.",
|
|
197
|
+
"type": "object",
|
|
198
|
+
"required": [
|
|
199
|
+
"id",
|
|
200
|
+
"type",
|
|
201
|
+
"issuer",
|
|
202
|
+
"recipient",
|
|
203
|
+
"issuedAt",
|
|
204
|
+
"payload",
|
|
205
|
+
"proof"
|
|
206
|
+
],
|
|
207
|
+
"properties": {
|
|
208
|
+
"id": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"pattern": "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
211
|
+
},
|
|
212
|
+
"type": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"enum": [
|
|
215
|
+
"https://trusttasks.org/spec/vtc/elections/list/0.5",
|
|
216
|
+
"https://trusttasks.org/spec/vtc/elections/show/0.6"
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
"issuer": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"minLength": 1,
|
|
222
|
+
"maxLength": 2048,
|
|
223
|
+
"description": "The request's `member`."
|
|
224
|
+
},
|
|
225
|
+
"recipient": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"minLength": 1,
|
|
228
|
+
"maxLength": 2048,
|
|
229
|
+
"description": "The request's `community`."
|
|
230
|
+
},
|
|
231
|
+
"issuedAt": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"format": "date-time"
|
|
234
|
+
},
|
|
235
|
+
"expiresAt": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"format": "date-time"
|
|
238
|
+
},
|
|
239
|
+
"payload": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"description": "The request's `payload`, exactly — and, where the request named `membershipCredential`, with `presentation` added: the engine's presentation of that credential, bound to this document."
|
|
242
|
+
},
|
|
243
|
+
"proof": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"description": "A Data Integrity proof by an `authentication` key of `issuer`."
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"Response": {
|
|
250
|
+
"$anchor": "response",
|
|
251
|
+
"title": "VTA PCS — Voter Read — response payload",
|
|
252
|
+
"description": "The signed read, to send to the community.",
|
|
253
|
+
"type": "object",
|
|
254
|
+
"additionalProperties": false,
|
|
255
|
+
"required": [
|
|
256
|
+
"document"
|
|
257
|
+
],
|
|
258
|
+
"properties": {
|
|
259
|
+
"document": {
|
|
260
|
+
"$ref": "#/$defs/ReadDocument"
|
|
261
|
+
},
|
|
262
|
+
"ext": {
|
|
263
|
+
"$ref": "#/$defs/Ext"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"Ext": {
|
|
268
|
+
"title": "Ext",
|
|
269
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
270
|
+
"type": "object",
|
|
271
|
+
"minProperties": 1,
|
|
272
|
+
"additionalProperties": true,
|
|
273
|
+
"propertyNames": {
|
|
274
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
} as const;
|
|
279
|
+
|
|
280
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
281
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
282
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
283
|
+
"$ref": "#/$defs/Response",
|
|
284
|
+
"$defs": {
|
|
285
|
+
"ReadDocument": {
|
|
286
|
+
"title": "ReadDocument",
|
|
287
|
+
"description": "A complete, signed vtc/elections/list/0.5 or vtc/elections/show/0.6 request document, ready to send to the community unchanged.",
|
|
288
|
+
"type": "object",
|
|
289
|
+
"required": [
|
|
290
|
+
"id",
|
|
291
|
+
"type",
|
|
292
|
+
"issuer",
|
|
293
|
+
"recipient",
|
|
294
|
+
"issuedAt",
|
|
295
|
+
"payload",
|
|
296
|
+
"proof"
|
|
297
|
+
],
|
|
298
|
+
"properties": {
|
|
299
|
+
"id": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"pattern": "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
302
|
+
},
|
|
303
|
+
"type": {
|
|
304
|
+
"type": "string",
|
|
305
|
+
"enum": [
|
|
306
|
+
"https://trusttasks.org/spec/vtc/elections/list/0.5",
|
|
307
|
+
"https://trusttasks.org/spec/vtc/elections/show/0.6"
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
"issuer": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"minLength": 1,
|
|
313
|
+
"maxLength": 2048,
|
|
314
|
+
"description": "The request's `member`."
|
|
315
|
+
},
|
|
316
|
+
"recipient": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"minLength": 1,
|
|
319
|
+
"maxLength": 2048,
|
|
320
|
+
"description": "The request's `community`."
|
|
321
|
+
},
|
|
322
|
+
"issuedAt": {
|
|
323
|
+
"type": "string",
|
|
324
|
+
"format": "date-time"
|
|
325
|
+
},
|
|
326
|
+
"expiresAt": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"format": "date-time"
|
|
329
|
+
},
|
|
330
|
+
"payload": {
|
|
331
|
+
"type": "object",
|
|
332
|
+
"description": "The request's `payload`, exactly — and, where the request named `membershipCredential`, with `presentation` added: the engine's presentation of that credential, bound to this document."
|
|
333
|
+
},
|
|
334
|
+
"proof": {
|
|
335
|
+
"type": "object",
|
|
336
|
+
"description": "A Data Integrity proof by an `authentication` key of `issuer`."
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"Response": {
|
|
341
|
+
"$anchor": "response",
|
|
342
|
+
"title": "VTA PCS — Voter Read — response payload",
|
|
343
|
+
"description": "The signed read, to send to the community.",
|
|
344
|
+
"type": "object",
|
|
345
|
+
"additionalProperties": false,
|
|
346
|
+
"required": [
|
|
347
|
+
"document"
|
|
348
|
+
],
|
|
349
|
+
"properties": {
|
|
350
|
+
"document": {
|
|
351
|
+
"$ref": "#/$defs/ReadDocument"
|
|
352
|
+
},
|
|
353
|
+
"ext": {
|
|
354
|
+
"$ref": "#/$defs/Ext"
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
"Ext": {
|
|
359
|
+
"title": "Ext",
|
|
360
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
361
|
+
"type": "object",
|
|
362
|
+
"minProperties": 1,
|
|
363
|
+
"additionalProperties": true,
|
|
364
|
+
"propertyNames": {
|
|
365
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
} as const;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
373
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
374
|
+
* per-specification and cannot be derived from the document alone, and
|
|
375
|
+
* item 2 needs the schema this carries.
|
|
376
|
+
*/
|
|
377
|
+
export const SPEC = {
|
|
378
|
+
typeUri: TYPE_URI,
|
|
379
|
+
isBearer: false,
|
|
380
|
+
isProofRequired: true,
|
|
381
|
+
isRecipientRequired: true,
|
|
382
|
+
isIssuedAtRequired: true,
|
|
383
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
384
|
+
} as const;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
388
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
389
|
+
* parties (§7.3 item 5).
|
|
390
|
+
*/
|
|
391
|
+
export const RESPONSE_SPEC = {
|
|
392
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
393
|
+
isBearer: false,
|
|
394
|
+
isProofRequired: false,
|
|
395
|
+
isRecipientRequired: true,
|
|
396
|
+
isIssuedAtRequired: true,
|
|
397
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
398
|
+
} as const;
|
|
@@ -14,7 +14,7 @@ export type PcsValue = string;
|
|
|
14
14
|
/**
|
|
15
15
|
* A voter's client asks its VTA for the blinded request that obtains the voter's ticket for one election; the VTA derives a voter key for that election alone and keeps the blinding state.
|
|
16
16
|
*
|
|
17
|
-
* @deprecated superseded by vta/pcs/voter/register/0.
|
|
17
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
18
18
|
*/
|
|
19
19
|
export interface VTAPCSVoterRegisterPayload {
|
|
20
20
|
/**
|
|
@@ -42,7 +42,7 @@ export interface VTAPCSVoterRegisterPayload {
|
|
|
42
42
|
/**
|
|
43
43
|
* Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext — and, when the request named `member`, that request as a document signed as the member.
|
|
44
44
|
*
|
|
45
|
-
* @deprecated superseded by vta/pcs/voter/register/0.
|
|
45
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
46
46
|
*/
|
|
47
47
|
export interface VTAPCSVoterRegisterResponsePayload {
|
|
48
48
|
electionId: ElectionId;
|
|
@@ -121,12 +121,12 @@ export const EXTENDS: string | null = null;
|
|
|
121
121
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
122
122
|
* Versions").
|
|
123
123
|
*/
|
|
124
|
-
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/register/0.
|
|
124
|
+
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/register/0.5";
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* Stable alias for this specification's request payload shape.
|
|
128
128
|
*
|
|
129
|
-
* @deprecated superseded by vta/pcs/voter/register/0.
|
|
129
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
130
130
|
*/
|
|
131
131
|
export type Payload = VTAPCSVoterRegisterPayload;
|
|
132
132
|
|
|
@@ -136,7 +136,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/regi
|
|
|
136
136
|
/**
|
|
137
137
|
* Stable alias for this specification's success-response payload shape.
|
|
138
138
|
*
|
|
139
|
-
* @deprecated superseded by vta/pcs/voter/register/0.
|
|
139
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
140
140
|
*/
|
|
141
141
|
export type Response = VTAPCSVoterRegisterResponsePayload;
|
|
142
142
|
|
|
@@ -14,7 +14,7 @@ export type PcsValue = string;
|
|
|
14
14
|
/**
|
|
15
15
|
* A voter's client asks its VTA for the blinded request that obtains the voter's ticket for one election; the VTA derives a voter key for that election alone and keeps the blinding state.
|
|
16
16
|
*
|
|
17
|
-
* @deprecated superseded by vta/pcs/voter/register/0.
|
|
17
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
18
18
|
*/
|
|
19
19
|
export interface VTAPCSVoterRegisterPayload {
|
|
20
20
|
/**
|
|
@@ -42,7 +42,7 @@ export interface VTAPCSVoterRegisterPayload {
|
|
|
42
42
|
/**
|
|
43
43
|
* Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext — and, when the request named `member`, that request as a document signed as the member.
|
|
44
44
|
*
|
|
45
|
-
* @deprecated superseded by vta/pcs/voter/register/0.
|
|
45
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
46
46
|
*/
|
|
47
47
|
export interface VTAPCSVoterRegisterResponsePayload {
|
|
48
48
|
electionId: ElectionId;
|
|
@@ -121,12 +121,12 @@ export const EXTENDS: string | null = null;
|
|
|
121
121
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
122
122
|
* Versions").
|
|
123
123
|
*/
|
|
124
|
-
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/register/0.
|
|
124
|
+
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/register/0.5";
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* Stable alias for this specification's request payload shape.
|
|
128
128
|
*
|
|
129
|
-
* @deprecated superseded by vta/pcs/voter/register/0.
|
|
129
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
130
130
|
*/
|
|
131
131
|
export type Payload = VTAPCSVoterRegisterPayload;
|
|
132
132
|
|
|
@@ -136,7 +136,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/regi
|
|
|
136
136
|
/**
|
|
137
137
|
* Stable alias for this specification's success-response payload shape.
|
|
138
138
|
*
|
|
139
|
-
* @deprecated superseded by vta/pcs/voter/register/0.
|
|
139
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
140
140
|
*/
|
|
141
141
|
export type Response = VTAPCSVoterRegisterResponsePayload;
|
|
142
142
|
|
|
@@ -13,6 +13,8 @@ export type PcsValue = string;
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* A voter's client asks its VTA for the blinded request that obtains the voter's ticket for one election; the VTA derives a voter key for that election alone and keeps the blinding state.
|
|
16
|
+
*
|
|
17
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
16
18
|
*/
|
|
17
19
|
export interface VTAPCSVoterRegisterPayload {
|
|
18
20
|
/**
|
|
@@ -39,6 +41,8 @@ export interface VTAPCSVoterRegisterPayload {
|
|
|
39
41
|
}
|
|
40
42
|
/**
|
|
41
43
|
* Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext — and, when the request named `member`, that request as a document signed as the member.
|
|
44
|
+
*
|
|
45
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
42
46
|
*/
|
|
43
47
|
export interface VTAPCSVoterRegisterResponsePayload {
|
|
44
48
|
electionId: ElectionId;
|
|
@@ -117,15 +121,23 @@ export const EXTENDS: string | null = null;
|
|
|
117
121
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
118
122
|
* Versions").
|
|
119
123
|
*/
|
|
120
|
-
export const DEPRECATION: string | null =
|
|
124
|
+
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/register/0.5";
|
|
121
125
|
|
|
122
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* Stable alias for this specification's request payload shape.
|
|
128
|
+
*
|
|
129
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
130
|
+
*/
|
|
123
131
|
export type Payload = VTAPCSVoterRegisterPayload;
|
|
124
132
|
|
|
125
133
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
126
134
|
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/register/0.3#response" as const;
|
|
127
135
|
|
|
128
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Stable alias for this specification's success-response payload shape.
|
|
138
|
+
*
|
|
139
|
+
* @deprecated superseded by vta/pcs/voter/register/0.5
|
|
140
|
+
*/
|
|
129
141
|
export type Response = VTAPCSVoterRegisterResponsePayload;
|
|
130
142
|
|
|
131
143
|
/**
|