@silexpert/core 1.0.127 → 1.0.129
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/es/api/resources/Commercial.d.ts +2 -1
- package/es/api/resources/Commercial.d.ts.map +1 -1
- package/es/api/resources/Commercial.js +5 -0
- package/es/api/resources/Commercial.js.map +1 -1
- package/es/api/resources/Library.d.ts +1 -1
- package/es/api/resources/Library.d.ts.map +1 -1
- package/es/api/resources/Library.js +2 -2
- package/es/api/resources/Library.js.map +1 -1
- package/es/types/Enum/BalanceSheet.d.ts +1 -1
- package/es/types/Enum/BalanceSheet.js +1 -1
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/CommercialGrade.d.ts +26 -0
- package/es/types/Enum/CommercialGrade.d.ts.map +1 -0
- package/es/types/Enum/CommercialGrade.js +27 -0
- package/es/types/Enum/CommercialGrade.js.map +1 -0
- package/es/types/Enum/Office.d.ts.map +1 -1
- package/es/types/Enum/Office.js +1 -0
- package/es/types/Enum/Office.js.map +1 -1
- package/es/types/Enum/Role.d.ts +0 -2
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js +2 -2
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Enum/TimeRecorderLocation.d.ts +23 -0
- package/es/types/Enum/TimeRecorderLocation.d.ts.map +1 -0
- package/es/types/Enum/TimeRecorderLocation.js +6 -0
- package/es/types/Enum/TimeRecorderLocation.js.map +1 -0
- package/es/types/Interface/api/commercial/QueryPaginatedNewProspect.d.ts +9 -0
- package/es/types/Interface/api/commercial/QueryPaginatedNewProspect.d.ts.map +1 -0
- package/es/types/Interface/api/commercial/QueryPaginatedNewProspect.js +47 -0
- package/es/types/Interface/api/commercial/QueryPaginatedNewProspect.js.map +1 -0
- package/es/types/Interface/api/timeRecorder/UpdateRecorder.d.ts +2 -0
- package/es/types/Interface/api/timeRecorder/UpdateRecorder.d.ts.map +1 -1
- package/es/types/Interface/api/timeRecorder/UpdateRecorder.js +14 -2
- package/es/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -1
- package/es/types/Interface/models/ITimeRecorder.d.ts +1 -0
- package/es/types/Interface/models/ITimeRecorder.d.ts.map +1 -1
- package/es/types/Interface/models/ITimeRecorder.js.map +1 -1
- package/es/types/Interface/models/IUser.d.ts +1 -0
- package/es/types/Interface/models/IUser.d.ts.map +1 -1
- package/es/types/Interface/models/IUser.js.map +1 -1
- package/es/types/index.d.ts +3 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +3 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Commercial.js +6 -0
- package/js/api/resources/Commercial.js.map +1 -1
- package/js/api/resources/Library.js +2 -2
- package/js/api/resources/Library.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +1 -1
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/CommercialGrade.js +34 -0
- package/js/types/Enum/CommercialGrade.js.map +1 -0
- package/js/types/Enum/Office.js +2 -1
- package/js/types/Enum/Office.js.map +1 -1
- package/js/types/Enum/Role.js +4 -4
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Enum/TimeRecorderLocation.js +16 -0
- package/js/types/Enum/TimeRecorderLocation.js.map +1 -0
- package/js/types/Interface/api/commercial/QueryPaginatedNewProspect.js +41 -0
- package/js/types/Interface/api/commercial/QueryPaginatedNewProspect.js.map +1 -0
- package/js/types/Interface/api/timeRecorder/UpdateRecorder.js +4 -0
- package/js/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -1
- package/js/types/index.js +36 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Commercial.ts +6 -1
- package/ts/api/resources/Library.ts +2 -2
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Enum/CommercialGrade.ts +26 -0
- package/ts/types/Enum/Office.ts +1 -0
- package/ts/types/Enum/Role.ts +2 -2
- package/ts/types/Enum/TimeRecorderLocation.ts +9 -0
- package/ts/types/Interface/api/commercial/QueryPaginatedNewProspect.ts +35 -0
- package/ts/types/Interface/api/timeRecorder/UpdateRecorder.ts +14 -2
- package/ts/types/Interface/models/ITimeRecorder.ts +1 -0
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/index.ts +3 -0
package/ts/types/Enum/Office.ts
CHANGED
package/ts/types/Enum/Role.ts
CHANGED
|
@@ -31,9 +31,9 @@ export enum Role {
|
|
|
31
31
|
PARTNERED_ACCOUNTANT = 36,
|
|
32
32
|
SDR = 37,
|
|
33
33
|
FORECAST_MANAGER = 38,
|
|
34
|
-
TERMINATION_MANAGER = 39,
|
|
34
|
+
// TERMINATION_MANAGER = 39,
|
|
35
35
|
EXPRESS_MANAGER = 40,
|
|
36
|
-
CONFLICT_MANAGER = 41,
|
|
36
|
+
// CONFLICT_MANAGER = 41,
|
|
37
37
|
ATTESTATION_MANAGER = 42,
|
|
38
38
|
JURIDICAL_SUPPORT = 43,
|
|
39
39
|
INTERN = 44,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsBoolean,
|
|
3
|
+
IsInt, IsOptional, IsString,
|
|
4
|
+
} from 'class-validator';
|
|
5
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
6
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
7
|
+
import { OptionalQueryPaginate } from '../BasePaginate';
|
|
8
|
+
|
|
9
|
+
export class QueryPaginatedNewProspect extends OptionalQueryPaginate {
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsOptional()
|
|
12
|
+
@IsString()
|
|
13
|
+
search?: string;
|
|
14
|
+
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
@IsOptional()
|
|
17
|
+
@IsInt()
|
|
18
|
+
idCommercial?: number;
|
|
19
|
+
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
@IsInt()
|
|
23
|
+
idUser?: number;
|
|
24
|
+
|
|
25
|
+
@ApiPropertyOptional()
|
|
26
|
+
@IsOptional()
|
|
27
|
+
@IsString()
|
|
28
|
+
orderBy?: string;
|
|
29
|
+
|
|
30
|
+
@ApiPropertyOptional()
|
|
31
|
+
@IsOptional()
|
|
32
|
+
@IsBoolean()
|
|
33
|
+
@ToBoolean()
|
|
34
|
+
descending?: boolean;
|
|
35
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
IsString, IsDateString, IsNumber, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
5
|
|
|
4
6
|
export class UpdateRecorder {
|
|
5
7
|
@ApiProperty()
|
|
@@ -10,4 +12,14 @@ export class UpdateRecorder {
|
|
|
10
12
|
@ApiProperty()
|
|
11
13
|
@IsNumber()
|
|
12
14
|
idUser: number;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
@IsOptional()
|
|
18
|
+
@IsString()
|
|
19
|
+
endTime?: string;
|
|
20
|
+
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
@IsOptional()
|
|
23
|
+
@IsNumber()
|
|
24
|
+
location?: number;
|
|
13
25
|
}
|
|
@@ -65,6 +65,7 @@ export interface IUser {
|
|
|
65
65
|
idCommercialDoublon?: number | null;
|
|
66
66
|
idProspectIsWith?: number | null;
|
|
67
67
|
apprentice?: boolean;
|
|
68
|
+
idCommercialGrade?: number | null;
|
|
68
69
|
smsNotAllowed?: boolean;
|
|
69
70
|
restDaysAbsence?: number | null;
|
|
70
71
|
startOnboarding?: Date | null;
|
package/ts/types/index.ts
CHANGED
|
@@ -331,6 +331,7 @@ export * from './Form/FormConnector';
|
|
|
331
331
|
|
|
332
332
|
// Enums
|
|
333
333
|
export * from './Enum/FolderFile';
|
|
334
|
+
export * from './Enum/CommercialGrade';
|
|
334
335
|
export * from './Enum/CommercialManagement';
|
|
335
336
|
export * from './Enum/Civility';
|
|
336
337
|
export * from './Enum/Registration';
|
|
@@ -347,6 +348,7 @@ export * from './Enum/RoleDetail';
|
|
|
347
348
|
export * from './Enum/Office';
|
|
348
349
|
export * from './Enum/PrestationOption';
|
|
349
350
|
export * from './Enum/TimeCounterType';
|
|
351
|
+
export * from './Enum/TimeRecorderLocation';
|
|
350
352
|
export * from './Enum/MailAuto';
|
|
351
353
|
export * from './Enum/MailAddressType';
|
|
352
354
|
export * from './Enum/Simulation';
|
|
@@ -536,6 +538,7 @@ export * from './Interface/api/society/LegalFormSiren';
|
|
|
536
538
|
export * from './Interface/api/society/SocietyWithStatsCaParams';
|
|
537
539
|
export * from './Interface/api/society/QuerySociety';
|
|
538
540
|
export * from './Interface/api/society/QueryPaginatedSociety';
|
|
541
|
+
export * from './Interface/api/commercial/QueryPaginatedNewProspect';
|
|
539
542
|
export * from './Interface/api/commercial/QueryPaginatedSocietyWithStatsCa';
|
|
540
543
|
export * from './Interface/api/facturation/QueryPaginatedSocietyWithFacturation';
|
|
541
544
|
export * from './Interface/api/billingHistory/QueryPaginatedBillingHistory';
|