feat: implement SalesInvoiceTspSwitchService and SalesInvoiceTspService for handling TSP provider interactions
- Add SalesInvoiceTspSwitchService to manage TSP provider selection and sending invoices. - Introduce SalesInvoiceTspService for creating, sending, and retrieving sales invoices. - Implement NamaProviderSwitchAdapter for communication with the NAMA TSP provider API. - Define DTOs for request and response structures specific to the NAMA provider. - Enhance error handling and logging for TSP provider interactions.
This commit is contained in:
@@ -223,15 +223,10 @@ export type SalesInvoice = Prisma.SalesInvoiceModel
|
||||
*/
|
||||
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscals
|
||||
* Model SaleInvoiceTspAttempts
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscals = Prisma.SaleInvoiceFiscalsModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscalAttempts
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscalAttempts = Prisma.SaleInvoiceFiscalAttemptsModel
|
||||
export type SaleInvoiceTspAttempts = Prisma.SaleInvoiceTspAttemptsModel
|
||||
/**
|
||||
* Model SalesInvoicePayment
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user