@openvtc/trust-tasks 0.28.7 → 0.28.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. package/CHANGELOG.md +157 -0
  2. package/dist/_extends.d.ts.map +1 -1
  3. package/dist/_extends.js +6 -0
  4. package/dist/_extends.js.map +1 -1
  5. package/dist/_shared/components.d.ts +492 -0
  6. package/dist/_shared/components.d.ts.map +1 -1
  7. package/dist/index.d.ts +150 -0
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +150 -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/rooms/keys/act/0.1/payload.d.ts +4 -4
  24. package/dist/rooms/keys/act/0.1/payload.d.ts.map +1 -1
  25. package/dist/rooms/keys/act/0.1/payload.js +1 -1
  26. package/dist/rooms/keys/act/0.1/payload.js.map +1 -1
  27. package/dist/rooms/keys/act/0.10/payload.d.ts +560 -0
  28. package/dist/rooms/keys/act/0.10/payload.d.ts.map +1 -0
  29. package/dist/rooms/keys/act/0.10/payload.js +319 -0
  30. package/dist/rooms/keys/act/0.10/payload.js.map +1 -0
  31. package/dist/rooms/keys/act/0.2/payload.d.ts +4 -4
  32. package/dist/rooms/keys/act/0.2/payload.d.ts.map +1 -1
  33. package/dist/rooms/keys/act/0.2/payload.js +1 -1
  34. package/dist/rooms/keys/act/0.2/payload.js.map +1 -1
  35. package/dist/rooms/keys/act/0.3/payload.d.ts +4 -4
  36. package/dist/rooms/keys/act/0.3/payload.d.ts.map +1 -1
  37. package/dist/rooms/keys/act/0.3/payload.js +1 -1
  38. package/dist/rooms/keys/act/0.3/payload.js.map +1 -1
  39. package/dist/rooms/keys/act/0.4/payload.d.ts +4 -4
  40. package/dist/rooms/keys/act/0.4/payload.d.ts.map +1 -1
  41. package/dist/rooms/keys/act/0.4/payload.js +1 -1
  42. package/dist/rooms/keys/act/0.4/payload.js.map +1 -1
  43. package/dist/rooms/keys/act/0.5/payload.d.ts +4 -4
  44. package/dist/rooms/keys/act/0.5/payload.d.ts.map +1 -1
  45. package/dist/rooms/keys/act/0.5/payload.js +1 -1
  46. package/dist/rooms/keys/act/0.5/payload.js.map +1 -1
  47. package/dist/rooms/keys/act/0.6/payload.d.ts +4 -4
  48. package/dist/rooms/keys/act/0.6/payload.d.ts.map +1 -1
  49. package/dist/rooms/keys/act/0.6/payload.js +1 -1
  50. package/dist/rooms/keys/act/0.6/payload.js.map +1 -1
  51. package/dist/rooms/keys/act/0.7/payload.d.ts +4 -4
  52. package/dist/rooms/keys/act/0.7/payload.d.ts.map +1 -1
  53. package/dist/rooms/keys/act/0.7/payload.js +1 -1
  54. package/dist/rooms/keys/act/0.7/payload.js.map +1 -1
  55. package/dist/rooms/keys/act/0.8/payload.d.ts +4 -4
  56. package/dist/rooms/keys/act/0.8/payload.d.ts.map +1 -1
  57. package/dist/rooms/keys/act/0.8/payload.js +1 -1
  58. package/dist/rooms/keys/act/0.8/payload.js.map +1 -1
  59. package/dist/rooms/keys/act/0.9/payload.d.ts +14 -2
  60. package/dist/rooms/keys/act/0.9/payload.d.ts.map +1 -1
  61. package/dist/rooms/keys/act/0.9/payload.js +1 -1
  62. package/dist/rooms/keys/act/0.9/payload.js.map +1 -1
  63. package/dist/voting/_shared/0.4/voting.d.ts +16 -0
  64. package/dist/voting/_shared/0.4/voting.d.ts.map +1 -0
  65. package/dist/voting/_shared/0.4/voting.js +6 -0
  66. package/dist/voting/_shared/0.4/voting.js.map +1 -0
  67. package/dist/voting/election/register/0.1/payload.d.ts +4 -4
  68. package/dist/voting/election/register/0.1/payload.js +1 -1
  69. package/dist/voting/election/register/0.2/payload.d.ts +4 -4
  70. package/dist/voting/election/register/0.2/payload.js +1 -1
  71. package/dist/voting/election/register/0.3/payload.d.ts +13 -2
  72. package/dist/voting/election/register/0.3/payload.d.ts.map +1 -1
  73. package/dist/voting/election/register/0.3/payload.js +1 -1
  74. package/dist/voting/election/register/0.3/payload.js.map +1 -1
  75. package/dist/voting/election/register/0.4/payload.d.ts +2054 -0
  76. package/dist/voting/election/register/0.4/payload.d.ts.map +1 -0
  77. package/dist/voting/election/register/0.4/payload.js +1264 -0
  78. package/dist/voting/election/register/0.4/payload.js.map +1 -0
  79. package/dist/voting/election/show/0.1/payload.d.ts +4 -4
  80. package/dist/voting/election/show/0.1/payload.js +1 -1
  81. package/dist/voting/election/show/0.2/payload.d.ts +4 -4
  82. package/dist/voting/election/show/0.2/payload.js +1 -1
  83. package/dist/voting/election/show/0.3/payload.d.ts +13 -2
  84. package/dist/voting/election/show/0.3/payload.d.ts.map +1 -1
  85. package/dist/voting/election/show/0.3/payload.js +1 -1
  86. package/dist/voting/election/show/0.3/payload.js.map +1 -1
  87. package/dist/voting/election/show/0.4/payload.d.ts +1958 -0
  88. package/dist/voting/election/show/0.4/payload.d.ts.map +1 -0
  89. package/dist/voting/election/show/0.4/payload.js +1210 -0
  90. package/dist/voting/election/show/0.4/payload.js.map +1 -0
  91. package/dist/vta/notifications/_shared/0.1/held-notification.d.ts +16 -0
  92. package/dist/vta/notifications/_shared/0.1/held-notification.d.ts.map +1 -0
  93. package/dist/vta/notifications/_shared/0.1/held-notification.js +6 -0
  94. package/dist/vta/notifications/_shared/0.1/held-notification.js.map +1 -0
  95. package/dist/vta/notifications/dismiss/0.1/payload.d.ts +300 -0
  96. package/dist/vta/notifications/dismiss/0.1/payload.d.ts.map +1 -0
  97. package/dist/vta/notifications/dismiss/0.1/payload.js +179 -0
  98. package/dist/vta/notifications/dismiss/0.1/payload.js.map +1 -0
  99. package/dist/vta/notifications/list/0.1/payload.d.ts +1100 -0
  100. package/dist/vta/notifications/list/0.1/payload.d.ts.map +1 -0
  101. package/dist/vta/notifications/list/0.1/payload.js +627 -0
  102. package/dist/vta/notifications/list/0.1/payload.js.map +1 -0
  103. package/dist/vta/notifications/show/0.1/payload.d.ts +1004 -0
  104. package/dist/vta/notifications/show/0.1/payload.d.ts.map +1 -0
  105. package/dist/vta/notifications/show/0.1/payload.js +595 -0
  106. package/dist/vta/notifications/show/0.1/payload.js.map +1 -0
  107. package/dist/vta/pcs/trustee/deal/0.2/payload.d.ts +4 -4
  108. package/dist/vta/pcs/trustee/deal/0.2/payload.js +1 -1
  109. package/dist/vta/pcs/trustee/deal/0.3/payload.d.ts +4 -4
  110. package/dist/vta/pcs/trustee/deal/0.3/payload.js +1 -1
  111. package/dist/vta/pcs/trustee/deal/0.4/payload.d.ts +13 -2
  112. package/dist/vta/pcs/trustee/deal/0.4/payload.d.ts.map +1 -1
  113. package/dist/vta/pcs/trustee/deal/0.4/payload.js +1 -1
  114. package/dist/vta/pcs/trustee/deal/0.4/payload.js.map +1 -1
  115. package/dist/vta/pcs/trustee/deal/0.5/payload.d.ts +1966 -0
  116. package/dist/vta/pcs/trustee/deal/0.5/payload.d.ts.map +1 -0
  117. package/dist/vta/pcs/trustee/deal/0.5/payload.js +1175 -0
  118. package/dist/vta/pcs/trustee/deal/0.5/payload.js.map +1 -0
  119. package/dist/vta/pcs/trustee/enrol/0.1/payload.d.ts +4 -4
  120. package/dist/vta/pcs/trustee/enrol/0.1/payload.js +1 -1
  121. package/dist/vta/pcs/trustee/enrol/0.2/payload.d.ts +4 -4
  122. package/dist/vta/pcs/trustee/enrol/0.2/payload.js +1 -1
  123. package/dist/vta/pcs/trustee/enrol/0.3/payload.d.ts +13 -2
  124. package/dist/vta/pcs/trustee/enrol/0.3/payload.d.ts.map +1 -1
  125. package/dist/vta/pcs/trustee/enrol/0.3/payload.js +1 -1
  126. package/dist/vta/pcs/trustee/enrol/0.3/payload.js.map +1 -1
  127. package/dist/vta/pcs/trustee/enrol/0.4/payload.d.ts +1890 -0
  128. package/dist/vta/pcs/trustee/enrol/0.4/payload.d.ts.map +1 -0
  129. package/dist/vta/pcs/trustee/enrol/0.4/payload.js +1138 -0
  130. package/dist/vta/pcs/trustee/enrol/0.4/payload.js.map +1 -0
  131. package/dist/vta/pcs/trustee/justify/0.2/payload.d.ts +4 -4
  132. package/dist/vta/pcs/trustee/justify/0.2/payload.js +1 -1
  133. package/dist/vta/pcs/trustee/justify/0.3/payload.d.ts +4 -4
  134. package/dist/vta/pcs/trustee/justify/0.3/payload.js +1 -1
  135. package/dist/vta/pcs/trustee/justify/0.4/payload.d.ts +13 -2
  136. package/dist/vta/pcs/trustee/justify/0.4/payload.d.ts.map +1 -1
  137. package/dist/vta/pcs/trustee/justify/0.4/payload.js +1 -1
  138. package/dist/vta/pcs/trustee/justify/0.4/payload.js.map +1 -1
  139. package/dist/vta/pcs/trustee/justify/0.5/payload.d.ts +2001 -0
  140. package/dist/vta/pcs/trustee/justify/0.5/payload.d.ts.map +1 -0
  141. package/dist/vta/pcs/trustee/justify/0.5/payload.js +1193 -0
  142. package/dist/vta/pcs/trustee/justify/0.5/payload.js.map +1 -0
  143. package/dist/vta/pcs/trustee/keys/0.2/payload.d.ts +4 -4
  144. package/dist/vta/pcs/trustee/keys/0.2/payload.js +1 -1
  145. package/dist/vta/pcs/trustee/keys/0.3/payload.d.ts +4 -4
  146. package/dist/vta/pcs/trustee/keys/0.3/payload.js +1 -1
  147. package/dist/vta/pcs/trustee/keys/0.4/payload.d.ts +13 -2
  148. package/dist/vta/pcs/trustee/keys/0.4/payload.d.ts.map +1 -1
  149. package/dist/vta/pcs/trustee/keys/0.4/payload.js +1 -1
  150. package/dist/vta/pcs/trustee/keys/0.4/payload.js.map +1 -1
  151. package/dist/vta/pcs/trustee/keys/0.5/payload.d.ts +2046 -0
  152. package/dist/vta/pcs/trustee/keys/0.5/payload.d.ts.map +1 -0
  153. package/dist/vta/pcs/trustee/keys/0.5/payload.js +1213 -0
  154. package/dist/vta/pcs/trustee/keys/0.5/payload.js.map +1 -0
  155. package/dist/vta/pcs/trustee/read/0.1/payload.d.ts +4 -4
  156. package/dist/vta/pcs/trustee/read/0.1/payload.js +1 -1
  157. package/dist/vta/pcs/trustee/read/0.2/payload.d.ts +4 -4
  158. package/dist/vta/pcs/trustee/read/0.2/payload.js +1 -1
  159. package/dist/vta/pcs/trustee/read/0.3/payload.d.ts +14 -2
  160. package/dist/vta/pcs/trustee/read/0.3/payload.d.ts.map +1 -1
  161. package/dist/vta/pcs/trustee/read/0.3/payload.js +1 -1
  162. package/dist/vta/pcs/trustee/read/0.3/payload.js.map +1 -1
  163. package/dist/vta/pcs/trustee/read/0.4/payload.d.ts +540 -0
  164. package/dist/vta/pcs/trustee/read/0.4/payload.d.ts.map +1 -0
  165. package/dist/vta/pcs/trustee/read/0.4/payload.js +304 -0
  166. package/dist/vta/pcs/trustee/read/0.4/payload.js.map +1 -0
  167. package/dist/vta/pcs/vote/0.1/payload.d.ts +4 -4
  168. package/dist/vta/pcs/vote/0.1/payload.js +1 -1
  169. package/dist/vta/pcs/vote/0.2/payload.d.ts +4 -4
  170. package/dist/vta/pcs/vote/0.2/payload.js +1 -1
  171. package/dist/vta/pcs/vote/0.3/payload.d.ts +13 -2
  172. package/dist/vta/pcs/vote/0.3/payload.d.ts.map +1 -1
  173. package/dist/vta/pcs/vote/0.3/payload.js +1 -1
  174. package/dist/vta/pcs/vote/0.3/payload.js.map +1 -1
  175. package/dist/vta/pcs/vote/0.4/payload.d.ts +2342 -0
  176. package/dist/vta/pcs/vote/0.4/payload.d.ts.map +1 -0
  177. package/dist/vta/pcs/vote/0.4/payload.js +1380 -0
  178. package/dist/vta/pcs/vote/0.4/payload.js.map +1 -0
  179. package/dist/vta/pcs/vote-encrypted/0.2/payload.d.ts +4 -4
  180. package/dist/vta/pcs/vote-encrypted/0.2/payload.js +1 -1
  181. package/dist/vta/pcs/vote-encrypted/0.3/payload.d.ts +4 -4
  182. package/dist/vta/pcs/vote-encrypted/0.3/payload.js +1 -1
  183. package/dist/vta/pcs/vote-encrypted/0.4/payload.d.ts +13 -2
  184. package/dist/vta/pcs/vote-encrypted/0.4/payload.d.ts.map +1 -1
  185. package/dist/vta/pcs/vote-encrypted/0.4/payload.js +1 -1
  186. package/dist/vta/pcs/vote-encrypted/0.4/payload.js.map +1 -1
  187. package/dist/vta/pcs/vote-encrypted/0.5/payload.d.ts +2362 -0
  188. package/dist/vta/pcs/vote-encrypted/0.5/payload.d.ts.map +1 -0
  189. package/dist/vta/pcs/vote-encrypted/0.5/payload.js +1398 -0
  190. package/dist/vta/pcs/vote-encrypted/0.5/payload.js.map +1 -0
  191. package/dist/vta/pcs/voter/accept/0.1/payload.d.ts +3 -3
  192. package/dist/vta/pcs/voter/accept/0.1/payload.js +1 -1
  193. package/dist/vta/pcs/voter/read/0.1/payload.d.ts +4 -4
  194. package/dist/vta/pcs/voter/read/0.1/payload.js +1 -1
  195. package/dist/vta/pcs/voter/read/0.2/payload.d.ts +4 -4
  196. package/dist/vta/pcs/voter/read/0.2/payload.js +1 -1
  197. package/dist/vta/pcs/voter/read/0.3/payload.d.ts +14 -2
  198. package/dist/vta/pcs/voter/read/0.3/payload.d.ts.map +1 -1
  199. package/dist/vta/pcs/voter/read/0.3/payload.js +1 -1
  200. package/dist/vta/pcs/voter/read/0.3/payload.js.map +1 -1
  201. package/dist/vta/pcs/voter/read/0.4/payload.d.ts +515 -0
  202. package/dist/vta/pcs/voter/read/0.4/payload.d.ts.map +1 -0
  203. package/dist/vta/pcs/voter/read/0.4/payload.js +285 -0
  204. package/dist/vta/pcs/voter/read/0.4/payload.js.map +1 -0
  205. package/dist/vta/pcs/voter/read/0.5/payload.d.ts +549 -0
  206. package/dist/vta/pcs/voter/read/0.5/payload.d.ts.map +1 -0
  207. package/dist/vta/pcs/voter/read/0.5/payload.js +300 -0
  208. package/dist/vta/pcs/voter/read/0.5/payload.js.map +1 -0
  209. package/dist/vta/pcs/voter/read/0.6/payload.d.ts +561 -0
  210. package/dist/vta/pcs/voter/read/0.6/payload.d.ts.map +1 -0
  211. package/dist/vta/pcs/voter/read/0.6/payload.js +312 -0
  212. package/dist/vta/pcs/voter/read/0.6/payload.js.map +1 -0
  213. package/dist/vta/pcs/voter/register/0.1/payload.d.ts +4 -4
  214. package/dist/vta/pcs/voter/register/0.1/payload.js +1 -1
  215. package/dist/vta/pcs/voter/register/0.2/payload.d.ts +4 -4
  216. package/dist/vta/pcs/voter/register/0.2/payload.js +1 -1
  217. package/dist/vta/pcs/voter/register/0.3/payload.d.ts +14 -2
  218. package/dist/vta/pcs/voter/register/0.3/payload.d.ts.map +1 -1
  219. package/dist/vta/pcs/voter/register/0.3/payload.js +1 -1
  220. package/dist/vta/pcs/voter/register/0.3/payload.js.map +1 -1
  221. package/dist/vta/pcs/voter/register/0.4/payload.d.ts +2324 -0
  222. package/dist/vta/pcs/voter/register/0.4/payload.d.ts.map +1 -0
  223. package/dist/vta/pcs/voter/register/0.4/payload.js +1352 -0
  224. package/dist/vta/pcs/voter/register/0.4/payload.js.map +1 -0
  225. package/dist/vta/pcs/voter/register/0.5/payload.d.ts +2312 -0
  226. package/dist/vta/pcs/voter/register/0.5/payload.d.ts.map +1 -0
  227. package/dist/vta/pcs/voter/register/0.5/payload.js +1352 -0
  228. package/dist/vta/pcs/voter/register/0.5/payload.js.map +1 -0
  229. package/dist/vtc/_shared/0.5/community-room.d.ts +16 -0
  230. package/dist/vtc/_shared/0.5/community-room.d.ts.map +1 -0
  231. package/dist/vtc/_shared/0.5/community-room.js +6 -0
  232. package/dist/vtc/_shared/0.5/community-room.js.map +1 -0
  233. package/dist/vtc/_shared/0.6/network-membership.d.ts +16 -0
  234. package/dist/vtc/_shared/0.6/network-membership.d.ts.map +1 -0
  235. package/dist/vtc/_shared/0.6/network-membership.js +6 -0
  236. package/dist/vtc/_shared/0.6/network-membership.js.map +1 -0
  237. package/dist/vtc/elections/create/0.1/payload.d.ts +4 -4
  238. package/dist/vtc/elections/create/0.1/payload.js +1 -1
  239. package/dist/vtc/elections/create/0.2/payload.d.ts +4 -4
  240. package/dist/vtc/elections/create/0.2/payload.js +1 -1
  241. package/dist/vtc/elections/create/0.3/payload.d.ts +4 -4
  242. package/dist/vtc/elections/create/0.3/payload.js +1 -1
  243. package/dist/vtc/elections/create/0.4/payload.d.ts +14 -2
  244. package/dist/vtc/elections/create/0.4/payload.d.ts.map +1 -1
  245. package/dist/vtc/elections/create/0.4/payload.js +1 -1
  246. package/dist/vtc/elections/create/0.4/payload.js.map +1 -1
  247. package/dist/vtc/elections/create/0.5/payload.d.ts +1790 -0
  248. package/dist/vtc/elections/create/0.5/payload.d.ts.map +1 -0
  249. package/dist/vtc/elections/create/0.5/payload.js +1092 -0
  250. package/dist/vtc/elections/create/0.5/payload.js.map +1 -0
  251. package/dist/vtc/elections/list/0.1/payload.d.ts +4 -4
  252. package/dist/vtc/elections/list/0.1/payload.js +1 -1
  253. package/dist/vtc/elections/list/0.2/payload.d.ts +4 -4
  254. package/dist/vtc/elections/list/0.2/payload.js +1 -1
  255. package/dist/vtc/elections/list/0.3/payload.d.ts +14 -2
  256. package/dist/vtc/elections/list/0.3/payload.d.ts.map +1 -1
  257. package/dist/vtc/elections/list/0.3/payload.js +1 -1
  258. package/dist/vtc/elections/list/0.3/payload.js.map +1 -1
  259. package/dist/vtc/elections/list/0.4/payload.d.ts +547 -0
  260. package/dist/vtc/elections/list/0.4/payload.d.ts.map +1 -0
  261. package/dist/vtc/elections/list/0.4/payload.js +304 -0
  262. package/dist/vtc/elections/list/0.4/payload.js.map +1 -0
  263. package/dist/vtc/elections/list/0.5/payload.d.ts +535 -0
  264. package/dist/vtc/elections/list/0.5/payload.d.ts.map +1 -0
  265. package/dist/vtc/elections/list/0.5/payload.js +304 -0
  266. package/dist/vtc/elections/list/0.5/payload.js.map +1 -0
  267. package/dist/vtc/elections/show/0.1/payload.d.ts +4 -4
  268. package/dist/vtc/elections/show/0.1/payload.js +1 -1
  269. package/dist/vtc/elections/show/0.2/payload.d.ts +4 -4
  270. package/dist/vtc/elections/show/0.2/payload.js +1 -1
  271. package/dist/vtc/elections/show/0.3/payload.d.ts +14 -2
  272. package/dist/vtc/elections/show/0.3/payload.d.ts.map +1 -1
  273. package/dist/vtc/elections/show/0.3/payload.js +1 -1
  274. package/dist/vtc/elections/show/0.3/payload.js.map +1 -1
  275. package/dist/vtc/elections/show/0.4/payload.d.ts +3290 -0
  276. package/dist/vtc/elections/show/0.4/payload.d.ts.map +1 -0
  277. package/dist/vtc/elections/show/0.4/payload.js +1931 -0
  278. package/dist/vtc/elections/show/0.4/payload.js.map +1 -0
  279. package/dist/vtc/elections/show/0.5/payload.d.ts +3318 -0
  280. package/dist/vtc/elections/show/0.5/payload.d.ts.map +1 -0
  281. package/dist/vtc/elections/show/0.5/payload.js +1946 -0
  282. package/dist/vtc/elections/show/0.5/payload.js.map +1 -0
  283. package/dist/vtc/elections/show/0.6/payload.d.ts +3306 -0
  284. package/dist/vtc/elections/show/0.6/payload.d.ts.map +1 -0
  285. package/dist/vtc/elections/show/0.6/payload.js +1946 -0
  286. package/dist/vtc/elections/show/0.6/payload.js.map +1 -0
  287. package/dist/vtc/elections/tickets/issue/0.1/payload.d.ts +14 -2
  288. package/dist/vtc/elections/tickets/issue/0.1/payload.d.ts.map +1 -1
  289. package/dist/vtc/elections/tickets/issue/0.1/payload.js +1 -1
  290. package/dist/vtc/elections/tickets/issue/0.1/payload.js.map +1 -1
  291. package/dist/vtc/elections/tickets/issue/0.2/payload.d.ts +651 -0
  292. package/dist/vtc/elections/tickets/issue/0.2/payload.d.ts.map +1 -0
  293. package/dist/vtc/elections/tickets/issue/0.2/payload.js +347 -0
  294. package/dist/vtc/elections/tickets/issue/0.2/payload.js.map +1 -0
  295. package/dist/vtc/elections/tickets/issue/0.3/payload.d.ts +639 -0
  296. package/dist/vtc/elections/tickets/issue/0.3/payload.d.ts.map +1 -0
  297. package/dist/vtc/elections/tickets/issue/0.3/payload.js +347 -0
  298. package/dist/vtc/elections/tickets/issue/0.3/payload.js.map +1 -0
  299. package/dist/vtc/networks/evidence/0.1/payload.d.ts +412 -0
  300. package/dist/vtc/networks/evidence/0.1/payload.d.ts.map +1 -0
  301. package/dist/vtc/networks/evidence/0.1/payload.js +233 -0
  302. package/dist/vtc/networks/evidence/0.1/payload.js.map +1 -0
  303. package/dist/vtc/networks/groups/register/0.1/payload.d.ts +680 -0
  304. package/dist/vtc/networks/groups/register/0.1/payload.d.ts.map +1 -0
  305. package/dist/vtc/networks/groups/register/0.1/payload.js +401 -0
  306. package/dist/vtc/networks/groups/register/0.1/payload.js.map +1 -0
  307. package/dist/vtc/networks/join/0.1/payload.d.ts +760 -0
  308. package/dist/vtc/networks/join/0.1/payload.d.ts.map +1 -0
  309. package/dist/vtc/networks/join/0.1/payload.js +445 -0
  310. package/dist/vtc/networks/join/0.1/payload.js.map +1 -0
  311. package/dist/vtc/networks/leave/0.1/payload.d.ts +664 -0
  312. package/dist/vtc/networks/leave/0.1/payload.d.ts.map +1 -0
  313. package/dist/vtc/networks/leave/0.1/payload.js +393 -0
  314. package/dist/vtc/networks/leave/0.1/payload.js.map +1 -0
  315. package/dist/vtc/networks/list/0.1/payload.d.ts +713 -0
  316. package/dist/vtc/networks/list/0.1/payload.d.ts.map +1 -0
  317. package/dist/vtc/networks/list/0.1/payload.js +417 -0
  318. package/dist/vtc/networks/list/0.1/payload.js.map +1 -0
  319. package/dist/vtc/networks/notice/0.1/payload.d.ts +210 -0
  320. package/dist/vtc/networks/notice/0.1/payload.d.ts.map +1 -0
  321. package/dist/vtc/networks/notice/0.1/payload.js +116 -0
  322. package/dist/vtc/networks/notice/0.1/payload.js.map +1 -0
  323. package/dist/vtc/networks/repudiate/0.1/payload.d.ts +680 -0
  324. package/dist/vtc/networks/repudiate/0.1/payload.d.ts.map +1 -0
  325. package/dist/vtc/networks/repudiate/0.1/payload.js +400 -0
  326. package/dist/vtc/networks/repudiate/0.1/payload.js.map +1 -0
  327. package/dist/vtc/networks/show/0.1/payload.d.ts +650 -0
  328. package/dist/vtc/networks/show/0.1/payload.d.ts.map +1 -0
  329. package/dist/vtc/networks/show/0.1/payload.js +388 -0
  330. package/dist/vtc/networks/show/0.1/payload.js.map +1 -0
  331. package/dist/vtc/rooms/community/archive/0.1/payload.d.ts +1644 -0
  332. package/dist/vtc/rooms/community/archive/0.1/payload.d.ts.map +1 -0
  333. package/dist/vtc/rooms/community/archive/0.1/payload.js +940 -0
  334. package/dist/vtc/rooms/community/archive/0.1/payload.js.map +1 -0
  335. package/dist/vtc/rooms/community/get/0.1/payload.d.ts +4 -4
  336. package/dist/vtc/rooms/community/get/0.1/payload.js +1 -1
  337. package/dist/vtc/rooms/community/get/0.2/payload.d.ts +4 -4
  338. package/dist/vtc/rooms/community/get/0.2/payload.js +1 -1
  339. package/dist/vtc/rooms/community/get/0.3/payload.d.ts +13 -2
  340. package/dist/vtc/rooms/community/get/0.3/payload.d.ts.map +1 -1
  341. package/dist/vtc/rooms/community/get/0.3/payload.js +1 -1
  342. package/dist/vtc/rooms/community/get/0.3/payload.js.map +1 -1
  343. package/dist/vtc/rooms/community/get/0.4/payload.d.ts +1405 -0
  344. package/dist/vtc/rooms/community/get/0.4/payload.d.ts.map +1 -0
  345. package/dist/vtc/rooms/community/get/0.4/payload.js +817 -0
  346. package/dist/vtc/rooms/community/get/0.4/payload.js.map +1 -0
  347. package/dist/vtc/rooms/community/list/0.1/payload.d.ts +4 -4
  348. package/dist/vtc/rooms/community/list/0.1/payload.js +1 -1
  349. package/dist/vtc/rooms/community/list/0.2/payload.d.ts +4 -4
  350. package/dist/vtc/rooms/community/list/0.2/payload.js +1 -1
  351. package/dist/vtc/rooms/community/list/0.3/payload.d.ts +13 -2
  352. package/dist/vtc/rooms/community/list/0.3/payload.d.ts.map +1 -1
  353. package/dist/vtc/rooms/community/list/0.3/payload.js +1 -1
  354. package/dist/vtc/rooms/community/list/0.3/payload.js.map +1 -1
  355. package/dist/vtc/rooms/community/list/0.4/payload.d.ts +1505 -0
  356. package/dist/vtc/rooms/community/list/0.4/payload.d.ts.map +1 -0
  357. package/dist/vtc/rooms/community/list/0.4/payload.js +854 -0
  358. package/dist/vtc/rooms/community/list/0.4/payload.js.map +1 -0
  359. package/dist/vtc/rooms/community/members/add/0.1/payload.d.ts +13 -2
  360. package/dist/vtc/rooms/community/members/add/0.1/payload.d.ts.map +1 -1
  361. package/dist/vtc/rooms/community/members/add/0.1/payload.js +1 -1
  362. package/dist/vtc/rooms/community/members/add/0.1/payload.js.map +1 -1
  363. package/dist/vtc/rooms/community/members/add/0.2/payload.d.ts +569 -0
  364. package/dist/vtc/rooms/community/members/add/0.2/payload.d.ts.map +1 -0
  365. package/dist/vtc/rooms/community/members/add/0.2/payload.js +340 -0
  366. package/dist/vtc/rooms/community/members/add/0.2/payload.js.map +1 -0
  367. package/dist/vtc/rooms/community/members/list/0.1/payload.d.ts +13 -2
  368. package/dist/vtc/rooms/community/members/list/0.1/payload.d.ts.map +1 -1
  369. package/dist/vtc/rooms/community/members/list/0.1/payload.js +1 -1
  370. package/dist/vtc/rooms/community/members/list/0.1/payload.js.map +1 -1
  371. package/dist/vtc/rooms/community/members/list/0.2/payload.d.ts +588 -0
  372. package/dist/vtc/rooms/community/members/list/0.2/payload.d.ts.map +1 -0
  373. package/dist/vtc/rooms/community/members/list/0.2/payload.js +341 -0
  374. package/dist/vtc/rooms/community/members/list/0.2/payload.js.map +1 -0
  375. package/dist/vtc/rooms/community/removal/cancel/0.1/payload.d.ts +1440 -0
  376. package/dist/vtc/rooms/community/removal/cancel/0.1/payload.d.ts.map +1 -0
  377. package/dist/vtc/rooms/community/removal/cancel/0.1/payload.js +835 -0
  378. package/dist/vtc/rooms/community/removal/cancel/0.1/payload.js.map +1 -0
  379. package/dist/vtc/rooms/community/remove/0.1/payload.d.ts +1604 -0
  380. package/dist/vtc/rooms/community/remove/0.1/payload.d.ts.map +1 -0
  381. package/dist/vtc/rooms/community/remove/0.1/payload.js +921 -0
  382. package/dist/vtc/rooms/community/remove/0.1/payload.js.map +1 -0
  383. package/dist/vtc/rooms/community/unarchive/0.1/payload.d.ts +1460 -0
  384. package/dist/vtc/rooms/community/unarchive/0.1/payload.d.ts.map +1 -0
  385. package/dist/vtc/rooms/community/unarchive/0.1/payload.js +845 -0
  386. package/dist/vtc/rooms/community/unarchive/0.1/payload.js.map +1 -0
  387. package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts +13 -2
  388. package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts.map +1 -1
  389. package/dist/vtc/rooms/memberships/list/0.1/payload.js +1 -1
  390. package/dist/vtc/rooms/memberships/list/0.1/payload.js.map +1 -1
  391. package/dist/vtc/rooms/memberships/list/0.2/payload.d.ts +830 -0
  392. package/dist/vtc/rooms/memberships/list/0.2/payload.d.ts.map +1 -0
  393. package/dist/vtc/rooms/memberships/list/0.2/payload.js +498 -0
  394. package/dist/vtc/rooms/memberships/list/0.2/payload.js.map +1 -0
  395. package/package.json +1 -1
  396. package/src/_extends.ts +6 -0
  397. package/src/_shared/components.ts +497 -0
  398. package/src/index.ts +150 -0
  399. package/src/notifications/_shared/0.1/notification.ts +23 -0
  400. package/src/notifications/notify/0.1/payload.ts +420 -0
  401. package/src/notifications/relay/0.1/payload.ts +220 -0
  402. package/src/rooms/keys/act/0.1/payload.ts +5 -5
  403. package/src/rooms/keys/act/0.10/payload.ts +396 -0
  404. package/src/rooms/keys/act/0.2/payload.ts +5 -5
  405. package/src/rooms/keys/act/0.3/payload.ts +5 -5
  406. package/src/rooms/keys/act/0.4/payload.ts +5 -5
  407. package/src/rooms/keys/act/0.5/payload.ts +5 -5
  408. package/src/rooms/keys/act/0.6/payload.ts +5 -5
  409. package/src/rooms/keys/act/0.7/payload.ts +5 -5
  410. package/src/rooms/keys/act/0.8/payload.ts +5 -5
  411. package/src/rooms/keys/act/0.9/payload.ts +15 -3
  412. package/src/voting/_shared/0.4/voting.ts +17 -0
  413. package/src/voting/election/register/0.1/payload.ts +5 -5
  414. package/src/voting/election/register/0.2/payload.ts +5 -5
  415. package/src/voting/election/register/0.3/payload.ts +14 -3
  416. package/src/voting/election/register/0.4/payload.ts +1307 -0
  417. package/src/voting/election/show/0.1/payload.ts +5 -5
  418. package/src/voting/election/show/0.2/payload.ts +5 -5
  419. package/src/voting/election/show/0.3/payload.ts +14 -3
  420. package/src/voting/election/show/0.4/payload.ts +1249 -0
  421. package/src/vta/notifications/_shared/0.1/held-notification.ts +17 -0
  422. package/src/vta/notifications/dismiss/0.1/payload.ts +214 -0
  423. package/src/vta/notifications/list/0.1/payload.ts +688 -0
  424. package/src/vta/notifications/show/0.1/payload.ts +630 -0
  425. package/src/vta/pcs/trustee/deal/0.2/payload.ts +5 -5
  426. package/src/vta/pcs/trustee/deal/0.3/payload.ts +5 -5
  427. package/src/vta/pcs/trustee/deal/0.4/payload.ts +14 -3
  428. package/src/vta/pcs/trustee/deal/0.5/payload.ts +1248 -0
  429. package/src/vta/pcs/trustee/enrol/0.1/payload.ts +5 -5
  430. package/src/vta/pcs/trustee/enrol/0.2/payload.ts +5 -5
  431. package/src/vta/pcs/trustee/enrol/0.3/payload.ts +14 -3
  432. package/src/vta/pcs/trustee/enrol/0.4/payload.ts +1207 -0
  433. package/src/vta/pcs/trustee/justify/0.2/payload.ts +5 -5
  434. package/src/vta/pcs/trustee/justify/0.3/payload.ts +5 -5
  435. package/src/vta/pcs/trustee/justify/0.4/payload.ts +14 -3
  436. package/src/vta/pcs/trustee/justify/0.5/payload.ts +1267 -0
  437. package/src/vta/pcs/trustee/keys/0.2/payload.ts +5 -5
  438. package/src/vta/pcs/trustee/keys/0.3/payload.ts +5 -5
  439. package/src/vta/pcs/trustee/keys/0.4/payload.ts +14 -3
  440. package/src/vta/pcs/trustee/keys/0.5/payload.ts +1294 -0
  441. package/src/vta/pcs/trustee/read/0.1/payload.ts +5 -5
  442. package/src/vta/pcs/trustee/read/0.2/payload.ts +5 -5
  443. package/src/vta/pcs/trustee/read/0.3/payload.ts +15 -3
  444. package/src/vta/pcs/trustee/read/0.4/payload.ts +385 -0
  445. package/src/vta/pcs/vote/0.1/payload.ts +5 -5
  446. package/src/vta/pcs/vote/0.2/payload.ts +5 -5
  447. package/src/vta/pcs/vote/0.3/payload.ts +14 -3
  448. package/src/vta/pcs/vote/0.4/payload.ts +1465 -0
  449. package/src/vta/pcs/vote-encrypted/0.2/payload.ts +5 -5
  450. package/src/vta/pcs/vote-encrypted/0.3/payload.ts +5 -5
  451. package/src/vta/pcs/vote-encrypted/0.4/payload.ts +14 -3
  452. package/src/vta/pcs/vote-encrypted/0.5/payload.ts +1469 -0
  453. package/src/vta/pcs/voter/accept/0.1/payload.ts +2 -2
  454. package/src/vta/pcs/voter/read/0.1/payload.ts +5 -5
  455. package/src/vta/pcs/voter/read/0.2/payload.ts +5 -5
  456. package/src/vta/pcs/voter/read/0.3/payload.ts +15 -3
  457. package/src/vta/pcs/voter/read/0.4/payload.ts +375 -0
  458. package/src/vta/pcs/voter/read/0.5/payload.ts +394 -0
  459. package/src/vta/pcs/voter/read/0.6/payload.ts +398 -0
  460. package/src/vta/pcs/voter/register/0.1/payload.ts +5 -5
  461. package/src/vta/pcs/voter/register/0.2/payload.ts +5 -5
  462. package/src/vta/pcs/voter/register/0.3/payload.ts +15 -3
  463. package/src/vta/pcs/voter/register/0.4/payload.ts +1478 -0
  464. package/src/vta/pcs/voter/register/0.5/payload.ts +1466 -0
  465. package/src/vtc/_shared/0.5/community-room.ts +17 -0
  466. package/src/vtc/_shared/0.6/network-membership.ts +17 -0
  467. package/src/vtc/elections/create/0.1/payload.ts +5 -5
  468. package/src/vtc/elections/create/0.2/payload.ts +5 -5
  469. package/src/vtc/elections/create/0.3/payload.ts +5 -5
  470. package/src/vtc/elections/create/0.4/payload.ts +15 -3
  471. package/src/vtc/elections/create/0.5/payload.ts +1141 -0
  472. package/src/vtc/elections/list/0.1/payload.ts +5 -5
  473. package/src/vtc/elections/list/0.2/payload.ts +5 -5
  474. package/src/vtc/elections/list/0.3/payload.ts +15 -3
  475. package/src/vtc/elections/list/0.4/payload.ts +399 -0
  476. package/src/vtc/elections/list/0.5/payload.ts +387 -0
  477. package/src/vtc/elections/show/0.1/payload.ts +5 -5
  478. package/src/vtc/elections/show/0.2/payload.ts +5 -5
  479. package/src/vtc/elections/show/0.3/payload.ts +15 -3
  480. package/src/vtc/elections/show/0.4/payload.ts +2043 -0
  481. package/src/vtc/elections/show/0.5/payload.ts +2062 -0
  482. package/src/vtc/elections/show/0.6/payload.ts +2050 -0
  483. package/src/vtc/elections/tickets/issue/0.1/payload.ts +15 -3
  484. package/src/vtc/elections/tickets/issue/0.2/payload.ts +441 -0
  485. package/src/vtc/elections/tickets/issue/0.3/payload.ts +429 -0
  486. package/src/vtc/networks/evidence/0.1/payload.ts +290 -0
  487. package/src/vtc/networks/groups/register/0.1/payload.ts +446 -0
  488. package/src/vtc/networks/join/0.1/payload.ts +492 -0
  489. package/src/vtc/networks/leave/0.1/payload.ts +434 -0
  490. package/src/vtc/networks/list/0.1/payload.ts +463 -0
  491. package/src/vtc/networks/notice/0.1/payload.ts +172 -0
  492. package/src/vtc/networks/repudiate/0.1/payload.ts +445 -0
  493. package/src/vtc/networks/show/0.1/payload.ts +425 -0
  494. package/src/vtc/rooms/community/archive/0.1/payload.ts +995 -0
  495. package/src/vtc/rooms/community/get/0.1/payload.ts +5 -5
  496. package/src/vtc/rooms/community/get/0.2/payload.ts +5 -5
  497. package/src/vtc/rooms/community/get/0.3/payload.ts +14 -3
  498. package/src/vtc/rooms/community/get/0.4/payload.ts +851 -0
  499. package/src/vtc/rooms/community/list/0.1/payload.ts +5 -5
  500. package/src/vtc/rooms/community/list/0.2/payload.ts +5 -5
  501. package/src/vtc/rooms/community/list/0.3/payload.ts +14 -3
  502. package/src/vtc/rooms/community/list/0.4/payload.ts +915 -0
  503. package/src/vtc/rooms/community/members/add/0.1/payload.ts +14 -3
  504. package/src/vtc/rooms/community/members/add/0.2/payload.ts +384 -0
  505. package/src/vtc/rooms/community/members/list/0.1/payload.ts +14 -3
  506. package/src/vtc/rooms/community/members/list/0.2/payload.ts +394 -0
  507. package/src/vtc/rooms/community/removal/cancel/0.1/payload.ts +870 -0
  508. package/src/vtc/rooms/community/remove/0.1/payload.ts +968 -0
  509. package/src/vtc/rooms/community/unarchive/0.1/payload.ts +884 -0
  510. package/src/vtc/rooms/memberships/list/0.1/payload.ts +14 -3
  511. package/src/vtc/rooms/memberships/list/0.2/payload.ts +543 -0
