@openvtc/trust-tasks 0.28.8 → 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.
Files changed (374) hide show
  1. package/CHANGELOG.md +109 -0
  2. package/dist/_extends.d.ts.map +1 -1
  3. package/dist/_extends.js +5 -0
  4. package/dist/_extends.js.map +1 -1
  5. package/dist/_shared/components.d.ts +288 -0
  6. package/dist/_shared/components.d.ts.map +1 -1
  7. package/dist/index.d.ts +117 -0
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +117 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/notifications/_shared/0.1/notification.d.ts +22 -0
  12. package/dist/notifications/_shared/0.1/notification.d.ts.map +1 -0
  13. package/dist/notifications/_shared/0.1/notification.js +6 -0
  14. package/dist/notifications/_shared/0.1/notification.js.map +1 -0
  15. package/dist/notifications/notify/0.1/payload.d.ts +652 -0
  16. package/dist/notifications/notify/0.1/payload.d.ts.map +1 -0
  17. package/dist/notifications/notify/0.1/payload.js +383 -0
  18. package/dist/notifications/notify/0.1/payload.js.map +1 -0
  19. package/dist/notifications/relay/0.1/payload.d.ts +309 -0
  20. package/dist/notifications/relay/0.1/payload.d.ts.map +1 -0
  21. package/dist/notifications/relay/0.1/payload.js +179 -0
  22. package/dist/notifications/relay/0.1/payload.js.map +1 -0
  23. package/dist/voting/_shared/0.4/voting.d.ts +16 -0
  24. package/dist/voting/_shared/0.4/voting.d.ts.map +1 -0
  25. package/dist/voting/_shared/0.4/voting.js +6 -0
  26. package/dist/voting/_shared/0.4/voting.js.map +1 -0
  27. package/dist/voting/election/register/0.1/payload.d.ts +4 -4
  28. package/dist/voting/election/register/0.1/payload.js +1 -1
  29. package/dist/voting/election/register/0.2/payload.d.ts +4 -4
  30. package/dist/voting/election/register/0.2/payload.js +1 -1
  31. package/dist/voting/election/register/0.3/payload.d.ts +13 -2
  32. package/dist/voting/election/register/0.3/payload.d.ts.map +1 -1
  33. package/dist/voting/election/register/0.3/payload.js +1 -1
  34. package/dist/voting/election/register/0.3/payload.js.map +1 -1
  35. package/dist/voting/election/register/0.4/payload.d.ts +2054 -0
  36. package/dist/voting/election/register/0.4/payload.d.ts.map +1 -0
  37. package/dist/voting/election/register/0.4/payload.js +1264 -0
  38. package/dist/voting/election/register/0.4/payload.js.map +1 -0
  39. package/dist/voting/election/show/0.1/payload.d.ts +4 -4
  40. package/dist/voting/election/show/0.1/payload.js +1 -1
  41. package/dist/voting/election/show/0.2/payload.d.ts +4 -4
  42. package/dist/voting/election/show/0.2/payload.js +1 -1
  43. package/dist/voting/election/show/0.3/payload.d.ts +13 -2
  44. package/dist/voting/election/show/0.3/payload.d.ts.map +1 -1
  45. package/dist/voting/election/show/0.3/payload.js +1 -1
  46. package/dist/voting/election/show/0.3/payload.js.map +1 -1
  47. package/dist/voting/election/show/0.4/payload.d.ts +1958 -0
  48. package/dist/voting/election/show/0.4/payload.d.ts.map +1 -0
  49. package/dist/voting/election/show/0.4/payload.js +1210 -0
  50. package/dist/voting/election/show/0.4/payload.js.map +1 -0
  51. package/dist/vta/notifications/_shared/0.1/held-notification.d.ts +16 -0
  52. package/dist/vta/notifications/_shared/0.1/held-notification.d.ts.map +1 -0
  53. package/dist/vta/notifications/_shared/0.1/held-notification.js +6 -0
  54. package/dist/vta/notifications/_shared/0.1/held-notification.js.map +1 -0
  55. package/dist/vta/notifications/dismiss/0.1/payload.d.ts +300 -0
  56. package/dist/vta/notifications/dismiss/0.1/payload.d.ts.map +1 -0
  57. package/dist/vta/notifications/dismiss/0.1/payload.js +179 -0
  58. package/dist/vta/notifications/dismiss/0.1/payload.js.map +1 -0
  59. package/dist/vta/notifications/list/0.1/payload.d.ts +1100 -0
  60. package/dist/vta/notifications/list/0.1/payload.d.ts.map +1 -0
  61. package/dist/vta/notifications/list/0.1/payload.js +627 -0
  62. package/dist/vta/notifications/list/0.1/payload.js.map +1 -0
  63. package/dist/vta/notifications/show/0.1/payload.d.ts +1004 -0
  64. package/dist/vta/notifications/show/0.1/payload.d.ts.map +1 -0
  65. package/dist/vta/notifications/show/0.1/payload.js +595 -0
  66. package/dist/vta/notifications/show/0.1/payload.js.map +1 -0
  67. package/dist/vta/pcs/trustee/deal/0.2/payload.d.ts +4 -4
  68. package/dist/vta/pcs/trustee/deal/0.2/payload.js +1 -1
  69. package/dist/vta/pcs/trustee/deal/0.3/payload.d.ts +4 -4
  70. package/dist/vta/pcs/trustee/deal/0.3/payload.js +1 -1
  71. package/dist/vta/pcs/trustee/deal/0.4/payload.d.ts +13 -2
  72. package/dist/vta/pcs/trustee/deal/0.4/payload.d.ts.map +1 -1
  73. package/dist/vta/pcs/trustee/deal/0.4/payload.js +1 -1
  74. package/dist/vta/pcs/trustee/deal/0.4/payload.js.map +1 -1
  75. package/dist/vta/pcs/trustee/deal/0.5/payload.d.ts +1966 -0
  76. package/dist/vta/pcs/trustee/deal/0.5/payload.d.ts.map +1 -0
  77. package/dist/vta/pcs/trustee/deal/0.5/payload.js +1175 -0
  78. package/dist/vta/pcs/trustee/deal/0.5/payload.js.map +1 -0
  79. package/dist/vta/pcs/trustee/enrol/0.1/payload.d.ts +4 -4
  80. package/dist/vta/pcs/trustee/enrol/0.1/payload.js +1 -1
  81. package/dist/vta/pcs/trustee/enrol/0.2/payload.d.ts +4 -4
  82. package/dist/vta/pcs/trustee/enrol/0.2/payload.js +1 -1
  83. package/dist/vta/pcs/trustee/enrol/0.3/payload.d.ts +13 -2
  84. package/dist/vta/pcs/trustee/enrol/0.3/payload.d.ts.map +1 -1
  85. package/dist/vta/pcs/trustee/enrol/0.3/payload.js +1 -1
  86. package/dist/vta/pcs/trustee/enrol/0.3/payload.js.map +1 -1
  87. package/dist/vta/pcs/trustee/enrol/0.4/payload.d.ts +1890 -0
  88. package/dist/vta/pcs/trustee/enrol/0.4/payload.d.ts.map +1 -0
  89. package/dist/vta/pcs/trustee/enrol/0.4/payload.js +1138 -0
  90. package/dist/vta/pcs/trustee/enrol/0.4/payload.js.map +1 -0
  91. package/dist/vta/pcs/trustee/justify/0.2/payload.d.ts +4 -4
  92. package/dist/vta/pcs/trustee/justify/0.2/payload.js +1 -1
  93. package/dist/vta/pcs/trustee/justify/0.3/payload.d.ts +4 -4
  94. package/dist/vta/pcs/trustee/justify/0.3/payload.js +1 -1
  95. package/dist/vta/pcs/trustee/justify/0.4/payload.d.ts +13 -2
  96. package/dist/vta/pcs/trustee/justify/0.4/payload.d.ts.map +1 -1
  97. package/dist/vta/pcs/trustee/justify/0.4/payload.js +1 -1
  98. package/dist/vta/pcs/trustee/justify/0.4/payload.js.map +1 -1
  99. package/dist/vta/pcs/trustee/justify/0.5/payload.d.ts +2001 -0
  100. package/dist/vta/pcs/trustee/justify/0.5/payload.d.ts.map +1 -0
  101. package/dist/vta/pcs/trustee/justify/0.5/payload.js +1193 -0
  102. package/dist/vta/pcs/trustee/justify/0.5/payload.js.map +1 -0
  103. package/dist/vta/pcs/trustee/keys/0.2/payload.d.ts +4 -4
  104. package/dist/vta/pcs/trustee/keys/0.2/payload.js +1 -1
  105. package/dist/vta/pcs/trustee/keys/0.3/payload.d.ts +4 -4
  106. package/dist/vta/pcs/trustee/keys/0.3/payload.js +1 -1
  107. package/dist/vta/pcs/trustee/keys/0.4/payload.d.ts +13 -2
  108. package/dist/vta/pcs/trustee/keys/0.4/payload.d.ts.map +1 -1
  109. package/dist/vta/pcs/trustee/keys/0.4/payload.js +1 -1
  110. package/dist/vta/pcs/trustee/keys/0.4/payload.js.map +1 -1
  111. package/dist/vta/pcs/trustee/keys/0.5/payload.d.ts +2046 -0
  112. package/dist/vta/pcs/trustee/keys/0.5/payload.d.ts.map +1 -0
  113. package/dist/vta/pcs/trustee/keys/0.5/payload.js +1213 -0
  114. package/dist/vta/pcs/trustee/keys/0.5/payload.js.map +1 -0
  115. package/dist/vta/pcs/trustee/read/0.1/payload.d.ts +4 -4
  116. package/dist/vta/pcs/trustee/read/0.1/payload.js +1 -1
  117. package/dist/vta/pcs/trustee/read/0.2/payload.d.ts +4 -4
  118. package/dist/vta/pcs/trustee/read/0.2/payload.js +1 -1
  119. package/dist/vta/pcs/trustee/read/0.3/payload.d.ts +14 -2
  120. package/dist/vta/pcs/trustee/read/0.3/payload.d.ts.map +1 -1
  121. package/dist/vta/pcs/trustee/read/0.3/payload.js +1 -1
  122. package/dist/vta/pcs/trustee/read/0.3/payload.js.map +1 -1
  123. package/dist/vta/pcs/trustee/read/0.4/payload.d.ts +540 -0
  124. package/dist/vta/pcs/trustee/read/0.4/payload.d.ts.map +1 -0
  125. package/dist/vta/pcs/trustee/read/0.4/payload.js +304 -0
  126. package/dist/vta/pcs/trustee/read/0.4/payload.js.map +1 -0
  127. package/dist/vta/pcs/vote/0.1/payload.d.ts +4 -4
  128. package/dist/vta/pcs/vote/0.1/payload.js +1 -1
  129. package/dist/vta/pcs/vote/0.2/payload.d.ts +4 -4
  130. package/dist/vta/pcs/vote/0.2/payload.js +1 -1
  131. package/dist/vta/pcs/vote/0.3/payload.d.ts +13 -2
  132. package/dist/vta/pcs/vote/0.3/payload.d.ts.map +1 -1
  133. package/dist/vta/pcs/vote/0.3/payload.js +1 -1
  134. package/dist/vta/pcs/vote/0.3/payload.js.map +1 -1
  135. package/dist/vta/pcs/vote/0.4/payload.d.ts +2342 -0
  136. package/dist/vta/pcs/vote/0.4/payload.d.ts.map +1 -0
  137. package/dist/vta/pcs/vote/0.4/payload.js +1380 -0
  138. package/dist/vta/pcs/vote/0.4/payload.js.map +1 -0
  139. package/dist/vta/pcs/vote-encrypted/0.2/payload.d.ts +4 -4
  140. package/dist/vta/pcs/vote-encrypted/0.2/payload.js +1 -1
  141. package/dist/vta/pcs/vote-encrypted/0.3/payload.d.ts +4 -4
  142. package/dist/vta/pcs/vote-encrypted/0.3/payload.js +1 -1
  143. package/dist/vta/pcs/vote-encrypted/0.4/payload.d.ts +13 -2
  144. package/dist/vta/pcs/vote-encrypted/0.4/payload.d.ts.map +1 -1
  145. package/dist/vta/pcs/vote-encrypted/0.4/payload.js +1 -1
  146. package/dist/vta/pcs/vote-encrypted/0.4/payload.js.map +1 -1
  147. package/dist/vta/pcs/vote-encrypted/0.5/payload.d.ts +2362 -0
  148. package/dist/vta/pcs/vote-encrypted/0.5/payload.d.ts.map +1 -0
  149. package/dist/vta/pcs/vote-encrypted/0.5/payload.js +1398 -0
  150. package/dist/vta/pcs/vote-encrypted/0.5/payload.js.map +1 -0
  151. package/dist/vta/pcs/voter/accept/0.1/payload.d.ts +3 -3
  152. package/dist/vta/pcs/voter/accept/0.1/payload.js +1 -1
  153. package/dist/vta/pcs/voter/read/0.1/payload.d.ts +4 -4
  154. package/dist/vta/pcs/voter/read/0.1/payload.js +1 -1
  155. package/dist/vta/pcs/voter/read/0.2/payload.d.ts +4 -4
  156. package/dist/vta/pcs/voter/read/0.2/payload.js +1 -1
  157. package/dist/vta/pcs/voter/read/0.3/payload.d.ts +14 -2
  158. package/dist/vta/pcs/voter/read/0.3/payload.d.ts.map +1 -1
  159. package/dist/vta/pcs/voter/read/0.3/payload.js +1 -1
  160. package/dist/vta/pcs/voter/read/0.3/payload.js.map +1 -1
  161. package/dist/vta/pcs/voter/read/0.4/payload.d.ts +515 -0
  162. package/dist/vta/pcs/voter/read/0.4/payload.d.ts.map +1 -0
  163. package/dist/vta/pcs/voter/read/0.4/payload.js +285 -0
  164. package/dist/vta/pcs/voter/read/0.4/payload.js.map +1 -0
  165. package/dist/vta/pcs/voter/read/0.5/payload.d.ts +549 -0
  166. package/dist/vta/pcs/voter/read/0.5/payload.d.ts.map +1 -0
  167. package/dist/vta/pcs/voter/read/0.5/payload.js +300 -0
  168. package/dist/vta/pcs/voter/read/0.5/payload.js.map +1 -0
  169. package/dist/vta/pcs/voter/read/0.6/payload.d.ts +561 -0
  170. package/dist/vta/pcs/voter/read/0.6/payload.d.ts.map +1 -0
  171. package/dist/vta/pcs/voter/read/0.6/payload.js +312 -0
  172. package/dist/vta/pcs/voter/read/0.6/payload.js.map +1 -0
  173. package/dist/vta/pcs/voter/register/0.1/payload.d.ts +4 -4
  174. package/dist/vta/pcs/voter/register/0.1/payload.js +1 -1
  175. package/dist/vta/pcs/voter/register/0.2/payload.d.ts +4 -4
  176. package/dist/vta/pcs/voter/register/0.2/payload.js +1 -1
  177. package/dist/vta/pcs/voter/register/0.3/payload.d.ts +14 -2
  178. package/dist/vta/pcs/voter/register/0.3/payload.d.ts.map +1 -1
  179. package/dist/vta/pcs/voter/register/0.3/payload.js +1 -1
  180. package/dist/vta/pcs/voter/register/0.3/payload.js.map +1 -1
  181. package/dist/vta/pcs/voter/register/0.4/payload.d.ts +2324 -0
  182. package/dist/vta/pcs/voter/register/0.4/payload.d.ts.map +1 -0
  183. package/dist/vta/pcs/voter/register/0.4/payload.js +1352 -0
  184. package/dist/vta/pcs/voter/register/0.4/payload.js.map +1 -0
  185. package/dist/vta/pcs/voter/register/0.5/payload.d.ts +2312 -0
  186. package/dist/vta/pcs/voter/register/0.5/payload.d.ts.map +1 -0
  187. package/dist/vta/pcs/voter/register/0.5/payload.js +1352 -0
  188. package/dist/vta/pcs/voter/register/0.5/payload.js.map +1 -0
  189. package/dist/vtc/_shared/0.6/network-membership.d.ts +16 -0
  190. package/dist/vtc/_shared/0.6/network-membership.d.ts.map +1 -0
  191. package/dist/vtc/_shared/0.6/network-membership.js +6 -0
  192. package/dist/vtc/_shared/0.6/network-membership.js.map +1 -0
  193. package/dist/vtc/elections/create/0.1/payload.d.ts +4 -4
  194. package/dist/vtc/elections/create/0.1/payload.js +1 -1
  195. package/dist/vtc/elections/create/0.2/payload.d.ts +4 -4
  196. package/dist/vtc/elections/create/0.2/payload.js +1 -1
  197. package/dist/vtc/elections/create/0.3/payload.d.ts +4 -4
  198. package/dist/vtc/elections/create/0.3/payload.js +1 -1
  199. package/dist/vtc/elections/create/0.4/payload.d.ts +14 -2
  200. package/dist/vtc/elections/create/0.4/payload.d.ts.map +1 -1
  201. package/dist/vtc/elections/create/0.4/payload.js +1 -1
  202. package/dist/vtc/elections/create/0.4/payload.js.map +1 -1
  203. package/dist/vtc/elections/create/0.5/payload.d.ts +1790 -0
  204. package/dist/vtc/elections/create/0.5/payload.d.ts.map +1 -0
  205. package/dist/vtc/elections/create/0.5/payload.js +1092 -0
  206. package/dist/vtc/elections/create/0.5/payload.js.map +1 -0
  207. package/dist/vtc/elections/list/0.1/payload.d.ts +4 -4
  208. package/dist/vtc/elections/list/0.1/payload.js +1 -1
  209. package/dist/vtc/elections/list/0.2/payload.d.ts +4 -4
  210. package/dist/vtc/elections/list/0.2/payload.js +1 -1
  211. package/dist/vtc/elections/list/0.3/payload.d.ts +14 -2
  212. package/dist/vtc/elections/list/0.3/payload.d.ts.map +1 -1
  213. package/dist/vtc/elections/list/0.3/payload.js +1 -1
  214. package/dist/vtc/elections/list/0.3/payload.js.map +1 -1
  215. package/dist/vtc/elections/list/0.4/payload.d.ts +547 -0
  216. package/dist/vtc/elections/list/0.4/payload.d.ts.map +1 -0
  217. package/dist/vtc/elections/list/0.4/payload.js +304 -0
  218. package/dist/vtc/elections/list/0.4/payload.js.map +1 -0
  219. package/dist/vtc/elections/list/0.5/payload.d.ts +535 -0
  220. package/dist/vtc/elections/list/0.5/payload.d.ts.map +1 -0
  221. package/dist/vtc/elections/list/0.5/payload.js +304 -0
  222. package/dist/vtc/elections/list/0.5/payload.js.map +1 -0
  223. package/dist/vtc/elections/show/0.1/payload.d.ts +4 -4
  224. package/dist/vtc/elections/show/0.1/payload.js +1 -1
  225. package/dist/vtc/elections/show/0.2/payload.d.ts +4 -4
  226. package/dist/vtc/elections/show/0.2/payload.js +1 -1
  227. package/dist/vtc/elections/show/0.3/payload.d.ts +14 -2
  228. package/dist/vtc/elections/show/0.3/payload.d.ts.map +1 -1
  229. package/dist/vtc/elections/show/0.3/payload.js +1 -1
  230. package/dist/vtc/elections/show/0.3/payload.js.map +1 -1
  231. package/dist/vtc/elections/show/0.4/payload.d.ts +3290 -0
  232. package/dist/vtc/elections/show/0.4/payload.d.ts.map +1 -0
  233. package/dist/vtc/elections/show/0.4/payload.js +1931 -0
  234. package/dist/vtc/elections/show/0.4/payload.js.map +1 -0
  235. package/dist/vtc/elections/show/0.5/payload.d.ts +3318 -0
  236. package/dist/vtc/elections/show/0.5/payload.d.ts.map +1 -0
  237. package/dist/vtc/elections/show/0.5/payload.js +1946 -0
  238. package/dist/vtc/elections/show/0.5/payload.js.map +1 -0
  239. package/dist/vtc/elections/show/0.6/payload.d.ts +3306 -0
  240. package/dist/vtc/elections/show/0.6/payload.d.ts.map +1 -0
  241. package/dist/vtc/elections/show/0.6/payload.js +1946 -0
  242. package/dist/vtc/elections/show/0.6/payload.js.map +1 -0
  243. package/dist/vtc/elections/tickets/issue/0.1/payload.d.ts +14 -2
  244. package/dist/vtc/elections/tickets/issue/0.1/payload.d.ts.map +1 -1
  245. package/dist/vtc/elections/tickets/issue/0.1/payload.js +1 -1
  246. package/dist/vtc/elections/tickets/issue/0.1/payload.js.map +1 -1
  247. package/dist/vtc/elections/tickets/issue/0.2/payload.d.ts +651 -0
  248. package/dist/vtc/elections/tickets/issue/0.2/payload.d.ts.map +1 -0
  249. package/dist/vtc/elections/tickets/issue/0.2/payload.js +347 -0
  250. package/dist/vtc/elections/tickets/issue/0.2/payload.js.map +1 -0
  251. package/dist/vtc/elections/tickets/issue/0.3/payload.d.ts +639 -0
  252. package/dist/vtc/elections/tickets/issue/0.3/payload.d.ts.map +1 -0
  253. package/dist/vtc/elections/tickets/issue/0.3/payload.js +347 -0
  254. package/dist/vtc/elections/tickets/issue/0.3/payload.js.map +1 -0
  255. package/dist/vtc/networks/evidence/0.1/payload.d.ts +412 -0
  256. package/dist/vtc/networks/evidence/0.1/payload.d.ts.map +1 -0
  257. package/dist/vtc/networks/evidence/0.1/payload.js +233 -0
  258. package/dist/vtc/networks/evidence/0.1/payload.js.map +1 -0
  259. package/dist/vtc/networks/groups/register/0.1/payload.d.ts +680 -0
  260. package/dist/vtc/networks/groups/register/0.1/payload.d.ts.map +1 -0
  261. package/dist/vtc/networks/groups/register/0.1/payload.js +401 -0
  262. package/dist/vtc/networks/groups/register/0.1/payload.js.map +1 -0
  263. package/dist/vtc/networks/join/0.1/payload.d.ts +760 -0
  264. package/dist/vtc/networks/join/0.1/payload.d.ts.map +1 -0
  265. package/dist/vtc/networks/join/0.1/payload.js +445 -0
  266. package/dist/vtc/networks/join/0.1/payload.js.map +1 -0
  267. package/dist/vtc/networks/leave/0.1/payload.d.ts +664 -0
  268. package/dist/vtc/networks/leave/0.1/payload.d.ts.map +1 -0
  269. package/dist/vtc/networks/leave/0.1/payload.js +393 -0
  270. package/dist/vtc/networks/leave/0.1/payload.js.map +1 -0
  271. package/dist/vtc/networks/list/0.1/payload.d.ts +713 -0
  272. package/dist/vtc/networks/list/0.1/payload.d.ts.map +1 -0
  273. package/dist/vtc/networks/list/0.1/payload.js +417 -0
  274. package/dist/vtc/networks/list/0.1/payload.js.map +1 -0
  275. package/dist/vtc/networks/notice/0.1/payload.d.ts +210 -0
  276. package/dist/vtc/networks/notice/0.1/payload.d.ts.map +1 -0
  277. package/dist/vtc/networks/notice/0.1/payload.js +116 -0
  278. package/dist/vtc/networks/notice/0.1/payload.js.map +1 -0
  279. package/dist/vtc/networks/repudiate/0.1/payload.d.ts +680 -0
  280. package/dist/vtc/networks/repudiate/0.1/payload.d.ts.map +1 -0
  281. package/dist/vtc/networks/repudiate/0.1/payload.js +400 -0
  282. package/dist/vtc/networks/repudiate/0.1/payload.js.map +1 -0
  283. package/dist/vtc/networks/show/0.1/payload.d.ts +650 -0
  284. package/dist/vtc/networks/show/0.1/payload.d.ts.map +1 -0
  285. package/dist/vtc/networks/show/0.1/payload.js +388 -0
  286. package/dist/vtc/networks/show/0.1/payload.js.map +1 -0
  287. package/package.json +1 -1
  288. package/src/_extends.ts +5 -0
  289. package/src/_shared/components.ts +293 -0
  290. package/src/index.ts +117 -0
  291. package/src/notifications/_shared/0.1/notification.ts +23 -0
  292. package/src/notifications/notify/0.1/payload.ts +420 -0
  293. package/src/notifications/relay/0.1/payload.ts +220 -0
  294. package/src/voting/_shared/0.4/voting.ts +17 -0
  295. package/src/voting/election/register/0.1/payload.ts +5 -5
  296. package/src/voting/election/register/0.2/payload.ts +5 -5
  297. package/src/voting/election/register/0.3/payload.ts +14 -3
  298. package/src/voting/election/register/0.4/payload.ts +1307 -0
  299. package/src/voting/election/show/0.1/payload.ts +5 -5
  300. package/src/voting/election/show/0.2/payload.ts +5 -5
  301. package/src/voting/election/show/0.3/payload.ts +14 -3
  302. package/src/voting/election/show/0.4/payload.ts +1249 -0
  303. package/src/vta/notifications/_shared/0.1/held-notification.ts +17 -0
  304. package/src/vta/notifications/dismiss/0.1/payload.ts +214 -0
  305. package/src/vta/notifications/list/0.1/payload.ts +688 -0
  306. package/src/vta/notifications/show/0.1/payload.ts +630 -0
  307. package/src/vta/pcs/trustee/deal/0.2/payload.ts +5 -5
  308. package/src/vta/pcs/trustee/deal/0.3/payload.ts +5 -5
  309. package/src/vta/pcs/trustee/deal/0.4/payload.ts +14 -3
  310. package/src/vta/pcs/trustee/deal/0.5/payload.ts +1248 -0
  311. package/src/vta/pcs/trustee/enrol/0.1/payload.ts +5 -5
  312. package/src/vta/pcs/trustee/enrol/0.2/payload.ts +5 -5
  313. package/src/vta/pcs/trustee/enrol/0.3/payload.ts +14 -3
  314. package/src/vta/pcs/trustee/enrol/0.4/payload.ts +1207 -0
  315. package/src/vta/pcs/trustee/justify/0.2/payload.ts +5 -5
  316. package/src/vta/pcs/trustee/justify/0.3/payload.ts +5 -5
  317. package/src/vta/pcs/trustee/justify/0.4/payload.ts +14 -3
  318. package/src/vta/pcs/trustee/justify/0.5/payload.ts +1267 -0
  319. package/src/vta/pcs/trustee/keys/0.2/payload.ts +5 -5
  320. package/src/vta/pcs/trustee/keys/0.3/payload.ts +5 -5
  321. package/src/vta/pcs/trustee/keys/0.4/payload.ts +14 -3
  322. package/src/vta/pcs/trustee/keys/0.5/payload.ts +1294 -0
  323. package/src/vta/pcs/trustee/read/0.1/payload.ts +5 -5
  324. package/src/vta/pcs/trustee/read/0.2/payload.ts +5 -5
  325. package/src/vta/pcs/trustee/read/0.3/payload.ts +15 -3
  326. package/src/vta/pcs/trustee/read/0.4/payload.ts +385 -0
  327. package/src/vta/pcs/vote/0.1/payload.ts +5 -5
  328. package/src/vta/pcs/vote/0.2/payload.ts +5 -5
  329. package/src/vta/pcs/vote/0.3/payload.ts +14 -3
  330. package/src/vta/pcs/vote/0.4/payload.ts +1465 -0
  331. package/src/vta/pcs/vote-encrypted/0.2/payload.ts +5 -5
  332. package/src/vta/pcs/vote-encrypted/0.3/payload.ts +5 -5
  333. package/src/vta/pcs/vote-encrypted/0.4/payload.ts +14 -3
  334. package/src/vta/pcs/vote-encrypted/0.5/payload.ts +1469 -0
  335. package/src/vta/pcs/voter/accept/0.1/payload.ts +2 -2
  336. package/src/vta/pcs/voter/read/0.1/payload.ts +5 -5
  337. package/src/vta/pcs/voter/read/0.2/payload.ts +5 -5
  338. package/src/vta/pcs/voter/read/0.3/payload.ts +15 -3
  339. package/src/vta/pcs/voter/read/0.4/payload.ts +375 -0
  340. package/src/vta/pcs/voter/read/0.5/payload.ts +394 -0
  341. package/src/vta/pcs/voter/read/0.6/payload.ts +398 -0
  342. package/src/vta/pcs/voter/register/0.1/payload.ts +5 -5
  343. package/src/vta/pcs/voter/register/0.2/payload.ts +5 -5
  344. package/src/vta/pcs/voter/register/0.3/payload.ts +15 -3
  345. package/src/vta/pcs/voter/register/0.4/payload.ts +1478 -0
  346. package/src/vta/pcs/voter/register/0.5/payload.ts +1466 -0
  347. package/src/vtc/_shared/0.6/network-membership.ts +17 -0
  348. package/src/vtc/elections/create/0.1/payload.ts +5 -5
  349. package/src/vtc/elections/create/0.2/payload.ts +5 -5
  350. package/src/vtc/elections/create/0.3/payload.ts +5 -5
  351. package/src/vtc/elections/create/0.4/payload.ts +15 -3
  352. package/src/vtc/elections/create/0.5/payload.ts +1141 -0
  353. package/src/vtc/elections/list/0.1/payload.ts +5 -5
  354. package/src/vtc/elections/list/0.2/payload.ts +5 -5
  355. package/src/vtc/elections/list/0.3/payload.ts +15 -3
  356. package/src/vtc/elections/list/0.4/payload.ts +399 -0
  357. package/src/vtc/elections/list/0.5/payload.ts +387 -0
  358. package/src/vtc/elections/show/0.1/payload.ts +5 -5
  359. package/src/vtc/elections/show/0.2/payload.ts +5 -5
  360. package/src/vtc/elections/show/0.3/payload.ts +15 -3
  361. package/src/vtc/elections/show/0.4/payload.ts +2043 -0
  362. package/src/vtc/elections/show/0.5/payload.ts +2062 -0
  363. package/src/vtc/elections/show/0.6/payload.ts +2050 -0
  364. package/src/vtc/elections/tickets/issue/0.1/payload.ts +15 -3
  365. package/src/vtc/elections/tickets/issue/0.2/payload.ts +441 -0
  366. package/src/vtc/elections/tickets/issue/0.3/payload.ts +429 -0
  367. package/src/vtc/networks/evidence/0.1/payload.ts +290 -0
  368. package/src/vtc/networks/groups/register/0.1/payload.ts +446 -0
  369. package/src/vtc/networks/join/0.1/payload.ts +492 -0
  370. package/src/vtc/networks/leave/0.1/payload.ts +434 -0
  371. package/src/vtc/networks/list/0.1/payload.ts +463 -0
  372. package/src/vtc/networks/notice/0.1/payload.ts +172 -0
  373. package/src/vtc/networks/repudiate/0.1/payload.ts +445 -0
  374. package/src/vtc/networks/show/0.1/payload.ts +425 -0
