@openvtc/trust-tasks 0.28.9 → 0.28.11

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 (300) hide show
  1. package/CHANGELOG.md +95 -0
  2. package/dist/_shared/components.d.ts +903 -0
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/git-ns/bridge/event/0.1/payload.d.ts +4 -4
  5. package/dist/git-ns/bridge/event/0.1/payload.js +1 -1
  6. package/dist/git-ns/bridge/event/0.2/payload.d.ts +4 -4
  7. package/dist/git-ns/bridge/event/0.2/payload.js +1 -1
  8. package/dist/git-ns/bridge/event/0.3/payload.d.ts +4 -4
  9. package/dist/git-ns/bridge/event/0.3/payload.js +1 -1
  10. package/dist/git-ns/bridge/event/0.4/payload.d.ts +4 -4
  11. package/dist/git-ns/bridge/event/0.4/payload.js +1 -1
  12. package/dist/git-ns/bridge/event/0.5/payload.d.ts +14 -2
  13. package/dist/git-ns/bridge/event/0.5/payload.d.ts.map +1 -1
  14. package/dist/git-ns/bridge/event/0.5/payload.js +1 -1
  15. package/dist/git-ns/bridge/event/0.5/payload.js.map +1 -1
  16. package/dist/git-ns/bridge/event/0.6/payload.d.ts +2067 -0
  17. package/dist/git-ns/bridge/event/0.6/payload.d.ts.map +1 -0
  18. package/dist/git-ns/bridge/event/0.6/payload.js +1119 -0
  19. package/dist/git-ns/bridge/event/0.6/payload.js.map +1 -0
  20. package/dist/git-ns/bridge/job/0.1/payload.d.ts +4 -4
  21. package/dist/git-ns/bridge/job/0.1/payload.js +1 -1
  22. package/dist/git-ns/bridge/job/0.2/payload.d.ts +4 -4
  23. package/dist/git-ns/bridge/job/0.2/payload.js +1 -1
  24. package/dist/git-ns/bridge/job/0.3/payload.d.ts +4 -4
  25. package/dist/git-ns/bridge/job/0.3/payload.js +1 -1
  26. package/dist/git-ns/bridge/job/0.4/payload.d.ts +4 -4
  27. package/dist/git-ns/bridge/job/0.4/payload.js +1 -1
  28. package/dist/git-ns/bridge/job/0.5/payload.d.ts +4 -4
  29. package/dist/git-ns/bridge/job/0.5/payload.js +1 -1
  30. package/dist/git-ns/bridge/job/0.6/payload.d.ts +14 -2
  31. package/dist/git-ns/bridge/job/0.6/payload.d.ts.map +1 -1
  32. package/dist/git-ns/bridge/job/0.6/payload.js +1 -1
  33. package/dist/git-ns/bridge/job/0.6/payload.js.map +1 -1
  34. package/dist/git-ns/bridge/job/0.7/payload.d.ts +1120 -0
  35. package/dist/git-ns/bridge/job/0.7/payload.d.ts.map +1 -0
  36. package/dist/git-ns/bridge/job/0.7/payload.js +608 -0
  37. package/dist/git-ns/bridge/job/0.7/payload.js.map +1 -0
  38. package/dist/git-ns/bridge/job/list/0.4/payload.d.ts +5 -5
  39. package/dist/git-ns/bridge/job/list/0.4/payload.js +2 -2
  40. package/dist/index.d.ts +150 -0
  41. package/dist/index.d.ts.map +1 -1
  42. package/dist/index.js +150 -0
  43. package/dist/index.js.map +1 -1
  44. package/dist/vta/notifications/deposit/0.1/payload.d.ts +349 -0
  45. package/dist/vta/notifications/deposit/0.1/payload.d.ts.map +1 -0
  46. package/dist/vta/notifications/deposit/0.1/payload.js +198 -0
  47. package/dist/vta/notifications/deposit/0.1/payload.js.map +1 -0
  48. package/dist/vta/pcs/vetter/recover/0.1/payload.d.ts +667 -0
  49. package/dist/vta/pcs/vetter/recover/0.1/payload.d.ts.map +1 -0
  50. package/dist/vta/pcs/vetter/recover/0.1/payload.js +387 -0
  51. package/dist/vta/pcs/vetter/recover/0.1/payload.js.map +1 -0
  52. package/dist/vtc/notifications/_shared/0.1/received-notification.d.ts +16 -0
  53. package/dist/vtc/notifications/_shared/0.1/received-notification.d.ts.map +1 -0
  54. package/dist/vtc/notifications/_shared/0.1/received-notification.js +6 -0
  55. package/dist/vtc/notifications/_shared/0.1/received-notification.js.map +1 -0
  56. package/dist/vtc/notifications/list/0.1/payload.d.ts +1311 -0
  57. package/dist/vtc/notifications/list/0.1/payload.d.ts.map +1 -0
  58. package/dist/vtc/notifications/list/0.1/payload.js +753 -0
  59. package/dist/vtc/notifications/list/0.1/payload.js.map +1 -0
  60. package/dist/vtc/notifications/relay/0.1/payload.d.ts +568 -0
  61. package/dist/vtc/notifications/relay/0.1/payload.d.ts.map +1 -0
  62. package/dist/vtc/notifications/relay/0.1/payload.js +339 -0
  63. package/dist/vtc/notifications/relay/0.1/payload.js.map +1 -0
  64. package/dist/vtc/notifications/show/0.1/payload.d.ts +1229 -0
  65. package/dist/vtc/notifications/show/0.1/payload.d.ts.map +1 -0
  66. package/dist/vtc/notifications/show/0.1/payload.js +727 -0
  67. package/dist/vtc/notifications/show/0.1/payload.js.map +1 -0
  68. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.d.ts +340 -0
  69. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.d.ts.map +1 -0
  70. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.js +194 -0
  71. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.js.map +1 -0
  72. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.d.ts +425 -0
  73. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.d.ts.map +1 -0
  74. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.js +233 -0
  75. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.js.map +1 -0
  76. package/dist/vtn/_shared/0.1/directory.d.ts +16 -0
  77. package/dist/vtn/_shared/0.1/directory.d.ts.map +1 -0
  78. package/dist/vtn/_shared/0.1/directory.js +6 -0
  79. package/dist/vtn/_shared/0.1/directory.js.map +1 -0
  80. package/dist/vtn/_shared/0.1/entry.d.ts +16 -0
  81. package/dist/vtn/_shared/0.1/entry.d.ts.map +1 -0
  82. package/dist/vtn/_shared/0.1/entry.js +6 -0
  83. package/dist/vtn/_shared/0.1/entry.js.map +1 -0
  84. package/dist/vtn/_shared/0.1/graph.d.ts +16 -0
  85. package/dist/vtn/_shared/0.1/graph.d.ts.map +1 -0
  86. package/dist/vtn/_shared/0.1/graph.js +6 -0
  87. package/dist/vtn/_shared/0.1/graph.js.map +1 -0
  88. package/dist/vtn/_shared/0.1/groups.d.ts +16 -0
  89. package/dist/vtn/_shared/0.1/groups.d.ts.map +1 -0
  90. package/dist/vtn/_shared/0.1/groups.js +6 -0
  91. package/dist/vtn/_shared/0.1/groups.js.map +1 -0
  92. package/dist/vtn/_shared/0.1/membership.d.ts +16 -0
  93. package/dist/vtn/_shared/0.1/membership.d.ts.map +1 -0
  94. package/dist/vtn/_shared/0.1/membership.js +6 -0
  95. package/dist/vtn/_shared/0.1/membership.js.map +1 -0
  96. package/dist/vtn/_shared/0.1/relay.d.ts +16 -0
  97. package/dist/vtn/_shared/0.1/relay.d.ts.map +1 -0
  98. package/dist/vtn/_shared/0.1/relay.js +6 -0
  99. package/dist/vtn/_shared/0.1/relay.js.map +1 -0
  100. package/dist/vtn/_shared/0.1/rooms.d.ts +16 -0
  101. package/dist/vtn/_shared/0.1/rooms.d.ts.map +1 -0
  102. package/dist/vtn/_shared/0.1/rooms.js +6 -0
  103. package/dist/vtn/_shared/0.1/rooms.js.map +1 -0
  104. package/dist/vtn/audit/list/0.1/payload.d.ts +457 -0
  105. package/dist/vtn/audit/list/0.1/payload.d.ts.map +1 -0
  106. package/dist/vtn/audit/list/0.1/payload.js +292 -0
  107. package/dist/vtn/audit/list/0.1/payload.js.map +1 -0
  108. package/dist/vtn/broadcasts/list/0.1/payload.d.ts +687 -0
  109. package/dist/vtn/broadcasts/list/0.1/payload.d.ts.map +1 -0
  110. package/dist/vtn/broadcasts/list/0.1/payload.js +407 -0
  111. package/dist/vtn/broadcasts/list/0.1/payload.js.map +1 -0
  112. package/dist/vtn/broadcasts/send/0.1/payload.d.ts +728 -0
  113. package/dist/vtn/broadcasts/send/0.1/payload.d.ts.map +1 -0
  114. package/dist/vtn/broadcasts/send/0.1/payload.js +425 -0
  115. package/dist/vtn/broadcasts/send/0.1/payload.js.map +1 -0
  116. package/dist/vtn/broadcasts/show/0.1/payload.d.ts +670 -0
  117. package/dist/vtn/broadcasts/show/0.1/payload.d.ts.map +1 -0
  118. package/dist/vtn/broadcasts/show/0.1/payload.js +402 -0
  119. package/dist/vtn/broadcasts/show/0.1/payload.js.map +1 -0
  120. package/dist/vtn/directory/federated/0.1/payload.d.ts +939 -0
  121. package/dist/vtn/directory/federated/0.1/payload.d.ts.map +1 -0
  122. package/dist/vtn/directory/federated/0.1/payload.js +536 -0
  123. package/dist/vtn/directory/federated/0.1/payload.js.map +1 -0
  124. package/dist/vtn/directory/search/0.1/payload.d.ts +643 -0
  125. package/dist/vtn/directory/search/0.1/payload.d.ts.map +1 -0
  126. package/dist/vtn/directory/search/0.1/payload.js +368 -0
  127. package/dist/vtn/directory/search/0.1/payload.js.map +1 -0
  128. package/dist/vtn/directory/summary/0.1/payload.d.ts +366 -0
  129. package/dist/vtn/directory/summary/0.1/payload.d.ts.map +1 -0
  130. package/dist/vtn/directory/summary/0.1/payload.js +216 -0
  131. package/dist/vtn/directory/summary/0.1/payload.js.map +1 -0
  132. package/dist/vtn/entries/show/0.1/payload.d.ts +682 -0
  133. package/dist/vtn/entries/show/0.1/payload.d.ts.map +1 -0
  134. package/dist/vtn/entries/show/0.1/payload.js +398 -0
  135. package/dist/vtn/entries/show/0.1/payload.js.map +1 -0
  136. package/dist/vtn/graph/member/0.1/payload.d.ts +754 -0
  137. package/dist/vtn/graph/member/0.1/payload.d.ts.map +1 -0
  138. package/dist/vtn/graph/member/0.1/payload.js +470 -0
  139. package/dist/vtn/graph/member/0.1/payload.js.map +1 -0
  140. package/dist/vtn/graph/show/0.1/payload.d.ts +754 -0
  141. package/dist/vtn/graph/show/0.1/payload.d.ts.map +1 -0
  142. package/dist/vtn/graph/show/0.1/payload.js +468 -0
  143. package/dist/vtn/graph/show/0.1/payload.js.map +1 -0
  144. package/dist/vtn/groups/list/0.1/payload.d.ts +489 -0
  145. package/dist/vtn/groups/list/0.1/payload.d.ts.map +1 -0
  146. package/dist/vtn/groups/list/0.1/payload.js +282 -0
  147. package/dist/vtn/groups/list/0.1/payload.js.map +1 -0
  148. package/dist/vtn/groups/register/0.1/payload.d.ts +504 -0
  149. package/dist/vtn/groups/register/0.1/payload.d.ts.map +1 -0
  150. package/dist/vtn/groups/register/0.1/payload.js +291 -0
  151. package/dist/vtn/groups/register/0.1/payload.js.map +1 -0
  152. package/dist/vtn/listings/create/0.1/payload.d.ts +954 -0
  153. package/dist/vtn/listings/create/0.1/payload.d.ts.map +1 -0
  154. package/dist/vtn/listings/create/0.1/payload.js +549 -0
  155. package/dist/vtn/listings/create/0.1/payload.js.map +1 -0
  156. package/dist/vtn/listings/list/0.1/payload.d.ts +933 -0
  157. package/dist/vtn/listings/list/0.1/payload.d.ts.map +1 -0
  158. package/dist/vtn/listings/list/0.1/payload.js +538 -0
  159. package/dist/vtn/listings/list/0.1/payload.js.map +1 -0
  160. package/dist/vtn/listings/reinstate/0.1/payload.d.ts +926 -0
  161. package/dist/vtn/listings/reinstate/0.1/payload.d.ts.map +1 -0
  162. package/dist/vtn/listings/reinstate/0.1/payload.js +536 -0
  163. package/dist/vtn/listings/reinstate/0.1/payload.js.map +1 -0
  164. package/dist/vtn/listings/remove/0.1/payload.d.ts +926 -0
  165. package/dist/vtn/listings/remove/0.1/payload.d.ts.map +1 -0
  166. package/dist/vtn/listings/remove/0.1/payload.js +536 -0
  167. package/dist/vtn/listings/remove/0.1/payload.js.map +1 -0
  168. package/dist/vtn/listings/show/0.1/payload.d.ts +914 -0
  169. package/dist/vtn/listings/show/0.1/payload.d.ts.map +1 -0
  170. package/dist/vtn/listings/show/0.1/payload.js +532 -0
  171. package/dist/vtn/listings/show/0.1/payload.js.map +1 -0
  172. package/dist/vtn/listings/suspend/0.1/payload.d.ts +926 -0
  173. package/dist/vtn/listings/suspend/0.1/payload.d.ts.map +1 -0
  174. package/dist/vtn/listings/suspend/0.1/payload.js +536 -0
  175. package/dist/vtn/listings/suspend/0.1/payload.js.map +1 -0
  176. package/dist/vtn/listings/update/0.1/payload.d.ts +966 -0
  177. package/dist/vtn/listings/update/0.1/payload.d.ts.map +1 -0
  178. package/dist/vtn/listings/update/0.1/payload.js +550 -0
  179. package/dist/vtn/listings/update/0.1/payload.js.map +1 -0
  180. package/dist/vtn/membership/acknowledge/0.1/payload.d.ts +654 -0
  181. package/dist/vtn/membership/acknowledge/0.1/payload.d.ts.map +1 -0
  182. package/dist/vtn/membership/acknowledge/0.1/payload.js +386 -0
  183. package/dist/vtn/membership/acknowledge/0.1/payload.js.map +1 -0
  184. package/dist/vtn/membership/offer/0.1/payload.d.ts +247 -0
  185. package/dist/vtn/membership/offer/0.1/payload.d.ts.map +1 -0
  186. package/dist/vtn/membership/offer/0.1/payload.js +147 -0
  187. package/dist/vtn/membership/offer/0.1/payload.js.map +1 -0
  188. package/dist/vtn/membership/repudiate/0.1/payload.d.ts +654 -0
  189. package/dist/vtn/membership/repudiate/0.1/payload.d.ts.map +1 -0
  190. package/dist/vtn/membership/repudiate/0.1/payload.js +386 -0
  191. package/dist/vtn/membership/repudiate/0.1/payload.js.map +1 -0
  192. package/dist/vtn/memberships/groups/add/0.1/payload.d.ts +677 -0
  193. package/dist/vtn/memberships/groups/add/0.1/payload.d.ts.map +1 -0
  194. package/dist/vtn/memberships/groups/add/0.1/payload.js +394 -0
  195. package/dist/vtn/memberships/groups/add/0.1/payload.js.map +1 -0
  196. package/dist/vtn/memberships/join/0.1/payload.d.ts +755 -0
  197. package/dist/vtn/memberships/join/0.1/payload.d.ts.map +1 -0
  198. package/dist/vtn/memberships/join/0.1/payload.js +438 -0
  199. package/dist/vtn/memberships/join/0.1/payload.js.map +1 -0
  200. package/dist/vtn/memberships/leave/0.1/payload.d.ts +653 -0
  201. package/dist/vtn/memberships/leave/0.1/payload.d.ts.map +1 -0
  202. package/dist/vtn/memberships/leave/0.1/payload.js +384 -0
  203. package/dist/vtn/memberships/leave/0.1/payload.js.map +1 -0
  204. package/dist/vtn/memberships/list/0.1/payload.d.ts +651 -0
  205. package/dist/vtn/memberships/list/0.1/payload.d.ts.map +1 -0
  206. package/dist/vtn/memberships/list/0.1/payload.js +383 -0
  207. package/dist/vtn/memberships/list/0.1/payload.js.map +1 -0
  208. package/dist/vtn/memberships/repudiate/0.1/payload.d.ts +669 -0
  209. package/dist/vtn/memberships/repudiate/0.1/payload.d.ts.map +1 -0
  210. package/dist/vtn/memberships/repudiate/0.1/payload.js +391 -0
  211. package/dist/vtn/memberships/repudiate/0.1/payload.js.map +1 -0
  212. package/dist/vtn/outbox/list/0.1/payload.d.ts +567 -0
  213. package/dist/vtn/outbox/list/0.1/payload.d.ts.map +1 -0
  214. package/dist/vtn/outbox/list/0.1/payload.js +333 -0
  215. package/dist/vtn/outbox/list/0.1/payload.js.map +1 -0
  216. package/dist/vtn/outbox/retry/0.1/payload.d.ts +235 -0
  217. package/dist/vtn/outbox/retry/0.1/payload.d.ts.map +1 -0
  218. package/dist/vtn/outbox/retry/0.1/payload.js +141 -0
  219. package/dist/vtn/outbox/retry/0.1/payload.js.map +1 -0
  220. package/dist/vtn/relay/deliver/0.1/payload.d.ts +592 -0
  221. package/dist/vtn/relay/deliver/0.1/payload.d.ts.map +1 -0
  222. package/dist/vtn/relay/deliver/0.1/payload.js +352 -0
  223. package/dist/vtn/relay/deliver/0.1/payload.js.map +1 -0
  224. package/dist/vtn/roles/list/0.1/payload.d.ts +371 -0
  225. package/dist/vtn/roles/list/0.1/payload.d.ts.map +1 -0
  226. package/dist/vtn/roles/list/0.1/payload.js +213 -0
  227. package/dist/vtn/roles/list/0.1/payload.js.map +1 -0
  228. package/dist/vtn/rooms/list/0.1/payload.d.ts +447 -0
  229. package/dist/vtn/rooms/list/0.1/payload.d.ts.map +1 -0
  230. package/dist/vtn/rooms/list/0.1/payload.js +255 -0
  231. package/dist/vtn/rooms/list/0.1/payload.js.map +1 -0
  232. package/dist/vtn/rooms/pass/0.1/payload.d.ts +674 -0
  233. package/dist/vtn/rooms/pass/0.1/payload.d.ts.map +1 -0
  234. package/dist/vtn/rooms/pass/0.1/payload.js +383 -0
  235. package/dist/vtn/rooms/pass/0.1/payload.js.map +1 -0
  236. package/package.json +1 -1
  237. package/src/_shared/components.ts +922 -0
  238. package/src/git-ns/bridge/event/0.1/payload.ts +5 -5
  239. package/src/git-ns/bridge/event/0.2/payload.ts +5 -5
  240. package/src/git-ns/bridge/event/0.3/payload.ts +5 -5
  241. package/src/git-ns/bridge/event/0.4/payload.ts +5 -5
  242. package/src/git-ns/bridge/event/0.5/payload.ts +15 -3
  243. package/src/git-ns/bridge/event/0.6/payload.ts +1450 -0
  244. package/src/git-ns/bridge/job/0.1/payload.ts +5 -5
  245. package/src/git-ns/bridge/job/0.2/payload.ts +5 -5
  246. package/src/git-ns/bridge/job/0.3/payload.ts +5 -5
  247. package/src/git-ns/bridge/job/0.4/payload.ts +5 -5
  248. package/src/git-ns/bridge/job/0.5/payload.ts +5 -5
  249. package/src/git-ns/bridge/job/0.6/payload.ts +15 -3
  250. package/src/git-ns/bridge/job/0.7/payload.ts +744 -0
  251. package/src/git-ns/bridge/job/list/0.4/payload.ts +3 -3
  252. package/src/index.ts +150 -0
  253. package/src/vta/notifications/deposit/0.1/payload.ts +243 -0
  254. package/src/vta/pcs/vetter/recover/0.1/payload.ts +437 -0
  255. package/src/vtc/notifications/_shared/0.1/received-notification.ts +17 -0
  256. package/src/vtc/notifications/list/0.1/payload.ts +809 -0
  257. package/src/vtc/notifications/relay/0.1/payload.ts +382 -0
  258. package/src/vtc/notifications/show/0.1/payload.ts +761 -0
  259. package/src/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.ts +247 -0
  260. package/src/vtc/vetting/vetters/pcs-binding/show/0.1/payload.ts +295 -0
  261. package/src/vtn/_shared/0.1/directory.ts +17 -0
  262. package/src/vtn/_shared/0.1/entry.ts +17 -0
  263. package/src/vtn/_shared/0.1/graph.ts +17 -0
  264. package/src/vtn/_shared/0.1/groups.ts +17 -0
  265. package/src/vtn/_shared/0.1/membership.ts +17 -0
  266. package/src/vtn/_shared/0.1/relay.ts +17 -0
  267. package/src/vtn/_shared/0.1/rooms.ts +17 -0
  268. package/src/vtn/audit/list/0.1/payload.ts +336 -0
  269. package/src/vtn/broadcasts/list/0.1/payload.ts +447 -0
  270. package/src/vtn/broadcasts/send/0.1/payload.ts +478 -0
  271. package/src/vtn/broadcasts/show/0.1/payload.ts +439 -0
  272. package/src/vtn/directory/federated/0.1/payload.ts +594 -0
  273. package/src/vtn/directory/search/0.1/payload.ts +418 -0
  274. package/src/vtn/directory/summary/0.1/payload.ts +253 -0
  275. package/src/vtn/entries/show/0.1/payload.ts +439 -0
  276. package/src/vtn/graph/member/0.1/payload.ts +511 -0
  277. package/src/vtn/graph/show/0.1/payload.ts +509 -0
  278. package/src/vtn/groups/list/0.1/payload.ts +322 -0
  279. package/src/vtn/groups/register/0.1/payload.ts +336 -0
  280. package/src/vtn/listings/create/0.1/payload.ts +594 -0
  281. package/src/vtn/listings/list/0.1/payload.ts +578 -0
  282. package/src/vtn/listings/reinstate/0.1/payload.ts +577 -0
  283. package/src/vtn/listings/remove/0.1/payload.ts +577 -0
  284. package/src/vtn/listings/show/0.1/payload.ts +569 -0
  285. package/src/vtn/listings/suspend/0.1/payload.ts +577 -0
  286. package/src/vtn/listings/update/0.1/payload.ts +603 -0
  287. package/src/vtn/membership/acknowledge/0.1/payload.ts +423 -0
  288. package/src/vtn/membership/offer/0.1/payload.ts +183 -0
  289. package/src/vtn/membership/repudiate/0.1/payload.ts +423 -0
  290. package/src/vtn/memberships/groups/add/0.1/payload.ts +442 -0
  291. package/src/vtn/memberships/join/0.1/payload.ts +488 -0
  292. package/src/vtn/memberships/leave/0.1/payload.ts +424 -0
  293. package/src/vtn/memberships/list/0.1/payload.ts +419 -0
  294. package/src/vtn/memberships/repudiate/0.1/payload.ts +435 -0
  295. package/src/vtn/outbox/list/0.1/payload.ts +369 -0
  296. package/src/vtn/outbox/retry/0.1/payload.ts +177 -0
  297. package/src/vtn/relay/deliver/0.1/payload.ts +397 -0
  298. package/src/vtn/roles/list/0.1/payload.ts +253 -0
  299. package/src/vtn/rooms/list/0.1/payload.ts +295 -0
  300. package/src/vtn/rooms/pass/0.1/payload.ts +439 -0