@@ -374,6 +374,10 @@ export type ApproverDid = string;
374
374
  * A human-readable name for where the approver lives — e.g. `Browser plugin — work laptop`. Chosen by the subject (or suggested by an inviter), untrusted, and attributed to its author wherever it is rendered. Absent rather than invented when none was chosen.
375
375
  */
376
376
  export type ApproverLabel = string;
377
+ /**
378
+ * What an archived room's members may still do. `readOnly`: their credentials stand and they keep reading what the room holds; the room's host refuses every write, upload and curation from a member. `noAccess`: every credential the room issued before the archival is withdrawn at its host — a room reset — so the host refuses every member's every task; the content is kept intact, and each withdrawn admission is `suspended`, restored when the room is unarchived or made `readOnly`. Neither recalls what a member already read or saved, and on a sealed tier neither removes anyone from the room's group.
379
+ */
380
+ export type ArchiveAccess = "readOnly" | "noAccess";
377
381
  /**
378
382
  * The metadata of one attestation: what a Vetting Statement would have said, minus its issuer, as vetting/attestation/0.1 defines it.
379
383
  */
@@ -591,6 +595,10 @@ export type ConsumerKind_DeviceV0_1 = Companion_DeviceV0_1 | Service_DeviceV0_1;
591
595
  * Discriminator: is this consumer a user-driven Companion or a headless Service?