@@ -595,6 +595,10 @@ export type ConsumerKind_DeviceV0_1 = Companion_DeviceV0_1 | Service_DeviceV0_1;
595
595
  * Discriminator: is this consumer a user-driven Companion or a headless Service?
596
596
  */
597
597
  export type ConsumerKind_DeviceV0_2 = Companion_DeviceV0_2 | Service_DeviceV0_2;
598
+ /**
599
+ * The trust context the notification is held in: the one the addressed DID belongs to.
600
+ */
601
+ export type ContextId = string;
598
602
  /**
599
603
  * Opaque identifier of one of the maintainer's contexts, compared by the maintainer's own ancestry predicate. Its grammar is the maintainer's.
600
604
  */
@@ -703,6 +707,10 @@ export type Did_GitNsV0_1 = string;
703
707
  * 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.
704
708
  */
705
709
  export type Did_GitNsV0_3 = string;
710
+ /**
711
+ * A DID.
712
+ */
713
+ export type Did_NotificationsV0_1 = string;
706
714
  /**
707
715
  * 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.
708
716
  *
@@ -1062,6 +1070,10 @@ export type Key_VtaV0_1 = string;
1062
1070
  * The interaction kind: a 1:1 direct message, a multi-party group, or a broadcast channel.
1063
1071
  */
