asv-hlps 1.0.73 → 1.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/models/entities/auth/AuthTag.d.ts +1 -1
- package/lib/cjs/models/entities/bills/Bill.d.ts +20 -20
- package/lib/cjs/models/entities/bills/BillLine.d.ts +6 -6
- package/lib/cjs/models/entities/bills/BillPayment.d.ts +11 -11
- package/lib/cjs/models/entities/cashs/Account.d.ts +2 -2
- package/lib/cjs/models/entities/cashs/Bank.d.ts +2 -2
- package/lib/cjs/models/entities/sales/SaleProduct.d.ts +20 -20
- package/lib/cjs/models/entities/users/Gender.d.ts +3 -3
- package/lib/cjs/models/entities/users/Ste.d.ts +5 -5
- package/lib/cjs/models/entities/users/UserGrp.d.ts +1 -1
- package/lib/esm/models/entities/auth/AuthTag.d.ts +1 -1
- package/lib/esm/models/entities/bills/Bill.d.ts +20 -20
- package/lib/esm/models/entities/bills/BillLine.d.ts +6 -6
- package/lib/esm/models/entities/bills/BillPayment.d.ts +11 -11
- package/lib/esm/models/entities/cashs/Account.d.ts +2 -2
- package/lib/esm/models/entities/cashs/Bank.d.ts +2 -2
- package/lib/esm/models/entities/sales/SaleProduct.d.ts +20 -20
- package/lib/esm/models/entities/users/Gender.d.ts +3 -3
- package/lib/esm/models/entities/users/Ste.d.ts +5 -5
- package/lib/esm/models/entities/users/UserGrp.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,25 +3,25 @@ import { User } from "../users/User";
|
|
|
3
3
|
import { BillLine } from "./BillLine";
|
|
4
4
|
import { BillPayment } from "./BillPayment";
|
|
5
5
|
export interface Bill {
|
|
6
|
-
id
|
|
7
|
-
createdAt
|
|
8
|
-
ref
|
|
9
|
-
totalAmount
|
|
10
|
-
isPaid
|
|
11
|
-
isPartialPaid
|
|
12
|
-
paidDate
|
|
13
|
-
dueAmount
|
|
14
|
-
escompteAmount
|
|
15
|
-
totalAmountAllIncluded
|
|
16
|
-
hasTva
|
|
17
|
-
isBack
|
|
18
|
-
fromCron
|
|
19
|
-
nbPrint
|
|
6
|
+
id?: number;
|
|
7
|
+
createdAt?: Date;
|
|
8
|
+
ref?: string;
|
|
9
|
+
totalAmount?: number;
|
|
10
|
+
isPaid?: boolean;
|
|
11
|
+
isPartialPaid?: boolean;
|
|
12
|
+
paidDate?: Date;
|
|
13
|
+
dueAmount?: number;
|
|
14
|
+
escompteAmount?: number;
|
|
15
|
+
totalAmountAllIncluded?: number;
|
|
16
|
+
hasTva?: boolean;
|
|
17
|
+
isBack?: boolean;
|
|
18
|
+
fromCron?: boolean;
|
|
19
|
+
nbPrint?: number;
|
|
20
20
|
payments?: BillPayment[];
|
|
21
|
-
lines
|
|
22
|
-
type
|
|
23
|
-
store
|
|
24
|
-
client
|
|
25
|
-
sales
|
|
26
|
-
nbrePayment
|
|
21
|
+
lines?: BillLine[];
|
|
22
|
+
type?: "sale" | "avoir";
|
|
23
|
+
store?: string;
|
|
24
|
+
client?: User;
|
|
25
|
+
sales?: Sale[];
|
|
26
|
+
nbrePayment?: number;
|
|
27
27
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Bill } from "./Bill";
|
|
2
2
|
export interface BillLine {
|
|
3
|
-
id
|
|
4
|
-
createdAt
|
|
5
|
-
amount
|
|
6
|
-
designation
|
|
7
|
-
isActive
|
|
8
|
-
bill
|
|
3
|
+
id?: number;
|
|
4
|
+
createdAt?: Date;
|
|
5
|
+
amount?: number;
|
|
6
|
+
designation?: string;
|
|
7
|
+
isActive?: true;
|
|
8
|
+
bill?: Bill;
|
|
9
9
|
}
|
|
@@ -6,15 +6,15 @@ import { BillPaymentMethod } from "./BillPaymentMethod";
|
|
|
6
6
|
export interface BillPayment {
|
|
7
7
|
id: number;
|
|
8
8
|
ref?: string;
|
|
9
|
-
paymentDate
|
|
10
|
-
prevAmount
|
|
11
|
-
paidAmount
|
|
12
|
-
restAmount
|
|
13
|
-
bill
|
|
14
|
-
method
|
|
15
|
-
checkNumber
|
|
16
|
-
checkDate
|
|
17
|
-
bank
|
|
18
|
-
account
|
|
19
|
-
encoder
|
|
9
|
+
paymentDate?: Date;
|
|
10
|
+
prevAmount?: number;
|
|
11
|
+
paidAmount?: number;
|
|
12
|
+
restAmount?: number;
|
|
13
|
+
bill?: Bill;
|
|
14
|
+
method?: BillPaymentMethod;
|
|
15
|
+
checkNumber?: string;
|
|
16
|
+
checkDate?: string;
|
|
17
|
+
bank?: Bank;
|
|
18
|
+
account?: Account;
|
|
19
|
+
encoder?: User;
|
|
20
20
|
}
|
|
@@ -3,24 +3,24 @@ import { ProductOutReason } from "../products/ProductOutReason";
|
|
|
3
3
|
import { Sale } from "./Sale";
|
|
4
4
|
import { SaleProductLot } from "./SaleProductLot";
|
|
5
5
|
export declare class SaleProduct {
|
|
6
|
-
id
|
|
7
|
-
createdAt
|
|
8
|
-
qtityFund
|
|
9
|
-
qtityOdr
|
|
10
|
-
qtityDlvr
|
|
11
|
-
qtityFree
|
|
12
|
-
qtityBack
|
|
13
|
-
publicPrice
|
|
14
|
-
unitPrice
|
|
15
|
-
speUnitPrice
|
|
16
|
-
pghtPrice
|
|
17
|
-
promo
|
|
18
|
-
tva
|
|
19
|
-
isBack
|
|
20
|
-
hasBack
|
|
21
|
-
product
|
|
22
|
-
sale
|
|
23
|
-
lot
|
|
24
|
-
lots
|
|
25
|
-
backReason
|
|
6
|
+
id?: number;
|
|
7
|
+
createdAt?: Date;
|
|
8
|
+
qtityFund?: number;
|
|
9
|
+
qtityOdr?: number;
|
|
10
|
+
qtityDlvr?: number;
|
|
11
|
+
qtityFree?: number;
|
|
12
|
+
qtityBack?: number;
|
|
13
|
+
publicPrice?: number;
|
|
14
|
+
unitPrice?: number;
|
|
15
|
+
speUnitPrice?: number;
|
|
16
|
+
pghtPrice?: number;
|
|
17
|
+
promo?: number;
|
|
18
|
+
tva?: number;
|
|
19
|
+
isBack?: boolean;
|
|
20
|
+
hasBack?: boolean;
|
|
21
|
+
product?: Product;
|
|
22
|
+
sale?: Sale;
|
|
23
|
+
lot?: string;
|
|
24
|
+
lots?: SaleProductLot[];
|
|
25
|
+
backReason?: ProductOutReason;
|
|
26
26
|
}
|
|
@@ -4,12 +4,12 @@ import { User } from "./User";
|
|
|
4
4
|
import { Zone } from "./Zone";
|
|
5
5
|
export interface Ste extends Address {
|
|
6
6
|
id: number;
|
|
7
|
-
name
|
|
8
|
-
username
|
|
7
|
+
name?: string;
|
|
8
|
+
username?: string;
|
|
9
9
|
shortname?: string;
|
|
10
|
-
nif
|
|
11
|
-
isValided
|
|
12
|
-
isActive
|
|
10
|
+
nif?: string;
|
|
11
|
+
isValided?: boolean;
|
|
12
|
+
isActive?: boolean;
|
|
13
13
|
user?: User;
|
|
14
14
|
grp?: SteGrp;
|
|
15
15
|
zone?: Zone;
|
|
@@ -3,25 +3,25 @@ import { User } from "../users/User";
|
|
|
3
3
|
import { BillLine } from "./BillLine";
|
|
4
4
|
import { BillPayment } from "./BillPayment";
|
|
5
5
|
export interface Bill {
|
|
6
|
-
id
|
|
7
|
-
createdAt
|
|
8
|
-
ref
|
|
9
|
-
totalAmount
|
|
10
|
-
isPaid
|
|
11
|
-
isPartialPaid
|
|
12
|
-
paidDate
|
|
13
|
-
dueAmount
|
|
14
|
-
escompteAmount
|
|
15
|
-
totalAmountAllIncluded
|
|
16
|
-
hasTva
|
|
17
|
-
isBack
|
|
18
|
-
fromCron
|
|
19
|
-
nbPrint
|
|
6
|
+
id?: number;
|
|
7
|
+
createdAt?: Date;
|
|
8
|
+
ref?: string;
|
|
9
|
+
totalAmount?: number;
|
|
10
|
+
isPaid?: boolean;
|
|
11
|
+
isPartialPaid?: boolean;
|
|
12
|
+
paidDate?: Date;
|
|
13
|
+
dueAmount?: number;
|
|
14
|
+
escompteAmount?: number;
|
|
15
|
+
totalAmountAllIncluded?: number;
|
|
16
|
+
hasTva?: boolean;
|
|
17
|
+
isBack?: boolean;
|
|
18
|
+
fromCron?: boolean;
|
|
19
|
+
nbPrint?: number;
|
|
20
20
|
payments?: BillPayment[];
|
|
21
|
-
lines
|
|
22
|
-
type
|
|
23
|
-
store
|
|
24
|
-
client
|
|
25
|
-
sales
|
|
26
|
-
nbrePayment
|
|
21
|
+
lines?: BillLine[];
|
|
22
|
+
type?: "sale" | "avoir";
|
|
23
|
+
store?: string;
|
|
24
|
+
client?: User;
|
|
25
|
+
sales?: Sale[];
|
|
26
|
+
nbrePayment?: number;
|
|
27
27
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Bill } from "./Bill";
|
|
2
2
|
export interface BillLine {
|
|
3
|
-
id
|
|
4
|
-
createdAt
|
|
5
|
-
amount
|
|
6
|
-
designation
|
|
7
|
-
isActive
|
|
8
|
-
bill
|
|
3
|
+
id?: number;
|
|
4
|
+
createdAt?: Date;
|
|
5
|
+
amount?: number;
|
|
6
|
+
designation?: string;
|
|
7
|
+
isActive?: true;
|
|
8
|
+
bill?: Bill;
|
|
9
9
|
}
|
|
@@ -6,15 +6,15 @@ import { BillPaymentMethod } from "./BillPaymentMethod";
|
|
|
6
6
|
export interface BillPayment {
|
|
7
7
|
id: number;
|
|
8
8
|
ref?: string;
|
|
9
|
-
paymentDate
|
|
10
|
-
prevAmount
|
|
11
|
-
paidAmount
|
|
12
|
-
restAmount
|
|
13
|
-
bill
|
|
14
|
-
method
|
|
15
|
-
checkNumber
|
|
16
|
-
checkDate
|
|
17
|
-
bank
|
|
18
|
-
account
|
|
19
|
-
encoder
|
|
9
|
+
paymentDate?: Date;
|
|
10
|
+
prevAmount?: number;
|
|
11
|
+
paidAmount?: number;
|
|
12
|
+
restAmount?: number;
|
|
13
|
+
bill?: Bill;
|
|
14
|
+
method?: BillPaymentMethod;
|
|
15
|
+
checkNumber?: string;
|
|
16
|
+
checkDate?: string;
|
|
17
|
+
bank?: Bank;
|
|
18
|
+
account?: Account;
|
|
19
|
+
encoder?: User;
|
|
20
20
|
}
|
|
@@ -3,24 +3,24 @@ import { ProductOutReason } from "../products/ProductOutReason";
|
|
|
3
3
|
import { Sale } from "./Sale";
|
|
4
4
|
import { SaleProductLot } from "./SaleProductLot";
|
|
5
5
|
export declare class SaleProduct {
|
|
6
|
-
id
|
|
7
|
-
createdAt
|
|
8
|
-
qtityFund
|
|
9
|
-
qtityOdr
|
|
10
|
-
qtityDlvr
|
|
11
|
-
qtityFree
|
|
12
|
-
qtityBack
|
|
13
|
-
publicPrice
|
|
14
|
-
unitPrice
|
|
15
|
-
speUnitPrice
|
|
16
|
-
pghtPrice
|
|
17
|
-
promo
|
|
18
|
-
tva
|
|
19
|
-
isBack
|
|
20
|
-
hasBack
|
|
21
|
-
product
|
|
22
|
-
sale
|
|
23
|
-
lot
|
|
24
|
-
lots
|
|
25
|
-
backReason
|
|
6
|
+
id?: number;
|
|
7
|
+
createdAt?: Date;
|
|
8
|
+
qtityFund?: number;
|
|
9
|
+
qtityOdr?: number;
|
|
10
|
+
qtityDlvr?: number;
|
|
11
|
+
qtityFree?: number;
|
|
12
|
+
qtityBack?: number;
|
|
13
|
+
publicPrice?: number;
|
|
14
|
+
unitPrice?: number;
|
|
15
|
+
speUnitPrice?: number;
|
|
16
|
+
pghtPrice?: number;
|
|
17
|
+
promo?: number;
|
|
18
|
+
tva?: number;
|
|
19
|
+
isBack?: boolean;
|
|
20
|
+
hasBack?: boolean;
|
|
21
|
+
product?: Product;
|
|
22
|
+
sale?: Sale;
|
|
23
|
+
lot?: string;
|
|
24
|
+
lots?: SaleProductLot[];
|
|
25
|
+
backReason?: ProductOutReason;
|
|
26
26
|
}
|
|
@@ -4,12 +4,12 @@ import { User } from "./User";
|
|
|
4
4
|
import { Zone } from "./Zone";
|
|
5
5
|
export interface Ste extends Address {
|
|
6
6
|
id: number;
|
|
7
|
-
name
|
|
8
|
-
username
|
|
7
|
+
name?: string;
|
|
8
|
+
username?: string;
|
|
9
9
|
shortname?: string;
|
|
10
|
-
nif
|
|
11
|
-
isValided
|
|
12
|
-
isActive
|
|
10
|
+
nif?: string;
|
|
11
|
+
isValided?: boolean;
|
|
12
|
+
isActive?: boolean;
|
|
13
13
|
user?: User;
|
|
14
14
|
grp?: SteGrp;
|
|
15
15
|
zone?: Zone;
|