@openvtc/trust-tasks 0.20.7 → 0.21.0

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 (253) hide show
  1. package/CHANGELOG.md +320 -0
  2. package/dist/_shared/components.d.ts +299 -2
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/auth/passkey/enroll/invite/0.2/payload.d.ts +456 -0
  5. package/dist/auth/passkey/enroll/invite/0.2/payload.d.ts.map +1 -0
  6. package/dist/auth/passkey/enroll/invite/0.2/payload.js +248 -0
  7. package/dist/auth/passkey/enroll/invite/0.2/payload.js.map +1 -0
  8. package/dist/auth/passkey/enroll/redeem/finish/0.1/payload.d.ts +728 -0
  9. package/dist/auth/passkey/enroll/redeem/finish/0.1/payload.d.ts.map +1 -0
  10. package/dist/auth/passkey/enroll/redeem/finish/0.1/payload.js +430 -0
  11. package/dist/auth/passkey/enroll/redeem/finish/0.1/payload.js.map +1 -0
  12. package/dist/auth/passkey/enroll/redeem/start/0.1/payload.d.ts +1043 -0
  13. package/dist/auth/passkey/enroll/redeem/start/0.1/payload.d.ts.map +1 -0
  14. package/dist/auth/passkey/enroll/redeem/start/0.1/payload.js +628 -0
  15. package/dist/auth/passkey/enroll/redeem/start/0.1/payload.js.map +1 -0
  16. package/dist/auth/passkey/revoke/finish/0.2/payload.d.ts +533 -0
  17. package/dist/auth/passkey/revoke/finish/0.2/payload.d.ts.map +1 -0
  18. package/dist/auth/passkey/revoke/finish/0.2/payload.js +315 -0
  19. package/dist/auth/passkey/revoke/finish/0.2/payload.js.map +1 -0
  20. package/dist/auth/passkey/revoke/start/0.2/payload.d.ts +511 -0
  21. package/dist/auth/passkey/revoke/start/0.2/payload.d.ts.map +1 -0
  22. package/dist/auth/passkey/revoke/start/0.2/payload.js +297 -0
  23. package/dist/auth/passkey/revoke/start/0.2/payload.js.map +1 -0
  24. package/dist/auth/step-up/approve-request/0.3/payload.d.ts +613 -0
  25. package/dist/auth/step-up/approve-request/0.3/payload.d.ts.map +1 -0
  26. package/dist/auth/step-up/approve-request/0.3/payload.js +345 -0
  27. package/dist/auth/step-up/approve-request/0.3/payload.js.map +1 -0
  28. package/dist/auth/step-up/approve-response/0.4/payload.d.ts +887 -0
  29. package/dist/auth/step-up/approve-response/0.4/payload.d.ts.map +1 -0
  30. package/dist/auth/step-up/approve-response/0.4/payload.js +504 -0
  31. package/dist/auth/step-up/approve-response/0.4/payload.js.map +1 -0
  32. package/dist/auth/step-up/approve-response/0.5/payload.d.ts +887 -0
  33. package/dist/auth/step-up/approve-response/0.5/payload.d.ts.map +1 -0
  34. package/dist/auth/step-up/approve-response/0.5/payload.js +504 -0
  35. package/dist/auth/step-up/approve-response/0.5/payload.js.map +1 -0
  36. package/dist/backup/abort/0.1/payload.d.ts +262 -0
  37. package/dist/backup/abort/0.1/payload.d.ts.map +1 -0
  38. package/dist/backup/abort/0.1/payload.js +146 -0
  39. package/dist/backup/abort/0.1/payload.js.map +1 -0
  40. package/dist/backup/complete-export/0.1/payload.d.ts +262 -0
  41. package/dist/backup/complete-export/0.1/payload.d.ts.map +1 -0
  42. package/dist/backup/complete-export/0.1/payload.js +146 -0
  43. package/dist/backup/complete-export/0.1/payload.js.map +1 -0
  44. package/dist/backup/finalize-import/0.1/payload.d.ts +395 -0
  45. package/dist/backup/finalize-import/0.1/payload.d.ts.map +1 -0
  46. package/dist/backup/finalize-import/0.1/payload.js +209 -0
  47. package/dist/backup/finalize-import/0.1/payload.js.map +1 -0
  48. package/dist/backup/get-chunk/0.1/payload.d.ts +461 -0
  49. package/dist/backup/get-chunk/0.1/payload.d.ts.map +1 -0
  50. package/dist/backup/get-chunk/0.1/payload.js +250 -0
  51. package/dist/backup/get-chunk/0.1/payload.js.map +1 -0
  52. package/dist/backup/initiate-export/0.1/payload.d.ts +896 -0
  53. package/dist/backup/initiate-export/0.1/payload.d.ts.map +1 -0
  54. package/dist/backup/initiate-export/0.1/payload.js +507 -0
  55. package/dist/backup/initiate-export/0.1/payload.js.map +1 -0
  56. package/dist/backup/initiate-import/0.1/payload.d.ts +888 -0
  57. package/dist/backup/initiate-import/0.1/payload.d.ts.map +1 -0
  58. package/dist/backup/initiate-import/0.1/payload.js +504 -0
  59. package/dist/backup/initiate-import/0.1/payload.js.map +1 -0
  60. package/dist/backup/put-chunk/0.1/payload.d.ts +495 -0
  61. package/dist/backup/put-chunk/0.1/payload.d.ts.map +1 -0
  62. package/dist/backup/put-chunk/0.1/payload.js +265 -0
  63. package/dist/backup/put-chunk/0.1/payload.js.map +1 -0
  64. package/dist/device/list/0.1/payload.d.ts +4 -4
  65. package/dist/device/list/0.1/payload.d.ts.map +1 -1
  66. package/dist/device/list/0.1/payload.js +4 -2
  67. package/dist/device/list/0.1/payload.js.map +1 -1
  68. package/dist/device/list/0.2/payload.d.ts +4 -4
  69. package/dist/device/list/0.2/payload.d.ts.map +1 -1
  70. package/dist/device/list/0.2/payload.js +4 -2
  71. package/dist/device/list/0.2/payload.js.map +1 -1
  72. package/dist/device/register/0.1/payload.d.ts +4 -4
  73. package/dist/device/register/0.1/payload.d.ts.map +1 -1
  74. package/dist/device/register/0.1/payload.js +4 -2
  75. package/dist/device/register/0.1/payload.js.map +1 -1
  76. package/dist/device/register/0.2/payload.d.ts +4 -4
  77. package/dist/device/register/0.2/payload.d.ts.map +1 -1
  78. package/dist/device/register/0.2/payload.js +4 -2
  79. package/dist/device/register/0.2/payload.js.map +1 -1
  80. package/dist/git-ns/_shared/0.4/git-ns.d.ts +16 -0
  81. package/dist/git-ns/_shared/0.4/git-ns.d.ts.map +1 -0
  82. package/dist/git-ns/_shared/0.4/git-ns.js +6 -0
  83. package/dist/git-ns/_shared/0.4/git-ns.js.map +1 -0
  84. package/dist/git-ns/account/link-status/0.1/payload.d.ts +2 -2
  85. package/dist/git-ns/account/link-status/0.1/payload.js +2 -2
  86. package/dist/git-ns/account/link-status/0.1/payload.js.map +1 -1
  87. package/dist/git-ns/account/unlink/0.1/payload.d.ts +411 -0
  88. package/dist/git-ns/account/unlink/0.1/payload.d.ts.map +1 -0
  89. package/dist/git-ns/account/unlink/0.1/payload.js +228 -0
  90. package/dist/git-ns/account/unlink/0.1/payload.js.map +1 -0
  91. package/dist/git-ns/bridge/event/0.3/payload.d.ts +1682 -0
  92. package/dist/git-ns/bridge/event/0.3/payload.d.ts.map +1 -0
  93. package/dist/git-ns/bridge/event/0.3/payload.js +971 -0
  94. package/dist/git-ns/bridge/event/0.3/payload.js.map +1 -0
  95. package/dist/git-ns/bridge/job/0.4/payload.d.ts +1068 -0
  96. package/dist/git-ns/bridge/job/0.4/payload.d.ts.map +1 -0
  97. package/dist/git-ns/bridge/job/0.4/payload.js +573 -0
  98. package/dist/git-ns/bridge/job/0.4/payload.js.map +1 -0
  99. package/dist/git-ns/drift/resolve/0.3/payload.d.ts +1072 -0
  100. package/dist/git-ns/drift/resolve/0.3/payload.d.ts.map +1 -0
  101. package/dist/git-ns/drift/resolve/0.3/payload.js +634 -0
  102. package/dist/git-ns/drift/resolve/0.3/payload.js.map +1 -0
  103. package/dist/git-ns/namespace/reseat/0.3/payload.d.ts +515 -0
  104. package/dist/git-ns/namespace/reseat/0.3/payload.d.ts.map +1 -0
  105. package/dist/git-ns/namespace/reseat/0.3/payload.js +296 -0
  106. package/dist/git-ns/namespace/reseat/0.3/payload.js.map +1 -0
  107. package/dist/git-ns/repo/create/0.3/payload.d.ts +1101 -0
  108. package/dist/git-ns/repo/create/0.3/payload.d.ts.map +1 -0
  109. package/dist/git-ns/repo/create/0.3/payload.js +646 -0
  110. package/dist/git-ns/repo/create/0.3/payload.js.map +1 -0
  111. package/dist/git-ns/right/break-glass/0.1/payload.d.ts +685 -0
  112. package/dist/git-ns/right/break-glass/0.1/payload.d.ts.map +1 -0
  113. package/dist/git-ns/right/break-glass/0.1/payload.js +397 -0
  114. package/dist/git-ns/right/break-glass/0.1/payload.js.map +1 -0
  115. package/dist/git-ns/right/break-glass-notice/0.1/payload.d.ts +384 -0
  116. package/dist/git-ns/right/break-glass-notice/0.1/payload.d.ts.map +1 -0
  117. package/dist/git-ns/right/break-glass-notice/0.1/payload.js +216 -0
  118. package/dist/git-ns/right/break-glass-notice/0.1/payload.js.map +1 -0
  119. package/dist/git-ns/right/grant/0.3/payload.d.ts +678 -0
  120. package/dist/git-ns/right/grant/0.3/payload.d.ts.map +1 -0
  121. package/dist/git-ns/right/grant/0.3/payload.js +383 -0
  122. package/dist/git-ns/right/grant/0.3/payload.js.map +1 -0
  123. package/dist/git-ns/right/ratify/0.1/payload.d.ts +702 -0
  124. package/dist/git-ns/right/ratify/0.1/payload.d.ts.map +1 -0
  125. package/dist/git-ns/right/ratify/0.1/payload.js +404 -0
  126. package/dist/git-ns/right/ratify/0.1/payload.js.map +1 -0
  127. package/dist/git-ns/right/revoke/0.3/payload.d.ts +664 -0
  128. package/dist/git-ns/right/revoke/0.3/payload.d.ts.map +1 -0
  129. package/dist/git-ns/right/revoke/0.3/payload.js +378 -0
  130. package/dist/git-ns/right/revoke/0.3/payload.js.map +1 -0
  131. package/dist/git-ns/roles/reproject/0.1/payload.d.ts +325 -0
  132. package/dist/git-ns/roles/reproject/0.1/payload.d.ts.map +1 -0
  133. package/dist/git-ns/roles/reproject/0.1/payload.js +176 -0
  134. package/dist/git-ns/roles/reproject/0.1/payload.js.map +1 -0
  135. package/dist/git-ns/view/0.1/payload.d.ts +2 -2
  136. package/dist/git-ns/view/0.1/payload.js +2 -2
  137. package/dist/git-ns/view/0.1/payload.js.map +1 -1
  138. package/dist/git-ns/view/0.2/payload.d.ts +2 -2
  139. package/dist/git-ns/view/0.2/payload.js +2 -2
  140. package/dist/git-ns/view/0.2/payload.js.map +1 -1
  141. package/dist/git-ns/view/0.3/payload.d.ts +2 -2
  142. package/dist/git-ns/view/0.3/payload.js +2 -2
  143. package/dist/git-ns/view/0.3/payload.js.map +1 -1
  144. package/dist/git-ns/view/0.4/payload.d.ts +1696 -0
  145. package/dist/git-ns/view/0.4/payload.d.ts.map +1 -0
  146. package/dist/git-ns/view/0.4/payload.js +1012 -0
  147. package/dist/git-ns/view/0.4/payload.js.map +1 -0
  148. package/dist/index.d.ts +39 -0
  149. package/dist/index.d.ts.map +1 -1
  150. package/dist/index.js +39 -0
  151. package/dist/index.js.map +1 -1
  152. package/dist/messaging/message/status/0.1/payload.d.ts +372 -0
  153. package/dist/messaging/message/status/0.1/payload.d.ts.map +1 -0
  154. package/dist/messaging/message/status/0.1/payload.js +214 -0
  155. package/dist/messaging/message/status/0.1/payload.js.map +1 -0
  156. package/dist/vta/_shared/0.3/did-key-roles.d.ts +16 -0
  157. package/dist/vta/_shared/0.3/did-key-roles.d.ts.map +1 -0
  158. package/dist/vta/_shared/0.3/did-key-roles.js +6 -0
  159. package/dist/vta/_shared/0.3/did-key-roles.js.map +1 -0
  160. package/dist/vta/attestation/mnemonic-export/1.0/payload.d.ts +326 -0
  161. package/dist/vta/attestation/mnemonic-export/1.0/payload.d.ts.map +1 -0
  162. package/dist/vta/attestation/mnemonic-export/1.0/payload.js +175 -0
  163. package/dist/vta/attestation/mnemonic-export/1.0/payload.js.map +1 -0
  164. package/dist/vta/webvh/dids/keys/add/1.0/payload.d.ts +1914 -0
  165. package/dist/vta/webvh/dids/keys/add/1.0/payload.d.ts.map +1 -0
  166. package/dist/vta/webvh/dids/keys/add/1.0/payload.js +1128 -0
  167. package/dist/vta/webvh/dids/keys/add/1.0/payload.js.map +1 -0
  168. package/dist/vta/webvh/dids/keys/list/1.0/payload.d.ts +1603 -0
  169. package/dist/vta/webvh/dids/keys/list/1.0/payload.d.ts.map +1 -0
  170. package/dist/vta/webvh/dids/keys/list/1.0/payload.js +942 -0
  171. package/dist/vta/webvh/dids/keys/list/1.0/payload.js.map +1 -0
  172. package/dist/vta/webvh/dids/keys/retire/1.0/payload.d.ts +1914 -0
  173. package/dist/vta/webvh/dids/keys/retire/1.0/payload.d.ts.map +1 -0
  174. package/dist/vta/webvh/dids/keys/retire/1.0/payload.js +1123 -0
  175. package/dist/vta/webvh/dids/keys/retire/1.0/payload.js.map +1 -0
  176. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.d.ts +2021 -0
  177. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.d.ts.map +1 -0
  178. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.js +1168 -0
  179. package/dist/vta/webvh/dids/keys/revoke/1.0/payload.js.map +1 -0
  180. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.d.ts +1992 -0
  181. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.d.ts.map +1 -0
  182. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.js +1151 -0
  183. package/dist/vta/webvh/dids/rotate-keys/2.0/payload.js.map +1 -0
  184. package/dist/vta/webvh/dids/update/2.0/payload.d.ts +1062 -0
  185. package/dist/vta/webvh/dids/update/2.0/payload.d.ts.map +1 -0
  186. package/dist/vta/webvh/dids/update/2.0/payload.js +616 -0
  187. package/dist/vta/webvh/dids/update/2.0/payload.js.map +1 -0
  188. package/dist/vtc/credentials/reissue/0.1/payload.d.ts +502 -0
  189. package/dist/vtc/credentials/reissue/0.1/payload.d.ts.map +1 -0
  190. package/dist/vtc/credentials/reissue/0.1/payload.js +282 -0
  191. package/dist/vtc/credentials/reissue/0.1/payload.js.map +1 -0
  192. package/dist/vtc/members/personhood/challenge/0.1/payload.d.ts +2 -2
  193. package/dist/vtc/members/personhood/challenge/0.1/payload.js +2 -2
  194. package/dist/vtc/members/personhood/challenge/0.1/payload.js.map +1 -1
  195. package/dist/vtc/vetting/vetters/profile/0.1/payload.d.ts +2 -2
  196. package/dist/vtc/vetting/vetters/profile/0.1/payload.js +2 -2
  197. package/dist/vtc/vetting/vetters/profile/0.1/payload.js.map +1 -1
  198. package/dist/vtc/vetting/vetters/resend/0.1/payload.d.ts +2 -2
  199. package/dist/vtc/vetting/vetters/resend/0.1/payload.js +2 -2
  200. package/dist/vtc/vetting/vetters/resend/0.1/payload.js.map +1 -1
  201. package/package.json +1 -1
  202. package/src/_shared/components.ts +313 -2
  203. package/src/auth/passkey/enroll/invite/0.2/payload.ts +325 -0
  204. package/src/auth/passkey/enroll/redeem/finish/0.1/payload.ts +499 -0
  205. package/src/auth/passkey/enroll/redeem/start/0.1/payload.ts +700 -0
  206. package/src/auth/passkey/revoke/finish/0.2/payload.ts +379 -0
  207. package/src/auth/passkey/revoke/start/0.2/payload.ts +349 -0
  208. package/src/auth/step-up/approve-request/0.3/payload.ts +421 -0
  209. package/src/auth/step-up/approve-response/0.4/payload.ts +593 -0
  210. package/src/auth/step-up/approve-response/0.5/payload.ts +593 -0
  211. package/src/backup/abort/0.1/payload.ts +191 -0
  212. package/src/backup/complete-export/0.1/payload.ts +191 -0
  213. package/src/backup/finalize-import/0.1/payload.ts +279 -0
  214. package/src/backup/get-chunk/0.1/payload.ts +308 -0
  215. package/src/backup/initiate-export/0.1/payload.ts +564 -0
  216. package/src/backup/initiate-import/0.1/payload.ts +561 -0
  217. package/src/backup/put-chunk/0.1/payload.ts +331 -0
  218. package/src/device/list/0.1/payload.ts +4 -2
  219. package/src/device/list/0.2/payload.ts +4 -2
  220. package/src/device/register/0.1/payload.ts +4 -2
  221. package/src/device/register/0.2/payload.ts +4 -2
  222. package/src/git-ns/_shared/0.4/git-ns.ts +17 -0
  223. package/src/git-ns/account/link-status/0.1/payload.ts +2 -2
  224. package/src/git-ns/account/unlink/0.1/payload.ts +274 -0
  225. package/src/git-ns/bridge/event/0.3/payload.ts +1132 -0
  226. package/src/git-ns/bridge/job/0.4/payload.ts +691 -0
  227. package/src/git-ns/drift/resolve/0.3/payload.ts +707 -0
  228. package/src/git-ns/namespace/reseat/0.3/payload.ts +342 -0
  229. package/src/git-ns/repo/create/0.3/payload.ts +706 -0
  230. package/src/git-ns/right/break-glass/0.1/payload.ts +443 -0
  231. package/src/git-ns/right/break-glass-notice/0.1/payload.ts +258 -0
  232. package/src/git-ns/right/grant/0.3/payload.ts +434 -0
  233. package/src/git-ns/right/ratify/0.1/payload.ts +455 -0
  234. package/src/git-ns/right/revoke/0.3/payload.ts +425 -0
  235. package/src/git-ns/roles/reproject/0.1/payload.ts +220 -0
  236. package/src/git-ns/view/0.1/payload.ts +2 -2
  237. package/src/git-ns/view/0.2/payload.ts +2 -2
  238. package/src/git-ns/view/0.3/payload.ts +2 -2
  239. package/src/git-ns/view/0.4/payload.ts +1075 -0
  240. package/src/index.ts +39 -0
  241. package/src/messaging/message/status/0.1/payload.ts +270 -0
  242. package/src/vta/_shared/0.3/did-key-roles.ts +17 -0
  243. package/src/vta/attestation/mnemonic-export/1.0/payload.ts +232 -0
  244. package/src/vta/webvh/dids/keys/add/1.0/payload.ts +1217 -0
  245. package/src/vta/webvh/dids/keys/list/1.0/payload.ts +1004 -0
  246. package/src/vta/webvh/dids/keys/retire/1.0/payload.ts +1212 -0
  247. package/src/vta/webvh/dids/keys/revoke/1.0/payload.ts +1276 -0
  248. package/src/vta/webvh/dids/rotate-keys/2.0/payload.ts +1262 -0
  249. package/src/vta/webvh/dids/update/2.0/payload.ts +713 -0
  250. package/src/vtc/credentials/reissue/0.1/payload.ts +357 -0
  251. package/src/vtc/members/personhood/challenge/0.1/payload.ts +2 -2
  252. package/src/vtc/vetting/vetters/profile/0.1/payload.ts +2 -2
  253. package/src/vtc/vetting/vetters/resend/0.1/payload.ts +2 -2