1064
1072
  export type Kind = "dm" | "group" | "channel";
1073
+ /**
1074
+ * 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).
1075
+ */
1076
+ export type Kind_NotificationsV0_1 = string;
1065
1077
  /**
1066
1078
  * A BCP 47 language tag, e.g. `en`, `de-AT`. Compared case-insensitively.
1067
1079
  */
@@ -1174,6 +1186,10 @@ export type NoteId = string;
1174
1186
  * The note, as plain text. Read only by holders of `vtc.directory.notes`. A reader MUST NOT treat it as instructions.
1175
1187
  */
1176
1188
  export type NoteText = string;
1189
+ /**
1190
+ * 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.
1191
+ */
1192
+ export type NotificationId = string;
1177
1193
  /**
1178
1194
  * 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.
1179
1195
  */
@@ -1558,6 +1574,10 @@ export type RecordEvidence = RecordEvidenceRecord | RecordEvidenceCredential;
1558
1574
  * @maxItems 32
1559
1575
  */
1560
1576
  export type RecordEvidenceList = [RecordEvidence, ...RecordEvidence[]];
1577
+ /**
1578
+ * 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.
1579
+ */
1580
+ export type RecordId = string;
1561
1581
  /**
1562
1582
  * 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.
1563
1583
  *
@@ -1925,6 +1945,14 @@ export type SiteTarget_VaultV0_2 = WebOrigin_VaultV0_2 | Did_VaultV0_2 | IosApp_
1925
1945
  * Other values are the holder's or the producer's own and carry no meaning a maintainer interprets.
1926
1946
  */
