@openvtc/trust-tasks 0.26.16 → 0.26.18

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 (341) hide show
  1. package/CHANGELOG.md +201 -0
  2. package/dist/_shared/components.d.ts +790 -3
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/auth/oob/_shared/0.1/oob.d.ts +1 -1
  5. package/dist/auth/oob/_shared/0.1/oob.d.ts.map +1 -1
  6. package/dist/auth/oob/grant/0.2/payload.d.ts +262 -0
  7. package/dist/auth/oob/grant/0.2/payload.d.ts.map +1 -0
  8. package/dist/auth/oob/grant/0.2/payload.js +140 -0
  9. package/dist/auth/oob/grant/0.2/payload.js.map +1 -0
  10. package/dist/auth/oob/prove/0.2/payload.d.ts +836 -0
  11. package/dist/auth/oob/prove/0.2/payload.d.ts.map +1 -0
  12. package/dist/auth/oob/prove/0.2/payload.js +468 -0
  13. package/dist/auth/oob/prove/0.2/payload.js.map +1 -0
  14. package/dist/auth/oob/respond/0.2/payload.d.ts +235 -0
  15. package/dist/auth/oob/respond/0.2/payload.d.ts.map +1 -0
  16. package/dist/auth/oob/respond/0.2/payload.js +140 -0
  17. package/dist/auth/oob/respond/0.2/payload.js.map +1 -0
  18. package/dist/device/list/0.1/payload.d.ts +4 -4
  19. package/dist/device/list/0.1/payload.d.ts.map +1 -1
  20. package/dist/device/list/0.1/payload.js +2 -0
  21. package/dist/device/list/0.1/payload.js.map +1 -1
  22. package/dist/device/list/0.2/payload.d.ts +4 -4
  23. package/dist/device/list/0.2/payload.d.ts.map +1 -1
  24. package/dist/device/list/0.2/payload.js +2 -0
  25. package/dist/device/list/0.2/payload.js.map +1 -1
  26. package/dist/device/register/0.1/payload.d.ts +4 -4
  27. package/dist/device/register/0.1/payload.d.ts.map +1 -1
  28. package/dist/device/register/0.1/payload.js +2 -0
  29. package/dist/device/register/0.1/payload.js.map +1 -1
  30. package/dist/device/register/0.2/payload.d.ts +4 -4
  31. package/dist/device/register/0.2/payload.d.ts.map +1 -1
  32. package/dist/device/register/0.2/payload.js +2 -0
  33. package/dist/device/register/0.2/payload.js.map +1 -1
  34. package/dist/index.d.ts +55 -0
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +55 -0
  37. package/dist/index.js.map +1 -1
  38. package/dist/keys/sign-document/0.1/payload.d.ts +627 -0
  39. package/dist/keys/sign-document/0.1/payload.d.ts.map +1 -0
  40. package/dist/keys/sign-document/0.1/payload.js +341 -0
  41. package/dist/keys/sign-document/0.1/payload.js.map +1 -0
  42. package/dist/persona/_shared/0.1/contact-annotations.d.ts +22 -0
  43. package/dist/persona/_shared/0.1/contact-annotations.d.ts.map +1 -0
  44. package/dist/persona/_shared/0.1/contact-annotations.js +6 -0
  45. package/dist/persona/_shared/0.1/contact-annotations.js.map +1 -0
  46. package/dist/persona/contact/get/1.1/payload.d.ts +1403 -0
  47. package/dist/persona/contact/get/1.1/payload.d.ts.map +1 -0
  48. package/dist/persona/contact/get/1.1/payload.js +804 -0
  49. package/dist/persona/contact/get/1.1/payload.js.map +1 -0
  50. package/dist/persona/contact/list/1.1/payload.d.ts +803 -0
  51. package/dist/persona/contact/list/1.1/payload.d.ts.map +1 -0
  52. package/dist/persona/contact/list/1.1/payload.js +417 -0
  53. package/dist/persona/contact/list/1.1/payload.js.map +1 -0
  54. package/dist/persona/contact/lists/delete/1.0/payload.d.ts +289 -0
  55. package/dist/persona/contact/lists/delete/1.0/payload.d.ts.map +1 -0
  56. package/dist/persona/contact/lists/delete/1.0/payload.js +166 -0
  57. package/dist/persona/contact/lists/delete/1.0/payload.js.map +1 -0
  58. package/dist/persona/contact/lists/list/1.0/payload.d.ts +527 -0
  59. package/dist/persona/contact/lists/list/1.0/payload.d.ts.map +1 -0
  60. package/dist/persona/contact/lists/list/1.0/payload.js +294 -0
  61. package/dist/persona/contact/lists/list/1.0/payload.js.map +1 -0
  62. package/dist/persona/contact/lists/put/1.0/payload.d.ts +629 -0
  63. package/dist/persona/contact/lists/put/1.0/payload.d.ts.map +1 -0
  64. package/dist/persona/contact/lists/put/1.0/payload.js +366 -0
  65. package/dist/persona/contact/lists/put/1.0/payload.js.map +1 -0
  66. package/dist/persona/contact/lists/show/1.0/payload.d.ts +476 -0
  67. package/dist/persona/contact/lists/show/1.0/payload.d.ts.map +1 -0
  68. package/dist/persona/contact/lists/show/1.0/payload.js +272 -0
  69. package/dist/persona/contact/lists/show/1.0/payload.js.map +1 -0
  70. package/dist/persona/contact/put/1.1/payload.d.ts +1444 -0
  71. package/dist/persona/contact/put/1.1/payload.d.ts.map +1 -0
  72. package/dist/persona/contact/put/1.1/payload.js +850 -0
  73. package/dist/persona/contact/put/1.1/payload.js.map +1 -0
  74. package/dist/rooms/keys/act/0.5/payload.d.ts +546 -0
  75. package/dist/rooms/keys/act/0.5/payload.d.ts.map +1 -0
  76. package/dist/rooms/keys/act/0.5/payload.js +305 -0
  77. package/dist/rooms/keys/act/0.5/payload.js.map +1 -0
  78. package/dist/rooms/keys/key-package/0.2/payload.d.ts +304 -0
  79. package/dist/rooms/keys/key-package/0.2/payload.d.ts.map +1 -0
  80. package/dist/rooms/keys/key-package/0.2/payload.js +166 -0
  81. package/dist/rooms/keys/key-package/0.2/payload.js.map +1 -0
  82. package/dist/rooms/keys/seal/0.1/payload.d.ts +24 -4
  83. package/dist/rooms/keys/seal/0.1/payload.d.ts.map +1 -1
  84. package/dist/rooms/keys/seal/0.1/payload.js +12 -2
  85. package/dist/rooms/keys/seal/0.1/payload.js.map +1 -1
  86. package/dist/rooms/keys/seal/0.2/payload.d.ts +24 -4
  87. package/dist/rooms/keys/seal/0.2/payload.d.ts.map +1 -1
  88. package/dist/rooms/keys/seal/0.2/payload.js +12 -2
  89. package/dist/rooms/keys/seal/0.2/payload.js.map +1 -1
  90. package/dist/rooms/owner/group/remove/0.3/payload.d.ts +600 -0
  91. package/dist/rooms/owner/group/remove/0.3/payload.d.ts.map +1 -0
  92. package/dist/rooms/owner/group/remove/0.3/payload.js +310 -0
  93. package/dist/rooms/owner/group/remove/0.3/payload.js.map +1 -0
  94. package/dist/rooms/owner/register/0.2/payload.d.ts +591 -0
  95. package/dist/rooms/owner/register/0.2/payload.d.ts.map +1 -0
  96. package/dist/rooms/owner/register/0.2/payload.js +335 -0
  97. package/dist/rooms/owner/register/0.2/payload.js.map +1 -0
  98. package/dist/rooms/records/get/0.1/payload.d.ts +24 -4
  99. package/dist/rooms/records/get/0.1/payload.d.ts.map +1 -1
  100. package/dist/rooms/records/get/0.1/payload.js +12 -2
  101. package/dist/rooms/records/get/0.1/payload.js.map +1 -1
  102. package/dist/rooms/records/get/0.2/payload.d.ts +24 -4
  103. package/dist/rooms/records/get/0.2/payload.d.ts.map +1 -1
  104. package/dist/rooms/records/get/0.2/payload.js +12 -2
  105. package/dist/rooms/records/get/0.2/payload.js.map +1 -1
  106. package/dist/rooms/records/put/0.1/payload.d.ts +24 -4
  107. package/dist/rooms/records/put/0.1/payload.d.ts.map +1 -1
  108. package/dist/rooms/records/put/0.1/payload.js +12 -2
  109. package/dist/rooms/records/put/0.1/payload.js.map +1 -1
  110. package/dist/rooms/records/put/0.2/payload.d.ts +24 -4
  111. package/dist/rooms/records/put/0.2/payload.d.ts.map +1 -1
  112. package/dist/rooms/records/put/0.2/payload.js +12 -2
  113. package/dist/rooms/records/put/0.2/payload.js.map +1 -1
  114. package/dist/vtc/_shared/0.1/community-room.d.ts +1 -1
  115. package/dist/vtc/_shared/0.1/community-room.d.ts.map +1 -1
  116. package/dist/vtc/admin/events/_shared/0.3/topic.d.ts +30 -0
  117. package/dist/vtc/admin/events/_shared/0.3/topic.d.ts.map +1 -0
  118. package/dist/vtc/admin/events/_shared/0.3/topic.js +6 -0
  119. package/dist/vtc/admin/events/_shared/0.3/topic.js.map +1 -0
  120. package/dist/vtc/admin/events/event/0.3/payload.d.ts +172 -0
  121. package/dist/vtc/admin/events/event/0.3/payload.d.ts.map +1 -0
  122. package/dist/vtc/admin/events/event/0.3/payload.js +102 -0
  123. package/dist/vtc/admin/events/event/0.3/payload.js.map +1 -0
  124. package/dist/vtc/admin/events/subscribe/0.3/payload.d.ts +409 -0
  125. package/dist/vtc/admin/events/subscribe/0.3/payload.d.ts.map +1 -0
  126. package/dist/vtc/admin/events/subscribe/0.3/payload.js +236 -0
  127. package/dist/vtc/admin/events/subscribe/0.3/payload.js.map +1 -0
  128. package/dist/vtc/directory/_shared/0.1/admin-note.d.ts +16 -0
  129. package/dist/vtc/directory/_shared/0.1/admin-note.d.ts.map +1 -0
  130. package/dist/vtc/directory/_shared/0.1/admin-note.js +6 -0
  131. package/dist/vtc/directory/_shared/0.1/admin-note.js.map +1 -0
  132. package/dist/vtc/directory/_shared/0.1/directory-card.d.ts +22 -0
  133. package/dist/vtc/directory/_shared/0.1/directory-card.d.ts.map +1 -0
  134. package/dist/vtc/directory/_shared/0.1/directory-card.js +6 -0
  135. package/dist/vtc/directory/_shared/0.1/directory-card.js.map +1 -0
  136. package/dist/vtc/directory/_shared/0.1/field-definition.d.ts +16 -0
  137. package/dist/vtc/directory/_shared/0.1/field-definition.d.ts.map +1 -0
  138. package/dist/vtc/directory/_shared/0.1/field-definition.js +6 -0
  139. package/dist/vtc/directory/_shared/0.1/field-definition.js.map +1 -0
  140. package/dist/vtc/directory/card/assert/0.1/payload.d.ts +780 -0
  141. package/dist/vtc/directory/card/assert/0.1/payload.d.ts.map +1 -0
  142. package/dist/vtc/directory/card/assert/0.1/payload.js +454 -0
  143. package/dist/vtc/directory/card/assert/0.1/payload.js.map +1 -0
  144. package/dist/vtc/directory/card/present/0.1/payload.d.ts +603 -0
  145. package/dist/vtc/directory/card/present/0.1/payload.d.ts.map +1 -0
  146. package/dist/vtc/directory/card/present/0.1/payload.js +297 -0
  147. package/dist/vtc/directory/card/present/0.1/payload.js.map +1 -0
  148. package/dist/vtc/directory/card/show/0.1/payload.d.ts +1144 -0
  149. package/dist/vtc/directory/card/show/0.1/payload.d.ts.map +1 -0
  150. package/dist/vtc/directory/card/show/0.1/payload.js +695 -0
  151. package/dist/vtc/directory/card/show/0.1/payload.js.map +1 -0
  152. package/dist/vtc/directory/card/update/0.1/payload.d.ts +1291 -0
  153. package/dist/vtc/directory/card/update/0.1/payload.d.ts.map +1 -0
  154. package/dist/vtc/directory/card/update/0.1/payload.js +765 -0
  155. package/dist/vtc/directory/card/update/0.1/payload.js.map +1 -0
  156. package/dist/vtc/directory/entries/list/0.1/payload.d.ts +5525 -0
  157. package/dist/vtc/directory/entries/list/0.1/payload.d.ts.map +1 -0
  158. package/dist/vtc/directory/entries/list/0.1/payload.js +656 -0
  159. package/dist/vtc/directory/entries/list/0.1/payload.js.map +1 -0
  160. package/dist/vtc/directory/entries/show/0.1/payload.d.ts +861 -0
  161. package/dist/vtc/directory/entries/show/0.1/payload.d.ts.map +1 -0
  162. package/dist/vtc/directory/entries/show/0.1/payload.js +502 -0
  163. package/dist/vtc/directory/entries/show/0.1/payload.js.map +1 -0
  164. package/dist/vtc/directory/export/0.1/payload.d.ts +346 -0
  165. package/dist/vtc/directory/export/0.1/payload.d.ts.map +1 -0
  166. package/dist/vtc/directory/export/0.1/payload.js +192 -0
  167. package/dist/vtc/directory/export/0.1/payload.js.map +1 -0
  168. package/dist/vtc/directory/fields/define/0.1/payload.d.ts +1355 -0
  169. package/dist/vtc/directory/fields/define/0.1/payload.d.ts.map +1 -0
  170. package/dist/vtc/directory/fields/define/0.1/payload.js +811 -0
  171. package/dist/vtc/directory/fields/define/0.1/payload.js.map +1 -0
  172. package/dist/vtc/directory/fields/list/0.1/payload.d.ts +1236 -0
  173. package/dist/vtc/directory/fields/list/0.1/payload.d.ts.map +1 -0
  174. package/dist/vtc/directory/fields/list/0.1/payload.js +739 -0
  175. package/dist/vtc/directory/fields/list/0.1/payload.js.map +1 -0
  176. package/dist/vtc/directory/fields/retire/0.1/payload.d.ts +1146 -0
  177. package/dist/vtc/directory/fields/retire/0.1/payload.d.ts.map +1 -0
  178. package/dist/vtc/directory/fields/retire/0.1/payload.js +684 -0
  179. package/dist/vtc/directory/fields/retire/0.1/payload.js.map +1 -0
  180. package/dist/vtc/directory/fields/update/0.1/payload.d.ts +1223 -0
  181. package/dist/vtc/directory/fields/update/0.1/payload.d.ts.map +1 -0
  182. package/dist/vtc/directory/fields/update/0.1/payload.js +715 -0
  183. package/dist/vtc/directory/fields/update/0.1/payload.js.map +1 -0
  184. package/dist/vtc/directory/introduce/0.1/payload.d.ts +417 -0
  185. package/dist/vtc/directory/introduce/0.1/payload.d.ts.map +1 -0
  186. package/dist/vtc/directory/introduce/0.1/payload.js +183 -0
  187. package/dist/vtc/directory/introduce/0.1/payload.js.map +1 -0
  188. package/dist/vtc/directory/introduction/0.1/payload.d.ts +423 -0
  189. package/dist/vtc/directory/introduction/0.1/payload.d.ts.map +1 -0
  190. package/dist/vtc/directory/introduction/0.1/payload.js +241 -0
  191. package/dist/vtc/directory/introduction/0.1/payload.js.map +1 -0
  192. package/dist/vtc/directory/notes/append/0.1/payload.d.ts +494 -0
  193. package/dist/vtc/directory/notes/append/0.1/payload.d.ts.map +1 -0
  194. package/dist/vtc/directory/notes/append/0.1/payload.js +281 -0
  195. package/dist/vtc/directory/notes/append/0.1/payload.js.map +1 -0
  196. package/dist/vtc/directory/notes/export/0.1/payload.d.ts +530 -0
  197. package/dist/vtc/directory/notes/export/0.1/payload.d.ts.map +1 -0
  198. package/dist/vtc/directory/notes/export/0.1/payload.js +294 -0
  199. package/dist/vtc/directory/notes/export/0.1/payload.js.map +1 -0
  200. package/dist/vtc/directory/notes/list/0.1/payload.d.ts +528 -0
  201. package/dist/vtc/directory/notes/list/0.1/payload.d.ts.map +1 -0
  202. package/dist/vtc/directory/notes/list/0.1/payload.js +294 -0
  203. package/dist/vtc/directory/notes/list/0.1/payload.js.map +1 -0
  204. package/dist/vtc/groups/_shared/0.1/group.d.ts +22 -0
  205. package/dist/vtc/groups/_shared/0.1/group.d.ts.map +1 -0
  206. package/dist/vtc/groups/_shared/0.1/group.js +6 -0
  207. package/dist/vtc/groups/_shared/0.1/group.js.map +1 -0
  208. package/dist/vtc/groups/bindings/add/0.1/payload.d.ts +914 -0
  209. package/dist/vtc/groups/bindings/add/0.1/payload.d.ts.map +1 -0
  210. package/dist/vtc/groups/bindings/add/0.1/payload.js +536 -0
  211. package/dist/vtc/groups/bindings/add/0.1/payload.js.map +1 -0
  212. package/dist/vtc/groups/bindings/list/0.1/payload.d.ts +910 -0
  213. package/dist/vtc/groups/bindings/list/0.1/payload.d.ts.map +1 -0
  214. package/dist/vtc/groups/bindings/list/0.1/payload.js +533 -0
  215. package/dist/vtc/groups/bindings/list/0.1/payload.js.map +1 -0
  216. package/dist/vtc/groups/bindings/remove/0.1/payload.d.ts +310 -0
  217. package/dist/vtc/groups/bindings/remove/0.1/payload.d.ts.map +1 -0
  218. package/dist/vtc/groups/bindings/remove/0.1/payload.js +182 -0
  219. package/dist/vtc/groups/bindings/remove/0.1/payload.js.map +1 -0
  220. package/dist/vtc/groups/create/0.1/payload.d.ts +1075 -0
  221. package/dist/vtc/groups/create/0.1/payload.d.ts.map +1 -0
  222. package/dist/vtc/groups/create/0.1/payload.js +631 -0
  223. package/dist/vtc/groups/create/0.1/payload.js.map +1 -0
  224. package/dist/vtc/groups/delete/0.1/payload.d.ts +317 -0
  225. package/dist/vtc/groups/delete/0.1/payload.d.ts.map +1 -0
  226. package/dist/vtc/groups/delete/0.1/payload.js +182 -0
  227. package/dist/vtc/groups/delete/0.1/payload.js.map +1 -0
  228. package/dist/vtc/groups/join/0.1/payload.d.ts +1262 -0
  229. package/dist/vtc/groups/join/0.1/payload.d.ts.map +1 -0
  230. package/dist/vtc/groups/join/0.1/payload.js +758 -0
  231. package/dist/vtc/groups/join/0.1/payload.js.map +1 -0
  232. package/dist/vtc/groups/leave/0.1/payload.d.ts +291 -0
  233. package/dist/vtc/groups/leave/0.1/payload.d.ts.map +1 -0
  234. package/dist/vtc/groups/leave/0.1/payload.js +179 -0
  235. package/dist/vtc/groups/leave/0.1/payload.js.map +1 -0
  236. package/dist/vtc/groups/list/0.1/payload.d.ts +1127 -0
  237. package/dist/vtc/groups/list/0.1/payload.d.ts.map +1 -0
  238. package/dist/vtc/groups/list/0.1/payload.js +674 -0
  239. package/dist/vtc/groups/list/0.1/payload.js.map +1 -0
  240. package/dist/vtc/groups/members/add/0.1/payload.d.ts +1014 -0
  241. package/dist/vtc/groups/members/add/0.1/payload.d.ts.map +1 -0
  242. package/dist/vtc/groups/members/add/0.1/payload.js +607 -0
  243. package/dist/vtc/groups/members/add/0.1/payload.js.map +1 -0
  244. package/dist/vtc/groups/members/list/0.1/payload.d.ts +1018 -0
  245. package/dist/vtc/groups/members/list/0.1/payload.d.ts.map +1 -0
  246. package/dist/vtc/groups/members/list/0.1/payload.js +606 -0
  247. package/dist/vtc/groups/members/list/0.1/payload.js.map +1 -0
  248. package/dist/vtc/groups/members/remove/0.1/payload.d.ts +351 -0
  249. package/dist/vtc/groups/members/remove/0.1/payload.d.ts.map +1 -0
  250. package/dist/vtc/groups/members/remove/0.1/payload.js +205 -0
  251. package/dist/vtc/groups/members/remove/0.1/payload.js.map +1 -0
  252. package/dist/vtc/groups/requests/decide/0.1/payload.d.ts +1236 -0
  253. package/dist/vtc/groups/requests/decide/0.1/payload.d.ts.map +1 -0
  254. package/dist/vtc/groups/requests/decide/0.1/payload.js +741 -0
  255. package/dist/vtc/groups/requests/decide/0.1/payload.js.map +1 -0
  256. package/dist/vtc/groups/requests/list/0.1/payload.d.ts +1063 -0
  257. package/dist/vtc/groups/requests/list/0.1/payload.d.ts.map +1 -0
  258. package/dist/vtc/groups/requests/list/0.1/payload.js +622 -0
  259. package/dist/vtc/groups/requests/list/0.1/payload.js.map +1 -0
  260. package/dist/vtc/groups/show/0.1/payload.d.ts +1012 -0
  261. package/dist/vtc/groups/show/0.1/payload.d.ts.map +1 -0
  262. package/dist/vtc/groups/show/0.1/payload.js +619 -0
  263. package/dist/vtc/groups/show/0.1/payload.js.map +1 -0
  264. package/dist/vtc/groups/update/0.1/payload.d.ts +1078 -0
  265. package/dist/vtc/groups/update/0.1/payload.d.ts.map +1 -0
  266. package/dist/vtc/groups/update/0.1/payload.js +633 -0
  267. package/dist/vtc/groups/update/0.1/payload.js.map +1 -0
  268. package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts +696 -0
  269. package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts.map +1 -0
  270. package/dist/vtc/rooms/memberships/list/0.1/payload.js +402 -0
  271. package/dist/vtc/rooms/memberships/list/0.1/payload.js.map +1 -0
  272. package/package.json +1 -1
  273. package/src/_shared/components.ts +835 -1
  274. package/src/auth/oob/_shared/0.1/oob.ts +1 -1
  275. package/src/auth/oob/grant/0.2/payload.ts +186 -0
  276. package/src/auth/oob/prove/0.2/payload.ts +523 -0
  277. package/src/auth/oob/respond/0.2/payload.ts +178 -0
  278. package/src/device/list/0.1/payload.ts +2 -0
  279. package/src/device/list/0.2/payload.ts +2 -0
  280. package/src/device/register/0.1/payload.ts +2 -0
  281. package/src/device/register/0.2/payload.ts +2 -0
  282. package/src/index.ts +55 -0
  283. package/src/keys/sign-document/0.1/payload.ts +437 -0
  284. package/src/persona/_shared/0.1/contact-annotations.ts +23 -0
  285. package/src/persona/contact/get/1.1/payload.ts +876 -0
  286. package/src/persona/contact/list/1.1/payload.ts +497 -0
  287. package/src/persona/contact/lists/delete/1.0/payload.ts +204 -0
  288. package/src/persona/contact/lists/list/1.0/payload.ts +332 -0
  289. package/src/persona/contact/lists/put/1.0/payload.ts +429 -0
  290. package/src/persona/contact/lists/show/1.0/payload.ts +305 -0
  291. package/src/persona/contact/put/1.1/payload.ts +958 -0
  292. package/src/rooms/keys/act/0.5/payload.ts +380 -0
  293. package/src/rooms/keys/key-package/0.2/payload.ts +219 -0
  294. package/src/rooms/keys/seal/0.1/payload.ts +12 -2
  295. package/src/rooms/keys/seal/0.2/payload.ts +12 -2
  296. package/src/rooms/owner/group/remove/0.3/payload.ts +415 -0
  297. package/src/rooms/owner/register/0.2/payload.ts +415 -0
  298. package/src/rooms/records/get/0.1/payload.ts +12 -2
  299. package/src/rooms/records/get/0.2/payload.ts +12 -2
  300. package/src/rooms/records/put/0.1/payload.ts +12 -2
  301. package/src/rooms/records/put/0.2/payload.ts +12 -2
  302. package/src/vtc/_shared/0.1/community-room.ts +1 -1
  303. package/src/vtc/admin/events/_shared/0.3/topic.ts +31 -0
  304. package/src/vtc/admin/events/event/0.3/payload.ts +136 -0
  305. package/src/vtc/admin/events/subscribe/0.3/payload.ts +314 -0
  306. package/src/vtc/directory/_shared/0.1/admin-note.ts +17 -0
  307. package/src/vtc/directory/_shared/0.1/directory-card.ts +23 -0
  308. package/src/vtc/directory/_shared/0.1/field-definition.ts +17 -0
  309. package/src/vtc/directory/card/assert/0.1/payload.ts +503 -0
  310. package/src/vtc/directory/card/present/0.1/payload.ts +437 -0
  311. package/src/vtc/directory/card/show/0.1/payload.ts +732 -0
  312. package/src/vtc/directory/card/update/0.1/payload.ts +827 -0
  313. package/src/vtc/directory/entries/list/0.1/payload.ts +5676 -0
  314. package/src/vtc/directory/entries/show/0.1/payload.ts +541 -0
  315. package/src/vtc/directory/export/0.1/payload.ts +241 -0
  316. package/src/vtc/directory/fields/define/0.1/payload.ts +847 -0
  317. package/src/vtc/directory/fields/list/0.1/payload.ts +780 -0
  318. package/src/vtc/directory/fields/retire/0.1/payload.ts +723 -0
  319. package/src/vtc/directory/fields/update/0.1/payload.ts +767 -0
  320. package/src/vtc/directory/introduce/0.1/payload.ts +324 -0
  321. package/src/vtc/directory/introduction/0.1/payload.ts +278 -0
  322. package/src/vtc/directory/notes/append/0.1/payload.ts +319 -0
  323. package/src/vtc/directory/notes/export/0.1/payload.ts +337 -0
  324. package/src/vtc/directory/notes/list/0.1/payload.ts +337 -0
  325. package/src/vtc/groups/_shared/0.1/group.ts +23 -0
  326. package/src/vtc/groups/bindings/add/0.1/payload.ts +573 -0
  327. package/src/vtc/groups/bindings/list/0.1/payload.ts +568 -0
  328. package/src/vtc/groups/bindings/remove/0.1/payload.ts +223 -0
  329. package/src/vtc/groups/create/0.1/payload.ts +683 -0
  330. package/src/vtc/groups/delete/0.1/payload.ts +224 -0
  331. package/src/vtc/groups/join/0.1/payload.ts +807 -0
  332. package/src/vtc/groups/leave/0.1/payload.ts +219 -0
  333. package/src/vtc/groups/list/0.1/payload.ts +728 -0
  334. package/src/vtc/groups/members/add/0.1/payload.ts +648 -0
  335. package/src/vtc/groups/members/list/0.1/payload.ts +647 -0
  336. package/src/vtc/groups/members/remove/0.1/payload.ts +251 -0
  337. package/src/vtc/groups/requests/decide/0.1/payload.ts +786 -0
  338. package/src/vtc/groups/requests/list/0.1/payload.ts +670 -0
  339. package/src/vtc/groups/show/0.1/payload.ts +652 -0
  340. package/src/vtc/groups/update/0.1/payload.ts +682 -0
  341. package/src/vtc/rooms/memberships/list/0.1/payload.ts +445 -0
