@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,541 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/directory/entries/show/0.1/payload.schema.json
4
+ */
5
+
6
+ import type { CardBlobRef, DirectoryEntry, EntryFields, EntryId, Ext, FieldValue, VerifiedValue } from "../../../../../_shared/components.js";
7
+
8
+
9
+ /**
10
+ * Read one directory entry, projected for the caller. Members address it by entry identifier; administrators may also address it by DID. The outer document members are owned by the framework — SPEC §6.3.
11
+ */
12
+ export type VTCDirectoryEntriesShowPayload = {
13
+ entryId?: EntryId;
14
+ /**
15
+ * Administrators only: the member's membership DID.
16
+ */
17
+ did?: string;
18
+ ext?: Ext;
19
+ } & {
20
+ [k: string]: unknown | undefined;
21
+ };
22
+
23
+ /**
24
+ * The success response to a vtc/directory/entries/show/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/entries/show/0.1#response.
25
+ */
26
+ export interface VTCDirectoryEntriesShowResponsePayload {
27
+ entry: DirectoryEntry;
28
+ ext?: Ext;
29
+ }
30
+
31
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
32
+ export type { CardBlobRef, DirectoryEntry, EntryFields, EntryId, Ext, FieldValue, VerifiedValue };
33
+
34
+ /** Trust Task type URI. */
35
+ export const TYPE_URI = "https://trusttasks.org/spec/vtc/directory/entries/show/0.1" as const;
36
+
37
+ /** Stable alias for this specification's request payload shape. */
38
+ export type Payload = VTCDirectoryEntriesShowPayload;
39
+
40
+ /** Trust Task response type URI (request type URI + "#response"). */
41
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vtc/directory/entries/show/0.1#response" as const;
42
+
43
+ /** Stable alias for this specification's success-response payload shape. */
44
+ export type Response = VTCDirectoryEntriesShowResponsePayload;
45
+
46
+ /**
47
+ * This specification's payload schema, as a value.
48
+ *
49
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
50
+ * rather than only as a `.json` file because TypeScript types are erased
51
+ * at runtime: without a schema a consumer has nothing to validate, and
52
+ * every REQUIRED payload member is optional in practice. Cross-file
53
+ * `$ref`s are already inlined, so it needs no resolver.
54
+ */
55
+ export const PAYLOAD_SCHEMA = {
56
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
57
+ "$id": "https://trusttasks.org/spec/vtc/directory/entries/show/0.1",
58
+ "title": "VTC Directory — Entries — Show — payload",
59
+ "description": "Read one directory entry, projected for the caller. Members address it by entry identifier; administrators may also address it by DID. The outer document members are owned by the framework — SPEC §6.3.",
60
+ "type": "object",
61
+ "additionalProperties": false,
62
+ "oneOf": [
63
+ {
64
+ "required": [
65
+ "entryId"
66
+ ]
67
+ },
68
+ {
69
+ "required": [
70
+ "did"
71
+ ]
72
+ }
73
+ ],
74
+ "properties": {
75
+ "entryId": {
76
+ "$ref": "#/$defs/EntryId"
77
+ },
78
+ "did": {
79
+ "type": "string",
80
+ "pattern": "^did:",
81
+ "maxLength": 2048,
82
+ "description": "Administrators only: the member's membership DID."
83
+ },
84
+ "ext": {
85
+ "$ref": "#/$defs/Ext"
86
+ }
87
+ },
88
+ "$defs": {
89
+ "Response": {
90
+ "$anchor": "response",
91
+ "title": "VTC Directory — Entries — Show — response payload",
92
+ "description": "The success response to a vtc/directory/entries/show/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/entries/show/0.1#response.",
93
+ "type": "object",
94
+ "additionalProperties": false,
95
+ "required": [
96
+ "entry"
97
+ ],
98
+ "properties": {
99
+ "entry": {
100
+ "$ref": "#/$defs/DirectoryEntry"
101
+ },
102
+ "ext": {
103
+ "$ref": "#/$defs/Ext"
104
+ }
105
+ }
106
+ },
107
+ "Ext": {
108
+ "title": "Ext",
109
+ "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.",
110
+ "type": "object",
111
+ "minProperties": 1,
112
+ "additionalProperties": true,
113
+ "propertyNames": {
114
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
115
+ }
116
+ },
117
+ "DirectoryEntry": {
118
+ "title": "DirectoryEntry",
119
+ "description": "One entry as a particular viewer sees it.",
120
+ "type": "object",
121
+ "additionalProperties": false,
122
+ "required": [
123
+ "entryId",
124
+ "fields"
125
+ ],
126
+ "properties": {
127
+ "entryId": {
128
+ "$ref": "#/$defs/EntryId"
129
+ },
130
+ "fields": {
131
+ "$ref": "#/$defs/EntryFields"
132
+ },
133
+ "connected": {
134
+ "type": "boolean",
135
+ "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."
136
+ },
137
+ "sharedGroups": {
138
+ "type": "array",
139
+ "maxItems": 64,
140
+ "uniqueItems": true,
141
+ "items": {
142
+ "type": "string",
143
+ "pattern": "^grp_[A-Za-z0-9_-]{16,64}$"
144
+ },
145
+ "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."
146
+ }
147
+ }
148
+ },
149
+ "EntryFields": {
150
+ "title": "EntryFields",
151
+ "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.",
152
+ "type": "object",
153
+ "maxProperties": 64,
154
+ "propertyNames": {
155
+ "$ref": "#/$defs/FieldKey"
156
+ },
157
+ "additionalProperties": {
158
+ "$ref": "#/$defs/FieldValue"
159
+ }
160
+ },
161
+ "FieldValue": {
162
+ "title": "FieldValue",
163
+ "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.",
164
+ "anyOf": [
165
+ {
166
+ "type": "string",
167
+ "maxLength": 2000
168
+ },
169
+ {
170
+ "type": "boolean"
171
+ },
172
+ {
173
+ "type": "array",
174
+ "maxItems": 32,
175
+ "items": {
176
+ "type": "string",
177
+ "maxLength": 500
178
+ }
179
+ },
180
+ {
181
+ "$ref": "#/$defs/CardBlobRef"
182
+ },
183
+ {
184
+ "$ref": "#/$defs/VerifiedValue"
185
+ }
186
+ ]
187
+ },
188
+ "VerifiedValue": {
189
+ "title": "VerifiedValue",
190
+ "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.",
191
+ "type": "object",
192
+ "additionalProperties": false,
193
+ "required": [
194
+ "value",
195
+ "issuer",
196
+ "verifiedAt"
197
+ ],
198
+ "properties": {
199
+ "value": {
200
+ "anyOf": [
201
+ {
202
+ "type": "string",
203
+ "maxLength": 2000
204
+ },
205
+ {
206
+ "type": "boolean"
207
+ },
208
+ {
209
+ "type": "number"
210
+ }
211
+ ],
212
+ "description": "The disclosed claim value."
213
+ },
214
+ "issuer": {
215
+ "type": "string",
216
+ "pattern": "^did:",
217
+ "maxLength": 2048,
218
+ "description": "DID of the credential's issuer, shown as the field's verification badge."
219
+ },
220
+ "credentialType": {
221
+ "type": "string",
222
+ "minLength": 1,
223
+ "maxLength": 128,
224
+ "description": "The most specific `type` of the credential the claim came from."
225
+ },
226
+ "verifiedAt": {
227
+ "type": "string",
228
+ "format": "date-time",
229
+ "description": "When the community verified the presentation."
230
+ },
231
+ "validUntil": {
232
+ "type": "string",
233
+ "format": "date-time",
234
+ "description": "When the credential expires, where it does. The community withdraws the value once it passes."
235
+ }
236
+ }
237
+ },
238
+ "CardBlobRef": {
239
+ "title": "CardBlobRef",
240
+ "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.",
241
+ "type": "object",
242
+ "additionalProperties": false,
243
+ "required": [
244
+ "sha256",
245
+ "mediaType"
246
+ ],
247
+ "properties": {
248
+ "sha256": {
249
+ "type": "string",
250
+ "pattern": "^[0-9a-f]{64}$",
251
+ "description": "Lowercase hex SHA-256 of the stored, re-encoded bytes."
252
+ },
253
+ "mediaType": {
254
+ "type": "string",
255
+ "enum": [
256
+ "image/png",
257
+ "image/jpeg",
258
+ "image/webp",
259
+ "image/avif"
260
+ ],
261
+ "description": "Media type of the stored bytes."
262
+ },
263
+ "size": {
264
+ "type": "integer",
265
+ "minimum": 1,
266
+ "maximum": 262144,
267
+ "description": "Size in bytes of the stored bytes."
268
+ },
269
+ "url": {
270
+ "type": "string",
271
+ "format": "uri",
272
+ "maxLength": 2048,
273
+ "description": "Projection only: a URL the viewer can fetch the image from until `urlExpiresAt`."
274
+ },
275
+ "urlExpiresAt": {
276
+ "type": "string",
277
+ "format": "date-time",
278
+ "description": "Projection only: when `url` stops working."
279
+ }
280
+ }
281
+ },
282
+ "FieldKey": {
283
+ "title": "FieldKey",
284
+ "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.",
285
+ "type": "string",
286
+ "minLength": 1,
287
+ "maxLength": 128,
288
+ "pattern": "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$"
289
+ },
290
+ "EntryId": {
291
+ "title": "EntryId",
292
+ "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.",
293
+ "type": "string",
294
+ "pattern": "^dir_[A-Za-z0-9_-]{16,64}$"
295
+ }
296
+ }
297
+ } as const;
298
+
299
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
300
+ export const RESPONSE_PAYLOAD_SCHEMA = {
301
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
302
+ "$ref": "#/$defs/Response",
303
+ "$defs": {
304
+ "Response": {
305
+ "$anchor": "response",
306
+ "title": "VTC Directory — Entries — Show — response payload",
307
+ "description": "The success response to a vtc/directory/entries/show/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/entries/show/0.1#response.",
308
+ "type": "object",
309
+ "additionalProperties": false,
310
+ "required": [
311
+ "entry"
312
+ ],
313
+ "properties": {
314
+ "entry": {
315
+ "$ref": "#/$defs/DirectoryEntry"
316
+ },
317
+ "ext": {
318
+ "$ref": "#/$defs/Ext"
319
+ }
320
+ }
321
+ },
322
+ "Ext": {
323
+ "title": "Ext",
324
+ "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.",
325
+ "type": "object",
326
+ "minProperties": 1,
327
+ "additionalProperties": true,
328
+ "propertyNames": {
329
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
330
+ }
331
+ },
332
+ "DirectoryEntry": {
333
+ "title": "DirectoryEntry",
334
+ "description": "One entry as a particular viewer sees it.",
335
+ "type": "object",
336
+ "additionalProperties": false,
337
+ "required": [
338
+ "entryId",
339
+ "fields"
340
+ ],
341
+ "properties": {
342
+ "entryId": {
343
+ "$ref": "#/$defs/EntryId"
344
+ },
345
+ "fields": {
346
+ "$ref": "#/$defs/EntryFields"
347
+ },
348
+ "connected": {
349
+ "type": "boolean",
350
+ "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."
351
+ },
352
+ "sharedGroups": {
353
+ "type": "array",
354
+ "maxItems": 64,
355
+ "uniqueItems": true,
356
+ "items": {
357
+ "type": "string",
358
+ "pattern": "^grp_[A-Za-z0-9_-]{16,64}$"
359
+ },
360
+ "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."
361
+ }
362
+ }
363
+ },
364
+ "EntryFields": {
365
+ "title": "EntryFields",
366
+ "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.",
367
+ "type": "object",
368
+ "maxProperties": 64,
369
+ "propertyNames": {
370
+ "$ref": "#/$defs/FieldKey"
371
+ },
372
+ "additionalProperties": {
373
+ "$ref": "#/$defs/FieldValue"
374
+ }
375
+ },
376
+ "FieldValue": {
377
+ "title": "FieldValue",
378
+ "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.",
379
+ "anyOf": [
380
+ {
381
+ "type": "string",
382
+ "maxLength": 2000
383
+ },
384
+ {
385
+ "type": "boolean"
386
+ },
387
+ {
388
+ "type": "array",
389
+ "maxItems": 32,
390
+ "items": {
391
+ "type": "string",
392
+ "maxLength": 500
393
+ }
394
+ },
395
+ {
396
+ "$ref": "#/$defs/CardBlobRef"
397
+ },
398
+ {
399
+ "$ref": "#/$defs/VerifiedValue"
400
+ }
401
+ ]
402
+ },
403
+ "VerifiedValue": {
404
+ "title": "VerifiedValue",
405
+ "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.",
406
+ "type": "object",
407
+ "additionalProperties": false,
408
+ "required": [
409
+ "value",
410
+ "issuer",
411
+ "verifiedAt"
412
+ ],
413
+ "properties": {
414
+ "value": {
415
+ "anyOf": [
416
+ {
417
+ "type": "string",
418
+ "maxLength": 2000
419
+ },
420
+ {
421
+ "type": "boolean"
422
+ },
423
+ {
424
+ "type": "number"
425
+ }
426
+ ],
427
+ "description": "The disclosed claim value."
428
+ },
429
+ "issuer": {
430
+ "type": "string",
431
+ "pattern": "^did:",
432
+ "maxLength": 2048,
433
+ "description": "DID of the credential's issuer, shown as the field's verification badge."
434
+ },
435
+ "credentialType": {
436
+ "type": "string",
437
+ "minLength": 1,
438
+ "maxLength": 128,
439
+ "description": "The most specific `type` of the credential the claim came from."
440
+ },
441
+ "verifiedAt": {
442
+ "type": "string",
443
+ "format": "date-time",
444
+ "description": "When the community verified the presentation."
445
+ },
446
+ "validUntil": {
447
+ "type": "string",
448
+ "format": "date-time",
449
+ "description": "When the credential expires, where it does. The community withdraws the value once it passes."
450
+ }
451
+ }
452
+ },
453
+ "CardBlobRef": {
454
+ "title": "CardBlobRef",
455
+ "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.",
456
+ "type": "object",
457
+ "additionalProperties": false,
458
+ "required": [
459
+ "sha256",
460
+ "mediaType"
461
+ ],
462
+ "properties": {
463
+ "sha256": {
464
+ "type": "string",
465
+ "pattern": "^[0-9a-f]{64}$",
466
+ "description": "Lowercase hex SHA-256 of the stored, re-encoded bytes."
467
+ },
468
+ "mediaType": {
469
+ "type": "string",
470
+ "enum": [
471
+ "image/png",
472
+ "image/jpeg",
473
+ "image/webp",
474
+ "image/avif"
475
+ ],
476
+ "description": "Media type of the stored bytes."
477
+ },
478
+ "size": {
479
+ "type": "integer",
480
+ "minimum": 1,
481
+ "maximum": 262144,
482
+ "description": "Size in bytes of the stored bytes."
483
+ },
484
+ "url": {
485
+ "type": "string",
486
+ "format": "uri",
487
+ "maxLength": 2048,
488
+ "description": "Projection only: a URL the viewer can fetch the image from until `urlExpiresAt`."
489
+ },
490
+ "urlExpiresAt": {
491
+ "type": "string",
492
+ "format": "date-time",
493
+ "description": "Projection only: when `url` stops working."
494
+ }
495
+ }
496
+ },
497
+ "FieldKey": {
498
+ "title": "FieldKey",
499
+ "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.",
500
+ "type": "string",
501
+ "minLength": 1,
502
+ "maxLength": 128,
503
+ "pattern": "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$"
504
+ },
505
+ "EntryId": {
506
+ "title": "EntryId",
507
+ "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.",
508
+ "type": "string",
509
+ "pattern": "^dir_[A-Za-z0-9_-]{16,64}$"
510
+ }
511
+ }
512
+ } as const;
513
+
514
+ /**
515
+ * SPEC.md §7.2 policy for the request variant, from this specification's
516
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
517
+ * per-specification and cannot be derived from the document alone, and
518
+ * item 2 needs the schema this carries.
519
+ */
520
+ export const SPEC = {
521
+ typeUri: TYPE_URI,
522
+ isBearer: false,
523
+ isProofRequired: false,
524
+ isRecipientRequired: true,
525
+ isIssuedAtRequired: false,
526
+ payloadSchema: PAYLOAD_SCHEMA,
527
+ } as const;
528
+
529
+ /**
530
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
531
+ * tracks the *issuer* party's requirement because a response swaps the
532
+ * parties (§7.3 item 5).
533
+ */
534
+ export const RESPONSE_SPEC = {
535
+ typeUri: RESPONSE_TYPE_URI,
536
+ isBearer: false,
537
+ isProofRequired: false,
538
+ isRecipientRequired: true,
539
+ isIssuedAtRequired: false,
540
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
541
+ } as const;