1927
1947
  export type Slot = string;
1948
+ /**
1949
+ * 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).
1950
+ */
1951
+ export type State = "active" | "dismissed";
1952
+ /**
1953
+ * 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).
1954
+ */
1955
+ export type Status = "available" | "withdrawn";
1928
1956
  /**
1929
1957
  * How the community authenticates to a config's backend. Absent on a `local` config, which needs none.
1930
1958
  *
@@ -7841,6 +7869,32 @@ export interface Disclosure {
7841
7869
  */
7842
7870
  coercionResistance: false;
7843
7871
  }
7872
+ /**
7873
+ * 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`).
7874
+ */
7875
+ export interface Disclosure_VotingV0_4 {
7876
+ /**
7877
+ * The ballot box's DID.
7878
+ */
7879
+ ballotBox: string;
7880
+ /**
7881
+ * Who operates the ballot box, as the community names them.
7882
+ */
7883
+ ballotBoxOperator: string;
7884
+ /**
7885
+ * Whether the party operating the community's VTC also operates the ballot box.
7886
+ */
7887
+ sameOperator: boolean;
7888
+ trustees?: Trustees;
7889
+ boardVisibility: BoardVisibility;
7890
+ auditors: string[];
7891
+ revote: Revote;
7892
+ rollCredential?: RollCredentialDisclosure;
7893
+ /**
7894
+ * Always false: a voter can prove how they voted, so the community cannot protect a member against being made to vote a certain way.
7895
+ */
7896
+ coercionResistance: false;
7897
+ }
7844
7898
  /**
7845
7899
  * The member's three discoverability decisions, made separately.
7846
7900
  */