592
596
  */
593
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;
594
602
  /**
595
603
  * Opaque identifier of one of the maintainer's contexts, compared by the maintainer's own ancestry predicate. Its grammar is the maintainer's.
596
604
  */
@@ -699,6 +707,10 @@ export type Did_GitNsV0_1 = string;
699
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.
700
708
  */
701
709
  export type Did_GitNsV0_3 = string;
710
+ /**
711
+ * A DID.
712
+ */
713
+ export type Did_NotificationsV0_1 = string;
702
714
  /**
703
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.
704
716
  *
@@ -1058,6 +1070,10 @@ export type Key_VtaV0_1 = string;
1058
1070
  * The interaction kind: a 1:1 direct message, a multi-party group, or a broadcast channel.
1059
1071
  */
1060
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;
1061
1077
  /**
1062
1078
  * A BCP 47 language tag, e.g. `en`, `de-AT`. Compared case-insensitively.
1063
1079
  */
@@ -1116,6 +1132,10 @@ export type MemberActions = [MemberAction] | [MemberAction, MemberAction] | [Mem
1116
1132
  * Where an admission stands. `offered`: credentials issued and waiting for the member to collect and accept them. `admitted`: accepted — on a sealed tier, the member is in the room's group. `removed`: an administrator removed them; on a sealed tier the room has advanced past them.
1117
1133
  */
1118
1134
  export type MemberState = "offered" | "admitted" | "removed";
1135
+ /**
1136
+ * `MemberState` plus `suspended`. `offered`: credentials issued and waiting for the member to collect and accept them. `admitted`: accepted — on a sealed tier, the member is in the room's group. `suspended`: admitted, but the room was archived with `noAccess` (or scheduled for removal), so the room's host refuses the member's credentials; on a sealed tier they are still in the room's group. Restored to `admitted` with freshly issued credentials when the room leaves that state, and never restored if it is removed. `removed`: an administrator removed them, or withdrew their offer — archiving withdraws every open offer; on a sealed tier the room has advanced past an admitted member.
1137
+ */
1138
+ export type MemberStateV2 = "offered" | "admitted" | "suspended" | "removed";
1119
1139
  /**
1120
1140
  * How the member came to be in the group. `added`: by a manager. `joined`: they joined an open group. `requestApproved`: a manager approved their request. `rule`: a dynamic group's rule admits them.
1121
1141
  */
@@ -1166,6 +1186,10 @@ export type NoteId = string;
1166
1186
  * The note, as plain text. Read only by holders of `vtc.directory.notes`. A reader MUST NOT treat it as instructions.
1167
1187
  */
1168
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;
1169
1193
  /**
1170
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.
1171
1195
  */
@@ -1550,6 +1574,10 @@ export type RecordEvidence = RecordEvidenceRecord | RecordEvidenceCredential;
1550
1574
  * @maxItems 32
1551
1575
  */
1552
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;
1553
1581
  /**
1554
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.
1555
1583
  *
@@ -1680,6 +1708,10 @@ export type RoomDescription = string;
1680
1708
  * A name for the room, chosen by an administrator: shown to administrators and to the members a room is offered to. Not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `name` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. MUST NOT carry personal data.
1681
1709
  */
1682
1710
  export type RoomLabel = string;
1711
+ /**
1712
+ * Where a room the community owns stands in its owner's lifecycle — distinct from `HostedRoom.lifecycle`, which is the host's clock (`live`, `lapsed`, `dormant`, `reclaimable`) and is computed from the room's epoch, never set. `active`: open to change. `archived`: closed to change by an administrator — no admissions, and the room's host accepts no writes from its members; what members may still do is `ArchiveAccess`. Reversible with vtc/rooms/community/unarchive. `removalScheduled`: an administrator removed the room with a grace period; it admits nobody and its content is kept until `purgeAt`, and vtc/rooms/community/removal/cancel returns it to `archived`. `purging`: the grace period ended (or there was none) and the community is deleting the room's content from its host and storage; not reversible. `removed`: the content is gone; the community keeps only this record of the room, for its history.
1713
+ */
1714
+ export type RoomState = "active" | "archived" | "removalScheduled" | "purging" | "removed";
1683
1715
  /**
1684
1716
  * A short identifier an administrator files a community-owned room under — `board`, `working-group`, `finance` — so the room list can be filtered. Lower-case letters, digits and hyphens, starting with a letter or digit. Owner-side tracking metadata for holders of `vtc.rooms.manage` only: never shown to members, never sent on the room's host path, and it confers nothing.
1685
1717
  */
@@ -1913,6 +1945,14 @@ export type SiteTarget_VaultV0_2 = WebOrigin_VaultV0_2 | Did_VaultV0_2 | IosApp_
1913
1945
  * Other values are the holder's or the producer's own and carry no meaning a maintainer interprets.
1914
1946
  */
1915
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";
1916
1956
  /**
1917
1957
  * How the community authenticates to a config's backend. Absent on a `local` config, which needs none.
1918
1958
  *
@@ -6451,6 +6491,54 @@ export interface CommunityRoomV2_VtcV0_3 {
6451
6491
  */
6452
6492
  detailsUpdatedBy?: string;
6453
6493
  }
