@openvtc/trust-tasks 0.28.1 → 0.28.3

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 (310) hide show
  1. package/CHANGELOG.md +284 -0
  2. package/dist/_extends.d.ts.map +1 -1
  3. package/dist/_extends.js +7 -1
  4. package/dist/_extends.js.map +1 -1
  5. package/dist/_runtime/document.d.ts +13 -0
  6. package/dist/_runtime/document.d.ts.map +1 -1
  7. package/dist/_runtime/document.js +17 -2
  8. package/dist/_runtime/document.js.map +1 -1
  9. package/dist/_runtime/index.d.ts +1 -1
  10. package/dist/_runtime/index.d.ts.map +1 -1
  11. package/dist/_runtime/index.js +1 -1
  12. package/dist/_runtime/index.js.map +1 -1
  13. package/dist/_shared/components.d.ts +530 -3
  14. package/dist/_shared/components.d.ts.map +1 -1
  15. package/dist/auth/step-up/approve-request/0.5/payload.d.ts +3 -3
  16. package/dist/auth/step-up/approve-request/0.5/payload.js +1 -1
  17. package/dist/auth/step-up/approve-response/0.1/payload.d.ts +4 -4
  18. package/dist/auth/step-up/approve-response/0.1/payload.js +1 -1
  19. package/dist/auth/step-up/approve-response/0.2/payload.d.ts +4 -4
  20. package/dist/auth/step-up/approve-response/0.2/payload.js +1 -1
  21. package/dist/auth/step-up/approve-response/0.3/payload.d.ts +4 -4
  22. package/dist/auth/step-up/approve-response/0.3/payload.js +1 -1
  23. package/dist/auth/step-up/approve-response/0.4/payload.d.ts +4 -4
  24. package/dist/auth/step-up/approve-response/0.4/payload.js +1 -1
  25. package/dist/auth/step-up/approve-response/0.5/payload.d.ts +4 -4
  26. package/dist/auth/step-up/approve-response/0.5/payload.js +1 -1
  27. package/dist/auth/step-up/approve-response/0.6/payload.d.ts +14 -2
  28. package/dist/auth/step-up/approve-response/0.6/payload.d.ts.map +1 -1
  29. package/dist/auth/step-up/approve-response/0.6/payload.js +1 -1
  30. package/dist/auth/step-up/approve-response/0.6/payload.js.map +1 -1
  31. package/dist/auth/step-up/approve-response/0.7/payload.d.ts +988 -0
  32. package/dist/auth/step-up/approve-response/0.7/payload.d.ts.map +1 -0
  33. package/dist/auth/step-up/approve-response/0.7/payload.js +566 -0
  34. package/dist/auth/step-up/approve-response/0.7/payload.js.map +1 -0
  35. package/dist/auth/step-up/approver/attest/0.1/payload.d.ts +3 -3
  36. package/dist/auth/step-up/approver/attest/0.1/payload.js +1 -1
  37. package/dist/index.d.ts +72 -0
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +72 -0
  40. package/dist/index.js.map +1 -1
  41. package/dist/rooms/owner/group/remove/0.1/payload.d.ts +4 -4
  42. package/dist/rooms/owner/group/remove/0.1/payload.js +1 -1
  43. package/dist/rooms/owner/group/remove/0.2/payload.d.ts +4 -4
  44. package/dist/rooms/owner/group/remove/0.2/payload.js +1 -1
  45. package/dist/rooms/owner/group/remove/0.3/payload.d.ts +14 -2
  46. package/dist/rooms/owner/group/remove/0.3/payload.d.ts.map +1 -1
  47. package/dist/rooms/owner/group/remove/0.3/payload.js +1 -1
  48. package/dist/rooms/owner/group/remove/0.3/payload.js.map +1 -1
  49. package/dist/rooms/owner/group/remove/0.4/payload.d.ts +634 -0
  50. package/dist/rooms/owner/group/remove/0.4/payload.d.ts.map +1 -0
  51. package/dist/rooms/owner/group/remove/0.4/payload.js +331 -0
  52. package/dist/rooms/owner/group/remove/0.4/payload.js.map +1 -0
  53. package/dist/rooms/records/put/0.1/payload.d.ts +4 -4
  54. package/dist/rooms/records/put/0.1/payload.js +1 -1
  55. package/dist/rooms/records/put/0.2/payload.d.ts +4 -4
  56. package/dist/rooms/records/put/0.2/payload.js +1 -1
  57. package/dist/rooms/records/put/0.3/payload.d.ts +14 -2
  58. package/dist/rooms/records/put/0.3/payload.d.ts.map +1 -1
  59. package/dist/rooms/records/put/0.3/payload.js +1 -1
  60. package/dist/rooms/records/put/0.3/payload.js.map +1 -1
  61. package/dist/rooms/records/put/0.4/payload.d.ts +1474 -0
  62. package/dist/rooms/records/put/0.4/payload.d.ts.map +1 -0
  63. package/dist/rooms/records/put/0.4/payload.js +804 -0
  64. package/dist/rooms/records/put/0.4/payload.js.map +1 -0
  65. package/dist/task-consent/decision/0.2/payload.d.ts +5 -5
  66. package/dist/task-consent/decision/0.2/payload.js +2 -2
  67. package/dist/vta/_shared/0.3/did-key-roles.d.ts +1 -1
  68. package/dist/vta/_shared/0.9/did-template.d.ts +16 -0
  69. package/dist/vta/_shared/0.9/did-template.d.ts.map +1 -0
  70. package/dist/vta/_shared/0.9/did-template.js +6 -0
  71. package/dist/vta/_shared/0.9/did-template.js.map +1 -0
  72. package/dist/vta/did-templates/create/2.0/payload.d.ts +3 -3
  73. package/dist/vta/did-templates/create/2.0/payload.js +1 -1
  74. package/dist/vta/did-templates/create/3.0/payload.d.ts +3 -3
  75. package/dist/vta/did-templates/create/3.0/payload.js +1 -1
  76. package/dist/vta/did-templates/create/3.1/payload.d.ts +12 -2
  77. package/dist/vta/did-templates/create/3.1/payload.d.ts.map +1 -1
  78. package/dist/vta/did-templates/create/3.1/payload.js +1 -1
  79. package/dist/vta/did-templates/create/3.1/payload.js.map +1 -1
  80. package/dist/vta/did-templates/create/3.2/payload.d.ts +1310 -0
  81. package/dist/vta/did-templates/create/3.2/payload.d.ts.map +1 -0
  82. package/dist/vta/did-templates/create/3.2/payload.js +832 -0
  83. package/dist/vta/did-templates/create/3.2/payload.js.map +1 -0
  84. package/dist/vta/did-templates/get/2.0/payload.d.ts +3 -3
  85. package/dist/vta/did-templates/get/2.0/payload.js +1 -1
  86. package/dist/vta/did-templates/get/3.0/payload.d.ts +3 -3
  87. package/dist/vta/did-templates/get/3.0/payload.js +1 -1
  88. package/dist/vta/did-templates/get/3.1/payload.d.ts +12 -2
  89. package/dist/vta/did-templates/get/3.1/payload.d.ts.map +1 -1
  90. package/dist/vta/did-templates/get/3.1/payload.js +1 -1
  91. package/dist/vta/did-templates/get/3.1/payload.js.map +1 -1
  92. package/dist/vta/did-templates/get/3.2/payload.d.ts +928 -0
  93. package/dist/vta/did-templates/get/3.2/payload.d.ts.map +1 -0
  94. package/dist/vta/did-templates/get/3.2/payload.js +593 -0
  95. package/dist/vta/did-templates/get/3.2/payload.js.map +1 -0
  96. package/dist/vta/did-templates/list/2.0/payload.d.ts +4 -4
  97. package/dist/vta/did-templates/list/2.0/payload.js +1 -1
  98. package/dist/vta/did-templates/list/3.0/payload.d.ts +4 -4
  99. package/dist/vta/did-templates/list/3.0/payload.js +1 -1
  100. package/dist/vta/did-templates/list/3.1/payload.d.ts +14 -2
  101. package/dist/vta/did-templates/list/3.1/payload.d.ts.map +1 -1
  102. package/dist/vta/did-templates/list/3.1/payload.js +1 -1
  103. package/dist/vta/did-templates/list/3.1/payload.js.map +1 -1
  104. package/dist/vta/did-templates/list/3.2/payload.d.ts +985 -0
  105. package/dist/vta/did-templates/list/3.2/payload.d.ts.map +1 -0
  106. package/dist/vta/did-templates/list/3.2/payload.js +619 -0
  107. package/dist/vta/did-templates/list/3.2/payload.js.map +1 -0
  108. package/dist/vta/did-templates/update/2.0/payload.d.ts +3 -3
  109. package/dist/vta/did-templates/update/2.0/payload.js +1 -1
  110. package/dist/vta/did-templates/update/3.0/payload.d.ts +3 -3
  111. package/dist/vta/did-templates/update/3.0/payload.js +1 -1
  112. package/dist/vta/did-templates/update/3.1/payload.d.ts +12 -2
  113. package/dist/vta/did-templates/update/3.1/payload.d.ts.map +1 -1
  114. package/dist/vta/did-templates/update/3.1/payload.js +1 -1
  115. package/dist/vta/did-templates/update/3.1/payload.js.map +1 -1
  116. package/dist/vta/did-templates/update/3.2/payload.d.ts +1324 -0
  117. package/dist/vta/did-templates/update/3.2/payload.d.ts.map +1 -0
  118. package/dist/vta/did-templates/update/3.2/payload.js +838 -0
  119. package/dist/vta/did-templates/update/3.2/payload.js.map +1 -0
  120. package/dist/vta/dids/_shared/0.1/key-roles.d.ts +16 -0
  121. package/dist/vta/dids/_shared/0.1/key-roles.d.ts.map +1 -0
  122. package/dist/vta/dids/_shared/0.1/key-roles.js +6 -0
  123. package/dist/vta/dids/_shared/0.1/key-roles.js.map +1 -0
  124. package/dist/vta/dids/_shared/0.1/method-profiles/webvh-parameters.d.ts +11 -0
  125. package/dist/vta/dids/_shared/0.1/method-profiles/webvh-parameters.d.ts.map +1 -0
  126. package/dist/vta/dids/_shared/0.1/method-profiles/webvh-parameters.js +6 -0
  127. package/dist/vta/dids/_shared/0.1/method-profiles/webvh-parameters.js.map +1 -0
  128. package/dist/vta/dids/create/1.0/payload.d.ts +2613 -0
  129. package/dist/vta/dids/create/1.0/payload.d.ts.map +1 -0
  130. package/dist/vta/dids/create/1.0/payload.js +1554 -0
  131. package/dist/vta/dids/create/1.0/payload.js.map +1 -0
  132. package/dist/vta/dids/keys/add/1.0/payload.d.ts +2447 -0
  133. package/dist/vta/dids/keys/add/1.0/payload.d.ts.map +1 -0
  134. package/dist/vta/dids/keys/add/1.0/payload.js +1469 -0
  135. package/dist/vta/dids/keys/add/1.0/payload.js.map +1 -0
  136. package/dist/vta/dids/keys/list/1.0/payload.d.ts +1855 -0
  137. package/dist/vta/dids/keys/list/1.0/payload.d.ts.map +1 -0
  138. package/dist/vta/dids/keys/list/1.0/payload.js +1116 -0
  139. package/dist/vta/dids/keys/list/1.0/payload.js.map +1 -0
  140. package/dist/vta/dids/keys/retire/1.0/payload.d.ts +2449 -0
  141. package/dist/vta/dids/keys/retire/1.0/payload.d.ts.map +1 -0
  142. package/dist/vta/dids/keys/retire/1.0/payload.js +1469 -0
  143. package/dist/vta/dids/keys/retire/1.0/payload.js.map +1 -0
  144. package/dist/vta/dids/keys/revoke/1.0/payload.d.ts +2701 -0
  145. package/dist/vta/dids/keys/revoke/1.0/payload.d.ts.map +1 -0
  146. package/dist/vta/dids/keys/revoke/1.0/payload.js +1597 -0
  147. package/dist/vta/dids/keys/revoke/1.0/payload.js.map +1 -0
  148. package/dist/vta/dids/keys/rotate/1.0/payload.d.ts +2628 -0
  149. package/dist/vta/dids/keys/rotate/1.0/payload.d.ts.map +1 -0
  150. package/dist/vta/dids/keys/rotate/1.0/payload.js +1555 -0
  151. package/dist/vta/dids/keys/rotate/1.0/payload.js.map +1 -0
  152. package/dist/vta/dids/recover/1.0/payload.d.ts +2702 -0
  153. package/dist/vta/dids/recover/1.0/payload.d.ts.map +1 -0
  154. package/dist/vta/dids/recover/1.0/payload.js +1597 -0
  155. package/dist/vta/dids/recover/1.0/payload.js.map +1 -0
  156. package/dist/vta/dids/update/1.0/payload.d.ts +1422 -0
  157. package/dist/vta/dids/update/1.0/payload.d.ts.map +1 -0
  158. package/dist/vta/dids/update/1.0/payload.js +861 -0
  159. package/dist/vta/dids/update/1.0/payload.js.map +1 -0
  160. package/dist/vta/webvh/dids/keys/add/1.0/payload.d.ts +14 -2
  161. package/dist/vta/webvh/dids/keys/add/1.0/payload.d.ts.map +1 -1
  162. package/dist/vta/webvh/dids/keys/add/1.0/payload.js +1 -1
  163. package/dist/vta/webvh/dids/keys/add/1.0/payload.js.map +1 -1
  164. package/dist/vta/webvh/dids/keys/list/1.0/payload.d.ts +14 -2
  165. package/dist/vta/webvh/dids/keys/list/1.0/payload.d.ts.map +1 -1
  166. package/dist/vta/webvh/dids/keys/list/1.0/payload.js +1 -1
  167. package/dist/vta/webvh/dids/keys/list/1.0/payload.js.map +1 -1
  168. package/dist/vta/webvh/dids/keys/retire/1.0/payload.d.ts +14 -2
  169. package/dist/vta/webvh/dids/keys/retire/1.0/payload.d.ts.map +1 -1
  170. package/dist/vta/webvh/dids/keys/retire/1.0/payload.js +1 -1
  171. package/dist/vta/webvh/dids/keys/retire/1.0/payload.js.map +1 -1
  172. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.d.ts +14 -2
  173. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.d.ts.map +1 -1
  174. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.js +1 -1
  175. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.js.map +1 -1
  176. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.d.ts +2 -14
  177. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.d.ts.map +1 -1
  178. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.js +1 -1
  179. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.js.map +1 -1
  180. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.d.ts +14 -2
  181. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.d.ts.map +1 -1
  182. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.js +1 -1
  183. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.js.map +1 -1
  184. package/dist/vta/webvh/dids/update/1.0/payload.d.ts +2 -14
  185. package/dist/vta/webvh/dids/update/1.0/payload.d.ts.map +1 -1
  186. package/dist/vta/webvh/dids/update/1.0/payload.js +1 -1
  187. package/dist/vta/webvh/dids/update/1.0/payload.js.map +1 -1
  188. package/dist/vta/webvh/dids/update/2.0/payload.d.ts +4 -4
  189. package/dist/vta/webvh/dids/update/2.0/payload.d.ts.map +1 -1
  190. package/dist/vta/webvh/dids/update/2.0/payload.js +1 -1
  191. package/dist/vta/webvh/dids/update/2.0/payload.js.map +1 -1
  192. package/dist/vta/webvh/dids/update/2.1/payload.d.ts +14 -2
  193. package/dist/vta/webvh/dids/update/2.1/payload.d.ts.map +1 -1
  194. package/dist/vta/webvh/dids/update/2.1/payload.js +1 -1
  195. package/dist/vta/webvh/dids/update/2.1/payload.js.map +1 -1
  196. package/dist/vtc/_shared/0.2/invite.d.ts +16 -0
  197. package/dist/vtc/_shared/0.2/invite.d.ts.map +1 -0
  198. package/dist/vtc/_shared/0.2/invite.js +6 -0
  199. package/dist/vtc/_shared/0.2/invite.js.map +1 -0
  200. package/dist/vtc/admin/invites/create/0.1/payload.d.ts +12 -2
  201. package/dist/vtc/admin/invites/create/0.1/payload.d.ts.map +1 -1
  202. package/dist/vtc/admin/invites/create/0.1/payload.js +1 -1
  203. package/dist/vtc/admin/invites/create/0.1/payload.js.map +1 -1
  204. package/dist/vtc/admin/invites/create/0.2/payload.d.ts +404 -0
  205. package/dist/vtc/admin/invites/create/0.2/payload.d.ts.map +1 -0
  206. package/dist/vtc/admin/invites/create/0.2/payload.js +230 -0
  207. package/dist/vtc/admin/invites/create/0.2/payload.js.map +1 -0
  208. package/dist/vtc/admin/invites/list/0.1/payload.d.ts +12 -2
  209. package/dist/vtc/admin/invites/list/0.1/payload.d.ts.map +1 -1
  210. package/dist/vtc/admin/invites/list/0.1/payload.js +1 -1
  211. package/dist/vtc/admin/invites/list/0.1/payload.js.map +1 -1
  212. package/dist/vtc/admin/invites/list/0.2/payload.d.ts +431 -0
  213. package/dist/vtc/admin/invites/list/0.2/payload.d.ts.map +1 -0
  214. package/dist/vtc/admin/invites/list/0.2/payload.js +264 -0
  215. package/dist/vtc/admin/invites/list/0.2/payload.js.map +1 -0
  216. package/dist/vtc/credentials/reissue/0.1/payload.d.ts +3 -3
  217. package/dist/vtc/credentials/reissue/0.1/payload.js +1 -1
  218. package/dist/vtc/credentials/reissue/0.1/payload.js.map +1 -1
  219. package/dist/vtc/install/claim/finish/0.2/payload.d.ts +4 -4
  220. package/dist/vtc/install/claim/finish/0.2/payload.d.ts.map +1 -1
  221. package/dist/vtc/install/claim/finish/0.2/payload.js +1 -1
  222. package/dist/vtc/install/claim/finish/0.2/payload.js.map +1 -1
  223. package/dist/vtc/install/claim/passkey/finish/0.1/payload.d.ts +306 -0
  224. package/dist/vtc/install/claim/passkey/finish/0.1/payload.d.ts.map +1 -0
  225. package/dist/vtc/install/claim/passkey/finish/0.1/payload.js +175 -0
  226. package/dist/vtc/install/claim/passkey/finish/0.1/payload.js.map +1 -0
  227. package/dist/vtc/install/claim/passkey/start/0.1/payload.d.ts +302 -0
  228. package/dist/vtc/install/claim/passkey/start/0.1/payload.d.ts.map +1 -0
  229. package/dist/vtc/install/claim/passkey/start/0.1/payload.js +172 -0
  230. package/dist/vtc/install/claim/passkey/start/0.1/payload.js.map +1 -0
  231. package/dist/vtc/install/claim/start/0.2/payload.d.ts +4 -4
  232. package/dist/vtc/install/claim/start/0.2/payload.d.ts.map +1 -1
  233. package/dist/vtc/install/claim/start/0.2/payload.js +1 -1
  234. package/dist/vtc/install/claim/start/0.2/payload.js.map +1 -1
  235. package/dist/vtc/members/role/set/0.1/payload.d.ts +1867 -0
  236. package/dist/vtc/members/role/set/0.1/payload.d.ts.map +1 -0
  237. package/dist/vtc/members/role/set/0.1/payload.js +1060 -0
  238. package/dist/vtc/members/role/set/0.1/payload.js.map +1 -0
  239. package/package.json +1 -1
  240. package/src/_extends.ts +5 -0
  241. package/src/_runtime/document.ts +18 -2
  242. package/src/_runtime/index.ts +1 -0
  243. package/src/_shared/components.ts +556 -3
  244. package/src/auth/step-up/approve-request/0.5/payload.ts +2 -2
  245. package/src/auth/step-up/approve-response/0.1/payload.ts +5 -5
  246. package/src/auth/step-up/approve-response/0.2/payload.ts +5 -5
  247. package/src/auth/step-up/approve-response/0.3/payload.ts +5 -5
  248. package/src/auth/step-up/approve-response/0.4/payload.ts +5 -5
  249. package/src/auth/step-up/approve-response/0.5/payload.ts +5 -5
  250. package/src/auth/step-up/approve-response/0.6/payload.ts +15 -3
  251. package/src/auth/step-up/approve-response/0.7/payload.ts +664 -0
  252. package/src/auth/step-up/approver/attest/0.1/payload.ts +2 -2
  253. package/src/index.ts +72 -0
  254. package/src/rooms/owner/group/remove/0.1/payload.ts +5 -5
  255. package/src/rooms/owner/group/remove/0.2/payload.ts +5 -5
  256. package/src/rooms/owner/group/remove/0.3/payload.ts +15 -3
  257. package/src/rooms/owner/group/remove/0.4/payload.ts +442 -0
  258. package/src/rooms/records/put/0.1/payload.ts +5 -5
  259. package/src/rooms/records/put/0.2/payload.ts +5 -5
  260. package/src/rooms/records/put/0.3/payload.ts +15 -3
  261. package/src/rooms/records/put/0.4/payload.ts +905 -0
  262. package/src/task-consent/decision/0.2/payload.ts +3 -3
  263. package/src/vta/_shared/0.3/did-key-roles.ts +1 -1
  264. package/src/vta/_shared/0.9/did-template.ts +17 -0
  265. package/src/vta/did-templates/create/2.0/payload.ts +4 -4
  266. package/src/vta/did-templates/create/3.0/payload.ts +4 -4
  267. package/src/vta/did-templates/create/3.1/payload.ts +13 -3
  268. package/src/vta/did-templates/create/3.2/payload.ts +869 -0
  269. package/src/vta/did-templates/get/2.0/payload.ts +4 -4
  270. package/src/vta/did-templates/get/3.0/payload.ts +4 -4
  271. package/src/vta/did-templates/get/3.1/payload.ts +13 -3
  272. package/src/vta/did-templates/get/3.2/payload.ts +630 -0
  273. package/src/vta/did-templates/list/2.0/payload.ts +5 -5
  274. package/src/vta/did-templates/list/3.0/payload.ts +5 -5
  275. package/src/vta/did-templates/list/3.1/payload.ts +15 -3
  276. package/src/vta/did-templates/list/3.2/payload.ts +665 -0
  277. package/src/vta/did-templates/update/2.0/payload.ts +4 -4
  278. package/src/vta/did-templates/update/3.0/payload.ts +4 -4
  279. package/src/vta/did-templates/update/3.1/payload.ts +13 -3
  280. package/src/vta/did-templates/update/3.2/payload.ts +879 -0
  281. package/src/vta/dids/_shared/0.1/key-roles.ts +17 -0
  282. package/src/vta/dids/_shared/0.1/method-profiles/webvh-parameters.ts +11 -0
  283. package/src/vta/dids/create/1.0/payload.ts +1648 -0
  284. package/src/vta/dids/keys/add/1.0/payload.ts +1553 -0
  285. package/src/vta/dids/keys/list/1.0/payload.ts +1178 -0
  286. package/src/vta/dids/keys/retire/1.0/payload.ts +1553 -0
  287. package/src/vta/dids/keys/revoke/1.0/payload.ts +1697 -0
  288. package/src/vta/dids/keys/rotate/1.0/payload.ts +1658 -0
  289. package/src/vta/dids/recover/1.0/payload.ts +1700 -0
  290. package/src/vta/dids/update/1.0/payload.ts +940 -0
  291. package/src/vta/webvh/dids/keys/add/1.0/payload.ts +15 -3
  292. package/src/vta/webvh/dids/keys/list/1.0/payload.ts +15 -3
  293. package/src/vta/webvh/dids/keys/retire/1.0/payload.ts +15 -3
  294. package/src/vta/webvh/dids/keys/revoke/1.0/payload.ts +15 -3
  295. package/src/vta/webvh/dids/rotate-keys/1.0/payload.ts +3 -15
  296. package/src/vta/webvh/dids/rotate-keys/2.0/payload.ts +15 -3
  297. package/src/vta/webvh/dids/update/1.0/payload.ts +3 -15
  298. package/src/vta/webvh/dids/update/2.0/payload.ts +5 -5
  299. package/src/vta/webvh/dids/update/2.1/payload.ts +15 -3
  300. package/src/vtc/_shared/0.2/invite.ts +17 -0
  301. package/src/vtc/admin/invites/create/0.1/payload.ts +13 -3
  302. package/src/vtc/admin/invites/create/0.2/payload.ts +289 -0
  303. package/src/vtc/admin/invites/list/0.1/payload.ts +13 -3
  304. package/src/vtc/admin/invites/list/0.2/payload.ts +294 -0
  305. package/src/vtc/credentials/reissue/0.1/payload.ts +2 -2
  306. package/src/vtc/install/claim/finish/0.2/payload.ts +5 -5
  307. package/src/vtc/install/claim/passkey/finish/0.1/payload.ts +228 -0
  308. package/src/vtc/install/claim/passkey/start/0.1/payload.ts +225 -0
  309. package/src/vtc/install/claim/start/0.2/payload.ts +5 -5
  310. package/src/vtc/members/role/set/0.1/payload.ts +1142 -0