@@ -8893,6 +8947,45 @@ export interface GroupMember {
8893
8947
  */
8894
8948
  credentialValidUntil?: string;
8895
8949
  }
8950
+ /**
8951
+ * 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.
8952
+ */
8953
+ export interface HeldNotification {
8954
+ recordId: RecordId;
8955
+ contextId: ContextId;
8956
+ /**
8957
+ * The principal's DID the notification, or the relay that delivered it, was addressed to.
8958
+ */
8959
+ addressee: Did_NotificationsV0_1;
8960
+ /**
8961
+ * The issuer of the notifications/notify document: who said the thing exists.
8962
+ */
8963
+ originator: Did_NotificationsV0_1;
8964
+ /**
8965
+ * 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).
8966
+ *
8967
+ * @maxItems 4
8968
+ */
8969
+ relayedBy:
8970
+ | []
8971
+ | [Did_NotificationsV0_1]
8972
+ | [Did_NotificationsV0_1, Did_NotificationsV0_1]
8973
+ | [Did_NotificationsV0_1, Did_NotificationsV0_1, Did_NotificationsV0_1]
8974
+ | [Did_NotificationsV0_1, Did_NotificationsV0_1, Did_NotificationsV0_1, Did_NotificationsV0_1];
8975
+ /**
8976
+ * The notification's members at the revision held.
8977
+ */
8978
+ notification: Notification;
8979
+ state: State;
8980
+ /**
8981
+ * When the VTA accepted the revision held.
8982
+ */
8983
+ receivedAt: string;
8984
+ /**
8985
+ * When the principal dismissed it. Present exactly when `state` is `dismissed`.
8986
+ */
8987
+ dismissedAt?: string;
8988
+ }
8896
8989
  /**
8897
8990
  * 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.
8898
8991
  */
