@openvtc/trust-tasks 0.28.2 → 0.28.4

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 (264) hide show
  1. package/CHANGELOG.md +146 -0
  2. package/dist/_extends.d.ts.map +1 -1
  3. package/dist/_extends.js +9 -1
  4. package/dist/_extends.js.map +1 -1
  5. package/dist/_shared/components.d.ts +530 -3
  6. package/dist/_shared/components.d.ts.map +1 -1
  7. package/dist/index.d.ts +66 -0
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +66 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/peer-check/ask/0.1/payload.d.ts +397 -0
  12. package/dist/peer-check/ask/0.1/payload.d.ts.map +1 -0
  13. package/dist/peer-check/ask/0.1/payload.js +235 -0
  14. package/dist/peer-check/ask/0.1/payload.js.map +1 -0
  15. package/dist/rooms/keys/act/0.1/payload.d.ts +4 -4
  16. package/dist/rooms/keys/act/0.1/payload.js +1 -1
  17. package/dist/rooms/keys/act/0.2/payload.d.ts +4 -4
  18. package/dist/rooms/keys/act/0.2/payload.js +1 -1
  19. package/dist/rooms/keys/act/0.3/payload.d.ts +4 -4
  20. package/dist/rooms/keys/act/0.3/payload.js +1 -1
  21. package/dist/rooms/keys/act/0.4/payload.d.ts +4 -4
  22. package/dist/rooms/keys/act/0.4/payload.js +1 -1
  23. package/dist/rooms/keys/act/0.5/payload.d.ts +4 -4
  24. package/dist/rooms/keys/act/0.5/payload.js +1 -1
  25. package/dist/rooms/keys/act/0.6/payload.d.ts +4 -4
  26. package/dist/rooms/keys/act/0.6/payload.js +1 -1
  27. package/dist/rooms/keys/act/0.7/payload.d.ts +4 -4
  28. package/dist/rooms/keys/act/0.7/payload.js +1 -1
  29. package/dist/rooms/keys/act/0.8/payload.d.ts +14 -2
  30. package/dist/rooms/keys/act/0.8/payload.d.ts.map +1 -1
  31. package/dist/rooms/keys/act/0.8/payload.js +1 -1
  32. package/dist/rooms/keys/act/0.8/payload.js.map +1 -1
  33. package/dist/rooms/keys/act/0.9/payload.d.ts +560 -0
  34. package/dist/rooms/keys/act/0.9/payload.d.ts.map +1 -0
  35. package/dist/rooms/keys/act/0.9/payload.js +319 -0
  36. package/dist/rooms/keys/act/0.9/payload.js.map +1 -0
  37. package/dist/rooms/records/put/0.1/payload.d.ts +4 -4
  38. package/dist/rooms/records/put/0.1/payload.js +1 -1
  39. package/dist/rooms/records/put/0.2/payload.d.ts +4 -4
  40. package/dist/rooms/records/put/0.2/payload.js +1 -1
  41. package/dist/rooms/records/put/0.3/payload.d.ts +14 -2
  42. package/dist/rooms/records/put/0.3/payload.d.ts.map +1 -1
  43. package/dist/rooms/records/put/0.3/payload.js +1 -1
  44. package/dist/rooms/records/put/0.3/payload.js.map +1 -1
  45. package/dist/rooms/records/put/0.4/payload.d.ts +1474 -0
  46. package/dist/rooms/records/put/0.4/payload.d.ts.map +1 -0
  47. package/dist/rooms/records/put/0.4/payload.js +804 -0
  48. package/dist/rooms/records/put/0.4/payload.js.map +1 -0
  49. package/dist/vta/_shared/0.3/did-key-roles.d.ts +1 -1
  50. package/dist/vta/_shared/0.9/did-template.d.ts +16 -0
  51. package/dist/vta/_shared/0.9/did-template.d.ts.map +1 -0
  52. package/dist/vta/_shared/0.9/did-template.js +6 -0
  53. package/dist/vta/_shared/0.9/did-template.js.map +1 -0
  54. package/dist/vta/did-templates/create/2.0/payload.d.ts +3 -3
  55. package/dist/vta/did-templates/create/2.0/payload.js +1 -1
  56. package/dist/vta/did-templates/create/3.0/payload.d.ts +3 -3
  57. package/dist/vta/did-templates/create/3.0/payload.js +1 -1
  58. package/dist/vta/did-templates/create/3.1/payload.d.ts +12 -2
  59. package/dist/vta/did-templates/create/3.1/payload.d.ts.map +1 -1
  60. package/dist/vta/did-templates/create/3.1/payload.js +1 -1
  61. package/dist/vta/did-templates/create/3.1/payload.js.map +1 -1
  62. package/dist/vta/did-templates/create/3.2/payload.d.ts +1310 -0
  63. package/dist/vta/did-templates/create/3.2/payload.d.ts.map +1 -0
  64. package/dist/vta/did-templates/create/3.2/payload.js +832 -0
  65. package/dist/vta/did-templates/create/3.2/payload.js.map +1 -0
  66. package/dist/vta/did-templates/get/2.0/payload.d.ts +3 -3
  67. package/dist/vta/did-templates/get/2.0/payload.js +1 -1
  68. package/dist/vta/did-templates/get/3.0/payload.d.ts +3 -3
  69. package/dist/vta/did-templates/get/3.0/payload.js +1 -1
  70. package/dist/vta/did-templates/get/3.1/payload.d.ts +12 -2
  71. package/dist/vta/did-templates/get/3.1/payload.d.ts.map +1 -1
  72. package/dist/vta/did-templates/get/3.1/payload.js +1 -1
  73. package/dist/vta/did-templates/get/3.1/payload.js.map +1 -1
  74. package/dist/vta/did-templates/get/3.2/payload.d.ts +928 -0
  75. package/dist/vta/did-templates/get/3.2/payload.d.ts.map +1 -0
  76. package/dist/vta/did-templates/get/3.2/payload.js +593 -0
  77. package/dist/vta/did-templates/get/3.2/payload.js.map +1 -0
  78. package/dist/vta/did-templates/list/2.0/payload.d.ts +4 -4
  79. package/dist/vta/did-templates/list/2.0/payload.js +1 -1
  80. package/dist/vta/did-templates/list/3.0/payload.d.ts +4 -4
  81. package/dist/vta/did-templates/list/3.0/payload.js +1 -1
  82. package/dist/vta/did-templates/list/3.1/payload.d.ts +14 -2
  83. package/dist/vta/did-templates/list/3.1/payload.d.ts.map +1 -1
  84. package/dist/vta/did-templates/list/3.1/payload.js +1 -1
  85. package/dist/vta/did-templates/list/3.1/payload.js.map +1 -1
  86. package/dist/vta/did-templates/list/3.2/payload.d.ts +985 -0
  87. package/dist/vta/did-templates/list/3.2/payload.d.ts.map +1 -0
  88. package/dist/vta/did-templates/list/3.2/payload.js +619 -0
  89. package/dist/vta/did-templates/list/3.2/payload.js.map +1 -0
  90. package/dist/vta/did-templates/update/2.0/payload.d.ts +3 -3
  91. package/dist/vta/did-templates/update/2.0/payload.js +1 -1
  92. package/dist/vta/did-templates/update/3.0/payload.d.ts +3 -3
  93. package/dist/vta/did-templates/update/3.0/payload.js +1 -1
  94. package/dist/vta/did-templates/update/3.1/payload.d.ts +12 -2
  95. package/dist/vta/did-templates/update/3.1/payload.d.ts.map +1 -1
  96. package/dist/vta/did-templates/update/3.1/payload.js +1 -1
  97. package/dist/vta/did-templates/update/3.1/payload.js.map +1 -1
  98. package/dist/vta/did-templates/update/3.2/payload.d.ts +1324 -0
  99. package/dist/vta/did-templates/update/3.2/payload.d.ts.map +1 -0
  100. package/dist/vta/did-templates/update/3.2/payload.js +838 -0
  101. package/dist/vta/did-templates/update/3.2/payload.js.map +1 -0
  102. package/dist/vta/dids/_shared/0.1/key-roles.d.ts +16 -0
  103. package/dist/vta/dids/_shared/0.1/key-roles.d.ts.map +1 -0
  104. package/dist/vta/dids/_shared/0.1/key-roles.js +6 -0
  105. package/dist/vta/dids/_shared/0.1/key-roles.js.map +1 -0
  106. package/dist/vta/dids/_shared/0.1/method-profiles/webvh-parameters.d.ts +11 -0
  107. package/dist/vta/dids/_shared/0.1/method-profiles/webvh-parameters.d.ts.map +1 -0
  108. package/dist/vta/dids/_shared/0.1/method-profiles/webvh-parameters.js +6 -0
  109. package/dist/vta/dids/_shared/0.1/method-profiles/webvh-parameters.js.map +1 -0
  110. package/dist/vta/dids/create/1.0/payload.d.ts +2613 -0
  111. package/dist/vta/dids/create/1.0/payload.d.ts.map +1 -0
  112. package/dist/vta/dids/create/1.0/payload.js +1554 -0
  113. package/dist/vta/dids/create/1.0/payload.js.map +1 -0
  114. package/dist/vta/dids/keys/add/1.0/payload.d.ts +2447 -0
  115. package/dist/vta/dids/keys/add/1.0/payload.d.ts.map +1 -0
  116. package/dist/vta/dids/keys/add/1.0/payload.js +1469 -0
  117. package/dist/vta/dids/keys/add/1.0/payload.js.map +1 -0
  118. package/dist/vta/dids/keys/list/1.0/payload.d.ts +1855 -0
  119. package/dist/vta/dids/keys/list/1.0/payload.d.ts.map +1 -0
  120. package/dist/vta/dids/keys/list/1.0/payload.js +1116 -0
  121. package/dist/vta/dids/keys/list/1.0/payload.js.map +1 -0
  122. package/dist/vta/dids/keys/retire/1.0/payload.d.ts +2449 -0
  123. package/dist/vta/dids/keys/retire/1.0/payload.d.ts.map +1 -0
  124. package/dist/vta/dids/keys/retire/1.0/payload.js +1469 -0
  125. package/dist/vta/dids/keys/retire/1.0/payload.js.map +1 -0
  126. package/dist/vta/dids/keys/revoke/1.0/payload.d.ts +2701 -0
  127. package/dist/vta/dids/keys/revoke/1.0/payload.d.ts.map +1 -0
  128. package/dist/vta/dids/keys/revoke/1.0/payload.js +1597 -0
  129. package/dist/vta/dids/keys/revoke/1.0/payload.js.map +1 -0
  130. package/dist/vta/dids/keys/rotate/1.0/payload.d.ts +2628 -0
  131. package/dist/vta/dids/keys/rotate/1.0/payload.d.ts.map +1 -0
  132. package/dist/vta/dids/keys/rotate/1.0/payload.js +1555 -0
  133. package/dist/vta/dids/keys/rotate/1.0/payload.js.map +1 -0
  134. package/dist/vta/dids/recover/1.0/payload.d.ts +2702 -0
  135. package/dist/vta/dids/recover/1.0/payload.d.ts.map +1 -0
  136. package/dist/vta/dids/recover/1.0/payload.js +1597 -0
  137. package/dist/vta/dids/recover/1.0/payload.js.map +1 -0
  138. package/dist/vta/dids/update/1.0/payload.d.ts +1422 -0
  139. package/dist/vta/dids/update/1.0/payload.d.ts.map +1 -0
  140. package/dist/vta/dids/update/1.0/payload.js +861 -0
  141. package/dist/vta/dids/update/1.0/payload.js.map +1 -0
  142. package/dist/vta/webvh/dids/keys/add/1.0/payload.d.ts +14 -2
  143. package/dist/vta/webvh/dids/keys/add/1.0/payload.d.ts.map +1 -1
  144. package/dist/vta/webvh/dids/keys/add/1.0/payload.js +1 -1
  145. package/dist/vta/webvh/dids/keys/add/1.0/payload.js.map +1 -1
  146. package/dist/vta/webvh/dids/keys/list/1.0/payload.d.ts +14 -2
  147. package/dist/vta/webvh/dids/keys/list/1.0/payload.d.ts.map +1 -1
  148. package/dist/vta/webvh/dids/keys/list/1.0/payload.js +1 -1
  149. package/dist/vta/webvh/dids/keys/list/1.0/payload.js.map +1 -1
  150. package/dist/vta/webvh/dids/keys/retire/1.0/payload.d.ts +14 -2
  151. package/dist/vta/webvh/dids/keys/retire/1.0/payload.d.ts.map +1 -1
  152. package/dist/vta/webvh/dids/keys/retire/1.0/payload.js +1 -1
  153. package/dist/vta/webvh/dids/keys/retire/1.0/payload.js.map +1 -1
  154. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.d.ts +14 -2
  155. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.d.ts.map +1 -1
  156. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.js +1 -1
  157. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.js.map +1 -1
  158. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.d.ts +2 -14
  159. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.d.ts.map +1 -1
  160. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.js +1 -1
  161. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.js.map +1 -1
  162. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.d.ts +14 -2
  163. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.d.ts.map +1 -1
  164. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.js +1 -1
  165. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.js.map +1 -1
  166. package/dist/vta/webvh/dids/update/1.0/payload.d.ts +4 -4
  167. package/dist/vta/webvh/dids/update/1.0/payload.js +1 -1
  168. package/dist/vta/webvh/dids/update/1.1/payload.d.ts +511 -0
  169. package/dist/vta/webvh/dids/update/1.1/payload.d.ts.map +1 -0
  170. package/dist/vta/webvh/dids/update/1.1/payload.js +251 -0
  171. package/dist/vta/webvh/dids/update/1.1/payload.js.map +1 -0
  172. package/dist/vta/webvh/dids/update/2.0/payload.d.ts +4 -4
  173. package/dist/vta/webvh/dids/update/2.0/payload.d.ts.map +1 -1
  174. package/dist/vta/webvh/dids/update/2.0/payload.js +1 -1
  175. package/dist/vta/webvh/dids/update/2.0/payload.js.map +1 -1
  176. package/dist/vta/webvh/dids/update/2.1/payload.d.ts +14 -2
  177. package/dist/vta/webvh/dids/update/2.1/payload.d.ts.map +1 -1
  178. package/dist/vta/webvh/dids/update/2.1/payload.js +1 -1
  179. package/dist/vta/webvh/dids/update/2.1/payload.js.map +1 -1
  180. package/dist/vtc/_shared/0.2/invite.d.ts +16 -0
  181. package/dist/vtc/_shared/0.2/invite.d.ts.map +1 -0
  182. package/dist/vtc/_shared/0.2/invite.js +6 -0
  183. package/dist/vtc/_shared/0.2/invite.js.map +1 -0
  184. package/dist/vtc/admin/invites/create/0.1/payload.d.ts +12 -2
  185. package/dist/vtc/admin/invites/create/0.1/payload.d.ts.map +1 -1
  186. package/dist/vtc/admin/invites/create/0.1/payload.js +1 -1
  187. package/dist/vtc/admin/invites/create/0.1/payload.js.map +1 -1
  188. package/dist/vtc/admin/invites/create/0.2/payload.d.ts +404 -0
  189. package/dist/vtc/admin/invites/create/0.2/payload.d.ts.map +1 -0
  190. package/dist/vtc/admin/invites/create/0.2/payload.js +230 -0
  191. package/dist/vtc/admin/invites/create/0.2/payload.js.map +1 -0
  192. package/dist/vtc/admin/invites/list/0.1/payload.d.ts +12 -2
  193. package/dist/vtc/admin/invites/list/0.1/payload.d.ts.map +1 -1
  194. package/dist/vtc/admin/invites/list/0.1/payload.js +1 -1
  195. package/dist/vtc/admin/invites/list/0.1/payload.js.map +1 -1
  196. package/dist/vtc/admin/invites/list/0.2/payload.d.ts +431 -0
  197. package/dist/vtc/admin/invites/list/0.2/payload.d.ts.map +1 -0
  198. package/dist/vtc/admin/invites/list/0.2/payload.js +264 -0
  199. package/dist/vtc/admin/invites/list/0.2/payload.js.map +1 -0
  200. package/dist/vtc/credentials/reissue/0.1/payload.d.ts +3 -3
  201. package/dist/vtc/credentials/reissue/0.1/payload.js +1 -1
  202. package/dist/vtc/credentials/reissue/0.1/payload.js.map +1 -1
  203. package/package.json +1 -1
  204. package/src/_extends.ts +7 -0
  205. package/src/_shared/components.ts +556 -3
  206. package/src/index.ts +66 -0
  207. package/src/peer-check/ask/0.1/payload.ts +301 -0
  208. package/src/rooms/keys/act/0.1/payload.ts +5 -5
  209. package/src/rooms/keys/act/0.2/payload.ts +5 -5
  210. package/src/rooms/keys/act/0.3/payload.ts +5 -5
  211. package/src/rooms/keys/act/0.4/payload.ts +5 -5
  212. package/src/rooms/keys/act/0.5/payload.ts +5 -5
  213. package/src/rooms/keys/act/0.6/payload.ts +5 -5
  214. package/src/rooms/keys/act/0.7/payload.ts +5 -5
  215. package/src/rooms/keys/act/0.8/payload.ts +15 -3
  216. package/src/rooms/keys/act/0.9/payload.ts +396 -0
  217. package/src/rooms/records/put/0.1/payload.ts +5 -5
  218. package/src/rooms/records/put/0.2/payload.ts +5 -5
  219. package/src/rooms/records/put/0.3/payload.ts +15 -3
  220. package/src/rooms/records/put/0.4/payload.ts +905 -0
  221. package/src/vta/_shared/0.3/did-key-roles.ts +1 -1
  222. package/src/vta/_shared/0.9/did-template.ts +17 -0
  223. package/src/vta/did-templates/create/2.0/payload.ts +4 -4
  224. package/src/vta/did-templates/create/3.0/payload.ts +4 -4
  225. package/src/vta/did-templates/create/3.1/payload.ts +13 -3
  226. package/src/vta/did-templates/create/3.2/payload.ts +869 -0
  227. package/src/vta/did-templates/get/2.0/payload.ts +4 -4
  228. package/src/vta/did-templates/get/3.0/payload.ts +4 -4
  229. package/src/vta/did-templates/get/3.1/payload.ts +13 -3
  230. package/src/vta/did-templates/get/3.2/payload.ts +630 -0
  231. package/src/vta/did-templates/list/2.0/payload.ts +5 -5
  232. package/src/vta/did-templates/list/3.0/payload.ts +5 -5
  233. package/src/vta/did-templates/list/3.1/payload.ts +15 -3
  234. package/src/vta/did-templates/list/3.2/payload.ts +665 -0
  235. package/src/vta/did-templates/update/2.0/payload.ts +4 -4
  236. package/src/vta/did-templates/update/3.0/payload.ts +4 -4
  237. package/src/vta/did-templates/update/3.1/payload.ts +13 -3
  238. package/src/vta/did-templates/update/3.2/payload.ts +879 -0
  239. package/src/vta/dids/_shared/0.1/key-roles.ts +17 -0
  240. package/src/vta/dids/_shared/0.1/method-profiles/webvh-parameters.ts +11 -0
  241. package/src/vta/dids/create/1.0/payload.ts +1648 -0
  242. package/src/vta/dids/keys/add/1.0/payload.ts +1553 -0
  243. package/src/vta/dids/keys/list/1.0/payload.ts +1178 -0
  244. package/src/vta/dids/keys/retire/1.0/payload.ts +1553 -0
  245. package/src/vta/dids/keys/revoke/1.0/payload.ts +1697 -0
  246. package/src/vta/dids/keys/rotate/1.0/payload.ts +1658 -0
  247. package/src/vta/dids/recover/1.0/payload.ts +1700 -0
  248. package/src/vta/dids/update/1.0/payload.ts +940 -0
  249. package/src/vta/webvh/dids/keys/add/1.0/payload.ts +15 -3
  250. package/src/vta/webvh/dids/keys/list/1.0/payload.ts +15 -3
  251. package/src/vta/webvh/dids/keys/retire/1.0/payload.ts +15 -3
  252. package/src/vta/webvh/dids/keys/revoke/1.0/payload.ts +15 -3
  253. package/src/vta/webvh/dids/rotate-keys/1.0/payload.ts +3 -15
  254. package/src/vta/webvh/dids/rotate-keys/2.0/payload.ts +15 -3
  255. package/src/vta/webvh/dids/update/1.0/payload.ts +5 -5
  256. package/src/vta/webvh/dids/update/1.1/payload.ts +351 -0
  257. package/src/vta/webvh/dids/update/2.0/payload.ts +5 -5
  258. package/src/vta/webvh/dids/update/2.1/payload.ts +15 -3
  259. package/src/vtc/_shared/0.2/invite.ts +17 -0
  260. package/src/vtc/admin/invites/create/0.1/payload.ts +13 -3
  261. package/src/vtc/admin/invites/create/0.2/payload.ts +289 -0
  262. package/src/vtc/admin/invites/list/0.1/payload.ts +13 -3
  263. package/src/vtc/admin/invites/list/0.2/payload.ts +294 -0
  264. package/src/vtc/credentials/reissue/0.1/payload.ts +2 -2