6494
+ /**
6495
+ * What vtc/rooms/community/{get,list}/0.4 and vtc/rooms/community/{archive,unarchive,remove,removal/cancel}/0.1 return: `CommunityRoomV2` plus the room's `status` in its owner's lifecycle and the count of `suspended` admissions. A separate definition, not a change to `CommunityRoomV2`, so that the versions returning that keep the exact shape they published. For a room in state `purging` or `removed`, whose host record a purge deletes, `room` is the host record as it last stood before the purge began — the community keeps that snapshot with the room's record when the purge starts — and its `lifecycle` is what was computed then.
6496
+ */
6497
+ export interface CommunityRoomV3 {
6498
+ room: HostedRoom_VtcV0_3;
6499
+ label: RoomLabel;
6500
+ status: RoomStatus;
6501
+ /**
6502
+ * Absent when the room has none.
6503
+ */
6504
+ description?: RoomDescription;
6505
+ /**
6506
+ * Absent or empty when the room has none.
6507
+ */
6508
+ tags?: RoomTags;
6509
+ /**
6510
+ * The storage config receiving the room's new uploads.
6511
+ */
6512
+ storageConfig?: StorageConfigId;
6513
+ /**
6514
+ * Members in state `admitted`.
6515
+ */
6516
+ admitted: number;
6517
+ /**
6518
+ * Offers not yet accepted or withdrawn.
6519
+ */
6520
+ offered: number;
6521
+ /**
6522
+ * Admissions in state `suspended`: withdrawn while the room was archived with `noAccess`, and restored when it leaves that state. Absent when zero.
6523
+ */
6524
+ suspended?: number;
6525
+ /**
6526
+ * When the community's own `admin` authority over the room expires. A room whose owner's authority lapses can no longer advance its epoch, admit or remove; a community SHOULD renew it well before.
6527
+ */
6528
+ ownerAuthorityValidUntil?: string;
6529
+ /**
6530
+ * The administrator who created it.
6531
+ */
6532
+ createdBy?: string;
6533
+ /**
6534
+ * When `label`, `description` or `tags` last changed. Absent until the first change after creation. Distinct from `room.updatedAt`, which is the host record's and moves with the room's epoch and lifecycle.
6535
+ */
6536
+ detailsUpdatedAt?: string;
6537
+ /**
6538
+ * The administrator who made that change. Present exactly when `detailsUpdatedAt` is. The earlier values and who set them are in the community's audit trail, not here.
6539
+ */
6540
+ detailsUpdatedBy?: string;
6541
+ }
6454
6542
  /**
6455
6543
  * A community's portable configuration: its profile plus the configuration overrides a maintainer stores for itself. Deliberately excludes per-host layers (environment variables, on-disk config files) — those describe where a maintainer runs, not what the community is, and carrying them would make an import overwrite the target host's own deployment settings.
6456
6544
  *
@@ -7781,6 +7869,32 @@ export interface Disclosure {
7781
7869
  */
