@openvtc/trust-tasks 0.26.17 → 0.26.19

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 (368) hide show
  1. package/CHANGELOG.md +222 -0
  2. package/dist/_shared/components.d.ts +867 -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 +61 -0
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +61 -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/seal/0.1/payload.d.ts +24 -4
  75. package/dist/rooms/keys/seal/0.1/payload.d.ts.map +1 -1
  76. package/dist/rooms/keys/seal/0.1/payload.js +12 -2
  77. package/dist/rooms/keys/seal/0.1/payload.js.map +1 -1
  78. package/dist/rooms/keys/seal/0.2/payload.d.ts +24 -4
  79. package/dist/rooms/keys/seal/0.2/payload.d.ts.map +1 -1
  80. package/dist/rooms/keys/seal/0.2/payload.js +12 -2
  81. package/dist/rooms/keys/seal/0.2/payload.js.map +1 -1
  82. package/dist/rooms/owner/group/add/0.3/payload.d.ts +417 -0
  83. package/dist/rooms/owner/group/add/0.3/payload.d.ts.map +1 -0
  84. package/dist/rooms/owner/group/add/0.3/payload.js +218 -0
  85. package/dist/rooms/owner/group/add/0.3/payload.js.map +1 -0
  86. package/dist/rooms/owner/group/remove/0.3/payload.d.ts +600 -0
  87. package/dist/rooms/owner/group/remove/0.3/payload.d.ts.map +1 -0
  88. package/dist/rooms/owner/group/remove/0.3/payload.js +310 -0
  89. package/dist/rooms/owner/group/remove/0.3/payload.js.map +1 -0
  90. package/dist/rooms/owner/group/renew/0.2/payload.d.ts +299 -0
  91. package/dist/rooms/owner/group/renew/0.2/payload.d.ts.map +1 -0
  92. package/dist/rooms/owner/group/renew/0.2/payload.js +163 -0
  93. package/dist/rooms/owner/group/renew/0.2/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/admin/events/_shared/0.3/topic.d.ts +30 -0
  115. package/dist/vtc/admin/events/_shared/0.3/topic.d.ts.map +1 -0
  116. package/dist/vtc/admin/events/_shared/0.3/topic.js +6 -0
  117. package/dist/vtc/admin/events/_shared/0.3/topic.js.map +1 -0
  118. package/dist/vtc/admin/events/event/0.3/payload.d.ts +172 -0
  119. package/dist/vtc/admin/events/event/0.3/payload.d.ts.map +1 -0
  120. package/dist/vtc/admin/events/event/0.3/payload.js +102 -0
  121. package/dist/vtc/admin/events/event/0.3/payload.js.map +1 -0
  122. package/dist/vtc/admin/events/subscribe/0.3/payload.d.ts +409 -0
  123. package/dist/vtc/admin/events/subscribe/0.3/payload.d.ts.map +1 -0
  124. package/dist/vtc/admin/events/subscribe/0.3/payload.js +236 -0
  125. package/dist/vtc/admin/events/subscribe/0.3/payload.js.map +1 -0
  126. package/dist/vtc/directory/_shared/0.1/admin-note.d.ts +16 -0
  127. package/dist/vtc/directory/_shared/0.1/admin-note.d.ts.map +1 -0
  128. package/dist/vtc/directory/_shared/0.1/admin-note.js +6 -0
  129. package/dist/vtc/directory/_shared/0.1/admin-note.js.map +1 -0
  130. package/dist/vtc/directory/_shared/0.1/directory-card.d.ts +22 -0
  131. package/dist/vtc/directory/_shared/0.1/directory-card.d.ts.map +1 -0
  132. package/dist/vtc/directory/_shared/0.1/directory-card.js +6 -0
  133. package/dist/vtc/directory/_shared/0.1/directory-card.js.map +1 -0
  134. package/dist/vtc/directory/_shared/0.1/disclosure-statement.d.ts +18 -0
  135. package/dist/vtc/directory/_shared/0.1/disclosure-statement.d.ts.map +1 -0
  136. package/dist/vtc/directory/_shared/0.1/disclosure-statement.js +6 -0
  137. package/dist/vtc/directory/_shared/0.1/disclosure-statement.js.map +1 -0
  138. package/dist/vtc/directory/_shared/0.1/field-definition.d.ts +16 -0
  139. package/dist/vtc/directory/_shared/0.1/field-definition.d.ts.map +1 -0
  140. package/dist/vtc/directory/_shared/0.1/field-definition.js +6 -0
  141. package/dist/vtc/directory/_shared/0.1/field-definition.js.map +1 -0
  142. package/dist/vtc/directory/card/assert/0.1/payload.d.ts +780 -0
  143. package/dist/vtc/directory/card/assert/0.1/payload.d.ts.map +1 -0
  144. package/dist/vtc/directory/card/assert/0.1/payload.js +454 -0
  145. package/dist/vtc/directory/card/assert/0.1/payload.js.map +1 -0
  146. package/dist/vtc/directory/card/present/0.1/payload.d.ts +603 -0
  147. package/dist/vtc/directory/card/present/0.1/payload.d.ts.map +1 -0
  148. package/dist/vtc/directory/card/present/0.1/payload.js +297 -0
  149. package/dist/vtc/directory/card/present/0.1/payload.js.map +1 -0
  150. package/dist/vtc/directory/card/public/0.1/payload.d.ts +348 -0
  151. package/dist/vtc/directory/card/public/0.1/payload.d.ts.map +1 -0
  152. package/dist/vtc/directory/card/public/0.1/payload.js +197 -0
  153. package/dist/vtc/directory/card/public/0.1/payload.js.map +1 -0
  154. package/dist/vtc/directory/card/publish/0.1/payload.d.ts +384 -0
  155. package/dist/vtc/directory/card/publish/0.1/payload.d.ts.map +1 -0
  156. package/dist/vtc/directory/card/publish/0.1/payload.js +222 -0
  157. package/dist/vtc/directory/card/publish/0.1/payload.js.map +1 -0
  158. package/dist/vtc/directory/card/show/0.1/payload.d.ts +1276 -0
  159. package/dist/vtc/directory/card/show/0.1/payload.d.ts.map +1 -0
  160. package/dist/vtc/directory/card/show/0.1/payload.js +775 -0
  161. package/dist/vtc/directory/card/show/0.1/payload.js.map +1 -0
  162. package/dist/vtc/directory/card/update/0.1/payload.d.ts +1423 -0
  163. package/dist/vtc/directory/card/update/0.1/payload.d.ts.map +1 -0
  164. package/dist/vtc/directory/card/update/0.1/payload.js +845 -0
  165. package/dist/vtc/directory/card/update/0.1/payload.js.map +1 -0
  166. package/dist/vtc/directory/disclosure/0.1/payload.d.ts +951 -0
  167. package/dist/vtc/directory/disclosure/0.1/payload.d.ts.map +1 -0
  168. package/dist/vtc/directory/disclosure/0.1/payload.js +613 -0
  169. package/dist/vtc/directory/disclosure/0.1/payload.js.map +1 -0
  170. package/dist/vtc/directory/entries/list/0.1/payload.d.ts +5525 -0
  171. package/dist/vtc/directory/entries/list/0.1/payload.d.ts.map +1 -0
  172. package/dist/vtc/directory/entries/list/0.1/payload.js +656 -0
  173. package/dist/vtc/directory/entries/list/0.1/payload.js.map +1 -0
  174. package/dist/vtc/directory/entries/show/0.1/payload.d.ts +861 -0
  175. package/dist/vtc/directory/entries/show/0.1/payload.d.ts.map +1 -0
  176. package/dist/vtc/directory/entries/show/0.1/payload.js +502 -0
  177. package/dist/vtc/directory/entries/show/0.1/payload.js.map +1 -0
  178. package/dist/vtc/directory/export/0.1/payload.d.ts +346 -0
  179. package/dist/vtc/directory/export/0.1/payload.d.ts.map +1 -0
  180. package/dist/vtc/directory/export/0.1/payload.js +192 -0
  181. package/dist/vtc/directory/export/0.1/payload.js.map +1 -0
  182. package/dist/vtc/directory/fields/define/0.1/payload.d.ts +1355 -0
  183. package/dist/vtc/directory/fields/define/0.1/payload.d.ts.map +1 -0
  184. package/dist/vtc/directory/fields/define/0.1/payload.js +811 -0
  185. package/dist/vtc/directory/fields/define/0.1/payload.js.map +1 -0
  186. package/dist/vtc/directory/fields/list/0.1/payload.d.ts +1236 -0
  187. package/dist/vtc/directory/fields/list/0.1/payload.d.ts.map +1 -0
  188. package/dist/vtc/directory/fields/list/0.1/payload.js +739 -0
  189. package/dist/vtc/directory/fields/list/0.1/payload.js.map +1 -0
  190. package/dist/vtc/directory/fields/retire/0.1/payload.d.ts +1146 -0
  191. package/dist/vtc/directory/fields/retire/0.1/payload.d.ts.map +1 -0
  192. package/dist/vtc/directory/fields/retire/0.1/payload.js +684 -0
  193. package/dist/vtc/directory/fields/retire/0.1/payload.js.map +1 -0
  194. package/dist/vtc/directory/fields/update/0.1/payload.d.ts +1223 -0
  195. package/dist/vtc/directory/fields/update/0.1/payload.d.ts.map +1 -0
  196. package/dist/vtc/directory/fields/update/0.1/payload.js +715 -0
  197. package/dist/vtc/directory/fields/update/0.1/payload.js.map +1 -0
  198. package/dist/vtc/directory/images/get/0.1/payload.d.ts +484 -0
  199. package/dist/vtc/directory/images/get/0.1/payload.d.ts.map +1 -0
  200. package/dist/vtc/directory/images/get/0.1/payload.js +273 -0
  201. package/dist/vtc/directory/images/get/0.1/payload.js.map +1 -0
  202. package/dist/vtc/directory/images/upload/0.1/payload.d.ts +441 -0
  203. package/dist/vtc/directory/images/upload/0.1/payload.d.ts.map +1 -0
  204. package/dist/vtc/directory/images/upload/0.1/payload.js +262 -0
  205. package/dist/vtc/directory/images/upload/0.1/payload.js.map +1 -0
  206. package/dist/vtc/directory/introduce/0.1/payload.d.ts +417 -0
  207. package/dist/vtc/directory/introduce/0.1/payload.d.ts.map +1 -0
  208. package/dist/vtc/directory/introduce/0.1/payload.js +183 -0
  209. package/dist/vtc/directory/introduce/0.1/payload.js.map +1 -0
  210. package/dist/vtc/directory/introduction/0.1/payload.d.ts +423 -0
  211. package/dist/vtc/directory/introduction/0.1/payload.d.ts.map +1 -0
  212. package/dist/vtc/directory/introduction/0.1/payload.js +241 -0
  213. package/dist/vtc/directory/introduction/0.1/payload.js.map +1 -0
  214. package/dist/vtc/directory/notes/append/0.1/payload.d.ts +494 -0
  215. package/dist/vtc/directory/notes/append/0.1/payload.d.ts.map +1 -0
  216. package/dist/vtc/directory/notes/append/0.1/payload.js +281 -0
  217. package/dist/vtc/directory/notes/append/0.1/payload.js.map +1 -0
  218. package/dist/vtc/directory/notes/export/0.1/payload.d.ts +530 -0
  219. package/dist/vtc/directory/notes/export/0.1/payload.d.ts.map +1 -0
  220. package/dist/vtc/directory/notes/export/0.1/payload.js +294 -0
  221. package/dist/vtc/directory/notes/export/0.1/payload.js.map +1 -0
  222. package/dist/vtc/directory/notes/list/0.1/payload.d.ts +528 -0
  223. package/dist/vtc/directory/notes/list/0.1/payload.d.ts.map +1 -0
  224. package/dist/vtc/directory/notes/list/0.1/payload.js +294 -0
  225. package/dist/vtc/directory/notes/list/0.1/payload.js.map +1 -0
  226. package/dist/vtc/groups/_shared/0.1/group.d.ts +22 -0
  227. package/dist/vtc/groups/_shared/0.1/group.d.ts.map +1 -0
  228. package/dist/vtc/groups/_shared/0.1/group.js +6 -0
  229. package/dist/vtc/groups/_shared/0.1/group.js.map +1 -0
  230. package/dist/vtc/groups/bindings/add/0.1/payload.d.ts +914 -0
  231. package/dist/vtc/groups/bindings/add/0.1/payload.d.ts.map +1 -0
  232. package/dist/vtc/groups/bindings/add/0.1/payload.js +536 -0
  233. package/dist/vtc/groups/bindings/add/0.1/payload.js.map +1 -0
  234. package/dist/vtc/groups/bindings/list/0.1/payload.d.ts +910 -0
  235. package/dist/vtc/groups/bindings/list/0.1/payload.d.ts.map +1 -0
  236. package/dist/vtc/groups/bindings/list/0.1/payload.js +533 -0
  237. package/dist/vtc/groups/bindings/list/0.1/payload.js.map +1 -0
  238. package/dist/vtc/groups/bindings/remove/0.1/payload.d.ts +310 -0
  239. package/dist/vtc/groups/bindings/remove/0.1/payload.d.ts.map +1 -0
  240. package/dist/vtc/groups/bindings/remove/0.1/payload.js +182 -0
  241. package/dist/vtc/groups/bindings/remove/0.1/payload.js.map +1 -0
  242. package/dist/vtc/groups/create/0.1/payload.d.ts +1075 -0
  243. package/dist/vtc/groups/create/0.1/payload.d.ts.map +1 -0
  244. package/dist/vtc/groups/create/0.1/payload.js +631 -0
  245. package/dist/vtc/groups/create/0.1/payload.js.map +1 -0
  246. package/dist/vtc/groups/delete/0.1/payload.d.ts +317 -0
  247. package/dist/vtc/groups/delete/0.1/payload.d.ts.map +1 -0
  248. package/dist/vtc/groups/delete/0.1/payload.js +182 -0
  249. package/dist/vtc/groups/delete/0.1/payload.js.map +1 -0
  250. package/dist/vtc/groups/join/0.1/payload.d.ts +1262 -0
  251. package/dist/vtc/groups/join/0.1/payload.d.ts.map +1 -0
  252. package/dist/vtc/groups/join/0.1/payload.js +758 -0
  253. package/dist/vtc/groups/join/0.1/payload.js.map +1 -0
  254. package/dist/vtc/groups/leave/0.1/payload.d.ts +291 -0
  255. package/dist/vtc/groups/leave/0.1/payload.d.ts.map +1 -0
  256. package/dist/vtc/groups/leave/0.1/payload.js +179 -0
  257. package/dist/vtc/groups/leave/0.1/payload.js.map +1 -0
  258. package/dist/vtc/groups/list/0.1/payload.d.ts +1127 -0
  259. package/dist/vtc/groups/list/0.1/payload.d.ts.map +1 -0
  260. package/dist/vtc/groups/list/0.1/payload.js +674 -0
  261. package/dist/vtc/groups/list/0.1/payload.js.map +1 -0
  262. package/dist/vtc/groups/members/add/0.1/payload.d.ts +1014 -0
  263. package/dist/vtc/groups/members/add/0.1/payload.d.ts.map +1 -0
  264. package/dist/vtc/groups/members/add/0.1/payload.js +607 -0
  265. package/dist/vtc/groups/members/add/0.1/payload.js.map +1 -0
  266. package/dist/vtc/groups/members/list/0.1/payload.d.ts +1018 -0
  267. package/dist/vtc/groups/members/list/0.1/payload.d.ts.map +1 -0
  268. package/dist/vtc/groups/members/list/0.1/payload.js +606 -0
  269. package/dist/vtc/groups/members/list/0.1/payload.js.map +1 -0
  270. package/dist/vtc/groups/members/remove/0.1/payload.d.ts +351 -0
  271. package/dist/vtc/groups/members/remove/0.1/payload.d.ts.map +1 -0
  272. package/dist/vtc/groups/members/remove/0.1/payload.js +205 -0
  273. package/dist/vtc/groups/members/remove/0.1/payload.js.map +1 -0
  274. package/dist/vtc/groups/requests/decide/0.1/payload.d.ts +1236 -0
  275. package/dist/vtc/groups/requests/decide/0.1/payload.d.ts.map +1 -0
  276. package/dist/vtc/groups/requests/decide/0.1/payload.js +741 -0
  277. package/dist/vtc/groups/requests/decide/0.1/payload.js.map +1 -0
  278. package/dist/vtc/groups/requests/list/0.1/payload.d.ts +1063 -0
  279. package/dist/vtc/groups/requests/list/0.1/payload.d.ts.map +1 -0
  280. package/dist/vtc/groups/requests/list/0.1/payload.js +622 -0
  281. package/dist/vtc/groups/requests/list/0.1/payload.js.map +1 -0
  282. package/dist/vtc/groups/show/0.1/payload.d.ts +1012 -0
  283. package/dist/vtc/groups/show/0.1/payload.d.ts.map +1 -0
  284. package/dist/vtc/groups/show/0.1/payload.js +619 -0
  285. package/dist/vtc/groups/show/0.1/payload.js.map +1 -0
  286. package/dist/vtc/groups/update/0.1/payload.d.ts +1078 -0
  287. package/dist/vtc/groups/update/0.1/payload.d.ts.map +1 -0
  288. package/dist/vtc/groups/update/0.1/payload.js +633 -0
  289. package/dist/vtc/groups/update/0.1/payload.js.map +1 -0
  290. package/dist/vtc/join-requests/manifest/0.4/payload.d.ts +2303 -0
  291. package/dist/vtc/join-requests/manifest/0.4/payload.d.ts.map +1 -0
  292. package/dist/vtc/join-requests/manifest/0.4/payload.js +1293 -0
  293. package/dist/vtc/join-requests/manifest/0.4/payload.js.map +1 -0
  294. package/package.json +1 -1
  295. package/src/_shared/components.ts +912 -1
  296. package/src/auth/oob/_shared/0.1/oob.ts +1 -1
  297. package/src/auth/oob/grant/0.2/payload.ts +186 -0
  298. package/src/auth/oob/prove/0.2/payload.ts +523 -0
  299. package/src/auth/oob/respond/0.2/payload.ts +178 -0
  300. package/src/device/list/0.1/payload.ts +2 -0
  301. package/src/device/list/0.2/payload.ts +2 -0
  302. package/src/device/register/0.1/payload.ts +2 -0
  303. package/src/device/register/0.2/payload.ts +2 -0
  304. package/src/index.ts +61 -0
  305. package/src/keys/sign-document/0.1/payload.ts +437 -0
  306. package/src/persona/_shared/0.1/contact-annotations.ts +23 -0
  307. package/src/persona/contact/get/1.1/payload.ts +876 -0
  308. package/src/persona/contact/list/1.1/payload.ts +497 -0
  309. package/src/persona/contact/lists/delete/1.0/payload.ts +204 -0
  310. package/src/persona/contact/lists/list/1.0/payload.ts +332 -0
  311. package/src/persona/contact/lists/put/1.0/payload.ts +429 -0
  312. package/src/persona/contact/lists/show/1.0/payload.ts +305 -0
  313. package/src/persona/contact/put/1.1/payload.ts +958 -0
  314. package/src/rooms/keys/seal/0.1/payload.ts +12 -2
  315. package/src/rooms/keys/seal/0.2/payload.ts +12 -2
  316. package/src/rooms/owner/group/add/0.3/payload.ts +288 -0
  317. package/src/rooms/owner/group/remove/0.3/payload.ts +415 -0
  318. package/src/rooms/owner/group/renew/0.2/payload.ts +213 -0
  319. package/src/rooms/owner/register/0.2/payload.ts +415 -0
  320. package/src/rooms/records/get/0.1/payload.ts +12 -2
  321. package/src/rooms/records/get/0.2/payload.ts +12 -2
  322. package/src/rooms/records/put/0.1/payload.ts +12 -2
  323. package/src/rooms/records/put/0.2/payload.ts +12 -2
  324. package/src/vtc/admin/events/_shared/0.3/topic.ts +31 -0
  325. package/src/vtc/admin/events/event/0.3/payload.ts +136 -0
  326. package/src/vtc/admin/events/subscribe/0.3/payload.ts +314 -0
  327. package/src/vtc/directory/_shared/0.1/admin-note.ts +17 -0
  328. package/src/vtc/directory/_shared/0.1/directory-card.ts +23 -0
  329. package/src/vtc/directory/_shared/0.1/disclosure-statement.ts +19 -0
  330. package/src/vtc/directory/_shared/0.1/field-definition.ts +17 -0
  331. package/src/vtc/directory/card/assert/0.1/payload.ts +503 -0
  332. package/src/vtc/directory/card/present/0.1/payload.ts +437 -0
  333. package/src/vtc/directory/card/public/0.1/payload.ts +238 -0
  334. package/src/vtc/directory/card/publish/0.1/payload.ts +261 -0
  335. package/src/vtc/directory/card/show/0.1/payload.ts +812 -0
  336. package/src/vtc/directory/card/update/0.1/payload.ts +907 -0
  337. package/src/vtc/directory/disclosure/0.1/payload.ts +645 -0
  338. package/src/vtc/directory/entries/list/0.1/payload.ts +5676 -0
  339. package/src/vtc/directory/entries/show/0.1/payload.ts +541 -0
  340. package/src/vtc/directory/export/0.1/payload.ts +241 -0
  341. package/src/vtc/directory/fields/define/0.1/payload.ts +847 -0
  342. package/src/vtc/directory/fields/list/0.1/payload.ts +780 -0
  343. package/src/vtc/directory/fields/retire/0.1/payload.ts +723 -0
  344. package/src/vtc/directory/fields/update/0.1/payload.ts +767 -0
  345. package/src/vtc/directory/images/get/0.1/payload.ts +320 -0
  346. package/src/vtc/directory/images/upload/0.1/payload.ts +308 -0
  347. package/src/vtc/directory/introduce/0.1/payload.ts +324 -0
  348. package/src/vtc/directory/introduction/0.1/payload.ts +278 -0
  349. package/src/vtc/directory/notes/append/0.1/payload.ts +319 -0
  350. package/src/vtc/directory/notes/export/0.1/payload.ts +337 -0
  351. package/src/vtc/directory/notes/list/0.1/payload.ts +337 -0
  352. package/src/vtc/groups/_shared/0.1/group.ts +23 -0
  353. package/src/vtc/groups/bindings/add/0.1/payload.ts +573 -0
  354. package/src/vtc/groups/bindings/list/0.1/payload.ts +568 -0
  355. package/src/vtc/groups/bindings/remove/0.1/payload.ts +223 -0
  356. package/src/vtc/groups/create/0.1/payload.ts +683 -0
  357. package/src/vtc/groups/delete/0.1/payload.ts +224 -0
  358. package/src/vtc/groups/join/0.1/payload.ts +807 -0
  359. package/src/vtc/groups/leave/0.1/payload.ts +219 -0
  360. package/src/vtc/groups/list/0.1/payload.ts +728 -0
  361. package/src/vtc/groups/members/add/0.1/payload.ts +648 -0
  362. package/src/vtc/groups/members/list/0.1/payload.ts +647 -0
  363. package/src/vtc/groups/members/remove/0.1/payload.ts +251 -0
  364. package/src/vtc/groups/requests/decide/0.1/payload.ts +786 -0
  365. package/src/vtc/groups/requests/list/0.1/payload.ts +670 -0
  366. package/src/vtc/groups/show/0.1/payload.ts +652 -0
  367. package/src/vtc/groups/update/0.1/payload.ts +682 -0
  368. package/src/vtc/join-requests/manifest/0.4/payload.ts +1490 -0