@@ -9817,6 +9910,51 @@ export interface Manifest_VotingV0_3 {
9817
9910
  */
9818
9911
  textReleaseThreshold: number;
9819
9912
  }
9913
+ /**
9914
+ * 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).
9915
+ */
9916
+ export interface Manifest_VotingV0_4 {
9917
+ electionId: ElectionId;
9918
+ /**
9919
+ * The community's DID.
9920
+ */
9921
+ community: string;
9922
+ title?: string;
9923
+ description?: string;
9924
+ /**
9925
+ * @minItems 1
9926
+ * @maxItems 128
9927
+ */
9928
+ questions: [Question, ...Question[]];
9929
+ secrecy: SecrecyLevel;
9930
+ roll: RollRule_VotingV0_4;
9931
+ registrationOpensAt: string;
9932
+ votingOpensAt: string;
9933
+ votingClosesAt: string;
9934
+ revote: Revote;
9935
+ board: {
9936
+ visibility: BoardVisibility;
9937
+ auditors: string[];
9938
+ };
9939
+ /**
9940
+ * The DID of the voting service that holds the board.
9941
+ */
9942
+ ballotBox: string;
9943
+ trustees?: Trustees;
9944
+ /**
9945
+ * Whether the community treats the result as deciding something; creating a binding election takes another administrator's consent (VTI-VOT-081).
9946
+ */
9947
+ binding: boolean;
9948
+ allowEarlyClose: boolean;
9949
+ /**
9950
+ * Open elections only: whether running totals may be read while voting is open (VTI-VOT-061).
9951
+ */
9952
+ resultsBeforeClose: boolean;
9953
+ /**
9954
+ * 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).
9955
+ */
9956
+ textReleaseThreshold: number;
9957
+ }
9820
9958
  /**
9821
9959
  * 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.
9822
9960
  */
