@openvtc/trust-tasks 0.26.17 → 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 (323) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/dist/_shared/components.d.ts +755 -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 +52 -0
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +52 -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/remove/0.3/payload.d.ts +600 -0
  83. package/dist/rooms/owner/group/remove/0.3/payload.d.ts.map +1 -0
  84. package/dist/rooms/owner/group/remove/0.3/payload.js +310 -0
  85. package/dist/rooms/owner/group/remove/0.3/payload.js.map +1 -0
  86. package/dist/rooms/owner/register/0.2/payload.d.ts +591 -0
  87. package/dist/rooms/owner/register/0.2/payload.d.ts.map +1 -0
  88. package/dist/rooms/owner/register/0.2/payload.js +335 -0
  89. package/dist/rooms/owner/register/0.2/payload.js.map +1 -0
  90. package/dist/rooms/records/get/0.1/payload.d.ts +24 -4
  91. package/dist/rooms/records/get/0.1/payload.d.ts.map +1 -1
  92. package/dist/rooms/records/get/0.1/payload.js +12 -2
  93. package/dist/rooms/records/get/0.1/payload.js.map +1 -1
  94. package/dist/rooms/records/get/0.2/payload.d.ts +24 -4
  95. package/dist/rooms/records/get/0.2/payload.d.ts.map +1 -1
  96. package/dist/rooms/records/get/0.2/payload.js +12 -2
  97. package/dist/rooms/records/get/0.2/payload.js.map +1 -1
  98. package/dist/rooms/records/put/0.1/payload.d.ts +24 -4
  99. package/dist/rooms/records/put/0.1/payload.d.ts.map +1 -1
  100. package/dist/rooms/records/put/0.1/payload.js +12 -2
  101. package/dist/rooms/records/put/0.1/payload.js.map +1 -1
  102. package/dist/rooms/records/put/0.2/payload.d.ts +24 -4
  103. package/dist/rooms/records/put/0.2/payload.d.ts.map +1 -1
  104. package/dist/rooms/records/put/0.2/payload.js +12 -2
  105. package/dist/rooms/records/put/0.2/payload.js.map +1 -1
  106. package/dist/vtc/admin/events/_shared/0.3/topic.d.ts +30 -0
  107. package/dist/vtc/admin/events/_shared/0.3/topic.d.ts.map +1 -0
  108. package/dist/vtc/admin/events/_shared/0.3/topic.js +6 -0
  109. package/dist/vtc/admin/events/_shared/0.3/topic.js.map +1 -0
  110. package/dist/vtc/admin/events/event/0.3/payload.d.ts +172 -0
  111. package/dist/vtc/admin/events/event/0.3/payload.d.ts.map +1 -0
  112. package/dist/vtc/admin/events/event/0.3/payload.js +102 -0
  113. package/dist/vtc/admin/events/event/0.3/payload.js.map +1 -0
  114. package/dist/vtc/admin/events/subscribe/0.3/payload.d.ts +409 -0
  115. package/dist/vtc/admin/events/subscribe/0.3/payload.d.ts.map +1 -0
  116. package/dist/vtc/admin/events/subscribe/0.3/payload.js +236 -0
  117. package/dist/vtc/admin/events/subscribe/0.3/payload.js.map +1 -0
  118. package/dist/vtc/directory/_shared/0.1/admin-note.d.ts +16 -0
  119. package/dist/vtc/directory/_shared/0.1/admin-note.d.ts.map +1 -0
  120. package/dist/vtc/directory/_shared/0.1/admin-note.js +6 -0
  121. package/dist/vtc/directory/_shared/0.1/admin-note.js.map +1 -0
  122. package/dist/vtc/directory/_shared/0.1/directory-card.d.ts +22 -0
  123. package/dist/vtc/directory/_shared/0.1/directory-card.d.ts.map +1 -0
  124. package/dist/vtc/directory/_shared/0.1/directory-card.js +6 -0
  125. package/dist/vtc/directory/_shared/0.1/directory-card.js.map +1 -0
  126. package/dist/vtc/directory/_shared/0.1/field-definition.d.ts +16 -0
  127. package/dist/vtc/directory/_shared/0.1/field-definition.d.ts.map +1 -0
  128. package/dist/vtc/directory/_shared/0.1/field-definition.js +6 -0
  129. package/dist/vtc/directory/_shared/0.1/field-definition.js.map +1 -0
  130. package/dist/vtc/directory/card/assert/0.1/payload.d.ts +780 -0
  131. package/dist/vtc/directory/card/assert/0.1/payload.d.ts.map +1 -0
  132. package/dist/vtc/directory/card/assert/0.1/payload.js +454 -0
  133. package/dist/vtc/directory/card/assert/0.1/payload.js.map +1 -0
  134. package/dist/vtc/directory/card/present/0.1/payload.d.ts +603 -0
  135. package/dist/vtc/directory/card/present/0.1/payload.d.ts.map +1 -0
  136. package/dist/vtc/directory/card/present/0.1/payload.js +297 -0
  137. package/dist/vtc/directory/card/present/0.1/payload.js.map +1 -0
  138. package/dist/vtc/directory/card/show/0.1/payload.d.ts +1144 -0
  139. package/dist/vtc/directory/card/show/0.1/payload.d.ts.map +1 -0
  140. package/dist/vtc/directory/card/show/0.1/payload.js +695 -0
  141. package/dist/vtc/directory/card/show/0.1/payload.js.map +1 -0
  142. package/dist/vtc/directory/card/update/0.1/payload.d.ts +1291 -0
  143. package/dist/vtc/directory/card/update/0.1/payload.d.ts.map +1 -0
  144. package/dist/vtc/directory/card/update/0.1/payload.js +765 -0
  145. package/dist/vtc/directory/card/update/0.1/payload.js.map +1 -0
  146. package/dist/vtc/directory/entries/list/0.1/payload.d.ts +5525 -0
  147. package/dist/vtc/directory/entries/list/0.1/payload.d.ts.map +1 -0
  148. package/dist/vtc/directory/entries/list/0.1/payload.js +656 -0
  149. package/dist/vtc/directory/entries/list/0.1/payload.js.map +1 -0
  150. package/dist/vtc/directory/entries/show/0.1/payload.d.ts +861 -0
  151. package/dist/vtc/directory/entries/show/0.1/payload.d.ts.map +1 -0
  152. package/dist/vtc/directory/entries/show/0.1/payload.js +502 -0
  153. package/dist/vtc/directory/entries/show/0.1/payload.js.map +1 -0
  154. package/dist/vtc/directory/export/0.1/payload.d.ts +346 -0
  155. package/dist/vtc/directory/export/0.1/payload.d.ts.map +1 -0
  156. package/dist/vtc/directory/export/0.1/payload.js +192 -0
  157. package/dist/vtc/directory/export/0.1/payload.js.map +1 -0
  158. package/dist/vtc/directory/fields/define/0.1/payload.d.ts +1355 -0
  159. package/dist/vtc/directory/fields/define/0.1/payload.d.ts.map +1 -0
  160. package/dist/vtc/directory/fields/define/0.1/payload.js +811 -0
  161. package/dist/vtc/directory/fields/define/0.1/payload.js.map +1 -0
  162. package/dist/vtc/directory/fields/list/0.1/payload.d.ts +1236 -0
  163. package/dist/vtc/directory/fields/list/0.1/payload.d.ts.map +1 -0
  164. package/dist/vtc/directory/fields/list/0.1/payload.js +739 -0
  165. package/dist/vtc/directory/fields/list/0.1/payload.js.map +1 -0
  166. package/dist/vtc/directory/fields/retire/0.1/payload.d.ts +1146 -0
  167. package/dist/vtc/directory/fields/retire/0.1/payload.d.ts.map +1 -0
  168. package/dist/vtc/directory/fields/retire/0.1/payload.js +684 -0
  169. package/dist/vtc/directory/fields/retire/0.1/payload.js.map +1 -0
  170. package/dist/vtc/directory/fields/update/0.1/payload.d.ts +1223 -0
  171. package/dist/vtc/directory/fields/update/0.1/payload.d.ts.map +1 -0
  172. package/dist/vtc/directory/fields/update/0.1/payload.js +715 -0
  173. package/dist/vtc/directory/fields/update/0.1/payload.js.map +1 -0
  174. package/dist/vtc/directory/introduce/0.1/payload.d.ts +417 -0
  175. package/dist/vtc/directory/introduce/0.1/payload.d.ts.map +1 -0
  176. package/dist/vtc/directory/introduce/0.1/payload.js +183 -0
  177. package/dist/vtc/directory/introduce/0.1/payload.js.map +1 -0
  178. package/dist/vtc/directory/introduction/0.1/payload.d.ts +423 -0
  179. package/dist/vtc/directory/introduction/0.1/payload.d.ts.map +1 -0
  180. package/dist/vtc/directory/introduction/0.1/payload.js +241 -0
  181. package/dist/vtc/directory/introduction/0.1/payload.js.map +1 -0
  182. package/dist/vtc/directory/notes/append/0.1/payload.d.ts +494 -0
  183. package/dist/vtc/directory/notes/append/0.1/payload.d.ts.map +1 -0
  184. package/dist/vtc/directory/notes/append/0.1/payload.js +281 -0
  185. package/dist/vtc/directory/notes/append/0.1/payload.js.map +1 -0
  186. package/dist/vtc/directory/notes/export/0.1/payload.d.ts +530 -0
  187. package/dist/vtc/directory/notes/export/0.1/payload.d.ts.map +1 -0
  188. package/dist/vtc/directory/notes/export/0.1/payload.js +294 -0
  189. package/dist/vtc/directory/notes/export/0.1/payload.js.map +1 -0
  190. package/dist/vtc/directory/notes/list/0.1/payload.d.ts +528 -0
  191. package/dist/vtc/directory/notes/list/0.1/payload.d.ts.map +1 -0
  192. package/dist/vtc/directory/notes/list/0.1/payload.js +294 -0
  193. package/dist/vtc/directory/notes/list/0.1/payload.js.map +1 -0
  194. package/dist/vtc/groups/_shared/0.1/group.d.ts +22 -0
  195. package/dist/vtc/groups/_shared/0.1/group.d.ts.map +1 -0
  196. package/dist/vtc/groups/_shared/0.1/group.js +6 -0
  197. package/dist/vtc/groups/_shared/0.1/group.js.map +1 -0
  198. package/dist/vtc/groups/bindings/add/0.1/payload.d.ts +914 -0
  199. package/dist/vtc/groups/bindings/add/0.1/payload.d.ts.map +1 -0
  200. package/dist/vtc/groups/bindings/add/0.1/payload.js +536 -0
  201. package/dist/vtc/groups/bindings/add/0.1/payload.js.map +1 -0
  202. package/dist/vtc/groups/bindings/list/0.1/payload.d.ts +910 -0
  203. package/dist/vtc/groups/bindings/list/0.1/payload.d.ts.map +1 -0
  204. package/dist/vtc/groups/bindings/list/0.1/payload.js +533 -0
  205. package/dist/vtc/groups/bindings/list/0.1/payload.js.map +1 -0
  206. package/dist/vtc/groups/bindings/remove/0.1/payload.d.ts +310 -0
  207. package/dist/vtc/groups/bindings/remove/0.1/payload.d.ts.map +1 -0
  208. package/dist/vtc/groups/bindings/remove/0.1/payload.js +182 -0
  209. package/dist/vtc/groups/bindings/remove/0.1/payload.js.map +1 -0
  210. package/dist/vtc/groups/create/0.1/payload.d.ts +1075 -0
  211. package/dist/vtc/groups/create/0.1/payload.d.ts.map +1 -0
  212. package/dist/vtc/groups/create/0.1/payload.js +631 -0
  213. package/dist/vtc/groups/create/0.1/payload.js.map +1 -0
  214. package/dist/vtc/groups/delete/0.1/payload.d.ts +317 -0
  215. package/dist/vtc/groups/delete/0.1/payload.d.ts.map +1 -0
  216. package/dist/vtc/groups/delete/0.1/payload.js +182 -0
  217. package/dist/vtc/groups/delete/0.1/payload.js.map +1 -0
  218. package/dist/vtc/groups/join/0.1/payload.d.ts +1262 -0
  219. package/dist/vtc/groups/join/0.1/payload.d.ts.map +1 -0
  220. package/dist/vtc/groups/join/0.1/payload.js +758 -0
  221. package/dist/vtc/groups/join/0.1/payload.js.map +1 -0
  222. package/dist/vtc/groups/leave/0.1/payload.d.ts +291 -0
  223. package/dist/vtc/groups/leave/0.1/payload.d.ts.map +1 -0
  224. package/dist/vtc/groups/leave/0.1/payload.js +179 -0
  225. package/dist/vtc/groups/leave/0.1/payload.js.map +1 -0
  226. package/dist/vtc/groups/list/0.1/payload.d.ts +1127 -0
  227. package/dist/vtc/groups/list/0.1/payload.d.ts.map +1 -0
  228. package/dist/vtc/groups/list/0.1/payload.js +674 -0
  229. package/dist/vtc/groups/list/0.1/payload.js.map +1 -0
  230. package/dist/vtc/groups/members/add/0.1/payload.d.ts +1014 -0
  231. package/dist/vtc/groups/members/add/0.1/payload.d.ts.map +1 -0
  232. package/dist/vtc/groups/members/add/0.1/payload.js +607 -0
  233. package/dist/vtc/groups/members/add/0.1/payload.js.map +1 -0
  234. package/dist/vtc/groups/members/list/0.1/payload.d.ts +1018 -0
  235. package/dist/vtc/groups/members/list/0.1/payload.d.ts.map +1 -0
  236. package/dist/vtc/groups/members/list/0.1/payload.js +606 -0
  237. package/dist/vtc/groups/members/list/0.1/payload.js.map +1 -0
  238. package/dist/vtc/groups/members/remove/0.1/payload.d.ts +351 -0
  239. package/dist/vtc/groups/members/remove/0.1/payload.d.ts.map +1 -0
  240. package/dist/vtc/groups/members/remove/0.1/payload.js +205 -0
  241. package/dist/vtc/groups/members/remove/0.1/payload.js.map +1 -0
  242. package/dist/vtc/groups/requests/decide/0.1/payload.d.ts +1236 -0
  243. package/dist/vtc/groups/requests/decide/0.1/payload.d.ts.map +1 -0
  244. package/dist/vtc/groups/requests/decide/0.1/payload.js +741 -0
  245. package/dist/vtc/groups/requests/decide/0.1/payload.js.map +1 -0
  246. package/dist/vtc/groups/requests/list/0.1/payload.d.ts +1063 -0
  247. package/dist/vtc/groups/requests/list/0.1/payload.d.ts.map +1 -0
  248. package/dist/vtc/groups/requests/list/0.1/payload.js +622 -0
  249. package/dist/vtc/groups/requests/list/0.1/payload.js.map +1 -0
  250. package/dist/vtc/groups/show/0.1/payload.d.ts +1012 -0
  251. package/dist/vtc/groups/show/0.1/payload.d.ts.map +1 -0
  252. package/dist/vtc/groups/show/0.1/payload.js +619 -0
  253. package/dist/vtc/groups/show/0.1/payload.js.map +1 -0
  254. package/dist/vtc/groups/update/0.1/payload.d.ts +1078 -0
  255. package/dist/vtc/groups/update/0.1/payload.d.ts.map +1 -0
  256. package/dist/vtc/groups/update/0.1/payload.js +633 -0
  257. package/dist/vtc/groups/update/0.1/payload.js.map +1 -0
  258. package/package.json +1 -1
  259. package/src/_shared/components.ts +800 -1
  260. package/src/auth/oob/_shared/0.1/oob.ts +1 -1
  261. package/src/auth/oob/grant/0.2/payload.ts +186 -0
  262. package/src/auth/oob/prove/0.2/payload.ts +523 -0
  263. package/src/auth/oob/respond/0.2/payload.ts +178 -0
  264. package/src/device/list/0.1/payload.ts +2 -0
  265. package/src/device/list/0.2/payload.ts +2 -0
  266. package/src/device/register/0.1/payload.ts +2 -0
  267. package/src/device/register/0.2/payload.ts +2 -0
  268. package/src/index.ts +52 -0
  269. package/src/keys/sign-document/0.1/payload.ts +437 -0
  270. package/src/persona/_shared/0.1/contact-annotations.ts +23 -0
  271. package/src/persona/contact/get/1.1/payload.ts +876 -0
  272. package/src/persona/contact/list/1.1/payload.ts +497 -0
  273. package/src/persona/contact/lists/delete/1.0/payload.ts +204 -0
  274. package/src/persona/contact/lists/list/1.0/payload.ts +332 -0
  275. package/src/persona/contact/lists/put/1.0/payload.ts +429 -0
  276. package/src/persona/contact/lists/show/1.0/payload.ts +305 -0
  277. package/src/persona/contact/put/1.1/payload.ts +958 -0
  278. package/src/rooms/keys/seal/0.1/payload.ts +12 -2
  279. package/src/rooms/keys/seal/0.2/payload.ts +12 -2
  280. package/src/rooms/owner/group/remove/0.3/payload.ts +415 -0
  281. package/src/rooms/owner/register/0.2/payload.ts +415 -0
  282. package/src/rooms/records/get/0.1/payload.ts +12 -2
  283. package/src/rooms/records/get/0.2/payload.ts +12 -2
  284. package/src/rooms/records/put/0.1/payload.ts +12 -2
  285. package/src/rooms/records/put/0.2/payload.ts +12 -2
  286. package/src/vtc/admin/events/_shared/0.3/topic.ts +31 -0
  287. package/src/vtc/admin/events/event/0.3/payload.ts +136 -0
  288. package/src/vtc/admin/events/subscribe/0.3/payload.ts +314 -0
  289. package/src/vtc/directory/_shared/0.1/admin-note.ts +17 -0
  290. package/src/vtc/directory/_shared/0.1/directory-card.ts +23 -0
  291. package/src/vtc/directory/_shared/0.1/field-definition.ts +17 -0
  292. package/src/vtc/directory/card/assert/0.1/payload.ts +503 -0
  293. package/src/vtc/directory/card/present/0.1/payload.ts +437 -0
  294. package/src/vtc/directory/card/show/0.1/payload.ts +732 -0
  295. package/src/vtc/directory/card/update/0.1/payload.ts +827 -0
  296. package/src/vtc/directory/entries/list/0.1/payload.ts +5676 -0
  297. package/src/vtc/directory/entries/show/0.1/payload.ts +541 -0
  298. package/src/vtc/directory/export/0.1/payload.ts +241 -0
  299. package/src/vtc/directory/fields/define/0.1/payload.ts +847 -0
  300. package/src/vtc/directory/fields/list/0.1/payload.ts +780 -0
  301. package/src/vtc/directory/fields/retire/0.1/payload.ts +723 -0
  302. package/src/vtc/directory/fields/update/0.1/payload.ts +767 -0
  303. package/src/vtc/directory/introduce/0.1/payload.ts +324 -0
  304. package/src/vtc/directory/introduction/0.1/payload.ts +278 -0
  305. package/src/vtc/directory/notes/append/0.1/payload.ts +319 -0
  306. package/src/vtc/directory/notes/export/0.1/payload.ts +337 -0
  307. package/src/vtc/directory/notes/list/0.1/payload.ts +337 -0
  308. package/src/vtc/groups/_shared/0.1/group.ts +23 -0
  309. package/src/vtc/groups/bindings/add/0.1/payload.ts +573 -0
  310. package/src/vtc/groups/bindings/list/0.1/payload.ts +568 -0
  311. package/src/vtc/groups/bindings/remove/0.1/payload.ts +223 -0
  312. package/src/vtc/groups/create/0.1/payload.ts +683 -0
  313. package/src/vtc/groups/delete/0.1/payload.ts +224 -0
  314. package/src/vtc/groups/join/0.1/payload.ts +807 -0
  315. package/src/vtc/groups/leave/0.1/payload.ts +219 -0
  316. package/src/vtc/groups/list/0.1/payload.ts +728 -0
  317. package/src/vtc/groups/members/add/0.1/payload.ts +648 -0
  318. package/src/vtc/groups/members/list/0.1/payload.ts +647 -0
  319. package/src/vtc/groups/members/remove/0.1/payload.ts +251 -0
  320. package/src/vtc/groups/requests/decide/0.1/payload.ts +786 -0
  321. package/src/vtc/groups/requests/list/0.1/payload.ts +670 -0
  322. package/src/vtc/groups/show/0.1/payload.ts +652 -0
  323. package/src/vtc/groups/update/0.1/payload.ts +682 -0