7782
7870
  coercionResistance: false;
7783
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
+ }
7784
7898
  /**
7785
7899
  * The member's three discoverability decisions, made separately.
7786
7900
  */
@@ -8833,6 +8947,45 @@ export interface GroupMember {
8833
8947
  */
8834
8948
  credentialValidUntil?: string;
8835
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
+ }
8836
8989
  /**
8837
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.
8838
8991
  */
@@ -9757,6 +9910,51 @@ export interface Manifest_VotingV0_3 {
9757
9910
  */
9758
9911
  textReleaseThreshold: number;
9759
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
+ }
9760
9958
  /**
9761
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.
9762
9960
  */
@@ -10206,6 +10404,46 @@ export interface MonitorFilter {
10206
10404
  */
10207
10405
  failuresOnly?: boolean;
10208
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
+ }
10209
10447
  /**
10210
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.
10211
10449
  */
@@ -10223,6 +10461,35 @@ export interface NewCardDefaults {
10223
10461
  */
10224
10462
  introductions?: Introductions;
10225
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
+ }
10226
10493
  /**
10227
10494
  * A community's offer of admission to a room it owns, as the member it is addressed to sees it.
10228
10495
  */
@@ -10366,6 +10633,24 @@ export interface PeerDepth {
10366
10633
  bytes: number;
10367
10634
  oldestAgeSeconds?: number;
10368
10635
  }
