\n Una vez transferidos los fondos debe remitir a su ejecutivo de negocios de AFI Universal y a la siguiente dirección\n inversionesafi@universal.com.do el comprobante de transacción para\n fines de registro.\n
\n
\n
\n\n","import { Component } from \"@angular/core\";\nimport { ClipboardService } from \"ngx-clipboard\";\n\nimport afi from \"@assets/constantes/afi.json\";\n\n@Component({\n templateUrl: \"./cuentasFondos.component.html\",\n styleUrls: [\"./cuentasFondos.component.scss\"],\n})\nexport class CuentasFondos {\n constructor(private clipboardService: ClipboardService) {}\n\n fondosInversion = afi.fondosInversion;\n\n copyCuenta(cuenta) {\n cuenta.popover = false;\n this.clipboardService.copyFromContent(cuenta.numero);\n setTimeout(() => {\n cuenta.popover = true;\n });\n }\n}\n","\nimport { Injectable } from \"@angular/core\";\nimport { Observable, map } from \"rxjs\";\n\nimport afi from \"@assets/constantes/afi.json\";\n\nimport { CuentaCp } from \"@shared/Entities/AFI/cuenta.entity\";\nimport { Promotor } from \"@shared/Entities/AFI/promotor.entity\";\n\nimport { ClientMovement, FondoCliente } from \"@AFI/Types/Interfaces/client-movements.interface\";\n\nimport { AFIRepository } from \"../afi.repository\";\nimport { PersonalCustomerAccount } from \"../Types/Interfaces/fondo-inversion.interface\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class FondoInversionService {\n constructor(private afiRepository: AFIRepository) {}\n\n public getPersonalCustomerAccounts(): Observable {\n return this.afiRepository.getPersonalCustomerAccounts();\n }\n\n public getCustomerFunds(): Observable {\n return this.afiRepository.obtenerFondosClientes();\n }\n\n public getPromotor(identification: string): Observable {\n return this.afiRepository.obtenerPromotor(identification);\n }\n\n public getTipoDeAportes(isPersonalCustomer: boolean): any {\n return isPersonalCustomer ? afi.personal.notificacionAportes.tiposAporte : afi.corporativo.notificacionAportes.tiposAporte;\n }\n\n public obtenerCuentasCp(): Observable {\n return this.afiRepository.getPersonalCustomerAccounts();\n }\n\n public getClienteMovements(fechaInicio: Date, fechaFin: Date, cuentas: string[]): Observable {\n return this.afiRepository.obtenerMovimientosClientes(fechaInicio, fechaFin, cuentas).pipe(\n map((movimientos) => {\n return movimientos;\n })\n );\n }\n}\n","import { HttpClient } from \"@angular/common/http\";\nimport { Injectable } from \"@angular/core\";\nimport { Observable } from \"rxjs\";\n\nimport { environment } from \"@environments/environment\";\n\nimport { Usuario } from \"@shared/Entities/Usuario/usuario.entity\";\n\nimport { EditUserRequest, NewUser, NewUserDTO } from \"../Types/new-user\";\n\nconst { enlineaBackendUrl } = environment;\n\n@Injectable()\nexport class CanalesRepository {\n constructor(private http: HttpClient) {}\n\n public createNewUserFiduciary(newUser: NewUser, isUserCanales: boolean = false, isUserAdmin = false): Observable {\n const newUserDTO: NewUserDTO = this.mapFromNewUserToNewUserDTO(newUser);\n const createUserRequest = {\n user: newUserDTO,\n sendEmail: true,\n isUserCanales,\n isUserAdmin,\n };\n return this.http.post(`${enlineaBackendUrl}/api/fiduciary/admin/create-user`, createUserRequest);\n }\n\n public createNewUser(newUser: NewUser, isUserCanales: boolean = false, isUserAdmin = false): Observable {\n const newUserDTO: NewUserDTO = this.mapFromNewUserToNewUserDTO(newUser);\n const createUserRequest = {\n user: newUserDTO,\n sendEmail: true,\n isUserCanales,\n isUserAdmin,\n };\n return this.http.post(`${enlineaBackendUrl}/api/admin/users`, createUserRequest);\n }\n\n public editUserFiduciary(updatedUser: NewUser, id: number): Observable {\n const editUserRequest: EditUserRequest = { ...this.mapFromNewUserToNewUserDTO(updatedUser), id };\n return this.http.patch(`${enlineaBackendUrl}/api/fiduciary/admin/edit-user`, editUserRequest);\n }\n\n public editUser(updatedUser: NewUser, id: number): Observable {\n const editUserRequest: EditUserRequest = { ...this.mapFromNewUserToNewUserDTO(updatedUser), id };\n return this.http.patch(`${enlineaBackendUrl}/api/admin/users`, editUserRequest);\n }\n\n public lockUser(userGuid: string): Observable {\n return this.http.patch(`${enlineaBackendUrl}/api/admin/users/Credentials/Lock/${userGuid}`, {});\n }\n\n public unLockUser(userGuid: string): Observable {\n return this.http.patch(`${enlineaBackendUrl}/api/admin/users/Credentials/Unlock/${userGuid}`, {});\n }\n\n public getUser(userGuid: string): Observable {\n return this.http.get(`${enlineaBackendUrl}/api/Usuarios/${userGuid}`);\n }\n\n public getUserFiduciary(userGuid: string): Observable {\n return this.http.get(`${enlineaBackendUrl}/api/fiduciaria/FiduciariaUsuarios/${userGuid}`);\n }\n\n private mapFromNewUserToNewUserDTO({ birthDate, profile, roles, province, identificationType, ...rest }: NewUser): NewUserDTO {\n return {\n ...rest,\n userCode: rest.userCode || \"\",\n birthDate: birthDate instanceof Date ? birthDate.toISOString() : birthDate,\n profileId: profile.id,\n rolesId: roles.map((role) => role.id),\n provinceId: province.id,\n identificationTypeId: identificationType,\n };\n }\n}\n","