@@ -0,0 +1,803 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/persona/contact/list/1.1/payload.schema.json
4
+ */
5
+ import type { DirectoryEntryId, DirectoryRef, Ext, ListId, ListIds, Petname, Ulid } from "../../../../_shared/components.js";
6
+ /**
7
+ * Enumerate contacts in a context, optionally narrowed to those known by one persona, those the holder starred, those on one of the holder's lists, or those linked to one community's directory. Summaries only, with the holder's annotations; documents are fetched one at a time. Filters combine as AND.
8
+ */
9
+ export interface PersonaContactListPayload {
10
+ contextId: string;
11
+ /**
12
+ * Narrow to contacts known by this persona. Omitting it lists the context's contacts across every persona in it, which a producer SHOULD offer deliberately rather than by default — the unfiltered view is the one that shows the holder's personas side by side.
13
+ */
14
+ knownByPersona?: string;
15
+ /**
16
+ * Return only contacts whose current revision was received after this instant. Annotation changes do not count: they are the holder's own and need no "what changed while I was away".
17
+ */
18
+ changedSince?: string;
19
+ /**
20
+ * `true`: only starred contacts. `false`: only unstarred ones. Absent: both.
21
+ */
22
+ starred?: boolean;
23
+ /**
24
+ * Only contacts on this list. A list this context does not hold is `listUnknown`, not an empty page, because a list identifier is the holder's own and its absence is a definite answer worth giving.
25
+ */
26
+ listId?: ListId;
27
+ /**
28
+ * Only contacts whose `directoryRef` names this community. What the holder's own client asks for when it joins that community's directory with the holder's contacts, locally.
29
+ */
30
+ directoryVtcDid?: string;
31
+ cursor?: string;
32
+ limit?: number;
33
+ ext?: Ext;
34
+ }
35
+ /**
36
+ * Success response to persona/contact/list. Type https://trusttasks.org/spec/persona/contact/list/1.1#response. Summaries carry no claim values: a list is for finding a contact, and finding one does not require disclosing every contact's details. They do carry the holder's own annotations, which a client needs to sort, badge and filter, and which go to no one but the holder's own client.
37
+ */
38
+ export interface PersonaContactListResponsePayload {
39
+ /**
40
+ * @maxItems 500
41
+ */
42
+ contacts: {
43
+ contactId: Ulid;
44
+ subjectDid: string;
45
+ knownByPersona: string;
46
+ rev: number;
47
+ /**
48
+ * A rendering hint drawn from the contact's own disclosed display-name claim, so a list is legible. Absent when they disclosed none; a producer MUST NOT substitute the DID — or the petname — silently as though it were the contact's own name.
49
+ */
50
+ displayName?: string;
51
+ claimCount?: number;
52
+ receivedAt: string;
53
+ /**
54
+ * True when the current revision superseded another and the holder has not yet acknowledged the difference.
55
+ */
56
+ hasUnreviewedChange?: boolean;
57
+ /**
58
+ * Whether the holder starred the contact. Always present.
59
+ */
60
+ starred: boolean;
61
+ petname?: Petname;
62
+ lists?: ListIds;
63
+ directoryRef?: DirectoryRef;
64
+ }[];
65
+ nextCursor?: string;
66
+ ext?: Ext;
67
+ }
68
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
69
+ export type { DirectoryEntryId, DirectoryRef, Ext, ListId, ListIds, Petname, Ulid };
70
+ /** Trust Task type URI. */
71
+ export declare const TYPE_URI: "https://trusttasks.org/spec/persona/contact/list/1.1";
72
+ /** Stable alias for this specification's request payload shape. */
73
+ export type Payload = PersonaContactListPayload;
74
+ /** Trust Task response type URI (request type URI + "#response"). */
75
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/persona/contact/list/1.1#response";
76
+ /** Stable alias for this specification's success-response payload shape. */
77
+ export type Response = PersonaContactListResponsePayload;
78
+ /**
79
+ * This specification's payload schema, as a value.
80
+ *
81
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
82
+ * rather than only as a `.json` file because TypeScript types are erased
83
+ * at runtime: without a schema a consumer has nothing to validate, and
84
+ * every REQUIRED payload member is optional in practice. Cross-file
85
+ * `$ref`s are already inlined, so it needs no resolver.
86
+ */
87
+ export declare const PAYLOAD_SCHEMA: {
88
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
89
+ readonly $id: "https://trusttasks.org/spec/persona/contact/list/1.1";
90
+ readonly title: "Persona Contact List — payload";
91
+ readonly description: "Enumerate contacts in a context, optionally narrowed to those known by one persona, those the holder starred, those on one of the holder's lists, or those linked to one community's directory. Summaries only, with the holder's annotations; documents are fetched one at a time. Filters combine as AND.";
92
+ readonly type: "object";
93
+ readonly additionalProperties: false;
94
+ readonly required: readonly ["contextId"];
95
+ readonly properties: {
96
+ readonly contextId: {
97
+ readonly type: "string";
98
+ readonly minLength: 1;
99
+ };
100
+ readonly knownByPersona: {
101
+ readonly type: "string";
102
+ readonly maxLength: 2048;
103
+ readonly description: "Narrow to contacts known by this persona. Omitting it lists the context's contacts across every persona in it, which a producer SHOULD offer deliberately rather than by default — the unfiltered view is the one that shows the holder's personas side by side.";
104
+ };
105
+ readonly changedSince: {
106
+ readonly type: "string";
107
+ readonly format: "date-time";
108
+ readonly description: "Return only contacts whose current revision was received after this instant. Annotation changes do not count: they are the holder's own and need no \"what changed while I was away\".";
109
+ };
110
+ readonly starred: {
111
+ readonly type: "boolean";
112
+ readonly description: "`true`: only starred contacts. `false`: only unstarred ones. Absent: both.";
113
+ };
114
+ readonly listId: {
115
+ readonly $ref: "#/$defs/ListId";
116
+ readonly description: "Only contacts on this list. A list this context does not hold is `listUnknown`, not an empty page, because a list identifier is the holder's own and its absence is a definite answer worth giving.";
117
+ };
118
+ readonly directoryVtcDid: {
119
+ readonly type: "string";
120
+ readonly minLength: 1;
121
+ readonly maxLength: 2048;
122
+ readonly pattern: "^did:[a-z0-9]+:";
123
+ readonly description: "Only contacts whose `directoryRef` names this community. What the holder's own client asks for when it joins that community's directory with the holder's contacts, locally.";
124
+ };
125
+ readonly cursor: {
126
+ readonly type: "string";
127
+ readonly maxLength: 4096;
128
+ };
129
+ readonly limit: {
130
+ readonly type: "integer";
131
+ readonly minimum: 1;
132
+ readonly maximum: 500;
133
+ readonly default: 100;
134
+ };
135
+ readonly ext: {
136
+ readonly $ref: "#/$defs/Ext";
137
+ };
138
+ };
139
+ readonly $defs: {
140
+ readonly Response: {
141
+ readonly $anchor: "response";
142
+ readonly title: "Persona Contact List — response payload";
143
+ readonly description: "Success response to persona/contact/list. Type https://trusttasks.org/spec/persona/contact/list/1.1#response. Summaries carry no claim values: a list is for finding a contact, and finding one does not require disclosing every contact's details. They do carry the holder's own annotations, which a client needs to sort, badge and filter, and which go to no one but the holder's own client.";
144
+ readonly type: "object";
145
+ readonly additionalProperties: false;
146
+ readonly required: readonly ["contacts"];
147
+ readonly properties: {
148
+ readonly contacts: {
149
+ readonly type: "array";
150
+ readonly maxItems: 500;
151
+ readonly items: {
152
+ readonly type: "object";
153
+ readonly additionalProperties: false;
154
+ readonly required: readonly ["contactId", "subjectDid", "knownByPersona", "rev", "receivedAt", "starred"];
155
+ readonly properties: {
156
+ readonly contactId: {
157
+ readonly $ref: "#/$defs/Ulid";
158
+ };
159
+ readonly subjectDid: {
160
+ readonly type: "string";
161
+ readonly minLength: 1;
162
+ };
163
+ readonly knownByPersona: {
164
+ readonly type: "string";
165
+ readonly minLength: 1;
166
+ };
167
+ readonly rev: {
168
+ readonly type: "integer";
169
+ readonly minimum: 1;
170
+ };
171
+ readonly displayName: {
172
+ readonly type: "string";
173
+ readonly maxLength: 256;
174
+ readonly description: "A rendering hint drawn from the contact's own disclosed display-name claim, so a list is legible. Absent when they disclosed none; a producer MUST NOT substitute the DID — or the petname — silently as though it were the contact's own name.";
175
+ };
176
+ readonly claimCount: {
177
+ readonly type: "integer";
178
+ readonly minimum: 0;
179
+ };
180
+ readonly receivedAt: {
181
+ readonly type: "string";
182
+ readonly format: "date-time";
183
+ };
184
+ readonly hasUnreviewedChange: {
185
+ readonly type: "boolean";
186
+ readonly description: "True when the current revision superseded another and the holder has not yet acknowledged the difference.";
187
+ };
188
+ readonly starred: {
189
+ readonly type: "boolean";
190
+ readonly description: "Whether the holder starred the contact. Always present.";
191
+ };
192
+ readonly petname: {
193
+ readonly $ref: "#/$defs/Petname";
194
+ };
195
+ readonly lists: {
196
+ readonly $ref: "#/$defs/ListIds";
197
+ };
198
+ readonly directoryRef: {
199
+ readonly $ref: "#/$defs/DirectoryRef";
200
+ };
201
+ };
202
+ };
203
+ };
204
+ readonly nextCursor: {
205
+ readonly type: "string";
206
+ readonly maxLength: 4096;
207
+ };
208
+ readonly ext: {
209
+ readonly $ref: "#/$defs/Ext";
210
+ };
211
+ };
212
+ };
213
+ readonly Ext: {
214
+ readonly title: "Ext";
215
+ 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.";
216
+ readonly type: "object";
217
+ readonly minProperties: 1;
218
+ readonly additionalProperties: true;
219
+ readonly propertyNames: {
220
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
221
+ };
222
+ };
223
+ readonly DirectoryRef: {
224
+ readonly title: "DirectoryRef";
225
+ readonly description: "Links a contact to the entry in a community's member directory it corresponds to, so the holder's own client can join that community's directory with the holder's address book — showing a star or a petname beside an entry — without either side telling the other. The community never learns the link exists; the contact never learns it either. A contact has at most one.";
226
+ readonly type: "object";
227
+ readonly additionalProperties: false;
228
+ readonly required: readonly ["vtcDid", "entryId"];
229
+ readonly properties: {
230
+ readonly vtcDid: {
231
+ readonly type: "string";
232
+ readonly minLength: 1;
233
+ readonly maxLength: 2048;
234
+ readonly pattern: "^did:[a-z0-9]+:";
235
+ readonly description: "The DID of the community whose directory holds the entry.";
236
+ };
237
+ readonly entryId: {
238
+ readonly $ref: "#/$defs/DirectoryEntryId";
239
+ readonly description: "The entry, as that community's directory identifies it.";
240
+ };
241
+ };
242
+ };
243
+ readonly DirectoryEntryId: {
244
+ readonly title: "DirectoryEntryId";
245
+ readonly description: "A community directory entry's identifier, exactly as that community's directory returned it. Opaque and community-scoped: the agent stores and compares it as a string, never parses it, and never treats the same value under two communities as the same entry.";
246
+ readonly type: "string";
247
+ readonly minLength: 1;
248
+ readonly maxLength: 128;
249
+ readonly pattern: "^[A-Za-z0-9_-]+$";
250
+ };
251
+ readonly ListIds: {
252
+ readonly title: "ListIds";
253
+ readonly description: "The lists a contact is on, as a set: order carries no meaning. A contact on no list has no `lists` member, never an empty array, so there is one way to say \"none\".";
254
+ readonly type: "array";
255
+ readonly minItems: 1;
256
+ readonly maxItems: 64;
257
+ readonly uniqueItems: true;
258
+ readonly items: {
259
+ readonly $ref: "#/$defs/ListId";
260
+ };
261
+ };
262
+ readonly ListId: {
263
+ readonly title: "ListId";
264
+ readonly description: "Identifier of one of the holder's contact lists: a ULID in Crockford base32, uppercase, assigned by the agent when the list is created. Meaningful only inside the context that holds the list; it is never sent to anyone but the holder's own clients.";
265
+ readonly type: "string";
266
+ readonly pattern: "^[0-9A-HJKMNP-TV-Z]{26}$";
267
+ };
268
+ readonly Petname: {
269
+ readonly title: "Petname";
270
+ readonly description: "The holder's private name for a contact, on one line: no control characters, line breaks included. A petname in Zooko's sense — chosen by the holder, meaningful to the holder, and unforgeable by anyone else, because nobody else can write it. Distinct from the contact's own disclosed `nickname` or display name, which the contact chose and may change. Compared exactly, as a string: an agent does not case-fold or normalise it.";
271
+ readonly type: "string";
272
+ readonly minLength: 1;
273
+ readonly maxLength: 64;
274
+ readonly pattern: "^[^\\u0000-\\u001F\\u007F]+$";
275
+ };
276
+ readonly Ulid: {
277
+ readonly title: "Ulid";
278
+ readonly description: "A ULID in Crockford base32, uppercase. Used for `attributeId` and `profileId`. Chosen over a UUID because the leading 48 bits are a timestamp, so a key-ordered scan of the store is also creation-ordered and a `list` needs no secondary sort. Server-assigned on create; a producer MAY supply one to make a create idempotent, and a maintainer MUST reject a supplied value that already exists rather than silently overwriting.";
279
+ readonly type: "string";
280
+ readonly pattern: "^[0-9A-HJKMNP-TV-Z]{26}$";
281
+ };
282
+ };
283
+ };
284
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
285
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
286
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
287
+ readonly $ref: "#/$defs/Response";
288
+ readonly $defs: {
289
+ readonly Response: {
290
+ readonly $anchor: "response";
291
+ readonly title: "Persona Contact List — response payload";
292
+ readonly description: "Success response to persona/contact/list. Type https://trusttasks.org/spec/persona/contact/list/1.1#response. Summaries carry no claim values: a list is for finding a contact, and finding one does not require disclosing every contact's details. They do carry the holder's own annotations, which a client needs to sort, badge and filter, and which go to no one but the holder's own client.";
293
+ readonly type: "object";
294
+ readonly additionalProperties: false;
295
+ readonly required: readonly ["contacts"];
296
+ readonly properties: {
297
+ readonly contacts: {
298
+ readonly type: "array";
299
+ readonly maxItems: 500;
300
+ readonly items: {
301
+ readonly type: "object";
302
+ readonly additionalProperties: false;
303
+ readonly required: readonly ["contactId", "subjectDid", "knownByPersona", "rev", "receivedAt", "starred"];
304
+ readonly properties: {
305
+ readonly contactId: {
306
+ readonly $ref: "#/$defs/Ulid";
307
+ };
308
+ readonly subjectDid: {
309
+ readonly type: "string";
310
+ readonly minLength: 1;
311
+ };
312
+ readonly knownByPersona: {
313
+ readonly type: "string";
314
+ readonly minLength: 1;
315
+ };
316
+ readonly rev: {
317
+ readonly type: "integer";
318
+ readonly minimum: 1;
319
+ };
320
+ readonly displayName: {
321
+ readonly type: "string";
322
+ readonly maxLength: 256;
323
+ readonly description: "A rendering hint drawn from the contact's own disclosed display-name claim, so a list is legible. Absent when they disclosed none; a producer MUST NOT substitute the DID — or the petname — silently as though it were the contact's own name.";
324
+ };
325
+ readonly claimCount: {
326
+ readonly type: "integer";
327
+ readonly minimum: 0;
328
+ };
329
+ readonly receivedAt: {
330
+ readonly type: "string";
331
+ readonly format: "date-time";
332
+ };
333
+ readonly hasUnreviewedChange: {
334
+ readonly type: "boolean";
335
+ readonly description: "True when the current revision superseded another and the holder has not yet acknowledged the difference.";
336
+ };
337
+ readonly starred: {
338
+ readonly type: "boolean";
339
+ readonly description: "Whether the holder starred the contact. Always present.";
340
+ };
341
+ readonly petname: {
342
+ readonly $ref: "#/$defs/Petname";
343
+ };
344
+ readonly lists: {
345
+ readonly $ref: "#/$defs/ListIds";
346
+ };
347
+ readonly directoryRef: {
348
+ readonly $ref: "#/$defs/DirectoryRef";
349
+ };
350
+ };
351
+ };
352
+ };
353
+ readonly nextCursor: {
354
+ readonly type: "string";
355
+ readonly maxLength: 4096;
356
+ };
357
+ readonly ext: {
358
+ readonly $ref: "#/$defs/Ext";
359
+ };
360
+ };
361
+ };
362
+ readonly Ext: {
363
+ readonly title: "Ext";
364
+ 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.";
365
+ readonly type: "object";
366
+ readonly minProperties: 1;
367
+ readonly additionalProperties: true;
368
+ readonly propertyNames: {
369
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
370
+ };
371
+ };
372
+ readonly DirectoryRef: {
373
+ readonly title: "DirectoryRef";
374
+ readonly description: "Links a contact to the entry in a community's member directory it corresponds to, so the holder's own client can join that community's directory with the holder's address book — showing a star or a petname beside an entry — without either side telling the other. The community never learns the link exists; the contact never learns it either. A contact has at most one.";
375
+ readonly type: "object";
376
+ readonly additionalProperties: false;
377
+ readonly required: readonly ["vtcDid", "entryId"];
378
+ readonly properties: {
379
+ readonly vtcDid: {
380
+ readonly type: "string";
381
+ readonly minLength: 1;
382
+ readonly maxLength: 2048;
383
+ readonly pattern: "^did:[a-z0-9]+:";
384
+ readonly description: "The DID of the community whose directory holds the entry.";
385
+ };
386
+ readonly entryId: {
387
+ readonly $ref: "#/$defs/DirectoryEntryId";
388
+ readonly description: "The entry, as that community's directory identifies it.";
389
+ };
390
+ };
391
+ };
392
+ readonly DirectoryEntryId: {
393
+ readonly title: "DirectoryEntryId";
394
+ readonly description: "A community directory entry's identifier, exactly as that community's directory returned it. Opaque and community-scoped: the agent stores and compares it as a string, never parses it, and never treats the same value under two communities as the same entry.";
395
+ readonly type: "string";
396
+ readonly minLength: 1;
397
+ readonly maxLength: 128;
398
+ readonly pattern: "^[A-Za-z0-9_-]+$";
399
+ };
400
+ readonly ListIds: {
401
+ readonly title: "ListIds";
402
+ readonly description: "The lists a contact is on, as a set: order carries no meaning. A contact on no list has no `lists` member, never an empty array, so there is one way to say \"none\".";
403
+ readonly type: "array";
404
+ readonly minItems: 1;
405
+ readonly maxItems: 64;
406
+ readonly uniqueItems: true;
407
+ readonly items: {
408
+ readonly $ref: "#/$defs/ListId";
409
+ };
410
+ };
411
+ readonly ListId: {
412
+ readonly title: "ListId";
413
+ readonly description: "Identifier of one of the holder's contact lists: a ULID in Crockford base32, uppercase, assigned by the agent when the list is created. Meaningful only inside the context that holds the list; it is never sent to anyone but the holder's own clients.";
414
+ readonly type: "string";
415
+ readonly pattern: "^[0-9A-HJKMNP-TV-Z]{26}$";
416
+ };
417
+ readonly Petname: {
418
+ readonly title: "Petname";
419
+ readonly description: "The holder's private name for a contact, on one line: no control characters, line breaks included. A petname in Zooko's sense — chosen by the holder, meaningful to the holder, and unforgeable by anyone else, because nobody else can write it. Distinct from the contact's own disclosed `nickname` or display name, which the contact chose and may change. Compared exactly, as a string: an agent does not case-fold or normalise it.";
420
+ readonly type: "string";
421
+ readonly minLength: 1;
422
+ readonly maxLength: 64;
423
+ readonly pattern: "^[^\\u0000-\\u001F\\u007F]+$";
424
+ };
425
+ readonly Ulid: {
426
+ readonly title: "Ulid";
427
+ readonly description: "A ULID in Crockford base32, uppercase. Used for `attributeId` and `profileId`. Chosen over a UUID because the leading 48 bits are a timestamp, so a key-ordered scan of the store is also creation-ordered and a `list` needs no secondary sort. Server-assigned on create; a producer MAY supply one to make a create idempotent, and a maintainer MUST reject a supplied value that already exists rather than silently overwriting.";
428
+ readonly type: "string";
429
+ readonly pattern: "^[0-9A-HJKMNP-TV-Z]{26}$";
430
+ };
431
+ };
432
+ };
433
+ /**
434
+ * SPEC.md §7.2 policy for the request variant, from this specification's
435
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
436
+ * per-specification and cannot be derived from the document alone, and
437
+ * item 2 needs the schema this carries.
438
+ */
439
+ export declare const SPEC: {
440
+ readonly typeUri: "https://trusttasks.org/spec/persona/contact/list/1.1";
441
+ readonly isBearer: false;
442
+ readonly isProofRequired: true;
443
+ readonly isRecipientRequired: true;
444
+ readonly isIssuedAtRequired: false;
445
+ readonly payloadSchema: {
446
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
447
+ readonly $id: "https://trusttasks.org/spec/persona/contact/list/1.1";
448
+ readonly title: "Persona Contact List — payload";
449
+ readonly description: "Enumerate contacts in a context, optionally narrowed to those known by one persona, those the holder starred, those on one of the holder's lists, or those linked to one community's directory. Summaries only, with the holder's annotations; documents are fetched one at a time. Filters combine as AND.";
450
+ readonly type: "object";
451
+ readonly additionalProperties: false;
452
+ readonly required: readonly ["contextId"];
453
+ readonly properties: {
454
+ readonly contextId: {
455
+ readonly type: "string";
456
+ readonly minLength: 1;
457
+ };
458
+ readonly knownByPersona: {
459
+ readonly type: "string";
460
+ readonly maxLength: 2048;
461
+ readonly description: "Narrow to contacts known by this persona. Omitting it lists the context's contacts across every persona in it, which a producer SHOULD offer deliberately rather than by default — the unfiltered view is the one that shows the holder's personas side by side.";
462
+ };
463
+ readonly changedSince: {
464
+ readonly type: "string";
465
+ readonly format: "date-time";
466
+ readonly description: "Return only contacts whose current revision was received after this instant. Annotation changes do not count: they are the holder's own and need no \"what changed while I was away\".";
467
+ };
468
+ readonly starred: {
469
+ readonly type: "boolean";
470
+ readonly description: "`true`: only starred contacts. `false`: only unstarred ones. Absent: both.";
471
+ };
472
+ readonly listId: {
473
+ readonly $ref: "#/$defs/ListId";
474
+ readonly description: "Only contacts on this list. A list this context does not hold is `listUnknown`, not an empty page, because a list identifier is the holder's own and its absence is a definite answer worth giving.";
475
+ };
476
+ readonly directoryVtcDid: {
477
+ readonly type: "string";
478
+ readonly minLength: 1;
479
+ readonly maxLength: 2048;
480
+ readonly pattern: "^did:[a-z0-9]+:";
481
+ readonly description: "Only contacts whose `directoryRef` names this community. What the holder's own client asks for when it joins that community's directory with the holder's contacts, locally.";
482
+ };
483
+ readonly cursor: {
484
+ readonly type: "string";
485
+ readonly maxLength: 4096;
486
+ };
487
+ readonly limit: {
488
+ readonly type: "integer";
489
+ readonly minimum: 1;
490
+ readonly maximum: 500;
491
+ readonly default: 100;
492
+ };
493
+ readonly ext: {
494
+ readonly $ref: "#/$defs/Ext";
495
+ };
496
+ };
497
+ readonly $defs: {
498
+ readonly Response: {
499
+ readonly $anchor: "response";
500
+ readonly title: "Persona Contact List — response payload";
501
+ readonly description: "Success response to persona/contact/list. Type https://trusttasks.org/spec/persona/contact/list/1.1#response. Summaries carry no claim values: a list is for finding a contact, and finding one does not require disclosing every contact's details. They do carry the holder's own annotations, which a client needs to sort, badge and filter, and which go to no one but the holder's own client.";
502
+ readonly type: "object";
503
+ readonly additionalProperties: false;
504
+ readonly required: readonly ["contacts"];
505
+ readonly properties: {
506
+ readonly contacts: {
507
+ readonly type: "array";
508
+ readonly maxItems: 500;
509
+ readonly items: {
510
+ readonly type: "object";
511
+ readonly additionalProperties: false;
512
+ readonly required: readonly ["contactId", "subjectDid", "knownByPersona", "rev", "receivedAt", "starred"];
513
+ readonly properties: {
514
+ readonly contactId: {
515
+ readonly $ref: "#/$defs/Ulid";
516
+ };
517
+ readonly subjectDid: {
518
+ readonly type: "string";
519
+ readonly minLength: 1;
520
+ };
521
+ readonly knownByPersona: {
522
+ readonly type: "string";
523
+ readonly minLength: 1;
524
+ };
525
+ readonly rev: {
526
+ readonly type: "integer";
527
+ readonly minimum: 1;
528
+ };
529
+ readonly displayName: {
530
+ readonly type: "string";
531
+ readonly maxLength: 256;
532
+ readonly description: "A rendering hint drawn from the contact's own disclosed display-name claim, so a list is legible. Absent when they disclosed none; a producer MUST NOT substitute the DID — or the petname — silently as though it were the contact's own name.";
533
+ };
534
+ readonly claimCount: {
535
+ readonly type: "integer";
536
+ readonly minimum: 0;
537
+ };
538
+ readonly receivedAt: {
539
+ readonly type: "string";
540
+ readonly format: "date-time";
541
+ };
542
+ readonly hasUnreviewedChange: {
543
+ readonly type: "boolean";
544
+ readonly description: "True when the current revision superseded another and the holder has not yet acknowledged the difference.";
545
+ };
546
+ readonly starred: {
547
+ readonly type: "boolean";
548
+ readonly description: "Whether the holder starred the contact. Always present.";
549
+ };
550
+ readonly petname: {
551
+ readonly $ref: "#/$defs/Petname";
552
+ };
553
+ readonly lists: {
554
+ readonly $ref: "#/$defs/ListIds";
555
+ };
556
+ readonly directoryRef: {
557
+ readonly $ref: "#/$defs/DirectoryRef";
558
+ };
559
+ };
560
+ };
561
+ };
562
+ readonly nextCursor: {
563
+ readonly type: "string";
564
+ readonly maxLength: 4096;
565
+ };
566
+ readonly ext: {
567
+ readonly $ref: "#/$defs/Ext";
568
+ };
569
+ };
570
+ };
571
+ readonly Ext: {
572
+ readonly title: "Ext";
573
+ 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.";
574
+ readonly type: "object";
575
+ readonly minProperties: 1;
576
+ readonly additionalProperties: true;
577
+ readonly propertyNames: {
578
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
579
+ };
580
+ };
581
+ readonly DirectoryRef: {
582
+ readonly title: "DirectoryRef";
583
+ readonly description: "Links a contact to the entry in a community's member directory it corresponds to, so the holder's own client can join that community's directory with the holder's address book — showing a star or a petname beside an entry — without either side telling the other. The community never learns the link exists; the contact never learns it either. A contact has at most one.";
584
+ readonly type: "object";
585
+ readonly additionalProperties: false;
586
+ readonly required: readonly ["vtcDid", "entryId"];
587
+ readonly properties: {
588
+ readonly vtcDid: {
589
+ readonly type: "string";
590
+ readonly minLength: 1;
591
+ readonly maxLength: 2048;
592
+ readonly pattern: "^did:[a-z0-9]+:";
593
+ readonly description: "The DID of the community whose directory holds the entry.";
594
+ };
595
+ readonly entryId: {
596
+ readonly $ref: "#/$defs/DirectoryEntryId";
597
+ readonly description: "The entry, as that community's directory identifies it.";
598
+ };
599
+ };
600
+ };
601
+ readonly DirectoryEntryId: {
602
+ readonly title: "DirectoryEntryId";
603
+ readonly description: "A community directory entry's identifier, exactly as that community's directory returned it. Opaque and community-scoped: the agent stores and compares it as a string, never parses it, and never treats the same value under two communities as the same entry.";
604
+ readonly type: "string";
605
+ readonly minLength: 1;
606
+ readonly maxLength: 128;
607
+ readonly pattern: "^[A-Za-z0-9_-]+$";
608
+ };
609
+ readonly ListIds: {
610
+ readonly title: "ListIds";
611
+ readonly description: "The lists a contact is on, as a set: order carries no meaning. A contact on no list has no `lists` member, never an empty array, so there is one way to say \"none\".";
612
+ readonly type: "array";
613
+ readonly minItems: 1;
614
+ readonly maxItems: 64;
615
+ readonly uniqueItems: true;
616
+ readonly items: {
617
+ readonly $ref: "#/$defs/ListId";
618
+ };
619
+ };
620
+ readonly ListId: {
621
+ readonly title: "ListId";
622
+ readonly description: "Identifier of one of the holder's contact lists: a ULID in Crockford base32, uppercase, assigned by the agent when the list is created. Meaningful only inside the context that holds the list; it is never sent to anyone but the holder's own clients.";
623
+ readonly type: "string";
624
+ readonly pattern: "^[0-9A-HJKMNP-TV-Z]{26}$";
625
+ };
626
+ readonly Petname: {
627
+ readonly title: "Petname";
628
+ readonly description: "The holder's private name for a contact, on one line: no control characters, line breaks included. A petname in Zooko's sense — chosen by the holder, meaningful to the holder, and unforgeable by anyone else, because nobody else can write it. Distinct from the contact's own disclosed `nickname` or display name, which the contact chose and may change. Compared exactly, as a string: an agent does not case-fold or normalise it.";
629
+ readonly type: "string";
630
+ readonly minLength: 1;
631
+ readonly maxLength: 64;
632
+ readonly pattern: "^[^\\u0000-\\u001F\\u007F]+$";
633
+ };
634
+ readonly Ulid: {
635
+ readonly title: "Ulid";
636
+ readonly description: "A ULID in Crockford base32, uppercase. Used for `attributeId` and `profileId`. Chosen over a UUID because the leading 48 bits are a timestamp, so a key-ordered scan of the store is also creation-ordered and a `list` needs no secondary sort. Server-assigned on create; a producer MAY supply one to make a create idempotent, and a maintainer MUST reject a supplied value that already exists rather than silently overwriting.";
637
+ readonly type: "string";
638
+ readonly pattern: "^[0-9A-HJKMNP-TV-Z]{26}$";
639
+ };
640
+ };
641
+ };
642
+ };
643
+ /**
644
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
645
+ * tracks the *issuer* party's requirement because a response swaps the
646
+ * parties (§7.3 item 5).
647
+ */
648
+ export declare const RESPONSE_SPEC: {
649
+ readonly typeUri: "https://trusttasks.org/spec/persona/contact/list/1.1#response";
650
+ readonly isBearer: false;
651
+ readonly isProofRequired: true;
652
+ readonly isRecipientRequired: true;
653
+ readonly isIssuedAtRequired: false;
654
+ readonly payloadSchema: {
655
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
656
+ readonly $ref: "#/$defs/Response";
657
+ readonly $defs: {
658
+ readonly Response: {
659
+ readonly $anchor: "response";
660
+ readonly title: "Persona Contact List — response payload";
661
+ readonly description: "Success response to persona/contact/list. Type https://trusttasks.org/spec/persona/contact/list/1.1#response. Summaries carry no claim values: a list is for finding a contact, and finding one does not require disclosing every contact's details. They do carry the holder's own annotations, which a client needs to sort, badge and filter, and which go to no one but the holder's own client.";
662
+ readonly type: "object";
663
+ readonly additionalProperties: false;
664
+ readonly required: readonly ["contacts"];
665
+ readonly properties: {
666
+ readonly contacts: {
667
+ readonly type: "array";
668
+ readonly maxItems: 500;
669
+ readonly items: {
670
+ readonly type: "object";
671
+ readonly additionalProperties: false;
672
+ readonly required: readonly ["contactId", "subjectDid", "knownByPersona", "rev", "receivedAt", "starred"];
673
+ readonly properties: {
674
+ readonly contactId: {
675
+ readonly $ref: "#/$defs/Ulid";
676
+ };
677
+ readonly subjectDid: {
678
+ readonly type: "string";
679
+ readonly minLength: 1;
680
+ };
681
+ readonly knownByPersona: {
682
+ readonly type: "string";
683
+ readonly minLength: 1;
684
+ };
685
+ readonly rev: {
686
+ readonly type: "integer";
687
+ readonly minimum: 1;
688
+ };
689
+ readonly displayName: {
690
+ readonly type: "string";
691
+ readonly maxLength: 256;
692
+ readonly description: "A rendering hint drawn from the contact's own disclosed display-name claim, so a list is legible. Absent when they disclosed none; a producer MUST NOT substitute the DID — or the petname — silently as though it were the contact's own name.";
693
+ };
694
+ readonly claimCount: {
695
+ readonly type: "integer";
696
+ readonly minimum: 0;
697
+ };
698
+ readonly receivedAt: {
699
+ readonly type: "string";
700
+ readonly format: "date-time";
701
+ };
702
+ readonly hasUnreviewedChange: {
703
+ readonly type: "boolean";
704
+ readonly description: "True when the current revision superseded another and the holder has not yet acknowledged the difference.";
705
+ };
706
+ readonly starred: {
707
+ readonly type: "boolean";
708
+ readonly description: "Whether the holder starred the contact. Always present.";
709
+ };
710
+ readonly petname: {
711
+ readonly $ref: "#/$defs/Petname";
712
+ };
713
+ readonly lists: {
714
+ readonly $ref: "#/$defs/ListIds";
715
+ };
716
+ readonly directoryRef: {
717
+ readonly $ref: "#/$defs/DirectoryRef";
718
+ };
719
+ };
720
+ };
721
+ };
722
+ readonly nextCursor: {
723
+ readonly type: "string";
724
+ readonly maxLength: 4096;
725
+ };
726
+ readonly ext: {
727
+ readonly $ref: "#/$defs/Ext";
728
+ };
729
+ };
730
+ };
731
+ readonly Ext: {
732
+ readonly title: "Ext";
733
+ 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.";
734
+ readonly type: "object";
735
+ readonly minProperties: 1;
736
+ readonly additionalProperties: true;
737
+ readonly propertyNames: {
738
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
739
+ };
740
+ };
741
+ readonly DirectoryRef: {
742
+ readonly title: "DirectoryRef";
743
+ readonly description: "Links a contact to the entry in a community's member directory it corresponds to, so the holder's own client can join that community's directory with the holder's address book — showing a star or a petname beside an entry — without either side telling the other. The community never learns the link exists; the contact never learns it either. A contact has at most one.";
744
+ readonly type: "object";
745
+ readonly additionalProperties: false;
746
+ readonly required: readonly ["vtcDid", "entryId"];
747
+ readonly properties: {
748
+ readonly vtcDid: {
749
+ readonly type: "string";
750
+ readonly minLength: 1;
751
+ readonly maxLength: 2048;
752
+ readonly pattern: "^did:[a-z0-9]+:";
753
+ readonly description: "The DID of the community whose directory holds the entry.";
754
+ };
755
+ readonly entryId: {
756
+ readonly $ref: "#/$defs/DirectoryEntryId";
757
+ readonly description: "The entry, as that community's directory identifies it.";
758
+ };
759
+ };
760
+ };
761
+ readonly DirectoryEntryId: {
762
+ readonly title: "DirectoryEntryId";
763
+ readonly description: "A community directory entry's identifier, exactly as that community's directory returned it. Opaque and community-scoped: the agent stores and compares it as a string, never parses it, and never treats the same value under two communities as the same entry.";
764
+ readonly type: "string";
765
+ readonly minLength: 1;
766
+ readonly maxLength: 128;
767
+ readonly pattern: "^[A-Za-z0-9_-]+$";
768
+ };
769
+ readonly ListIds: {
770
+ readonly title: "ListIds";
771
+ readonly description: "The lists a contact is on, as a set: order carries no meaning. A contact on no list has no `lists` member, never an empty array, so there is one way to say \"none\".";
772
+ readonly type: "array";
773
+ readonly minItems: 1;
774
+ readonly maxItems: 64;
775
+ readonly uniqueItems: true;
776
+ readonly items: {
777
+ readonly $ref: "#/$defs/ListId";
778
+ };
779
+ };
780
+ readonly ListId: {
781
+ readonly title: "ListId";
782
+ readonly description: "Identifier of one of the holder's contact lists: a ULID in Crockford base32, uppercase, assigned by the agent when the list is created. Meaningful only inside the context that holds the list; it is never sent to anyone but the holder's own clients.";
783
+ readonly type: "string";
784
+ readonly pattern: "^[0-9A-HJKMNP-TV-Z]{26}$";
785
+ };
786
+ readonly Petname: {
787
+ readonly title: "Petname";
788
+ readonly description: "The holder's private name for a contact, on one line: no control characters, line breaks included. A petname in Zooko's sense — chosen by the holder, meaningful to the holder, and unforgeable by anyone else, because nobody else can write it. Distinct from the contact's own disclosed `nickname` or display name, which the contact chose and may change. Compared exactly, as a string: an agent does not case-fold or normalise it.";
789
+ readonly type: "string";
790
+ readonly minLength: 1;
791
+ readonly maxLength: 64;
792
+ readonly pattern: "^[^\\u0000-\\u001F\\u007F]+$";
793
+ };
794
+ readonly Ulid: {
795
+ readonly title: "Ulid";
796
+ readonly description: "A ULID in Crockford base32, uppercase. Used for `attributeId` and `profileId`. Chosen over a UUID because the leading 48 bits are a timestamp, so a key-ordered scan of the store is also creation-ordered and a `list` needs no secondary sort. Server-assigned on create; a producer MAY supply one to make a create idempotent, and a maintainer MUST reject a supplied value that already exists rather than silently overwriting.";
797
+ readonly type: "string";
798
+ readonly pattern: "^[0-9A-HJKMNP-TV-Z]{26}$";
799
+ };
800
+ };
801
+ };
802
+ };
803
+ //# sourceMappingURL=payload.d.ts.map