diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-06 04:23:40 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-06 04:23:40 +0000 |
| commit | de2ac5a2860bc25180971e7a11f852d9d44675b7 (patch) | |
| tree | b931c363f2cb19e177a0a7b17190d5de2a82d709 /types/policy.ts | |
| parent | 6c549b0f264e9be4d60af38f9efc05b189d6849f (diff) | |
(대표님) 정기평가, 법적검토, 정책, 가입관련 처리 및 관련 컴포넌트 추가, 메뉴 변경
Diffstat (limited to 'types/policy.ts')
| -rw-r--r-- | types/policy.ts | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/types/policy.ts b/types/policy.ts new file mode 100644 index 00000000..fbe0bb81 --- /dev/null +++ b/types/policy.ts @@ -0,0 +1,48 @@ +export interface PolicyData { + id: number + policyType: 'privacy_policy' | 'terms_of_service' + version: string + content: string + effectiveDate: string + isCurrent: boolean + createdAt: string + } + + export interface PolicyVersions { + privacy_policy: PolicyData + terms_of_service: PolicyData + } + + export interface ConsentData { + privacy: boolean + terms: boolean + marketing: boolean + } + + export interface ConsentRecord { + id: number + userId: number + consentType: 'privacy_policy' | 'terms_of_service' | 'marketing' | 'optional' + consentStatus: boolean + policyVersion: string + consentedAt: string + ipAddress?: string + userAgent?: string + revokedAt?: string + revokeReason?: string + } + + export interface ConsentLogRecord { + id: number + userId: number + consentType: 'privacy_policy' | 'terms_of_service' | 'marketing' | 'optional' + action: 'consent' | 'revoke' | 'update' + oldStatus?: boolean + newStatus: boolean + policyVersion: string + ipAddress?: string + userAgent?: string + actionTimestamp: string + additionalData?: any + } +
\ No newline at end of file |
