feat(consent): add versioned append-only consent ledger C1-C5

This commit is contained in:
shira committed 2026-10-06 14:52:33 +03:00
1 parent 008254e44a
commit de49f93b0b
64 files changed
+9244 -132

No files matched your search

+21
View File
@@ -40,6 +40,11 @@ tags:
withdrawal and cancellation, and the contact grant. Contacts are
readable only through an active grant, in a response separate from
the terms.
- name: consent
description: >-
The consent ledger of the current account: the independent consents
C1-C5 with their text versions, sources, states, and revocations. The
ledger is append-only and returns only the caller's own records.
- name: support
description: >-
Support cases of the current account: questions, complaints, appeals
@@ -112,6 +117,8 @@ paths:
$ref: ./routes/candidate_invitation_decline.yml
/api/v1/me/invitations/{invitation_id}/cancel:
$ref: ./routes/candidate_invitation_cancel.yml
/api/v1/me/consents:
$ref: ./routes/consents.yml
/api/v1/me/support-cases:
$ref: ./routes/support_cases.yml
/api/v1/me/support-cases/{case_id}:
@@ -578,6 +585,20 @@ components:
$ref: ./components/schemas.yml#/ContactFullName
ContactDisclosure:
$ref: ./components/schemas.yml#/ContactDisclosure
ConsentPurposeCode:
$ref: ./components/schemas.yml#/ConsentPurposeCode
ConsentState:
$ref: ./components/schemas.yml#/ConsentState
ConsentSource:
$ref: ./components/schemas.yml#/ConsentSource
ConsentRevocationSource:
$ref: ./components/schemas.yml#/ConsentRevocationSource
ConsentOrganization:
$ref: ./components/schemas.yml#/ConsentOrganization
ConsentRecord:
$ref: ./components/schemas.yml#/ConsentRecord
ConsentRecordList:
$ref: ./components/schemas.yml#/ConsentRecordList
parameters:
IdempotencyKey:
$ref: ./components/parameters.yml#/IdempotencyKey