10636
+ /**
10637
+ * A change of state the community began and has not finished, because a step at its VTA did not complete — most often a room reset the host accepted, after which the community's own credentials must be re-issued before it can act on the room again. `RoomStatus.state` stays what it was until the change finishes, but what the room's host enforces may already be the new state's: a pending move to `noAccess` means members' credentials may already be refused. The community finishes it by itself, retrying with backoff, and repeating the request that began it finishes it too; nothing else changes the room until it is finished.
10638
+ */
10639
+ export interface PendingChange {
10640
+ /**
10641
+ * The state the change leads to.
10642
+ */
10643
+ state: RoomState;
10644
+ /**
10645
+ * The access it leads to, where `state` has one.
10646
+ */
10647
+ access?: ArchiveAccess;
10648
+ beganAt: string;
10649
+ /**
10650
+ * What stopped the last attempt, for an administrator. Plain text; it names no member and carries no credential.
10651
+ */
10652
+ lastError?: string;
10653
+ }
10369
10654
  /**
10370
10655
  * What the author permits the record to be used for — for example, that a learner's record is for instructional personalisation only. OPTIONAL; absent means the author stated no limit beyond the room's own terms.
10371
10656
  *
@@ -10875,6 +11160,24 @@ export interface PublishedEvent {
10875
11160
  groupFloor: number;
10876
11161
  tiers: Tier[];
10877
11162
  }
11163
+ /**
11164
+ * How a purge is going. A purge deletes at the room's host and at each storage config holding its files, and some of those are remote; a step that fails is retried with backoff until it succeeds, and nothing is reported removed until every step has.
11165
+ */
11166
+ export interface PurgeProgress {
11167
+ /**
11168
+ * Passes made so far; 0 until the first.
11169
+ */
11170
+ attempts: number;
11171
+ lastAttemptAt?: string;
11172
+ /**
11173
+ * When the next pass is due. Absent while one runs.
11174
+ */
11175
+ nextAttemptAt?: string;
11176
+ /**
11177
+ * What stopped the last pass, for an administrator. Present only after a pass failed. Plain text, written by the community; it names no member and carries no credential.
11178
+ */
11179
+ lastError?: string;
11180
+ }
10878
11181
  export interface Apns {
10879
11182
  platform: "apns";
10880
11183
  /**
@@ -11370,6 +11673,33 @@ export interface RegisteredCredential {
11370
11673
  */
11371
11674
  lastUsedAt?: string;
11372
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
+ }
11373
11703
  /**
11374
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.
11375
11705
  */
