@openvtc/trust-tasks 0.28.13 → 0.28.15

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 (319) hide show
  1. package/CHANGELOG.md +122 -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 +344 -1
  6. package/dist/_shared/components.d.ts.map +1 -1
  7. package/dist/did-management/stats/set-resolution/0.1/payload.d.ts +398 -0
  8. package/dist/did-management/stats/set-resolution/0.1/payload.d.ts.map +1 -0
  9. package/dist/did-management/stats/set-resolution/0.1/payload.js +247 -0
  10. package/dist/did-management/stats/set-resolution/0.1/payload.js.map +1 -0
  11. package/dist/index.d.ts +76 -0
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +76 -0
  14. package/dist/index.js.map +1 -1
  15. package/dist/process-attestation/0.1/payload.d.ts +73 -7
  16. package/dist/process-attestation/0.1/payload.d.ts.map +1 -1
  17. package/dist/process-attestation/0.1/payload.js +40 -6
  18. package/dist/process-attestation/0.1/payload.js.map +1 -1
  19. package/dist/rooms/_shared/0.1/room.d.ts +1 -1
  20. package/dist/rooms/_shared/0.1/room.d.ts.map +1 -1
  21. package/dist/rooms/_shared/0.2/room.d.ts +1 -1
  22. package/dist/rooms/_shared/0.2/room.d.ts.map +1 -1
  23. package/dist/rooms/_shared/0.3/member-profile.d.ts +11 -0
  24. package/dist/rooms/_shared/0.3/member-profile.d.ts.map +1 -0
  25. package/dist/rooms/_shared/0.3/member-profile.js +6 -0
  26. package/dist/rooms/_shared/0.3/member-profile.js.map +1 -0
  27. package/dist/rooms/changed/0.1/payload.d.ts +139 -0
  28. package/dist/rooms/changed/0.1/payload.d.ts.map +1 -0
  29. package/dist/rooms/changed/0.1/payload.js +84 -0
  30. package/dist/rooms/changed/0.1/payload.js.map +1 -0
  31. package/dist/rooms/keys/act/0.1/payload.d.ts +4 -4
  32. package/dist/rooms/keys/act/0.1/payload.js +1 -1
  33. package/dist/rooms/keys/act/0.10/payload.d.ts +14 -2
  34. package/dist/rooms/keys/act/0.10/payload.d.ts.map +1 -1
  35. package/dist/rooms/keys/act/0.10/payload.js +1 -1
  36. package/dist/rooms/keys/act/0.10/payload.js.map +1 -1
  37. package/dist/rooms/keys/act/0.11/payload.d.ts +572 -0
  38. package/dist/rooms/keys/act/0.11/payload.d.ts.map +1 -0
  39. package/dist/rooms/keys/act/0.11/payload.js +319 -0
  40. package/dist/rooms/keys/act/0.11/payload.js.map +1 -0
  41. package/dist/rooms/keys/act/0.12/payload.d.ts +560 -0
  42. package/dist/rooms/keys/act/0.12/payload.d.ts.map +1 -0
  43. package/dist/rooms/keys/act/0.12/payload.js +319 -0
  44. package/dist/rooms/keys/act/0.12/payload.js.map +1 -0
  45. package/dist/rooms/keys/act/0.2/payload.d.ts +4 -4
  46. package/dist/rooms/keys/act/0.2/payload.js +1 -1
  47. package/dist/rooms/keys/act/0.3/payload.d.ts +4 -4
  48. package/dist/rooms/keys/act/0.3/payload.js +1 -1
  49. package/dist/rooms/keys/act/0.4/payload.d.ts +4 -4
  50. package/dist/rooms/keys/act/0.4/payload.js +1 -1
  51. package/dist/rooms/keys/act/0.5/payload.d.ts +4 -4
  52. package/dist/rooms/keys/act/0.5/payload.js +1 -1
  53. package/dist/rooms/keys/act/0.6/payload.d.ts +4 -4
  54. package/dist/rooms/keys/act/0.6/payload.js +1 -1
  55. package/dist/rooms/keys/act/0.7/payload.d.ts +4 -4
  56. package/dist/rooms/keys/act/0.7/payload.js +1 -1
  57. package/dist/rooms/keys/act/0.8/payload.d.ts +4 -4
  58. package/dist/rooms/keys/act/0.8/payload.js +1 -1
  59. package/dist/rooms/keys/act/0.9/payload.d.ts +4 -4
  60. package/dist/rooms/keys/act/0.9/payload.js +1 -1
  61. package/dist/rooms/keys/browse/0.1/payload.d.ts +4 -4
  62. package/dist/rooms/keys/browse/0.1/payload.js +1 -1
  63. package/dist/rooms/keys/browse/0.2/payload.d.ts +4 -4
  64. package/dist/rooms/keys/browse/0.2/payload.js +1 -1
  65. package/dist/rooms/keys/browse/0.3/payload.d.ts +14 -2
  66. package/dist/rooms/keys/browse/0.3/payload.d.ts.map +1 -1
  67. package/dist/rooms/keys/browse/0.3/payload.js +1 -1
  68. package/dist/rooms/keys/browse/0.3/payload.js.map +1 -1
  69. package/dist/rooms/keys/browse/0.4/payload.d.ts +1127 -0
  70. package/dist/rooms/keys/browse/0.4/payload.d.ts.map +1 -0
  71. package/dist/rooms/keys/browse/0.4/payload.js +658 -0
  72. package/dist/rooms/keys/browse/0.4/payload.js.map +1 -0
  73. package/dist/rooms/keys/changed/0.1/payload.d.ts +173 -0
  74. package/dist/rooms/keys/changed/0.1/payload.d.ts.map +1 -0
  75. package/dist/rooms/keys/changed/0.1/payload.js +99 -0
  76. package/dist/rooms/keys/changed/0.1/payload.js.map +1 -0
  77. package/dist/rooms/keys/profile/read/0.1/payload.d.ts +56 -4
  78. package/dist/rooms/keys/profile/read/0.1/payload.d.ts.map +1 -1
  79. package/dist/rooms/keys/profile/read/0.1/payload.js +28 -2
  80. package/dist/rooms/keys/profile/read/0.1/payload.js.map +1 -1
  81. package/dist/rooms/keys/profile/write/0.1/payload.d.ts +56 -4
  82. package/dist/rooms/keys/profile/write/0.1/payload.d.ts.map +1 -1
  83. package/dist/rooms/keys/profile/write/0.1/payload.js +28 -2
  84. package/dist/rooms/keys/profile/write/0.1/payload.js.map +1 -1
  85. package/dist/rooms/keys/read/0.1/payload.d.ts +14 -2
  86. package/dist/rooms/keys/read/0.1/payload.d.ts.map +1 -1
  87. package/dist/rooms/keys/read/0.1/payload.js +1 -1
  88. package/dist/rooms/keys/read/0.1/payload.js.map +1 -1
  89. package/dist/rooms/keys/read/0.2/payload.d.ts +1287 -0
  90. package/dist/rooms/keys/read/0.2/payload.d.ts.map +1 -0
  91. package/dist/rooms/keys/read/0.2/payload.js +689 -0
  92. package/dist/rooms/keys/read/0.2/payload.js.map +1 -0
  93. package/dist/rooms/keys/seal/0.1/payload.d.ts +4 -4
  94. package/dist/rooms/keys/seal/0.1/payload.js +1 -1
  95. package/dist/rooms/keys/seal/0.2/payload.d.ts +13 -2
  96. package/dist/rooms/keys/seal/0.2/payload.d.ts.map +1 -1
  97. package/dist/rooms/keys/seal/0.2/payload.js +1 -1
  98. package/dist/rooms/keys/seal/0.2/payload.js.map +1 -1
  99. package/dist/rooms/keys/seal/0.3/payload.d.ts +402 -0
  100. package/dist/rooms/keys/seal/0.3/payload.d.ts.map +1 -0
  101. package/dist/rooms/keys/seal/0.3/payload.js +229 -0
  102. package/dist/rooms/keys/seal/0.3/payload.js.map +1 -0
  103. package/dist/rooms/keys/watch/0.1/payload.d.ts +652 -0
  104. package/dist/rooms/keys/watch/0.1/payload.d.ts.map +1 -0
  105. package/dist/rooms/keys/watch/0.1/payload.js +343 -0
  106. package/dist/rooms/keys/watch/0.1/payload.js.map +1 -0
  107. package/dist/rooms/records/get/0.1/payload.d.ts +4 -4
  108. package/dist/rooms/records/get/0.1/payload.js +1 -1
  109. package/dist/rooms/records/get/0.2/payload.d.ts +13 -2
  110. package/dist/rooms/records/get/0.2/payload.d.ts.map +1 -1
  111. package/dist/rooms/records/get/0.2/payload.js +1 -1
  112. package/dist/rooms/records/get/0.2/payload.js.map +1 -1
  113. package/dist/rooms/records/get/0.3/payload.d.ts +1064 -0
  114. package/dist/rooms/records/get/0.3/payload.d.ts.map +1 -0
  115. package/dist/rooms/records/get/0.3/payload.js +571 -0
  116. package/dist/rooms/records/get/0.3/payload.js.map +1 -0
  117. package/dist/rooms/records/list/0.1/payload.d.ts +4 -4
  118. package/dist/rooms/records/list/0.1/payload.js +1 -1
  119. package/dist/rooms/records/list/0.2/payload.d.ts +4 -4
  120. package/dist/rooms/records/list/0.2/payload.js +1 -1
  121. package/dist/rooms/records/list/0.3/payload.d.ts +4 -4
  122. package/dist/rooms/records/list/0.3/payload.js +1 -1
  123. package/dist/rooms/records/list/0.4/payload.d.ts +4 -4
  124. package/dist/rooms/records/list/0.4/payload.js +1 -1
  125. package/dist/rooms/records/list/0.5/payload.d.ts +13 -2
  126. package/dist/rooms/records/list/0.5/payload.d.ts.map +1 -1
  127. package/dist/rooms/records/list/0.5/payload.js +1 -1
  128. package/dist/rooms/records/list/0.5/payload.js.map +1 -1
  129. package/dist/rooms/records/list/0.6/payload.d.ts +1096 -0
  130. package/dist/rooms/records/list/0.6/payload.d.ts.map +1 -0
  131. package/dist/rooms/records/list/0.6/payload.js +596 -0
  132. package/dist/rooms/records/list/0.6/payload.js.map +1 -0
  133. package/dist/rooms/records/put/0.1/payload.d.ts +4 -4
  134. package/dist/rooms/records/put/0.1/payload.js +1 -1
  135. package/dist/rooms/records/put/0.2/payload.d.ts +4 -4
  136. package/dist/rooms/records/put/0.2/payload.js +1 -1
  137. package/dist/rooms/records/put/0.3/payload.d.ts +4 -4
  138. package/dist/rooms/records/put/0.3/payload.js +1 -1
  139. package/dist/rooms/records/put/0.4/payload.d.ts +146 -6
  140. package/dist/rooms/records/put/0.4/payload.d.ts.map +1 -1
  141. package/dist/rooms/records/put/0.4/payload.js +81 -3
  142. package/dist/rooms/records/put/0.4/payload.js.map +1 -1
  143. package/dist/rooms/records/put/0.5/payload.d.ts +1808 -0
  144. package/dist/rooms/records/put/0.5/payload.d.ts.map +1 -0
  145. package/dist/rooms/records/put/0.5/payload.js +984 -0
  146. package/dist/rooms/records/put/0.5/payload.js.map +1 -0
  147. package/dist/rooms/watch/0.1/payload.d.ts +497 -0
  148. package/dist/rooms/watch/0.1/payload.d.ts.map +1 -0
  149. package/dist/rooms/watch/0.1/payload.js +268 -0
  150. package/dist/rooms/watch/0.1/payload.js.map +1 -0
  151. package/dist/trust-task-discovery/0.1/payload.d.ts +4 -4
  152. package/dist/trust-task-discovery/0.1/payload.js +1 -1
  153. package/dist/trust-task-discovery/0.2/payload.d.ts +4 -4
  154. package/dist/trust-task-discovery/0.2/payload.js +1 -1
  155. package/dist/trust-task-discovery/0.3/payload.d.ts +14 -2
  156. package/dist/trust-task-discovery/0.3/payload.d.ts.map +1 -1
  157. package/dist/trust-task-discovery/0.3/payload.js +1 -1
  158. package/dist/trust-task-discovery/0.3/payload.js.map +1 -1
  159. package/dist/trust-task-discovery/0.4/payload.d.ts +521 -0
  160. package/dist/trust-task-discovery/0.4/payload.d.ts.map +1 -0
  161. package/dist/trust-task-discovery/0.4/payload.js +266 -0
  162. package/dist/trust-task-discovery/0.4/payload.js.map +1 -0
  163. package/dist/vtc/_shared/0.7/network-membership.d.ts +16 -0
  164. package/dist/vtc/_shared/0.7/network-membership.d.ts.map +1 -0
  165. package/dist/vtc/_shared/0.7/network-membership.js +6 -0
  166. package/dist/vtc/_shared/0.7/network-membership.js.map +1 -0
  167. package/dist/vtc/boards/delete/0.1/payload.d.ts +416 -0
  168. package/dist/vtc/boards/delete/0.1/payload.d.ts.map +1 -0
  169. package/dist/vtc/boards/delete/0.1/payload.js +236 -0
  170. package/dist/vtc/boards/delete/0.1/payload.js.map +1 -0
  171. package/dist/vtc/boards/update/0.1/payload.d.ts +147 -2
  172. package/dist/vtc/boards/update/0.1/payload.d.ts.map +1 -1
  173. package/dist/vtc/boards/update/0.1/payload.js +72 -0
  174. package/dist/vtc/boards/update/0.1/payload.js.map +1 -1
  175. package/dist/vtc/elections/list/0.5/payload.d.ts +3 -3
  176. package/dist/vtc/elections/list/0.5/payload.js +1 -1
  177. package/dist/vtc/elections/list/0.5/payload.js.map +1 -1
  178. package/dist/vtc/elections/show/0.6/payload.d.ts +3 -3
  179. package/dist/vtc/elections/show/0.6/payload.js +1 -1
  180. package/dist/vtc/elections/show/0.6/payload.js.map +1 -1
  181. package/dist/vtc/elections/tombstones/show/0.1/payload.d.ts +593 -0
  182. package/dist/vtc/elections/tombstones/show/0.1/payload.d.ts.map +1 -0
  183. package/dist/vtc/elections/tombstones/show/0.1/payload.js +335 -0
  184. package/dist/vtc/elections/tombstones/show/0.1/payload.js.map +1 -0
  185. package/dist/vtc/networks/deliver/0.1/payload.d.ts +354 -0
  186. package/dist/vtc/networks/deliver/0.1/payload.d.ts.map +1 -0
  187. package/dist/vtc/networks/deliver/0.1/payload.js +213 -0
  188. package/dist/vtc/networks/deliver/0.1/payload.js.map +1 -0
  189. package/dist/vtc/networks/evidence/0.1/payload.d.ts +14 -2
  190. package/dist/vtc/networks/evidence/0.1/payload.d.ts.map +1 -1
  191. package/dist/vtc/networks/evidence/0.1/payload.js +1 -1
  192. package/dist/vtc/networks/evidence/0.1/payload.js.map +1 -1
  193. package/dist/vtc/networks/evidence/0.2/payload.d.ts +412 -0
  194. package/dist/vtc/networks/evidence/0.2/payload.d.ts.map +1 -0
  195. package/dist/vtc/networks/evidence/0.2/payload.js +233 -0
  196. package/dist/vtc/networks/evidence/0.2/payload.js.map +1 -0
  197. package/dist/vtc/networks/groups/register/0.1/payload.d.ts +14 -2
  198. package/dist/vtc/networks/groups/register/0.1/payload.d.ts.map +1 -1
  199. package/dist/vtc/networks/groups/register/0.1/payload.js +1 -1
  200. package/dist/vtc/networks/groups/register/0.1/payload.js.map +1 -1
  201. package/dist/vtc/networks/groups/register/0.2/payload.d.ts +680 -0
  202. package/dist/vtc/networks/groups/register/0.2/payload.d.ts.map +1 -0
  203. package/dist/vtc/networks/groups/register/0.2/payload.js +401 -0
  204. package/dist/vtc/networks/groups/register/0.2/payload.js.map +1 -0
  205. package/dist/vtc/networks/join/0.1/payload.d.ts +14 -2
  206. package/dist/vtc/networks/join/0.1/payload.d.ts.map +1 -1
  207. package/dist/vtc/networks/join/0.1/payload.js +1 -1
  208. package/dist/vtc/networks/join/0.1/payload.js.map +1 -1
  209. package/dist/vtc/networks/join/0.2/payload.d.ts +760 -0
  210. package/dist/vtc/networks/join/0.2/payload.d.ts.map +1 -0
  211. package/dist/vtc/networks/join/0.2/payload.js +445 -0
  212. package/dist/vtc/networks/join/0.2/payload.js.map +1 -0
  213. package/dist/vtc/networks/leave/0.1/payload.d.ts +14 -2
  214. package/dist/vtc/networks/leave/0.1/payload.d.ts.map +1 -1
  215. package/dist/vtc/networks/leave/0.1/payload.js +1 -1
  216. package/dist/vtc/networks/leave/0.1/payload.js.map +1 -1
  217. package/dist/vtc/networks/leave/0.2/payload.d.ts +664 -0
  218. package/dist/vtc/networks/leave/0.2/payload.d.ts.map +1 -0
  219. package/dist/vtc/networks/leave/0.2/payload.js +393 -0
  220. package/dist/vtc/networks/leave/0.2/payload.js.map +1 -0
  221. package/dist/vtc/networks/list/0.1/payload.d.ts +14 -2
  222. package/dist/vtc/networks/list/0.1/payload.d.ts.map +1 -1
  223. package/dist/vtc/networks/list/0.1/payload.js +1 -1
  224. package/dist/vtc/networks/list/0.1/payload.js.map +1 -1
  225. package/dist/vtc/networks/list/0.2/payload.d.ts +713 -0
  226. package/dist/vtc/networks/list/0.2/payload.d.ts.map +1 -0
  227. package/dist/vtc/networks/list/0.2/payload.js +417 -0
  228. package/dist/vtc/networks/list/0.2/payload.js.map +1 -0
  229. package/dist/vtc/networks/repudiate/0.1/payload.d.ts +14 -2
  230. package/dist/vtc/networks/repudiate/0.1/payload.d.ts.map +1 -1
  231. package/dist/vtc/networks/repudiate/0.1/payload.js +1 -1
  232. package/dist/vtc/networks/repudiate/0.1/payload.js.map +1 -1
  233. package/dist/vtc/networks/repudiate/0.2/payload.d.ts +680 -0
  234. package/dist/vtc/networks/repudiate/0.2/payload.d.ts.map +1 -0
  235. package/dist/vtc/networks/repudiate/0.2/payload.js +400 -0
  236. package/dist/vtc/networks/repudiate/0.2/payload.js.map +1 -0
  237. package/dist/vtc/networks/show/0.1/payload.d.ts +14 -2
  238. package/dist/vtc/networks/show/0.1/payload.d.ts.map +1 -1
  239. package/dist/vtc/networks/show/0.1/payload.js +1 -1
  240. package/dist/vtc/networks/show/0.1/payload.js.map +1 -1
  241. package/dist/vtc/networks/show/0.2/payload.d.ts +650 -0
  242. package/dist/vtc/networks/show/0.2/payload.d.ts.map +1 -0
  243. package/dist/vtc/networks/show/0.2/payload.js +388 -0
  244. package/dist/vtc/networks/show/0.2/payload.js.map +1 -0
  245. package/package.json +1 -1
  246. package/src/_extends.ts +5 -0
  247. package/src/_shared/components.ts +352 -1
  248. package/src/did-management/stats/set-resolution/0.1/payload.ts +312 -0
  249. package/src/index.ts +76 -0
  250. package/src/process-attestation/0.1/payload.ts +53 -9
  251. package/src/rooms/_shared/0.1/room.ts +1 -1
  252. package/src/rooms/_shared/0.2/room.ts +1 -1
  253. package/src/rooms/_shared/0.3/member-profile.ts +11 -0
  254. package/src/rooms/changed/0.1/payload.ts +115 -0
  255. package/src/rooms/keys/act/0.1/payload.ts +5 -5
  256. package/src/rooms/keys/act/0.10/payload.ts +15 -3
  257. package/src/rooms/keys/act/0.11/payload.ts +408 -0
  258. package/src/rooms/keys/act/0.12/payload.ts +396 -0
  259. package/src/rooms/keys/act/0.2/payload.ts +5 -5
  260. package/src/rooms/keys/act/0.3/payload.ts +5 -5
  261. package/src/rooms/keys/act/0.4/payload.ts +5 -5
  262. package/src/rooms/keys/act/0.5/payload.ts +5 -5
  263. package/src/rooms/keys/act/0.6/payload.ts +5 -5
  264. package/src/rooms/keys/act/0.7/payload.ts +5 -5
  265. package/src/rooms/keys/act/0.8/payload.ts +5 -5
  266. package/src/rooms/keys/act/0.9/payload.ts +5 -5
  267. package/src/rooms/keys/browse/0.1/payload.ts +5 -5
  268. package/src/rooms/keys/browse/0.2/payload.ts +5 -5
  269. package/src/rooms/keys/browse/0.3/payload.ts +15 -3
  270. package/src/rooms/keys/browse/0.4/payload.ts +730 -0
  271. package/src/rooms/keys/changed/0.1/payload.ts +138 -0
  272. package/src/rooms/keys/profile/read/0.1/payload.ts +28 -2
  273. package/src/rooms/keys/profile/write/0.1/payload.ts +28 -2
  274. package/src/rooms/keys/read/0.1/payload.ts +15 -3
  275. package/src/rooms/keys/read/0.2/payload.ts +855 -0
  276. package/src/rooms/keys/seal/0.1/payload.ts +5 -5
  277. package/src/rooms/keys/seal/0.2/payload.ts +14 -3
  278. package/src/rooms/keys/seal/0.3/payload.ts +282 -0
  279. package/src/rooms/keys/watch/0.1/payload.ts +452 -0
  280. package/src/rooms/records/get/0.1/payload.ts +5 -5
  281. package/src/rooms/records/get/0.2/payload.ts +14 -3
  282. package/src/rooms/records/get/0.3/payload.ts +684 -0
  283. package/src/rooms/records/list/0.1/payload.ts +5 -5
  284. package/src/rooms/records/list/0.2/payload.ts +5 -5
  285. package/src/rooms/records/list/0.3/payload.ts +5 -5
  286. package/src/rooms/records/list/0.4/payload.ts +5 -5
  287. package/src/rooms/records/list/0.5/payload.ts +14 -3
  288. package/src/rooms/records/list/0.6/payload.ts +673 -0
  289. package/src/rooms/records/put/0.1/payload.ts +5 -5
  290. package/src/rooms/records/put/0.2/payload.ts +5 -5
  291. package/src/rooms/records/put/0.3/payload.ts +5 -5
  292. package/src/rooms/records/put/0.4/payload.ts +95 -5
  293. package/src/rooms/records/put/0.5/payload.ts +1095 -0
  294. package/src/rooms/watch/0.1/payload.ts +340 -0
  295. package/src/trust-task-discovery/0.1/payload.ts +5 -5
  296. package/src/trust-task-discovery/0.2/payload.ts +5 -5
  297. package/src/trust-task-discovery/0.3/payload.ts +15 -3
  298. package/src/trust-task-discovery/0.4/payload.ts +387 -0
  299. package/src/vtc/_shared/0.7/network-membership.ts +17 -0
  300. package/src/vtc/boards/delete/0.1/payload.ts +293 -0
  301. package/src/vtc/boards/update/0.1/payload.ts +91 -2
  302. package/src/vtc/elections/list/0.5/payload.ts +2 -2
  303. package/src/vtc/elections/show/0.6/payload.ts +2 -2
  304. package/src/vtc/elections/tombstones/show/0.1/payload.ts +401 -0
  305. package/src/vtc/networks/deliver/0.1/payload.ts +254 -0
  306. package/src/vtc/networks/evidence/0.1/payload.ts +15 -3
  307. package/src/vtc/networks/evidence/0.2/payload.ts +290 -0
  308. package/src/vtc/networks/groups/register/0.1/payload.ts +15 -3
  309. package/src/vtc/networks/groups/register/0.2/payload.ts +446 -0
  310. package/src/vtc/networks/join/0.1/payload.ts +15 -3
  311. package/src/vtc/networks/join/0.2/payload.ts +492 -0
  312. package/src/vtc/networks/leave/0.1/payload.ts +15 -3
  313. package/src/vtc/networks/leave/0.2/payload.ts +434 -0
  314. package/src/vtc/networks/list/0.1/payload.ts +15 -3
  315. package/src/vtc/networks/list/0.2/payload.ts +463 -0
  316. package/src/vtc/networks/repudiate/0.1/payload.ts +15 -3
  317. package/src/vtc/networks/repudiate/0.2/payload.ts +445 -0
  318. package/src/vtc/networks/show/0.1/payload.ts +15 -3
  319. package/src/vtc/networks/show/0.2/payload.ts +425 -0
