update
This commit is contained in:
@@ -547,6 +547,21 @@ export class AuthGrpcController {
|
||||
return this.profile.softDeleteProfile(command.userId);
|
||||
}
|
||||
|
||||
@GrpcMethod('ProfileService', 'RequestAccountDeletion')
|
||||
requestAccountDeletion(command: { userId: string }) {
|
||||
return this.profile.requestAccountDeletion(command.userId);
|
||||
}
|
||||
|
||||
@GrpcMethod('ProfileService', 'CancelAccountDeletion')
|
||||
cancelAccountDeletion(command: { userId: string }) {
|
||||
return this.profile.cancelAccountDeletion(command.userId);
|
||||
}
|
||||
|
||||
@GrpcMethod('ProfileService', 'GetAccountDeletionStatus')
|
||||
getAccountDeletionStatus(command: { userId: string }) {
|
||||
return this.profile.getAccountDeletionStatus(command.userId);
|
||||
}
|
||||
|
||||
@GrpcMethod('DocumentsService', 'CreateDocument')
|
||||
createDocument(command: { userId: string; type: string; number: string; issuedAt?: string; expiresAt?: string; metadataJson?: string }) {
|
||||
return this.documents.create(command);
|
||||
|
||||
Reference in New Issue
Block a user