@silexpert/core 1.0.63 → 1.0.65
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 +7 -0
- package/es/api/resources/Commercial.d.ts.map +1 -0
- package/es/api/resources/Commercial.js +7 -0
- package/es/api/resources/Commercial.js.map +1 -0
- package/es/api/resources/Sources.d.ts +6 -0
- package/es/api/resources/Sources.d.ts.map +1 -0
- package/es/api/resources/Sources.js +7 -0
- package/es/api/resources/Sources.js.map +1 -0
- package/es/api/resources/User.d.ts +1 -3
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +0 -4
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources.d.ts +4 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +4 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/ConstitutionState.d.ts +65 -0
- package/es/types/Enum/ConstitutionState.d.ts.map +1 -0
- package/es/types/Enum/ConstitutionState.js +66 -0
- package/es/types/Enum/ConstitutionState.js.map +1 -0
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts +4 -0
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +29 -1
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/es/types/index.d.ts +1 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Commercial.js +22 -0
- package/js/api/resources/Commercial.js.map +1 -0
- package/js/api/resources/Sources.js +18 -0
- package/js/api/resources/Sources.js.map +1 -0
- package/js/api/resources/User.js +0 -9
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources.js +7 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/ConstitutionState.js +73 -0
- package/js/types/Enum/ConstitutionState.js.map +1 -0
- package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +10 -0
- package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/js/types/index.js +12 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Commercial.ts +9 -0
- package/ts/api/resources/Sources.ts +8 -0
- package/ts/api/resources/User.ts +1 -6
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/ConstitutionState.ts +64 -0
- package/ts/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.ts +25 -0
- package/ts/types/index.ts +1 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export enum ConstitutionState {
|
|
2
|
+
TO_CONTACT = 1,
|
|
3
|
+
IN_CREATION_BY_SALES_SERVICE = 2,
|
|
4
|
+
FINISHED = 3,
|
|
5
|
+
WAITING_INFORMATION_SHEET = 4,
|
|
6
|
+
WAITING_DEPOSIT_CERTIFICATE = 5,
|
|
7
|
+
WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES = 6,
|
|
8
|
+
WAITING_KBIS = 7,
|
|
9
|
+
WAITING_RIB_OR_SEPA = 8,
|
|
10
|
+
INVOICING_TO_D0 = 9,
|
|
11
|
+
ABANDONED_CASE = 10,
|
|
12
|
+
}
|
|
13
|
+
export const ConstitutionStateDetail = {
|
|
14
|
+
TO_CONTACT: {
|
|
15
|
+
id: 1,
|
|
16
|
+
name: 'À contacter',
|
|
17
|
+
color: 'grey lighten-4',
|
|
18
|
+
},
|
|
19
|
+
IN_CREATION_BY_SALES_SERVICE: {
|
|
20
|
+
id: 2,
|
|
21
|
+
name: 'En cours de création par le service commercial / client',
|
|
22
|
+
color: 'primary',
|
|
23
|
+
},
|
|
24
|
+
FINISHED: {
|
|
25
|
+
id: 3,
|
|
26
|
+
name: 'Dossier terminé',
|
|
27
|
+
color: 'success',
|
|
28
|
+
},
|
|
29
|
+
WAITING_INFORMATION_SHEET: {
|
|
30
|
+
id: 4,
|
|
31
|
+
name: 'Attente fiche de renseignement',
|
|
32
|
+
color: 'blue lighten-4',
|
|
33
|
+
},
|
|
34
|
+
WAITING_DEPOSIT_CERTIFICATE: {
|
|
35
|
+
id: 5,
|
|
36
|
+
name: 'Attente certificat de dépôt',
|
|
37
|
+
color: 'blue',
|
|
38
|
+
},
|
|
39
|
+
WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES: {
|
|
40
|
+
id: 6,
|
|
41
|
+
name: 'Attente doc signés / paiement AL / frais de Greffe',
|
|
42
|
+
color: 'blue lighten-4',
|
|
43
|
+
},
|
|
44
|
+
WAITING_KBIS: {
|
|
45
|
+
id: 7,
|
|
46
|
+
name: 'Attente KBIS',
|
|
47
|
+
color: 'purple lighten-4',
|
|
48
|
+
},
|
|
49
|
+
WAITING_RIB_OR_SEPA: {
|
|
50
|
+
id: 8,
|
|
51
|
+
name: 'Attente RIB / Mandat SEPA',
|
|
52
|
+
color: 'yellow lighten-4',
|
|
53
|
+
},
|
|
54
|
+
INVOICING_TO_D0: {
|
|
55
|
+
id: 9,
|
|
56
|
+
name: 'Facturation à faire',
|
|
57
|
+
color: 'primary lighten-2',
|
|
58
|
+
},
|
|
59
|
+
ABANDONED_CASE: {
|
|
60
|
+
id: 10,
|
|
61
|
+
name: 'Dossier en abandon',
|
|
62
|
+
color: 'grey darken-3',
|
|
63
|
+
},
|
|
64
|
+
};
|
|
@@ -1,7 +1,9 @@
|
|
|
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 QueryPaginatedSocietyWithStatsCa {
|
|
7
9
|
@ApiPropertyOptional()
|
|
@@ -9,6 +11,24 @@ export class QueryPaginatedSocietyWithStatsCa {
|
|
|
9
11
|
@IsString()
|
|
10
12
|
search?: string;
|
|
11
13
|
|
|
14
|
+
@ApiPropertyOptional()
|
|
15
|
+
@IsOptional()
|
|
16
|
+
@IsBoolean()
|
|
17
|
+
@ToBoolean()
|
|
18
|
+
isInCA?: boolean;
|
|
19
|
+
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
@IsBoolean()
|
|
23
|
+
@ToBoolean()
|
|
24
|
+
turnoverRefused?: boolean;
|
|
25
|
+
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
@IsBoolean()
|
|
29
|
+
@ToBoolean()
|
|
30
|
+
isAdditionalSales?: boolean;
|
|
31
|
+
|
|
12
32
|
@ApiPropertyOptional()
|
|
13
33
|
@IsOptional()
|
|
14
34
|
@IsInt()
|
|
@@ -44,6 +64,11 @@ export class QueryPaginatedSocietyWithStatsCa {
|
|
|
44
64
|
@IsInt({ each: true })
|
|
45
65
|
idState?: number[];
|
|
46
66
|
|
|
67
|
+
@ApiPropertyOptional()
|
|
68
|
+
@IsOptional()
|
|
69
|
+
@IsInt()
|
|
70
|
+
idConstitutionState?: number;
|
|
71
|
+
|
|
47
72
|
@ApiPropertyOptional({ default: 25 })
|
|
48
73
|
@IsOptional()
|
|
49
74
|
@IsInt()
|
package/ts/types/index.ts
CHANGED
|
@@ -399,6 +399,7 @@ export * from './Enum/FieldSocietyStat';
|
|
|
399
399
|
export * from './Enum/PrestationType';
|
|
400
400
|
export * from './Enum/StatsCaStateDetail';
|
|
401
401
|
export * from './Enum/Lab';
|
|
402
|
+
export * from './Enum/ConstitutionState';
|
|
402
403
|
export * from './Enum/Supervision';
|
|
403
404
|
export * from './Enum/Notification';
|
|
404
405
|
export * from './Enum/Comment';
|