@@ -10266,6 +10404,46 @@ export interface MonitorFilter {
10266
10404
  */
10267
10405
  failuresOnly?: boolean;
10268
10406
  }
10407
+ export interface NetworkMembership {
10408
+ /**
10409
+ * The network's DID.
10410
+ */
10411
+ network: string;
10412
+ /**
10413
+ * Where the network's API is reached: the base its `/.well-known/vtn` profile is served under.
10414
+ */
10415
+ url: string;
10416
+ /**
10417
+ * The network's name, as its profile gives it.
10418
+ */
10419
+ name?: string;
10420
+ /**
10421
+ * `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.
10422
+ */
10423
+ state: "acknowledged" | "repudiated" | "departed";
10424
+ /**
10425
+ * The network's listing credential naming the community, as the community verified it.
10426
+ */
10427
+ listing: {};
10428
+ /**
10429
+ * The network's membership grant (VMC), once the community acknowledged.
10430
+ */
10431
+ grant?: {};
10432
+ /**
10433
+ * The community's acknowledgement (VMC carrying the grant's digest).
10434
+ */
10435
+ acknowledgement?: {};
10436
+ /**
10437
+ * The community's repudiation (VSC) of the listing, or — on departure — of the grant.
10438
+ */
10439
+ repudiation?: {};
10440
+ /**
10441
+ * @maxItems 64
10442
+ */
10443
+ groups: RegisteredGroup[];
10444
+ joinedAt?: string;
10445
+ updatedAt: string;
10446
+ }
10269
10447
  /**
10270
10448
  * 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.
10271
10449
  */