@@ -11809,6 +12139,16 @@ export interface RightRecord_GitNsV0_6 {
11809
12139
  */
11810
12140
  breakGlass?: BreakGlass_GitNsV0_6;
11811
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
+ }
11812
12152
  /**
11813
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.
11814
12154
  */
@@ -11974,6 +12314,27 @@ export interface RoleSummary {
11974
12314
  */
11975
12315
  preRotationCommitments?: number;
11976
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
+ }
11977
12338
  /**
11978
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.
11979
12340
  */
@@ -11981,6 +12342,17 @@ export interface RollRule {
11981
12342
  rule: "members" | "membersAndListed" | "listed";
11982
12343
  listed?: string[];
11983
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
+ }
11984
12356
  /**
11985
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.
11986
12358
  */
@@ -12096,6 +12468,25 @@ export interface RoomMember {
12096
12468
  admittedAt?: string;
12097
12469
  removedAt?: string;
12098
12470
  }
12471
+ /**
12472
+ * `RoomMember` with `MemberStateV2`, and `suspendedAt`.
12473
+ */
12474
+ export interface RoomMemberV2 {
12475
+ member: string;
12476
+ actions: MemberActions;
12477
+ /**
12478
+ * When the member's authority credential expires.
12479
+ */
12480
+ validUntil: string;
12481
+ state: MemberStateV2;
12482
+ offeredAt: string;
12483
+ admittedAt?: string;
12484
+ removedAt?: string;
12485
+ /**
12486
+ * Present exactly when `state` is `suspended`.
12487
+ */
12488
+ suspendedAt?: string;
12489
+ }
12099
12490
  /**
12100
12491
  * What vtc/rooms/memberships/list/0.1 returns: one room the community owns, and where the caller's admission to it stands in the community's own record. Unlike `OfferV2` it carries no credentials — those are collected with vtc/rooms/offers/list while an offer is open — and it is listed in every state, for as long as the community keeps the record, not only while an accept can be repeated. `label` and `description` are the room's as they stand when the record is read.
12101
12492
  */
