@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.
- package/CHANGELOG.md +320 -0
- package/dist/_shared/components.d.ts +299 -2
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/auth/passkey/enroll/invite/0.2/payload.d.ts +456 -0
- package/dist/auth/passkey/enroll/invite/0.2/payload.d.ts.map +1 -0
- package/dist/auth/passkey/enroll/invite/0.2/payload.js +248 -0
- package/dist/auth/passkey/enroll/invite/0.2/payload.js.map +1 -0
- package/dist/auth/passkey/enroll/redeem/finish/0.1/payload.d.ts +728 -0
- package/dist/auth/passkey/enroll/redeem/finish/0.1/payload.d.ts.map +1 -0
- package/dist/auth/passkey/enroll/redeem/finish/0.1/payload.js +430 -0
- package/dist/auth/passkey/enroll/redeem/finish/0.1/payload.js.map +1 -0
- package/dist/auth/passkey/enroll/redeem/start/0.1/payload.d.ts +1043 -0
- package/dist/auth/passkey/enroll/redeem/start/0.1/payload.d.ts.map +1 -0
- package/dist/auth/passkey/enroll/redeem/start/0.1/payload.js +628 -0
- package/dist/auth/passkey/enroll/redeem/start/0.1/payload.js.map +1 -0
- package/dist/auth/passkey/revoke/finish/0.2/payload.d.ts +533 -0
- package/dist/auth/passkey/revoke/finish/0.2/payload.d.ts.map +1 -0
- package/dist/auth/passkey/revoke/finish/0.2/payload.js +315 -0
- package/dist/auth/passkey/revoke/finish/0.2/payload.js.map +1 -0
- package/dist/auth/passkey/revoke/start/0.2/payload.d.ts +511 -0
- package/dist/auth/passkey/revoke/start/0.2/payload.d.ts.map +1 -0
- package/dist/auth/passkey/revoke/start/0.2/payload.js +297 -0
- package/dist/auth/passkey/revoke/start/0.2/payload.js.map +1 -0
- package/dist/auth/step-up/approve-request/0.3/payload.d.ts +613 -0
- package/dist/auth/step-up/approve-request/0.3/payload.d.ts.map +1 -0
- package/dist/auth/step-up/approve-request/0.3/payload.js +345 -0
- package/dist/auth/step-up/approve-request/0.3/payload.js.map +1 -0
- package/dist/auth/step-up/approve-response/0.4/payload.d.ts +887 -0
- package/dist/auth/step-up/approve-response/0.4/payload.d.ts.map +1 -0
- package/dist/auth/step-up/approve-response/0.4/payload.js +504 -0
- package/dist/auth/step-up/approve-response/0.4/payload.js.map +1 -0
- package/dist/auth/step-up/approve-response/0.5/payload.d.ts +887 -0
- package/dist/auth/step-up/approve-response/0.5/payload.d.ts.map +1 -0
- package/dist/auth/step-up/approve-response/0.5/payload.js +504 -0
- package/dist/auth/step-up/approve-response/0.5/payload.js.map +1 -0
- package/dist/backup/abort/0.1/payload.d.ts +262 -0
- package/dist/backup/abort/0.1/payload.d.ts.map +1 -0
- package/dist/backup/abort/0.1/payload.js +146 -0
- package/dist/backup/abort/0.1/payload.js.map +1 -0
- package/dist/backup/complete-export/0.1/payload.d.ts +262 -0
- package/dist/backup/complete-export/0.1/payload.d.ts.map +1 -0
- package/dist/backup/complete-export/0.1/payload.js +146 -0
- package/dist/backup/complete-export/0.1/payload.js.map +1 -0
- package/dist/backup/finalize-import/0.1/payload.d.ts +395 -0
- package/dist/backup/finalize-import/0.1/payload.d.ts.map +1 -0
- package/dist/backup/finalize-import/0.1/payload.js +209 -0
- package/dist/backup/finalize-import/0.1/payload.js.map +1 -0
- package/dist/backup/get-chunk/0.1/payload.d.ts +461 -0
- package/dist/backup/get-chunk/0.1/payload.d.ts.map +1 -0
- package/dist/backup/get-chunk/0.1/payload.js +250 -0
- package/dist/backup/get-chunk/0.1/payload.js.map +1 -0
- package/dist/backup/initiate-export/0.1/payload.d.ts +896 -0
- package/dist/backup/initiate-export/0.1/payload.d.ts.map +1 -0
- package/dist/backup/initiate-export/0.1/payload.js +507 -0
- package/dist/backup/initiate-export/0.1/payload.js.map +1 -0
- package/dist/backup/initiate-import/0.1/payload.d.ts +888 -0
- package/dist/backup/initiate-import/0.1/payload.d.ts.map +1 -0
- package/dist/backup/initiate-import/0.1/payload.js +504 -0
- package/dist/backup/initiate-import/0.1/payload.js.map +1 -0
- package/dist/backup/put-chunk/0.1/payload.d.ts +495 -0
- package/dist/backup/put-chunk/0.1/payload.d.ts.map +1 -0
- package/dist/backup/put-chunk/0.1/payload.js +265 -0
- package/dist/backup/put-chunk/0.1/payload.js.map +1 -0
- package/dist/device/list/0.1/payload.d.ts +4 -4
- package/dist/device/list/0.1/payload.d.ts.map +1 -1
- package/dist/device/list/0.1/payload.js +4 -2
- package/dist/device/list/0.1/payload.js.map +1 -1
- package/dist/device/list/0.2/payload.d.ts +4 -4
- package/dist/device/list/0.2/payload.d.ts.map +1 -1
- package/dist/device/list/0.2/payload.js +4 -2
- package/dist/device/list/0.2/payload.js.map +1 -1
- package/dist/device/register/0.1/payload.d.ts +4 -4
- package/dist/device/register/0.1/payload.d.ts.map +1 -1
- package/dist/device/register/0.1/payload.js +4 -2
- package/dist/device/register/0.1/payload.js.map +1 -1
- package/dist/device/register/0.2/payload.d.ts +4 -4
- package/dist/device/register/0.2/payload.d.ts.map +1 -1
- package/dist/device/register/0.2/payload.js +4 -2
- package/dist/device/register/0.2/payload.js.map +1 -1
- package/dist/git-ns/_shared/0.4/git-ns.d.ts +16 -0
- package/dist/git-ns/_shared/0.4/git-ns.d.ts.map +1 -0
- package/dist/git-ns/_shared/0.4/git-ns.js +6 -0
- package/dist/git-ns/_shared/0.4/git-ns.js.map +1 -0
- package/dist/git-ns/account/link-status/0.1/payload.d.ts +2 -2
- package/dist/git-ns/account/link-status/0.1/payload.js +2 -2
- package/dist/git-ns/account/link-status/0.1/payload.js.map +1 -1
- package/dist/git-ns/account/unlink/0.1/payload.d.ts +411 -0
- package/dist/git-ns/account/unlink/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/account/unlink/0.1/payload.js +228 -0
- package/dist/git-ns/account/unlink/0.1/payload.js.map +1 -0
- package/dist/git-ns/bridge/event/0.3/payload.d.ts +1682 -0
- package/dist/git-ns/bridge/event/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/event/0.3/payload.js +971 -0
- package/dist/git-ns/bridge/event/0.3/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/0.4/payload.d.ts +1068 -0
- package/dist/git-ns/bridge/job/0.4/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/job/0.4/payload.js +573 -0
- package/dist/git-ns/bridge/job/0.4/payload.js.map +1 -0
- package/dist/git-ns/drift/resolve/0.3/payload.d.ts +1072 -0
- package/dist/git-ns/drift/resolve/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/drift/resolve/0.3/payload.js +634 -0
- package/dist/git-ns/drift/resolve/0.3/payload.js.map +1 -0
- package/dist/git-ns/namespace/reseat/0.3/payload.d.ts +515 -0
- package/dist/git-ns/namespace/reseat/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/namespace/reseat/0.3/payload.js +296 -0
- package/dist/git-ns/namespace/reseat/0.3/payload.js.map +1 -0
- package/dist/git-ns/repo/create/0.3/payload.d.ts +1101 -0
- package/dist/git-ns/repo/create/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/create/0.3/payload.js +646 -0
- package/dist/git-ns/repo/create/0.3/payload.js.map +1 -0
- package/dist/git-ns/right/break-glass/0.1/payload.d.ts +685 -0
- package/dist/git-ns/right/break-glass/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/right/break-glass/0.1/payload.js +397 -0
- package/dist/git-ns/right/break-glass/0.1/payload.js.map +1 -0
- package/dist/git-ns/right/break-glass-notice/0.1/payload.d.ts +384 -0
- package/dist/git-ns/right/break-glass-notice/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/right/break-glass-notice/0.1/payload.js +216 -0
- package/dist/git-ns/right/break-glass-notice/0.1/payload.js.map +1 -0
- package/dist/git-ns/right/grant/0.3/payload.d.ts +678 -0
- package/dist/git-ns/right/grant/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/right/grant/0.3/payload.js +383 -0
- package/dist/git-ns/right/grant/0.3/payload.js.map +1 -0
- package/dist/git-ns/right/ratify/0.1/payload.d.ts +702 -0
- package/dist/git-ns/right/ratify/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/right/ratify/0.1/payload.js +404 -0
- package/dist/git-ns/right/ratify/0.1/payload.js.map +1 -0
- package/dist/git-ns/right/revoke/0.3/payload.d.ts +664 -0
- package/dist/git-ns/right/revoke/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/right/revoke/0.3/payload.js +378 -0
- package/dist/git-ns/right/revoke/0.3/payload.js.map +1 -0
- package/dist/git-ns/roles/reproject/0.1/payload.d.ts +325 -0
- package/dist/git-ns/roles/reproject/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/roles/reproject/0.1/payload.js +176 -0
- package/dist/git-ns/roles/reproject/0.1/payload.js.map +1 -0
- package/dist/git-ns/view/0.1/payload.d.ts +2 -2
- package/dist/git-ns/view/0.1/payload.js +2 -2
- package/dist/git-ns/view/0.1/payload.js.map +1 -1
- package/dist/git-ns/view/0.2/payload.d.ts +2 -2
- package/dist/git-ns/view/0.2/payload.js +2 -2
- package/dist/git-ns/view/0.2/payload.js.map +1 -1
- package/dist/git-ns/view/0.3/payload.d.ts +2 -2
- package/dist/git-ns/view/0.3/payload.js +2 -2
- package/dist/git-ns/view/0.3/payload.js.map +1 -1
- package/dist/git-ns/view/0.4/payload.d.ts +1696 -0
- package/dist/git-ns/view/0.4/payload.d.ts.map +1 -0
- package/dist/git-ns/view/0.4/payload.js +1012 -0
- package/dist/git-ns/view/0.4/payload.js.map +1 -0
- package/dist/index.d.ts +39 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -1
- package/dist/messaging/message/status/0.1/payload.d.ts +372 -0
- package/dist/messaging/message/status/0.1/payload.d.ts.map +1 -0
- package/dist/messaging/message/status/0.1/payload.js +214 -0
- package/dist/messaging/message/status/0.1/payload.js.map +1 -0
- package/dist/vta/_shared/0.3/did-key-roles.d.ts +16 -0
- package/dist/vta/_shared/0.3/did-key-roles.d.ts.map +1 -0
- package/dist/vta/_shared/0.3/did-key-roles.js +6 -0
- package/dist/vta/_shared/0.3/did-key-roles.js.map +1 -0
- package/dist/vta/attestation/mnemonic-export/1.0/payload.d.ts +326 -0
- package/dist/vta/attestation/mnemonic-export/1.0/payload.d.ts.map +1 -0
- package/dist/vta/attestation/mnemonic-export/1.0/payload.js +175 -0
- package/dist/vta/attestation/mnemonic-export/1.0/payload.js.map +1 -0
- package/dist/vta/webvh/dids/keys/add/1.0/payload.d.ts +1914 -0
- package/dist/vta/webvh/dids/keys/add/1.0/payload.d.ts.map +1 -0
- package/dist/vta/webvh/dids/keys/add/1.0/payload.js +1128 -0
- package/dist/vta/webvh/dids/keys/add/1.0/payload.js.map +1 -0
- package/dist/vta/webvh/dids/keys/list/1.0/payload.d.ts +1603 -0
- package/dist/vta/webvh/dids/keys/list/1.0/payload.d.ts.map +1 -0
- package/dist/vta/webvh/dids/keys/list/1.0/payload.js +942 -0
- package/dist/vta/webvh/dids/keys/list/1.0/payload.js.map +1 -0
- package/dist/vta/webvh/dids/keys/retire/1.0/payload.d.ts +1914 -0
- package/dist/vta/webvh/dids/keys/retire/1.0/payload.d.ts.map +1 -0
- package/dist/vta/webvh/dids/keys/retire/1.0/payload.js +1123 -0
- package/dist/vta/webvh/dids/keys/retire/1.0/payload.js.map +1 -0
- package/dist/vta/webvh/dids/keys/revoke/1.0/payload.d.ts +2021 -0
- package/dist/vta/webvh/dids/keys/revoke/1.0/payload.d.ts.map +1 -0
- package/dist/vta/webvh/dids/keys/revoke/1.0/payload.js +1168 -0
- package/dist/vta/webvh/dids/keys/revoke/1.0/payload.js.map +1 -0
- package/dist/vta/webvh/dids/rotate-keys/2.0/payload.d.ts +1992 -0
- package/dist/vta/webvh/dids/rotate-keys/2.0/payload.d.ts.map +1 -0
- package/dist/vta/webvh/dids/rotate-keys/2.0/payload.js +1151 -0
- package/dist/vta/webvh/dids/rotate-keys/2.0/payload.js.map +1 -0
- package/dist/vta/webvh/dids/update/2.0/payload.d.ts +1062 -0
- package/dist/vta/webvh/dids/update/2.0/payload.d.ts.map +1 -0
- package/dist/vta/webvh/dids/update/2.0/payload.js +616 -0
- package/dist/vta/webvh/dids/update/2.0/payload.js.map +1 -0
- package/dist/vtc/credentials/reissue/0.1/payload.d.ts +502 -0
- package/dist/vtc/credentials/reissue/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/credentials/reissue/0.1/payload.js +282 -0
- package/dist/vtc/credentials/reissue/0.1/payload.js.map +1 -0
- package/dist/vtc/members/personhood/challenge/0.1/payload.d.ts +2 -2
- package/dist/vtc/members/personhood/challenge/0.1/payload.js +2 -2
- package/dist/vtc/members/personhood/challenge/0.1/payload.js.map +1 -1
- package/dist/vtc/vetting/vetters/profile/0.1/payload.d.ts +2 -2
- package/dist/vtc/vetting/vetters/profile/0.1/payload.js +2 -2
- package/dist/vtc/vetting/vetters/profile/0.1/payload.js.map +1 -1
- package/dist/vtc/vetting/vetters/resend/0.1/payload.d.ts +2 -2
- package/dist/vtc/vetting/vetters/resend/0.1/payload.js +2 -2
- package/dist/vtc/vetting/vetters/resend/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +313 -2
- package/src/auth/passkey/enroll/invite/0.2/payload.ts +325 -0
- package/src/auth/passkey/enroll/redeem/finish/0.1/payload.ts +499 -0
- package/src/auth/passkey/enroll/redeem/start/0.1/payload.ts +700 -0
- package/src/auth/passkey/revoke/finish/0.2/payload.ts +379 -0
- package/src/auth/passkey/revoke/start/0.2/payload.ts +349 -0
- package/src/auth/step-up/approve-request/0.3/payload.ts +421 -0
- package/src/auth/step-up/approve-response/0.4/payload.ts +593 -0
- package/src/auth/step-up/approve-response/0.5/payload.ts +593 -0
- package/src/backup/abort/0.1/payload.ts +191 -0
- package/src/backup/complete-export/0.1/payload.ts +191 -0
- package/src/backup/finalize-import/0.1/payload.ts +279 -0
- package/src/backup/get-chunk/0.1/payload.ts +308 -0
- package/src/backup/initiate-export/0.1/payload.ts +564 -0
- package/src/backup/initiate-import/0.1/payload.ts +561 -0
- package/src/backup/put-chunk/0.1/payload.ts +331 -0
- package/src/device/list/0.1/payload.ts +4 -2
- package/src/device/list/0.2/payload.ts +4 -2
- package/src/device/register/0.1/payload.ts +4 -2
- package/src/device/register/0.2/payload.ts +4 -2
- package/src/git-ns/_shared/0.4/git-ns.ts +17 -0
- package/src/git-ns/account/link-status/0.1/payload.ts +2 -2
- package/src/git-ns/account/unlink/0.1/payload.ts +274 -0
- package/src/git-ns/bridge/event/0.3/payload.ts +1132 -0
- package/src/git-ns/bridge/job/0.4/payload.ts +691 -0
- package/src/git-ns/drift/resolve/0.3/payload.ts +707 -0
- package/src/git-ns/namespace/reseat/0.3/payload.ts +342 -0
- package/src/git-ns/repo/create/0.3/payload.ts +706 -0
- package/src/git-ns/right/break-glass/0.1/payload.ts +443 -0
- package/src/git-ns/right/break-glass-notice/0.1/payload.ts +258 -0
- package/src/git-ns/right/grant/0.3/payload.ts +434 -0
- package/src/git-ns/right/ratify/0.1/payload.ts +455 -0
- package/src/git-ns/right/revoke/0.3/payload.ts +425 -0
- package/src/git-ns/roles/reproject/0.1/payload.ts +220 -0
- package/src/git-ns/view/0.1/payload.ts +2 -2
- package/src/git-ns/view/0.2/payload.ts +2 -2
- package/src/git-ns/view/0.3/payload.ts +2 -2
- package/src/git-ns/view/0.4/payload.ts +1075 -0
- package/src/index.ts +39 -0
- package/src/messaging/message/status/0.1/payload.ts +270 -0
- package/src/vta/_shared/0.3/did-key-roles.ts +17 -0
- package/src/vta/attestation/mnemonic-export/1.0/payload.ts +232 -0
- package/src/vta/webvh/dids/keys/add/1.0/payload.ts +1217 -0
- package/src/vta/webvh/dids/keys/list/1.0/payload.ts +1004 -0
- package/src/vta/webvh/dids/keys/retire/1.0/payload.ts +1212 -0
- package/src/vta/webvh/dids/keys/revoke/1.0/payload.ts +1276 -0
- package/src/vta/webvh/dids/rotate-keys/2.0/payload.ts +1262 -0
- package/src/vta/webvh/dids/update/2.0/payload.ts +713 -0
- package/src/vtc/credentials/reissue/0.1/payload.ts +357 -0
- package/src/vtc/members/personhood/challenge/0.1/payload.ts +2 -2
- package/src/vtc/vetting/vetters/profile/0.1/payload.ts +2 -2
- package/src/vtc/vetting/vetters/resend/0.1/payload.ts +2 -2
package/src/index.ts
CHANGED
|
@@ -33,6 +33,9 @@ export * as AuthChallenge_v0_1 from "./auth/challenge/0.1/payload.js";
|
|
|
33
33
|
export * as AuthPasskeyEnrollFinish_v0_1 from "./auth/passkey/enroll/finish/0.1/payload.js";
|
|
34
34
|
export * as AuthPasskeyEnrollFinish_v0_2 from "./auth/passkey/enroll/finish/0.2/payload.js";
|
|
35
35
|
export * as AuthPasskeyEnrollInvite_v0_1 from "./auth/passkey/enroll/invite/0.1/payload.js";
|
|
36
|
+
export * as AuthPasskeyEnrollInvite_v0_2 from "./auth/passkey/enroll/invite/0.2/payload.js";
|
|
37
|
+
export * as AuthPasskeyEnrollRedeemFinish_v0_1 from "./auth/passkey/enroll/redeem/finish/0.1/payload.js";
|
|
38
|
+
export * as AuthPasskeyEnrollRedeemStart_v0_1 from "./auth/passkey/enroll/redeem/start/0.1/payload.js";
|
|
36
39
|
export * as AuthPasskeyEnrollStart_v0_1 from "./auth/passkey/enroll/start/0.1/payload.js";
|
|
37
40
|
export * as AuthPasskeyEnrollStart_v0_2 from "./auth/passkey/enroll/start/0.2/payload.js";
|
|
38
41
|
export * as AuthPasskeyList_v0_1 from "./auth/passkey/list/0.1/payload.js";
|
|
@@ -41,18 +44,30 @@ export * as AuthPasskeyLoginFinish_v0_2 from "./auth/passkey/login/finish/0.2/pa
|
|
|
41
44
|
export * as AuthPasskeyLoginStart_v0_1 from "./auth/passkey/login/start/0.1/payload.js";
|
|
42
45
|
export * as AuthPasskeyLoginStart_v0_2 from "./auth/passkey/login/start/0.2/payload.js";
|
|
43
46
|
export * as AuthPasskeyRevokeFinish_v0_1 from "./auth/passkey/revoke/finish/0.1/payload.js";
|
|
47
|
+
export * as AuthPasskeyRevokeFinish_v0_2 from "./auth/passkey/revoke/finish/0.2/payload.js";
|
|
44
48
|
export * as AuthPasskeyRevokeStart_v0_1 from "./auth/passkey/revoke/start/0.1/payload.js";
|
|
49
|
+
export * as AuthPasskeyRevokeStart_v0_2 from "./auth/passkey/revoke/start/0.2/payload.js";
|
|
45
50
|
export * as AuthRefresh_v0_1 from "./auth/refresh/0.1/payload.js";
|
|
46
51
|
export * as AuthRevokeSession_v0_1 from "./auth/revoke-session/0.1/payload.js";
|
|
47
52
|
export * as AuthSessionsList_v0_1 from "./auth/sessions/list/0.1/payload.js";
|
|
48
53
|
export * as AuthStepUpApproveRequest_v0_1 from "./auth/step-up/approve-request/0.1/payload.js";
|
|
49
54
|
export * as AuthStepUpApproveRequest_v0_2 from "./auth/step-up/approve-request/0.2/payload.js";
|
|
55
|
+
export * as AuthStepUpApproveRequest_v0_3 from "./auth/step-up/approve-request/0.3/payload.js";
|
|
50
56
|
export * as AuthStepUpApproveResponse_v0_1 from "./auth/step-up/approve-response/0.1/payload.js";
|
|
51
57
|
export * as AuthStepUpApproveResponse_v0_2 from "./auth/step-up/approve-response/0.2/payload.js";
|
|
52
58
|
export * as AuthStepUpApproveResponse_v0_3 from "./auth/step-up/approve-response/0.3/payload.js";
|
|
59
|
+
export * as AuthStepUpApproveResponse_v0_4 from "./auth/step-up/approve-response/0.4/payload.js";
|
|
60
|
+
export * as AuthStepUpApproveResponse_v0_5 from "./auth/step-up/approve-response/0.5/payload.js";
|
|
53
61
|
export * as AuthStepUpPolicy_v0_1 from "./auth/step-up/policy/0.1/payload.js";
|
|
54
62
|
export * as AuthStepUpPolicy_v0_2 from "./auth/step-up/policy/0.2/payload.js";
|
|
55
63
|
export * as AuthWhoami_v0_1 from "./auth/whoami/0.1/payload.js";
|
|
64
|
+
export * as BackupAbort_v0_1 from "./backup/abort/0.1/payload.js";
|
|
65
|
+
export * as BackupCompleteExport_v0_1 from "./backup/complete-export/0.1/payload.js";
|
|
66
|
+
export * as BackupFinalizeImport_v0_1 from "./backup/finalize-import/0.1/payload.js";
|
|
67
|
+
export * as BackupGetChunk_v0_1 from "./backup/get-chunk/0.1/payload.js";
|
|
68
|
+
export * as BackupInitiateExport_v0_1 from "./backup/initiate-export/0.1/payload.js";
|
|
69
|
+
export * as BackupInitiateImport_v0_1 from "./backup/initiate-import/0.1/payload.js";
|
|
70
|
+
export * as BackupPutChunk_v0_1 from "./backup/put-chunk/0.1/payload.js";
|
|
56
71
|
export * as ChatMessage_v0_1 from "./chat/message/0.1/payload.js";
|
|
57
72
|
export * as ConfigShared_v0_1 from "./config/_shared/0.1/config.js";
|
|
58
73
|
export * as ConfigPatch_v0_1 from "./config/patch/0.1/payload.js";
|
|
@@ -134,19 +149,25 @@ export * as DidManagementServerStatsSync_v0_1 from "./did-management/server/stat
|
|
|
134
149
|
export * as GitNsShared_v0_1 from "./git-ns/_shared/0.1/git-ns.js";
|
|
135
150
|
export * as GitNsShared_v0_2 from "./git-ns/_shared/0.2/git-ns.js";
|
|
136
151
|
export * as GitNsShared_v0_3 from "./git-ns/_shared/0.3/git-ns.js";
|
|
152
|
+
export * as GitNsShared_v0_4 from "./git-ns/_shared/0.4/git-ns.js";
|
|
137
153
|
export * as GitNsAccountLinkStatus_v0_1 from "./git-ns/account/link-status/0.1/payload.js";
|
|
138
154
|
export * as GitNsAccountLink_v0_1 from "./git-ns/account/link/0.1/payload.js";
|
|
155
|
+
export * as GitNsAccountUnlink_v0_1 from "./git-ns/account/unlink/0.1/payload.js";
|
|
139
156
|
export * as GitNsBridgeEvent_v0_1 from "./git-ns/bridge/event/0.1/payload.js";
|
|
140
157
|
export * as GitNsBridgeEvent_v0_2 from "./git-ns/bridge/event/0.2/payload.js";
|
|
158
|
+
export * as GitNsBridgeEvent_v0_3 from "./git-ns/bridge/event/0.3/payload.js";
|
|
141
159
|
export * as GitNsBridgeJob_v0_1 from "./git-ns/bridge/job/0.1/payload.js";
|
|
142
160
|
export * as GitNsBridgeJob_v0_2 from "./git-ns/bridge/job/0.2/payload.js";
|
|
143
161
|
export * as GitNsBridgeJob_v0_3 from "./git-ns/bridge/job/0.3/payload.js";
|
|
162
|
+
export * as GitNsBridgeJob_v0_4 from "./git-ns/bridge/job/0.4/payload.js";
|
|
144
163
|
export * as GitNsBridgeResult_v0_1 from "./git-ns/bridge/result/0.1/payload.js";
|
|
145
164
|
export * as GitNsDriftResolve_v0_1 from "./git-ns/drift/resolve/0.1/payload.js";
|
|
146
165
|
export * as GitNsDriftResolve_v0_2 from "./git-ns/drift/resolve/0.2/payload.js";
|
|
166
|
+
export * as GitNsDriftResolve_v0_3 from "./git-ns/drift/resolve/0.3/payload.js";
|
|
147
167
|
export * as GitNsNamespaceBind_v0_1 from "./git-ns/namespace/bind/0.1/payload.js";
|
|
148
168
|
export * as GitNsNamespaceReseat_v0_1 from "./git-ns/namespace/reseat/0.1/payload.js";
|
|
149
169
|
export * as GitNsNamespaceReseat_v0_2 from "./git-ns/namespace/reseat/0.2/payload.js";
|
|
170
|
+
export * as GitNsNamespaceReseat_v0_3 from "./git-ns/namespace/reseat/0.3/payload.js";
|
|
150
171
|
export * as GitNsNamespaceUnbind_v0_1 from "./git-ns/namespace/unbind/0.1/payload.js";
|
|
151
172
|
export * as GitNsRepoAdopt_v0_1 from "./git-ns/repo/adopt/0.1/payload.js";
|
|
152
173
|
export * as GitNsRepoAdopt_v0_2 from "./git-ns/repo/adopt/0.2/payload.js";
|
|
@@ -154,15 +175,23 @@ export * as GitNsRepoArchive_v0_1 from "./git-ns/repo/archive/0.1/payload.js";
|
|
|
154
175
|
export * as GitNsRepoArchive_v0_2 from "./git-ns/repo/archive/0.2/payload.js";
|
|
155
176
|
export * as GitNsRepoCreate_v0_1 from "./git-ns/repo/create/0.1/payload.js";
|
|
156
177
|
export * as GitNsRepoCreate_v0_2 from "./git-ns/repo/create/0.2/payload.js";
|
|
178
|
+
export * as GitNsRepoCreate_v0_3 from "./git-ns/repo/create/0.3/payload.js";
|
|
157
179
|
export * as GitNsRepoTransfer_v0_1 from "./git-ns/repo/transfer/0.1/payload.js";
|
|
158
180
|
export * as GitNsRepoTransfer_v0_2 from "./git-ns/repo/transfer/0.2/payload.js";
|
|
181
|
+
export * as GitNsRightBreakGlassNotice_v0_1 from "./git-ns/right/break-glass-notice/0.1/payload.js";
|
|
182
|
+
export * as GitNsRightBreakGlass_v0_1 from "./git-ns/right/break-glass/0.1/payload.js";
|
|
159
183
|
export * as GitNsRightGrant_v0_1 from "./git-ns/right/grant/0.1/payload.js";
|
|
160
184
|
export * as GitNsRightGrant_v0_2 from "./git-ns/right/grant/0.2/payload.js";
|
|
185
|
+
export * as GitNsRightGrant_v0_3 from "./git-ns/right/grant/0.3/payload.js";
|
|
186
|
+
export * as GitNsRightRatify_v0_1 from "./git-ns/right/ratify/0.1/payload.js";
|
|
161
187
|
export * as GitNsRightRevoke_v0_1 from "./git-ns/right/revoke/0.1/payload.js";
|
|
162
188
|
export * as GitNsRightRevoke_v0_2 from "./git-ns/right/revoke/0.2/payload.js";
|
|
189
|
+
export * as GitNsRightRevoke_v0_3 from "./git-ns/right/revoke/0.3/payload.js";
|
|
190
|
+
export * as GitNsRolesReproject_v0_1 from "./git-ns/roles/reproject/0.1/payload.js";
|
|
163
191
|
export * as GitNsView_v0_1 from "./git-ns/view/0.1/payload.js";
|
|
164
192
|
export * as GitNsView_v0_2 from "./git-ns/view/0.2/payload.js";
|
|
165
193
|
export * as GitNsView_v0_3 from "./git-ns/view/0.3/payload.js";
|
|
194
|
+
export * as GitNsView_v0_4 from "./git-ns/view/0.4/payload.js";
|
|
166
195
|
export * as GitTrustGrant_v0_1 from "./git-trust/grant/0.1/payload.js";
|
|
167
196
|
export * as GitTrustRevoke_v0_1 from "./git-trust/revoke/0.1/payload.js";
|
|
168
197
|
export * as GovernanceShared_v0_1 from "./governance/_shared/0.1/governance.js";
|
|
@@ -207,6 +236,7 @@ export * as MessagingAdminStrip_v0_1 from "./messaging/admin/strip/0.1/payload.j
|
|
|
207
236
|
export * as MessagingMessageDelete_v0_1 from "./messaging/message/delete/0.1/payload.js";
|
|
208
237
|
export * as MessagingMessageGet_v0_1 from "./messaging/message/get/0.1/payload.js";
|
|
209
238
|
export * as MessagingMessageList_v0_1 from "./messaging/message/list/0.1/payload.js";
|
|
239
|
+
export * as MessagingMessageStatus_v0_1 from "./messaging/message/status/0.1/payload.js";
|
|
210
240
|
export * as MessagingMonitorEvent_v0_1 from "./messaging/monitor/event/0.1/payload.js";
|
|
211
241
|
export * as MessagingMonitorSubscribe_v0_1 from "./messaging/monitor/subscribe/0.1/payload.js";
|
|
212
242
|
export * as MessagingMonitorUnsubscribe_v0_1 from "./messaging/monitor/unsubscribe/0.1/payload.js";
|
|
@@ -400,12 +430,14 @@ export * as PasskeyVmShared_v0_1 from "./vta/_shared/0.1/passkey-vm.js";
|
|
|
400
430
|
export * as ServiceShared_v0_1 from "./vta/_shared/0.1/service.js";
|
|
401
431
|
export * as WebvhRecordsShared_v0_1 from "./vta/_shared/0.1/webvh-records.js";
|
|
402
432
|
export * as DidTemplateShared_v0_2 from "./vta/_shared/0.2/did-template.js";
|
|
433
|
+
export * as DidKeyRolesShared_v0_3 from "./vta/_shared/0.3/did-key-roles.js";
|
|
403
434
|
export * as VtaAppStateDelete_v1_0 from "./vta/app-state/delete/1.0/payload.js";
|
|
404
435
|
export * as VtaAppStateGetMany_v1_0 from "./vta/app-state/get-many/1.0/payload.js";
|
|
405
436
|
export * as VtaAppStateGet_v1_0 from "./vta/app-state/get/1.0/payload.js";
|
|
406
437
|
export * as VtaAppStateList_v1_0 from "./vta/app-state/list/1.0/payload.js";
|
|
407
438
|
export * as VtaAppStatePutMany_v1_0 from "./vta/app-state/put-many/1.0/payload.js";
|
|
408
439
|
export * as VtaAppStatePut_v1_0 from "./vta/app-state/put/1.0/payload.js";
|
|
440
|
+
export * as VtaAttestationMnemonicExport_v1_0 from "./vta/attestation/mnemonic-export/1.0/payload.js";
|
|
409
441
|
export * as VtaBackupAbort_v1_0 from "./vta/backup/abort/1.0/payload.js";
|
|
410
442
|
export * as VtaBackupCompleteExport_v1_0 from "./vta/backup/complete-export/1.0/payload.js";
|
|
411
443
|
export * as VtaBackupFinalizeImport_v1_0 from "./vta/backup/finalize-import/1.0/payload.js";
|
|
@@ -475,11 +507,17 @@ export * as VtaWebvhAgentNameSet_v1_0 from "./vta/webvh/agent-name/set/1.0/paylo
|
|
|
475
507
|
export * as VtaWebvhDidsCreate_v1_0 from "./vta/webvh/dids/create/1.0/payload.js";
|
|
476
508
|
export * as VtaWebvhDidsDelete_v1_0 from "./vta/webvh/dids/delete/1.0/payload.js";
|
|
477
509
|
export * as VtaWebvhDidsGet_v1_0 from "./vta/webvh/dids/get/1.0/payload.js";
|
|
510
|
+
export * as VtaWebvhDidsKeysAdd_v1_0 from "./vta/webvh/dids/keys/add/1.0/payload.js";
|
|
511
|
+
export * as VtaWebvhDidsKeysList_v1_0 from "./vta/webvh/dids/keys/list/1.0/payload.js";
|
|
512
|
+
export * as VtaWebvhDidsKeysRetire_v1_0 from "./vta/webvh/dids/keys/retire/1.0/payload.js";
|
|
513
|
+
export * as VtaWebvhDidsKeysRevoke_v1_0 from "./vta/webvh/dids/keys/revoke/1.0/payload.js";
|
|
478
514
|
export * as VtaWebvhDidsList_v1_0 from "./vta/webvh/dids/list/1.0/payload.js";
|
|
479
515
|
export * as VtaWebvhDidsRealignKeys_v1_0 from "./vta/webvh/dids/realign-keys/1.0/payload.js";
|
|
480
516
|
export * as VtaWebvhDidsRegisterWithServer_v1_0 from "./vta/webvh/dids/register-with-server/1.0/payload.js";
|
|
481
517
|
export * as VtaWebvhDidsRotateKeys_v1_0 from "./vta/webvh/dids/rotate-keys/1.0/payload.js";
|
|
518
|
+
export * as VtaWebvhDidsRotateKeys_v2_0 from "./vta/webvh/dids/rotate-keys/2.0/payload.js";
|
|
482
519
|
export * as VtaWebvhDidsUpdate_v1_0 from "./vta/webvh/dids/update/1.0/payload.js";
|
|
520
|
+
export * as VtaWebvhDidsUpdate_v2_0 from "./vta/webvh/dids/update/2.0/payload.js";
|
|
483
521
|
export * as VtaWebvhServersDomains_v0_1 from "./vta/webvh/servers/domains/0.1/payload.js";
|
|
484
522
|
export * as VtaWebvhServersList_v1_0 from "./vta/webvh/servers/list/1.0/payload.js";
|
|
485
523
|
export * as VtaWebvhServersReconcile_v0_1 from "./vta/webvh/servers/reconcile/0.1/payload.js";
|
|
@@ -512,6 +550,7 @@ export * as VtcCommunityProfileShow_v0_1 from "./vtc/community/profile/show/0.1/
|
|
|
512
550
|
export * as VtcCommunityProfileUpdate_v0_1 from "./vtc/community/profile/update/0.1/payload.js";
|
|
513
551
|
export * as VtcConfigExport_v0_1 from "./vtc/config/export/0.1/payload.js";
|
|
514
552
|
export * as VtcConfigImport_v0_1 from "./vtc/config/import/0.1/payload.js";
|
|
553
|
+
export * as VtcCredentialsReissue_v0_1 from "./vtc/credentials/reissue/0.1/payload.js";
|
|
515
554
|
export * as VtcDirectoryQuery_v0_1 from "./vtc/directory/query/0.1/payload.js";
|
|
516
555
|
export * as VtcEndorsementTypesDelete_v0_1 from "./vtc/endorsement-types/delete/0.1/payload.js";
|
|
517
556
|
export * as VtcEndorsementTypesList_v0_1 from "./vtc/endorsement-types/list/0.1/payload.js";
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/messaging/message/status/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Ext } from "../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Where a sent message stands. `queued`: held for the recipient and not yet handed over. `delivered`: handed to the recipient (pickup or live stream) and not yet removed by it. `collected`: removed by the recipient — acknowledged after pickup, fetched with delete, or deleted or purged by it. `withdrawn`: removed by the sender. `discarded`: removed by the mediator before the recipient took it — expired, or its account was removed. `unknown`: the mediator holds neither the message nor a receipt for it under the requester.
|
|
11
|
+
*/
|
|
12
|
+
export type MessageState = "queued" | "delivered" | "collected" | "withdrawn" | "discarded" | "unknown";
|
|
13
|
+
|
|
14
|
+
export interface MessagingMessageStatusPayload {
|
|
15
|
+
/**
|
|
16
|
+
* The messages the requester sent and wants the status of, by the mediator's message identifier.
|
|
17
|
+
*
|
|
18
|
+
* @minItems 1
|
|
19
|
+
* @maxItems 100
|
|
20
|
+
*/
|
|
21
|
+
msgIds: [string, ...string[]];
|
|
22
|
+
/**
|
|
23
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1.
|
|
24
|
+
*/
|
|
25
|
+
ext?: Ext;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The success response to a messaging/message/status request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/message/status/0.1#response.
|
|
29
|
+
*/
|
|
30
|
+
export interface MessagingMessageStatusResponsePayload {
|
|
31
|
+
/**
|
|
32
|
+
* One entry per requested msgId, in request order.
|
|
33
|
+
*/
|
|
34
|
+
statuses: {
|
|
35
|
+
msgId: string;
|
|
36
|
+
state: MessageState;
|
|
37
|
+
/**
|
|
38
|
+
* When the message reached this state: first handed over for `delivered`, removed for `collected`, `withdrawn` and `discarded`. Absent for `queued` and `unknown`, and wherever the mediator does not disclose it.
|
|
39
|
+
*/
|
|
40
|
+
at?: string;
|
|
41
|
+
}[];
|
|
42
|
+
/**
|
|
43
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1.
|
|
44
|
+
*/
|
|
45
|
+
ext?: Ext;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
49
|
+
export type { Ext };
|
|
50
|
+
|
|
51
|
+
/** Trust Task type URI. */
|
|
52
|
+
export const TYPE_URI = "https://trusttasks.org/spec/messaging/message/status/0.1" as const;
|
|
53
|
+
|
|
54
|
+
/** Stable alias for this specification's request payload shape. */
|
|
55
|
+
export type Payload = MessagingMessageStatusPayload;
|
|
56
|
+
|
|
57
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
58
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/message/status/0.1#response" as const;
|
|
59
|
+
|
|
60
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
61
|
+
export type Response = MessagingMessageStatusResponsePayload;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* This specification's payload schema, as a value.
|
|
65
|
+
*
|
|
66
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
67
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
68
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
69
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
70
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
71
|
+
*/
|
|
72
|
+
export const PAYLOAD_SCHEMA = {
|
|
73
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
74
|
+
"$id": "https://trusttasks.org/spec/messaging/message/status/0.1",
|
|
75
|
+
"title": "Messaging — Message Status — payload",
|
|
76
|
+
"type": "object",
|
|
77
|
+
"additionalProperties": false,
|
|
78
|
+
"required": [
|
|
79
|
+
"msgIds"
|
|
80
|
+
],
|
|
81
|
+
"properties": {
|
|
82
|
+
"msgIds": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"description": "The messages the requester sent and wants the status of, by the mediator's message identifier.",
|
|
85
|
+
"minItems": 1,
|
|
86
|
+
"maxItems": 100,
|
|
87
|
+
"uniqueItems": true,
|
|
88
|
+
"items": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"minLength": 1,
|
|
91
|
+
"maxLength": 256
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"ext": {
|
|
95
|
+
"$ref": "#/$defs/Ext",
|
|
96
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"$defs": {
|
|
100
|
+
"MessageState": {
|
|
101
|
+
"title": "MessageState",
|
|
102
|
+
"type": "string",
|
|
103
|
+
"enum": [
|
|
104
|
+
"queued",
|
|
105
|
+
"delivered",
|
|
106
|
+
"collected",
|
|
107
|
+
"withdrawn",
|
|
108
|
+
"discarded",
|
|
109
|
+
"unknown"
|
|
110
|
+
],
|
|
111
|
+
"description": "Where a sent message stands. `queued`: held for the recipient and not yet handed over. `delivered`: handed to the recipient (pickup or live stream) and not yet removed by it. `collected`: removed by the recipient — acknowledged after pickup, fetched with delete, or deleted or purged by it. `withdrawn`: removed by the sender. `discarded`: removed by the mediator before the recipient took it — expired, or its account was removed. `unknown`: the mediator holds neither the message nor a receipt for it under the requester."
|
|
112
|
+
},
|
|
113
|
+
"Response": {
|
|
114
|
+
"$anchor": "response",
|
|
115
|
+
"title": "Messaging — Message Status — response payload",
|
|
116
|
+
"description": "The success response to a messaging/message/status request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/message/status/0.1#response.",
|
|
117
|
+
"type": "object",
|
|
118
|
+
"additionalProperties": false,
|
|
119
|
+
"properties": {
|
|
120
|
+
"statuses": {
|
|
121
|
+
"type": "array",
|
|
122
|
+
"description": "One entry per requested msgId, in request order.",
|
|
123
|
+
"items": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"additionalProperties": false,
|
|
126
|
+
"required": [
|
|
127
|
+
"msgId",
|
|
128
|
+
"state"
|
|
129
|
+
],
|
|
130
|
+
"properties": {
|
|
131
|
+
"msgId": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"minLength": 1,
|
|
134
|
+
"maxLength": 256
|
|
135
|
+
},
|
|
136
|
+
"state": {
|
|
137
|
+
"$ref": "#/$defs/MessageState"
|
|
138
|
+
},
|
|
139
|
+
"at": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"format": "date-time",
|
|
142
|
+
"description": "When the message reached this state: first handed over for `delivered`, removed for `collected`, `withdrawn` and `discarded`. Absent for `queued` and `unknown`, and wherever the mediator does not disclose it."
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"ext": {
|
|
148
|
+
"$ref": "#/$defs/Ext",
|
|
149
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"required": [
|
|
153
|
+
"statuses"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"Ext": {
|
|
157
|
+
"title": "Ext",
|
|
158
|
+
"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.",
|
|
159
|
+
"type": "object",
|
|
160
|
+
"minProperties": 1,
|
|
161
|
+
"additionalProperties": true,
|
|
162
|
+
"propertyNames": {
|
|
163
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
} as const;
|
|
168
|
+
|
|
169
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
170
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
171
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
172
|
+
"$ref": "#/$defs/Response",
|
|
173
|
+
"$defs": {
|
|
174
|
+
"MessageState": {
|
|
175
|
+
"title": "MessageState",
|
|
176
|
+
"type": "string",
|
|
177
|
+
"enum": [
|
|
178
|
+
"queued",
|
|
179
|
+
"delivered",
|
|
180
|
+
"collected",
|
|
181
|
+
"withdrawn",
|
|
182
|
+
"discarded",
|
|
183
|
+
"unknown"
|
|
184
|
+
],
|
|
185
|
+
"description": "Where a sent message stands. `queued`: held for the recipient and not yet handed over. `delivered`: handed to the recipient (pickup or live stream) and not yet removed by it. `collected`: removed by the recipient — acknowledged after pickup, fetched with delete, or deleted or purged by it. `withdrawn`: removed by the sender. `discarded`: removed by the mediator before the recipient took it — expired, or its account was removed. `unknown`: the mediator holds neither the message nor a receipt for it under the requester."
|
|
186
|
+
},
|
|
187
|
+
"Response": {
|
|
188
|
+
"$anchor": "response",
|
|
189
|
+
"title": "Messaging — Message Status — response payload",
|
|
190
|
+
"description": "The success response to a messaging/message/status request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/message/status/0.1#response.",
|
|
191
|
+
"type": "object",
|
|
192
|
+
"additionalProperties": false,
|
|
193
|
+
"properties": {
|
|
194
|
+
"statuses": {
|
|
195
|
+
"type": "array",
|
|
196
|
+
"description": "One entry per requested msgId, in request order.",
|
|
197
|
+
"items": {
|
|
198
|
+
"type": "object",
|
|
199
|
+
"additionalProperties": false,
|
|
200
|
+
"required": [
|
|
201
|
+
"msgId",
|
|
202
|
+
"state"
|
|
203
|
+
],
|
|
204
|
+
"properties": {
|
|
205
|
+
"msgId": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"minLength": 1,
|
|
208
|
+
"maxLength": 256
|
|
209
|
+
},
|
|
210
|
+
"state": {
|
|
211
|
+
"$ref": "#/$defs/MessageState"
|
|
212
|
+
},
|
|
213
|
+
"at": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"format": "date-time",
|
|
216
|
+
"description": "When the message reached this state: first handed over for `delivered`, removed for `collected`, `withdrawn` and `discarded`. Absent for `queued` and `unknown`, and wherever the mediator does not disclose it."
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"ext": {
|
|
222
|
+
"$ref": "#/$defs/Ext",
|
|
223
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"required": [
|
|
227
|
+
"statuses"
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
"Ext": {
|
|
231
|
+
"title": "Ext",
|
|
232
|
+
"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.",
|
|
233
|
+
"type": "object",
|
|
234
|
+
"minProperties": 1,
|
|
235
|
+
"additionalProperties": true,
|
|
236
|
+
"propertyNames": {
|
|
237
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
} as const;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
245
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
246
|
+
* per-specification and cannot be derived from the document alone, and
|
|
247
|
+
* item 2 needs the schema this carries.
|
|
248
|
+
*/
|
|
249
|
+
export const SPEC = {
|
|
250
|
+
typeUri: TYPE_URI,
|
|
251
|
+
isBearer: false,
|
|
252
|
+
isProofRequired: true,
|
|
253
|
+
isRecipientRequired: true,
|
|
254
|
+
isIssuedAtRequired: true,
|
|
255
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
256
|
+
} as const;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
260
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
261
|
+
* parties (§7.3 item 5).
|
|
262
|
+
*/
|
|
263
|
+
export const RESPONSE_SPEC = {
|
|
264
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
265
|
+
isBearer: false,
|
|
266
|
+
isProofRequired: false,
|
|
267
|
+
isRecipientRequired: true,
|
|
268
|
+
isIssuedAtRequired: true,
|
|
269
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
270
|
+
} as const;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vta/_shared/0.3/did-key-roles.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A VTA holds the keys of the durable DIDs it serves — its own, and those of the VTCs and VTNs provisioned on it — and assigns every one of them to exactly one named key role. These definitions describe a role, a key in a role, a rotation, the preview of the DID document a change would publish, and the approval state of a change awaiting a quorum. The normative rules that give them meaning (which verification relationships each role owns, who may change which role, how a change is approved, what is audited, and what each caller may see) are in CONVENTIONS.md beside this file. Not itself a Trust Task specification: the `_shared` folder is skipped by the registry build and the codegen.
|
|
8
|
+
*/
|
|
9
|
+
export interface DIDKeyRolesSharedDefinitionsForTheVtaWebvhDidsKeyRoleTasks {
|
|
10
|
+
[k: string]: unknown | undefined;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
15
|
+
* See "../../../_shared/components.js".
|
|
16
|
+
*/
|
|
17
|
+
export type { DidDocumentChange, DidDocumentPreview, DidVerificationRelationship, KeyRole, KeyRoleApprovalState, KeyRoleChangeOutcome, KeyRoleProjection, RoleKey, RoleKeyCustody, RoleKeyState, RoleSummary, RotationKind, RotationRecord, RotationState } from "../../../_shared/components.js";
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vta/attestation/mnemonic-export/1.0/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Ext } from "../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Asks an agent running in a trusted execution environment to release its seed mnemonic, once, sealed to a key only the producer holds. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.
|
|
11
|
+
*/
|
|
12
|
+
export interface VTAAttestationMnemonicExportPayload {
|
|
13
|
+
/**
|
|
14
|
+
* The Ed25519 did:key the mnemonic is sealed to, by its X25519 counterpart, so only the holder of this key's private half can open the answer. Over an end-to-end channel, a key generated for this one export on the machine that will hold the backup, and discarded after. On the signed first-boot path over a hop-by-hop channel, exactly the document's issuer: the key that signed the request.
|
|
15
|
+
*/
|
|
16
|
+
clientDid: string;
|
|
17
|
+
/**
|
|
18
|
+
* Sixteen random bytes, base64url without padding. It becomes the sealed bundle's identifier, and the recipient binds it into its attestation quote, so an answer cannot be replayed to a different request.
|
|
19
|
+
*/
|
|
20
|
+
nonce: string;
|
|
21
|
+
/**
|
|
22
|
+
* Operator-visible label for the request. Never sealed into the answer and never treated as an instruction.
|
|
23
|
+
*/
|
|
24
|
+
label?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1.
|
|
27
|
+
*/
|
|
28
|
+
ext?: Ext;
|
|
29
|
+
}
|
|
30
|
+
export interface VTAAttestationMnemonicExportResponsePayload {
|
|
31
|
+
/**
|
|
32
|
+
* The ASCII-armored sealed bundle. It carries the mnemonic sealed to clientDid under a producer assertion whose attestation quote binds the client key, the nonce and the recipient's own sealing key.
|
|
33
|
+
*/
|
|
34
|
+
bundle: string;
|
|
35
|
+
/**
|
|
36
|
+
* SHA-256 of the bundle, lowercase hex. The producer confirms it out of band before opening, so a substituted bundle is caught before any key is applied to it.
|
|
37
|
+
*/
|
|
38
|
+
digest: string;
|
|
39
|
+
/**
|
|
40
|
+
* Seconds that were left in the export window when the mnemonic was released. Informational: the window is spent either way.
|
|
41
|
+
*/
|
|
42
|
+
windowRemainingSecs: number;
|
|
43
|
+
/**
|
|
44
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1.
|
|
45
|
+
*/
|
|
46
|
+
ext?: Ext;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
50
|
+
export type { Ext };
|
|
51
|
+
|
|
52
|
+
/** Trust Task type URI. */
|
|
53
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vta/attestation/mnemonic-export/1.0" as const;
|
|
54
|
+
|
|
55
|
+
/** Stable alias for this specification's request payload shape. */
|
|
56
|
+
export type Payload = VTAAttestationMnemonicExportPayload;
|
|
57
|
+
|
|
58
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
59
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/attestation/mnemonic-export/1.0#response" as const;
|
|
60
|
+
|
|
61
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
62
|
+
export type Response = VTAAttestationMnemonicExportResponsePayload;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* This specification's payload schema, as a value.
|
|
66
|
+
*
|
|
67
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
68
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
69
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
70
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
71
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
72
|
+
*/
|
|
73
|
+
export const PAYLOAD_SCHEMA = {
|
|
74
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
75
|
+
"$id": "https://trusttasks.org/spec/vta/attestation/mnemonic-export/1.0",
|
|
76
|
+
"title": "VTA Attestation — Mnemonic Export — payload",
|
|
77
|
+
"description": "Asks an agent running in a trusted execution environment to release its seed mnemonic, once, sealed to a key only the producer holds. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.",
|
|
78
|
+
"type": "object",
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"required": [
|
|
81
|
+
"clientDid",
|
|
82
|
+
"nonce"
|
|
83
|
+
],
|
|
84
|
+
"properties": {
|
|
85
|
+
"clientDid": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"pattern": "^did:key:z6Mk[1-9A-HJ-NP-Za-km-z]+$",
|
|
88
|
+
"maxLength": 128,
|
|
89
|
+
"description": "The Ed25519 did:key the mnemonic is sealed to, by its X25519 counterpart, so only the holder of this key's private half can open the answer. Over an end-to-end channel, a key generated for this one export on the machine that will hold the backup, and discarded after. On the signed first-boot path over a hop-by-hop channel, exactly the document's issuer: the key that signed the request."
|
|
90
|
+
},
|
|
91
|
+
"nonce": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"pattern": "^[A-Za-z0-9_-]{22}$",
|
|
94
|
+
"description": "Sixteen random bytes, base64url without padding. It becomes the sealed bundle's identifier, and the recipient binds it into its attestation quote, so an answer cannot be replayed to a different request."
|
|
95
|
+
},
|
|
96
|
+
"label": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"minLength": 1,
|
|
99
|
+
"maxLength": 256,
|
|
100
|
+
"description": "Operator-visible label for the request. Never sealed into the answer and never treated as an instruction."
|
|
101
|
+
},
|
|
102
|
+
"ext": {
|
|
103
|
+
"$ref": "#/$defs/Ext",
|
|
104
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"$defs": {
|
|
108
|
+
"Response": {
|
|
109
|
+
"$anchor": "response",
|
|
110
|
+
"title": "VTA Attestation Mnemonic Export — response payload",
|
|
111
|
+
"type": "object",
|
|
112
|
+
"additionalProperties": false,
|
|
113
|
+
"required": [
|
|
114
|
+
"bundle",
|
|
115
|
+
"digest",
|
|
116
|
+
"windowRemainingSecs"
|
|
117
|
+
],
|
|
118
|
+
"properties": {
|
|
119
|
+
"bundle": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"minLength": 1,
|
|
122
|
+
"maxLength": 65536,
|
|
123
|
+
"description": "The ASCII-armored sealed bundle. It carries the mnemonic sealed to clientDid under a producer assertion whose attestation quote binds the client key, the nonce and the recipient's own sealing key."
|
|
124
|
+
},
|
|
125
|
+
"digest": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"pattern": "^[0-9a-f]{64}$",
|
|
128
|
+
"description": "SHA-256 of the bundle, lowercase hex. The producer confirms it out of band before opening, so a substituted bundle is caught before any key is applied to it."
|
|
129
|
+
},
|
|
130
|
+
"windowRemainingSecs": {
|
|
131
|
+
"type": "integer",
|
|
132
|
+
"minimum": 0,
|
|
133
|
+
"description": "Seconds that were left in the export window when the mnemonic was released. Informational: the window is spent either way."
|
|
134
|
+
},
|
|
135
|
+
"ext": {
|
|
136
|
+
"$ref": "#/$defs/Ext",
|
|
137
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"Ext": {
|
|
142
|
+
"title": "Ext",
|
|
143
|
+
"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.",
|
|
144
|
+
"type": "object",
|
|
145
|
+
"minProperties": 1,
|
|
146
|
+
"additionalProperties": true,
|
|
147
|
+
"propertyNames": {
|
|
148
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
} as const;
|
|
153
|
+
|
|
154
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
155
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
156
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
157
|
+
"$ref": "#/$defs/Response",
|
|
158
|
+
"$defs": {
|
|
159
|
+
"Response": {
|
|
160
|
+
"$anchor": "response",
|
|
161
|
+
"title": "VTA Attestation Mnemonic Export — response payload",
|
|
162
|
+
"type": "object",
|
|
163
|
+
"additionalProperties": false,
|
|
164
|
+
"required": [
|
|
165
|
+
"bundle",
|
|
166
|
+
"digest",
|
|
167
|
+
"windowRemainingSecs"
|
|
168
|
+
],
|
|
169
|
+
"properties": {
|
|
170
|
+
"bundle": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"minLength": 1,
|
|
173
|
+
"maxLength": 65536,
|
|
174
|
+
"description": "The ASCII-armored sealed bundle. It carries the mnemonic sealed to clientDid under a producer assertion whose attestation quote binds the client key, the nonce and the recipient's own sealing key."
|
|
175
|
+
},
|
|
176
|
+
"digest": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"pattern": "^[0-9a-f]{64}$",
|
|
179
|
+
"description": "SHA-256 of the bundle, lowercase hex. The producer confirms it out of band before opening, so a substituted bundle is caught before any key is applied to it."
|
|
180
|
+
},
|
|
181
|
+
"windowRemainingSecs": {
|
|
182
|
+
"type": "integer",
|
|
183
|
+
"minimum": 0,
|
|
184
|
+
"description": "Seconds that were left in the export window when the mnemonic was released. Informational: the window is spent either way."
|
|
185
|
+
},
|
|
186
|
+
"ext": {
|
|
187
|
+
"$ref": "#/$defs/Ext",
|
|
188
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"Ext": {
|
|
193
|
+
"title": "Ext",
|
|
194
|
+
"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.",
|
|
195
|
+
"type": "object",
|
|
196
|
+
"minProperties": 1,
|
|
197
|
+
"additionalProperties": true,
|
|
198
|
+
"propertyNames": {
|
|
199
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
} as const;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
207
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
208
|
+
* per-specification and cannot be derived from the document alone, and
|
|
209
|
+
* item 2 needs the schema this carries.
|
|
210
|
+
*/
|
|
211
|
+
export const SPEC = {
|
|
212
|
+
typeUri: TYPE_URI,
|
|
213
|
+
isBearer: false,
|
|
214
|
+
isProofRequired: true,
|
|
215
|
+
isRecipientRequired: true,
|
|
216
|
+
isIssuedAtRequired: true,
|
|
217
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
218
|
+
} as const;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
222
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
223
|
+
* parties (§7.3 item 5).
|
|
224
|
+
*/
|
|
225
|
+
export const RESPONSE_SPEC = {
|
|
226
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
227
|
+
isBearer: false,
|
|
228
|
+
isProofRequired: true,
|
|
229
|
+
isRecipientRequired: true,
|
|
230
|
+
isIssuedAtRequired: true,
|
|
231
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
232
|
+
} as const;
|