@openvtc/trust-tasks 0.6.3 → 0.6.5

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 (327) hide show
  1. package/dist/audit/list/0.1/payload.d.ts +1 -1
  2. package/dist/audit/list/0.1/payload.d.ts.map +1 -1
  3. package/dist/audit/verify/0.1/payload.d.ts +1 -1
  4. package/dist/audit/verify/0.1/payload.d.ts.map +1 -1
  5. package/dist/auth/step-up/approve-response/0.1/payload.d.ts +1 -1
  6. package/dist/auth/step-up/approve-response/0.1/payload.d.ts.map +1 -1
  7. package/dist/auth/step-up/approve-response/0.2/payload.d.ts +1 -1
  8. package/dist/auth/step-up/approve-response/0.2/payload.d.ts.map +1 -1
  9. package/dist/chat/message/0.1/payload.d.ts +1 -1
  10. package/dist/chat/message/0.1/payload.d.ts.map +1 -1
  11. package/dist/consent/request/1.0/payload.d.ts +1 -1
  12. package/dist/consent/request/1.0/payload.d.ts.map +1 -1
  13. package/dist/device/list/0.1/payload.d.ts +1 -1
  14. package/dist/device/list/0.1/payload.d.ts.map +1 -1
  15. package/dist/device/list/0.2/payload.d.ts +1 -1
  16. package/dist/device/list/0.2/payload.d.ts.map +1 -1
  17. package/dist/device/register/0.1/payload.d.ts +1 -1
  18. package/dist/device/register/0.1/payload.d.ts.map +1 -1
  19. package/dist/device/register/0.2/payload.d.ts +1 -1
  20. package/dist/device/register/0.2/payload.d.ts.map +1 -1
  21. package/dist/index.d.ts +9 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +9 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/keys/create/0.1/payload.d.ts +1 -1
  26. package/dist/keys/create/0.1/payload.d.ts.map +1 -1
  27. package/dist/keys/derive-and-sign/0.1/payload.d.ts +1 -1
  28. package/dist/keys/derive-and-sign/0.1/payload.d.ts.map +1 -1
  29. package/dist/keys/derive-and-sign-document/0.1/payload.d.ts +1 -1
  30. package/dist/keys/derive-and-sign-document/0.1/payload.d.ts.map +1 -1
  31. package/dist/keys/list/0.1/payload.d.ts +1 -1
  32. package/dist/keys/list/0.1/payload.d.ts.map +1 -1
  33. package/dist/keys/revoke/0.1/payload.d.ts +1 -1
  34. package/dist/keys/revoke/0.1/payload.d.ts.map +1 -1
  35. package/dist/keys/show/0.1/payload.d.ts +1 -1
  36. package/dist/keys/show/0.1/payload.d.ts.map +1 -1
  37. package/dist/keys/sign/0.1/payload.d.ts +1 -1
  38. package/dist/keys/sign/0.1/payload.d.ts.map +1 -1
  39. package/dist/messaging/access-list/add/0.1/payload.d.ts +1 -1
  40. package/dist/messaging/access-list/add/0.1/payload.d.ts.map +1 -1
  41. package/dist/messaging/access-list/clear/0.1/payload.d.ts +1 -1
  42. package/dist/messaging/access-list/clear/0.1/payload.d.ts.map +1 -1
  43. package/dist/messaging/access-list/get/0.1/payload.d.ts +1 -1
  44. package/dist/messaging/access-list/get/0.1/payload.d.ts.map +1 -1
  45. package/dist/messaging/access-list/list/0.1/payload.d.ts +1 -1
  46. package/dist/messaging/access-list/list/0.1/payload.d.ts.map +1 -1
  47. package/dist/messaging/access-list/remove/0.1/payload.d.ts +1 -1
  48. package/dist/messaging/access-list/remove/0.1/payload.d.ts.map +1 -1
  49. package/dist/messaging/access-list/update/0.1/payload.d.ts +1 -1
  50. package/dist/messaging/access-list/update/0.1/payload.d.ts.map +1 -1
  51. package/dist/messaging/account/add/0.1/payload.d.ts +1 -1
  52. package/dist/messaging/account/add/0.1/payload.d.ts.map +1 -1
  53. package/dist/messaging/account/change-queue-limits/0.1/payload.d.ts +1 -1
  54. package/dist/messaging/account/change-queue-limits/0.1/payload.d.ts.map +1 -1
  55. package/dist/messaging/account/change-type/0.1/payload.d.ts +1 -1
  56. package/dist/messaging/account/change-type/0.1/payload.d.ts.map +1 -1
  57. package/dist/messaging/account/get/0.1/payload.d.ts +1 -1
  58. package/dist/messaging/account/get/0.1/payload.d.ts.map +1 -1
  59. package/dist/messaging/account/list/0.1/payload.d.ts +1 -1
  60. package/dist/messaging/account/list/0.1/payload.d.ts.map +1 -1
  61. package/dist/messaging/account/remove/0.1/payload.d.ts +1 -1
  62. package/dist/messaging/account/remove/0.1/payload.d.ts.map +1 -1
  63. package/dist/messaging/account/update/0.1/payload.d.ts +1 -1
  64. package/dist/messaging/account/update/0.1/payload.d.ts.map +1 -1
  65. package/dist/messaging/acl/get/0.1/payload.d.ts +1 -1
  66. package/dist/messaging/acl/get/0.1/payload.d.ts.map +1 -1
  67. package/dist/messaging/acl/set/0.1/payload.d.ts +1 -1
  68. package/dist/messaging/acl/set/0.1/payload.d.ts.map +1 -1
  69. package/dist/messaging/admin/add/0.1/payload.d.ts +1 -1
  70. package/dist/messaging/admin/add/0.1/payload.d.ts.map +1 -1
  71. package/dist/messaging/admin/audit-log/0.1/payload.d.ts +1 -1
  72. package/dist/messaging/admin/audit-log/0.1/payload.d.ts.map +1 -1
  73. package/dist/messaging/admin/list/0.1/payload.d.ts +1 -1
  74. package/dist/messaging/admin/list/0.1/payload.d.ts.map +1 -1
  75. package/dist/messaging/admin/strip/0.1/payload.d.ts +1 -1
  76. package/dist/messaging/admin/strip/0.1/payload.d.ts.map +1 -1
  77. package/dist/policy/evaluate/0.1/payload.d.ts +1 -1
  78. package/dist/policy/evaluate/0.1/payload.d.ts.map +1 -1
  79. package/dist/policy/evaluate/0.2/payload.d.ts +1 -1
  80. package/dist/policy/evaluate/0.2/payload.d.ts.map +1 -1
  81. package/dist/policy/evaluate/0.3/payload.d.ts +1 -1
  82. package/dist/policy/evaluate/0.3/payload.d.ts.map +1 -1
  83. package/dist/provision/integration/0.1/payload.d.ts +1 -1
  84. package/dist/provision/integration/0.1/payload.d.ts.map +1 -1
  85. package/dist/provision/integration/0.2/payload.d.ts +1 -1
  86. package/dist/provision/integration/0.2/payload.d.ts.map +1 -1
  87. package/dist/provision/integration/0.3/payload.d.ts +279 -0
  88. package/dist/provision/integration/0.3/payload.d.ts.map +1 -0
  89. package/dist/provision/integration/0.3/payload.js +31 -0
  90. package/dist/provision/integration/0.3/payload.js.map +1 -0
  91. package/dist/push/register/0.1/payload.d.ts +1 -1
  92. package/dist/push/register/0.1/payload.d.ts.map +1 -1
  93. package/dist/push/register/0.2/payload.d.ts +1 -1
  94. package/dist/push/register/0.2/payload.d.ts.map +1 -1
  95. package/dist/registry/record/create/0.1/payload.d.ts +1 -1
  96. package/dist/registry/record/create/0.1/payload.d.ts.map +1 -1
  97. package/dist/registry/record/list/0.1/payload.d.ts +1 -1
  98. package/dist/registry/record/list/0.1/payload.d.ts.map +1 -1
  99. package/dist/registry/record/put/0.1/payload.d.ts +1 -1
  100. package/dist/registry/record/put/0.1/payload.d.ts.map +1 -1
  101. package/dist/registry/record/query/0.1/payload.d.ts +1 -1
  102. package/dist/registry/record/query/0.1/payload.d.ts.map +1 -1
  103. package/dist/registry/record/read/0.1/payload.d.ts +1 -1
  104. package/dist/registry/record/read/0.1/payload.d.ts.map +1 -1
  105. package/dist/registry/record/update/0.1/payload.d.ts +1 -1
  106. package/dist/registry/record/update/0.1/payload.d.ts.map +1 -1
  107. package/dist/sync/event/0.1/payload.d.ts +1 -1
  108. package/dist/sync/event/0.1/payload.d.ts.map +1 -1
  109. package/dist/sync/event/0.2/payload.d.ts +1 -1
  110. package/dist/sync/event/0.2/payload.d.ts.map +1 -1
  111. package/dist/task-consent/decision/0.1/payload.d.ts +1 -1
  112. package/dist/task-consent/decision/0.1/payload.d.ts.map +1 -1
  113. package/dist/task-consent/granted/0.1/payload.d.ts +1 -1
  114. package/dist/task-consent/granted/0.1/payload.d.ts.map +1 -1
  115. package/dist/task-consent/request/0.1/payload.d.ts +1 -1
  116. package/dist/task-consent/request/0.1/payload.d.ts.map +1 -1
  117. package/dist/trust-ceremony-receipt/0.1/payload.d.ts +1 -1
  118. package/dist/trust-ceremony-receipt/0.1/payload.d.ts.map +1 -1
  119. package/dist/vault/_shared/0.3/consumer-context.d.ts +11 -0
  120. package/dist/vault/_shared/0.3/consumer-context.d.ts.map +1 -0
  121. package/dist/vault/_shared/0.3/consumer-context.js +6 -0
  122. package/dist/vault/_shared/0.3/consumer-context.js.map +1 -0
  123. package/dist/vault/_shared/0.3/sealed-envelope.d.ts +15 -0
  124. package/dist/vault/_shared/0.3/sealed-envelope.d.ts.map +1 -0
  125. package/dist/vault/_shared/0.3/sealed-envelope.js +6 -0
  126. package/dist/vault/_shared/0.3/sealed-envelope.js.map +1 -0
  127. package/dist/vault/_shared/0.3/session-blob.d.ts +13 -0
  128. package/dist/vault/_shared/0.3/session-blob.d.ts.map +1 -0
  129. package/dist/vault/_shared/0.3/session-blob.js +6 -0
  130. package/dist/vault/_shared/0.3/session-blob.js.map +1 -0
  131. package/dist/vault/_shared/0.3/vault-entry.d.ts +13 -0
  132. package/dist/vault/_shared/0.3/vault-entry.d.ts.map +1 -0
  133. package/dist/vault/_shared/0.3/vault-entry.js +6 -0
  134. package/dist/vault/_shared/0.3/vault-entry.js.map +1 -0
  135. package/dist/vault/_shared/0.3/vault-secret.d.ts +15 -0
  136. package/dist/vault/_shared/0.3/vault-secret.d.ts.map +1 -0
  137. package/dist/vault/_shared/0.3/vault-secret.js +6 -0
  138. package/dist/vault/_shared/0.3/vault-secret.js.map +1 -0
  139. package/dist/vault/get/0.1/payload.d.ts +1 -1
  140. package/dist/vault/get/0.1/payload.d.ts.map +1 -1
  141. package/dist/vault/get/0.2/payload.d.ts +1 -1
  142. package/dist/vault/get/0.2/payload.d.ts.map +1 -1
  143. package/dist/vault/get/0.3/payload.d.ts +211 -0
  144. package/dist/vault/get/0.3/payload.d.ts.map +1 -0
  145. package/dist/vault/get/0.3/payload.js +31 -0
  146. package/dist/vault/get/0.3/payload.js.map +1 -0
  147. package/dist/vault/list/0.1/payload.d.ts +1 -1
  148. package/dist/vault/list/0.1/payload.d.ts.map +1 -1
  149. package/dist/vault/list/0.2/payload.d.ts +1 -1
  150. package/dist/vault/list/0.2/payload.d.ts.map +1 -1
  151. package/dist/vault/list/0.3/payload.d.ts +287 -0
  152. package/dist/vault/list/0.3/payload.d.ts.map +1 -0
  153. package/dist/vault/list/0.3/payload.js +31 -0
  154. package/dist/vault/list/0.3/payload.js.map +1 -0
  155. package/dist/vault/proxy-login/0.1/payload.d.ts +1 -1
  156. package/dist/vault/proxy-login/0.1/payload.d.ts.map +1 -1
  157. package/dist/vault/proxy-login/0.2/payload.d.ts +1 -1
  158. package/dist/vault/proxy-login/0.2/payload.d.ts.map +1 -1
  159. package/dist/vault/release/0.1/payload.d.ts +1 -1
  160. package/dist/vault/release/0.1/payload.d.ts.map +1 -1
  161. package/dist/vault/release/0.2/payload.d.ts +1 -1
  162. package/dist/vault/release/0.2/payload.d.ts.map +1 -1
  163. package/dist/vault/sync/0.1/payload.d.ts +1 -1
  164. package/dist/vault/sync/0.1/payload.d.ts.map +1 -1
  165. package/dist/vault/sync/0.2/payload.d.ts +1 -1
  166. package/dist/vault/sync/0.2/payload.d.ts.map +1 -1
  167. package/dist/vault/upsert/0.1/payload.d.ts +1 -1
  168. package/dist/vault/upsert/0.1/payload.d.ts.map +1 -1
  169. package/dist/vault/upsert/0.2/payload.d.ts +1 -1
  170. package/dist/vault/upsert/0.2/payload.d.ts.map +1 -1
  171. package/dist/vault/upsert/0.3/payload.d.ts +305 -0
  172. package/dist/vault/upsert/0.3/payload.d.ts.map +1 -0
  173. package/dist/vault/upsert/0.3/payload.js +31 -0
  174. package/dist/vault/upsert/0.3/payload.js.map +1 -0
  175. package/dist/vrc/relationships/issue/0.1/payload.d.ts +1 -1
  176. package/dist/vrc/relationships/issue/0.1/payload.d.ts.map +1 -1
  177. package/dist/vta/contexts/did-templates/create/1.0/payload.d.ts +1 -1
  178. package/dist/vta/contexts/did-templates/create/1.0/payload.d.ts.map +1 -1
  179. package/dist/vta/contexts/did-templates/get/1.0/payload.d.ts +1 -1
  180. package/dist/vta/contexts/did-templates/get/1.0/payload.d.ts.map +1 -1
  181. package/dist/vta/contexts/did-templates/list/1.0/payload.d.ts +1 -1
  182. package/dist/vta/contexts/did-templates/list/1.0/payload.d.ts.map +1 -1
  183. package/dist/vta/contexts/did-templates/update/1.0/payload.d.ts +1 -1
  184. package/dist/vta/contexts/did-templates/update/1.0/payload.d.ts.map +1 -1
  185. package/dist/vta/credentials/issue/0.1/payload.d.ts +1 -1
  186. package/dist/vta/credentials/issue/0.1/payload.d.ts.map +1 -1
  187. package/dist/vta/credentials/issue/0.2/payload.d.ts +1 -1
  188. package/dist/vta/credentials/issue/0.2/payload.d.ts.map +1 -1
  189. package/dist/vta/credentials/revoke/0.1/payload.d.ts +1 -1
  190. package/dist/vta/credentials/revoke/0.1/payload.d.ts.map +1 -1
  191. package/dist/vta/did-templates/create/1.0/payload.d.ts +1 -1
  192. package/dist/vta/did-templates/create/1.0/payload.d.ts.map +1 -1
  193. package/dist/vta/did-templates/create/2.0/payload.d.ts +1 -1
  194. package/dist/vta/did-templates/create/2.0/payload.d.ts.map +1 -1
  195. package/dist/vta/did-templates/get/1.0/payload.d.ts +1 -1
  196. package/dist/vta/did-templates/get/1.0/payload.d.ts.map +1 -1
  197. package/dist/vta/did-templates/get/2.0/payload.d.ts +1 -1
  198. package/dist/vta/did-templates/get/2.0/payload.d.ts.map +1 -1
  199. package/dist/vta/did-templates/list/1.0/payload.d.ts +1 -1
  200. package/dist/vta/did-templates/list/1.0/payload.d.ts.map +1 -1
  201. package/dist/vta/did-templates/list/2.0/payload.d.ts +1 -1
  202. package/dist/vta/did-templates/list/2.0/payload.d.ts.map +1 -1
  203. package/dist/vta/did-templates/update/1.0/payload.d.ts +1 -1
  204. package/dist/vta/did-templates/update/1.0/payload.d.ts.map +1 -1
  205. package/dist/vta/did-templates/update/2.0/payload.d.ts +1 -1
  206. package/dist/vta/did-templates/update/2.0/payload.d.ts.map +1 -1
  207. package/dist/vtc/admin/invites/list/0.1/payload.d.ts +1 -1
  208. package/dist/vtc/admin/invites/list/0.1/payload.d.ts.map +1 -1
  209. package/dist/vtc/endorsements/issue/0.1/payload.d.ts +1 -1
  210. package/dist/vtc/endorsements/issue/0.1/payload.d.ts.map +1 -1
  211. package/dist/vtc/endorsements/list/0.1/payload.d.ts +1 -1
  212. package/dist/vtc/endorsements/list/0.1/payload.d.ts.map +1 -1
  213. package/dist/vtc/endorsements/revoke/0.1/payload.d.ts +1 -1
  214. package/dist/vtc/endorsements/revoke/0.1/payload.d.ts.map +1 -1
  215. package/dist/vtc/endorsements/show/0.1/payload.d.ts +1 -1
  216. package/dist/vtc/endorsements/show/0.1/payload.d.ts.map +1 -1
  217. package/dist/vtc/relationships/list/0.2/payload.d.ts +1 -1
  218. package/dist/vtc/relationships/list/0.2/payload.d.ts.map +1 -1
  219. package/dist/vtc/relationships/publish/0.2/payload.d.ts +1 -1
  220. package/dist/vtc/relationships/publish/0.2/payload.d.ts.map +1 -1
  221. package/dist/vtc/relationships/request/0.2/payload.d.ts +1 -1
  222. package/dist/vtc/relationships/request/0.2/payload.d.ts.map +1 -1
  223. package/dist/witness/session/submit/0.1/payload.d.ts +1 -1
  224. package/dist/witness/session/submit/0.1/payload.d.ts.map +1 -1
  225. package/package.json +1 -1
  226. package/src/audit/list/0.1/payload.ts +1 -1
  227. package/src/audit/verify/0.1/payload.ts +1 -1
  228. package/src/auth/step-up/approve-response/0.1/payload.ts +1 -1
  229. package/src/auth/step-up/approve-response/0.2/payload.ts +1 -1
  230. package/src/chat/message/0.1/payload.ts +1 -1
  231. package/src/consent/request/1.0/payload.ts +1 -1
  232. package/src/device/list/0.1/payload.ts +1 -1
  233. package/src/device/list/0.2/payload.ts +1 -1
  234. package/src/device/register/0.1/payload.ts +1 -1
  235. package/src/device/register/0.2/payload.ts +1 -1
  236. package/src/index.ts +9 -0
  237. package/src/keys/create/0.1/payload.ts +1 -1
  238. package/src/keys/derive-and-sign/0.1/payload.ts +1 -1
  239. package/src/keys/derive-and-sign-document/0.1/payload.ts +1 -1
  240. package/src/keys/list/0.1/payload.ts +1 -1
  241. package/src/keys/revoke/0.1/payload.ts +1 -1
  242. package/src/keys/show/0.1/payload.ts +1 -1
  243. package/src/keys/sign/0.1/payload.ts +1 -1
  244. package/src/messaging/access-list/add/0.1/payload.ts +1 -1
  245. package/src/messaging/access-list/clear/0.1/payload.ts +1 -1
  246. package/src/messaging/access-list/get/0.1/payload.ts +1 -1
  247. package/src/messaging/access-list/list/0.1/payload.ts +1 -1
  248. package/src/messaging/access-list/remove/0.1/payload.ts +1 -1
  249. package/src/messaging/access-list/update/0.1/payload.ts +1 -1
  250. package/src/messaging/account/add/0.1/payload.ts +1 -1
  251. package/src/messaging/account/change-queue-limits/0.1/payload.ts +1 -1
  252. package/src/messaging/account/change-type/0.1/payload.ts +1 -1
  253. package/src/messaging/account/get/0.1/payload.ts +1 -1
  254. package/src/messaging/account/list/0.1/payload.ts +1 -1
  255. package/src/messaging/account/remove/0.1/payload.ts +1 -1
  256. package/src/messaging/account/update/0.1/payload.ts +1 -1
  257. package/src/messaging/acl/get/0.1/payload.ts +1 -1
  258. package/src/messaging/acl/set/0.1/payload.ts +1 -1
  259. package/src/messaging/admin/add/0.1/payload.ts +1 -1
  260. package/src/messaging/admin/audit-log/0.1/payload.ts +1 -1
  261. package/src/messaging/admin/list/0.1/payload.ts +1 -1
  262. package/src/messaging/admin/strip/0.1/payload.ts +1 -1
  263. package/src/policy/evaluate/0.1/payload.ts +1 -1
  264. package/src/policy/evaluate/0.2/payload.ts +1 -1
  265. package/src/policy/evaluate/0.3/payload.ts +1 -1
  266. package/src/provision/integration/0.1/payload.ts +1 -1
  267. package/src/provision/integration/0.2/payload.ts +1 -1
  268. package/src/provision/integration/0.3/payload.ts +286 -0
  269. package/src/push/register/0.1/payload.ts +1 -1
  270. package/src/push/register/0.2/payload.ts +1 -1
  271. package/src/registry/record/create/0.1/payload.ts +1 -1
  272. package/src/registry/record/list/0.1/payload.ts +1 -1
  273. package/src/registry/record/put/0.1/payload.ts +1 -1
  274. package/src/registry/record/query/0.1/payload.ts +1 -1
  275. package/src/registry/record/read/0.1/payload.ts +1 -1
  276. package/src/registry/record/update/0.1/payload.ts +1 -1
  277. package/src/sync/event/0.1/payload.ts +1 -1
  278. package/src/sync/event/0.2/payload.ts +1 -1
  279. package/src/task-consent/decision/0.1/payload.ts +1 -1
  280. package/src/task-consent/granted/0.1/payload.ts +1 -1
  281. package/src/task-consent/request/0.1/payload.ts +1 -1
  282. package/src/trust-ceremony-receipt/0.1/payload.ts +1 -1
  283. package/src/vault/_shared/0.3/consumer-context.ts +11 -0
  284. package/src/vault/_shared/0.3/sealed-envelope.ts +15 -0
  285. package/src/vault/_shared/0.3/session-blob.ts +13 -0
  286. package/src/vault/_shared/0.3/vault-entry.ts +13 -0
  287. package/src/vault/_shared/0.3/vault-secret.ts +15 -0
  288. package/src/vault/get/0.1/payload.ts +1 -1
  289. package/src/vault/get/0.2/payload.ts +1 -1
  290. package/src/vault/get/0.3/payload.ts +226 -0
  291. package/src/vault/list/0.1/payload.ts +1 -1
  292. package/src/vault/list/0.2/payload.ts +1 -1
  293. package/src/vault/list/0.3/payload.ts +310 -0
  294. package/src/vault/proxy-login/0.1/payload.ts +1 -1
  295. package/src/vault/proxy-login/0.2/payload.ts +1 -1
  296. package/src/vault/release/0.1/payload.ts +1 -1
  297. package/src/vault/release/0.2/payload.ts +1 -1
  298. package/src/vault/sync/0.1/payload.ts +1 -1
  299. package/src/vault/sync/0.2/payload.ts +1 -1
  300. package/src/vault/upsert/0.1/payload.ts +1 -1
  301. package/src/vault/upsert/0.2/payload.ts +1 -1
  302. package/src/vault/upsert/0.3/payload.ts +328 -0
  303. package/src/vrc/relationships/issue/0.1/payload.ts +1 -1
  304. package/src/vta/contexts/did-templates/create/1.0/payload.ts +1 -1
  305. package/src/vta/contexts/did-templates/get/1.0/payload.ts +1 -1
  306. package/src/vta/contexts/did-templates/list/1.0/payload.ts +1 -1
  307. package/src/vta/contexts/did-templates/update/1.0/payload.ts +1 -1
  308. package/src/vta/credentials/issue/0.1/payload.ts +1 -1
  309. package/src/vta/credentials/issue/0.2/payload.ts +1 -1
  310. package/src/vta/credentials/revoke/0.1/payload.ts +1 -1
  311. package/src/vta/did-templates/create/1.0/payload.ts +1 -1
  312. package/src/vta/did-templates/create/2.0/payload.ts +1 -1
  313. package/src/vta/did-templates/get/1.0/payload.ts +1 -1
  314. package/src/vta/did-templates/get/2.0/payload.ts +1 -1
  315. package/src/vta/did-templates/list/1.0/payload.ts +1 -1
  316. package/src/vta/did-templates/list/2.0/payload.ts +1 -1
  317. package/src/vta/did-templates/update/1.0/payload.ts +1 -1
  318. package/src/vta/did-templates/update/2.0/payload.ts +1 -1
  319. package/src/vtc/admin/invites/list/0.1/payload.ts +1 -1
  320. package/src/vtc/endorsements/issue/0.1/payload.ts +1 -1
  321. package/src/vtc/endorsements/list/0.1/payload.ts +1 -1
  322. package/src/vtc/endorsements/revoke/0.1/payload.ts +1 -1
  323. package/src/vtc/endorsements/show/0.1/payload.ts +1 -1
  324. package/src/vtc/relationships/list/0.2/payload.ts +1 -1
  325. package/src/vtc/relationships/publish/0.2/payload.ts +1 -1
  326. package/src/vtc/relationships/request/0.2/payload.ts +1 -1
  327. package/src/witness/session/submit/0.1/payload.ts +1 -1