@@ -10283,6 +10461,35 @@ export interface NewCardDefaults {
10283
10461
  */
10284
10462
  introductions?: Introductions;
10285
10463
  }
10464
+ /**
10465
+ * 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.
10466
+ */
10467
+ export interface Notification {
10468
+ notificationId: NotificationId;
10469
+ /**
10470
+ * 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.
10471
+ */
10472
+ revision: number;
10473
+ kind: Kind_NotificationsV0_1;
10474
+ subject: Subject;
10475
+ /**
10476
+ * 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.
10477
+ */
10478
+ audience: Did_NotificationsV0_1;
10479
+ status: Status;
10480
+ /**
10481
+ * 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).
10482
+ */
10483
+ relayable: boolean;
10484
+ /**
10485
+ * When the thing can first be acted on — for an election, when voting opens. Absent: it can be acted on now.
10486
+ */
10487
+ validFrom?: string;
10488
+ /**
10489
+ * 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.
10490
+ */
10491
+ validUntil?: string;
10492
+ }
10286
10493
  /**
10287
10494
  * A community's offer of admission to a room it owns, as the member it is addressed to sees it.
10288
10495
  */
@@ -11466,6 +11673,33 @@ export interface RegisteredCredential {
11466
11673
  */
11467
11674
  lastUsedAt?: string;
11468
11675
  }
11676
+ export interface RegisteredGroup {
11677
+ /**
11678
+ * A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.
11679
+ */
11680
+ role: string;
11681
+ /**
11682
+ * The community's identifier for the group.
11683
+ */
11684
+ groupId: string;
11685
+ /**
11686
+ * The group's own DID, which the registration names as its subject.
11687
+ */
11688
+ groupDid: string;
11689
+ /**
11690
+ * Where the network delivers broadcasts for the group: the community's relay endpoint for it.
11691
+ */
11692
+ endpoint: string;
11693
+ /**
11694
+ * The community's `servesRole` statement (VSC): the group serves `role` in the network.
11695
+ */
11696
+ registration: {};
11697
+ /**
11698
+ * The network's `groupRegistered` statement (VSC), bound to the registration's digest.
11699
+ */
11700
+ acceptance: {};
11701
+ registeredAt: string;
11702
+ }
11469
11703
  /**
11470
11704
  * 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.
11471
11705
  */
@@ -11905,6 +12139,16 @@ export interface RightRecord_GitNsV0_6 {
11905
12139
  */
11906
12140
  breakGlass?: BreakGlass_GitNsV0_6;
11907
12141
  }
12142
+ export interface RoleAssignment {
12143
+ /**
12144
+ * A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.
12145
+ */
12146
+ role: string;
12147
+ /**
12148
+ * The community group to serve the role.
12149
+ */
12150
+ groupId: string;
12151
+ }
11908
12152
  /**
11909
12153
  * 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.
11910
12154
  */
@@ -12070,6 +12314,27 @@ export interface RoleSummary {
12070
12314
  */
12071
12315
  preRotationCommitments?: number;
12072
12316
  }
12317
+ /**
12318
+ * 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`.
12319
+ */
12320
+ export interface RollCredentialDisclosure {
12321
+ /**
12322
+ * The manifest's `roll.memberOf`.
12323
+ */
12324
+ memberOf: string;
12325
+ /**
12326
+ * `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).
12327
+ */
12328
+ memberOfKind: "thisCommunity" | "communityGroup" | "memberParty";
12329
+ /**
12330
+ * 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).
12331
+ */
12332
+ memberOfName?: string;
12333
+ /**
12334
+ * 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.
12335
+ */
12336
+ presenterDisclosed?: true;
12337
+ }
12073
12338
  /**
12074
12339
  * 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.
12075
12340
  */
@@ -12077,6 +12342,17 @@ export interface RollRule {
12077
12342
  rule: "members" | "membersAndListed" | "listed";
12078
12343
  listed?: string[];
12079
12344
  }
12345
+ /**
12346
+ * 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.
12347
+ */
12348
+ export interface RollRule_VotingV0_4 {
12349
+ rule: "members" | "membersAndListed" | "listed" | "credential";
12350
+ listed?: string[];
12351
+ /**
12352
+ * 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).
12353
+ */
12354
+ memberOf?: string;
12355
+ }
12080
12356
  /**
12081
12357
  * 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.
12082
12358
  */
@@ -13355,6 +13631,23 @@ export interface StreamDescriptor {
13355
13631
  expectedSizeBytes: ExpectedSizeBytes;
13356
13632
  expiresAt: ExpiresAt;
13357
13633
  }
13634
+ /**
13635
+ * 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`.
13636
+ */
13637
+ export interface Subject {
13638
+ /**
13639
+ * The DID of the party holding the thing — for an election, the community. The party a recipient sends `openWith` to.
13640
+ */
13641
+ heldBy: Did_NotificationsV0_1;
13642
+ /**
13643
+ * The thing's identifier at `heldBy`, in the form the `openWith` task takes it — for an election, its `electionId`.
13644
+ */
13645
+ id: string;
13646
+ /**
13647
+ * 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.
13648
+ */
13649
+ openWith: string;
13650
+ }
13358
13651
  /**
13359
13652
  * Withdraws a party: every credential naming them as subject or issuer whose `validFrom` is earlier than `revokedAt`.
13360
13653
  */