@openvtc/trust-tasks 0.14.1 → 0.15.0

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 (1416) hide show
  1. package/CHANGELOG.md +112 -0
  2. package/README.md +38 -3
  3. package/dist/_framework/0.1/framework.d.ts +5 -0
  4. package/dist/_framework/0.1/framework.d.ts.map +1 -1
  5. package/dist/_framework/0.2/framework.d.ts +5 -0
  6. package/dist/_framework/0.2/framework.d.ts.map +1 -1
  7. package/dist/_framework/0.3/framework.d.ts +5 -0
  8. package/dist/_framework/0.3/framework.d.ts.map +1 -1
  9. package/dist/_runtime/codes.d.ts +38 -0
  10. package/dist/_runtime/codes.d.ts.map +1 -1
  11. package/dist/_runtime/codes.js.map +1 -1
  12. package/dist/_shared/components.d.ts +3122 -0
  13. package/dist/_shared/components.d.ts.map +1 -0
  14. package/dist/_shared/components.js +15 -0
  15. package/dist/_shared/components.js.map +1 -0
  16. package/dist/acl/_shared/0.1/acl-entry.d.ts +5 -0
  17. package/dist/acl/_shared/0.1/acl-entry.d.ts.map +1 -1
  18. package/dist/acl/change-role/0.1/payload.d.ts +10 -86
  19. package/dist/acl/change-role/0.1/payload.d.ts.map +1 -1
  20. package/dist/acl/change-role/0.1/payload.js.map +1 -1
  21. package/dist/acl/grant/0.1/payload.d.ts +10 -153
  22. package/dist/acl/grant/0.1/payload.d.ts.map +1 -1
  23. package/dist/acl/grant/0.1/payload.js.map +1 -1
  24. package/dist/acl/list/0.1/payload.d.ts +8 -84
  25. package/dist/acl/list/0.1/payload.d.ts.map +1 -1
  26. package/dist/acl/list/0.1/payload.js.map +1 -1
  27. package/dist/acl/revoke/0.1/payload.d.ts +8 -84
  28. package/dist/acl/revoke/0.1/payload.d.ts.map +1 -1
  29. package/dist/acl/revoke/0.1/payload.js.map +1 -1
  30. package/dist/acl/show/0.1/payload.d.ts +8 -84
  31. package/dist/acl/show/0.1/payload.d.ts.map +1 -1
  32. package/dist/acl/show/0.1/payload.js.map +1 -1
  33. package/dist/acl/swap-key/0.1/payload.d.ts +10 -89
  34. package/dist/acl/swap-key/0.1/payload.d.ts.map +1 -1
  35. package/dist/acl/swap-key/0.1/payload.js.map +1 -1
  36. package/dist/acl/update/0.1/payload.d.ts +6 -82
  37. package/dist/acl/update/0.1/payload.d.ts.map +1 -1
  38. package/dist/acl/update/0.1/payload.js.map +1 -1
  39. package/dist/audit/_shared/0.1/audit.d.ts +5 -0
  40. package/dist/audit/_shared/0.1/audit.d.ts.map +1 -1
  41. package/dist/audit/list/0.1/payload.d.ts +3 -60
  42. package/dist/audit/list/0.1/payload.d.ts.map +1 -1
  43. package/dist/audit/list/0.1/payload.js.map +1 -1
  44. package/dist/audit/verify/0.1/payload.d.ts +6 -10
  45. package/dist/audit/verify/0.1/payload.d.ts.map +1 -1
  46. package/dist/audit/verify/0.1/payload.js.map +1 -1
  47. package/dist/auth/_shared/0.1/session.d.ts +5 -0
  48. package/dist/auth/_shared/0.1/session.d.ts.map +1 -1
  49. package/dist/auth/_shared/0.1/tokens.d.ts +5 -0
  50. package/dist/auth/_shared/0.1/tokens.d.ts.map +1 -1
  51. package/dist/auth/_shared/0.1/webauthn.d.ts +5 -0
  52. package/dist/auth/_shared/0.1/webauthn.d.ts.map +1 -1
  53. package/dist/auth/authenticate/0.1/payload.d.ts +12 -83
  54. package/dist/auth/authenticate/0.1/payload.d.ts.map +1 -1
  55. package/dist/auth/authenticate/0.1/payload.js.map +1 -1
  56. package/dist/auth/challenge/0.1/payload.d.ts +10 -13
  57. package/dist/auth/challenge/0.1/payload.d.ts.map +1 -1
  58. package/dist/auth/passkey/enroll/finish/0.1/payload.d.ts +13 -28
  59. package/dist/auth/passkey/enroll/finish/0.1/payload.d.ts.map +1 -1
  60. package/dist/auth/passkey/enroll/finish/0.1/payload.js.map +1 -1
  61. package/dist/auth/passkey/enroll/finish/0.2/payload.d.ts +16 -44
  62. package/dist/auth/passkey/enroll/finish/0.2/payload.d.ts.map +1 -1
  63. package/dist/auth/passkey/enroll/finish/0.2/payload.js.map +1 -1
  64. package/dist/auth/passkey/enroll/invite/0.1/payload.d.ts +3 -6
  65. package/dist/auth/passkey/enroll/invite/0.1/payload.d.ts.map +1 -1
  66. package/dist/auth/passkey/enroll/start/0.1/payload.d.ts +10 -75
  67. package/dist/auth/passkey/enroll/start/0.1/payload.d.ts.map +1 -1
  68. package/dist/auth/passkey/enroll/start/0.1/payload.js.map +1 -1
  69. package/dist/auth/passkey/enroll/start/0.2/payload.d.ts +12 -95
  70. package/dist/auth/passkey/enroll/start/0.2/payload.d.ts.map +1 -1
  71. package/dist/auth/passkey/enroll/start/0.2/payload.js.map +1 -1
  72. package/dist/auth/passkey/list/0.1/payload.d.ts +8 -36
  73. package/dist/auth/passkey/list/0.1/payload.d.ts.map +1 -1
  74. package/dist/auth/passkey/list/0.1/payload.js.map +1 -1
  75. package/dist/auth/passkey/login/finish/0.1/payload.d.ts +12 -102
  76. package/dist/auth/passkey/login/finish/0.1/payload.d.ts.map +1 -1
  77. package/dist/auth/passkey/login/finish/0.1/payload.js.map +1 -1
  78. package/dist/auth/passkey/login/finish/0.2/payload.d.ts +12 -102
  79. package/dist/auth/passkey/login/finish/0.2/payload.d.ts.map +1 -1
  80. package/dist/auth/passkey/login/finish/0.2/payload.js.map +1 -1
  81. package/dist/auth/passkey/login/start/0.1/payload.d.ts +10 -39
  82. package/dist/auth/passkey/login/start/0.1/payload.d.ts.map +1 -1
  83. package/dist/auth/passkey/login/start/0.1/payload.js.map +1 -1
  84. package/dist/auth/passkey/login/start/0.2/payload.d.ts +10 -39
  85. package/dist/auth/passkey/login/start/0.2/payload.d.ts.map +1 -1
  86. package/dist/auth/passkey/login/start/0.2/payload.js.map +1 -1
  87. package/dist/auth/passkey/revoke/finish/0.1/payload.d.ts +13 -29
  88. package/dist/auth/passkey/revoke/finish/0.1/payload.d.ts.map +1 -1
  89. package/dist/auth/passkey/revoke/finish/0.1/payload.js.map +1 -1
  90. package/dist/auth/passkey/revoke/start/0.1/payload.d.ts +10 -39
  91. package/dist/auth/passkey/revoke/start/0.1/payload.d.ts.map +1 -1
  92. package/dist/auth/passkey/revoke/start/0.1/payload.js.map +1 -1
  93. package/dist/auth/refresh/0.1/payload.d.ts +12 -83
  94. package/dist/auth/refresh/0.1/payload.d.ts.map +1 -1
  95. package/dist/auth/refresh/0.1/payload.js.map +1 -1
  96. package/dist/auth/revoke-session/0.1/payload.d.ts +10 -13
  97. package/dist/auth/revoke-session/0.1/payload.d.ts.map +1 -1
  98. package/dist/auth/sessions/list/0.1/payload.d.ts +3 -44
  99. package/dist/auth/sessions/list/0.1/payload.d.ts.map +1 -1
  100. package/dist/auth/sessions/list/0.1/payload.js.map +1 -1
  101. package/dist/auth/step-up/approve-request/0.1/payload.d.ts +6 -35
  102. package/dist/auth/step-up/approve-request/0.1/payload.d.ts.map +1 -1
  103. package/dist/auth/step-up/approve-request/0.1/payload.js.map +1 -1
  104. package/dist/auth/step-up/approve-request/0.2/payload.d.ts +6 -35
  105. package/dist/auth/step-up/approve-request/0.2/payload.d.ts.map +1 -1
  106. package/dist/auth/step-up/approve-request/0.2/payload.js.map +1 -1
  107. package/dist/auth/step-up/approve-response/0.1/payload.d.ts +9 -60
  108. package/dist/auth/step-up/approve-response/0.1/payload.d.ts.map +1 -1
  109. package/dist/auth/step-up/approve-response/0.1/payload.js.map +1 -1
  110. package/dist/auth/step-up/approve-response/0.2/payload.d.ts +9 -60
  111. package/dist/auth/step-up/approve-response/0.2/payload.d.ts.map +1 -1
  112. package/dist/auth/step-up/approve-response/0.2/payload.js.map +1 -1
  113. package/dist/auth/step-up/policy/0.1/payload.d.ts +7 -13
  114. package/dist/auth/step-up/policy/0.1/payload.d.ts.map +1 -1
  115. package/dist/auth/step-up/policy/0.1/payload.js.map +1 -1
  116. package/dist/auth/step-up/policy/0.2/payload.d.ts +7 -13
  117. package/dist/auth/step-up/policy/0.2/payload.d.ts.map +1 -1
  118. package/dist/auth/step-up/policy/0.2/payload.js.map +1 -1
  119. package/dist/auth/whoami/0.1/payload.d.ts +11 -49
  120. package/dist/auth/whoami/0.1/payload.d.ts.map +1 -1
  121. package/dist/auth/whoami/0.1/payload.js.map +1 -1
  122. package/dist/chat/message/0.1/payload.d.ts +10 -15
  123. package/dist/chat/message/0.1/payload.d.ts.map +1 -1
  124. package/dist/chat/message/0.1/payload.js.map +1 -1
  125. package/dist/config/_shared/0.1/config.d.ts +5 -0
  126. package/dist/config/_shared/0.1/config.d.ts.map +1 -1
  127. package/dist/config/patch/0.1/payload.d.ts +3 -16
  128. package/dist/config/patch/0.1/payload.d.ts.map +1 -1
  129. package/dist/config/patch/0.1/payload.js.map +1 -1
  130. package/dist/config/reload/0.1/payload.d.ts +3 -6
  131. package/dist/config/reload/0.1/payload.d.ts.map +1 -1
  132. package/dist/config/restart/0.1/payload.d.ts +3 -6
  133. package/dist/config/restart/0.1/payload.d.ts.map +1 -1
  134. package/dist/config/show/0.1/payload.d.ts +3 -29
  135. package/dist/config/show/0.1/payload.d.ts.map +1 -1
  136. package/dist/config/show/0.1/payload.js.map +1 -1
  137. package/dist/confirm/request/0.1/payload.d.ts +3 -6
  138. package/dist/confirm/request/0.1/payload.d.ts.map +1 -1
  139. package/dist/confirm/response/0.1/payload.d.ts +3 -6
  140. package/dist/confirm/response/0.1/payload.d.ts.map +1 -1
  141. package/dist/consent/_shared/0.1/consent.d.ts +5 -0
  142. package/dist/consent/_shared/0.1/consent.d.ts.map +1 -1
  143. package/dist/consent/approver-list/1.0/payload.d.ts +3 -31
  144. package/dist/consent/approver-list/1.0/payload.d.ts.map +1 -1
  145. package/dist/consent/approver-list/1.0/payload.js.map +1 -1
  146. package/dist/consent/approver-set/1.0/payload.d.ts +4 -7
  147. package/dist/consent/approver-set/1.0/payload.d.ts.map +1 -1
  148. package/dist/consent/decision/1.0/payload.d.ts +5 -32
  149. package/dist/consent/decision/1.0/payload.d.ts.map +1 -1
  150. package/dist/consent/decision/1.0/payload.js.map +1 -1
  151. package/dist/consent/list/1.0/payload.d.ts +6 -78
  152. package/dist/consent/list/1.0/payload.d.ts.map +1 -1
  153. package/dist/consent/list/1.0/payload.js.map +1 -1
  154. package/dist/consent/request/1.0/payload.d.ts +7 -32
  155. package/dist/consent/request/1.0/payload.d.ts.map +1 -1
  156. package/dist/consent/request/1.0/payload.js.map +1 -1
  157. package/dist/consent/revoke/1.0/payload.d.ts +3 -27
  158. package/dist/consent/revoke/1.0/payload.d.ts.map +1 -1
  159. package/dist/consent/revoke/1.0/payload.js.map +1 -1
  160. package/dist/credential-exchange/_shared/0.1/deferred-presentation.d.ts +5 -0
  161. package/dist/credential-exchange/_shared/0.1/deferred-presentation.d.ts.map +1 -1
  162. package/dist/credential-exchange/issue/0.1/payload.d.ts +3 -6
  163. package/dist/credential-exchange/issue/0.1/payload.d.ts.map +1 -1
  164. package/dist/credential-exchange/issue/0.1/payload.js.map +1 -1
  165. package/dist/credential-exchange/offer/0.1/payload.d.ts +3 -6
  166. package/dist/credential-exchange/offer/0.1/payload.d.ts.map +1 -1
  167. package/dist/credential-exchange/pending/approve/0.1/payload.d.ts +3 -6
  168. package/dist/credential-exchange/pending/approve/0.1/payload.d.ts.map +1 -1
  169. package/dist/credential-exchange/pending/deny/0.1/payload.d.ts +3 -6
  170. package/dist/credential-exchange/pending/deny/0.1/payload.d.ts.map +1 -1
  171. package/dist/credential-exchange/pending/list/0.1/payload.d.ts +3 -54
  172. package/dist/credential-exchange/pending/list/0.1/payload.d.ts.map +1 -1
  173. package/dist/credential-exchange/pending/list/0.1/payload.js.map +1 -1
  174. package/dist/credential-exchange/present/0.1/payload.d.ts +3 -6
  175. package/dist/credential-exchange/present/0.1/payload.d.ts.map +1 -1
  176. package/dist/credential-exchange/query/0.1/payload.d.ts +3 -6
  177. package/dist/credential-exchange/query/0.1/payload.d.ts.map +1 -1
  178. package/dist/credential-exchange/request/0.1/payload.d.ts +3 -6
  179. package/dist/credential-exchange/request/0.1/payload.d.ts.map +1 -1
  180. package/dist/credentials/_shared/0.1/credentials.d.ts +5 -0
  181. package/dist/credentials/_shared/0.1/credentials.d.ts.map +1 -1
  182. package/dist/credentials/_shared/0.2/credentials.d.ts +5 -0
  183. package/dist/credentials/_shared/0.2/credentials.d.ts.map +1 -1
  184. package/dist/device/_shared/0.1/device-binding.d.ts +5 -0
  185. package/dist/device/_shared/0.1/device-binding.d.ts.map +1 -1
  186. package/dist/device/_shared/0.2/device-binding.d.ts +5 -0
  187. package/dist/device/_shared/0.2/device-binding.d.ts.map +1 -1
  188. package/dist/device/disable/0.1/payload.d.ts +3 -6
  189. package/dist/device/disable/0.1/payload.d.ts.map +1 -1
  190. package/dist/device/heartbeat/0.1/payload.d.ts +3 -6
  191. package/dist/device/heartbeat/0.1/payload.d.ts.map +1 -1
  192. package/dist/device/heartbeat/0.2/payload.d.ts +3 -6
  193. package/dist/device/heartbeat/0.2/payload.d.ts.map +1 -1
  194. package/dist/device/list/0.1/payload.d.ts +3 -120
  195. package/dist/device/list/0.1/payload.d.ts.map +1 -1
  196. package/dist/device/list/0.1/payload.js.map +1 -1
  197. package/dist/device/list/0.2/payload.d.ts +3 -120
  198. package/dist/device/list/0.2/payload.d.ts.map +1 -1
  199. package/dist/device/list/0.2/payload.js.map +1 -1
  200. package/dist/device/register/0.1/payload.d.ts +6 -137
  201. package/dist/device/register/0.1/payload.d.ts.map +1 -1
  202. package/dist/device/register/0.1/payload.js.map +1 -1
  203. package/dist/device/register/0.2/payload.d.ts +6 -137
  204. package/dist/device/register/0.2/payload.d.ts.map +1 -1
  205. package/dist/device/register/0.2/payload.js.map +1 -1
  206. package/dist/device/set-wake/0.1/payload.d.ts +8 -27
  207. package/dist/device/set-wake/0.1/payload.d.ts.map +1 -1
  208. package/dist/device/set-wake/0.1/payload.js.map +1 -1
  209. package/dist/device/set-wake/0.2/payload.d.ts +8 -27
  210. package/dist/device/set-wake/0.2/payload.d.ts.map +1 -1
  211. package/dist/device/set-wake/0.2/payload.js.map +1 -1
  212. package/dist/device/wipe/0.1/payload.d.ts +3 -6
  213. package/dist/device/wipe/0.1/payload.d.ts.map +1 -1
  214. package/dist/device/wipe/0.2/payload.d.ts +3 -6
  215. package/dist/device/wipe/0.2/payload.d.ts.map +1 -1
  216. package/dist/did-management/_shared/0.1/did-record.d.ts +5 -0
  217. package/dist/did-management/_shared/0.1/did-record.d.ts.map +1 -1
  218. package/dist/did-management/_shared/0.1/domain-entry.d.ts +5 -0
  219. package/dist/did-management/_shared/0.1/domain-entry.d.ts.map +1 -1
  220. package/dist/did-management/_shared/0.1/service-instance.d.ts +5 -0
  221. package/dist/did-management/_shared/0.1/service-instance.d.ts.map +1 -1
  222. package/dist/did-management/agent-name/check/0.1/payload.d.ts +3 -6
  223. package/dist/did-management/agent-name/check/0.1/payload.d.ts.map +1 -1
  224. package/dist/did-management/agent-name/disable/0.1/payload.d.ts +3 -59
  225. package/dist/did-management/agent-name/disable/0.1/payload.d.ts.map +1 -1
  226. package/dist/did-management/agent-name/disable/0.1/payload.js.map +1 -1
  227. package/dist/did-management/agent-name/enable/0.1/payload.d.ts +3 -59
  228. package/dist/did-management/agent-name/enable/0.1/payload.d.ts.map +1 -1
  229. package/dist/did-management/agent-name/enable/0.1/payload.js.map +1 -1
  230. package/dist/did-management/agent-name/list/0.1/payload.d.ts +3 -6
  231. package/dist/did-management/agent-name/list/0.1/payload.d.ts.map +1 -1
  232. package/dist/did-management/agent-name/remove/0.1/payload.d.ts +3 -59
  233. package/dist/did-management/agent-name/remove/0.1/payload.d.ts.map +1 -1
  234. package/dist/did-management/agent-name/remove/0.1/payload.js.map +1 -1
  235. package/dist/did-management/agent-name/set/0.1/payload.d.ts +3 -59
  236. package/dist/did-management/agent-name/set/0.1/payload.d.ts.map +1 -1
  237. package/dist/did-management/agent-name/set/0.1/payload.js.map +1 -1
  238. package/dist/did-management/agent-name/update/0.1/payload.d.ts +3 -59
  239. package/dist/did-management/agent-name/update/0.1/payload.d.ts.map +1 -1
  240. package/dist/did-management/agent-name/update/0.1/payload.js.map +1 -1
  241. package/dist/did-management/did/change-owner/0.1/payload.d.ts +3 -59
  242. package/dist/did-management/did/change-owner/0.1/payload.d.ts.map +1 -1
  243. package/dist/did-management/did/change-owner/0.1/payload.js.map +1 -1
  244. package/dist/did-management/did/check-name/0.1/payload.d.ts +6 -62
  245. package/dist/did-management/did/check-name/0.1/payload.d.ts.map +1 -1
  246. package/dist/did-management/did/check-name/0.1/payload.js.map +1 -1
  247. package/dist/did-management/did/delete/0.1/payload.d.ts +3 -59
  248. package/dist/did-management/did/delete/0.1/payload.d.ts.map +1 -1
  249. package/dist/did-management/did/delete/0.1/payload.js.map +1 -1
  250. package/dist/did-management/did/disable/0.1/payload.d.ts +3 -59
  251. package/dist/did-management/did/disable/0.1/payload.d.ts.map +1 -1
  252. package/dist/did-management/did/disable/0.1/payload.js.map +1 -1
  253. package/dist/did-management/did/enable/0.1/payload.d.ts +3 -59
  254. package/dist/did-management/did/enable/0.1/payload.d.ts.map +1 -1
  255. package/dist/did-management/did/enable/0.1/payload.js.map +1 -1
  256. package/dist/did-management/did/info/0.1/payload.d.ts +3 -59
  257. package/dist/did-management/did/info/0.1/payload.d.ts.map +1 -1
  258. package/dist/did-management/did/info/0.1/payload.js.map +1 -1
  259. package/dist/did-management/did/list/0.1/payload.d.ts +3 -59
  260. package/dist/did-management/did/list/0.1/payload.d.ts.map +1 -1
  261. package/dist/did-management/did/list/0.1/payload.js.map +1 -1
  262. package/dist/did-management/did/problem-report/0.1/payload.d.ts +3 -6
  263. package/dist/did-management/did/problem-report/0.1/payload.d.ts.map +1 -1
  264. package/dist/did-management/did/publish/0.1/payload.d.ts +3 -59
  265. package/dist/did-management/did/publish/0.1/payload.d.ts.map +1 -1
  266. package/dist/did-management/did/publish/0.1/payload.js.map +1 -1
  267. package/dist/did-management/did/register/0.1/payload.d.ts +3 -59
  268. package/dist/did-management/did/register/0.1/payload.d.ts.map +1 -1
  269. package/dist/did-management/did/register/0.1/payload.js.map +1 -1
  270. package/dist/did-management/did/rollback/0.1/payload.d.ts +3 -59
  271. package/dist/did-management/did/rollback/0.1/payload.d.ts.map +1 -1
  272. package/dist/did-management/did/rollback/0.1/payload.js.map +1 -1
  273. package/dist/did-management/did/set-state/0.1/payload.d.ts +3 -59
  274. package/dist/did-management/did/set-state/0.1/payload.d.ts.map +1 -1
  275. package/dist/did-management/did/set-state/0.1/payload.js.map +1 -1
  276. package/dist/did-management/domain/assign/0.1/payload.d.ts +3 -6
  277. package/dist/did-management/domain/assign/0.1/payload.d.ts.map +1 -1
  278. package/dist/did-management/domain/create/0.1/payload.d.ts +3 -40
  279. package/dist/did-management/domain/create/0.1/payload.d.ts.map +1 -1
  280. package/dist/did-management/domain/create/0.1/payload.js.map +1 -1
  281. package/dist/did-management/domain/disable/0.1/payload.d.ts +3 -40
  282. package/dist/did-management/domain/disable/0.1/payload.d.ts.map +1 -1
  283. package/dist/did-management/domain/disable/0.1/payload.js.map +1 -1
  284. package/dist/did-management/domain/enable/0.1/payload.d.ts +3 -40
  285. package/dist/did-management/domain/enable/0.1/payload.d.ts.map +1 -1
  286. package/dist/did-management/domain/enable/0.1/payload.js.map +1 -1
  287. package/dist/did-management/domain/purge/0.1/payload.d.ts +3 -6
  288. package/dist/did-management/domain/purge/0.1/payload.d.ts.map +1 -1
  289. package/dist/did-management/domain/set-default/0.1/payload.d.ts +3 -40
  290. package/dist/did-management/domain/set-default/0.1/payload.d.ts.map +1 -1
  291. package/dist/did-management/domain/set-default/0.1/payload.js.map +1 -1
  292. package/dist/did-management/domain/set-state/0.1/payload.d.ts +3 -40
  293. package/dist/did-management/domain/set-state/0.1/payload.d.ts.map +1 -1
  294. package/dist/did-management/domain/set-state/0.1/payload.js.map +1 -1
  295. package/dist/did-management/domain/unassign/0.1/payload.d.ts +3 -6
  296. package/dist/did-management/domain/unassign/0.1/payload.d.ts.map +1 -1
  297. package/dist/did-management/domain/update/0.1/payload.d.ts +3 -40
  298. package/dist/did-management/domain/update/0.1/payload.d.ts.map +1 -1
  299. package/dist/did-management/domain/update/0.1/payload.js.map +1 -1
  300. package/dist/did-management/me/domains/0.1/payload.d.ts +3 -40
  301. package/dist/did-management/me/domains/0.1/payload.d.ts.map +1 -1
  302. package/dist/did-management/me/domains/0.1/payload.js.map +1 -1
  303. package/dist/did-management/registry/admin-register/0.1/payload.d.ts +3 -24
  304. package/dist/did-management/registry/admin-register/0.1/payload.d.ts.map +1 -1
  305. package/dist/did-management/registry/admin-register/0.1/payload.js.map +1 -1
  306. package/dist/did-management/registry/deregister/0.1/payload.d.ts +3 -6
  307. package/dist/did-management/registry/deregister/0.1/payload.d.ts.map +1 -1
  308. package/dist/did-management/server/health/0.1/payload.d.ts +3 -6
  309. package/dist/did-management/server/health/0.1/payload.d.ts.map +1 -1
  310. package/dist/did-management/server/register/0.1/payload.d.ts +3 -6
  311. package/dist/did-management/server/register/0.1/payload.d.ts.map +1 -1
  312. package/dist/did-management/server/stats-sync/0.1/payload.d.ts +3 -6
  313. package/dist/did-management/server/stats-sync/0.1/payload.d.ts.map +1 -1
  314. package/dist/git-trust/grant/0.1/payload.d.ts +3 -6
  315. package/dist/git-trust/grant/0.1/payload.d.ts.map +1 -1
  316. package/dist/git-trust/revoke/0.1/payload.d.ts +3 -6
  317. package/dist/git-trust/revoke/0.1/payload.d.ts.map +1 -1
  318. package/dist/governance/_shared/0.1/governance.d.ts +5 -0
  319. package/dist/governance/_shared/0.1/governance.d.ts.map +1 -1
  320. package/dist/governance/capability/disable/0.1/payload.d.ts +3 -6
  321. package/dist/governance/capability/disable/0.1/payload.d.ts.map +1 -1
  322. package/dist/governance/capability/enable/0.1/payload.d.ts +5 -81
  323. package/dist/governance/capability/enable/0.1/payload.d.ts.map +1 -1
  324. package/dist/governance/capability/enable/0.1/payload.js.map +1 -1
  325. package/dist/governance/capability/list/0.1/payload.d.ts +3 -82
  326. package/dist/governance/capability/list/0.1/payload.d.ts.map +1 -1
  327. package/dist/governance/capability/list/0.1/payload.js.map +1 -1
  328. package/dist/index.d.ts +1 -0
  329. package/dist/index.d.ts.map +1 -1
  330. package/dist/index.js +4 -0
  331. package/dist/index.js.map +1 -1
  332. package/dist/keys/_shared/0.1/key-record.d.ts +5 -0
  333. package/dist/keys/_shared/0.1/key-record.d.ts.map +1 -1
  334. package/dist/keys/_shared/0.1/sign-algorithm.d.ts +5 -0
  335. package/dist/keys/_shared/0.1/sign-algorithm.d.ts.map +1 -1
  336. package/dist/keys/create/0.1/payload.d.ts +12 -69
  337. package/dist/keys/create/0.1/payload.d.ts.map +1 -1
  338. package/dist/keys/create/0.1/payload.js.map +1 -1
  339. package/dist/keys/derive-and-sign/0.1/payload.d.ts +14 -26
  340. package/dist/keys/derive-and-sign/0.1/payload.d.ts.map +1 -1
  341. package/dist/keys/derive-and-sign/0.1/payload.js.map +1 -1
  342. package/dist/keys/derive-and-sign-document/0.1/payload.d.ts +10 -17
  343. package/dist/keys/derive-and-sign-document/0.1/payload.d.ts.map +1 -1
  344. package/dist/keys/derive-and-sign-document/0.1/payload.js.map +1 -1
  345. package/dist/keys/import/0.1/payload.d.ts +12 -69
  346. package/dist/keys/import/0.1/payload.d.ts.map +1 -1
  347. package/dist/keys/import/0.1/payload.js.map +1 -1
  348. package/dist/keys/list/0.1/payload.d.ts +10 -67
  349. package/dist/keys/list/0.1/payload.d.ts.map +1 -1
  350. package/dist/keys/list/0.1/payload.js.map +1 -1
  351. package/dist/keys/rename/0.1/payload.d.ts +7 -13
  352. package/dist/keys/rename/0.1/payload.d.ts.map +1 -1
  353. package/dist/keys/rename/0.1/payload.js.map +1 -1
  354. package/dist/keys/revoke/0.1/payload.d.ts +10 -17
  355. package/dist/keys/revoke/0.1/payload.d.ts.map +1 -1
  356. package/dist/keys/revoke/0.1/payload.js.map +1 -1
  357. package/dist/keys/show/0.1/payload.d.ts +7 -63
  358. package/dist/keys/show/0.1/payload.d.ts.map +1 -1
  359. package/dist/keys/show/0.1/payload.js.map +1 -1
  360. package/dist/keys/sign/0.1/payload.d.ts +11 -22
  361. package/dist/keys/sign/0.1/payload.d.ts.map +1 -1
  362. package/dist/keys/sign/0.1/payload.js.map +1 -1
  363. package/dist/messaging/_shared/0.1/messaging.d.ts +5 -0
  364. package/dist/messaging/_shared/0.1/messaging.d.ts.map +1 -1
  365. package/dist/messaging/access-list/add/0.1/payload.d.ts +19 -28
  366. package/dist/messaging/access-list/add/0.1/payload.d.ts.map +1 -1
  367. package/dist/messaging/access-list/add/0.1/payload.js.map +1 -1
  368. package/dist/messaging/access-list/clear/0.1/payload.d.ts +17 -22
  369. package/dist/messaging/access-list/clear/0.1/payload.d.ts.map +1 -1
  370. package/dist/messaging/access-list/clear/0.1/payload.js.map +1 -1
  371. package/dist/messaging/access-list/get/0.1/payload.d.ts +20 -29
  372. package/dist/messaging/access-list/get/0.1/payload.d.ts.map +1 -1
  373. package/dist/messaging/access-list/get/0.1/payload.js.map +1 -1
  374. package/dist/messaging/access-list/list/0.1/payload.d.ts +19 -28
  375. package/dist/messaging/access-list/list/0.1/payload.d.ts.map +1 -1
  376. package/dist/messaging/access-list/list/0.1/payload.js.map +1 -1
  377. package/dist/messaging/access-list/remove/0.1/payload.d.ts +19 -28
  378. package/dist/messaging/access-list/remove/0.1/payload.d.ts.map +1 -1
  379. package/dist/messaging/access-list/remove/0.1/payload.js.map +1 -1
  380. package/dist/messaging/access-list/update/0.1/payload.d.ts +21 -30
  381. package/dist/messaging/access-list/update/0.1/payload.d.ts.map +1 -1
  382. package/dist/messaging/access-list/update/0.1/payload.js.map +1 -1
  383. package/dist/messaging/account/add/0.1/payload.d.ts +17 -198
  384. package/dist/messaging/account/add/0.1/payload.d.ts.map +1 -1
  385. package/dist/messaging/account/add/0.1/payload.js.map +1 -1
  386. package/dist/messaging/account/change-queue-limits/0.1/payload.d.ts +14 -136
  387. package/dist/messaging/account/change-queue-limits/0.1/payload.d.ts.map +1 -1
  388. package/dist/messaging/account/change-queue-limits/0.1/payload.js.map +1 -1
  389. package/dist/messaging/account/change-type/0.1/payload.d.ts +15 -128
  390. package/dist/messaging/account/change-type/0.1/payload.d.ts.map +1 -1
  391. package/dist/messaging/account/change-type/0.1/payload.js.map +1 -1
  392. package/dist/messaging/account/get/0.1/payload.d.ts +13 -125
  393. package/dist/messaging/account/get/0.1/payload.d.ts.map +1 -1
  394. package/dist/messaging/account/get/0.1/payload.js.map +1 -1
  395. package/dist/messaging/account/list/0.1/payload.d.ts +11 -126
  396. package/dist/messaging/account/list/0.1/payload.d.ts.map +1 -1
  397. package/dist/messaging/account/list/0.1/payload.js.map +1 -1
  398. package/dist/messaging/account/remove/0.1/payload.d.ts +17 -22
  399. package/dist/messaging/account/remove/0.1/payload.d.ts.map +1 -1
  400. package/dist/messaging/account/remove/0.1/payload.js.map +1 -1
  401. package/dist/messaging/account/update/0.1/payload.d.ts +17 -198
  402. package/dist/messaging/account/update/0.1/payload.d.ts.map +1 -1
  403. package/dist/messaging/account/update/0.1/payload.js.map +1 -1
  404. package/dist/messaging/acl/get/0.1/payload.d.ts +14 -80
  405. package/dist/messaging/acl/get/0.1/payload.d.ts.map +1 -1
  406. package/dist/messaging/acl/get/0.1/payload.js.map +1 -1
  407. package/dist/messaging/acl/set/0.1/payload.d.ts +15 -136
  408. package/dist/messaging/acl/set/0.1/payload.d.ts.map +1 -1
  409. package/dist/messaging/acl/set/0.1/payload.js.map +1 -1
  410. package/dist/messaging/admin/add/0.1/payload.d.ts +10 -17
  411. package/dist/messaging/admin/add/0.1/payload.d.ts.map +1 -1
  412. package/dist/messaging/admin/add/0.1/payload.js.map +1 -1
  413. package/dist/messaging/admin/audit-log/0.1/payload.d.ts +8 -39
  414. package/dist/messaging/admin/audit-log/0.1/payload.d.ts.map +1 -1
  415. package/dist/messaging/admin/audit-log/0.1/payload.js.map +1 -1
  416. package/dist/messaging/admin/config/0.1/payload.d.ts +10 -13
  417. package/dist/messaging/admin/config/0.1/payload.d.ts.map +1 -1
  418. package/dist/messaging/admin/list/0.1/payload.d.ts +10 -28
  419. package/dist/messaging/admin/list/0.1/payload.d.ts.map +1 -1
  420. package/dist/messaging/admin/list/0.1/payload.js.map +1 -1
  421. package/dist/messaging/admin/strip/0.1/payload.d.ts +10 -17
  422. package/dist/messaging/admin/strip/0.1/payload.d.ts.map +1 -1
  423. package/dist/messaging/admin/strip/0.1/payload.js.map +1 -1
  424. package/dist/messaging/ping/0.1/payload.d.ts +10 -13
  425. package/dist/messaging/ping/0.1/payload.d.ts.map +1 -1
  426. package/dist/policy/_shared/0.1/policy.d.ts +5 -0
  427. package/dist/policy/_shared/0.1/policy.d.ts.map +1 -1
  428. package/dist/policy/_shared/0.2/policy.d.ts +5 -0
  429. package/dist/policy/_shared/0.2/policy.d.ts.map +1 -1
  430. package/dist/policy/_shared/0.3/policy.d.ts +5 -0
  431. package/dist/policy/_shared/0.3/policy.d.ts.map +1 -1
  432. package/dist/policy/activate/0.1/payload.d.ts +3 -6
  433. package/dist/policy/activate/0.1/payload.d.ts.map +1 -1
  434. package/dist/policy/active/0.1/payload.d.ts +3 -31
  435. package/dist/policy/active/0.1/payload.d.ts.map +1 -1
  436. package/dist/policy/active/0.1/payload.js.map +1 -1
  437. package/dist/policy/delete/0.1/payload.d.ts +3 -6
  438. package/dist/policy/delete/0.1/payload.d.ts.map +1 -1
  439. package/dist/policy/evaluate/0.1/payload.d.ts +3 -99
  440. package/dist/policy/evaluate/0.1/payload.d.ts.map +1 -1
  441. package/dist/policy/evaluate/0.1/payload.js.map +1 -1
  442. package/dist/policy/evaluate/0.2/payload.d.ts +3 -99
  443. package/dist/policy/evaluate/0.2/payload.d.ts.map +1 -1
  444. package/dist/policy/evaluate/0.2/payload.js.map +1 -1
  445. package/dist/policy/evaluate/0.3/payload.d.ts +3 -143
  446. package/dist/policy/evaluate/0.3/payload.d.ts.map +1 -1
  447. package/dist/policy/evaluate/0.3/payload.js.map +1 -1
  448. package/dist/policy/get/0.1/payload.d.ts +3 -31
  449. package/dist/policy/get/0.1/payload.d.ts.map +1 -1
  450. package/dist/policy/get/0.1/payload.js.map +1 -1
  451. package/dist/policy/list/0.1/payload.d.ts +3 -31
  452. package/dist/policy/list/0.1/payload.d.ts.map +1 -1
  453. package/dist/policy/list/0.1/payload.js.map +1 -1
  454. package/dist/policy/list/0.2/payload.d.ts +3 -31
  455. package/dist/policy/list/0.2/payload.d.ts.map +1 -1
  456. package/dist/policy/list/0.2/payload.js.map +1 -1
  457. package/dist/policy/upsert/0.1/payload.d.ts +3 -31
  458. package/dist/policy/upsert/0.1/payload.d.ts.map +1 -1
  459. package/dist/policy/upsert/0.1/payload.js.map +1 -1
  460. package/dist/policy/upsert/0.2/payload.d.ts +3 -31
  461. package/dist/policy/upsert/0.2/payload.d.ts.map +1 -1
  462. package/dist/policy/upsert/0.2/payload.js.map +1 -1
  463. package/dist/provision/integration/0.1/payload.d.ts +7 -13
  464. package/dist/provision/integration/0.1/payload.d.ts.map +1 -1
  465. package/dist/provision/integration/0.1/payload.js.map +1 -1
  466. package/dist/provision/integration/0.2/payload.d.ts +7 -13
  467. package/dist/provision/integration/0.2/payload.d.ts.map +1 -1
  468. package/dist/provision/integration/0.2/payload.js.map +1 -1
  469. package/dist/provision/integration/0.3/payload.d.ts +10 -17
  470. package/dist/provision/integration/0.3/payload.d.ts.map +1 -1
  471. package/dist/provision/integration/0.3/payload.js.map +1 -1
  472. package/dist/push/provision/0.1/payload.d.ts +9 -24
  473. package/dist/push/provision/0.1/payload.d.ts.map +1 -1
  474. package/dist/push/provision/0.1/payload.js.map +1 -1
  475. package/dist/push/provision/0.2/payload.d.ts +9 -24
  476. package/dist/push/provision/0.2/payload.d.ts.map +1 -1
  477. package/dist/push/provision/0.2/payload.js.map +1 -1
  478. package/dist/push/register/0.1/payload.d.ts +8 -64
  479. package/dist/push/register/0.1/payload.d.ts.map +1 -1
  480. package/dist/push/register/0.1/payload.js.map +1 -1
  481. package/dist/push/register/0.2/payload.d.ts +8 -64
  482. package/dist/push/register/0.2/payload.d.ts.map +1 -1
  483. package/dist/push/register/0.2/payload.js.map +1 -1
  484. package/dist/push/wake/0.1/payload.d.ts +3 -6
  485. package/dist/push/wake/0.1/payload.d.ts.map +1 -1
  486. package/dist/push/wake/0.2/payload.d.ts +3 -6
  487. package/dist/push/wake/0.2/payload.d.ts.map +1 -1
  488. package/dist/registry/_shared/0.1/registry.d.ts +5 -0
  489. package/dist/registry/_shared/0.1/registry.d.ts.map +1 -1
  490. package/dist/registry/authorization/0.1/payload.d.ts +3 -20
  491. package/dist/registry/authorization/0.1/payload.d.ts.map +1 -1
  492. package/dist/registry/authorization/0.1/payload.js.map +1 -1
  493. package/dist/registry/did/rotate/0.1/payload.d.ts +3 -6
  494. package/dist/registry/did/rotate/0.1/payload.d.ts.map +1 -1
  495. package/dist/registry/recognition/0.1/payload.d.ts +3 -20
  496. package/dist/registry/recognition/0.1/payload.d.ts.map +1 -1
  497. package/dist/registry/recognition/0.1/payload.js.map +1 -1
  498. package/dist/registry/record/create/0.1/payload.d.ts +3 -31
  499. package/dist/registry/record/create/0.1/payload.d.ts.map +1 -1
  500. package/dist/registry/record/create/0.1/payload.js.map +1 -1
  501. package/dist/registry/record/delete/0.1/payload.d.ts +3 -6
  502. package/dist/registry/record/delete/0.1/payload.d.ts.map +1 -1
  503. package/dist/registry/record/list/0.1/payload.d.ts +3 -31
  504. package/dist/registry/record/list/0.1/payload.d.ts.map +1 -1
  505. package/dist/registry/record/list/0.1/payload.js.map +1 -1
  506. package/dist/registry/record/put/0.1/payload.d.ts +3 -31
  507. package/dist/registry/record/put/0.1/payload.d.ts.map +1 -1
  508. package/dist/registry/record/put/0.1/payload.js.map +1 -1
  509. package/dist/registry/record/query/0.1/payload.d.ts +3 -31
  510. package/dist/registry/record/query/0.1/payload.d.ts.map +1 -1
  511. package/dist/registry/record/query/0.1/payload.js.map +1 -1
  512. package/dist/registry/record/read/0.1/payload.d.ts +3 -10
  513. package/dist/registry/record/read/0.1/payload.d.ts.map +1 -1
  514. package/dist/registry/record/read/0.1/payload.js.map +1 -1
  515. package/dist/registry/record/update/0.1/payload.d.ts +3 -31
  516. package/dist/registry/record/update/0.1/payload.d.ts.map +1 -1
  517. package/dist/registry/record/update/0.1/payload.js.map +1 -1
  518. package/dist/sync/_shared/0.1/sync-event.d.ts +5 -0
  519. package/dist/sync/_shared/0.1/sync-event.d.ts.map +1 -1
  520. package/dist/sync/_shared/0.2/sync-event.d.ts +5 -0
  521. package/dist/sync/_shared/0.2/sync-event.d.ts.map +1 -1
  522. package/dist/sync/event/0.1/payload.d.ts +3 -208
  523. package/dist/sync/event/0.1/payload.d.ts.map +1 -1
  524. package/dist/sync/event/0.1/payload.js.map +1 -1
  525. package/dist/sync/event/0.2/payload.d.ts +3 -192
  526. package/dist/sync/event/0.2/payload.d.ts.map +1 -1
  527. package/dist/sync/event/0.2/payload.js.map +1 -1
  528. package/dist/task-consent/_shared/0.1/task-consent.d.ts +5 -0
  529. package/dist/task-consent/_shared/0.1/task-consent.d.ts.map +1 -1
  530. package/dist/task-consent/decision/0.1/payload.d.ts +10 -19
  531. package/dist/task-consent/decision/0.1/payload.d.ts.map +1 -1
  532. package/dist/task-consent/decision/0.1/payload.js.map +1 -1
  533. package/dist/task-consent/granted/0.1/payload.d.ts +6 -10
  534. package/dist/task-consent/granted/0.1/payload.d.ts.map +1 -1
  535. package/dist/task-consent/granted/0.1/payload.js.map +1 -1
  536. package/dist/task-consent/request/0.1/payload.d.ts +6 -71
  537. package/dist/task-consent/request/0.1/payload.d.ts.map +1 -1
  538. package/dist/task-consent/request/0.1/payload.js.map +1 -1
  539. package/dist/trust-ceremony-receipt/0.1/payload.d.ts +14 -16
  540. package/dist/trust-ceremony-receipt/0.1/payload.d.ts.map +1 -1
  541. package/dist/trust-task-discovery/0.1/payload.d.ts +5 -5
  542. package/dist/trust-task-discovery/0.1/payload.js +2 -2
  543. package/dist/trust-task-discovery/0.1/payload.js.map +1 -1
  544. package/dist/trust-task-next-step/0.1/payload.d.ts +3 -6
  545. package/dist/trust-task-next-step/0.1/payload.d.ts.map +1 -1
  546. package/dist/vault/_shared/0.1/consumer-context.d.ts +5 -0
  547. package/dist/vault/_shared/0.1/consumer-context.d.ts.map +1 -1
  548. package/dist/vault/_shared/0.1/sealed-envelope.d.ts +5 -0
  549. package/dist/vault/_shared/0.1/sealed-envelope.d.ts.map +1 -1
  550. package/dist/vault/_shared/0.1/vault-entry.d.ts +5 -0
  551. package/dist/vault/_shared/0.1/vault-entry.d.ts.map +1 -1
  552. package/dist/vault/_shared/0.2/consumer-context.d.ts +5 -0
  553. package/dist/vault/_shared/0.2/consumer-context.d.ts.map +1 -1
  554. package/dist/vault/_shared/0.2/sealed-envelope.d.ts +5 -0
  555. package/dist/vault/_shared/0.2/sealed-envelope.d.ts.map +1 -1
  556. package/dist/vault/_shared/0.2/vault-entry.d.ts +5 -0
  557. package/dist/vault/_shared/0.2/vault-entry.d.ts.map +1 -1
  558. package/dist/vault/_shared/0.3/sealed-envelope.d.ts +5 -0
  559. package/dist/vault/_shared/0.3/sealed-envelope.d.ts.map +1 -1
  560. package/dist/vault/_shared/0.3/vault-entry.d.ts +5 -0
  561. package/dist/vault/_shared/0.3/vault-entry.d.ts.map +1 -1
  562. package/dist/vault/delete/0.1/payload.d.ts +3 -6
  563. package/dist/vault/delete/0.1/payload.d.ts.map +1 -1
  564. package/dist/vault/get/0.1/payload.d.ts +3 -176
  565. package/dist/vault/get/0.1/payload.d.ts.map +1 -1
  566. package/dist/vault/get/0.1/payload.js.map +1 -1
  567. package/dist/vault/get/0.2/payload.d.ts +3 -160
  568. package/dist/vault/get/0.2/payload.d.ts.map +1 -1
  569. package/dist/vault/get/0.2/payload.js.map +1 -1
  570. package/dist/vault/get/0.3/payload.d.ts +3 -161
  571. package/dist/vault/get/0.3/payload.d.ts.map +1 -1
  572. package/dist/vault/get/0.3/payload.js.map +1 -1
  573. package/dist/vault/list/0.1/payload.d.ts +11 -185
  574. package/dist/vault/list/0.1/payload.d.ts.map +1 -1
  575. package/dist/vault/list/0.1/payload.js.map +1 -1
  576. package/dist/vault/list/0.2/payload.d.ts +11 -169
  577. package/dist/vault/list/0.2/payload.d.ts.map +1 -1
  578. package/dist/vault/list/0.2/payload.js.map +1 -1
  579. package/dist/vault/list/0.3/payload.d.ts +11 -170
  580. package/dist/vault/list/0.3/payload.d.ts.map +1 -1
  581. package/dist/vault/list/0.3/payload.js.map +1 -1
  582. package/dist/vault/proxy-login/0.1/payload.d.ts +14 -124
  583. package/dist/vault/proxy-login/0.1/payload.d.ts.map +1 -1
  584. package/dist/vault/proxy-login/0.1/payload.js.map +1 -1
  585. package/dist/vault/proxy-login/0.2/payload.d.ts +14 -124
  586. package/dist/vault/proxy-login/0.2/payload.d.ts.map +1 -1
  587. package/dist/vault/proxy-login/0.2/payload.js.map +1 -1
  588. package/dist/vault/release/0.1/payload.d.ts +16 -127
  589. package/dist/vault/release/0.1/payload.d.ts.map +1 -1
  590. package/dist/vault/release/0.1/payload.js.map +1 -1
  591. package/dist/vault/release/0.2/payload.d.ts +16 -127
  592. package/dist/vault/release/0.2/payload.d.ts.map +1 -1
  593. package/dist/vault/release/0.2/payload.js.map +1 -1
  594. package/dist/vault/sign-trust-task/0.1/payload.d.ts +9 -37
  595. package/dist/vault/sign-trust-task/0.1/payload.d.ts.map +1 -1
  596. package/dist/vault/sign-trust-task/0.1/payload.js.map +1 -1
  597. package/dist/vault/sign-trust-task/0.2/payload.d.ts +9 -37
  598. package/dist/vault/sign-trust-task/0.2/payload.d.ts.map +1 -1
  599. package/dist/vault/sign-trust-task/0.2/payload.js.map +1 -1
  600. package/dist/vault/sync/0.1/payload.d.ts +3 -208
  601. package/dist/vault/sync/0.1/payload.d.ts.map +1 -1
  602. package/dist/vault/sync/0.1/payload.js.map +1 -1
  603. package/dist/vault/sync/0.2/payload.d.ts +3 -192
  604. package/dist/vault/sync/0.2/payload.d.ts.map +1 -1
  605. package/dist/vault/sync/0.2/payload.js.map +1 -1
  606. package/dist/vault/upsert/0.1/payload.d.ts +6 -242
  607. package/dist/vault/upsert/0.1/payload.d.ts.map +1 -1
  608. package/dist/vault/upsert/0.1/payload.js.map +1 -1
  609. package/dist/vault/upsert/0.2/payload.d.ts +6 -226
  610. package/dist/vault/upsert/0.2/payload.d.ts.map +1 -1
  611. package/dist/vault/upsert/0.2/payload.js.map +1 -1
  612. package/dist/vault/upsert/0.3/payload.d.ts +6 -227
  613. package/dist/vault/upsert/0.3/payload.d.ts.map +1 -1
  614. package/dist/vault/upsert/0.3/payload.js.map +1 -1
  615. package/dist/vault/usage/0.1/payload.d.ts +3 -6
  616. package/dist/vault/usage/0.1/payload.d.ts.map +1 -1
  617. package/dist/vault/usage/0.2/payload.d.ts +3 -6
  618. package/dist/vault/usage/0.2/payload.d.ts.map +1 -1
  619. package/dist/vrc/relationships/issue/0.1/payload.d.ts +10 -15
  620. package/dist/vrc/relationships/issue/0.1/payload.d.ts.map +1 -1
  621. package/dist/vrc/relationships/issue/0.1/payload.js.map +1 -1
  622. package/dist/vrc/relationships/propose/0.1/payload.d.ts +3 -6
  623. package/dist/vrc/relationships/propose/0.1/payload.d.ts.map +1 -1
  624. package/dist/vta/_shared/0.1/app-state-record.d.ts +5 -0
  625. package/dist/vta/_shared/0.1/app-state-record.d.ts.map +1 -1
  626. package/dist/vta/_shared/0.1/context.d.ts +5 -0
  627. package/dist/vta/_shared/0.1/context.d.ts.map +1 -1
  628. package/dist/vta/_shared/0.1/did-template.d.ts +5 -0
  629. package/dist/vta/_shared/0.1/did-template.d.ts.map +1 -1
  630. package/dist/vta/_shared/0.1/passkey-vm.d.ts +5 -0
  631. package/dist/vta/_shared/0.1/passkey-vm.d.ts.map +1 -1
  632. package/dist/vta/_shared/0.1/service.d.ts +5 -0
  633. package/dist/vta/_shared/0.1/service.d.ts.map +1 -1
  634. package/dist/vta/_shared/0.1/webvh-records.d.ts +5 -0
  635. package/dist/vta/_shared/0.1/webvh-records.d.ts.map +1 -1
  636. package/dist/vta/app-state/delete/1.0/payload.d.ts +16 -29
  637. package/dist/vta/app-state/delete/1.0/payload.d.ts.map +1 -1
  638. package/dist/vta/app-state/delete/1.0/payload.js.map +1 -1
  639. package/dist/vta/app-state/get/1.0/payload.d.ts +10 -60
  640. package/dist/vta/app-state/get/1.0/payload.d.ts.map +1 -1
  641. package/dist/vta/app-state/get/1.0/payload.js.map +1 -1
  642. package/dist/vta/app-state/get-many/1.0/payload.d.ts +11 -65
  643. package/dist/vta/app-state/get-many/1.0/payload.d.ts.map +1 -1
  644. package/dist/vta/app-state/get-many/1.0/payload.js.map +1 -1
  645. package/dist/vta/app-state/list/1.0/payload.d.ts +15 -70
  646. package/dist/vta/app-state/list/1.0/payload.d.ts.map +1 -1
  647. package/dist/vta/app-state/list/1.0/payload.js.map +1 -1
  648. package/dist/vta/app-state/put/1.0/payload.d.ts +16 -29
  649. package/dist/vta/app-state/put/1.0/payload.d.ts.map +1 -1
  650. package/dist/vta/app-state/put/1.0/payload.js.map +1 -1
  651. package/dist/vta/app-state/put-many/1.0/payload.d.ts +13 -64
  652. package/dist/vta/app-state/put-many/1.0/payload.d.ts.map +1 -1
  653. package/dist/vta/app-state/put-many/1.0/payload.js.map +1 -1
  654. package/dist/vta/contexts/create/1.0/payload.d.ts +3 -44
  655. package/dist/vta/contexts/create/1.0/payload.d.ts.map +1 -1
  656. package/dist/vta/contexts/create/1.0/payload.js.map +1 -1
  657. package/dist/vta/contexts/delete/1.0/payload.d.ts +3 -6
  658. package/dist/vta/contexts/delete/1.0/payload.d.ts.map +1 -1
  659. package/dist/vta/contexts/did-templates/create/1.0/payload.d.ts +6 -6
  660. package/dist/vta/contexts/did-templates/create/1.0/payload.d.ts.map +1 -1
  661. package/dist/vta/contexts/did-templates/create/1.0/payload.js.map +1 -1
  662. package/dist/vta/contexts/did-templates/delete/1.0/payload.d.ts +10 -13
  663. package/dist/vta/contexts/did-templates/delete/1.0/payload.d.ts.map +1 -1
  664. package/dist/vta/contexts/did-templates/get/1.0/payload.d.ts +6 -6
  665. package/dist/vta/contexts/did-templates/get/1.0/payload.d.ts.map +1 -1
  666. package/dist/vta/contexts/did-templates/get/1.0/payload.js.map +1 -1
  667. package/dist/vta/contexts/did-templates/list/1.0/payload.d.ts +10 -13
  668. package/dist/vta/contexts/did-templates/list/1.0/payload.d.ts.map +1 -1
  669. package/dist/vta/contexts/did-templates/render/1.0/payload.d.ts +10 -13
  670. package/dist/vta/contexts/did-templates/render/1.0/payload.d.ts.map +1 -1
  671. package/dist/vta/contexts/did-templates/update/1.0/payload.d.ts +6 -6
  672. package/dist/vta/contexts/did-templates/update/1.0/payload.d.ts.map +1 -1
  673. package/dist/vta/contexts/did-templates/update/1.0/payload.js.map +1 -1
  674. package/dist/vta/contexts/get/1.0/payload.d.ts +3 -44
  675. package/dist/vta/contexts/get/1.0/payload.d.ts.map +1 -1
  676. package/dist/vta/contexts/get/1.0/payload.js.map +1 -1
  677. package/dist/vta/contexts/list/1.0/payload.d.ts +3 -44
  678. package/dist/vta/contexts/list/1.0/payload.d.ts.map +1 -1
  679. package/dist/vta/contexts/list/1.0/payload.js.map +1 -1
  680. package/dist/vta/contexts/preview-delete/1.0/payload.d.ts +3 -6
  681. package/dist/vta/contexts/preview-delete/1.0/payload.d.ts.map +1 -1
  682. package/dist/vta/contexts/update/1.0/payload.d.ts +5 -71
  683. package/dist/vta/contexts/update/1.0/payload.d.ts.map +1 -1
  684. package/dist/vta/contexts/update/1.0/payload.js.map +1 -1
  685. package/dist/vta/contexts/update-did/1.0/payload.d.ts +3 -44
  686. package/dist/vta/contexts/update-did/1.0/payload.d.ts.map +1 -1
  687. package/dist/vta/contexts/update-did/1.0/payload.js.map +1 -1
  688. package/dist/vta/credentials/issue/0.1/payload.d.ts +10 -17
  689. package/dist/vta/credentials/issue/0.1/payload.d.ts.map +1 -1
  690. package/dist/vta/credentials/issue/0.1/payload.js.map +1 -1
  691. package/dist/vta/credentials/issue/0.2/payload.d.ts +5 -29
  692. package/dist/vta/credentials/issue/0.2/payload.d.ts.map +1 -1
  693. package/dist/vta/credentials/issue/0.2/payload.js.map +1 -1
  694. package/dist/vta/credentials/revoke/0.1/payload.d.ts +14 -22
  695. package/dist/vta/credentials/revoke/0.1/payload.d.ts.map +1 -1
  696. package/dist/vta/credentials/revoke/0.1/payload.js.map +1 -1
  697. package/dist/vta/did-templates/create/1.0/payload.d.ts +6 -6
  698. package/dist/vta/did-templates/create/1.0/payload.d.ts.map +1 -1
  699. package/dist/vta/did-templates/create/1.0/payload.js.map +1 -1
  700. package/dist/vta/did-templates/create/2.0/payload.d.ts +7 -94
  701. package/dist/vta/did-templates/create/2.0/payload.d.ts.map +1 -1
  702. package/dist/vta/did-templates/create/2.0/payload.js.map +1 -1
  703. package/dist/vta/did-templates/delete/1.0/payload.d.ts +10 -13
  704. package/dist/vta/did-templates/delete/1.0/payload.d.ts.map +1 -1
  705. package/dist/vta/did-templates/delete/2.0/payload.d.ts +10 -13
  706. package/dist/vta/did-templates/delete/2.0/payload.d.ts.map +1 -1
  707. package/dist/vta/did-templates/get/1.0/payload.d.ts +6 -6
  708. package/dist/vta/did-templates/get/1.0/payload.d.ts.map +1 -1
  709. package/dist/vta/did-templates/get/1.0/payload.js.map +1 -1
  710. package/dist/vta/did-templates/get/2.0/payload.d.ts +5 -50
  711. package/dist/vta/did-templates/get/2.0/payload.d.ts.map +1 -1
  712. package/dist/vta/did-templates/get/2.0/payload.js.map +1 -1
  713. package/dist/vta/did-templates/list/1.0/payload.d.ts +10 -13
  714. package/dist/vta/did-templates/list/1.0/payload.d.ts.map +1 -1
  715. package/dist/vta/did-templates/list/2.0/payload.d.ts +8 -56
  716. package/dist/vta/did-templates/list/2.0/payload.d.ts.map +1 -1
  717. package/dist/vta/did-templates/list/2.0/payload.js.map +1 -1
  718. package/dist/vta/did-templates/render/1.0/payload.d.ts +10 -13
  719. package/dist/vta/did-templates/render/1.0/payload.d.ts.map +1 -1
  720. package/dist/vta/did-templates/render/2.0/payload.d.ts +10 -13
  721. package/dist/vta/did-templates/render/2.0/payload.d.ts.map +1 -1
  722. package/dist/vta/did-templates/update/1.0/payload.d.ts +6 -6
  723. package/dist/vta/did-templates/update/1.0/payload.d.ts.map +1 -1
  724. package/dist/vta/did-templates/update/1.0/payload.js.map +1 -1
  725. package/dist/vta/did-templates/update/2.0/payload.d.ts +7 -94
  726. package/dist/vta/did-templates/update/2.0/payload.d.ts.map +1 -1
  727. package/dist/vta/did-templates/update/2.0/payload.js.map +1 -1
  728. package/dist/vta/memory/delete/0.1/payload.d.ts +3 -6
  729. package/dist/vta/memory/delete/0.1/payload.d.ts.map +1 -1
  730. package/dist/vta/memory/list/0.1/payload.d.ts +3 -6
  731. package/dist/vta/memory/list/0.1/payload.d.ts.map +1 -1
  732. package/dist/vta/memory/put/0.1/payload.d.ts +7 -13
  733. package/dist/vta/memory/put/0.1/payload.d.ts.map +1 -1
  734. package/dist/vta/memory/put/0.1/payload.js.map +1 -1
  735. package/dist/vta/passkey-vms/enroll-challenge/0.1/payload.d.ts +10 -13
  736. package/dist/vta/passkey-vms/enroll-challenge/0.1/payload.d.ts.map +1 -1
  737. package/dist/vta/passkey-vms/enroll-submit/0.1/payload.d.ts +11 -44
  738. package/dist/vta/passkey-vms/enroll-submit/0.1/payload.d.ts.map +1 -1
  739. package/dist/vta/passkey-vms/enroll-submit/0.1/payload.js.map +1 -1
  740. package/dist/vta/passkey-vms/list/0.1/payload.d.ts +8 -41
  741. package/dist/vta/passkey-vms/list/0.1/payload.d.ts.map +1 -1
  742. package/dist/vta/passkey-vms/list/0.1/payload.js.map +1 -1
  743. package/dist/vta/passkey-vms/revoke/0.1/payload.d.ts +10 -13
  744. package/dist/vta/passkey-vms/revoke/0.1/payload.d.ts.map +1 -1
  745. package/dist/vta/services/disable/1.0/payload.d.ts +3 -40
  746. package/dist/vta/services/disable/1.0/payload.d.ts.map +1 -1
  747. package/dist/vta/services/disable/1.0/payload.js.map +1 -1
  748. package/dist/vta/services/drain/cancel/1.0/payload.d.ts +3 -6
  749. package/dist/vta/services/drain/cancel/1.0/payload.d.ts.map +1 -1
  750. package/dist/vta/services/drain/list/1.0/payload.d.ts +3 -24
  751. package/dist/vta/services/drain/list/1.0/payload.d.ts.map +1 -1
  752. package/dist/vta/services/drain/list/1.0/payload.js.map +1 -1
  753. package/dist/vta/services/enable/1.0/payload.d.ts +3 -40
  754. package/dist/vta/services/enable/1.0/payload.d.ts.map +1 -1
  755. package/dist/vta/services/enable/1.0/payload.js.map +1 -1
  756. package/dist/vta/services/get/1.0/payload.d.ts +3 -33
  757. package/dist/vta/services/get/1.0/payload.d.ts.map +1 -1
  758. package/dist/vta/services/get/1.0/payload.js.map +1 -1
  759. package/dist/vta/services/list/1.0/payload.d.ts +3 -33
  760. package/dist/vta/services/list/1.0/payload.d.ts.map +1 -1
  761. package/dist/vta/services/list/1.0/payload.js.map +1 -1
  762. package/dist/vta/services/rollback/1.0/payload.d.ts +3 -44
  763. package/dist/vta/services/rollback/1.0/payload.d.ts.map +1 -1
  764. package/dist/vta/services/rollback/1.0/payload.js.map +1 -1
  765. package/dist/vta/services/update/1.0/payload.d.ts +3 -40
  766. package/dist/vta/services/update/1.0/payload.d.ts.map +1 -1
  767. package/dist/vta/services/update/1.0/payload.js.map +1 -1
  768. package/dist/vta/webvh/agent-name/check/1.0/payload.d.ts +3 -6
  769. package/dist/vta/webvh/agent-name/check/1.0/payload.d.ts.map +1 -1
  770. package/dist/vta/webvh/agent-name/disable/1.0/payload.d.ts +3 -6
  771. package/dist/vta/webvh/agent-name/disable/1.0/payload.d.ts.map +1 -1
  772. package/dist/vta/webvh/agent-name/enable/1.0/payload.d.ts +3 -6
  773. package/dist/vta/webvh/agent-name/enable/1.0/payload.d.ts.map +1 -1
  774. package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts +3 -24
  775. package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts.map +1 -1
  776. package/dist/vta/webvh/agent-name/list/1.0/payload.js.map +1 -1
  777. package/dist/vta/webvh/agent-name/remove/1.0/payload.d.ts +3 -6
  778. package/dist/vta/webvh/agent-name/remove/1.0/payload.d.ts.map +1 -1
  779. package/dist/vta/webvh/agent-name/set/1.0/payload.d.ts +3 -6
  780. package/dist/vta/webvh/agent-name/set/1.0/payload.d.ts.map +1 -1
  781. package/dist/vta/webvh/dids/create/1.0/payload.d.ts +3 -6
  782. package/dist/vta/webvh/dids/create/1.0/payload.d.ts.map +1 -1
  783. package/dist/vta/webvh/dids/delete/1.0/payload.d.ts +3 -6
  784. package/dist/vta/webvh/dids/delete/1.0/payload.d.ts.map +1 -1
  785. package/dist/vta/webvh/dids/get/1.0/payload.d.ts +3 -50
  786. package/dist/vta/webvh/dids/get/1.0/payload.d.ts.map +1 -1
  787. package/dist/vta/webvh/dids/get/1.0/payload.js.map +1 -1
  788. package/dist/vta/webvh/dids/list/1.0/payload.d.ts +3 -50
  789. package/dist/vta/webvh/dids/list/1.0/payload.d.ts.map +1 -1
  790. package/dist/vta/webvh/dids/list/1.0/payload.js.map +1 -1
  791. package/dist/vta/webvh/dids/register-with-server/1.0/payload.d.ts +3 -6
  792. package/dist/vta/webvh/dids/register-with-server/1.0/payload.d.ts.map +1 -1
  793. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.d.ts +3 -6
  794. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.d.ts.map +1 -1
  795. package/dist/vta/webvh/dids/update/1.0/payload.d.ts +3 -6
  796. package/dist/vta/webvh/dids/update/1.0/payload.d.ts.map +1 -1
  797. package/dist/vta/webvh/servers/domains/0.1/payload.d.ts +7 -47
  798. package/dist/vta/webvh/servers/domains/0.1/payload.d.ts.map +1 -1
  799. package/dist/vta/webvh/servers/domains/0.1/payload.js.map +1 -1
  800. package/dist/vta/webvh/servers/list/1.0/payload.d.ts +3 -23
  801. package/dist/vta/webvh/servers/list/1.0/payload.d.ts.map +1 -1
  802. package/dist/vta/webvh/servers/list/1.0/payload.js.map +1 -1
  803. package/dist/vta/webvh/servers/reconcile/0.1/payload.d.ts +7 -13
  804. package/dist/vta/webvh/servers/reconcile/0.1/payload.d.ts.map +1 -1
  805. package/dist/vta/webvh/servers/reconcile/0.1/payload.js.map +1 -1
  806. package/dist/vta/webvh/servers/register/1.0/payload.d.ts +3 -23
  807. package/dist/vta/webvh/servers/register/1.0/payload.d.ts.map +1 -1
  808. package/dist/vta/webvh/servers/register/1.0/payload.js.map +1 -1
  809. package/dist/vta/webvh/servers/remove/1.0/payload.d.ts +3 -6
  810. package/dist/vta/webvh/servers/remove/1.0/payload.d.ts.map +1 -1
  811. package/dist/vta/webvh/servers/retire-orphan/0.1/payload.d.ts +3 -6
  812. package/dist/vta/webvh/servers/retire-orphan/0.1/payload.d.ts.map +1 -1
  813. package/dist/vtc/_shared/0.1/backup.d.ts +5 -0
  814. package/dist/vtc/_shared/0.1/backup.d.ts.map +1 -1
  815. package/dist/vtc/_shared/0.1/ceremony.d.ts +5 -0
  816. package/dist/vtc/_shared/0.1/ceremony.d.ts.map +1 -1
  817. package/dist/vtc/_shared/0.1/community.d.ts +5 -0
  818. package/dist/vtc/_shared/0.1/community.d.ts.map +1 -1
  819. package/dist/vtc/_shared/0.1/config-portability.d.ts +5 -0
  820. package/dist/vtc/_shared/0.1/config-portability.d.ts.map +1 -1
  821. package/dist/vtc/_shared/0.1/endorsement-type.d.ts +5 -0
  822. package/dist/vtc/_shared/0.1/endorsement-type.d.ts.map +1 -1
  823. package/dist/vtc/_shared/0.1/endorsement.d.ts +5 -0
  824. package/dist/vtc/_shared/0.1/endorsement.d.ts.map +1 -1
  825. package/dist/vtc/_shared/0.1/invitation.d.ts +5 -0
  826. package/dist/vtc/_shared/0.1/invitation.d.ts.map +1 -1
  827. package/dist/vtc/_shared/0.1/invite.d.ts +5 -0
  828. package/dist/vtc/_shared/0.1/invite.d.ts.map +1 -1
  829. package/dist/vtc/_shared/0.1/join-request.d.ts +5 -0
  830. package/dist/vtc/_shared/0.1/join-request.d.ts.map +1 -1
  831. package/dist/vtc/_shared/0.1/member.d.ts +5 -0
  832. package/dist/vtc/_shared/0.1/member.d.ts.map +1 -1
  833. package/dist/vtc/admin/bootstrap/0.1/payload.d.ts +3 -6
  834. package/dist/vtc/admin/bootstrap/0.1/payload.d.ts.map +1 -1
  835. package/dist/vtc/admin/invites/create/0.1/payload.d.ts +3 -6
  836. package/dist/vtc/admin/invites/create/0.1/payload.d.ts.map +1 -1
  837. package/dist/vtc/admin/invites/list/0.1/payload.d.ts +3 -32
  838. package/dist/vtc/admin/invites/list/0.1/payload.d.ts.map +1 -1
  839. package/dist/vtc/admin/invites/list/0.1/payload.js.map +1 -1
  840. package/dist/vtc/admin/invites/revoke/0.1/payload.d.ts +3 -6
  841. package/dist/vtc/admin/invites/revoke/0.1/payload.d.ts.map +1 -1
  842. package/dist/vtc/auth/admin-session/0.1/payload.d.ts +3 -6
  843. package/dist/vtc/auth/admin-session/0.1/payload.d.ts.map +1 -1
  844. package/dist/vtc/auth/recognise/0.1/payload.d.ts +3 -6
  845. package/dist/vtc/auth/recognise/0.1/payload.d.ts.map +1 -1
  846. package/dist/vtc/auth/recognise/0.2/payload.d.ts +3 -6
  847. package/dist/vtc/auth/recognise/0.2/payload.d.ts.map +1 -1
  848. package/dist/vtc/auth/recognise/challenge/0.1/payload.d.ts +3 -6
  849. package/dist/vtc/auth/recognise/challenge/0.1/payload.d.ts.map +1 -1
  850. package/dist/vtc/backup/export/0.1/payload.d.ts +6 -73
  851. package/dist/vtc/backup/export/0.1/payload.d.ts.map +1 -1
  852. package/dist/vtc/backup/export/0.1/payload.js.map +1 -1
  853. package/dist/vtc/backup/import/0.1/payload.d.ts +6 -73
  854. package/dist/vtc/backup/import/0.1/payload.d.ts.map +1 -1
  855. package/dist/vtc/backup/import/0.1/payload.js.map +1 -1
  856. package/dist/vtc/ceremonies/list/0.1/payload.d.ts +3 -6
  857. package/dist/vtc/ceremonies/list/0.1/payload.d.ts.map +1 -1
  858. package/dist/vtc/community/profile/show/0.1/payload.d.ts +6 -59
  859. package/dist/vtc/community/profile/show/0.1/payload.d.ts.map +1 -1
  860. package/dist/vtc/community/profile/show/0.1/payload.js.map +1 -1
  861. package/dist/vtc/community/profile/update/0.1/payload.d.ts +8 -79
  862. package/dist/vtc/community/profile/update/0.1/payload.d.ts.map +1 -1
  863. package/dist/vtc/community/profile/update/0.1/payload.js.map +1 -1
  864. package/dist/vtc/config/export/0.1/payload.d.ts +5 -78
  865. package/dist/vtc/config/export/0.1/payload.d.ts.map +1 -1
  866. package/dist/vtc/config/export/0.1/payload.js.map +1 -1
  867. package/dist/vtc/config/import/0.1/payload.d.ts +6 -112
  868. package/dist/vtc/config/import/0.1/payload.d.ts.map +1 -1
  869. package/dist/vtc/config/import/0.1/payload.js.map +1 -1
  870. package/dist/vtc/directory/query/0.1/payload.d.ts +3 -6
  871. package/dist/vtc/directory/query/0.1/payload.d.ts.map +1 -1
  872. package/dist/vtc/endorsement-types/delete/0.1/payload.d.ts +3 -6
  873. package/dist/vtc/endorsement-types/delete/0.1/payload.d.ts.map +1 -1
  874. package/dist/vtc/endorsement-types/list/0.1/payload.d.ts +3 -22
  875. package/dist/vtc/endorsement-types/list/0.1/payload.d.ts.map +1 -1
  876. package/dist/vtc/endorsement-types/list/0.1/payload.js.map +1 -1
  877. package/dist/vtc/endorsement-types/register/0.1/payload.d.ts +3 -22
  878. package/dist/vtc/endorsement-types/register/0.1/payload.d.ts.map +1 -1
  879. package/dist/vtc/endorsement-types/register/0.1/payload.js.map +1 -1
  880. package/dist/vtc/endorsements/issue/0.1/payload.d.ts +3 -51
  881. package/dist/vtc/endorsements/issue/0.1/payload.d.ts.map +1 -1
  882. package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
  883. package/dist/vtc/endorsements/list/0.1/payload.d.ts +3 -51
  884. package/dist/vtc/endorsements/list/0.1/payload.d.ts.map +1 -1
  885. package/dist/vtc/endorsements/list/0.1/payload.js.map +1 -1
  886. package/dist/vtc/endorsements/revoke/0.1/payload.d.ts +6 -20
  887. package/dist/vtc/endorsements/revoke/0.1/payload.d.ts.map +1 -1
  888. package/dist/vtc/endorsements/revoke/0.1/payload.js.map +1 -1
  889. package/dist/vtc/endorsements/show/0.1/payload.d.ts +3 -51
  890. package/dist/vtc/endorsements/show/0.1/payload.d.ts.map +1 -1
  891. package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
  892. package/dist/vtc/install/claim/finish/0.1/payload.d.ts +3 -6
  893. package/dist/vtc/install/claim/finish/0.1/payload.d.ts.map +1 -1
  894. package/dist/vtc/install/claim/finish/0.2/payload.d.ts +3 -6
  895. package/dist/vtc/install/claim/finish/0.2/payload.d.ts.map +1 -1
  896. package/dist/vtc/install/claim/start/0.1/payload.d.ts +3 -6
  897. package/dist/vtc/install/claim/start/0.1/payload.d.ts.map +1 -1
  898. package/dist/vtc/install/claim/start/0.2/payload.d.ts +3 -6
  899. package/dist/vtc/install/claim/start/0.2/payload.d.ts.map +1 -1
  900. package/dist/vtc/invitations/issue/0.1/payload.d.ts +3 -6
  901. package/dist/vtc/invitations/issue/0.1/payload.d.ts.map +1 -1
  902. package/dist/vtc/invitations/list/0.1/payload.d.ts +3 -39
  903. package/dist/vtc/invitations/list/0.1/payload.d.ts.map +1 -1
  904. package/dist/vtc/invitations/list/0.1/payload.js.map +1 -1
  905. package/dist/vtc/invitations/revoke/0.1/payload.d.ts +3 -6
  906. package/dist/vtc/invitations/revoke/0.1/payload.d.ts.map +1 -1
  907. package/dist/vtc/join-requests/accept/0.1/payload.d.ts +3 -6
  908. package/dist/vtc/join-requests/accept/0.1/payload.d.ts.map +1 -1
  909. package/dist/vtc/join-requests/approve/0.1/payload.d.ts +3 -6
  910. package/dist/vtc/join-requests/approve/0.1/payload.d.ts.map +1 -1
  911. package/dist/vtc/join-requests/decide/0.1/payload.d.ts +3 -6
  912. package/dist/vtc/join-requests/decide/0.1/payload.d.ts.map +1 -1
  913. package/dist/vtc/join-requests/list/0.1/payload.d.ts +3 -60
  914. package/dist/vtc/join-requests/list/0.1/payload.d.ts.map +1 -1
  915. package/dist/vtc/join-requests/list/0.1/payload.js.map +1 -1
  916. package/dist/vtc/join-requests/manifest/0.1/payload.d.ts +3 -6
  917. package/dist/vtc/join-requests/manifest/0.1/payload.d.ts.map +1 -1
  918. package/dist/vtc/join-requests/reject/0.1/payload.d.ts +3 -6
  919. package/dist/vtc/join-requests/reject/0.1/payload.d.ts.map +1 -1
  920. package/dist/vtc/join-requests/show/0.1/payload.d.ts +3 -60
  921. package/dist/vtc/join-requests/show/0.1/payload.d.ts.map +1 -1
  922. package/dist/vtc/join-requests/show/0.1/payload.js.map +1 -1
  923. package/dist/vtc/join-requests/status/0.1/payload.d.ts +3 -6
  924. package/dist/vtc/join-requests/status/0.1/payload.d.ts.map +1 -1
  925. package/dist/vtc/join-requests/submit/0.1/payload.d.ts +3 -6
  926. package/dist/vtc/join-requests/submit/0.1/payload.d.ts.map +1 -1
  927. package/dist/vtc/join-requests/submit/0.2/payload.d.ts +8 -62
  928. package/dist/vtc/join-requests/submit/0.2/payload.d.ts.map +1 -1
  929. package/dist/vtc/join-requests/submit/0.2/payload.js.map +1 -1
  930. package/dist/vtc/join-requests/submit-receipt/0.1/payload.d.ts +3 -6
  931. package/dist/vtc/join-requests/submit-receipt/0.1/payload.d.ts.map +1 -1
  932. package/dist/vtc/members/admin-remove/0.1/payload.d.ts +3 -6
  933. package/dist/vtc/members/admin-remove/0.1/payload.d.ts.map +1 -1
  934. package/dist/vtc/members/list/0.1/payload.d.ts +3 -68
  935. package/dist/vtc/members/list/0.1/payload.d.ts.map +1 -1
  936. package/dist/vtc/members/list/0.1/payload.js.map +1 -1
  937. package/dist/vtc/members/personhood/assert/0.1/payload.d.ts +3 -6
  938. package/dist/vtc/members/personhood/assert/0.1/payload.d.ts.map +1 -1
  939. package/dist/vtc/members/personhood/challenge/0.1/payload.d.ts +3 -6
  940. package/dist/vtc/members/personhood/challenge/0.1/payload.d.ts.map +1 -1
  941. package/dist/vtc/members/personhood/revoke/0.1/payload.d.ts +3 -6
  942. package/dist/vtc/members/personhood/revoke/0.1/payload.d.ts.map +1 -1
  943. package/dist/vtc/members/purge/0.1/payload.d.ts +3 -6
  944. package/dist/vtc/members/purge/0.1/payload.d.ts.map +1 -1
  945. package/dist/vtc/members/removal-notice/0.1/payload.d.ts +3 -6
  946. package/dist/vtc/members/removal-notice/0.1/payload.d.ts.map +1 -1
  947. package/dist/vtc/members/removed/0.1/payload.d.ts +3 -6
  948. package/dist/vtc/members/removed/0.1/payload.d.ts.map +1 -1
  949. package/dist/vtc/members/renew/0.1/payload.d.ts +3 -6
  950. package/dist/vtc/members/renew/0.1/payload.d.ts.map +1 -1
  951. package/dist/vtc/members/request-vmc/0.1/payload.d.ts +3 -6
  952. package/dist/vtc/members/request-vmc/0.1/payload.d.ts.map +1 -1
  953. package/dist/vtc/members/rotate/0.1/payload.d.ts +3 -6
  954. package/dist/vtc/members/rotate/0.1/payload.d.ts.map +1 -1
  955. package/dist/vtc/members/rotate-challenge/0.1/payload.d.ts +3 -6
  956. package/dist/vtc/members/rotate-challenge/0.1/payload.d.ts.map +1 -1
  957. package/dist/vtc/members/self-remove/0.1/payload.d.ts +3 -6
  958. package/dist/vtc/members/self-remove/0.1/payload.d.ts.map +1 -1
  959. package/dist/vtc/members/self-remove-receipt/0.1/payload.d.ts +3 -6
  960. package/dist/vtc/members/self-remove-receipt/0.1/payload.d.ts.map +1 -1
  961. package/dist/vtc/members/show/0.1/payload.d.ts +3 -68
  962. package/dist/vtc/members/show/0.1/payload.d.ts.map +1 -1
  963. package/dist/vtc/members/show/0.1/payload.js.map +1 -1
  964. package/dist/vtc/members/solicit-vmc/0.1/payload.d.ts +3 -6
  965. package/dist/vtc/members/solicit-vmc/0.1/payload.d.ts.map +1 -1
  966. package/dist/vtc/members/update/0.1/payload.d.ts +3 -68
  967. package/dist/vtc/members/update/0.1/payload.d.ts.map +1 -1
  968. package/dist/vtc/members/update/0.1/payload.js.map +1 -1
  969. package/dist/vtc/members/vmc/0.1/payload.d.ts +3 -6
  970. package/dist/vtc/members/vmc/0.1/payload.d.ts.map +1 -1
  971. package/dist/vtc/policies/test/0.1/payload.d.ts +3 -6
  972. package/dist/vtc/policies/test/0.1/payload.d.ts.map +1 -1
  973. package/dist/vtc/recognition/check/0.1/payload.d.ts +3 -6
  974. package/dist/vtc/recognition/check/0.1/payload.d.ts.map +1 -1
  975. package/dist/vtc/registry/diagnostics/0.1/payload.d.ts +3 -6
  976. package/dist/vtc/registry/diagnostics/0.1/payload.d.ts.map +1 -1
  977. package/dist/vtc/relationships/graph/0.1/payload.d.ts +3 -6
  978. package/dist/vtc/relationships/graph/0.1/payload.d.ts.map +1 -1
  979. package/dist/vtc/relationships/graph/0.2/payload.d.ts +3 -6
  980. package/dist/vtc/relationships/graph/0.2/payload.d.ts.map +1 -1
  981. package/dist/vtc/relationships/list/0.1/payload.d.ts +3 -6
  982. package/dist/vtc/relationships/list/0.1/payload.d.ts.map +1 -1
  983. package/dist/vtc/relationships/list/0.2/payload.d.ts +6 -10
  984. package/dist/vtc/relationships/list/0.2/payload.d.ts.map +1 -1
  985. package/dist/vtc/relationships/list/0.2/payload.js.map +1 -1
  986. package/dist/vtc/relationships/publish/0.1/payload.d.ts +6 -10
  987. package/dist/vtc/relationships/publish/0.1/payload.d.ts.map +1 -1
  988. package/dist/vtc/relationships/publish/0.1/payload.js.map +1 -1
  989. package/dist/vtc/relationships/publish/0.2/payload.d.ts +10 -15
  990. package/dist/vtc/relationships/publish/0.2/payload.d.ts.map +1 -1
  991. package/dist/vtc/relationships/publish/0.2/payload.js.map +1 -1
  992. package/dist/vtc/relationships/request/0.1/payload.d.ts +3 -6
  993. package/dist/vtc/relationships/request/0.1/payload.d.ts.map +1 -1
  994. package/dist/vtc/relationships/request/0.2/payload.d.ts +6 -10
  995. package/dist/vtc/relationships/request/0.2/payload.d.ts.map +1 -1
  996. package/dist/vtc/relationships/request/0.2/payload.js.map +1 -1
  997. package/dist/vtc/relationships/revoke/0.1/payload.d.ts +3 -6
  998. package/dist/vtc/relationships/revoke/0.1/payload.d.ts.map +1 -1
  999. package/dist/vtc/website/files/delete/0.1/payload.d.ts +3 -6
  1000. package/dist/vtc/website/files/delete/0.1/payload.d.ts.map +1 -1
  1001. package/dist/vtc/website/files/list/0.1/payload.d.ts +3 -6
  1002. package/dist/vtc/website/files/list/0.1/payload.d.ts.map +1 -1
  1003. package/dist/vtc/website/generations/list/0.1/payload.d.ts +3 -6
  1004. package/dist/vtc/website/generations/list/0.1/payload.d.ts.map +1 -1
  1005. package/dist/vtc/website/rollback/0.1/payload.d.ts +3 -6
  1006. package/dist/vtc/website/rollback/0.1/payload.d.ts.map +1 -1
  1007. package/dist/webvh/sync/delete/0.1/payload.d.ts +3 -6
  1008. package/dist/webvh/sync/delete/0.1/payload.d.ts.map +1 -1
  1009. package/dist/webvh/sync/update/0.1/payload.d.ts +3 -6
  1010. package/dist/webvh/sync/update/0.1/payload.d.ts.map +1 -1
  1011. package/dist/webvh/witness/publish/0.1/payload.d.ts +3 -6
  1012. package/dist/webvh/witness/publish/0.1/payload.d.ts.map +1 -1
  1013. package/dist/witness/session/0.1/payload.d.ts +3 -6
  1014. package/dist/witness/session/0.1/payload.d.ts.map +1 -1
  1015. package/dist/witness/session/submit/0.1/payload.d.ts +6 -10
  1016. package/dist/witness/session/submit/0.1/payload.d.ts.map +1 -1
  1017. package/dist/witness/session/submit/0.1/payload.js.map +1 -1
  1018. package/package.json +3 -2
  1019. package/src/_framework/0.1/framework.ts +6 -0
  1020. package/src/_framework/0.2/framework.ts +6 -0
  1021. package/src/_framework/0.3/framework.ts +6 -0
  1022. package/src/_runtime/codes.ts +38 -0
  1023. package/src/_shared/components.ts +3191 -0
  1024. package/src/acl/_shared/0.1/acl-entry.ts +6 -0
  1025. package/src/acl/change-role/0.1/payload.ts +13 -86
  1026. package/src/acl/grant/0.1/payload.ts +13 -153
  1027. package/src/acl/list/0.1/payload.ts +11 -84
  1028. package/src/acl/revoke/0.1/payload.ts +11 -84
  1029. package/src/acl/show/0.1/payload.ts +11 -84
  1030. package/src/acl/swap-key/0.1/payload.ts +13 -89
  1031. package/src/acl/update/0.1/payload.ts +9 -82
  1032. package/src/audit/_shared/0.1/audit.ts +6 -0
  1033. package/src/audit/list/0.1/payload.ts +5 -60
  1034. package/src/audit/verify/0.1/payload.ts +8 -10
  1035. package/src/auth/_shared/0.1/session.ts +6 -0
  1036. package/src/auth/_shared/0.1/tokens.ts +6 -0
  1037. package/src/auth/_shared/0.1/webauthn.ts +6 -0
  1038. package/src/auth/authenticate/0.1/payload.ts +15 -83
  1039. package/src/auth/challenge/0.1/payload.ts +13 -13
  1040. package/src/auth/passkey/enroll/finish/0.1/payload.ts +16 -28
  1041. package/src/auth/passkey/enroll/finish/0.2/payload.ts +19 -44
  1042. package/src/auth/passkey/enroll/invite/0.1/payload.ts +6 -6
  1043. package/src/auth/passkey/enroll/start/0.1/payload.ts +13 -75
  1044. package/src/auth/passkey/enroll/start/0.2/payload.ts +15 -95
  1045. package/src/auth/passkey/list/0.1/payload.ts +11 -36
  1046. package/src/auth/passkey/login/finish/0.1/payload.ts +15 -102
  1047. package/src/auth/passkey/login/finish/0.2/payload.ts +15 -102
  1048. package/src/auth/passkey/login/start/0.1/payload.ts +13 -39
  1049. package/src/auth/passkey/login/start/0.2/payload.ts +13 -39
  1050. package/src/auth/passkey/revoke/finish/0.1/payload.ts +16 -29
  1051. package/src/auth/passkey/revoke/start/0.1/payload.ts +13 -39
  1052. package/src/auth/refresh/0.1/payload.ts +15 -83
  1053. package/src/auth/revoke-session/0.1/payload.ts +13 -13
  1054. package/src/auth/sessions/list/0.1/payload.ts +6 -44
  1055. package/src/auth/step-up/approve-request/0.1/payload.ts +9 -35
  1056. package/src/auth/step-up/approve-request/0.2/payload.ts +9 -35
  1057. package/src/auth/step-up/approve-response/0.1/payload.ts +12 -60
  1058. package/src/auth/step-up/approve-response/0.2/payload.ts +12 -60
  1059. package/src/auth/step-up/policy/0.1/payload.ts +10 -13
  1060. package/src/auth/step-up/policy/0.2/payload.ts +10 -13
  1061. package/src/auth/whoami/0.1/payload.ts +14 -49
  1062. package/src/chat/message/0.1/payload.ts +12 -15
  1063. package/src/config/_shared/0.1/config.ts +6 -0
  1064. package/src/config/patch/0.1/payload.ts +6 -16
  1065. package/src/config/reload/0.1/payload.ts +6 -6
  1066. package/src/config/restart/0.1/payload.ts +6 -6
  1067. package/src/config/show/0.1/payload.ts +6 -29
  1068. package/src/confirm/request/0.1/payload.ts +6 -6
  1069. package/src/confirm/response/0.1/payload.ts +6 -6
  1070. package/src/consent/_shared/0.1/consent.ts +6 -0
  1071. package/src/consent/approver-list/1.0/payload.ts +6 -31
  1072. package/src/consent/approver-set/1.0/payload.ts +7 -7
  1073. package/src/consent/decision/1.0/payload.ts +8 -32
  1074. package/src/consent/list/1.0/payload.ts +9 -78
  1075. package/src/consent/request/1.0/payload.ts +9 -32
  1076. package/src/consent/revoke/1.0/payload.ts +6 -27
  1077. package/src/credential-exchange/_shared/0.1/deferred-presentation.ts +6 -0
  1078. package/src/credential-exchange/issue/0.1/payload.ts +5 -6
  1079. package/src/credential-exchange/offer/0.1/payload.ts +6 -6
  1080. package/src/credential-exchange/pending/approve/0.1/payload.ts +6 -6
  1081. package/src/credential-exchange/pending/deny/0.1/payload.ts +6 -6
  1082. package/src/credential-exchange/pending/list/0.1/payload.ts +6 -54
  1083. package/src/credential-exchange/present/0.1/payload.ts +6 -6
  1084. package/src/credential-exchange/query/0.1/payload.ts +6 -6
  1085. package/src/credential-exchange/request/0.1/payload.ts +6 -6
  1086. package/src/credentials/_shared/0.1/credentials.ts +6 -0
  1087. package/src/credentials/_shared/0.2/credentials.ts +6 -0
  1088. package/src/device/_shared/0.1/device-binding.ts +6 -0
  1089. package/src/device/_shared/0.2/device-binding.ts +6 -0
  1090. package/src/device/disable/0.1/payload.ts +6 -6
  1091. package/src/device/heartbeat/0.1/payload.ts +6 -6
  1092. package/src/device/heartbeat/0.2/payload.ts +6 -6
  1093. package/src/device/list/0.1/payload.ts +5 -134
  1094. package/src/device/list/0.2/payload.ts +5 -134
  1095. package/src/device/register/0.1/payload.ts +8 -151
  1096. package/src/device/register/0.2/payload.ts +8 -151
  1097. package/src/device/set-wake/0.1/payload.ts +11 -27
  1098. package/src/device/set-wake/0.2/payload.ts +11 -27
  1099. package/src/device/wipe/0.1/payload.ts +6 -6
  1100. package/src/device/wipe/0.2/payload.ts +6 -6
  1101. package/src/did-management/_shared/0.1/did-record.ts +6 -0
  1102. package/src/did-management/_shared/0.1/domain-entry.ts +6 -0
  1103. package/src/did-management/_shared/0.1/service-instance.ts +6 -0
  1104. package/src/did-management/agent-name/check/0.1/payload.ts +6 -6
  1105. package/src/did-management/agent-name/disable/0.1/payload.ts +6 -59
  1106. package/src/did-management/agent-name/enable/0.1/payload.ts +6 -59
  1107. package/src/did-management/agent-name/list/0.1/payload.ts +6 -6
  1108. package/src/did-management/agent-name/remove/0.1/payload.ts +6 -59
  1109. package/src/did-management/agent-name/set/0.1/payload.ts +6 -59
  1110. package/src/did-management/agent-name/update/0.1/payload.ts +6 -59
  1111. package/src/did-management/did/change-owner/0.1/payload.ts +6 -59
  1112. package/src/did-management/did/check-name/0.1/payload.ts +9 -62
  1113. package/src/did-management/did/delete/0.1/payload.ts +6 -59
  1114. package/src/did-management/did/disable/0.1/payload.ts +6 -59
  1115. package/src/did-management/did/enable/0.1/payload.ts +6 -59
  1116. package/src/did-management/did/info/0.1/payload.ts +6 -59
  1117. package/src/did-management/did/list/0.1/payload.ts +6 -59
  1118. package/src/did-management/did/problem-report/0.1/payload.ts +6 -6
  1119. package/src/did-management/did/publish/0.1/payload.ts +6 -59
  1120. package/src/did-management/did/register/0.1/payload.ts +6 -59
  1121. package/src/did-management/did/rollback/0.1/payload.ts +6 -59
  1122. package/src/did-management/did/set-state/0.1/payload.ts +6 -59
  1123. package/src/did-management/domain/assign/0.1/payload.ts +6 -6
  1124. package/src/did-management/domain/create/0.1/payload.ts +6 -40
  1125. package/src/did-management/domain/disable/0.1/payload.ts +6 -40
  1126. package/src/did-management/domain/enable/0.1/payload.ts +6 -40
  1127. package/src/did-management/domain/purge/0.1/payload.ts +6 -6
  1128. package/src/did-management/domain/set-default/0.1/payload.ts +6 -40
  1129. package/src/did-management/domain/set-state/0.1/payload.ts +6 -40
  1130. package/src/did-management/domain/unassign/0.1/payload.ts +6 -6
  1131. package/src/did-management/domain/update/0.1/payload.ts +6 -40
  1132. package/src/did-management/me/domains/0.1/payload.ts +6 -40
  1133. package/src/did-management/registry/admin-register/0.1/payload.ts +6 -24
  1134. package/src/did-management/registry/deregister/0.1/payload.ts +6 -6
  1135. package/src/did-management/server/health/0.1/payload.ts +6 -6
  1136. package/src/did-management/server/register/0.1/payload.ts +6 -6
  1137. package/src/did-management/server/stats-sync/0.1/payload.ts +6 -6
  1138. package/src/git-trust/grant/0.1/payload.ts +6 -6
  1139. package/src/git-trust/revoke/0.1/payload.ts +6 -6
  1140. package/src/governance/_shared/0.1/governance.ts +6 -0
  1141. package/src/governance/capability/disable/0.1/payload.ts +6 -6
  1142. package/src/governance/capability/enable/0.1/payload.ts +8 -81
  1143. package/src/governance/capability/list/0.1/payload.ts +6 -82
  1144. package/src/index.ts +5 -0
  1145. package/src/keys/_shared/0.1/key-record.ts +6 -0
  1146. package/src/keys/_shared/0.1/sign-algorithm.ts +6 -0
  1147. package/src/keys/create/0.1/payload.ts +14 -69
  1148. package/src/keys/derive-and-sign/0.1/payload.ts +16 -26
  1149. package/src/keys/derive-and-sign-document/0.1/payload.ts +12 -17
  1150. package/src/keys/import/0.1/payload.ts +15 -69
  1151. package/src/keys/list/0.1/payload.ts +12 -67
  1152. package/src/keys/rename/0.1/payload.ts +10 -13
  1153. package/src/keys/revoke/0.1/payload.ts +12 -17
  1154. package/src/keys/show/0.1/payload.ts +9 -63
  1155. package/src/keys/sign/0.1/payload.ts +13 -22
  1156. package/src/messaging/_shared/0.1/messaging.ts +6 -0
  1157. package/src/messaging/access-list/add/0.1/payload.ts +21 -28
  1158. package/src/messaging/access-list/clear/0.1/payload.ts +19 -22
  1159. package/src/messaging/access-list/get/0.1/payload.ts +22 -29
  1160. package/src/messaging/access-list/list/0.1/payload.ts +21 -28
  1161. package/src/messaging/access-list/remove/0.1/payload.ts +21 -28
  1162. package/src/messaging/access-list/update/0.1/payload.ts +23 -30
  1163. package/src/messaging/account/add/0.1/payload.ts +19 -198
  1164. package/src/messaging/account/change-queue-limits/0.1/payload.ts +16 -136
  1165. package/src/messaging/account/change-type/0.1/payload.ts +17 -128
  1166. package/src/messaging/account/get/0.1/payload.ts +15 -125
  1167. package/src/messaging/account/list/0.1/payload.ts +13 -126
  1168. package/src/messaging/account/remove/0.1/payload.ts +19 -22
  1169. package/src/messaging/account/update/0.1/payload.ts +19 -198
  1170. package/src/messaging/acl/get/0.1/payload.ts +16 -80
  1171. package/src/messaging/acl/set/0.1/payload.ts +17 -136
  1172. package/src/messaging/admin/add/0.1/payload.ts +12 -17
  1173. package/src/messaging/admin/audit-log/0.1/payload.ts +10 -49
  1174. package/src/messaging/admin/config/0.1/payload.ts +13 -13
  1175. package/src/messaging/admin/list/0.1/payload.ts +12 -28
  1176. package/src/messaging/admin/strip/0.1/payload.ts +12 -17
  1177. package/src/messaging/ping/0.1/payload.ts +13 -13
  1178. package/src/policy/_shared/0.1/policy.ts +6 -0
  1179. package/src/policy/_shared/0.2/policy.ts +6 -0
  1180. package/src/policy/_shared/0.3/policy.ts +6 -0
  1181. package/src/policy/activate/0.1/payload.ts +6 -6
  1182. package/src/policy/active/0.1/payload.ts +6 -31
  1183. package/src/policy/delete/0.1/payload.ts +6 -6
  1184. package/src/policy/evaluate/0.1/payload.ts +5 -99
  1185. package/src/policy/evaluate/0.2/payload.ts +5 -99
  1186. package/src/policy/evaluate/0.3/payload.ts +5 -143
  1187. package/src/policy/get/0.1/payload.ts +6 -31
  1188. package/src/policy/list/0.1/payload.ts +6 -31
  1189. package/src/policy/list/0.2/payload.ts +6 -31
  1190. package/src/policy/upsert/0.1/payload.ts +6 -31
  1191. package/src/policy/upsert/0.2/payload.ts +6 -31
  1192. package/src/provision/integration/0.1/payload.ts +10 -13
  1193. package/src/provision/integration/0.2/payload.ts +10 -13
  1194. package/src/provision/integration/0.3/payload.ts +13 -17
  1195. package/src/push/provision/0.1/payload.ts +12 -24
  1196. package/src/push/provision/0.2/payload.ts +12 -24
  1197. package/src/push/register/0.1/payload.ts +10 -64
  1198. package/src/push/register/0.2/payload.ts +10 -64
  1199. package/src/push/wake/0.1/payload.ts +6 -6
  1200. package/src/push/wake/0.2/payload.ts +6 -6
  1201. package/src/registry/_shared/0.1/registry.ts +6 -0
  1202. package/src/registry/authorization/0.1/payload.ts +6 -20
  1203. package/src/registry/did/rotate/0.1/payload.ts +6 -6
  1204. package/src/registry/recognition/0.1/payload.ts +6 -20
  1205. package/src/registry/record/create/0.1/payload.ts +5 -31
  1206. package/src/registry/record/delete/0.1/payload.ts +6 -6
  1207. package/src/registry/record/list/0.1/payload.ts +5 -31
  1208. package/src/registry/record/put/0.1/payload.ts +5 -31
  1209. package/src/registry/record/query/0.1/payload.ts +5 -31
  1210. package/src/registry/record/read/0.1/payload.ts +5 -10
  1211. package/src/registry/record/update/0.1/payload.ts +5 -31
  1212. package/src/sync/_shared/0.1/sync-event.ts +6 -0
  1213. package/src/sync/_shared/0.2/sync-event.ts +6 -0
  1214. package/src/sync/event/0.1/payload.ts +5 -216
  1215. package/src/sync/event/0.2/payload.ts +5 -200
  1216. package/src/task-consent/_shared/0.1/task-consent.ts +6 -0
  1217. package/src/task-consent/decision/0.1/payload.ts +12 -19
  1218. package/src/task-consent/granted/0.1/payload.ts +8 -10
  1219. package/src/task-consent/request/0.1/payload.ts +8 -71
  1220. package/src/trust-ceremony-receipt/0.1/payload.ts +16 -16
  1221. package/src/trust-task-discovery/0.1/payload.ts +3 -3
  1222. package/src/trust-task-next-step/0.1/payload.ts +6 -6
  1223. package/src/vault/_shared/0.1/consumer-context.ts +6 -0
  1224. package/src/vault/_shared/0.1/sealed-envelope.ts +6 -0
  1225. package/src/vault/_shared/0.1/vault-entry.ts +6 -0
  1226. package/src/vault/_shared/0.2/consumer-context.ts +6 -0
  1227. package/src/vault/_shared/0.2/sealed-envelope.ts +6 -0
  1228. package/src/vault/_shared/0.2/vault-entry.ts +6 -0
  1229. package/src/vault/_shared/0.3/sealed-envelope.ts +6 -0
  1230. package/src/vault/_shared/0.3/vault-entry.ts +6 -0
  1231. package/src/vault/delete/0.1/payload.ts +6 -6
  1232. package/src/vault/get/0.1/payload.ts +5 -184
  1233. package/src/vault/get/0.2/payload.ts +5 -168
  1234. package/src/vault/get/0.3/payload.ts +5 -169
  1235. package/src/vault/list/0.1/payload.ts +13 -201
  1236. package/src/vault/list/0.2/payload.ts +13 -185
  1237. package/src/vault/list/0.3/payload.ts +13 -186
  1238. package/src/vault/proxy-login/0.1/payload.ts +16 -124
  1239. package/src/vault/proxy-login/0.2/payload.ts +16 -124
  1240. package/src/vault/release/0.1/payload.ts +18 -135
  1241. package/src/vault/release/0.2/payload.ts +18 -135
  1242. package/src/vault/sign-trust-task/0.1/payload.ts +12 -37
  1243. package/src/vault/sign-trust-task/0.2/payload.ts +12 -37
  1244. package/src/vault/sync/0.1/payload.ts +5 -216
  1245. package/src/vault/sync/0.2/payload.ts +5 -200
  1246. package/src/vault/upsert/0.1/payload.ts +8 -258
  1247. package/src/vault/upsert/0.2/payload.ts +8 -242
  1248. package/src/vault/upsert/0.3/payload.ts +8 -243
  1249. package/src/vault/usage/0.1/payload.ts +6 -6
  1250. package/src/vault/usage/0.2/payload.ts +6 -6
  1251. package/src/vrc/relationships/issue/0.1/payload.ts +12 -15
  1252. package/src/vrc/relationships/propose/0.1/payload.ts +6 -6
  1253. package/src/vta/_shared/0.1/app-state-record.ts +6 -0
  1254. package/src/vta/_shared/0.1/context.ts +6 -0
  1255. package/src/vta/_shared/0.1/did-template.ts +6 -0
  1256. package/src/vta/_shared/0.1/passkey-vm.ts +6 -0
  1257. package/src/vta/_shared/0.1/service.ts +6 -0
  1258. package/src/vta/_shared/0.1/webvh-records.ts +6 -0
  1259. package/src/vta/app-state/delete/1.0/payload.ts +18 -29
  1260. package/src/vta/app-state/get/1.0/payload.ts +12 -60
  1261. package/src/vta/app-state/get-many/1.0/payload.ts +13 -65
  1262. package/src/vta/app-state/list/1.0/payload.ts +17 -70
  1263. package/src/vta/app-state/put/1.0/payload.ts +19 -29
  1264. package/src/vta/app-state/put-many/1.0/payload.ts +16 -64
  1265. package/src/vta/contexts/create/1.0/payload.ts +6 -44
  1266. package/src/vta/contexts/delete/1.0/payload.ts +6 -6
  1267. package/src/vta/contexts/did-templates/create/1.0/payload.ts +9 -6
  1268. package/src/vta/contexts/did-templates/delete/1.0/payload.ts +13 -13
  1269. package/src/vta/contexts/did-templates/get/1.0/payload.ts +9 -6
  1270. package/src/vta/contexts/did-templates/list/1.0/payload.ts +13 -13
  1271. package/src/vta/contexts/did-templates/render/1.0/payload.ts +13 -13
  1272. package/src/vta/contexts/did-templates/update/1.0/payload.ts +9 -6
  1273. package/src/vta/contexts/get/1.0/payload.ts +6 -44
  1274. package/src/vta/contexts/list/1.0/payload.ts +6 -44
  1275. package/src/vta/contexts/preview-delete/1.0/payload.ts +6 -6
  1276. package/src/vta/contexts/update/1.0/payload.ts +8 -71
  1277. package/src/vta/contexts/update-did/1.0/payload.ts +6 -44
  1278. package/src/vta/credentials/issue/0.1/payload.ts +12 -17
  1279. package/src/vta/credentials/issue/0.2/payload.ts +8 -29
  1280. package/src/vta/credentials/revoke/0.1/payload.ts +16 -22
  1281. package/src/vta/did-templates/create/1.0/payload.ts +9 -6
  1282. package/src/vta/did-templates/create/2.0/payload.ts +9 -94
  1283. package/src/vta/did-templates/delete/1.0/payload.ts +13 -13
  1284. package/src/vta/did-templates/delete/2.0/payload.ts +13 -13
  1285. package/src/vta/did-templates/get/1.0/payload.ts +9 -6
  1286. package/src/vta/did-templates/get/2.0/payload.ts +7 -50
  1287. package/src/vta/did-templates/list/1.0/payload.ts +13 -13
  1288. package/src/vta/did-templates/list/2.0/payload.ts +10 -56
  1289. package/src/vta/did-templates/render/1.0/payload.ts +13 -13
  1290. package/src/vta/did-templates/render/2.0/payload.ts +13 -13
  1291. package/src/vta/did-templates/update/1.0/payload.ts +9 -6
  1292. package/src/vta/did-templates/update/2.0/payload.ts +9 -94
  1293. package/src/vta/memory/delete/0.1/payload.ts +6 -6
  1294. package/src/vta/memory/list/0.1/payload.ts +6 -6
  1295. package/src/vta/memory/put/0.1/payload.ts +10 -13
  1296. package/src/vta/passkey-vms/enroll-challenge/0.1/payload.ts +13 -13
  1297. package/src/vta/passkey-vms/enroll-submit/0.1/payload.ts +14 -44
  1298. package/src/vta/passkey-vms/list/0.1/payload.ts +11 -41
  1299. package/src/vta/passkey-vms/revoke/0.1/payload.ts +13 -13
  1300. package/src/vta/services/disable/1.0/payload.ts +5 -40
  1301. package/src/vta/services/drain/cancel/1.0/payload.ts +6 -6
  1302. package/src/vta/services/drain/list/1.0/payload.ts +6 -24
  1303. package/src/vta/services/enable/1.0/payload.ts +5 -40
  1304. package/src/vta/services/get/1.0/payload.ts +5 -33
  1305. package/src/vta/services/list/1.0/payload.ts +5 -33
  1306. package/src/vta/services/rollback/1.0/payload.ts +5 -44
  1307. package/src/vta/services/update/1.0/payload.ts +5 -40
  1308. package/src/vta/webvh/agent-name/check/1.0/payload.ts +6 -6
  1309. package/src/vta/webvh/agent-name/disable/1.0/payload.ts +6 -6
  1310. package/src/vta/webvh/agent-name/enable/1.0/payload.ts +6 -6
  1311. package/src/vta/webvh/agent-name/list/1.0/payload.ts +6 -24
  1312. package/src/vta/webvh/agent-name/remove/1.0/payload.ts +6 -6
  1313. package/src/vta/webvh/agent-name/set/1.0/payload.ts +6 -6
  1314. package/src/vta/webvh/dids/create/1.0/payload.ts +6 -6
  1315. package/src/vta/webvh/dids/delete/1.0/payload.ts +6 -6
  1316. package/src/vta/webvh/dids/get/1.0/payload.ts +6 -50
  1317. package/src/vta/webvh/dids/list/1.0/payload.ts +6 -50
  1318. package/src/vta/webvh/dids/register-with-server/1.0/payload.ts +6 -6
  1319. package/src/vta/webvh/dids/rotate-keys/1.0/payload.ts +6 -6
  1320. package/src/vta/webvh/dids/update/1.0/payload.ts +6 -6
  1321. package/src/vta/webvh/servers/domains/0.1/payload.ts +10 -47
  1322. package/src/vta/webvh/servers/list/1.0/payload.ts +6 -23
  1323. package/src/vta/webvh/servers/reconcile/0.1/payload.ts +10 -13
  1324. package/src/vta/webvh/servers/register/1.0/payload.ts +6 -23
  1325. package/src/vta/webvh/servers/remove/1.0/payload.ts +6 -6
  1326. package/src/vta/webvh/servers/retire-orphan/0.1/payload.ts +6 -6
  1327. package/src/vtc/_shared/0.1/backup.ts +6 -0
  1328. package/src/vtc/_shared/0.1/ceremony.ts +6 -0
  1329. package/src/vtc/_shared/0.1/community.ts +6 -0
  1330. package/src/vtc/_shared/0.1/config-portability.ts +6 -0
  1331. package/src/vtc/_shared/0.1/endorsement-type.ts +6 -0
  1332. package/src/vtc/_shared/0.1/endorsement.ts +6 -0
  1333. package/src/vtc/_shared/0.1/invitation.ts +6 -0
  1334. package/src/vtc/_shared/0.1/invite.ts +6 -0
  1335. package/src/vtc/_shared/0.1/join-request.ts +6 -0
  1336. package/src/vtc/_shared/0.1/member.ts +6 -0
  1337. package/src/vtc/admin/bootstrap/0.1/payload.ts +6 -6
  1338. package/src/vtc/admin/invites/create/0.1/payload.ts +6 -6
  1339. package/src/vtc/admin/invites/list/0.1/payload.ts +5 -32
  1340. package/src/vtc/admin/invites/revoke/0.1/payload.ts +6 -6
  1341. package/src/vtc/auth/admin-session/0.1/payload.ts +6 -6
  1342. package/src/vtc/auth/recognise/0.1/payload.ts +6 -6
  1343. package/src/vtc/auth/recognise/0.2/payload.ts +6 -6
  1344. package/src/vtc/auth/recognise/challenge/0.1/payload.ts +6 -6
  1345. package/src/vtc/backup/export/0.1/payload.ts +9 -73
  1346. package/src/vtc/backup/import/0.1/payload.ts +9 -73
  1347. package/src/vtc/ceremonies/list/0.1/payload.ts +6 -6
  1348. package/src/vtc/community/profile/show/0.1/payload.ts +9 -59
  1349. package/src/vtc/community/profile/update/0.1/payload.ts +11 -79
  1350. package/src/vtc/config/export/0.1/payload.ts +8 -78
  1351. package/src/vtc/config/import/0.1/payload.ts +9 -112
  1352. package/src/vtc/directory/query/0.1/payload.ts +6 -6
  1353. package/src/vtc/endorsement-types/delete/0.1/payload.ts +6 -6
  1354. package/src/vtc/endorsement-types/list/0.1/payload.ts +6 -22
  1355. package/src/vtc/endorsement-types/register/0.1/payload.ts +6 -22
  1356. package/src/vtc/endorsements/issue/0.1/payload.ts +5 -51
  1357. package/src/vtc/endorsements/list/0.1/payload.ts +5 -51
  1358. package/src/vtc/endorsements/revoke/0.1/payload.ts +8 -20
  1359. package/src/vtc/endorsements/show/0.1/payload.ts +5 -51
  1360. package/src/vtc/install/claim/finish/0.1/payload.ts +6 -6
  1361. package/src/vtc/install/claim/finish/0.2/payload.ts +6 -6
  1362. package/src/vtc/install/claim/start/0.1/payload.ts +6 -6
  1363. package/src/vtc/install/claim/start/0.2/payload.ts +6 -6
  1364. package/src/vtc/invitations/issue/0.1/payload.ts +6 -6
  1365. package/src/vtc/invitations/list/0.1/payload.ts +6 -39
  1366. package/src/vtc/invitations/revoke/0.1/payload.ts +6 -6
  1367. package/src/vtc/join-requests/accept/0.1/payload.ts +6 -6
  1368. package/src/vtc/join-requests/approve/0.1/payload.ts +6 -6
  1369. package/src/vtc/join-requests/decide/0.1/payload.ts +6 -6
  1370. package/src/vtc/join-requests/list/0.1/payload.ts +6 -60
  1371. package/src/vtc/join-requests/manifest/0.1/payload.ts +6 -6
  1372. package/src/vtc/join-requests/reject/0.1/payload.ts +6 -6
  1373. package/src/vtc/join-requests/show/0.1/payload.ts +6 -60
  1374. package/src/vtc/join-requests/status/0.1/payload.ts +6 -6
  1375. package/src/vtc/join-requests/submit/0.1/payload.ts +6 -6
  1376. package/src/vtc/join-requests/submit/0.2/payload.ts +10 -62
  1377. package/src/vtc/join-requests/submit-receipt/0.1/payload.ts +6 -6
  1378. package/src/vtc/members/admin-remove/0.1/payload.ts +6 -6
  1379. package/src/vtc/members/list/0.1/payload.ts +6 -68
  1380. package/src/vtc/members/personhood/assert/0.1/payload.ts +6 -6
  1381. package/src/vtc/members/personhood/challenge/0.1/payload.ts +6 -6
  1382. package/src/vtc/members/personhood/revoke/0.1/payload.ts +6 -6
  1383. package/src/vtc/members/purge/0.1/payload.ts +6 -6
  1384. package/src/vtc/members/removal-notice/0.1/payload.ts +6 -6
  1385. package/src/vtc/members/removed/0.1/payload.ts +6 -6
  1386. package/src/vtc/members/renew/0.1/payload.ts +6 -6
  1387. package/src/vtc/members/request-vmc/0.1/payload.ts +6 -6
  1388. package/src/vtc/members/rotate/0.1/payload.ts +6 -6
  1389. package/src/vtc/members/rotate-challenge/0.1/payload.ts +6 -6
  1390. package/src/vtc/members/self-remove/0.1/payload.ts +6 -6
  1391. package/src/vtc/members/self-remove-receipt/0.1/payload.ts +6 -6
  1392. package/src/vtc/members/show/0.1/payload.ts +6 -68
  1393. package/src/vtc/members/solicit-vmc/0.1/payload.ts +6 -6
  1394. package/src/vtc/members/update/0.1/payload.ts +6 -68
  1395. package/src/vtc/members/vmc/0.1/payload.ts +6 -6
  1396. package/src/vtc/policies/test/0.1/payload.ts +6 -6
  1397. package/src/vtc/recognition/check/0.1/payload.ts +6 -6
  1398. package/src/vtc/registry/diagnostics/0.1/payload.ts +6 -6
  1399. package/src/vtc/relationships/graph/0.1/payload.ts +6 -6
  1400. package/src/vtc/relationships/graph/0.2/payload.ts +6 -6
  1401. package/src/vtc/relationships/list/0.1/payload.ts +6 -6
  1402. package/src/vtc/relationships/list/0.2/payload.ts +8 -10
  1403. package/src/vtc/relationships/publish/0.1/payload.ts +8 -10
  1404. package/src/vtc/relationships/publish/0.2/payload.ts +12 -15
  1405. package/src/vtc/relationships/request/0.1/payload.ts +6 -6
  1406. package/src/vtc/relationships/request/0.2/payload.ts +8 -10
  1407. package/src/vtc/relationships/revoke/0.1/payload.ts +6 -6
  1408. package/src/vtc/website/files/delete/0.1/payload.ts +6 -6
  1409. package/src/vtc/website/files/list/0.1/payload.ts +6 -6
  1410. package/src/vtc/website/generations/list/0.1/payload.ts +6 -6
  1411. package/src/vtc/website/rollback/0.1/payload.ts +6 -6
  1412. package/src/webvh/sync/delete/0.1/payload.ts +6 -6
  1413. package/src/webvh/sync/update/0.1/payload.ts +6 -6
  1414. package/src/webvh/witness/publish/0.1/payload.ts +6 -6
  1415. package/src/witness/session/0.1/payload.ts +6 -6
  1416. package/src/witness/session/submit/0.1/payload.ts +8 -10
