feat: add Service api with interface

This commit is contained in:
Luis Felipe Cadavid 2024-09-30 15:19:20 -05:00
parent ab7a02bcca
commit a440f954ad
35 changed files with 1027 additions and 23 deletions

View file

@ -0,0 +1,30 @@
export interface Payment {
type: string;
approvalCode: string;
receiptNumber: string;
value: number;
cardNumber: string;
cardType: string;
comment: string;
}
export interface InfoPos {
addressPos: string;
codeMunPos: string;
nameMunPos: string;
codeDepPos: string;
nameDepPos: string;
pos: string;
}
export interface EndSaleOutputInterface {
idTransaction: string;
storeNumber: string;
idSubsidiary: number;
idUser: string;
localDate: string;
pos: string;
comment: string;
payment: Payment[];
infoPos: InfoPos;
}