gdpr audit implemented, email log, vollmachten, pdf delete cancel data privacy and vollmachten, removed message no id card in engergy car, and other contracts that are not telecom contracts, added insert counter for engery
This commit is contained in:
+170
-1
@@ -122,6 +122,25 @@ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
||||
Serializable: 'Serializable'
|
||||
});
|
||||
|
||||
exports.Prisma.EmailLogScalarFieldEnum = {
|
||||
id: 'id',
|
||||
fromAddress: 'fromAddress',
|
||||
toAddress: 'toAddress',
|
||||
subject: 'subject',
|
||||
context: 'context',
|
||||
customerId: 'customerId',
|
||||
triggeredBy: 'triggeredBy',
|
||||
smtpServer: 'smtpServer',
|
||||
smtpPort: 'smtpPort',
|
||||
smtpEncryption: 'smtpEncryption',
|
||||
smtpUser: 'smtpUser',
|
||||
success: 'success',
|
||||
messageId: 'messageId',
|
||||
errorMessage: 'errorMessage',
|
||||
smtpResponse: 'smtpResponse',
|
||||
sentAt: 'sentAt'
|
||||
};
|
||||
|
||||
exports.Prisma.AppSettingScalarFieldEnum = {
|
||||
id: 'id',
|
||||
key: 'key',
|
||||
@@ -138,6 +157,9 @@ exports.Prisma.UserScalarFieldEnum = {
|
||||
lastName: 'lastName',
|
||||
isActive: 'isActive',
|
||||
tokenInvalidatedAt: 'tokenInvalidatedAt',
|
||||
whatsappNumber: 'whatsappNumber',
|
||||
telegramUsername: 'telegramUsername',
|
||||
signalNumber: 'signalNumber',
|
||||
customerId: 'customerId',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
@@ -186,6 +208,7 @@ exports.Prisma.CustomerScalarFieldEnum = {
|
||||
commercialRegisterPath: 'commercialRegisterPath',
|
||||
commercialRegisterNumber: 'commercialRegisterNumber',
|
||||
privacyPolicyPath: 'privacyPolicyPath',
|
||||
consentHash: 'consentHash',
|
||||
notes: 'notes',
|
||||
portalEnabled: 'portalEnabled',
|
||||
portalEmail: 'portalEmail',
|
||||
@@ -206,6 +229,20 @@ exports.Prisma.CustomerRepresentativeScalarFieldEnum = {
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.RepresentativeAuthorizationScalarFieldEnum = {
|
||||
id: 'id',
|
||||
customerId: 'customerId',
|
||||
representativeId: 'representativeId',
|
||||
isGranted: 'isGranted',
|
||||
grantedAt: 'grantedAt',
|
||||
withdrawnAt: 'withdrawnAt',
|
||||
source: 'source',
|
||||
documentPath: 'documentPath',
|
||||
notes: 'notes',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.AddressScalarFieldEnum = {
|
||||
id: 'id',
|
||||
customerId: 'customerId',
|
||||
@@ -267,6 +304,8 @@ exports.Prisma.EmailProviderConfigScalarFieldEnum = {
|
||||
imapEncryption: 'imapEncryption',
|
||||
smtpEncryption: 'smtpEncryption',
|
||||
allowSelfSignedCerts: 'allowSelfSignedCerts',
|
||||
systemEmailAddress: 'systemEmailAddress',
|
||||
systemEmailPasswordEncrypted: 'systemEmailPasswordEncrypted',
|
||||
isActive: 'isActive',
|
||||
isDefault: 'isDefault',
|
||||
createdAt: 'createdAt',
|
||||
@@ -335,6 +374,10 @@ exports.Prisma.MeterReadingScalarFieldEnum = {
|
||||
value: 'value',
|
||||
unit: 'unit',
|
||||
notes: 'notes',
|
||||
reportedBy: 'reportedBy',
|
||||
status: 'status',
|
||||
transferredAt: 'transferredAt',
|
||||
transferredBy: 'transferredBy',
|
||||
createdAt: 'createdAt'
|
||||
};
|
||||
|
||||
@@ -577,6 +620,80 @@ exports.Prisma.CarInsuranceDetailsScalarFieldEnum = {
|
||||
previousInsurer: 'previousInsurer'
|
||||
};
|
||||
|
||||
exports.Prisma.AuditLogScalarFieldEnum = {
|
||||
id: 'id',
|
||||
userId: 'userId',
|
||||
userEmail: 'userEmail',
|
||||
userRole: 'userRole',
|
||||
customerId: 'customerId',
|
||||
isCustomerPortal: 'isCustomerPortal',
|
||||
action: 'action',
|
||||
sensitivity: 'sensitivity',
|
||||
resourceType: 'resourceType',
|
||||
resourceId: 'resourceId',
|
||||
resourceLabel: 'resourceLabel',
|
||||
endpoint: 'endpoint',
|
||||
httpMethod: 'httpMethod',
|
||||
ipAddress: 'ipAddress',
|
||||
userAgent: 'userAgent',
|
||||
changesBefore: 'changesBefore',
|
||||
changesAfter: 'changesAfter',
|
||||
changesEncrypted: 'changesEncrypted',
|
||||
dataSubjectId: 'dataSubjectId',
|
||||
legalBasis: 'legalBasis',
|
||||
success: 'success',
|
||||
errorMessage: 'errorMessage',
|
||||
durationMs: 'durationMs',
|
||||
createdAt: 'createdAt',
|
||||
hash: 'hash',
|
||||
previousHash: 'previousHash'
|
||||
};
|
||||
|
||||
exports.Prisma.CustomerConsentScalarFieldEnum = {
|
||||
id: 'id',
|
||||
customerId: 'customerId',
|
||||
consentType: 'consentType',
|
||||
status: 'status',
|
||||
grantedAt: 'grantedAt',
|
||||
withdrawnAt: 'withdrawnAt',
|
||||
source: 'source',
|
||||
documentPath: 'documentPath',
|
||||
version: 'version',
|
||||
ipAddress: 'ipAddress',
|
||||
createdBy: 'createdBy',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.DataDeletionRequestScalarFieldEnum = {
|
||||
id: 'id',
|
||||
customerId: 'customerId',
|
||||
status: 'status',
|
||||
requestedAt: 'requestedAt',
|
||||
requestSource: 'requestSource',
|
||||
requestedBy: 'requestedBy',
|
||||
processedAt: 'processedAt',
|
||||
processedBy: 'processedBy',
|
||||
deletedData: 'deletedData',
|
||||
retainedData: 'retainedData',
|
||||
retentionReason: 'retentionReason',
|
||||
proofDocument: 'proofDocument',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.AuditRetentionPolicyScalarFieldEnum = {
|
||||
id: 'id',
|
||||
resourceType: 'resourceType',
|
||||
sensitivity: 'sensitivity',
|
||||
retentionDays: 'retentionDays',
|
||||
description: 'description',
|
||||
legalBasis: 'legalBasis',
|
||||
isActive: 'isActive',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
};
|
||||
|
||||
exports.Prisma.SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
@@ -625,6 +742,12 @@ exports.MeterType = exports.$Enums.MeterType = {
|
||||
GAS: 'GAS'
|
||||
};
|
||||
|
||||
exports.MeterReadingStatus = exports.$Enums.MeterReadingStatus = {
|
||||
RECORDED: 'RECORDED',
|
||||
REPORTED: 'REPORTED',
|
||||
TRANSFERRED: 'TRANSFERRED'
|
||||
};
|
||||
|
||||
exports.ContractType = exports.$Enums.ContractType = {
|
||||
ELECTRICITY: 'ELECTRICITY',
|
||||
GAS: 'GAS',
|
||||
@@ -662,7 +785,48 @@ exports.InsuranceType = exports.$Enums.InsuranceType = {
|
||||
FULL: 'FULL'
|
||||
};
|
||||
|
||||
exports.AuditAction = exports.$Enums.AuditAction = {
|
||||
CREATE: 'CREATE',
|
||||
READ: 'READ',
|
||||
UPDATE: 'UPDATE',
|
||||
DELETE: 'DELETE',
|
||||
EXPORT: 'EXPORT',
|
||||
ANONYMIZE: 'ANONYMIZE',
|
||||
LOGIN: 'LOGIN',
|
||||
LOGOUT: 'LOGOUT',
|
||||
LOGIN_FAILED: 'LOGIN_FAILED'
|
||||
};
|
||||
|
||||
exports.AuditSensitivity = exports.$Enums.AuditSensitivity = {
|
||||
LOW: 'LOW',
|
||||
MEDIUM: 'MEDIUM',
|
||||
HIGH: 'HIGH',
|
||||
CRITICAL: 'CRITICAL'
|
||||
};
|
||||
|
||||
exports.ConsentType = exports.$Enums.ConsentType = {
|
||||
DATA_PROCESSING: 'DATA_PROCESSING',
|
||||
MARKETING_EMAIL: 'MARKETING_EMAIL',
|
||||
MARKETING_PHONE: 'MARKETING_PHONE',
|
||||
DATA_SHARING_PARTNER: 'DATA_SHARING_PARTNER'
|
||||
};
|
||||
|
||||
exports.ConsentStatus = exports.$Enums.ConsentStatus = {
|
||||
GRANTED: 'GRANTED',
|
||||
WITHDRAWN: 'WITHDRAWN',
|
||||
PENDING: 'PENDING'
|
||||
};
|
||||
|
||||
exports.DeletionRequestStatus = exports.$Enums.DeletionRequestStatus = {
|
||||
PENDING: 'PENDING',
|
||||
IN_PROGRESS: 'IN_PROGRESS',
|
||||
COMPLETED: 'COMPLETED',
|
||||
PARTIALLY_COMPLETED: 'PARTIALLY_COMPLETED',
|
||||
REJECTED: 'REJECTED'
|
||||
};
|
||||
|
||||
exports.Prisma.ModelName = {
|
||||
EmailLog: 'EmailLog',
|
||||
AppSetting: 'AppSetting',
|
||||
User: 'User',
|
||||
Role: 'Role',
|
||||
@@ -671,6 +835,7 @@ exports.Prisma.ModelName = {
|
||||
UserRole: 'UserRole',
|
||||
Customer: 'Customer',
|
||||
CustomerRepresentative: 'CustomerRepresentative',
|
||||
RepresentativeAuthorization: 'RepresentativeAuthorization',
|
||||
Address: 'Address',
|
||||
BankCard: 'BankCard',
|
||||
IdentityDocument: 'IdentityDocument',
|
||||
@@ -696,7 +861,11 @@ exports.Prisma.ModelName = {
|
||||
MobileContractDetails: 'MobileContractDetails',
|
||||
SimCard: 'SimCard',
|
||||
TvContractDetails: 'TvContractDetails',
|
||||
CarInsuranceDetails: 'CarInsuranceDetails'
|
||||
CarInsuranceDetails: 'CarInsuranceDetails',
|
||||
AuditLog: 'AuditLog',
|
||||
CustomerConsent: 'CustomerConsent',
|
||||
DataDeletionRequest: 'DataDeletionRequest',
|
||||
AuditRetentionPolicy: 'AuditRetentionPolicy'
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user