package/src/index.ts CHANGED
@@ -1261,6 +1261,9 @@ export import MessagingQueueStatus_v0_1 = _MessagingQueueStatus_v0_1;
1261
1261
  import * as _MessagingStatsShow_v0_1 from "./messaging/stats/show/0.1/payload.js";
1262
1262
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1263
1263
  export import MessagingStatsShow_v0_1 = _MessagingStatsShow_v0_1;
1264
+ import * as _PeerCheckAsk_v0_1 from "./peer-check/ask/0.1/payload.js";
1265
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1266
+ export import PeerCheckAsk_v0_1 = _PeerCheckAsk_v0_1;
1264
1267
  import * as _ContactAnnotationsShared_v0_1 from "./persona/_shared/0.1/contact-annotations.js";
1265
1268
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1266
1269
  export import ContactAnnotationsShared_v0_1 = _ContactAnnotationsShared_v0_1;
@@ -1693,6 +1696,9 @@ export import RoomsKeysAct_v0_7 = _RoomsKeysAct_v0_7;
1693
1696
  import * as _RoomsKeysAct_v0_8 from "./rooms/keys/act/0.8/payload.js";
1694
1697
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1695
1698
  export import RoomsKeysAct_v0_8 = _RoomsKeysAct_v0_8;
1699
+ import * as _RoomsKeysAct_v0_9 from "./rooms/keys/act/0.9/payload.js";
1700
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1701
+ export import RoomsKeysAct_v0_9 = _RoomsKeysAct_v0_9;
1696
1702
  import * as _RoomsKeysBackfill_v0_1 from "./rooms/keys/backfill/0.1/payload.js";
