feat: add DTOs and services for tax switch integration
- Created SendBulkSaleInvoicesDto for handling bulk sale invoice requests. - Implemented TaxSwitchSendPayloadDto and related DTOs for tax switch item payloads and results. - Developed SalesInvoiceTaxSwitchService to manage tax switch operations, including sending and retrieving tax information. - Added SalesInvoiceTaxService for handling sales invoice tax logic, including bulk sending and persistence of results. - Introduced NamaTaxSwitchAdapter to interact with the tax switch service, simulating external API responses. - Created SendBulkSalesInvoicesDto for POS module to handle bulk sales invoice requests.
This commit is contained in:
@@ -54,41 +54,6 @@ export type Admin = Prisma.AdminModel
|
||||
*
|
||||
*/
|
||||
export type Account = Prisma.AccountModel
|
||||
/**
|
||||
* Model ConsumerAccount
|
||||
*
|
||||
*/
|
||||
export type ConsumerAccount = Prisma.ConsumerAccountModel
|
||||
/**
|
||||
* Model Consumer
|
||||
*
|
||||
*/
|
||||
export type Consumer = Prisma.ConsumerModel
|
||||
/**
|
||||
* Model ConsumerIndividual
|
||||
*
|
||||
*/
|
||||
export type ConsumerIndividual = Prisma.ConsumerIndividualModel
|
||||
/**
|
||||
* Model ConsumerLegal
|
||||
*
|
||||
*/
|
||||
export type ConsumerLegal = Prisma.ConsumerLegalModel
|
||||
/**
|
||||
* Model BusinessActivity
|
||||
*
|
||||
*/
|
||||
export type BusinessActivity = Prisma.BusinessActivityModel
|
||||
/**
|
||||
* Model Complex
|
||||
*
|
||||
*/
|
||||
export type Complex = Prisma.ComplexModel
|
||||
/**
|
||||
* Model Pos
|
||||
*
|
||||
*/
|
||||
export type Pos = Prisma.PosModel
|
||||
/**
|
||||
* Model DeviceBrand
|
||||
*
|
||||
@@ -189,6 +154,41 @@ export type ConsumerDevices = Prisma.ConsumerDevicesModel
|
||||
*
|
||||
*/
|
||||
export type ApplicationReleasedInfo = Prisma.ApplicationReleasedInfoModel
|
||||
/**
|
||||
* Model ConsumerAccount
|
||||
*
|
||||
*/
|
||||
export type ConsumerAccount = Prisma.ConsumerAccountModel
|
||||
/**
|
||||
* Model Consumer
|
||||
*
|
||||
*/
|
||||
export type Consumer = Prisma.ConsumerModel
|
||||
/**
|
||||
* Model ConsumerIndividual
|
||||
*
|
||||
*/
|
||||
export type ConsumerIndividual = Prisma.ConsumerIndividualModel
|
||||
/**
|
||||
* Model ConsumerLegal
|
||||
*
|
||||
*/
|
||||
export type ConsumerLegal = Prisma.ConsumerLegalModel
|
||||
/**
|
||||
* Model BusinessActivity
|
||||
*
|
||||
*/
|
||||
export type BusinessActivity = Prisma.BusinessActivityModel
|
||||
/**
|
||||
* Model Complex
|
||||
*
|
||||
*/
|
||||
export type Complex = Prisma.ComplexModel
|
||||
/**
|
||||
* Model Pos
|
||||
*
|
||||
*/
|
||||
export type Pos = Prisma.PosModel
|
||||
/**
|
||||
* Model TriggerLog
|
||||
*
|
||||
@@ -234,6 +234,16 @@ export type SalesInvoice = Prisma.SalesInvoiceModel
|
||||
*
|
||||
*/
|
||||
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscals
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscals = Prisma.SaleInvoiceFiscalsModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscalAttempts
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscalAttempts = Prisma.SaleInvoiceFiscalAttemptsModel
|
||||
/**
|
||||
* Model SalesInvoicePayment
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user