feat(accounts): add consent settings and organization management

This commit is contained in:
TakuyaYagam1 committed 2026-10-07 13:00:39 +03:00
1 parent 24638d46d2
commit 391af7a1ef
83 files changed
+10198 -613

No files matched your search

@@ -8,6 +8,14 @@ import (
"github.com/jackc/pgx/v5/pgtype"
)
type AccountDeletionRequest struct {
ID pgtype.UUID
SubjectID pgtype.UUID
Status string
RequestedAt pgtype.Timestamptz
CompletedAt pgtype.Timestamptz
}
type AssessmentCategoryOpening struct {
ID pgtype.UUID
Category string
@@ -315,6 +323,11 @@ type Organization struct {
UpdatedAt pgtype.Timestamptz
}
type OrganizationCreationResult struct {
ScopeHash []byte
Snapshot []byte
}
type OrganizationRepresentative struct {
OrganizationID pgtype.UUID
Ordinal int16