1697
1703
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1698
1704
  export import RoomsKeysBackfill_v0_1 = _RoomsKeysBackfill_v0_1;
@@ -1867,6 +1873,9 @@ export import RoomsRecordsPut_v0_2 = _RoomsRecordsPut_v0_2;
1867
1873
  import * as _RoomsRecordsPut_v0_3 from "./rooms/records/put/0.3/payload.js";
1868
1874
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1869
1875
  export import RoomsRecordsPut_v0_3 = _RoomsRecordsPut_v0_3;
1876
+ import * as _RoomsRecordsPut_v0_4 from "./rooms/records/put/0.4/payload.js";
1877
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1878
+ export import RoomsRecordsPut_v0_4 = _RoomsRecordsPut_v0_4;
1870
1879
  import * as _RoomsRecordsRetentionSet_v0_1 from "./rooms/records/retention/set/0.1/payload.js";
1871
1880
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1872
1881
  export import RoomsRecordsRetentionSet_v0_1 = _RoomsRecordsRetentionSet_v0_1;
@@ -2213,6 +2222,9 @@ export import WebvhRecordsShared_v0_7 = _WebvhRecordsShared_v0_7;
2213
2222
  import * as _ServiceShared_v0_8 from "./vta/_shared/0.8/service.js";
2214
2223
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2215
2224
  export import ServiceShared_v0_8 = _ServiceShared_v0_8;
