@silexpert/core 1.0.97 → 1.0.99
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/types/Enum/AbsenceType.d.ts +7 -1
- package/es/types/Enum/AbsenceType.d.ts.map +1 -1
- package/es/types/Enum/AbsenceType.js +36 -0
- package/es/types/Enum/AbsenceType.js.map +1 -1
- package/es/types/Enum/BalanceSheetQuestionWording.d.ts +1 -1
- package/es/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheetQuestionWording.js +1 -1
- package/es/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/es/types/Interface/api/commercial/QueryGetStats.d.ts +8 -1
- package/es/types/Interface/api/commercial/QueryGetStats.d.ts.map +1 -1
- package/es/types/Interface/api/commercial/QueryGetStats.js +49 -4
- package/es/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
- package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +2 -4
- package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
- package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +2 -20
- package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/es/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.d.ts +2 -3
- package/es/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.d.ts.map +1 -1
- package/es/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.js +2 -13
- package/es/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.js.map +1 -1
- package/es/types/Interface/api/society/UpdateSociety.d.ts +7 -0
- package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/UpdateSociety.js +33 -0
- package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/js/types/Enum/AbsenceType.js +28 -0
- package/js/types/Enum/AbsenceType.js.map +1 -1
- package/js/types/Enum/BalanceSheetQuestionWording.js +1 -1
- package/js/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/js/types/Interface/api/commercial/QueryGetStats.js +19 -1
- package/js/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
- package/js/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +3 -11
- package/js/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/js/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.js +3 -9
- package/js/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.js.map +1 -1
- package/js/types/Interface/api/society/UpdateSociety.js +18 -0
- package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/AbsenceType.ts +38 -1
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +1 -1
- package/ts/types/Interface/api/commercial/QueryGetStats.ts +41 -2
- package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +2 -17
- package/ts/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.ts +2 -11
- package/ts/types/Interface/api/society/UpdateSociety.ts +26 -0
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
+
IsBoolean,
|
|
2
3
|
IsInt, IsOptional, IsString,
|
|
3
4
|
} from 'class-validator';
|
|
4
5
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
6
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
5
7
|
|
|
6
8
|
export class QueryGetStats {
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
@IsOptional()
|
|
11
|
+
@IsString()
|
|
12
|
+
search?: string;
|
|
13
|
+
|
|
14
|
+
@ApiPropertyOptional()
|
|
15
|
+
@IsOptional()
|
|
16
|
+
@IsBoolean()
|
|
17
|
+
@ToBoolean()
|
|
18
|
+
isInCA?: boolean;
|
|
19
|
+
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
@IsBoolean()
|
|
23
|
+
@ToBoolean()
|
|
24
|
+
isAdditionalSales?: boolean;
|
|
25
|
+
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
@IsInt()
|
|
29
|
+
day?: number;
|
|
30
|
+
|
|
7
31
|
@ApiPropertyOptional()
|
|
8
32
|
@IsOptional()
|
|
9
33
|
@IsInt()
|
|
@@ -21,6 +45,21 @@ export class QueryGetStats {
|
|
|
21
45
|
|
|
22
46
|
@ApiPropertyOptional()
|
|
23
47
|
@IsOptional()
|
|
24
|
-
@
|
|
25
|
-
|
|
48
|
+
@IsInt()
|
|
49
|
+
idSource?: number;
|
|
50
|
+
|
|
51
|
+
@ApiPropertyOptional()
|
|
52
|
+
@IsOptional()
|
|
53
|
+
@IsInt()
|
|
54
|
+
idPrestationList?: number;
|
|
55
|
+
|
|
56
|
+
@ApiPropertyOptional()
|
|
57
|
+
@IsOptional()
|
|
58
|
+
@IsInt({ each: true })
|
|
59
|
+
idConstitutionState?: number[];
|
|
60
|
+
|
|
61
|
+
@ApiPropertyOptional()
|
|
62
|
+
@IsOptional()
|
|
63
|
+
@IsInt()
|
|
64
|
+
idBillingState?: number;
|
|
26
65
|
}
|
|
@@ -4,8 +4,9 @@ import {
|
|
|
4
4
|
} from 'class-validator';
|
|
5
5
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
6
6
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
7
|
+
import { OptionalQueryPaginate } from '../BasePaginate';
|
|
7
8
|
|
|
8
|
-
export class QueryPaginatedSocietyWithStatsCa {
|
|
9
|
+
export class QueryPaginatedSocietyWithStatsCa extends OptionalQueryPaginate {
|
|
9
10
|
@ApiPropertyOptional()
|
|
10
11
|
@IsOptional()
|
|
11
12
|
@IsString()
|
|
@@ -17,12 +18,6 @@ export class QueryPaginatedSocietyWithStatsCa {
|
|
|
17
18
|
@ToBoolean()
|
|
18
19
|
isInCA?: boolean;
|
|
19
20
|
|
|
20
|
-
@ApiPropertyOptional()
|
|
21
|
-
@IsOptional()
|
|
22
|
-
@IsBoolean()
|
|
23
|
-
@ToBoolean()
|
|
24
|
-
turnoverRefused?: boolean;
|
|
25
|
-
|
|
26
21
|
@ApiPropertyOptional()
|
|
27
22
|
@IsOptional()
|
|
28
23
|
@IsBoolean()
|
|
@@ -73,14 +68,4 @@ export class QueryPaginatedSocietyWithStatsCa {
|
|
|
73
68
|
@IsOptional()
|
|
74
69
|
@IsInt()
|
|
75
70
|
idBillingState?: number;
|
|
76
|
-
|
|
77
|
-
@ApiPropertyOptional({ default: 20 })
|
|
78
|
-
@IsOptional()
|
|
79
|
-
@IsInt()
|
|
80
|
-
limit?: number;
|
|
81
|
-
|
|
82
|
-
@ApiPropertyOptional({ default: 1 })
|
|
83
|
-
@IsOptional()
|
|
84
|
-
@IsInt()
|
|
85
|
-
page?: number;
|
|
86
71
|
}
|
|
@@ -2,8 +2,9 @@ import {
|
|
|
2
2
|
IsInt, IsOptional, IsString,
|
|
3
3
|
} from 'class-validator';
|
|
4
4
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
import { OptionalQueryPaginate } from '../BasePaginate';
|
|
5
6
|
|
|
6
|
-
export class QueryPaginatedSocietyWithFacturation {
|
|
7
|
+
export class QueryPaginatedSocietyWithFacturation extends OptionalQueryPaginate {
|
|
7
8
|
@ApiPropertyOptional()
|
|
8
9
|
@IsOptional()
|
|
9
10
|
@IsString()
|
|
@@ -33,14 +34,4 @@ export class QueryPaginatedSocietyWithFacturation {
|
|
|
33
34
|
@IsOptional()
|
|
34
35
|
@IsInt()
|
|
35
36
|
idBillingState?: number;
|
|
36
|
-
|
|
37
|
-
@ApiPropertyOptional({ default: 20 })
|
|
38
|
-
@IsOptional()
|
|
39
|
-
@IsInt()
|
|
40
|
-
limit?: number;
|
|
41
|
-
|
|
42
|
-
@ApiPropertyOptional({ default: 1 })
|
|
43
|
-
@IsOptional()
|
|
44
|
-
@IsInt()
|
|
45
|
-
page?: number;
|
|
46
37
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { IsBoolean, IsOptional } from 'class-validator';
|
|
1
2
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
2
4
|
import { ISociety } from '../../models/ISociety';
|
|
3
5
|
|
|
4
6
|
export class UpdateSociety {
|
|
@@ -17,6 +19,9 @@ export class UpdateSociety {
|
|
|
17
19
|
@ApiPropertyOptional()
|
|
18
20
|
city?: string;
|
|
19
21
|
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
zipCode?: string;
|
|
24
|
+
|
|
20
25
|
@ApiPropertyOptional()
|
|
21
26
|
idCountry?: number;
|
|
22
27
|
|
|
@@ -46,6 +51,27 @@ export class UpdateSociety {
|
|
|
46
51
|
|
|
47
52
|
@ApiPropertyOptional()
|
|
48
53
|
socialCapital?: string;
|
|
54
|
+
|
|
55
|
+
@ApiPropertyOptional()
|
|
56
|
+
siret?: string;
|
|
57
|
+
|
|
58
|
+
@ApiPropertyOptional()
|
|
59
|
+
oldNafCode?: string;
|
|
60
|
+
|
|
61
|
+
@ApiPropertyOptional()
|
|
62
|
+
vatUploadDay?: number;
|
|
63
|
+
|
|
64
|
+
@ApiPropertyOptional()
|
|
65
|
+
startAt?: Date;
|
|
66
|
+
|
|
67
|
+
@ApiPropertyOptional()
|
|
68
|
+
canceledFirstStepTourAt?: Date;
|
|
69
|
+
|
|
70
|
+
@ApiPropertyOptional()
|
|
71
|
+
@IsBoolean()
|
|
72
|
+
@ToBoolean()
|
|
73
|
+
@IsOptional()
|
|
74
|
+
autoAnnotate?: boolean;
|
|
49
75
|
}
|
|
50
76
|
export class UpdateSocietyPayload {
|
|
51
77
|
@ApiPropertyOptional()
|