{ "version": 3, "sources": ["src/app/domain/usecases/comercial/get-comercial-all.usecase.ts", "src/app/domain/usecases/comercial/delete-comercial.usecase.ts", "src/app/domain/usecases/comercial/insert-comercial.usecase.ts", "src/app/domain/usecases/comercial/update-comercial.usecase.ts", "src/app/domain/usecases/comercial/get-followup-by-id-usecase.ts", "src/app/domain/usecases/comercial/type-license.usecase.ts", "src/app/domain/usecases/configuration/get-state-prospect-followup.usecase.ts", "src/app/domain/usecases/comercial/insert-followup.usecase.ts", "src/app/domain/usecases/comercial/get-validate-comercial-followup-usecase.ts"], "sourcesContent": ["import { Observable } from 'rxjs';\r\nimport { UseCase } from '../../base/use-case';\r\nimport { ComercialModel } from '../../models/comercial/comercial.model';\r\nimport { ComercialRepository } from '../../repositories/comercial.repository';\r\n\r\nexport class GetComercialAllUseCase implements UseCase {\r\n constructor(private comercialRepository: ComercialRepository) { }\r\n execute(): Observable {\r\n return this.comercialRepository.getComercialAll();\r\n }\r\n}\r\n", "import { Observable } from \"rxjs\";\r\nimport { UseCase } from \"../../base/use-case\";\r\nimport { ComercialModel } from \"../../models/comercial/comercial.model\";\r\nimport { ComercialRepository } from \"../../repositories/comercial.repository\";\r\n\r\nexport class DeleteComercialUseCase implements UseCase<{ Id: string}, ComercialModel> {\r\n constructor(private comercialRepository: ComercialRepository) { }\r\n execute(\r\n params: {Id: string},\r\n ): Observable {\r\n return this.comercialRepository.deleteComercial(params);\r\n }\r\n}\r\n", "import { Observable } from 'rxjs';\r\nimport { UseCase } from '../../base/use-case';\r\nimport { DataComercialEntity } from '../../../data/repositories/comercial/entities/comercial.entity';\r\nimport { ComercialModel } from '../../models/comercial/comercial.model';\r\nimport { ComercialRepository } from '../../repositories/comercial.repository';\r\n\r\nexport class InsertComercialUseCase implements UseCase {\r\n constructor(private comercialRepository: ComercialRepository) { }\r\n execute(\r\n params: DataComercialEntity,\r\n ): Observable {\r\n return this.comercialRepository.insertComercial(params);\r\n }\r\n}\r\n", "import { Observable } from 'rxjs';\r\nimport { UseCase } from '../../base/use-case';\r\nimport { DataComercialEntity } from '../../../data/repositories/comercial/entities/comercial.entity';\r\nimport { ComercialModel } from '../../models/comercial/comercial.model';\r\nimport { ComercialRepository } from '../../repositories/comercial.repository';\r\n\r\nexport class UpdateComercialUseCase implements UseCase {\r\n constructor(private comercialRepository: ComercialRepository) { }\r\n execute(\r\n params: DataComercialEntity,\r\n ): Observable {\r\n return this.comercialRepository.updateComercial(params);\r\n }\r\n}\r\n", "import { Observable } from 'rxjs';\r\nimport { UseCase } from '../../base/use-case';\r\nimport { FollowupResponseModel } from '../../models/comercial/followup-response.model';\r\nimport { ComercialRepository } from '../../repositories/comercial.repository';\r\n\r\n\r\nexport class GetFollowupByIdUseCase implements UseCase<{id:string}, FollowupResponseModel> {\r\n constructor(private attention: ComercialRepository) { }\r\n execute(\r\n params: {id: string},\r\n ): Observable {\r\n return this.attention.getFollowupById(params);\r\n }\r\n}\r\n\r\n", "import { Observable } from 'rxjs';\r\nimport { UseCase } from '../../base/use-case';\r\nimport { ComercialRepository } from '../../repositories/comercial.repository';\r\nimport { TypeLicenseModel } from '../../models/comercial/type-license.model';\r\n\r\nexport class GetTypeLicenseUseCase implements UseCase {\r\n constructor(private ComercialRepository: ComercialRepository) { }\r\n execute(): Observable {\r\n return this.ComercialRepository.getTypeLicense();\r\n }\r\n}", "import { Observable } from 'rxjs';\r\nimport { UseCase } from '../../base/use-case';\r\nimport { ConfigurationRepository } from '../../repositories/configuration.repository';\r\nimport { StateProspectFollowupModel } from '../../models/configuration/state-prospect-followup.model';\r\n\r\n\r\nexport class GetStateProspectFollowupUseCase implements UseCase {\r\n constructor(private configRepository: ConfigurationRepository) { }\r\n execute(): Observable {\r\n return this.configRepository.getStateProspectFollowup();\r\n }\r\n}", "import { Observable } from 'rxjs';\r\nimport { UseCase } from '../../base/use-case';\r\nimport { FollowupEntity } from '../../../data/repositories/comercial/entities/followup.entity';\r\nimport { FollowupResponseModel } from '../../models/comercial/followup-response.model';\r\nimport { ComercialRepository } from '../../repositories/comercial.repository';\r\n\r\nexport class InsertFollowupUseCase implements UseCase {\r\n constructor(private comercialRepository: ComercialRepository) { }\r\n execute(\r\n params: FollowupEntity,\r\n ): Observable {\r\n return this.comercialRepository.insertFollowup(params);\r\n }\r\n}\r\n", "import { Observable } from 'rxjs';\r\nimport { UseCase } from '../../base/use-case';\r\nimport { ComercialRepository } from '../../repositories/comercial.repository';\r\nimport { ValidateFollowupModel } from '../../models/comercial/validate-followup.model';\r\n\r\n\r\nexport class GetValidateFollowupUseCase implements UseCase<{id:string , id2:string}, ValidateFollowupModel> {\r\n constructor(private attention: ComercialRepository) { }\r\n execute(\r\n params: {id: string , id2:string},\r\n ): Observable {\r\n return this.attention.getValidateComercialFollowup(params);\r\n }\r\n}\r\n\r\n"], "mappings": ";AAKM,IAAO,yBAAP,MAA6B;EAC/B,YAAoB,qBAAwC;AAAxC,SAAA,sBAAA;EAA4C;EAChE,UAAO;AACH,WAAO,KAAK,oBAAoB,gBAAe;EACnD;;;;ACJE,IAAO,yBAAP,MAA6B;EAC/B,YAAoB,qBAAwC;AAAxC,SAAA,sBAAA;EAA4C;EAChE,QACI,QAAoB;AAEpB,WAAO,KAAK,oBAAoB,gBAAgB,MAAM;EAC1D;;;;ACLE,IAAO,yBAAP,MAA6B;EAC/B,YAAoB,qBAAwC;AAAxC,SAAA,sBAAA;EAA4C;EAChE,QACI,QAA2B;AAE3B,WAAO,KAAK,oBAAoB,gBAAgB,MAAM;EAC1D;;;;ACNE,IAAO,yBAAP,MAA6B;EAC/B,YAAoB,qBAAwC;AAAxC,SAAA,sBAAA;EAA4C;EAChE,QACI,QAA2B;AAE3B,WAAO,KAAK,oBAAoB,gBAAgB,MAAM;EAC1D;;;;ACNE,IAAO,yBAAP,MAA6B;EAC/B,YAAoB,WAA8B;AAA9B,SAAA,YAAA;EAAkC;EACtD,QACI,QAAoB;AAEpB,WAAO,KAAK,UAAU,gBAAgB,MAAM;EAChD;;;;ACPE,IAAO,wBAAP,M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