2225
+ import * as _DidTemplateShared_v0_9 from "./vta/_shared/0.9/did-template.js";
2226
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2227
+ export import DidTemplateShared_v0_9 = _DidTemplateShared_v0_9;
2216
2228
  import * as _VtaAppStateDelete_v1_0 from "./vta/app-state/delete/1.0/payload.js";
2217
2229
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2218
2230
  export import VtaAppStateDelete_v1_0 = _VtaAppStateDelete_v1_0;
@@ -2366,6 +2378,9 @@ export import VtaDidTemplatesCreate_v3_0 = _VtaDidTemplatesCreate_v3_0;
2366
2378
  import * as _VtaDidTemplatesCreate_v3_1 from "./vta/did-templates/create/3.1/payload.js";
2367
2379
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2368
2380
  export import VtaDidTemplatesCreate_v3_1 = _VtaDidTemplatesCreate_v3_1;
2381
+ import * as _VtaDidTemplatesCreate_v3_2 from "./vta/did-templates/create/3.2/payload.js";
2382
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2383
+ export import VtaDidTemplatesCreate_v3_2 = _VtaDidTemplatesCreate_v3_2;
2369
2384
  import * as _VtaDidTemplatesDelete_v1_0 from "./vta/did-templates/delete/1.0/payload.js";
2370
2385
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2371
2386
  export import VtaDidTemplatesDelete_v1_0 = _VtaDidTemplatesDelete_v1_0;
@@ -2384,6 +2399,9 @@ export import VtaDidTemplatesGet_v3_0 = _VtaDidTemplatesGet_v3_0;
2384
2399
  import * as _VtaDidTemplatesGet_v3_1 from "./vta/did-templates/get/3.1/payload.js";
2385
2400
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2386
2401
  export import VtaDidTemplatesGet_v3_1 = _VtaDidTemplatesGet_v3_1;
2402
+ import * as _VtaDidTemplatesGet_v3_2 from "./vta/did-templates/get/3.2/payload.js";
2403
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2404
+ export import VtaDidTemplatesGet_v3_2 = _VtaDidTemplatesGet_v3_2;
2387
2405
  import * as _VtaDidTemplatesList_v1_0 from "./vta/did-templates/list/1.0/payload.js";
2388
2406
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2389
2407
  export import VtaDidTemplatesList_v1_0 = _VtaDidTemplatesList_v1_0;
@@ -2396,6 +2414,9 @@ export import VtaDidTemplatesList_v3_0 = _VtaDidTemplatesList_v3_0;
2396
2414
  import * as _VtaDidTemplatesList_v3_1 from "./vta/did-templates/list/3.1/payload.js";
2397
2415
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2398
2416
  export import VtaDidTemplatesList_v3_1 = _VtaDidTemplatesList_v3_1;
2417
+ import * as _VtaDidTemplatesList_v3_2 from "./vta/did-templates/list/3.2/payload.js";
2418
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2419
+ export import VtaDidTemplatesList_v3_2 = _VtaDidTemplatesList_v3_2;
2399
2420
  import * as _VtaDidTemplatesRender_v1_0 from "./vta/did-templates/render/1.0/payload.js";
2400
2421
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2401
2422
  export import VtaDidTemplatesRender_v1_0 = _VtaDidTemplatesRender_v1_0;
@@ -2414,6 +2435,39 @@ export import VtaDidTemplatesUpdate_v3_0 = _VtaDidTemplatesUpdate_v3_0;
2414
2435
  import * as _VtaDidTemplatesUpdate_v3_1 from "./vta/did-templates/update/3.1/payload.js";
2415
2436
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2416
2437
  export import VtaDidTemplatesUpdate_v3_1 = _VtaDidTemplatesUpdate_v3_1;