@@ -0,0 +1,3122 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ *
4
+ * Every definition a Trust Task payload schema reaches through a cross-file
5
+ * `$ref`, declared once. Spec modules import from here and re-export what they
6
+ * use under the definition's own name, so `Ext` is one type rather than one
7
+ * `Ext`, `Ext1` or `Ext2` per module.
8
+ *
9
+ * A name that denotes more than one shape across the registry — `VaultEntry`
10
+ * exists in three — is qualified with the family and version of the schema it
11
+ * came from. Every shape of such a name is qualified, including the oldest:
12
+ * there is no canonical `VaultEntry` to leave unmarked.
13
+ */
14
+ /**
15
+ * The account's role at the mediator. `standard` is an ordinary served account; `admin`/`rootAdmin` may administer other accounts; `mediator` is the mediator's own account. Only a rootAdmin may assign or modify the rootAdmin role.
16
+ */
17
+ export type AccountType = "standard" | "admin" | "rootAdmin" | "mediator";
18
+ /**
19
+ * The kind of privileged change recorded in the audit log.
20
+ */
21
+ export type AuditAction = "setAcl" | "accessListAdd" | "accessListRemove" | "accessListClear" | "accountAdd" | "accountRemove" | "accountChangeType" | "accountChangeQueueLimits" | "adminAdd" | "adminStrip";
22
+ /**
23
+ * Fine-grained capability flag scoped to the device's allowed contexts. See SPEC.md for the full semantics of each.
24
+ */
25
+ export type Capability_DeviceV0_1 = "vault-read" | "vault-write" | "proxy-login" | "fill-release" | "policy-admin" | "device-admin" | "sign" | "key-mint";
26
+ /**
27
+ * Fine-grained capability flag scoped to the device's allowed contexts. See SPEC.md for the full semantics of each.
28
+ */
29
+ export type Capability_DeviceV0_2 = "vaultRead" | "vaultWrite" | "proxyLogin" | "fillRelease" | "policyAdmin" | "deviceAdmin" | "sign" | "keyMint";
30
+ /**
31
+ * Discriminator: is this consumer a user-driven Companion or a headless Service?
32
+ */
33
+ export type ConsumerKind_DeviceV0_1 = Companion_DeviceV0_1 | Service_DeviceV0_1;
34
+ /**
35
+ * Discriminator: is this consumer a user-driven Companion or a headless Service?
36
+ */
37
+ export type ConsumerKind_DeviceV0_2 = Companion_DeviceV0_2 | Service_DeviceV0_2;
38
+ /**
39
+ * Stable identifier for an issued credential — the handle for revocation and audit. Opaque to the holder: it MUST be echoed verbatim when revoking and MUST NOT be parsed.
40
+ */
41
+ export type CredentialId = string;
42
+ /**
43
+ * The approver's answer. `deny` aborts the pending request; a subsequent submit of the same task starts a fresh one.
44
+ */
45
+ export type Decision = "approve" | "deny";
46
+ /**
47
+ * Producer-supplied attestation at registration time, verifiable by the maintainer against the platform's attestation infrastructure. Tagged union over the discriminator `kind`.
48
+ */
49
+ export type DeviceAttestation_DeviceV0_1 = WebAuthnAttestation_DeviceV0_1 | AppleAppAttest_DeviceV0_1 | PlayIntegrity_DeviceV0_1 | Tpm_DeviceV0_1 | NitroEnclave_DeviceV0_1 | NoAttestation_DeviceV0_1;
50
+ /**
51
+ * Producer-supplied attestation at registration time, verifiable by the maintainer against the platform's attestation infrastructure. Tagged union over the discriminator `kind`.
52
+ */
53
+ export type DeviceAttestation_DeviceV0_2 = WebAuthnAttestation_DeviceV0_2 | AppleAppAttest_DeviceV0_2 | PlayIntegrity_DeviceV0_2 | Tpm_DeviceV0_2 | NitroEnclave_DeviceV0_2 | NoAttestation_DeviceV0_2;
54
+ /**
55
+ * 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.
56
+ *
57
+ * Multihash 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.
58
+ *
59
+ * This 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.
60
+ *
61
+ * Restricted 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`.
62
+ */
63
+ export type DigestMultibase = string;
64
+ /**
65
+ * Whether the subject is permitted. The ABSENCE of any grant is treated as `deny` (default-deny).
66
+ */
67
+ export type Effect_ConsentV0_1 = "allow" | "deny";
68
+ /**
69
+ * Optimistic-concurrency precondition on a write. A positive value requires that the record's current `version` equals it exactly. Zero means "create only" — the write applies only if no LIVE record exists at the address, which is what makes lease acquisition safe: without it two instances can each read "absent", each write, and each believe it won. A tombstone is not a live record, so `expectedVersion: 0` succeeds over one; the created record takes the namespace's next counter value, which is necessarily greater than the tombstone's.
70
+ */
71
+ export type ExpectedVersion = number;
72
+ /**
73
+ * `issued` is outstanding and revocable; `consumed` and `expired` are terminal.
74
+ */
75
+ export type InviteStatus = "issued" | "consumed" | "expired";
76
+ /**
77
+ * Application-chosen identifier for a record within a namespace. Opaque to the maintainer: it MUST NOT be parsed, normalized, or case-folded, and prefix matching in `list` is a byte-prefix comparison over the UTF-8 encoding. Applications SHOULD use `/`-delimited hierarchical keys (`community/acme`, `contact/z6Mk…`) so that `prefix` can address a record family, but the delimiter is a convention between an application and itself — the maintainer attaches no meaning to it.
78
+ */
79
+ export type Key = string;
80
+ /**
81
+ * Where the private key came from. `derived` means the maintainer generated it from a seed it holds and can reproduce it from `derivationPath`; `imported` means it arrived from outside and exists only as stored material; `internal` means the maintainer generated it from a CSPRNG and it is reproducible from nothing at all. The distinction is operationally load-bearing: a `derived` key survives a seed restore, an `imported` one is lost unless it was backed up separately, and an `internal` one cannot be recovered by any means once the maintainer's storage is gone. This member is also the only way a consumer can confirm that a `keys/create` request for an `internal` key was honoured rather than silently downgraded to a derived one — see that specification's `internal` member.
82
+ */
83
+ export type KeyOrigin = "derived" | "imported" | "internal";
84
+ /**
85
+ * Lifecycle state. Only an `active` key may be named in a signing request; a `revoked` key is retained so historic signatures remain attributable, and MUST NOT be reactivated.
86
+ */
87
+ export type KeyStatus = "active" | "revoked";
88
+ /**
89
+ * Cryptographic algorithm the key material belongs to. `ed25519` signs (EdDSA), `x25519` performs key agreement and never signs, `p256` signs (ES256).
90
+ */
91
+ export type KeyType = "ed25519" | "x25519" | "p256";
92
+ /**
93
+ * The interaction kind: a 1:1 direct message, a multi-party group, or a broadcast channel.
94
+ */
95
+ export type Kind = "dm" | "group" | "channel";
96
+ /**
97
+ * Scopes one application's records within a context, so several tools can share a context without colliding — `openvtc`, `cnm`, an agent runtime. The maintainer MUST NOT interpret the value; it is an opaque partition name. Namespaces are first-come and unreserved, so an application SHOULD pick a stable, specific one: a future per-namespace ACL would grant on this exact string, which makes renaming a namespace a migration rather than an edit.
98
+ */
99
+ export type Namespace = string;
100
+ /**
101
+ * A device's platform push channel — the body the device registers with its push GATEWAY (push wake-up binding, https://trusttasks.org/binding/push/0.1; modeled on Aries RFC 0699/0734). The gateway holds this token and returns an opaque WakeHandle in exchange; the token is held by the gateway ONLY, never by the mediator or the maintainer/VTA. The gateway uses it to send a contentless wake-up when an authorized trigger asks — the push payload never carries Trust Task content. Tagged union over the discriminator `platform`.
102
+ */
103
+ export type PushRegistration = Apns | Fcm | WebPush;
104
+ /**
105
+ * Whether the record asserts an authorization or a recognition relationship.
106
+ */
107
+ export type RecordType = "authorization" | "recognition";
108
+ /**
109
+ * How a consent prompt reaches the approver: `wake` pushes to the approver's device for a DID-signed decision; `bridge-relay` renders it through an enrolled bridge (e.g. a numbered card in the operator's messaging app) for a bridge-attested decision.
110
+ */
111
+ export type Route = "wake" | "bridge-relay";
112
+ /**
113
+ * What the agent may do: `receive` = read inbound on this conversation; `converse` = read and reply.
114
+ */
115
+ export type Scope_ConsentV0_1 = "receive" | "converse";
116
+ /**
117
+ * Where a stored template lives. Tagged by `type`.
118
+ */
119
+ export type Scope_VtaV0_1 = Builtin_VtaV0_1 | Global_VtaV0_1 | Context_VtaV0_1;
120
+ /**
121
+ * Discriminated by `envelope`. Exactly one variant matches per document.
122
+ */
123
+ export type SealedEnvelope_VaultV0_1 = DidcommAuthcryptEnvelope_VaultV0_1 | HpkeArmoredEnvelope_VaultV0_1 | TspMessageEnvelope_VaultV0_1;
124
+ /**
125
+ * Discriminated by `envelope`. Exactly one variant matches per document.
126
+ */
127
+ export type SealedEnvelope_VaultV0_2 = DidcommAuthcryptEnvelope_VaultV0_2 | HpkeArmoredEnvelope_VaultV0_2 | TspMessageEnvelope_VaultV0_2;
128
+ /**
129
+ * Discriminator for the secret type stored in the entry. Definitions:
130
+ * - `password` — username + password (+ optional TOTP seed).
131
+ * - `passkey` — WebAuthn discoverable credential (private key + rpId + userHandle).
132
+ * - `oauth-tokens` — OAuth 2.0 refresh + access token bundle for a specific provider.
133
+ * - `did-self-issued` — Self-Issued OpenID Provider v2 (SIOP) credential: the entry points at a DID + signing key already managed by the VTA.
134
+ * - `didcomm-peer` — DIDComm peer identity used to authenticate against a DIDComm-speaking relying party.
135
+ * - `bearer-token` — opaque bearer token carried in a maintainer-named header (covers API tokens, long-lived JWTs, personal-access tokens).
136
+ * - `ssh-key` — SSH private key + comment.
137
+ * - `custom` — arbitrary structured fields; release-time consumer responsible for interpretation.
138
+ */
139
+ export type SecretKind_VaultV0_1 = "password" | "passkey" | "oauth-tokens" | "did-self-issued" | "didcomm-peer" | "bearer-token" | "ssh-key" | "custom";
140
+ /**
141
+ * Discriminator for the secret type stored in the entry. Definitions:
142
+ * - `password` — username + password (+ optional TOTP seed).
143
+ * - `passkey` — WebAuthn discoverable credential (private key + rpId + userHandle).
144
+ * - `oauthTokens` — OAuth 2.0 refresh + access token bundle for a specific provider.
145
+ * - `didSelfIssued` — Self-Issued OpenID Provider v2 (SIOP) credential: the entry points at a DID + signing key already managed by the VTA.
146
+ * - `didcommPeer` — DIDComm peer identity used to authenticate against a DIDComm-speaking relying party.
147
+ * - `bearerToken` — opaque bearer token carried in a maintainer-named header (covers API tokens, long-lived JWTs, personal-access tokens).
148
+ * - `sshKey` — SSH private key + comment.
149
+ * - `custom` — arbitrary structured fields; release-time consumer responsible for interpretation.
150
+ */
151
+ export type SecretKind_VaultV0_2 = "password" | "passkey" | "oauthTokens" | "didSelfIssued" | "didcommPeer" | "bearerToken" | "sshKey" | "custom";
152
+ /**
153
+ * Which transport a task is acting on. This is the discriminator: it selects which member of `config` is meaningful, and a payload naming one kind with another's config is malformed rather than merely ignored.
154
+ */
155
+ export type ServiceKind = "didcomm" | "rest" | "tsp" | "webauthn";
156
+ /**
157
+ * `EdDSA` pairs with an `ed25519` key; `ES256` pairs with a `p256` key. An `x25519` key performs key agreement and can sign nothing, so no algorithm here is valid for one. The enumeration is closed: an unrecognised algorithm is refused rather than silently substituted with a supported one.
158
+ */
159
+ export type SignAlgorithm = "EdDSA" | "ES256";
160
+ /**
161
+ * A single binding target for a vault entry. Tagged union over the discriminator `kind`. A VaultEntry's `targets` array MAY mix any number of these.
162
+ */
163
+ export type SiteTarget_VaultV0_1 = WebOrigin_VaultV0_1 | Did_VaultV0_1 | IosApp_VaultV0_1 | AndroidApp_VaultV0_1;
164
+ /**
165
+ * A single binding target for a vault entry. Tagged union over the discriminator `kind`. A VaultEntry's `targets` array MAY mix any number of these.
166
+ */
167
+ export type SiteTarget_VaultV0_2 = WebOrigin_VaultV0_2 | Did_VaultV0_2 | IosApp_VaultV0_2 | AndroidApp_VaultV0_2;
168
+ export type SyncEvent_SyncV0_1 = VaultUpsertedEvent_SyncV0_1 | VaultDeletedEvent_SyncV0_1 | AclChangedEvent_SyncV0_1 | PolicyChangedEvent_SyncV0_1;
169
+ export type SyncEvent_SyncV0_2 = VaultUpsertedEvent_SyncV0_2 | VaultDeletedEvent_SyncV0_2 | AclChangedEvent_SyncV0_2 | PolicyChangedEvent_SyncV0_2;
170
+ /**
171
+ * What the policy decided.
172
+ *
173
+ * `allow` — admitted. `deny` — refused, terminally for this submission. `refer` — parked for a human or quorum decision; the applicant is neither in nor out. `requestMore` — the policy cannot decide yet and names what further evidence it needs.
174
+ *
175
+ * The four are not reducible to a pending/decided pair. `refer` and `requestMore` are both 'not decided', but they place the next action with different parties: `refer` waits on the community, `requestMore` waits on the applicant. A consumer that cannot tell them apart cannot tell a user whether to wait or to act.
176
+ */
177
+ export type VerdictEffect = "allow" | "deny" | "refer" | "requestMore";
178
+ /**
179
+ * A value of the namespace's monotonic write counter (see this schema's description). Server-assigned; a producer never chooses one.
180
+ */
181
+ export type Version = number;
182
+ /**
183
+ * A Verifiable Identifier (SPEC §4.8). For a mediator-served account this is the account's controlling DID, carried verbatim and compared by exact string equality. For privacy — and because some mediators key accounts by a one-way hash and never hold the full DID — a stable hash of the DID (e.g. its SHA-256 digest) is an equally valid value here: producer and consumer simply agree on the same opaque identifier and compare by exact string equality. The field carries whichever form the issuing mediator uses.
184
+ */
185
+ export type Vid = string;
186
+ /**
187
+ * The mediator's view of one served account.
188
+ */
189
+ export interface Account {
190
+ /**
191
+ * The account's controlling DID, or — for privacy, and for mediators that key accounts by a one-way hash and never hold the full DID — a stable hash of that DID (see `Vid`). Whichever form is used, it is the opaque account identifier the other `account/*`, `acl/*`, and `access-list/*` tasks accept.
192
+ */
193
+ did: Vid;
194
+ accountType: AccountType;
195
+ acl: MediatorAcl;
196
+ queueLimits?: QueueLimits;
197
+ /**
198
+ * Current count of queued send messages.
199
+ */
200
+ sendQueueCount?: number;
201
+ /**
202
+ * Current byte size of queued send messages.
203
+ */
204
+ sendQueueBytes?: number;
205
+ /**
206
+ * Current count of queued receive messages.
207
+ */
208
+ receiveQueueCount?: number;
209
+ /**
210
+ * Current byte size of queued receive messages.
211
+ */
212
+ receiveQueueBytes?: number;
213
+ /**
214
+ * Number of entries in the account's access list.
215
+ */
216
+ accessListCount?: number;
217
+ }
218
+ export interface AclChangedEvent_SyncV0_1 {
219
+ kind: "acl.changed";
220
+ seq: number;
221
+ occurredAt: string;
222
+ /**
223
+ * DID of the consumer whose ACL entry changed.
224
+ */
225
+ subject: string;
226
+ change: "granted" | "revoked" | "role_changed" | "swapped" | "device_disabled" | "device_wiped";
227
+ }
228
+ export interface AclChangedEvent_SyncV0_2 {
229
+ kind: "aclChanged";
230
+ seq: number;
231
+ occurredAt: string;
232
+ /**
233
+ * DID of the consumer whose ACL entry changed.
234
+ */
235
+ subject: string;
236
+ change: "granted" | "revoked" | "roleChanged" | "swapped" | "deviceDisabled" | "deviceWiped";
237
+ }
238
+ export interface AclEntry {
239
+ /**
240
+ * VID of the party in the ACL. Compared by exact string equality (SPEC.md §4.8); producers SHOULD emit canonical form.
241
+ */
242
+ subject: string;
243
+ /**
244
+ * Opaque role identifier interpreted by the ACL maintainer.
245
+ */
246
+ role: string;
247
+ /**
248
+ * Opaque scope identifiers (e.g. contexts, domains, resource prefixes).
249
+ */
250
+ scopes?: string[];
251
+ /**
252
+ * Key identifiers this subject may invoke the maintainer's signing oracle on. INTERSECTS WITH `scopes` — it can only narrow, never widen: a key named here that lies outside the entry's scopes remains unreachable, exactly as if it were not named. ABSENT means every key within the entry's scopes (the behaviour of entries that pre-date this member); explicit `null` is equivalent to absent, and producers SHOULD omit the member instead. PRESENT-BUT-EMPTY means authorized on NO keys — the opposite of absent, and deliberately so: emptiness is never a wildcard (CONVENTIONS.md §5). A consumer MUST preserve and enforce the absent-vs-empty distinction end to end; collapsing the two (e.g. by testing emptiness alone) re-creates the empty-means-unrestricted class of privilege-escalation defect this family's conventions exist to prevent.
253
+ */
254
+ allowedKeys?: string[] | null;
255
+ /**
256
+ * Optional human-readable label.
257
+ */
258
+ label?: string;
259
+ createdAt?: string;
260
+ /**
261
+ * VID of the party that originally added this entry.
262
+ */
263
+ createdBy?: string;
264
+ updatedAt?: string;
265
+ /**
266
+ * VID of the party that last modified this entry.
267
+ */
268
+ updatedBy?: string;
269
+ /**
270
+ * Optional time after which the entry is no longer effective.
271
+ */
272
+ expiresAt?: string;
273
+ /**
274
+ * Per-entry authentication step-up configuration, consumed by the ACL maintainer when it gates an operation behind a step-up (see auth/step-up/policy/0.1). ADDITIVE-ONLY: a per-entry setting MAY raise the assurance required of this subject above the maintainer's system-wide floor, but MUST NOT lower it. The maintainer resolves the effective requirement as the strictest of (system floor, this entry).
275
+ */
276
+ stepUp?: {
277
+ /**
278
+ * VID authorized to ratify step-up for this subject — the `recipient` the maintainer addresses an auth/step-up/approve-request to (e.g. the holder's mobile authenticator or browser companion). Absent → the subject is its own approver (mode `self`) when it holds a usable authenticator; if neither an `approver` nor a self authenticator exists, no step-up method is available for this subject and the maintainer's fail-closed rule applies.
279
+ */
280
+ approver?: string;
281
+ /**
282
+ * Minimum step-up mode this subject MUST satisfy for gated operations, raising the system floor. `self` = the subject re-authenticates its own session; `delegated` = a separate `approver` MUST ratify. Omitted → the system floor applies unchanged. A value weaker than the resolved floor is ignored (additive-only).
283
+ */
284
+ require?: "self" | "delegated";
285
+ };
286
+ /**
287
+ * Approve-authority: what this subject may **confer on others** by ratifying an approval, as distinct from `scopes`, which is what it may **exercise itself**. The two axes are independent, and that independence is the point — it is what lets a maintainer configure a least-privilege approver who can authorize an operation in a scope it has no authority to perform.
288
+ *
289
+ * OMISSION MEANS NOTHING IS CONFERRED. An absent `approve`, an absent `all`, and an empty `scopes` are all equivalent to "this subject may ratify nothing". A consumer that does not implement this member therefore confers less than the producer intended rather than more, which is the direction a missed member has to fail in.
290
+ *
291
+ * A subject with approve-authority is NOT thereby authorized to act. Consumers MUST resolve the two axes separately: reading `approve` to answer "may this party ratify X" and `scopes` to answer "may this party do X". Collapsing them grants an approver the ability to perform what it was only meant to sign off on.
292
+ */
293
+ approve?: {
294
+ /**
295
+ * The subject may confer ANY scope. Takes precedence over `scopes`, which a consumer MUST ignore when this is true. Absent or false → only the scopes listed below, if any.
296
+ */
297
+ all?: boolean;
298
+ /**
299
+ * Opaque scope identifiers this subject may confer, drawn from the same vocabulary as the entry's own `scopes`. Where a maintainer's scopes are hierarchical, conferring a scope confers its descendants — the same containment rule the maintainer already applies to `scopes`, so the two axes cannot disagree about what a scope means. An empty array confers nothing; it is not a wildcard.
300
+ */
301
+ scopes?: string[];
302
+ };
303
+ /**
304
+ * Ecosystem-defined extension members per SPEC.md §4.5.1. Reverse-DNS-namespaced; consumers MUST ignore unrecognized namespaces.
305
+ */
306
+ ext?: Ext;
307
+ }
308
+ /**
309
+ * A privileged account at the mediator (an `admin` or `rootAdmin`).
310
+ */
311
+ export interface AdminAccount {
312
+ /**
313
+ * The admin account's identifier — its DID or, for privacy, a stable hash of that DID (see `Vid`).
314
+ */
315
+ did: Vid;
316
+ /**
317
+ * The admin role; one of `admin` or `rootAdmin`.
318
+ */
319
+ accountType: AccountType;
320
+ }
321
+ /**
322
+ * An agent name bound to a DID. A name is only ever authoritative in the DID→name direction: the DID document's `alsoKnownAs` is what proves the binding, because anyone controlling a domain can point a name at somebody else's DID.
323
+ */
324
+ export interface AgentNameEntry {
325
+ /**
326
+ * The name, without the host — the full form is `<host>/@<name>`.
327
+ */
328
+ name: string;
329
+ /**
330
+ * Whether the name currently resolves. A disabled name is still held — it is not available for anyone else to take.
331
+ */
332
+ enabled: boolean;
333
+ /**
334
+ * Unix epoch seconds.
335
+ */
336
+ createdAt?: number;
337
+ ext?: Ext;
338
+ }
339
+ /**
340
+ * A record as the maintainer holds it. `value` is absent in three distinct situations and a consumer MUST NOT conflate them: the record is a tombstone (`deleted` is true); the caller asked for a metadata-only view (`list` without `includeValues`); or the value genuinely is the JSON literal `null`, in which case `value` is PRESENT and null. This is why `deleted` is required rather than defaulted — a consumer that has to infer deletion from an absent value gets the tombstone case wrong exactly when convergence depends on it.
341
+ */
342
+ export interface AppStateRecord {
343
+ /**
344
+ * The VTA context the record is scoped to; the isolation boundary.
345
+ */
346
+ contextId: string;
347
+ namespace: Namespace;
348
+ key: Key;
349
+ /**
350
+ * The namespace counter value this record's most recent write took. Supply it as `expectedVersion` on the next write to make that write conditional on nothing having changed in between.
351
+ */
352
+ version: Version;
353
+ /**
354
+ * The stored JSON, in whatever shape the owning application chose. Any JSON value, including `null`. The maintainer neither validates nor interprets it. Absent when this is a tombstone or a metadata-only view — see this definition's description for why that is not the same as a null value.
355
+ */
356
+ value?: {
357
+ [k: string]: unknown | undefined;
358
+ };
359
+ /**
360
+ * Size of the stored value in bytes, measured as the maintainer measures it for the per-record cap (see `vta/app-state/put`). Present in metadata-only views so a consumer can decide what to fetch without fetching it; absent on a tombstone.
361
+ */
362
+ valueBytes?: number;
363
+ /**
364
+ * True when this is a tombstone: the record was deleted, and this entry exists so that a consumer syncing incrementally learns of the deletion. Tombstones are reaped after the maintainer's retention window; see `vta/app-state/list`.
365
+ */
366
+ deleted: boolean;
367
+ /**
368
+ * When the record was first created at this address. MAY be absent on a tombstone whose body has been discarded.
369
+ */
370
+ createdAt?: string;
371
+ /**
372
+ * When the write that produced this `version` was applied. For a tombstone, when the delete was applied.
373
+ */
374
+ updatedAt: string;
375
+ /**
376
+ * When the record was deleted. Present only when `deleted` is true; equal to `updatedAt` for a tombstone the maintainer has not since rewritten.
377
+ */
378
+ deletedAt?: string;
379
+ }
380
+ /**
381
+ * Who approves inbound-messaging consent for a given platform within a VTA context, and how the prompt reaches them.
382
+ */
383
+ export interface ApproverBinding {
384
+ /**
385
+ * Messaging-platform tag, e.g. "signal", "whatsapp", "slack".
386
+ */
387
+ platform: string;
388
+ /**
389
+ * The VTA context path this binding applies to.
390
+ */
391
+ context: string;
392
+ /**
393
+ * VID (DID) of the operator authorized to decide consent for this platform/context.
394
+ */
395
+ approver: string;
396
+ /**
397
+ * Optional. How to deliver the prompt; defaults to bridge-relay when omitted.
398
+ */
399
+ route?: Route;
400
+ /**
401
+ * Optional routing detail — e.g. the operator's opaque conversationRef for `bridge-relay`.
402
+ */
403
+ routeHint?: string;
404
+ }
405
+ export interface AttachmentRef_VaultV0_1 {
406
+ /**
407
+ * Opaque maintainer-assigned id for this attachment; used to fetch the blob via a separate mechanism.
408
+ */
409
+ id: string;
410
+ /**
411
+ * User-supplied filename (e.g. "recovery-codes.txt").
412
+ */
413
+ name: string;
414
+ /**
415
+ * Size of the encrypted blob in bytes. Maintainers MAY enforce a maximum per attachment and per entry.
416
+ */
417
+ sizeBytes: number;
418
+ /**
419
+ * Hex-encoded SHA-256 of the encrypted blob bytes (post-encryption). Lets the consumer verify integrity after fetch.
420
+ */
421
+ sha256: string;
422
+ /**
423
+ * Optional MIME type hint for the consumer UI (e.g. "text/plain", "application/x-pem-file").
424
+ */
425
+ contentType?: string;
426
+ }
427
+ export interface AttachmentRef_VaultV0_3 {
428
+ /**
429
+ * Opaque maintainer-assigned id for this attachment; used to fetch the blob via a separate mechanism.
430
+ */
431
+ id: string;
432
+ /**
433
+ * User-supplied filename (e.g. "recovery-codes.txt").
434
+ */
435
+ name: string;
436
+ /**
437
+ * Size of the encrypted blob in bytes. Maintainers MAY enforce a maximum per attachment and per entry.
438
+ */
439
+ sizeBytes: number;
440
+ /**
441
+ * Digest over the encrypted blob bytes (post-encryption), so the consumer can verify integrity after fetch. Taken over the bytes as stored, not over a canonicalization: the blob is an opaque artifact, not a JSON document.
442
+ */
443
+ digestMultibase: DigestMultibase;
444
+ /**
445
+ * Optional MIME type hint for the consumer UI (e.g. "text/plain", "application/x-pem-file").
446
+ */
447
+ contentType?: string;
448
+ }
449
+ /**
450
+ * One record in the mediator's privileged-change audit log: one change, by one actor, at one time.
451
+ */
452
+ export interface AuditEntry {
453
+ /**
454
+ * Unix epoch seconds at which the change was recorded.
455
+ */
456
+ timestamp: number;
457
+ /**
458
+ * The authenticated account that made the change (an admin, or the owner for a self-service change).
459
+ */
460
+ actor: Vid;
461
+ /**
462
+ * The account whose record changed.
463
+ */
464
+ target: Vid;
465
+ action: AuditAction;
466
+ /**
467
+ * Short human-readable summary of the change; not machine-parsed.
468
+ */
469
+ detail?: string;
470
+ }
471
+ /**
472
+ * One entry in an append-only audit log. Only eventId/recordedAt/action are universal; every other field is populated by maintainers that track it. `prevHash`/`entryHash` are present on hash-chained logs (see audit/verify) and absent otherwise. Principal DIDs are plaintext and MAY be absent when a right-to-be-forgotten redaction has nulled them after the fact.
473
+ */
474
+ export interface AuditEnvelope {
475
+ /**
476
+ * Stable identifier for this event. Also the tie-breaker component of a cursor's position key.
477
+ */
478
+ eventId: string;
479
+ /**
480
+ * Wall-clock time the entry was written. The primary ordering key.
481
+ */
482
+ recordedAt: string;
483
+ /**
484
+ * The operation this entry records — a maintainer-defined action name (e.g. `member.removed`, `policy.activated`). The discriminator for `detail`.
485
+ */
486
+ action: string;
487
+ /**
488
+ * How the operation resolved. Typically `success` or `denied`; a maintainer MAY use others. Absent for events that have no pass/fail sense.
489
+ */
490
+ outcome?: string;
491
+ /**
492
+ * DID of the principal that performed the action. `null` when a right-to-be-forgotten redaction has removed the plaintext; a maintainer that keeps a keyed hash of the actor for correlation carries it in `ext`, not here.
493
+ */
494
+ actor?: string | null;
495
+ /**
496
+ * DID of the principal the action acted upon, when the event has one. `null`/absent for events whose target is the maintainer itself. Same redaction semantics as `actor`.
497
+ */
498
+ target?: string | null;
499
+ /**
500
+ * Trust context the event occurred in, for a maintainer that partitions its log per context.
501
+ */
502
+ contextId?: string;
503
+ /**
504
+ * Envelope-shape version at the maintainer, for consumers that need to reason about wire-shape evolution.
505
+ */
506
+ schemaVersion?: number;
507
+ /**
508
+ * Hash-chain link: the `entryHash` of the immediately-preceding entry. Present only on chained logs; its integrity is what audit/verify checks. Multibase-encoded multihash over the RFC 8785 (JCS) canonicalization of the predecessor's immutable content — the same derivation as `entryHash`, so a verifier recomputes both the same way.
509
+ */
510
+ prevHash?: DigestMultibase;
511
+ /**
512
+ * Hash-chain commitment over this entry's immutable content. The next entry's `prevHash` points here. Multibase-encoded multihash over the RFC 8785 (JCS) canonicalization of that content; the canonicalization is what makes the commitment reproducible by a verifier that did not write the entry.
513
+ */
514
+ entryHash?: DigestMultibase;
515
+ /**
516
+ * Event-specific payload, keyed by `action`. Opaque to the framework; a consumer that does not recognise the action treats it as an unstructured record.
517
+ */
518
+ detail?: {
519
+ [k: string]: unknown | undefined;
520
+ };
521
+ ext?: Ext;
522
+ }
523
+ /**
524
+ * The credential the client returns from `navigator.credentials.get`. Binary fields are base64url-encoded.
525
+ */
526
+ export interface AuthenticatorAssertionResponseLogin {
527
+ id: string;
528
+ rawId: string;
529
+ type: "public-key";
530
+ response: {
531
+ clientDataJSON: string;
532
+ authenticatorData: string;
533
+ signature: string;
534
+ userHandle?: string | null;
535
+ };
536
+ authenticatorAttachment?: "platform" | "cross-platform";
537
+ clientExtensionResults?: {};
538
+ }
539
+ /**
540
+ * The credential the client returns from `navigator.credentials.create`. Binary fields are base64url-encoded.
541
+ */
542
+ export interface AuthenticatorAttestationResponseRegistration {
543
+ id: string;
544
+ rawId: string;
545
+ type: "public-key";
546
+ response: {
547
+ clientDataJSON: string;
548
+ attestationObject: string;
549
+ transports?: string[];
550
+ };
551
+ authenticatorAttachment?: "platform" | "cross-platform";
552
+ clientExtensionResults?: {};
553
+ }
554
+ /**
555
+ * Unencrypted metadata plus the encrypted payload. The KDF and cipher parameters travel in the clear so a reader can decrypt without knowing this specification's defaults.
556
+ */
557
+ export interface BackupEnvelope {
558
+ /**
559
+ * Envelope schema version.
560
+ */
561
+ version: number;
562
+ /**
563
+ * Envelope format tag, e.g. `vtc-backup-v1`.
564
+ */
565
+ format: string;
566
+ /**
567
+ * When the export was taken.
568
+ */
569
+ createdAt: string;
570
+ /**
571
+ * DID of the community exported from, when it has one. An import cross-checks this against the running community.
572
+ */
573
+ sourceDid?: string | null;
574
+ /**
575
+ * Version of the software that produced the envelope.
576
+ */
577
+ sourceVersion: string;
578
+ kdf: KdfParams;
579
+ encryption: EncryptionParams;
580
+ /**
581
+ * Whether the audit log and its signed checkpoints are inside `ciphertext`.
582
+ */
583
+ includesAudit: boolean;
584
+ /**
585
+ * base64url(AEAD(JSON(payload))).
586
+ */
587
+ ciphertext: string;
588
+ }
589
+ /**
590
+ * The self-description of a pluggable community capability: the Trust Task families it serves, the trust-registry vocabulary it reads and writes, the roles that may operate it, the membership lifecycle hooks it consumes, and the external adapters that act on its decisions. The manifest is what governance approves, what discovery advertises, and what a management UX renders.
591
+ */
592
+ export interface CapabilityManifest {
593
+ /**
594
+ * The capability's namespace slug, e.g. `git-trust`.
595
+ */
596
+ capability: string;
597
+ /**
598
+ * Manifest/capability version, `MAJOR.MINOR`.
599
+ */
600
+ version: string;
601
+ /**
602
+ * Human-readable capability name for management surfaces.
603
+ */
604
+ title?: string;
605
+ /**
606
+ * One-paragraph description for management surfaces.
607
+ */
608
+ description?: string;
609
+ /**
610
+ * Trust Task spec slugs (or `<family>/*` globs) this capability serves when enabled.
611
+ *
612
+ * @minItems 1
613
+ */
614
+ specs: [string, ...string[]];
615
+ /**
616
+ * The trust-registry tuple vocabulary this capability may read and write. A conforming host MUST reject writes by this capability whose `action` is not listed.
617
+ */
618
+ vocabulary?: {
619
+ /**
620
+ * TRQP `action` values this capability owns, e.g. `git.commit.sign`.
621
+ *
622
+ * @minItems 1
623
+ */
624
+ actions: [string, ...string[]];
625
+ /**
626
+ * Human-readable pattern of the `resource` values used, e.g. `<org>[/<repo>]`.
627
+ */
628
+ resourcePattern?: string;
629
+ };
630
+ /**
631
+ * Map of capability operation (e.g. `grant`, `view`) to the community roles allowed to perform it.
632
+ */
633
+ roles?: {
634
+ [k: string]: string[] | undefined;
635
+ };
636
+ /**
637
+ * Membership lifecycle events the capability consumes, e.g. `member.enrolled`, `member.revoked`, `role.changed`.
638
+ */
639
+ lifecycleHooks?: string[];
640
+ /**
641
+ * Map of capability operation to the consent class its execution requires under the host's delegated-execution policy.
642
+ */
643
+ consentClass?: {
644
+ [k: string]: ("normal" | "elevated" | "destructive") | undefined;
645
+ };
646
+ /**
647
+ * Out-of-stack components that consume this capability's trust decisions.
648
+ */
649
+ externalAdapters?: {
650
+ /**
651
+ * Adapter type, e.g. `github-action`, `webhook`.
652
+ */
653
+ kind: string;
654
+ /**
655
+ * Where the adapter lives, e.g. a repository path or URL.
656
+ */
657
+ ref: string;
658
+ }[];
659
+ /**
660
+ * Spec slug of the JSON schema the per-community `config` document must validate against.
661
+ */
662
+ configSchema?: string;
663
+ ext?: Ext;
664
+ }
665
+ /**
666
+ * A community profile as a portable export carries it — the mutable profile members plus the immutable identity they belong to.
667
+ *
668
+ * Distinct from `vtc/_shared/community`'s `CommunityProfile`, which is the update-facing view and deliberately omits `communityDid` so that a patch cannot re-point a community's identity. Here the DID is REQUIRED and is the whole point: it is what lets an importing community refuse a document taken from a different one. `registryStatus` is absent because trust-registry reachability is a property of a running maintainer, not of exported state.
669
+ */
670
+ export interface CommunityProfileSnapshot {
671
+ /**
672
+ * DID of the community this document was taken from. Immutable, set at install.
673
+ */
674
+ communityDid: string;
675
+ name: string;
676
+ description?: string;
677
+ logoUrl?: string | null;
678
+ publicUrl?: string | null;
679
+ contactEmail?: string | null;
680
+ /**
681
+ * BCP 47 language tag.
682
+ */
683
+ language: string;
684
+ /**
685
+ * The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default.
686
+ */
687
+ relationshipIdentifierDefault?: "attributed" | "pairwise";
688
+ /**
689
+ * The community's published personhood position, carried so an export restores it. Governance state, not runtime state — unlike `registryStatus`, which is deliberately absent here because reachability belongs to a running maintainer rather than to exported state.
690
+ */
691
+ personhood?: PersonhoodGovernance;
692
+ /**
693
+ * Opaque community-defined extension bag.
694
+ */
695
+ extensions?: {};
696
+ /**
697
+ * When the community was created. Provenance only — an import never writes it.
698
+ */
699
+ createdAt?: string;
700
+ }
701
+ /**
702
+ * A community profile **as read**: every member of CommunityProfile, plus the immutable identity a reader needs and an update must never set.
703
+ *
704
+ * CommunityProfile is the update-facing view and omits `communityDid` on purpose, so that a patch cannot re-point a community's identity. That is right for a payload and wrong for a response: a client holding a profile has no other way to learn which DID to verify that community's credentials against, and `community/profile/show` returning the update-facing view left the one member a consumer most needs undefined.
705
+ *
706
+ * So reads get this and updates keep CommunityProfile. The split is the point — the immutability of `communityDid` is enforced by it being absent from the payload, not by prose asking implementers not to honour it.
707
+ */
708
+ export interface CommunityProfileView {
709
+ /**
710
+ * The community's own DID — the identifier every credential it issues names as `issuer`, and the one a member's credential binds them to. Immutable: set when the community is created and not settable through an update.
711
+ */
712
+ communityDid: string;
713
+ /**
714
+ * When the community was created. Immutable, like `communityDid`.
715
+ */
716
+ createdAt?: string;
717
+ name: string;
718
+ description?: string;
719
+ logoUrl?: string | null;
720
+ publicUrl?: string | null;
721
+ contactEmail?: string | null;
722
+ language: string;
723
+ /**
724
+ * Which identifier form the community expects members to issue relationship credentials under. `attributed` means the member's membership DID, so an edge names them; `pairwise` means a relationship DID unique to each counterparty. A declaration, not an enforcement: the member still chooses per relationship, and a community that wants to require one form does so in its own policy. Absent means the community has not declared one; implementations default to `pairwise`, matching the DTG Credentials recommendation.
725
+ */
726
+ relationshipIdentifierDefault?: "attributed" | "pairwise";
727
+ /**
728
+ * Opaque community-defined extension bag.
729
+ */
730
+ extensions?: {};
731
+ /**
732
+ * Trust-registry reachability. Populated on reads; not settable.
733
+ */
734
+ registryStatus?: "active" | "degraded";
735
+ /**
736
+ * What this community's governance asserts about the personhood of its members.
737
+ */
738
+ personhood?: PersonhoodGovernance;
739
+ }
740
+ /**
741
+ * A community's portable configuration: its profile plus the configuration overrides a maintainer stores for itself. Deliberately excludes per-host layers (environment variables, on-disk config files) — those describe where a maintainer runs, not what the community is, and carrying them would make an import overwrite the target host's own deployment settings.
742
+ *
743
+ * This document is designed to survive a round-trip through a file. An operator exports it, keeps it, and feeds it back later — possibly to a different maintainer, possibly across a version boundary — so it is self-describing rather than relying on the Type URI of the envelope that happened to carry it.
744
+ */
745
+ export interface ConfigExportDocument {
746
+ /**
747
+ * Version of this document's own shape. Not redundant with the Type URI version: once the document is written to a file it is bare JSON with no envelope, and this is the only thing a later reader has to check it against. A consumer MUST reject a version it does not implement rather than guess.
748
+ */
749
+ schemaVersion: number;
750
+ /**
751
+ * When the export was taken. Provenance for the operator; a consumer does not act on it.
752
+ */
753
+ exportedAt: string;
754
+ /**
755
+ * The community's profile at export time. Absent when the community has no profile yet — a maintainer exported before bootstrap.
756
+ */
757
+ communityProfile?: CommunityProfileSnapshot;
758
+ /**
759
+ * Stored configuration overrides as `key → value`, keyed by the maintainer's own configuration registry (the same keys `config/show` and `config/patch` use). An empty object is valid and means no overrides are set.
760
+ */
761
+ configOverrides: {
762
+ [k: string]: unknown | undefined;
763
+ };
764
+ ext?: Ext;
765
+ }
766
+ /**
767
+ * One runtime configuration key as the maintainer currently sees it, after resolving whatever layered overlay it uses.
768
+ */
769
+ export interface ConfigField {
770
+ /**
771
+ * The configuration key, e.g. `server.port` or `log.level`.
772
+ */
773
+ key: string;
774
+ /**
775
+ * The effective value. Any JSON scalar the key holds (string, number, boolean, or null). A maintainer MUST redact the value of a secret-bearing key (see the spec) rather than return it here.
776
+ */
777
+ value: {
778
+ [k: string]: unknown | undefined;
779
+ };
780
+ /**
781
+ * Which layer supplied the effective value. An opaque maintainer-defined label — the framework does not enumerate it. A maintainer with a layered overlay reports the winning layer (e.g. `env`, `db`, `toml`, `default`); one without layers reports its single source.
782
+ */
783
+ source: string;
784
+ /**
785
+ * True when a change to this key takes effect only after a restart, rather than on the next read.
786
+ */
787
+ requiresRestart: boolean;
788
+ }
789
+ /**
790
+ * One field an import would change, or did.
791
+ *
792
+ * `oldValue` is absent when the field is not currently set — no profile yet, or no stored override for that key. `newValue` is absent when the imported document omits the field, which means "leave the live value alone" rather than "clear it"; a caller that intends to clear a nullable member sends an explicit `null`, which appears here as `newValue: null`. The two are different requests and a consumer MUST NOT conflate them.
793
+ */
794
+ export interface ConfigFieldChange {
795
+ /**
796
+ * The profile member or configuration key, e.g. `name` or `log.level`.
797
+ */
798
+ key: string;
799
+ /**
800
+ * Value in force before the import. Absent when the field is unset.
801
+ */
802
+ oldValue?: {
803
+ [k: string]: unknown | undefined;
804
+ };
805
+ /**
806
+ * Value the imported document carries. Absent when the document omits the field.
807
+ */
808
+ newValue?: {
809
+ [k: string]: unknown | undefined;
810
+ };
811
+ }
812
+ /**
813
+ * A recorded consent decision over a ConsentSubject.
814
+ */
815
+ export interface ConsentGrant {
816
+ subject: ConsentSubject;
817
+ effect: Effect_ConsentV0_1;
818
+ /**
819
+ * Granted scope. REQUIRED when `effect` is `allow`; absent for `deny`.
820
+ */
821
+ scope?: Scope_ConsentV0_1;
822
+ /**
823
+ * VID of the approver who made the decision.
824
+ */
825
+ grantedBy: string;
826
+ /**
827
+ * RFC 3339 time the decision was recorded.
828
+ */
829
+ grantedAt: string;
830
+ /**
831
+ * Optional. After this time the grant lapses and the subject must be re-consented.
832
+ */
833
+ expiresAt?: string;
834
+ /**
835
+ * How the decision was authorized — e.g. "did-signed" (approver's DID signed the consent/decision) or "bridge-attested" (an enrolled bridge relayed the operator's out-of-band choice).
836
+ */
837
+ evidence?: string;
838
+ }
839
+ /**
840
+ * The platform-agnostic identifier of WHAT is being consented to: one conversation, for one agent.
841
+ */
842
+ export interface ConsentSubject {
843
+ /**
844
+ * Messaging-platform tag, e.g. "signal", "whatsapp", "slack".
845
+ */
846
+ platform: string;
847
+ /**
848
+ * The bridge's OPAQUE conversation handle (e.g. "sig-1a2b3c4d"). NEVER the raw platform address — the VTA never learns the phone number / chat id.
849
+ */
850
+ conversationRef: string;
851
+ kind: Kind;
852
+ /**
853
+ * VID (DID) of the AI agent the conversation would reach.
854
+ */
855
+ agent: string;
856
+ }
857
+ export interface ConsumerContext {
858
+ /**
859
+ * Device-binding id assigned at registration. The maintainer cross-checks this against the authenticated transport identity.
860
+ */
861
+ deviceId?: string;
862
+ /**
863
+ * Most recent local user-verification on the consumer device (WebAuthn UV, biometric unlock). The maintainer's policy may require this to be within N seconds.
864
+ */
865
+ lastUserVerificationAt?: string;
866
+ /**
867
+ * Producer-supplied network classification. Advisory.
868
+ */
869
+ networkClass?: "unknown" | "home" | "corp" | "public" | "vpn";
870
+ }
871
+ export interface Companion_DeviceV0_1 {
872
+ kind: "companion";
873
+ formFactor: "browser" | "mobile" | "desktop";
874
+ }
875
+ export interface Service_DeviceV0_1 {
876
+ kind: "service";
877
+ serviceKind: "mediator" | "ai-agent" | "daemon";
878
+ }
879
+ export interface Companion_DeviceV0_2 {
880
+ kind: "companion";
881
+ formFactor: "browser" | "mobile" | "desktop";
882
+ }
883
+ export interface Service_DeviceV0_2 {
884
+ kind: "service";
885
+ serviceKind: "mediator" | "aiAgent" | "daemon";
886
+ }
887
+ /**
888
+ * Per-context restrictions the VTA enforces. Every member is optional, and **absence means unrestricted, not empty** — a policy that omits `presentableTypes` permits every type, while one that sets it to `[]` permits none. The two are opposite instructions and a consumer MUST NOT collapse them.
889
+ */
890
+ export interface ContextPolicy {
891
+ /**
892
+ * VIDs permitted to receive presentations from this context. Absent: any verifier. Present-but-empty: none.
893
+ */
894
+ trustedVerifiers?: string[];
895
+ /**
896
+ * Credential types that may be presented from this context. Absent: any type. Present-but-empty: none.
897
+ */
898
+ presentableTypes?: string[];
899
+ /**
900
+ * Key ids the signing oracle may be invoked on within this context. Absent: every key the context holds. Present-but-empty: no keys.
901
+ */
902
+ signableKeys?: string[];
903
+ /**
904
+ * Whether material in this context may leave it through an export. Defaults to true; set it to false for a context whose contents must not be extractable.
905
+ */
906
+ exportAllowed?: boolean;
907
+ /**
908
+ * Resource limits for the context. Shape is maintainer-defined.
909
+ */
910
+ quotas?: {
911
+ [k: string]: unknown | undefined;
912
+ };
913
+ ext?: Ext;
914
+ }
915
+ /**
916
+ * A context as the VTA holds it.
917
+ */
918
+ export interface ContextRecord {
919
+ /**
920
+ * Context id. For a nested context this is the full path (`parent/leaf`), not the leaf alone — an ACL scope naming this context must use this value verbatim.
921
+ */
922
+ id: string;
923
+ /**
924
+ * Human-readable name. Operator-facing only; carries no authorization meaning, and two contexts may share a name.
925
+ */
926
+ name: string;
927
+ /**
928
+ * DID this context acts as, when one has been assigned. Absent means the context has no identity of its own yet — not that it has been denied one.
929
+ */
930
+ did?: string;
931
+ /**
932
+ * Free-form description.
933
+ */
934
+ description?: string;
935
+ /**
936
+ * Id of the context this one nests under. Absent for a top-level context. Authority granted at a parent reaches its children, so this member is load-bearing for anyone reasoning about scope.
937
+ */
938
+ parent?: string;
939
+ /**
940
+ * Resolved path from the root context, as the VTA derives it from the parent chain. Consumers MUST treat this as derived state: it is recomputed by the maintainer and is not independently settable.
941
+ */
942
+ basePath: string;
943
+ /**
944
+ * RFC 3339.
945
+ */
946
+ createdAt: string;
947
+ /**
948
+ * RFC 3339.
949
+ */
950
+ updatedAt: string;
951
+ ext?: Ext;
952
+ }
953
+ /**
954
+ * A pointer to an issued credential, without the credential itself.
955
+ *
956
+ * The counterpart to IssuedCredential, for the far more common case of *reading about* a credential rather than being handed one. A listing that embedded the signed credential in every row would grow with the size of the credentials rather than the number of them — a page of fifty is megabytes — and a reader that only needs to know a credential exists, when it lapses, and how to revoke it does not need the bytes.
957
+ *
958
+ * The holder can always fetch the credential itself by `credentialId`, and a verifier can check revocation from the row's status-list slot without either. Reach for IssuedCredential only at the moment of minting, where the caller has no other way to receive what was just made for them.
959
+ */
960
+ export interface CredentialReference {
961
+ credentialId: CredentialId;
962
+ /**
963
+ * When the credential was minted.
964
+ */
965
+ issuedAt?: string;
966
+ /**
967
+ * When it lapses, or null when it does not.
968
+ */
969
+ expiresAt?: string | null;
970
+ }
971
+ /**
972
+ * One presentation request awaiting the holder's decision, as the approver sees it.
973
+ *
974
+ * This is deliberately **not** the stored record. A consumer also retains the original DCQL query so an approval can re-present byte-faithfully against the verifier's original nonce; that is machinery, not a decision input, and is not exposed here. What is exposed is exactly what an approver needs to answer "should I disclose this": who is asking, why, and precisely which claims of which held credentials would leave the wallet.
975
+ */
976
+ export interface DeferredPresentation {
977
+ /**
978
+ * Approval handle for this deferral — the value `pending/approve` and `pending/deny` act on.
979
+ */
980
+ id: string;
981
+ /**
982
+ * The verifier that asked. An approved presentation binds to this audience, so approving is a decision about *this* party and not a standing permission.
983
+ */
984
+ verifierDid: string;
985
+ /**
986
+ * Every held credential the query would disclose, resolved against what the holder actually holds. This is the authorization surface: the approver is consenting to these claims leaving the wallet, not to the query in the abstract.
987
+ */
988
+ requested: RequestedCredential[];
989
+ /**
990
+ * The verifier's stated reason, carried through from the query. Purpose binding: an approver decides against a stated why, never a bare request.
991
+ */
992
+ purpose: string;
993
+ /**
994
+ * When the deferral was recorded.
995
+ */
996
+ createdAt: string;
997
+ /**
998
+ * After this the deferral is stale and approval MUST refuse — the verifier's nonce is no longer fresh, so any presentation minted against it would fail the verifier's own replay check.
999
+ */
1000
+ expiresAt: string;
1001
+ }
1002
+ export interface WebAuthnAttestation_DeviceV0_1 {
1003
+ kind: "webauthn";
1004
+ /**
1005
+ * WebAuthn Authenticator AAGUID (UUID).
1006
+ */
1007
+ aaguid: string;
1008
+ /**
1009
+ * Base64url-encoded WebAuthn attestation statement, when supplied by the platform.
1010
+ */
1011
+ attestationStatement?: string;
1012
+ }
1013
+ export interface AppleAppAttest_DeviceV0_1 {
1014
+ kind: "apple-app-attest";
1015
+ keyId: string;
1016
+ attestation: string;
1017
+ }
1018
+ export interface PlayIntegrity_DeviceV0_1 {
1019
+ kind: "play-integrity";
1020
+ token: string;
1021
+ }
1022
+ export interface Tpm_DeviceV0_1 {
1023
+ kind: "tpm";
1024
+ quote: string;
1025
+ }
1026
+ export interface NitroEnclave_DeviceV0_1 {
1027
+ kind: "nitro-enclave";
1028
+ quote: string;
1029
+ }
1030
+ /**
1031
+ * No device-level attestation is available. Maintainers MAY still register the device but SHOULD apply stricter policy (shorter session TTL, more frequent step-up).
1032
+ */
1033
+ export interface NoAttestation_DeviceV0_1 {
1034
+ kind: "none";
1035
+ }
1036
+ export interface WebAuthnAttestation_DeviceV0_2 {
1037
+ kind: "webauthn";
1038
+ /**
1039
+ * WebAuthn Authenticator AAGUID (UUID).
1040
+ */
1041
+ aaguid: string;
1042
+ /**
1043
+ * Base64url-encoded WebAuthn attestation statement, when supplied by the platform.
1044
+ */
1045
+ attestationStatement?: string;
1046
+ }
1047
+ export interface AppleAppAttest_DeviceV0_2 {
1048
+ kind: "appleAppAttest";
1049
+ keyId: string;
1050
+ attestation: string;
1051
+ }
1052
+ export interface PlayIntegrity_DeviceV0_2 {
1053
+ kind: "playIntegrity";
1054
+ token: string;
1055
+ }
1056
+ export interface Tpm_DeviceV0_2 {
1057
+ kind: "tpm";
1058
+ quote: string;
1059
+ }
1060
+ export interface NitroEnclave_DeviceV0_2 {
1061
+ kind: "nitroEnclave";
1062
+ quote: string;
1063
+ }
1064
+ /**
1065
+ * No device-level attestation is available. Maintainers MAY still register the device but SHOULD apply stricter policy (shorter session TTL, more frequent step-up).
1066
+ */
1067
+ export interface NoAttestation_DeviceV0_2 {
1068
+ kind: "none";
1069
+ }
1070
+ export interface DeviceBinding_DeviceV0_1 {
1071
+ /**
1072
+ * Maintainer-assigned opaque id for this device. Stable across the device's lifetime — never re-used after disable or wipe.
1073
+ */
1074
+ deviceId: string;
1075
+ /**
1076
+ * The long-term VTA-derived key (DID) the device authenticates with. Established via the ACL-swap pattern at registration.
1077
+ */
1078
+ consumerDid: string;
1079
+ consumerKind: ConsumerKind_DeviceV0_1;
1080
+ /**
1081
+ * Human-readable name (e.g. "Glenn's MacBook — Chrome", "iPhone 17").
1082
+ */
1083
+ displayName: string;
1084
+ /**
1085
+ * Free-form platform descriptor (e.g. "macOS 16 / Chrome 142", "iOS 19.1", "Android 16", "Linux/x86_64"). Producer-supplied at registration; consumer-supplied updates are accepted on heartbeat.
1086
+ */
1087
+ platform?: string;
1088
+ attestation?: DeviceAttestation_DeviceV0_1;
1089
+ /**
1090
+ * Whether this device has a usable push channel — i.e. it has registered a push token with a push gateway and conveyed the resulting opaque WakeHandle to its VTA via device/set-wake (https://trusttasks.org/binding/push/0.1). Informational visibility for device/list only. The raw platform push token is held ONLY by the gateway; the maintainer/VTA holds the opaque WakeHandle and the VTA-owned trigger allowlist, never the token. Set from the presence of a current WakeHandle for this device.
1091
+ */
1092
+ pushCapable?: boolean;
1093
+ /**
1094
+ * How the device custodies its private key material (tier + algorithms). Maintainer policy input, mirroring `attestation` — a maintainer MAY apply stricter policy to `software`-tier devices. See docs/design-notes/mobile-key-custody-profile.md.
1095
+ */
1096
+ keyCustody?: KeyCustody;
1097
+ /**
1098
+ * Capability bitset granted to this device (mirrors the ACL-side scope). Returned for inspection; mutated only via acl/change-role or device/disable.
1099
+ */
1100
+ capabilities?: Capability_DeviceV0_1[];
1101
+ registeredAt: string;
1102
+ /**
1103
+ * Updated on every device/heartbeat and on any successful auth.
1104
+ */
1105
+ lastSeenAt?: string;
1106
+ /**
1107
+ * Present when the device has been disabled (device/disable). Disabled devices cannot authenticate but their record is retained for audit.
1108
+ */
1109
+ disabledAt?: string;
1110
+ /**
1111
+ * Present when a wipe has been issued (device/wipe). Distinct from disabledAt — a wiped device is also disabled, but wipe additionally communicates a wipe-cache instruction that the device may or may not have executed (see device/wipe).
1112
+ */
1113
+ wipedAt?: string;
1114
+ ext?: Ext;
1115
+ }
1116
+ export interface DeviceBinding_DeviceV0_2 {
1117
+ /**
1118
+ * Maintainer-assigned opaque id for this device. Stable across the device's lifetime — never re-used after disable or wipe.
1119
+ */
1120
+ deviceId: string;
1121
+ /**
1122
+ * The long-term VTA-derived key (DID) the device authenticates with. Established via the ACL-swap pattern at registration.
1123
+ */
1124
+ consumerDid: string;
1125
+ consumerKind: ConsumerKind_DeviceV0_2;
1126
+ /**
1127
+ * Human-readable name (e.g. "Glenn's MacBook — Chrome", "iPhone 17").
1128
+ */
1129
+ displayName: string;
1130
+ /**
1131
+ * Free-form platform descriptor (e.g. "macOS 16 / Chrome 142", "iOS 19.1", "Android 16", "Linux/x86_64"). Producer-supplied at registration; consumer-supplied updates are accepted on heartbeat.
1132
+ */
1133
+ platform?: string;
1134
+ attestation?: DeviceAttestation_DeviceV0_2;
1135
+ /**
1136
+ * Whether this device has a usable push channel — i.e. it has registered a push token with a push gateway and conveyed the resulting opaque WakeHandle to its VTA via device/set-wake (https://trusttasks.org/binding/push/0.1). Informational visibility for device/list only. The raw platform push token is held ONLY by the gateway; the maintainer/VTA holds the opaque WakeHandle and the VTA-owned trigger allowlist, never the token. Set from the presence of a current WakeHandle for this device.
1137
+ */
1138
+ pushCapable?: boolean;
1139
+ /**
1140
+ * How the device custodies its private key material (tier + algorithms). Maintainer policy input, mirroring `attestation` — a maintainer MAY apply stricter policy to `software`-tier devices. See docs/design-notes/mobile-key-custody-profile.md.
1141
+ */
1142
+ keyCustody?: KeyCustody;
1143
+ /**
1144
+ * Capability bitset granted to this device (mirrors the ACL-side scope). Returned for inspection; mutated only via acl/change-role or device/disable.
1145
+ */
1146
+ capabilities?: Capability_DeviceV0_2[];
1147
+ registeredAt: string;
1148
+ /**
1149
+ * Updated on every device/heartbeat and on any successful auth.
1150
+ */
1151
+ lastSeenAt?: string;
1152
+ /**
1153
+ * Present when the device has been disabled (device/disable). Disabled devices cannot authenticate but their record is retained for audit.
1154
+ */
1155
+ disabledAt?: string;
1156
+ /**
1157
+ * Present when a wipe has been issued (device/wipe). Distinct from disabledAt — a wiped device is also disabled, but wipe additionally communicates a wipe-cache instruction that the device may or may not have executed (see device/wipe).
1158
+ */
1159
+ wipedAt?: string;
1160
+ ext?: Ext;
1161
+ }
1162
+ export interface DidRecord {
1163
+ /**
1164
+ * Local path under which the DID is hosted (e.g. `alice`, `tenant/staff/alice`, `.well-known`). Compared by exact string equality (SPEC.md §4.8); producers SHOULD emit canonical form.
1165
+ */
1166
+ mnemonic: string;
1167
+ /**
1168
+ * VID of the party that currently owns the record. Authorization to mutate the record is anchored on this field.
1169
+ */
1170
+ owner: string;
1171
+ /**
1172
+ * RFC3339 timestamp of initial reservation.
1173
+ */
1174
+ createdAt: string;
1175
+ /**
1176
+ * RFC3339 timestamp of the most recent record mutation.
1177
+ */
1178
+ updatedAt: string;
1179
+ /**
1180
+ * Number of log entries the host currently holds for the DID. `0` indicates a reservation with no published log yet.
1181
+ */
1182
+ versionCount: number;
1183
+ /**
1184
+ * Fully-qualified DID identifier resolved from the most recent log entry (e.g. `did:webvh:<scid>:host:path`). Absent when `versionCount === 0`.
1185
+ */
1186
+ didId?: string;
1187
+ /**
1188
+ * Resolvable URL of the DID's log document (e.g. `https://did.example.com/alice/did.jsonl`). Stable across the record's lifetime: present from the initial reservation (`versionCount === 0`), it tells the owner where to publish the signed log and where resolvers fetch it. Distinct from `didId`, which only exists once a log entry has been published.
1189
+ */
1190
+ didUrl?: string;
1191
+ /**
1192
+ * DID method this record was registered under (e.g. `webvh`, `web`). When omitted, consumers MAY treat the record as legacy; SHOULD default to `webvh` only if their host predates the multi-method era.
1193
+ */
1194
+ method?: string;
1195
+ /**
1196
+ * Hosting domain (hostname) under which the DID resolves. Matches the host segment of the embedded DID identifier.
1197
+ */
1198
+ domain?: string;
1199
+ /**
1200
+ * When `true`, the DID is administratively disabled — the host serves a deactivation marker but retains content for recovery within the host's retention policy.
1201
+ */
1202
+ disabled?: boolean;
1203
+ /**
1204
+ * Lifetime resolve counter, when the host exposes per-DID statistics.
1205
+ */
1206
+ totalResolves?: number;
1207
+ /**
1208
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
1209
+ */
1210
+ ext?: Ext;
1211
+ }
1212
+ /**
1213
+ * Authored template shape: a DID document with `{TOKEN}` placeholders plus the variable contract the VTA's renderer enforces.
1214
+ */
1215
+ export interface DidTemplate {
1216
+ /**
1217
+ * Template schema version. Currently always 1.
1218
+ */
1219
+ schemaVersion: 1;
1220
+ /**
1221
+ * Template id within its scope. Lowercase alphanumeric and hyphen only.
1222
+ */
1223
+ name: string;
1224
+ /**
1225
+ * Classification hint, e.g. `mediator`, `did-host-http`, `app`. Drives downstream provisioning behaviour.
1226
+ */
1227
+ kind: string;
1228
+ /**
1229
+ * Human-readable description of what the template provisions.
1230
+ */
1231
+ description?: string | null;
1232
+ /**
1233
+ * DID methods this template targets, e.g. ["webvh", "web"] for a hosted DID or ["key"] for a did:key.
1234
+ */
1235
+ methods?: string[];
1236
+ /**
1237
+ * Variables the caller MUST supply at render time. MUST NOT include reserved ambient names (DID, SIGNING_KEY_MB, KA_KEY_MB, VTA_DID, VTA_URL, CONTEXT_ID, CONTEXT_DID, NOW).
1238
+ */
1239
+ requiredVars?: string[];
1240
+ /**
1241
+ * Variables with default values, keyed by variable name.
1242
+ */
1243
+ optionalVars?: {
1244
+ [k: string]: unknown | undefined;
1245
+ };
1246
+ /**
1247
+ * Hints for CLI / setup wizards (e.g. preRotationCount, portable, addMediatorService).
1248
+ */
1249
+ defaults?: {
1250
+ [k: string]: unknown | undefined;
1251
+ };
1252
+ /**
1253
+ * The DID document body with `{TOKEN}` placeholders. `document.id` MUST contain the `{DID}` placeholder. Every `{TOKEN}` MUST be declared in requiredVars/optionalVars or be a reserved ambient name.
1254
+ */
1255
+ document: {};
1256
+ }
1257
+ /**
1258
+ * A persisted template. The DidTemplate fields are flattened at the top level alongside the resolved scope and provenance metadata. Same shape returned by get/create/update and carried per-item by list.
1259
+ */
1260
+ export interface DidTemplateRecord {
1261
+ schemaVersion: 1;
1262
+ name: string;
1263
+ kind: string;
1264
+ description?: string | null;
1265
+ methods?: string[];
1266
+ requiredVars?: string[];
1267
+ optionalVars?: {
1268
+ [k: string]: unknown | undefined;
1269
+ };
1270
+ defaults?: {
1271
+ [k: string]: unknown | undefined;
1272
+ };
1273
+ document: {};
1274
+ /**
1275
+ * Resolved scope of the stored template.
1276
+ */
1277
+ scope: Scope_VtaV0_1;
1278
+ /**
1279
+ * UTC unix-epoch seconds the template was first stored.
1280
+ */
1281
+ createdAt: number;
1282
+ /**
1283
+ * UTC unix-epoch seconds of the last write.
1284
+ */
1285
+ updatedAt: number;
1286
+ /**
1287
+ * DID of the admin who last wrote the template.
1288
+ */
1289
+ createdBy: string;
1290
+ }
1291
+ /**
1292
+ * DIDComm v2 authcrypt JWE (ECDH-1PU + A256CBC-HS512, X25519/P-256 key agreement). Sender authentication is the JWE's `skid` — the producer's DID#keyAgreement. The maintainer's keyAgreement key is the recipient. Cleartext is JCS-canonical JSON of the variant's payload type.
1293
+ *
1294
+ * M2A is the only implementation today; this is also the canonical default for new code.
1295
+ */
1296
+ export interface DidcommAuthcryptEnvelope_VaultV0_1 {
1297
+ envelope: "didcomm-authcrypt";
1298
+ /**
1299
+ * Compact DIDComm v2 JWE (base64url-encoded, dot-separated). Unpacks via the framework's standard DIDComm machinery; cleartext is the payload-specific JSON.
1300
+ */
1301
+ jwe: string;
1302
+ }
1303
+ /**
1304
+ * DIDComm v2 authcrypt JWE (ECDH-1PU + A256CBC-HS512, X25519/P-256 key agreement). Sender authentication is the JWE's `skid` — the producer's DID#keyAgreement. The maintainer's keyAgreement key is the recipient. Cleartext is JCS-canonical JSON of the variant's payload type.
1305
+ *
1306
+ * M2A is the only implementation today; this is also the canonical default for new code.
1307
+ */
1308
+ export interface DidcommAuthcryptEnvelope_VaultV0_2 {
1309
+ envelope: "didcommAuthcrypt";
1310
+ /**
1311
+ * Compact DIDComm v2 JWE (base64url-encoded, dot-separated). Unpacks via the framework's standard DIDComm machinery; cleartext is the payload-specific JSON.
1312
+ */
1313
+ jwe: string;
1314
+ }
1315
+ export interface DomainEntry {
1316
+ /**
1317
+ * Hosting domain name (e.g. `did.example.com`). Compared case-insensitively; producers SHOULD emit lowercase canonical form.
1318
+ */
1319
+ name: string;
1320
+ /**
1321
+ * Optional human-readable label.
1322
+ */
1323
+ label?: string;
1324
+ /**
1325
+ * Domain lifecycle state. A `disabled` domain still serves existing DIDs in read-only mode for the host's configured grace period before purge becomes eligible.
1326
+ */
1327
+ status: "active" | "disabled";
1328
+ /**
1329
+ * When `true`, this domain is the host's default — new DIDs created without an explicit domain are hosted here. Exactly one entry SHOULD carry `defaultDomain: true`.
1330
+ */
1331
+ defaultDomain?: boolean;
1332
+ createdAt: string;
1333
+ /**
1334
+ * Present iff `status === "disabled"`.
1335
+ */
1336
+ disabledAt?: string;
1337
+ /**
1338
+ * Earliest RFC3339 timestamp at which the host's background sweep is allowed to purge content for a disabled domain. Operators with administrative authority MAY override the wait via `domain/purge`.
1339
+ */
1340
+ purgeAt?: string;
1341
+ /**
1342
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
1343
+ */
1344
+ ext?: Ext;
1345
+ }
1346
+ /**
1347
+ * A DIDComm mediator that is no longer advertised but is still accepting delivery, so in-flight messages routed through it are not stranded.
1348
+ */
1349
+ export interface DrainEntry {
1350
+ /**
1351
+ * The mediator being drained.
1352
+ */
1353
+ mediatorDid: string;
1354
+ /**
1355
+ * Where it is still reachable for the remainder of the drain.
1356
+ */
1357
+ endpoint: string;
1358
+ /**
1359
+ * RFC 3339 instant after which the mediator is dropped and messages routed through it are lost.
1360
+ */
1361
+ drainsUntil: string;
1362
+ ext?: Ext;
1363
+ }
1364
+ /**
1365
+ * One consequence of executing the pending task, authored by the executor that is about to run it. An effect is produced by dry-running the real handler against the executor's own prior state — never by the requester, and never by re-implementing the handler's semantics elsewhere. A consent surface renders ONLY effects it received under the executor's signature.
1366
+ */
1367
+ export interface Effect_TaskConsentV0_1 {
1368
+ /**
1369
+ * Machine discriminator for rich rendering. Well-known kinds are registered in the prose (`documentChange`, `keyRotation`, `preRotationRefresh`, `resourceDelete`, `disclosure`), but the set is OPEN: handlers evolve faster than this schema, and an executor MUST be able to describe a consequence this version does not name. A surface that does not recognise a `kind` MUST still render `summary`.
1370
+ */
1371
+ kind: string;
1372
+ /**
1373
+ * REQUIRED human-facing sentence describing this consequence, authored by the executor. This is the ONLY member a consent surface is guaranteed to be able to render, and it is what makes an unrecognised `kind` degrade to something truthful rather than something invisible. A surface MUST render it verbatim; it MUST NOT substitute its own prose.
1374
+ */
1375
+ summary: string;
1376
+ /**
1377
+ * OPTIONAL RFC 6901 JSON Pointer locating the change within the subject resource (e.g. `/service/0`).
1378
+ */
1379
+ path?: string;
1380
+ /**
1381
+ * OPTIONAL prior value at `path`, from the executor's authoritative state. ABSENT means there was no prior value (a creation); an explicit `null` is treated identically, so an executor MUST NOT rely on the two being distinguishable. Structured members are for rich rendering only — `summary` is what a surface is obliged to show, and it is where an executor states a distinction this shape cannot carry.
1382
+ */
1383
+ before?: {
1384
+ [k: string]: unknown | undefined;
1385
+ };
1386
+ /**
1387
+ * OPTIONAL resulting value at `path` once the task executes. ABSENT means the value is removed (a deletion), under the same rule as `before`.
1388
+ */
1389
+ after?: {
1390
+ [k: string]: unknown | undefined;
1391
+ };
1392
+ /**
1393
+ * OPTIONAL kind-specific structured extras (e.g. `{ "commitments": 2 }` for `preRotationRefresh`).
1394
+ */
1395
+ detail?: {
1396
+ [k: string]: unknown | undefined;
1397
+ };
1398
+ }
1399
+ export interface EncryptionParams {
1400
+ /**
1401
+ * AEAD identifier, e.g. `aes-256-gcm`.
1402
+ */
1403
+ algorithm: string;
1404
+ /**
1405
+ * base64url, 12 bytes.
1406
+ */
1407
+ nonce: string;
1408
+ }
1409
+ export interface Endorsement {
1410
+ /**
1411
+ * Community-scoped identifier for this endorsement row.
1412
+ */
1413
+ endorsementId: string;
1414
+ /**
1415
+ * The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.
1416
+ */
1417
+ typeUri: string;
1418
+ /**
1419
+ * DID of the endorsement's subject (becomes credentialSubject.id).
1420
+ */
1421
+ subjectDid: string;
1422
+ /**
1423
+ * The attested claim body, validated against the endorsement type's claimSchema when it declares one.
1424
+ */
1425
+ claim?: {};
1426
+ /**
1427
+ * A pointer to the issued VEC — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.
1428
+ */
1429
+ issued: CredentialReference;
1430
+ /**
1431
+ * The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.
1432
+ */
1433
+ statusListIndex: number;
1434
+ /**
1435
+ * When the endorsement was revoked, or null while live.
1436
+ */
1437
+ revokedAt?: string | null;
1438
+ }
1439
+ export interface EndorsementType {
1440
+ /**
1441
+ * The endorsement type's URI. Community-scoped; workspace-reserved URIs (e.g. CommunityRole) are refused at registration.
1442
+ */
1443
+ typeUri: string;
1444
+ description?: string;
1445
+ /**
1446
+ * Optional JSON Schema the endorsement's claims must satisfy (opaque here).
1447
+ */
1448
+ claimSchema?: {};
1449
+ createdAt?: string;
1450
+ /**
1451
+ * The member who registered this endorsement type. An endorsement vocabulary is community-defined and shapes what every later endorsement can claim, so who introduced a type is audit-relevant in a way its creation time alone is not.
1452
+ */
1453
+ createdByDid?: string;
1454
+ }
1455
+ /**
1456
+ * The authoritative SPEC §7.3 item 14 exposure class of the pending task, derived by the executor from the compiled handler it is about to invoke — never from the registry's declared value.
1457
+ */
1458
+ export interface Exposure {
1459
+ /**
1460
+ * Sensitivity of data the task returns to its caller.
1461
+ */
1462
+ discloses: "none" | "metadata" | "secret";
1463
+ /**
1464
+ * Whether execution exercises the subject's own authority to produce an attributable effect in the subject's name.
1465
+ */
1466
+ actsAsSubject: boolean;
1467
+ }
1468
+ /**
1469
+ * 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.
1470
+ */
1471
+ export interface Ext {
1472
+ [k: string]: unknown | undefined;
1473
+ }
1474
+ /**
1475
+ * OpenPGP-style ASCII-armored HPKE bundle — the existing OpenVTC sealed-transfer wire form (X25519-HKDF-SHA256 KEM + ChaCha20-Poly1305 AEAD, framed in armor with Bundle-Id / Digest-Algo headers and a CRC24 checksum). Producer assertion (`did-signed` / `attested` / `pinned-only`) is the integrity / authenticity anchor.
1476
+ *
1477
+ * No open-source implementation reads this yet outside vta-sdk's `sealed_transfer` crate; new code SHOULD prefer the DIDComm variant. Defined here for parity with the existing offline-bundle / cross-VTA workflows that the design plan reserves for M5+.
1478
+ */
1479
+ export interface HpkeArmoredEnvelope_VaultV0_1 {
1480
+ envelope: "hpke-armored";
1481
+ /**
1482
+ * ASCII-armored bundle text. Multi-line base64 with framing headers + CRC24.
1483
+ */
1484
+ armored: string;
1485
+ /**
1486
+ * did:key identifier of the X25519 public key the envelope was sealed to. The recipient uses this to select the matching private key.
1487
+ */
1488
+ recipientKeyId: string;
1489
+ /**
1490
+ * Producer-assertion mode per the sealed-transfer framework. `did-signed` = Ed25519 signature by issuer; `attested` = TEE attestation quote (e.g. Nitro); `pinned-only` = OOB SHA-256 digest only (dev/test, NOT for production).
1491
+ */
1492
+ producerAssertion?: "did-signed" | "attested" | "pinned-only";
1493
+ }
1494
+ /**
1495
+ * OpenPGP-style ASCII-armored HPKE bundle — the existing OpenVTC sealed-transfer wire form (X25519-HKDF-SHA256 KEM + ChaCha20-Poly1305 AEAD, framed in armor with Bundle-Id / Digest-Algo headers and a CRC24 checksum). Producer assertion (`didSigned` / `attested` / `pinnedOnly`) is the integrity / authenticity anchor.
1496
+ *
1497
+ * No open-source implementation reads this yet outside vta-sdk's `sealed_transfer` crate; new code SHOULD prefer the DIDComm variant. Defined here for parity with the existing offline-bundle / cross-VTA workflows that the design plan reserves for M5+.
1498
+ */
1499
+ export interface HpkeArmoredEnvelope_VaultV0_2 {
1500
+ envelope: "hpkeArmored";
1501
+ /**
1502
+ * ASCII-armored bundle text. Multi-line base64 with framing headers + CRC24.
1503
+ */
1504
+ armored: string;
1505
+ /**
1506
+ * did:key identifier of the X25519 public key the envelope was sealed to. The recipient uses this to select the matching private key.
1507
+ */
1508
+ recipientKeyId: string;
1509
+ /**
1510
+ * Producer-assertion mode per the sealed-transfer framework. `didSigned` = Ed25519 signature by issuer; `attested` = TEE attestation quote (e.g. Nitro); `pinnedOnly` = OOB SHA-256 digest only (dev/test, NOT for production).
1511
+ */
1512
+ producerAssertion?: "didSigned" | "attested" | "pinnedOnly";
1513
+ }
1514
+ /**
1515
+ * Registry view of one issued Invitation Credential. Carries no credential material — the VIC itself is returned only once, by `issue`.
1516
+ */
1517
+ export interface InvitationSummary {
1518
+ /**
1519
+ * VIC identifier; the revoke target.
1520
+ */
1521
+ id: string;
1522
+ /**
1523
+ * DID the invitation admits.
1524
+ */
1525
+ subjectDid: string;
1526
+ /**
1527
+ * Role granted on redemption, when the invitation names one.
1528
+ */
1529
+ role?: string;
1530
+ /**
1531
+ * DID of the operator who issued it.
1532
+ */
1533
+ issuedBy: string;
1534
+ /**
1535
+ * When it was issued.
1536
+ */
1537
+ issuedAt: string;
1538
+ /**
1539
+ * Expiry, when the invitation is time-bounded.
1540
+ */
1541
+ validUntil?: string;
1542
+ /**
1543
+ * When it was revoked; absent while live.
1544
+ */
1545
+ revokedAt?: string;
1546
+ }
1547
+ /**
1548
+ * One outstanding or historical admin invite. Consumed rows are retained as audit history and cannot be revoked.
1549
+ */
1550
+ export interface InviteSummary {
1551
+ /**
1552
+ * Unique invite identifier; the revoke target.
1553
+ */
1554
+ jti: string;
1555
+ status: InviteStatus;
1556
+ /**
1557
+ * The admin DID this invite enrols a passkey for.
1558
+ */
1559
+ targetDid?: string;
1560
+ /**
1561
+ * When an `issued` invite lapses.
1562
+ */
1563
+ expiresAt?: string;
1564
+ /**
1565
+ * When the invite was redeemed, if it was.
1566
+ */
1567
+ consumedAt?: string;
1568
+ }
1569
+ /**
1570
+ * The members of an issuance receipt, deliberately left **open** so a consuming specification can `$ref` it under `allOf` and add its own, then close the result with `unevaluatedProperties: false`.
1571
+ *
1572
+ * A closure inside this definition would defeat that. Both `additionalProperties` and `unevaluatedProperties` are evaluated against the whole instance from within the subschema that declares them, and neither can see members the *outer* schema matched — so either one here rejects the consumer's extras. Only an `unevaluatedProperties` at the outer level sees everything the composition matched. Use `IssuedCredential` where a closed standalone shape is wanted.
1573
+ */
1574
+ export interface IssuedCredentialBase {
1575
+ credentialId: CredentialId;
1576
+ /**
1577
+ * The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.
1578
+ */
1579
+ credential: {};
1580
+ /**
1581
+ * When the credential was minted.
1582
+ */
1583
+ issuedAt?: string;
1584
+ /**
1585
+ * When the credential's validUntil falls due.
1586
+ */
1587
+ expiresAt: string;
1588
+ }
1589
+ /**
1590
+ * One application to join a Verifiable Trust Community.
1591
+ */
1592
+ export interface JoinRequest {
1593
+ /**
1594
+ * Stable id of this join request (a UUID).
1595
+ */
1596
+ id: string;
1597
+ /**
1598
+ * DID of the applicant.
1599
+ */
1600
+ applicantDid: string;
1601
+ /**
1602
+ * The W3C Verifiable Presentation the applicant submitted (opaque here).
1603
+ */
1604
+ vp: {};
1605
+ /**
1606
+ * Canonical projection of `vp`, extracted when the request was submitted and used as the input the community's join policy reads. Carried on the row so an approval does not have to re-extract it, and opaque here: its members are whatever the community's policy asks of an applicant. `null` on a request recorded before a community began extracting one.
1607
+ */
1608
+ vpClaims?: {} | null;
1609
+ submittedAt: string;
1610
+ status: "pending" | "approved" | "rejected" | "withdrawn" | "deferred";
1611
+ /**
1612
+ * The community policy verdict recorded for this request (opaque here); absent while pending.
1613
+ */
1614
+ policyDecision?: {};
1615
+ /**
1616
+ * Why this request was refused, in terms meant for the applicant rather than the operator. `null` unless the request was rejected.
1617
+ *
1618
+ * Distinct from `policyDecision`, which records the community's internal verdict: both rejection paths — a policy auto-deny at submit and an admin's later refusal — write this one, so a client reads a single shape instead of reconciling two.
1619
+ */
1620
+ decision?: {
1621
+ /**
1622
+ * Stable refusal code, safe to branch on.
1623
+ */
1624
+ code: string;
1625
+ /**
1626
+ * Elaboration in prose, when the decider gave one.
1627
+ */
1628
+ reason?: string | null;
1629
+ /**
1630
+ * When the decision was taken — not when the poll answering it was produced. On an admin refusal the two diverge by however long the applicant takes to ask.
1631
+ */
1632
+ decidedAt: string;
1633
+ } | null;
1634
+ /**
1635
+ * Whether the applicant consented to trust-registry publication.
1636
+ */
1637
+ registryConsent?: boolean;
1638
+ /**
1639
+ * Opaque community-defined extension bag.
1640
+ */
1641
+ extensions?: {};
1642
+ }
1643
+ export interface KdfParams {
1644
+ /**
1645
+ * KDF identifier, e.g. `argon2id`.
1646
+ */
1647
+ algorithm: string;
1648
+ /**
1649
+ * base64url, 32 bytes.
1650
+ */
1651
+ salt: string;
1652
+ /**
1653
+ * Argon2id memory cost (KiB).
1654
+ */
1655
+ mCost: number;
1656
+ /**
1657
+ * Argon2id time cost (iterations).
1658
+ */
1659
+ tCost: number;
1660
+ /**
1661
+ * Argon2id parallelism.
1662
+ */
1663
+ pCost: number;
1664
+ }
1665
+ /**
1666
+ * How a device custodies its private key material — maintainer policy input, mirroring `attestation`. See docs/design-notes/mobile-key-custody-profile.md.
1667
+ */
1668
+ export interface KeyCustody {
1669
+ /**
1670
+ * `hardware`: the key is non-exportable in the secure keystore (iOS Secure Enclave / Android StrongBox) and every signing / key-agreement operation runs in-chip — achievable only with P-256. `software`: the key is held in app memory during use, stored hardware-wrapped at rest. Maintainers MAY apply stricter policy (shorter sessions, more frequent step-up) to `software`-tier devices.
1671
+ */
1672
+ tier: "hardware" | "software";
1673
+ /**
1674
+ * JOSE `alg` of the holder's signing key, e.g. `ES256` (hardware-custodiable on mobile) or `EdDSA` (not).
1675
+ */
1676
+ signingAlg?: string;
1677
+ /**
1678
+ * Curve of the holder's keyAgreement key, e.g. `P-256` (hardware-custodiable on mobile) or `X25519` (not).
1679
+ */
1680
+ keyAgreementCurve?: string;
1681
+ }
1682
+ export interface KeyRecord {
1683
+ /**
1684
+ * Maintainer-scoped identifier for the key. Stable for the key's lifetime except through an explicit `keys/rename`.
1685
+ */
1686
+ keyId: string;
1687
+ keyType: KeyType;
1688
+ status: KeyStatus;
1689
+ /**
1690
+ * The public half, multibase-encoded. The private half is never carried by any keys/* response.
1691
+ */
1692
+ publicKey: string;
1693
+ /**
1694
+ * Hierarchical-deterministic path the key was derived at, when `origin` is `derived`. Absent for imported keys, which have no path.
1695
+ */
1696
+ derivationPath?: string;
1697
+ /**
1698
+ * Identifier of the seed the key was derived from, when the maintainer holds more than one. Absent for imported keys.
1699
+ */
1700
+ seedId?: number;
1701
+ origin?: KeyOrigin;
1702
+ /**
1703
+ * Optional human-readable label. Operator-facing only; carries no authorization meaning.
1704
+ */
1705
+ label?: string;
1706
+ /**
1707
+ * Scope the key belongs to. **Absence is not 'every scope'** — a key with no context is reachable only by a caller with unrestricted authority over the maintainer, which is the more restrictive reading, and a consumer that treats absence as a wildcard inverts the guarantee.
1708
+ */
1709
+ contextId?: string;
1710
+ /**
1711
+ * RFC 3339 timestamp at which the key was created or imported.
1712
+ */
1713
+ createdAt: string;
1714
+ /**
1715
+ * RFC 3339 timestamp of the last change to the record (rename, revocation).
1716
+ */
1717
+ updatedAt?: string;
1718
+ ext?: Ext;
1719
+ }
1720
+ /**
1721
+ * The mediator's per-account access-control capability set, expressed as named booleans (the transport-agnostic form of the mediator's internal capability flags). On a set request, members omitted are left unchanged; a get/response carries the full realized set.
1722
+ */
1723
+ export interface MediatorAcl {
1724
+ /**
1725
+ * How the account's access list is interpreted. `explicitAllow` = an allowlist (empty denies everyone); `explicitDeny` = a denylist (empty allows everyone).
1726
+ */
1727
+ accessListMode?: "explicitAllow" | "explicitDeny";
1728
+ /**
1729
+ * The account is blocked from authenticating and transacting.
1730
+ */
1731
+ blocked?: boolean;
1732
+ /**
1733
+ * Messages for this account may be stored locally at this mediator for pickup.
1734
+ */
1735
+ local?: boolean;
1736
+ /**
1737
+ * May send direct messages through the mediator.
1738
+ */
1739
+ sendMessages?: boolean;
1740
+ /**
1741
+ * May receive direct messages.
1742
+ */
1743
+ receiveMessages?: boolean;
1744
+ /**
1745
+ * May send routing/forward (relay) messages.
1746
+ */
1747
+ sendForwarded?: boolean;
1748
+ /**
1749
+ * May be the next hop of a forwarded message.
1750
+ */
1751
+ receiveForwarded?: boolean;
1752
+ /**
1753
+ * May create out-of-band invitations.
1754
+ */
1755
+ createInvites?: boolean;
1756
+ /**
1757
+ * Accepts anonymous (no authenticated sender) messages.
1758
+ */
1759
+ anonReceive?: boolean;
1760
+ /**
1761
+ * May self-manage its own access list.
1762
+ */
1763
+ selfManageList?: boolean;
1764
+ /**
1765
+ * May self-manage its own send-queue limit.
1766
+ */
1767
+ selfManageSendQueueLimit?: boolean;
1768
+ /**
1769
+ * May self-manage its own receive-queue limit.
1770
+ */
1771
+ selfManageReceiveQueueLimit?: boolean;
1772
+ /**
1773
+ * The account accepts DIDComm-protocol delivery. Default true; set false for a TSP-only node.
1774
+ */
1775
+ didcommEnabled?: boolean;
1776
+ /**
1777
+ * The account accepts TSP-protocol delivery. Default true; set false for a DIDComm-only node.
1778
+ */
1779
+ tspEnabled?: boolean;
1780
+ }
1781
+ /**
1782
+ * One community member as the maintainer sees it: the membership record joined with its ACL role.
1783
+ */
1784
+ export interface MemberResponse {
1785
+ /**
1786
+ * The member's DID.
1787
+ */
1788
+ did: string;
1789
+ /**
1790
+ * The member's role in wire form (e.g. `admin`, `moderator`, `custom:editor`).
1791
+ */
1792
+ role: string;
1793
+ /**
1794
+ * Optional human-readable label.
1795
+ */
1796
+ label?: string | null;
1797
+ joinedAt: string;
1798
+ /**
1799
+ * Whether the member consented to being published in the community directory.
1800
+ */
1801
+ publishConsent: boolean;
1802
+ /**
1803
+ * How the member's record is handled on departure.
1804
+ */
1805
+ departurePreference: "purge" | "tombstone" | "historical" | "policydefault";
1806
+ /**
1807
+ * The member's slot on the community's membership status list, when allocated.
1808
+ */
1809
+ statusListIndex?: number | null;
1810
+ /**
1811
+ * Id of the member's current Verifiable Membership Credential, if issued.
1812
+ */
1813
+ currentVmcId?: string | null;
1814
+ /**
1815
+ * Id of the member's current role Verifiable Endorsement Credential, if issued.
1816
+ */
1817
+ currentRoleVecId?: string | null;
1818
+ /**
1819
+ * Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.
1820
+ */
1821
+ personhood?: boolean;
1822
+ /**
1823
+ * When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.
1824
+ */
1825
+ personhoodAssertedAt?: string | null;
1826
+ /**
1827
+ * Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.
1828
+ */
1829
+ joinedViaInvitation?: boolean;
1830
+ /**
1831
+ * `id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.
1832
+ */
1833
+ memberVmcId?: string | null;
1834
+ /**
1835
+ * When that reciprocal credential was received. Paired with `memberVmcId`.
1836
+ */
1837
+ memberVmcReceivedAt?: string | null;
1838
+ /**
1839
+ * Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).
1840
+ */
1841
+ extensions: {};
1842
+ }
1843
+ export interface PasskeyVerificationMethod {
1844
+ /**
1845
+ * The verificationMethod id as it appears in the DID document: `<did>#passkey-<base64url(sha256(credentialId))>`. The fragment is content-derived so a verifier can locate this VM by recomputing `sha256(credential.id)`.
1846
+ */
1847
+ id: string;
1848
+ /**
1849
+ * Always `Multikey`. The WebAuthn public key is published in W3C Multikey form so DID resolvers and verifiers need no WebAuthn-specific knowledge to consume it.
1850
+ */
1851
+ type: "Multikey";
1852
+ /**
1853
+ * The DID this verificationMethod is published on (the DID being augmented).
1854
+ */
1855
+ controller: string;
1856
+ /**
1857
+ * W3C Multikey (multibase) encoding of the WebAuthn credential public key. This is the value a verifier validates a WebAuthn assertion against. Re-derived server-side from the attestation at enrolment — never trusted from the browser (see vta/passkey-vms/enroll-submit).
1858
+ */
1859
+ publicKeyMultibase: string;
1860
+ /**
1861
+ * The WebAuthn `credential.id` (base64url, no padding). Lets a verifier recompute `sha256(credentialId)` and match the assertion to this VM's `id` fragment.
1862
+ */
1863
+ webauthnCredentialId: string;
1864
+ /**
1865
+ * Transport hints reported by the authenticator (e.g. `internal`, `hybrid`, `usb`, `nfc`, `ble`). Advisory only — verifiers MUST NOT make trust decisions based on transport hints.
1866
+ */
1867
+ webauthnTransports?: string[];
1868
+ /**
1869
+ * Optional operator-supplied human-readable label (e.g. "MacBook Touch ID"). Informational; not authoritative and not a security input.
1870
+ */
1871
+ label?: string;
1872
+ }
1873
+ /**
1874
+ * A community's published position on personhood.
1875
+ *
1876
+ * DTG Credentials §Personhood Credentials places PHC status here rather than in the credential — "PHC status is determined by governance and trust registries, not by credential structure" — so a verifier deciding whether a VMC carries personhood weight reads this, not the credential's type array. §Governance Considerations item 1 makes the acceptable-IDVP list the community's to define and publish.
1877
+ *
1878
+ * Every member is a declaration, not an enforcement: what a community actually accepts is decided by its own policy. Absent means the community has not published a position, which is not the same as asserting the negative.
1879
+ */
1880
+ export interface PersonhoodGovernance {
1881
+ /**
1882
+ * Governance requires that members are real humans. Defaults to `false` when absent: a community that has not considered the question asserts nothing, which is the only safe default for a claim a verifier may rely on.
1883
+ */
1884
+ realHuman?: boolean;
1885
+ /**
1886
+ * Governance requires that each person holds at most one membership in **this** community. Per-community by definition — the glossary says "exactly one membership in that VTC" — so a single community can satisfy it without any network above it.
1887
+ */
1888
+ singleMembership?: boolean;
1889
+ /**
1890
+ * DIDs of the identity-verification providers whose credentials this community accepts as personhood evidence. A community that vets its own members in person lists its own community DID here — it is acting as its own IDVP, which §IDVC permits. An empty list means no list has been published, not that everything is accepted.
1891
+ */
1892
+ acceptedIdvps?: string[];
1893
+ /**
1894
+ * Where the governance framework these assertions refer to can be read.
1895
+ */
1896
+ governanceFrameworkUrl?: string | null;
1897
+ }
1898
+ export interface PolicyChangedEvent_SyncV0_1 {
1899
+ kind: "policy.changed";
1900
+ seq: number;
1901
+ occurredAt: string;
1902
+ policyId: string;
1903
+ change: "created" | "updated" | "deleted";
1904
+ }
1905
+ export interface PolicyChangedEvent_SyncV0_2 {
1906
+ kind: "policyChanged";
1907
+ seq: number;
1908
+ occurredAt: string;
1909
+ policyId: string;
1910
+ change: "created" | "updated" | "deleted";
1911
+ }
1912
+ export interface PolicyDecision_PolicyV0_1 {
1913
+ decision: "allow" | "deny" | "require_step_up";
1914
+ /**
1915
+ * When decision == "allow", whether the maintainer should proxy-login or release-for-fill. Default: proxy.
1916
+ */
1917
+ mode?: "proxy" | "fill";
1918
+ /**
1919
+ * When decision == "require_step_up", which method to demand.
1920
+ */
1921
+ stepUp?: {
1922
+ method: "webauthn-uv" | "push-approval" | "totp";
1923
+ ttlSeconds?: number;
1924
+ };
1925
+ /**
1926
+ * When decision == "allow", maximum lifetime of the issued session blob / released secret.
1927
+ */
1928
+ ttlSecondsCap?: number;
1929
+ /**
1930
+ * Human-readable explanation for diagnostic display.
1931
+ */
1932
+ explanation?: string;
1933
+ }
1934
+ export interface PolicyDecision_PolicyV0_2 {
1935
+ decision: "allow" | "deny" | "requireStepUp";
1936
+ /**
1937
+ * When decision == "allow", whether the maintainer should proxy-login or release-for-fill. Default: proxy.
1938
+ */
1939
+ mode?: "proxy" | "fill";
1940
+ /**
1941
+ * When decision == "require_step_up", which method to demand.
1942
+ */
1943
+ stepUp?: {
1944
+ method: "webauthnUv" | "pushApproval" | "totp";
1945
+ ttlSeconds?: number;
1946
+ };
1947
+ /**
1948
+ * When decision == "allow", maximum lifetime of the issued session blob / released secret.
1949
+ */
1950
+ ttlSecondsCap?: number;
1951
+ /**
1952
+ * Human-readable explanation for diagnostic display.
1953
+ */
1954
+ explanation?: string;
1955
+ }
1956
+ export interface PolicyDecision_PolicyV0_3 {
1957
+ decision: "allow" | "deny" | "requireStepUp" | "requireConsent";
1958
+ /**
1959
+ * Vault-flow-specific. When decision == "allow" for a proxy-login/release request, whether the maintainer should proxy-login or release-for-fill. Default: proxy. Ignored for other task kinds.
1960
+ */
1961
+ mode?: "proxy" | "fill";
1962
+ /**
1963
+ * When decision == "requireStepUp", which method to demand.
1964
+ */
1965
+ stepUp?: {
1966
+ method: "webauthnUv" | "pushApproval" | "totp";
1967
+ ttlSeconds?: number;
1968
+ };
1969
+ /**
1970
+ * When decision == "requireConsent", the approver constraint the enforcement point MUST satisfy — a signed consent decision from the named set, bound to the request's payloadDigest — before executing.
1971
+ */
1972
+ requireConsent?: {
1973
+ /**
1974
+ * Named set of enrolled approver devices permitted to approve this task (resolved by the enforcement point against its device registry).
1975
+ */
1976
+ approverSet: string;
1977
+ /**
1978
+ * When true, the device that issued the request MUST NOT be accepted as the approver — forcing cross-device approval so a compromised requesting device cannot self-approve.
1979
+ */
1980
+ excludeRequester?: boolean;
1981
+ /**
1982
+ * Number of distinct approvers from the set required before the task may execute.
1983
+ */
1984
+ minApprovals?: number;
1985
+ };
1986
+ /**
1987
+ * When decision == "allow", maximum lifetime of any issued session blob / released secret.
1988
+ */
1989
+ ttlSecondsCap?: number;
1990
+ /**
1991
+ * Human-readable explanation for diagnostic display.
1992
+ */
1993
+ explanation?: string;
1994
+ }
1995
+ /**
1996
+ * The structured input fed to a policy evaluator on every vault/proxy-login, vault/release, and policy/evaluate call.
1997
+ */
1998
+ export interface PolicyInput_PolicyV0_1 {
1999
+ request: {
2000
+ kind: "proxy_login" | "release" | "step_up_response";
2001
+ };
2002
+ site: SiteTarget_VaultV0_1;
2003
+ contextId: string;
2004
+ consumer: {
2005
+ did: string;
2006
+ kind?: ConsumerKind_DeviceV0_1;
2007
+ deviceId?: string;
2008
+ lastUserVerificationAt?: string;
2009
+ networkClass?: "unknown" | "home" | "corp" | "public" | "vpn";
2010
+ };
2011
+ }
2012
+ /**
2013
+ * The structured input fed to a policy evaluator on every vault/proxy-login, vault/release, and policy/evaluate call.
2014
+ */
2015
+ export interface PolicyInput_PolicyV0_2 {
2016
+ request: {
2017
+ kind: "proxyLogin" | "release" | "stepUpResponse";
2018
+ };
2019
+ site: SiteTarget_VaultV0_2;
2020
+ contextId: string;
2021
+ consumer: {
2022
+ did: string;
2023
+ kind?: ConsumerKind_DeviceV0_2;
2024
+ deviceId?: string;
2025
+ lastUserVerificationAt?: string;
2026
+ networkClass?: "unknown" | "home" | "corp" | "public" | "vpn";
2027
+ };
2028
+ }
2029
+ /**
2030
+ * The structured input fed to a policy evaluator before dispatching a task. Generalised in 0.3 from the vault-flow triad to any Trust Task: `request.typeUri` identifies the task and `request.sideEffects` / `request.exposure` carry the authoritative SPEC §7.3 classifications the evaluator derives from the compiled handler.
2031
+ */
2032
+ export interface PolicyInput_PolicyV0_3 {
2033
+ request: {
2034
+ /**
2035
+ * Type URI of the task being authorized — the evaluator's primary discriminator (e.g. https://trusttasks.org/spec/did-management/did/delete/0.1).
2036
+ */
2037
+ typeUri: string;
2038
+ /**
2039
+ * Optional coarse category retained from 0.2 (`proxyLogin` | `release` | `stepUpResponse` | …) for policies that switch on it. `typeUri` is authoritative in 0.3.
2040
+ */
2041
+ kind?: string;
2042
+ /**
2043
+ * The identifier the task acts on — the value at the spec's `subjectPath` (usually a DID). The evaluator checks the consumer's authority to act on this subject. Absent for subjectless tasks (discovery, list).
2044
+ */
2045
+ subject?: string;
2046
+ /**
2047
+ * Multibase-encoded multihash over the RFC 8785 (JCS) canonicalization of the payload, salted with the request challenge, present when a delegated-execution consent flow must bind approval to this exact payload. Absent when no consent binding is in play.
2048
+ */
2049
+ payloadDigest?: DigestMultibase;
2050
+ /**
2051
+ * Authoritative integrity class (SPEC §7.3 item 13). The evaluator MUST derive this from the compiled handler it is about to invoke, not from the wire — the registry's declared value is advisory only.
2052
+ */
2053
+ sideEffects: "none" | "mutating" | "destructive";
2054
+ /**
2055
+ * Authoritative exposure class (SPEC §7.3 item 14), likewise derived from the compiled handler. `discloses` is the sensitivity of returned data; `actsAsSubject` is whether the subject's authority is exercised.
2056
+ */
2057
+ exposure: {
2058
+ discloses: "none" | "metadata" | "secret";
2059
+ actsAsSubject: boolean;
2060
+ };
2061
+ };
2062
+ site: SiteTarget_VaultV0_2;
2063
+ contextId: string;
2064
+ consumer: {
2065
+ did: string;
2066
+ kind?: ConsumerKind_DeviceV0_2;
2067
+ deviceId?: string;
2068
+ lastUserVerificationAt?: string;
2069
+ networkClass?: "unknown" | "home" | "corp" | "public" | "vpn";
2070
+ };
2071
+ }
2072
+ export interface PolicyModule {
2073
+ id: string;
2074
+ /**
2075
+ * Human-readable name (e.g. "default vault policy", "bank-site step-up").
2076
+ */
2077
+ name: string;
2078
+ description?: string;
2079
+ /**
2080
+ * Rego source code. The maintainer's evaluator entry point is the package's `decision` rule, returning a PolicyDecision.
2081
+ */
2082
+ module: string;
2083
+ /**
2084
+ * List of trust contexts this policy applies to. Empty array = applies to all contexts (the default policy).
2085
+ */
2086
+ appliesTo?: string[];
2087
+ /**
2088
+ * When multiple policies match a request, evaluation order is by priority descending. The first to return a non-`null` decision wins.
2089
+ */
2090
+ priority?: number;
2091
+ enabled?: boolean;
2092
+ version: number;
2093
+ createdAt: string;
2094
+ updatedAt: string;
2095
+ ext?: Ext;
2096
+ }
2097
+ /**
2098
+ * Server-issued options for `navigator.credentials.create({ publicKey: ... })`. Mirrors the WebAuthn Level 2 `PublicKeyCredentialCreationOptions` dictionary; binary fields are base64url-encoded strings (rather than ArrayBuffers) so the value is JSON-safe over the wire.
2099
+ */
2100
+ export interface PublicKeyCredentialCreationOptions {
2101
+ /**
2102
+ * Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.
2103
+ *
2104
+ * This component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.
2105
+ *
2106
+ * Structure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later.
2107
+ */
2108
+ extensions?: {};
2109
+ /**
2110
+ * base64url-encoded one-time nonce.
2111
+ */
2112
+ challenge: string;
2113
+ rp: {
2114
+ id: string;
2115
+ name: string;
2116
+ };
2117
+ user: {
2118
+ /**
2119
+ * base64url-encoded user handle. SHOULD be a stable opaque identifier — never reuse a human-readable username here.
2120
+ */
2121
+ id: string;
2122
+ name: string;
2123
+ displayName: string;
2124
+ };
2125
+ /**
2126
+ * @minItems 1
2127
+ */
2128
+ pubKeyCredParams: [
2129
+ {
2130
+ type: "public-key";
2131
+ /**
2132
+ * COSE algorithm identifier (e.g. -8 Ed25519, -7 ES256, -257 RS256).
2133
+ */
2134
+ alg: number;
2135
+ },
2136
+ ...{
2137
+ type: "public-key";
2138
+ /**
2139
+ * COSE algorithm identifier (e.g. -8 Ed25519, -7 ES256, -257 RS256).
2140
+ */
2141
+ alg: number;
2142
+ }[]
2143
+ ];
2144
+ timeout?: number;
2145
+ excludeCredentials?: PublicKeyCredentialDescriptor[];
2146
+ authenticatorSelection?: {
2147
+ authenticatorAttachment?: "platform" | "cross-platform";
2148
+ requireResidentKey?: boolean;
2149
+ residentKey?: "discouraged" | "preferred" | "required";
2150
+ userVerification?: "discouraged" | "preferred" | "required";
2151
+ };
2152
+ attestation?: "none" | "indirect" | "direct" | "enterprise";
2153
+ }
2154
+ export interface PublicKeyCredentialDescriptor {
2155
+ type: "public-key";
2156
+ /**
2157
+ * base64url-encoded credential id.
2158
+ */
2159
+ id: string;
2160
+ transports?: ("usb" | "nfc" | "ble" | "internal" | "hybrid")[];
2161
+ }
2162
+ /**
2163
+ * Server-issued options for `navigator.credentials.get({ publicKey: ... })`.
2164
+ */
2165
+ export interface PublicKeyCredentialRequestOptions {
2166
+ /**
2167
+ * Client extension inputs, per the WebAuthn Level 2 `AuthenticationExtensionsClientInputs` dictionary.
2168
+ *
2169
+ * This component states that it mirrors the W3C dictionary, and that dictionary defines `extensions`. Omitting it while closing the object with `additionalProperties: false` made the two claims contradict each other: a server emitting standard WebAuthn options could not conform, and the widely-used server libraries emit this member by default.
2170
+ *
2171
+ * Structure is deliberately unconstrained. The set of extensions is open and registered outside this framework, so enumerating them here would date the schema against a registry it does not own — and a closed list would reproduce the original defect one revision later.
2172
+ */
2173
+ extensions?: {};
2174
+ /**
2175
+ * base64url-encoded one-time nonce.
2176
+ */
2177
+ challenge: string;
2178
+ timeout?: number;
2179
+ rpId?: string;
2180
+ allowCredentials?: PublicKeyCredentialDescriptor[];
2181
+ userVerification?: "discouraged" | "preferred" | "required";
2182
+ }
2183
+ export interface Apns {
2184
+ platform: "apns";
2185
+ /**
2186
+ * APNs device token (hex string issued by Apple Push Notification service).
2187
+ */
2188
+ token: string;
2189
+ /**
2190
+ * APNs topic — typically the app bundle identifier the gateway pushes to.
2191
+ */
2192
+ topic: string;
2193
+ /**
2194
+ * Which APNs environment issued the token. Maintainers route to the matching APNs endpoint.
2195
+ */
2196
+ environment?: "sandbox" | "production";
2197
+ }
2198
+ export interface Fcm {
2199
+ platform: "fcm";
2200
+ /**
2201
+ * Firebase Cloud Messaging registration token. The gateway sends a data message (not a notification message) so the app controls wake and display.
2202
+ */
2203
+ token: string;
2204
+ }
2205
+ export interface WebPush {
2206
+ platform: "webpush";
2207
+ /**
2208
+ * RFC 8030 Web Push subscription endpoint.
2209
+ */
2210
+ endpoint: string;
2211
+ /**
2212
+ * Web Push (RFC 8291) encryption keys. Note: per the push binding the payload remains contentless regardless of this encryption.
2213
+ */
2214
+ keys: {
2215
+ /**
2216
+ * base64url-encoded P-256 ECDH public key.
2217
+ */
2218
+ p256dh: string;
2219
+ /**
2220
+ * base64url-encoded auth secret.
2221
+ */
2222
+ auth: string;
2223
+ };
2224
+ }
2225
+ /**
2226
+ * Optional TRQP query context. `time` requests evaluation as of a given instant; `locator` is an authority-defined hint for locating records.
2227
+ */
2228
+ export interface QueryContext {
2229
+ /**
2230
+ * Evaluate the query as of this RFC3339 (Z offset) instant. Blank/absent uses current server time.
2231
+ */
2232
+ time?: string;
2233
+ /**
2234
+ * Optional hint for systems that need extra information to locate the records in question (authorization queries).
2235
+ */
2236
+ locator?: string;
2237
+ [k: string]: string | undefined;
2238
+ }
2239
+ /**
2240
+ * Per-account queued-message limits. A value of -1 means unlimited; a member omitted on a change request leaves that limit unchanged.
2241
+ */
2242
+ export interface QueueLimits {
2243
+ /**
2244
+ * Maximum queued send messages; -1 = unlimited.
2245
+ */
2246
+ sendQueueLimit?: number;
2247
+ /**
2248
+ * Maximum queued receive messages; -1 = unlimited.
2249
+ */
2250
+ receiveQueueLimit?: number;
2251
+ }
2252
+ /**
2253
+ * A passkey already bound to a subject, as listed by `auth/passkey/list` and targeted by `auth/passkey/revoke/*`. This is the auth service's own management view of a credential — not a WebAuthn dictionary — so its members are camelCase per SPEC.md §4.10. The exception is `transports`, whose values are the externally-owned WebAuthn transport tokens and are carried verbatim.
2254
+ */
2255
+ export interface RegisteredCredential {
2256
+ /**
2257
+ * Durable identifier for this credential, as issued by `auth/passkey/enroll/finish`: the base64url-encoded WebAuthn credential id. Opaque to the producer — it MUST be echoed verbatim when revoking and MUST NOT be parsed.
2258
+ */
2259
+ credentialId: string;
2260
+ /**
2261
+ * Operator-facing label captured at enrollment (e.g. "Alice's MacBook Pro"). Absent when the subject enrolled without one. Consumers MUST NOT synthesize a label, because an invented one is indistinguishable from a chosen one to somebody deciding which credential to revoke.
2262
+ */
2263
+ deviceLabel?: string;
2264
+ /**
2265
+ * WebAuthn transport hints reported by the authenticator at enrollment (`usb`, `nfc`, `ble`, `internal`, `hybrid`, …). Externally owned and carried verbatim. Deliberately not an enum — unlike `CredentialDescriptor.transports`, which the consumer itself emits, these values were reported by a third-party authenticator, the WebAuthn transport registry grows independently of this specification, and an unrecognized token here is a display concern rather than a validation failure.
2266
+ */
2267
+ transports?: string[];
2268
+ /**
2269
+ * When the credential was bound to the subject.
2270
+ */
2271
+ registeredAt: string;
2272
+ /**
2273
+ * When this credential last completed an assertion. Absent if it never has, or if the consumer does not track usage. Those two cases are deliberately NOT distinguished: a nullable variant cannot survive the round-trip through generated bindings, which map absent and null onto the same optional, so a distinction stated here would not be one any conforming implementation could rely on. Consumers that need to advertise "usage is not tracked" SHOULD say so under `ext`.
2274
+ */
2275
+ lastUsedAt?: string;
2276
+ }
2277
+ /**
2278
+ * A key a patch declined to apply, with the reason.
2279
+ */
2280
+ export interface RejectedKey {
2281
+ key: string;
2282
+ /**
2283
+ * Why the key was rejected — unknown key, wrong type, out-of-range, allowlist mismatch, etc.
2284
+ */
2285
+ reason: string;
2286
+ }
2287
+ /**
2288
+ * One held credential a deferred query asked for, and the claims of it that would be disclosed.
2289
+ */
2290
+ export interface RequestedCredential {
2291
+ /**
2292
+ * The DCQL `credential_query_id` this held credential satisfied.
2293
+ */
2294
+ credentialQueryId: string;
2295
+ /**
2296
+ * The held credential that would satisfy it.
2297
+ */
2298
+ credentialId: string;
2299
+ /**
2300
+ * The claims the query asks to disclose from this credential. An empty array means the query matched the credential without naming claims — a consumer SHOULD treat that as a request for the whole credential and present it to the approver as such.
2301
+ */
2302
+ claims: string[];
2303
+ }
2304
+ /**
2305
+ * The receipt for a successful revocation. Consumers MUST report the family's `alreadyRevoked` / `already_revoked` error when the credential was already revoked, rather than returning a second receipt silently — the caller has to be able to distinguish "I revoked it now" from "it was already gone".
2306
+ *
2307
+ * The counterpart to IssuedCredential: both concern a credential's lifecycle at its issuer.
2308
+ */
2309
+ export interface RevocationReceipt {
2310
+ credentialId: CredentialId;
2311
+ /**
2312
+ * When the revocation was recorded.
2313
+ */
2314
+ revokedAt: string;
2315
+ }
2316
+ /**
2317
+ * The outcome of a rollback. Distinct from ServiceMutationResult because a rollback can legitimately publish nothing: if the previous state already equals the current one there is no change to write, and `kind: "noOp"` says so with `logEntryVersionId` absent. Treating that as a failure would be wrong — the requested state holds — and treating it as an ordinary success would report a log entry that does not exist.
2318
+ */
2319
+ export interface RollbackResult {
2320
+ /**
2321
+ * What the rollback did. `disabled` re-disabled the transport, `enabled` re-advertised it at its prior settings, `updated` restored prior settings on an entry that stayed advertised, and `noOp` means the previous state already matched — nothing was written.
2322
+ */
2323
+ kind: "disabled" | "enabled" | "updated" | "noOp";
2324
+ /**
2325
+ * Version id of the log entry the rollback wrote. **Absent when `kind` is `noOp`**, and present otherwise.
2326
+ */
2327
+ logEntryVersionId?: string;
2328
+ /**
2329
+ * RFC 3339 instant the rollback took effect. Absent for `noOp`.
2330
+ */
2331
+ effectiveAt?: string;
2332
+ /**
2333
+ * Present when rolling back DIDComm left a mediator draining.
2334
+ */
2335
+ drainingMediator?: string;
2336
+ /**
2337
+ * When that drain completes.
2338
+ */
2339
+ drainUntil?: string;
2340
+ /**
2341
+ * The agent's own DID.
2342
+ */
2343
+ vtaDid?: string;
2344
+ /**
2345
+ * True when the entry was written locally but not published — the operator must redeploy before any verifier sees it.
2346
+ */
2347
+ serverless?: boolean;
2348
+ ext?: Ext;
2349
+ }
2350
+ export interface Builtin_VtaV0_1 {
2351
+ type: "builtin";
2352
+ }
2353
+ export interface Global_VtaV0_1 {
2354
+ type: "global";
2355
+ }
2356
+ export interface Context_VtaV0_1 {
2357
+ type: "context";
2358
+ contextId: string;
2359
+ }
2360
+ export interface ServiceInstance {
2361
+ /**
2362
+ * Stable identifier the control plane uses for this instance. SHOULD be derived from the instance's DID (e.g. `did:web:host.example` → `did_web_host_example`) so it survives restarts.
2363
+ */
2364
+ instanceId: string;
2365
+ /**
2366
+ * VID identifying the registered service.
2367
+ */
2368
+ did: string;
2369
+ label?: string;
2370
+ publicUrl?: string;
2371
+ /**
2372
+ * Hosting domains this instance currently serves. Updated by `domain/assign` / `domain/unassign` ack flow.
2373
+ */
2374
+ servedDomains?: string[];
2375
+ lastSeen?: string;
2376
+ ext?: Ext;
2377
+ }
2378
+ /**
2379
+ * The outcome of a change to an advertised service. Every member describes the **log entry the change produced**, because that is what the change actually is: the agent's DID document is the record, and a consumer that treats the response as a mere acknowledgement will miss that a redeploy may be required.
2380
+ */
2381
+ export interface ServiceMutationResult {
2382
+ /**
2383
+ * Version id of the new did:webvh log entry this change wrote. Joins the change to the document's history.
2384
+ */
2385
+ logEntryVersionId: string;
2386
+ /**
2387
+ * RFC 3339 instant the change took effect — the same instant stamped on the new log entry.
2388
+ */
2389
+ effectiveAt: string;
2390
+ /**
2391
+ * Present when the change scheduled a DIDComm drain. Its absence means no drain was scheduled, NOT that a drain finished instantly: a consumer reporting 'done' on an absent value would be right, and one reporting it on a present value would be wrong.
2392
+ */
2393
+ drainUntil?: string;
2394
+ /**
2395
+ * The mediator being drained, when `drainUntil` is present.
2396
+ */
2397
+ drainingMediator?: string;
2398
+ /**
2399
+ * The agent's own DID — subject of the log entry this change wrote. Carried so a caller can follow up without a second round trip.
2400
+ */
2401
+ vtaDid?: string;
2402
+ /**
2403
+ * True when the agent's DID is self-hosted. **The change is persisted locally but NOT published**: the operator must fetch the updated `did.jsonl` and redeploy before any verifier sees it. A consumer that ignores this reports success for a change no one else can observe yet.
2404
+ */
2405
+ serverless?: boolean;
2406
+ ext?: Ext;
2407
+ }
2408
+ /**
2409
+ * What the agent currently advertises for one service. `enabled` is the only member every kind carries; the rest are kind-specific and absent when they do not apply. Note that `enabled: false` and an absent entry are different: the first says the agent knows about this transport and is not advertising it, the second says it has never been configured.
2410
+ */
2411
+ export interface ServiceState {
2412
+ kind: ServiceKind;
2413
+ /**
2414
+ * Whether the agent currently advertises this transport in its DID document.
2415
+ */
2416
+ enabled: boolean;
2417
+ /**
2418
+ * The mediator this transport routes through. Present for `didcomm` and `tsp`.
2419
+ */
2420
+ mediatorDid?: string;
2421
+ /**
2422
+ * The advertised endpoint. Present for `rest` and `webauthn`.
2423
+ */
2424
+ url?: string;
2425
+ /**
2426
+ * RFC 3339 instant at which a scheduled drain completes. Present only while a `didcomm` mediator is draining — see `vta/services/drain/list`.
2427
+ */
2428
+ drainsUntil?: string;
2429
+ ext?: Ext;
2430
+ }
2431
+ /**
2432
+ * A logical authentication context bound to a subject. Producers and consumers exchange Session-shaped data in challenge issuance, authentication responses, and introspection (whoami).
2433
+ */
2434
+ export interface Session {
2435
+ /**
2436
+ * Opaque, server-chosen session identifier. Stable for the lifetime of the session. Consumers MUST treat the value as opaque; no structure is implied.
2437
+ */
2438
+ id: string;
2439
+ /**
2440
+ * The authenticated party's VID (typically a DID URL).
2441
+ */
2442
+ subject: string;
2443
+ /**
2444
+ * ISO-8601 timestamp when the session was created.
2445
+ */
2446
+ issuedAt: string;
2447
+ /**
2448
+ * ISO-8601 timestamp when the session ceases to be valid. Producers SHOULD refresh before this time; consumers MUST reject after.
2449
+ */
2450
+ expiresAt: string;
2451
+ /**
2452
+ * Authentication Methods References per [RFC 8176]. Typical values: "did" (challenge-response), "passkey" (WebAuthn), "vta" (verifiable-trust agent approval). Multi-factor sessions list every method used.
2453
+ *
2454
+ * @minItems 1
2455
+ */
2456
+ amr?: [string, ...string[]];
2457
+ /**
2458
+ * Authentication Context Class Reference per [OIDC Core §2]. Profiles define their own values; the recommended set is "aal1" (single-factor DID auth), "aal2" (a second possession-or-biometric factor confirmed), and "aal3" (hardware-bound second factor).
2459
+ */
2460
+ acr?: string;
2461
+ /**
2462
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
2463
+ */
2464
+ ext?: Ext;
2465
+ }
2466
+ export interface WebOrigin_VaultV0_1 {
2467
+ kind: "web-origin";
2468
+ /**
2469
+ * Web origin per RFC 6454 (scheme + host + optional port), e.g. "https://github.com". Compared by exact string equality after canonicalisation (lowercase host, default port elided). Consumers wanting subdomain coverage SHOULD add multiple targets, not encode a wildcard.
2470
+ */
2471
+ origin: string;
2472
+ }
2473
+ export interface Did_VaultV0_1 {
2474
+ kind: "did";
2475
+ /**
2476
+ * DID identifying the relying party (e.g. did:web:rp.example). The vault maintainer is responsible for any DID resolution required to act on this entry.
2477
+ */
2478
+ did: string;
2479
+ }
2480
+ export interface IosApp_VaultV0_1 {
2481
+ kind: "ios-app";
2482
+ /**
2483
+ * iOS bundle identifier in reverse-DNS form (e.g. "com.github.stwalkerster.codehub"). Compared by exact string equality. Matches when an iOS Companion identifies the requesting app via its bundle id (typically via the OS Credential Manager integration).
2484
+ */
2485
+ bundleId: string;
2486
+ /**
2487
+ * Optional Apple Developer Team identifier (10-character alphanumeric). When supplied, the maintainer SHOULD also verify the team id of the requesting app before matching — defense in depth against bundle-id squatting on jailbroken devices.
2488
+ */
2489
+ teamId?: string;
2490
+ }
2491
+ export interface AndroidApp_VaultV0_1 {
2492
+ kind: "android-app";
2493
+ /**
2494
+ * Android package name in reverse-DNS form (e.g. "com.github.android").
2495
+ */
2496
+ packageName: string;
2497
+ /**
2498
+ * SHA-256 fingerprints of the app's signing certificates, in colon-separated hex (the format `apksigner` and the Play Console emit). At least one fingerprint MUST be present. The maintainer matches when ANY of the provided fingerprints matches the requesting app's signature — this supports apps signed by multiple keys (e.g. during certificate rotation via Play App Signing).
2499
+ *
2500
+ * @minItems 1
2501
+ */
2502
+ sha256CertFingerprints: [string, ...string[]];
2503
+ }
2504
+ export interface WebOrigin_VaultV0_2 {
2505
+ kind: "webOrigin";
2506
+ /**
2507
+ * Web origin per RFC 6454 (scheme + host + optional port), e.g. "https://github.com". Compared by exact string equality after canonicalisation (lowercase host, default port elided). Consumers wanting subdomain coverage SHOULD add multiple targets, not encode a wildcard.
2508
+ */
2509
+ origin: string;
2510
+ }
2511
+ export interface Did_VaultV0_2 {
2512
+ kind: "did";
2513
+ /**
2514
+ * DID identifying the relying party (e.g. did:web:rp.example). The vault maintainer is responsible for any DID resolution required to act on this entry.
2515
+ */
2516
+ did: string;
2517
+ }
2518
+ export interface IosApp_VaultV0_2 {
2519
+ kind: "iosApp";
2520
+ /**
2521
+ * iOS bundle identifier in reverse-DNS form (e.g. "com.github.stwalkerster.codehub"). Compared by exact string equality. Matches when an iOS Companion identifies the requesting app via its bundle id (typically via the OS Credential Manager integration).
2522
+ */
2523
+ bundleId: string;
2524
+ /**
2525
+ * Optional Apple Developer Team identifier (10-character alphanumeric). When supplied, the maintainer SHOULD also verify the team id of the requesting app before matching — defense in depth against bundle-id squatting on jailbroken devices.
2526
+ */
2527
+ teamId?: string;
2528
+ }
2529
+ export interface AndroidApp_VaultV0_2 {
2530
+ kind: "androidApp";
2531
+ /**
2532
+ * Android package name in reverse-DNS form (e.g. "com.github.android").
2533
+ */
2534
+ packageName: string;
2535
+ /**
2536
+ * SHA-256 fingerprints of the app's signing certificates, in colon-separated hex (the format `apksigner` and the Play Console emit). At least one fingerprint MUST be present. The maintainer matches when ANY of the provided fingerprints matches the requesting app's signature — this supports apps signed by multiple keys (e.g. during certificate rotation via Play App Signing).
2537
+ *
2538
+ * @minItems 1
2539
+ */
2540
+ sha256CertFingerprints: [string, ...string[]];
2541
+ }
2542
+ /**
2543
+ * The prior state the effects were computed against. A human in the loop makes the approval window minutes wide, so the state can move underneath a pending approval. The executor asserts this pin still holds at execution and refuses otherwise — without it, a lost update silently executes against state the approver never saw.
2544
+ */
2545
+ export interface StatePin {
2546
+ /**
2547
+ * Identifier of the pinned resource (usually the subject DID).
2548
+ */
2549
+ resource: string;
2550
+ /**
2551
+ * Opaque version identifier of the prior state (e.g. a did:webvh `versionId`). Compared for equality at execution; the executor MUST NOT attempt to order or interpret it.
2552
+ */
2553
+ version: string;
2554
+ }
2555
+ export interface StepUpProof_VaultV0_1 {
2556
+ kind: "webauthn-uv" | "push-approval" | "totp";
2557
+ /**
2558
+ * Format depends on kind: WebAuthn assertion (base64url), DIDComm approval-response message id, or 6–8-digit TOTP code.
2559
+ */
2560
+ proof: string;
2561
+ /**
2562
+ * Maintainer-issued challenge id the proof responds to.
2563
+ */
2564
+ challengeId: string;
2565
+ }
2566
+ export interface StepUpProof_VaultV0_2 {
2567
+ kind: "webauthnUv" | "pushApproval" | "totp";
2568
+ /**
2569
+ * Format depends on kind: WebAuthn assertion (base64url), DIDComm approval-response message id, or 6–8-digit TOTP code.
2570
+ */
2571
+ proof: string;
2572
+ /**
2573
+ * Maintainer-issued challenge id the proof responds to.
2574
+ */
2575
+ challengeId: string;
2576
+ }
2577
+ /**
2578
+ * An access token (typically short-lived JWT) paired with an optional refresh token (typically long-lived opaque string). The shapes follow OAuth 2.0 (RFC 6749 §5.1) conventions but are not coupled to any particular OAuth profile.
2579
+ */
2580
+ export interface TokenBundle {
2581
+ /**
2582
+ * Bearer-style access token. Consumers presenting this token to downstream services prove the holder of the original session. Format is consumer-defined — JWT is common, but opaque strings are also valid.
2583
+ */
2584
+ accessToken: string;
2585
+ /**
2586
+ * Long-lived token redeemable via auth/refresh for a new access token. MAY be absent when the issuer does not support refresh.
2587
+ */
2588
+ refreshToken?: string;
2589
+ /**
2590
+ * Token presentation scheme. Almost always "Bearer"; reserved for future schemes.
2591
+ */
2592
+ tokenType: string;
2593
+ /**
2594
+ * Seconds from issuance until the access token expires.
2595
+ */
2596
+ expiresIn: number;
2597
+ /**
2598
+ * Seconds from issuance until the refresh token expires, when one was issued.
2599
+ */
2600
+ refreshExpiresIn?: number;
2601
+ /**
2602
+ * Capability tags effective on this token. Format is consumer-defined; the framework imposes no syntax.
2603
+ */
2604
+ scope?: string[];
2605
+ /**
2606
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
2607
+ */
2608
+ ext?: Ext;
2609
+ }
2610
+ export interface TrustRecord {
2611
+ entity_id: string;
2612
+ authority_id: string;
2613
+ action: string;
2614
+ resource: string;
2615
+ /**
2616
+ * Present on recognition records: whether the action+resource is recognised.
2617
+ */
2618
+ recognized?: boolean;
2619
+ /**
2620
+ * Present on authorization records: whether the action+resource authorization is confirmed.
2621
+ */
2622
+ authorized?: boolean;
2623
+ /**
2624
+ * Opaque governance context attached to the record.
2625
+ */
2626
+ context?: {
2627
+ [k: string]: unknown | undefined;
2628
+ };
2629
+ record_type: RecordType;
2630
+ }
2631
+ /**
2632
+ * Trust Spanning Protocol message (https://trustoverip.github.io/tswg-tsp-specification/). Reserved variant; no OpenVTC component reads or emits this today. Listed in the union so implementations can declare intent to use TSP in discovery and so consumers reject `tsp-message` envelopes explicitly (`envelopeUnsupported`) until they're wired up — rather than silently failing in DIDComm parsing.
2633
+ */
2634
+ export interface TspMessageEnvelope_VaultV0_1 {
2635
+ envelope: "tsp-message";
2636
+ /**
2637
+ * Base64url-encoded TSP message bytes. Format reference: https://trustoverip.github.io/tswg-tsp-specification/#message-format
2638
+ */
2639
+ message: string;
2640
+ }
2641
+ /**
2642
+ * Trust Spanning Protocol message (https://trustoverip.github.io/tswg-tsp-specification/). Reserved variant; no OpenVTC component reads or emits this today. Listed in the union so implementations can declare intent to use TSP in discovery and so consumers reject `tspMessage` envelopes explicitly (`envelopeUnsupported`) until they're wired up — rather than silently failing in DIDComm parsing.
2643
+ */
2644
+ export interface TspMessageEnvelope_VaultV0_2 {
2645
+ envelope: "tspMessage";
2646
+ /**
2647
+ * Base64url-encoded TSP message bytes. Format reference: https://trustoverip.github.io/tswg-tsp-specification/#message-format
2648
+ */
2649
+ message: string;
2650
+ }
2651
+ export interface VaultDeletedEvent_SyncV0_1 {
2652
+ kind: "vault.deleted";
2653
+ seq: number;
2654
+ occurredAt: string;
2655
+ id: string;
2656
+ contextId: string;
2657
+ graceUntil: string;
2658
+ }
2659
+ export interface VaultDeletedEvent_SyncV0_2 {
2660
+ kind: "vaultDeleted";
2661
+ seq: number;
2662
+ occurredAt: string;
2663
+ id: string;
2664
+ contextId: string;
2665
+ graceUntil: string;
2666
+ }
2667
+ export interface VaultEntry_VaultV0_1 {
2668
+ /**
2669
+ * Opaque vault-maintainer-assigned identifier for the entry. ULID/UUID/base32 are common; the wire spec only requires non-empty string equality.
2670
+ */
2671
+ id: string;
2672
+ /**
2673
+ * Identifier of the trust context (persona) the entry belongs to. Opaque string interpreted by the vault maintainer; corresponds to a single ContextRecord on the VTA side.
2674
+ */
2675
+ contextId: string;
2676
+ /**
2677
+ * One or more binding targets — web origins, mobile app identifiers, and/or DIDs — that this credential applies to. A request from any matching target uses this entry. A typical entry for a service that exists as both a website and mobile apps will list a web origin, an iOS bundle id, and an Android package id; passkeys for that service typically list only the origin (because iOS Associated Domains and Android Asset Links bind apps to the domain at the OS level).
2678
+ *
2679
+ * @minItems 1
2680
+ */
2681
+ targets: [SiteTarget_VaultV0_1, ...SiteTarget_VaultV0_1[]];
2682
+ /**
2683
+ * Human-readable display name (e.g. "Work GitHub", "Personal bank — checking"). Maintainers MAY enforce a maximum length; the wire spec does not.
2684
+ */
2685
+ label: string;
2686
+ /**
2687
+ * Discriminator for the kind of secret this entry holds. The secret material itself is NEVER returned in metadata views; the kind is exposed so consumers can render an appropriate UI affordance and so policy decisions can route by kind.
2688
+ */
2689
+ secretKind: SecretKind_VaultV0_1;
2690
+ /**
2691
+ * User-defined tags for organisation and filtering (e.g. ["family", "finance"]). Maintainers MAY enforce a maximum count; the wire spec does not.
2692
+ */
2693
+ tags?: string[];
2694
+ /**
2695
+ * Non-sensitive notes the user attached to the entry. Visible in metadata view (suitable for support contact, account number, expiry policy memos). SENSITIVE notes belong in the secret payload as a `secureNotes` field — those are only released by vault/release/0.1.
2696
+ */
2697
+ notes?: string;
2698
+ /**
2699
+ * Optional URI of an icon to display in the consumer UI. Maintainers MAY fetch and cache; consumers SHOULD treat as untrusted content and fetch via a sandboxed pipeline.
2700
+ */
2701
+ favicon?: string;
2702
+ /**
2703
+ * Opaque maintainer-defined selector strings fed to the policy engine when this entry is requested (e.g. "recent_uv_required", "network_class=corp", "step_up_push"). Consumers MUST treat selectors as opaque; they exist for policy authoring on the maintainer side.
2704
+ */
2705
+ selectors?: string[];
2706
+ /**
2707
+ * Names of additional fields the user has attached (e.g. ["security-question-1", "account-number"]). The VALUES live in the secret payload and are only delivered by vault/release/0.1. Exposing names in metadata lets the consumer render the right form layout before requesting release.
2708
+ */
2709
+ customFieldNames?: string[];
2710
+ /**
2711
+ * References to encrypted blobs associated with the entry (recovery codes, PEM files, screenshots of authenticator setup). The blobs themselves are fetched via a separate mechanism the maintainer documents; metadata view exposes only the descriptor.
2712
+ */
2713
+ attachments?: AttachmentRef_VaultV0_1[];
2714
+ /**
2715
+ * Optional time after which the credential is no longer expected to be valid (e.g. an OAuth refresh token's known expiry, a time-limited API token, an enterprise password rotation policy). Maintainers MAY surface this in the consumer UI as a warning.
2716
+ */
2717
+ expiresAt?: string;
2718
+ /**
2719
+ * Set by the maintainer (via HIBP integration or equivalent) when the password material associated with this entry is known to appear in a public breach. Consumers SHOULD surface this prominently. Cleared when the user rotates the password and the new password is not in any known breach.
2720
+ */
2721
+ breachedAt?: string;
2722
+ /**
2723
+ * Set whenever the password component of the secret payload is rotated. Maintainers MUST update this on every secret-material change for entries of kind `password` (or any kind that carries a password component). Used by consumers to surface rotation-overdue warnings.
2724
+ */
2725
+ passwordChangedAt?: string;
2726
+ createdAt: string;
2727
+ /**
2728
+ * VID of the consumer that originally created the entry.
2729
+ */
2730
+ createdBy?: string;
2731
+ updatedAt: string;
2732
+ /**
2733
+ * VID of the consumer that last modified the entry.
2734
+ */
2735
+ updatedBy?: string;
2736
+ /**
2737
+ * Most recent time the entry was used (either released or proxy-login performed). Maintainers MAY return this with reduced precision (e.g. hour-floored) when releasing to a less-trusted consumer.
2738
+ */
2739
+ lastUsedAt?: string;
2740
+ /**
2741
+ * Monotonic version counter incremented on every mutation. Used by consumers for optimistic-concurrency checks on vault/upsert and as the seq baseline for vault/sync.
2742
+ */
2743
+ version: number;
2744
+ /**
2745
+ * Optional cached DID the entry will act AS for DID-shaped flows — mirrors the `did` field of the entry's secret payload when `secretKind` carries one (`did-self-issued`, `didcomm-peer`). Absent for kinds that have no DID concept (`password`, `passkey`, `oauth-tokens`, `bearer-token`, `ssh-key`, `custom`). MAINTAINER-DERIVED, NOT CONSUMER-SUPPLIED: the maintainer MUST recompute this from the canonical secret at every upsert / secret rotation; a producer-supplied value on `vault/upsert/0.1` MUST be ignored (no error, but no honour). Read-only on the wire, present in metadata views so consumers can drive RP-side flows (e.g. fetch `/auth/challenge` keyed on the principal DID before requesting a proxy-login) without releasing the secret.
2746
+ */
2747
+ principalDid?: string;
2748
+ /**
2749
+ * Archival-lifecycle state of this entry. Absent means `active`, so a maintainer that models no lifecycle omits it and every existing document stays valid. Deliberately carries no JSON Schema `default`: a declared default is materialised by generated bindings, which would make an absent `status` reappear as an explicit `"active"` on re-serialisation and break round-trip idempotence for every existing document. This member is what makes `vault/list`'s `status: "all"` selector usable: that view returns entries in every state by design, and without a state on the entry itself a consumer cannot tell which is which. An `archived` entry is hidden from ordinary listings but intact; a `deleted` entry is a tombstone inside its grace window, still restorable until `graceUntil` passes.
2750
+ */
2751
+ status?: "active" | "archived" | "deleted";
2752
+ /**
2753
+ * When the entry was archived. Present iff `status` is `archived`.
2754
+ */
2755
+ archivedAt?: string;
2756
+ /**
2757
+ * When the entry was soft-deleted. Present iff `status` is `deleted`. A soft delete is reversible: this records when the grace window opened, not when the entry ceased to exist.
2758
+ */
2759
+ deletedAt?: string;
2760
+ /**
2761
+ * Deadline after which a `deleted` entry is irreversibly purged. Present iff `status` is `deleted`. It is the one member a consumer showing a trash view actually needs — "deleted" without a deadline cannot be distinguished from "gone", and the difference is whether the holder can still get their credential back.
2762
+ */
2763
+ graceUntil?: string;
2764
+ /**
2765
+ * Ecosystem-defined extension members per SPEC.md §4.5.1. Reverse-DNS-namespaced; consumers MUST ignore unrecognized namespaces.
2766
+ */
2767
+ ext?: Ext;
2768
+ }
2769
+ export interface VaultEntry_VaultV0_2 {
2770
+ /**
2771
+ * Opaque vault-maintainer-assigned identifier for the entry. ULID/UUID/base32 are common; the wire spec only requires non-empty string equality.
2772
+ */
2773
+ id: string;
2774
+ /**
2775
+ * Identifier of the trust context (persona) the entry belongs to. Opaque string interpreted by the vault maintainer; corresponds to a single ContextRecord on the VTA side.
2776
+ */
2777
+ contextId: string;
2778
+ /**
2779
+ * One or more binding targets — web origins, mobile app identifiers, and/or DIDs — that this credential applies to. A request from any matching target uses this entry. A typical entry for a service that exists as both a website and mobile apps will list a web origin, an iOS bundle id, and an Android package id; passkeys for that service typically list only the origin (because iOS Associated Domains and Android Asset Links bind apps to the domain at the OS level).
2780
+ *
2781
+ * @minItems 1
2782
+ */
2783
+ targets: [SiteTarget_VaultV0_2, ...SiteTarget_VaultV0_2[]];
2784
+ /**
2785
+ * Human-readable display name (e.g. "Work GitHub", "Personal bank — checking"). Maintainers MAY enforce a maximum length; the wire spec does not.
2786
+ */
2787
+ label: string;
2788
+ /**
2789
+ * Discriminator for the kind of secret this entry holds. The secret material itself is NEVER returned in metadata views; the kind is exposed so consumers can render an appropriate UI affordance and so policy decisions can route by kind.
2790
+ */
2791
+ secretKind: SecretKind_VaultV0_2;
2792
+ /**
2793
+ * User-defined tags for organisation and filtering (e.g. ["family", "finance"]). Maintainers MAY enforce a maximum count; the wire spec does not.
2794
+ */
2795
+ tags?: string[];
2796
+ /**
2797
+ * Non-sensitive notes the user attached to the entry. Visible in metadata view (suitable for support contact, account number, expiry policy memos). SENSITIVE notes belong in the secret payload as a `secureNotes` field — those are only released by vault/release/0.1.
2798
+ */
2799
+ notes?: string;
2800
+ /**
2801
+ * Optional URI of an icon to display in the consumer UI. Maintainers MAY fetch and cache; consumers SHOULD treat as untrusted content and fetch via a sandboxed pipeline.
2802
+ */
2803
+ favicon?: string;
2804
+ /**
2805
+ * Opaque maintainer-defined selector strings fed to the policy engine when this entry is requested (e.g. "recent_uv_required", "network_class=corp", "step_up_push"). Consumers MUST treat selectors as opaque; they exist for policy authoring on the maintainer side.
2806
+ */
2807
+ selectors?: string[];
2808
+ /**
2809
+ * Names of additional fields the user has attached (e.g. ["security-question-1", "account-number"]). The VALUES live in the secret payload and are only delivered by vault/release/0.1. Exposing names in metadata lets the consumer render the right form layout before requesting release.
2810
+ */
2811
+ customFieldNames?: string[];
2812
+ /**
2813
+ * References to encrypted blobs associated with the entry (recovery codes, PEM files, screenshots of authenticator setup). The blobs themselves are fetched via a separate mechanism the maintainer documents; metadata view exposes only the descriptor.
2814
+ */
2815
+ attachments?: AttachmentRef_VaultV0_1[];
2816
+ /**
2817
+ * Optional time after which the credential is no longer expected to be valid (e.g. an OAuth refresh token's known expiry, a time-limited API token, an enterprise password rotation policy). Maintainers MAY surface this in the consumer UI as a warning.
2818
+ */
2819
+ expiresAt?: string;
2820
+ /**
2821
+ * Set by the maintainer (via HIBP integration or equivalent) when the password material associated with this entry is known to appear in a public breach. Consumers SHOULD surface this prominently. Cleared when the user rotates the password and the new password is not in any known breach.
2822
+ */
2823
+ breachedAt?: string;
2824
+ /**
2825
+ * Set whenever the password component of the secret payload is rotated. Maintainers MUST update this on every secret-material change for entries of kind `password` (or any kind that carries a password component). Used by consumers to surface rotation-overdue warnings.
2826
+ */
2827
+ passwordChangedAt?: string;
2828
+ createdAt: string;
2829
+ /**
2830
+ * VID of the consumer that originally created the entry.
2831
+ */
2832
+ createdBy?: string;
2833
+ updatedAt: string;
2834
+ /**
2835
+ * VID of the consumer that last modified the entry.
2836
+ */
2837
+ updatedBy?: string;
2838
+ /**
2839
+ * Most recent time the entry was used (either released or proxy-login performed). Maintainers MAY return this with reduced precision (e.g. hour-floored) when releasing to a less-trusted consumer.
2840
+ */
2841
+ lastUsedAt?: string;
2842
+ /**
2843
+ * Monotonic version counter incremented on every mutation. Used by consumers for optimistic-concurrency checks on vault/upsert and as the seq baseline for vault/sync.
2844
+ */
2845
+ version: number;
2846
+ /**
2847
+ * Optional cached DID the entry will act AS for DID-shaped flows — mirrors the `did` field of the entry's secret payload when `secretKind` carries one (`didSelfIssued`, `didcommPeer`). Absent for kinds that have no DID concept (`password`, `passkey`, `oauthTokens`, `bearerToken`, `sshKey`, `custom`). MAINTAINER-DERIVED, NOT CONSUMER-SUPPLIED: the maintainer MUST recompute this from the canonical secret at every upsert / secret rotation; a producer-supplied value on `vault/upsert/0.1` MUST be ignored (no error, but no honour). Read-only on the wire, present in metadata views so consumers can drive RP-side flows (e.g. fetch `/auth/challenge` keyed on the principal DID before requesting a proxy-login) without releasing the secret.
2848
+ */
2849
+ principalDid?: string;
2850
+ /**
2851
+ * Ecosystem-defined extension members per SPEC.md §4.5.1. Reverse-DNS-namespaced; consumers MUST ignore unrecognized namespaces.
2852
+ */
2853
+ ext?: Ext;
2854
+ }
2855
+ export interface VaultEntry_VaultV0_3 {
2856
+ /**
2857
+ * Opaque vault-maintainer-assigned identifier for the entry. ULID/UUID/base32 are common; the wire spec only requires non-empty string equality.
2858
+ */
2859
+ id: string;
2860
+ /**
2861
+ * Identifier of the trust context (persona) the entry belongs to. Opaque string interpreted by the vault maintainer; corresponds to a single ContextRecord on the VTA side.
2862
+ */
2863
+ contextId: string;
2864
+ /**
2865
+ * One or more binding targets — web origins, mobile app identifiers, and/or DIDs — that this credential applies to. A request from any matching target uses this entry. A typical entry for a service that exists as both a website and mobile apps will list a web origin, an iOS bundle id, and an Android package id; passkeys for that service typically list only the origin (because iOS Associated Domains and Android Asset Links bind apps to the domain at the OS level).
2866
+ *
2867
+ * @minItems 1
2868
+ */
2869
+ targets: [SiteTarget_VaultV0_2, ...SiteTarget_VaultV0_2[]];
2870
+ /**
2871
+ * Human-readable display name (e.g. "Work GitHub", "Personal bank — checking"). Maintainers MAY enforce a maximum length; the wire spec does not.
2872
+ */
2873
+ label: string;
2874
+ /**
2875
+ * Discriminator for the kind of secret this entry holds. The secret material itself is NEVER returned in metadata views; the kind is exposed so consumers can render an appropriate UI affordance and so policy decisions can route by kind.
2876
+ */
2877
+ secretKind: SecretKind_VaultV0_2;
2878
+ /**
2879
+ * User-defined tags for organisation and filtering (e.g. ["family", "finance"]). Maintainers MAY enforce a maximum count; the wire spec does not.
2880
+ */
2881
+ tags?: string[];
2882
+ /**
2883
+ * Non-sensitive notes the user attached to the entry. Visible in metadata view (suitable for support contact, account number, expiry policy memos). SENSITIVE notes belong in the secret payload as a `secureNotes` field — those are only released by vault/release/0.1.
2884
+ */
2885
+ notes?: string;
2886
+ /**
2887
+ * Optional URI of an icon to display in the consumer UI. Maintainers MAY fetch and cache; consumers SHOULD treat as untrusted content and fetch via a sandboxed pipeline.
2888
+ */
2889
+ favicon?: string;
2890
+ /**
2891
+ * Opaque maintainer-defined selector strings fed to the policy engine when this entry is requested (e.g. "recent_uv_required", "network_class=corp", "step_up_push"). Consumers MUST treat selectors as opaque; they exist for policy authoring on the maintainer side.
2892
+ */
2893
+ selectors?: string[];
2894
+ /**
2895
+ * Names of additional fields the user has attached (e.g. ["security-question-1", "account-number"]). The VALUES live in the secret payload and are only delivered by vault/release/0.1. Exposing names in metadata lets the consumer render the right form layout before requesting release.
2896
+ */
2897
+ customFieldNames?: string[];
2898
+ /**
2899
+ * References to encrypted blobs associated with the entry (recovery codes, PEM files, screenshots of authenticator setup). The blobs themselves are fetched via a separate mechanism the maintainer documents; metadata view exposes only the descriptor.
2900
+ */
2901
+ attachments?: AttachmentRef_VaultV0_3[];
2902
+ /**
2903
+ * Optional time after which the credential is no longer expected to be valid (e.g. an OAuth refresh token's known expiry, a time-limited API token, an enterprise password rotation policy). Maintainers MAY surface this in the consumer UI as a warning.
2904
+ */
2905
+ expiresAt?: string;
2906
+ /**
2907
+ * Set by the maintainer (via HIBP integration or equivalent) when the password material associated with this entry is known to appear in a public breach. Consumers SHOULD surface this prominently. Cleared when the user rotates the password and the new password is not in any known breach.
2908
+ */
2909
+ breachedAt?: string;
2910
+ /**
2911
+ * Set whenever the password component of the secret payload is rotated. Maintainers MUST update this on every secret-material change for entries of kind `password` (or any kind that carries a password component). Used by consumers to surface rotation-overdue warnings.
2912
+ */
2913
+ passwordChangedAt?: string;
2914
+ createdAt: string;
2915
+ /**
2916
+ * VID of the consumer that originally created the entry.
2917
+ */
2918
+ createdBy?: string;
2919
+ updatedAt: string;
2920
+ /**
2921
+ * VID of the consumer that last modified the entry.
2922
+ */
2923
+ updatedBy?: string;
2924
+ /**
2925
+ * Most recent time the entry was used (either released or proxy-login performed). Maintainers MAY return this with reduced precision (e.g. hour-floored) when releasing to a less-trusted consumer.
2926
+ */
2927
+ lastUsedAt?: string;
2928
+ /**
2929
+ * Monotonic version counter incremented on every mutation. Used by consumers for optimistic-concurrency checks on vault/upsert and as the seq baseline for vault/sync.
2930
+ */
2931
+ version: number;
2932
+ /**
2933
+ * Optional cached DID the entry will act AS for DID-shaped flows — mirrors the `did` field of the entry's secret payload when `secretKind` carries one (`didSelfIssued`, `didcommPeer`). Absent for kinds that have no DID concept (`password`, `passkey`, `oauthTokens`, `bearerToken`, `sshKey`, `custom`). MAINTAINER-DERIVED, NOT CONSUMER-SUPPLIED: the maintainer MUST recompute this from the canonical secret at every upsert / secret rotation; a producer-supplied value on `vault/upsert/0.1` MUST be ignored (no error, but no honour). Read-only on the wire, present in metadata views so consumers can drive RP-side flows (e.g. fetch `/auth/challenge` keyed on the principal DID before requesting a proxy-login) without releasing the secret.
2934
+ */
2935
+ principalDid?: string;
2936
+ /**
2937
+ * Ecosystem-defined extension members per SPEC.md §4.5.1. Reverse-DNS-namespaced; consumers MUST ignore unrecognized namespaces.
2938
+ */
2939
+ ext?: Ext;
2940
+ }
2941
+ export interface VaultUpsertedEvent_SyncV0_1 {
2942
+ kind: "vault.upserted";
2943
+ seq: number;
2944
+ occurredAt: string;
2945
+ entry: VaultEntry_VaultV0_1;
2946
+ }
2947
+ export interface VaultUpsertedEvent_SyncV0_2 {
2948
+ kind: "vaultUpserted";
2949
+ seq: number;
2950
+ occurredAt: string;
2951
+ entry: VaultEntry_VaultV0_2;
2952
+ }
2953
+ /**
2954
+ * A ceremony decision: the effect, plus its effect-dependent detail.
2955
+ */
2956
+ export interface Verdict {
2957
+ effect: VerdictEffect;
2958
+ with: VerdictWith;
2959
+ }
2960
+ /**
2961
+ * The effect-dependent detail of a verdict.
2962
+ *
2963
+ * Every member is optional at the schema level and which ones are meaningful depends on `effect`: `role` / `obligations` / `bundleRef` on `allow`, `code` / `reason` on `deny`, `queue` / `reason` on `refer`, `needs` / `presentationDefinition` on `requestMore`. The dependency is stated here rather than enforced by `if`/`then` per effect, so that the shape stays a single flat object a generated type can carry without a discriminated union per family — a deliberate trade of schema strictness for implementability, and the reason a consumer MUST branch on `effect` rather than on which members happen to be present.
2964
+ */
2965
+ export interface VerdictWith {
2966
+ /**
2967
+ * The granted local role. `allow` only.
2968
+ */
2969
+ role?: string;
2970
+ /**
2971
+ * Conditions attached to the grant. `allow` only.
2972
+ */
2973
+ obligations?: {};
2974
+ /**
2975
+ * Pointer to a sealed credential bundle, added by the community where issuance occurred rather than emitted by the policy. `allow` only.
2976
+ */
2977
+ bundleRef?: {};
2978
+ /**
2979
+ * Stable refusal code, safe to branch on. `deny` only.
2980
+ */
2981
+ code?: string;
2982
+ /**
2983
+ * Elaboration in prose, when the decider gave one. `deny` and `refer`.
2984
+ */
2985
+ reason?: string | null;
2986
+ /**
2987
+ * Which review queue the decision was parked in, so an applicant can be told who now holds it. `refer` only.
2988
+ */
2989
+ queue?: string;
2990
+ /**
2991
+ * What further evidence is required, named so the applicant can act without a support conversation. `requestMore` only.
2992
+ */
2993
+ needs?: string[];
2994
+ /**
2995
+ * A machine-readable statement of the same request, so a wallet can satisfy it without a human reading `needs`. `requestMore` only.
2996
+ */
2997
+ presentationDefinition?: {};
2998
+ }
2999
+ /**
3000
+ * An opaque, gateway-issued reference to a device's push channel (push wake-up binding, https://trusttasks.org/binding/push/0.1). The push gateway returns it to the device at registration; the device conveys it to its VTA (device/set-wake), and the VTA provisions it to authorized triggers (its mediator and/or itself). The raw platform push token (APNs/FCM/WebPush) is held ONLY by the gateway and is never represented here — the handle abstracts the platform, so adding new push methods (e.g. PWA Web Push) needs no change to triggers or VTA config. A handle is a bearer capability to *request* a wake (subject to the gateway's allowlist), never to read the channel.
3001
+ */
3002
+ export interface WakeHandle {
3003
+ /**
3004
+ * The push gateway that issued this handle and acts on it — a DID (DIDComm-reachable gateway) or an https URL (REST gateway). A trigger sends its contentless wake request here.
3005
+ */
3006
+ gateway: string;
3007
+ /**
3008
+ * Opaque gateway-issued identifier for the device's push channel. Reveals no platform token. Rotates whenever the device re-registers a new platform token with the gateway; the device then re-conveys the fresh handle via device/set-wake.
3009
+ */
3010
+ handle: string;
3011
+ }
3012
+ /**
3013
+ * VTA-owned allowlist of the DIDs permitted to trigger a wake for a given WakeHandle (push wake-up binding, https://trusttasks.org/binding/push/0.1). The VTA is the source of truth for this policy — all device config state resides at the VTA — and provisions it to the gateway, which ENFORCES it: a wake request from a DID not on the list is refused. Typically holds the device's mediator DID (queue-driven wake, where the mediator alone knows the device is offline) and/or the VTA's own DID (policy-driven wake, e.g. a step-up the VTA is delegating to this device).
3014
+ */
3015
+ export interface WakeTriggerPolicy {
3016
+ /**
3017
+ * DIDs authorized to trigger a wake for this handle. An empty array means no party may wake the device (push effectively disabled while the handle exists). The gateway authenticates the trigger's DID before checking membership.
3018
+ */
3019
+ allowedTriggers: string[];
3020
+ }
3021
+ /**
3022
+ * A did:webvh DID as the VTA holds it. The DID document itself is not here — it lives in the log, which `vta/webvh/dids/get` returns on request.
3023
+ */
3024
+ export interface WebvhDidRecord {
3025
+ /**
3026
+ * The DID, e.g. `did:webvh:<scid>:example.com:alice`.
3027
+ */
3028
+ did: string;
3029
+ /**
3030
+ * Id of the hosting server serving this DID's log. Empty for a serverless DID, whose location comes from the URL it was created with.
3031
+ */
3032
+ serverId: string;
3033
+ /**
3034
+ * The hosting server's handle for the record. Unrelated to a BIP-39 phrase; the collision of terms is historical.
3035
+ */
3036
+ mnemonic: string;
3037
+ /**
3038
+ * Self-certifying identifier: the hash committing to the log's first entry. It is what makes the DID's history tamper-evident, and it changes only when the log is re-created — never in place.
3039
+ */
3040
+ scid: string;
3041
+ /**
3042
+ * Context this DID belongs to. Deleting that context destroys this DID.
3043
+ */
3044
+ contextId: string;
3045
+ /**
3046
+ * Whether the DID may be moved to another domain without losing its identity. Fixed at creation: a DID created non-portable cannot be made portable later, because portability is a commitment recorded in the log's first entry.
3047
+ */
3048
+ portable: boolean;
3049
+ /**
3050
+ * Number of entries in the log.
3051
+ */
3052
+ logEntryCount: number;
3053
+ /**
3054
+ * Pre-rotation keys committed by the most recent entry. `0` means pre-rotation is disabled — a compromise of the current key is then unrecoverable by rotation, because the successor was never committed in advance.
3055
+ */
3056
+ preRotationCount?: number;
3057
+ /**
3058
+ * Next `#key-{n}` fragment id to mint. Monotonic and never decremented, so a fragment is never reused for a different key.
3059
+ */
3060
+ nextFragmentId?: number;
3061
+ createdAt: string;
3062
+ updatedAt: string;
3063
+ ext?: Ext;
3064
+ }
3065
+ /**
3066
+ * A hosting server the VTA is registered with. Carries no credential: what the VTA holds to authenticate against the server is never part of this record and never leaves it.
3067
+ */
3068
+ export interface WebvhServerRecord {
3069
+ /**
3070
+ * Local id for the server, chosen by the operator.
3071
+ */
3072
+ id: string;
3073
+ /**
3074
+ * The server's own DID, used to authenticate it.
3075
+ */
3076
+ did: string;
3077
+ label?: string;
3078
+ createdAt: string;
3079
+ updatedAt: string;
3080
+ ext?: Ext;
3081
+ }
3082
+ /**
3083
+ * The outcome of one write within a `vta/app-state/put-many` batch. Per-record rather than per-batch, because the default batch mode applies each write on its own merits: a caller flushing ten unrelated edits needs to know which one conflicted, not merely that something did.
3084
+ */
3085
+ export interface WriteResult {
3086
+ key: Key;
3087
+ /**
3088
+ * `written`: applied, and `version` carries the new value. `conflict`: `expectedVersion` did not match; `currentVersion`, `currentValue` and `currentDeleted` carry the maintainer's view so the caller can resolve without a re-read. `tooLarge`: the value exceeded the per-record cap; `limitBytes` and `actualBytes` say by how much. `notFound`: a `mergePatch` write named an address with no live record. `skipped`: atomic mode only — this write was not attempted because another in the batch failed.
3089
+ */
3090
+ outcome: "written" | "conflict" | "tooLarge" | "notFound" | "skipped";
3091
+ /**
3092
+ * The new version, on `written`.
3093
+ */
3094
+ version?: Version;
3095
+ /**
3096
+ * On `written`: true when no live record existed at the address beforehand.
3097
+ */
3098
+ created?: boolean;
3099
+ /**
3100
+ * On `conflict`: the version the maintainer actually holds. Absent when the conflict is that no record exists (`expectedVersion` was positive and the address is empty).
3101
+ */
3102
+ currentVersion?: Version;
3103
+ /**
3104
+ * On `conflict`: the value the maintainer actually holds, returned WITH the rejection rather than left for the caller to re-read. A bare rejection has no fixed point under contention — between the rejection and the re-read the record can change again — so returning the winner's view removes the race rather than narrowing it. Absent when `currentDeleted` is true or no record exists.
3105
+ */
3106
+ currentValue?: {
3107
+ [k: string]: unknown | undefined;
3108
+ };
3109
+ /**
3110
+ * On `conflict`: true when the address holds a tombstone rather than a live record.
3111
+ */
3112
+ currentDeleted?: boolean;
3113
+ /**
3114
+ * On `tooLarge`: the maintainer's per-record cap in bytes.
3115
+ */
3116
+ limitBytes?: number;
3117
+ /**
3118
+ * On `tooLarge`: the size of the rejected value in bytes.
3119
+ */
3120
+ actualBytes?: number;
3121
+ }
3122
+ //# sourceMappingURL=components.d.ts.map