@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,653 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/join-requests/list/0.2/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Ext, JoinRequest } from "../../../../_shared/components.js";
|
|
6
|
+
export interface VTCJoinRequestsListPayload {
|
|
7
|
+
/**
|
|
8
|
+
* Filter to requests in this status.
|
|
9
|
+
*/
|
|
10
|
+
status?: "pending" | "approved" | "rejected" | "withdrawn" | "deferred";
|
|
11
|
+
/**
|
|
12
|
+
* An opaque continuation token from a previous response's `nextCursor`; a responder MUST NOT accept a cursor it did not issue.
|
|
13
|
+
*/
|
|
14
|
+
cursor?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The most items to return, at most 200; the responder chooses a default and MAY return fewer.
|
|
17
|
+
*/
|
|
18
|
+
limit?: number;
|
|
19
|
+
ext?: Ext;
|
|
20
|
+
}
|
|
21
|
+
export interface VTCJoinRequestsListResponsePayload {
|
|
22
|
+
items: JoinRequest[];
|
|
23
|
+
/**
|
|
24
|
+
* Continuation token for the next page; pass it back as `cursor`. Absent on the last page — never `null`.
|
|
25
|
+
*/
|
|
26
|
+
nextCursor?: string;
|
|
27
|
+
totalEstimate?: number | null;
|
|
28
|
+
ext?: Ext;
|
|
29
|
+
}
|
|
30
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
31
|
+
export type { Ext, JoinRequest };
|
|
32
|
+
/** Trust Task type URI. */
|
|
33
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/join-requests/list/0.2";
|
|
34
|
+
/** Stable alias for this specification's request payload shape. */
|
|
35
|
+
export type Payload = VTCJoinRequestsListPayload;
|
|
36
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
37
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/join-requests/list/0.2#response";
|
|
38
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
39
|
+
export type Response = VTCJoinRequestsListResponsePayload;
|
|
40
|
+
/**
|
|
41
|
+
* This specification's payload schema, as a value.
|
|
42
|
+
*
|
|
43
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
44
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
45
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
46
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
47
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
48
|
+
*/
|
|
49
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
50
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
51
|
+
readonly $id: "https://trusttasks.org/spec/vtc/join-requests/list/0.2";
|
|
52
|
+
readonly title: "VTC Join-Requests List — payload";
|
|
53
|
+
readonly type: "object";
|
|
54
|
+
readonly additionalProperties: false;
|
|
55
|
+
readonly properties: {
|
|
56
|
+
readonly status: {
|
|
57
|
+
readonly type: "string";
|
|
58
|
+
readonly enum: readonly ["pending", "approved", "rejected", "withdrawn", "deferred"];
|
|
59
|
+
readonly description: "Filter to requests in this status.";
|
|
60
|
+
};
|
|
61
|
+
readonly cursor: {
|
|
62
|
+
readonly type: "string";
|
|
63
|
+
readonly description: "An opaque continuation token from a previous response's `nextCursor`; a responder MUST NOT accept a cursor it did not issue.";
|
|
64
|
+
};
|
|
65
|
+
readonly limit: {
|
|
66
|
+
readonly type: "integer";
|
|
67
|
+
readonly minimum: 1;
|
|
68
|
+
readonly maximum: 200;
|
|
69
|
+
readonly description: "The most items to return, at most 200; the responder chooses a default and MAY return fewer.";
|
|
70
|
+
};
|
|
71
|
+
readonly ext: {
|
|
72
|
+
readonly $ref: "#/$defs/Ext";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
readonly $defs: {
|
|
76
|
+
readonly Response: {
|
|
77
|
+
readonly $anchor: "response";
|
|
78
|
+
readonly title: "VTC Join-Requests List — response payload";
|
|
79
|
+
readonly type: "object";
|
|
80
|
+
readonly additionalProperties: false;
|
|
81
|
+
readonly required: readonly ["items"];
|
|
82
|
+
readonly properties: {
|
|
83
|
+
readonly items: {
|
|
84
|
+
readonly type: "array";
|
|
85
|
+
readonly items: {
|
|
86
|
+
readonly $ref: "#/$defs/JoinRequest";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly nextCursor: {
|
|
90
|
+
readonly type: "string";
|
|
91
|
+
readonly description: "Continuation token for the next page; pass it back as `cursor`. Absent on the last page — never `null`.";
|
|
92
|
+
};
|
|
93
|
+
readonly totalEstimate: {
|
|
94
|
+
readonly type: readonly ["integer", "null"];
|
|
95
|
+
};
|
|
96
|
+
readonly ext: {
|
|
97
|
+
readonly $ref: "#/$defs/Ext";
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
readonly Ext: {
|
|
102
|
+
readonly title: "Ext";
|
|
103
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
104
|
+
readonly type: "object";
|
|
105
|
+
readonly minProperties: 1;
|
|
106
|
+
readonly additionalProperties: true;
|
|
107
|
+
readonly propertyNames: {
|
|
108
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
readonly JoinRequest: {
|
|
112
|
+
readonly $anchor: "joinRequest";
|
|
113
|
+
readonly title: "JoinRequest";
|
|
114
|
+
readonly description: "One application to join a Verifiable Trust Community.";
|
|
115
|
+
readonly type: "object";
|
|
116
|
+
readonly additionalProperties: false;
|
|
117
|
+
readonly required: readonly ["id", "applicantDid", "vp", "submittedAt", "status"];
|
|
118
|
+
readonly properties: {
|
|
119
|
+
readonly id: {
|
|
120
|
+
readonly type: "string";
|
|
121
|
+
readonly minLength: 1;
|
|
122
|
+
readonly description: "Stable id of this join request (a UUID).";
|
|
123
|
+
};
|
|
124
|
+
readonly applicantDid: {
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
readonly minLength: 1;
|
|
127
|
+
readonly description: "DID of the applicant.";
|
|
128
|
+
};
|
|
129
|
+
readonly vp: {
|
|
130
|
+
readonly type: "object";
|
|
131
|
+
readonly description: "The W3C Verifiable Presentation the applicant submitted (opaque here).";
|
|
132
|
+
};
|
|
133
|
+
readonly vpClaims: {
|
|
134
|
+
readonly type: readonly ["object", "null"];
|
|
135
|
+
readonly description: "Canonical projection of `vp`, extracted when the request was submitted and used as the input the community's join policy reads. Carried on the row so an approval does not have to re-extract it, and opaque here: its members are whatever the community's policy asks of an applicant. `null` on a request recorded before a community began extracting one.";
|
|
136
|
+
};
|
|
137
|
+
readonly submittedAt: {
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
readonly format: "date-time";
|
|
140
|
+
};
|
|
141
|
+
readonly status: {
|
|
142
|
+
readonly type: "string";
|
|
143
|
+
readonly enum: readonly ["pending", "approved", "rejected", "withdrawn", "deferred"];
|
|
144
|
+
};
|
|
145
|
+
readonly policyDecision: {
|
|
146
|
+
readonly type: "object";
|
|
147
|
+
readonly description: "The community policy verdict recorded for this request (opaque here); absent while pending.";
|
|
148
|
+
};
|
|
149
|
+
readonly decision: {
|
|
150
|
+
readonly type: readonly ["object", "null"];
|
|
151
|
+
readonly description: "Why this request was refused, in terms meant for the applicant rather than the operator. `null` unless the request was rejected.\n\nDistinct from `policyDecision`, which records the community's internal verdict: both rejection paths — a policy auto-deny at submit and an admin's later refusal — write this one, so a client reads a single shape instead of reconciling two.";
|
|
152
|
+
readonly properties: {
|
|
153
|
+
readonly code: {
|
|
154
|
+
readonly type: "string";
|
|
155
|
+
readonly description: "Stable refusal code, safe to branch on.";
|
|
156
|
+
};
|
|
157
|
+
readonly reason: {
|
|
158
|
+
readonly type: readonly ["string", "null"];
|
|
159
|
+
readonly maxLength: 1024;
|
|
160
|
+
readonly description: "Elaboration in prose, when the decider gave one.";
|
|
161
|
+
};
|
|
162
|
+
readonly decidedAt: {
|
|
163
|
+
readonly type: "string";
|
|
164
|
+
readonly format: "date-time";
|
|
165
|
+
readonly description: "When the decision was taken — not when the poll answering it was produced. On an admin refusal the two diverge by however long the applicant takes to ask.";
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
readonly required: readonly ["code", "decidedAt"];
|
|
169
|
+
readonly additionalProperties: false;
|
|
170
|
+
};
|
|
171
|
+
readonly registryConsent: {
|
|
172
|
+
readonly type: "boolean";
|
|
173
|
+
readonly description: "Whether the applicant consented to trust-registry publication.";
|
|
174
|
+
};
|
|
175
|
+
readonly extensions: {
|
|
176
|
+
readonly type: "object";
|
|
177
|
+
readonly description: "Opaque community-defined extension bag.";
|
|
178
|
+
};
|
|
179
|
+
readonly attributes: {
|
|
180
|
+
readonly type: "array";
|
|
181
|
+
readonly maxItems: 32;
|
|
182
|
+
readonly description: "What the applicant told the community about themselves in answer to the manifest's `requestedAttributes` — self-asserted, and to be shown as such to whoever reviews the request. Absent when none were asked for or given.";
|
|
183
|
+
readonly items: {
|
|
184
|
+
readonly type: "object";
|
|
185
|
+
readonly additionalProperties: false;
|
|
186
|
+
readonly required: readonly ["type", "value"];
|
|
187
|
+
readonly properties: {
|
|
188
|
+
readonly type: {
|
|
189
|
+
readonly type: "string";
|
|
190
|
+
readonly minLength: 1;
|
|
191
|
+
readonly maxLength: 128;
|
|
192
|
+
readonly pattern: "^(x:)?[a-z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*)*$";
|
|
193
|
+
readonly description: "A claim-type token from the persona claim-type registry (persona/_shared/0.1/CLAIM-TYPES.md) — `name.display`, `address.country` — or an `x:` extension token.";
|
|
194
|
+
};
|
|
195
|
+
readonly value: {
|
|
196
|
+
readonly description: "The value the applicant gives. Self-asserted: the applicant's own statement, bound to them by the document proof, and attested by nobody.";
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
206
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
207
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
208
|
+
readonly $ref: "#/$defs/Response";
|
|
209
|
+
readonly $defs: {
|
|
210
|
+
readonly Response: {
|
|
211
|
+
readonly $anchor: "response";
|
|
212
|
+
readonly title: "VTC Join-Requests List — response payload";
|
|
213
|
+
readonly type: "object";
|
|
214
|
+
readonly additionalProperties: false;
|
|
215
|
+
readonly required: readonly ["items"];
|
|
216
|
+
readonly properties: {
|
|
217
|
+
readonly items: {
|
|
218
|
+
readonly type: "array";
|
|
219
|
+
readonly items: {
|
|
220
|
+
readonly $ref: "#/$defs/JoinRequest";
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
readonly nextCursor: {
|
|
224
|
+
readonly type: "string";
|
|
225
|
+
readonly description: "Continuation token for the next page; pass it back as `cursor`. Absent on the last page — never `null`.";
|
|
226
|
+
};
|
|
227
|
+
readonly totalEstimate: {
|
|
228
|
+
readonly type: readonly ["integer", "null"];
|
|
229
|
+
};
|
|
230
|
+
readonly ext: {
|
|
231
|
+
readonly $ref: "#/$defs/Ext";
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
readonly Ext: {
|
|
236
|
+
readonly title: "Ext";
|
|
237
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
238
|
+
readonly type: "object";
|
|
239
|
+
readonly minProperties: 1;
|
|
240
|
+
readonly additionalProperties: true;
|
|
241
|
+
readonly propertyNames: {
|
|
242
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
readonly JoinRequest: {
|
|
246
|
+
readonly $anchor: "joinRequest";
|
|
247
|
+
readonly title: "JoinRequest";
|
|
248
|
+
readonly description: "One application to join a Verifiable Trust Community.";
|
|
249
|
+
readonly type: "object";
|
|
250
|
+
readonly additionalProperties: false;
|
|
251
|
+
readonly required: readonly ["id", "applicantDid", "vp", "submittedAt", "status"];
|
|
252
|
+
readonly properties: {
|
|
253
|
+
readonly id: {
|
|
254
|
+
readonly type: "string";
|
|
255
|
+
readonly minLength: 1;
|
|
256
|
+
readonly description: "Stable id of this join request (a UUID).";
|
|
257
|
+
};
|
|
258
|
+
readonly applicantDid: {
|
|
259
|
+
readonly type: "string";
|
|
260
|
+
readonly minLength: 1;
|
|
261
|
+
readonly description: "DID of the applicant.";
|
|
262
|
+
};
|
|
263
|
+
readonly vp: {
|
|
264
|
+
readonly type: "object";
|
|
265
|
+
readonly description: "The W3C Verifiable Presentation the applicant submitted (opaque here).";
|
|
266
|
+
};
|
|
267
|
+
readonly vpClaims: {
|
|
268
|
+
readonly type: readonly ["object", "null"];
|
|
269
|
+
readonly description: "Canonical projection of `vp`, extracted when the request was submitted and used as the input the community's join policy reads. Carried on the row so an approval does not have to re-extract it, and opaque here: its members are whatever the community's policy asks of an applicant. `null` on a request recorded before a community began extracting one.";
|
|
270
|
+
};
|
|
271
|
+
readonly submittedAt: {
|
|
272
|
+
readonly type: "string";
|
|
273
|
+
readonly format: "date-time";
|
|
274
|
+
};
|
|
275
|
+
readonly status: {
|
|
276
|
+
readonly type: "string";
|
|
277
|
+
readonly enum: readonly ["pending", "approved", "rejected", "withdrawn", "deferred"];
|
|
278
|
+
};
|
|
279
|
+
readonly policyDecision: {
|
|
280
|
+
readonly type: "object";
|
|
281
|
+
readonly description: "The community policy verdict recorded for this request (opaque here); absent while pending.";
|
|
282
|
+
};
|
|
283
|
+
readonly decision: {
|
|
284
|
+
readonly type: readonly ["object", "null"];
|
|
285
|
+
readonly description: "Why this request was refused, in terms meant for the applicant rather than the operator. `null` unless the request was rejected.\n\nDistinct from `policyDecision`, which records the community's internal verdict: both rejection paths — a policy auto-deny at submit and an admin's later refusal — write this one, so a client reads a single shape instead of reconciling two.";
|
|
286
|
+
readonly properties: {
|
|
287
|
+
readonly code: {
|
|
288
|
+
readonly type: "string";
|
|
289
|
+
readonly description: "Stable refusal code, safe to branch on.";
|
|
290
|
+
};
|
|
291
|
+
readonly reason: {
|
|
292
|
+
readonly type: readonly ["string", "null"];
|
|
293
|
+
readonly maxLength: 1024;
|
|
294
|
+
readonly description: "Elaboration in prose, when the decider gave one.";
|
|
295
|
+
};
|
|
296
|
+
readonly decidedAt: {
|
|
297
|
+
readonly type: "string";
|
|
298
|
+
readonly format: "date-time";
|
|
299
|
+
readonly description: "When the decision was taken — not when the poll answering it was produced. On an admin refusal the two diverge by however long the applicant takes to ask.";
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
readonly required: readonly ["code", "decidedAt"];
|
|
303
|
+
readonly additionalProperties: false;
|
|
304
|
+
};
|
|
305
|
+
readonly registryConsent: {
|
|
306
|
+
readonly type: "boolean";
|
|
307
|
+
readonly description: "Whether the applicant consented to trust-registry publication.";
|
|
308
|
+
};
|
|
309
|
+
readonly extensions: {
|
|
310
|
+
readonly type: "object";
|
|
311
|
+
readonly description: "Opaque community-defined extension bag.";
|
|
312
|
+
};
|
|
313
|
+
readonly attributes: {
|
|
314
|
+
readonly type: "array";
|
|
315
|
+
readonly maxItems: 32;
|
|
316
|
+
readonly description: "What the applicant told the community about themselves in answer to the manifest's `requestedAttributes` — self-asserted, and to be shown as such to whoever reviews the request. Absent when none were asked for or given.";
|
|
317
|
+
readonly items: {
|
|
318
|
+
readonly type: "object";
|
|
319
|
+
readonly additionalProperties: false;
|
|
320
|
+
readonly required: readonly ["type", "value"];
|
|
321
|
+
readonly properties: {
|
|
322
|
+
readonly type: {
|
|
323
|
+
readonly type: "string";
|
|
324
|
+
readonly minLength: 1;
|
|
325
|
+
readonly maxLength: 128;
|
|
326
|
+
readonly pattern: "^(x:)?[a-z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*)*$";
|
|
327
|
+
readonly description: "A claim-type token from the persona claim-type registry (persona/_shared/0.1/CLAIM-TYPES.md) — `name.display`, `address.country` — or an `x:` extension token.";
|
|
328
|
+
};
|
|
329
|
+
readonly value: {
|
|
330
|
+
readonly description: "The value the applicant gives. Self-asserted: the applicant's own statement, bound to them by the document proof, and attested by nobody.";
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
341
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
342
|
+
* per-specification and cannot be derived from the document alone, and
|
|
343
|
+
* item 2 needs the schema this carries.
|
|
344
|
+
*/
|
|
345
|
+
export declare const SPEC: {
|
|
346
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/join-requests/list/0.2";
|
|
347
|
+
readonly isBearer: false;
|
|
348
|
+
readonly isProofRequired: false;
|
|
349
|
+
readonly isRecipientRequired: true;
|
|
350
|
+
readonly isIssuedAtRequired: false;
|
|
351
|
+
readonly payloadSchema: {
|
|
352
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
353
|
+
readonly $id: "https://trusttasks.org/spec/vtc/join-requests/list/0.2";
|
|
354
|
+
readonly title: "VTC Join-Requests List — payload";
|
|
355
|
+
readonly type: "object";
|
|
356
|
+
readonly additionalProperties: false;
|
|
357
|
+
readonly properties: {
|
|
358
|
+
readonly status: {
|
|
359
|
+
readonly type: "string";
|
|
360
|
+
readonly enum: readonly ["pending", "approved", "rejected", "withdrawn", "deferred"];
|
|
361
|
+
readonly description: "Filter to requests in this status.";
|
|
362
|
+
};
|
|
363
|
+
readonly cursor: {
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
readonly description: "An opaque continuation token from a previous response's `nextCursor`; a responder MUST NOT accept a cursor it did not issue.";
|
|
366
|
+
};
|
|
367
|
+
readonly limit: {
|
|
368
|
+
readonly type: "integer";
|
|
369
|
+
readonly minimum: 1;
|
|
370
|
+
readonly maximum: 200;
|
|
371
|
+
readonly description: "The most items to return, at most 200; the responder chooses a default and MAY return fewer.";
|
|
372
|
+
};
|
|
373
|
+
readonly ext: {
|
|
374
|
+
readonly $ref: "#/$defs/Ext";
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
readonly $defs: {
|
|
378
|
+
readonly Response: {
|
|
379
|
+
readonly $anchor: "response";
|
|
380
|
+
readonly title: "VTC Join-Requests List — response payload";
|
|
381
|
+
readonly type: "object";
|
|
382
|
+
readonly additionalProperties: false;
|
|
383
|
+
readonly required: readonly ["items"];
|
|
384
|
+
readonly properties: {
|
|
385
|
+
readonly items: {
|
|
386
|
+
readonly type: "array";
|
|
387
|
+
readonly items: {
|
|
388
|
+
readonly $ref: "#/$defs/JoinRequest";
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
readonly nextCursor: {
|
|
392
|
+
readonly type: "string";
|
|
393
|
+
readonly description: "Continuation token for the next page; pass it back as `cursor`. Absent on the last page — never `null`.";
|
|
394
|
+
};
|
|
395
|
+
readonly totalEstimate: {
|
|
396
|
+
readonly type: readonly ["integer", "null"];
|
|
397
|
+
};
|
|
398
|
+
readonly ext: {
|
|
399
|
+
readonly $ref: "#/$defs/Ext";
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
readonly Ext: {
|
|
404
|
+
readonly title: "Ext";
|
|
405
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
406
|
+
readonly type: "object";
|
|
407
|
+
readonly minProperties: 1;
|
|
408
|
+
readonly additionalProperties: true;
|
|
409
|
+
readonly propertyNames: {
|
|
410
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
readonly JoinRequest: {
|
|
414
|
+
readonly $anchor: "joinRequest";
|
|
415
|
+
readonly title: "JoinRequest";
|
|
416
|
+
readonly description: "One application to join a Verifiable Trust Community.";
|
|
417
|
+
readonly type: "object";
|
|
418
|
+
readonly additionalProperties: false;
|
|
419
|
+
readonly required: readonly ["id", "applicantDid", "vp", "submittedAt", "status"];
|
|
420
|
+
readonly properties: {
|
|
421
|
+
readonly id: {
|
|
422
|
+
readonly type: "string";
|
|
423
|
+
readonly minLength: 1;
|
|
424
|
+
readonly description: "Stable id of this join request (a UUID).";
|
|
425
|
+
};
|
|
426
|
+
readonly applicantDid: {
|
|
427
|
+
readonly type: "string";
|
|
428
|
+
readonly minLength: 1;
|
|
429
|
+
readonly description: "DID of the applicant.";
|
|
430
|
+
};
|
|
431
|
+
readonly vp: {
|
|
432
|
+
readonly type: "object";
|
|
433
|
+
readonly description: "The W3C Verifiable Presentation the applicant submitted (opaque here).";
|
|
434
|
+
};
|
|
435
|
+
readonly vpClaims: {
|
|
436
|
+
readonly type: readonly ["object", "null"];
|
|
437
|
+
readonly description: "Canonical projection of `vp`, extracted when the request was submitted and used as the input the community's join policy reads. Carried on the row so an approval does not have to re-extract it, and opaque here: its members are whatever the community's policy asks of an applicant. `null` on a request recorded before a community began extracting one.";
|
|
438
|
+
};
|
|
439
|
+
readonly submittedAt: {
|
|
440
|
+
readonly type: "string";
|
|
441
|
+
readonly format: "date-time";
|
|
442
|
+
};
|
|
443
|
+
readonly status: {
|
|
444
|
+
readonly type: "string";
|
|
445
|
+
readonly enum: readonly ["pending", "approved", "rejected", "withdrawn", "deferred"];
|
|
446
|
+
};
|
|
447
|
+
readonly policyDecision: {
|
|
448
|
+
readonly type: "object";
|
|
449
|
+
readonly description: "The community policy verdict recorded for this request (opaque here); absent while pending.";
|
|
450
|
+
};
|
|
451
|
+
readonly decision: {
|
|
452
|
+
readonly type: readonly ["object", "null"];
|
|
453
|
+
readonly description: "Why this request was refused, in terms meant for the applicant rather than the operator. `null` unless the request was rejected.\n\nDistinct from `policyDecision`, which records the community's internal verdict: both rejection paths — a policy auto-deny at submit and an admin's later refusal — write this one, so a client reads a single shape instead of reconciling two.";
|
|
454
|
+
readonly properties: {
|
|
455
|
+
readonly code: {
|
|
456
|
+
readonly type: "string";
|
|
457
|
+
readonly description: "Stable refusal code, safe to branch on.";
|
|
458
|
+
};
|
|
459
|
+
readonly reason: {
|
|
460
|
+
readonly type: readonly ["string", "null"];
|
|
461
|
+
readonly maxLength: 1024;
|
|
462
|
+
readonly description: "Elaboration in prose, when the decider gave one.";
|
|
463
|
+
};
|
|
464
|
+
readonly decidedAt: {
|
|
465
|
+
readonly type: "string";
|
|
466
|
+
readonly format: "date-time";
|
|
467
|
+
readonly description: "When the decision was taken — not when the poll answering it was produced. On an admin refusal the two diverge by however long the applicant takes to ask.";
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
readonly required: readonly ["code", "decidedAt"];
|
|
471
|
+
readonly additionalProperties: false;
|
|
472
|
+
};
|
|
473
|
+
readonly registryConsent: {
|
|
474
|
+
readonly type: "boolean";
|
|
475
|
+
readonly description: "Whether the applicant consented to trust-registry publication.";
|
|
476
|
+
};
|
|
477
|
+
readonly extensions: {
|
|
478
|
+
readonly type: "object";
|
|
479
|
+
readonly description: "Opaque community-defined extension bag.";
|
|
480
|
+
};
|
|
481
|
+
readonly attributes: {
|
|
482
|
+
readonly type: "array";
|
|
483
|
+
readonly maxItems: 32;
|
|
484
|
+
readonly description: "What the applicant told the community about themselves in answer to the manifest's `requestedAttributes` — self-asserted, and to be shown as such to whoever reviews the request. Absent when none were asked for or given.";
|
|
485
|
+
readonly items: {
|
|
486
|
+
readonly type: "object";
|
|
487
|
+
readonly additionalProperties: false;
|
|
488
|
+
readonly required: readonly ["type", "value"];
|
|
489
|
+
readonly properties: {
|
|
490
|
+
readonly type: {
|
|
491
|
+
readonly type: "string";
|
|
492
|
+
readonly minLength: 1;
|
|
493
|
+
readonly maxLength: 128;
|
|
494
|
+
readonly pattern: "^(x:)?[a-z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*)*$";
|
|
495
|
+
readonly description: "A claim-type token from the persona claim-type registry (persona/_shared/0.1/CLAIM-TYPES.md) — `name.display`, `address.country` — or an `x:` extension token.";
|
|
496
|
+
};
|
|
497
|
+
readonly value: {
|
|
498
|
+
readonly description: "The value the applicant gives. Self-asserted: the applicant's own statement, bound to them by the document proof, and attested by nobody.";
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
510
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
511
|
+
* parties (§7.3 item 5).
|
|
512
|
+
*/
|
|
513
|
+
export declare const RESPONSE_SPEC: {
|
|
514
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/join-requests/list/0.2#response";
|
|
515
|
+
readonly isBearer: false;
|
|
516
|
+
readonly isProofRequired: false;
|
|
517
|
+
readonly isRecipientRequired: true;
|
|
518
|
+
readonly isIssuedAtRequired: false;
|
|
519
|
+
readonly payloadSchema: {
|
|
520
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
521
|
+
readonly $ref: "#/$defs/Response";
|
|
522
|
+
readonly $defs: {
|
|
523
|
+
readonly Response: {
|
|
524
|
+
readonly $anchor: "response";
|
|
525
|
+
readonly title: "VTC Join-Requests List — response payload";
|
|
526
|
+
readonly type: "object";
|
|
527
|
+
readonly additionalProperties: false;
|
|
528
|
+
readonly required: readonly ["items"];
|
|
529
|
+
readonly properties: {
|
|
530
|
+
readonly items: {
|
|
531
|
+
readonly type: "array";
|
|
532
|
+
readonly items: {
|
|
533
|
+
readonly $ref: "#/$defs/JoinRequest";
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
readonly nextCursor: {
|
|
537
|
+
readonly type: "string";
|
|
538
|
+
readonly description: "Continuation token for the next page; pass it back as `cursor`. Absent on the last page — never `null`.";
|
|
539
|
+
};
|
|
540
|
+
readonly totalEstimate: {
|
|
541
|
+
readonly type: readonly ["integer", "null"];
|
|
542
|
+
};
|
|
543
|
+
readonly ext: {
|
|
544
|
+
readonly $ref: "#/$defs/Ext";
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
readonly Ext: {
|
|
549
|
+
readonly title: "Ext";
|
|
550
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
551
|
+
readonly type: "object";
|
|
552
|
+
readonly minProperties: 1;
|
|
553
|
+
readonly additionalProperties: true;
|
|
554
|
+
readonly propertyNames: {
|
|
555
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
readonly JoinRequest: {
|
|
559
|
+
readonly $anchor: "joinRequest";
|
|
560
|
+
readonly title: "JoinRequest";
|
|
561
|
+
readonly description: "One application to join a Verifiable Trust Community.";
|
|
562
|
+
readonly type: "object";
|
|
563
|
+
readonly additionalProperties: false;
|
|
564
|
+
readonly required: readonly ["id", "applicantDid", "vp", "submittedAt", "status"];
|
|
565
|
+
readonly properties: {
|
|
566
|
+
readonly id: {
|
|
567
|
+
readonly type: "string";
|
|
568
|
+
readonly minLength: 1;
|
|
569
|
+
readonly description: "Stable id of this join request (a UUID).";
|
|
570
|
+
};
|
|
571
|
+
readonly applicantDid: {
|
|
572
|
+
readonly type: "string";
|
|
573
|
+
readonly minLength: 1;
|
|
574
|
+
readonly description: "DID of the applicant.";
|
|
575
|
+
};
|
|
576
|
+
readonly vp: {
|
|
577
|
+
readonly type: "object";
|
|
578
|
+
readonly description: "The W3C Verifiable Presentation the applicant submitted (opaque here).";
|
|
579
|
+
};
|
|
580
|
+
readonly vpClaims: {
|
|
581
|
+
readonly type: readonly ["object", "null"];
|
|
582
|
+
readonly description: "Canonical projection of `vp`, extracted when the request was submitted and used as the input the community's join policy reads. Carried on the row so an approval does not have to re-extract it, and opaque here: its members are whatever the community's policy asks of an applicant. `null` on a request recorded before a community began extracting one.";
|
|
583
|
+
};
|
|
584
|
+
readonly submittedAt: {
|
|
585
|
+
readonly type: "string";
|
|
586
|
+
readonly format: "date-time";
|
|
587
|
+
};
|
|
588
|
+
readonly status: {
|
|
589
|
+
readonly type: "string";
|
|
590
|
+
readonly enum: readonly ["pending", "approved", "rejected", "withdrawn", "deferred"];
|
|
591
|
+
};
|
|
592
|
+
readonly policyDecision: {
|
|
593
|
+
readonly type: "object";
|
|
594
|
+
readonly description: "The community policy verdict recorded for this request (opaque here); absent while pending.";
|
|
595
|
+
};
|
|
596
|
+
readonly decision: {
|
|
597
|
+
readonly type: readonly ["object", "null"];
|
|
598
|
+
readonly description: "Why this request was refused, in terms meant for the applicant rather than the operator. `null` unless the request was rejected.\n\nDistinct from `policyDecision`, which records the community's internal verdict: both rejection paths — a policy auto-deny at submit and an admin's later refusal — write this one, so a client reads a single shape instead of reconciling two.";
|
|
599
|
+
readonly properties: {
|
|
600
|
+
readonly code: {
|
|
601
|
+
readonly type: "string";
|
|
602
|
+
readonly description: "Stable refusal code, safe to branch on.";
|
|
603
|
+
};
|
|
604
|
+
readonly reason: {
|
|
605
|
+
readonly type: readonly ["string", "null"];
|
|
606
|
+
readonly maxLength: 1024;
|
|
607
|
+
readonly description: "Elaboration in prose, when the decider gave one.";
|
|
608
|
+
};
|
|
609
|
+
readonly decidedAt: {
|
|
610
|
+
readonly type: "string";
|
|
611
|
+
readonly format: "date-time";
|
|
612
|
+
readonly description: "When the decision was taken — not when the poll answering it was produced. On an admin refusal the two diverge by however long the applicant takes to ask.";
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
readonly required: readonly ["code", "decidedAt"];
|
|
616
|
+
readonly additionalProperties: false;
|
|
617
|
+
};
|
|
618
|
+
readonly registryConsent: {
|
|
619
|
+
readonly type: "boolean";
|
|
620
|
+
readonly description: "Whether the applicant consented to trust-registry publication.";
|
|
621
|
+
};
|
|
622
|
+
readonly extensions: {
|
|
623
|
+
readonly type: "object";
|
|
624
|
+
readonly description: "Opaque community-defined extension bag.";
|
|
625
|
+
};
|
|
626
|
+
readonly attributes: {
|
|
627
|
+
readonly type: "array";
|
|
628
|
+
readonly maxItems: 32;
|
|
629
|
+
readonly description: "What the applicant told the community about themselves in answer to the manifest's `requestedAttributes` — self-asserted, and to be shown as such to whoever reviews the request. Absent when none were asked for or given.";
|
|
630
|
+
readonly items: {
|
|
631
|
+
readonly type: "object";
|
|
632
|
+
readonly additionalProperties: false;
|
|
633
|
+
readonly required: readonly ["type", "value"];
|
|
634
|
+
readonly properties: {
|
|
635
|
+
readonly type: {
|
|
636
|
+
readonly type: "string";
|
|
637
|
+
readonly minLength: 1;
|
|
638
|
+
readonly maxLength: 128;
|
|
639
|
+
readonly pattern: "^(x:)?[a-z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*)*$";
|
|
640
|
+
readonly description: "A claim-type token from the persona claim-type registry (persona/_shared/0.1/CLAIM-TYPES.md) — `name.display`, `address.country` — or an `x:` extension token.";
|
|
641
|
+
};
|
|
642
|
+
readonly value: {
|
|
643
|
+
readonly description: "The value the applicant gives. Self-asserted: the applicant's own statement, bound to them by the document proof, and attested by nobody.";
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/list/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAG1E,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,CAAC;IACxE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,kCAAkC;IACjD,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC;AAEjC,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,wDAAiE,CAAC;AAE1F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,0BAA0B,CAAC;AAEjD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,iEAA0E,CAAC;AAE5G,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,kCAAkC,CAAC;AAE1D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiMjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoK1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|