2438
+ import * as _VtaDidTemplatesUpdate_v3_2 from "./vta/did-templates/update/3.2/payload.js";
2439
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2440
+ export import VtaDidTemplatesUpdate_v3_2 = _VtaDidTemplatesUpdate_v3_2;
2441
+ import * as _KeyRolesShared_v0_1 from "./vta/dids/_shared/0.1/key-roles.js";
2442
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2443
+ export import KeyRolesShared_v0_1 = _KeyRolesShared_v0_1;
2444
+ import * as _WebvhParametersShared_v0_1 from "./vta/dids/_shared/0.1/method-profiles/webvh-parameters.js";
2445
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2446
+ export import WebvhParametersShared_v0_1 = _WebvhParametersShared_v0_1;
2447
+ import * as _VtaDidsCreate_v1_0 from "./vta/dids/create/1.0/payload.js";
2448
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2449
+ export import VtaDidsCreate_v1_0 = _VtaDidsCreate_v1_0;
2450
+ import * as _VtaDidsKeysAdd_v1_0 from "./vta/dids/keys/add/1.0/payload.js";
2451
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2452
+ export import VtaDidsKeysAdd_v1_0 = _VtaDidsKeysAdd_v1_0;
2453
+ import * as _VtaDidsKeysList_v1_0 from "./vta/dids/keys/list/1.0/payload.js";
2454
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2455
+ export import VtaDidsKeysList_v1_0 = _VtaDidsKeysList_v1_0;
2456
+ import * as _VtaDidsKeysRetire_v1_0 from "./vta/dids/keys/retire/1.0/payload.js";
2457
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2458
+ export import VtaDidsKeysRetire_v1_0 = _VtaDidsKeysRetire_v1_0;
2459
+ import * as _VtaDidsKeysRevoke_v1_0 from "./vta/dids/keys/revoke/1.0/payload.js";
2460
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2461
+ export import VtaDidsKeysRevoke_v1_0 = _VtaDidsKeysRevoke_v1_0;
2462
+ import * as _VtaDidsKeysRotate_v1_0 from "./vta/dids/keys/rotate/1.0/payload.js";
2463
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2464
+ export import VtaDidsKeysRotate_v1_0 = _VtaDidsKeysRotate_v1_0;
2465
+ import * as _VtaDidsRecover_v1_0 from "./vta/dids/recover/1.0/payload.js";
2466
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2467
+ export import VtaDidsRecover_v1_0 = _VtaDidsRecover_v1_0;
2468
+ import * as _VtaDidsUpdate_v1_0 from "./vta/dids/update/1.0/payload.js";
2469
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2470
+ export import VtaDidsUpdate_v1_0 = _VtaDidsUpdate_v1_0;
2417
2471
  import * as _VtaHealthDetails_v0_1 from "./vta/health/details/0.1/payload.js";
2418
2472
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2419
2473
  export import VtaHealthDetails_v0_1 = _VtaHealthDetails_v0_1;
@@ -2687,6 +2741,9 @@ export import VtaWebvhDidsRotateKeys_v2_0 = _VtaWebvhDidsRotateKeys_v2_0;
2687
2741
  import * as _VtaWebvhDidsUpdate_v1_0 from "./vta/webvh/dids/update/1.0/payload.js";
2688
2742
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2689
2743
  export import VtaWebvhDidsUpdate_v1_0 = _VtaWebvhDidsUpdate_v1_0;
2744
+ import * as _VtaWebvhDidsUpdate_v1_1 from "./vta/webvh/dids/update/1.1/payload.js";
2745
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2746
+ export import VtaWebvhDidsUpdate_v1_1 = _VtaWebvhDidsUpdate_v1_1;
2690
2747
  import * as _VtaWebvhDidsUpdate_v2_0 from "./vta/webvh/dids/update/2.0/payload.js";
2691
2748
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2692
2749
  export import VtaWebvhDidsUpdate_v2_0 = _VtaWebvhDidsUpdate_v2_0;
@@ -2798,6 +2855,9 @@ export import VettingAutoGrantShared_v0_1 = _VettingAutoGrantShared_v0_1;
2798
2855
  import * as _WebsiteTransferShared_v0_1 from "./vtc/_shared/0.1/website-transfer.js";
2799
2856
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2800
2857
  export import WebsiteTransferShared_v0_1 = _WebsiteTransferShared_v0_1;
2858
+ import * as _InviteShared_v0_2 from "./vtc/_shared/0.2/invite.js";
2859
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2860
+ export import InviteShared_v0_2 = _InviteShared_v0_2;
2801
2861
  import * as _RoomStorageShared_v0_2 from "./vtc/_shared/0.2/room-storage.js";
2802
2862
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2803
2863
  export import RoomStorageShared_v0_2 = _RoomStorageShared_v0_2;
@@ -2912,9 +2972,15 @@ export import VtcAdminEventsSubscribe_v0_6 = _VtcAdminEventsSubscribe_v0_6;
2912
2972
  import * as _VtcAdminInvitesCreate_v0_1 from "./vtc/admin/invites/create/0.1/payload.js";
2913
2973
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2914
2974
  export import VtcAdminInvitesCreate_v0_1 = _VtcAdminInvitesCreate_v0_1;
2975
+ import * as _VtcAdminInvitesCreate_v0_2 from "./vtc/admin/invites/create/0.2/payload.js";
2976
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2977
+ export import VtcAdminInvitesCreate_v0_2 = _VtcAdminInvitesCreate_v0_2;
2915
2978
  import * as _VtcAdminInvitesList_v0_1 from "./vtc/admin/invites/list/0.1/payload.js";
2916
2979
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2917
2980
  export import VtcAdminInvitesList_v0_1 = _VtcAdminInvitesList_v0_1;
2981
+ import * as _VtcAdminInvitesList_v0_2 from "./vtc/admin/invites/list/0.2/payload.js";
2982
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2983
+ export import VtcAdminInvitesList_v0_2 = _VtcAdminInvitesList_v0_2;
2918
2984
  import * as _VtcAdminInvitesRevoke_v0_1 from "./vtc/admin/invites/revoke/0.1/payload.js";
2919
2985
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2920
2986
  export import VtcAdminInvitesRevoke_v0_1 = _VtcAdminInvitesRevoke_v0_1;