@@ -147,7 +147,7 @@ export interface Ext1 {
147
147
  export const TYPE_URI = "https://trusttasks.org/spec/messaging/account/get/0.1" as const;
148
148
 
149
149
  /** Stable alias for this specification's request payload shape. */
150
- export type Payload = Vid;
150
+ export type Payload = MessagingGetAccountPayload;
151
151
 
152
152
  /** Trust Task response type URI (request type URI + "#response"). */
153
153
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/account/get/0.1#response" as const;
@@ -162,7 +162,7 @@ export interface Ext1 {
162
162
  export const TYPE_URI = "https://trusttasks.org/spec/messaging/account/list/0.1" as const;
163
163
 
164
164
  /** Stable alias for this specification's request payload shape. */
165
- export type Payload = AccountType;
165
+ export type Payload = MessagingListAccountsPayload;
166
166
 
167
167
  /** Trust Task response type URI (request type URI + "#response"). */
168
168
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/account/list/0.1#response" as const;
@@ -44,7 +44,7 @@ export interface Ext1 {
44
44
  export const TYPE_URI = "https://trusttasks.org/spec/messaging/account/remove/0.1" as const;
45
45
 
46
46
  /** Stable alias for this specification's request payload shape. */
47
- export type Payload = Vid;
47
+ export type Payload = MessagingRemoveAccountPayload;
48
48
 
49
49
  /** Trust Task response type URI (request type URI + "#response"). */
50
50
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/account/remove/0.1#response" as const;
@@ -228,7 +228,7 @@ export interface Ext1 {
228
228
  export const TYPE_URI = "https://trusttasks.org/spec/messaging/account/update/0.1" as const;
229
229
 
230
230
  /** Stable alias for this specification's request payload shape. */
231
- export type Payload = Vid;
231
+ export type Payload = MessagingUpdateAccountPayload;
232
232
 
233
233
  /** Trust Task response type URI (request type URI + "#response"). */
234
234
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/account/update/0.1#response" as const;
@@ -120,7 +120,7 @@ export interface Ext1 {
120
120
  export const TYPE_URI = "https://trusttasks.org/spec/messaging/acl/get/0.1" as const;
121
121
 
122
122
  /** Stable alias for this specification's request payload shape. */
123
- export type Payload = Vid;
123
+ export type Payload = MessagingGetACLPayload;
124
124
 
125
125
  /** Trust Task response type URI (request type URI + "#response"). */
126
126
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/acl/get/0.1#response" as const;
@@ -164,7 +164,7 @@ export interface Ext1 {
164
164
  export const TYPE_URI = "https://trusttasks.org/spec/messaging/acl/set/0.1" as const;
165
165
 
166
166
  /** Stable alias for this specification's request payload shape. */
167
- export type Payload = Vid;
167
+ export type Payload = MessagingSetACLPayload;
168
168
 
169
169
  /** Trust Task response type URI (request type URI + "#response"). */
170
170
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/acl/set/0.1#response" as const;
@@ -44,7 +44,7 @@ export interface Ext1 {
44
44
  export const TYPE_URI = "https://trusttasks.org/spec/messaging/admin/add/0.1" as const;
45
45
 
46
46
  /** Stable alias for this specification's request payload shape. */
47
- export type Payload = Vid;
47
+ export type Payload = MessagingAddAdminsPayload;
48
48
 
49
49
  /** Trust Task response type URI (request type URI + "#response"). */
50
50
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/admin/add/0.1#response" as const;
@@ -84,7 +84,7 @@ export interface Ext1 {
84
84
  export const TYPE_URI = "https://trusttasks.org/spec/messaging/admin/audit-log/0.1" as const;
85
85
 
86
86
  /** Stable alias for this specification's request payload shape. */
87
- export type Payload = Vid;
87
+ export type Payload = MessagingAuditLogPayload;
88
88
 
89
89
  /** Trust Task response type URI (request type URI + "#response"). */
90
90
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/admin/audit-log/0.1#response" as const;
@@ -61,7 +61,7 @@ export interface Ext1 {
61
61
  export const TYPE_URI = "https://trusttasks.org/spec/messaging/admin/list/0.1" as const;
62
62
 
63
63
  /** Stable alias for this specification's request payload shape. */
64
- export type Payload = Vid;
64
+ export type Payload = MessagingListAdminsPayload;
65
65
 
66
66
  /** Trust Task response type URI (request type URI + "#response"). */
67
67
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/admin/list/0.1#response" as const;
@@ -44,7 +44,7 @@ export interface Ext1 {
44
44
  export const TYPE_URI = "https://trusttasks.org/spec/messaging/admin/strip/0.1" as const;
45
45
 
46
46
  /** Stable alias for this specification's request payload shape. */
47
- export type Payload = Vid;
47
+ export type Payload = MessagingStripAdminsPayload;
48
48
 
49
49
  /** Trust Task response type URI (request type URI + "#response"). */
50
50
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/admin/strip/0.1#response" as const;
@@ -133,7 +133,7 @@ export interface PolicyDecision {
133
133
  export const TYPE_URI = "https://trusttasks.org/spec/policy/evaluate/0.1" as const;
134
134
 
135
135
  /** Stable alias for this specification's request payload shape. */
136
- export type Payload = SiteTarget;
136
+ export type Payload = PolicyEvaluatePayload;
137
137
 
138
138
  /** Trust Task response type URI (request type URI + "#response"). */
139
139
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/policy/evaluate/0.1#response" as const;
@@ -133,7 +133,7 @@ export interface PolicyDecision {
133
133
  export const TYPE_URI = "https://trusttasks.org/spec/policy/evaluate/0.2" as const;
134
134
 
135
135
  /** Stable alias for this specification's request payload shape. */
136
- export type Payload = SiteTarget;
136
+ export type Payload = PolicyEvaluatePayload;
137
137
 
138
138
  /** Trust Task response type URI (request type URI + "#response"). */
139
139
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/policy/evaluate/0.2#response" as const;
@@ -177,7 +177,7 @@ export interface PolicyDecision {
177
177
  export const TYPE_URI = "https://trusttasks.org/spec/policy/evaluate/0.3" as const;
178
178
 
179
179
  /** Stable alias for this specification's request payload shape. */
180
- export type Payload = DigestMultibase;
180
+ export type Payload = PolicyEvaluatePayload;
181
181
 
182
182
  /** Trust Task response type URI (request type URI + "#response"). */
183
183
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/policy/evaluate/0.3#response" as const;
@@ -252,7 +252,7 @@ export interface Ext1 {
252
252
  export const TYPE_URI = "https://trusttasks.org/spec/provision/integration/0.1" as const;
253
253
 
254
254
  /** Stable alias for this specification's request payload shape. */
255
- export type Payload = BootstrapAsk;
255
+ export type Payload = ProvisionIntegrationPayload;
256
256
 
257
257
  /** Trust Task response type URI (request type URI + "#response"). */
258
258
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/provision/integration/0.1#response" as const;
@@ -252,7 +252,7 @@ export interface Ext1 {
252
252
  export const TYPE_URI = "https://trusttasks.org/spec/provision/integration/0.2" as const;
253
253
 
254
254
  /** Stable alias for this specification's request payload shape. */
255
- export type Payload = BootstrapAsk;
255
+ export type Payload = ProvisionIntegrationPayload;
256
256
 
257
257
  /** Trust Task response type URI (request type URI + "#response"). */
258
258
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/provision/integration/0.2#response" as const;
@@ -0,0 +1,286 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/provision/integration/0.3/payload.schema.json
4
+ */
5
+
6
+ /**
7
+ * What the holder is asking the maintainer to do. Tagged on `type`; see `TemplateBootstrapAsk` and `AdminRotationAsk`.
8
+ */
9
+ export type BootstrapAsk = TemplateBootstrapAsk | AdminRotationAsk;
10
+ /**
11
+ * Digest over the armored ciphertext, for holders that pin the bundle out-of-band. Taken over the armored bytes exactly as carried in `bundle`, not over a canonicalization: the armor is the artifact, and re-armoring the same ciphertext does not have to reproduce the same bytes.
12
+ */
13
+ export type DigestMultibase = string;
14
+
15
+ /**
16
+ * Relayer presents a VP-signed bootstrap request from an integration holder; the maintainer mints the integration's DIDs and admin credential from a registered DID template and ships the material back HPKE-sealed to the holder's ephemeral did:key. Two ask variants are supported: TemplateBootstrap (mint integration DID + optional admin DID) and AdminRotation (mint only the long-term admin DID).
17
+ */
18
+ export interface ProvisionIntegrationPayload {
19
+ request: BootstrapRequest;
20
+ /**
21
+ * The maintainer's context identifier the integration is to be provisioned into. When present, authoritative — overrides any `contextHint` carried inside `request.ask`. When ABSENT, the maintainer infers the target context using these rules in order: (1) if the relayer's grant scopes to exactly one context, use that context; (2) if the relayer is a super-admin (Admin role with unrestricted scope) and the maintainer has exactly one context registered, use that context; (3) otherwise reject the request with `provision/integration:context_required`. Wallet-class consumers (browser plugins, mobile companions) that don't know the maintainer's context layout SHOULD omit this field; integration-class consumers (mediator, did-hosting) targeting a specific operational context SHOULD send it explicitly.
22
+ */
23
+ context?: string;
24
+ /**
25
+ * Producer-assertion mode the maintainer should apply to the returned sealed bundle. `didSigned` (default) — Ed25519 signature over the bundle's domain-bound digest, verified by the holder against the maintainer's published key. `pinnedOnly` — holder pins the bundle's SHA-256 digest as the sole integrity anchor; for dev/test only. Maintainers MAY support additional modes (e.g. `attested` for TEE deployments) and respond with `provision/integration:assertion_unsupported` to unsupported requests.
26
+ */
27
+ assertion?: "didSigned" | "pinnedOnly";
28
+ /**
29
+ * Caller-preferred validity window for the issued VtaAuthorizationCredential, in seconds. The maintainer's policy applies a floor and ceiling; values outside that range MAY be silently clamped. Defaults to the maintainer's policy default (typically 3600s).
30
+ */
31
+ vcValiditySeconds?: number;
32
+ /**
33
+ * When `true`, the maintainer provisions the target context inline if it does not already exist. Requires super-admin role on the maintainer; context-admin callers MUST receive `provision/integration:forbidden` against a missing context. Idempotent when the context already exists.
34
+ */
35
+ createContext?: boolean;
36
+ ext?: Ext;
37
+ }
38
+ /**
39
+ * VP-framed bootstrap request signed by the holder's ephemeral did:key. The proof here is independent of, and additional to, the outer Trust Task envelope's proof — it authenticates the holder (the party the sealed bundle is encrypted for), whereas the envelope's proof authenticates the relayer (the party making the call). The two MAY be the same DID in the common case.
40
+ */
41
+ export interface BootstrapRequest {
42
+ /**
43
+ * JSON-LD contexts. MUST contain both `https://www.w3.org/ns/credentials/v2` and `https://openvtc.org/contexts/bootstrap-v1`. Maintainers verifying the proof MAY refuse other shapes.
44
+ *
45
+ * @minItems 2
46
+ */
47
+ "@context": [string, string, ...string[]];
48
+ /**
49
+ * VP types. MUST contain both `VerifiablePresentation` and `BootstrapRequest`. Additional task-specific types MAY be present.
50
+ *
51
+ * @minItems 2
52
+ */
53
+ type: [string, string, ...string[]];
54
+ /**
55
+ * URN-shaped identifier for this presentation. `urn:uuid:<v4>` is RECOMMENDED.
56
+ */
57
+ id: string;
58
+ /**
59
+ * The integration's ephemeral did:key (Ed25519). Identifies the party the returned bundle is HPKE-sealed for; the VP proof verifies under this DID's verification method.
60
+ */
61
+ holder: string;
62
+ /**
63
+ * 16 random bytes encoded as base64url-no-pad (22 characters). The maintainer treats this as the sealed bundle's `bundleId` (decoded to hex, exposed in `summary.bundleIdHex`) and SHOULD enforce one-shot semantics — a second provisioning with the same nonce MUST be refused as a replay.
64
+ */
65
+ nonce: string;
66
+ /**
67
+ * Freshness bound for the VP. RFC 3339 UTC. Maintainers SHOULD allow ±5 minutes of clock skew.
68
+ */
69
+ validUntil: string;
70
+ /**
71
+ * Optional human-readable label carried into the maintainer's audit log.
72
+ */
73
+ label?: string;
74
+ ask: BootstrapAsk;
75
+ proof: DataIntegrityProof;
76
+ }
77
+ /**
78
+ * Mint an integration DID from `template`, and (when `adminTemplate` is present) atomically roll over the holder to a fresh long-term admin DID minted from `adminTemplate`.
79
+ */
80
+ export interface TemplateBootstrapAsk {
81
+ type: "templateBootstrap";
82
+ /**
83
+ * Hint for the integration's target context. The wire `payload.context` is authoritative; this hint exists for documentation / cross-check only.
84
+ */
85
+ contextHint?: string;
86
+ template: DidTemplateRef;
87
+ adminTemplate?: DidTemplateRef1;
88
+ /**
89
+ * Free-form operator note carried into the maintainer's audit log.
90
+ */
91
+ note?: string;
92
+ }
93
+ /**
94
+ * Integration template. MUST be registered at the maintainer; MUST declare a `kind` other than `"admin"`.
95
+ */
96
+ export interface DidTemplateRef {
97
+ /**
98
+ * Template name as registered at the maintainer (built-in or operator-uploaded). Examples of built-ins shipped with VTA deployments: `didcomm-mediator`, `vta-admin`, `did-hosting-control`, `did-hosting-daemon`, `did-hosting-server`.
99
+ */
100
+ name: string;
101
+ /**
102
+ * Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:template_vars_invalid`.
103
+ */
104
+ vars?: {
105
+ [k: string]: unknown | undefined;
106
+ };
107
+ }
108
+ /**
109
+ * Optional admin-DID template. When present, the maintainer mints a fresh long-term admin DID + keys, binds the authorization VC + ACL row to it, and rolls the holder over from the ephemeral did:key in the same transaction. When absent, the authorization VC's subject and ACL row are bound to the ephemeral `holder`, which the operator is expected to swap via `acl/swap-key/0.1` before steady-state operation. MUST declare `kind == "admin"` when present.
110
+ */
111
+ export interface DidTemplateRef1 {
112
+ /**
113
+ * Template name as registered at the maintainer (built-in or operator-uploaded). Examples of built-ins shipped with VTA deployments: `didcomm-mediator`, `vta-admin`, `did-hosting-control`, `did-hosting-daemon`, `did-hosting-server`.
114
+ */
115
+ name: string;
116
+ /**
117
+ * Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:template_vars_invalid`.
118
+ */
119
+ vars?: {
120
+ [k: string]: unknown | undefined;
121
+ };
122
+ }
123
+ /**
124
+ * Admin-only mint. No integration DID is produced. Used by holders that bring (or will mint elsewhere) their own integration-side identity and only need an admin credential at this maintainer.
125
+ */
126
+ export interface AdminRotationAsk {
127
+ type: "adminRotation";
128
+ /**
129
+ * Hint for the admin grant's target context. The wire `payload.context` is authoritative.
130
+ */
131
+ contextHint?: string;
132
+ adminTemplate: DidTemplateRef2;
133
+ /**
134
+ * Free-form operator note carried into the maintainer's audit log.
135
+ */
136
+ note?: string;
137
+ }
138
+ /**
139
+ * Admin-DID template. MUST be registered at the maintainer and MUST declare `kind == "admin"`.
140
+ */
141
+ export interface DidTemplateRef2 {
142
+ /**
143
+ * Template name as registered at the maintainer (built-in or operator-uploaded). Examples of built-ins shipped with VTA deployments: `didcomm-mediator`, `vta-admin`, `did-hosting-control`, `did-hosting-daemon`, `did-hosting-server`.
144
+ */
145
+ name: string;
146
+ /**
147
+ * Variable bindings the maintainer feeds to the template renderer. MUST satisfy the template's `requiredVars`; values for `optionalVars` MAY be supplied. Unknown vars are rejected with `provision/integration:template_vars_invalid`.
148
+ */
149
+ vars?: {
150
+ [k: string]: unknown | undefined;
151
+ };
152
+ }
153
+ /**
154
+ * Data Integrity proof signed by the holder's Ed25519 key. Cryptosuite MUST equal `eddsa-jcs-2022`. `proofPurpose` MUST equal `authentication`. `verificationMethod` MUST resolve under `holder`. Signs the JCS canonicalisation of the VP with `proof` removed.
155
+ */
156
+ export interface DataIntegrityProof {
157
+ type: "DataIntegrityProof";
158
+ /**
159
+ * This version pins `eddsa-jcs-2022`. Maintainers MUST reject other values until a future minor extends the allowlist.
160
+ */
161
+ cryptosuite: string;
162
+ /**
163
+ * DID URL with fragment. The DID portion (left of `#`) MUST equal `holder`.
164
+ */
165
+ verificationMethod: string;
166
+ created?: string;
167
+ proofPurpose: "authentication";
168
+ /**
169
+ * Multibase-encoded Ed25519 signature.
170
+ */
171
+ proofValue: string;
172
+ [k: string]: unknown | undefined;
173
+ }
174
+ /**
175
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
176
+ */
177
+ export interface Ext {
178
+ [k: string]: unknown | undefined;
179
+ }
180
+ /**
181
+ * Carried in a Trust Task document whose type is https://trusttasks.org/spec/provision/integration/0.1#response. The sealed `bundle` is the secret-bearing artefact; `summary` is non-secret audit metadata.
182
+ */
183
+ export interface ProvisionIntegrationResponsePayload {
184
+ /**
185
+ * OpenPGP-style ASCII-armored ciphertext of `SealedPayloadV1`. HPKE base mode, X25519-HKDF-SHA256 KEM, ChaCha20-Poly1305 AEAD, info string `vta-sealed-transfer/v1`. Recipient is the X25519 derivation of `request.holder`'s Ed25519 pubkey.
186
+ */
187
+ bundle: string;
188
+ digestMultibase?: DigestMultibase;
189
+ summary: ProvisionSummary;
190
+ ext?: Ext1;
191
+ }
192
+ /**
193
+ * Non-secret audit metadata. MUST NOT include any private key material; the bundle is the only secret-bearing field.
194
+ */
195
+ export interface ProvisionSummary {
196
+ /**
197
+ * Ephemeral did:key the holder signed the VP with and opens the sealed bundle with. Echo of `request.holder`.
198
+ */
199
+ clientDid: string;
200
+ /**
201
+ * Long-term admin DID after this provisioning. Equals `clientDid` when no admin rollover occurred (TemplateBootstrap with no `adminTemplate`); equals the freshly-minted admin DID when `adminTemplate` was used or when the ask was `adminRotation`. Maintainers that pre-date admin rollover MAY omit this; consumers SHOULD default it to `clientDid` for backward compatibility.
202
+ */
203
+ adminDid?: string;
204
+ /**
205
+ * True when the maintainer minted a fresh long-term admin DID and bound the authorization VC + ACL row to it (i.e. `adminDid != clientDid`).
206
+ */
207
+ adminRolledOver?: boolean;
208
+ /**
209
+ * DID rendered from the integration template. Absent for `adminRotation` (no integration was rendered).
210
+ */
211
+ integrationDid?: string;
212
+ /**
213
+ * Name of the integration template that was rendered. Absent for `adminRotation`.
214
+ */
215
+ templateName?: string;
216
+ /**
217
+ * `kind` of the integration template (e.g. `mediator`, `did-hosting-control`, `app`). Absent for `adminRotation`.
218
+ */
219
+ templateKind?: string;
220
+ /**
221
+ * Name of the admin template that was rendered. Present when an admin DID was minted (either via `TemplateBootstrap.adminTemplate` or `adminRotation`).
222
+ */
223
+ adminTemplateName?: string;
224
+ /**
225
+ * VP nonce as lowercase hex (32 characters = 16 bytes). MUST equal the `Bundle-Id` armor header of `bundle`. Cross-check anchor: a holder that decodes the VP nonce can verify the bundle they opened matches the one the maintainer minted for them.
226
+ */
227
+ bundleIdHex: string;
228
+ /**
229
+ * Number of DIDs the sealed bundle carries private key material for. `templateBootstrap` with no adminTemplate typically yields 1 (the integration DID's keys). `adminRotation` yields 0 (the `admin` field is top-level, not under `secrets`).
230
+ */
231
+ secretCount: number;
232
+ /**
233
+ * Number of template-declared side outputs the sealed bundle carries (`did.jsonl` logs, DIDComm service advertisements, etc.). Always 0 for `adminRotation`.
234
+ */
235
+ outputCount: number;
236
+ /**
237
+ * Identifier of the registered webvh hosting server the maintainer published the integration's `did.jsonl` to, if any. Absent when the integration is self-hosted or when the template did not declare a webvh server var.
238
+ */
239
+ webvhServerId?: string;
240
+ /**
241
+ * True when `payload.createContext` was honoured and the maintainer provisioned the target context inline. False when the context already existed (or when `createContext` was omitted / false).
242
+ */
243
+ contextCreated?: boolean;
244
+ }
245
+ /**
246
+ * 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.
247
+ */
248
+ export interface Ext1 {
249
+ [k: string]: unknown | undefined;
250
+ }
251
+
252
+ /** Trust Task type URI. */
253
+ export const TYPE_URI = "https://trusttasks.org/spec/provision/integration/0.3" as const;
254
+
255
+ /** Stable alias for this specification's request payload shape. */
256
+ export type Payload = ProvisionIntegrationPayload;
257
+
258
+ /** Trust Task response type URI (request type URI + "#response"). */
259
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/provision/integration/0.3#response" as const;
260
+
261
+ /** Stable alias for this specification's success-response payload shape. */
262
+ export type Response = ProvisionIntegrationResponsePayload;
263
+
264
+ /**
265
+ * SPEC.md §7.2 policy for the request variant, from this specification's
266
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
267
+ * per-specification and cannot be derived from the document alone.
268
+ */
269
+ export const SPEC = {
270
+ typeUri: TYPE_URI,
271
+ isBearer: false,
272
+ isProofRequired: true,
273
+ isRecipientRequired: true,
274
+ } as const;
275
+
276
+ /**
277
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
278
+ * tracks the *issuer* party's requirement because a response swaps the
279
+ * parties (§7.3 item 5).
280
+ */
281
+ export const RESPONSE_SPEC = {
282
+ typeUri: RESPONSE_TYPE_URI,
283
+ isBearer: false,
284
+ isProofRequired: true,
285
+ isRecipientRequired: false,
286
+ } as const;
@@ -89,7 +89,7 @@ export interface WakeHandle {
89
89
  export const TYPE_URI = "https://trusttasks.org/spec/push/register/0.1" as const;
90
90
 
91
91
  /** Stable alias for this specification's request payload shape. */
92
- export type Payload = PushRegistration;
92
+ export type Payload = PushRegisterPayload;
93
93
 
94
94
  /** Trust Task response type URI (request type URI + "#response"). */
95
95
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/push/register/0.1#response" as const;
@@ -89,7 +89,7 @@ export interface WakeHandle {
89
89
  export const TYPE_URI = "https://trusttasks.org/spec/push/register/0.2" as const;
90
90
 
91
91
  /** Stable alias for this specification's request payload shape. */
92
- export type Payload = PushRegistration;
92
+ export type Payload = PushRegisterPayload;
93
93
 
94
94
  /** Trust Task response type URI (request type URI + "#response"). */
95
95
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/push/register/0.2#response" as const;
@@ -58,7 +58,7 @@ export interface RegistryRecordCreateResponsePayload {
58
58
  export const TYPE_URI = "https://trusttasks.org/spec/registry/record/create/0.1" as const;
59
59
 
60
60
  /** Stable alias for this specification's request payload shape. */
61
- export type Payload = RecordType;
61
+ export type Payload = RegistryRecordCreatePayload;
62
62
 
63
63
  /** Trust Task response type URI (request type URI + "#response"). */
64
64
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/registry/record/create/0.1#response" as const;
@@ -53,7 +53,7 @@ export interface TrustRecord {
53
53
  export const TYPE_URI = "https://trusttasks.org/spec/registry/record/list/0.1" as const;
54
54
 
55
55
  /** Stable alias for this specification's request payload shape. */
56
- export type Payload = RecordType;
56
+ export type Payload = RegistryRecordListPayload;
57
57
 
58
58
  /** Trust Task response type URI (request type URI + "#response"). */
59
59
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/registry/record/list/0.1#response" as const;
@@ -66,7 +66,7 @@ export interface RegistryRecordPutResponsePayload {
66
66
  export const TYPE_URI = "https://trusttasks.org/spec/registry/record/put/0.1" as const;
67
67
 
68
68
  /** Stable alias for this specification's request payload shape. */
69
- export type Payload = RecordType;
69
+ export type Payload = RegistryRecordPutPayload;
70
70
 
71
71
  /** Trust Task response type URI (request type URI + "#response"). */
72
72
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/registry/record/put/0.1#response" as const;
@@ -81,7 +81,7 @@ export interface TrustRecord {
81
81
  export const TYPE_URI = "https://trusttasks.org/spec/registry/record/query/0.1" as const;
82
82
 
83
83
  /** Stable alias for this specification's request payload shape. */
84
- export type Payload = RecordType;
84
+ export type Payload = RegistryRecordQueryPayload;
85
85
 
86
86
  /** Trust Task response type URI (request type URI + "#response"). */
87
87
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/registry/record/query/0.1#response" as const;
@@ -41,7 +41,7 @@ export interface RegistryRecordReadResponsePayloadATrustRecord {
41
41
  export const TYPE_URI = "https://trusttasks.org/spec/registry/record/read/0.1" as const;
42
42
 
43
43
  /** Stable alias for this specification's request payload shape. */
44
- export type Payload = RecordType;
44
+ export type Payload = RegistryRecordReadPayload;
45
45
 
46
46
  /** Trust Task response type URI (request type URI + "#response"). */
47
47
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/registry/record/read/0.1#response" as const;
@@ -58,7 +58,7 @@ export interface RegistryRecordUpdateResponsePayload {
58
58
  export const TYPE_URI = "https://trusttasks.org/spec/registry/record/update/0.1" as const;
59
59
 
60
60
  /** Stable alias for this specification's request payload shape. */
61
- export type Payload = RecordType;
61
+ export type Payload = RegistryRecordUpdatePayload;
62
62
 
63
63
  /** Trust Task response type URI (request type URI + "#response"). */
64
64
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/registry/record/update/0.1#response" as const;
@@ -216,7 +216,7 @@ export interface Ext1 {
216
216
  export const TYPE_URI = "https://trusttasks.org/spec/sync/event/0.1" as const;
217
217
 
218
218
  /** Stable alias for this specification's request payload shape. */
219
- export type Payload = SyncEvent;
219
+ export type Payload = SyncEventPayload;
220
220
 
221
221
  /**
222
222
  * SPEC.md §7.2 policy for the request variant, from this specification's
@@ -216,7 +216,7 @@ export interface Ext1 {
216
216
  export const TYPE_URI = "https://trusttasks.org/spec/sync/event/0.2" as const;
217
217
 
218
218
  /** Stable alias for this specification's request payload shape. */
219
- export type Payload = SyncEvent;
219
+ export type Payload = SyncEventPayload;
220
220
 
221
221
  /**
222
222
  * SPEC.md §7.2 policy for the request variant, from this specification's
@@ -62,7 +62,7 @@ export interface TaskConsentDecisionResponsePayload {
62
62
  export const TYPE_URI = "https://trusttasks.org/spec/task-consent/decision/0.1" as const;
63
63
 
64
64
  /** Stable alias for this specification's request payload shape. */
65
- export type Payload = DigestMultibase;
65
+ export type Payload = TaskConsentDecisionPayload;
66
66
 
67
67
  /** Trust Task response type URI (request type URI + "#response"). */
68
68
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/task-consent/decision/0.1#response" as const;
@@ -34,7 +34,7 @@ export interface Ext {
34
34
  export const TYPE_URI = "https://trusttasks.org/spec/task-consent/granted/0.1" as const;
35
35
 
36
36
  /** Stable alias for this specification's request payload shape. */
37
- export type Payload = DigestMultibase;
37
+ export type Payload = TaskConsentGrantedPayload;
38
38
 
39
39
  /**
40
40
  * SPEC.md §7.2 policy for the request variant, from this specification's
@@ -159,7 +159,7 @@ export interface TaskConsentRequestResponsePayload {
159
159
  export const TYPE_URI = "https://trusttasks.org/spec/task-consent/request/0.1" as const;
160
160
 
161
161
  /** Stable alias for this specification's request payload shape. */
162
- export type Payload = DigestMultibase;
162
+ export type Payload = TaskConsentRequestPayload;
163
163
 
164
164
  /** Trust Task response type URI (request type URI + "#response"). */
165
165
  export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/task-consent/request/0.1#response" as const;
@@ -121,7 +121,7 @@ export interface Ext {
121
121
  export const TYPE_URI = "https://trusttasks.org/spec/trust-ceremony-receipt/0.1" as const;
122
122
 
123
123
  /** Stable alias for this specification's request payload shape. */
124
- export type Payload = DigestMultibase;
124
+ export type Payload = TrustCeremonyReceiptPayload;
125
125
 
126
126
  /**
127
127
  * SPEC.md §7.2 policy for the request variant, from this specification's
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vault/_shared/0.3/consumer-context.schema.json
4
+ */
5
+
6
+ /**
7
+ * Reused by vault/proxy-login, vault/release, and any future vault task that needs to feed situational context to the maintainer's policy engine or carry the response to a step-up demand. Producer-supplied fields are advisory — the maintainer cross-checks anything security-relevant against its own state.
8
+ */
9
+ export interface ConsumerContextStepUpProofSharedDefinitionsUsedByVaultTasksThatHitThePolicyEngine {
10
+ [k: string]: unknown | undefined;
11
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vault/_shared/0.3/sealed-envelope.schema.json
4
+ */
5
+
6
+ /**
7
+ * Discriminated union over `envelope` kind, used by every vault task that ships secret material across the wire (vault/upsert/0.1 → SealedSecret, vault/release/0.1 → SealedSecret in the response, vault/proxy-login/0.1 → SealedSessionBlob in the response). The cleartext shape sitting INSIDE the envelope is task-specific — VaultSecret for the secret variants, SessionBlob for the proxy-login variant — and is referenced from each task's spec.
8
+ *
9
+ * Consumers dispatch on `envelope`. An unknown envelope kind MUST be rejected (`<task>:envelope_unsupported` error code) rather than silently accepted — there is no fallback to "try parsing as DIDComm". Producers SHOULD advertise the envelope kinds they emit via `trust-task-discovery/0.1`.
10
+ *
11
+ * Forward compatibility: this union starts with three variants for the OpenVTC stack today. New variants (KERI/ACDC envelopes, a future TSP successor, hardware-attested envelopes for TEE-to-TEE transfer, etc.) land as additional `oneOf` entries — never as silent schema relaxations on an existing variant.
12
+ */
13
+ export interface SealedEnvelopePluggableCipherBearingEnvelopeForVaultPayloads {
14
+ [k: string]: unknown | undefined;
15
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vault/_shared/0.3/session-blob.schema.json
4
+ */
5
+
6
+ /**
7
+ * Cleartext shape of the session material returned by vault/proxy-login/0.1. Like VaultSecret, this is documented for both sides to code-generate against; the wire-form is carried inside an HPKE-sealed envelope.
8
+ *
9
+ * A SessionBlob represents an active session at the third-party service the VTA logged in to on the holder's behalf. The Companion uses it to operate the session (e.g. inject cookies into the browser, set an Authorization header) without ever seeing the long-term credential. The session has a finite TTL; the Companion MUST discard the blob when `expiresAt` passes.
10
+ */
11
+ export interface SessionBlobSharedDefinitionForTheResultOfAProxyLogin {
12
+ [k: string]: unknown | undefined;
13
+ }