@openvtc/trust-tasks 0.28.8 → 0.28.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (424) hide show
  1. package/CHANGELOG.md +116 -0
  2. package/dist/_extends.d.ts.map +1 -1
  3. package/dist/_extends.js +5 -0
  4. package/dist/_extends.js.map +1 -1
  5. package/dist/_shared/components.d.ts +288 -0
  6. package/dist/_shared/components.d.ts.map +1 -1
  7. package/dist/git-ns/bridge/event/0.1/payload.d.ts +4 -4
  8. package/dist/git-ns/bridge/event/0.1/payload.js +1 -1
  9. package/dist/git-ns/bridge/event/0.2/payload.d.ts +4 -4
  10. package/dist/git-ns/bridge/event/0.2/payload.js +1 -1
  11. package/dist/git-ns/bridge/event/0.3/payload.d.ts +4 -4
  12. package/dist/git-ns/bridge/event/0.3/payload.js +1 -1
  13. package/dist/git-ns/bridge/event/0.4/payload.d.ts +4 -4
  14. package/dist/git-ns/bridge/event/0.4/payload.js +1 -1
  15. package/dist/git-ns/bridge/event/0.5/payload.d.ts +14 -2
  16. package/dist/git-ns/bridge/event/0.5/payload.d.ts.map +1 -1
  17. package/dist/git-ns/bridge/event/0.5/payload.js +1 -1
  18. package/dist/git-ns/bridge/event/0.5/payload.js.map +1 -1
  19. package/dist/git-ns/bridge/event/0.6/payload.d.ts +2067 -0
  20. package/dist/git-ns/bridge/event/0.6/payload.d.ts.map +1 -0
  21. package/dist/git-ns/bridge/event/0.6/payload.js +1119 -0
  22. package/dist/git-ns/bridge/event/0.6/payload.js.map +1 -0
  23. package/dist/git-ns/bridge/job/0.1/payload.d.ts +4 -4
  24. package/dist/git-ns/bridge/job/0.1/payload.js +1 -1
  25. package/dist/git-ns/bridge/job/0.2/payload.d.ts +4 -4
  26. package/dist/git-ns/bridge/job/0.2/payload.js +1 -1
  27. package/dist/git-ns/bridge/job/0.3/payload.d.ts +4 -4
  28. package/dist/git-ns/bridge/job/0.3/payload.js +1 -1
  29. package/dist/git-ns/bridge/job/0.4/payload.d.ts +4 -4
  30. package/dist/git-ns/bridge/job/0.4/payload.js +1 -1
  31. package/dist/git-ns/bridge/job/0.5/payload.d.ts +4 -4
  32. package/dist/git-ns/bridge/job/0.5/payload.js +1 -1
  33. package/dist/git-ns/bridge/job/0.6/payload.d.ts +14 -2
  34. package/dist/git-ns/bridge/job/0.6/payload.d.ts.map +1 -1
  35. package/dist/git-ns/bridge/job/0.6/payload.js +1 -1
  36. package/dist/git-ns/bridge/job/0.6/payload.js.map +1 -1
  37. package/dist/git-ns/bridge/job/0.7/payload.d.ts +1120 -0
  38. package/dist/git-ns/bridge/job/0.7/payload.d.ts.map +1 -0
  39. package/dist/git-ns/bridge/job/0.7/payload.js +608 -0
  40. package/dist/git-ns/bridge/job/0.7/payload.js.map +1 -0
  41. package/dist/git-ns/bridge/job/list/0.4/payload.d.ts +5 -5
  42. package/dist/git-ns/bridge/job/list/0.4/payload.js +2 -2
  43. package/dist/index.d.ts +123 -0
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/index.js +123 -0
  46. package/dist/index.js.map +1 -1
  47. package/dist/notifications/_shared/0.1/notification.d.ts +22 -0
  48. package/dist/notifications/_shared/0.1/notification.d.ts.map +1 -0
  49. package/dist/notifications/_shared/0.1/notification.js +6 -0
  50. package/dist/notifications/_shared/0.1/notification.js.map +1 -0
  51. package/dist/notifications/notify/0.1/payload.d.ts +652 -0
  52. package/dist/notifications/notify/0.1/payload.d.ts.map +1 -0
  53. package/dist/notifications/notify/0.1/payload.js +383 -0
  54. package/dist/notifications/notify/0.1/payload.js.map +1 -0
  55. package/dist/notifications/relay/0.1/payload.d.ts +309 -0
  56. package/dist/notifications/relay/0.1/payload.d.ts.map +1 -0
  57. package/dist/notifications/relay/0.1/payload.js +179 -0
  58. package/dist/notifications/relay/0.1/payload.js.map +1 -0
  59. package/dist/voting/_shared/0.4/voting.d.ts +16 -0
  60. package/dist/voting/_shared/0.4/voting.d.ts.map +1 -0
  61. package/dist/voting/_shared/0.4/voting.js +6 -0
  62. package/dist/voting/_shared/0.4/voting.js.map +1 -0
  63. package/dist/voting/election/register/0.1/payload.d.ts +4 -4
  64. package/dist/voting/election/register/0.1/payload.js +1 -1
  65. package/dist/voting/election/register/0.2/payload.d.ts +4 -4
  66. package/dist/voting/election/register/0.2/payload.js +1 -1
  67. package/dist/voting/election/register/0.3/payload.d.ts +13 -2
  68. package/dist/voting/election/register/0.3/payload.d.ts.map +1 -1
  69. package/dist/voting/election/register/0.3/payload.js +1 -1
  70. package/dist/voting/election/register/0.3/payload.js.map +1 -1
  71. package/dist/voting/election/register/0.4/payload.d.ts +2054 -0
  72. package/dist/voting/election/register/0.4/payload.d.ts.map +1 -0
  73. package/dist/voting/election/register/0.4/payload.js +1264 -0
  74. package/dist/voting/election/register/0.4/payload.js.map +1 -0
  75. package/dist/voting/election/show/0.1/payload.d.ts +4 -4
  76. package/dist/voting/election/show/0.1/payload.js +1 -1
  77. package/dist/voting/election/show/0.2/payload.d.ts +4 -4
  78. package/dist/voting/election/show/0.2/payload.js +1 -1
  79. package/dist/voting/election/show/0.3/payload.d.ts +13 -2
  80. package/dist/voting/election/show/0.3/payload.d.ts.map +1 -1
  81. package/dist/voting/election/show/0.3/payload.js +1 -1
  82. package/dist/voting/election/show/0.3/payload.js.map +1 -1
  83. package/dist/voting/election/show/0.4/payload.d.ts +1958 -0
  84. package/dist/voting/election/show/0.4/payload.d.ts.map +1 -0
  85. package/dist/voting/election/show/0.4/payload.js +1210 -0
  86. package/dist/voting/election/show/0.4/payload.js.map +1 -0
  87. package/dist/vta/notifications/_shared/0.1/held-notification.d.ts +16 -0
  88. package/dist/vta/notifications/_shared/0.1/held-notification.d.ts.map +1 -0
  89. package/dist/vta/notifications/_shared/0.1/held-notification.js +6 -0
  90. package/dist/vta/notifications/_shared/0.1/held-notification.js.map +1 -0
  91. package/dist/vta/notifications/dismiss/0.1/payload.d.ts +300 -0
  92. package/dist/vta/notifications/dismiss/0.1/payload.d.ts.map +1 -0
  93. package/dist/vta/notifications/dismiss/0.1/payload.js +179 -0
  94. package/dist/vta/notifications/dismiss/0.1/payload.js.map +1 -0
  95. package/dist/vta/notifications/list/0.1/payload.d.ts +1100 -0
  96. package/dist/vta/notifications/list/0.1/payload.d.ts.map +1 -0
  97. package/dist/vta/notifications/list/0.1/payload.js +627 -0
  98. package/dist/vta/notifications/list/0.1/payload.js.map +1 -0
  99. package/dist/vta/notifications/show/0.1/payload.d.ts +1004 -0
  100. package/dist/vta/notifications/show/0.1/payload.d.ts.map +1 -0
  101. package/dist/vta/notifications/show/0.1/payload.js +595 -0
  102. package/dist/vta/notifications/show/0.1/payload.js.map +1 -0
  103. package/dist/vta/pcs/trustee/deal/0.2/payload.d.ts +4 -4
  104. package/dist/vta/pcs/trustee/deal/0.2/payload.js +1 -1
  105. package/dist/vta/pcs/trustee/deal/0.3/payload.d.ts +4 -4
  106. package/dist/vta/pcs/trustee/deal/0.3/payload.js +1 -1
  107. package/dist/vta/pcs/trustee/deal/0.4/payload.d.ts +13 -2
  108. package/dist/vta/pcs/trustee/deal/0.4/payload.d.ts.map +1 -1
  109. package/dist/vta/pcs/trustee/deal/0.4/payload.js +1 -1
  110. package/dist/vta/pcs/trustee/deal/0.4/payload.js.map +1 -1
  111. package/dist/vta/pcs/trustee/deal/0.5/payload.d.ts +1966 -0
  112. package/dist/vta/pcs/trustee/deal/0.5/payload.d.ts.map +1 -0
  113. package/dist/vta/pcs/trustee/deal/0.5/payload.js +1175 -0
  114. package/dist/vta/pcs/trustee/deal/0.5/payload.js.map +1 -0
  115. package/dist/vta/pcs/trustee/enrol/0.1/payload.d.ts +4 -4
  116. package/dist/vta/pcs/trustee/enrol/0.1/payload.js +1 -1
  117. package/dist/vta/pcs/trustee/enrol/0.2/payload.d.ts +4 -4
  118. package/dist/vta/pcs/trustee/enrol/0.2/payload.js +1 -1
  119. package/dist/vta/pcs/trustee/enrol/0.3/payload.d.ts +13 -2
  120. package/dist/vta/pcs/trustee/enrol/0.3/payload.d.ts.map +1 -1
  121. package/dist/vta/pcs/trustee/enrol/0.3/payload.js +1 -1
  122. package/dist/vta/pcs/trustee/enrol/0.3/payload.js.map +1 -1
  123. package/dist/vta/pcs/trustee/enrol/0.4/payload.d.ts +1890 -0
  124. package/dist/vta/pcs/trustee/enrol/0.4/payload.d.ts.map +1 -0
  125. package/dist/vta/pcs/trustee/enrol/0.4/payload.js +1138 -0
  126. package/dist/vta/pcs/trustee/enrol/0.4/payload.js.map +1 -0
  127. package/dist/vta/pcs/trustee/justify/0.2/payload.d.ts +4 -4
  128. package/dist/vta/pcs/trustee/justify/0.2/payload.js +1 -1
  129. package/dist/vta/pcs/trustee/justify/0.3/payload.d.ts +4 -4
  130. package/dist/vta/pcs/trustee/justify/0.3/payload.js +1 -1
  131. package/dist/vta/pcs/trustee/justify/0.4/payload.d.ts +13 -2
  132. package/dist/vta/pcs/trustee/justify/0.4/payload.d.ts.map +1 -1
  133. package/dist/vta/pcs/trustee/justify/0.4/payload.js +1 -1
  134. package/dist/vta/pcs/trustee/justify/0.4/payload.js.map +1 -1
  135. package/dist/vta/pcs/trustee/justify/0.5/payload.d.ts +2001 -0
  136. package/dist/vta/pcs/trustee/justify/0.5/payload.d.ts.map +1 -0
  137. package/dist/vta/pcs/trustee/justify/0.5/payload.js +1193 -0
  138. package/dist/vta/pcs/trustee/justify/0.5/payload.js.map +1 -0
  139. package/dist/vta/pcs/trustee/keys/0.2/payload.d.ts +4 -4
  140. package/dist/vta/pcs/trustee/keys/0.2/payload.js +1 -1
  141. package/dist/vta/pcs/trustee/keys/0.3/payload.d.ts +4 -4
  142. package/dist/vta/pcs/trustee/keys/0.3/payload.js +1 -1
  143. package/dist/vta/pcs/trustee/keys/0.4/payload.d.ts +13 -2
  144. package/dist/vta/pcs/trustee/keys/0.4/payload.d.ts.map +1 -1
  145. package/dist/vta/pcs/trustee/keys/0.4/payload.js +1 -1
  146. package/dist/vta/pcs/trustee/keys/0.4/payload.js.map +1 -1
  147. package/dist/vta/pcs/trustee/keys/0.5/payload.d.ts +2046 -0
  148. package/dist/vta/pcs/trustee/keys/0.5/payload.d.ts.map +1 -0
  149. package/dist/vta/pcs/trustee/keys/0.5/payload.js +1213 -0
  150. package/dist/vta/pcs/trustee/keys/0.5/payload.js.map +1 -0
  151. package/dist/vta/pcs/trustee/read/0.1/payload.d.ts +4 -4
  152. package/dist/vta/pcs/trustee/read/0.1/payload.js +1 -1
  153. package/dist/vta/pcs/trustee/read/0.2/payload.d.ts +4 -4
  154. package/dist/vta/pcs/trustee/read/0.2/payload.js +1 -1
  155. package/dist/vta/pcs/trustee/read/0.3/payload.d.ts +14 -2
  156. package/dist/vta/pcs/trustee/read/0.3/payload.d.ts.map +1 -1
  157. package/dist/vta/pcs/trustee/read/0.3/payload.js +1 -1
  158. package/dist/vta/pcs/trustee/read/0.3/payload.js.map +1 -1
  159. package/dist/vta/pcs/trustee/read/0.4/payload.d.ts +540 -0
  160. package/dist/vta/pcs/trustee/read/0.4/payload.d.ts.map +1 -0
  161. package/dist/vta/pcs/trustee/read/0.4/payload.js +304 -0
  162. package/dist/vta/pcs/trustee/read/0.4/payload.js.map +1 -0
  163. package/dist/vta/pcs/vote/0.1/payload.d.ts +4 -4
  164. package/dist/vta/pcs/vote/0.1/payload.js +1 -1
  165. package/dist/vta/pcs/vote/0.2/payload.d.ts +4 -4
  166. package/dist/vta/pcs/vote/0.2/payload.js +1 -1
  167. package/dist/vta/pcs/vote/0.3/payload.d.ts +13 -2
  168. package/dist/vta/pcs/vote/0.3/payload.d.ts.map +1 -1
  169. package/dist/vta/pcs/vote/0.3/payload.js +1 -1
  170. package/dist/vta/pcs/vote/0.3/payload.js.map +1 -1
  171. package/dist/vta/pcs/vote/0.4/payload.d.ts +2342 -0
  172. package/dist/vta/pcs/vote/0.4/payload.d.ts.map +1 -0
  173. package/dist/vta/pcs/vote/0.4/payload.js +1380 -0
  174. package/dist/vta/pcs/vote/0.4/payload.js.map +1 -0
  175. package/dist/vta/pcs/vote-encrypted/0.2/payload.d.ts +4 -4
  176. package/dist/vta/pcs/vote-encrypted/0.2/payload.js +1 -1
  177. package/dist/vta/pcs/vote-encrypted/0.3/payload.d.ts +4 -4
  178. package/dist/vta/pcs/vote-encrypted/0.3/payload.js +1 -1
  179. package/dist/vta/pcs/vote-encrypted/0.4/payload.d.ts +13 -2
  180. package/dist/vta/pcs/vote-encrypted/0.4/payload.d.ts.map +1 -1
  181. package/dist/vta/pcs/vote-encrypted/0.4/payload.js +1 -1
  182. package/dist/vta/pcs/vote-encrypted/0.4/payload.js.map +1 -1
  183. package/dist/vta/pcs/vote-encrypted/0.5/payload.d.ts +2362 -0
  184. package/dist/vta/pcs/vote-encrypted/0.5/payload.d.ts.map +1 -0
  185. package/dist/vta/pcs/vote-encrypted/0.5/payload.js +1398 -0
  186. package/dist/vta/pcs/vote-encrypted/0.5/payload.js.map +1 -0
  187. package/dist/vta/pcs/voter/accept/0.1/payload.d.ts +3 -3
  188. package/dist/vta/pcs/voter/accept/0.1/payload.js +1 -1
  189. package/dist/vta/pcs/voter/read/0.1/payload.d.ts +4 -4
  190. package/dist/vta/pcs/voter/read/0.1/payload.js +1 -1
  191. package/dist/vta/pcs/voter/read/0.2/payload.d.ts +4 -4
  192. package/dist/vta/pcs/voter/read/0.2/payload.js +1 -1
  193. package/dist/vta/pcs/voter/read/0.3/payload.d.ts +14 -2
  194. package/dist/vta/pcs/voter/read/0.3/payload.d.ts.map +1 -1
  195. package/dist/vta/pcs/voter/read/0.3/payload.js +1 -1
  196. package/dist/vta/pcs/voter/read/0.3/payload.js.map +1 -1
  197. package/dist/vta/pcs/voter/read/0.4/payload.d.ts +515 -0
  198. package/dist/vta/pcs/voter/read/0.4/payload.d.ts.map +1 -0
  199. package/dist/vta/pcs/voter/read/0.4/payload.js +285 -0
  200. package/dist/vta/pcs/voter/read/0.4/payload.js.map +1 -0
  201. package/dist/vta/pcs/voter/read/0.5/payload.d.ts +549 -0
  202. package/dist/vta/pcs/voter/read/0.5/payload.d.ts.map +1 -0
  203. package/dist/vta/pcs/voter/read/0.5/payload.js +300 -0
  204. package/dist/vta/pcs/voter/read/0.5/payload.js.map +1 -0
  205. package/dist/vta/pcs/voter/read/0.6/payload.d.ts +561 -0
  206. package/dist/vta/pcs/voter/read/0.6/payload.d.ts.map +1 -0
  207. package/dist/vta/pcs/voter/read/0.6/payload.js +312 -0
  208. package/dist/vta/pcs/voter/read/0.6/payload.js.map +1 -0
  209. package/dist/vta/pcs/voter/register/0.1/payload.d.ts +4 -4
  210. package/dist/vta/pcs/voter/register/0.1/payload.js +1 -1
  211. package/dist/vta/pcs/voter/register/0.2/payload.d.ts +4 -4
  212. package/dist/vta/pcs/voter/register/0.2/payload.js +1 -1
  213. package/dist/vta/pcs/voter/register/0.3/payload.d.ts +14 -2
  214. package/dist/vta/pcs/voter/register/0.3/payload.d.ts.map +1 -1
  215. package/dist/vta/pcs/voter/register/0.3/payload.js +1 -1
  216. package/dist/vta/pcs/voter/register/0.3/payload.js.map +1 -1
  217. package/dist/vta/pcs/voter/register/0.4/payload.d.ts +2324 -0
  218. package/dist/vta/pcs/voter/register/0.4/payload.d.ts.map +1 -0
  219. package/dist/vta/pcs/voter/register/0.4/payload.js +1352 -0
  220. package/dist/vta/pcs/voter/register/0.4/payload.js.map +1 -0
  221. package/dist/vta/pcs/voter/register/0.5/payload.d.ts +2312 -0
  222. package/dist/vta/pcs/voter/register/0.5/payload.d.ts.map +1 -0
  223. package/dist/vta/pcs/voter/register/0.5/payload.js +1352 -0
  224. package/dist/vta/pcs/voter/register/0.5/payload.js.map +1 -0
  225. package/dist/vtc/_shared/0.6/network-membership.d.ts +16 -0
  226. package/dist/vtc/_shared/0.6/network-membership.d.ts.map +1 -0
  227. package/dist/vtc/_shared/0.6/network-membership.js +6 -0
  228. package/dist/vtc/_shared/0.6/network-membership.js.map +1 -0
  229. package/dist/vtc/elections/create/0.1/payload.d.ts +4 -4
  230. package/dist/vtc/elections/create/0.1/payload.js +1 -1
  231. package/dist/vtc/elections/create/0.2/payload.d.ts +4 -4
  232. package/dist/vtc/elections/create/0.2/payload.js +1 -1
  233. package/dist/vtc/elections/create/0.3/payload.d.ts +4 -4
  234. package/dist/vtc/elections/create/0.3/payload.js +1 -1
  235. package/dist/vtc/elections/create/0.4/payload.d.ts +14 -2
  236. package/dist/vtc/elections/create/0.4/payload.d.ts.map +1 -1
  237. package/dist/vtc/elections/create/0.4/payload.js +1 -1
  238. package/dist/vtc/elections/create/0.4/payload.js.map +1 -1
  239. package/dist/vtc/elections/create/0.5/payload.d.ts +1790 -0
  240. package/dist/vtc/elections/create/0.5/payload.d.ts.map +1 -0
  241. package/dist/vtc/elections/create/0.5/payload.js +1092 -0
  242. package/dist/vtc/elections/create/0.5/payload.js.map +1 -0
  243. package/dist/vtc/elections/list/0.1/payload.d.ts +4 -4
  244. package/dist/vtc/elections/list/0.1/payload.js +1 -1
  245. package/dist/vtc/elections/list/0.2/payload.d.ts +4 -4
  246. package/dist/vtc/elections/list/0.2/payload.js +1 -1
  247. package/dist/vtc/elections/list/0.3/payload.d.ts +14 -2
  248. package/dist/vtc/elections/list/0.3/payload.d.ts.map +1 -1
  249. package/dist/vtc/elections/list/0.3/payload.js +1 -1
  250. package/dist/vtc/elections/list/0.3/payload.js.map +1 -1
  251. package/dist/vtc/elections/list/0.4/payload.d.ts +547 -0
  252. package/dist/vtc/elections/list/0.4/payload.d.ts.map +1 -0
  253. package/dist/vtc/elections/list/0.4/payload.js +304 -0
  254. package/dist/vtc/elections/list/0.4/payload.js.map +1 -0
  255. package/dist/vtc/elections/list/0.5/payload.d.ts +535 -0
  256. package/dist/vtc/elections/list/0.5/payload.d.ts.map +1 -0
  257. package/dist/vtc/elections/list/0.5/payload.js +304 -0
  258. package/dist/vtc/elections/list/0.5/payload.js.map +1 -0
  259. package/dist/vtc/elections/show/0.1/payload.d.ts +4 -4
  260. package/dist/vtc/elections/show/0.1/payload.js +1 -1
  261. package/dist/vtc/elections/show/0.2/payload.d.ts +4 -4
  262. package/dist/vtc/elections/show/0.2/payload.js +1 -1
  263. package/dist/vtc/elections/show/0.3/payload.d.ts +14 -2
  264. package/dist/vtc/elections/show/0.3/payload.d.ts.map +1 -1
  265. package/dist/vtc/elections/show/0.3/payload.js +1 -1
  266. package/dist/vtc/elections/show/0.3/payload.js.map +1 -1
  267. package/dist/vtc/elections/show/0.4/payload.d.ts +3290 -0
  268. package/dist/vtc/elections/show/0.4/payload.d.ts.map +1 -0
  269. package/dist/vtc/elections/show/0.4/payload.js +1931 -0
  270. package/dist/vtc/elections/show/0.4/payload.js.map +1 -0
  271. package/dist/vtc/elections/show/0.5/payload.d.ts +3318 -0
  272. package/dist/vtc/elections/show/0.5/payload.d.ts.map +1 -0
  273. package/dist/vtc/elections/show/0.5/payload.js +1946 -0
  274. package/dist/vtc/elections/show/0.5/payload.js.map +1 -0
  275. package/dist/vtc/elections/show/0.6/payload.d.ts +3306 -0
  276. package/dist/vtc/elections/show/0.6/payload.d.ts.map +1 -0
  277. package/dist/vtc/elections/show/0.6/payload.js +1946 -0
  278. package/dist/vtc/elections/show/0.6/payload.js.map +1 -0
  279. package/dist/vtc/elections/tickets/issue/0.1/payload.d.ts +14 -2
  280. package/dist/vtc/elections/tickets/issue/0.1/payload.d.ts.map +1 -1
  281. package/dist/vtc/elections/tickets/issue/0.1/payload.js +1 -1
  282. package/dist/vtc/elections/tickets/issue/0.1/payload.js.map +1 -1
  283. package/dist/vtc/elections/tickets/issue/0.2/payload.d.ts +651 -0
  284. package/dist/vtc/elections/tickets/issue/0.2/payload.d.ts.map +1 -0
  285. package/dist/vtc/elections/tickets/issue/0.2/payload.js +347 -0
  286. package/dist/vtc/elections/tickets/issue/0.2/payload.js.map +1 -0
  287. package/dist/vtc/elections/tickets/issue/0.3/payload.d.ts +639 -0
  288. package/dist/vtc/elections/tickets/issue/0.3/payload.d.ts.map +1 -0
  289. package/dist/vtc/elections/tickets/issue/0.3/payload.js +347 -0
  290. package/dist/vtc/elections/tickets/issue/0.3/payload.js.map +1 -0
  291. package/dist/vtc/networks/evidence/0.1/payload.d.ts +412 -0
  292. package/dist/vtc/networks/evidence/0.1/payload.d.ts.map +1 -0
  293. package/dist/vtc/networks/evidence/0.1/payload.js +233 -0
  294. package/dist/vtc/networks/evidence/0.1/payload.js.map +1 -0
  295. package/dist/vtc/networks/groups/register/0.1/payload.d.ts +680 -0
  296. package/dist/vtc/networks/groups/register/0.1/payload.d.ts.map +1 -0
  297. package/dist/vtc/networks/groups/register/0.1/payload.js +401 -0
  298. package/dist/vtc/networks/groups/register/0.1/payload.js.map +1 -0
  299. package/dist/vtc/networks/join/0.1/payload.d.ts +760 -0
  300. package/dist/vtc/networks/join/0.1/payload.d.ts.map +1 -0
  301. package/dist/vtc/networks/join/0.1/payload.js +445 -0
  302. package/dist/vtc/networks/join/0.1/payload.js.map +1 -0
  303. package/dist/vtc/networks/leave/0.1/payload.d.ts +664 -0
  304. package/dist/vtc/networks/leave/0.1/payload.d.ts.map +1 -0
  305. package/dist/vtc/networks/leave/0.1/payload.js +393 -0
  306. package/dist/vtc/networks/leave/0.1/payload.js.map +1 -0
  307. package/dist/vtc/networks/list/0.1/payload.d.ts +713 -0
  308. package/dist/vtc/networks/list/0.1/payload.d.ts.map +1 -0
  309. package/dist/vtc/networks/list/0.1/payload.js +417 -0
  310. package/dist/vtc/networks/list/0.1/payload.js.map +1 -0
  311. package/dist/vtc/networks/notice/0.1/payload.d.ts +210 -0
  312. package/dist/vtc/networks/notice/0.1/payload.d.ts.map +1 -0
  313. package/dist/vtc/networks/notice/0.1/payload.js +116 -0
  314. package/dist/vtc/networks/notice/0.1/payload.js.map +1 -0
  315. package/dist/vtc/networks/repudiate/0.1/payload.d.ts +680 -0
  316. package/dist/vtc/networks/repudiate/0.1/payload.d.ts.map +1 -0
  317. package/dist/vtc/networks/repudiate/0.1/payload.js +400 -0
  318. package/dist/vtc/networks/repudiate/0.1/payload.js.map +1 -0
  319. package/dist/vtc/networks/show/0.1/payload.d.ts +650 -0
  320. package/dist/vtc/networks/show/0.1/payload.d.ts.map +1 -0
  321. package/dist/vtc/networks/show/0.1/payload.js +388 -0
  322. package/dist/vtc/networks/show/0.1/payload.js.map +1 -0
  323. package/package.json +1 -1
  324. package/src/_extends.ts +5 -0
  325. package/src/_shared/components.ts +293 -0
  326. package/src/git-ns/bridge/event/0.1/payload.ts +5 -5
  327. package/src/git-ns/bridge/event/0.2/payload.ts +5 -5
  328. package/src/git-ns/bridge/event/0.3/payload.ts +5 -5
  329. package/src/git-ns/bridge/event/0.4/payload.ts +5 -5
  330. package/src/git-ns/bridge/event/0.5/payload.ts +15 -3
  331. package/src/git-ns/bridge/event/0.6/payload.ts +1450 -0
  332. package/src/git-ns/bridge/job/0.1/payload.ts +5 -5
  333. package/src/git-ns/bridge/job/0.2/payload.ts +5 -5
  334. package/src/git-ns/bridge/job/0.3/payload.ts +5 -5
  335. package/src/git-ns/bridge/job/0.4/payload.ts +5 -5
  336. package/src/git-ns/bridge/job/0.5/payload.ts +5 -5
  337. package/src/git-ns/bridge/job/0.6/payload.ts +15 -3
  338. package/src/git-ns/bridge/job/0.7/payload.ts +744 -0
  339. package/src/git-ns/bridge/job/list/0.4/payload.ts +3 -3
  340. package/src/index.ts +123 -0
  341. package/src/notifications/_shared/0.1/notification.ts +23 -0
  342. package/src/notifications/notify/0.1/payload.ts +420 -0
  343. package/src/notifications/relay/0.1/payload.ts +220 -0
  344. package/src/voting/_shared/0.4/voting.ts +17 -0
  345. package/src/voting/election/register/0.1/payload.ts +5 -5
  346. package/src/voting/election/register/0.2/payload.ts +5 -5
  347. package/src/voting/election/register/0.3/payload.ts +14 -3
  348. package/src/voting/election/register/0.4/payload.ts +1307 -0
  349. package/src/voting/election/show/0.1/payload.ts +5 -5
  350. package/src/voting/election/show/0.2/payload.ts +5 -5
  351. package/src/voting/election/show/0.3/payload.ts +14 -3
  352. package/src/voting/election/show/0.4/payload.ts +1249 -0
  353. package/src/vta/notifications/_shared/0.1/held-notification.ts +17 -0
  354. package/src/vta/notifications/dismiss/0.1/payload.ts +214 -0
  355. package/src/vta/notifications/list/0.1/payload.ts +688 -0
  356. package/src/vta/notifications/show/0.1/payload.ts +630 -0
  357. package/src/vta/pcs/trustee/deal/0.2/payload.ts +5 -5
  358. package/src/vta/pcs/trustee/deal/0.3/payload.ts +5 -5
  359. package/src/vta/pcs/trustee/deal/0.4/payload.ts +14 -3
  360. package/src/vta/pcs/trustee/deal/0.5/payload.ts +1248 -0
  361. package/src/vta/pcs/trustee/enrol/0.1/payload.ts +5 -5
  362. package/src/vta/pcs/trustee/enrol/0.2/payload.ts +5 -5
  363. package/src/vta/pcs/trustee/enrol/0.3/payload.ts +14 -3
  364. package/src/vta/pcs/trustee/enrol/0.4/payload.ts +1207 -0
  365. package/src/vta/pcs/trustee/justify/0.2/payload.ts +5 -5
  366. package/src/vta/pcs/trustee/justify/0.3/payload.ts +5 -5
  367. package/src/vta/pcs/trustee/justify/0.4/payload.ts +14 -3
  368. package/src/vta/pcs/trustee/justify/0.5/payload.ts +1267 -0
  369. package/src/vta/pcs/trustee/keys/0.2/payload.ts +5 -5
  370. package/src/vta/pcs/trustee/keys/0.3/payload.ts +5 -5
  371. package/src/vta/pcs/trustee/keys/0.4/payload.ts +14 -3
  372. package/src/vta/pcs/trustee/keys/0.5/payload.ts +1294 -0
  373. package/src/vta/pcs/trustee/read/0.1/payload.ts +5 -5
  374. package/src/vta/pcs/trustee/read/0.2/payload.ts +5 -5
  375. package/src/vta/pcs/trustee/read/0.3/payload.ts +15 -3
  376. package/src/vta/pcs/trustee/read/0.4/payload.ts +385 -0
  377. package/src/vta/pcs/vote/0.1/payload.ts +5 -5
  378. package/src/vta/pcs/vote/0.2/payload.ts +5 -5
  379. package/src/vta/pcs/vote/0.3/payload.ts +14 -3
  380. package/src/vta/pcs/vote/0.4/payload.ts +1465 -0
  381. package/src/vta/pcs/vote-encrypted/0.2/payload.ts +5 -5
  382. package/src/vta/pcs/vote-encrypted/0.3/payload.ts +5 -5
  383. package/src/vta/pcs/vote-encrypted/0.4/payload.ts +14 -3
  384. package/src/vta/pcs/vote-encrypted/0.5/payload.ts +1469 -0
  385. package/src/vta/pcs/voter/accept/0.1/payload.ts +2 -2
  386. package/src/vta/pcs/voter/read/0.1/payload.ts +5 -5
  387. package/src/vta/pcs/voter/read/0.2/payload.ts +5 -5
  388. package/src/vta/pcs/voter/read/0.3/payload.ts +15 -3
  389. package/src/vta/pcs/voter/read/0.4/payload.ts +375 -0
  390. package/src/vta/pcs/voter/read/0.5/payload.ts +394 -0
  391. package/src/vta/pcs/voter/read/0.6/payload.ts +398 -0
  392. package/src/vta/pcs/voter/register/0.1/payload.ts +5 -5
  393. package/src/vta/pcs/voter/register/0.2/payload.ts +5 -5
  394. package/src/vta/pcs/voter/register/0.3/payload.ts +15 -3
  395. package/src/vta/pcs/voter/register/0.4/payload.ts +1478 -0
  396. package/src/vta/pcs/voter/register/0.5/payload.ts +1466 -0
  397. package/src/vtc/_shared/0.6/network-membership.ts +17 -0
  398. package/src/vtc/elections/create/0.1/payload.ts +5 -5
  399. package/src/vtc/elections/create/0.2/payload.ts +5 -5
  400. package/src/vtc/elections/create/0.3/payload.ts +5 -5
  401. package/src/vtc/elections/create/0.4/payload.ts +15 -3
  402. package/src/vtc/elections/create/0.5/payload.ts +1141 -0
  403. package/src/vtc/elections/list/0.1/payload.ts +5 -5
  404. package/src/vtc/elections/list/0.2/payload.ts +5 -5
  405. package/src/vtc/elections/list/0.3/payload.ts +15 -3
  406. package/src/vtc/elections/list/0.4/payload.ts +399 -0
  407. package/src/vtc/elections/list/0.5/payload.ts +387 -0
  408. package/src/vtc/elections/show/0.1/payload.ts +5 -5
  409. package/src/vtc/elections/show/0.2/payload.ts +5 -5
  410. package/src/vtc/elections/show/0.3/payload.ts +15 -3
  411. package/src/vtc/elections/show/0.4/payload.ts +2043 -0
  412. package/src/vtc/elections/show/0.5/payload.ts +2062 -0
  413. package/src/vtc/elections/show/0.6/payload.ts +2050 -0
  414. package/src/vtc/elections/tickets/issue/0.1/payload.ts +15 -3
  415. package/src/vtc/elections/tickets/issue/0.2/payload.ts +441 -0
  416. package/src/vtc/elections/tickets/issue/0.3/payload.ts +429 -0
  417. package/src/vtc/networks/evidence/0.1/payload.ts +290 -0
  418. package/src/vtc/networks/groups/register/0.1/payload.ts +446 -0
  419. package/src/vtc/networks/join/0.1/payload.ts +492 -0
  420. package/src/vtc/networks/leave/0.1/payload.ts +434 -0
  421. package/src/vtc/networks/list/0.1/payload.ts +463 -0
  422. package/src/vtc/networks/notice/0.1/payload.ts +172 -0
  423. package/src/vtc/networks/repudiate/0.1/payload.ts +445 -0
  424. package/src/vtc/networks/show/0.1/payload.ts +425 -0