@@ -0,0 +1,654 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtn/membership/acknowledge/0.1/payload.schema.json
4
+ */
5
+ import type { Credential, Description, Did_VtnV0_1 as Did, EntryKind, EntryProfile, EntryState, Ext, IndexEntry, Tags, Url } from "../../../../_shared/components.js";
6
+ /**
7
+ * A listed party's acknowledgement of a network's membership offer. The outer document members are owned by the framework — SPEC §6.3.
8
+ */
9
+ export interface VTNMembershipAcknowledgePayload {
10
+ /**
11
+ * The party's membership credential, issued by the requester to the network, carrying the `digestMultibase` of the offer it acknowledges.
12
+ */
13
+ acknowledgement: Credential;
14
+ ext?: Ext;
15
+ }
16
+ /**
17
+ * The party's entry as now published, with the network's signed grant and the party's acknowledgement.
18
+ */
19
+ export interface VTNMembershipAcknowledgeResponsePayload {
20
+ entry: IndexEntry;
21
+ ext?: Ext;
22
+ }
23
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
24
+ export type { Credential, Description, Did, EntryKind, EntryProfile, EntryState, Ext, IndexEntry, Tags, Url };
25
+ /** Trust Task type URI. */
26
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtn/membership/acknowledge/0.1";
27
+ /**
28
+ * The earlier version of this specification that this one declares it
29
+ * extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
30
+ * `null`. Only the direct declaration — follow the chain with
31
+ * `extendsChain` / `readForSpec`.
32
+ */
33
+ export declare const EXTENDS: string | null;
34
+ /**
35
+ * Why this version is deprecated, or `null` while it is current. A
36
+ * superseded or retired version is still supported, and is withdrawn from
37
+ * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
38
+ * Versions").
39
+ */
40
+ export declare const DEPRECATION: string | null;
41
+ /** Stable alias for this specification's request payload shape. */
42
+ export type Payload = VTNMembershipAcknowledgePayload;
43
+ /** Trust Task response type URI (request type URI + "#response"). */
44
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtn/membership/acknowledge/0.1#response";
45
+ /** Stable alias for this specification's success-response payload shape. */
46
+ export type Response = VTNMembershipAcknowledgeResponsePayload;
47
+ /**
48
+ * This specification's payload schema, as a value.
49
+ *
50
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
51
+ * rather than only as a `.json` file because TypeScript types are erased
52
+ * at runtime: without a schema a consumer has nothing to validate, and
53
+ * every REQUIRED payload member is optional in practice. Cross-file
54
+ * `$ref`s are already inlined, so it needs no resolver.
55
+ */
56
+ export declare const PAYLOAD_SCHEMA: {
57
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
58
+ readonly $id: "https://trusttasks.org/spec/vtn/membership/acknowledge/0.1";
59
+ readonly title: "VTN Membership — Acknowledge — payload";
60
+ readonly description: "A listed party's acknowledgement of a network's membership offer. The outer document members are owned by the framework — SPEC §6.3.";
61
+ readonly type: "object";
62
+ readonly additionalProperties: false;
63
+ readonly required: readonly ["acknowledgement"];
64
+ readonly properties: {
65
+ readonly acknowledgement: {
66
+ readonly $ref: "#/$defs/Credential";
67
+ readonly description: "The party's membership credential, issued by the requester to the network, carrying the `digestMultibase` of the offer it acknowledges.";
68
+ };
69
+ readonly ext: {
70
+ readonly $ref: "#/$defs/Ext";
71
+ };
72
+ };
73
+ readonly $defs: {
74
+ readonly Response: {
75
+ readonly $anchor: "response";
76
+ readonly title: "VTN Membership — Acknowledge — response payload";
77
+ readonly description: "The party's entry as now published, with the network's signed grant and the party's acknowledgement.";
78
+ readonly type: "object";
79
+ readonly additionalProperties: false;
80
+ readonly required: readonly ["entry"];
81
+ readonly properties: {
82
+ readonly entry: {
83
+ readonly $ref: "#/$defs/IndexEntry";
84
+ };
85
+ readonly ext: {
86
+ readonly $ref: "#/$defs/Ext";
87
+ };
88
+ };
89
+ };
90
+ readonly Ext: {
91
+ readonly title: "Ext";
92
+ 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.";
93
+ readonly type: "object";
94
+ readonly minProperties: 1;
95
+ readonly additionalProperties: true;
96
+ readonly propertyNames: {
97
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
98
+ };
99
+ };
100
+ readonly IndexEntry: {
101
+ readonly description: "An entry as the network publishes it, with the credentials a verifier needs.";
102
+ readonly type: "object";
103
+ readonly additionalProperties: false;
104
+ readonly required: readonly ["did", "kind", "state", "acknowledged", "profile", "listing"];
105
+ readonly properties: {
106
+ readonly did: {
107
+ readonly $ref: "#/$defs/Did";
108
+ readonly description: "The listed party's DID.";
109
+ };
110
+ readonly kind: {
111
+ readonly $ref: "#/$defs/EntryKind";
112
+ };
113
+ readonly state: {
114
+ readonly $ref: "#/$defs/EntryState";
115
+ };
116
+ readonly acknowledged: {
117
+ readonly type: "boolean";
118
+ readonly description: "Whether the party acknowledged: true only for a member. Every published entry states it (VTI-VTN-013).";
119
+ };
120
+ readonly label: {
121
+ readonly type: "string";
122
+ readonly maxLength: 200;
123
+ readonly description: "The name the directory shows.";
124
+ };
125
+ readonly profile: {
126
+ readonly $ref: "#/$defs/EntryProfile";
127
+ };
128
+ readonly listing: {
129
+ readonly $ref: "#/$defs/Credential";
130
+ readonly description: "The listing credential.";
131
+ };
132
+ readonly grant: {
133
+ readonly $ref: "#/$defs/Credential";
134
+ readonly description: "The membership grant, once acknowledged.";
135
+ };
136
+ readonly acknowledgement: {
137
+ readonly $ref: "#/$defs/Credential";
138
+ readonly description: "The party's acknowledgement.";
139
+ };
140
+ readonly repudiation: {
141
+ readonly $ref: "#/$defs/Credential";
142
+ readonly description: "The party's repudiation.";
143
+ };
144
+ };
145
+ };
146
+ readonly Credential: {
147
+ readonly type: "object";
148
+ readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
149
+ };
150
+ readonly EntryProfile: {
151
+ readonly description: "What the directory shows about an entry, set by the network's administrators.";
152
+ readonly type: "object";
153
+ readonly additionalProperties: false;
154
+ readonly required: readonly [];
155
+ readonly properties: {
156
+ readonly description: {
157
+ readonly $ref: "#/$defs/Description";
158
+ };
159
+ readonly url: {
160
+ readonly $ref: "#/$defs/Url";
161
+ };
162
+ readonly tags: {
163
+ readonly $ref: "#/$defs/Tags";
164
+ };
165
+ };
166
+ };
167
+ readonly Tags: {
168
+ readonly type: "array";
169
+ readonly items: {
170
+ readonly type: "string";
171
+ readonly minLength: 1;
172
+ readonly maxLength: 64;
173
+ };
174
+ readonly description: "Free-text tags the directory searches.";
175
+ readonly maxItems: 32;
176
+ };
177
+ readonly Url: {
178
+ readonly type: "string";
179
+ readonly format: "uri";
180
+ readonly maxLength: 2048;
181
+ readonly description: "The party's public address.";
182
+ };
183
+ readonly Description: {
184
+ readonly type: "string";
185
+ readonly maxLength: 2000;
186
+ readonly description: "What the listed party is, for the directory.";
187
+ };
188
+ readonly EntryState: {
189
+ readonly type: "string";
190
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
191
+ readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
192
+ };
193
+ readonly EntryKind: {
194
+ readonly type: "string";
195
+ readonly enum: readonly ["community", "network"];
196
+ readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
197
+ };
198
+ readonly Did: {
199
+ readonly type: "string";
200
+ readonly pattern: "^did:[a-z0-9]+:.+$";
201
+ readonly maxLength: 2048;
202
+ readonly description: "A DID.";
203
+ };
204
+ };
205
+ };
206
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
207
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
208
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
209
+ readonly $ref: "#/$defs/Response";
210
+ readonly $defs: {
211
+ readonly Response: {
212
+ readonly $anchor: "response";
213
+ readonly title: "VTN Membership — Acknowledge — response payload";
214
+ readonly description: "The party's entry as now published, with the network's signed grant and the party's acknowledgement.";
215
+ readonly type: "object";
216
+ readonly additionalProperties: false;
217
+ readonly required: readonly ["entry"];
218
+ readonly properties: {
219
+ readonly entry: {
220
+ readonly $ref: "#/$defs/IndexEntry";
221
+ };
222
+ readonly ext: {
223
+ readonly $ref: "#/$defs/Ext";
224
+ };
225
+ };
226
+ };
227
+ readonly Ext: {
228
+ readonly title: "Ext";
229
+ 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.";
230
+ readonly type: "object";
231
+ readonly minProperties: 1;
232
+ readonly additionalProperties: true;
233
+ readonly propertyNames: {
234
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
235
+ };
236
+ };
237
+ readonly IndexEntry: {
238
+ readonly description: "An entry as the network publishes it, with the credentials a verifier needs.";
239
+ readonly type: "object";
240
+ readonly additionalProperties: false;
241
+ readonly required: readonly ["did", "kind", "state", "acknowledged", "profile", "listing"];
242
+ readonly properties: {
243
+ readonly did: {
244
+ readonly $ref: "#/$defs/Did";
245
+ readonly description: "The listed party's DID.";
246
+ };
247
+ readonly kind: {
248
+ readonly $ref: "#/$defs/EntryKind";
249
+ };
250
+ readonly state: {
251
+ readonly $ref: "#/$defs/EntryState";
252
+ };
253
+ readonly acknowledged: {
254
+ readonly type: "boolean";
255
+ readonly description: "Whether the party acknowledged: true only for a member. Every published entry states it (VTI-VTN-013).";
256
+ };
257
+ readonly label: {
258
+ readonly type: "string";
259
+ readonly maxLength: 200;
260
+ readonly description: "The name the directory shows.";
261
+ };
262
+ readonly profile: {
263
+ readonly $ref: "#/$defs/EntryProfile";
264
+ };
265
+ readonly listing: {
266
+ readonly $ref: "#/$defs/Credential";
267
+ readonly description: "The listing credential.";
268
+ };
269
+ readonly grant: {
270
+ readonly $ref: "#/$defs/Credential";
271
+ readonly description: "The membership grant, once acknowledged.";
272
+ };
273
+ readonly acknowledgement: {
274
+ readonly $ref: "#/$defs/Credential";
275
+ readonly description: "The party's acknowledgement.";
276
+ };
277
+ readonly repudiation: {
278
+ readonly $ref: "#/$defs/Credential";
279
+ readonly description: "The party's repudiation.";
280
+ };
281
+ };
282
+ };
283
+ readonly Credential: {
284
+ readonly type: "object";
285
+ readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
286
+ };
287
+ readonly EntryProfile: {
288
+ readonly description: "What the directory shows about an entry, set by the network's administrators.";
289
+ readonly type: "object";
290
+ readonly additionalProperties: false;
291
+ readonly required: readonly [];
292
+ readonly properties: {
293
+ readonly description: {
294
+ readonly $ref: "#/$defs/Description";
295
+ };
296
+ readonly url: {
297
+ readonly $ref: "#/$defs/Url";
298
+ };
299
+ readonly tags: {
300
+ readonly $ref: "#/$defs/Tags";
301
+ };
302
+ };
303
+ };
304
+ readonly Tags: {
305
+ readonly type: "array";
306
+ readonly items: {
307
+ readonly type: "string";
308
+ readonly minLength: 1;
309
+ readonly maxLength: 64;
310
+ };
311
+ readonly description: "Free-text tags the directory searches.";
312
+ readonly maxItems: 32;
313
+ };
314
+ readonly Url: {
315
+ readonly type: "string";
316
+ readonly format: "uri";
317
+ readonly maxLength: 2048;
318
+ readonly description: "The party's public address.";
319
+ };
320
+ readonly Description: {
321
+ readonly type: "string";
322
+ readonly maxLength: 2000;
323
+ readonly description: "What the listed party is, for the directory.";
324
+ };
325
+ readonly EntryState: {
326
+ readonly type: "string";
327
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
328
+ readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
329
+ };
330
+ readonly EntryKind: {
331
+ readonly type: "string";
332
+ readonly enum: readonly ["community", "network"];
333
+ readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
334
+ };
335
+ readonly Did: {
336
+ readonly type: "string";
337
+ readonly pattern: "^did:[a-z0-9]+:.+$";
338
+ readonly maxLength: 2048;
339
+ readonly description: "A DID.";
340
+ };
341
+ };
342
+ };
343
+ /**
344
+ * SPEC.md §7.2 policy for the request variant, from this specification's
345
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
346
+ * per-specification and cannot be derived from the document alone, and
347
+ * item 2 needs the schema this carries.
348
+ */
349
+ export declare const SPEC: {
350
+ readonly typeUri: "https://trusttasks.org/spec/vtn/membership/acknowledge/0.1";
351
+ readonly isBearer: false;
352
+ readonly isProofRequired: true;
353
+ readonly isRecipientRequired: true;
354
+ readonly isIssuedAtRequired: true;
355
+ readonly payloadSchema: {
356
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
357
+ readonly $id: "https://trusttasks.org/spec/vtn/membership/acknowledge/0.1";
358
+ readonly title: "VTN Membership — Acknowledge — payload";
359
+ readonly description: "A listed party's acknowledgement of a network's membership offer. The outer document members are owned by the framework — SPEC §6.3.";
360
+ readonly type: "object";
361
+ readonly additionalProperties: false;
362
+ readonly required: readonly ["acknowledgement"];
363
+ readonly properties: {
364
+ readonly acknowledgement: {
365
+ readonly $ref: "#/$defs/Credential";
366
+ readonly description: "The party's membership credential, issued by the requester to the network, carrying the `digestMultibase` of the offer it acknowledges.";
367
+ };
368
+ readonly ext: {
369
+ readonly $ref: "#/$defs/Ext";
370
+ };
371
+ };
372
+ readonly $defs: {
373
+ readonly Response: {
374
+ readonly $anchor: "response";
375
+ readonly title: "VTN Membership — Acknowledge — response payload";
376
+ readonly description: "The party's entry as now published, with the network's signed grant and the party's acknowledgement.";
377
+ readonly type: "object";
378
+ readonly additionalProperties: false;
379
+ readonly required: readonly ["entry"];
380
+ readonly properties: {
381
+ readonly entry: {
382
+ readonly $ref: "#/$defs/IndexEntry";
383
+ };
384
+ readonly ext: {
385
+ readonly $ref: "#/$defs/Ext";
386
+ };
387
+ };
388
+ };
389
+ readonly Ext: {
390
+ readonly title: "Ext";
391
+ 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.";
392
+ readonly type: "object";
393
+ readonly minProperties: 1;
394
+ readonly additionalProperties: true;
395
+ readonly propertyNames: {
396
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
397
+ };
398
+ };
399
+ readonly IndexEntry: {
400
+ readonly description: "An entry as the network publishes it, with the credentials a verifier needs.";
401
+ readonly type: "object";
402
+ readonly additionalProperties: false;
403
+ readonly required: readonly ["did", "kind", "state", "acknowledged", "profile", "listing"];
404
+ readonly properties: {
405
+ readonly did: {
406
+ readonly $ref: "#/$defs/Did";
407
+ readonly description: "The listed party's DID.";
408
+ };
409
+ readonly kind: {
410
+ readonly $ref: "#/$defs/EntryKind";
411
+ };
412
+ readonly state: {
413
+ readonly $ref: "#/$defs/EntryState";
414
+ };
415
+ readonly acknowledged: {
416
+ readonly type: "boolean";
417
+ readonly description: "Whether the party acknowledged: true only for a member. Every published entry states it (VTI-VTN-013).";
418
+ };
419
+ readonly label: {
420
+ readonly type: "string";
421
+ readonly maxLength: 200;
422
+ readonly description: "The name the directory shows.";
423
+ };
424
+ readonly profile: {
425
+ readonly $ref: "#/$defs/EntryProfile";
426
+ };
427
+ readonly listing: {
428
+ readonly $ref: "#/$defs/Credential";
429
+ readonly description: "The listing credential.";
430
+ };
431
+ readonly grant: {
432
+ readonly $ref: "#/$defs/Credential";
433
+ readonly description: "The membership grant, once acknowledged.";
434
+ };
435
+ readonly acknowledgement: {
436
+ readonly $ref: "#/$defs/Credential";
437
+ readonly description: "The party's acknowledgement.";
438
+ };
439
+ readonly repudiation: {
440
+ readonly $ref: "#/$defs/Credential";
441
+ readonly description: "The party's repudiation.";
442
+ };
443
+ };
444
+ };
445
+ readonly Credential: {
446
+ readonly type: "object";
447
+ readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
448
+ };
449
+ readonly EntryProfile: {
450
+ readonly description: "What the directory shows about an entry, set by the network's administrators.";
451
+ readonly type: "object";
452
+ readonly additionalProperties: false;
453
+ readonly required: readonly [];
454
+ readonly properties: {
455
+ readonly description: {
456
+ readonly $ref: "#/$defs/Description";
457
+ };
458
+ readonly url: {
459
+ readonly $ref: "#/$defs/Url";
460
+ };
461
+ readonly tags: {
462
+ readonly $ref: "#/$defs/Tags";
463
+ };
464
+ };
465
+ };
466
+ readonly Tags: {
467
+ readonly type: "array";
468
+ readonly items: {
469
+ readonly type: "string";
470
+ readonly minLength: 1;
471
+ readonly maxLength: 64;
472
+ };
473
+ readonly description: "Free-text tags the directory searches.";
474
+ readonly maxItems: 32;
475
+ };
476
+ readonly Url: {
477
+ readonly type: "string";
478
+ readonly format: "uri";
479
+ readonly maxLength: 2048;
480
+ readonly description: "The party's public address.";
481
+ };
482
+ readonly Description: {
483
+ readonly type: "string";
484
+ readonly maxLength: 2000;
485
+ readonly description: "What the listed party is, for the directory.";
486
+ };
487
+ readonly EntryState: {
488
+ readonly type: "string";
489
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
490
+ readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
491
+ };
492
+ readonly EntryKind: {
493
+ readonly type: "string";
494
+ readonly enum: readonly ["community", "network"];
495
+ readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
496
+ };
497
+ readonly Did: {
498
+ readonly type: "string";
499
+ readonly pattern: "^did:[a-z0-9]+:.+$";
500
+ readonly maxLength: 2048;
501
+ readonly description: "A DID.";
502
+ };
503
+ };
504
+ };
505
+ };
506
+ /**
507
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
508
+ * tracks the *issuer* party's requirement because a response swaps the
509
+ * parties (§7.3 item 5).
510
+ */
511
+ export declare const RESPONSE_SPEC: {
512
+ readonly typeUri: "https://trusttasks.org/spec/vtn/membership/acknowledge/0.1#response";
513
+ readonly isBearer: false;
514
+ readonly isProofRequired: true;
515
+ readonly isRecipientRequired: true;
516
+ readonly isIssuedAtRequired: true;
517
+ readonly payloadSchema: {
518
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
519
+ readonly $ref: "#/$defs/Response";
520
+ readonly $defs: {
521
+ readonly Response: {
522
+ readonly $anchor: "response";
523
+ readonly title: "VTN Membership — Acknowledge — response payload";
524
+ readonly description: "The party's entry as now published, with the network's signed grant and the party's acknowledgement.";
525
+ readonly type: "object";
526
+ readonly additionalProperties: false;
527
+ readonly required: readonly ["entry"];
528
+ readonly properties: {
529
+ readonly entry: {
530
+ readonly $ref: "#/$defs/IndexEntry";
531
+ };
532
+ readonly ext: {
533
+ readonly $ref: "#/$defs/Ext";
534
+ };
535
+ };
536
+ };
537
+ readonly Ext: {
538
+ readonly title: "Ext";
539
+ 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.";
540
+ readonly type: "object";
541
+ readonly minProperties: 1;
542
+ readonly additionalProperties: true;
543
+ readonly propertyNames: {
544
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
545
+ };
546
+ };
547
+ readonly IndexEntry: {
548
+ readonly description: "An entry as the network publishes it, with the credentials a verifier needs.";
549
+ readonly type: "object";
550
+ readonly additionalProperties: false;
551
+ readonly required: readonly ["did", "kind", "state", "acknowledged", "profile", "listing"];
552
+ readonly properties: {
553
+ readonly did: {
554
+ readonly $ref: "#/$defs/Did";
555
+ readonly description: "The listed party's DID.";
556
+ };
557
+ readonly kind: {
558
+ readonly $ref: "#/$defs/EntryKind";
559
+ };
560
+ readonly state: {
561
+ readonly $ref: "#/$defs/EntryState";
562
+ };
563
+ readonly acknowledged: {
564
+ readonly type: "boolean";
565
+ readonly description: "Whether the party acknowledged: true only for a member. Every published entry states it (VTI-VTN-013).";
566
+ };
567
+ readonly label: {
568
+ readonly type: "string";
569
+ readonly maxLength: 200;
570
+ readonly description: "The name the directory shows.";
571
+ };
572
+ readonly profile: {
573
+ readonly $ref: "#/$defs/EntryProfile";
574
+ };
575
+ readonly listing: {
576
+ readonly $ref: "#/$defs/Credential";
577
+ readonly description: "The listing credential.";
578
+ };
579
+ readonly grant: {
580
+ readonly $ref: "#/$defs/Credential";
581
+ readonly description: "The membership grant, once acknowledged.";
582
+ };
583
+ readonly acknowledgement: {
584
+ readonly $ref: "#/$defs/Credential";
585
+ readonly description: "The party's acknowledgement.";
586
+ };
587
+ readonly repudiation: {
588
+ readonly $ref: "#/$defs/Credential";
589
+ readonly description: "The party's repudiation.";
590
+ };
591
+ };
592
+ };
593
+ readonly Credential: {
594
+ readonly type: "object";
595
+ readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
596
+ };
597
+ readonly EntryProfile: {
598
+ readonly description: "What the directory shows about an entry, set by the network's administrators.";
599
+ readonly type: "object";
600
+ readonly additionalProperties: false;
601
+ readonly required: readonly [];
602
+ readonly properties: {
603
+ readonly description: {
604
+ readonly $ref: "#/$defs/Description";
605
+ };
606
+ readonly url: {
607
+ readonly $ref: "#/$defs/Url";
608
+ };
609
+ readonly tags: {
610
+ readonly $ref: "#/$defs/Tags";
611
+ };
612
+ };
613
+ };
614
+ readonly Tags: {
615
+ readonly type: "array";
616
+ readonly items: {
617
+ readonly type: "string";
618
+ readonly minLength: 1;
619
+ readonly maxLength: 64;
620
+ };
621
+ readonly description: "Free-text tags the directory searches.";
622
+ readonly maxItems: 32;
623
+ };
624
+ readonly Url: {
625
+ readonly type: "string";
626
+ readonly format: "uri";
627
+ readonly maxLength: 2048;
628
+ readonly description: "The party's public address.";
629
+ };
630
+ readonly Description: {
631
+ readonly type: "string";
632
+ readonly maxLength: 2000;
633
+ readonly description: "What the listed party is, for the directory.";
634
+ };
635
+ readonly EntryState: {
636
+ readonly type: "string";
637
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
638
+ readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
639
+ };
640
+ readonly EntryKind: {
641
+ readonly type: "string";
642
+ readonly enum: readonly ["community", "network"];
643
+ readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
644
+ };
645
+ readonly Did: {
646
+ readonly type: "string";
647
+ readonly pattern: "^did:[a-z0-9]+:.+$";
648
+ readonly maxLength: 2048;
649
+ readonly description: "A DID.";
650
+ };
651
+ };
652
+ };
653
+ };
654
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtn/membership/acknowledge/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,IAAI,GAAG,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAGtK;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,eAAe,EAAE,UAAU,CAAC;IAC5B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACtD,KAAK,EAAE,UAAU,CAAC;IAClB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC;AAE9G,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,4DAAqE,CAAC;AAE9F;;;;;GAKG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,GAAG,IAAW,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,GAAG,IAAW,CAAC;AAE/C,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,+BAA+B,CAAC;AAEtD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,qEAA8E,CAAC;AAEhH,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,uCAAuC,CAAC;AAE/D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0KjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0J1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}