@@ -0,0 +1,340 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/rooms/watch/0.1/payload.schema.json
4
+ */
5
+
6
+ import type { AuthorityPresentation, Ext } from "../../../_shared/components.js";
7
+
8
+
9
+ /**
10
+ * A member asks a room's host to send one content-free `rooms/changed` signal to an address the member names, the first time the room moves past a version the member has read to. One signal per arming: a member re-arms the watch after it has caught up. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.
11
+ */
12
+ export interface RoomsWatchPayload {
13
+ /**
14
+ * The room to watch. A host verifies the presentation against credentials issued by this identifier, never against a member list of its own.
15
+ */
16
+ roomId: string;
17
+ /**
18
+ * Must confer `read` at this room's scope — the grant a listing takes, since a signal says no more than a listing would.
19
+ */
20
+ presentation: AuthorityPresentation;
21
+ /**
22
+ * The DID the host sends the signal to, over a transport that DID's document advertises and the host speaks. Chosen by the member. It identifies the watch: a request naming the same room and address re-arms or cancels that watch, and one naming another address is another watch. On a `private` room it MUST be a DID the member uses for nothing else (*Security & Privacy*).
23
+ */
24
+ address: string;
25
+ /**
26
+ * The highest version of the room the member has read to — the watermark it would pass as `sinceVersion` to `rooms/records/list`. The host signals as soon as the room's latest version is above it, at once if it already is, so that a change landing between the member's last listing and this request is not missed. Absent means the room's latest version when the host arms the watch, which a member that has just listed the room may rely on only if it accepts missing a change made in between.
27
+ */
28
+ sinceVersion?: number;
29
+ /**
30
+ * How long the member asks the watch to last if it does not fire, in seconds, up to 30 days. A host MAY grant less, and says what it granted in `expiresAt`. Absent means the host's default.
31
+ */
32
+ leaseSeconds?: number;
33
+ /**
34
+ * End the watch on this room and address. Only `true` is meaningful, so only `true` is accepted. A producer sends neither `sinceVersion` nor `leaseSeconds` with it, and a host ignores them on a cancel. A cancel of a watch the host does not hold succeeds and says `armed: false`, so a retry is harmless.
35
+ */
36
+ cancel?: true;
37
+ /**
38
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
39
+ */
40
+ ext?: Ext;
41
+ }
42
+ /**
43
+ * Success response to rooms/watch. Type https://trusttasks.org/spec/rooms/watch/0.1#response.
44
+ */
45
+ export interface RoomsWatchResponsePayload {
46
+ roomId: string;
47
+ /**
48
+ * The address, echoed.
49
+ */
50
+ address: string;
51
+ /**
52
+ * `true`: the host will send one signal to `address` the first time the room is above `sinceVersion`, or has sent it already because the room was. `false`: the watch was cancelled, or there was none to cancel.
53
+ */
54
+ armed: boolean;
55
+ /**
56
+ * Present when `armed` is `true`: when the host forgets the watch if it has not fired — the lease granted, never later than the earliest instant at which any credential of the presentation stops being valid.
57
+ */
58
+ expiresAt?: string;
59
+ ext?: Ext;
60
+ }
61
+
62
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
63
+ export type { AuthorityPresentation, Ext };
64
+
65
+ /** Trust Task type URI. */
66
+ export const TYPE_URI = "https://trusttasks.org/spec/rooms/watch/0.1" as const;
67
+
68
+ /**
69
+ * The earlier version of this specification that this one declares it
70
+ * extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
71
+ * `null`. Only the direct declaration — follow the chain with
72
+ * `extendsChain` / `readForSpec`.
73
+ */
74
+ export const EXTENDS: string | null = null;
75
+
76
+ /**
77
+ * Why this version is deprecated, or `null` while it is current. A
78
+ * superseded or retired version is still supported, and is withdrawn from
79
+ * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
80
+ * Versions").
81
+ */
82
+ export const DEPRECATION: string | null = null;
83
+
84
+ /** Stable alias for this specification's request payload shape. */
85
+ export type Payload = RoomsWatchPayload;
86
+
87
+ /** Trust Task response type URI (request type URI + "#response"). */
88
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/watch/0.1#response" as const;
89
+
90
+ /** Stable alias for this specification's success-response payload shape. */
91
+ export type Response = RoomsWatchResponsePayload;
92
+
93
+ /**
94
+ * This specification's payload schema, as a value.
95
+ *
96
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
97
+ * rather than only as a `.json` file because TypeScript types are erased
98
+ * at runtime: without a schema a consumer has nothing to validate, and
99
+ * every REQUIRED payload member is optional in practice. Cross-file
100
+ * `$ref`s are already inlined, so it needs no resolver.
101
+ */
102
+ export const PAYLOAD_SCHEMA = {
103
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
104
+ "$id": "https://trusttasks.org/spec/rooms/watch/0.1",
105
+ "title": "Rooms — Watch — payload",
106
+ "description": "A member asks a room's host to send one content-free `rooms/changed` signal to an address the member names, the first time the room moves past a version the member has read to. One signal per arming: a member re-arms the watch after it has caught up. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.",
107
+ "type": "object",
108
+ "additionalProperties": false,
109
+ "required": [
110
+ "roomId",
111
+ "presentation",
112
+ "address"
113
+ ],
114
+ "properties": {
115
+ "roomId": {
116
+ "type": "string",
117
+ "minLength": 1,
118
+ "description": "The room to watch. A host verifies the presentation against credentials issued by this identifier, never against a member list of its own."
119
+ },
120
+ "presentation": {
121
+ "$ref": "#/$defs/AuthorityPresentation",
122
+ "description": "Must confer `read` at this room's scope — the grant a listing takes, since a signal says no more than a listing would."
123
+ },
124
+ "address": {
125
+ "type": "string",
126
+ "pattern": "^did:",
127
+ "maxLength": 1000,
128
+ "description": "The DID the host sends the signal to, over a transport that DID's document advertises and the host speaks. Chosen by the member. It identifies the watch: a request naming the same room and address re-arms or cancels that watch, and one naming another address is another watch. On a `private` room it MUST be a DID the member uses for nothing else (*Security & Privacy*)."
129
+ },
130
+ "sinceVersion": {
131
+ "type": "integer",
132
+ "minimum": 0,
133
+ "description": "The highest version of the room the member has read to — the watermark it would pass as `sinceVersion` to `rooms/records/list`. The host signals as soon as the room's latest version is above it, at once if it already is, so that a change landing between the member's last listing and this request is not missed. Absent means the room's latest version when the host arms the watch, which a member that has just listed the room may rely on only if it accepts missing a change made in between."
134
+ },
135
+ "leaseSeconds": {
136
+ "type": "integer",
137
+ "minimum": 60,
138
+ "maximum": 2592000,
139
+ "description": "How long the member asks the watch to last if it does not fire, in seconds, up to 30 days. A host MAY grant less, and says what it granted in `expiresAt`. Absent means the host's default."
140
+ },
141
+ "cancel": {
142
+ "type": "boolean",
143
+ "const": true,
144
+ "description": "End the watch on this room and address. Only `true` is meaningful, so only `true` is accepted. A producer sends neither `sinceVersion` nor `leaseSeconds` with it, and a host ignores them on a cancel. A cancel of a watch the host does not hold succeeds and says `armed: false`, so a retry is harmless."
145
+ },
146
+ "ext": {
147
+ "$ref": "#/$defs/Ext",
148
+ "description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
149
+ }
150
+ },
151
+ "$defs": {
152
+ "Response": {
153
+ "$anchor": "response",
154
+ "title": "Rooms — Watch — response payload",
155
+ "description": "Success response to rooms/watch. Type https://trusttasks.org/spec/rooms/watch/0.1#response.",
156
+ "type": "object",
157
+ "additionalProperties": false,
158
+ "required": [
159
+ "roomId",
160
+ "address",
161
+ "armed"
162
+ ],
163
+ "properties": {
164
+ "roomId": {
165
+ "type": "string",
166
+ "minLength": 1
167
+ },
168
+ "address": {
169
+ "type": "string",
170
+ "pattern": "^did:",
171
+ "maxLength": 1000,
172
+ "description": "The address, echoed."
173
+ },
174
+ "armed": {
175
+ "type": "boolean",
176
+ "description": "`true`: the host will send one signal to `address` the first time the room is above `sinceVersion`, or has sent it already because the room was. `false`: the watch was cancelled, or there was none to cancel."
177
+ },
178
+ "expiresAt": {
179
+ "type": "string",
180
+ "format": "date-time",
181
+ "description": "Present when `armed` is `true`: when the host forgets the watch if it has not fired — the lease granted, never later than the earliest instant at which any credential of the presentation stops being valid."
182
+ },
183
+ "ext": {
184
+ "$ref": "#/$defs/Ext"
185
+ }
186
+ }
187
+ },
188
+ "Ext": {
189
+ "title": "Ext",
190
+ "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.",
191
+ "type": "object",
192
+ "minProperties": 1,
193
+ "additionalProperties": true,
194
+ "propertyNames": {
195
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
196
+ }
197
+ },
198
+ "AuthorityPresentation": {
199
+ "title": "AuthorityPresentation",
200
+ "type": "object",
201
+ "additionalProperties": false,
202
+ "required": [
203
+ "membership",
204
+ "authority"
205
+ ],
206
+ "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.\n\n**Every credential is its issuer's attestation, and only its issuer's.** For the membership credential and for every link of `authority`, a host MUST verify the credential's `proof` with a key that the credential's own `issuer` lists for `assertionMethod` in its DID document, and MUST refuse a credential whose proof names a verification method that is not its issuer's. A proof that verifies under some other party's key is that party's statement, not the issuer's, and confers nothing. The same binding holds for every other document a room signs, such as a `RevocationList`.\n\n**A chain that verifies may still be revoked.** A host that has accepted a `RevocationList` for the room (`rooms/revocations/put`) MUST, from the moment it accepted it, refuse every presentation in which the membership credential or any link of `authority` is revoked by that list, under every task and every version of every task it serves for the room. A chain from which any link is revoked is refused whole: a credential delegated from a revoked one confers nothing, however it was attenuated. The refusal is the same `permissionDenied` as any other failed presentation.",
207
+ "properties": {
208
+ "membership": {
209
+ "type": "string",
210
+ "description": "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile."
211
+ },
212
+ "authority": {
213
+ "type": "array",
214
+ "minItems": 1,
215
+ "maxItems": 8,
216
+ "items": {
217
+ "type": "string"
218
+ },
219
+ "description": "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent."
220
+ },
221
+ "subjectBinding": {
222
+ "type": "string",
223
+ "description": "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this."
224
+ }
225
+ }
226
+ }
227
+ }
228
+ } as const;
229
+
230
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
231
+ export const RESPONSE_PAYLOAD_SCHEMA = {
232
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
233
+ "$ref": "#/$defs/Response",
234
+ "$defs": {
235
+ "Response": {
236
+ "$anchor": "response",
237
+ "title": "Rooms — Watch — response payload",
238
+ "description": "Success response to rooms/watch. Type https://trusttasks.org/spec/rooms/watch/0.1#response.",
239
+ "type": "object",
240
+ "additionalProperties": false,
241
+ "required": [
242
+ "roomId",
243
+ "address",
244
+ "armed"
245
+ ],
246
+ "properties": {
247
+ "roomId": {
248
+ "type": "string",
249
+ "minLength": 1
250
+ },
251
+ "address": {
252
+ "type": "string",
253
+ "pattern": "^did:",
254
+ "maxLength": 1000,
255
+ "description": "The address, echoed."
256
+ },
257
+ "armed": {
258
+ "type": "boolean",
259
+ "description": "`true`: the host will send one signal to `address` the first time the room is above `sinceVersion`, or has sent it already because the room was. `false`: the watch was cancelled, or there was none to cancel."
260
+ },
261
+ "expiresAt": {
262
+ "type": "string",
263
+ "format": "date-time",
264
+ "description": "Present when `armed` is `true`: when the host forgets the watch if it has not fired — the lease granted, never later than the earliest instant at which any credential of the presentation stops being valid."
265
+ },
266
+ "ext": {
267
+ "$ref": "#/$defs/Ext"
268
+ }
269
+ }
270
+ },
271
+ "Ext": {
272
+ "title": "Ext",
273
+ "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.",
274
+ "type": "object",
275
+ "minProperties": 1,
276
+ "additionalProperties": true,
277
+ "propertyNames": {
278
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
279
+ }
280
+ },
281
+ "AuthorityPresentation": {
282
+ "title": "AuthorityPresentation",
283
+ "type": "object",
284
+ "additionalProperties": false,
285
+ "required": [
286
+ "membership",
287
+ "authority"
288
+ ],
289
+ "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.\n\n**Every credential is its issuer's attestation, and only its issuer's.** For the membership credential and for every link of `authority`, a host MUST verify the credential's `proof` with a key that the credential's own `issuer` lists for `assertionMethod` in its DID document, and MUST refuse a credential whose proof names a verification method that is not its issuer's. A proof that verifies under some other party's key is that party's statement, not the issuer's, and confers nothing. The same binding holds for every other document a room signs, such as a `RevocationList`.\n\n**A chain that verifies may still be revoked.** A host that has accepted a `RevocationList` for the room (`rooms/revocations/put`) MUST, from the moment it accepted it, refuse every presentation in which the membership credential or any link of `authority` is revoked by that list, under every task and every version of every task it serves for the room. A chain from which any link is revoked is refused whole: a credential delegated from a revoked one confers nothing, however it was attenuated. The refusal is the same `permissionDenied` as any other failed presentation.",
290
+ "properties": {
291
+ "membership": {
292
+ "type": "string",
293
+ "description": "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile."
294
+ },
295
+ "authority": {
296
+ "type": "array",
297
+ "minItems": 1,
298
+ "maxItems": 8,
299
+ "items": {
300
+ "type": "string"
301
+ },
302
+ "description": "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent."
303
+ },
304
+ "subjectBinding": {
305
+ "type": "string",
306
+ "description": "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this."
307
+ }
308
+ }
309
+ }
310
+ }
311
+ } as const;
312
+
313
+ /**
314
+ * SPEC.md §7.2 policy for the request variant, from this specification's
315
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
316
+ * per-specification and cannot be derived from the document alone, and
317
+ * item 2 needs the schema this carries.
318
+ */
319
+ export const SPEC = {
320
+ typeUri: TYPE_URI,
321
+ isBearer: false,
322
+ isProofRequired: true,
323
+ isRecipientRequired: true,
324
+ isIssuedAtRequired: true,
325
+ payloadSchema: PAYLOAD_SCHEMA,
326
+ } as const;
327
+
328
+ /**
329
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
330
+ * tracks the *issuer* party's requirement because a response swaps the
331
+ * parties (§7.3 item 5).
332
+ */
333
+ export const RESPONSE_SPEC = {
334
+ typeUri: RESPONSE_TYPE_URI,
335
+ isBearer: false,
336
+ isProofRequired: true,
337
+ isRecipientRequired: true,
338
+ isIssuedAtRequired: true,
339
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
340
+ } as const;
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * Request payload for the framework-defined trust-task-discovery exchange. Carries zero or more slug-glob patterns the discoverer wants the responder to filter against. The response payload schema is reachable via $anchor: 'response'.
8
8
  *
