@openvtc/trust-tasks 0.27.2 → 0.27.4
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 +11 -0
- package/dist/_runtime/consume.d.ts +2 -1
- package/dist/_runtime/consume.d.ts.map +1 -1
- package/dist/_runtime/consume.js +26 -1
- package/dist/_runtime/consume.js.map +1 -1
- package/dist/_runtime/document.d.ts +9 -0
- package/dist/_runtime/document.d.ts.map +1 -1
- package/dist/_runtime/document.js +15 -1
- package/dist/_runtime/document.js.map +1 -1
- package/dist/_runtime/freshness.d.ts +1 -1
- package/dist/_runtime/freshness.d.ts.map +1 -1
- package/dist/_runtime/freshness.js +5 -4
- package/dist/_runtime/freshness.js.map +1 -1
- package/dist/_shared/components.d.ts +272 -50
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/acl/list/0.3/payload.d.ts +1833 -0
- package/dist/acl/list/0.3/payload.d.ts.map +1 -0
- package/dist/acl/list/0.3/payload.js +1031 -0
- package/dist/acl/list/0.3/payload.js.map +1 -0
- package/dist/audit/list/0.2/payload.d.ts +633 -0
- package/dist/audit/list/0.2/payload.d.ts.map +1 -0
- package/dist/audit/list/0.2/payload.js +342 -0
- package/dist/audit/list/0.2/payload.js.map +1 -0
- package/dist/auth/oob/claim/0.2/payload.d.ts +463 -0
- package/dist/auth/oob/claim/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/claim/0.2/payload.js +264 -0
- package/dist/auth/oob/claim/0.2/payload.js.map +1 -0
- package/dist/auth/oob/grant/0.3/payload.d.ts +262 -0
- package/dist/auth/oob/grant/0.3/payload.d.ts.map +1 -0
- package/dist/auth/oob/grant/0.3/payload.js +140 -0
- package/dist/auth/oob/grant/0.3/payload.js.map +1 -0
- package/dist/auth/oob/prove/0.3/payload.d.ts +836 -0
- package/dist/auth/oob/prove/0.3/payload.d.ts.map +1 -0
- package/dist/auth/oob/prove/0.3/payload.js +468 -0
- package/dist/auth/oob/prove/0.3/payload.js.map +1 -0
- package/dist/auth/oob/redeem/0.2/payload.d.ts +364 -0
- package/dist/auth/oob/redeem/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/redeem/0.2/payload.js +199 -0
- package/dist/auth/oob/redeem/0.2/payload.js.map +1 -0
- package/dist/auth/oob/request/0.2/payload.d.ts +330 -0
- package/dist/auth/oob/request/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/request/0.2/payload.js +193 -0
- package/dist/auth/oob/request/0.2/payload.js.map +1 -0
- package/dist/auth/oob/respond/0.3/payload.d.ts +235 -0
- package/dist/auth/oob/respond/0.3/payload.d.ts.map +1 -0
- package/dist/auth/oob/respond/0.3/payload.js +140 -0
- package/dist/auth/oob/respond/0.3/payload.js.map +1 -0
- package/dist/consent/list/1.1/payload.d.ts +613 -0
- package/dist/consent/list/1.1/payload.d.ts.map +1 -0
- package/dist/consent/list/1.1/payload.js +353 -0
- package/dist/consent/list/1.1/payload.js.map +1 -0
- package/dist/device/list/0.3/payload.d.ts +1229 -0
- package/dist/device/list/0.3/payload.d.ts.map +1 -0
- package/dist/device/list/0.3/payload.js +796 -0
- package/dist/device/list/0.3/payload.js.map +1 -0
- package/dist/did-management/did/list/0.2/payload.d.ts +521 -0
- package/dist/did-management/did/list/0.2/payload.d.ts.map +1 -0
- package/dist/did-management/did/list/0.2/payload.js +285 -0
- package/dist/did-management/did/list/0.2/payload.js.map +1 -0
- package/dist/git-ns/account/list/0.2/payload.d.ts +598 -0
- package/dist/git-ns/account/list/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/account/list/0.2/payload.js +311 -0
- package/dist/git-ns/account/list/0.2/payload.js.map +1 -0
- package/dist/git-ns/activity/list/0.2/payload.d.ts +663 -0
- package/dist/git-ns/activity/list/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/activity/list/0.2/payload.js +345 -0
- package/dist/git-ns/activity/list/0.2/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/list/0.3/payload.d.ts +733 -0
- package/dist/git-ns/bridge/job/list/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/job/list/0.3/payload.js +402 -0
- package/dist/git-ns/bridge/job/list/0.3/payload.js.map +1 -0
- package/dist/git-ns/projection/show/0.2/payload.d.ts +705 -0
- package/dist/git-ns/projection/show/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/projection/show/0.2/payload.js +371 -0
- package/dist/git-ns/projection/show/0.2/payload.js.map +1 -0
- package/dist/git-ns/right/issued-by-departed/0.2/payload.d.ts +862 -0
- package/dist/git-ns/right/issued-by-departed/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/right/issued-by-departed/0.2/payload.js +481 -0
- package/dist/git-ns/right/issued-by-departed/0.2/payload.js.map +1 -0
- package/dist/git-ns/right/list/0.2/payload.d.ts +773 -0
- package/dist/git-ns/right/list/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/right/list/0.2/payload.js +433 -0
- package/dist/git-ns/right/list/0.2/payload.js.map +1 -0
- package/dist/index.d.ts +80 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +80 -0
- package/dist/index.js.map +1 -1
- package/dist/keys/list/0.2/payload.d.ts +627 -0
- package/dist/keys/list/0.2/payload.d.ts.map +1 -0
- package/dist/keys/list/0.2/payload.js +358 -0
- package/dist/keys/list/0.2/payload.js.map +1 -0
- package/dist/messaging/_shared/0.1/messaging.d.ts +1 -1
- package/dist/messaging/_shared/0.1/messaging.d.ts.map +1 -1
- package/dist/messaging/_shared/0.2/messaging.d.ts +16 -0
- package/dist/messaging/_shared/0.2/messaging.d.ts.map +1 -0
- package/dist/messaging/_shared/0.2/messaging.js +6 -0
- package/dist/messaging/_shared/0.2/messaging.js.map +1 -0
- 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/add/0.2/payload.d.ts +1156 -0
- package/dist/messaging/account/add/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/account/add/0.2/payload.js +611 -0
- package/dist/messaging/account/add/0.2/payload.js.map +1 -0
- 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/get/0.2/payload.d.ts +1142 -0
- package/dist/messaging/account/get/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/account/get/0.2/payload.js +606 -0
- package/dist/messaging/account/get/0.2/payload.js.map +1 -0
- 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/list/0.2/payload.d.ts +1206 -0
- package/dist/messaging/account/list/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/account/list/0.2/payload.js +630 -0
- package/dist/messaging/account/list/0.2/payload.js.map +1 -0
- 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/account/update/0.2/payload.d.ts +1154 -0
- package/dist/messaging/account/update/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/account/update/0.2/payload.js +610 -0
- package/dist/messaging/account/update/0.2/payload.js.map +1 -0
- package/dist/persona/attribute/promote/1.1/payload.d.ts +506 -0
- package/dist/persona/attribute/promote/1.1/payload.d.ts.map +1 -0
- package/dist/persona/attribute/promote/1.1/payload.js +263 -0
- package/dist/persona/attribute/promote/1.1/payload.js.map +1 -0
- package/dist/persona/attribute/put/1.1/payload.d.ts +1190 -0
- package/dist/persona/attribute/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/attribute/put/1.1/payload.js +687 -0
- package/dist/persona/attribute/put/1.1/payload.js.map +1 -0
- package/dist/persona/contact/lists/put/1.1/payload.d.ts +629 -0
- package/dist/persona/contact/lists/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/contact/lists/put/1.1/payload.js +366 -0
- package/dist/persona/contact/lists/put/1.1/payload.js.map +1 -0
- package/dist/persona/contact/put/1.2/payload.d.ts +1470 -0
- package/dist/persona/contact/put/1.2/payload.d.ts.map +1 -0
- package/dist/persona/contact/put/1.2/payload.js +880 -0
- package/dist/persona/contact/put/1.2/payload.js.map +1 -0
- package/dist/persona/local/profile/put/1.1/payload.d.ts +587 -0
- package/dist/persona/local/profile/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/local/profile/put/1.1/payload.js +331 -0
- package/dist/persona/local/profile/put/1.1/payload.js.map +1 -0
- package/dist/persona/profile/compose/1.1/payload.d.ts +979 -0
- package/dist/persona/profile/compose/1.1/payload.d.ts.map +1 -0
- package/dist/persona/profile/compose/1.1/payload.js +536 -0
- package/dist/persona/profile/compose/1.1/payload.js.map +1 -0
- package/dist/persona/profile/put/1.1/payload.d.ts +1411 -0
- package/dist/persona/profile/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/profile/put/1.1/payload.js +847 -0
- package/dist/persona/profile/put/1.1/payload.js.map +1 -0
- package/dist/persona/world/put/1.1/payload.d.ts +490 -0
- package/dist/persona/world/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/world/put/1.1/payload.js +272 -0
- package/dist/persona/world/put/1.1/payload.js.map +1 -0
- package/dist/policy/list/0.3/payload.d.ts +516 -0
- package/dist/policy/list/0.3/payload.d.ts.map +1 -0
- package/dist/policy/list/0.3/payload.js +286 -0
- package/dist/policy/list/0.3/payload.js.map +1 -0
- package/dist/policy/upsert/0.3/payload.d.ts +540 -0
- package/dist/policy/upsert/0.3/payload.d.ts.map +1 -0
- package/dist/policy/upsert/0.3/payload.js +304 -0
- package/dist/policy/upsert/0.3/payload.js.map +1 -0
- package/dist/registry/record/put/0.2/payload.d.ts +443 -0
- package/dist/registry/record/put/0.2/payload.d.ts.map +1 -0
- package/dist/registry/record/put/0.2/payload.js +255 -0
- package/dist/registry/record/put/0.2/payload.js.map +1 -0
- package/dist/registry/record/query/0.2/payload.d.ts +486 -0
- package/dist/registry/record/query/0.2/payload.d.ts.map +1 -0
- package/dist/registry/record/query/0.2/payload.js +265 -0
- package/dist/registry/record/query/0.2/payload.js.map +1 -0
- package/dist/rooms/records/list/0.4/payload.d.ts +970 -0
- package/dist/rooms/records/list/0.4/payload.d.ts.map +1 -0
- package/dist/rooms/records/list/0.4/payload.js +526 -0
- package/dist/rooms/records/list/0.4/payload.js.map +1 -0
- package/dist/vault/credentials/query/0.1/payload.d.ts +12 -0
- package/dist/vault/credentials/query/0.1/payload.d.ts.map +1 -1
- package/dist/vault/credentials/query/0.1/payload.js +4 -0
- package/dist/vault/credentials/query/0.1/payload.js.map +1 -1
- package/dist/vault/list/0.4/payload.d.ts +1537 -0
- package/dist/vault/list/0.4/payload.d.ts.map +1 -0
- package/dist/vault/list/0.4/payload.js +841 -0
- package/dist/vault/list/0.4/payload.js.map +1 -0
- package/dist/vault/sync/0.3/payload.d.ts +1790 -0
- package/dist/vault/sync/0.3/payload.d.ts.map +1 -0
- package/dist/vault/sync/0.3/payload.js +1069 -0
- package/dist/vault/sync/0.3/payload.js.map +1 -0
- package/dist/vault/upsert/0.4/payload.d.ts +1755 -0
- package/dist/vault/upsert/0.4/payload.d.ts.map +1 -0
- package/dist/vault/upsert/0.4/payload.js +1013 -0
- package/dist/vault/upsert/0.4/payload.js.map +1 -0
- package/dist/vault/usage/0.3/payload.d.ts +586 -0
- package/dist/vault/usage/0.3/payload.d.ts.map +1 -0
- package/dist/vault/usage/0.3/payload.js +326 -0
- package/dist/vault/usage/0.3/payload.js.map +1 -0
- package/dist/vta/_shared/0.1/app-state-record.d.ts +1 -1
- package/dist/vta/_shared/0.1/app-state-record.d.ts.map +1 -1
- package/dist/vta/_shared/0.1/webvh-records.d.ts +1 -1
- package/dist/vta/_shared/0.1/webvh-records.d.ts.map +1 -1
- package/dist/vta/_shared/0.7/app-state-record.d.ts +22 -0
- package/dist/vta/_shared/0.7/app-state-record.d.ts.map +1 -0
- package/dist/vta/_shared/0.7/app-state-record.js +6 -0
- package/dist/vta/_shared/0.7/app-state-record.js.map +1 -0
- package/dist/vta/_shared/0.7/did-template.d.ts +16 -0
- package/dist/vta/_shared/0.7/did-template.d.ts.map +1 -0
- package/dist/vta/_shared/0.7/did-template.js +6 -0
- package/dist/vta/_shared/0.7/did-template.js.map +1 -0
- package/dist/vta/_shared/0.7/webvh-records.d.ts +16 -0
- package/dist/vta/_shared/0.7/webvh-records.d.ts.map +1 -0
- package/dist/vta/_shared/0.7/webvh-records.js +6 -0
- package/dist/vta/_shared/0.7/webvh-records.js.map +1 -0
- package/dist/vta/app-state/list/1.1/payload.d.ts +705 -0
- package/dist/vta/app-state/list/1.1/payload.d.ts.map +1 -0
- package/dist/vta/app-state/list/1.1/payload.js +360 -0
- package/dist/vta/app-state/list/1.1/payload.js.map +1 -0
- package/dist/vta/app-state/put/1.1/payload.d.ts +549 -0
- package/dist/vta/app-state/put/1.1/payload.d.ts.map +1 -0
- package/dist/vta/app-state/put/1.1/payload.js +293 -0
- package/dist/vta/app-state/put/1.1/payload.js.map +1 -0
- package/dist/vta/app-state/put-many/1.0/payload.d.ts +1 -1
- package/dist/vta/app-state/put-many/1.0/payload.d.ts.map +1 -1
- package/dist/vta/app-state/put-many/1.1/payload.d.ts +807 -0
- package/dist/vta/app-state/put-many/1.1/payload.d.ts.map +1 -0
- package/dist/vta/app-state/put-many/1.1/payload.js +457 -0
- package/dist/vta/app-state/put-many/1.1/payload.js.map +1 -0
- package/dist/vta/credentials/list/0.2/payload.d.ts +610 -0
- package/dist/vta/credentials/list/0.2/payload.d.ts.map +1 -0
- package/dist/vta/credentials/list/0.2/payload.js +312 -0
- package/dist/vta/credentials/list/0.2/payload.js.map +1 -0
- package/dist/vta/did-templates/create/3.1/payload.d.ts +1100 -0
- package/dist/vta/did-templates/create/3.1/payload.d.ts.map +1 -0
- package/dist/vta/did-templates/create/3.1/payload.js +686 -0
- package/dist/vta/did-templates/create/3.1/payload.js.map +1 -0
- package/dist/vta/did-templates/get/3.1/payload.d.ts +750 -0
- package/dist/vta/did-templates/get/3.1/payload.d.ts.map +1 -0
- package/dist/vta/did-templates/get/3.1/payload.js +465 -0
- package/dist/vta/did-templates/get/3.1/payload.js.map +1 -0
- package/dist/vta/did-templates/list/3.1/payload.d.ts +807 -0
- package/dist/vta/did-templates/list/3.1/payload.d.ts.map +1 -0
- package/dist/vta/did-templates/list/3.1/payload.js +491 -0
- package/dist/vta/did-templates/list/3.1/payload.js.map +1 -0
- package/dist/vta/did-templates/update/3.1/payload.d.ts +1114 -0
- package/dist/vta/did-templates/update/3.1/payload.d.ts.map +1 -0
- package/dist/vta/did-templates/update/3.1/payload.js +692 -0
- package/dist/vta/did-templates/update/3.1/payload.js.map +1 -0
- package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts +1 -1
- package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts.map +1 -1
- package/dist/vta/webvh/agent-name/list/1.1/payload.d.ts +358 -0
- package/dist/vta/webvh/agent-name/list/1.1/payload.d.ts.map +1 -0
- package/dist/vta/webvh/agent-name/list/1.1/payload.js +203 -0
- package/dist/vta/webvh/agent-name/list/1.1/payload.js.map +1 -0
- package/dist/vta/witness/list/0.2/payload.d.ts +653 -0
- package/dist/vta/witness/list/0.2/payload.d.ts.map +1 -0
- package/dist/vta/witness/list/0.2/payload.js +341 -0
- package/dist/vta/witness/list/0.2/payload.js.map +1 -0
- package/dist/vtc/_shared/0.1/community-room.d.ts +1 -1
- package/dist/vtc/_shared/0.1/community-room.d.ts.map +1 -1
- package/dist/vtc/_shared/0.1/room-storage.d.ts +1 -1
- package/dist/vtc/_shared/0.1/room-storage.d.ts.map +1 -1
- package/dist/vtc/_shared/0.3/community-room.d.ts +16 -0
- package/dist/vtc/_shared/0.3/community-room.d.ts.map +1 -0
- package/dist/vtc/_shared/0.3/community-room.js +6 -0
- package/dist/vtc/_shared/0.3/community-room.js.map +1 -0
- package/dist/vtc/_shared/0.3/room-storage.d.ts +16 -0
- package/dist/vtc/_shared/0.3/room-storage.d.ts.map +1 -0
- package/dist/vtc/_shared/0.3/room-storage.js +6 -0
- package/dist/vtc/_shared/0.3/room-storage.js.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.5/payload.d.ts +409 -0
- package/dist/vtc/admin/events/subscribe/0.5/payload.d.ts.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.5/payload.js +238 -0
- package/dist/vtc/admin/events/subscribe/0.5/payload.js.map +1 -0
- package/dist/vtc/auth/admin-session/0.2/payload.d.ts +249 -0
- package/dist/vtc/auth/admin-session/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/auth/admin-session/0.2/payload.js +144 -0
- package/dist/vtc/auth/admin-session/0.2/payload.js.map +1 -0
- package/dist/vtc/auth/recognise/0.3/payload.d.ts +325 -0
- package/dist/vtc/auth/recognise/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/auth/recognise/0.3/payload.js +187 -0
- package/dist/vtc/auth/recognise/0.3/payload.js.map +1 -0
- package/dist/vtc/auth/recognise/challenge/0.2/payload.d.ts +233 -0
- package/dist/vtc/auth/recognise/challenge/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/auth/recognise/challenge/0.2/payload.js +136 -0
- package/dist/vtc/auth/recognise/challenge/0.2/payload.js.map +1 -0
- package/dist/vtc/directory/entries/list/0.2/payload.d.ts +5525 -0
- package/dist/vtc/directory/entries/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/directory/entries/list/0.2/payload.js +650 -0
- package/dist/vtc/directory/entries/list/0.2/payload.js.map +1 -0
- package/dist/vtc/directory/export/0.2/payload.d.ts +358 -0
- package/dist/vtc/directory/export/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/directory/export/0.2/payload.js +189 -0
- package/dist/vtc/directory/export/0.2/payload.js.map +1 -0
- package/dist/vtc/directory/notes/list/0.2/payload.d.ts +540 -0
- package/dist/vtc/directory/notes/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/directory/notes/list/0.2/payload.js +291 -0
- package/dist/vtc/directory/notes/list/0.2/payload.js.map +1 -0
- package/dist/vtc/elections/list/0.2/payload.d.ts +521 -0
- package/dist/vtc/elections/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/elections/list/0.2/payload.js +290 -0
- package/dist/vtc/elections/list/0.2/payload.js.map +1 -0
- package/dist/vtc/endorsement-types/list/0.2/payload.d.ts +382 -0
- package/dist/vtc/endorsement-types/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/endorsement-types/list/0.2/payload.js +210 -0
- package/dist/vtc/endorsement-types/list/0.2/payload.js.map +1 -0
- package/dist/vtc/endorsements/list/0.2/payload.d.ts +612 -0
- package/dist/vtc/endorsements/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/endorsements/list/0.2/payload.js +347 -0
- package/dist/vtc/endorsements/list/0.2/payload.js.map +1 -0
- package/dist/vtc/groups/list/0.2/payload.d.ts +1139 -0
- package/dist/vtc/groups/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/groups/list/0.2/payload.js +671 -0
- package/dist/vtc/groups/list/0.2/payload.js.map +1 -0
- package/dist/vtc/groups/members/list/0.2/payload.d.ts +1030 -0
- package/dist/vtc/groups/members/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/groups/members/list/0.2/payload.js +603 -0
- package/dist/vtc/groups/members/list/0.2/payload.js.map +1 -0
- package/dist/vtc/groups/requests/list/0.2/payload.d.ts +1080 -0
- package/dist/vtc/groups/requests/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/groups/requests/list/0.2/payload.js +620 -0
- package/dist/vtc/groups/requests/list/0.2/payload.js.map +1 -0
- package/dist/vtc/join-requests/list/0.2/payload.d.ts +653 -0
- package/dist/vtc/join-requests/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/join-requests/list/0.2/payload.js +405 -0
- package/dist/vtc/join-requests/list/0.2/payload.js.map +1 -0
- package/dist/vtc/members/list/0.2/payload.d.ts +596 -0
- package/dist/vtc/members/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/members/list/0.2/payload.js +381 -0
- package/dist/vtc/members/list/0.2/payload.js.map +1 -0
- package/dist/vtc/registry/records/list/0.2/payload.d.ts +576 -0
- package/dist/vtc/registry/records/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/registry/records/list/0.2/payload.js +306 -0
- package/dist/vtc/registry/records/list/0.2/payload.js.map +1 -0
- package/dist/vtc/registry/sync-jobs/list/0.2/payload.d.ts +584 -0
- package/dist/vtc/registry/sync-jobs/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/registry/sync-jobs/list/0.2/payload.js +337 -0
- package/dist/vtc/registry/sync-jobs/list/0.2/payload.js.map +1 -0
- package/dist/vtc/relationships/list/0.3/payload.d.ts +444 -0
- package/dist/vtc/relationships/list/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/relationships/list/0.3/payload.js +254 -0
- package/dist/vtc/relationships/list/0.3/payload.js.map +1 -0
- package/dist/vtc/rooms/community/create/0.1/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/create/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/create/0.2/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/create/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/create/0.3/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/create/0.3/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/create/0.4/payload.d.ts +1013 -0
- package/dist/vtc/rooms/community/create/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/create/0.4/payload.js +577 -0
- package/dist/vtc/rooms/community/create/0.4/payload.js.map +1 -0
- package/dist/vtc/rooms/community/get/0.1/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/get/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/get/0.2/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/get/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/get/0.3/payload.d.ts +887 -0
- package/dist/vtc/rooms/community/get/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/get/0.3/payload.js +517 -0
- package/dist/vtc/rooms/community/get/0.3/payload.js.map +1 -0
- package/dist/vtc/rooms/community/list/0.1/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/list/0.2/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/list/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/list/0.3/payload.d.ts +960 -0
- package/dist/vtc/rooms/community/list/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/list/0.3/payload.js +544 -0
- package/dist/vtc/rooms/community/list/0.3/payload.js.map +1 -0
- package/dist/vtc/rooms/community/update/0.1/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/update/0.2/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/update/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/update/0.3/payload.d.ts +1037 -0
- package/dist/vtc/rooms/community/update/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/update/0.3/payload.js +593 -0
- package/dist/vtc/rooms/community/update/0.3/payload.js.map +1 -0
- package/dist/vtc/rooms/get/0.1/payload.d.ts +1 -1
- package/dist/vtc/rooms/get/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/get/0.2/payload.d.ts +1 -1
- package/dist/vtc/rooms/get/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/get/0.3/payload.d.ts +1966 -0
- package/dist/vtc/rooms/get/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/get/0.3/payload.js +976 -0
- package/dist/vtc/rooms/get/0.3/payload.js.map +1 -0
- package/dist/vtc/rooms/list/0.2/payload.d.ts +653 -0
- package/dist/vtc/rooms/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/list/0.2/payload.js +360 -0
- package/dist/vtc/rooms/list/0.2/payload.js.map +1 -0
- package/dist/vtc/website/files/list/0.2/payload.d.ts +371 -0
- package/dist/vtc/website/files/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/website/files/list/0.2/payload.js +198 -0
- package/dist/vtc/website/files/list/0.2/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_runtime/consume.ts +26 -2
- package/src/_runtime/document.ts +17 -1
- package/src/_runtime/freshness.ts +5 -5
- package/src/_shared/components.ts +274 -50
- package/src/acl/list/0.3/payload.ts +1111 -0
- package/src/audit/list/0.2/payload.ts +406 -0
- package/src/auth/oob/claim/0.2/payload.ts +306 -0
- package/src/auth/oob/grant/0.3/payload.ts +186 -0
- package/src/auth/oob/prove/0.3/payload.ts +523 -0
- package/src/auth/oob/redeem/0.2/payload.ts +248 -0
- package/src/auth/oob/request/0.2/payload.ts +230 -0
- package/src/auth/oob/respond/0.3/payload.ts +178 -0
- package/src/consent/list/1.1/payload.ts +407 -0
- package/src/device/list/0.3/payload.ts +846 -0
- package/src/did-management/did/list/0.2/payload.ts +327 -0
- package/src/git-ns/account/list/0.2/payload.ts +386 -0
- package/src/git-ns/activity/list/0.2/payload.ts +438 -0
- package/src/git-ns/bridge/job/list/0.3/payload.ts +511 -0
- package/src/git-ns/projection/show/0.2/payload.ts +473 -0
- package/src/git-ns/right/issued-by-departed/0.2/payload.ts +544 -0
- package/src/git-ns/right/list/0.2/payload.ts +487 -0
- package/src/index.ts +80 -0
- package/src/keys/list/0.2/payload.ts +412 -0
- package/src/messaging/_shared/0.1/messaging.ts +1 -1
- package/src/messaging/_shared/0.2/messaging.ts +17 -0
- package/src/messaging/account/add/0.1/payload.ts +1 -1
- package/src/messaging/account/add/0.2/payload.ts +664 -0
- 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/get/0.2/payload.ts +655 -0
- package/src/messaging/account/list/0.1/payload.ts +1 -1
- package/src/messaging/account/list/0.2/payload.ts +691 -0
- package/src/messaging/account/update/0.1/payload.ts +1 -1
- package/src/messaging/account/update/0.2/payload.ts +663 -0
- package/src/persona/attribute/promote/1.1/payload.ts +344 -0
- package/src/persona/attribute/put/1.1/payload.ts +792 -0
- package/src/persona/contact/lists/put/1.1/payload.ts +429 -0
- package/src/persona/contact/put/1.2/payload.ts +988 -0
- package/src/persona/local/profile/put/1.1/payload.ts +399 -0
- package/src/persona/profile/compose/1.1/payload.ts +659 -0
- package/src/persona/profile/put/1.1/payload.ts +917 -0
- package/src/persona/world/put/1.1/payload.ts +339 -0
- package/src/policy/list/0.3/payload.ts +325 -0
- package/src/policy/upsert/0.3/payload.ts +341 -0
- package/src/registry/record/put/0.2/payload.ts +299 -0
- package/src/registry/record/query/0.2/payload.ts +324 -0
- package/src/rooms/records/list/0.4/payload.ts +601 -0
- package/src/vault/credentials/query/0.1/payload.ts +8 -0
- package/src/vault/list/0.4/payload.ts +945 -0
- package/src/vault/sync/0.3/payload.ts +1120 -0
- package/src/vault/upsert/0.4/payload.ts +1077 -0
- package/src/vault/usage/0.3/payload.ts +416 -0
- package/src/vta/_shared/0.1/app-state-record.ts +1 -1
- package/src/vta/_shared/0.1/webvh-records.ts +1 -1
- package/src/vta/_shared/0.7/app-state-record.ts +23 -0
- package/src/vta/_shared/0.7/did-template.ts +17 -0
- package/src/vta/_shared/0.7/webvh-records.ts +17 -0
- package/src/vta/app-state/list/1.1/payload.ts +444 -0
- package/src/vta/app-state/put/1.1/payload.ts +374 -0
- package/src/vta/app-state/put-many/1.0/payload.ts +1 -1
- package/src/vta/app-state/put-many/1.1/payload.ts +538 -0
- package/src/vta/credentials/list/0.2/payload.ts +406 -0
- package/src/vta/did-templates/create/3.1/payload.ts +721 -0
- package/src/vta/did-templates/get/3.1/payload.ts +500 -0
- package/src/vta/did-templates/list/3.1/payload.ts +535 -0
- package/src/vta/did-templates/update/3.1/payload.ts +731 -0
- package/src/vta/webvh/agent-name/list/1.0/payload.ts +1 -1
- package/src/vta/webvh/agent-name/list/1.1/payload.ts +242 -0
- package/src/vta/witness/list/0.2/payload.ts +427 -0
- package/src/vtc/_shared/0.1/community-room.ts +1 -1
- package/src/vtc/_shared/0.1/room-storage.ts +1 -1
- package/src/vtc/_shared/0.3/community-room.ts +17 -0
- package/src/vtc/_shared/0.3/room-storage.ts +17 -0
- package/src/vtc/admin/events/subscribe/0.5/payload.ts +318 -0
- package/src/vtc/auth/admin-session/0.2/payload.ts +180 -0
- package/src/vtc/auth/recognise/0.3/payload.ts +233 -0
- package/src/vtc/auth/recognise/challenge/0.2/payload.ts +168 -0
- package/src/vtc/directory/entries/list/0.2/payload.ts +5670 -0
- package/src/vtc/directory/export/0.2/payload.ts +244 -0
- package/src/vtc/directory/notes/list/0.2/payload.ts +340 -0
- package/src/vtc/elections/list/0.2/payload.ts +371 -0
- package/src/vtc/endorsement-types/list/0.2/payload.ts +247 -0
- package/src/vtc/endorsements/list/0.2/payload.ts +400 -0
- package/src/vtc/groups/list/0.2/payload.ts +731 -0
- package/src/vtc/groups/members/list/0.2/payload.ts +650 -0
- package/src/vtc/groups/requests/list/0.2/payload.ts +677 -0
- package/src/vtc/join-requests/list/0.2/payload.ts +447 -0
- package/src/vtc/members/list/0.2/payload.ts +426 -0
- package/src/vtc/registry/records/list/0.2/payload.ts +401 -0
- package/src/vtc/registry/sync-jobs/list/0.2/payload.ts +427 -0
- package/src/vtc/relationships/list/0.3/payload.ts +309 -0
- package/src/vtc/rooms/community/create/0.1/payload.ts +1 -1
- package/src/vtc/rooms/community/create/0.2/payload.ts +1 -1
- package/src/vtc/rooms/community/create/0.3/payload.ts +1 -1
- package/src/vtc/rooms/community/create/0.4/payload.ts +635 -0
- package/src/vtc/rooms/community/get/0.1/payload.ts +1 -1
- package/src/vtc/rooms/community/get/0.2/payload.ts +1 -1
- package/src/vtc/rooms/community/get/0.3/payload.ts +549 -0
- package/src/vtc/rooms/community/list/0.1/payload.ts +1 -1
- package/src/vtc/rooms/community/list/0.2/payload.ts +1 -1
- package/src/vtc/rooms/community/list/0.3/payload.ts +591 -0
- package/src/vtc/rooms/community/update/0.1/payload.ts +1 -1
- package/src/vtc/rooms/community/update/0.2/payload.ts +1 -1
- package/src/vtc/rooms/community/update/0.3/payload.ts +653 -0
- package/src/vtc/rooms/get/0.1/payload.ts +1 -1
- package/src/vtc/rooms/get/0.2/payload.ts +1 -1
- package/src/vtc/rooms/get/0.3/payload.ts +1372 -0
- package/src/vtc/rooms/list/0.2/payload.ts +449 -0
- package/src/vtc/website/files/list/0.2/payload.ts +252 -0
|
@@ -0,0 +1,796 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/device/list/0.3/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/device/list/0.3";
|
|
7
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
8
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/device/list/0.3#response";
|
|
9
|
+
/**
|
|
10
|
+
* This specification's payload schema, as a value.
|
|
11
|
+
*
|
|
12
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
13
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
14
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
15
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
16
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
17
|
+
*/
|
|
18
|
+
export const PAYLOAD_SCHEMA = {
|
|
19
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20
|
+
"$id": "https://trusttasks.org/spec/device/list/0.3",
|
|
21
|
+
"title": "Device List — payload",
|
|
22
|
+
"description": "List DeviceBindings known to the maintainer, optionally filtered by consumer kind, capability, status, and last-seen time.",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"properties": {
|
|
26
|
+
"consumerKindFilter": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"companion",
|
|
30
|
+
"service"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"formFactorFilter": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"browser",
|
|
37
|
+
"mobile",
|
|
38
|
+
"desktop"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"serviceKindFilter": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
|
+
"mediator",
|
|
45
|
+
"aiAgent",
|
|
46
|
+
"daemon"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"capabilityFilter": {
|
|
50
|
+
"$ref": "#/$defs/Capability"
|
|
51
|
+
},
|
|
52
|
+
"includeDisabled": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"default": false,
|
|
55
|
+
"description": "When true, include devices with `disabledAt` set. Default omits disabled."
|
|
56
|
+
},
|
|
57
|
+
"includeWiped": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"default": false
|
|
60
|
+
},
|
|
61
|
+
"lastSeenSince": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"format": "date-time"
|
|
64
|
+
},
|
|
65
|
+
"cursor": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "An opaque continuation token from a previous response's `nextCursor`; a responder MUST NOT accept a cursor it did not issue."
|
|
68
|
+
},
|
|
69
|
+
"limit": {
|
|
70
|
+
"type": "integer",
|
|
71
|
+
"minimum": 1,
|
|
72
|
+
"maximum": 1000,
|
|
73
|
+
"description": "The most devices to return; the responder chooses a default and MAY return fewer."
|
|
74
|
+
},
|
|
75
|
+
"ext": {
|
|
76
|
+
"$ref": "#/$defs/Ext"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"$defs": {
|
|
80
|
+
"Response": {
|
|
81
|
+
"$anchor": "response",
|
|
82
|
+
"title": "Device List — response payload",
|
|
83
|
+
"type": "object",
|
|
84
|
+
"additionalProperties": false,
|
|
85
|
+
"required": [
|
|
86
|
+
"devices"
|
|
87
|
+
],
|
|
88
|
+
"properties": {
|
|
89
|
+
"devices": {
|
|
90
|
+
"type": "array",
|
|
91
|
+
"items": {
|
|
92
|
+
"$ref": "#/$defs/DeviceBinding"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"nextCursor": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"description": "Opaque continuation token for the next page, sent back as the request's `cursor`. Present when more matching devices remain; absent on the last page."
|
|
98
|
+
},
|
|
99
|
+
"ext": {
|
|
100
|
+
"$ref": "#/$defs/Ext"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"Ext": {
|
|
105
|
+
"title": "Ext",
|
|
106
|
+
"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.",
|
|
107
|
+
"type": "object",
|
|
108
|
+
"minProperties": 1,
|
|
109
|
+
"additionalProperties": true,
|
|
110
|
+
"propertyNames": {
|
|
111
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"DeviceBinding": {
|
|
115
|
+
"title": "DeviceBinding",
|
|
116
|
+
"type": "object",
|
|
117
|
+
"additionalProperties": false,
|
|
118
|
+
"required": [
|
|
119
|
+
"deviceId",
|
|
120
|
+
"consumerKind",
|
|
121
|
+
"displayName",
|
|
122
|
+
"registeredAt",
|
|
123
|
+
"consumerDid"
|
|
124
|
+
],
|
|
125
|
+
"properties": {
|
|
126
|
+
"deviceId": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"minLength": 1,
|
|
129
|
+
"description": "Maintainer-assigned opaque id for this device. Stable across the device's lifetime — never re-used after disable or wipe."
|
|
130
|
+
},
|
|
131
|
+
"consumerDid": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"minLength": 1,
|
|
134
|
+
"description": "The long-term VTA-derived key (DID) the device authenticates with. Established via the ACL-swap pattern at registration."
|
|
135
|
+
},
|
|
136
|
+
"consumerKind": {
|
|
137
|
+
"$ref": "#/$defs/ConsumerKind"
|
|
138
|
+
},
|
|
139
|
+
"displayName": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"minLength": 1,
|
|
142
|
+
"maxLength": 128,
|
|
143
|
+
"description": "Human-readable name (e.g. \"Glenn's MacBook — Chrome\", \"iPhone 17\")."
|
|
144
|
+
},
|
|
145
|
+
"platform": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"description": "Free-form platform descriptor (e.g. \"macOS 16 / Chrome 142\", \"iOS 19.1\", \"Android 16\", \"Linux/x86_64\"). Producer-supplied at registration; consumer-supplied updates are accepted on heartbeat."
|
|
148
|
+
},
|
|
149
|
+
"attestation": {
|
|
150
|
+
"$ref": "#/$defs/DeviceAttestation"
|
|
151
|
+
},
|
|
152
|
+
"pushCapable": {
|
|
153
|
+
"type": "boolean",
|
|
154
|
+
"description": "Whether this device has a usable push channel — i.e. it has registered a push token with a push gateway and conveyed the resulting opaque WakeHandle to its VTA via device/set-wake (https://trusttasks.org/binding/push/0.1). Informational visibility for device/list only. The raw platform push token is held ONLY by the gateway; the maintainer/VTA holds the opaque WakeHandle and the VTA-owned trigger allowlist, never the token. Set from the presence of a current WakeHandle for this device."
|
|
155
|
+
},
|
|
156
|
+
"keyCustody": {
|
|
157
|
+
"$ref": "#/$defs/KeyCustody",
|
|
158
|
+
"description": "How the device custodies its private key material (tier + algorithms). Maintainer policy input, mirroring `attestation` — a maintainer MAY apply stricter policy to `software`-tier devices. See docs/design-notes/mobile-key-custody-profile.md."
|
|
159
|
+
},
|
|
160
|
+
"capabilities": {
|
|
161
|
+
"type": "array",
|
|
162
|
+
"items": {
|
|
163
|
+
"$ref": "#/$defs/Capability"
|
|
164
|
+
},
|
|
165
|
+
"uniqueItems": true,
|
|
166
|
+
"description": "Capability bitset granted to this device (mirrors the ACL-side scope). Returned for inspection; mutated only via acl/change-role or device/disable."
|
|
167
|
+
},
|
|
168
|
+
"registeredAt": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"format": "date-time"
|
|
171
|
+
},
|
|
172
|
+
"lastSeenAt": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"format": "date-time",
|
|
175
|
+
"description": "Updated on every device/heartbeat and on any successful auth."
|
|
176
|
+
},
|
|
177
|
+
"disabledAt": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"format": "date-time",
|
|
180
|
+
"description": "Present when the device has been disabled (device/disable). Disabled devices cannot authenticate but their record is retained for audit."
|
|
181
|
+
},
|
|
182
|
+
"wipedAt": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"format": "date-time",
|
|
185
|
+
"description": "Present when a wipe has been issued (device/wipe). Distinct from disabledAt — a wiped device is also disabled, but wipe additionally communicates a wipe-cache instruction that the device may or may not have executed (see device/wipe)."
|
|
186
|
+
},
|
|
187
|
+
"ext": {
|
|
188
|
+
"$ref": "#/$defs/Ext"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"Capability": {
|
|
193
|
+
"title": "Capability",
|
|
194
|
+
"type": "string",
|
|
195
|
+
"enum": [
|
|
196
|
+
"vaultRead",
|
|
197
|
+
"vaultWrite",
|
|
198
|
+
"proxyLogin",
|
|
199
|
+
"fillRelease",
|
|
200
|
+
"policyAdmin",
|
|
201
|
+
"deviceAdmin",
|
|
202
|
+
"sign",
|
|
203
|
+
"keyMint",
|
|
204
|
+
"signTrustTask",
|
|
205
|
+
"credentialWrite",
|
|
206
|
+
"memoryRead",
|
|
207
|
+
"memoryWrite",
|
|
208
|
+
"roomPresent",
|
|
209
|
+
"roomOpen",
|
|
210
|
+
"keyExport",
|
|
211
|
+
"signSshsig",
|
|
212
|
+
"signJws",
|
|
213
|
+
"signCsr",
|
|
214
|
+
"signDocument",
|
|
215
|
+
"externalAccountsManage",
|
|
216
|
+
"externalAuthUse",
|
|
217
|
+
"pcsVetter",
|
|
218
|
+
"pcsApplicant",
|
|
219
|
+
"witnessRequest",
|
|
220
|
+
"pcsVoter",
|
|
221
|
+
"pcsTrustee",
|
|
222
|
+
"credentialPresent"
|
|
223
|
+
],
|
|
224
|
+
"description": "Fine-grained capability flag scoped to the device's allowed contexts. See SPEC.md for the full semantics of each. Capability values are additive: a consumer MUST ignore a value it does not recognise rather than reject the binding, and MUST NOT treat an unrecognised value as conferring anything."
|
|
225
|
+
},
|
|
226
|
+
"KeyCustody": {
|
|
227
|
+
"title": "KeyCustody",
|
|
228
|
+
"description": "How a device custodies its private key material — maintainer policy input, mirroring `attestation`. See docs/design-notes/mobile-key-custody-profile.md.",
|
|
229
|
+
"type": "object",
|
|
230
|
+
"additionalProperties": false,
|
|
231
|
+
"required": [
|
|
232
|
+
"tier"
|
|
233
|
+
],
|
|
234
|
+
"properties": {
|
|
235
|
+
"tier": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"enum": [
|
|
238
|
+
"hardware",
|
|
239
|
+
"software"
|
|
240
|
+
],
|
|
241
|
+
"description": "`hardware`: the key is non-exportable in the secure keystore (iOS Secure Enclave / Android StrongBox) and every signing / key-agreement operation runs in-chip — achievable only with P-256. `software`: the key is held in app memory during use, stored hardware-wrapped at rest. Maintainers MAY apply stricter policy (shorter sessions, more frequent step-up) to `software`-tier devices."
|
|
242
|
+
},
|
|
243
|
+
"signingAlg": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"description": "JOSE `alg` of the holder's signing key, e.g. `ES256` (hardware-custodiable on mobile) or `EdDSA` (not)."
|
|
246
|
+
},
|
|
247
|
+
"keyAgreementCurve": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"description": "Curve of the holder's keyAgreement key, e.g. `P-256` (hardware-custodiable on mobile) or `X25519` (not)."
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"DeviceAttestation": {
|
|
254
|
+
"title": "DeviceAttestation",
|
|
255
|
+
"description": "Producer-supplied attestation at registration time, verifiable by the maintainer against the platform's attestation infrastructure. Tagged union over the discriminator `kind`.",
|
|
256
|
+
"oneOf": [
|
|
257
|
+
{
|
|
258
|
+
"title": "WebAuthnAttestation",
|
|
259
|
+
"type": "object",
|
|
260
|
+
"additionalProperties": false,
|
|
261
|
+
"required": [
|
|
262
|
+
"kind",
|
|
263
|
+
"aaguid"
|
|
264
|
+
],
|
|
265
|
+
"properties": {
|
|
266
|
+
"kind": {
|
|
267
|
+
"const": "webauthn"
|
|
268
|
+
},
|
|
269
|
+
"aaguid": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
|
|
272
|
+
"description": "WebAuthn Authenticator AAGUID (UUID)."
|
|
273
|
+
},
|
|
274
|
+
"attestationStatement": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"description": "Base64url-encoded WebAuthn attestation statement, when supplied by the platform."
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"title": "AppleAppAttest",
|
|
282
|
+
"type": "object",
|
|
283
|
+
"additionalProperties": false,
|
|
284
|
+
"required": [
|
|
285
|
+
"kind",
|
|
286
|
+
"keyId",
|
|
287
|
+
"attestation"
|
|
288
|
+
],
|
|
289
|
+
"properties": {
|
|
290
|
+
"kind": {
|
|
291
|
+
"const": "appleAppAttest"
|
|
292
|
+
},
|
|
293
|
+
"keyId": {
|
|
294
|
+
"type": "string",
|
|
295
|
+
"minLength": 1
|
|
296
|
+
},
|
|
297
|
+
"attestation": {
|
|
298
|
+
"type": "string"
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"title": "PlayIntegrity",
|
|
304
|
+
"type": "object",
|
|
305
|
+
"additionalProperties": false,
|
|
306
|
+
"required": [
|
|
307
|
+
"kind",
|
|
308
|
+
"token"
|
|
309
|
+
],
|
|
310
|
+
"properties": {
|
|
311
|
+
"kind": {
|
|
312
|
+
"const": "playIntegrity"
|
|
313
|
+
},
|
|
314
|
+
"token": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"minLength": 1
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"title": "Tpm",
|
|
322
|
+
"type": "object",
|
|
323
|
+
"additionalProperties": false,
|
|
324
|
+
"required": [
|
|
325
|
+
"kind",
|
|
326
|
+
"quote"
|
|
327
|
+
],
|
|
328
|
+
"properties": {
|
|
329
|
+
"kind": {
|
|
330
|
+
"const": "tpm"
|
|
331
|
+
},
|
|
332
|
+
"quote": {
|
|
333
|
+
"type": "string"
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"title": "NitroEnclave",
|
|
339
|
+
"type": "object",
|
|
340
|
+
"additionalProperties": false,
|
|
341
|
+
"required": [
|
|
342
|
+
"kind",
|
|
343
|
+
"quote"
|
|
344
|
+
],
|
|
345
|
+
"properties": {
|
|
346
|
+
"kind": {
|
|
347
|
+
"const": "nitroEnclave"
|
|
348
|
+
},
|
|
349
|
+
"quote": {
|
|
350
|
+
"type": "string"
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"title": "NoAttestation",
|
|
356
|
+
"type": "object",
|
|
357
|
+
"additionalProperties": false,
|
|
358
|
+
"required": [
|
|
359
|
+
"kind"
|
|
360
|
+
],
|
|
361
|
+
"properties": {
|
|
362
|
+
"kind": {
|
|
363
|
+
"const": "none"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"description": "No device-level attestation is available. Maintainers MAY still register the device but SHOULD apply stricter policy (shorter session TTL, more frequent step-up)."
|
|
367
|
+
}
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
"ConsumerKind": {
|
|
371
|
+
"title": "ConsumerKind",
|
|
372
|
+
"description": "Discriminator: is this consumer a user-driven Companion or a headless Service?",
|
|
373
|
+
"oneOf": [
|
|
374
|
+
{
|
|
375
|
+
"title": "Companion",
|
|
376
|
+
"type": "object",
|
|
377
|
+
"additionalProperties": false,
|
|
378
|
+
"required": [
|
|
379
|
+
"kind",
|
|
380
|
+
"formFactor"
|
|
381
|
+
],
|
|
382
|
+
"properties": {
|
|
383
|
+
"kind": {
|
|
384
|
+
"const": "companion"
|
|
385
|
+
},
|
|
386
|
+
"formFactor": {
|
|
387
|
+
"type": "string",
|
|
388
|
+
"enum": [
|
|
389
|
+
"browser",
|
|
390
|
+
"mobile",
|
|
391
|
+
"desktop"
|
|
392
|
+
]
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"title": "Service",
|
|
398
|
+
"type": "object",
|
|
399
|
+
"additionalProperties": false,
|
|
400
|
+
"required": [
|
|
401
|
+
"kind",
|
|
402
|
+
"serviceKind"
|
|
403
|
+
],
|
|
404
|
+
"properties": {
|
|
405
|
+
"kind": {
|
|
406
|
+
"const": "service"
|
|
407
|
+
},
|
|
408
|
+
"serviceKind": {
|
|
409
|
+
"type": "string",
|
|
410
|
+
"enum": [
|
|
411
|
+
"mediator",
|
|
412
|
+
"aiAgent",
|
|
413
|
+
"daemon"
|
|
414
|
+
]
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
]
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
423
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
424
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
425
|
+
"$ref": "#/$defs/Response",
|
|
426
|
+
"$defs": {
|
|
427
|
+
"Response": {
|
|
428
|
+
"$anchor": "response",
|
|
429
|
+
"title": "Device List — response payload",
|
|
430
|
+
"type": "object",
|
|
431
|
+
"additionalProperties": false,
|
|
432
|
+
"required": [
|
|
433
|
+
"devices"
|
|
434
|
+
],
|
|
435
|
+
"properties": {
|
|
436
|
+
"devices": {
|
|
437
|
+
"type": "array",
|
|
438
|
+
"items": {
|
|
439
|
+
"$ref": "#/$defs/DeviceBinding"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"nextCursor": {
|
|
443
|
+
"type": "string",
|
|
444
|
+
"description": "Opaque continuation token for the next page, sent back as the request's `cursor`. Present when more matching devices remain; absent on the last page."
|
|
445
|
+
},
|
|
446
|
+
"ext": {
|
|
447
|
+
"$ref": "#/$defs/Ext"
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"Ext": {
|
|
452
|
+
"title": "Ext",
|
|
453
|
+
"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.",
|
|
454
|
+
"type": "object",
|
|
455
|
+
"minProperties": 1,
|
|
456
|
+
"additionalProperties": true,
|
|
457
|
+
"propertyNames": {
|
|
458
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
"DeviceBinding": {
|
|
462
|
+
"title": "DeviceBinding",
|
|
463
|
+
"type": "object",
|
|
464
|
+
"additionalProperties": false,
|
|
465
|
+
"required": [
|
|
466
|
+
"deviceId",
|
|
467
|
+
"consumerKind",
|
|
468
|
+
"displayName",
|
|
469
|
+
"registeredAt",
|
|
470
|
+
"consumerDid"
|
|
471
|
+
],
|
|
472
|
+
"properties": {
|
|
473
|
+
"deviceId": {
|
|
474
|
+
"type": "string",
|
|
475
|
+
"minLength": 1,
|
|
476
|
+
"description": "Maintainer-assigned opaque id for this device. Stable across the device's lifetime — never re-used after disable or wipe."
|
|
477
|
+
},
|
|
478
|
+
"consumerDid": {
|
|
479
|
+
"type": "string",
|
|
480
|
+
"minLength": 1,
|
|
481
|
+
"description": "The long-term VTA-derived key (DID) the device authenticates with. Established via the ACL-swap pattern at registration."
|
|
482
|
+
},
|
|
483
|
+
"consumerKind": {
|
|
484
|
+
"$ref": "#/$defs/ConsumerKind"
|
|
485
|
+
},
|
|
486
|
+
"displayName": {
|
|
487
|
+
"type": "string",
|
|
488
|
+
"minLength": 1,
|
|
489
|
+
"maxLength": 128,
|
|
490
|
+
"description": "Human-readable name (e.g. \"Glenn's MacBook — Chrome\", \"iPhone 17\")."
|
|
491
|
+
},
|
|
492
|
+
"platform": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"description": "Free-form platform descriptor (e.g. \"macOS 16 / Chrome 142\", \"iOS 19.1\", \"Android 16\", \"Linux/x86_64\"). Producer-supplied at registration; consumer-supplied updates are accepted on heartbeat."
|
|
495
|
+
},
|
|
496
|
+
"attestation": {
|
|
497
|
+
"$ref": "#/$defs/DeviceAttestation"
|
|
498
|
+
},
|
|
499
|
+
"pushCapable": {
|
|
500
|
+
"type": "boolean",
|
|
501
|
+
"description": "Whether this device has a usable push channel — i.e. it has registered a push token with a push gateway and conveyed the resulting opaque WakeHandle to its VTA via device/set-wake (https://trusttasks.org/binding/push/0.1). Informational visibility for device/list only. The raw platform push token is held ONLY by the gateway; the maintainer/VTA holds the opaque WakeHandle and the VTA-owned trigger allowlist, never the token. Set from the presence of a current WakeHandle for this device."
|
|
502
|
+
},
|
|
503
|
+
"keyCustody": {
|
|
504
|
+
"$ref": "#/$defs/KeyCustody",
|
|
505
|
+
"description": "How the device custodies its private key material (tier + algorithms). Maintainer policy input, mirroring `attestation` — a maintainer MAY apply stricter policy to `software`-tier devices. See docs/design-notes/mobile-key-custody-profile.md."
|
|
506
|
+
},
|
|
507
|
+
"capabilities": {
|
|
508
|
+
"type": "array",
|
|
509
|
+
"items": {
|
|
510
|
+
"$ref": "#/$defs/Capability"
|
|
511
|
+
},
|
|
512
|
+
"uniqueItems": true,
|
|
513
|
+
"description": "Capability bitset granted to this device (mirrors the ACL-side scope). Returned for inspection; mutated only via acl/change-role or device/disable."
|
|
514
|
+
},
|
|
515
|
+
"registeredAt": {
|
|
516
|
+
"type": "string",
|
|
517
|
+
"format": "date-time"
|
|
518
|
+
},
|
|
519
|
+
"lastSeenAt": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"format": "date-time",
|
|
522
|
+
"description": "Updated on every device/heartbeat and on any successful auth."
|
|
523
|
+
},
|
|
524
|
+
"disabledAt": {
|
|
525
|
+
"type": "string",
|
|
526
|
+
"format": "date-time",
|
|
527
|
+
"description": "Present when the device has been disabled (device/disable). Disabled devices cannot authenticate but their record is retained for audit."
|
|
528
|
+
},
|
|
529
|
+
"wipedAt": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"format": "date-time",
|
|
532
|
+
"description": "Present when a wipe has been issued (device/wipe). Distinct from disabledAt — a wiped device is also disabled, but wipe additionally communicates a wipe-cache instruction that the device may or may not have executed (see device/wipe)."
|
|
533
|
+
},
|
|
534
|
+
"ext": {
|
|
535
|
+
"$ref": "#/$defs/Ext"
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"Capability": {
|
|
540
|
+
"title": "Capability",
|
|
541
|
+
"type": "string",
|
|
542
|
+
"enum": [
|
|
543
|
+
"vaultRead",
|
|
544
|
+
"vaultWrite",
|
|
545
|
+
"proxyLogin",
|
|
546
|
+
"fillRelease",
|
|
547
|
+
"policyAdmin",
|
|
548
|
+
"deviceAdmin",
|
|
549
|
+
"sign",
|
|
550
|
+
"keyMint",
|
|
551
|
+
"signTrustTask",
|
|
552
|
+
"credentialWrite",
|
|
553
|
+
"memoryRead",
|
|
554
|
+
"memoryWrite",
|
|
555
|
+
"roomPresent",
|
|
556
|
+
"roomOpen",
|
|
557
|
+
"keyExport",
|
|
558
|
+
"signSshsig",
|
|
559
|
+
"signJws",
|
|
560
|
+
"signCsr",
|
|
561
|
+
"signDocument",
|
|
562
|
+
"externalAccountsManage",
|
|
563
|
+
"externalAuthUse",
|
|
564
|
+
"pcsVetter",
|
|
565
|
+
"pcsApplicant",
|
|
566
|
+
"witnessRequest",
|
|
567
|
+
"pcsVoter",
|
|
568
|
+
"pcsTrustee",
|
|
569
|
+
"credentialPresent"
|
|
570
|
+
],
|
|
571
|
+
"description": "Fine-grained capability flag scoped to the device's allowed contexts. See SPEC.md for the full semantics of each. Capability values are additive: a consumer MUST ignore a value it does not recognise rather than reject the binding, and MUST NOT treat an unrecognised value as conferring anything."
|
|
572
|
+
},
|
|
573
|
+
"KeyCustody": {
|
|
574
|
+
"title": "KeyCustody",
|
|
575
|
+
"description": "How a device custodies its private key material — maintainer policy input, mirroring `attestation`. See docs/design-notes/mobile-key-custody-profile.md.",
|
|
576
|
+
"type": "object",
|
|
577
|
+
"additionalProperties": false,
|
|
578
|
+
"required": [
|
|
579
|
+
"tier"
|
|
580
|
+
],
|
|
581
|
+
"properties": {
|
|
582
|
+
"tier": {
|
|
583
|
+
"type": "string",
|
|
584
|
+
"enum": [
|
|
585
|
+
"hardware",
|
|
586
|
+
"software"
|
|
587
|
+
],
|
|
588
|
+
"description": "`hardware`: the key is non-exportable in the secure keystore (iOS Secure Enclave / Android StrongBox) and every signing / key-agreement operation runs in-chip — achievable only with P-256. `software`: the key is held in app memory during use, stored hardware-wrapped at rest. Maintainers MAY apply stricter policy (shorter sessions, more frequent step-up) to `software`-tier devices."
|
|
589
|
+
},
|
|
590
|
+
"signingAlg": {
|
|
591
|
+
"type": "string",
|
|
592
|
+
"description": "JOSE `alg` of the holder's signing key, e.g. `ES256` (hardware-custodiable on mobile) or `EdDSA` (not)."
|
|
593
|
+
},
|
|
594
|
+
"keyAgreementCurve": {
|
|
595
|
+
"type": "string",
|
|
596
|
+
"description": "Curve of the holder's keyAgreement key, e.g. `P-256` (hardware-custodiable on mobile) or `X25519` (not)."
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"DeviceAttestation": {
|
|
601
|
+
"title": "DeviceAttestation",
|
|
602
|
+
"description": "Producer-supplied attestation at registration time, verifiable by the maintainer against the platform's attestation infrastructure. Tagged union over the discriminator `kind`.",
|
|
603
|
+
"oneOf": [
|
|
604
|
+
{
|
|
605
|
+
"title": "WebAuthnAttestation",
|
|
606
|
+
"type": "object",
|
|
607
|
+
"additionalProperties": false,
|
|
608
|
+
"required": [
|
|
609
|
+
"kind",
|
|
610
|
+
"aaguid"
|
|
611
|
+
],
|
|
612
|
+
"properties": {
|
|
613
|
+
"kind": {
|
|
614
|
+
"const": "webauthn"
|
|
615
|
+
},
|
|
616
|
+
"aaguid": {
|
|
617
|
+
"type": "string",
|
|
618
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
|
|
619
|
+
"description": "WebAuthn Authenticator AAGUID (UUID)."
|
|
620
|
+
},
|
|
621
|
+
"attestationStatement": {
|
|
622
|
+
"type": "string",
|
|
623
|
+
"description": "Base64url-encoded WebAuthn attestation statement, when supplied by the platform."
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"title": "AppleAppAttest",
|
|
629
|
+
"type": "object",
|
|
630
|
+
"additionalProperties": false,
|
|
631
|
+
"required": [
|
|
632
|
+
"kind",
|
|
633
|
+
"keyId",
|
|
634
|
+
"attestation"
|
|
635
|
+
],
|
|
636
|
+
"properties": {
|
|
637
|
+
"kind": {
|
|
638
|
+
"const": "appleAppAttest"
|
|
639
|
+
},
|
|
640
|
+
"keyId": {
|
|
641
|
+
"type": "string",
|
|
642
|
+
"minLength": 1
|
|
643
|
+
},
|
|
644
|
+
"attestation": {
|
|
645
|
+
"type": "string"
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"title": "PlayIntegrity",
|
|
651
|
+
"type": "object",
|
|
652
|
+
"additionalProperties": false,
|
|
653
|
+
"required": [
|
|
654
|
+
"kind",
|
|
655
|
+
"token"
|
|
656
|
+
],
|
|
657
|
+
"properties": {
|
|
658
|
+
"kind": {
|
|
659
|
+
"const": "playIntegrity"
|
|
660
|
+
},
|
|
661
|
+
"token": {
|
|
662
|
+
"type": "string",
|
|
663
|
+
"minLength": 1
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"title": "Tpm",
|
|
669
|
+
"type": "object",
|
|
670
|
+
"additionalProperties": false,
|
|
671
|
+
"required": [
|
|
672
|
+
"kind",
|
|
673
|
+
"quote"
|
|
674
|
+
],
|
|
675
|
+
"properties": {
|
|
676
|
+
"kind": {
|
|
677
|
+
"const": "tpm"
|
|
678
|
+
},
|
|
679
|
+
"quote": {
|
|
680
|
+
"type": "string"
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"title": "NitroEnclave",
|
|
686
|
+
"type": "object",
|
|
687
|
+
"additionalProperties": false,
|
|
688
|
+
"required": [
|
|
689
|
+
"kind",
|
|
690
|
+
"quote"
|
|
691
|
+
],
|
|
692
|
+
"properties": {
|
|
693
|
+
"kind": {
|
|
694
|
+
"const": "nitroEnclave"
|
|
695
|
+
},
|
|
696
|
+
"quote": {
|
|
697
|
+
"type": "string"
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"title": "NoAttestation",
|
|
703
|
+
"type": "object",
|
|
704
|
+
"additionalProperties": false,
|
|
705
|
+
"required": [
|
|
706
|
+
"kind"
|
|
707
|
+
],
|
|
708
|
+
"properties": {
|
|
709
|
+
"kind": {
|
|
710
|
+
"const": "none"
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
"description": "No device-level attestation is available. Maintainers MAY still register the device but SHOULD apply stricter policy (shorter session TTL, more frequent step-up)."
|
|
714
|
+
}
|
|
715
|
+
]
|
|
716
|
+
},
|
|
717
|
+
"ConsumerKind": {
|
|
718
|
+
"title": "ConsumerKind",
|
|
719
|
+
"description": "Discriminator: is this consumer a user-driven Companion or a headless Service?",
|
|
720
|
+
"oneOf": [
|
|
721
|
+
{
|
|
722
|
+
"title": "Companion",
|
|
723
|
+
"type": "object",
|
|
724
|
+
"additionalProperties": false,
|
|
725
|
+
"required": [
|
|
726
|
+
"kind",
|
|
727
|
+
"formFactor"
|
|
728
|
+
],
|
|
729
|
+
"properties": {
|
|
730
|
+
"kind": {
|
|
731
|
+
"const": "companion"
|
|
732
|
+
},
|
|
733
|
+
"formFactor": {
|
|
734
|
+
"type": "string",
|
|
735
|
+
"enum": [
|
|
736
|
+
"browser",
|
|
737
|
+
"mobile",
|
|
738
|
+
"desktop"
|
|
739
|
+
]
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"title": "Service",
|
|
745
|
+
"type": "object",
|
|
746
|
+
"additionalProperties": false,
|
|
747
|
+
"required": [
|
|
748
|
+
"kind",
|
|
749
|
+
"serviceKind"
|
|
750
|
+
],
|
|
751
|
+
"properties": {
|
|
752
|
+
"kind": {
|
|
753
|
+
"const": "service"
|
|
754
|
+
},
|
|
755
|
+
"serviceKind": {
|
|
756
|
+
"type": "string",
|
|
757
|
+
"enum": [
|
|
758
|
+
"mediator",
|
|
759
|
+
"aiAgent",
|
|
760
|
+
"daemon"
|
|
761
|
+
]
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
]
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
771
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
772
|
+
* per-specification and cannot be derived from the document alone, and
|
|
773
|
+
* item 2 needs the schema this carries.
|
|
774
|
+
*/
|
|
775
|
+
export const SPEC = {
|
|
776
|
+
typeUri: TYPE_URI,
|
|
777
|
+
isBearer: false,
|
|
778
|
+
isProofRequired: false,
|
|
779
|
+
isRecipientRequired: true,
|
|
780
|
+
isIssuedAtRequired: false,
|
|
781
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
782
|
+
};
|
|
783
|
+
/**
|
|
784
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
785
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
786
|
+
* parties (§7.3 item 5).
|
|
787
|
+
*/
|
|
788
|
+
export const RESPONSE_SPEC = {
|
|
789
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
790
|
+
isBearer: false,
|
|
791
|
+
isProofRequired: false,
|
|
792
|
+
isRecipientRequired: true,
|
|
793
|
+
isIssuedAtRequired: false,
|
|
794
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
795
|
+
};
|
|
796
|
+
//# sourceMappingURL=payload.js.map
|