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