@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,497 @@
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
+
6
+ import type { DirectoryEntryId, DirectoryRef, Ext, ListId, ListIds, Petname, Ulid } from "../../../../_shared/components.js";
7
+
8
+
9
+ /**
10
+ * 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.
11
+ */
12
+ export interface PersonaContactListPayload {
13
+ contextId: string;
14
+ /**
15
+ * 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.
16
+ */
17
+ knownByPersona?: string;
18
+ /**
19
+ * 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".
20
+ */
21
+ changedSince?: string;
22
+ /**
23
+ * `true`: only starred contacts. `false`: only unstarred ones. Absent: both.
24
+ */
25
+ starred?: boolean;
26
+ /**
27
+ * 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.
28
+ */
29
+ listId?: ListId;
30
+ /**
31
+ * 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.
32
+ */
33
+ directoryVtcDid?: string;
34
+ cursor?: string;
35
+ limit?: number;
36
+ ext?: Ext;
37
+ }
38
+ /**
39
+ * 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.
40
+ */
41
+ export interface PersonaContactListResponsePayload {
42
+ /**
43
+ * @maxItems 500
44
+ */
45
+ contacts: {
46
+ contactId: Ulid;
47
+ subjectDid: string;
48
+ knownByPersona: string;
49
+ rev: number;
50
+ /**
51
+ * 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.
52
+ */
53
+ displayName?: string;
54
+ claimCount?: number;
55
+ receivedAt: string;
56
+ /**
57
+ * True when the current revision superseded another and the holder has not yet acknowledged the difference.
58
+ */
59
+ hasUnreviewedChange?: boolean;
60
+ /**
61
+ * Whether the holder starred the contact. Always present.
62
+ */
63
+ starred: boolean;
64
+ petname?: Petname;
65
+ lists?: ListIds;
66
+ directoryRef?: DirectoryRef;
67
+ }[];
68
+ nextCursor?: string;
69
+ ext?: Ext;
70
+ }
71
+
72
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
73
+ export type { DirectoryEntryId, DirectoryRef, Ext, ListId, ListIds, Petname, Ulid };
74
+
75
+ /** Trust Task type URI. */
76
+ export const TYPE_URI = "https://trusttasks.org/spec/persona/contact/list/1.1" as const;
77
+
78
+ /** Stable alias for this specification's request payload shape. */
79
+ export type Payload = PersonaContactListPayload;
80
+
81
+ /** Trust Task response type URI (request type URI + "#response"). */
82
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/persona/contact/list/1.1#response" as const;
83
+
84
+ /** Stable alias for this specification's success-response payload shape. */
85
+ export type Response = PersonaContactListResponsePayload;
86
+
87
+ /**
88
+ * This specification's payload schema, as a value.
89
+ *
90
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
91
+ * rather than only as a `.json` file because TypeScript types are erased
92
+ * at runtime: without a schema a consumer has nothing to validate, and
93
+ * every REQUIRED payload member is optional in practice. Cross-file
94
+ * `$ref`s are already inlined, so it needs no resolver.
95
+ */
96
+ export const PAYLOAD_SCHEMA = {
97
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
98
+ "$id": "https://trusttasks.org/spec/persona/contact/list/1.1",
99
+ "title": "Persona Contact List — payload",
100
+ "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.",
101
+ "type": "object",
102
+ "additionalProperties": false,
103
+ "required": [
104
+ "contextId"
105
+ ],
106
+ "properties": {
107
+ "contextId": {
108
+ "type": "string",
109
+ "minLength": 1
110
+ },
111
+ "knownByPersona": {
112
+ "type": "string",
113
+ "maxLength": 2048,
114
+ "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."
115
+ },
116
+ "changedSince": {
117
+ "type": "string",
118
+ "format": "date-time",
119
+ "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\"."
120
+ },
121
+ "starred": {
122
+ "type": "boolean",
123
+ "description": "`true`: only starred contacts. `false`: only unstarred ones. Absent: both."
124
+ },
125
+ "listId": {
126
+ "$ref": "#/$defs/ListId",
127
+ "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."
128
+ },
129
+ "directoryVtcDid": {
130
+ "type": "string",
131
+ "minLength": 1,
132
+ "maxLength": 2048,
133
+ "pattern": "^did:[a-z0-9]+:",
134
+ "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."
135
+ },
136
+ "cursor": {
137
+ "type": "string",
138
+ "maxLength": 4096
139
+ },
140
+ "limit": {
141
+ "type": "integer",
142
+ "minimum": 1,
143
+ "maximum": 500,
144
+ "default": 100
145
+ },
146
+ "ext": {
147
+ "$ref": "#/$defs/Ext"
148
+ }
149
+ },
150
+ "$defs": {
151
+ "Response": {
152
+ "$anchor": "response",
153
+ "title": "Persona Contact List — response payload",
154
+ "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.",
155
+ "type": "object",
156
+ "additionalProperties": false,
157
+ "required": [
158
+ "contacts"
159
+ ],
160
+ "properties": {
161
+ "contacts": {
162
+ "type": "array",
163
+ "maxItems": 500,
164
+ "items": {
165
+ "type": "object",
166
+ "additionalProperties": false,
167
+ "required": [
168
+ "contactId",
169
+ "subjectDid",
170
+ "knownByPersona",
171
+ "rev",
172
+ "receivedAt",
173
+ "starred"
174
+ ],
175
+ "properties": {
176
+ "contactId": {
177
+ "$ref": "#/$defs/Ulid"
178
+ },
179
+ "subjectDid": {
180
+ "type": "string",
181
+ "minLength": 1
182
+ },
183
+ "knownByPersona": {
184
+ "type": "string",
185
+ "minLength": 1
186
+ },
187
+ "rev": {
188
+ "type": "integer",
189
+ "minimum": 1
190
+ },
191
+ "displayName": {
192
+ "type": "string",
193
+ "maxLength": 256,
194
+ "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."
195
+ },
196
+ "claimCount": {
197
+ "type": "integer",
198
+ "minimum": 0
199
+ },
200
+ "receivedAt": {
201
+ "type": "string",
202
+ "format": "date-time"
203
+ },
204
+ "hasUnreviewedChange": {
205
+ "type": "boolean",
206
+ "description": "True when the current revision superseded another and the holder has not yet acknowledged the difference."
207
+ },
208
+ "starred": {
209
+ "type": "boolean",
210
+ "description": "Whether the holder starred the contact. Always present."
211
+ },
212
+ "petname": {
213
+ "$ref": "#/$defs/Petname"
214
+ },
215
+ "lists": {
216
+ "$ref": "#/$defs/ListIds"
217
+ },
218
+ "directoryRef": {
219
+ "$ref": "#/$defs/DirectoryRef"
220
+ }
221
+ }
222
+ }
223
+ },
224
+ "nextCursor": {
225
+ "type": "string",
226
+ "maxLength": 4096
227
+ },
228
+ "ext": {
229
+ "$ref": "#/$defs/Ext"
230
+ }
231
+ }
232
+ },
233
+ "Ext": {
234
+ "title": "Ext",
235
+ "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.",
236
+ "type": "object",
237
+ "minProperties": 1,
238
+ "additionalProperties": true,
239
+ "propertyNames": {
240
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
241
+ }
242
+ },
243
+ "DirectoryRef": {
244
+ "title": "DirectoryRef",
245
+ "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.",
246
+ "type": "object",
247
+ "additionalProperties": false,
248
+ "required": [
249
+ "vtcDid",
250
+ "entryId"
251
+ ],
252
+ "properties": {
253
+ "vtcDid": {
254
+ "type": "string",
255
+ "minLength": 1,
256
+ "maxLength": 2048,
257
+ "pattern": "^did:[a-z0-9]+:",
258
+ "description": "The DID of the community whose directory holds the entry."
259
+ },
260
+ "entryId": {
261
+ "$ref": "#/$defs/DirectoryEntryId",
262
+ "description": "The entry, as that community's directory identifies it."
263
+ }
264
+ }
265
+ },
266
+ "DirectoryEntryId": {
267
+ "title": "DirectoryEntryId",
268
+ "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.",
269
+ "type": "string",
270
+ "minLength": 1,
271
+ "maxLength": 128,
272
+ "pattern": "^[A-Za-z0-9_-]+$"
273
+ },
274
+ "ListIds": {
275
+ "title": "ListIds",
276
+ "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\".",
277
+ "type": "array",
278
+ "minItems": 1,
279
+ "maxItems": 64,
280
+ "uniqueItems": true,
281
+ "items": {
282
+ "$ref": "#/$defs/ListId"
283
+ }
284
+ },
285
+ "ListId": {
286
+ "title": "ListId",
287
+ "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.",
288
+ "type": "string",
289
+ "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
290
+ },
291
+ "Petname": {
292
+ "title": "Petname",
293
+ "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.",
294
+ "type": "string",
295
+ "minLength": 1,
296
+ "maxLength": 64,
297
+ "pattern": "^[^\\u0000-\\u001F\\u007F]+$"
298
+ },
299
+ "Ulid": {
300
+ "title": "Ulid",
301
+ "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.",
302
+ "type": "string",
303
+ "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
304
+ }
305
+ }
306
+ } as const;
307
+
308
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
309
+ export const RESPONSE_PAYLOAD_SCHEMA = {
310
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
311
+ "$ref": "#/$defs/Response",
312
+ "$defs": {
313
+ "Response": {
314
+ "$anchor": "response",
315
+ "title": "Persona Contact List — response payload",
316
+ "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.",
317
+ "type": "object",
318
+ "additionalProperties": false,
319
+ "required": [
320
+ "contacts"
321
+ ],
322
+ "properties": {
323
+ "contacts": {
324
+ "type": "array",
325
+ "maxItems": 500,
326
+ "items": {
327
+ "type": "object",
328
+ "additionalProperties": false,
329
+ "required": [
330
+ "contactId",
331
+ "subjectDid",
332
+ "knownByPersona",
333
+ "rev",
334
+ "receivedAt",
335
+ "starred"
336
+ ],
337
+ "properties": {
338
+ "contactId": {
339
+ "$ref": "#/$defs/Ulid"
340
+ },
341
+ "subjectDid": {
342
+ "type": "string",
343
+ "minLength": 1
344
+ },
345
+ "knownByPersona": {
346
+ "type": "string",
347
+ "minLength": 1
348
+ },
349
+ "rev": {
350
+ "type": "integer",
351
+ "minimum": 1
352
+ },
353
+ "displayName": {
354
+ "type": "string",
355
+ "maxLength": 256,
356
+ "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."
357
+ },
358
+ "claimCount": {
359
+ "type": "integer",
360
+ "minimum": 0
361
+ },
362
+ "receivedAt": {
363
+ "type": "string",
364
+ "format": "date-time"
365
+ },
366
+ "hasUnreviewedChange": {
367
+ "type": "boolean",
368
+ "description": "True when the current revision superseded another and the holder has not yet acknowledged the difference."
369
+ },
370
+ "starred": {
371
+ "type": "boolean",
372
+ "description": "Whether the holder starred the contact. Always present."
373
+ },
374
+ "petname": {
375
+ "$ref": "#/$defs/Petname"
376
+ },
377
+ "lists": {
378
+ "$ref": "#/$defs/ListIds"
379
+ },
380
+ "directoryRef": {
381
+ "$ref": "#/$defs/DirectoryRef"
382
+ }
383
+ }
384
+ }
385
+ },
386
+ "nextCursor": {
387
+ "type": "string",
388
+ "maxLength": 4096
389
+ },
390
+ "ext": {
391
+ "$ref": "#/$defs/Ext"
392
+ }
393
+ }
394
+ },
395
+ "Ext": {
396
+ "title": "Ext",
397
+ "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.",
398
+ "type": "object",
399
+ "minProperties": 1,
400
+ "additionalProperties": true,
401
+ "propertyNames": {
402
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
403
+ }
404
+ },
405
+ "DirectoryRef": {
406
+ "title": "DirectoryRef",
407
+ "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.",
408
+ "type": "object",
409
+ "additionalProperties": false,
410
+ "required": [
411
+ "vtcDid",
412
+ "entryId"
413
+ ],
414
+ "properties": {
415
+ "vtcDid": {
416
+ "type": "string",
417
+ "minLength": 1,
418
+ "maxLength": 2048,
419
+ "pattern": "^did:[a-z0-9]+:",
420
+ "description": "The DID of the community whose directory holds the entry."
421
+ },
422
+ "entryId": {
423
+ "$ref": "#/$defs/DirectoryEntryId",
424
+ "description": "The entry, as that community's directory identifies it."
425
+ }
426
+ }
427
+ },
428
+ "DirectoryEntryId": {
429
+ "title": "DirectoryEntryId",
430
+ "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.",
431
+ "type": "string",
432
+ "minLength": 1,
433
+ "maxLength": 128,
434
+ "pattern": "^[A-Za-z0-9_-]+$"
435
+ },
436
+ "ListIds": {
437
+ "title": "ListIds",
438
+ "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\".",
439
+ "type": "array",
440
+ "minItems": 1,
441
+ "maxItems": 64,
442
+ "uniqueItems": true,
443
+ "items": {
444
+ "$ref": "#/$defs/ListId"
445
+ }
446
+ },
447
+ "ListId": {
448
+ "title": "ListId",
449
+ "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.",
450
+ "type": "string",
451
+ "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
452
+ },
453
+ "Petname": {
454
+ "title": "Petname",
455
+ "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.",
456
+ "type": "string",
457
+ "minLength": 1,
458
+ "maxLength": 64,
459
+ "pattern": "^[^\\u0000-\\u001F\\u007F]+$"
460
+ },
461
+ "Ulid": {
462
+ "title": "Ulid",
463
+ "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.",
464
+ "type": "string",
465
+ "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
466
+ }
467
+ }
468
+ } as const;
469
+
470
+ /**
471
+ * SPEC.md §7.2 policy for the request variant, from this specification's
472
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
473
+ * per-specification and cannot be derived from the document alone, and
474
+ * item 2 needs the schema this carries.
475
+ */
476
+ export const SPEC = {
477
+ typeUri: TYPE_URI,
478
+ isBearer: false,
479
+ isProofRequired: true,
480
+ isRecipientRequired: true,
481
+ isIssuedAtRequired: false,
482
+ payloadSchema: PAYLOAD_SCHEMA,
483
+ } as const;
484
+
485
+ /**
486
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
487
+ * tracks the *issuer* party's requirement because a response swaps the
488
+ * parties (§7.3 item 5).
489
+ */
490
+ export const RESPONSE_SPEC = {
491
+ typeUri: RESPONSE_TYPE_URI,
492
+ isBearer: false,
493
+ isProofRequired: true,
494
+ isRecipientRequired: true,
495
+ isIssuedAtRequired: false,
496
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
497
+ } as const;