@@ -0,0 +1,561 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/pcs/voter/read/0.6/payload.schema.json
4
+ */
5
+ import type { Ext } from "../../../../../_shared/components.js";
6
+ /**
7
+ * A voter's client asks its VTA for a vtc/elections/list or vtc/elections/show request signed as the voter's membership DID, so the client can read the community's elections as the member without holding the member's key. For a show of an election put to the members of a party that is itself a member of the community, the VTA can present the member's credential for that party from its vault, bound to the read it signs, and only where that credential was issued by the party the client names.
8
+ */
9
+ export interface VTAPCSVoterReadPayload {
10
+ /**
11
+ * The context the voter belongs to.
12
+ */
13
+ contextId: string;
14
+ /**
15
+ * The community's DID: the recipient of the signed request.
16
+ */
17
+ community: string;
18
+ /**
19
+ * The voter's membership DID at the community. MUST be a DID the engine holds an authentication key of that the caller may act as.
20
+ */
21
+ member: string;
22
+ /**
23
+ * Which read to sign: vtc/elections/list/0.5 or vtc/elections/show/0.6.
24
+ */
25
+ read: "list" | "show";
26
+ /**
27
+ * The request payload of that task, validated against its own schema.
28
+ */
29
+ payload: {};
30
+ /**
31
+ * Only with `read` `show`, and only to read an election whose `credential` roll names a member party (vtc/elections/show/0.6, VTI-VOT-015): the vault's local handle (vault/credentials/query) of the membership credential the member chose to present for it, whose subject is `member`. The engine presents it in the `show` request it signs, bound to that document and the community. Opaque; never derived or guessed.
32
+ */
33
+ membershipCredential?: string;
34
+ /**
35
+ * Only with `membershipCredential`: the DID the member was told the election's `credential` roll names (voting/_shared/0.4 `RollRule.memberOf`) — the party whose membership the read is to prove. The engine presents `membershipCredential` only where that credential's issuer is this DID, and otherwise refuses with `membershipCredentialMismatch`, so that it never presents a membership unrelated to the election (VTI-VOT-016).
36
+ */
37
+ memberOf?: string;
38
+ ext?: Ext;
39
+ }
40
+ /**
41
+ * The signed read, to send to the community.
42
+ */
43
+ export interface VTAPCSVoterReadResponsePayload {
44
+ document: ReadDocument;
45
+ ext?: Ext;
46
+ }
47
+ /**
48
+ * A complete, signed vtc/elections/list/0.5 or vtc/elections/show/0.6 request document, ready to send to the community unchanged.
49
+ */
50
+ export interface ReadDocument {
51
+ id: string;
52
+ type: "https://trusttasks.org/spec/vtc/elections/list/0.5" | "https://trusttasks.org/spec/vtc/elections/show/0.6";
53
+ /**
54
+ * The request's `member`.
55
+ */
56
+ issuer: string;
57
+ /**
58
+ * The request's `community`.
59
+ */
60
+ recipient: string;
61
+ issuedAt: string;
62
+ expiresAt?: string;
63
+ /**
64
+ * The request's `payload`, exactly — and, where the request named `membershipCredential`, with `presentation` added: the engine's presentation of that credential, bound to this document.
65
+ */
66
+ payload: {};
67
+ /**
68
+ * A Data Integrity proof by an `authentication` key of `issuer`.
69
+ */
70
+ proof: {};
71
+ }
72
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
73
+ export type { Ext };
74
+ /** Trust Task type URI. */
75
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vta/pcs/voter/read/0.6";
76
+ /**
77
+ * The earlier version of this specification that this one declares it
78
+ * extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
79
+ * `null`. Only the direct declaration — follow the chain with
80
+ * `extendsChain` / `readForSpec`.
81
+ */
82
+ export declare const EXTENDS: string | null;
83
+ /**
84
+ * Why this version is deprecated, or `null` while it is current. A
85
+ * superseded or retired version is still supported, and is withdrawn from
86
+ * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
87
+ * Versions").
88
+ */
89
+ export declare const DEPRECATION: string | null;
90
+ /** Stable alias for this specification's request payload shape. */
91
+ export type Payload = VTAPCSVoterReadPayload;
92
+ /** Trust Task response type URI (request type URI + "#response"). */
93
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vta/pcs/voter/read/0.6#response";
94
+ /** Stable alias for this specification's success-response payload shape. */
95
+ export type Response = VTAPCSVoterReadResponsePayload;
96
+ /**
97
+ * This specification's payload schema, as a value.
98
+ *
99
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
100
+ * rather than only as a `.json` file because TypeScript types are erased
101
+ * at runtime: without a schema a consumer has nothing to validate, and
102
+ * every REQUIRED payload member is optional in practice. Cross-file
103
+ * `$ref`s are already inlined, so it needs no resolver.
104
+ */
105
+ export declare const PAYLOAD_SCHEMA: {
106
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
107
+ readonly $id: "https://trusttasks.org/spec/vta/pcs/voter/read/0.6";
108
+ readonly title: "VTA PCS — Voter Read — payload";
109
+ readonly description: "A voter's client asks its VTA for a vtc/elections/list or vtc/elections/show request signed as the voter's membership DID, so the client can read the community's elections as the member without holding the member's key. For a show of an election put to the members of a party that is itself a member of the community, the VTA can present the member's credential for that party from its vault, bound to the read it signs, and only where that credential was issued by the party the client names.";
110
+ readonly type: "object";
111
+ readonly additionalProperties: false;
112
+ readonly required: readonly ["contextId", "community", "member", "read", "payload"];
113
+ readonly properties: {
114
+ readonly contextId: {
115
+ readonly type: "string";
116
+ readonly minLength: 1;
117
+ readonly maxLength: 256;
118
+ readonly description: "The context the voter belongs to.";
119
+ };
120
+ readonly community: {
121
+ readonly type: "string";
122
+ readonly minLength: 1;
123
+ readonly maxLength: 2048;
124
+ readonly description: "The community's DID: the recipient of the signed request.";
125
+ };
126
+ readonly member: {
127
+ readonly type: "string";
128
+ readonly minLength: 1;
129
+ readonly maxLength: 2048;
130
+ readonly pattern: "^did:";
131
+ readonly description: "The voter's membership DID at the community. MUST be a DID the engine holds an authentication key of that the caller may act as.";
132
+ };
133
+ readonly read: {
134
+ readonly type: "string";
135
+ readonly enum: readonly ["list", "show"];
136
+ readonly description: "Which read to sign: vtc/elections/list/0.5 or vtc/elections/show/0.6.";
137
+ };
138
+ readonly payload: {
139
+ readonly type: "object";
140
+ readonly description: "The request payload of that task, validated against its own schema.";
141
+ };
142
+ readonly membershipCredential: {
143
+ readonly type: "string";
144
+ readonly minLength: 1;
145
+ readonly maxLength: 256;
146
+ readonly description: "Only with `read` `show`, and only to read an election whose `credential` roll names a member party (vtc/elections/show/0.6, VTI-VOT-015): the vault's local handle (vault/credentials/query) of the membership credential the member chose to present for it, whose subject is `member`. The engine presents it in the `show` request it signs, bound to that document and the community. Opaque; never derived or guessed.";
147
+ };
148
+ readonly memberOf: {
149
+ readonly type: "string";
150
+ readonly minLength: 8;
151
+ readonly maxLength: 2048;
152
+ readonly pattern: "^did:[a-z0-9]+:\\S+$";
153
+ readonly description: "Only with `membershipCredential`: the DID the member was told the election's `credential` roll names (voting/_shared/0.4 `RollRule.memberOf`) — the party whose membership the read is to prove. The engine presents `membershipCredential` only where that credential's issuer is this DID, and otherwise refuses with `membershipCredentialMismatch`, so that it never presents a membership unrelated to the election (VTI-VOT-016).";
154
+ };
155
+ readonly ext: {
156
+ readonly $ref: "#/$defs/Ext";
157
+ };
158
+ };
159
+ readonly dependentSchemas: {
160
+ readonly membershipCredential: {
161
+ readonly properties: {
162
+ readonly read: {
163
+ readonly const: "show";
164
+ };
165
+ };
166
+ };
167
+ readonly memberOf: {
168
+ readonly required: readonly ["membershipCredential"];
169
+ };
170
+ };
171
+ readonly $defs: {
172
+ readonly ReadDocument: {
173
+ readonly title: "ReadDocument";
174
+ readonly description: "A complete, signed vtc/elections/list/0.5 or vtc/elections/show/0.6 request document, ready to send to the community unchanged.";
175
+ readonly type: "object";
176
+ readonly required: readonly ["id", "type", "issuer", "recipient", "issuedAt", "payload", "proof"];
177
+ readonly properties: {
178
+ readonly id: {
179
+ readonly type: "string";
180
+ readonly pattern: "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
181
+ };
182
+ readonly type: {
183
+ readonly type: "string";
184
+ readonly enum: readonly ["https://trusttasks.org/spec/vtc/elections/list/0.5", "https://trusttasks.org/spec/vtc/elections/show/0.6"];
185
+ };
186
+ readonly issuer: {
187
+ readonly type: "string";
188
+ readonly minLength: 1;
189
+ readonly maxLength: 2048;
190
+ readonly description: "The request's `member`.";
191
+ };
192
+ readonly recipient: {
193
+ readonly type: "string";
194
+ readonly minLength: 1;
195
+ readonly maxLength: 2048;
196
+ readonly description: "The request's `community`.";
197
+ };
198
+ readonly issuedAt: {
199
+ readonly type: "string";
200
+ readonly format: "date-time";
201
+ };
202
+ readonly expiresAt: {
203
+ readonly type: "string";
204
+ readonly format: "date-time";
205
+ };
206
+ readonly payload: {
207
+ readonly type: "object";
208
+ readonly description: "The request's `payload`, exactly — and, where the request named `membershipCredential`, with `presentation` added: the engine's presentation of that credential, bound to this document.";
209
+ };
210
+ readonly proof: {
211
+ readonly type: "object";
212
+ readonly description: "A Data Integrity proof by an `authentication` key of `issuer`.";
213
+ };
214
+ };
215
+ };
216
+ readonly Response: {
217
+ readonly $anchor: "response";
218
+ readonly title: "VTA PCS — Voter Read — response payload";
219
+ readonly description: "The signed read, to send to the community.";
220
+ readonly type: "object";
221
+ readonly additionalProperties: false;
222
+ readonly required: readonly ["document"];
223
+ readonly properties: {
224
+ readonly document: {
225
+ readonly $ref: "#/$defs/ReadDocument";
226
+ };
227
+ readonly ext: {
228
+ readonly $ref: "#/$defs/Ext";
229
+ };
230
+ };
231
+ };
232
+ readonly Ext: {
233
+ readonly title: "Ext";
234
+ readonly 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.";
235
+ readonly type: "object";
236
+ readonly minProperties: 1;
237
+ readonly additionalProperties: true;
238
+ readonly propertyNames: {
239
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
240
+ };
241
+ };
242
+ };
243
+ };
244
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
245
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
246
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
247
+ readonly $ref: "#/$defs/Response";
248
+ readonly $defs: {
249
+ readonly ReadDocument: {
250
+ readonly title: "ReadDocument";
251
+ readonly description: "A complete, signed vtc/elections/list/0.5 or vtc/elections/show/0.6 request document, ready to send to the community unchanged.";
252
+ readonly type: "object";
253
+ readonly required: readonly ["id", "type", "issuer", "recipient", "issuedAt", "payload", "proof"];
254
+ readonly properties: {
255
+ readonly id: {
256
+ readonly type: "string";
257
+ readonly pattern: "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
258
+ };
259
+ readonly type: {
260
+ readonly type: "string";
261
+ readonly enum: readonly ["https://trusttasks.org/spec/vtc/elections/list/0.5", "https://trusttasks.org/spec/vtc/elections/show/0.6"];
262
+ };
263
+ readonly issuer: {
264
+ readonly type: "string";
265
+ readonly minLength: 1;
266
+ readonly maxLength: 2048;
267
+ readonly description: "The request's `member`.";
268
+ };
269
+ readonly recipient: {
270
+ readonly type: "string";
271
+ readonly minLength: 1;
272
+ readonly maxLength: 2048;
273
+ readonly description: "The request's `community`.";
274
+ };
275
+ readonly issuedAt: {
276
+ readonly type: "string";
277
+ readonly format: "date-time";
278
+ };
279
+ readonly expiresAt: {
280
+ readonly type: "string";
281
+ readonly format: "date-time";
282
+ };
283
+ readonly payload: {
284
+ readonly type: "object";
285
+ readonly description: "The request's `payload`, exactly — and, where the request named `membershipCredential`, with `presentation` added: the engine's presentation of that credential, bound to this document.";
286
+ };
287
+ readonly proof: {
288
+ readonly type: "object";
289
+ readonly description: "A Data Integrity proof by an `authentication` key of `issuer`.";
290
+ };
291
+ };
292
+ };
293
+ readonly Response: {
294
+ readonly $anchor: "response";
295
+ readonly title: "VTA PCS — Voter Read — response payload";
296
+ readonly description: "The signed read, to send to the community.";
297
+ readonly type: "object";
298
+ readonly additionalProperties: false;
299
+ readonly required: readonly ["document"];
300
+ readonly properties: {
301
+ readonly document: {
302
+ readonly $ref: "#/$defs/ReadDocument";
303
+ };
304
+ readonly ext: {
305
+ readonly $ref: "#/$defs/Ext";
306
+ };
307
+ };
308
+ };
309
+ readonly Ext: {
310
+ readonly title: "Ext";
311
+ readonly 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.";
312
+ readonly type: "object";
313
+ readonly minProperties: 1;
314
+ readonly additionalProperties: true;
315
+ readonly propertyNames: {
316
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
317
+ };
318
+ };
319
+ };
320
+ };
321
+ /**
322
+ * SPEC.md §7.2 policy for the request variant, from this specification's
323
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
324
+ * per-specification and cannot be derived from the document alone, and
325
+ * item 2 needs the schema this carries.
326
+ */
327
+ export declare const SPEC: {
328
+ readonly typeUri: "https://trusttasks.org/spec/vta/pcs/voter/read/0.6";
329
+ readonly isBearer: false;
330
+ readonly isProofRequired: true;
331
+ readonly isRecipientRequired: true;
332
+ readonly isIssuedAtRequired: true;
333
+ readonly payloadSchema: {
334
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
335
+ readonly $id: "https://trusttasks.org/spec/vta/pcs/voter/read/0.6";
336
+ readonly title: "VTA PCS — Voter Read — payload";
337
+ readonly description: "A voter's client asks its VTA for a vtc/elections/list or vtc/elections/show request signed as the voter's membership DID, so the client can read the community's elections as the member without holding the member's key. For a show of an election put to the members of a party that is itself a member of the community, the VTA can present the member's credential for that party from its vault, bound to the read it signs, and only where that credential was issued by the party the client names.";
338
+ readonly type: "object";
339
+ readonly additionalProperties: false;
340
+ readonly required: readonly ["contextId", "community", "member", "read", "payload"];
341
+ readonly properties: {
342
+ readonly contextId: {
343
+ readonly type: "string";
344
+ readonly minLength: 1;
345
+ readonly maxLength: 256;
346
+ readonly description: "The context the voter belongs to.";
347
+ };
348
+ readonly community: {
349
+ readonly type: "string";
350
+ readonly minLength: 1;
351
+ readonly maxLength: 2048;
352
+ readonly description: "The community's DID: the recipient of the signed request.";
353
+ };
354
+ readonly member: {
355
+ readonly type: "string";
356
+ readonly minLength: 1;
357
+ readonly maxLength: 2048;
358
+ readonly pattern: "^did:";
359
+ readonly description: "The voter's membership DID at the community. MUST be a DID the engine holds an authentication key of that the caller may act as.";
360
+ };
361
+ readonly read: {
362
+ readonly type: "string";
363
+ readonly enum: readonly ["list", "show"];
364
+ readonly description: "Which read to sign: vtc/elections/list/0.5 or vtc/elections/show/0.6.";
365
+ };
366
+ readonly payload: {
367
+ readonly type: "object";
368
+ readonly description: "The request payload of that task, validated against its own schema.";
369
+ };
370
+ readonly membershipCredential: {
371
+ readonly type: "string";
372
+ readonly minLength: 1;
373
+ readonly maxLength: 256;
374
+ readonly description: "Only with `read` `show`, and only to read an election whose `credential` roll names a member party (vtc/elections/show/0.6, VTI-VOT-015): the vault's local handle (vault/credentials/query) of the membership credential the member chose to present for it, whose subject is `member`. The engine presents it in the `show` request it signs, bound to that document and the community. Opaque; never derived or guessed.";
375
+ };
376
+ readonly memberOf: {
377
+ readonly type: "string";
378
+ readonly minLength: 8;
379
+ readonly maxLength: 2048;
380
+ readonly pattern: "^did:[a-z0-9]+:\\S+$";
381
+ readonly description: "Only with `membershipCredential`: the DID the member was told the election's `credential` roll names (voting/_shared/0.4 `RollRule.memberOf`) — the party whose membership the read is to prove. The engine presents `membershipCredential` only where that credential's issuer is this DID, and otherwise refuses with `membershipCredentialMismatch`, so that it never presents a membership unrelated to the election (VTI-VOT-016).";
382
+ };
383
+ readonly ext: {
384
+ readonly $ref: "#/$defs/Ext";
385
+ };
386
+ };
387
+ readonly dependentSchemas: {
388
+ readonly membershipCredential: {
389
+ readonly properties: {
390
+ readonly read: {
391
+ readonly const: "show";
392
+ };
393
+ };
394
+ };
395
+ readonly memberOf: {
396
+ readonly required: readonly ["membershipCredential"];
397
+ };
398
+ };
399
+ readonly $defs: {
400
+ readonly ReadDocument: {
401
+ readonly title: "ReadDocument";
402
+ readonly description: "A complete, signed vtc/elections/list/0.5 or vtc/elections/show/0.6 request document, ready to send to the community unchanged.";
403
+ readonly type: "object";
404
+ readonly required: readonly ["id", "type", "issuer", "recipient", "issuedAt", "payload", "proof"];
405
+ readonly properties: {
406
+ readonly id: {
407
+ readonly type: "string";
408
+ readonly pattern: "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
409
+ };
410
+ readonly type: {
411
+ readonly type: "string";
412
+ readonly enum: readonly ["https://trusttasks.org/spec/vtc/elections/list/0.5", "https://trusttasks.org/spec/vtc/elections/show/0.6"];
413
+ };
414
+ readonly issuer: {
415
+ readonly type: "string";
416
+ readonly minLength: 1;
417
+ readonly maxLength: 2048;
418
+ readonly description: "The request's `member`.";
419
+ };
420
+ readonly recipient: {
421
+ readonly type: "string";
422
+ readonly minLength: 1;
423
+ readonly maxLength: 2048;
424
+ readonly description: "The request's `community`.";
425
+ };
426
+ readonly issuedAt: {
427
+ readonly type: "string";
428
+ readonly format: "date-time";
429
+ };
430
+ readonly expiresAt: {
431
+ readonly type: "string";
432
+ readonly format: "date-time";
433
+ };
434
+ readonly payload: {
435
+ readonly type: "object";
436
+ readonly description: "The request's `payload`, exactly — and, where the request named `membershipCredential`, with `presentation` added: the engine's presentation of that credential, bound to this document.";
437
+ };
438
+ readonly proof: {
439
+ readonly type: "object";
440
+ readonly description: "A Data Integrity proof by an `authentication` key of `issuer`.";
441
+ };
442
+ };
443
+ };
444
+ readonly Response: {
445
+ readonly $anchor: "response";
446
+ readonly title: "VTA PCS — Voter Read — response payload";
447
+ readonly description: "The signed read, to send to the community.";
448
+ readonly type: "object";
449
+ readonly additionalProperties: false;
450
+ readonly required: readonly ["document"];
451
+ readonly properties: {
452
+ readonly document: {
453
+ readonly $ref: "#/$defs/ReadDocument";
454
+ };
455
+ readonly ext: {
456
+ readonly $ref: "#/$defs/Ext";
457
+ };
458
+ };
459
+ };
460
+ readonly Ext: {
461
+ readonly title: "Ext";
462
+ readonly 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.";
463
+ readonly type: "object";
464
+ readonly minProperties: 1;
465
+ readonly additionalProperties: true;
466
+ readonly propertyNames: {
467
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
468
+ };
469
+ };
470
+ };
471
+ };
472
+ };
473
+ /**
474
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
475
+ * tracks the *issuer* party's requirement because a response swaps the
476
+ * parties (§7.3 item 5).
477
+ */
478
+ export declare const RESPONSE_SPEC: {
479
+ readonly typeUri: "https://trusttasks.org/spec/vta/pcs/voter/read/0.6#response";
480
+ readonly isBearer: false;
481
+ readonly isProofRequired: false;
482
+ readonly isRecipientRequired: true;
483
+ readonly isIssuedAtRequired: true;
484
+ readonly payloadSchema: {
485
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
486
+ readonly $ref: "#/$defs/Response";
487
+ readonly $defs: {
488
+ readonly ReadDocument: {
489
+ readonly title: "ReadDocument";
490
+ readonly description: "A complete, signed vtc/elections/list/0.5 or vtc/elections/show/0.6 request document, ready to send to the community unchanged.";
491
+ readonly type: "object";
492
+ readonly required: readonly ["id", "type", "issuer", "recipient", "issuedAt", "payload", "proof"];
493
+ readonly properties: {
494
+ readonly id: {
495
+ readonly type: "string";
496
+ readonly pattern: "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
497
+ };
498
+ readonly type: {
499
+ readonly type: "string";
500
+ readonly enum: readonly ["https://trusttasks.org/spec/vtc/elections/list/0.5", "https://trusttasks.org/spec/vtc/elections/show/0.6"];
501
+ };
502
+ readonly issuer: {
503
+ readonly type: "string";
504
+ readonly minLength: 1;
505
+ readonly maxLength: 2048;
506
+ readonly description: "The request's `member`.";
507
+ };
508
+ readonly recipient: {
509
+ readonly type: "string";
510
+ readonly minLength: 1;
511
+ readonly maxLength: 2048;
512
+ readonly description: "The request's `community`.";
513
+ };
514
+ readonly issuedAt: {
515
+ readonly type: "string";
516
+ readonly format: "date-time";
517
+ };
518
+ readonly expiresAt: {
519
+ readonly type: "string";
520
+ readonly format: "date-time";
521
+ };
522
+ readonly payload: {
523
+ readonly type: "object";
524
+ readonly description: "The request's `payload`, exactly — and, where the request named `membershipCredential`, with `presentation` added: the engine's presentation of that credential, bound to this document.";
525
+ };
526
+ readonly proof: {
527
+ readonly type: "object";
528
+ readonly description: "A Data Integrity proof by an `authentication` key of `issuer`.";
529
+ };
530
+ };
531
+ };
532
+ readonly Response: {
533
+ readonly $anchor: "response";
534
+ readonly title: "VTA PCS — Voter Read — response payload";
535
+ readonly description: "The signed read, to send to the community.";
536
+ readonly type: "object";
537
+ readonly additionalProperties: false;
538
+ readonly required: readonly ["document"];
539
+ readonly properties: {
540
+ readonly document: {
541
+ readonly $ref: "#/$defs/ReadDocument";
542
+ };
543
+ readonly ext: {
544
+ readonly $ref: "#/$defs/Ext";
545
+ };
546
+ };
547
+ };
548
+ readonly Ext: {
549
+ readonly title: "Ext";
550
+ readonly 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.";
551
+ readonly type: "object";
552
+ readonly minProperties: 1;
553
+ readonly additionalProperties: true;
554
+ readonly propertyNames: {
555
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
556
+ };
557
+ };
558
+ };
559
+ };
560
+ };
561
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vta/pcs/voter/read/0.6/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGhE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,EAAE,CAAC;IACZ;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,YAAY,CAAC;IACvB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oDAAoD,GAAG,oDAAoD,CAAC;IAClH;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,EAAE,CAAC;IACZ;;OAEG;IACH,KAAK,EAAE,EAAE,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,oDAA6D,CAAC;AAEtF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,GAAG,IAAW,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,GAAG,IAAW,CAAC;AAE/C,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,sBAAsB,CAAC;AAE7C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,6DAAsE,CAAC;AAExG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,8BAA8B,CAAC;AAEtD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkKjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwF1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}