@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
@@ -0,0 +1,630 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/notifications/show/0.1/payload.schema.json
4
+ */
5
+
6
+ import type { ContextId, Did_NotificationsV0_1 as Did, Ext, HeldNotification, Kind_NotificationsV0_1 as Kind, Notification, NotificationId, RecordId, State, Status, Subject } from "../../../../_shared/components.js";
7
+
8
+
9
+ /**
10
+ * A client with standing in a trust context reads one notification its VTA holds there, with the document that delivered it exactly as received — the notifications/notify document, or the notifications/relay document carrying it — so the client can verify the originator's proof and every relay itself rather than take the VTA's word (VTI-NTF-050). A read changes nothing, and sends nothing to anyone. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.
11
+ */
12
+ export interface VTANotificationsShowPayload {
13
+ contextId: ContextId;
14
+ recordId: RecordId;
15
+ ext?: Ext;
16
+ }
17
+ export interface VTANotificationsShowResponsePayload {
18
+ item: HeldNotification;
19
+ /**
20
+ * The document that delivered the revision held, kept whole and exactly as received — proof included: the notifications/notify/0.1 document, or the outermost notifications/relay/0.1 document. An opaque object, so that every member its issuer signed survives unchanged for the client to verify.
21
+ */
22
+ document: {};
23
+ }
24
+
25
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
26
+ export type { ContextId, Did, Ext, HeldNotification, Kind, Notification, NotificationId, RecordId, State, Status, Subject };
27
+
28
+ /** Trust Task type URI. */
29
+ export const TYPE_URI = "https://trusttasks.org/spec/vta/notifications/show/0.1" as const;
30
+
31
+ /**
32
+ * The earlier version of this specification that this one declares it
33
+ * extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
34
+ * `null`. Only the direct declaration — follow the chain with
35
+ * `extendsChain` / `readForSpec`.
36
+ */
37
+ export const EXTENDS: string | null = null;
38
+
39
+ /**
40
+ * Why this version is deprecated, or `null` while it is current. A
41
+ * superseded or retired version is still supported, and is withdrawn from
42
+ * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
43
+ * Versions").
44
+ */
45
+ export const DEPRECATION: string | null = null;
46
+
47
+ /** Stable alias for this specification's request payload shape. */
48
+ export type Payload = VTANotificationsShowPayload;
49
+
50
+ /** Trust Task response type URI (request type URI + "#response"). */
51
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/notifications/show/0.1#response" as const;
52
+
53
+ /** Stable alias for this specification's success-response payload shape. */
54
+ export type Response = VTANotificationsShowResponsePayload;
55
+
56
+ /**
57
+ * This specification's payload schema, as a value.
58
+ *
59
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
60
+ * rather than only as a `.json` file because TypeScript types are erased
61
+ * at runtime: without a schema a consumer has nothing to validate, and
62
+ * every REQUIRED payload member is optional in practice. Cross-file
63
+ * `$ref`s are already inlined, so it needs no resolver.
64
+ */
65
+ export const PAYLOAD_SCHEMA = {
66
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
67
+ "$id": "https://trusttasks.org/spec/vta/notifications/show/0.1",
68
+ "title": "VTA Notifications — Show — payload",
69
+ "description": "A client with standing in a trust context reads one notification its VTA holds there, with the document that delivered it exactly as received — the notifications/notify document, or the notifications/relay document carrying it — so the client can verify the originator's proof and every relay itself rather than take the VTA's word (VTI-NTF-050). A read changes nothing, and sends nothing to anyone. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.",
70
+ "type": "object",
71
+ "additionalProperties": false,
72
+ "required": [
73
+ "contextId",
74
+ "recordId"
75
+ ],
76
+ "properties": {
77
+ "contextId": {
78
+ "$ref": "#/$defs/ContextId"
79
+ },
80
+ "recordId": {
81
+ "$ref": "#/$defs/RecordId"
82
+ },
83
+ "ext": {
84
+ "$ref": "#/$defs/Ext"
85
+ }
86
+ },
87
+ "$defs": {
88
+ "Response": {
89
+ "$anchor": "response",
90
+ "title": "VTA Notifications — Show — response payload",
91
+ "type": "object",
92
+ "additionalProperties": false,
93
+ "required": [
94
+ "item",
95
+ "document"
96
+ ],
97
+ "properties": {
98
+ "item": {
99
+ "$ref": "#/$defs/HeldNotification"
100
+ },
101
+ "document": {
102
+ "type": "object",
103
+ "minProperties": 1,
104
+ "description": "The document that delivered the revision held, kept whole and exactly as received — proof included: the notifications/notify/0.1 document, or the outermost notifications/relay/0.1 document. An opaque object, so that every member its issuer signed survives unchanged for the client to verify."
105
+ }
106
+ }
107
+ },
108
+ "HeldNotification": {
109
+ "title": "HeldNotification",
110
+ "description": "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.",
111
+ "type": "object",
112
+ "additionalProperties": false,
113
+ "required": [
114
+ "recordId",
115
+ "contextId",
116
+ "addressee",
117
+ "originator",
118
+ "relayedBy",
119
+ "notification",
120
+ "state",
121
+ "receivedAt"
122
+ ],
123
+ "properties": {
124
+ "recordId": {
125
+ "$ref": "#/$defs/RecordId"
126
+ },
127
+ "contextId": {
128
+ "$ref": "#/$defs/ContextId"
129
+ },
130
+ "addressee": {
131
+ "$ref": "#/$defs/Did",
132
+ "description": "The principal's DID the notification, or the relay that delivered it, was addressed to."
133
+ },
134
+ "originator": {
135
+ "$ref": "#/$defs/Did",
136
+ "description": "The issuer of the notifications/notify document: who said the thing exists."
137
+ },
138
+ "relayedBy": {
139
+ "type": "array",
140
+ "maxItems": 4,
141
+ "items": {
142
+ "$ref": "#/$defs/Did"
143
+ },
144
+ "description": "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)."
145
+ },
146
+ "notification": {
147
+ "$ref": "#/$defs/Notification",
148
+ "description": "The notification's members at the revision held."
149
+ },
150
+ "state": {
151
+ "$ref": "#/$defs/State"
152
+ },
153
+ "receivedAt": {
154
+ "type": "string",
155
+ "format": "date-time",
156
+ "description": "When the VTA accepted the revision held."
157
+ },
158
+ "dismissedAt": {
159
+ "type": "string",
160
+ "format": "date-time",
161
+ "description": "When the principal dismissed it. Present exactly when `state` is `dismissed`."
162
+ }
163
+ },
164
+ "dependentSchemas": {
165
+ "state": {
166
+ "anyOf": [
167
+ {
168
+ "required": [
169
+ "dismissedAt"
170
+ ]
171
+ },
172
+ {
173
+ "properties": {
174
+ "state": {
175
+ "const": "active"
176
+ }
177
+ }
178
+ }
179
+ ]
180
+ },
181
+ "dismissedAt": {
182
+ "properties": {
183
+ "state": {
184
+ "const": "dismissed"
185
+ }
186
+ }
187
+ }
188
+ }
189
+ },
190
+ "State": {
191
+ "title": "State",
192
+ "description": "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).",
193
+ "type": "string",
194
+ "enum": [
195
+ "active",
196
+ "dismissed"
197
+ ]
198
+ },
199
+ "ContextId": {
200
+ "title": "ContextId",
201
+ "description": "The trust context the notification is held in: the one the addressed DID belongs to.",
202
+ "type": "string",
203
+ "minLength": 1,
204
+ "maxLength": 256
205
+ },
206
+ "RecordId": {
207
+ "title": "RecordId",
208
+ "description": "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.",
209
+ "type": "string",
210
+ "minLength": 16,
211
+ "maxLength": 128,
212
+ "pattern": "^[A-Za-z0-9._~:-]+$"
213
+ },
214
+ "Notification": {
215
+ "title": "Notification",
216
+ "description": "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.",
217
+ "type": "object",
218
+ "additionalProperties": false,
219
+ "required": [
220
+ "notificationId",
221
+ "revision",
222
+ "kind",
223
+ "subject",
224
+ "audience",
225
+ "status",
226
+ "relayable"
227
+ ],
228
+ "properties": {
229
+ "notificationId": {
230
+ "$ref": "#/$defs/NotificationId"
231
+ },
232
+ "revision": {
233
+ "type": "integer",
234
+ "minimum": 1,
235
+ "maximum": 1000000,
236
+ "description": "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."
237
+ },
238
+ "kind": {
239
+ "$ref": "#/$defs/Kind"
240
+ },
241
+ "subject": {
242
+ "$ref": "#/$defs/Subject"
243
+ },
244
+ "audience": {
245
+ "$ref": "#/$defs/Did",
246
+ "description": "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."
247
+ },
248
+ "status": {
249
+ "$ref": "#/$defs/Status"
250
+ },
251
+ "relayable": {
252
+ "type": "boolean",
253
+ "description": "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)."
254
+ },
255
+ "validFrom": {
256
+ "type": "string",
257
+ "format": "date-time",
258
+ "description": "When the thing can first be acted on — for an election, when voting opens. Absent: it can be acted on now."
259
+ },
260
+ "validUntil": {
261
+ "type": "string",
262
+ "format": "date-time",
263
+ "description": "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."
264
+ }
265
+ }
266
+ },
267
+ "Status": {
268
+ "title": "Status",
269
+ "description": "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).",
270
+ "type": "string",
271
+ "enum": [
272
+ "available",
273
+ "withdrawn"
274
+ ]
275
+ },
276
+ "Did": {
277
+ "title": "Did",
278
+ "description": "A DID.",
279
+ "type": "string",
280
+ "minLength": 8,
281
+ "maxLength": 2048,
282
+ "pattern": "^did:[a-z0-9]+:\\S+$"
283
+ },
284
+ "Subject": {
285
+ "title": "Subject",
286
+ "description": "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`.",
287
+ "type": "object",
288
+ "additionalProperties": false,
289
+ "required": [
290
+ "heldBy",
291
+ "id",
292
+ "openWith"
293
+ ],
294
+ "properties": {
295
+ "heldBy": {
296
+ "$ref": "#/$defs/Did",
297
+ "description": "The DID of the party holding the thing — for an election, the community. The party a recipient sends `openWith` to."
298
+ },
299
+ "id": {
300
+ "type": "string",
301
+ "minLength": 1,
302
+ "maxLength": 256,
303
+ "description": "The thing's identifier at `heldBy`, in the form the `openWith` task takes it — for an election, its `electionId`."
304
+ },
305
+ "openWith": {
306
+ "type": "string",
307
+ "minLength": 1,
308
+ "maxLength": 512,
309
+ "pattern": "^https://\\S+$",
310
+ "description": "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."
311
+ }
312
+ }
313
+ },
314
+ "Kind": {
315
+ "title": "Kind",
316
+ "description": "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).",
317
+ "type": "string",
318
+ "minLength": 1,
319
+ "maxLength": 256,
320
+ "pattern": "^([a-z][a-zA-Z0-9]{0,63}|[a-z0-9]+(-[a-z0-9]+)*(\\.[a-z0-9]+(-[a-z0-9]+)*)+:[a-z][a-zA-Z0-9]{0,63})$"
321
+ },
322
+ "NotificationId": {
323
+ "title": "NotificationId",
324
+ "description": "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.",
325
+ "type": "string",
326
+ "minLength": 1,
327
+ "maxLength": 256,
328
+ "pattern": "^[A-Za-z0-9._~:-]+$"
329
+ },
330
+ "Ext": {
331
+ "title": "Ext",
332
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
333
+ "type": "object",
334
+ "minProperties": 1,
335
+ "additionalProperties": true,
336
+ "propertyNames": {
337
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
338
+ }
339
+ }
340
+ }
341
+ } as const;
342
+
343
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
344
+ export const RESPONSE_PAYLOAD_SCHEMA = {
345
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
346
+ "$ref": "#/$defs/Response",
347
+ "$defs": {
348
+ "Response": {
349
+ "$anchor": "response",
350
+ "title": "VTA Notifications — Show — response payload",
351
+ "type": "object",
352
+ "additionalProperties": false,
353
+ "required": [
354
+ "item",
355
+ "document"
356
+ ],
357
+ "properties": {
358
+ "item": {
359
+ "$ref": "#/$defs/HeldNotification"
360
+ },
361
+ "document": {
362
+ "type": "object",
363
+ "minProperties": 1,
364
+ "description": "The document that delivered the revision held, kept whole and exactly as received — proof included: the notifications/notify/0.1 document, or the outermost notifications/relay/0.1 document. An opaque object, so that every member its issuer signed survives unchanged for the client to verify."
365
+ }
366
+ }
367
+ },
368
+ "HeldNotification": {
369
+ "title": "HeldNotification",
370
+ "description": "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.",
371
+ "type": "object",
372
+ "additionalProperties": false,
373
+ "required": [
374
+ "recordId",
375
+ "contextId",
376
+ "addressee",
377
+ "originator",
378
+ "relayedBy",
379
+ "notification",
380
+ "state",
381
+ "receivedAt"
382
+ ],
383
+ "properties": {
384
+ "recordId": {
385
+ "$ref": "#/$defs/RecordId"
386
+ },
387
+ "contextId": {
388
+ "$ref": "#/$defs/ContextId"
389
+ },
390
+ "addressee": {
391
+ "$ref": "#/$defs/Did",
392
+ "description": "The principal's DID the notification, or the relay that delivered it, was addressed to."
393
+ },
394
+ "originator": {
395
+ "$ref": "#/$defs/Did",
396
+ "description": "The issuer of the notifications/notify document: who said the thing exists."
397
+ },
398
+ "relayedBy": {
399
+ "type": "array",
400
+ "maxItems": 4,
401
+ "items": {
402
+ "$ref": "#/$defs/Did"
403
+ },
404
+ "description": "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)."
405
+ },
406
+ "notification": {
407
+ "$ref": "#/$defs/Notification",
408
+ "description": "The notification's members at the revision held."
409
+ },
410
+ "state": {
411
+ "$ref": "#/$defs/State"
412
+ },
413
+ "receivedAt": {
414
+ "type": "string",
415
+ "format": "date-time",
416
+ "description": "When the VTA accepted the revision held."
417
+ },
418
+ "dismissedAt": {
419
+ "type": "string",
420
+ "format": "date-time",
421
+ "description": "When the principal dismissed it. Present exactly when `state` is `dismissed`."
422
+ }
423
+ },
424
+ "dependentSchemas": {
425
+ "state": {
426
+ "anyOf": [
427
+ {
428
+ "required": [
429
+ "dismissedAt"
430
+ ]
431
+ },
432
+ {
433
+ "properties": {
434
+ "state": {
435
+ "const": "active"
436
+ }
437
+ }
438
+ }
439
+ ]
440
+ },
441
+ "dismissedAt": {
442
+ "properties": {
443
+ "state": {
444
+ "const": "dismissed"
445
+ }
446
+ }
447
+ }
448
+ }
449
+ },
450
+ "State": {
451
+ "title": "State",
452
+ "description": "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).",
453
+ "type": "string",
454
+ "enum": [
455
+ "active",
456
+ "dismissed"
457
+ ]
458
+ },
459
+ "ContextId": {
460
+ "title": "ContextId",
461
+ "description": "The trust context the notification is held in: the one the addressed DID belongs to.",
462
+ "type": "string",
463
+ "minLength": 1,
464
+ "maxLength": 256
465
+ },
466
+ "RecordId": {
467
+ "title": "RecordId",
468
+ "description": "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.",
469
+ "type": "string",
470
+ "minLength": 16,
471
+ "maxLength": 128,
472
+ "pattern": "^[A-Za-z0-9._~:-]+$"
473
+ },
474
+ "Notification": {
475
+ "title": "Notification",
476
+ "description": "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.",
477
+ "type": "object",
478
+ "additionalProperties": false,
479
+ "required": [
480
+ "notificationId",
481
+ "revision",
482
+ "kind",
483
+ "subject",
484
+ "audience",
485
+ "status",
486
+ "relayable"
487
+ ],
488
+ "properties": {
489
+ "notificationId": {
490
+ "$ref": "#/$defs/NotificationId"
491
+ },
492
+ "revision": {
493
+ "type": "integer",
494
+ "minimum": 1,
495
+ "maximum": 1000000,
496
+ "description": "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."
497
+ },
498
+ "kind": {
499
+ "$ref": "#/$defs/Kind"
500
+ },
501
+ "subject": {
502
+ "$ref": "#/$defs/Subject"
503
+ },
504
+ "audience": {
505
+ "$ref": "#/$defs/Did",
506
+ "description": "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."
507
+ },
508
+ "status": {
509
+ "$ref": "#/$defs/Status"
510
+ },
511
+ "relayable": {
512
+ "type": "boolean",
513
+ "description": "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)."
514
+ },
515
+ "validFrom": {
516
+ "type": "string",
517
+ "format": "date-time",
518
+ "description": "When the thing can first be acted on — for an election, when voting opens. Absent: it can be acted on now."
519
+ },
520
+ "validUntil": {
521
+ "type": "string",
522
+ "format": "date-time",
523
+ "description": "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."
524
+ }
525
+ }
526
+ },
527
+ "Status": {
528
+ "title": "Status",
529
+ "description": "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).",
530
+ "type": "string",
531
+ "enum": [
532
+ "available",
533
+ "withdrawn"
534
+ ]
535
+ },
536
+ "Did": {
537
+ "title": "Did",
538
+ "description": "A DID.",
539
+ "type": "string",
540
+ "minLength": 8,
541
+ "maxLength": 2048,
542
+ "pattern": "^did:[a-z0-9]+:\\S+$"
543
+ },
544
+ "Subject": {
545
+ "title": "Subject",
546
+ "description": "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`.",
547
+ "type": "object",
548
+ "additionalProperties": false,
549
+ "required": [
550
+ "heldBy",
551
+ "id",
552
+ "openWith"
553
+ ],
554
+ "properties": {
555
+ "heldBy": {
556
+ "$ref": "#/$defs/Did",
557
+ "description": "The DID of the party holding the thing — for an election, the community. The party a recipient sends `openWith` to."
558
+ },
559
+ "id": {
560
+ "type": "string",
561
+ "minLength": 1,
562
+ "maxLength": 256,
563
+ "description": "The thing's identifier at `heldBy`, in the form the `openWith` task takes it — for an election, its `electionId`."
564
+ },
565
+ "openWith": {
566
+ "type": "string",
567
+ "minLength": 1,
568
+ "maxLength": 512,
569
+ "pattern": "^https://\\S+$",
570
+ "description": "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."
571
+ }
572
+ }
573
+ },
574
+ "Kind": {
575
+ "title": "Kind",
576
+ "description": "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).",
577
+ "type": "string",
578
+ "minLength": 1,
579
+ "maxLength": 256,
580
+ "pattern": "^([a-z][a-zA-Z0-9]{0,63}|[a-z0-9]+(-[a-z0-9]+)*(\\.[a-z0-9]+(-[a-z0-9]+)*)+:[a-z][a-zA-Z0-9]{0,63})$"
581
+ },
582
+ "NotificationId": {
583
+ "title": "NotificationId",
584
+ "description": "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.",
585
+ "type": "string",
586
+ "minLength": 1,
587
+ "maxLength": 256,
588
+ "pattern": "^[A-Za-z0-9._~:-]+$"
589
+ },
590
+ "Ext": {
591
+ "title": "Ext",
592
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
593
+ "type": "object",
594
+ "minProperties": 1,
595
+ "additionalProperties": true,
596
+ "propertyNames": {
597
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
598
+ }
599
+ }
600
+ }
601
+ } as const;
602
+
603
+ /**
604
+ * SPEC.md §7.2 policy for the request variant, from this specification's
605
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
606
+ * per-specification and cannot be derived from the document alone, and
607
+ * item 2 needs the schema this carries.
608
+ */
609
+ export const SPEC = {
610
+ typeUri: TYPE_URI,
611
+ isBearer: false,
612
+ isProofRequired: false,
613
+ isRecipientRequired: true,
614
+ isIssuedAtRequired: false,
615
+ payloadSchema: PAYLOAD_SCHEMA,
616
+ } as const;
617
+
618
+ /**
619
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
620
+ * tracks the *issuer* party's requirement because a response swaps the
621
+ * parties (§7.3 item 5).
622
+ */
623
+ export const RESPONSE_SPEC = {
624
+ typeUri: RESPONSE_TYPE_URI,
625
+ isBearer: false,
626
+ isProofRequired: false,
627
+ isRecipientRequired: true,
628
+ isIssuedAtRequired: false,
629
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
630
+ } as const;
@@ -9,7 +9,7 @@ import type { BoardVisibility, ChoiceQuestion, ElectionId, Ext, Key_VotingV0_1 a
9
9
  /**
10
10
  * The trustee's VTA deals its contribution to the election key and returns the voting/trustees/deal request signed as the trustee.
11
11
  *
12
- * @deprecated superseded by vta/pcs/trustee/deal/0.4
12
+ * @deprecated superseded by vta/pcs/trustee/deal/0.5
13
13
  */
14
14
  export interface VTAPCSTrusteeDealPayload {
15
15
  /**
@@ -32,7 +32,7 @@ export interface VTAPCSTrusteeDealPayload {
32
32
  ceremony: TrusteeCeremony;
33
33
  ext?: Ext;
34
34
  }
35
- /** @deprecated superseded by vta/pcs/trustee/deal/0.4 */
35
+ /** @deprecated superseded by vta/pcs/trustee/deal/0.5 */
36
36
  export interface VTAPCSTrusteeDealResponsePayload {
37
37
  document: DealDocument;
38
38
  ext?: Ext;
@@ -83,12 +83,12 @@ export const EXTENDS: string | null = null;
83
83
  * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
84
84
  * Versions").
85
85
  */
86
- export const DEPRECATION: string | null = "superseded by vta/pcs/trustee/deal/0.4";
86
+ export const DEPRECATION: string | null = "superseded by vta/pcs/trustee/deal/0.5";
87
87
 
88
88
  /**
89
89
  * Stable alias for this specification's request payload shape.
90
90
  *
91
- * @deprecated superseded by vta/pcs/trustee/deal/0.4
91
+ * @deprecated superseded by vta/pcs/trustee/deal/0.5
92
92
  */
93
93
  export type Payload = VTAPCSTrusteeDealPayload;
94
94
 
@@ -98,7 +98,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/trustee/de
98
98
  /**
99
99
  * Stable alias for this specification's success-response payload shape.
100
100
  *
101
- * @deprecated superseded by vta/pcs/trustee/deal/0.4
101
+ * @deprecated superseded by vta/pcs/trustee/deal/0.5
102
102
  */
103
103
  export type Response = VTAPCSTrusteeDealResponsePayload;
104
104