@@ -0,0 +1,656 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/directory/entries/list/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vtc/directory/entries/list/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vtc/directory/entries/list/0.1#response";
9
+ /**
10
+ * This specification's payload schema, as a value.
11
+ *
12
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
13
+ * rather than only as a `.json` file because TypeScript types are erased
14
+ * at runtime: without a schema a consumer has nothing to validate, and
15
+ * every REQUIRED payload member is optional in practice. Cross-file
16
+ * `$ref`s are already inlined, so it needs no resolver.
17
+ */
18
+ export const PAYLOAD_SCHEMA = {
19
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
20
+ "$id": "https://trusttasks.org/spec/vtc/directory/entries/list/0.1",
21
+ "title": "VTC Directory — Entries — List — payload",
22
+ "description": "Browse, search and filter a community's member directory. Each entry is projected for the caller: only fields the member, the community's ceiling and its policy all allow. The outer document members are owned by the framework — SPEC §6.3.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "properties": {
26
+ "query": {
27
+ "type": "string",
28
+ "minLength": 1,
29
+ "maxLength": 128,
30
+ "description": "Search text. At least three characters, or a whole nickname for an exact-nickname search."
31
+ },
32
+ "filters": {
33
+ "type": "array",
34
+ "maxItems": 8,
35
+ "items": {
36
+ "type": "object",
37
+ "additionalProperties": false,
38
+ "required": [
39
+ "field",
40
+ "values"
41
+ ],
42
+ "properties": {
43
+ "field": {
44
+ "$ref": "#/$defs/FieldKey"
45
+ },
46
+ "values": {
47
+ "type": "array",
48
+ "minItems": 1,
49
+ "maxItems": 16,
50
+ "items": {
51
+ "type": "string",
52
+ "maxLength": 64
53
+ }
54
+ }
55
+ }
56
+ },
57
+ "description": "Facet filters: an entry matches when, for every filter, its value of the field is one of `values`. Only facets visible to the caller."
58
+ },
59
+ "group": {
60
+ "$ref": "#/$defs/GroupId",
61
+ "description": "Restrict to members of this community group, as far as the caller may see its members."
62
+ },
63
+ "cursor": {
64
+ "type": "string",
65
+ "minLength": 1,
66
+ "maxLength": 1024,
67
+ "description": "Opaque continuation token from a previous page's `nextCursor`, valid only for the same caller and question."
68
+ },
69
+ "limit": {
70
+ "type": "integer",
71
+ "minimum": 1,
72
+ "maximum": 100,
73
+ "description": "Page size; the community clamps to 1..=100 (default 25)."
74
+ },
75
+ "ext": {
76
+ "$ref": "#/$defs/Ext"
77
+ }
78
+ },
79
+ "$defs": {
80
+ "Response": {
81
+ "$anchor": "response",
82
+ "title": "VTC Directory — Entries — List — response payload",
83
+ "description": "The success response to a vtc/directory/entries/list/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/entries/list/0.1#response.",
84
+ "type": "object",
85
+ "additionalProperties": false,
86
+ "required": [
87
+ "items"
88
+ ],
89
+ "properties": {
90
+ "items": {
91
+ "type": "array",
92
+ "maxItems": 100,
93
+ "items": {
94
+ "$ref": "#/$defs/DirectoryEntry"
95
+ }
96
+ },
97
+ "facets": {
98
+ "type": "array",
99
+ "maxItems": 16,
100
+ "items": {
101
+ "type": "object",
102
+ "additionalProperties": false,
103
+ "required": [
104
+ "field",
105
+ "values"
106
+ ],
107
+ "properties": {
108
+ "field": {
109
+ "$ref": "#/$defs/FieldKey"
110
+ },
111
+ "values": {
112
+ "type": "array",
113
+ "maxItems": 256,
114
+ "items": {
115
+ "type": "object",
116
+ "additionalProperties": false,
117
+ "required": [
118
+ "value"
119
+ ],
120
+ "properties": {
121
+ "value": {
122
+ "type": "string",
123
+ "maxLength": 64
124
+ },
125
+ "count": {
126
+ "type": "integer",
127
+ "minimum": 0,
128
+ "description": "Matching entries. Absent when below the community's threshold."
129
+ },
130
+ "fewerThan": {
131
+ "type": "integer",
132
+ "minimum": 2,
133
+ "description": "Present instead of `count` when the count is below the threshold *k*: there are fewer than this many."
134
+ }
135
+ }
136
+ }
137
+ }
138
+ }
139
+ },
140
+ "description": "Counts for the facets visible to the caller, over the whole result. Absent when none is."
141
+ },
142
+ "nextCursor": {
143
+ "type": [
144
+ "string",
145
+ "null"
146
+ ],
147
+ "maxLength": 1024,
148
+ "description": "Continuation token, or null when this is the last page."
149
+ },
150
+ "ext": {
151
+ "$ref": "#/$defs/Ext"
152
+ }
153
+ }
154
+ },
155
+ "Ext": {
156
+ "title": "Ext",
157
+ "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.",
158
+ "type": "object",
159
+ "minProperties": 1,
160
+ "additionalProperties": true,
161
+ "propertyNames": {
162
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
163
+ }
164
+ },
165
+ "FieldKey": {
166
+ "title": "FieldKey",
167
+ "description": "Identifier of a directory field. A key with no `.` is a BASE field, the same in every community: `displayName`, `nickname`, `avatar`, `pronouns`, `bio`, `links` (written by the member) and `role`, `joinedAt`, `did`, `personhood` (derived from the community's own records, never stored on a card). A community-defined field MUST use a reverse-DNS key (`org.example.employer`), so a base key never collides with one, and a key is never reused with a different meaning once defined.",
168
+ "type": "string",
169
+ "minLength": 1,
170
+ "maxLength": 128,
171
+ "pattern": "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$"
172
+ },
173
+ "DirectoryEntry": {
174
+ "title": "DirectoryEntry",
175
+ "description": "One entry as a particular viewer sees it.",
176
+ "type": "object",
177
+ "additionalProperties": false,
178
+ "required": [
179
+ "entryId",
180
+ "fields"
181
+ ],
182
+ "properties": {
183
+ "entryId": {
184
+ "$ref": "#/$defs/EntryId"
185
+ },
186
+ "fields": {
187
+ "$ref": "#/$defs/EntryFields"
188
+ },
189
+ "connected": {
190
+ "type": "boolean",
191
+ "description": "Present, and `true`, only when the viewer is one of the two parties to an attributed, in-force verified relationship with this entry's member that the community can see. Absent otherwise — never `false`, which would disclose that the community looked and found none. Relationships known only to the viewer's own agent are badged by that agent, not here."
192
+ },
193
+ "sharedGroups": {
194
+ "type": "array",
195
+ "maxItems": 64,
196
+ "uniqueItems": true,
197
+ "items": {
198
+ "type": "string",
199
+ "pattern": "^grp_[A-Za-z0-9_-]{16,64}$"
200
+ },
201
+ "description": "The community groups the viewer and this member both belong to, among those whose membership the viewer may see. Absent when there are none."
202
+ }
203
+ }
204
+ },
205
+ "EntryFields": {
206
+ "title": "EntryFields",
207
+ "description": "The fields of one entry that a particular viewer may see, keyed by field: the intersection of the member's visibility, the community's ceiling and policy, plus any derived fields that intersection admits. A withheld field is ABSENT, never null.",
208
+ "type": "object",
209
+ "maxProperties": 64,
210
+ "propertyNames": {
211
+ "$ref": "#/$defs/FieldKey"
212
+ },
213
+ "additionalProperties": {
214
+ "$ref": "#/$defs/FieldValue"
215
+ }
216
+ },
217
+ "FieldValue": {
218
+ "title": "FieldValue",
219
+ "description": "The value of one field. Which shape a field takes is fixed by its definition's `type`: text-like types (`text`, `longText`, `url`, `email`, `phone`, `enum`, `date` as YYYY-MM-DD, `country` as ISO 3166-1 alpha-2, `did`) are strings; `multiEnum` and the base field `links` are arrays of strings; `image` and the base field `avatar` are a `CardBlobRef`; `claim` is a `VerifiedValue`; the derived base field `personhood` is a boolean.",
220
+ "anyOf": [
221
+ {
222
+ "type": "string",
223
+ "maxLength": 2000
224
+ },
225
+ {
226
+ "type": "boolean"
227
+ },
228
+ {
229
+ "type": "array",
230
+ "maxItems": 32,
231
+ "items": {
232
+ "type": "string",
233
+ "maxLength": 500
234
+ }
235
+ },
236
+ {
237
+ "$ref": "#/$defs/CardBlobRef"
238
+ },
239
+ {
240
+ "$ref": "#/$defs/VerifiedValue"
241
+ }
242
+ ]
243
+ },
244
+ "VerifiedValue": {
245
+ "title": "VerifiedValue",
246
+ "description": "The value of a `credential`-sourced field: a claim the member disclosed from a credential they presented, with the issuer that attests it. A verified value always names its issuer, and a self-asserted value is never shaped as one. The community keeps only the disclosed claim and these facts about it — never the presentation.",
247
+ "type": "object",
248
+ "additionalProperties": false,
249
+ "required": [
250
+ "value",
251
+ "issuer",
252
+ "verifiedAt"
253
+ ],
254
+ "properties": {
255
+ "value": {
256
+ "anyOf": [
257
+ {
258
+ "type": "string",
259
+ "maxLength": 2000
260
+ },
261
+ {
262
+ "type": "boolean"
263
+ },
264
+ {
265
+ "type": "number"
266
+ }
267
+ ],
268
+ "description": "The disclosed claim value."
269
+ },
270
+ "issuer": {
271
+ "type": "string",
272
+ "pattern": "^did:",
273
+ "maxLength": 2048,
274
+ "description": "DID of the credential's issuer, shown as the field's verification badge."
275
+ },
276
+ "credentialType": {
277
+ "type": "string",
278
+ "minLength": 1,
279
+ "maxLength": 128,
280
+ "description": "The most specific `type` of the credential the claim came from."
281
+ },
282
+ "verifiedAt": {
283
+ "type": "string",
284
+ "format": "date-time",
285
+ "description": "When the community verified the presentation."
286
+ },
287
+ "validUntil": {
288
+ "type": "string",
289
+ "format": "date-time",
290
+ "description": "When the credential expires, where it does. The community withdraws the value once it passes."
291
+ }
292
+ }
293
+ },
294
+ "CardBlobRef": {
295
+ "title": "CardBlobRef",
296
+ "description": "A content-addressed image held in the community's blob store — an avatar or an `image` field. At most 256 KiB, images only, re-encoded by the community on upload (metadata stripped, dimensions capped) so its digest does not link the member across communities. `url` and `urlExpiresAt` appear only in a projection: a short-lived URL the community checks against the same projection, so a member-only image is never a public URL.",
297
+ "type": "object",
298
+ "additionalProperties": false,
299
+ "required": [
300
+ "sha256",
301
+ "mediaType"
302
+ ],
303
+ "properties": {
304
+ "sha256": {
305
+ "type": "string",
306
+ "pattern": "^[0-9a-f]{64}$",
307
+ "description": "Lowercase hex SHA-256 of the stored, re-encoded bytes."
308
+ },
309
+ "mediaType": {
310
+ "type": "string",
311
+ "enum": [
312
+ "image/png",
313
+ "image/jpeg",
314
+ "image/webp",
315
+ "image/avif"
316
+ ],
317
+ "description": "Media type of the stored bytes."
318
+ },
319
+ "size": {
320
+ "type": "integer",
321
+ "minimum": 1,
322
+ "maximum": 262144,
323
+ "description": "Size in bytes of the stored bytes."
324
+ },
325
+ "url": {
326
+ "type": "string",
327
+ "format": "uri",
328
+ "maxLength": 2048,
329
+ "description": "Projection only: a URL the viewer can fetch the image from until `urlExpiresAt`."
330
+ },
331
+ "urlExpiresAt": {
332
+ "type": "string",
333
+ "format": "date-time",
334
+ "description": "Projection only: when `url` stops working."
335
+ }
336
+ }
337
+ },
338
+ "EntryId": {
339
+ "title": "EntryId",
340
+ "description": "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.",
341
+ "type": "string",
342
+ "pattern": "^dir_[A-Za-z0-9_-]{16,64}$"
343
+ },
344
+ "GroupId": {
345
+ "title": "GroupId",
346
+ "description": "Opaque identifier of a community group: `grp_` followed by 16 to 64 base64url characters. Random and community-scoped; not the group's DID.",
347
+ "type": "string",
348
+ "pattern": "^grp_[A-Za-z0-9_-]{16,64}$"
349
+ }
350
+ }
351
+ };
352
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
353
+ export const RESPONSE_PAYLOAD_SCHEMA = {
354
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
355
+ "$ref": "#/$defs/Response",
356
+ "$defs": {
357
+ "Response": {
358
+ "$anchor": "response",
359
+ "title": "VTC Directory — Entries — List — response payload",
360
+ "description": "The success response to a vtc/directory/entries/list/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/entries/list/0.1#response.",
361
+ "type": "object",
362
+ "additionalProperties": false,
363
+ "required": [
364
+ "items"
365
+ ],
366
+ "properties": {
367
+ "items": {
368
+ "type": "array",
369
+ "maxItems": 100,
370
+ "items": {
371
+ "$ref": "#/$defs/DirectoryEntry"
372
+ }
373
+ },
374
+ "facets": {
375
+ "type": "array",
376
+ "maxItems": 16,
377
+ "items": {
378
+ "type": "object",
379
+ "additionalProperties": false,
380
+ "required": [
381
+ "field",
382
+ "values"
383
+ ],
384
+ "properties": {
385
+ "field": {
386
+ "$ref": "#/$defs/FieldKey"
387
+ },
388
+ "values": {
389
+ "type": "array",
390
+ "maxItems": 256,
391
+ "items": {
392
+ "type": "object",
393
+ "additionalProperties": false,
394
+ "required": [
395
+ "value"
396
+ ],
397
+ "properties": {
398
+ "value": {
399
+ "type": "string",
400
+ "maxLength": 64
401
+ },
402
+ "count": {
403
+ "type": "integer",
404
+ "minimum": 0,
405
+ "description": "Matching entries. Absent when below the community's threshold."
406
+ },
407
+ "fewerThan": {
408
+ "type": "integer",
409
+ "minimum": 2,
410
+ "description": "Present instead of `count` when the count is below the threshold *k*: there are fewer than this many."
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+ },
417
+ "description": "Counts for the facets visible to the caller, over the whole result. Absent when none is."
418
+ },
419
+ "nextCursor": {
420
+ "type": [
421
+ "string",
422
+ "null"
423
+ ],
424
+ "maxLength": 1024,
425
+ "description": "Continuation token, or null when this is the last page."
426
+ },
427
+ "ext": {
428
+ "$ref": "#/$defs/Ext"
429
+ }
430
+ }
431
+ },
432
+ "Ext": {
433
+ "title": "Ext",
434
+ "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.",
435
+ "type": "object",
436
+ "minProperties": 1,
437
+ "additionalProperties": true,
438
+ "propertyNames": {
439
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
440
+ }
441
+ },
442
+ "FieldKey": {
443
+ "title": "FieldKey",
444
+ "description": "Identifier of a directory field. A key with no `.` is a BASE field, the same in every community: `displayName`, `nickname`, `avatar`, `pronouns`, `bio`, `links` (written by the member) and `role`, `joinedAt`, `did`, `personhood` (derived from the community's own records, never stored on a card). A community-defined field MUST use a reverse-DNS key (`org.example.employer`), so a base key never collides with one, and a key is never reused with a different meaning once defined.",
445
+ "type": "string",
446
+ "minLength": 1,
447
+ "maxLength": 128,
448
+ "pattern": "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$"
449
+ },
450
+ "DirectoryEntry": {
451
+ "title": "DirectoryEntry",
452
+ "description": "One entry as a particular viewer sees it.",
453
+ "type": "object",
454
+ "additionalProperties": false,
455
+ "required": [
456
+ "entryId",
457
+ "fields"
458
+ ],
459
+ "properties": {
460
+ "entryId": {
461
+ "$ref": "#/$defs/EntryId"
462
+ },
463
+ "fields": {
464
+ "$ref": "#/$defs/EntryFields"
465
+ },
466
+ "connected": {
467
+ "type": "boolean",
468
+ "description": "Present, and `true`, only when the viewer is one of the two parties to an attributed, in-force verified relationship with this entry's member that the community can see. Absent otherwise — never `false`, which would disclose that the community looked and found none. Relationships known only to the viewer's own agent are badged by that agent, not here."
469
+ },
470
+ "sharedGroups": {
471
+ "type": "array",
472
+ "maxItems": 64,
473
+ "uniqueItems": true,
474
+ "items": {
475
+ "type": "string",
476
+ "pattern": "^grp_[A-Za-z0-9_-]{16,64}$"
477
+ },
478
+ "description": "The community groups the viewer and this member both belong to, among those whose membership the viewer may see. Absent when there are none."
479
+ }
480
+ }
481
+ },
482
+ "EntryFields": {
483
+ "title": "EntryFields",
484
+ "description": "The fields of one entry that a particular viewer may see, keyed by field: the intersection of the member's visibility, the community's ceiling and policy, plus any derived fields that intersection admits. A withheld field is ABSENT, never null.",
485
+ "type": "object",
486
+ "maxProperties": 64,
487
+ "propertyNames": {
488
+ "$ref": "#/$defs/FieldKey"
489
+ },
490
+ "additionalProperties": {
491
+ "$ref": "#/$defs/FieldValue"
492
+ }
493
+ },
494
+ "FieldValue": {
495
+ "title": "FieldValue",
496
+ "description": "The value of one field. Which shape a field takes is fixed by its definition's `type`: text-like types (`text`, `longText`, `url`, `email`, `phone`, `enum`, `date` as YYYY-MM-DD, `country` as ISO 3166-1 alpha-2, `did`) are strings; `multiEnum` and the base field `links` are arrays of strings; `image` and the base field `avatar` are a `CardBlobRef`; `claim` is a `VerifiedValue`; the derived base field `personhood` is a boolean.",
497
+ "anyOf": [
498
+ {
499
+ "type": "string",
500
+ "maxLength": 2000
501
+ },
502
+ {
503
+ "type": "boolean"
504
+ },
505
+ {
506
+ "type": "array",
507
+ "maxItems": 32,
508
+ "items": {
509
+ "type": "string",
510
+ "maxLength": 500
511
+ }
512
+ },
513
+ {
514
+ "$ref": "#/$defs/CardBlobRef"
515
+ },
516
+ {
517
+ "$ref": "#/$defs/VerifiedValue"
518
+ }
519
+ ]
520
+ },
521
+ "VerifiedValue": {
522
+ "title": "VerifiedValue",
523
+ "description": "The value of a `credential`-sourced field: a claim the member disclosed from a credential they presented, with the issuer that attests it. A verified value always names its issuer, and a self-asserted value is never shaped as one. The community keeps only the disclosed claim and these facts about it — never the presentation.",
524
+ "type": "object",
525
+ "additionalProperties": false,
526
+ "required": [
527
+ "value",
528
+ "issuer",
529
+ "verifiedAt"
530
+ ],
531
+ "properties": {
532
+ "value": {
533
+ "anyOf": [
534
+ {
535
+ "type": "string",
536
+ "maxLength": 2000
537
+ },
538
+ {
539
+ "type": "boolean"
540
+ },
541
+ {
542
+ "type": "number"
543
+ }
544
+ ],
545
+ "description": "The disclosed claim value."
546
+ },
547
+ "issuer": {
548
+ "type": "string",
549
+ "pattern": "^did:",
550
+ "maxLength": 2048,
551
+ "description": "DID of the credential's issuer, shown as the field's verification badge."
552
+ },
553
+ "credentialType": {
554
+ "type": "string",
555
+ "minLength": 1,
556
+ "maxLength": 128,
557
+ "description": "The most specific `type` of the credential the claim came from."
558
+ },
559
+ "verifiedAt": {
560
+ "type": "string",
561
+ "format": "date-time",
562
+ "description": "When the community verified the presentation."
563
+ },
564
+ "validUntil": {
565
+ "type": "string",
566
+ "format": "date-time",
567
+ "description": "When the credential expires, where it does. The community withdraws the value once it passes."
568
+ }
569
+ }
570
+ },
571
+ "CardBlobRef": {
572
+ "title": "CardBlobRef",
573
+ "description": "A content-addressed image held in the community's blob store — an avatar or an `image` field. At most 256 KiB, images only, re-encoded by the community on upload (metadata stripped, dimensions capped) so its digest does not link the member across communities. `url` and `urlExpiresAt` appear only in a projection: a short-lived URL the community checks against the same projection, so a member-only image is never a public URL.",
574
+ "type": "object",
575
+ "additionalProperties": false,
576
+ "required": [
577
+ "sha256",
578
+ "mediaType"
579
+ ],
580
+ "properties": {
581
+ "sha256": {
582
+ "type": "string",
583
+ "pattern": "^[0-9a-f]{64}$",
584
+ "description": "Lowercase hex SHA-256 of the stored, re-encoded bytes."
585
+ },
586
+ "mediaType": {
587
+ "type": "string",
588
+ "enum": [
589
+ "image/png",
590
+ "image/jpeg",
591
+ "image/webp",
592
+ "image/avif"
593
+ ],
594
+ "description": "Media type of the stored bytes."
595
+ },
596
+ "size": {
597
+ "type": "integer",
598
+ "minimum": 1,
599
+ "maximum": 262144,
600
+ "description": "Size in bytes of the stored bytes."
601
+ },
602
+ "url": {
603
+ "type": "string",
604
+ "format": "uri",
605
+ "maxLength": 2048,
606
+ "description": "Projection only: a URL the viewer can fetch the image from until `urlExpiresAt`."
607
+ },
608
+ "urlExpiresAt": {
609
+ "type": "string",
610
+ "format": "date-time",
611
+ "description": "Projection only: when `url` stops working."
612
+ }
613
+ }
614
+ },
615
+ "EntryId": {
616
+ "title": "EntryId",
617
+ "description": "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.",
618
+ "type": "string",
619
+ "pattern": "^dir_[A-Za-z0-9_-]{16,64}$"
620
+ },
621
+ "GroupId": {
622
+ "title": "GroupId",
623
+ "description": "Opaque identifier of a community group: `grp_` followed by 16 to 64 base64url characters. Random and community-scoped; not the group's DID.",
624
+ "type": "string",
625
+ "pattern": "^grp_[A-Za-z0-9_-]{16,64}$"
626
+ }
627
+ }
628
+ };
629
+ /**
630
+ * SPEC.md §7.2 policy for the request variant, from this specification's
631
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
632
+ * per-specification and cannot be derived from the document alone, and
633
+ * item 2 needs the schema this carries.
634
+ */
635
+ export const SPEC = {
636
+ typeUri: TYPE_URI,
637
+ isBearer: false,
638
+ isProofRequired: false,
639
+ isRecipientRequired: true,
640
+ isIssuedAtRequired: false,
641
+ payloadSchema: PAYLOAD_SCHEMA,
642
+ };
643
+ /**
644
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
645
+ * tracks the *issuer* party's requirement because a response swaps the
646
+ * parties (§7.3 item 5).
647
+ */
648
+ export const RESPONSE_SPEC = {
649
+ typeUri: RESPONSE_TYPE_URI,
650
+ isBearer: false,
651
+ isProofRequired: false,
652
+ isRecipientRequired: true,
653
+ isIssuedAtRequired: false,
654
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
655
+ };
656
+ //# sourceMappingURL=payload.js.map