@@ -0,0 +1,634 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/rooms/owner/group/remove/0.4/payload.schema.json
4
+ */
5
+ import type { DigestMultibase, Ext, RevocationHead } from "../../../../../_shared/components.js";
6
+ /**
7
+ * A room's owner asks their own agent to remove a member from a sealed room: on an attributed room withdraw every credential the room gave them, at its host at once, and on either sealed tier remove their leaf from the room's MLS group and advance its epoch. 0.4 removes a private room's member from the group, withdrawing nothing, where 0.2 and 0.3 refused.
8
+ */
9
+ export interface RoomsOwnerGroupRemovePayload {
10
+ /**
11
+ * The room whose group loses a member. The recipient MUST hold its group and a signing key for it.
12
+ */
13
+ roomId: string;
14
+ /**
15
+ * The room's host, as a DID: where the withdrawal, if any, is delivered first and the room's epoch advances.
16
+ */
17
+ host: string;
18
+ /**
19
+ * Any other host serving the room, as DIDs. On a room that is not private, each is delivered the withdrawal too: a host that does not hold it honours the member's credentials still. Unused on a private room.
20
+ *
21
+ * @maxItems 7
22
+ */
23
+ mirrors?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string];
24
+ /**
25
+ * The DID whose leaf is removed and, on a room that is not private, whose credentials the room withdraws. Never the recipient's own leaf.
26
+ */
27
+ member: string;
28
+ /**
29
+ * Which held key signs the room's revocation list as the room, named explicitly as for rooms/owner/revoke. Required unless the room is private, whose removal signs nothing as the room: a request naming none for any other room is refused with noSigningKey.
30
+ */
31
+ signingKeyId?: string;
32
+ /**
33
+ * OPTIONAL. When the last credential the room issued `member` expires, after which the withdrawal can be dropped from the room's list. Unused on a private room.
34
+ */
35
+ until?: string;
36
+ /**
37
+ * Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential. Never put into the revocation list.
38
+ */
39
+ reason?: string;
40
+ /**
41
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
42
+ */
43
+ ext?: Ext;
44
+ }
45
+ /**
46
+ * Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.4#response. Whether the member was withdrawn at the host, the revocation list in force there when they were, and the room's new epoch, which the removed member holds no key for.
47
+ */
48
+ export interface RoomsOwnerGroupRemoveResponsePayload {
49
+ /**
50
+ * The room.
51
+ */
52
+ roomId: string;
53
+ /**
54
+ * Who was removed.
55
+ */
56
+ member: string;
57
+ /**
58
+ * Whether the member's credentials were withdrawn at the host. True on an attributed room, with `revocation` and `revokedAt`; false on a private room, whose host cannot be told whom to refuse: the member's credentials stay valid there until they expire, and only a reset of every credential (rooms/owner/revoke, a `room` entry) withdraws them. A surface MUST NOT report false as a withdrawal.
59
+ */
60
+ withdrawn: boolean;
61
+ /**
62
+ * The revocation list carrying the withdrawal, as `host` accepted it. Present exactly when `withdrawn` is true.
63
+ */
64
+ revocation?: RevocationHead;
65
+ /**
66
+ * The withdrawal's `revokedAt`: credentials the room issued `member` before it are refused, and fresh ones issued after it are not. Present only when `withdrawn` is true.
67
+ */
68
+ revokedAt?: string;
69
+ /**
70
+ * The room epoch after the removal, as the host recorded it.
71
+ */
72
+ epoch: number;
73
+ /**
74
+ * Mirrors that did not confirm the withdrawal. Each still honours the member's credentials until the list is delivered — with rooms/owner/revoke and no `withdraw`. Absent when every mirror confirmed. Never present when `withdrawn` is false.
75
+ *
76
+ * @maxItems 7
77
+ */
78
+ mirrorsPending?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string];
79
+ ext?: Ext;
80
+ }
81
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
82
+ export type { DigestMultibase, Ext, RevocationHead };
83
+ /** Trust Task type URI. */
84
+ export declare const TYPE_URI: "https://trusttasks.org/spec/rooms/owner/group/remove/0.4";
85
+ /**
86
+ * The earlier version of this specification that this one declares it
87
+ * extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
88
+ * `null`. Only the direct declaration — follow the chain with
89
+ * `extendsChain` / `readForSpec`.
90
+ */
91
+ export declare const EXTENDS: string | null;
92
+ /**
93
+ * Why this version is deprecated, or `null` while it is current. A
94
+ * superseded or retired version is still supported, and is withdrawn from
95
+ * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
96
+ * Versions").
97
+ */
98
+ export declare const DEPRECATION: string | null;
99
+ /** Stable alias for this specification's request payload shape. */
100
+ export type Payload = RoomsOwnerGroupRemovePayload;
101
+ /** Trust Task response type URI (request type URI + "#response"). */
102
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/rooms/owner/group/remove/0.4#response";
103
+ /** Stable alias for this specification's success-response payload shape. */
104
+ export type Response = RoomsOwnerGroupRemoveResponsePayload;
105
+ /**
106
+ * This specification's payload schema, as a value.
107
+ *
108
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
109
+ * rather than only as a `.json` file because TypeScript types are erased
110
+ * at runtime: without a schema a consumer has nothing to validate, and
111
+ * every REQUIRED payload member is optional in practice. Cross-file
112
+ * `$ref`s are already inlined, so it needs no resolver.
113
+ */
114
+ export declare const PAYLOAD_SCHEMA: {
115
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
116
+ readonly $id: "https://trusttasks.org/spec/rooms/owner/group/remove/0.4";
117
+ readonly title: "Rooms Owner Group Remove — payload";
118
+ readonly description: "A room's owner asks their own agent to remove a member from a sealed room: on an attributed room withdraw every credential the room gave them, at its host at once, and on either sealed tier remove their leaf from the room's MLS group and advance its epoch. 0.4 removes a private room's member from the group, withdrawing nothing, where 0.2 and 0.3 refused.";
119
+ readonly type: "object";
120
+ readonly additionalProperties: false;
121
+ readonly required: readonly ["roomId", "host", "member"];
122
+ readonly properties: {
123
+ readonly roomId: {
124
+ readonly type: "string";
125
+ readonly minLength: 1;
126
+ readonly maxLength: 512;
127
+ readonly description: "The room whose group loses a member. The recipient MUST hold its group and a signing key for it.";
128
+ };
129
+ readonly host: {
130
+ readonly type: "string";
131
+ readonly pattern: "^did:";
132
+ readonly maxLength: 2048;
133
+ readonly description: "The room's host, as a DID: where the withdrawal, if any, is delivered first and the room's epoch advances.";
134
+ };
135
+ readonly mirrors: {
136
+ readonly type: "array";
137
+ readonly maxItems: 7;
138
+ readonly uniqueItems: true;
139
+ readonly items: {
140
+ readonly type: "string";
141
+ readonly pattern: "^did:";
142
+ readonly maxLength: 2048;
143
+ };
144
+ readonly description: "Any other host serving the room, as DIDs. On a room that is not private, each is delivered the withdrawal too: a host that does not hold it honours the member's credentials still. Unused on a private room.";
145
+ };
146
+ readonly member: {
147
+ readonly type: "string";
148
+ readonly pattern: "^did:";
149
+ readonly maxLength: 2048;
150
+ readonly description: "The DID whose leaf is removed and, on a room that is not private, whose credentials the room withdraws. Never the recipient's own leaf.";
151
+ };
152
+ readonly signingKeyId: {
153
+ readonly type: "string";
154
+ readonly minLength: 1;
155
+ readonly maxLength: 256;
156
+ readonly description: "Which held key signs the room's revocation list as the room, named explicitly as for rooms/owner/revoke. Required unless the room is private, whose removal signs nothing as the room: a request naming none for any other room is refused with noSigningKey.";
157
+ };
158
+ readonly until: {
159
+ readonly type: "string";
160
+ readonly format: "date-time";
161
+ readonly description: "OPTIONAL. When the last credential the room issued `member` expires, after which the withdrawal can be dropped from the room's list. Unused on a private room.";
162
+ };
163
+ readonly reason: {
164
+ readonly type: "string";
165
+ readonly minLength: 1;
166
+ readonly maxLength: 500;
167
+ readonly description: "Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential. Never put into the revocation list.";
168
+ };
169
+ readonly ext: {
170
+ readonly $ref: "#/$defs/Ext";
171
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
172
+ };
173
+ };
174
+ readonly $defs: {
175
+ readonly Response: {
176
+ readonly $anchor: "response";
177
+ readonly title: "Rooms Owner Group Remove — response payload";
178
+ readonly description: "Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.4#response. Whether the member was withdrawn at the host, the revocation list in force there when they were, and the room's new epoch, which the removed member holds no key for.";
179
+ readonly type: "object";
180
+ readonly additionalProperties: false;
181
+ readonly required: readonly ["roomId", "member", "withdrawn", "epoch"];
182
+ readonly properties: {
183
+ readonly roomId: {
184
+ readonly type: "string";
185
+ readonly minLength: 1;
186
+ readonly maxLength: 512;
187
+ readonly description: "The room.";
188
+ };
189
+ readonly member: {
190
+ readonly type: "string";
191
+ readonly pattern: "^did:";
192
+ readonly maxLength: 2048;
193
+ readonly description: "Who was removed.";
194
+ };
195
+ readonly withdrawn: {
196
+ readonly type: "boolean";
197
+ readonly description: "Whether the member's credentials were withdrawn at the host. True on an attributed room, with `revocation` and `revokedAt`; false on a private room, whose host cannot be told whom to refuse: the member's credentials stay valid there until they expire, and only a reset of every credential (rooms/owner/revoke, a `room` entry) withdraws them. A surface MUST NOT report false as a withdrawal.";
198
+ };
199
+ readonly revocation: {
200
+ readonly $ref: "#/$defs/RevocationHead";
201
+ readonly description: "The revocation list carrying the withdrawal, as `host` accepted it. Present exactly when `withdrawn` is true.";
202
+ };
203
+ readonly revokedAt: {
204
+ readonly type: "string";
205
+ readonly format: "date-time";
206
+ readonly description: "The withdrawal's `revokedAt`: credentials the room issued `member` before it are refused, and fresh ones issued after it are not. Present only when `withdrawn` is true.";
207
+ };
208
+ readonly epoch: {
209
+ readonly type: "integer";
210
+ readonly minimum: 2;
211
+ readonly description: "The room epoch after the removal, as the host recorded it.";
212
+ };
213
+ readonly mirrorsPending: {
214
+ readonly type: "array";
215
+ readonly maxItems: 7;
216
+ readonly items: {
217
+ readonly type: "string";
218
+ readonly pattern: "^did:";
219
+ readonly maxLength: 2048;
220
+ };
221
+ readonly description: "Mirrors that did not confirm the withdrawal. Each still honours the member's credentials until the list is delivered — with rooms/owner/revoke and no `withdraw`. Absent when every mirror confirmed. Never present when `withdrawn` is false.";
222
+ };
223
+ readonly ext: {
224
+ readonly $ref: "#/$defs/Ext";
225
+ };
226
+ };
227
+ };
228
+ readonly Ext: {
229
+ readonly title: "Ext";
230
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
231
+ readonly type: "object";
232
+ readonly minProperties: 1;
233
+ readonly additionalProperties: true;
234
+ readonly propertyNames: {
235
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
236
+ };
237
+ };
238
+ readonly RevocationHead: {
239
+ readonly title: "RevocationHead";
240
+ readonly type: "object";
241
+ readonly additionalProperties: false;
242
+ readonly required: readonly ["sequence", "digest"];
243
+ readonly description: "Which `RevocationList` a party holds, without its entries: comparable between the room's key holder and a host, and between two hosts, without disclosing whom the room withdrew.";
244
+ readonly properties: {
245
+ readonly sequence: {
246
+ readonly type: "integer";
247
+ readonly minimum: 1;
248
+ readonly description: "The list's `sequence`.";
249
+ };
250
+ readonly digest: {
251
+ readonly $ref: "#/$defs/DigestMultibase";
252
+ readonly description: "SHA-256 multihash of the list's RFC 8785 (JCS) canonicalization, `proof` included. Two parties holding one sequence with different digests have been given two lists the room signed at one sequence.";
253
+ };
254
+ };
255
+ };
256
+ readonly DigestMultibase: {
257
+ readonly title: "DigestMultibase";
258
+ readonly 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`.";
259
+ readonly type: "string";
260
+ readonly minLength: 16;
261
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
262
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
263
+ };
264
+ };
265
+ };
266
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
267
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
268
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
269
+ readonly $ref: "#/$defs/Response";
270
+ readonly $defs: {
271
+ readonly Response: {
272
+ readonly $anchor: "response";
273
+ readonly title: "Rooms Owner Group Remove — response payload";
274
+ readonly description: "Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.4#response. Whether the member was withdrawn at the host, the revocation list in force there when they were, and the room's new epoch, which the removed member holds no key for.";
275
+ readonly type: "object";
276
+ readonly additionalProperties: false;
277
+ readonly required: readonly ["roomId", "member", "withdrawn", "epoch"];
278
+ readonly properties: {
279
+ readonly roomId: {
280
+ readonly type: "string";
281
+ readonly minLength: 1;
282
+ readonly maxLength: 512;
283
+ readonly description: "The room.";
284
+ };
285
+ readonly member: {
286
+ readonly type: "string";
287
+ readonly pattern: "^did:";
288
+ readonly maxLength: 2048;
289
+ readonly description: "Who was removed.";
290
+ };
291
+ readonly withdrawn: {
292
+ readonly type: "boolean";
293
+ readonly description: "Whether the member's credentials were withdrawn at the host. True on an attributed room, with `revocation` and `revokedAt`; false on a private room, whose host cannot be told whom to refuse: the member's credentials stay valid there until they expire, and only a reset of every credential (rooms/owner/revoke, a `room` entry) withdraws them. A surface MUST NOT report false as a withdrawal.";
294
+ };
295
+ readonly revocation: {
296
+ readonly $ref: "#/$defs/RevocationHead";
297
+ readonly description: "The revocation list carrying the withdrawal, as `host` accepted it. Present exactly when `withdrawn` is true.";
298
+ };
299
+ readonly revokedAt: {
300
+ readonly type: "string";
301
+ readonly format: "date-time";
302
+ readonly description: "The withdrawal's `revokedAt`: credentials the room issued `member` before it are refused, and fresh ones issued after it are not. Present only when `withdrawn` is true.";
303
+ };
304
+ readonly epoch: {
305
+ readonly type: "integer";
306
+ readonly minimum: 2;
307
+ readonly description: "The room epoch after the removal, as the host recorded it.";
308
+ };
309
+ readonly mirrorsPending: {
310
+ readonly type: "array";
311
+ readonly maxItems: 7;
312
+ readonly items: {
313
+ readonly type: "string";
314
+ readonly pattern: "^did:";
315
+ readonly maxLength: 2048;
316
+ };
317
+ readonly description: "Mirrors that did not confirm the withdrawal. Each still honours the member's credentials until the list is delivered — with rooms/owner/revoke and no `withdraw`. Absent when every mirror confirmed. Never present when `withdrawn` is false.";
318
+ };
319
+ readonly ext: {
320
+ readonly $ref: "#/$defs/Ext";
321
+ };
322
+ };
323
+ };
324
+ readonly Ext: {
325
+ readonly title: "Ext";
326
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
327
+ readonly type: "object";
328
+ readonly minProperties: 1;
329
+ readonly additionalProperties: true;
330
+ readonly propertyNames: {
331
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
332
+ };
333
+ };
334
+ readonly RevocationHead: {
335
+ readonly title: "RevocationHead";
336
+ readonly type: "object";
337
+ readonly additionalProperties: false;
338
+ readonly required: readonly ["sequence", "digest"];
339
+ readonly description: "Which `RevocationList` a party holds, without its entries: comparable between the room's key holder and a host, and between two hosts, without disclosing whom the room withdrew.";
340
+ readonly properties: {
341
+ readonly sequence: {
342
+ readonly type: "integer";
343
+ readonly minimum: 1;
344
+ readonly description: "The list's `sequence`.";
345
+ };
346
+ readonly digest: {
347
+ readonly $ref: "#/$defs/DigestMultibase";
348
+ readonly description: "SHA-256 multihash of the list's RFC 8785 (JCS) canonicalization, `proof` included. Two parties holding one sequence with different digests have been given two lists the room signed at one sequence.";
349
+ };
350
+ };
351
+ };
352
+ readonly DigestMultibase: {
353
+ readonly title: "DigestMultibase";
354
+ readonly 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`.";
355
+ readonly type: "string";
356
+ readonly minLength: 16;
357
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
358
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
359
+ };
360
+ };
361
+ };
362
+ /**
363
+ * SPEC.md §7.2 policy for the request variant, from this specification's
364
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
365
+ * per-specification and cannot be derived from the document alone, and
366
+ * item 2 needs the schema this carries.
367
+ */
368
+ export declare const SPEC: {
369
+ readonly typeUri: "https://trusttasks.org/spec/rooms/owner/group/remove/0.4";
370
+ readonly isBearer: false;
371
+ readonly isProofRequired: true;
372
+ readonly isRecipientRequired: true;
373
+ readonly isIssuedAtRequired: true;
374
+ readonly payloadSchema: {
375
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
376
+ readonly $id: "https://trusttasks.org/spec/rooms/owner/group/remove/0.4";
377
+ readonly title: "Rooms Owner Group Remove — payload";
378
+ readonly description: "A room's owner asks their own agent to remove a member from a sealed room: on an attributed room withdraw every credential the room gave them, at its host at once, and on either sealed tier remove their leaf from the room's MLS group and advance its epoch. 0.4 removes a private room's member from the group, withdrawing nothing, where 0.2 and 0.3 refused.";
379
+ readonly type: "object";
380
+ readonly additionalProperties: false;
381
+ readonly required: readonly ["roomId", "host", "member"];
382
+ readonly properties: {
383
+ readonly roomId: {
384
+ readonly type: "string";
385
+ readonly minLength: 1;
386
+ readonly maxLength: 512;
387
+ readonly description: "The room whose group loses a member. The recipient MUST hold its group and a signing key for it.";
388
+ };
389
+ readonly host: {
390
+ readonly type: "string";
391
+ readonly pattern: "^did:";
392
+ readonly maxLength: 2048;
393
+ readonly description: "The room's host, as a DID: where the withdrawal, if any, is delivered first and the room's epoch advances.";
394
+ };
395
+ readonly mirrors: {
396
+ readonly type: "array";
397
+ readonly maxItems: 7;
398
+ readonly uniqueItems: true;
399
+ readonly items: {
400
+ readonly type: "string";
401
+ readonly pattern: "^did:";
402
+ readonly maxLength: 2048;
403
+ };
404
+ readonly description: "Any other host serving the room, as DIDs. On a room that is not private, each is delivered the withdrawal too: a host that does not hold it honours the member's credentials still. Unused on a private room.";
405
+ };
406
+ readonly member: {
407
+ readonly type: "string";
408
+ readonly pattern: "^did:";
409
+ readonly maxLength: 2048;
410
+ readonly description: "The DID whose leaf is removed and, on a room that is not private, whose credentials the room withdraws. Never the recipient's own leaf.";
411
+ };
412
+ readonly signingKeyId: {
413
+ readonly type: "string";
414
+ readonly minLength: 1;
415
+ readonly maxLength: 256;
416
+ readonly description: "Which held key signs the room's revocation list as the room, named explicitly as for rooms/owner/revoke. Required unless the room is private, whose removal signs nothing as the room: a request naming none for any other room is refused with noSigningKey.";
417
+ };
418
+ readonly until: {
419
+ readonly type: "string";
420
+ readonly format: "date-time";
421
+ readonly description: "OPTIONAL. When the last credential the room issued `member` expires, after which the withdrawal can be dropped from the room's list. Unused on a private room.";
422
+ };
423
+ readonly reason: {
424
+ readonly type: "string";
425
+ readonly minLength: 1;
426
+ readonly maxLength: 500;
427
+ readonly description: "Why, carried to the host's epoch advance. Untrusted and attributed to its author: it MUST NOT carry personal data or a credential. Never put into the revocation list.";
428
+ };
429
+ readonly ext: {
430
+ readonly $ref: "#/$defs/Ext";
431
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
432
+ };
433
+ };
434
+ readonly $defs: {
435
+ readonly Response: {
436
+ readonly $anchor: "response";
437
+ readonly title: "Rooms Owner Group Remove — response payload";
438
+ readonly description: "Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.4#response. Whether the member was withdrawn at the host, the revocation list in force there when they were, and the room's new epoch, which the removed member holds no key for.";
439
+ readonly type: "object";
440
+ readonly additionalProperties: false;
441
+ readonly required: readonly ["roomId", "member", "withdrawn", "epoch"];
442
+ readonly properties: {
443
+ readonly roomId: {
444
+ readonly type: "string";
445
+ readonly minLength: 1;
446
+ readonly maxLength: 512;
447
+ readonly description: "The room.";
448
+ };
449
+ readonly member: {
450
+ readonly type: "string";
451
+ readonly pattern: "^did:";
452
+ readonly maxLength: 2048;
453
+ readonly description: "Who was removed.";
454
+ };
455
+ readonly withdrawn: {
456
+ readonly type: "boolean";
457
+ readonly description: "Whether the member's credentials were withdrawn at the host. True on an attributed room, with `revocation` and `revokedAt`; false on a private room, whose host cannot be told whom to refuse: the member's credentials stay valid there until they expire, and only a reset of every credential (rooms/owner/revoke, a `room` entry) withdraws them. A surface MUST NOT report false as a withdrawal.";
458
+ };
459
+ readonly revocation: {
460
+ readonly $ref: "#/$defs/RevocationHead";
461
+ readonly description: "The revocation list carrying the withdrawal, as `host` accepted it. Present exactly when `withdrawn` is true.";
462
+ };
463
+ readonly revokedAt: {
464
+ readonly type: "string";
465
+ readonly format: "date-time";
466
+ readonly description: "The withdrawal's `revokedAt`: credentials the room issued `member` before it are refused, and fresh ones issued after it are not. Present only when `withdrawn` is true.";
467
+ };
468
+ readonly epoch: {
469
+ readonly type: "integer";
470
+ readonly minimum: 2;
471
+ readonly description: "The room epoch after the removal, as the host recorded it.";
472
+ };
473
+ readonly mirrorsPending: {
474
+ readonly type: "array";
475
+ readonly maxItems: 7;
476
+ readonly items: {
477
+ readonly type: "string";
478
+ readonly pattern: "^did:";
479
+ readonly maxLength: 2048;
480
+ };
481
+ readonly description: "Mirrors that did not confirm the withdrawal. Each still honours the member's credentials until the list is delivered — with rooms/owner/revoke and no `withdraw`. Absent when every mirror confirmed. Never present when `withdrawn` is false.";
482
+ };
483
+ readonly ext: {
484
+ readonly $ref: "#/$defs/Ext";
485
+ };
486
+ };
487
+ };
488
+ readonly Ext: {
489
+ readonly title: "Ext";
490
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
491
+ readonly type: "object";
492
+ readonly minProperties: 1;
493
+ readonly additionalProperties: true;
494
+ readonly propertyNames: {
495
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
496
+ };
497
+ };
498
+ readonly RevocationHead: {
499
+ readonly title: "RevocationHead";
500
+ readonly type: "object";
501
+ readonly additionalProperties: false;
502
+ readonly required: readonly ["sequence", "digest"];
503
+ readonly description: "Which `RevocationList` a party holds, without its entries: comparable between the room's key holder and a host, and between two hosts, without disclosing whom the room withdrew.";
504
+ readonly properties: {
505
+ readonly sequence: {
506
+ readonly type: "integer";
507
+ readonly minimum: 1;
508
+ readonly description: "The list's `sequence`.";
509
+ };
510
+ readonly digest: {
511
+ readonly $ref: "#/$defs/DigestMultibase";
512
+ readonly description: "SHA-256 multihash of the list's RFC 8785 (JCS) canonicalization, `proof` included. Two parties holding one sequence with different digests have been given two lists the room signed at one sequence.";
513
+ };
514
+ };
515
+ };
516
+ readonly DigestMultibase: {
517
+ readonly title: "DigestMultibase";
518
+ readonly 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`.";
519
+ readonly type: "string";
520
+ readonly minLength: 16;
521
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
522
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
523
+ };
524
+ };
525
+ };
526
+ };
527
+ /**
528
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
529
+ * tracks the *issuer* party's requirement because a response swaps the
530
+ * parties (§7.3 item 5).
531
+ */
532
+ export declare const RESPONSE_SPEC: {
533
+ readonly typeUri: "https://trusttasks.org/spec/rooms/owner/group/remove/0.4#response";
534
+ readonly isBearer: false;
535
+ readonly isProofRequired: true;
536
+ readonly isRecipientRequired: true;
537
+ readonly isIssuedAtRequired: true;
538
+ readonly payloadSchema: {
539
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
540
+ readonly $ref: "#/$defs/Response";
541
+ readonly $defs: {
542
+ readonly Response: {
543
+ readonly $anchor: "response";
544
+ readonly title: "Rooms Owner Group Remove — response payload";
545
+ readonly description: "Success response to rooms/owner/group/remove. Type https://trusttasks.org/spec/rooms/owner/group/remove/0.4#response. Whether the member was withdrawn at the host, the revocation list in force there when they were, and the room's new epoch, which the removed member holds no key for.";
546
+ readonly type: "object";
547
+ readonly additionalProperties: false;
548
+ readonly required: readonly ["roomId", "member", "withdrawn", "epoch"];
549
+ readonly properties: {
550
+ readonly roomId: {
551
+ readonly type: "string";
552
+ readonly minLength: 1;
553
+ readonly maxLength: 512;
554
+ readonly description: "The room.";
555
+ };
556
+ readonly member: {
557
+ readonly type: "string";
558
+ readonly pattern: "^did:";
559
+ readonly maxLength: 2048;
560
+ readonly description: "Who was removed.";
561
+ };
562
+ readonly withdrawn: {
563
+ readonly type: "boolean";
564
+ readonly description: "Whether the member's credentials were withdrawn at the host. True on an attributed room, with `revocation` and `revokedAt`; false on a private room, whose host cannot be told whom to refuse: the member's credentials stay valid there until they expire, and only a reset of every credential (rooms/owner/revoke, a `room` entry) withdraws them. A surface MUST NOT report false as a withdrawal.";
565
+ };
566
+ readonly revocation: {
567
+ readonly $ref: "#/$defs/RevocationHead";
568
+ readonly description: "The revocation list carrying the withdrawal, as `host` accepted it. Present exactly when `withdrawn` is true.";
569
+ };
570
+ readonly revokedAt: {
571
+ readonly type: "string";
572
+ readonly format: "date-time";
573
+ readonly description: "The withdrawal's `revokedAt`: credentials the room issued `member` before it are refused, and fresh ones issued after it are not. Present only when `withdrawn` is true.";
574
+ };
575
+ readonly epoch: {
576
+ readonly type: "integer";
577
+ readonly minimum: 2;
578
+ readonly description: "The room epoch after the removal, as the host recorded it.";
579
+ };
580
+ readonly mirrorsPending: {
581
+ readonly type: "array";
582
+ readonly maxItems: 7;
583
+ readonly items: {
584
+ readonly type: "string";
585
+ readonly pattern: "^did:";
586
+ readonly maxLength: 2048;
587
+ };
588
+ readonly description: "Mirrors that did not confirm the withdrawal. Each still honours the member's credentials until the list is delivered — with rooms/owner/revoke and no `withdraw`. Absent when every mirror confirmed. Never present when `withdrawn` is false.";
589
+ };
590
+ readonly ext: {
591
+ readonly $ref: "#/$defs/Ext";
592
+ };
593
+ };
594
+ };
595
+ readonly Ext: {
596
+ readonly title: "Ext";
597
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
598
+ readonly type: "object";
599
+ readonly minProperties: 1;
600
+ readonly additionalProperties: true;
601
+ readonly propertyNames: {
602
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
603
+ };
604
+ };
605
+ readonly RevocationHead: {
606
+ readonly title: "RevocationHead";
607
+ readonly type: "object";
608
+ readonly additionalProperties: false;
609
+ readonly required: readonly ["sequence", "digest"];
610
+ readonly description: "Which `RevocationList` a party holds, without its entries: comparable between the room's key holder and a host, and between two hosts, without disclosing whom the room withdrew.";
611
+ readonly properties: {
612
+ readonly sequence: {
613
+ readonly type: "integer";
614
+ readonly minimum: 1;
615
+ readonly description: "The list's `sequence`.";
616
+ };
617
+ readonly digest: {
618
+ readonly $ref: "#/$defs/DigestMultibase";
619
+ readonly description: "SHA-256 multihash of the list's RFC 8785 (JCS) canonicalization, `proof` included. Two parties holding one sequence with different digests have been given two lists the room signed at one sequence.";
620
+ };
621
+ };
622
+ };
623
+ readonly DigestMultibase: {
624
+ readonly title: "DigestMultibase";
625
+ readonly 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`.";
626
+ readonly type: "string";
627
+ readonly minLength: 16;
628
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
629
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
630
+ };
631
+ };
632
+ };
633
+ };
634
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/rooms/owner/group/remove/0.4/payload.ts"],"names":[],"mappings":"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"}