@@ -12131,6 +12522,57 @@ export interface RoomMembership {
12131
12522
  */
12132
12523
  repeatAcceptUntil?: string;
12133
12524
  }
12525
+ /**
12526
+ * What vtc/rooms/memberships/list/0.2 returns: `RoomMembership` with `MemberStateV2`, `suspendedAt`, and the room's own state, so that a member can tell a room that is read-only, closed or going away from one they were removed from.
12527
+ */
12528
+ export interface RoomMembershipV2 {
12529
+ roomId: string;
12530
+ /**
12531
+ * The room's host: this community.
12532
+ */
12533
+ host: string;
12534
+ label: RoomLabel;
12535
+ /**
12536
+ * Absent when the room has none.
12537
+ */
12538
+ description?: RoomDescription;
12539
+ visibility: Visibility;
12540
+ actions: MemberActions;
12541
+ /**
12542
+ * When the member's authority credential expires.
12543
+ */
12544
+ validUntil: string;
12545
+ state: MemberStateV2;
12546
+ offeredAt: string;
12547
+ /**
12548
+ * When the community recorded the admission. Present when `state` is `admitted`, and kept when it becomes `removed`.
12549
+ */
12550
+ admittedAt?: string;
12551
+ /**
12552
+ * Present exactly when `state` is `removed`.
12553
+ */
12554
+ removedAt?: string;
12555
+ /**
12556
+ * On an `attributed` or `private` room in state `admitted`: until when the community keeps the Welcome, so that a repeated vtc/rooms/offers/accept carrying the same KeyPackage is answered with it. Absent on an `open` room, in any other state, and once the community no longer keeps it. A surface finding the member admitted but the room absent from its key holder's rooms/keys/list finishes the acceptance before this time, and asks an administrator to re-admit the member after it.
12557
+ */
12558
+ repeatAcceptUntil?: string;
12559
+ /**
12560
+ * Present exactly when `state` is `suspended`.
12561
+ */
12562
+ suspendedAt?: string;
12563
+ /**
12564
+ * The room's state in its owner's lifecycle. `purging` is shown to members as `removalScheduled`: to them, the room is going away either way.
12565
+ */
12566
+ roomState: RoomState;
12567
+ /**
12568
+ * Present exactly when `roomState` is `archived` or `removalScheduled`.
12569
+ */
12570
+ roomAccess?: ArchiveAccess;
12571
+ /**
12572
+ * Present when `roomState` is `removalScheduled`: when the room's content is to be deleted.
12573
+ */
12574
+ purgeAt?: string;
12575
+ }
12134
12576
  /**
12135
12577
  * What a room says about itself to its own members: a name and, optionally, a description, short tags and an emoji, so that a member's wallet, portal or CLI can show what each room is rather than a DID.
12136
12578
  *
@@ -12187,6 +12629,44 @@ export interface RoomRevocation {
12187
12629
  */
12188
12630
  until?: string;
12189
12631
  }
12632
+ /**
12633
+ * A room's state in its owner's lifecycle, and what that state needs to be understood.
12634
+ */
12635
+ export interface RoomStatus {
12636
+ state: RoomState;
12637
+ /**
12638
+ * Present exactly when `state` is `archived` or `removalScheduled`; always `noAccess` for `removalScheduled`.
12639
+ */
12640
+ access?: ArchiveAccess;
12641
+ /**
12642
+ * When the room entered `state`. Absent for a room that has been `active` since it was created.
12643
+ */
12644
+ changedAt?: string;
12645
+ /**
12646
+ * The administrator whose act put the room in `state`. Present exactly when `changedAt` is, except for `purging` and `removed` reached when a grace period ended, which no one did at that moment: then the administrator who scheduled the removal. The reason each gave is in the community's audit trail, not here.
12647
+ */
12648
+ changedBy?: string;
12649
+ /**
12650
+ * Present when `state` is `removalScheduled`: when the grace period ends and the purge begins. Kept when `state` is `purging` or `removed`, as when it became due.
12651
+ */
12652
+ purgeAt?: string;
12653
+ /**
12654
+ * Present exactly when `state` is `purging`.
12655
+ */
12656
+ purge?: PurgeProgress;
12657
+ /**
12658
+ * Present exactly when `state` is `removed`: when the last of the room's content was deleted.
12659
+ */
12660
+ removedAt?: string;
12661
+ /**
12662
+ * Admissions still `suspended` that the community is restoring, after the room left `noAccess` — the room re-issues each member's credentials and the member collects them as a renewal. Absent when there are none.
12663
+ */
12664
+ restoring?: number;
12665
+ /**
12666
+ * Present while a change of state is begun and not finished.
12667
+ */
12668
+ pendingChange?: PendingChange;
12669
+ }
12190
12670
  /**
12191
12671
  * One change to a role's key set, from preview to completion. The rotation history of a DID is the list of these; the log is the authority for what was published, and this record adds what the log cannot say — which change was which, and (custody projection only) who asked, who approved, and why.
12192
12672
  */
@@ -13151,6 +13631,23 @@ export interface StreamDescriptor {
13151
13631
  expectedSizeBytes: ExpectedSizeBytes;
13152
13632
  expiresAt: ExpiresAt;
13153
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
+ }
13154
13651
  /**
13155
13652
  * Withdraws a party: every credential naming them as subject or issuer whose `validFrom` is earlier than `revokedAt`.
13156
13653
  */