@silexpert/core 1.1.301 → 1.1.303
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/BalanceSheetSupervision.d.ts +8 -0
- package/dist/cjs/api/resources/BalanceSheetSupervision.d.ts.map +1 -0
- package/dist/cjs/api/resources/BalanceSheetSupervision.js +17 -0
- package/dist/cjs/api/resources/BalanceSheetSupervision.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/LetterType.d.ts +4 -0
- package/dist/cjs/types/Enum/LetterType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/LetterType.js +4 -0
- package/dist/cjs/types/Enum/LetterType.js.map +1 -1
- package/dist/cjs/types/Enum/Role.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Role.js +1 -0
- package/dist/cjs/types/Enum/Role.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +6 -0
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Read.d.ts +2 -3
- 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/api/supervision/Query.d.ts +17 -0
- package/dist/cjs/types/Interface/api/supervision/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/supervision/Query.js +100 -0
- package/dist/cjs/types/Interface/api/supervision/Query.js.map +1 -0
- package/dist/cjs/types/Interface/models/ISupervision.d.ts +3 -0
- package/dist/cjs/types/Interface/models/ISupervision.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISupervision.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/BalanceSheetSupervision.d.ts +8 -0
- package/dist/mjs/api/resources/BalanceSheetSupervision.d.ts.map +1 -0
- package/dist/mjs/api/resources/BalanceSheetSupervision.js +18 -0
- package/dist/mjs/api/resources/BalanceSheetSupervision.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/LetterType.d.ts +4 -0
- package/dist/mjs/types/Enum/LetterType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/LetterType.js +4 -0
- package/dist/mjs/types/Enum/LetterType.js.map +1 -1
- package/dist/mjs/types/Enum/Role.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Role.js +1 -0
- package/dist/mjs/types/Enum/Role.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +7 -0
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Read.d.ts +2 -3
- 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/api/supervision/Query.d.ts +17 -0
- package/dist/mjs/types/Interface/api/supervision/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/supervision/Query.js +109 -0
- package/dist/mjs/types/Interface/api/supervision/Query.js.map +1 -0
- package/dist/mjs/types/Interface/models/ISupervision.d.ts +3 -0
- package/dist/mjs/types/Interface/models/ISupervision.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISupervision.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BalanceSheetSupervision.ts +22 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/LetterType.ts +4 -0
- package/ts/types/Enum/Role.ts +1 -0
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -0
- package/ts/types/Interface/api/revision/Read.ts +2 -4
- package/ts/types/Interface/api/supervision/Query.ts +75 -0
- package/ts/types/Interface/models/ISupervision.ts +3 -0
- package/ts/types/index.ts +1 -0
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IAccountDetail,
|
|
3
|
-
IAccountingFile, IAccountingJournal, ILettering, IUser, ThirdPartyType,
|
|
3
|
+
IAccountingFile, IAccountingJournal, ILettering, IThirdParty, IUser, ThirdPartyType,
|
|
4
4
|
} from '../../..';
|
|
5
5
|
import { IFile } from '../../..';
|
|
6
|
-
import { ThirdParty } from '../../../../api/resources/ThirdParty';
|
|
7
|
-
|
|
8
6
|
|
|
9
7
|
interface Revision {
|
|
10
8
|
balance: number;
|
|
@@ -129,7 +127,7 @@ export interface RevisionAccountingEntries {
|
|
|
129
127
|
idVat: number | null;
|
|
130
128
|
idImmobilization?: number | null;
|
|
131
129
|
account: RevisionAccount;
|
|
132
|
-
thirdParty?:
|
|
130
|
+
thirdParty?: IThirdParty;
|
|
133
131
|
}
|
|
134
132
|
|
|
135
133
|
export interface RevisionAccount {
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { IsArray, IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
5
|
+
|
|
6
|
+
export class QueryPaginatedBalanceSheetSupervision extends RequiredQueryPaginate {
|
|
7
|
+
|
|
8
|
+
@ApiPropertyOptional()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
@IsInt()
|
|
11
|
+
idSupervision?: number | null;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
@IsOptional()
|
|
15
|
+
@IsString()
|
|
16
|
+
search?: string | null;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsOptional()
|
|
20
|
+
@IsInt()
|
|
21
|
+
state?: number | null;
|
|
22
|
+
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
@IsArray()
|
|
26
|
+
balanceSheetState?: number[];
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
@IsArray()
|
|
31
|
+
bankCollectingState?: number[];
|
|
32
|
+
|
|
33
|
+
@ApiPropertyOptional()
|
|
34
|
+
@IsOptional()
|
|
35
|
+
@IsInt()
|
|
36
|
+
closingTime?: number | null;
|
|
37
|
+
|
|
38
|
+
@ApiPropertyOptional()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
@IsInt()
|
|
41
|
+
month?: number | null;
|
|
42
|
+
|
|
43
|
+
@ApiPropertyOptional()
|
|
44
|
+
@IsOptional()
|
|
45
|
+
@IsInt()
|
|
46
|
+
endDate?: number | null;
|
|
47
|
+
|
|
48
|
+
@ApiPropertyOptional()
|
|
49
|
+
@IsOptional()
|
|
50
|
+
@IsInt()
|
|
51
|
+
year?: number | null;
|
|
52
|
+
|
|
53
|
+
@ApiPropertyOptional()
|
|
54
|
+
@IsOptional()
|
|
55
|
+
@IsBoolean()
|
|
56
|
+
@ToBoolean()
|
|
57
|
+
isBack?: boolean | null;
|
|
58
|
+
|
|
59
|
+
@ApiPropertyOptional()
|
|
60
|
+
@IsOptional()
|
|
61
|
+
@IsBoolean()
|
|
62
|
+
@ToBoolean()
|
|
63
|
+
displayArchive?: boolean | null;
|
|
64
|
+
|
|
65
|
+
@ApiPropertyOptional()
|
|
66
|
+
@IsOptional()
|
|
67
|
+
@IsArray()
|
|
68
|
+
userSelected?: number[];
|
|
69
|
+
|
|
70
|
+
@ApiPropertyOptional()
|
|
71
|
+
@IsOptional()
|
|
72
|
+
@IsInt()
|
|
73
|
+
expertSelected?: number | null;
|
|
74
|
+
|
|
75
|
+
}
|
|
@@ -24,6 +24,8 @@ export interface ISupervision {
|
|
|
24
24
|
freeTextDate: Date | null;
|
|
25
25
|
freeTextUserId: number | null;
|
|
26
26
|
idBalanceSheet: number | null;
|
|
27
|
+
idUserWhoValidate: number | null;
|
|
28
|
+
validateDate?: Date | null;
|
|
27
29
|
createdAt?: Date | null;
|
|
28
30
|
updatedAt?: Date | null;
|
|
29
31
|
|
|
@@ -37,4 +39,5 @@ export interface ISupervision {
|
|
|
37
39
|
file: IFile;
|
|
38
40
|
letter: ILetter;
|
|
39
41
|
pendingPoints: IPendingPoint[];
|
|
42
|
+
userWhoValidate: IUser;
|
|
40
43
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -794,6 +794,7 @@ export * from './Interface/api/bankAccount/Query';
|
|
|
794
794
|
export * from './Interface/api/bankAccount/Update';
|
|
795
795
|
export * from './Interface/api/stripe/QueryStripe';
|
|
796
796
|
export * from './Interface/api/stripe/ReadStripe';
|
|
797
|
+
export * from './Interface/api/supervision/Query';
|
|
797
798
|
export * from './Interface/api/salariesFile/ReadSalariesFile';
|
|
798
799
|
export * from './Interface/api/salariesFile/CreateSalariesFile';
|
|
799
800
|
export * from './Interface/api/shine/CreateShine';
|