@silexpert/core 1.3.157-cutoff.1 → 1.3.157
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/DocumentRequest.d.ts +1 -2
- package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/cjs/api/resources/DocumentRequest.js +0 -3
- package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/cjs/api/resources/ExercicePrestation.d.ts +0 -6
- package/dist/cjs/api/resources/ExercicePrestation.d.ts.map +1 -1
- package/dist/cjs/api/resources/ExercicePrestation.js +0 -8
- package/dist/cjs/api/resources/ExercicePrestation.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -2
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -2
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +6 -6
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetModule.d.ts +0 -2
- package/dist/cjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetModule.js +1 -23
- package/dist/cjs/types/Enum/BalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Enum/Card.d.ts +1 -7
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +0 -7
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +1 -10
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +0 -69
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/Proceding.d.ts +0 -8
- package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Proceding.js +2 -10
- package/dist/cjs/types/Enum/Proceding.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/Query.d.ts +0 -3
- package/dist/cjs/types/Interface/api/card/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/Query.js +1 -10
- package/dist/cjs/types/Interface/api/card/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +0 -3
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.js +0 -12
- package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts +0 -4
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +1 -6
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -1
- package/dist/cjs/types/index.d.ts +0 -7
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -7
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts +1 -2
- package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.js +0 -3
- package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/mjs/api/resources/ExercicePrestation.d.ts +0 -6
- package/dist/mjs/api/resources/ExercicePrestation.d.ts.map +1 -1
- package/dist/mjs/api/resources/ExercicePrestation.js +0 -8
- package/dist/mjs/api/resources/ExercicePrestation.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -2
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -2
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +6 -6
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetModule.d.ts +0 -2
- package/dist/mjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetModule.js +0 -22
- package/dist/mjs/types/Enum/BalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Enum/Card.d.ts +1 -7
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +0 -7
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +1 -10
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +0 -69
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/Proceding.d.ts +0 -8
- package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Proceding.js +2 -10
- package/dist/mjs/types/Enum/Proceding.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/Query.d.ts +0 -3
- package/dist/mjs/types/Interface/api/card/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/Query.js +2 -10
- package/dist/mjs/types/Interface/api/card/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +0 -3
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js +1 -15
- package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts +0 -4
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +1 -6
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -1
- package/dist/mjs/types/index.d.ts +0 -7
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +0 -7
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/DocumentRequest.ts +1 -5
- package/ts/api/resources/ExercicePrestation.ts +0 -9
- package/ts/api/resources.ts +0 -2
- package/ts/types/Enum/BalanceSheet.ts +11 -11
- package/ts/types/Enum/BalanceSheetModule.ts +1 -24
- package/ts/types/Enum/Card.ts +0 -7
- package/ts/types/Enum/Ged.ts +0 -69
- package/ts/types/Enum/Proceding.ts +2 -10
- package/ts/types/Interface/api/card/Query.ts +2 -9
- package/ts/types/Interface/api/documentRequest/Query.ts +1 -12
- package/ts/types/Interface/models/IBalanceSheetModule.ts +1 -7
- package/ts/types/Interface/models/IDocumentRequest.ts +2 -7
- package/ts/types/index.ts +0 -7
- package/dist/cjs/api/resources/InformationRequest.d.ts +0 -11
- package/dist/cjs/api/resources/InformationRequest.d.ts.map +0 -1
- package/dist/cjs/api/resources/InformationRequest.js +0 -26
- package/dist/cjs/api/resources/InformationRequest.js.map +0 -1
- package/dist/cjs/types/Enum/BalanceSheetRequest.d.ts +0 -9
- package/dist/cjs/types/Enum/BalanceSheetRequest.d.ts.map +0 -1
- package/dist/cjs/types/Enum/BalanceSheetRequest.js +0 -13
- package/dist/cjs/types/Enum/BalanceSheetRequest.js.map +0 -1
- package/dist/cjs/types/Enum/InformationRequestState.d.ts +0 -6
- package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +0 -1
- package/dist/cjs/types/Enum/InformationRequestState.js +0 -10
- package/dist/cjs/types/Enum/InformationRequestState.js.map +0 -1
- package/dist/cjs/types/Enum/InformationRequestType.d.ts +0 -15
- package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +0 -1
- package/dist/cjs/types/Enum/InformationRequestType.js +0 -46
- package/dist/cjs/types/Enum/InformationRequestType.js.map +0 -1
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Create.d.ts +0 -7
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Create.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Create.js +0 -29
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Create.js.map +0 -1
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Query.d.ts +0 -6
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Query.js +0 -31
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Query.js.map +0 -1
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Update.d.ts +0 -7
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Update.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Update.js +0 -31
- package/dist/cjs/types/Interface/api/balanceSheetModuleRequest/Update.js.map +0 -1
- package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts +0 -11
- package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/documentRequest/Update.js +0 -56
- package/dist/cjs/types/Interface/api/documentRequest/Update.js.map +0 -1
- package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts +0 -9
- package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/informationRequest/Create.js +0 -41
- package/dist/cjs/types/Interface/api/informationRequest/Create.js.map +0 -1
- package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts +0 -11
- package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/informationRequest/Query.js +0 -54
- package/dist/cjs/types/Interface/api/informationRequest/Query.js.map +0 -1
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +0 -11
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/informationRequest/Update.js +0 -50
- package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +0 -1
- package/dist/cjs/types/Interface/models/IBalanceSheetModuleRequest.d.ts +0 -14
- package/dist/cjs/types/Interface/models/IBalanceSheetModuleRequest.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IBalanceSheetModuleRequest.js +0 -3
- package/dist/cjs/types/Interface/models/IBalanceSheetModuleRequest.js.map +0 -1
- package/dist/cjs/types/Interface/models/IInformationRequest.d.ts +0 -24
- package/dist/cjs/types/Interface/models/IInformationRequest.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IInformationRequest.js +0 -3
- package/dist/cjs/types/Interface/models/IInformationRequest.js.map +0 -1
- package/dist/mjs/api/resources/InformationRequest.d.ts +0 -11
- package/dist/mjs/api/resources/InformationRequest.d.ts.map +0 -1
- package/dist/mjs/api/resources/InformationRequest.js +0 -30
- package/dist/mjs/api/resources/InformationRequest.js.map +0 -1
- package/dist/mjs/types/Enum/BalanceSheetRequest.d.ts +0 -9
- package/dist/mjs/types/Enum/BalanceSheetRequest.d.ts.map +0 -1
- package/dist/mjs/types/Enum/BalanceSheetRequest.js +0 -10
- package/dist/mjs/types/Enum/BalanceSheetRequest.js.map +0 -1
- package/dist/mjs/types/Enum/InformationRequestState.d.ts +0 -6
- package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +0 -1
- package/dist/mjs/types/Enum/InformationRequestState.js +0 -7
- package/dist/mjs/types/Enum/InformationRequestState.js.map +0 -1
- package/dist/mjs/types/Enum/InformationRequestType.d.ts +0 -15
- package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +0 -1
- package/dist/mjs/types/Enum/InformationRequestType.js +0 -43
- package/dist/mjs/types/Enum/InformationRequestType.js.map +0 -1
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Create.d.ts +0 -7
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Create.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Create.js +0 -27
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Create.js.map +0 -1
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Query.d.ts +0 -6
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Query.js +0 -29
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Query.js.map +0 -1
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Update.d.ts +0 -7
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Update.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Update.js +0 -29
- package/dist/mjs/types/Interface/api/balanceSheetModuleRequest/Update.js.map +0 -1
- package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts +0 -11
- package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/documentRequest/Update.js +0 -58
- package/dist/mjs/types/Interface/api/documentRequest/Update.js.map +0 -1
- package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts +0 -9
- package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/informationRequest/Create.js +0 -41
- package/dist/mjs/types/Interface/api/informationRequest/Create.js.map +0 -1
- package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts +0 -11
- package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/informationRequest/Query.js +0 -56
- package/dist/mjs/types/Interface/api/informationRequest/Query.js.map +0 -1
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +0 -11
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/informationRequest/Update.js +0 -51
- package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +0 -1
- package/dist/mjs/types/Interface/models/IBalanceSheetModuleRequest.d.ts +0 -14
- package/dist/mjs/types/Interface/models/IBalanceSheetModuleRequest.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IBalanceSheetModuleRequest.js +0 -2
- package/dist/mjs/types/Interface/models/IBalanceSheetModuleRequest.js.map +0 -1
- package/dist/mjs/types/Interface/models/IInformationRequest.d.ts +0 -24
- package/dist/mjs/types/Interface/models/IInformationRequest.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IInformationRequest.js +0 -2
- package/dist/mjs/types/Interface/models/IInformationRequest.js.map +0 -1
- package/ts/api/resources/InformationRequest.ts +0 -36
- package/ts/types/Enum/BalanceSheetRequest.ts +0 -8
- package/ts/types/Enum/InformationRequestState.ts +0 -5
- package/ts/types/Enum/InformationRequestType.ts +0 -50
- package/ts/types/Interface/api/balanceSheetModuleRequest/Create.ts +0 -14
- package/ts/types/Interface/api/balanceSheetModuleRequest/Query.ts +0 -15
- package/ts/types/Interface/api/balanceSheetModuleRequest/Update.ts +0 -16
- package/ts/types/Interface/api/documentRequest/Update.ts +0 -37
- package/ts/types/Interface/api/informationRequest/Create.ts +0 -24
- package/ts/types/Interface/api/informationRequest/Query.ts +0 -36
- package/ts/types/Interface/api/informationRequest/Update.ts +0 -32
- package/ts/types/Interface/models/IBalanceSheetModuleRequest.ts +0 -16
- package/ts/types/Interface/models/IInformationRequest.ts +0 -26
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { TypeFile } from './Ged';
|
|
2
|
-
|
|
3
|
-
export enum InformationRequestType {
|
|
4
|
-
CASH_BOOK = 1,
|
|
5
|
-
STOCK_STATUS = 2,
|
|
6
|
-
SUPPLIER_DEBTS = 3,
|
|
7
|
-
CUSTOMER_RECEIVABLES = 4,
|
|
8
|
-
Z_TICKETS = 5,
|
|
9
|
-
KILOMETRIC_ALLOWANCES_SUMMARY = 6,
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export const InformationRequestTypeDetails: Record<
|
|
13
|
-
InformationRequestType,
|
|
14
|
-
{
|
|
15
|
-
id: InformationRequestType;
|
|
16
|
-
name: string;
|
|
17
|
-
typeFile: TypeFile; // For some information request, we ask for upload a document too
|
|
18
|
-
}
|
|
19
|
-
> = {
|
|
20
|
-
[InformationRequestType.CASH_BOOK]: {
|
|
21
|
-
id: InformationRequestType.CASH_BOOK,
|
|
22
|
-
name: 'Livre de caisse',
|
|
23
|
-
typeFile: TypeFile.CAISSE,
|
|
24
|
-
},
|
|
25
|
-
[InformationRequestType.STOCK_STATUS]: {
|
|
26
|
-
id: InformationRequestType.STOCK_STATUS,
|
|
27
|
-
name: 'L\'état de vos stocks à la date de clôture',
|
|
28
|
-
typeFile: TypeFile.STOCK,
|
|
29
|
-
},
|
|
30
|
-
[InformationRequestType.SUPPLIER_DEBTS]: {
|
|
31
|
-
id: InformationRequestType.SUPPLIER_DEBTS,
|
|
32
|
-
name: 'Vos dettes fournisseurs',
|
|
33
|
-
typeFile: TypeFile.SUPPLIER_DEBTS,
|
|
34
|
-
},
|
|
35
|
-
[InformationRequestType.CUSTOMER_RECEIVABLES]: {
|
|
36
|
-
id: InformationRequestType.CUSTOMER_RECEIVABLES,
|
|
37
|
-
name: 'Vos créances clients',
|
|
38
|
-
typeFile: TypeFile.CUSTOMER_RECEIVABLES,
|
|
39
|
-
},
|
|
40
|
-
[InformationRequestType.Z_TICKETS]: {
|
|
41
|
-
id: InformationRequestType.Z_TICKETS,
|
|
42
|
-
name: 'Vos Ticket Z',
|
|
43
|
-
typeFile: TypeFile.TICKET_Z,
|
|
44
|
-
},
|
|
45
|
-
[InformationRequestType.KILOMETRIC_ALLOWANCES_SUMMARY]: {
|
|
46
|
-
id: InformationRequestType.KILOMETRIC_ALLOWANCES_SUMMARY,
|
|
47
|
-
name: 'Un récapitulatif de vos indemnités kilométriques',
|
|
48
|
-
typeFile: TypeFile.MILEAGE_ALLOWANCES_SUMMARY,
|
|
49
|
-
},
|
|
50
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IsEnum, IsInt } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '../../../../utils';
|
|
3
|
-
import { IBalanceSheetModuleRequest } from '../../models/IBalanceSheetModuleRequest';
|
|
4
|
-
import { BalanceSheetModule } from '../../../Enum/BalanceSheetModule';
|
|
5
|
-
|
|
6
|
-
export class CreateBalanceSheetModuleRequest implements Omit<IBalanceSheetModuleRequest, 'id' | 'idRequestedBy'> {
|
|
7
|
-
@ApiProperty()
|
|
8
|
-
@IsInt()
|
|
9
|
-
idBalanceSheetModule: number;
|
|
10
|
-
|
|
11
|
-
@ApiProperty()
|
|
12
|
-
@IsEnum(BalanceSheetModule)
|
|
13
|
-
moduleType: BalanceSheetModule;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
2
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { BalanceSheetModule } from '../../../Enum/BalanceSheetModule';
|
|
4
|
-
|
|
5
|
-
export class QueryBalanceSheetModuleRequest {
|
|
6
|
-
@ApiPropertyOptional()
|
|
7
|
-
@IsOptional()
|
|
8
|
-
@IsInt()
|
|
9
|
-
idExercice?: number;
|
|
10
|
-
|
|
11
|
-
@ApiPropertyOptional()
|
|
12
|
-
@IsOptional()
|
|
13
|
-
@IsEnum(BalanceSheetModule)
|
|
14
|
-
moduleType?: BalanceSheetModule;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
2
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { IBalanceSheetModuleRequest } from '../../models/IBalanceSheetModuleRequest';
|
|
4
|
-
import { BalanceSheetModule } from '../../../Enum/BalanceSheetModule';
|
|
5
|
-
|
|
6
|
-
export class UpdateBalanceSheetModuleRequest implements Omit<IBalanceSheetModuleRequest, 'id' | 'idBalanceSheetModule'> {
|
|
7
|
-
@ApiPropertyOptional()
|
|
8
|
-
@IsOptional()
|
|
9
|
-
@IsInt()
|
|
10
|
-
idRequestedBy: number;
|
|
11
|
-
|
|
12
|
-
@ApiPropertyOptional()
|
|
13
|
-
@IsOptional()
|
|
14
|
-
@IsEnum(BalanceSheetModule)
|
|
15
|
-
moduleType: BalanceSheetModule;
|
|
16
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
2
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { IDocumentRequest } from '../../models/IDocumentRequest';
|
|
4
|
-
import { TypeFile } from '../../../Enum/Ged';
|
|
5
|
-
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
6
|
-
|
|
7
|
-
export class UpdateDocumentRequest implements Partial<Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>> {
|
|
8
|
-
@ApiPropertyOptional()
|
|
9
|
-
@IsOptional()
|
|
10
|
-
@IsInt()
|
|
11
|
-
idSociety?: number;
|
|
12
|
-
|
|
13
|
-
@ApiPropertyOptional()
|
|
14
|
-
@IsOptional()
|
|
15
|
-
@IsEnum(TypeFile)
|
|
16
|
-
typeFile?: TypeFile;
|
|
17
|
-
|
|
18
|
-
@ApiPropertyOptional()
|
|
19
|
-
@IsOptional()
|
|
20
|
-
@IsInt()
|
|
21
|
-
idExercice?: number;
|
|
22
|
-
|
|
23
|
-
@ApiPropertyOptional()
|
|
24
|
-
@IsOptional()
|
|
25
|
-
@IsInt()
|
|
26
|
-
idBalanceSheet?: number;
|
|
27
|
-
|
|
28
|
-
@ApiPropertyOptional()
|
|
29
|
-
@IsOptional()
|
|
30
|
-
comment?: string;
|
|
31
|
-
|
|
32
|
-
@ApiPropertyOptional()
|
|
33
|
-
@IsOptional()
|
|
34
|
-
@IsBoolean()
|
|
35
|
-
@ToBoolean()
|
|
36
|
-
isNotConcerned?: boolean;
|
|
37
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
2
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { IInformationRequest } from '../../models/IInformationRequest';
|
|
4
|
-
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
5
|
-
|
|
6
|
-
export class CreateInformationRequest implements Omit<IInformationRequest, 'id' | 'idRequestedBy' | 'state'> {
|
|
7
|
-
@ApiProperty()
|
|
8
|
-
@IsInt()
|
|
9
|
-
idSociety: number;
|
|
10
|
-
|
|
11
|
-
@ApiPropertyOptional()
|
|
12
|
-
@IsOptional()
|
|
13
|
-
@IsInt()
|
|
14
|
-
idExercice?: number | null;
|
|
15
|
-
|
|
16
|
-
@ApiPropertyOptional()
|
|
17
|
-
@IsOptional()
|
|
18
|
-
@IsInt()
|
|
19
|
-
idBalanceSheet?: number | null;
|
|
20
|
-
|
|
21
|
-
@ApiProperty()
|
|
22
|
-
@IsEnum(InformationRequestType)
|
|
23
|
-
type: InformationRequestType;
|
|
24
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { IsArray, IsInt, IsOptional } from 'class-validator';
|
|
2
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
4
|
-
import { InformationRequestState } from '../../../Enum/InformationRequestState';
|
|
5
|
-
|
|
6
|
-
export class QueryInformationRequest {
|
|
7
|
-
@ApiPropertyOptional()
|
|
8
|
-
@IsOptional()
|
|
9
|
-
@IsInt()
|
|
10
|
-
idSociety?: number;
|
|
11
|
-
|
|
12
|
-
@ApiPropertyOptional()
|
|
13
|
-
@IsOptional()
|
|
14
|
-
@IsInt()
|
|
15
|
-
idExercice?: number;
|
|
16
|
-
|
|
17
|
-
@ApiPropertyOptional()
|
|
18
|
-
@IsOptional()
|
|
19
|
-
@IsInt()
|
|
20
|
-
idBalanceSheet?: number;
|
|
21
|
-
|
|
22
|
-
@ApiPropertyOptional()
|
|
23
|
-
@IsOptional()
|
|
24
|
-
@IsInt()
|
|
25
|
-
idRequestedBy?: number;
|
|
26
|
-
|
|
27
|
-
@ApiPropertyOptional()
|
|
28
|
-
@IsOptional()
|
|
29
|
-
@IsArray()
|
|
30
|
-
type?: InformationRequestType[];
|
|
31
|
-
|
|
32
|
-
@ApiPropertyOptional()
|
|
33
|
-
@IsOptional()
|
|
34
|
-
@IsArray()
|
|
35
|
-
state?: InformationRequestState[];
|
|
36
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
2
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { IInformationRequest } from '../../models/IInformationRequest';
|
|
4
|
-
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
5
|
-
import { InformationRequestState } from '../../../Enum/InformationRequestState';
|
|
6
|
-
|
|
7
|
-
export class UpdateInformationRequest implements Partial<Omit<IInformationRequest, 'id'>> {
|
|
8
|
-
@ApiPropertyOptional()
|
|
9
|
-
@IsOptional()
|
|
10
|
-
@IsInt()
|
|
11
|
-
idSociety?: number;
|
|
12
|
-
|
|
13
|
-
@ApiPropertyOptional()
|
|
14
|
-
@IsOptional()
|
|
15
|
-
@IsInt()
|
|
16
|
-
idExercice?: number;
|
|
17
|
-
|
|
18
|
-
@ApiPropertyOptional()
|
|
19
|
-
@IsOptional()
|
|
20
|
-
@IsInt()
|
|
21
|
-
idRequestedBy?: number;
|
|
22
|
-
|
|
23
|
-
@ApiPropertyOptional()
|
|
24
|
-
@IsOptional()
|
|
25
|
-
@IsEnum(InformationRequestType)
|
|
26
|
-
type?: InformationRequestType;
|
|
27
|
-
|
|
28
|
-
@ApiPropertyOptional()
|
|
29
|
-
@IsOptional()
|
|
30
|
-
@IsEnum(InformationRequestState)
|
|
31
|
-
state?: InformationRequestState;
|
|
32
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BalanceSheetModule } from '../../Enum/BalanceSheetModule';
|
|
2
|
-
import { IBalanceSheetModule } from './IBalanceSheetModule';
|
|
3
|
-
import { IUser } from './IUser';
|
|
4
|
-
|
|
5
|
-
export interface IBalanceSheetModuleRequest {
|
|
6
|
-
id?: number;
|
|
7
|
-
idBalanceSheetModule: number;
|
|
8
|
-
idRequestedBy: number; // IUser who requested the module
|
|
9
|
-
moduleType: BalanceSheetModule; // Type of module requested
|
|
10
|
-
createdAt?: Date | null;
|
|
11
|
-
updatedAt?: Date | null;
|
|
12
|
-
|
|
13
|
-
// Associations
|
|
14
|
-
requestedBy?: IUser;
|
|
15
|
-
balanceSheetModule?: IBalanceSheetModule;
|
|
16
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { InformationRequestType } from '../../Enum/InformationRequestType';
|
|
2
|
-
import { InformationRequestState } from '../../Enum/InformationRequestState';
|
|
3
|
-
import { IUser } from './IUser';
|
|
4
|
-
import { ISociety } from './ISociety';
|
|
5
|
-
import { IExercice } from './IExercice';
|
|
6
|
-
import { IBalanceSheet } from './IBalanceSheet';
|
|
7
|
-
|
|
8
|
-
export interface IInformationRequest {
|
|
9
|
-
id?: number;
|
|
10
|
-
idSociety: number;
|
|
11
|
-
idExercice?: number | null;
|
|
12
|
-
idBalanceSheet?: number | null;
|
|
13
|
-
idRequestedBy: number; // IUser who requested the information
|
|
14
|
-
type: InformationRequestType; // Type of information request
|
|
15
|
-
state: InformationRequestState; // State of the request (pending, completed, not concerned)
|
|
16
|
-
answeredAt?: Date | null; // Date when client answered (completed or marked as not concerned)
|
|
17
|
-
createdAt?: Date | null;
|
|
18
|
-
updatedAt?: Date | null;
|
|
19
|
-
deletedAt?: Date | null;
|
|
20
|
-
|
|
21
|
-
// Associations
|
|
22
|
-
society?: ISociety;
|
|
23
|
-
exercice?: IExercice;
|
|
24
|
-
balanceSheet?: IBalanceSheet;
|
|
25
|
-
requestedBy?: IUser;
|
|
26
|
-
}
|