@silexpert/core 1.1.290 → 1.1.291
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/dist/cjs/api/resources/Revision.d.ts +5 -3
- package/dist/cjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/cjs/api/resources/Revision.js +10 -4
- package/dist/cjs/api/resources/Revision.js.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Query.d.ts +20 -3
- package/dist/cjs/types/Interface/api/revision/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Query.js +86 -13
- package/dist/cjs/types/Interface/api/revision/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Read.d.ts +19 -7
- package/dist/cjs/types/Interface/api/revision/Read.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Read.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAccountDetail.d.ts +2 -1
- package/dist/cjs/types/Interface/models/IAccountDetail.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAccountDetail.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICommercialOffer.d.ts +1 -1
- package/dist/cjs/types/Interface/models/ICommercialOffer.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICommercialOffer.js.map +1 -1
- package/dist/mjs/api/resources/Revision.d.ts +5 -3
- package/dist/mjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/mjs/api/resources/Revision.js +22 -4
- package/dist/mjs/api/resources/Revision.js.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Query.d.ts +20 -3
- package/dist/mjs/types/Interface/api/revision/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Query.js +92 -9
- package/dist/mjs/types/Interface/api/revision/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Read.d.ts +19 -7
- package/dist/mjs/types/Interface/api/revision/Read.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Read.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAccountDetail.d.ts +2 -1
- package/dist/mjs/types/Interface/models/IAccountDetail.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAccountDetail.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICommercialOffer.d.ts +1 -1
- package/dist/mjs/types/Interface/models/ICommercialOffer.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICommercialOffer.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Revision.ts +25 -5
- package/ts/types/Interface/api/revision/Query.ts +66 -7
- package/ts/types/Interface/api/revision/Read.ts +21 -7
- package/ts/types/Interface/models/IAccountDetail.ts +2 -1
- package/ts/types/Interface/models/ICommercialOffer.ts +1 -1
|
@@ -1,25 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IAccountDetail,
|
|
3
|
-
IAccountingFile, IAccountingJournal, ILettering, IUser,
|
|
3
|
+
IAccountingFile, IAccountingJournal, ILettering, IUser, ThirdPartyType,
|
|
4
4
|
} from '../../..';
|
|
5
5
|
import { IFile } from '../../..';
|
|
6
6
|
import { ThirdParty } from '../../../../api/resources/ThirdParty';
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
interface Revision {
|
|
9
10
|
balance: number;
|
|
10
11
|
balanceDebit: number;
|
|
11
12
|
balanceCredit: number;
|
|
13
|
+
unlocked: number | null;
|
|
14
|
+
locked: number | null;
|
|
15
|
+
previousBalance: number;
|
|
16
|
+
nextBalance: number;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export type ReadRevision = Revision & {
|
|
12
20
|
account: {
|
|
13
21
|
id: number,
|
|
14
22
|
name: string | null,
|
|
15
23
|
number: number | null,
|
|
16
24
|
accountDetails: Array<IAccountDetail>
|
|
17
25
|
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export type ReadAccrualRevision = Revision & {
|
|
29
|
+
thirdParty: {
|
|
30
|
+
id: number,
|
|
31
|
+
name: string | null,
|
|
32
|
+
accountancyName: string | null,
|
|
33
|
+
idThirdPartyType: ThirdPartyType,
|
|
34
|
+
accountDetails: Array<IAccountDetail>
|
|
35
|
+
},
|
|
36
|
+
};
|
|
23
37
|
|
|
24
38
|
export interface ReadRevisionAccount {
|
|
25
39
|
id: number;
|
|
@@ -14,7 +14,8 @@ export interface IAccountDetail {
|
|
|
14
14
|
dateCheckAccountant: Date | null;
|
|
15
15
|
checkByIdSupervisor: number | null;
|
|
16
16
|
dateCheckSupervisor: Date | null;
|
|
17
|
-
idAccount: number;
|
|
17
|
+
idAccount: number | null;
|
|
18
|
+
idThirdParty: number | null;
|
|
18
19
|
idFile?: number;
|
|
19
20
|
idExercice?: number;
|
|
20
21
|
idSociety: number;
|