@@ -0,0 +1,502 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/credentials/reissue/0.1/payload.schema.json
4
+ */
5
+ import type { Ext } from "../../../../_shared/components.js";
6
+ /**
7
+ * Ask a VTC to re-sign its status lists and re-issue the attestation artefacts still in force that an attestation key revoked for compromise signed, under the community's current attestation key. Re-sending the same request returns the progress of the job it started.
8
+ */
9
+ export interface VTCCredentialsReissuePayload {
10
+ /**
11
+ * The revocation that requires re-issuance. The VTC MUST verify it against its own DID's key roles (vta/webvh/dids/keys/list) rather than trust it.
12
+ */
13
+ cause: {
14
+ /**
15
+ * The attestation key of the community's DID that was revoked for compromise.
16
+ */
17
+ verificationMethod: string;
18
+ /**
19
+ * The VTA's rotation record (`kind: compromise`) for the revocation, when known.
20
+ */
21
+ rotationId?: string;
22
+ };
23
+ /**
24
+ * `all` (the default) re-signs status lists first and then re-issues artefacts. `statusListsOnly` re-signs status lists and stops — for an operator who must restore status checking within minutes and schedule the rest.
25
+ */
26
+ scope?: "all" | "statusListsOnly";
27
+ /**
28
+ * Report what would be re-signed and re-issued, without doing it. Absent reads as false.
29
+ */
30
+ dryRun?: boolean;
31
+ ext?: Ext;
32
+ }
33
+ /**
34
+ * Success response. Type https://trusttasks.org/spec/vtc/credentials/reissue/0.1#response. Counts only — never a list of members or credentials.
35
+ */
36
+ export interface VTCCredentialsReissueResponsePayload {
37
+ /**
38
+ * The job this cause started. The same cause always names the same job.
39
+ */
40
+ jobId: string;
41
+ /**
42
+ * `planned` — a dry run. `running` — status lists are being re-signed. `statusListsDone` — every status list is re-signed; artefacts are being re-issued (or, for `statusListsOnly`, the job is done). `completed` — everything in scope is re-signed and re-issued. `failed` — the job stopped; `artefacts.failed` and the audit trail say where.
43
+ */
44
+ state: "planned" | "running" | "statusListsDone" | "completed" | "failed";
45
+ dryRun: boolean;
46
+ statusLists: ReissueProgress;
47
+ artefacts: ReissueProgress;
48
+ /**
49
+ * The attestation keys (verification methods) the new signatures are made with.
50
+ */
51
+ signedWith?: string[];
52
+ ext?: Ext;
53
+ }
54
+ export interface ReissueProgress {
55
+ total: number;
56
+ done: number;
57
+ failed: number;
58
+ /**
59
+ * Artefacts re-issued but not yet delivered to their holder — the holder is offline or unreachable. They are held for the holder's next renewal or contact.
60
+ */
61
+ undeliverable?: number;
62
+ }
63
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
64
+ export type { Ext };
65
+ /** Trust Task type URI. */
66
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/credentials/reissue/0.1";
67
+ /** Stable alias for this specification's request payload shape. */
68
+ export type Payload = VTCCredentialsReissuePayload;
69
+ /** Trust Task response type URI (request type URI + "#response"). */
70
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/credentials/reissue/0.1#response";
71
+ /** Stable alias for this specification's success-response payload shape. */
72
+ export type Response = VTCCredentialsReissueResponsePayload;
73
+ /**
74
+ * This specification's payload schema, as a value.
75
+ *
76
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
77
+ * rather than only as a `.json` file because TypeScript types are erased
78
+ * at runtime: without a schema a consumer has nothing to validate, and
79
+ * every REQUIRED payload member is optional in practice. Cross-file
80
+ * `$ref`s are already inlined, so it needs no resolver.
81
+ */
82
+ export declare const PAYLOAD_SCHEMA: {
83
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
84
+ readonly $id: "https://trusttasks.org/spec/vtc/credentials/reissue/0.1";
85
+ readonly title: "VTC Credentials Reissue — payload";
86
+ readonly description: "Ask a VTC to re-sign its status lists and re-issue the attestation artefacts still in force that an attestation key revoked for compromise signed, under the community's current attestation key. Re-sending the same request returns the progress of the job it started.";
87
+ readonly type: "object";
88
+ readonly additionalProperties: false;
89
+ readonly required: readonly ["cause"];
90
+ readonly properties: {
91
+ readonly cause: {
92
+ readonly type: "object";
93
+ readonly additionalProperties: false;
94
+ readonly required: readonly ["verificationMethod"];
95
+ readonly description: "The revocation that requires re-issuance. The VTC MUST verify it against its own DID's key roles (vta/webvh/dids/keys/list) rather than trust it.";
96
+ readonly properties: {
97
+ readonly verificationMethod: {
98
+ readonly type: "string";
99
+ readonly minLength: 1;
100
+ readonly description: "The attestation key of the community's DID that was revoked for compromise.";
101
+ };
102
+ readonly rotationId: {
103
+ readonly type: "string";
104
+ readonly minLength: 1;
105
+ readonly description: "The VTA's rotation record (`kind: compromise`) for the revocation, when known.";
106
+ };
107
+ };
108
+ };
109
+ readonly scope: {
110
+ readonly type: "string";
111
+ readonly enum: readonly ["all", "statusListsOnly"];
112
+ readonly description: "`all` (the default) re-signs status lists first and then re-issues artefacts. `statusListsOnly` re-signs status lists and stops — for an operator who must restore status checking within minutes and schedule the rest.";
113
+ };
114
+ readonly dryRun: {
115
+ readonly type: "boolean";
116
+ readonly description: "Report what would be re-signed and re-issued, without doing it. Absent reads as false.";
117
+ };
118
+ readonly ext: {
119
+ readonly $ref: "#/$defs/Ext";
120
+ };
121
+ };
122
+ readonly $defs: {
123
+ readonly Response: {
124
+ readonly $anchor: "response";
125
+ readonly title: "VTC Credentials Reissue — response payload";
126
+ readonly description: "Success response. Type https://trusttasks.org/spec/vtc/credentials/reissue/0.1#response. Counts only — never a list of members or credentials.";
127
+ readonly type: "object";
128
+ readonly additionalProperties: false;
129
+ readonly required: readonly ["jobId", "state", "dryRun", "statusLists", "artefacts"];
130
+ readonly properties: {
131
+ readonly jobId: {
132
+ readonly type: "string";
133
+ readonly minLength: 1;
134
+ readonly description: "The job this cause started. The same cause always names the same job.";
135
+ };
136
+ readonly state: {
137
+ readonly type: "string";
138
+ readonly enum: readonly ["planned", "running", "statusListsDone", "completed", "failed"];
139
+ readonly description: "`planned` — a dry run. `running` — status lists are being re-signed. `statusListsDone` — every status list is re-signed; artefacts are being re-issued (or, for `statusListsOnly`, the job is done). `completed` — everything in scope is re-signed and re-issued. `failed` — the job stopped; `artefacts.failed` and the audit trail say where.";
140
+ };
141
+ readonly dryRun: {
142
+ readonly type: "boolean";
143
+ };
144
+ readonly statusLists: {
145
+ readonly $ref: "#/$defs/Progress";
146
+ };
147
+ readonly artefacts: {
148
+ readonly $ref: "#/$defs/Progress";
149
+ };
150
+ readonly signedWith: {
151
+ readonly type: "array";
152
+ readonly items: {
153
+ readonly type: "string";
154
+ };
155
+ readonly description: "The attestation keys (verification methods) the new signatures are made with.";
156
+ };
157
+ readonly ext: {
158
+ readonly $ref: "#/$defs/Ext";
159
+ };
160
+ };
161
+ };
162
+ readonly Progress: {
163
+ readonly title: "ReissueProgress";
164
+ readonly type: "object";
165
+ readonly additionalProperties: false;
166
+ readonly required: readonly ["total", "done", "failed"];
167
+ readonly properties: {
168
+ readonly total: {
169
+ readonly type: "integer";
170
+ readonly minimum: 0;
171
+ };
172
+ readonly done: {
173
+ readonly type: "integer";
174
+ readonly minimum: 0;
175
+ };
176
+ readonly failed: {
177
+ readonly type: "integer";
178
+ readonly minimum: 0;
179
+ };
180
+ readonly undeliverable: {
181
+ readonly type: "integer";
182
+ readonly minimum: 0;
183
+ readonly description: "Artefacts re-issued but not yet delivered to their holder — the holder is offline or unreachable. They are held for the holder's next renewal or contact.";
184
+ };
185
+ };
186
+ };
187
+ readonly Ext: {
188
+ readonly title: "Ext";
189
+ 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.";
190
+ readonly type: "object";
191
+ readonly minProperties: 1;
192
+ readonly additionalProperties: true;
193
+ readonly propertyNames: {
194
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
195
+ };
196
+ };
197
+ };
198
+ };
199
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
200
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
201
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
202
+ readonly $ref: "#/$defs/Response";
203
+ readonly $defs: {
204
+ readonly Response: {
205
+ readonly $anchor: "response";
206
+ readonly title: "VTC Credentials Reissue — response payload";
207
+ readonly description: "Success response. Type https://trusttasks.org/spec/vtc/credentials/reissue/0.1#response. Counts only — never a list of members or credentials.";
208
+ readonly type: "object";
209
+ readonly additionalProperties: false;
210
+ readonly required: readonly ["jobId", "state", "dryRun", "statusLists", "artefacts"];
211
+ readonly properties: {
212
+ readonly jobId: {
213
+ readonly type: "string";
214
+ readonly minLength: 1;
215
+ readonly description: "The job this cause started. The same cause always names the same job.";
216
+ };
217
+ readonly state: {
218
+ readonly type: "string";
219
+ readonly enum: readonly ["planned", "running", "statusListsDone", "completed", "failed"];
220
+ readonly description: "`planned` — a dry run. `running` — status lists are being re-signed. `statusListsDone` — every status list is re-signed; artefacts are being re-issued (or, for `statusListsOnly`, the job is done). `completed` — everything in scope is re-signed and re-issued. `failed` — the job stopped; `artefacts.failed` and the audit trail say where.";
221
+ };
222
+ readonly dryRun: {
223
+ readonly type: "boolean";
224
+ };
225
+ readonly statusLists: {
226
+ readonly $ref: "#/$defs/Progress";
227
+ };
228
+ readonly artefacts: {
229
+ readonly $ref: "#/$defs/Progress";
230
+ };
231
+ readonly signedWith: {
232
+ readonly type: "array";
233
+ readonly items: {
234
+ readonly type: "string";
235
+ };
236
+ readonly description: "The attestation keys (verification methods) the new signatures are made with.";
237
+ };
238
+ readonly ext: {
239
+ readonly $ref: "#/$defs/Ext";
240
+ };
241
+ };
242
+ };
243
+ readonly Progress: {
244
+ readonly title: "ReissueProgress";
245
+ readonly type: "object";
246
+ readonly additionalProperties: false;
247
+ readonly required: readonly ["total", "done", "failed"];
248
+ readonly properties: {
249
+ readonly total: {
250
+ readonly type: "integer";
251
+ readonly minimum: 0;
252
+ };
253
+ readonly done: {
254
+ readonly type: "integer";
255
+ readonly minimum: 0;
256
+ };
257
+ readonly failed: {
258
+ readonly type: "integer";
259
+ readonly minimum: 0;
260
+ };
261
+ readonly undeliverable: {
262
+ readonly type: "integer";
263
+ readonly minimum: 0;
264
+ readonly description: "Artefacts re-issued but not yet delivered to their holder — the holder is offline or unreachable. They are held for the holder's next renewal or contact.";
265
+ };
266
+ };
267
+ };
268
+ readonly Ext: {
269
+ readonly title: "Ext";
270
+ 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.";
271
+ readonly type: "object";
272
+ readonly minProperties: 1;
273
+ readonly additionalProperties: true;
274
+ readonly propertyNames: {
275
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
276
+ };
277
+ };
278
+ };
279
+ };
280
+ /**
281
+ * SPEC.md §7.2 policy for the request variant, from this specification's
282
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
283
+ * per-specification and cannot be derived from the document alone, and
284
+ * item 2 needs the schema this carries.
285
+ */
286
+ export declare const SPEC: {
287
+ readonly typeUri: "https://trusttasks.org/spec/vtc/credentials/reissue/0.1";
288
+ readonly isBearer: false;
289
+ readonly isProofRequired: true;
290
+ readonly isRecipientRequired: true;
291
+ readonly isIssuedAtRequired: true;
292
+ readonly payloadSchema: {
293
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
294
+ readonly $id: "https://trusttasks.org/spec/vtc/credentials/reissue/0.1";
295
+ readonly title: "VTC Credentials Reissue — payload";
296
+ readonly description: "Ask a VTC to re-sign its status lists and re-issue the attestation artefacts still in force that an attestation key revoked for compromise signed, under the community's current attestation key. Re-sending the same request returns the progress of the job it started.";
297
+ readonly type: "object";
298
+ readonly additionalProperties: false;
299
+ readonly required: readonly ["cause"];
300
+ readonly properties: {
301
+ readonly cause: {
302
+ readonly type: "object";
303
+ readonly additionalProperties: false;
304
+ readonly required: readonly ["verificationMethod"];
305
+ readonly description: "The revocation that requires re-issuance. The VTC MUST verify it against its own DID's key roles (vta/webvh/dids/keys/list) rather than trust it.";
306
+ readonly properties: {
307
+ readonly verificationMethod: {
308
+ readonly type: "string";
309
+ readonly minLength: 1;
310
+ readonly description: "The attestation key of the community's DID that was revoked for compromise.";
311
+ };
312
+ readonly rotationId: {
313
+ readonly type: "string";
314
+ readonly minLength: 1;
315
+ readonly description: "The VTA's rotation record (`kind: compromise`) for the revocation, when known.";
316
+ };
317
+ };
318
+ };
319
+ readonly scope: {
320
+ readonly type: "string";
321
+ readonly enum: readonly ["all", "statusListsOnly"];
322
+ readonly description: "`all` (the default) re-signs status lists first and then re-issues artefacts. `statusListsOnly` re-signs status lists and stops — for an operator who must restore status checking within minutes and schedule the rest.";
323
+ };
324
+ readonly dryRun: {
325
+ readonly type: "boolean";
326
+ readonly description: "Report what would be re-signed and re-issued, without doing it. Absent reads as false.";
327
+ };
328
+ readonly ext: {
329
+ readonly $ref: "#/$defs/Ext";
330
+ };
331
+ };
332
+ readonly $defs: {
333
+ readonly Response: {
334
+ readonly $anchor: "response";
335
+ readonly title: "VTC Credentials Reissue — response payload";
336
+ readonly description: "Success response. Type https://trusttasks.org/spec/vtc/credentials/reissue/0.1#response. Counts only — never a list of members or credentials.";
337
+ readonly type: "object";
338
+ readonly additionalProperties: false;
339
+ readonly required: readonly ["jobId", "state", "dryRun", "statusLists", "artefacts"];
340
+ readonly properties: {
341
+ readonly jobId: {
342
+ readonly type: "string";
343
+ readonly minLength: 1;
344
+ readonly description: "The job this cause started. The same cause always names the same job.";
345
+ };
346
+ readonly state: {
347
+ readonly type: "string";
348
+ readonly enum: readonly ["planned", "running", "statusListsDone", "completed", "failed"];
349
+ readonly description: "`planned` — a dry run. `running` — status lists are being re-signed. `statusListsDone` — every status list is re-signed; artefacts are being re-issued (or, for `statusListsOnly`, the job is done). `completed` — everything in scope is re-signed and re-issued. `failed` — the job stopped; `artefacts.failed` and the audit trail say where.";
350
+ };
351
+ readonly dryRun: {
352
+ readonly type: "boolean";
353
+ };
354
+ readonly statusLists: {
355
+ readonly $ref: "#/$defs/Progress";
356
+ };
357
+ readonly artefacts: {
358
+ readonly $ref: "#/$defs/Progress";
359
+ };
360
+ readonly signedWith: {
361
+ readonly type: "array";
362
+ readonly items: {
363
+ readonly type: "string";
364
+ };
365
+ readonly description: "The attestation keys (verification methods) the new signatures are made with.";
366
+ };
367
+ readonly ext: {
368
+ readonly $ref: "#/$defs/Ext";
369
+ };
370
+ };
371
+ };
372
+ readonly Progress: {
373
+ readonly title: "ReissueProgress";
374
+ readonly type: "object";
375
+ readonly additionalProperties: false;
376
+ readonly required: readonly ["total", "done", "failed"];
377
+ readonly properties: {
378
+ readonly total: {
379
+ readonly type: "integer";
380
+ readonly minimum: 0;
381
+ };
382
+ readonly done: {
383
+ readonly type: "integer";
384
+ readonly minimum: 0;
385
+ };
386
+ readonly failed: {
387
+ readonly type: "integer";
388
+ readonly minimum: 0;
389
+ };
390
+ readonly undeliverable: {
391
+ readonly type: "integer";
392
+ readonly minimum: 0;
393
+ readonly description: "Artefacts re-issued but not yet delivered to their holder — the holder is offline or unreachable. They are held for the holder's next renewal or contact.";
394
+ };
395
+ };
396
+ };
397
+ readonly Ext: {
398
+ readonly title: "Ext";
399
+ 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.";
400
+ readonly type: "object";
401
+ readonly minProperties: 1;
402
+ readonly additionalProperties: true;
403
+ readonly propertyNames: {
404
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
405
+ };
406
+ };
407
+ };
408
+ };
409
+ };
410
+ /**
411
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
412
+ * tracks the *issuer* party's requirement because a response swaps the
413
+ * parties (§7.3 item 5).
414
+ */
415
+ export declare const RESPONSE_SPEC: {
416
+ readonly typeUri: "https://trusttasks.org/spec/vtc/credentials/reissue/0.1#response";
417
+ readonly isBearer: false;
418
+ readonly isProofRequired: true;
419
+ readonly isRecipientRequired: true;
420
+ readonly isIssuedAtRequired: true;
421
+ readonly payloadSchema: {
422
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
423
+ readonly $ref: "#/$defs/Response";
424
+ readonly $defs: {
425
+ readonly Response: {
426
+ readonly $anchor: "response";
427
+ readonly title: "VTC Credentials Reissue — response payload";
428
+ readonly description: "Success response. Type https://trusttasks.org/spec/vtc/credentials/reissue/0.1#response. Counts only — never a list of members or credentials.";
429
+ readonly type: "object";
430
+ readonly additionalProperties: false;
431
+ readonly required: readonly ["jobId", "state", "dryRun", "statusLists", "artefacts"];
432
+ readonly properties: {
433
+ readonly jobId: {
434
+ readonly type: "string";
435
+ readonly minLength: 1;
436
+ readonly description: "The job this cause started. The same cause always names the same job.";
437
+ };
438
+ readonly state: {
439
+ readonly type: "string";
440
+ readonly enum: readonly ["planned", "running", "statusListsDone", "completed", "failed"];
441
+ readonly description: "`planned` — a dry run. `running` — status lists are being re-signed. `statusListsDone` — every status list is re-signed; artefacts are being re-issued (or, for `statusListsOnly`, the job is done). `completed` — everything in scope is re-signed and re-issued. `failed` — the job stopped; `artefacts.failed` and the audit trail say where.";
442
+ };
443
+ readonly dryRun: {
444
+ readonly type: "boolean";
445
+ };
446
+ readonly statusLists: {
447
+ readonly $ref: "#/$defs/Progress";
448
+ };
449
+ readonly artefacts: {
450
+ readonly $ref: "#/$defs/Progress";
451
+ };
452
+ readonly signedWith: {
453
+ readonly type: "array";
454
+ readonly items: {
455
+ readonly type: "string";
456
+ };
457
+ readonly description: "The attestation keys (verification methods) the new signatures are made with.";
458
+ };
459
+ readonly ext: {
460
+ readonly $ref: "#/$defs/Ext";
461
+ };
462
+ };
463
+ };
464
+ readonly Progress: {
465
+ readonly title: "ReissueProgress";
466
+ readonly type: "object";
467
+ readonly additionalProperties: false;
468
+ readonly required: readonly ["total", "done", "failed"];
469
+ readonly properties: {
470
+ readonly total: {
471
+ readonly type: "integer";
472
+ readonly minimum: 0;
473
+ };
474
+ readonly done: {
475
+ readonly type: "integer";
476
+ readonly minimum: 0;
477
+ };
478
+ readonly failed: {
479
+ readonly type: "integer";
480
+ readonly minimum: 0;
481
+ };
482
+ readonly undeliverable: {
483
+ readonly type: "integer";
484
+ readonly minimum: 0;
485
+ readonly description: "Artefacts re-issued but not yet delivered to their holder — the holder is offline or unreachable. They are held for the holder's next renewal or contact.";
486
+ };
487
+ };
488
+ };
489
+ readonly Ext: {
490
+ readonly title: "Ext";
491
+ 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.";
492
+ readonly type: "object";
493
+ readonly minProperties: 1;
494
+ readonly additionalProperties: true;
495
+ readonly propertyNames: {
496
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
497
+ };
498
+ };
499
+ };
500
+ };
501
+ };
502
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/credentials/reissue/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG7D;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,KAAK,EAAE;QACL;;WAEG;QACH,kBAAkB,EAAE,MAAM,CAAC;QAC3B;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,iBAAiB,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACnD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,iBAAiB,GAAG,WAAW,GAAG,QAAQ,CAAC;IAC1E,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,eAAe,CAAC;IAC7B,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,yDAAkE,CAAC;AAE3F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,4BAA4B,CAAC;AAEnD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,kEAA2E,CAAC;AAE7G,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,oCAAoC,CAAC;AAE5D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2IjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+F1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}