9
- * @deprecated superseded by trust-task-discovery/0.3
9
+ * @deprecated superseded by trust-task-discovery/0.4
10
10
  */
11
11
  export interface TrustTaskDiscoveryPayload {
12
12
  /**
@@ -69,7 +69,7 @@ export interface TrustTaskDiscoveryPayload {
69
69
  /**
70
70
  * List of bare Type URIs the responding party supports. Carried in a Trust Task document whose type is https://trusttasks.org/spec/trust-task-discovery/0.1#response.
71
71
  *
72
- * @deprecated superseded by trust-task-discovery/0.3
72
+ * @deprecated superseded by trust-task-discovery/0.4
73
73
  */
74
74
  export interface TrustTaskDiscoveryResponsePayload {
75
75
  /**
@@ -113,12 +113,12 @@ export const EXTENDS: string | null = null;
113
113
  * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
114
114
  * Versions").
115
115
  */
116
- export const DEPRECATION: string | null = "superseded by trust-task-discovery/0.3";
116
+ export const DEPRECATION: string | null = "superseded by trust-task-discovery/0.4";
117
117
 
118
118
  /**
119
119
  * Stable alias for this specification's request payload shape.
120
120
  *
121
- * @deprecated superseded by trust-task-discovery/0.3
121
+ * @deprecated superseded by trust-task-discovery/0.4
122
122
  */
123
123
  export type Payload = TrustTaskDiscoveryPayload;
124
124
 
@@ -128,7 +128,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/trust-task-discove
128
128
  /**
129
129
  * Stable alias for this specification's success-response payload shape.
130
130
  *
131
- * @deprecated superseded by trust-task-discovery/0.3
131
+ * @deprecated superseded by trust-task-discovery/0.4
132
132
  */
133
133
  export type Response = TrustTaskDiscoveryResponsePayload;
134
134
 
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * Request payload for the framework-defined trust-task-discovery exchange. Carries zero or more slug-glob patterns the discoverer wants the responder to filter against. The response payload schema is reachable via $anchor: 'response'.
8
8
  *
9
- * @deprecated superseded by trust-task-discovery/0.3
9
+ * @deprecated superseded by trust-task-discovery/0.4
10
10
  */
11
11
  export interface TrustTaskDiscoveryPayload {
12
12
  /**
@@ -69,7 +69,7 @@ export interface TrustTaskDiscoveryPayload {
69
69
  /**
70
70
  * List of bare Type URIs the responding party supports. Carried in a Trust Task document whose type is https://trusttasks.org/spec/trust-task-discovery/0.2#response.
71
71
  *
72
- * @deprecated superseded by trust-task-discovery/0.3
72
+ * @deprecated superseded by trust-task-discovery/0.4
73
73
  */
74
74
  export interface TrustTaskDiscoveryResponsePayload {
75
75
  /**
@@ -113,12 +113,12 @@ export const EXTENDS: string | null = null;
113
113
  * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
114
114
  * Versions").
115
115
  */
116
- export const DEPRECATION: string | null = "superseded by trust-task-discovery/0.3";
116
+ export const DEPRECATION: string | null = "superseded by trust-task-discovery/0.4";
117
117
 
118
118
  /**
119
119
  * Stable alias for this specification's request payload shape.
120
120
  *
121
- * @deprecated superseded by trust-task-discovery/0.3
121
+ * @deprecated superseded by trust-task-discovery/0.4
122
122
  */
123
123
  export type Payload = TrustTaskDiscoveryPayload;
124
124
 
@@ -128,7 +128,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/trust-task-discove
128
128
  /**
129
129
  * Stable alias for this specification's success-response payload shape.
130
130
  *
131
- * @deprecated superseded by trust-task-discovery/0.3
131
+ * @deprecated superseded by trust-task-discovery/0.4
132
132
  */
133
133
  export type Response = TrustTaskDiscoveryResponsePayload;
134
134
 
@@ -5,6 +5,8 @@
5
5
 
6
6
  /**
7
7
  * Request payload for the framework-defined trust-task-discovery exchange. Carries zero or more slug-glob patterns the discoverer wants the responder to filter against. The response payload schema is reachable via $anchor: 'response'.
8
+ *
9
+ * @deprecated superseded by trust-task-discovery/0.4
8
10
  */
9
11
  export interface TrustTaskDiscoveryPayload {
10
12
  /**
@@ -66,6 +68,8 @@ export interface TrustTaskDiscoveryPayload {
66
68
  }
67
69
  /**
68
70
  * List of bare Type URIs the responding party supports. Carried in a Trust Task document whose type is https://trusttasks.org/spec/trust-task-discovery/0.3#response. A response-level `acceptanceWindow` is the window the responder applies to every listed Type URI whose entry carries none of its own. Where neither is present for an entry, the discoverer has learnt nothing about that entry's window and MUST NOT read the absence as the absence of a window.
71
+ *
72
+ * @deprecated superseded by trust-task-discovery/0.4
69
73
  */
70
74
  export interface TrustTaskDiscoveryResponsePayload {
71
75
  /**
@@ -124,15 +128,23 @@ export const EXTENDS: string | null = null;
124
128
  * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
125
129
  * Versions").
126
130
  */
127
- export const DEPRECATION: string | null = null;
131
+ export const DEPRECATION: string | null = "superseded by trust-task-discovery/0.4";
128
132
 
129
- /** Stable alias for this specification's request payload shape. */
133
+ /**
134
+ * Stable alias for this specification's request payload shape.
135
+ *
136
+ * @deprecated superseded by trust-task-discovery/0.4
137
+ */
130
138
  export type Payload = TrustTaskDiscoveryPayload;
131
139
 
132
140
  /** Trust Task response type URI (request type URI + "#response"). */
133
141
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/trust-task-discovery/0.3#response" as const;
134
142
 
135
- /** Stable alias for this specification's success-response payload shape. */
143
+ /**
144
+ * Stable alias for this specification's success-response payload shape.
145
+ *
146
+ * @deprecated superseded by trust-task-discovery/0.4
147
+ */
136
148
  export type Response = TrustTaskDiscoveryResponsePayload;
137
149
 
138
150
  /**