@openvtc/trust-tasks 0.27.3 → 0.27.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (482) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/_shared/components.d.ts +272 -50
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/acl/list/0.3/payload.d.ts +1833 -0
  5. package/dist/acl/list/0.3/payload.d.ts.map +1 -0
  6. package/dist/acl/list/0.3/payload.js +1031 -0
  7. package/dist/acl/list/0.3/payload.js.map +1 -0
  8. package/dist/audit/list/0.2/payload.d.ts +633 -0
  9. package/dist/audit/list/0.2/payload.d.ts.map +1 -0
  10. package/dist/audit/list/0.2/payload.js +342 -0
  11. package/dist/audit/list/0.2/payload.js.map +1 -0
  12. package/dist/auth/oob/claim/0.2/payload.d.ts +463 -0
  13. package/dist/auth/oob/claim/0.2/payload.d.ts.map +1 -0
  14. package/dist/auth/oob/claim/0.2/payload.js +264 -0
  15. package/dist/auth/oob/claim/0.2/payload.js.map +1 -0
  16. package/dist/auth/oob/grant/0.3/payload.d.ts +262 -0
  17. package/dist/auth/oob/grant/0.3/payload.d.ts.map +1 -0
  18. package/dist/auth/oob/grant/0.3/payload.js +140 -0
  19. package/dist/auth/oob/grant/0.3/payload.js.map +1 -0
  20. package/dist/auth/oob/prove/0.3/payload.d.ts +836 -0
  21. package/dist/auth/oob/prove/0.3/payload.d.ts.map +1 -0
  22. package/dist/auth/oob/prove/0.3/payload.js +468 -0
  23. package/dist/auth/oob/prove/0.3/payload.js.map +1 -0
  24. package/dist/auth/oob/redeem/0.2/payload.d.ts +364 -0
  25. package/dist/auth/oob/redeem/0.2/payload.d.ts.map +1 -0
  26. package/dist/auth/oob/redeem/0.2/payload.js +199 -0
  27. package/dist/auth/oob/redeem/0.2/payload.js.map +1 -0
  28. package/dist/auth/oob/request/0.2/payload.d.ts +330 -0
  29. package/dist/auth/oob/request/0.2/payload.d.ts.map +1 -0
  30. package/dist/auth/oob/request/0.2/payload.js +193 -0
  31. package/dist/auth/oob/request/0.2/payload.js.map +1 -0
  32. package/dist/auth/oob/respond/0.3/payload.d.ts +235 -0
  33. package/dist/auth/oob/respond/0.3/payload.d.ts.map +1 -0
  34. package/dist/auth/oob/respond/0.3/payload.js +140 -0
  35. package/dist/auth/oob/respond/0.3/payload.js.map +1 -0
  36. package/dist/consent/list/1.1/payload.d.ts +613 -0
  37. package/dist/consent/list/1.1/payload.d.ts.map +1 -0
  38. package/dist/consent/list/1.1/payload.js +353 -0
  39. package/dist/consent/list/1.1/payload.js.map +1 -0
  40. package/dist/device/list/0.3/payload.d.ts +1229 -0
  41. package/dist/device/list/0.3/payload.d.ts.map +1 -0
  42. package/dist/device/list/0.3/payload.js +796 -0
  43. package/dist/device/list/0.3/payload.js.map +1 -0
  44. package/dist/did-management/did/list/0.2/payload.d.ts +521 -0
  45. package/dist/did-management/did/list/0.2/payload.d.ts.map +1 -0
  46. package/dist/did-management/did/list/0.2/payload.js +285 -0
  47. package/dist/did-management/did/list/0.2/payload.js.map +1 -0
  48. package/dist/git-ns/account/list/0.2/payload.d.ts +598 -0
  49. package/dist/git-ns/account/list/0.2/payload.d.ts.map +1 -0
  50. package/dist/git-ns/account/list/0.2/payload.js +311 -0
  51. package/dist/git-ns/account/list/0.2/payload.js.map +1 -0
  52. package/dist/git-ns/activity/list/0.2/payload.d.ts +663 -0
  53. package/dist/git-ns/activity/list/0.2/payload.d.ts.map +1 -0
  54. package/dist/git-ns/activity/list/0.2/payload.js +345 -0
  55. package/dist/git-ns/activity/list/0.2/payload.js.map +1 -0
  56. package/dist/git-ns/bridge/job/list/0.3/payload.d.ts +733 -0
  57. package/dist/git-ns/bridge/job/list/0.3/payload.d.ts.map +1 -0
  58. package/dist/git-ns/bridge/job/list/0.3/payload.js +402 -0
  59. package/dist/git-ns/bridge/job/list/0.3/payload.js.map +1 -0
  60. package/dist/git-ns/projection/show/0.2/payload.d.ts +705 -0
  61. package/dist/git-ns/projection/show/0.2/payload.d.ts.map +1 -0
  62. package/dist/git-ns/projection/show/0.2/payload.js +371 -0
  63. package/dist/git-ns/projection/show/0.2/payload.js.map +1 -0
  64. package/dist/git-ns/right/issued-by-departed/0.2/payload.d.ts +862 -0
  65. package/dist/git-ns/right/issued-by-departed/0.2/payload.d.ts.map +1 -0
  66. package/dist/git-ns/right/issued-by-departed/0.2/payload.js +481 -0
  67. package/dist/git-ns/right/issued-by-departed/0.2/payload.js.map +1 -0
  68. package/dist/git-ns/right/list/0.2/payload.d.ts +773 -0
  69. package/dist/git-ns/right/list/0.2/payload.d.ts.map +1 -0
  70. package/dist/git-ns/right/list/0.2/payload.js +433 -0
  71. package/dist/git-ns/right/list/0.2/payload.js.map +1 -0
  72. package/dist/index.d.ts +80 -0
  73. package/dist/index.d.ts.map +1 -1
  74. package/dist/index.js +80 -0
  75. package/dist/index.js.map +1 -1
  76. package/dist/keys/list/0.2/payload.d.ts +627 -0
  77. package/dist/keys/list/0.2/payload.d.ts.map +1 -0
  78. package/dist/keys/list/0.2/payload.js +358 -0
  79. package/dist/keys/list/0.2/payload.js.map +1 -0
  80. package/dist/messaging/_shared/0.1/messaging.d.ts +1 -1
  81. package/dist/messaging/_shared/0.1/messaging.d.ts.map +1 -1
  82. package/dist/messaging/_shared/0.2/messaging.d.ts +16 -0
  83. package/dist/messaging/_shared/0.2/messaging.d.ts.map +1 -0
  84. package/dist/messaging/_shared/0.2/messaging.js +6 -0
  85. package/dist/messaging/_shared/0.2/messaging.js.map +1 -0
  86. package/dist/messaging/account/add/0.1/payload.d.ts +1 -1
  87. package/dist/messaging/account/add/0.1/payload.d.ts.map +1 -1
  88. package/dist/messaging/account/add/0.2/payload.d.ts +1156 -0
  89. package/dist/messaging/account/add/0.2/payload.d.ts.map +1 -0
  90. package/dist/messaging/account/add/0.2/payload.js +611 -0
  91. package/dist/messaging/account/add/0.2/payload.js.map +1 -0
  92. package/dist/messaging/account/change-queue-limits/0.1/payload.d.ts +1 -1
  93. package/dist/messaging/account/change-queue-limits/0.1/payload.d.ts.map +1 -1
  94. package/dist/messaging/account/change-type/0.1/payload.d.ts +1 -1
  95. package/dist/messaging/account/change-type/0.1/payload.d.ts.map +1 -1
  96. package/dist/messaging/account/get/0.1/payload.d.ts +1 -1
  97. package/dist/messaging/account/get/0.1/payload.d.ts.map +1 -1
  98. package/dist/messaging/account/get/0.2/payload.d.ts +1142 -0
  99. package/dist/messaging/account/get/0.2/payload.d.ts.map +1 -0
  100. package/dist/messaging/account/get/0.2/payload.js +606 -0
  101. package/dist/messaging/account/get/0.2/payload.js.map +1 -0
  102. package/dist/messaging/account/list/0.1/payload.d.ts +1 -1
  103. package/dist/messaging/account/list/0.1/payload.d.ts.map +1 -1
  104. package/dist/messaging/account/list/0.2/payload.d.ts +1206 -0
  105. package/dist/messaging/account/list/0.2/payload.d.ts.map +1 -0
  106. package/dist/messaging/account/list/0.2/payload.js +630 -0
  107. package/dist/messaging/account/list/0.2/payload.js.map +1 -0
  108. package/dist/messaging/account/update/0.1/payload.d.ts +1 -1
  109. package/dist/messaging/account/update/0.1/payload.d.ts.map +1 -1
  110. package/dist/messaging/account/update/0.2/payload.d.ts +1154 -0
  111. package/dist/messaging/account/update/0.2/payload.d.ts.map +1 -0
  112. package/dist/messaging/account/update/0.2/payload.js +610 -0
  113. package/dist/messaging/account/update/0.2/payload.js.map +1 -0
  114. package/dist/persona/attribute/promote/1.1/payload.d.ts +506 -0
  115. package/dist/persona/attribute/promote/1.1/payload.d.ts.map +1 -0
  116. package/dist/persona/attribute/promote/1.1/payload.js +263 -0
  117. package/dist/persona/attribute/promote/1.1/payload.js.map +1 -0
  118. package/dist/persona/attribute/put/1.1/payload.d.ts +1190 -0
  119. package/dist/persona/attribute/put/1.1/payload.d.ts.map +1 -0
  120. package/dist/persona/attribute/put/1.1/payload.js +687 -0
  121. package/dist/persona/attribute/put/1.1/payload.js.map +1 -0
  122. package/dist/persona/contact/lists/put/1.1/payload.d.ts +629 -0
  123. package/dist/persona/contact/lists/put/1.1/payload.d.ts.map +1 -0
  124. package/dist/persona/contact/lists/put/1.1/payload.js +366 -0
  125. package/dist/persona/contact/lists/put/1.1/payload.js.map +1 -0
  126. package/dist/persona/contact/put/1.2/payload.d.ts +1470 -0
  127. package/dist/persona/contact/put/1.2/payload.d.ts.map +1 -0
  128. package/dist/persona/contact/put/1.2/payload.js +880 -0
  129. package/dist/persona/contact/put/1.2/payload.js.map +1 -0
  130. package/dist/persona/local/profile/put/1.1/payload.d.ts +587 -0
  131. package/dist/persona/local/profile/put/1.1/payload.d.ts.map +1 -0
  132. package/dist/persona/local/profile/put/1.1/payload.js +331 -0
  133. package/dist/persona/local/profile/put/1.1/payload.js.map +1 -0
  134. package/dist/persona/profile/compose/1.1/payload.d.ts +979 -0
  135. package/dist/persona/profile/compose/1.1/payload.d.ts.map +1 -0
  136. package/dist/persona/profile/compose/1.1/payload.js +536 -0
  137. package/dist/persona/profile/compose/1.1/payload.js.map +1 -0
  138. package/dist/persona/profile/put/1.1/payload.d.ts +1411 -0
  139. package/dist/persona/profile/put/1.1/payload.d.ts.map +1 -0
  140. package/dist/persona/profile/put/1.1/payload.js +847 -0
  141. package/dist/persona/profile/put/1.1/payload.js.map +1 -0
  142. package/dist/persona/world/put/1.1/payload.d.ts +490 -0
  143. package/dist/persona/world/put/1.1/payload.d.ts.map +1 -0
  144. package/dist/persona/world/put/1.1/payload.js +272 -0
  145. package/dist/persona/world/put/1.1/payload.js.map +1 -0
  146. package/dist/policy/list/0.3/payload.d.ts +516 -0
  147. package/dist/policy/list/0.3/payload.d.ts.map +1 -0
  148. package/dist/policy/list/0.3/payload.js +286 -0
  149. package/dist/policy/list/0.3/payload.js.map +1 -0
  150. package/dist/policy/upsert/0.3/payload.d.ts +540 -0
  151. package/dist/policy/upsert/0.3/payload.d.ts.map +1 -0
  152. package/dist/policy/upsert/0.3/payload.js +304 -0
  153. package/dist/policy/upsert/0.3/payload.js.map +1 -0
  154. package/dist/registry/record/put/0.2/payload.d.ts +443 -0
  155. package/dist/registry/record/put/0.2/payload.d.ts.map +1 -0
  156. package/dist/registry/record/put/0.2/payload.js +255 -0
  157. package/dist/registry/record/put/0.2/payload.js.map +1 -0
  158. package/dist/registry/record/query/0.2/payload.d.ts +486 -0
  159. package/dist/registry/record/query/0.2/payload.d.ts.map +1 -0
  160. package/dist/registry/record/query/0.2/payload.js +265 -0
  161. package/dist/registry/record/query/0.2/payload.js.map +1 -0
  162. package/dist/rooms/records/list/0.4/payload.d.ts +970 -0
  163. package/dist/rooms/records/list/0.4/payload.d.ts.map +1 -0
  164. package/dist/rooms/records/list/0.4/payload.js +526 -0
  165. package/dist/rooms/records/list/0.4/payload.js.map +1 -0
  166. package/dist/vault/list/0.4/payload.d.ts +1537 -0
  167. package/dist/vault/list/0.4/payload.d.ts.map +1 -0
  168. package/dist/vault/list/0.4/payload.js +841 -0
  169. package/dist/vault/list/0.4/payload.js.map +1 -0
  170. package/dist/vault/sync/0.3/payload.d.ts +1790 -0
  171. package/dist/vault/sync/0.3/payload.d.ts.map +1 -0
  172. package/dist/vault/sync/0.3/payload.js +1069 -0
  173. package/dist/vault/sync/0.3/payload.js.map +1 -0
  174. package/dist/vault/upsert/0.4/payload.d.ts +1755 -0
  175. package/dist/vault/upsert/0.4/payload.d.ts.map +1 -0
  176. package/dist/vault/upsert/0.4/payload.js +1013 -0
  177. package/dist/vault/upsert/0.4/payload.js.map +1 -0
  178. package/dist/vault/usage/0.3/payload.d.ts +586 -0
  179. package/dist/vault/usage/0.3/payload.d.ts.map +1 -0
  180. package/dist/vault/usage/0.3/payload.js +326 -0
  181. package/dist/vault/usage/0.3/payload.js.map +1 -0
  182. package/dist/vta/_shared/0.1/app-state-record.d.ts +1 -1
  183. package/dist/vta/_shared/0.1/app-state-record.d.ts.map +1 -1
  184. package/dist/vta/_shared/0.1/webvh-records.d.ts +1 -1
  185. package/dist/vta/_shared/0.1/webvh-records.d.ts.map +1 -1
  186. package/dist/vta/_shared/0.7/app-state-record.d.ts +22 -0
  187. package/dist/vta/_shared/0.7/app-state-record.d.ts.map +1 -0
  188. package/dist/vta/_shared/0.7/app-state-record.js +6 -0
  189. package/dist/vta/_shared/0.7/app-state-record.js.map +1 -0
  190. package/dist/vta/_shared/0.7/did-template.d.ts +16 -0
  191. package/dist/vta/_shared/0.7/did-template.d.ts.map +1 -0
  192. package/dist/vta/_shared/0.7/did-template.js +6 -0
  193. package/dist/vta/_shared/0.7/did-template.js.map +1 -0
  194. package/dist/vta/_shared/0.7/webvh-records.d.ts +16 -0
  195. package/dist/vta/_shared/0.7/webvh-records.d.ts.map +1 -0
  196. package/dist/vta/_shared/0.7/webvh-records.js +6 -0
  197. package/dist/vta/_shared/0.7/webvh-records.js.map +1 -0
  198. package/dist/vta/app-state/list/1.1/payload.d.ts +705 -0
  199. package/dist/vta/app-state/list/1.1/payload.d.ts.map +1 -0
  200. package/dist/vta/app-state/list/1.1/payload.js +360 -0
  201. package/dist/vta/app-state/list/1.1/payload.js.map +1 -0
  202. package/dist/vta/app-state/put/1.1/payload.d.ts +549 -0
  203. package/dist/vta/app-state/put/1.1/payload.d.ts.map +1 -0
  204. package/dist/vta/app-state/put/1.1/payload.js +293 -0
  205. package/dist/vta/app-state/put/1.1/payload.js.map +1 -0
  206. package/dist/vta/app-state/put-many/1.0/payload.d.ts +1 -1
  207. package/dist/vta/app-state/put-many/1.0/payload.d.ts.map +1 -1
  208. package/dist/vta/app-state/put-many/1.1/payload.d.ts +807 -0
  209. package/dist/vta/app-state/put-many/1.1/payload.d.ts.map +1 -0
  210. package/dist/vta/app-state/put-many/1.1/payload.js +457 -0
  211. package/dist/vta/app-state/put-many/1.1/payload.js.map +1 -0
  212. package/dist/vta/credentials/list/0.2/payload.d.ts +610 -0
  213. package/dist/vta/credentials/list/0.2/payload.d.ts.map +1 -0
  214. package/dist/vta/credentials/list/0.2/payload.js +312 -0
  215. package/dist/vta/credentials/list/0.2/payload.js.map +1 -0
  216. package/dist/vta/did-templates/create/3.1/payload.d.ts +1100 -0
  217. package/dist/vta/did-templates/create/3.1/payload.d.ts.map +1 -0
  218. package/dist/vta/did-templates/create/3.1/payload.js +686 -0
  219. package/dist/vta/did-templates/create/3.1/payload.js.map +1 -0
  220. package/dist/vta/did-templates/get/3.1/payload.d.ts +750 -0
  221. package/dist/vta/did-templates/get/3.1/payload.d.ts.map +1 -0
  222. package/dist/vta/did-templates/get/3.1/payload.js +465 -0
  223. package/dist/vta/did-templates/get/3.1/payload.js.map +1 -0
  224. package/dist/vta/did-templates/list/3.1/payload.d.ts +807 -0
  225. package/dist/vta/did-templates/list/3.1/payload.d.ts.map +1 -0
  226. package/dist/vta/did-templates/list/3.1/payload.js +491 -0
  227. package/dist/vta/did-templates/list/3.1/payload.js.map +1 -0
  228. package/dist/vta/did-templates/update/3.1/payload.d.ts +1114 -0
  229. package/dist/vta/did-templates/update/3.1/payload.d.ts.map +1 -0
  230. package/dist/vta/did-templates/update/3.1/payload.js +692 -0
  231. package/dist/vta/did-templates/update/3.1/payload.js.map +1 -0
  232. package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts +1 -1
  233. package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts.map +1 -1
  234. package/dist/vta/webvh/agent-name/list/1.1/payload.d.ts +358 -0
  235. package/dist/vta/webvh/agent-name/list/1.1/payload.d.ts.map +1 -0
  236. package/dist/vta/webvh/agent-name/list/1.1/payload.js +203 -0
  237. package/dist/vta/webvh/agent-name/list/1.1/payload.js.map +1 -0
  238. package/dist/vta/witness/list/0.2/payload.d.ts +653 -0
  239. package/dist/vta/witness/list/0.2/payload.d.ts.map +1 -0
  240. package/dist/vta/witness/list/0.2/payload.js +341 -0
  241. package/dist/vta/witness/list/0.2/payload.js.map +1 -0
  242. package/dist/vtc/_shared/0.1/community-room.d.ts +1 -1
  243. package/dist/vtc/_shared/0.1/community-room.d.ts.map +1 -1
  244. package/dist/vtc/_shared/0.1/room-storage.d.ts +1 -1
  245. package/dist/vtc/_shared/0.1/room-storage.d.ts.map +1 -1
  246. package/dist/vtc/_shared/0.3/community-room.d.ts +16 -0
  247. package/dist/vtc/_shared/0.3/community-room.d.ts.map +1 -0
  248. package/dist/vtc/_shared/0.3/community-room.js +6 -0
  249. package/dist/vtc/_shared/0.3/community-room.js.map +1 -0
  250. package/dist/vtc/_shared/0.3/room-storage.d.ts +16 -0
  251. package/dist/vtc/_shared/0.3/room-storage.d.ts.map +1 -0
  252. package/dist/vtc/_shared/0.3/room-storage.js +6 -0
  253. package/dist/vtc/_shared/0.3/room-storage.js.map +1 -0
  254. package/dist/vtc/admin/events/subscribe/0.5/payload.d.ts +409 -0
  255. package/dist/vtc/admin/events/subscribe/0.5/payload.d.ts.map +1 -0
  256. package/dist/vtc/admin/events/subscribe/0.5/payload.js +238 -0
  257. package/dist/vtc/admin/events/subscribe/0.5/payload.js.map +1 -0
  258. package/dist/vtc/auth/admin-session/0.2/payload.d.ts +249 -0
  259. package/dist/vtc/auth/admin-session/0.2/payload.d.ts.map +1 -0
  260. package/dist/vtc/auth/admin-session/0.2/payload.js +144 -0
  261. package/dist/vtc/auth/admin-session/0.2/payload.js.map +1 -0
  262. package/dist/vtc/auth/recognise/0.3/payload.d.ts +325 -0
  263. package/dist/vtc/auth/recognise/0.3/payload.d.ts.map +1 -0
  264. package/dist/vtc/auth/recognise/0.3/payload.js +187 -0
  265. package/dist/vtc/auth/recognise/0.3/payload.js.map +1 -0
  266. package/dist/vtc/auth/recognise/challenge/0.2/payload.d.ts +233 -0
  267. package/dist/vtc/auth/recognise/challenge/0.2/payload.d.ts.map +1 -0
  268. package/dist/vtc/auth/recognise/challenge/0.2/payload.js +136 -0
  269. package/dist/vtc/auth/recognise/challenge/0.2/payload.js.map +1 -0
  270. package/dist/vtc/directory/entries/list/0.2/payload.d.ts +5525 -0
  271. package/dist/vtc/directory/entries/list/0.2/payload.d.ts.map +1 -0
  272. package/dist/vtc/directory/entries/list/0.2/payload.js +650 -0
  273. package/dist/vtc/directory/entries/list/0.2/payload.js.map +1 -0
  274. package/dist/vtc/directory/export/0.2/payload.d.ts +358 -0
  275. package/dist/vtc/directory/export/0.2/payload.d.ts.map +1 -0
  276. package/dist/vtc/directory/export/0.2/payload.js +189 -0
  277. package/dist/vtc/directory/export/0.2/payload.js.map +1 -0
  278. package/dist/vtc/directory/notes/list/0.2/payload.d.ts +540 -0
  279. package/dist/vtc/directory/notes/list/0.2/payload.d.ts.map +1 -0
  280. package/dist/vtc/directory/notes/list/0.2/payload.js +291 -0
  281. package/dist/vtc/directory/notes/list/0.2/payload.js.map +1 -0
  282. package/dist/vtc/elections/list/0.2/payload.d.ts +521 -0
  283. package/dist/vtc/elections/list/0.2/payload.d.ts.map +1 -0
  284. package/dist/vtc/elections/list/0.2/payload.js +290 -0
  285. package/dist/vtc/elections/list/0.2/payload.js.map +1 -0
  286. package/dist/vtc/endorsement-types/list/0.2/payload.d.ts +382 -0
  287. package/dist/vtc/endorsement-types/list/0.2/payload.d.ts.map +1 -0
  288. package/dist/vtc/endorsement-types/list/0.2/payload.js +210 -0
  289. package/dist/vtc/endorsement-types/list/0.2/payload.js.map +1 -0
  290. package/dist/vtc/endorsements/list/0.2/payload.d.ts +612 -0
  291. package/dist/vtc/endorsements/list/0.2/payload.d.ts.map +1 -0
  292. package/dist/vtc/endorsements/list/0.2/payload.js +347 -0
  293. package/dist/vtc/endorsements/list/0.2/payload.js.map +1 -0
  294. package/dist/vtc/groups/list/0.2/payload.d.ts +1139 -0
  295. package/dist/vtc/groups/list/0.2/payload.d.ts.map +1 -0
  296. package/dist/vtc/groups/list/0.2/payload.js +671 -0
  297. package/dist/vtc/groups/list/0.2/payload.js.map +1 -0
  298. package/dist/vtc/groups/members/list/0.2/payload.d.ts +1030 -0
  299. package/dist/vtc/groups/members/list/0.2/payload.d.ts.map +1 -0
  300. package/dist/vtc/groups/members/list/0.2/payload.js +603 -0
  301. package/dist/vtc/groups/members/list/0.2/payload.js.map +1 -0
  302. package/dist/vtc/groups/requests/list/0.2/payload.d.ts +1080 -0
  303. package/dist/vtc/groups/requests/list/0.2/payload.d.ts.map +1 -0
  304. package/dist/vtc/groups/requests/list/0.2/payload.js +620 -0
  305. package/dist/vtc/groups/requests/list/0.2/payload.js.map +1 -0
  306. package/dist/vtc/join-requests/list/0.2/payload.d.ts +653 -0
  307. package/dist/vtc/join-requests/list/0.2/payload.d.ts.map +1 -0
  308. package/dist/vtc/join-requests/list/0.2/payload.js +405 -0
  309. package/dist/vtc/join-requests/list/0.2/payload.js.map +1 -0
  310. package/dist/vtc/members/list/0.2/payload.d.ts +596 -0
  311. package/dist/vtc/members/list/0.2/payload.d.ts.map +1 -0
  312. package/dist/vtc/members/list/0.2/payload.js +381 -0
  313. package/dist/vtc/members/list/0.2/payload.js.map +1 -0
  314. package/dist/vtc/registry/records/list/0.2/payload.d.ts +576 -0
  315. package/dist/vtc/registry/records/list/0.2/payload.d.ts.map +1 -0
  316. package/dist/vtc/registry/records/list/0.2/payload.js +306 -0
  317. package/dist/vtc/registry/records/list/0.2/payload.js.map +1 -0
  318. package/dist/vtc/registry/sync-jobs/list/0.2/payload.d.ts +584 -0
  319. package/dist/vtc/registry/sync-jobs/list/0.2/payload.d.ts.map +1 -0
  320. package/dist/vtc/registry/sync-jobs/list/0.2/payload.js +337 -0
  321. package/dist/vtc/registry/sync-jobs/list/0.2/payload.js.map +1 -0
  322. package/dist/vtc/relationships/list/0.3/payload.d.ts +444 -0
  323. package/dist/vtc/relationships/list/0.3/payload.d.ts.map +1 -0
  324. package/dist/vtc/relationships/list/0.3/payload.js +254 -0
  325. package/dist/vtc/relationships/list/0.3/payload.js.map +1 -0
  326. package/dist/vtc/rooms/community/create/0.1/payload.d.ts +1 -1
  327. package/dist/vtc/rooms/community/create/0.1/payload.d.ts.map +1 -1
  328. package/dist/vtc/rooms/community/create/0.2/payload.d.ts +1 -1
  329. package/dist/vtc/rooms/community/create/0.2/payload.d.ts.map +1 -1
  330. package/dist/vtc/rooms/community/create/0.3/payload.d.ts +1 -1
  331. package/dist/vtc/rooms/community/create/0.3/payload.d.ts.map +1 -1
  332. package/dist/vtc/rooms/community/create/0.4/payload.d.ts +1013 -0
  333. package/dist/vtc/rooms/community/create/0.4/payload.d.ts.map +1 -0
  334. package/dist/vtc/rooms/community/create/0.4/payload.js +577 -0
  335. package/dist/vtc/rooms/community/create/0.4/payload.js.map +1 -0
  336. package/dist/vtc/rooms/community/get/0.1/payload.d.ts +1 -1
  337. package/dist/vtc/rooms/community/get/0.1/payload.d.ts.map +1 -1
  338. package/dist/vtc/rooms/community/get/0.2/payload.d.ts +1 -1
  339. package/dist/vtc/rooms/community/get/0.2/payload.d.ts.map +1 -1
  340. package/dist/vtc/rooms/community/get/0.3/payload.d.ts +887 -0
  341. package/dist/vtc/rooms/community/get/0.3/payload.d.ts.map +1 -0
  342. package/dist/vtc/rooms/community/get/0.3/payload.js +517 -0
  343. package/dist/vtc/rooms/community/get/0.3/payload.js.map +1 -0
  344. package/dist/vtc/rooms/community/list/0.1/payload.d.ts +1 -1
  345. package/dist/vtc/rooms/community/list/0.1/payload.d.ts.map +1 -1
  346. package/dist/vtc/rooms/community/list/0.2/payload.d.ts +1 -1
  347. package/dist/vtc/rooms/community/list/0.2/payload.d.ts.map +1 -1
  348. package/dist/vtc/rooms/community/list/0.3/payload.d.ts +960 -0
  349. package/dist/vtc/rooms/community/list/0.3/payload.d.ts.map +1 -0
  350. package/dist/vtc/rooms/community/list/0.3/payload.js +544 -0
  351. package/dist/vtc/rooms/community/list/0.3/payload.js.map +1 -0
  352. package/dist/vtc/rooms/community/update/0.1/payload.d.ts +1 -1
  353. package/dist/vtc/rooms/community/update/0.1/payload.d.ts.map +1 -1
  354. package/dist/vtc/rooms/community/update/0.2/payload.d.ts +1 -1
  355. package/dist/vtc/rooms/community/update/0.2/payload.d.ts.map +1 -1
  356. package/dist/vtc/rooms/community/update/0.3/payload.d.ts +1037 -0
  357. package/dist/vtc/rooms/community/update/0.3/payload.d.ts.map +1 -0
  358. package/dist/vtc/rooms/community/update/0.3/payload.js +593 -0
  359. package/dist/vtc/rooms/community/update/0.3/payload.js.map +1 -0
  360. package/dist/vtc/rooms/get/0.1/payload.d.ts +1 -1
  361. package/dist/vtc/rooms/get/0.1/payload.d.ts.map +1 -1
  362. package/dist/vtc/rooms/get/0.2/payload.d.ts +1 -1
  363. package/dist/vtc/rooms/get/0.2/payload.d.ts.map +1 -1
  364. package/dist/vtc/rooms/get/0.3/payload.d.ts +1966 -0
  365. package/dist/vtc/rooms/get/0.3/payload.d.ts.map +1 -0
  366. package/dist/vtc/rooms/get/0.3/payload.js +976 -0
  367. package/dist/vtc/rooms/get/0.3/payload.js.map +1 -0
  368. package/dist/vtc/rooms/list/0.2/payload.d.ts +653 -0
  369. package/dist/vtc/rooms/list/0.2/payload.d.ts.map +1 -0
  370. package/dist/vtc/rooms/list/0.2/payload.js +360 -0
  371. package/dist/vtc/rooms/list/0.2/payload.js.map +1 -0
  372. package/dist/vtc/website/files/list/0.2/payload.d.ts +371 -0
  373. package/dist/vtc/website/files/list/0.2/payload.d.ts.map +1 -0
  374. package/dist/vtc/website/files/list/0.2/payload.js +198 -0
  375. package/dist/vtc/website/files/list/0.2/payload.js.map +1 -0
  376. package/package.json +1 -1
  377. package/src/_shared/components.ts +274 -50
  378. package/src/acl/list/0.3/payload.ts +1111 -0
  379. package/src/audit/list/0.2/payload.ts +406 -0
  380. package/src/auth/oob/claim/0.2/payload.ts +306 -0
  381. package/src/auth/oob/grant/0.3/payload.ts +186 -0
  382. package/src/auth/oob/prove/0.3/payload.ts +523 -0
  383. package/src/auth/oob/redeem/0.2/payload.ts +248 -0
  384. package/src/auth/oob/request/0.2/payload.ts +230 -0
  385. package/src/auth/oob/respond/0.3/payload.ts +178 -0
  386. package/src/consent/list/1.1/payload.ts +407 -0
  387. package/src/device/list/0.3/payload.ts +846 -0
  388. package/src/did-management/did/list/0.2/payload.ts +327 -0
  389. package/src/git-ns/account/list/0.2/payload.ts +386 -0
  390. package/src/git-ns/activity/list/0.2/payload.ts +438 -0
  391. package/src/git-ns/bridge/job/list/0.3/payload.ts +511 -0
  392. package/src/git-ns/projection/show/0.2/payload.ts +473 -0
  393. package/src/git-ns/right/issued-by-departed/0.2/payload.ts +544 -0
  394. package/src/git-ns/right/list/0.2/payload.ts +487 -0
  395. package/src/index.ts +80 -0
  396. package/src/keys/list/0.2/payload.ts +412 -0
  397. package/src/messaging/_shared/0.1/messaging.ts +1 -1
  398. package/src/messaging/_shared/0.2/messaging.ts +17 -0
  399. package/src/messaging/account/add/0.1/payload.ts +1 -1
  400. package/src/messaging/account/add/0.2/payload.ts +664 -0
  401. package/src/messaging/account/change-queue-limits/0.1/payload.ts +1 -1
  402. package/src/messaging/account/change-type/0.1/payload.ts +1 -1
  403. package/src/messaging/account/get/0.1/payload.ts +1 -1
  404. package/src/messaging/account/get/0.2/payload.ts +655 -0
  405. package/src/messaging/account/list/0.1/payload.ts +1 -1
  406. package/src/messaging/account/list/0.2/payload.ts +691 -0
  407. package/src/messaging/account/update/0.1/payload.ts +1 -1
  408. package/src/messaging/account/update/0.2/payload.ts +663 -0
  409. package/src/persona/attribute/promote/1.1/payload.ts +344 -0
  410. package/src/persona/attribute/put/1.1/payload.ts +792 -0
  411. package/src/persona/contact/lists/put/1.1/payload.ts +429 -0
  412. package/src/persona/contact/put/1.2/payload.ts +988 -0
  413. package/src/persona/local/profile/put/1.1/payload.ts +399 -0
  414. package/src/persona/profile/compose/1.1/payload.ts +659 -0
  415. package/src/persona/profile/put/1.1/payload.ts +917 -0
  416. package/src/persona/world/put/1.1/payload.ts +339 -0
  417. package/src/policy/list/0.3/payload.ts +325 -0
  418. package/src/policy/upsert/0.3/payload.ts +341 -0
  419. package/src/registry/record/put/0.2/payload.ts +299 -0
  420. package/src/registry/record/query/0.2/payload.ts +324 -0
  421. package/src/rooms/records/list/0.4/payload.ts +601 -0
  422. package/src/vault/list/0.4/payload.ts +945 -0
  423. package/src/vault/sync/0.3/payload.ts +1120 -0
  424. package/src/vault/upsert/0.4/payload.ts +1077 -0
  425. package/src/vault/usage/0.3/payload.ts +416 -0
  426. package/src/vta/_shared/0.1/app-state-record.ts +1 -1
  427. package/src/vta/_shared/0.1/webvh-records.ts +1 -1
  428. package/src/vta/_shared/0.7/app-state-record.ts +23 -0
  429. package/src/vta/_shared/0.7/did-template.ts +17 -0
  430. package/src/vta/_shared/0.7/webvh-records.ts +17 -0
  431. package/src/vta/app-state/list/1.1/payload.ts +444 -0
  432. package/src/vta/app-state/put/1.1/payload.ts +374 -0
  433. package/src/vta/app-state/put-many/1.0/payload.ts +1 -1
  434. package/src/vta/app-state/put-many/1.1/payload.ts +538 -0
  435. package/src/vta/credentials/list/0.2/payload.ts +406 -0
  436. package/src/vta/did-templates/create/3.1/payload.ts +721 -0
  437. package/src/vta/did-templates/get/3.1/payload.ts +500 -0
  438. package/src/vta/did-templates/list/3.1/payload.ts +535 -0
  439. package/src/vta/did-templates/update/3.1/payload.ts +731 -0
  440. package/src/vta/webvh/agent-name/list/1.0/payload.ts +1 -1
  441. package/src/vta/webvh/agent-name/list/1.1/payload.ts +242 -0
  442. package/src/vta/witness/list/0.2/payload.ts +427 -0
  443. package/src/vtc/_shared/0.1/community-room.ts +1 -1
  444. package/src/vtc/_shared/0.1/room-storage.ts +1 -1
  445. package/src/vtc/_shared/0.3/community-room.ts +17 -0
  446. package/src/vtc/_shared/0.3/room-storage.ts +17 -0
  447. package/src/vtc/admin/events/subscribe/0.5/payload.ts +318 -0
  448. package/src/vtc/auth/admin-session/0.2/payload.ts +180 -0
  449. package/src/vtc/auth/recognise/0.3/payload.ts +233 -0
  450. package/src/vtc/auth/recognise/challenge/0.2/payload.ts +168 -0
  451. package/src/vtc/directory/entries/list/0.2/payload.ts +5670 -0
  452. package/src/vtc/directory/export/0.2/payload.ts +244 -0
  453. package/src/vtc/directory/notes/list/0.2/payload.ts +340 -0
  454. package/src/vtc/elections/list/0.2/payload.ts +371 -0
  455. package/src/vtc/endorsement-types/list/0.2/payload.ts +247 -0
  456. package/src/vtc/endorsements/list/0.2/payload.ts +400 -0
  457. package/src/vtc/groups/list/0.2/payload.ts +731 -0
  458. package/src/vtc/groups/members/list/0.2/payload.ts +650 -0
  459. package/src/vtc/groups/requests/list/0.2/payload.ts +677 -0
  460. package/src/vtc/join-requests/list/0.2/payload.ts +447 -0
  461. package/src/vtc/members/list/0.2/payload.ts +426 -0
  462. package/src/vtc/registry/records/list/0.2/payload.ts +401 -0
  463. package/src/vtc/registry/sync-jobs/list/0.2/payload.ts +427 -0
  464. package/src/vtc/relationships/list/0.3/payload.ts +309 -0
  465. package/src/vtc/rooms/community/create/0.1/payload.ts +1 -1
  466. package/src/vtc/rooms/community/create/0.2/payload.ts +1 -1
  467. package/src/vtc/rooms/community/create/0.3/payload.ts +1 -1
  468. package/src/vtc/rooms/community/create/0.4/payload.ts +635 -0
  469. package/src/vtc/rooms/community/get/0.1/payload.ts +1 -1
  470. package/src/vtc/rooms/community/get/0.2/payload.ts +1 -1
  471. package/src/vtc/rooms/community/get/0.3/payload.ts +549 -0
  472. package/src/vtc/rooms/community/list/0.1/payload.ts +1 -1
  473. package/src/vtc/rooms/community/list/0.2/payload.ts +1 -1
  474. package/src/vtc/rooms/community/list/0.3/payload.ts +591 -0
  475. package/src/vtc/rooms/community/update/0.1/payload.ts +1 -1
  476. package/src/vtc/rooms/community/update/0.2/payload.ts +1 -1
  477. package/src/vtc/rooms/community/update/0.3/payload.ts +653 -0
  478. package/src/vtc/rooms/get/0.1/payload.ts +1 -1
  479. package/src/vtc/rooms/get/0.2/payload.ts +1 -1
  480. package/src/vtc/rooms/get/0.3/payload.ts +1372 -0
  481. package/src/vtc/rooms/list/0.2/payload.ts +449 -0
  482. package/src/vtc/website/files/list/0.2/payload.ts +252 -0
