@openvtc/trust-tasks 0.26.17 → 0.26.19
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 +222 -0
- package/dist/_shared/components.d.ts +867 -3
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/auth/oob/_shared/0.1/oob.d.ts +1 -1
- package/dist/auth/oob/_shared/0.1/oob.d.ts.map +1 -1
- package/dist/auth/oob/grant/0.2/payload.d.ts +262 -0
- package/dist/auth/oob/grant/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/grant/0.2/payload.js +140 -0
- package/dist/auth/oob/grant/0.2/payload.js.map +1 -0
- package/dist/auth/oob/prove/0.2/payload.d.ts +836 -0
- package/dist/auth/oob/prove/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/prove/0.2/payload.js +468 -0
- package/dist/auth/oob/prove/0.2/payload.js.map +1 -0
- package/dist/auth/oob/respond/0.2/payload.d.ts +235 -0
- package/dist/auth/oob/respond/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/respond/0.2/payload.js +140 -0
- package/dist/auth/oob/respond/0.2/payload.js.map +1 -0
- package/dist/device/list/0.1/payload.d.ts +4 -4
- package/dist/device/list/0.1/payload.d.ts.map +1 -1
- package/dist/device/list/0.1/payload.js +2 -0
- package/dist/device/list/0.1/payload.js.map +1 -1
- package/dist/device/list/0.2/payload.d.ts +4 -4
- package/dist/device/list/0.2/payload.d.ts.map +1 -1
- package/dist/device/list/0.2/payload.js +2 -0
- package/dist/device/list/0.2/payload.js.map +1 -1
- package/dist/device/register/0.1/payload.d.ts +4 -4
- package/dist/device/register/0.1/payload.d.ts.map +1 -1
- package/dist/device/register/0.1/payload.js +2 -0
- package/dist/device/register/0.1/payload.js.map +1 -1
- package/dist/device/register/0.2/payload.d.ts +4 -4
- package/dist/device/register/0.2/payload.d.ts.map +1 -1
- package/dist/device/register/0.2/payload.js +2 -0
- package/dist/device/register/0.2/payload.js.map +1 -1
- package/dist/index.d.ts +61 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +61 -0
- package/dist/index.js.map +1 -1
- package/dist/keys/sign-document/0.1/payload.d.ts +627 -0
- package/dist/keys/sign-document/0.1/payload.d.ts.map +1 -0
- package/dist/keys/sign-document/0.1/payload.js +341 -0
- package/dist/keys/sign-document/0.1/payload.js.map +1 -0
- package/dist/persona/_shared/0.1/contact-annotations.d.ts +22 -0
- package/dist/persona/_shared/0.1/contact-annotations.d.ts.map +1 -0
- package/dist/persona/_shared/0.1/contact-annotations.js +6 -0
- package/dist/persona/_shared/0.1/contact-annotations.js.map +1 -0
- package/dist/persona/contact/get/1.1/payload.d.ts +1403 -0
- package/dist/persona/contact/get/1.1/payload.d.ts.map +1 -0
- package/dist/persona/contact/get/1.1/payload.js +804 -0
- package/dist/persona/contact/get/1.1/payload.js.map +1 -0
- package/dist/persona/contact/list/1.1/payload.d.ts +803 -0
- package/dist/persona/contact/list/1.1/payload.d.ts.map +1 -0
- package/dist/persona/contact/list/1.1/payload.js +417 -0
- package/dist/persona/contact/list/1.1/payload.js.map +1 -0
- package/dist/persona/contact/lists/delete/1.0/payload.d.ts +289 -0
- package/dist/persona/contact/lists/delete/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/lists/delete/1.0/payload.js +166 -0
- package/dist/persona/contact/lists/delete/1.0/payload.js.map +1 -0
- package/dist/persona/contact/lists/list/1.0/payload.d.ts +527 -0
- package/dist/persona/contact/lists/list/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/lists/list/1.0/payload.js +294 -0
- package/dist/persona/contact/lists/list/1.0/payload.js.map +1 -0
- package/dist/persona/contact/lists/put/1.0/payload.d.ts +629 -0
- package/dist/persona/contact/lists/put/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/lists/put/1.0/payload.js +366 -0
- package/dist/persona/contact/lists/put/1.0/payload.js.map +1 -0
- package/dist/persona/contact/lists/show/1.0/payload.d.ts +476 -0
- package/dist/persona/contact/lists/show/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/lists/show/1.0/payload.js +272 -0
- package/dist/persona/contact/lists/show/1.0/payload.js.map +1 -0
- package/dist/persona/contact/put/1.1/payload.d.ts +1444 -0
- package/dist/persona/contact/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/contact/put/1.1/payload.js +850 -0
- package/dist/persona/contact/put/1.1/payload.js.map +1 -0
- package/dist/rooms/keys/seal/0.1/payload.d.ts +24 -4
- package/dist/rooms/keys/seal/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/keys/seal/0.1/payload.js +12 -2
- package/dist/rooms/keys/seal/0.1/payload.js.map +1 -1
- package/dist/rooms/keys/seal/0.2/payload.d.ts +24 -4
- package/dist/rooms/keys/seal/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/keys/seal/0.2/payload.js +12 -2
- package/dist/rooms/keys/seal/0.2/payload.js.map +1 -1
- package/dist/rooms/owner/group/add/0.3/payload.d.ts +417 -0
- package/dist/rooms/owner/group/add/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/owner/group/add/0.3/payload.js +218 -0
- package/dist/rooms/owner/group/add/0.3/payload.js.map +1 -0
- package/dist/rooms/owner/group/remove/0.3/payload.d.ts +600 -0
- package/dist/rooms/owner/group/remove/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/owner/group/remove/0.3/payload.js +310 -0
- package/dist/rooms/owner/group/remove/0.3/payload.js.map +1 -0
- package/dist/rooms/owner/group/renew/0.2/payload.d.ts +299 -0
- package/dist/rooms/owner/group/renew/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/owner/group/renew/0.2/payload.js +163 -0
- package/dist/rooms/owner/group/renew/0.2/payload.js.map +1 -0
- package/dist/rooms/owner/register/0.2/payload.d.ts +591 -0
- package/dist/rooms/owner/register/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/owner/register/0.2/payload.js +335 -0
- package/dist/rooms/owner/register/0.2/payload.js.map +1 -0
- package/dist/rooms/records/get/0.1/payload.d.ts +24 -4
- package/dist/rooms/records/get/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/records/get/0.1/payload.js +12 -2
- package/dist/rooms/records/get/0.1/payload.js.map +1 -1
- package/dist/rooms/records/get/0.2/payload.d.ts +24 -4
- package/dist/rooms/records/get/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/records/get/0.2/payload.js +12 -2
- package/dist/rooms/records/get/0.2/payload.js.map +1 -1
- package/dist/rooms/records/put/0.1/payload.d.ts +24 -4
- package/dist/rooms/records/put/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/records/put/0.1/payload.js +12 -2
- package/dist/rooms/records/put/0.1/payload.js.map +1 -1
- package/dist/rooms/records/put/0.2/payload.d.ts +24 -4
- package/dist/rooms/records/put/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/records/put/0.2/payload.js +12 -2
- package/dist/rooms/records/put/0.2/payload.js.map +1 -1
- package/dist/vtc/admin/events/_shared/0.3/topic.d.ts +30 -0
- package/dist/vtc/admin/events/_shared/0.3/topic.d.ts.map +1 -0
- package/dist/vtc/admin/events/_shared/0.3/topic.js +6 -0
- package/dist/vtc/admin/events/_shared/0.3/topic.js.map +1 -0
- package/dist/vtc/admin/events/event/0.3/payload.d.ts +172 -0
- package/dist/vtc/admin/events/event/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/admin/events/event/0.3/payload.js +102 -0
- package/dist/vtc/admin/events/event/0.3/payload.js.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.3/payload.d.ts +409 -0
- package/dist/vtc/admin/events/subscribe/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.3/payload.js +236 -0
- package/dist/vtc/admin/events/subscribe/0.3/payload.js.map +1 -0
- package/dist/vtc/directory/_shared/0.1/admin-note.d.ts +16 -0
- package/dist/vtc/directory/_shared/0.1/admin-note.d.ts.map +1 -0
- package/dist/vtc/directory/_shared/0.1/admin-note.js +6 -0
- package/dist/vtc/directory/_shared/0.1/admin-note.js.map +1 -0
- package/dist/vtc/directory/_shared/0.1/directory-card.d.ts +22 -0
- package/dist/vtc/directory/_shared/0.1/directory-card.d.ts.map +1 -0
- package/dist/vtc/directory/_shared/0.1/directory-card.js +6 -0
- package/dist/vtc/directory/_shared/0.1/directory-card.js.map +1 -0
- package/dist/vtc/directory/_shared/0.1/disclosure-statement.d.ts +18 -0
- package/dist/vtc/directory/_shared/0.1/disclosure-statement.d.ts.map +1 -0
- package/dist/vtc/directory/_shared/0.1/disclosure-statement.js +6 -0
- package/dist/vtc/directory/_shared/0.1/disclosure-statement.js.map +1 -0
- package/dist/vtc/directory/_shared/0.1/field-definition.d.ts +16 -0
- package/dist/vtc/directory/_shared/0.1/field-definition.d.ts.map +1 -0
- package/dist/vtc/directory/_shared/0.1/field-definition.js +6 -0
- package/dist/vtc/directory/_shared/0.1/field-definition.js.map +1 -0
- package/dist/vtc/directory/card/assert/0.1/payload.d.ts +780 -0
- package/dist/vtc/directory/card/assert/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/card/assert/0.1/payload.js +454 -0
- package/dist/vtc/directory/card/assert/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/card/present/0.1/payload.d.ts +603 -0
- package/dist/vtc/directory/card/present/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/card/present/0.1/payload.js +297 -0
- package/dist/vtc/directory/card/present/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/card/public/0.1/payload.d.ts +348 -0
- package/dist/vtc/directory/card/public/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/card/public/0.1/payload.js +197 -0
- package/dist/vtc/directory/card/public/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/card/publish/0.1/payload.d.ts +384 -0
- package/dist/vtc/directory/card/publish/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/card/publish/0.1/payload.js +222 -0
- package/dist/vtc/directory/card/publish/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/card/show/0.1/payload.d.ts +1276 -0
- package/dist/vtc/directory/card/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/card/show/0.1/payload.js +775 -0
- package/dist/vtc/directory/card/show/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/card/update/0.1/payload.d.ts +1423 -0
- package/dist/vtc/directory/card/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/card/update/0.1/payload.js +845 -0
- package/dist/vtc/directory/card/update/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/disclosure/0.1/payload.d.ts +951 -0
- package/dist/vtc/directory/disclosure/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/disclosure/0.1/payload.js +613 -0
- package/dist/vtc/directory/disclosure/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/entries/list/0.1/payload.d.ts +5525 -0
- package/dist/vtc/directory/entries/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/entries/list/0.1/payload.js +656 -0
- package/dist/vtc/directory/entries/list/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/entries/show/0.1/payload.d.ts +861 -0
- package/dist/vtc/directory/entries/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/entries/show/0.1/payload.js +502 -0
- package/dist/vtc/directory/entries/show/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/export/0.1/payload.d.ts +346 -0
- package/dist/vtc/directory/export/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/export/0.1/payload.js +192 -0
- package/dist/vtc/directory/export/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/fields/define/0.1/payload.d.ts +1355 -0
- package/dist/vtc/directory/fields/define/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/fields/define/0.1/payload.js +811 -0
- package/dist/vtc/directory/fields/define/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/fields/list/0.1/payload.d.ts +1236 -0
- package/dist/vtc/directory/fields/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/fields/list/0.1/payload.js +739 -0
- package/dist/vtc/directory/fields/list/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/fields/retire/0.1/payload.d.ts +1146 -0
- package/dist/vtc/directory/fields/retire/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/fields/retire/0.1/payload.js +684 -0
- package/dist/vtc/directory/fields/retire/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/fields/update/0.1/payload.d.ts +1223 -0
- package/dist/vtc/directory/fields/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/fields/update/0.1/payload.js +715 -0
- package/dist/vtc/directory/fields/update/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/images/get/0.1/payload.d.ts +484 -0
- package/dist/vtc/directory/images/get/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/images/get/0.1/payload.js +273 -0
- package/dist/vtc/directory/images/get/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/images/upload/0.1/payload.d.ts +441 -0
- package/dist/vtc/directory/images/upload/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/images/upload/0.1/payload.js +262 -0
- package/dist/vtc/directory/images/upload/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/introduce/0.1/payload.d.ts +417 -0
- package/dist/vtc/directory/introduce/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/introduce/0.1/payload.js +183 -0
- package/dist/vtc/directory/introduce/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/introduction/0.1/payload.d.ts +423 -0
- package/dist/vtc/directory/introduction/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/introduction/0.1/payload.js +241 -0
- package/dist/vtc/directory/introduction/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/notes/append/0.1/payload.d.ts +494 -0
- package/dist/vtc/directory/notes/append/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/notes/append/0.1/payload.js +281 -0
- package/dist/vtc/directory/notes/append/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/notes/export/0.1/payload.d.ts +530 -0
- package/dist/vtc/directory/notes/export/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/notes/export/0.1/payload.js +294 -0
- package/dist/vtc/directory/notes/export/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/notes/list/0.1/payload.d.ts +528 -0
- package/dist/vtc/directory/notes/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/notes/list/0.1/payload.js +294 -0
- package/dist/vtc/directory/notes/list/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/_shared/0.1/group.d.ts +22 -0
- package/dist/vtc/groups/_shared/0.1/group.d.ts.map +1 -0
- package/dist/vtc/groups/_shared/0.1/group.js +6 -0
- package/dist/vtc/groups/_shared/0.1/group.js.map +1 -0
- package/dist/vtc/groups/bindings/add/0.1/payload.d.ts +914 -0
- package/dist/vtc/groups/bindings/add/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/bindings/add/0.1/payload.js +536 -0
- package/dist/vtc/groups/bindings/add/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/bindings/list/0.1/payload.d.ts +910 -0
- package/dist/vtc/groups/bindings/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/bindings/list/0.1/payload.js +533 -0
- package/dist/vtc/groups/bindings/list/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/bindings/remove/0.1/payload.d.ts +310 -0
- package/dist/vtc/groups/bindings/remove/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/bindings/remove/0.1/payload.js +182 -0
- package/dist/vtc/groups/bindings/remove/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/create/0.1/payload.d.ts +1075 -0
- package/dist/vtc/groups/create/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/create/0.1/payload.js +631 -0
- package/dist/vtc/groups/create/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/delete/0.1/payload.d.ts +317 -0
- package/dist/vtc/groups/delete/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/delete/0.1/payload.js +182 -0
- package/dist/vtc/groups/delete/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/join/0.1/payload.d.ts +1262 -0
- package/dist/vtc/groups/join/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/join/0.1/payload.js +758 -0
- package/dist/vtc/groups/join/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/leave/0.1/payload.d.ts +291 -0
- package/dist/vtc/groups/leave/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/leave/0.1/payload.js +179 -0
- package/dist/vtc/groups/leave/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/list/0.1/payload.d.ts +1127 -0
- package/dist/vtc/groups/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/list/0.1/payload.js +674 -0
- package/dist/vtc/groups/list/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/members/add/0.1/payload.d.ts +1014 -0
- package/dist/vtc/groups/members/add/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/members/add/0.1/payload.js +607 -0
- package/dist/vtc/groups/members/add/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/members/list/0.1/payload.d.ts +1018 -0
- package/dist/vtc/groups/members/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/members/list/0.1/payload.js +606 -0
- package/dist/vtc/groups/members/list/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/members/remove/0.1/payload.d.ts +351 -0
- package/dist/vtc/groups/members/remove/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/members/remove/0.1/payload.js +205 -0
- package/dist/vtc/groups/members/remove/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/requests/decide/0.1/payload.d.ts +1236 -0
- package/dist/vtc/groups/requests/decide/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/requests/decide/0.1/payload.js +741 -0
- package/dist/vtc/groups/requests/decide/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/requests/list/0.1/payload.d.ts +1063 -0
- package/dist/vtc/groups/requests/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/requests/list/0.1/payload.js +622 -0
- package/dist/vtc/groups/requests/list/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/show/0.1/payload.d.ts +1012 -0
- package/dist/vtc/groups/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/show/0.1/payload.js +619 -0
- package/dist/vtc/groups/show/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/update/0.1/payload.d.ts +1078 -0
- package/dist/vtc/groups/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/update/0.1/payload.js +633 -0
- package/dist/vtc/groups/update/0.1/payload.js.map +1 -0
- package/dist/vtc/join-requests/manifest/0.4/payload.d.ts +2303 -0
- package/dist/vtc/join-requests/manifest/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/join-requests/manifest/0.4/payload.js +1293 -0
- package/dist/vtc/join-requests/manifest/0.4/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +912 -1
- package/src/auth/oob/_shared/0.1/oob.ts +1 -1
- package/src/auth/oob/grant/0.2/payload.ts +186 -0
- package/src/auth/oob/prove/0.2/payload.ts +523 -0
- package/src/auth/oob/respond/0.2/payload.ts +178 -0
- package/src/device/list/0.1/payload.ts +2 -0
- package/src/device/list/0.2/payload.ts +2 -0
- package/src/device/register/0.1/payload.ts +2 -0
- package/src/device/register/0.2/payload.ts +2 -0
- package/src/index.ts +61 -0
- package/src/keys/sign-document/0.1/payload.ts +437 -0
- package/src/persona/_shared/0.1/contact-annotations.ts +23 -0
- package/src/persona/contact/get/1.1/payload.ts +876 -0
- package/src/persona/contact/list/1.1/payload.ts +497 -0
- package/src/persona/contact/lists/delete/1.0/payload.ts +204 -0
- package/src/persona/contact/lists/list/1.0/payload.ts +332 -0
- package/src/persona/contact/lists/put/1.0/payload.ts +429 -0
- package/src/persona/contact/lists/show/1.0/payload.ts +305 -0
- package/src/persona/contact/put/1.1/payload.ts +958 -0
- package/src/rooms/keys/seal/0.1/payload.ts +12 -2
- package/src/rooms/keys/seal/0.2/payload.ts +12 -2
- package/src/rooms/owner/group/add/0.3/payload.ts +288 -0
- package/src/rooms/owner/group/remove/0.3/payload.ts +415 -0
- package/src/rooms/owner/group/renew/0.2/payload.ts +213 -0
- package/src/rooms/owner/register/0.2/payload.ts +415 -0
- package/src/rooms/records/get/0.1/payload.ts +12 -2
- package/src/rooms/records/get/0.2/payload.ts +12 -2
- package/src/rooms/records/put/0.1/payload.ts +12 -2
- package/src/rooms/records/put/0.2/payload.ts +12 -2
- package/src/vtc/admin/events/_shared/0.3/topic.ts +31 -0
- package/src/vtc/admin/events/event/0.3/payload.ts +136 -0
- package/src/vtc/admin/events/subscribe/0.3/payload.ts +314 -0
- package/src/vtc/directory/_shared/0.1/admin-note.ts +17 -0
- package/src/vtc/directory/_shared/0.1/directory-card.ts +23 -0
- package/src/vtc/directory/_shared/0.1/disclosure-statement.ts +19 -0
- package/src/vtc/directory/_shared/0.1/field-definition.ts +17 -0
- package/src/vtc/directory/card/assert/0.1/payload.ts +503 -0
- package/src/vtc/directory/card/present/0.1/payload.ts +437 -0
- package/src/vtc/directory/card/public/0.1/payload.ts +238 -0
- package/src/vtc/directory/card/publish/0.1/payload.ts +261 -0
- package/src/vtc/directory/card/show/0.1/payload.ts +812 -0
- package/src/vtc/directory/card/update/0.1/payload.ts +907 -0
- package/src/vtc/directory/disclosure/0.1/payload.ts +645 -0
- package/src/vtc/directory/entries/list/0.1/payload.ts +5676 -0
- package/src/vtc/directory/entries/show/0.1/payload.ts +541 -0
- package/src/vtc/directory/export/0.1/payload.ts +241 -0
- package/src/vtc/directory/fields/define/0.1/payload.ts +847 -0
- package/src/vtc/directory/fields/list/0.1/payload.ts +780 -0
- package/src/vtc/directory/fields/retire/0.1/payload.ts +723 -0
- package/src/vtc/directory/fields/update/0.1/payload.ts +767 -0
- package/src/vtc/directory/images/get/0.1/payload.ts +320 -0
- package/src/vtc/directory/images/upload/0.1/payload.ts +308 -0
- package/src/vtc/directory/introduce/0.1/payload.ts +324 -0
- package/src/vtc/directory/introduction/0.1/payload.ts +278 -0
- package/src/vtc/directory/notes/append/0.1/payload.ts +319 -0
- package/src/vtc/directory/notes/export/0.1/payload.ts +337 -0
- package/src/vtc/directory/notes/list/0.1/payload.ts +337 -0
- package/src/vtc/groups/_shared/0.1/group.ts +23 -0
- package/src/vtc/groups/bindings/add/0.1/payload.ts +573 -0
- package/src/vtc/groups/bindings/list/0.1/payload.ts +568 -0
- package/src/vtc/groups/bindings/remove/0.1/payload.ts +223 -0
- package/src/vtc/groups/create/0.1/payload.ts +683 -0
- package/src/vtc/groups/delete/0.1/payload.ts +224 -0
- package/src/vtc/groups/join/0.1/payload.ts +807 -0
- package/src/vtc/groups/leave/0.1/payload.ts +219 -0
- package/src/vtc/groups/list/0.1/payload.ts +728 -0
- package/src/vtc/groups/members/add/0.1/payload.ts +648 -0
- package/src/vtc/groups/members/list/0.1/payload.ts +647 -0
- package/src/vtc/groups/members/remove/0.1/payload.ts +251 -0
- package/src/vtc/groups/requests/decide/0.1/payload.ts +786 -0
- package/src/vtc/groups/requests/list/0.1/payload.ts +670 -0
- package/src/vtc/groups/show/0.1/payload.ts +652 -0
- package/src/vtc/groups/update/0.1/payload.ts +682 -0
- package/src/vtc/join-requests/manifest/0.4/payload.ts +1490 -0
|
@@ -0,0 +1,603 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/directory/card/present/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Ext, FieldKey, VerifiedValue } from "../../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* A member presents a credential so the community can fill credential-sourced directory fields with the disclosed claims, badged with their issuer; the community keeps the claims, never the presentation. The outer document members are owned by the framework — SPEC §6.3.
|
|
8
|
+
*/
|
|
9
|
+
export interface VTCDirectoryCardPresentPayload {
|
|
10
|
+
/**
|
|
11
|
+
* The `credential`-sourced fields this presentation answers.
|
|
12
|
+
*
|
|
13
|
+
* @minItems 1
|
|
14
|
+
* @maxItems 16
|
|
15
|
+
*/
|
|
16
|
+
fields: [FieldKey] | [FieldKey, FieldKey] | [FieldKey, FieldKey, FieldKey] | [FieldKey, FieldKey, FieldKey, FieldKey] | [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey] | [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey] | [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey] | [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey] | [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey] | [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey] | [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey] | [
|
|
17
|
+
FieldKey,
|
|
18
|
+
FieldKey,
|
|
19
|
+
FieldKey,
|
|
20
|
+
FieldKey,
|
|
21
|
+
FieldKey,
|
|
22
|
+
FieldKey,
|
|
23
|
+
FieldKey,
|
|
24
|
+
FieldKey,
|
|
25
|
+
FieldKey,
|
|
26
|
+
FieldKey,
|
|
27
|
+
FieldKey,
|
|
28
|
+
FieldKey
|
|
29
|
+
] | [
|
|
30
|
+
FieldKey,
|
|
31
|
+
FieldKey,
|
|
32
|
+
FieldKey,
|
|
33
|
+
FieldKey,
|
|
34
|
+
FieldKey,
|
|
35
|
+
FieldKey,
|
|
36
|
+
FieldKey,
|
|
37
|
+
FieldKey,
|
|
38
|
+
FieldKey,
|
|
39
|
+
FieldKey,
|
|
40
|
+
FieldKey,
|
|
41
|
+
FieldKey,
|
|
42
|
+
FieldKey
|
|
43
|
+
] | [
|
|
44
|
+
FieldKey,
|
|
45
|
+
FieldKey,
|
|
46
|
+
FieldKey,
|
|
47
|
+
FieldKey,
|
|
48
|
+
FieldKey,
|
|
49
|
+
FieldKey,
|
|
50
|
+
FieldKey,
|
|
51
|
+
FieldKey,
|
|
52
|
+
FieldKey,
|
|
53
|
+
FieldKey,
|
|
54
|
+
FieldKey,
|
|
55
|
+
FieldKey,
|
|
56
|
+
FieldKey,
|
|
57
|
+
FieldKey
|
|
58
|
+
] | [
|
|
59
|
+
FieldKey,
|
|
60
|
+
FieldKey,
|
|
61
|
+
FieldKey,
|
|
62
|
+
FieldKey,
|
|
63
|
+
FieldKey,
|
|
64
|
+
FieldKey,
|
|
65
|
+
FieldKey,
|
|
66
|
+
FieldKey,
|
|
67
|
+
FieldKey,
|
|
68
|
+
FieldKey,
|
|
69
|
+
FieldKey,
|
|
70
|
+
FieldKey,
|
|
71
|
+
FieldKey,
|
|
72
|
+
FieldKey,
|
|
73
|
+
FieldKey
|
|
74
|
+
] | [
|
|
75
|
+
FieldKey,
|
|
76
|
+
FieldKey,
|
|
77
|
+
FieldKey,
|
|
78
|
+
FieldKey,
|
|
79
|
+
FieldKey,
|
|
80
|
+
FieldKey,
|
|
81
|
+
FieldKey,
|
|
82
|
+
FieldKey,
|
|
83
|
+
FieldKey,
|
|
84
|
+
FieldKey,
|
|
85
|
+
FieldKey,
|
|
86
|
+
FieldKey,
|
|
87
|
+
FieldKey,
|
|
88
|
+
FieldKey,
|
|
89
|
+
FieldKey,
|
|
90
|
+
FieldKey
|
|
91
|
+
];
|
|
92
|
+
presentation: {} | string;
|
|
93
|
+
/**
|
|
94
|
+
* Optional: also clear any named field the presentation does not answer. Absent: false.
|
|
95
|
+
*/
|
|
96
|
+
clear?: boolean;
|
|
97
|
+
ext?: Ext;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The success response to a vtc/directory/card/present/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/card/present/0.1#response.
|
|
101
|
+
*/
|
|
102
|
+
export interface VTCDirectoryCardPresentResponsePayload {
|
|
103
|
+
/**
|
|
104
|
+
* The values now on the card, keyed by field.
|
|
105
|
+
*/
|
|
106
|
+
verified: {
|
|
107
|
+
[k: string]: VerifiedValue | undefined;
|
|
108
|
+
};
|
|
109
|
+
revision: number;
|
|
110
|
+
ext?: Ext;
|
|
111
|
+
}
|
|
112
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
113
|
+
export type { Ext, FieldKey, VerifiedValue };
|
|
114
|
+
/** Trust Task type URI. */
|
|
115
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/directory/card/present/0.1";
|
|
116
|
+
/** Stable alias for this specification's request payload shape. */
|
|
117
|
+
export type Payload = VTCDirectoryCardPresentPayload;
|
|
118
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
119
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/directory/card/present/0.1#response";
|
|
120
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
121
|
+
export type Response = VTCDirectoryCardPresentResponsePayload;
|
|
122
|
+
/**
|
|
123
|
+
* This specification's payload schema, as a value.
|
|
124
|
+
*
|
|
125
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
126
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
127
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
128
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
129
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
130
|
+
*/
|
|
131
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
132
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
133
|
+
readonly $id: "https://trusttasks.org/spec/vtc/directory/card/present/0.1";
|
|
134
|
+
readonly title: "VTC Directory — Card — Present — payload";
|
|
135
|
+
readonly description: "A member presents a credential so the community can fill credential-sourced directory fields with the disclosed claims, badged with their issuer; the community keeps the claims, never the presentation. The outer document members are owned by the framework — SPEC §6.3.";
|
|
136
|
+
readonly type: "object";
|
|
137
|
+
readonly additionalProperties: false;
|
|
138
|
+
readonly required: readonly ["fields", "presentation"];
|
|
139
|
+
readonly properties: {
|
|
140
|
+
readonly fields: {
|
|
141
|
+
readonly type: "array";
|
|
142
|
+
readonly minItems: 1;
|
|
143
|
+
readonly maxItems: 16;
|
|
144
|
+
readonly uniqueItems: true;
|
|
145
|
+
readonly items: {
|
|
146
|
+
readonly $ref: "#/$defs/FieldKey";
|
|
147
|
+
};
|
|
148
|
+
readonly description: "The `credential`-sourced fields this presentation answers.";
|
|
149
|
+
};
|
|
150
|
+
readonly presentation: {
|
|
151
|
+
readonly anyOf: readonly [{
|
|
152
|
+
readonly type: "object";
|
|
153
|
+
readonly description: "A W3C Verifiable Presentation with a Data Integrity proof whose `challenge` is this document's `id` and whose `domain` is the community's DID.";
|
|
154
|
+
}, {
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
readonly minLength: 1;
|
|
157
|
+
readonly maxLength: 65536;
|
|
158
|
+
readonly description: "A compact presentation (an SD-JWT with a key-binding JWT whose `nonce` is this document's `id` and `aud` the community's DID).";
|
|
159
|
+
}];
|
|
160
|
+
};
|
|
161
|
+
readonly clear: {
|
|
162
|
+
readonly type: "boolean";
|
|
163
|
+
readonly description: "Optional: also clear any named field the presentation does not answer. Absent: false.";
|
|
164
|
+
};
|
|
165
|
+
readonly ext: {
|
|
166
|
+
readonly $ref: "#/$defs/Ext";
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
readonly $defs: {
|
|
170
|
+
readonly Response: {
|
|
171
|
+
readonly $anchor: "response";
|
|
172
|
+
readonly title: "VTC Directory — Card — Present — response payload";
|
|
173
|
+
readonly description: "The success response to a vtc/directory/card/present/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/card/present/0.1#response.";
|
|
174
|
+
readonly type: "object";
|
|
175
|
+
readonly additionalProperties: false;
|
|
176
|
+
readonly required: readonly ["verified", "revision"];
|
|
177
|
+
readonly properties: {
|
|
178
|
+
readonly verified: {
|
|
179
|
+
readonly type: "object";
|
|
180
|
+
readonly maxProperties: 16;
|
|
181
|
+
readonly propertyNames: {
|
|
182
|
+
readonly $ref: "#/$defs/FieldKey";
|
|
183
|
+
};
|
|
184
|
+
readonly additionalProperties: {
|
|
185
|
+
readonly $ref: "#/$defs/VerifiedValue";
|
|
186
|
+
};
|
|
187
|
+
readonly description: "The values now on the card, keyed by field.";
|
|
188
|
+
};
|
|
189
|
+
readonly revision: {
|
|
190
|
+
readonly type: "integer";
|
|
191
|
+
readonly minimum: 0;
|
|
192
|
+
};
|
|
193
|
+
readonly ext: {
|
|
194
|
+
readonly $ref: "#/$defs/Ext";
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
readonly Ext: {
|
|
199
|
+
readonly title: "Ext";
|
|
200
|
+
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.";
|
|
201
|
+
readonly type: "object";
|
|
202
|
+
readonly minProperties: 1;
|
|
203
|
+
readonly additionalProperties: true;
|
|
204
|
+
readonly propertyNames: {
|
|
205
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
readonly VerifiedValue: {
|
|
209
|
+
readonly title: "VerifiedValue";
|
|
210
|
+
readonly description: "The value of a `credential`-sourced field: a claim the member disclosed from a credential they presented, with the issuer that attests it. A verified value always names its issuer, and a self-asserted value is never shaped as one. The community keeps only the disclosed claim and these facts about it — never the presentation.";
|
|
211
|
+
readonly type: "object";
|
|
212
|
+
readonly additionalProperties: false;
|
|
213
|
+
readonly required: readonly ["value", "issuer", "verifiedAt"];
|
|
214
|
+
readonly properties: {
|
|
215
|
+
readonly value: {
|
|
216
|
+
readonly anyOf: readonly [{
|
|
217
|
+
readonly type: "string";
|
|
218
|
+
readonly maxLength: 2000;
|
|
219
|
+
}, {
|
|
220
|
+
readonly type: "boolean";
|
|
221
|
+
}, {
|
|
222
|
+
readonly type: "number";
|
|
223
|
+
}];
|
|
224
|
+
readonly description: "The disclosed claim value.";
|
|
225
|
+
};
|
|
226
|
+
readonly issuer: {
|
|
227
|
+
readonly type: "string";
|
|
228
|
+
readonly pattern: "^did:";
|
|
229
|
+
readonly maxLength: 2048;
|
|
230
|
+
readonly description: "DID of the credential's issuer, shown as the field's verification badge.";
|
|
231
|
+
};
|
|
232
|
+
readonly credentialType: {
|
|
233
|
+
readonly type: "string";
|
|
234
|
+
readonly minLength: 1;
|
|
235
|
+
readonly maxLength: 128;
|
|
236
|
+
readonly description: "The most specific `type` of the credential the claim came from.";
|
|
237
|
+
};
|
|
238
|
+
readonly verifiedAt: {
|
|
239
|
+
readonly type: "string";
|
|
240
|
+
readonly format: "date-time";
|
|
241
|
+
readonly description: "When the community verified the presentation.";
|
|
242
|
+
};
|
|
243
|
+
readonly validUntil: {
|
|
244
|
+
readonly type: "string";
|
|
245
|
+
readonly format: "date-time";
|
|
246
|
+
readonly description: "When the credential expires, where it does. The community withdraws the value once it passes.";
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
readonly FieldKey: {
|
|
251
|
+
readonly title: "FieldKey";
|
|
252
|
+
readonly description: "Identifier of a directory field. A key with no `.` is a BASE field, the same in every community: `displayName`, `nickname`, `avatar`, `pronouns`, `bio`, `links` (written by the member) and `role`, `joinedAt`, `did`, `personhood` (derived from the community's own records, never stored on a card). A community-defined field MUST use a reverse-DNS key (`org.example.employer`), so a base key never collides with one, and a key is never reused with a different meaning once defined.";
|
|
253
|
+
readonly type: "string";
|
|
254
|
+
readonly minLength: 1;
|
|
255
|
+
readonly maxLength: 128;
|
|
256
|
+
readonly pattern: "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$";
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
261
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
262
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
263
|
+
readonly $ref: "#/$defs/Response";
|
|
264
|
+
readonly $defs: {
|
|
265
|
+
readonly Response: {
|
|
266
|
+
readonly $anchor: "response";
|
|
267
|
+
readonly title: "VTC Directory — Card — Present — response payload";
|
|
268
|
+
readonly description: "The success response to a vtc/directory/card/present/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/card/present/0.1#response.";
|
|
269
|
+
readonly type: "object";
|
|
270
|
+
readonly additionalProperties: false;
|
|
271
|
+
readonly required: readonly ["verified", "revision"];
|
|
272
|
+
readonly properties: {
|
|
273
|
+
readonly verified: {
|
|
274
|
+
readonly type: "object";
|
|
275
|
+
readonly maxProperties: 16;
|
|
276
|
+
readonly propertyNames: {
|
|
277
|
+
readonly $ref: "#/$defs/FieldKey";
|
|
278
|
+
};
|
|
279
|
+
readonly additionalProperties: {
|
|
280
|
+
readonly $ref: "#/$defs/VerifiedValue";
|
|
281
|
+
};
|
|
282
|
+
readonly description: "The values now on the card, keyed by field.";
|
|
283
|
+
};
|
|
284
|
+
readonly revision: {
|
|
285
|
+
readonly type: "integer";
|
|
286
|
+
readonly minimum: 0;
|
|
287
|
+
};
|
|
288
|
+
readonly ext: {
|
|
289
|
+
readonly $ref: "#/$defs/Ext";
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
readonly Ext: {
|
|
294
|
+
readonly title: "Ext";
|
|
295
|
+
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.";
|
|
296
|
+
readonly type: "object";
|
|
297
|
+
readonly minProperties: 1;
|
|
298
|
+
readonly additionalProperties: true;
|
|
299
|
+
readonly propertyNames: {
|
|
300
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
readonly VerifiedValue: {
|
|
304
|
+
readonly title: "VerifiedValue";
|
|
305
|
+
readonly description: "The value of a `credential`-sourced field: a claim the member disclosed from a credential they presented, with the issuer that attests it. A verified value always names its issuer, and a self-asserted value is never shaped as one. The community keeps only the disclosed claim and these facts about it — never the presentation.";
|
|
306
|
+
readonly type: "object";
|
|
307
|
+
readonly additionalProperties: false;
|
|
308
|
+
readonly required: readonly ["value", "issuer", "verifiedAt"];
|
|
309
|
+
readonly properties: {
|
|
310
|
+
readonly value: {
|
|
311
|
+
readonly anyOf: readonly [{
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
readonly maxLength: 2000;
|
|
314
|
+
}, {
|
|
315
|
+
readonly type: "boolean";
|
|
316
|
+
}, {
|
|
317
|
+
readonly type: "number";
|
|
318
|
+
}];
|
|
319
|
+
readonly description: "The disclosed claim value.";
|
|
320
|
+
};
|
|
321
|
+
readonly issuer: {
|
|
322
|
+
readonly type: "string";
|
|
323
|
+
readonly pattern: "^did:";
|
|
324
|
+
readonly maxLength: 2048;
|
|
325
|
+
readonly description: "DID of the credential's issuer, shown as the field's verification badge.";
|
|
326
|
+
};
|
|
327
|
+
readonly credentialType: {
|
|
328
|
+
readonly type: "string";
|
|
329
|
+
readonly minLength: 1;
|
|
330
|
+
readonly maxLength: 128;
|
|
331
|
+
readonly description: "The most specific `type` of the credential the claim came from.";
|
|
332
|
+
};
|
|
333
|
+
readonly verifiedAt: {
|
|
334
|
+
readonly type: "string";
|
|
335
|
+
readonly format: "date-time";
|
|
336
|
+
readonly description: "When the community verified the presentation.";
|
|
337
|
+
};
|
|
338
|
+
readonly validUntil: {
|
|
339
|
+
readonly type: "string";
|
|
340
|
+
readonly format: "date-time";
|
|
341
|
+
readonly description: "When the credential expires, where it does. The community withdraws the value once it passes.";
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
readonly FieldKey: {
|
|
346
|
+
readonly title: "FieldKey";
|
|
347
|
+
readonly description: "Identifier of a directory field. A key with no `.` is a BASE field, the same in every community: `displayName`, `nickname`, `avatar`, `pronouns`, `bio`, `links` (written by the member) and `role`, `joinedAt`, `did`, `personhood` (derived from the community's own records, never stored on a card). A community-defined field MUST use a reverse-DNS key (`org.example.employer`), so a base key never collides with one, and a key is never reused with a different meaning once defined.";
|
|
348
|
+
readonly type: "string";
|
|
349
|
+
readonly minLength: 1;
|
|
350
|
+
readonly maxLength: 128;
|
|
351
|
+
readonly pattern: "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$";
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
357
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
358
|
+
* per-specification and cannot be derived from the document alone, and
|
|
359
|
+
* item 2 needs the schema this carries.
|
|
360
|
+
*/
|
|
361
|
+
export declare const SPEC: {
|
|
362
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/directory/card/present/0.1";
|
|
363
|
+
readonly isBearer: false;
|
|
364
|
+
readonly isProofRequired: true;
|
|
365
|
+
readonly isRecipientRequired: true;
|
|
366
|
+
readonly isIssuedAtRequired: true;
|
|
367
|
+
readonly payloadSchema: {
|
|
368
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
369
|
+
readonly $id: "https://trusttasks.org/spec/vtc/directory/card/present/0.1";
|
|
370
|
+
readonly title: "VTC Directory — Card — Present — payload";
|
|
371
|
+
readonly description: "A member presents a credential so the community can fill credential-sourced directory fields with the disclosed claims, badged with their issuer; the community keeps the claims, never the presentation. The outer document members are owned by the framework — SPEC §6.3.";
|
|
372
|
+
readonly type: "object";
|
|
373
|
+
readonly additionalProperties: false;
|
|
374
|
+
readonly required: readonly ["fields", "presentation"];
|
|
375
|
+
readonly properties: {
|
|
376
|
+
readonly fields: {
|
|
377
|
+
readonly type: "array";
|
|
378
|
+
readonly minItems: 1;
|
|
379
|
+
readonly maxItems: 16;
|
|
380
|
+
readonly uniqueItems: true;
|
|
381
|
+
readonly items: {
|
|
382
|
+
readonly $ref: "#/$defs/FieldKey";
|
|
383
|
+
};
|
|
384
|
+
readonly description: "The `credential`-sourced fields this presentation answers.";
|
|
385
|
+
};
|
|
386
|
+
readonly presentation: {
|
|
387
|
+
readonly anyOf: readonly [{
|
|
388
|
+
readonly type: "object";
|
|
389
|
+
readonly description: "A W3C Verifiable Presentation with a Data Integrity proof whose `challenge` is this document's `id` and whose `domain` is the community's DID.";
|
|
390
|
+
}, {
|
|
391
|
+
readonly type: "string";
|
|
392
|
+
readonly minLength: 1;
|
|
393
|
+
readonly maxLength: 65536;
|
|
394
|
+
readonly description: "A compact presentation (an SD-JWT with a key-binding JWT whose `nonce` is this document's `id` and `aud` the community's DID).";
|
|
395
|
+
}];
|
|
396
|
+
};
|
|
397
|
+
readonly clear: {
|
|
398
|
+
readonly type: "boolean";
|
|
399
|
+
readonly description: "Optional: also clear any named field the presentation does not answer. Absent: false.";
|
|
400
|
+
};
|
|
401
|
+
readonly ext: {
|
|
402
|
+
readonly $ref: "#/$defs/Ext";
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
readonly $defs: {
|
|
406
|
+
readonly Response: {
|
|
407
|
+
readonly $anchor: "response";
|
|
408
|
+
readonly title: "VTC Directory — Card — Present — response payload";
|
|
409
|
+
readonly description: "The success response to a vtc/directory/card/present/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/card/present/0.1#response.";
|
|
410
|
+
readonly type: "object";
|
|
411
|
+
readonly additionalProperties: false;
|
|
412
|
+
readonly required: readonly ["verified", "revision"];
|
|
413
|
+
readonly properties: {
|
|
414
|
+
readonly verified: {
|
|
415
|
+
readonly type: "object";
|
|
416
|
+
readonly maxProperties: 16;
|
|
417
|
+
readonly propertyNames: {
|
|
418
|
+
readonly $ref: "#/$defs/FieldKey";
|
|
419
|
+
};
|
|
420
|
+
readonly additionalProperties: {
|
|
421
|
+
readonly $ref: "#/$defs/VerifiedValue";
|
|
422
|
+
};
|
|
423
|
+
readonly description: "The values now on the card, keyed by field.";
|
|
424
|
+
};
|
|
425
|
+
readonly revision: {
|
|
426
|
+
readonly type: "integer";
|
|
427
|
+
readonly minimum: 0;
|
|
428
|
+
};
|
|
429
|
+
readonly ext: {
|
|
430
|
+
readonly $ref: "#/$defs/Ext";
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
readonly Ext: {
|
|
435
|
+
readonly title: "Ext";
|
|
436
|
+
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.";
|
|
437
|
+
readonly type: "object";
|
|
438
|
+
readonly minProperties: 1;
|
|
439
|
+
readonly additionalProperties: true;
|
|
440
|
+
readonly propertyNames: {
|
|
441
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
readonly VerifiedValue: {
|
|
445
|
+
readonly title: "VerifiedValue";
|
|
446
|
+
readonly description: "The value of a `credential`-sourced field: a claim the member disclosed from a credential they presented, with the issuer that attests it. A verified value always names its issuer, and a self-asserted value is never shaped as one. The community keeps only the disclosed claim and these facts about it — never the presentation.";
|
|
447
|
+
readonly type: "object";
|
|
448
|
+
readonly additionalProperties: false;
|
|
449
|
+
readonly required: readonly ["value", "issuer", "verifiedAt"];
|
|
450
|
+
readonly properties: {
|
|
451
|
+
readonly value: {
|
|
452
|
+
readonly anyOf: readonly [{
|
|
453
|
+
readonly type: "string";
|
|
454
|
+
readonly maxLength: 2000;
|
|
455
|
+
}, {
|
|
456
|
+
readonly type: "boolean";
|
|
457
|
+
}, {
|
|
458
|
+
readonly type: "number";
|
|
459
|
+
}];
|
|
460
|
+
readonly description: "The disclosed claim value.";
|
|
461
|
+
};
|
|
462
|
+
readonly issuer: {
|
|
463
|
+
readonly type: "string";
|
|
464
|
+
readonly pattern: "^did:";
|
|
465
|
+
readonly maxLength: 2048;
|
|
466
|
+
readonly description: "DID of the credential's issuer, shown as the field's verification badge.";
|
|
467
|
+
};
|
|
468
|
+
readonly credentialType: {
|
|
469
|
+
readonly type: "string";
|
|
470
|
+
readonly minLength: 1;
|
|
471
|
+
readonly maxLength: 128;
|
|
472
|
+
readonly description: "The most specific `type` of the credential the claim came from.";
|
|
473
|
+
};
|
|
474
|
+
readonly verifiedAt: {
|
|
475
|
+
readonly type: "string";
|
|
476
|
+
readonly format: "date-time";
|
|
477
|
+
readonly description: "When the community verified the presentation.";
|
|
478
|
+
};
|
|
479
|
+
readonly validUntil: {
|
|
480
|
+
readonly type: "string";
|
|
481
|
+
readonly format: "date-time";
|
|
482
|
+
readonly description: "When the credential expires, where it does. The community withdraws the value once it passes.";
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
readonly FieldKey: {
|
|
487
|
+
readonly title: "FieldKey";
|
|
488
|
+
readonly description: "Identifier of a directory field. A key with no `.` is a BASE field, the same in every community: `displayName`, `nickname`, `avatar`, `pronouns`, `bio`, `links` (written by the member) and `role`, `joinedAt`, `did`, `personhood` (derived from the community's own records, never stored on a card). A community-defined field MUST use a reverse-DNS key (`org.example.employer`), so a base key never collides with one, and a key is never reused with a different meaning once defined.";
|
|
489
|
+
readonly type: "string";
|
|
490
|
+
readonly minLength: 1;
|
|
491
|
+
readonly maxLength: 128;
|
|
492
|
+
readonly pattern: "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$";
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
499
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
500
|
+
* parties (§7.3 item 5).
|
|
501
|
+
*/
|
|
502
|
+
export declare const RESPONSE_SPEC: {
|
|
503
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/directory/card/present/0.1#response";
|
|
504
|
+
readonly isBearer: false;
|
|
505
|
+
readonly isProofRequired: true;
|
|
506
|
+
readonly isRecipientRequired: true;
|
|
507
|
+
readonly isIssuedAtRequired: true;
|
|
508
|
+
readonly payloadSchema: {
|
|
509
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
510
|
+
readonly $ref: "#/$defs/Response";
|
|
511
|
+
readonly $defs: {
|
|
512
|
+
readonly Response: {
|
|
513
|
+
readonly $anchor: "response";
|
|
514
|
+
readonly title: "VTC Directory — Card — Present — response payload";
|
|
515
|
+
readonly description: "The success response to a vtc/directory/card/present/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/directory/card/present/0.1#response.";
|
|
516
|
+
readonly type: "object";
|
|
517
|
+
readonly additionalProperties: false;
|
|
518
|
+
readonly required: readonly ["verified", "revision"];
|
|
519
|
+
readonly properties: {
|
|
520
|
+
readonly verified: {
|
|
521
|
+
readonly type: "object";
|
|
522
|
+
readonly maxProperties: 16;
|
|
523
|
+
readonly propertyNames: {
|
|
524
|
+
readonly $ref: "#/$defs/FieldKey";
|
|
525
|
+
};
|
|
526
|
+
readonly additionalProperties: {
|
|
527
|
+
readonly $ref: "#/$defs/VerifiedValue";
|
|
528
|
+
};
|
|
529
|
+
readonly description: "The values now on the card, keyed by field.";
|
|
530
|
+
};
|
|
531
|
+
readonly revision: {
|
|
532
|
+
readonly type: "integer";
|
|
533
|
+
readonly minimum: 0;
|
|
534
|
+
};
|
|
535
|
+
readonly ext: {
|
|
536
|
+
readonly $ref: "#/$defs/Ext";
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
readonly Ext: {
|
|
541
|
+
readonly title: "Ext";
|
|
542
|
+
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.";
|
|
543
|
+
readonly type: "object";
|
|
544
|
+
readonly minProperties: 1;
|
|
545
|
+
readonly additionalProperties: true;
|
|
546
|
+
readonly propertyNames: {
|
|
547
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
readonly VerifiedValue: {
|
|
551
|
+
readonly title: "VerifiedValue";
|
|
552
|
+
readonly description: "The value of a `credential`-sourced field: a claim the member disclosed from a credential they presented, with the issuer that attests it. A verified value always names its issuer, and a self-asserted value is never shaped as one. The community keeps only the disclosed claim and these facts about it — never the presentation.";
|
|
553
|
+
readonly type: "object";
|
|
554
|
+
readonly additionalProperties: false;
|
|
555
|
+
readonly required: readonly ["value", "issuer", "verifiedAt"];
|
|
556
|
+
readonly properties: {
|
|
557
|
+
readonly value: {
|
|
558
|
+
readonly anyOf: readonly [{
|
|
559
|
+
readonly type: "string";
|
|
560
|
+
readonly maxLength: 2000;
|
|
561
|
+
}, {
|
|
562
|
+
readonly type: "boolean";
|
|
563
|
+
}, {
|
|
564
|
+
readonly type: "number";
|
|
565
|
+
}];
|
|
566
|
+
readonly description: "The disclosed claim value.";
|
|
567
|
+
};
|
|
568
|
+
readonly issuer: {
|
|
569
|
+
readonly type: "string";
|
|
570
|
+
readonly pattern: "^did:";
|
|
571
|
+
readonly maxLength: 2048;
|
|
572
|
+
readonly description: "DID of the credential's issuer, shown as the field's verification badge.";
|
|
573
|
+
};
|
|
574
|
+
readonly credentialType: {
|
|
575
|
+
readonly type: "string";
|
|
576
|
+
readonly minLength: 1;
|
|
577
|
+
readonly maxLength: 128;
|
|
578
|
+
readonly description: "The most specific `type` of the credential the claim came from.";
|
|
579
|
+
};
|
|
580
|
+
readonly verifiedAt: {
|
|
581
|
+
readonly type: "string";
|
|
582
|
+
readonly format: "date-time";
|
|
583
|
+
readonly description: "When the community verified the presentation.";
|
|
584
|
+
};
|
|
585
|
+
readonly validUntil: {
|
|
586
|
+
readonly type: "string";
|
|
587
|
+
readonly format: "date-time";
|
|
588
|
+
readonly description: "When the credential expires, where it does. The community withdraws the value once it passes.";
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
readonly FieldKey: {
|
|
593
|
+
readonly title: "FieldKey";
|
|
594
|
+
readonly description: "Identifier of a directory field. A key with no `.` is a BASE field, the same in every community: `displayName`, `nickname`, `avatar`, `pronouns`, `bio`, `links` (written by the member) and `role`, `joinedAt`, `did`, `personhood` (derived from the community's own records, never stored on a card). A community-defined field MUST use a reverse-DNS key (`org.example.employer`), so a base key never collides with one, and a key is never reused with a different meaning once defined.";
|
|
595
|
+
readonly type: "string";
|
|
596
|
+
readonly minLength: 1;
|
|
597
|
+
readonly maxLength: 128;
|
|
598
|
+
readonly pattern: "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$";
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/directory/card/present/0.1/payload.ts"],"names":[],"mappings":"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"}
|