@silexpert/core 1.0.128 → 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/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/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/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 +2 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +2 -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/types/Enum/CommercialGrade.js +34 -0
- package/js/types/Enum/CommercialGrade.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/index.js +24 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Commercial.ts +6 -1
- package/ts/types/Enum/CommercialGrade.ts +26 -0
- package/ts/types/Interface/api/commercial/QueryPaginatedNewProspect.ts +35 -0
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/index.ts +2 -0
|
@@ -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
|
+
}
|
|
@@ -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';
|
|
@@ -537,6 +538,7 @@ export * from './Interface/api/society/LegalFormSiren';
|
|
|
537
538
|
export * from './Interface/api/society/SocietyWithStatsCaParams';
|
|
538
539
|
export * from './Interface/api/society/QuerySociety';
|
|
539
540
|
export * from './Interface/api/society/QueryPaginatedSociety';
|
|
541
|
+
export * from './Interface/api/commercial/QueryPaginatedNewProspect';
|
|
540
542
|
export * from './Interface/api/commercial/QueryPaginatedSocietyWithStatsCa';
|
|
541
543
|
export * from './Interface/api/facturation/QueryPaginatedSocietyWithFacturation';
|
|
542
544
|
export * from './Interface/api/billingHistory/QueryPaginatedBillingHistory';
|