@@ -0,0 +1,301 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/peer-check/ask/0.1/payload.schema.json
4
+ */
5
+
6
+ import type { DigestMultibase } from "../../../_shared/components.js";
7
+
8
+
9
+ /**
10
+ * The request payload of peer-check/ask: a short yes-or-no question one party puts to another, with an unguessable challenge. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3. The asker is the `issuer`, the party being asked is the `recipient`, and the payload MUST carry `expiresAt`, the deadline for the answer. The envelope `expiresAt` keeps its framework meaning (SPEC §4.2): after it the responder does not prompt for the request.
11
+ */
12
+ export interface PeerCheckAskPayload {
13
+ /**
14
+ * An unguessable value the asker generates for this one question: at least 128 bits from a cryptographically secure random source, encoded base64url without padding (22 to 86 characters). The responder echoes it unchanged in its answer.
15
+ */
16
+ challenge: string;
17
+ /**
18
+ * What the asker wants confirmed, in one short sentence, for example "Did you just ask me to send you a one-time code?". It is asker-authored text the responder's device displays attributed to the asker, never as a statement the device itself vouches for.
19
+ */
20
+ question: string;
21
+ /**
22
+ * OPTIONAL extra context from the asker. It is UNTRUSTED display text: the responder's device MUST render it as plain text, attributed to the asker and visually distinct from anything the device itself asserts, and MUST NOT interpret it as markup, a link, or an instruction.
23
+ */
24
+ note?: string;
25
+ /**
26
+ * The answer deadline. After this instant the pending question lapses: the responder does not prompt for it and the asker accepts no answer. It is the task's own deadline (SPEC §7.3 item 16); the envelope `expiresAt` bounds only acceptance of the request document.
27
+ */
28
+ expiresAt: string;
29
+ }
30
+ /**
31
+ * The success-response payload: the responder's answer, signed by the responder. Failures use trust-task-error, not this shape. A responder that declines because it does not recognize the question answers with `decision: notConfirmed`; an error is for a document the responder could not act on at all.
32
+ */
33
+ export interface PeerCheckAskResponsePayload {
34
+ /**
35
+ * The `challenge` of the request, echoed unchanged. The asker rejects an answer whose challenge it did not issue, or has already consumed.
36
+ */
37
+ challenge: string;
38
+ /**
39
+ * The task digest (SPEC §4.9.3) of the request document this answers: multibase(multihash(H(JCS(request without its top-level proof)))). It binds the answer to the exact question, challenge, note, parties and deadline the responder was shown, so a yes given to one ask cannot be presented as a yes to another.
40
+ */
41
+ requestDigest: DigestMultibase;
42
+ /**
43
+ * The responder's answer. `confirmed` means yes to the question as asked; `notConfirmed` means no.
44
+ */
45
+ decision: "confirmed" | "notConfirmed";
46
+ /**
47
+ * When the responder gave the answer, RFC 3339. Informational for the asker; freshness is judged against the request's `payload.expiresAt` and the asker's own clock. It is the time of the user's answer; the envelope `issuedAt` is when the responder signed the document, which may be later.
48
+ */
49
+ respondedAt: string;
50
+ /**
51
+ * OPTIONAL, and only with `decision: notConfirmed`, which the schema enforces; a document carrying it beside `confirmed` is invalid. `notRecognized` — the responder does not recognize what the question describes; `declined` — the responder recognizes it and says no; `other` — anything else. An enumeration rather than prose, so an asker never renders responder-authored text.
52
+ */
53
+ notConfirmedReason?: "notRecognized" | "declined" | "other";
54
+ }
55
+
56
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
57
+ export type { DigestMultibase };
58
+
59
+ /** Trust Task type URI. */
60
+ export const TYPE_URI = "https://trusttasks.org/spec/peer-check/ask/0.1" as const;
61
+
62
+ /**
63
+ * The earlier version of this specification that this one declares it
64
+ * extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
65
+ * `null`. Only the direct declaration — follow the chain with
66
+ * `extendsChain` / `readForSpec`.
67
+ */
68
+ export const EXTENDS: string | null = null;
69
+
70
+ /**
71
+ * Why this version is deprecated, or `null` while it is current. A
72
+ * superseded or retired version is still supported, and is withdrawn from
73
+ * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
74
+ * Versions").
75
+ */
76
+ export const DEPRECATION: string | null = null;
77
+
78
+ /** Stable alias for this specification's request payload shape. */
79
+ export type Payload = PeerCheckAskPayload;
80
+
81
+ /** Trust Task response type URI (request type URI + "#response"). */
82
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/peer-check/ask/0.1#response" as const;
83
+
84
+ /** Stable alias for this specification's success-response payload shape. */
85
+ export type Response = PeerCheckAskResponsePayload;
86
+
87
+ /**
88
+ * This specification's payload schema, as a value.
89
+ *
90
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
91
+ * rather than only as a `.json` file because TypeScript types are erased
92
+ * at runtime: without a schema a consumer has nothing to validate, and
93
+ * every REQUIRED payload member is optional in practice. Cross-file
94
+ * `$ref`s are already inlined, so it needs no resolver.
95
+ */
96
+ export const PAYLOAD_SCHEMA = {
97
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
98
+ "$id": "https://trusttasks.org/spec/peer-check/ask/0.1",
99
+ "title": "Peer Check — Ask — payload",
100
+ "description": "The request payload of peer-check/ask: a short yes-or-no question one party puts to another, with an unguessable challenge. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3. The asker is the `issuer`, the party being asked is the `recipient`, and the payload MUST carry `expiresAt`, the deadline for the answer. The envelope `expiresAt` keeps its framework meaning (SPEC §4.2): after it the responder does not prompt for the request.",
101
+ "type": "object",
102
+ "additionalProperties": false,
103
+ "required": [
104
+ "challenge",
105
+ "question",
106
+ "expiresAt"
107
+ ],
108
+ "properties": {
109
+ "challenge": {
110
+ "type": "string",
111
+ "pattern": "^[A-Za-z0-9_-]{22,86}$",
112
+ "description": "An unguessable value the asker generates for this one question: at least 128 bits from a cryptographically secure random source, encoded base64url without padding (22 to 86 characters). The responder echoes it unchanged in its answer."
113
+ },
114
+ "question": {
115
+ "type": "string",
116
+ "minLength": 1,
117
+ "maxLength": 200,
118
+ "description": "What the asker wants confirmed, in one short sentence, for example \"Did you just ask me to send you a one-time code?\". It is asker-authored text the responder's device displays attributed to the asker, never as a statement the device itself vouches for."
119
+ },
120
+ "note": {
121
+ "type": "string",
122
+ "minLength": 1,
123
+ "maxLength": 500,
124
+ "description": "OPTIONAL extra context from the asker. It is UNTRUSTED display text: the responder's device MUST render it as plain text, attributed to the asker and visually distinct from anything the device itself asserts, and MUST NOT interpret it as markup, a link, or an instruction."
125
+ },
126
+ "expiresAt": {
127
+ "type": "string",
128
+ "format": "date-time",
129
+ "description": "The answer deadline. After this instant the pending question lapses: the responder does not prompt for it and the asker accepts no answer. It is the task's own deadline (SPEC §7.3 item 16); the envelope `expiresAt` bounds only acceptance of the request document."
130
+ }
131
+ },
132
+ "$defs": {
133
+ "Response": {
134
+ "$anchor": "response",
135
+ "title": "Peer Check Ask Response Payload",
136
+ "type": "object",
137
+ "additionalProperties": false,
138
+ "required": [
139
+ "challenge",
140
+ "requestDigest",
141
+ "decision",
142
+ "respondedAt"
143
+ ],
144
+ "description": "The success-response payload: the responder's answer, signed by the responder. Failures use trust-task-error, not this shape. A responder that declines because it does not recognize the question answers with `decision: notConfirmed`; an error is for a document the responder could not act on at all.",
145
+ "dependentSchemas": {
146
+ "notConfirmedReason": {
147
+ "properties": {
148
+ "decision": {
149
+ "const": "notConfirmed"
150
+ }
151
+ }
152
+ }
153
+ },
154
+ "properties": {
155
+ "challenge": {
156
+ "type": "string",
157
+ "pattern": "^[A-Za-z0-9_-]{22,86}$",
158
+ "description": "The `challenge` of the request, echoed unchanged. The asker rejects an answer whose challenge it did not issue, or has already consumed."
159
+ },
160
+ "requestDigest": {
161
+ "$ref": "#/$defs/DigestMultibase",
162
+ "description": "The task digest (SPEC §4.9.3) of the request document this answers: multibase(multihash(H(JCS(request without its top-level proof)))). It binds the answer to the exact question, challenge, note, parties and deadline the responder was shown, so a yes given to one ask cannot be presented as a yes to another."
163
+ },
164
+ "decision": {
165
+ "type": "string",
166
+ "enum": [
167
+ "confirmed",
168
+ "notConfirmed"
169
+ ],
170
+ "description": "The responder's answer. `confirmed` means yes to the question as asked; `notConfirmed` means no."
171
+ },
172
+ "respondedAt": {
173
+ "type": "string",
174
+ "format": "date-time",
175
+ "description": "When the responder gave the answer, RFC 3339. Informational for the asker; freshness is judged against the request's `payload.expiresAt` and the asker's own clock. It is the time of the user's answer; the envelope `issuedAt` is when the responder signed the document, which may be later."
176
+ },
177
+ "notConfirmedReason": {
178
+ "type": "string",
179
+ "enum": [
180
+ "notRecognized",
181
+ "declined",
182
+ "other"
183
+ ],
184
+ "description": "OPTIONAL, and only with `decision: notConfirmed`, which the schema enforces; a document carrying it beside `confirmed` is invalid. `notRecognized` — the responder does not recognize what the question describes; `declined` — the responder recognizes it and says no; `other` — anything else. An enumeration rather than prose, so an asker never renders responder-authored text."
185
+ }
186
+ }
187
+ },
188
+ "DigestMultibase": {
189
+ "title": "DigestMultibase",
190
+ "description": "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.",
191
+ "type": "string",
192
+ "minLength": 16,
193
+ "pattern": "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$",
194
+ "examples": [
195
+ "zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"
196
+ ]
197
+ }
198
+ }
199
+ } as const;
200
+
201
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
202
+ export const RESPONSE_PAYLOAD_SCHEMA = {
203
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
204
+ "$ref": "#/$defs/Response",
205
+ "$defs": {
206
+ "Response": {
207
+ "$anchor": "response",
208
+ "title": "Peer Check Ask Response Payload",
209
+ "type": "object",
210
+ "additionalProperties": false,
211
+ "required": [
212
+ "challenge",
213
+ "requestDigest",
214
+ "decision",
215
+ "respondedAt"
216
+ ],
217
+ "description": "The success-response payload: the responder's answer, signed by the responder. Failures use trust-task-error, not this shape. A responder that declines because it does not recognize the question answers with `decision: notConfirmed`; an error is for a document the responder could not act on at all.",
218
+ "dependentSchemas": {
219
+ "notConfirmedReason": {
220
+ "properties": {
221
+ "decision": {
222
+ "const": "notConfirmed"
223
+ }
224
+ }
225
+ }
226
+ },
227
+ "properties": {
228
+ "challenge": {
229
+ "type": "string",
230
+ "pattern": "^[A-Za-z0-9_-]{22,86}$",
231
+ "description": "The `challenge` of the request, echoed unchanged. The asker rejects an answer whose challenge it did not issue, or has already consumed."
232
+ },
233
+ "requestDigest": {
234
+ "$ref": "#/$defs/DigestMultibase",
235
+ "description": "The task digest (SPEC §4.9.3) of the request document this answers: multibase(multihash(H(JCS(request without its top-level proof)))). It binds the answer to the exact question, challenge, note, parties and deadline the responder was shown, so a yes given to one ask cannot be presented as a yes to another."
236
+ },
237
+ "decision": {
238
+ "type": "string",
239
+ "enum": [
240
+ "confirmed",
241
+ "notConfirmed"
242
+ ],
243
+ "description": "The responder's answer. `confirmed` means yes to the question as asked; `notConfirmed` means no."
244
+ },
245
+ "respondedAt": {
246
+ "type": "string",
247
+ "format": "date-time",
248
+ "description": "When the responder gave the answer, RFC 3339. Informational for the asker; freshness is judged against the request's `payload.expiresAt` and the asker's own clock. It is the time of the user's answer; the envelope `issuedAt` is when the responder signed the document, which may be later."
249
+ },
250
+ "notConfirmedReason": {
251
+ "type": "string",
252
+ "enum": [
253
+ "notRecognized",
254
+ "declined",
255
+ "other"
256
+ ],
257
+ "description": "OPTIONAL, and only with `decision: notConfirmed`, which the schema enforces; a document carrying it beside `confirmed` is invalid. `notRecognized` — the responder does not recognize what the question describes; `declined` — the responder recognizes it and says no; `other` — anything else. An enumeration rather than prose, so an asker never renders responder-authored text."
258
+ }
259
+ }
260
+ },
261
+ "DigestMultibase": {
262
+ "title": "DigestMultibase",
263
+ "description": "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.",
264
+ "type": "string",
265
+ "minLength": 16,
266
+ "pattern": "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$",
267
+ "examples": [
268
+ "zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"
269
+ ]
270
+ }
271
+ }
272
+ } as const;
273
+
274
+ /**
275
+ * SPEC.md §7.2 policy for the request variant, from this specification's
276
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
277
+ * per-specification and cannot be derived from the document alone, and
278
+ * item 2 needs the schema this carries.
279
+ */
280
+ export const SPEC = {
281
+ typeUri: TYPE_URI,
282
+ isBearer: false,
283
+ isProofRequired: true,
284
+ isRecipientRequired: true,
285
+ isIssuedAtRequired: true,
286
+ payloadSchema: PAYLOAD_SCHEMA,
287
+ } as const;
288
+
289
+ /**
290
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
291
+ * tracks the *issuer* party's requirement because a response swaps the
292
+ * parties (§7.3 item 5).
293
+ */
294
+ export const RESPONSE_SPEC = {
295
+ typeUri: RESPONSE_TYPE_URI,
296
+ isBearer: false,
297
+ isProofRequired: true,
298
+ isRecipientRequired: true,
299
+ isIssuedAtRequired: true,
300
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
301
+ } as const;
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../_shared/components.js";
9
9
  /**
10
10
  * A member's own client asks the member's key holder to complete one host-bound room request as the member: the member's own authority narrowed to the one action the request's type needs, the member as issuer, and the member's signature. The outer document members are owned by the framework — SPEC §6.3.
11
11
  *
12
- * @deprecated superseded by rooms/keys/act/0.8
12
+ * @deprecated superseded by rooms/keys/act/0.9
13
13
  */
