@silexpert/core 1.2.15 → 1.2.17
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/Checklist.d.ts +2 -1
- package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/cjs/api/resources/Checklist.js +3 -0
- package/dist/cjs/api/resources/Checklist.js.map +1 -1
- package/dist/cjs/api/resources/Library.d.ts +3 -1
- package/dist/cjs/api/resources/Library.d.ts.map +1 -1
- package/dist/cjs/api/resources/Library.js +12 -0
- package/dist/cjs/api/resources/Library.js.map +1 -1
- package/dist/cjs/api/resources/Society.d.ts +2 -2
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +4 -4
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/TimeRecorder.d.ts +3 -2
- package/dist/cjs/api/resources/TimeRecorder.d.ts.map +1 -1
- package/dist/cjs/api/resources/TimeRecorder.js +3 -0
- package/dist/cjs/api/resources/TimeRecorder.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +0 -1
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/JuridicalSociety.d.ts +6 -0
- package/dist/cjs/types/Enum/JuridicalSociety.d.ts.map +1 -0
- package/dist/cjs/types/Enum/JuridicalSociety.js +10 -0
- package/dist/cjs/types/Enum/JuridicalSociety.js.map +1 -0
- package/dist/cjs/types/Interface/api/PaymentRecovery/Create.d.ts +1 -1
- package/dist/cjs/types/Interface/api/PaymentRecovery/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/PaymentRecovery/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts +7 -0
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.js +32 -1
- package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +12 -0
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js +55 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts +37 -29
- package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js +89 -31
- package/dist/cjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js.map +1 -1
- package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts +46 -29
- package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/QueryUnpaid.d.ts +2 -0
- package/dist/cjs/types/Interface/api/society/QueryUnpaid.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/QueryUnpaid.js +14 -0
- package/dist/cjs/types/Interface/api/society/QueryUnpaid.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSocietyUnpaidStats.d.ts +5 -1
- package/dist/cjs/types/Interface/api/society/ReadSocietyUnpaidStats.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSocietyUnpaidStats.js.map +1 -1
- package/dist/cjs/types/Interface/api/timeRecorder/CreateRecorder.d.ts +15 -0
- package/dist/cjs/types/Interface/api/timeRecorder/CreateRecorder.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/timeRecorder/CreateRecorder.js +82 -0
- package/dist/cjs/types/Interface/api/timeRecorder/CreateRecorder.js.map +1 -0
- package/dist/cjs/types/Interface/api/timeRecorder/Query.d.ts +3 -0
- package/dist/cjs/types/Interface/api/timeRecorder/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/timeRecorder/Query.js +9 -1
- package/dist/cjs/types/Interface/api/timeRecorder/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/timeRecorder/UpdateRecorder.d.ts +1 -0
- package/dist/cjs/types/Interface/api/timeRecorder/UpdateRecorder.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/timeRecorder/UpdateRecorder.js +7 -0
- package/dist/cjs/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/documents.js +1 -1
- package/dist/cjs/utils/documents.js.map +1 -1
- package/dist/mjs/api/resources/Checklist.d.ts +2 -1
- package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/mjs/api/resources/Checklist.js +6 -0
- package/dist/mjs/api/resources/Checklist.js.map +1 -1
- package/dist/mjs/api/resources/Library.d.ts +3 -1
- package/dist/mjs/api/resources/Library.d.ts.map +1 -1
- package/dist/mjs/api/resources/Library.js +12 -0
- package/dist/mjs/api/resources/Library.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +2 -2
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +4 -4
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/TimeRecorder.d.ts +3 -2
- package/dist/mjs/api/resources/TimeRecorder.d.ts.map +1 -1
- package/dist/mjs/api/resources/TimeRecorder.js +3 -0
- package/dist/mjs/api/resources/TimeRecorder.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +0 -1
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/JuridicalSociety.d.ts +6 -0
- package/dist/mjs/types/Enum/JuridicalSociety.d.ts.map +1 -0
- package/dist/mjs/types/Enum/JuridicalSociety.js +7 -0
- package/dist/mjs/types/Enum/JuridicalSociety.js.map +1 -0
- package/dist/mjs/types/Interface/api/PaymentRecovery/Create.d.ts +1 -1
- package/dist/mjs/types/Interface/api/PaymentRecovery/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/PaymentRecovery/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts +7 -0
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.js +36 -1
- package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +12 -0
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js +62 -0
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts +37 -29
- package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js +101 -35
- package/dist/mjs/types/Interface/api/previsionalForm/CreatePrevisionalForm.js.map +1 -1
- package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts +46 -29
- package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/previsionalForm/PrevisionalFormPayload.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/QueryUnpaid.d.ts +2 -0
- package/dist/mjs/types/Interface/api/society/QueryUnpaid.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/QueryUnpaid.js +16 -0
- package/dist/mjs/types/Interface/api/society/QueryUnpaid.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSocietyUnpaidStats.d.ts +5 -1
- package/dist/mjs/types/Interface/api/society/ReadSocietyUnpaidStats.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSocietyUnpaidStats.js.map +1 -1
- package/dist/mjs/types/Interface/api/timeRecorder/CreateRecorder.d.ts +15 -0
- package/dist/mjs/types/Interface/api/timeRecorder/CreateRecorder.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/timeRecorder/CreateRecorder.js +89 -0
- package/dist/mjs/types/Interface/api/timeRecorder/CreateRecorder.js.map +1 -0
- package/dist/mjs/types/Interface/api/timeRecorder/Query.d.ts +3 -0
- package/dist/mjs/types/Interface/api/timeRecorder/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/timeRecorder/Query.js +8 -0
- package/dist/mjs/types/Interface/api/timeRecorder/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/timeRecorder/UpdateRecorder.d.ts +1 -0
- package/dist/mjs/types/Interface/api/timeRecorder/UpdateRecorder.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/timeRecorder/UpdateRecorder.js +8 -0
- package/dist/mjs/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -1
- package/dist/mjs/types/index.d.ts +2 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/documents.js +1 -1
- package/dist/mjs/utils/documents.js.map +1 -1
- package/package.json +2 -1
- package/ts/api/resources/Checklist.ts +8 -1
- package/ts/api/resources/Library.ts +16 -0
- package/ts/api/resources/Society.ts +4 -4
- package/ts/api/resources/TimeRecorder.ts +7 -2
- package/ts/types/Enum/BalanceSheet.ts +0 -1
- package/ts/types/Enum/JuridicalSociety.ts +5 -0
- package/ts/types/Interface/api/PaymentRecovery/Create.ts +1 -1
- package/ts/types/Interface/api/checklist/Query.ts +26 -0
- package/ts/types/Interface/api/library/QueryLibrary.ts +46 -0
- package/ts/types/Interface/api/previsionalForm/CreatePrevisionalForm.ts +88 -32
- package/ts/types/Interface/api/previsionalForm/PrevisionalFormPayload.ts +50 -30
- package/ts/types/Interface/api/society/QueryUnpaid.ts +12 -0
- package/ts/types/Interface/api/society/ReadSocietyUnpaidStats.ts +5 -1
- package/ts/types/Interface/api/timeRecorder/CreateRecorder.ts +59 -0
- package/ts/types/Interface/api/timeRecorder/Query.ts +6 -0
- package/ts/types/Interface/api/timeRecorder/UpdateRecorder.ts +6 -0
- package/ts/types/index.ts +2 -0
- package/ts/utils/documents.ts +1 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { IsBoolean, IsDate, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
import { Point } from 'geojson';
|
|
5
|
+
|
|
6
|
+
export class CreateRecorder {
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
@IsDate()
|
|
9
|
+
date: Date;
|
|
10
|
+
|
|
11
|
+
@ApiProperty()
|
|
12
|
+
@IsNumber()
|
|
13
|
+
idUser: number;
|
|
14
|
+
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
@IsOptional()
|
|
17
|
+
@IsString()
|
|
18
|
+
startTime?: string;
|
|
19
|
+
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
@IsString()
|
|
23
|
+
endTime?: string;
|
|
24
|
+
|
|
25
|
+
@ApiPropertyOptional()
|
|
26
|
+
@IsOptional()
|
|
27
|
+
@IsNumber()
|
|
28
|
+
location?: number;
|
|
29
|
+
|
|
30
|
+
@ApiProperty()
|
|
31
|
+
@IsString()
|
|
32
|
+
ip: string;
|
|
33
|
+
|
|
34
|
+
@ApiPropertyOptional()
|
|
35
|
+
@IsOptional()
|
|
36
|
+
@IsBoolean()
|
|
37
|
+
@ToBoolean()
|
|
38
|
+
isGeolocationValidated?: boolean;
|
|
39
|
+
|
|
40
|
+
@ApiPropertyOptional()
|
|
41
|
+
@IsOptional()
|
|
42
|
+
geolocationDetected?: Point;
|
|
43
|
+
|
|
44
|
+
@ApiPropertyOptional()
|
|
45
|
+
@IsOptional()
|
|
46
|
+
@IsNumber()
|
|
47
|
+
geolocationAccuracy?: number;
|
|
48
|
+
|
|
49
|
+
@ApiPropertyOptional()
|
|
50
|
+
@IsOptional()
|
|
51
|
+
geolocationFixed?: Point;
|
|
52
|
+
|
|
53
|
+
@ApiPropertyOptional()
|
|
54
|
+
@IsOptional()
|
|
55
|
+
@IsBoolean()
|
|
56
|
+
@ToBoolean()
|
|
57
|
+
socket?: boolean;
|
|
58
|
+
|
|
59
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -555,6 +555,7 @@ export * from './Enum/TypeSupportForNotation';
|
|
|
555
555
|
export * from './Enum/ToRecallRating';
|
|
556
556
|
export * from './Enum/PrevisionalForm';
|
|
557
557
|
export * from './Enum/PaymentRecovery';
|
|
558
|
+
export * from './Enum/JuridicalSociety';
|
|
558
559
|
|
|
559
560
|
// Interfaces API
|
|
560
561
|
export * from './Interface/api/exercice/ReadExercice';
|
|
@@ -746,6 +747,7 @@ export * from './Interface/api/timeRecorder/ReadAttendanceHours';
|
|
|
746
747
|
export * from './Interface/api/timeRecorder/ReadPaginatedDelays';
|
|
747
748
|
export * from './Interface/api/timeRecorder/ReadUsersAbsent';
|
|
748
749
|
export * from './Interface/api/timeRecorder/ReadUsersNotConnected';
|
|
750
|
+
export * from './Interface/api/timeRecorder/CreateRecorder';
|
|
749
751
|
export * from './Interface/api/timeRecorder/UpdateRecorder';
|
|
750
752
|
export * from './Interface/api/inpiBalance/QueryInpiBalanceStatistic';
|
|
751
753
|
export * from './Interface/api/inpiBalance/QueryInpiBalancePaginated';
|
package/ts/utils/documents.ts
CHANGED
|
@@ -55,7 +55,7 @@ const requiredListDocs = (params: RequiredDocsType): GedFileType[] => {
|
|
|
55
55
|
return [...generique, GedFileType.SIRENE, GedFileType.SEPA, GedFileType.PATRIMONY];
|
|
56
56
|
}
|
|
57
57
|
if ([LegalForm.ASSOCIATION.id].includes(idLegalForm)) {
|
|
58
|
-
return [...generique, GedFileType.RULES_OF_PROCEDURE, GedFileType.REGISTRATION_OF_THE_ASSOCIATION_AT_THE_PREFECTURE, GedFileType.REPRESENTATIVE_OF_THE_ASSOCIATION];
|
|
58
|
+
return [...generique, GedFileType.RULES_OF_PROCEDURE, GedFileType.REGISTRATION_OF_THE_ASSOCIATION_AT_THE_PREFECTURE, GedFileType.REPRESENTATIVE_OF_THE_ASSOCIATION, GedFileType.DBE2];
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
return generique;
|