@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,1206 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/messaging/account/list/0.2/payload.schema.json
4
+ */
5
+ import type { Account_MessagingV0_2 as Account, AccountStats, AccountType, Ext, MediatorAcl, ProtocolCounts, QueueLimits, Vid } from "../../../../_shared/components.js";
6
+ export interface MessagingListAccountsPayload {
7
+ /**
8
+ * Role filter: return only accounts holding this role. Omitted = accounts of every role. Filtering on `admin` or `rootAdmin` enumerates the mediator's administrators.
9
+ */
10
+ accountType?: AccountType;
11
+ /**
12
+ * Opaque continuation token from a prior page's nextCursor. Echoed verbatim; treated as unstructured by the requester.
13
+ */
14
+ cursor?: string;
15
+ /**
16
+ * Maximum number of accounts to return in this page. The mediator chooses a default when omitted.
17
+ */
18
+ limit?: number;
19
+ /**
20
+ * When true, the mediator includes each returned account's `lastReceivedAt` and `lastAuthenticatedAt`, where recorded. Omitted or false = neither is returned.
21
+ */
22
+ includeActivity?: boolean;
23
+ /**
24
+ * When true, the mediator includes each returned account's `stats` — its lifetime counters — where it keeps them. Omitted or false = no stats are returned.
25
+ */
26
+ includeStats?: boolean;
27
+ /**
28
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
29
+ */
30
+ ext?: Ext;
31
+ }
32
+ /**
33
+ * The success response to a messaging/account/list request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/account/list/0.2#response.
34
+ */
35
+ export interface MessagingListAccountsResponsePayload {
36
+ /**
37
+ * The page of served account views.
38
+ */
39
+ accounts: Account[];
40
+ /**
41
+ * Opaque continuation token. Present only when further accounts remain beyond this page; omitted on the final page.
42
+ */
43
+ nextCursor?: string;
44
+ /**
45
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
46
+ */
47
+ ext?: Ext;
48
+ }
49
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
50
+ export type { Account, AccountStats, AccountType, Ext, MediatorAcl, ProtocolCounts, QueueLimits, Vid };
51
+ /** Trust Task type URI. */
52
+ export declare const TYPE_URI: "https://trusttasks.org/spec/messaging/account/list/0.2";
53
+ /** Stable alias for this specification's request payload shape. */
54
+ export type Payload = MessagingListAccountsPayload;
55
+ /** Trust Task response type URI (request type URI + "#response"). */
56
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/messaging/account/list/0.2#response";
57
+ /** Stable alias for this specification's success-response payload shape. */
58
+ export type Response = MessagingListAccountsResponsePayload;
59
+ /**
60
+ * This specification's payload schema, as a value.
61
+ *
62
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
63
+ * rather than only as a `.json` file because TypeScript types are erased
64
+ * at runtime: without a schema a consumer has nothing to validate, and
65
+ * every REQUIRED payload member is optional in practice. Cross-file
66
+ * `$ref`s are already inlined, so it needs no resolver.
67
+ */
68
+ export declare const PAYLOAD_SCHEMA: {
69
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
70
+ readonly $id: "https://trusttasks.org/spec/messaging/account/list/0.2";
71
+ readonly title: "Messaging List Accounts — payload";
72
+ readonly type: "object";
73
+ readonly additionalProperties: false;
74
+ readonly properties: {
75
+ readonly accountType: {
76
+ readonly $ref: "#/$defs/AccountType";
77
+ readonly description: "Role filter: return only accounts holding this role. Omitted = accounts of every role. Filtering on `admin` or `rootAdmin` enumerates the mediator's administrators.";
78
+ };
79
+ readonly cursor: {
80
+ readonly type: "string";
81
+ readonly minLength: 1;
82
+ readonly description: "Opaque continuation token from a prior page's nextCursor. Echoed verbatim; treated as unstructured by the requester.";
83
+ };
84
+ readonly limit: {
85
+ readonly type: "integer";
86
+ readonly minimum: 1;
87
+ readonly maximum: 1000;
88
+ readonly description: "Maximum number of accounts to return in this page. The mediator chooses a default when omitted.";
89
+ };
90
+ readonly includeActivity: {
91
+ readonly type: "boolean";
92
+ readonly description: "When true, the mediator includes each returned account's `lastReceivedAt` and `lastAuthenticatedAt`, where recorded. Omitted or false = neither is returned.";
93
+ };
94
+ readonly includeStats: {
95
+ readonly type: "boolean";
96
+ readonly description: "When true, the mediator includes each returned account's `stats` — its lifetime counters — where it keeps them. Omitted or false = no stats are returned.";
97
+ };
98
+ readonly ext: {
99
+ readonly $ref: "#/$defs/Ext";
100
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
101
+ };
102
+ };
103
+ readonly $defs: {
104
+ readonly Response: {
105
+ readonly $anchor: "response";
106
+ readonly title: "Messaging List Accounts — response payload";
107
+ readonly description: "The success response to a messaging/account/list request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/account/list/0.2#response.";
108
+ readonly type: "object";
109
+ readonly additionalProperties: false;
110
+ readonly required: readonly ["accounts"];
111
+ readonly properties: {
112
+ readonly accounts: {
113
+ readonly type: "array";
114
+ readonly description: "The page of served account views.";
115
+ readonly items: {
116
+ readonly $ref: "#/$defs/Account";
117
+ };
118
+ };
119
+ readonly nextCursor: {
120
+ readonly type: "string";
121
+ readonly minLength: 1;
122
+ readonly description: "Opaque continuation token. Present only when further accounts remain beyond this page; omitted on the final page.";
123
+ };
124
+ readonly ext: {
125
+ readonly $ref: "#/$defs/Ext";
126
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
127
+ };
128
+ };
129
+ };
130
+ readonly Ext: {
131
+ readonly title: "Ext";
132
+ 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.";
133
+ readonly type: "object";
134
+ readonly minProperties: 1;
135
+ readonly additionalProperties: true;
136
+ readonly propertyNames: {
137
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
138
+ };
139
+ };
140
+ readonly Account: {
141
+ readonly title: "Account";
142
+ readonly type: "object";
143
+ readonly additionalProperties: false;
144
+ readonly required: readonly ["did", "accountType", "acl"];
145
+ readonly description: "The mediator's view of one served account.";
146
+ readonly properties: {
147
+ readonly did: {
148
+ readonly $ref: "#/$defs/Vid";
149
+ readonly description: "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.";
150
+ };
151
+ readonly accountType: {
152
+ readonly $ref: "#/$defs/AccountType";
153
+ };
154
+ readonly acl: {
155
+ readonly $ref: "#/$defs/MediatorAcl";
156
+ };
157
+ readonly queueLimits: {
158
+ readonly $ref: "#/$defs/QueueLimits";
159
+ };
160
+ readonly sendQueueCount: {
161
+ readonly type: "integer";
162
+ readonly minimum: 0;
163
+ readonly description: "Current count of queued send messages.";
164
+ };
165
+ readonly sendQueueBytes: {
166
+ readonly type: "integer";
167
+ readonly minimum: 0;
168
+ readonly description: "Current byte size of queued send messages.";
169
+ };
170
+ readonly receiveQueueCount: {
171
+ readonly type: "integer";
172
+ readonly minimum: 0;
173
+ readonly description: "Current count of queued receive messages.";
174
+ };
175
+ readonly receiveQueueBytes: {
176
+ readonly type: "integer";
177
+ readonly minimum: 0;
178
+ readonly description: "Current byte size of queued receive messages.";
179
+ };
180
+ readonly accessListCount: {
181
+ readonly type: "integer";
182
+ readonly minimum: 0;
183
+ readonly description: "Number of entries in the account's access list.";
184
+ };
185
+ readonly lastReceivedAt: {
186
+ readonly type: "string";
187
+ readonly format: "date-time";
188
+ readonly description: "The instant at which the mediator last accepted a message addressed to this account. Present only when the request set `includeActivity` and the mediator has recorded such a message; MAY lag the true time by up to 60 seconds.";
189
+ };
190
+ readonly lastAuthenticatedAt: {
191
+ readonly type: "string";
192
+ readonly format: "date-time";
193
+ readonly description: "The instant at which this account last completed authentication with the mediator, over any transport. Present only when the request set `includeActivity` and the mediator has recorded an authentication.";
194
+ };
195
+ readonly stats: {
196
+ readonly $ref: "#/$defs/AccountStats";
197
+ readonly description: "Lifetime counters the mediator keeps for this account. Present only when the request set `includeStats`.";
198
+ };
199
+ };
200
+ };
201
+ readonly AccountStats: {
202
+ readonly title: "AccountStats";
203
+ readonly type: "object";
204
+ readonly additionalProperties: false;
205
+ readonly description: "What an account has sent and received over its lifetime, as the mediator counted it. Every member is optional: a mediator reports what it keeps, and a counter absent from a response was not kept rather than zero. Counters survive restarts and are not reset by reading them; removing an account discards them.";
206
+ readonly properties: {
207
+ readonly messagesReceived: {
208
+ readonly type: "integer";
209
+ readonly minimum: 0;
210
+ readonly description: "Messages the mediator accepted addressed to this account.";
211
+ };
212
+ readonly messagesSent: {
213
+ readonly type: "integer";
214
+ readonly minimum: 0;
215
+ readonly description: "Messages the mediator accepted from this account.";
216
+ };
217
+ readonly bytesReceived: {
218
+ readonly type: "integer";
219
+ readonly minimum: 0;
220
+ readonly description: "Total size of the messages counted by messagesReceived.";
221
+ };
222
+ readonly bytesSent: {
223
+ readonly type: "integer";
224
+ readonly minimum: 0;
225
+ readonly description: "Total size of the messages counted by messagesSent.";
226
+ };
227
+ readonly receivedByProtocol: {
228
+ readonly $ref: "#/$defs/ProtocolCounts";
229
+ readonly description: "messagesReceived split by the wire protocol the message arrived in.";
230
+ };
231
+ readonly sentByProtocol: {
232
+ readonly $ref: "#/$defs/ProtocolCounts";
233
+ readonly description: "messagesSent split by the wire protocol the message was sent in.";
234
+ };
235
+ };
236
+ };
237
+ readonly ProtocolCounts: {
238
+ readonly title: "ProtocolCounts";
239
+ readonly type: "object";
240
+ readonly additionalProperties: false;
241
+ readonly description: "Message counts split by wire protocol. An absent member is a protocol the mediator counted nothing for. The member names match the WireProtocol values the traffic monitor reports.";
242
+ readonly properties: {
243
+ readonly didcomm: {
244
+ readonly type: "integer";
245
+ readonly minimum: 0;
246
+ readonly description: "DIDComm v2 (JWE/JWS).";
247
+ };
248
+ readonly didcommV1: {
249
+ readonly type: "integer";
250
+ readonly minimum: 0;
251
+ readonly description: "A DIDComm v1 envelope.";
252
+ };
253
+ readonly tsp: {
254
+ readonly type: "integer";
255
+ readonly minimum: 0;
256
+ readonly description: "A Trust Spanning Protocol message.";
257
+ };
258
+ readonly other: {
259
+ readonly type: "integer";
260
+ readonly minimum: 0;
261
+ readonly description: "Anything the mediator could not classify.";
262
+ };
263
+ };
264
+ };
265
+ readonly QueueLimits: {
266
+ readonly title: "QueueLimits";
267
+ readonly type: "object";
268
+ readonly additionalProperties: false;
269
+ readonly description: "Per-account queued-message limits. A value of -1 means unlimited; a member omitted on a change request leaves that limit unchanged.";
270
+ readonly properties: {
271
+ readonly sendQueueLimit: {
272
+ readonly type: "integer";
273
+ readonly minimum: -1;
274
+ readonly description: "Maximum queued send messages; -1 = unlimited.";
275
+ };
276
+ readonly receiveQueueLimit: {
277
+ readonly type: "integer";
278
+ readonly minimum: -1;
279
+ readonly description: "Maximum queued receive messages; -1 = unlimited.";
280
+ };
281
+ };
282
+ };
283
+ readonly MediatorAcl: {
284
+ readonly title: "MediatorAcl";
285
+ readonly type: "object";
286
+ readonly additionalProperties: false;
287
+ readonly description: "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.";
288
+ readonly properties: {
289
+ readonly accessListMode: {
290
+ readonly type: "string";
291
+ readonly enum: readonly ["explicitAllow", "explicitDeny"];
292
+ readonly description: "How the account's access list is interpreted. `explicitAllow` = an allowlist (empty denies everyone); `explicitDeny` = a denylist (empty allows everyone).";
293
+ };
294
+ readonly blocked: {
295
+ readonly type: "boolean";
296
+ readonly description: "The account is blocked from authenticating and transacting.";
297
+ };
298
+ readonly local: {
299
+ readonly type: "boolean";
300
+ readonly description: "Messages for this account may be stored locally at this mediator for pickup.";
301
+ };
302
+ readonly sendMessages: {
303
+ readonly type: "boolean";
304
+ readonly description: "May send direct messages through the mediator.";
305
+ };
306
+ readonly receiveMessages: {
307
+ readonly type: "boolean";
308
+ readonly description: "May receive direct messages.";
309
+ };
310
+ readonly sendForwarded: {
311
+ readonly type: "boolean";
312
+ readonly description: "May send routing/forward (relay) messages.";
313
+ };
314
+ readonly receiveForwarded: {
315
+ readonly type: "boolean";
316
+ readonly description: "May be the next hop of a forwarded message.";
317
+ };
318
+ readonly createInvites: {
319
+ readonly type: "boolean";
320
+ readonly description: "May create out-of-band invitations.";
321
+ };
322
+ readonly anonReceive: {
323
+ readonly type: "boolean";
324
+ readonly description: "Accepts anonymous (no authenticated sender) messages.";
325
+ };
326
+ readonly selfManageList: {
327
+ readonly type: "boolean";
328
+ readonly description: "May self-manage its own access list.";
329
+ };
330
+ readonly selfManageSendQueueLimit: {
331
+ readonly type: "boolean";
332
+ readonly description: "May self-manage its own send-queue limit.";
333
+ };
334
+ readonly selfManageReceiveQueueLimit: {
335
+ readonly type: "boolean";
336
+ readonly description: "May self-manage its own receive-queue limit.";
337
+ };
338
+ readonly didcommEnabled: {
339
+ readonly type: "boolean";
340
+ readonly description: "The account accepts DIDComm-protocol delivery. Default true; set false for a TSP-only node.";
341
+ };
342
+ readonly tspEnabled: {
343
+ readonly type: "boolean";
344
+ readonly description: "The account accepts TSP-protocol delivery. Default true; set false for a DIDComm-only node.";
345
+ };
346
+ };
347
+ };
348
+ readonly AccountType: {
349
+ readonly title: "AccountType";
350
+ readonly type: "string";
351
+ readonly enum: readonly ["standard", "admin", "rootAdmin", "mediator"];
352
+ readonly description: "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.";
353
+ };
354
+ readonly Vid: {
355
+ readonly title: "Vid";
356
+ readonly type: "string";
357
+ readonly minLength: 1;
358
+ readonly description: "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.";
359
+ };
360
+ };
361
+ };
362
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
363
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
364
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
365
+ readonly $ref: "#/$defs/Response";
366
+ readonly $defs: {
367
+ readonly Response: {
368
+ readonly $anchor: "response";
369
+ readonly title: "Messaging List Accounts — response payload";
370
+ readonly description: "The success response to a messaging/account/list request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/account/list/0.2#response.";
371
+ readonly type: "object";
372
+ readonly additionalProperties: false;
373
+ readonly required: readonly ["accounts"];
374
+ readonly properties: {
375
+ readonly accounts: {
376
+ readonly type: "array";
377
+ readonly description: "The page of served account views.";
378
+ readonly items: {
379
+ readonly $ref: "#/$defs/Account";
380
+ };
381
+ };
382
+ readonly nextCursor: {
383
+ readonly type: "string";
384
+ readonly minLength: 1;
385
+ readonly description: "Opaque continuation token. Present only when further accounts remain beyond this page; omitted on the final page.";
386
+ };
387
+ readonly ext: {
388
+ readonly $ref: "#/$defs/Ext";
389
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
390
+ };
391
+ };
392
+ };
393
+ readonly Ext: {
394
+ readonly title: "Ext";
395
+ 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.";
396
+ readonly type: "object";
397
+ readonly minProperties: 1;
398
+ readonly additionalProperties: true;
399
+ readonly propertyNames: {
400
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
401
+ };
402
+ };
403
+ readonly Account: {
404
+ readonly title: "Account";
405
+ readonly type: "object";
406
+ readonly additionalProperties: false;
407
+ readonly required: readonly ["did", "accountType", "acl"];
408
+ readonly description: "The mediator's view of one served account.";
409
+ readonly properties: {
410
+ readonly did: {
411
+ readonly $ref: "#/$defs/Vid";
412
+ readonly description: "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.";
413
+ };
414
+ readonly accountType: {
415
+ readonly $ref: "#/$defs/AccountType";
416
+ };
417
+ readonly acl: {
418
+ readonly $ref: "#/$defs/MediatorAcl";
419
+ };
420
+ readonly queueLimits: {
421
+ readonly $ref: "#/$defs/QueueLimits";
422
+ };
423
+ readonly sendQueueCount: {
424
+ readonly type: "integer";
425
+ readonly minimum: 0;
426
+ readonly description: "Current count of queued send messages.";
427
+ };
428
+ readonly sendQueueBytes: {
429
+ readonly type: "integer";
430
+ readonly minimum: 0;
431
+ readonly description: "Current byte size of queued send messages.";
432
+ };
433
+ readonly receiveQueueCount: {
434
+ readonly type: "integer";
435
+ readonly minimum: 0;
436
+ readonly description: "Current count of queued receive messages.";
437
+ };
438
+ readonly receiveQueueBytes: {
439
+ readonly type: "integer";
440
+ readonly minimum: 0;
441
+ readonly description: "Current byte size of queued receive messages.";
442
+ };
443
+ readonly accessListCount: {
444
+ readonly type: "integer";
445
+ readonly minimum: 0;
446
+ readonly description: "Number of entries in the account's access list.";
447
+ };
448
+ readonly lastReceivedAt: {
449
+ readonly type: "string";
450
+ readonly format: "date-time";
451
+ readonly description: "The instant at which the mediator last accepted a message addressed to this account. Present only when the request set `includeActivity` and the mediator has recorded such a message; MAY lag the true time by up to 60 seconds.";
452
+ };
453
+ readonly lastAuthenticatedAt: {
454
+ readonly type: "string";
455
+ readonly format: "date-time";
456
+ readonly description: "The instant at which this account last completed authentication with the mediator, over any transport. Present only when the request set `includeActivity` and the mediator has recorded an authentication.";
457
+ };
458
+ readonly stats: {
459
+ readonly $ref: "#/$defs/AccountStats";
460
+ readonly description: "Lifetime counters the mediator keeps for this account. Present only when the request set `includeStats`.";
461
+ };
462
+ };
463
+ };
464
+ readonly AccountStats: {
465
+ readonly title: "AccountStats";
466
+ readonly type: "object";
467
+ readonly additionalProperties: false;
468
+ readonly description: "What an account has sent and received over its lifetime, as the mediator counted it. Every member is optional: a mediator reports what it keeps, and a counter absent from a response was not kept rather than zero. Counters survive restarts and are not reset by reading them; removing an account discards them.";
469
+ readonly properties: {
470
+ readonly messagesReceived: {
471
+ readonly type: "integer";
472
+ readonly minimum: 0;
473
+ readonly description: "Messages the mediator accepted addressed to this account.";
474
+ };
475
+ readonly messagesSent: {
476
+ readonly type: "integer";
477
+ readonly minimum: 0;
478
+ readonly description: "Messages the mediator accepted from this account.";
479
+ };
480
+ readonly bytesReceived: {
481
+ readonly type: "integer";
482
+ readonly minimum: 0;
483
+ readonly description: "Total size of the messages counted by messagesReceived.";
484
+ };
485
+ readonly bytesSent: {
486
+ readonly type: "integer";
487
+ readonly minimum: 0;
488
+ readonly description: "Total size of the messages counted by messagesSent.";
489
+ };
490
+ readonly receivedByProtocol: {
491
+ readonly $ref: "#/$defs/ProtocolCounts";
492
+ readonly description: "messagesReceived split by the wire protocol the message arrived in.";
493
+ };
494
+ readonly sentByProtocol: {
495
+ readonly $ref: "#/$defs/ProtocolCounts";
496
+ readonly description: "messagesSent split by the wire protocol the message was sent in.";
497
+ };
498
+ };
499
+ };
500
+ readonly ProtocolCounts: {
501
+ readonly title: "ProtocolCounts";
502
+ readonly type: "object";
503
+ readonly additionalProperties: false;
504
+ readonly description: "Message counts split by wire protocol. An absent member is a protocol the mediator counted nothing for. The member names match the WireProtocol values the traffic monitor reports.";
505
+ readonly properties: {
506
+ readonly didcomm: {
507
+ readonly type: "integer";
508
+ readonly minimum: 0;
509
+ readonly description: "DIDComm v2 (JWE/JWS).";
510
+ };
511
+ readonly didcommV1: {
512
+ readonly type: "integer";
513
+ readonly minimum: 0;
514
+ readonly description: "A DIDComm v1 envelope.";
515
+ };
516
+ readonly tsp: {
517
+ readonly type: "integer";
518
+ readonly minimum: 0;
519
+ readonly description: "A Trust Spanning Protocol message.";
520
+ };
521
+ readonly other: {
522
+ readonly type: "integer";
523
+ readonly minimum: 0;
524
+ readonly description: "Anything the mediator could not classify.";
525
+ };
526
+ };
527
+ };
528
+ readonly QueueLimits: {
529
+ readonly title: "QueueLimits";
530
+ readonly type: "object";
531
+ readonly additionalProperties: false;
532
+ readonly description: "Per-account queued-message limits. A value of -1 means unlimited; a member omitted on a change request leaves that limit unchanged.";
533
+ readonly properties: {
534
+ readonly sendQueueLimit: {
535
+ readonly type: "integer";
536
+ readonly minimum: -1;
537
+ readonly description: "Maximum queued send messages; -1 = unlimited.";
538
+ };
539
+ readonly receiveQueueLimit: {
540
+ readonly type: "integer";
541
+ readonly minimum: -1;
542
+ readonly description: "Maximum queued receive messages; -1 = unlimited.";
543
+ };
544
+ };
545
+ };
546
+ readonly MediatorAcl: {
547
+ readonly title: "MediatorAcl";
548
+ readonly type: "object";
549
+ readonly additionalProperties: false;
550
+ readonly description: "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.";
551
+ readonly properties: {
552
+ readonly accessListMode: {
553
+ readonly type: "string";
554
+ readonly enum: readonly ["explicitAllow", "explicitDeny"];
555
+ readonly description: "How the account's access list is interpreted. `explicitAllow` = an allowlist (empty denies everyone); `explicitDeny` = a denylist (empty allows everyone).";
556
+ };
557
+ readonly blocked: {
558
+ readonly type: "boolean";
559
+ readonly description: "The account is blocked from authenticating and transacting.";
560
+ };
561
+ readonly local: {
562
+ readonly type: "boolean";
563
+ readonly description: "Messages for this account may be stored locally at this mediator for pickup.";
564
+ };
565
+ readonly sendMessages: {
566
+ readonly type: "boolean";
567
+ readonly description: "May send direct messages through the mediator.";
568
+ };
569
+ readonly receiveMessages: {
570
+ readonly type: "boolean";
571
+ readonly description: "May receive direct messages.";
572
+ };
573
+ readonly sendForwarded: {
574
+ readonly type: "boolean";
575
+ readonly description: "May send routing/forward (relay) messages.";
576
+ };
577
+ readonly receiveForwarded: {
578
+ readonly type: "boolean";
579
+ readonly description: "May be the next hop of a forwarded message.";
580
+ };
581
+ readonly createInvites: {
582
+ readonly type: "boolean";
583
+ readonly description: "May create out-of-band invitations.";
584
+ };
585
+ readonly anonReceive: {
586
+ readonly type: "boolean";
587
+ readonly description: "Accepts anonymous (no authenticated sender) messages.";
588
+ };
589
+ readonly selfManageList: {
590
+ readonly type: "boolean";
591
+ readonly description: "May self-manage its own access list.";
592
+ };
593
+ readonly selfManageSendQueueLimit: {
594
+ readonly type: "boolean";
595
+ readonly description: "May self-manage its own send-queue limit.";
596
+ };
597
+ readonly selfManageReceiveQueueLimit: {
598
+ readonly type: "boolean";
599
+ readonly description: "May self-manage its own receive-queue limit.";
600
+ };
601
+ readonly didcommEnabled: {
602
+ readonly type: "boolean";
603
+ readonly description: "The account accepts DIDComm-protocol delivery. Default true; set false for a TSP-only node.";
604
+ };
605
+ readonly tspEnabled: {
606
+ readonly type: "boolean";
607
+ readonly description: "The account accepts TSP-protocol delivery. Default true; set false for a DIDComm-only node.";
608
+ };
609
+ };
610
+ };
611
+ readonly AccountType: {
612
+ readonly title: "AccountType";
613
+ readonly type: "string";
614
+ readonly enum: readonly ["standard", "admin", "rootAdmin", "mediator"];
615
+ readonly description: "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.";
616
+ };
617
+ readonly Vid: {
618
+ readonly title: "Vid";
619
+ readonly type: "string";
620
+ readonly minLength: 1;
621
+ readonly description: "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.";
622
+ };
623
+ };
624
+ };
625
+ /**
626
+ * SPEC.md §7.2 policy for the request variant, from this specification's
627
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
628
+ * per-specification and cannot be derived from the document alone, and
629
+ * item 2 needs the schema this carries.
630
+ */
631
+ export declare const SPEC: {
632
+ readonly typeUri: "https://trusttasks.org/spec/messaging/account/list/0.2";
633
+ readonly isBearer: false;
634
+ readonly isProofRequired: false;
635
+ readonly isRecipientRequired: true;
636
+ readonly isIssuedAtRequired: false;
637
+ readonly payloadSchema: {
638
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
639
+ readonly $id: "https://trusttasks.org/spec/messaging/account/list/0.2";
640
+ readonly title: "Messaging List Accounts — payload";
641
+ readonly type: "object";
642
+ readonly additionalProperties: false;
643
+ readonly properties: {
644
+ readonly accountType: {
645
+ readonly $ref: "#/$defs/AccountType";
646
+ readonly description: "Role filter: return only accounts holding this role. Omitted = accounts of every role. Filtering on `admin` or `rootAdmin` enumerates the mediator's administrators.";
647
+ };
648
+ readonly cursor: {
649
+ readonly type: "string";
650
+ readonly minLength: 1;
651
+ readonly description: "Opaque continuation token from a prior page's nextCursor. Echoed verbatim; treated as unstructured by the requester.";
652
+ };
653
+ readonly limit: {
654
+ readonly type: "integer";
655
+ readonly minimum: 1;
656
+ readonly maximum: 1000;
657
+ readonly description: "Maximum number of accounts to return in this page. The mediator chooses a default when omitted.";
658
+ };
659
+ readonly includeActivity: {
660
+ readonly type: "boolean";
661
+ readonly description: "When true, the mediator includes each returned account's `lastReceivedAt` and `lastAuthenticatedAt`, where recorded. Omitted or false = neither is returned.";
662
+ };
663
+ readonly includeStats: {
664
+ readonly type: "boolean";
665
+ readonly description: "When true, the mediator includes each returned account's `stats` — its lifetime counters — where it keeps them. Omitted or false = no stats are returned.";
666
+ };
667
+ readonly ext: {
668
+ readonly $ref: "#/$defs/Ext";
669
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
670
+ };
671
+ };
672
+ readonly $defs: {
673
+ readonly Response: {
674
+ readonly $anchor: "response";
675
+ readonly title: "Messaging List Accounts — response payload";
676
+ readonly description: "The success response to a messaging/account/list request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/account/list/0.2#response.";
677
+ readonly type: "object";
678
+ readonly additionalProperties: false;
679
+ readonly required: readonly ["accounts"];
680
+ readonly properties: {
681
+ readonly accounts: {
682
+ readonly type: "array";
683
+ readonly description: "The page of served account views.";
684
+ readonly items: {
685
+ readonly $ref: "#/$defs/Account";
686
+ };
687
+ };
688
+ readonly nextCursor: {
689
+ readonly type: "string";
690
+ readonly minLength: 1;
691
+ readonly description: "Opaque continuation token. Present only when further accounts remain beyond this page; omitted on the final page.";
692
+ };
693
+ readonly ext: {
694
+ readonly $ref: "#/$defs/Ext";
695
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
696
+ };
697
+ };
698
+ };
699
+ readonly Ext: {
700
+ readonly title: "Ext";
701
+ 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.";
702
+ readonly type: "object";
703
+ readonly minProperties: 1;
704
+ readonly additionalProperties: true;
705
+ readonly propertyNames: {
706
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
707
+ };
708
+ };
709
+ readonly Account: {
710
+ readonly title: "Account";
711
+ readonly type: "object";
712
+ readonly additionalProperties: false;
713
+ readonly required: readonly ["did", "accountType", "acl"];
714
+ readonly description: "The mediator's view of one served account.";
715
+ readonly properties: {
716
+ readonly did: {
717
+ readonly $ref: "#/$defs/Vid";
718
+ readonly description: "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.";
719
+ };
720
+ readonly accountType: {
721
+ readonly $ref: "#/$defs/AccountType";
722
+ };
723
+ readonly acl: {
724
+ readonly $ref: "#/$defs/MediatorAcl";
725
+ };
726
+ readonly queueLimits: {
727
+ readonly $ref: "#/$defs/QueueLimits";
728
+ };
729
+ readonly sendQueueCount: {
730
+ readonly type: "integer";
731
+ readonly minimum: 0;
732
+ readonly description: "Current count of queued send messages.";
733
+ };
734
+ readonly sendQueueBytes: {
735
+ readonly type: "integer";
736
+ readonly minimum: 0;
737
+ readonly description: "Current byte size of queued send messages.";
738
+ };
739
+ readonly receiveQueueCount: {
740
+ readonly type: "integer";
741
+ readonly minimum: 0;
742
+ readonly description: "Current count of queued receive messages.";
743
+ };
744
+ readonly receiveQueueBytes: {
745
+ readonly type: "integer";
746
+ readonly minimum: 0;
747
+ readonly description: "Current byte size of queued receive messages.";
748
+ };
749
+ readonly accessListCount: {
750
+ readonly type: "integer";
751
+ readonly minimum: 0;
752
+ readonly description: "Number of entries in the account's access list.";
753
+ };
754
+ readonly lastReceivedAt: {
755
+ readonly type: "string";
756
+ readonly format: "date-time";
757
+ readonly description: "The instant at which the mediator last accepted a message addressed to this account. Present only when the request set `includeActivity` and the mediator has recorded such a message; MAY lag the true time by up to 60 seconds.";
758
+ };
759
+ readonly lastAuthenticatedAt: {
760
+ readonly type: "string";
761
+ readonly format: "date-time";
762
+ readonly description: "The instant at which this account last completed authentication with the mediator, over any transport. Present only when the request set `includeActivity` and the mediator has recorded an authentication.";
763
+ };
764
+ readonly stats: {
765
+ readonly $ref: "#/$defs/AccountStats";
766
+ readonly description: "Lifetime counters the mediator keeps for this account. Present only when the request set `includeStats`.";
767
+ };
768
+ };
769
+ };
770
+ readonly AccountStats: {
771
+ readonly title: "AccountStats";
772
+ readonly type: "object";
773
+ readonly additionalProperties: false;
774
+ readonly description: "What an account has sent and received over its lifetime, as the mediator counted it. Every member is optional: a mediator reports what it keeps, and a counter absent from a response was not kept rather than zero. Counters survive restarts and are not reset by reading them; removing an account discards them.";
775
+ readonly properties: {
776
+ readonly messagesReceived: {
777
+ readonly type: "integer";
778
+ readonly minimum: 0;
779
+ readonly description: "Messages the mediator accepted addressed to this account.";
780
+ };
781
+ readonly messagesSent: {
782
+ readonly type: "integer";
783
+ readonly minimum: 0;
784
+ readonly description: "Messages the mediator accepted from this account.";
785
+ };
786
+ readonly bytesReceived: {
787
+ readonly type: "integer";
788
+ readonly minimum: 0;
789
+ readonly description: "Total size of the messages counted by messagesReceived.";
790
+ };
791
+ readonly bytesSent: {
792
+ readonly type: "integer";
793
+ readonly minimum: 0;
794
+ readonly description: "Total size of the messages counted by messagesSent.";
795
+ };
796
+ readonly receivedByProtocol: {
797
+ readonly $ref: "#/$defs/ProtocolCounts";
798
+ readonly description: "messagesReceived split by the wire protocol the message arrived in.";
799
+ };
800
+ readonly sentByProtocol: {
801
+ readonly $ref: "#/$defs/ProtocolCounts";
802
+ readonly description: "messagesSent split by the wire protocol the message was sent in.";
803
+ };
804
+ };
805
+ };
806
+ readonly ProtocolCounts: {
807
+ readonly title: "ProtocolCounts";
808
+ readonly type: "object";
809
+ readonly additionalProperties: false;
810
+ readonly description: "Message counts split by wire protocol. An absent member is a protocol the mediator counted nothing for. The member names match the WireProtocol values the traffic monitor reports.";
811
+ readonly properties: {
812
+ readonly didcomm: {
813
+ readonly type: "integer";
814
+ readonly minimum: 0;
815
+ readonly description: "DIDComm v2 (JWE/JWS).";
816
+ };
817
+ readonly didcommV1: {
818
+ readonly type: "integer";
819
+ readonly minimum: 0;
820
+ readonly description: "A DIDComm v1 envelope.";
821
+ };
822
+ readonly tsp: {
823
+ readonly type: "integer";
824
+ readonly minimum: 0;
825
+ readonly description: "A Trust Spanning Protocol message.";
826
+ };
827
+ readonly other: {
828
+ readonly type: "integer";
829
+ readonly minimum: 0;
830
+ readonly description: "Anything the mediator could not classify.";
831
+ };
832
+ };
833
+ };
834
+ readonly QueueLimits: {
835
+ readonly title: "QueueLimits";
836
+ readonly type: "object";
837
+ readonly additionalProperties: false;
838
+ readonly description: "Per-account queued-message limits. A value of -1 means unlimited; a member omitted on a change request leaves that limit unchanged.";
839
+ readonly properties: {
840
+ readonly sendQueueLimit: {
841
+ readonly type: "integer";
842
+ readonly minimum: -1;
843
+ readonly description: "Maximum queued send messages; -1 = unlimited.";
844
+ };
845
+ readonly receiveQueueLimit: {
846
+ readonly type: "integer";
847
+ readonly minimum: -1;
848
+ readonly description: "Maximum queued receive messages; -1 = unlimited.";
849
+ };
850
+ };
851
+ };
852
+ readonly MediatorAcl: {
853
+ readonly title: "MediatorAcl";
854
+ readonly type: "object";
855
+ readonly additionalProperties: false;
856
+ readonly description: "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.";
857
+ readonly properties: {
858
+ readonly accessListMode: {
859
+ readonly type: "string";
860
+ readonly enum: readonly ["explicitAllow", "explicitDeny"];
861
+ readonly description: "How the account's access list is interpreted. `explicitAllow` = an allowlist (empty denies everyone); `explicitDeny` = a denylist (empty allows everyone).";
862
+ };
863
+ readonly blocked: {
864
+ readonly type: "boolean";
865
+ readonly description: "The account is blocked from authenticating and transacting.";
866
+ };
867
+ readonly local: {
868
+ readonly type: "boolean";
869
+ readonly description: "Messages for this account may be stored locally at this mediator for pickup.";
870
+ };
871
+ readonly sendMessages: {
872
+ readonly type: "boolean";
873
+ readonly description: "May send direct messages through the mediator.";
874
+ };
875
+ readonly receiveMessages: {
876
+ readonly type: "boolean";
877
+ readonly description: "May receive direct messages.";
878
+ };
879
+ readonly sendForwarded: {
880
+ readonly type: "boolean";
881
+ readonly description: "May send routing/forward (relay) messages.";
882
+ };
883
+ readonly receiveForwarded: {
884
+ readonly type: "boolean";
885
+ readonly description: "May be the next hop of a forwarded message.";
886
+ };
887
+ readonly createInvites: {
888
+ readonly type: "boolean";
889
+ readonly description: "May create out-of-band invitations.";
890
+ };
891
+ readonly anonReceive: {
892
+ readonly type: "boolean";
893
+ readonly description: "Accepts anonymous (no authenticated sender) messages.";
894
+ };
895
+ readonly selfManageList: {
896
+ readonly type: "boolean";
897
+ readonly description: "May self-manage its own access list.";
898
+ };
899
+ readonly selfManageSendQueueLimit: {
900
+ readonly type: "boolean";
901
+ readonly description: "May self-manage its own send-queue limit.";
902
+ };
903
+ readonly selfManageReceiveQueueLimit: {
904
+ readonly type: "boolean";
905
+ readonly description: "May self-manage its own receive-queue limit.";
906
+ };
907
+ readonly didcommEnabled: {
908
+ readonly type: "boolean";
909
+ readonly description: "The account accepts DIDComm-protocol delivery. Default true; set false for a TSP-only node.";
910
+ };
911
+ readonly tspEnabled: {
912
+ readonly type: "boolean";
913
+ readonly description: "The account accepts TSP-protocol delivery. Default true; set false for a DIDComm-only node.";
914
+ };
915
+ };
916
+ };
917
+ readonly AccountType: {
918
+ readonly title: "AccountType";
919
+ readonly type: "string";
920
+ readonly enum: readonly ["standard", "admin", "rootAdmin", "mediator"];
921
+ readonly description: "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.";
922
+ };
923
+ readonly Vid: {
924
+ readonly title: "Vid";
925
+ readonly type: "string";
926
+ readonly minLength: 1;
927
+ readonly description: "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.";
928
+ };
929
+ };
930
+ };
931
+ };
932
+ /**
933
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
934
+ * tracks the *issuer* party's requirement because a response swaps the
935
+ * parties (§7.3 item 5).
936
+ */
937
+ export declare const RESPONSE_SPEC: {
938
+ readonly typeUri: "https://trusttasks.org/spec/messaging/account/list/0.2#response";
939
+ readonly isBearer: false;
940
+ readonly isProofRequired: false;
941
+ readonly isRecipientRequired: true;
942
+ readonly isIssuedAtRequired: false;
943
+ readonly payloadSchema: {
944
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
945
+ readonly $ref: "#/$defs/Response";
946
+ readonly $defs: {
947
+ readonly Response: {
948
+ readonly $anchor: "response";
949
+ readonly title: "Messaging List Accounts — response payload";
950
+ readonly description: "The success response to a messaging/account/list request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/account/list/0.2#response.";
951
+ readonly type: "object";
952
+ readonly additionalProperties: false;
953
+ readonly required: readonly ["accounts"];
954
+ readonly properties: {
955
+ readonly accounts: {
956
+ readonly type: "array";
957
+ readonly description: "The page of served account views.";
958
+ readonly items: {
959
+ readonly $ref: "#/$defs/Account";
960
+ };
961
+ };
962
+ readonly nextCursor: {
963
+ readonly type: "string";
964
+ readonly minLength: 1;
965
+ readonly description: "Opaque continuation token. Present only when further accounts remain beyond this page; omitted on the final page.";
966
+ };
967
+ readonly ext: {
968
+ readonly $ref: "#/$defs/Ext";
969
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
970
+ };
971
+ };
972
+ };
973
+ readonly Ext: {
974
+ readonly title: "Ext";
975
+ 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.";
976
+ readonly type: "object";
977
+ readonly minProperties: 1;
978
+ readonly additionalProperties: true;
979
+ readonly propertyNames: {
980
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
981
+ };
982
+ };
983
+ readonly Account: {
984
+ readonly title: "Account";
985
+ readonly type: "object";
986
+ readonly additionalProperties: false;
987
+ readonly required: readonly ["did", "accountType", "acl"];
988
+ readonly description: "The mediator's view of one served account.";
989
+ readonly properties: {
990
+ readonly did: {
991
+ readonly $ref: "#/$defs/Vid";
992
+ readonly description: "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.";
993
+ };
994
+ readonly accountType: {
995
+ readonly $ref: "#/$defs/AccountType";
996
+ };
997
+ readonly acl: {
998
+ readonly $ref: "#/$defs/MediatorAcl";
999
+ };
1000
+ readonly queueLimits: {
1001
+ readonly $ref: "#/$defs/QueueLimits";
1002
+ };
1003
+ readonly sendQueueCount: {
1004
+ readonly type: "integer";
1005
+ readonly minimum: 0;
1006
+ readonly description: "Current count of queued send messages.";
1007
+ };
1008
+ readonly sendQueueBytes: {
1009
+ readonly type: "integer";
1010
+ readonly minimum: 0;
1011
+ readonly description: "Current byte size of queued send messages.";
1012
+ };
1013
+ readonly receiveQueueCount: {
1014
+ readonly type: "integer";
1015
+ readonly minimum: 0;
1016
+ readonly description: "Current count of queued receive messages.";
1017
+ };
1018
+ readonly receiveQueueBytes: {
1019
+ readonly type: "integer";
1020
+ readonly minimum: 0;
1021
+ readonly description: "Current byte size of queued receive messages.";
1022
+ };
1023
+ readonly accessListCount: {
1024
+ readonly type: "integer";
1025
+ readonly minimum: 0;
1026
+ readonly description: "Number of entries in the account's access list.";
1027
+ };
1028
+ readonly lastReceivedAt: {
1029
+ readonly type: "string";
1030
+ readonly format: "date-time";
1031
+ readonly description: "The instant at which the mediator last accepted a message addressed to this account. Present only when the request set `includeActivity` and the mediator has recorded such a message; MAY lag the true time by up to 60 seconds.";
1032
+ };
1033
+ readonly lastAuthenticatedAt: {
1034
+ readonly type: "string";
1035
+ readonly format: "date-time";
1036
+ readonly description: "The instant at which this account last completed authentication with the mediator, over any transport. Present only when the request set `includeActivity` and the mediator has recorded an authentication.";
1037
+ };
1038
+ readonly stats: {
1039
+ readonly $ref: "#/$defs/AccountStats";
1040
+ readonly description: "Lifetime counters the mediator keeps for this account. Present only when the request set `includeStats`.";
1041
+ };
1042
+ };
1043
+ };
1044
+ readonly AccountStats: {
1045
+ readonly title: "AccountStats";
1046
+ readonly type: "object";
1047
+ readonly additionalProperties: false;
1048
+ readonly description: "What an account has sent and received over its lifetime, as the mediator counted it. Every member is optional: a mediator reports what it keeps, and a counter absent from a response was not kept rather than zero. Counters survive restarts and are not reset by reading them; removing an account discards them.";
1049
+ readonly properties: {
1050
+ readonly messagesReceived: {
1051
+ readonly type: "integer";
1052
+ readonly minimum: 0;
1053
+ readonly description: "Messages the mediator accepted addressed to this account.";
1054
+ };
1055
+ readonly messagesSent: {
1056
+ readonly type: "integer";
1057
+ readonly minimum: 0;
1058
+ readonly description: "Messages the mediator accepted from this account.";
1059
+ };
1060
+ readonly bytesReceived: {
1061
+ readonly type: "integer";
1062
+ readonly minimum: 0;
1063
+ readonly description: "Total size of the messages counted by messagesReceived.";
1064
+ };
1065
+ readonly bytesSent: {
1066
+ readonly type: "integer";
1067
+ readonly minimum: 0;
1068
+ readonly description: "Total size of the messages counted by messagesSent.";
1069
+ };
1070
+ readonly receivedByProtocol: {
1071
+ readonly $ref: "#/$defs/ProtocolCounts";
1072
+ readonly description: "messagesReceived split by the wire protocol the message arrived in.";
1073
+ };
1074
+ readonly sentByProtocol: {
1075
+ readonly $ref: "#/$defs/ProtocolCounts";
1076
+ readonly description: "messagesSent split by the wire protocol the message was sent in.";
1077
+ };
1078
+ };
1079
+ };
1080
+ readonly ProtocolCounts: {
1081
+ readonly title: "ProtocolCounts";
1082
+ readonly type: "object";
1083
+ readonly additionalProperties: false;
1084
+ readonly description: "Message counts split by wire protocol. An absent member is a protocol the mediator counted nothing for. The member names match the WireProtocol values the traffic monitor reports.";
1085
+ readonly properties: {
1086
+ readonly didcomm: {
1087
+ readonly type: "integer";
1088
+ readonly minimum: 0;
1089
+ readonly description: "DIDComm v2 (JWE/JWS).";
1090
+ };
1091
+ readonly didcommV1: {
1092
+ readonly type: "integer";
1093
+ readonly minimum: 0;
1094
+ readonly description: "A DIDComm v1 envelope.";
1095
+ };
1096
+ readonly tsp: {
1097
+ readonly type: "integer";
1098
+ readonly minimum: 0;
1099
+ readonly description: "A Trust Spanning Protocol message.";
1100
+ };
1101
+ readonly other: {
1102
+ readonly type: "integer";
1103
+ readonly minimum: 0;
1104
+ readonly description: "Anything the mediator could not classify.";
1105
+ };
1106
+ };
1107
+ };
1108
+ readonly QueueLimits: {
1109
+ readonly title: "QueueLimits";
1110
+ readonly type: "object";
1111
+ readonly additionalProperties: false;
1112
+ readonly description: "Per-account queued-message limits. A value of -1 means unlimited; a member omitted on a change request leaves that limit unchanged.";
1113
+ readonly properties: {
1114
+ readonly sendQueueLimit: {
1115
+ readonly type: "integer";
1116
+ readonly minimum: -1;
1117
+ readonly description: "Maximum queued send messages; -1 = unlimited.";
1118
+ };
1119
+ readonly receiveQueueLimit: {
1120
+ readonly type: "integer";
1121
+ readonly minimum: -1;
1122
+ readonly description: "Maximum queued receive messages; -1 = unlimited.";
1123
+ };
1124
+ };
1125
+ };
1126
+ readonly MediatorAcl: {
1127
+ readonly title: "MediatorAcl";
1128
+ readonly type: "object";
1129
+ readonly additionalProperties: false;
1130
+ readonly description: "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.";
1131
+ readonly properties: {
1132
+ readonly accessListMode: {
1133
+ readonly type: "string";
1134
+ readonly enum: readonly ["explicitAllow", "explicitDeny"];
1135
+ readonly description: "How the account's access list is interpreted. `explicitAllow` = an allowlist (empty denies everyone); `explicitDeny` = a denylist (empty allows everyone).";
1136
+ };
1137
+ readonly blocked: {
1138
+ readonly type: "boolean";
1139
+ readonly description: "The account is blocked from authenticating and transacting.";
1140
+ };
1141
+ readonly local: {
1142
+ readonly type: "boolean";
1143
+ readonly description: "Messages for this account may be stored locally at this mediator for pickup.";
1144
+ };
1145
+ readonly sendMessages: {
1146
+ readonly type: "boolean";
1147
+ readonly description: "May send direct messages through the mediator.";
1148
+ };
1149
+ readonly receiveMessages: {
1150
+ readonly type: "boolean";
1151
+ readonly description: "May receive direct messages.";
1152
+ };
1153
+ readonly sendForwarded: {
1154
+ readonly type: "boolean";
1155
+ readonly description: "May send routing/forward (relay) messages.";
1156
+ };
1157
+ readonly receiveForwarded: {
1158
+ readonly type: "boolean";
1159
+ readonly description: "May be the next hop of a forwarded message.";
1160
+ };
1161
+ readonly createInvites: {
1162
+ readonly type: "boolean";
1163
+ readonly description: "May create out-of-band invitations.";
1164
+ };
1165
+ readonly anonReceive: {
1166
+ readonly type: "boolean";
1167
+ readonly description: "Accepts anonymous (no authenticated sender) messages.";
1168
+ };
1169
+ readonly selfManageList: {
1170
+ readonly type: "boolean";
1171
+ readonly description: "May self-manage its own access list.";
1172
+ };
1173
+ readonly selfManageSendQueueLimit: {
1174
+ readonly type: "boolean";
1175
+ readonly description: "May self-manage its own send-queue limit.";
1176
+ };
1177
+ readonly selfManageReceiveQueueLimit: {
1178
+ readonly type: "boolean";
1179
+ readonly description: "May self-manage its own receive-queue limit.";
1180
+ };
1181
+ readonly didcommEnabled: {
1182
+ readonly type: "boolean";
1183
+ readonly description: "The account accepts DIDComm-protocol delivery. Default true; set false for a TSP-only node.";
1184
+ };
1185
+ readonly tspEnabled: {
1186
+ readonly type: "boolean";
1187
+ readonly description: "The account accepts TSP-protocol delivery. Default true; set false for a DIDComm-only node.";
1188
+ };
1189
+ };
1190
+ };
1191
+ readonly AccountType: {
1192
+ readonly title: "AccountType";
1193
+ readonly type: "string";
1194
+ readonly enum: readonly ["standard", "admin", "rootAdmin", "mediator"];
1195
+ readonly description: "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.";
1196
+ };
1197
+ readonly Vid: {
1198
+ readonly title: "Vid";
1199
+ readonly type: "string";
1200
+ readonly minLength: 1;
1201
+ readonly description: "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.";
1202
+ };
1203
+ };
1204
+ };
1205
+ };
1206
+ //# sourceMappingURL=payload.d.ts.map