14
14
  export interface RoomsKeysActPayload {
15
15
  document: UnsignedRoomRequest;
@@ -50,7 +50,7 @@ export interface UnsignedRoomRequest {
50
50
  /**
51
51
  * Success response to rooms/keys/act. Type https://trusttasks.org/spec/rooms/keys/act/0.1#response. The request, completed as the member, for the caller to send to its recipient unaltered.
52
52
  *
53
- * @deprecated superseded by rooms/keys/act/0.8
53
+ * @deprecated superseded by rooms/keys/act/0.9
54
54
  */
55
55
  export interface RoomsKeysActResponsePayload {
56
56
  /**
@@ -88,12 +88,12 @@ export const EXTENDS: string | null = null;
88
88
  * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
89
89
  * Versions").
90
90
  */
91
- export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.8";
91
+ export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.9";
92
92
 
93
93
  /**
94
94
  * Stable alias for this specification's request payload shape.
95
95
  *
96
- * @deprecated superseded by rooms/keys/act/0.8
96
+ * @deprecated superseded by rooms/keys/act/0.9
97
97
  */
98
98
  export type Payload = RoomsKeysActPayload;
99
99
 
@@ -103,7 +103,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/act/0.1
103
103
  /**
104
104
  * Stable alias for this specification's success-response payload shape.
105
105
  *
106
- * @deprecated superseded by rooms/keys/act/0.8
106
+ * @deprecated superseded by rooms/keys/act/0.9
107
107
  */
108
108
  export type Response = RoomsKeysActResponsePayload;
109
109
 
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../_shared/components.js";
9
9
  /**
10
10
  * A member's own client asks the member's key holder to complete one host-bound room request as the member: the member's own authority narrowed to the one action the request's type needs, the member as issuer, and the member's signature. The outer document members are owned by the framework — SPEC §6.3.
11
11
  *
12
- * @deprecated superseded by rooms/keys/act/0.8
12
+ * @deprecated superseded by rooms/keys/act/0.9
13
13
  */
14
14
  export interface RoomsKeysActPayload {
15
15
  document: UnsignedRoomRequest;
@@ -50,7 +50,7 @@ export interface UnsignedRoomRequest {
50
50
  /**
51
51
  * Success response to rooms/keys/act. Type https://trusttasks.org/spec/rooms/keys/act/0.2#response. The request, completed as the member, for the caller to send to its recipient unaltered.
52
52
  *
53
- * @deprecated superseded by rooms/keys/act/0.8
53
+ * @deprecated superseded by rooms/keys/act/0.9
54
54
  */
55
55
  export interface RoomsKeysActResponsePayload {
56
56
  /**
@@ -88,12 +88,12 @@ export const EXTENDS: string | null = null;
88
88
  * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
89
89
  * Versions").
90
90
  */
91
- export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.8";
91
+ export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.9";
92
92
 
93
93
  /**
94
94
  * Stable alias for this specification's request payload shape.
95
95
  *
96
- * @deprecated superseded by rooms/keys/act/0.8
96
+ * @deprecated superseded by rooms/keys/act/0.9
97
97
  */
98
98
  export type Payload = RoomsKeysActPayload;
99
99
 
@@ -103,7 +103,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/act/0.2
103
103
  /**
104
104
  * Stable alias for this specification's success-response payload shape.
105
105
  *
106
- * @deprecated superseded by rooms/keys/act/0.8
106
+ * @deprecated superseded by rooms/keys/act/0.9
107
107
  */
108
108
  export type Response = RoomsKeysActResponsePayload;
109
109
 
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../_shared/components.js";
9
9
  /**
10
10
  * A member's own client asks the member's key holder to complete one host-bound room request — or one of the two requests by which a member takes up a community's offer of admission to a room — as the member: the member's own authority narrowed to the one action the request's type needs, the member as issuer, and the member's signature. The outer document members are owned by the framework — SPEC §6.3.
11
11
  *
12
- * @deprecated superseded by rooms/keys/act/0.8
12
+ * @deprecated superseded by rooms/keys/act/0.9
13
13
  */
14
14
  export interface RoomsKeysActPayload {
15
15
  document: UnsignedRoomRequest;
@@ -50,7 +50,7 @@ export interface UnsignedRoomRequest {
50
50
  /**
51
51
  * Success response to rooms/keys/act. Type https://trusttasks.org/spec/rooms/keys/act/0.3#response. The request, completed as the member, for the caller to send to its recipient unaltered.
52
52
  *
53
- * @deprecated superseded by rooms/keys/act/0.8
53
+ * @deprecated superseded by rooms/keys/act/0.9
54
54
  */
55
55
  export interface RoomsKeysActResponsePayload {
56
56
  /**
@@ -88,12 +88,12 @@ export const EXTENDS: string | null = null;
88
88
  * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
89
89
  * Versions").
90
90
  */
91
- export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.8";
91
+ export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.9";
92
92
 
93
93
  /**
94
94
  * Stable alias for this specification's request payload shape.
95
95
  *
96
- * @deprecated superseded by rooms/keys/act/0.8
96
+ * @deprecated superseded by rooms/keys/act/0.9
97
97
  */
98
98
  export type Payload = RoomsKeysActPayload;
99
99
 
@@ -103,7 +103,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/act/0.3
103
103
  /**
104
104
  * Stable alias for this specification's success-response payload shape.
105
105
  *
106
- * @deprecated superseded by rooms/keys/act/0.8
106
+ * @deprecated superseded by rooms/keys/act/0.9
107
107
  */
108
108
  export type Response = RoomsKeysActResponsePayload;
109
109
 
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../_shared/components.js";
9
9
  /**
10
10
  * A member's own client asks the member's key holder to complete one host-bound room request — or one of the two requests by which a member takes up a community's offer of admission to a room — as the member: the member's own authority narrowed to the one action the request's type needs, the member as issuer, and the member's signature. The outer document members are owned by the framework — SPEC §6.3.
11
11
  *
12
- * @deprecated superseded by rooms/keys/act/0.8
12
+ * @deprecated superseded by rooms/keys/act/0.9
13
13
  */
14
14
  export interface RoomsKeysActPayload {
15
15
  document: UnsignedRoomRequest;
@@ -50,7 +50,7 @@ export interface UnsignedRoomRequest {
50
50
  /**
51
51
  * Success response to rooms/keys/act. Type https://trusttasks.org/spec/rooms/keys/act/0.4#response. The request, completed as the member, for the caller to send to its recipient unaltered.
52
52
  *
53
- * @deprecated superseded by rooms/keys/act/0.8
53
+ * @deprecated superseded by rooms/keys/act/0.9
54
54
  */
55
55
  export interface RoomsKeysActResponsePayload {
56
56
  /**
@@ -88,12 +88,12 @@ export const EXTENDS: string | null = null;
88
88
  * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
89
89
  * Versions").
90
90
  */
91
- export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.8";
91
+ export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.9";
92
92
 
93
93
  /**
94
94
  * Stable alias for this specification's request payload shape.
95
95
  *
96
- * @deprecated superseded by rooms/keys/act/0.8
96
+ * @deprecated superseded by rooms/keys/act/0.9
97
97
  */
98
98
  export type Payload = RoomsKeysActPayload;
99
99
 
@@ -103,7 +103,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/act/0.4
103
103
  /**
104
104
  * Stable alias for this specification's success-response payload shape.
105
105
  *
106
- * @deprecated superseded by rooms/keys/act/0.8
106
+ * @deprecated superseded by rooms/keys/act/0.9
107
107
  */
108
108
  export type Response = RoomsKeysActResponsePayload;
109
109