@openvtc/trust-tasks 0.26.16 → 0.26.18
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 +201 -0
- package/dist/_shared/components.d.ts +790 -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 +55 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +55 -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/act/0.5/payload.d.ts +546 -0
- package/dist/rooms/keys/act/0.5/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.5/payload.js +305 -0
- package/dist/rooms/keys/act/0.5/payload.js.map +1 -0
- package/dist/rooms/keys/key-package/0.2/payload.d.ts +304 -0
- package/dist/rooms/keys/key-package/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/keys/key-package/0.2/payload.js +166 -0
- package/dist/rooms/keys/key-package/0.2/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/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/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/_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/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/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/show/0.1/payload.d.ts +1144 -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 +695 -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 +1291 -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 +765 -0
- package/dist/vtc/directory/card/update/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/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/rooms/memberships/list/0.1/payload.d.ts +696 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.js +402 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +835 -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 +55 -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/act/0.5/payload.ts +380 -0
- package/src/rooms/keys/key-package/0.2/payload.ts +219 -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/remove/0.3/payload.ts +415 -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/_shared/0.1/community-room.ts +1 -1
- 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/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/show/0.1/payload.ts +732 -0
- package/src/vtc/directory/card/update/0.1/payload.ts +827 -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/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/rooms/memberships/list/0.1/payload.ts +445 -0
|
@@ -0,0 +1,437 @@
|
|
|
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
|
+
|
|
6
|
+
import type { Ext, FieldKey, VerifiedValue } from "../../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* 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.
|
|
11
|
+
*/
|
|
12
|
+
export interface VTCDirectoryCardPresentPayload {
|
|
13
|
+
/**
|
|
14
|
+
* The `credential`-sourced fields this presentation answers.
|
|
15
|
+
*
|
|
16
|
+
* @minItems 1
|
|
17
|
+
* @maxItems 16
|
|
18
|
+
*/
|
|
19
|
+
fields:
|
|
20
|
+
| [FieldKey]
|
|
21
|
+
| [FieldKey, FieldKey]
|
|
22
|
+
| [FieldKey, FieldKey, FieldKey]
|
|
23
|
+
| [FieldKey, FieldKey, FieldKey, FieldKey]
|
|
24
|
+
| [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey]
|
|
25
|
+
| [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey]
|
|
26
|
+
| [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey]
|
|
27
|
+
| [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey]
|
|
28
|
+
| [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey]
|
|
29
|
+
| [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey]
|
|
30
|
+
| [FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey, FieldKey]
|
|
31
|
+
| [
|
|
32
|
+
FieldKey,
|
|
33
|
+
FieldKey,
|
|
34
|
+
FieldKey,
|
|
35
|
+
FieldKey,
|
|
36
|
+
FieldKey,
|
|
37
|
+
FieldKey,
|
|
38
|
+
FieldKey,
|
|
39
|
+
FieldKey,
|
|
40
|
+
FieldKey,
|
|
41
|
+
FieldKey,
|
|
42
|
+
FieldKey,
|
|
43
|
+
FieldKey
|
|
44
|
+
]
|
|
45
|
+
| [
|
|
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
|
+
FieldKey
|
|
59
|
+
]
|
|
60
|
+
| [
|
|
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
|
+
FieldKey
|
|
75
|
+
]
|
|
76
|
+
| [
|
|
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
|
+
FieldKey
|
|
92
|
+
]
|
|
93
|
+
| [
|
|
94
|
+
FieldKey,
|
|
95
|
+
FieldKey,
|
|
96
|
+
FieldKey,
|
|
97
|
+
FieldKey,
|
|
98
|
+
FieldKey,
|
|
99
|
+
FieldKey,
|
|
100
|
+
FieldKey,
|
|
101
|
+
FieldKey,
|
|
102
|
+
FieldKey,
|
|
103
|
+
FieldKey,
|
|
104
|
+
FieldKey,
|
|
105
|
+
FieldKey,
|
|
106
|
+
FieldKey,
|
|
107
|
+
FieldKey,
|
|
108
|
+
FieldKey,
|
|
109
|
+
FieldKey
|
|
110
|
+
];
|
|
111
|
+
presentation: {} | string;
|
|
112
|
+
/**
|
|
113
|
+
* Optional: also clear any named field the presentation does not answer. Absent: false.
|
|
114
|
+
*/
|
|
115
|
+
clear?: boolean;
|
|
116
|
+
ext?: Ext;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* 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.
|
|
120
|
+
*/
|
|
121
|
+
export interface VTCDirectoryCardPresentResponsePayload {
|
|
122
|
+
/**
|
|
123
|
+
* The values now on the card, keyed by field.
|
|
124
|
+
*/
|
|
125
|
+
verified: {
|
|
126
|
+
[k: string]: VerifiedValue | undefined;
|
|
127
|
+
};
|
|
128
|
+
revision: number;
|
|
129
|
+
ext?: Ext;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
133
|
+
export type { Ext, FieldKey, VerifiedValue };
|
|
134
|
+
|
|
135
|
+
/** Trust Task type URI. */
|
|
136
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vtc/directory/card/present/0.1" as const;
|
|
137
|
+
|
|
138
|
+
/** Stable alias for this specification's request payload shape. */
|
|
139
|
+
export type Payload = VTCDirectoryCardPresentPayload;
|
|
140
|
+
|
|
141
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
142
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vtc/directory/card/present/0.1#response" as const;
|
|
143
|
+
|
|
144
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
145
|
+
export type Response = VTCDirectoryCardPresentResponsePayload;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* This specification's payload schema, as a value.
|
|
149
|
+
*
|
|
150
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
151
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
152
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
153
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
154
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
155
|
+
*/
|
|
156
|
+
export const PAYLOAD_SCHEMA = {
|
|
157
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
158
|
+
"$id": "https://trusttasks.org/spec/vtc/directory/card/present/0.1",
|
|
159
|
+
"title": "VTC Directory — Card — Present — payload",
|
|
160
|
+
"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.",
|
|
161
|
+
"type": "object",
|
|
162
|
+
"additionalProperties": false,
|
|
163
|
+
"required": [
|
|
164
|
+
"fields",
|
|
165
|
+
"presentation"
|
|
166
|
+
],
|
|
167
|
+
"properties": {
|
|
168
|
+
"fields": {
|
|
169
|
+
"type": "array",
|
|
170
|
+
"minItems": 1,
|
|
171
|
+
"maxItems": 16,
|
|
172
|
+
"uniqueItems": true,
|
|
173
|
+
"items": {
|
|
174
|
+
"$ref": "#/$defs/FieldKey"
|
|
175
|
+
},
|
|
176
|
+
"description": "The `credential`-sourced fields this presentation answers."
|
|
177
|
+
},
|
|
178
|
+
"presentation": {
|
|
179
|
+
"anyOf": [
|
|
180
|
+
{
|
|
181
|
+
"type": "object",
|
|
182
|
+
"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."
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": "string",
|
|
186
|
+
"minLength": 1,
|
|
187
|
+
"maxLength": 65536,
|
|
188
|
+
"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)."
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
"clear": {
|
|
193
|
+
"type": "boolean",
|
|
194
|
+
"description": "Optional: also clear any named field the presentation does not answer. Absent: false."
|
|
195
|
+
},
|
|
196
|
+
"ext": {
|
|
197
|
+
"$ref": "#/$defs/Ext"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"$defs": {
|
|
201
|
+
"Response": {
|
|
202
|
+
"$anchor": "response",
|
|
203
|
+
"title": "VTC Directory — Card — Present — response payload",
|
|
204
|
+
"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.",
|
|
205
|
+
"type": "object",
|
|
206
|
+
"additionalProperties": false,
|
|
207
|
+
"required": [
|
|
208
|
+
"verified",
|
|
209
|
+
"revision"
|
|
210
|
+
],
|
|
211
|
+
"properties": {
|
|
212
|
+
"verified": {
|
|
213
|
+
"type": "object",
|
|
214
|
+
"maxProperties": 16,
|
|
215
|
+
"propertyNames": {
|
|
216
|
+
"$ref": "#/$defs/FieldKey"
|
|
217
|
+
},
|
|
218
|
+
"additionalProperties": {
|
|
219
|
+
"$ref": "#/$defs/VerifiedValue"
|
|
220
|
+
},
|
|
221
|
+
"description": "The values now on the card, keyed by field."
|
|
222
|
+
},
|
|
223
|
+
"revision": {
|
|
224
|
+
"type": "integer",
|
|
225
|
+
"minimum": 0
|
|
226
|
+
},
|
|
227
|
+
"ext": {
|
|
228
|
+
"$ref": "#/$defs/Ext"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"Ext": {
|
|
233
|
+
"title": "Ext",
|
|
234
|
+
"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.",
|
|
235
|
+
"type": "object",
|
|
236
|
+
"minProperties": 1,
|
|
237
|
+
"additionalProperties": true,
|
|
238
|
+
"propertyNames": {
|
|
239
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"VerifiedValue": {
|
|
243
|
+
"title": "VerifiedValue",
|
|
244
|
+
"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.",
|
|
245
|
+
"type": "object",
|
|
246
|
+
"additionalProperties": false,
|
|
247
|
+
"required": [
|
|
248
|
+
"value",
|
|
249
|
+
"issuer",
|
|
250
|
+
"verifiedAt"
|
|
251
|
+
],
|
|
252
|
+
"properties": {
|
|
253
|
+
"value": {
|
|
254
|
+
"anyOf": [
|
|
255
|
+
{
|
|
256
|
+
"type": "string",
|
|
257
|
+
"maxLength": 2000
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"type": "boolean"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"type": "number"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"description": "The disclosed claim value."
|
|
267
|
+
},
|
|
268
|
+
"issuer": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"pattern": "^did:",
|
|
271
|
+
"maxLength": 2048,
|
|
272
|
+
"description": "DID of the credential's issuer, shown as the field's verification badge."
|
|
273
|
+
},
|
|
274
|
+
"credentialType": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"minLength": 1,
|
|
277
|
+
"maxLength": 128,
|
|
278
|
+
"description": "The most specific `type` of the credential the claim came from."
|
|
279
|
+
},
|
|
280
|
+
"verifiedAt": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"format": "date-time",
|
|
283
|
+
"description": "When the community verified the presentation."
|
|
284
|
+
},
|
|
285
|
+
"validUntil": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"format": "date-time",
|
|
288
|
+
"description": "When the credential expires, where it does. The community withdraws the value once it passes."
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"FieldKey": {
|
|
293
|
+
"title": "FieldKey",
|
|
294
|
+
"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.",
|
|
295
|
+
"type": "string",
|
|
296
|
+
"minLength": 1,
|
|
297
|
+
"maxLength": 128,
|
|
298
|
+
"pattern": "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$"
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
} as const;
|
|
302
|
+
|
|
303
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
304
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
305
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
306
|
+
"$ref": "#/$defs/Response",
|
|
307
|
+
"$defs": {
|
|
308
|
+
"Response": {
|
|
309
|
+
"$anchor": "response",
|
|
310
|
+
"title": "VTC Directory — Card — Present — response payload",
|
|
311
|
+
"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.",
|
|
312
|
+
"type": "object",
|
|
313
|
+
"additionalProperties": false,
|
|
314
|
+
"required": [
|
|
315
|
+
"verified",
|
|
316
|
+
"revision"
|
|
317
|
+
],
|
|
318
|
+
"properties": {
|
|
319
|
+
"verified": {
|
|
320
|
+
"type": "object",
|
|
321
|
+
"maxProperties": 16,
|
|
322
|
+
"propertyNames": {
|
|
323
|
+
"$ref": "#/$defs/FieldKey"
|
|
324
|
+
},
|
|
325
|
+
"additionalProperties": {
|
|
326
|
+
"$ref": "#/$defs/VerifiedValue"
|
|
327
|
+
},
|
|
328
|
+
"description": "The values now on the card, keyed by field."
|
|
329
|
+
},
|
|
330
|
+
"revision": {
|
|
331
|
+
"type": "integer",
|
|
332
|
+
"minimum": 0
|
|
333
|
+
},
|
|
334
|
+
"ext": {
|
|
335
|
+
"$ref": "#/$defs/Ext"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"Ext": {
|
|
340
|
+
"title": "Ext",
|
|
341
|
+
"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.",
|
|
342
|
+
"type": "object",
|
|
343
|
+
"minProperties": 1,
|
|
344
|
+
"additionalProperties": true,
|
|
345
|
+
"propertyNames": {
|
|
346
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"VerifiedValue": {
|
|
350
|
+
"title": "VerifiedValue",
|
|
351
|
+
"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.",
|
|
352
|
+
"type": "object",
|
|
353
|
+
"additionalProperties": false,
|
|
354
|
+
"required": [
|
|
355
|
+
"value",
|
|
356
|
+
"issuer",
|
|
357
|
+
"verifiedAt"
|
|
358
|
+
],
|
|
359
|
+
"properties": {
|
|
360
|
+
"value": {
|
|
361
|
+
"anyOf": [
|
|
362
|
+
{
|
|
363
|
+
"type": "string",
|
|
364
|
+
"maxLength": 2000
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"type": "boolean"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"type": "number"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"description": "The disclosed claim value."
|
|
374
|
+
},
|
|
375
|
+
"issuer": {
|
|
376
|
+
"type": "string",
|
|
377
|
+
"pattern": "^did:",
|
|
378
|
+
"maxLength": 2048,
|
|
379
|
+
"description": "DID of the credential's issuer, shown as the field's verification badge."
|
|
380
|
+
},
|
|
381
|
+
"credentialType": {
|
|
382
|
+
"type": "string",
|
|
383
|
+
"minLength": 1,
|
|
384
|
+
"maxLength": 128,
|
|
385
|
+
"description": "The most specific `type` of the credential the claim came from."
|
|
386
|
+
},
|
|
387
|
+
"verifiedAt": {
|
|
388
|
+
"type": "string",
|
|
389
|
+
"format": "date-time",
|
|
390
|
+
"description": "When the community verified the presentation."
|
|
391
|
+
},
|
|
392
|
+
"validUntil": {
|
|
393
|
+
"type": "string",
|
|
394
|
+
"format": "date-time",
|
|
395
|
+
"description": "When the credential expires, where it does. The community withdraws the value once it passes."
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"FieldKey": {
|
|
400
|
+
"title": "FieldKey",
|
|
401
|
+
"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.",
|
|
402
|
+
"type": "string",
|
|
403
|
+
"minLength": 1,
|
|
404
|
+
"maxLength": 128,
|
|
405
|
+
"pattern": "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$"
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
} as const;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
412
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
413
|
+
* per-specification and cannot be derived from the document alone, and
|
|
414
|
+
* item 2 needs the schema this carries.
|
|
415
|
+
*/
|
|
416
|
+
export const SPEC = {
|
|
417
|
+
typeUri: TYPE_URI,
|
|
418
|
+
isBearer: false,
|
|
419
|
+
isProofRequired: true,
|
|
420
|
+
isRecipientRequired: true,
|
|
421
|
+
isIssuedAtRequired: true,
|
|
422
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
423
|
+
} as const;
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
427
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
428
|
+
* parties (§7.3 item 5).
|
|
429
|
+
*/
|
|
430
|
+
export const RESPONSE_SPEC = {
|
|
431
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
432
|
+
isBearer: false,
|
|
433
|
+
isProofRequired: true,
|
|
434
|
+
isRecipientRequired: true,
|
|
435
|
+
isIssuedAtRequired: true,
|
|
436
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
437
|
+
} as const;
|