@@ -0,0 +1,633 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/audit/list/0.2/payload.schema.json
4
+ */
5
+ import type { AuditEnvelope, DigestMultibase, Ext } from "../../../_shared/components.js";
6
+ export interface AuditListPayload {
7
+ /**
8
+ * Return only entries recorded at or after this time.
9
+ */
10
+ from?: string;
11
+ /**
12
+ * Return only entries recorded strictly before this time.
13
+ */
14
+ to?: string;
15
+ /**
16
+ * Return only entries whose `action` equals this value.
17
+ */
18
+ action?: string;
19
+ /**
20
+ * Return only entries whose `actor` DID equals this value. Matches on the plaintext; redacted entries are not returned by an actor filter.
21
+ */
22
+ actor?: string;
23
+ /**
24
+ * Return only entries whose `outcome` equals this value.
25
+ */
26
+ outcome?: string;
27
+ /**
28
+ * Return only entries in this trust context.
29
+ */
30
+ contextId?: string;
31
+ /**
32
+ * The most entries to return; the responder chooses a default and MAY return fewer.
33
+ */
34
+ limit?: number;
35
+ /**
36
+ * An opaque continuation token from a previous response's `nextCursor`; a responder MUST NOT accept a cursor it did not issue. Encodes the position to resume from; a maintainer SHOULD sign it so it cannot be forged to skip entries. Treated as invalid (see errorCodes) if it fails to verify — e.g. minted before an audit-key rotation. A consumer that supplies a `cursor` MUST NOT also change the filters, which are bound into the cursor's position.
37
+ */
38
+ cursor?: string;
39
+ ext?: Ext;
40
+ }
41
+ export interface AuditListResponsePayload {
42
+ /**
43
+ * The matching audit entries, newest first.
44
+ */
45
+ entries: AuditEnvelope[];
46
+ /**
47
+ * Opaque continuation token for the next page, sent back as the request's `cursor`. Present iff more entries match beyond this page; absent on the last page.
48
+ */
49
+ nextCursor?: string;
50
+ ext?: Ext;
51
+ }
52
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
53
+ export type { AuditEnvelope, DigestMultibase, Ext };
54
+ /** Trust Task type URI. */
55
+ export declare const TYPE_URI: "https://trusttasks.org/spec/audit/list/0.2";
56
+ /** Stable alias for this specification's request payload shape. */
57
+ export type Payload = AuditListPayload;
58
+ /** Trust Task response type URI (request type URI + "#response"). */
59
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/audit/list/0.2#response";
60
+ /** Stable alias for this specification's success-response payload shape. */
61
+ export type Response = AuditListResponsePayload;
62
+ /**
63
+ * This specification's payload schema, as a value.
64
+ *
65
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
66
+ * rather than only as a `.json` file because TypeScript types are erased
67
+ * at runtime: without a schema a consumer has nothing to validate, and
68
+ * every REQUIRED payload member is optional in practice. Cross-file
69
+ * `$ref`s are already inlined, so it needs no resolver.
70
+ */
71
+ export declare const PAYLOAD_SCHEMA: {
72
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
73
+ readonly $id: "https://trusttasks.org/spec/audit/list/0.2";
74
+ readonly title: "Audit List — payload";
75
+ readonly type: "object";
76
+ readonly additionalProperties: false;
77
+ readonly properties: {
78
+ readonly from: {
79
+ readonly type: "string";
80
+ readonly format: "date-time";
81
+ readonly description: "Return only entries recorded at or after this time.";
82
+ };
83
+ readonly to: {
84
+ readonly type: "string";
85
+ readonly format: "date-time";
86
+ readonly description: "Return only entries recorded strictly before this time.";
87
+ };
88
+ readonly action: {
89
+ readonly type: "string";
90
+ readonly minLength: 1;
91
+ readonly description: "Return only entries whose `action` equals this value.";
92
+ };
93
+ readonly actor: {
94
+ readonly type: "string";
95
+ readonly minLength: 1;
96
+ readonly description: "Return only entries whose `actor` DID equals this value. Matches on the plaintext; redacted entries are not returned by an actor filter.";
97
+ };
98
+ readonly outcome: {
99
+ readonly type: "string";
100
+ readonly minLength: 1;
101
+ readonly description: "Return only entries whose `outcome` equals this value.";
102
+ };
103
+ readonly contextId: {
104
+ readonly type: "string";
105
+ readonly minLength: 1;
106
+ readonly description: "Return only entries in this trust context.";
107
+ };
108
+ readonly limit: {
109
+ readonly type: "integer";
110
+ readonly minimum: 1;
111
+ readonly maximum: 1000;
112
+ readonly description: "The most entries to return; the responder chooses a default and MAY return fewer.";
113
+ };
114
+ readonly cursor: {
115
+ readonly type: "string";
116
+ readonly description: "An opaque continuation token from a previous response's `nextCursor`; a responder MUST NOT accept a cursor it did not issue. Encodes the position to resume from; a maintainer SHOULD sign it so it cannot be forged to skip entries. Treated as invalid (see errorCodes) if it fails to verify — e.g. minted before an audit-key rotation. A consumer that supplies a `cursor` MUST NOT also change the filters, which are bound into the cursor's position.";
117
+ };
118
+ readonly ext: {
119
+ readonly $ref: "#/$defs/Ext";
120
+ };
121
+ };
122
+ readonly $defs: {
123
+ readonly Response: {
124
+ readonly $anchor: "response";
125
+ readonly title: "Audit List — response payload";
126
+ readonly type: "object";
127
+ readonly additionalProperties: false;
128
+ readonly required: readonly ["entries"];
129
+ readonly properties: {
130
+ readonly entries: {
131
+ readonly type: "array";
132
+ readonly description: "The matching audit entries, newest first.";
133
+ readonly items: {
134
+ readonly $ref: "#/$defs/AuditEnvelope";
135
+ };
136
+ };
137
+ readonly nextCursor: {
138
+ readonly type: "string";
139
+ readonly description: "Opaque continuation token for the next page, sent back as the request's `cursor`. Present iff more entries match beyond this page; absent on the last page.";
140
+ };
141
+ readonly ext: {
142
+ readonly $ref: "#/$defs/Ext";
143
+ };
144
+ };
145
+ };
146
+ readonly Ext: {
147
+ readonly title: "Ext";
148
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
149
+ readonly type: "object";
150
+ readonly minProperties: 1;
151
+ readonly additionalProperties: true;
152
+ readonly propertyNames: {
153
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
154
+ };
155
+ };
156
+ readonly AuditEnvelope: {
157
+ readonly $anchor: "auditEnvelope";
158
+ readonly title: "AuditEnvelope";
159
+ readonly description: "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.";
160
+ readonly type: "object";
161
+ readonly additionalProperties: false;
162
+ readonly required: readonly ["eventId", "recordedAt", "action"];
163
+ readonly properties: {
164
+ readonly eventId: {
165
+ readonly type: "string";
166
+ readonly minLength: 1;
167
+ readonly description: "Stable identifier for this event. Also the tie-breaker component of a cursor's position key.";
168
+ };
169
+ readonly recordedAt: {
170
+ readonly type: "string";
171
+ readonly format: "date-time";
172
+ readonly description: "Wall-clock time the entry was written. The primary ordering key.";
173
+ };
174
+ readonly action: {
175
+ readonly type: "string";
176
+ readonly minLength: 1;
177
+ readonly description: "The operation this entry records — a maintainer-defined action name (e.g. `member.removed`, `policy.activated`). The discriminator for `detail`.";
178
+ };
179
+ readonly outcome: {
180
+ readonly type: "string";
181
+ readonly description: "How the operation resolved. Typically `success` or `denied`; a maintainer MAY use others. Absent for events that have no pass/fail sense.";
182
+ };
183
+ readonly actor: {
184
+ readonly type: readonly ["string", "null"];
185
+ readonly description: "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.";
186
+ };
187
+ readonly target: {
188
+ readonly type: readonly ["string", "null"];
189
+ readonly description: "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`.";
190
+ };
191
+ readonly contextId: {
192
+ readonly type: "string";
193
+ readonly minLength: 1;
194
+ readonly description: "Trust context the event occurred in, for a maintainer that partitions its log per context.";
195
+ };
196
+ readonly schemaVersion: {
197
+ readonly type: "integer";
198
+ readonly minimum: 0;
199
+ readonly description: "Envelope-shape version at the maintainer, for consumers that need to reason about wire-shape evolution.";
200
+ };
201
+ readonly prevHash: {
202
+ readonly $ref: "#/$defs/DigestMultibase";
203
+ readonly description: "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.";
204
+ };
205
+ readonly entryHash: {
206
+ readonly $ref: "#/$defs/DigestMultibase";
207
+ readonly description: "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.";
208
+ };
209
+ readonly detail: {
210
+ readonly type: "object";
211
+ readonly description: "Event-specific payload, keyed by `action`. Opaque to the framework; a consumer that does not recognise the action treats it as an unstructured record.";
212
+ readonly additionalProperties: true;
213
+ };
214
+ readonly ext: {
215
+ readonly $ref: "#/$defs/Ext";
216
+ };
217
+ };
218
+ };
219
+ readonly DigestMultibase: {
220
+ readonly title: "DigestMultibase";
221
+ readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
222
+ readonly type: "string";
223
+ readonly minLength: 16;
224
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
225
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
226
+ };
227
+ };
228
+ };
229
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
230
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
231
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
232
+ readonly $ref: "#/$defs/Response";
233
+ readonly $defs: {
234
+ readonly Response: {
235
+ readonly $anchor: "response";
236
+ readonly title: "Audit List — response payload";
237
+ readonly type: "object";
238
+ readonly additionalProperties: false;
239
+ readonly required: readonly ["entries"];
240
+ readonly properties: {
241
+ readonly entries: {
242
+ readonly type: "array";
243
+ readonly description: "The matching audit entries, newest first.";
244
+ readonly items: {
245
+ readonly $ref: "#/$defs/AuditEnvelope";
246
+ };
247
+ };
248
+ readonly nextCursor: {
249
+ readonly type: "string";
250
+ readonly description: "Opaque continuation token for the next page, sent back as the request's `cursor`. Present iff more entries match beyond this page; absent on the last page.";
251
+ };
252
+ readonly ext: {
253
+ readonly $ref: "#/$defs/Ext";
254
+ };
255
+ };
256
+ };
257
+ readonly Ext: {
258
+ readonly title: "Ext";
259
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
260
+ readonly type: "object";
261
+ readonly minProperties: 1;
262
+ readonly additionalProperties: true;
263
+ readonly propertyNames: {
264
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
265
+ };
266
+ };
267
+ readonly AuditEnvelope: {
268
+ readonly $anchor: "auditEnvelope";
269
+ readonly title: "AuditEnvelope";
270
+ readonly description: "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.";
271
+ readonly type: "object";
272
+ readonly additionalProperties: false;
273
+ readonly required: readonly ["eventId", "recordedAt", "action"];
274
+ readonly properties: {
275
+ readonly eventId: {
276
+ readonly type: "string";
277
+ readonly minLength: 1;
278
+ readonly description: "Stable identifier for this event. Also the tie-breaker component of a cursor's position key.";
279
+ };
280
+ readonly recordedAt: {
281
+ readonly type: "string";
282
+ readonly format: "date-time";
283
+ readonly description: "Wall-clock time the entry was written. The primary ordering key.";
284
+ };
285
+ readonly action: {
286
+ readonly type: "string";
287
+ readonly minLength: 1;
288
+ readonly description: "The operation this entry records — a maintainer-defined action name (e.g. `member.removed`, `policy.activated`). The discriminator for `detail`.";
289
+ };
290
+ readonly outcome: {
291
+ readonly type: "string";
292
+ readonly description: "How the operation resolved. Typically `success` or `denied`; a maintainer MAY use others. Absent for events that have no pass/fail sense.";
293
+ };
294
+ readonly actor: {
295
+ readonly type: readonly ["string", "null"];
296
+ readonly description: "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.";
297
+ };
298
+ readonly target: {
299
+ readonly type: readonly ["string", "null"];
300
+ readonly description: "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`.";
301
+ };
302
+ readonly contextId: {
303
+ readonly type: "string";
304
+ readonly minLength: 1;
305
+ readonly description: "Trust context the event occurred in, for a maintainer that partitions its log per context.";
306
+ };
307
+ readonly schemaVersion: {
308
+ readonly type: "integer";
309
+ readonly minimum: 0;
310
+ readonly description: "Envelope-shape version at the maintainer, for consumers that need to reason about wire-shape evolution.";
311
+ };
312
+ readonly prevHash: {
313
+ readonly $ref: "#/$defs/DigestMultibase";
314
+ readonly description: "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.";
315
+ };
316
+ readonly entryHash: {
317
+ readonly $ref: "#/$defs/DigestMultibase";
318
+ readonly description: "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.";
319
+ };
320
+ readonly detail: {
321
+ readonly type: "object";
322
+ readonly description: "Event-specific payload, keyed by `action`. Opaque to the framework; a consumer that does not recognise the action treats it as an unstructured record.";
323
+ readonly additionalProperties: true;
324
+ };
325
+ readonly ext: {
326
+ readonly $ref: "#/$defs/Ext";
327
+ };
328
+ };
329
+ };
330
+ readonly DigestMultibase: {
331
+ readonly title: "DigestMultibase";
332
+ readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
333
+ readonly type: "string";
334
+ readonly minLength: 16;
335
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
336
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
337
+ };
338
+ };
339
+ };
340
+ /**
341
+ * SPEC.md §7.2 policy for the request variant, from this specification's
342
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
343
+ * per-specification and cannot be derived from the document alone, and
344
+ * item 2 needs the schema this carries.
345
+ */
346
+ export declare const SPEC: {
347
+ readonly typeUri: "https://trusttasks.org/spec/audit/list/0.2";
348
+ readonly isBearer: false;
349
+ readonly isProofRequired: true;
350
+ readonly isRecipientRequired: true;
351
+ readonly isIssuedAtRequired: true;
352
+ readonly payloadSchema: {
353
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
354
+ readonly $id: "https://trusttasks.org/spec/audit/list/0.2";
355
+ readonly title: "Audit List — payload";
356
+ readonly type: "object";
357
+ readonly additionalProperties: false;
358
+ readonly properties: {
359
+ readonly from: {
360
+ readonly type: "string";
361
+ readonly format: "date-time";
362
+ readonly description: "Return only entries recorded at or after this time.";
363
+ };
364
+ readonly to: {
365
+ readonly type: "string";
366
+ readonly format: "date-time";
367
+ readonly description: "Return only entries recorded strictly before this time.";
368
+ };
369
+ readonly action: {
370
+ readonly type: "string";
371
+ readonly minLength: 1;
372
+ readonly description: "Return only entries whose `action` equals this value.";
373
+ };
374
+ readonly actor: {
375
+ readonly type: "string";
376
+ readonly minLength: 1;
377
+ readonly description: "Return only entries whose `actor` DID equals this value. Matches on the plaintext; redacted entries are not returned by an actor filter.";
378
+ };
379
+ readonly outcome: {
380
+ readonly type: "string";
381
+ readonly minLength: 1;
382
+ readonly description: "Return only entries whose `outcome` equals this value.";
383
+ };
384
+ readonly contextId: {
385
+ readonly type: "string";
386
+ readonly minLength: 1;
387
+ readonly description: "Return only entries in this trust context.";
388
+ };
389
+ readonly limit: {
390
+ readonly type: "integer";
391
+ readonly minimum: 1;
392
+ readonly maximum: 1000;
393
+ readonly description: "The most entries to return; the responder chooses a default and MAY return fewer.";
394
+ };
395
+ readonly cursor: {
396
+ readonly type: "string";
397
+ readonly description: "An opaque continuation token from a previous response's `nextCursor`; a responder MUST NOT accept a cursor it did not issue. Encodes the position to resume from; a maintainer SHOULD sign it so it cannot be forged to skip entries. Treated as invalid (see errorCodes) if it fails to verify — e.g. minted before an audit-key rotation. A consumer that supplies a `cursor` MUST NOT also change the filters, which are bound into the cursor's position.";
398
+ };
399
+ readonly ext: {
400
+ readonly $ref: "#/$defs/Ext";
401
+ };
402
+ };
403
+ readonly $defs: {
404
+ readonly Response: {
405
+ readonly $anchor: "response";
406
+ readonly title: "Audit List — response payload";
407
+ readonly type: "object";
408
+ readonly additionalProperties: false;
409
+ readonly required: readonly ["entries"];
410
+ readonly properties: {
411
+ readonly entries: {
412
+ readonly type: "array";
413
+ readonly description: "The matching audit entries, newest first.";
414
+ readonly items: {
415
+ readonly $ref: "#/$defs/AuditEnvelope";
416
+ };
417
+ };
418
+ readonly nextCursor: {
419
+ readonly type: "string";
420
+ readonly description: "Opaque continuation token for the next page, sent back as the request's `cursor`. Present iff more entries match beyond this page; absent on the last page.";
421
+ };
422
+ readonly ext: {
423
+ readonly $ref: "#/$defs/Ext";
424
+ };
425
+ };
426
+ };
427
+ readonly Ext: {
428
+ readonly title: "Ext";
429
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
430
+ readonly type: "object";
431
+ readonly minProperties: 1;
432
+ readonly additionalProperties: true;
433
+ readonly propertyNames: {
434
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
435
+ };
436
+ };
437
+ readonly AuditEnvelope: {
438
+ readonly $anchor: "auditEnvelope";
439
+ readonly title: "AuditEnvelope";
440
+ readonly description: "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.";
441
+ readonly type: "object";
442
+ readonly additionalProperties: false;
443
+ readonly required: readonly ["eventId", "recordedAt", "action"];
444
+ readonly properties: {
445
+ readonly eventId: {
446
+ readonly type: "string";
447
+ readonly minLength: 1;
448
+ readonly description: "Stable identifier for this event. Also the tie-breaker component of a cursor's position key.";
449
+ };
450
+ readonly recordedAt: {
451
+ readonly type: "string";
452
+ readonly format: "date-time";
453
+ readonly description: "Wall-clock time the entry was written. The primary ordering key.";
454
+ };
455
+ readonly action: {
456
+ readonly type: "string";
457
+ readonly minLength: 1;
458
+ readonly description: "The operation this entry records — a maintainer-defined action name (e.g. `member.removed`, `policy.activated`). The discriminator for `detail`.";
459
+ };
460
+ readonly outcome: {
461
+ readonly type: "string";
462
+ readonly description: "How the operation resolved. Typically `success` or `denied`; a maintainer MAY use others. Absent for events that have no pass/fail sense.";
463
+ };
464
+ readonly actor: {
465
+ readonly type: readonly ["string", "null"];
466
+ readonly description: "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.";
467
+ };
468
+ readonly target: {
469
+ readonly type: readonly ["string", "null"];
470
+ readonly description: "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`.";
471
+ };
472
+ readonly contextId: {
473
+ readonly type: "string";
474
+ readonly minLength: 1;
475
+ readonly description: "Trust context the event occurred in, for a maintainer that partitions its log per context.";
476
+ };
477
+ readonly schemaVersion: {
478
+ readonly type: "integer";
479
+ readonly minimum: 0;
480
+ readonly description: "Envelope-shape version at the maintainer, for consumers that need to reason about wire-shape evolution.";
481
+ };
482
+ readonly prevHash: {
483
+ readonly $ref: "#/$defs/DigestMultibase";
484
+ readonly description: "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.";
485
+ };
486
+ readonly entryHash: {
487
+ readonly $ref: "#/$defs/DigestMultibase";
488
+ readonly description: "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.";
489
+ };
490
+ readonly detail: {
491
+ readonly type: "object";
492
+ readonly description: "Event-specific payload, keyed by `action`. Opaque to the framework; a consumer that does not recognise the action treats it as an unstructured record.";
493
+ readonly additionalProperties: true;
494
+ };
495
+ readonly ext: {
496
+ readonly $ref: "#/$defs/Ext";
497
+ };
498
+ };
499
+ };
500
+ readonly DigestMultibase: {
501
+ readonly title: "DigestMultibase";
502
+ readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
503
+ readonly type: "string";
504
+ readonly minLength: 16;
505
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
506
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
507
+ };
508
+ };
509
+ };
510
+ };
511
+ /**
512
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
513
+ * tracks the *issuer* party's requirement because a response swaps the
514
+ * parties (§7.3 item 5).
515
+ */
516
+ export declare const RESPONSE_SPEC: {
517
+ readonly typeUri: "https://trusttasks.org/spec/audit/list/0.2#response";
518
+ readonly isBearer: false;
519
+ readonly isProofRequired: true;
520
+ readonly isRecipientRequired: true;
521
+ readonly isIssuedAtRequired: true;
522
+ readonly payloadSchema: {
523
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
524
+ readonly $ref: "#/$defs/Response";
525
+ readonly $defs: {
526
+ readonly Response: {
527
+ readonly $anchor: "response";
528
+ readonly title: "Audit List — response payload";
529
+ readonly type: "object";
530
+ readonly additionalProperties: false;
531
+ readonly required: readonly ["entries"];
532
+ readonly properties: {
533
+ readonly entries: {
534
+ readonly type: "array";
535
+ readonly description: "The matching audit entries, newest first.";
536
+ readonly items: {
537
+ readonly $ref: "#/$defs/AuditEnvelope";
538
+ };
539
+ };
540
+ readonly nextCursor: {
541
+ readonly type: "string";
542
+ readonly description: "Opaque continuation token for the next page, sent back as the request's `cursor`. Present iff more entries match beyond this page; absent on the last page.";
543
+ };
544
+ readonly ext: {
545
+ readonly $ref: "#/$defs/Ext";
546
+ };
547
+ };
548
+ };
549
+ readonly Ext: {
550
+ readonly title: "Ext";
551
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
552
+ readonly type: "object";
553
+ readonly minProperties: 1;
554
+ readonly additionalProperties: true;
555
+ readonly propertyNames: {
556
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
557
+ };
558
+ };
559
+ readonly AuditEnvelope: {
560
+ readonly $anchor: "auditEnvelope";
561
+ readonly title: "AuditEnvelope";
562
+ readonly description: "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.";
563
+ readonly type: "object";
564
+ readonly additionalProperties: false;
565
+ readonly required: readonly ["eventId", "recordedAt", "action"];
566
+ readonly properties: {
567
+ readonly eventId: {
568
+ readonly type: "string";
569
+ readonly minLength: 1;
570
+ readonly description: "Stable identifier for this event. Also the tie-breaker component of a cursor's position key.";
571
+ };
572
+ readonly recordedAt: {
573
+ readonly type: "string";
574
+ readonly format: "date-time";
575
+ readonly description: "Wall-clock time the entry was written. The primary ordering key.";
576
+ };
577
+ readonly action: {
578
+ readonly type: "string";
579
+ readonly minLength: 1;
580
+ readonly description: "The operation this entry records — a maintainer-defined action name (e.g. `member.removed`, `policy.activated`). The discriminator for `detail`.";
581
+ };
582
+ readonly outcome: {
583
+ readonly type: "string";
584
+ readonly description: "How the operation resolved. Typically `success` or `denied`; a maintainer MAY use others. Absent for events that have no pass/fail sense.";
585
+ };
586
+ readonly actor: {
587
+ readonly type: readonly ["string", "null"];
588
+ readonly description: "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.";
589
+ };
590
+ readonly target: {
591
+ readonly type: readonly ["string", "null"];
592
+ readonly description: "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`.";
593
+ };
594
+ readonly contextId: {
595
+ readonly type: "string";
596
+ readonly minLength: 1;
597
+ readonly description: "Trust context the event occurred in, for a maintainer that partitions its log per context.";
598
+ };
599
+ readonly schemaVersion: {
600
+ readonly type: "integer";
601
+ readonly minimum: 0;
602
+ readonly description: "Envelope-shape version at the maintainer, for consumers that need to reason about wire-shape evolution.";
603
+ };
604
+ readonly prevHash: {
605
+ readonly $ref: "#/$defs/DigestMultibase";
606
+ readonly description: "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.";
607
+ };
608
+ readonly entryHash: {
609
+ readonly $ref: "#/$defs/DigestMultibase";
610
+ readonly description: "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.";
611
+ };
612
+ readonly detail: {
613
+ readonly type: "object";
614
+ readonly description: "Event-specific payload, keyed by `action`. Opaque to the framework; a consumer that does not recognise the action treats it as an unstructured record.";
615
+ readonly additionalProperties: true;
616
+ };
617
+ readonly ext: {
618
+ readonly $ref: "#/$defs/Ext";
619
+ };
620
+ };
621
+ };
622
+ readonly DigestMultibase: {
623
+ readonly title: "DigestMultibase";
624
+ readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
625
+ readonly type: "string";
626
+ readonly minLength: 16;
627
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
628
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
629
+ };
630
+ };
631
+ };
632
+ };
633
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/audit/list/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAG1F,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC;AAEpD,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,4CAAqD,CAAC;AAE9E,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,gBAAgB,CAAC;AAEvC,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,qDAA8D,CAAC;AAEhG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,wBAAwB,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2KjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2H1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}