Integration Log Models
Lib para armazenar os models e o conector do Integration Log
Como usar:
import { IntegrationLog, IntegrationLogService } from "@roit/integration-models"
constructor (
private readonly integrationLogService: IntegrationLogService
) {}
const myFileName = 'notafiscal.xml'
const integrationLog: IntegrationLog = await this.integrationLogService.findByFileName(myFileName)
O IntegrationLogService
utiliza o módulo HTTP do próprio Nestjs, portanto, no AppModule
devem ser injetadas as seguintes classes:
@Module({
imports: [HttpModule],
providers: [
IntegrationLogService
]
})
export class AppModule { }