@@ -0,0 +1,780 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/directory/card/assert/0.1/payload.schema.json
4
+ */
5
+ import type { CardBlobRef, EntryId, Ext, FieldKey, FieldValue, VerifiedValue } from "../../../../../_shared/components.js";
6
+ /**
7
+ * An administrator writes the values of admin-sourced directory fields on a member's card — the facts the community asserts about a member, which the member reads and cannot change. The outer document members are owned by the framework — SPEC §6.3.
8
+ */
9
+ export interface VTCDirectoryCardAssertPayload {
10
+ entryId: EntryId;
11
+ /**
12
+ * Values to set, keyed by `admin`-sourced field; `null` clears one.
13
+ */
14
+ values: {
15
+ [k: string]: (FieldValue | null) | undefined;
16
+ };
17
+ /**
18
+ * Why, recorded with the change and shown to anyone who must approve it.
19
+ */
20
+ reason: string;
21
+ ext?: Ext;
22
+ }
23
+ /**
24
+ * The success response to a vtc/directory/card/assert/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/card/assert/0.1#response.
25
+ */
26
+ export interface VTCDirectoryCardAssertResponsePayload {
27
+ entryId: EntryId;
28
+ /**
29
+ * The fields written or cleared.
30
+ *
31
+ * @maxItems 64
32
+ */
33
+ written: FieldKey[];
34
+ revision: number;
35
+ ext?: Ext;
36
+ }
37
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
38
+ export type { CardBlobRef, EntryId, Ext, FieldKey, FieldValue, VerifiedValue };
39
+ /** Trust Task type URI. */
40
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/directory/card/assert/0.1";
41
+ /** Stable alias for this specification's request payload shape. */
42
+ export type Payload = VTCDirectoryCardAssertPayload;
43
+ /** Trust Task response type URI (request type URI + "#response"). */
44
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/directory/card/assert/0.1#response";
45
+ /** Stable alias for this specification's success-response payload shape. */
46
+ export type Response = VTCDirectoryCardAssertResponsePayload;
47
+ /**
48
+ * This specification's payload schema, as a value.
49
+ *
50
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
51
+ * rather than only as a `.json` file because TypeScript types are erased
52
+ * at runtime: without a schema a consumer has nothing to validate, and
53
+ * every REQUIRED payload member is optional in practice. Cross-file
54
+ * `$ref`s are already inlined, so it needs no resolver.
55
+ */
56
+ export declare const PAYLOAD_SCHEMA: {
57
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
58
+ readonly $id: "https://trusttasks.org/spec/vtc/directory/card/assert/0.1";
59
+ readonly title: "VTC Directory — Card — Assert — payload";
60
+ readonly description: "An administrator writes the values of admin-sourced directory fields on a member's card — the facts the community asserts about a member, which the member reads and cannot change. The outer document members are owned by the framework — SPEC §6.3.";
61
+ readonly type: "object";
62
+ readonly additionalProperties: false;
63
+ readonly required: readonly ["entryId", "values", "reason"];
64
+ readonly properties: {
65
+ readonly entryId: {
66
+ readonly $ref: "#/$defs/EntryId";
67
+ };
68
+ readonly values: {
69
+ readonly type: "object";
70
+ readonly minProperties: 1;
71
+ readonly maxProperties: 64;
72
+ readonly propertyNames: {
73
+ readonly $ref: "#/$defs/FieldKey";
74
+ };
75
+ readonly additionalProperties: {
76
+ readonly anyOf: readonly [{
77
+ readonly $ref: "#/$defs/FieldValue";
78
+ }, {
79
+ readonly type: "null";
80
+ }];
81
+ };
82
+ readonly description: "Values to set, keyed by `admin`-sourced field; `null` clears one.";
83
+ };
84
+ readonly reason: {
85
+ readonly type: "string";
86
+ readonly minLength: 1;
87
+ readonly maxLength: 1024;
88
+ readonly description: "Why, recorded with the change and shown to anyone who must approve it.";
89
+ };
90
+ readonly ext: {
91
+ readonly $ref: "#/$defs/Ext";
92
+ };
93
+ };
94
+ readonly $defs: {
95
+ readonly Response: {
96
+ readonly $anchor: "response";
97
+ readonly title: "VTC Directory — Card — Assert — response payload";
98
+ readonly description: "The success response to a vtc/directory/card/assert/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/card/assert/0.1#response.";
99
+ readonly type: "object";
100
+ readonly additionalProperties: false;
101
+ readonly required: readonly ["entryId", "written", "revision"];
102
+ readonly properties: {
103
+ readonly entryId: {
104
+ readonly $ref: "#/$defs/EntryId";
105
+ };
106
+ readonly written: {
107
+ readonly type: "array";
108
+ readonly maxItems: 64;
109
+ readonly items: {
110
+ readonly $ref: "#/$defs/FieldKey";
111
+ };
112
+ readonly description: "The fields written or cleared.";
113
+ };
114
+ readonly revision: {
115
+ readonly type: "integer";
116
+ readonly minimum: 0;
117
+ };
118
+ readonly ext: {
119
+ readonly $ref: "#/$defs/Ext";
120
+ };
121
+ };
122
+ };
123
+ readonly Ext: {
124
+ readonly title: "Ext";
125
+ 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.";
126
+ readonly type: "object";
127
+ readonly minProperties: 1;
128
+ readonly additionalProperties: true;
129
+ readonly propertyNames: {
130
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
131
+ };
132
+ };
133
+ readonly FieldKey: {
134
+ readonly title: "FieldKey";
135
+ readonly 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.";
136
+ readonly type: "string";
137
+ readonly minLength: 1;
138
+ readonly maxLength: 128;
139
+ readonly pattern: "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$";
140
+ };
141
+ readonly EntryId: {
142
+ readonly title: "EntryId";
143
+ readonly 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.";
144
+ readonly type: "string";
145
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
146
+ };
147
+ readonly FieldValue: {
148
+ readonly title: "FieldValue";
149
+ readonly 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.";
150
+ readonly anyOf: readonly [{
151
+ readonly type: "string";
152
+ readonly maxLength: 2000;
153
+ }, {
154
+ readonly type: "boolean";
155
+ }, {
156
+ readonly type: "array";
157
+ readonly maxItems: 32;
158
+ readonly items: {
159
+ readonly type: "string";
160
+ readonly maxLength: 500;
161
+ };
162
+ }, {
163
+ readonly $ref: "#/$defs/CardBlobRef";
164
+ }, {
165
+ readonly $ref: "#/$defs/VerifiedValue";
166
+ }];
167
+ };
168
+ readonly VerifiedValue: {
169
+ readonly title: "VerifiedValue";
170
+ readonly 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.";
171
+ readonly type: "object";
172
+ readonly additionalProperties: false;
173
+ readonly required: readonly ["value", "issuer", "verifiedAt"];
174
+ readonly properties: {
175
+ readonly value: {
176
+ readonly anyOf: readonly [{
177
+ readonly type: "string";
178
+ readonly maxLength: 2000;
179
+ }, {
180
+ readonly type: "boolean";
181
+ }, {
182
+ readonly type: "number";
183
+ }];
184
+ readonly description: "The disclosed claim value.";
185
+ };
186
+ readonly issuer: {
187
+ readonly type: "string";
188
+ readonly pattern: "^did:";
189
+ readonly maxLength: 2048;
190
+ readonly description: "DID of the credential's issuer, shown as the field's verification badge.";
191
+ };
192
+ readonly credentialType: {
193
+ readonly type: "string";
194
+ readonly minLength: 1;
195
+ readonly maxLength: 128;
196
+ readonly description: "The most specific `type` of the credential the claim came from.";
197
+ };
198
+ readonly verifiedAt: {
199
+ readonly type: "string";
200
+ readonly format: "date-time";
201
+ readonly description: "When the community verified the presentation.";
202
+ };
203
+ readonly validUntil: {
204
+ readonly type: "string";
205
+ readonly format: "date-time";
206
+ readonly description: "When the credential expires, where it does. The community withdraws the value once it passes.";
207
+ };
208
+ };
209
+ };
210
+ readonly CardBlobRef: {
211
+ readonly title: "CardBlobRef";
212
+ readonly 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 (vtc/directory/images/upload: metadata stripped, dimensions capped) so its digest does not link the member across communities. A viewer reads the bytes with vtc/directory/images/get, which answers only where the same projection shows the value. `url` and `urlExpiresAt` MAY appear in a projection: a short-lived URL the community checks against the same projection, so a member-only image is never a public URL. A community that does not offer one leaves both out.";
213
+ readonly type: "object";
214
+ readonly additionalProperties: false;
215
+ readonly required: readonly ["sha256", "mediaType"];
216
+ readonly properties: {
217
+ readonly sha256: {
218
+ readonly type: "string";
219
+ readonly pattern: "^[0-9a-f]{64}$";
220
+ readonly description: "Lowercase hex SHA-256 of the stored, re-encoded bytes.";
221
+ };
222
+ readonly mediaType: {
223
+ readonly type: "string";
224
+ readonly enum: readonly ["image/png", "image/jpeg", "image/webp", "image/avif"];
225
+ readonly description: "Media type of the stored bytes.";
226
+ };
227
+ readonly size: {
228
+ readonly type: "integer";
229
+ readonly minimum: 1;
230
+ readonly maximum: 262144;
231
+ readonly description: "Size in bytes of the stored bytes.";
232
+ };
233
+ readonly url: {
234
+ readonly type: "string";
235
+ readonly format: "uri";
236
+ readonly maxLength: 2048;
237
+ readonly description: "Projection only: a URL the viewer can fetch the image from until `urlExpiresAt`.";
238
+ };
239
+ readonly urlExpiresAt: {
240
+ readonly type: "string";
241
+ readonly format: "date-time";
242
+ readonly description: "Projection only: when `url` stops working.";
243
+ };
244
+ };
245
+ };
246
+ };
247
+ };
248
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
249
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
250
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
251
+ readonly $ref: "#/$defs/Response";
252
+ readonly $defs: {
253
+ readonly Response: {
254
+ readonly $anchor: "response";
255
+ readonly title: "VTC Directory — Card — Assert — response payload";
256
+ readonly description: "The success response to a vtc/directory/card/assert/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/card/assert/0.1#response.";
257
+ readonly type: "object";
258
+ readonly additionalProperties: false;
259
+ readonly required: readonly ["entryId", "written", "revision"];
260
+ readonly properties: {
261
+ readonly entryId: {
262
+ readonly $ref: "#/$defs/EntryId";
263
+ };
264
+ readonly written: {
265
+ readonly type: "array";
266
+ readonly maxItems: 64;
267
+ readonly items: {
268
+ readonly $ref: "#/$defs/FieldKey";
269
+ };
270
+ readonly description: "The fields written or cleared.";
271
+ };
272
+ readonly revision: {
273
+ readonly type: "integer";
274
+ readonly minimum: 0;
275
+ };
276
+ readonly ext: {
277
+ readonly $ref: "#/$defs/Ext";
278
+ };
279
+ };
280
+ };
281
+ readonly Ext: {
282
+ readonly title: "Ext";
283
+ 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.";
284
+ readonly type: "object";
285
+ readonly minProperties: 1;
286
+ readonly additionalProperties: true;
287
+ readonly propertyNames: {
288
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
289
+ };
290
+ };
291
+ readonly FieldKey: {
292
+ readonly title: "FieldKey";
293
+ readonly 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.";
294
+ readonly type: "string";
295
+ readonly minLength: 1;
296
+ readonly maxLength: 128;
297
+ readonly pattern: "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$";
298
+ };
299
+ readonly EntryId: {
300
+ readonly title: "EntryId";
301
+ readonly 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.";
302
+ readonly type: "string";
303
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
304
+ };
305
+ readonly FieldValue: {
306
+ readonly title: "FieldValue";
307
+ readonly 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.";
308
+ readonly anyOf: readonly [{
309
+ readonly type: "string";
310
+ readonly maxLength: 2000;
311
+ }, {
312
+ readonly type: "boolean";
313
+ }, {
314
+ readonly type: "array";
315
+ readonly maxItems: 32;
316
+ readonly items: {
317
+ readonly type: "string";
318
+ readonly maxLength: 500;
319
+ };
320
+ }, {
321
+ readonly $ref: "#/$defs/CardBlobRef";
322
+ }, {
323
+ readonly $ref: "#/$defs/VerifiedValue";
324
+ }];
325
+ };
326
+ readonly VerifiedValue: {
327
+ readonly title: "VerifiedValue";
328
+ readonly 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.";
329
+ readonly type: "object";
330
+ readonly additionalProperties: false;
331
+ readonly required: readonly ["value", "issuer", "verifiedAt"];
332
+ readonly properties: {
333
+ readonly value: {
334
+ readonly anyOf: readonly [{
335
+ readonly type: "string";
336
+ readonly maxLength: 2000;
337
+ }, {
338
+ readonly type: "boolean";
339
+ }, {
340
+ readonly type: "number";
341
+ }];
342
+ readonly description: "The disclosed claim value.";
343
+ };
344
+ readonly issuer: {
345
+ readonly type: "string";
346
+ readonly pattern: "^did:";
347
+ readonly maxLength: 2048;
348
+ readonly description: "DID of the credential's issuer, shown as the field's verification badge.";
349
+ };
350
+ readonly credentialType: {
351
+ readonly type: "string";
352
+ readonly minLength: 1;
353
+ readonly maxLength: 128;
354
+ readonly description: "The most specific `type` of the credential the claim came from.";
355
+ };
356
+ readonly verifiedAt: {
357
+ readonly type: "string";
358
+ readonly format: "date-time";
359
+ readonly description: "When the community verified the presentation.";
360
+ };
361
+ readonly validUntil: {
362
+ readonly type: "string";
363
+ readonly format: "date-time";
364
+ readonly description: "When the credential expires, where it does. The community withdraws the value once it passes.";
365
+ };
366
+ };
367
+ };
368
+ readonly CardBlobRef: {
369
+ readonly title: "CardBlobRef";
370
+ readonly 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 (vtc/directory/images/upload: metadata stripped, dimensions capped) so its digest does not link the member across communities. A viewer reads the bytes with vtc/directory/images/get, which answers only where the same projection shows the value. `url` and `urlExpiresAt` MAY appear in a projection: a short-lived URL the community checks against the same projection, so a member-only image is never a public URL. A community that does not offer one leaves both out.";
371
+ readonly type: "object";
372
+ readonly additionalProperties: false;
373
+ readonly required: readonly ["sha256", "mediaType"];
374
+ readonly properties: {
375
+ readonly sha256: {
376
+ readonly type: "string";
377
+ readonly pattern: "^[0-9a-f]{64}$";
378
+ readonly description: "Lowercase hex SHA-256 of the stored, re-encoded bytes.";
379
+ };
380
+ readonly mediaType: {
381
+ readonly type: "string";
382
+ readonly enum: readonly ["image/png", "image/jpeg", "image/webp", "image/avif"];
383
+ readonly description: "Media type of the stored bytes.";
384
+ };
385
+ readonly size: {
386
+ readonly type: "integer";
387
+ readonly minimum: 1;
388
+ readonly maximum: 262144;
389
+ readonly description: "Size in bytes of the stored bytes.";
390
+ };
391
+ readonly url: {
392
+ readonly type: "string";
393
+ readonly format: "uri";
394
+ readonly maxLength: 2048;
395
+ readonly description: "Projection only: a URL the viewer can fetch the image from until `urlExpiresAt`.";
396
+ };
397
+ readonly urlExpiresAt: {
398
+ readonly type: "string";
399
+ readonly format: "date-time";
400
+ readonly description: "Projection only: when `url` stops working.";
401
+ };
402
+ };
403
+ };
404
+ };
405
+ };
406
+ /**
407
+ * SPEC.md §7.2 policy for the request variant, from this specification's
408
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
409
+ * per-specification and cannot be derived from the document alone, and
410
+ * item 2 needs the schema this carries.
411
+ */
412
+ export declare const SPEC: {
413
+ readonly typeUri: "https://trusttasks.org/spec/vtc/directory/card/assert/0.1";
414
+ readonly isBearer: false;
415
+ readonly isProofRequired: true;
416
+ readonly isRecipientRequired: true;
417
+ readonly isIssuedAtRequired: true;
418
+ readonly payloadSchema: {
419
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
420
+ readonly $id: "https://trusttasks.org/spec/vtc/directory/card/assert/0.1";
421
+ readonly title: "VTC Directory — Card — Assert — payload";
422
+ readonly description: "An administrator writes the values of admin-sourced directory fields on a member's card — the facts the community asserts about a member, which the member reads and cannot change. The outer document members are owned by the framework — SPEC §6.3.";
423
+ readonly type: "object";
424
+ readonly additionalProperties: false;
425
+ readonly required: readonly ["entryId", "values", "reason"];
426
+ readonly properties: {
427
+ readonly entryId: {
428
+ readonly $ref: "#/$defs/EntryId";
429
+ };
430
+ readonly values: {
431
+ readonly type: "object";
432
+ readonly minProperties: 1;
433
+ readonly maxProperties: 64;
434
+ readonly propertyNames: {
435
+ readonly $ref: "#/$defs/FieldKey";
436
+ };
437
+ readonly additionalProperties: {
438
+ readonly anyOf: readonly [{
439
+ readonly $ref: "#/$defs/FieldValue";
440
+ }, {
441
+ readonly type: "null";
442
+ }];
443
+ };
444
+ readonly description: "Values to set, keyed by `admin`-sourced field; `null` clears one.";
445
+ };
446
+ readonly reason: {
447
+ readonly type: "string";
448
+ readonly minLength: 1;
449
+ readonly maxLength: 1024;
450
+ readonly description: "Why, recorded with the change and shown to anyone who must approve it.";
451
+ };
452
+ readonly ext: {
453
+ readonly $ref: "#/$defs/Ext";
454
+ };
455
+ };
456
+ readonly $defs: {
457
+ readonly Response: {
458
+ readonly $anchor: "response";
459
+ readonly title: "VTC Directory — Card — Assert — response payload";
460
+ readonly description: "The success response to a vtc/directory/card/assert/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/card/assert/0.1#response.";
461
+ readonly type: "object";
462
+ readonly additionalProperties: false;
463
+ readonly required: readonly ["entryId", "written", "revision"];
464
+ readonly properties: {
465
+ readonly entryId: {
466
+ readonly $ref: "#/$defs/EntryId";
467
+ };
468
+ readonly written: {
469
+ readonly type: "array";
470
+ readonly maxItems: 64;
471
+ readonly items: {
472
+ readonly $ref: "#/$defs/FieldKey";
473
+ };
474
+ readonly description: "The fields written or cleared.";
475
+ };
476
+ readonly revision: {
477
+ readonly type: "integer";
478
+ readonly minimum: 0;
479
+ };
480
+ readonly ext: {
481
+ readonly $ref: "#/$defs/Ext";
482
+ };
483
+ };
484
+ };
485
+ readonly Ext: {
486
+ readonly title: "Ext";
487
+ 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.";
488
+ readonly type: "object";
489
+ readonly minProperties: 1;
490
+ readonly additionalProperties: true;
491
+ readonly propertyNames: {
492
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
493
+ };
494
+ };
495
+ readonly FieldKey: {
496
+ readonly title: "FieldKey";
497
+ readonly 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.";
498
+ readonly type: "string";
499
+ readonly minLength: 1;
500
+ readonly maxLength: 128;
501
+ readonly pattern: "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$";
502
+ };
503
+ readonly EntryId: {
504
+ readonly title: "EntryId";
505
+ readonly 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.";
506
+ readonly type: "string";
507
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
508
+ };
509
+ readonly FieldValue: {
510
+ readonly title: "FieldValue";
511
+ readonly 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.";
512
+ readonly anyOf: readonly [{
513
+ readonly type: "string";
514
+ readonly maxLength: 2000;
515
+ }, {
516
+ readonly type: "boolean";
517
+ }, {
518
+ readonly type: "array";
519
+ readonly maxItems: 32;
520
+ readonly items: {
521
+ readonly type: "string";
522
+ readonly maxLength: 500;
523
+ };
524
+ }, {
525
+ readonly $ref: "#/$defs/CardBlobRef";
526
+ }, {
527
+ readonly $ref: "#/$defs/VerifiedValue";
528
+ }];
529
+ };
530
+ readonly VerifiedValue: {
531
+ readonly title: "VerifiedValue";
532
+ readonly 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.";
533
+ readonly type: "object";
534
+ readonly additionalProperties: false;
535
+ readonly required: readonly ["value", "issuer", "verifiedAt"];
536
+ readonly properties: {
537
+ readonly value: {
538
+ readonly anyOf: readonly [{
539
+ readonly type: "string";
540
+ readonly maxLength: 2000;
541
+ }, {
542
+ readonly type: "boolean";
543
+ }, {
544
+ readonly type: "number";
545
+ }];
546
+ readonly description: "The disclosed claim value.";
547
+ };
548
+ readonly issuer: {
549
+ readonly type: "string";
550
+ readonly pattern: "^did:";
551
+ readonly maxLength: 2048;
552
+ readonly description: "DID of the credential's issuer, shown as the field's verification badge.";
553
+ };
554
+ readonly credentialType: {
555
+ readonly type: "string";
556
+ readonly minLength: 1;
557
+ readonly maxLength: 128;
558
+ readonly description: "The most specific `type` of the credential the claim came from.";
559
+ };
560
+ readonly verifiedAt: {
561
+ readonly type: "string";
562
+ readonly format: "date-time";
563
+ readonly description: "When the community verified the presentation.";
564
+ };
565
+ readonly validUntil: {
566
+ readonly type: "string";
567
+ readonly format: "date-time";
568
+ readonly description: "When the credential expires, where it does. The community withdraws the value once it passes.";
569
+ };
570
+ };
571
+ };
572
+ readonly CardBlobRef: {
573
+ readonly title: "CardBlobRef";
574
+ readonly 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 (vtc/directory/images/upload: metadata stripped, dimensions capped) so its digest does not link the member across communities. A viewer reads the bytes with vtc/directory/images/get, which answers only where the same projection shows the value. `url` and `urlExpiresAt` MAY appear in a projection: a short-lived URL the community checks against the same projection, so a member-only image is never a public URL. A community that does not offer one leaves both out.";
575
+ readonly type: "object";
576
+ readonly additionalProperties: false;
577
+ readonly required: readonly ["sha256", "mediaType"];
578
+ readonly properties: {
579
+ readonly sha256: {
580
+ readonly type: "string";
581
+ readonly pattern: "^[0-9a-f]{64}$";
582
+ readonly description: "Lowercase hex SHA-256 of the stored, re-encoded bytes.";
583
+ };
584
+ readonly mediaType: {
585
+ readonly type: "string";
586
+ readonly enum: readonly ["image/png", "image/jpeg", "image/webp", "image/avif"];
587
+ readonly description: "Media type of the stored bytes.";
588
+ };
589
+ readonly size: {
590
+ readonly type: "integer";
591
+ readonly minimum: 1;
592
+ readonly maximum: 262144;
593
+ readonly description: "Size in bytes of the stored bytes.";
594
+ };
595
+ readonly url: {
596
+ readonly type: "string";
597
+ readonly format: "uri";
598
+ readonly maxLength: 2048;
599
+ readonly description: "Projection only: a URL the viewer can fetch the image from until `urlExpiresAt`.";
600
+ };
601
+ readonly urlExpiresAt: {
602
+ readonly type: "string";
603
+ readonly format: "date-time";
604
+ readonly description: "Projection only: when `url` stops working.";
605
+ };
606
+ };
607
+ };
608
+ };
609
+ };
610
+ };
611
+ /**
612
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
613
+ * tracks the *issuer* party's requirement because a response swaps the
614
+ * parties (§7.3 item 5).
615
+ */
616
+ export declare const RESPONSE_SPEC: {
617
+ readonly typeUri: "https://trusttasks.org/spec/vtc/directory/card/assert/0.1#response";
618
+ readonly isBearer: false;
619
+ readonly isProofRequired: true;
620
+ readonly isRecipientRequired: true;
621
+ readonly isIssuedAtRequired: true;
622
+ readonly payloadSchema: {
623
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
624
+ readonly $ref: "#/$defs/Response";
625
+ readonly $defs: {
626
+ readonly Response: {
627
+ readonly $anchor: "response";
628
+ readonly title: "VTC Directory — Card — Assert — response payload";
629
+ readonly description: "The success response to a vtc/directory/card/assert/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/card/assert/0.1#response.";
630
+ readonly type: "object";
631
+ readonly additionalProperties: false;
632
+ readonly required: readonly ["entryId", "written", "revision"];
633
+ readonly properties: {
634
+ readonly entryId: {
635
+ readonly $ref: "#/$defs/EntryId";
636
+ };
637
+ readonly written: {
638
+ readonly type: "array";
639
+ readonly maxItems: 64;
640
+ readonly items: {
641
+ readonly $ref: "#/$defs/FieldKey";
642
+ };
643
+ readonly description: "The fields written or cleared.";
644
+ };
645
+ readonly revision: {
646
+ readonly type: "integer";
647
+ readonly minimum: 0;
648
+ };
649
+ readonly ext: {
650
+ readonly $ref: "#/$defs/Ext";
651
+ };
652
+ };
653
+ };
654
+ readonly Ext: {
655
+ readonly title: "Ext";
656
+ 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.";
657
+ readonly type: "object";
658
+ readonly minProperties: 1;
659
+ readonly additionalProperties: true;
660
+ readonly propertyNames: {
661
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
662
+ };
663
+ };
664
+ readonly FieldKey: {
665
+ readonly title: "FieldKey";
666
+ readonly 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.";
667
+ readonly type: "string";
668
+ readonly minLength: 1;
669
+ readonly maxLength: 128;
670
+ readonly pattern: "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$";
671
+ };
672
+ readonly EntryId: {
673
+ readonly title: "EntryId";
674
+ readonly 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.";
675
+ readonly type: "string";
676
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
677
+ };
678
+ readonly FieldValue: {
679
+ readonly title: "FieldValue";
680
+ readonly 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.";
681
+ readonly anyOf: readonly [{
682
+ readonly type: "string";
683
+ readonly maxLength: 2000;
684
+ }, {
685
+ readonly type: "boolean";
686
+ }, {
687
+ readonly type: "array";
688
+ readonly maxItems: 32;
689
+ readonly items: {
690
+ readonly type: "string";
691
+ readonly maxLength: 500;
692
+ };
693
+ }, {
694
+ readonly $ref: "#/$defs/CardBlobRef";
695
+ }, {
696
+ readonly $ref: "#/$defs/VerifiedValue";
697
+ }];
698
+ };
699
+ readonly VerifiedValue: {
700
+ readonly title: "VerifiedValue";
701
+ readonly 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.";
702
+ readonly type: "object";
703
+ readonly additionalProperties: false;
704
+ readonly required: readonly ["value", "issuer", "verifiedAt"];
705
+ readonly properties: {
706
+ readonly value: {
707
+ readonly anyOf: readonly [{
708
+ readonly type: "string";
709
+ readonly maxLength: 2000;
710
+ }, {
711
+ readonly type: "boolean";
712
+ }, {
713
+ readonly type: "number";
714
+ }];
715
+ readonly description: "The disclosed claim value.";
716
+ };
717
+ readonly issuer: {
718
+ readonly type: "string";
719
+ readonly pattern: "^did:";
720
+ readonly maxLength: 2048;
721
+ readonly description: "DID of the credential's issuer, shown as the field's verification badge.";
722
+ };
723
+ readonly credentialType: {
724
+ readonly type: "string";
725
+ readonly minLength: 1;
726
+ readonly maxLength: 128;
727
+ readonly description: "The most specific `type` of the credential the claim came from.";
728
+ };
729
+ readonly verifiedAt: {
730
+ readonly type: "string";
731
+ readonly format: "date-time";
732
+ readonly description: "When the community verified the presentation.";
733
+ };
734
+ readonly validUntil: {
735
+ readonly type: "string";
736
+ readonly format: "date-time";
737
+ readonly description: "When the credential expires, where it does. The community withdraws the value once it passes.";
738
+ };
739
+ };
740
+ };
741
+ readonly CardBlobRef: {
742
+ readonly title: "CardBlobRef";
743
+ readonly 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 (vtc/directory/images/upload: metadata stripped, dimensions capped) so its digest does not link the member across communities. A viewer reads the bytes with vtc/directory/images/get, which answers only where the same projection shows the value. `url` and `urlExpiresAt` MAY appear in a projection: a short-lived URL the community checks against the same projection, so a member-only image is never a public URL. A community that does not offer one leaves both out.";
744
+ readonly type: "object";
745
+ readonly additionalProperties: false;
746
+ readonly required: readonly ["sha256", "mediaType"];
747
+ readonly properties: {
748
+ readonly sha256: {
749
+ readonly type: "string";
750
+ readonly pattern: "^[0-9a-f]{64}$";
751
+ readonly description: "Lowercase hex SHA-256 of the stored, re-encoded bytes.";
752
+ };
753
+ readonly mediaType: {
754
+ readonly type: "string";
755
+ readonly enum: readonly ["image/png", "image/jpeg", "image/webp", "image/avif"];
756
+ readonly description: "Media type of the stored bytes.";
757
+ };
758
+ readonly size: {
759
+ readonly type: "integer";
760
+ readonly minimum: 1;
761
+ readonly maximum: 262144;
762
+ readonly description: "Size in bytes of the stored bytes.";
763
+ };
764
+ readonly url: {
765
+ readonly type: "string";
766
+ readonly format: "uri";
767
+ readonly maxLength: 2048;
768
+ readonly description: "Projection only: a URL the viewer can fetch the image from until `urlExpiresAt`.";
769
+ };
770
+ readonly urlExpiresAt: {
771
+ readonly type: "string";
772
+ readonly format: "date-time";
773
+ readonly description: "Projection only: when `url` stops working.";
774
+ };
775
+ };
776
+ };
777
+ };
778
+ };
779
+ };
780
+ //# sourceMappingURL=payload.d.ts.map