@silexpert/core 1.0.60 → 1.0.62
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/CHANGELOG.md +17 -0
- package/es/api/resources/SlowDetection.d.ts +11 -0
- package/es/api/resources/SlowDetection.d.ts.map +1 -0
- package/es/api/resources/SlowDetection.js +12 -0
- package/es/api/resources/SlowDetection.js.map +1 -0
- package/es/api/resources/Source.d.ts +6 -0
- package/es/api/resources/Source.d.ts.map +1 -0
- package/es/api/resources/Source.js +7 -0
- package/es/api/resources/Source.js.map +1 -0
- package/es/api/resources/User.d.ts +4 -2
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +25 -16
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/BalanceSheet.js +1 -1
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/BudgetInsight.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +101 -1
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +100 -14
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/Lab.d.ts +25 -0
- package/es/types/Enum/Lab.d.ts.map +1 -0
- package/es/types/Enum/Lab.js +26 -0
- package/es/types/Enum/Lab.js.map +1 -0
- package/es/types/Enum/PrestationType.d.ts +2761 -1
- package/es/types/Enum/PrestationType.d.ts.map +1 -1
- package/es/types/Enum/PrestationType.js +2762 -1
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Enum/RegistrationSourceDetail.d.ts +195 -0
- package/es/types/Enum/RegistrationSourceDetail.d.ts.map +1 -0
- package/es/types/Enum/RegistrationSourceDetail.js +99 -0
- package/es/types/Enum/RegistrationSourceDetail.js.map +1 -0
- package/es/types/Enum/ReportService.d.ts +10 -0
- package/es/types/Enum/ReportService.d.ts.map +1 -0
- package/es/types/Enum/ReportService.js +31 -0
- package/es/types/Enum/ReportService.js.map +1 -0
- package/es/types/Enum/StatsCaStateDetail.d.ts +28 -0
- package/es/types/Enum/StatsCaStateDetail.d.ts.map +1 -0
- package/es/types/Enum/StatsCaStateDetail.js +28 -0
- package/es/types/Enum/StatsCaStateDetail.js.map +1 -0
- package/es/types/Enum/VatDeclarationType.d.ts.map +1 -1
- package/es/types/Enum/VatDeclarationType.js +6 -0
- package/es/types/Enum/VatDeclarationType.js.map +1 -1
- package/es/types/Interface/api/report/QueryReports.d.ts +1 -0
- package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/es/types/Interface/api/report/QueryReports.js +4 -0
- package/es/types/Interface/api/report/QueryReports.js.map +1 -1
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts +13 -0
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -0
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +74 -0
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +1 -0
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts +11 -0
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts.map +1 -0
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.js +2 -0
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.js.map +1 -0
- package/es/types/Interface/api/statistic/ExitRequest.d.ts +1 -0
- package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/ExitRequest.js.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.js +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts +1 -0
- package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +8 -1
- package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
- package/es/types/Interface/models/IPrestation.d.ts +3 -0
- package/es/types/Interface/models/IPrestation.d.ts.map +1 -1
- package/es/types/Interface/models/IPrestation.js.map +1 -1
- package/es/types/Interface/models/ISlowDetection.d.ts +9 -0
- package/es/types/Interface/models/ISlowDetection.d.ts.map +1 -0
- package/es/types/Interface/models/ISlowDetection.js +2 -0
- package/es/types/Interface/models/ISlowDetection.js.map +1 -0
- package/es/types/Interface/models/ISociety.d.ts +4 -2
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/index.d.ts +7 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +7 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.d.ts.map +1 -1
- package/es/utils/index.js +1 -0
- package/es/utils/index.js.map +1 -1
- package/es/utils/prestation.d.ts +11 -0
- package/es/utils/prestation.d.ts.map +1 -0
- package/es/utils/prestation.js +62 -0
- package/es/utils/prestation.js.map +1 -0
- package/js/api/resources/SlowDetection.js +23 -0
- package/js/api/resources/SlowDetection.js.map +1 -0
- package/js/api/resources/Source.js +18 -0
- package/js/api/resources/Source.js.map +1 -0
- package/js/api/resources/User.js +27 -6
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources.js +4 -1
- package/js/api/resources.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/BudgetInsight.js.map +1 -1
- package/js/types/Enum/Ged.js +104 -17
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/Lab.js +33 -0
- package/js/types/Enum/Lab.js.map +1 -0
- package/js/types/Enum/PrestationType.js +2763 -1
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Enum/RegistrationSourceDetail.js +200 -0
- package/js/types/Enum/RegistrationSourceDetail.js.map +1 -0
- package/js/types/Enum/ReportService.js +32 -0
- package/js/types/Enum/ReportService.js.map +1 -0
- package/js/types/Enum/StatsCaStateDetail.js +33 -0
- package/js/types/Enum/StatsCaStateDetail.js.map +1 -0
- package/js/types/Enum/VatDeclarationType.js +5 -0
- package/js/types/Enum/VatDeclarationType.js.map +1 -1
- package/js/types/Interface/api/report/QueryReports.js +2 -0
- package/js/types/Interface/api/report/QueryReports.js.map +1 -1
- package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +53 -0
- package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +1 -0
- package/js/types/Interface/api/society/SocietyWithStatsCaParams.js +6 -0
- package/js/types/Interface/api/society/SocietyWithStatsCaParams.js.map +1 -0
- package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
- package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +4 -0
- package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
- package/js/types/Interface/models/ISlowDetection.js +6 -0
- package/js/types/Interface/models/ISlowDetection.js.map +1 -0
- package/js/types/index.js +84 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/index.js +12 -0
- package/js/utils/index.js.map +1 -1
- package/js/utils/prestation.js +41 -0
- package/js/utils/prestation.js.map +1 -0
- package/package.json +1 -1
- package/ts/api/resources/SlowDetection.ts +13 -0
- package/ts/api/resources/Source.ts +8 -0
- package/ts/api/resources/User.ts +27 -17
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Enum/BudgetInsight.ts +1 -1
- package/ts/types/Enum/Ged.ts +102 -15
- package/ts/types/Enum/Lab.ts +25 -0
- package/ts/types/Enum/PrestationType.ts +2765 -3
- package/ts/types/Enum/RegistrationSourceDetail.ts +98 -0
- package/ts/types/Enum/ReportService.ts +32 -0
- package/ts/types/Enum/StatsCaStateDetail.ts +27 -0
- package/ts/types/Enum/VatDeclarationType.ts +6 -0
- package/ts/types/Interface/api/report/QueryReports.ts +3 -0
- package/ts/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.ts +56 -0
- package/ts/types/Interface/api/society/SocietyWithStatsCaParams.ts +11 -0
- package/ts/types/Interface/api/statistic/ExitRequest.ts +1 -0
- package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +3 -1
- package/ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts +7 -1
- package/ts/types/Interface/models/IPrestation.ts +3 -0
- package/ts/types/Interface/models/ISlowDetection.ts +11 -0
- package/ts/types/Interface/models/ISociety.ts +5 -3
- package/ts/types/index.ts +7 -0
- package/ts/utils/index.ts +1 -0
- package/ts/utils/prestation.ts +71 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import { ISlowDetection } from '../../types';
|
|
3
|
+
|
|
4
|
+
export class SlowDetection extends Resource {
|
|
5
|
+
/**
|
|
6
|
+
* Créer un enregistrement dans la table SlowDetection
|
|
7
|
+
* @param { ISlowDetection } payload
|
|
8
|
+
* @returns { ISlowDetection }
|
|
9
|
+
*/
|
|
10
|
+
public create(payload: ISlowDetection): Promise<ISlowDetection> {
|
|
11
|
+
return this.axios.$post('/slow-detection', payload);
|
|
12
|
+
}
|
|
13
|
+
}
|
package/ts/api/resources/User.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { CancelToken } from 'axios';
|
|
1
2
|
import { Resource } from '../Resource';
|
|
2
3
|
import {
|
|
3
|
-
IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, CreateCoworker, QueryUserSmsConfirmation, QueryGetAllFromSociety, QuerySocieties, ISociety, Role, TimeCounterType, QueryGetAllCollaborators,
|
|
4
|
+
IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, CreateCoworker, QueryUserSmsConfirmation, QueryGetAllFromSociety, QuerySocieties, ISociety, Role, TimeCounterType, QueryGetAllCollaborators, QueryGetAllCollaboratorsByRoles, QueryPaginatedSocietyWithStatsCa, BasePaginate, SocietyWithStatsCaParams,
|
|
4
5
|
} from '../../types';
|
|
5
6
|
|
|
6
7
|
export class User extends Resource {
|
|
@@ -28,22 +29,27 @@ export class User extends Resource {
|
|
|
28
29
|
allCollaborators(params: QueryGetAllCollaborators): Promise<IUser> {
|
|
29
30
|
return this.axios.$get('user/all-collaborators', { params });
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
32
|
+
allCollaboratorsByRoles(data: QueryGetAllCollaboratorsByRoles): Promise<IUser> {
|
|
33
|
+
const { idTimeCounterType, idRoles } = data;
|
|
34
|
+
let params = { idRoles };
|
|
35
|
+
if (idTimeCounterType) {
|
|
36
|
+
const timeCounterType = Object.values(TimeCounterType).find((tct) => tct.id === idTimeCounterType);
|
|
37
|
+
const rolesByDefault = [
|
|
38
|
+
Role.FRONT_OFFICE,
|
|
39
|
+
Role.FRONT_OFFICE_EXPRESS,
|
|
40
|
+
Role.SOCIAL,
|
|
41
|
+
Role.JURIDIC,
|
|
42
|
+
Role.HUMAN_RESSOURCES,
|
|
43
|
+
Role.FACTURATION,
|
|
44
|
+
Role.CUSTOMER_SUCCESS,
|
|
45
|
+
Role.COMMERCIAL,
|
|
46
|
+
Role.MANAGER,
|
|
47
|
+
Role.EXPERT_ACCOUNTANT,
|
|
48
|
+
Role.DEVELOPER,
|
|
49
|
+
];
|
|
50
|
+
params = { idRoles: timeCounterType?.limitedRoles ?? rolesByDefault };
|
|
51
|
+
}
|
|
52
|
+
return this.axios.$get('user/all-collaborators-by-roles', { params });
|
|
47
53
|
}
|
|
48
54
|
selectableTeammates(): Promise<IUser[]> {
|
|
49
55
|
return this.axios.$get('user/selectable-teammates');
|
|
@@ -63,4 +69,8 @@ export class User extends Resource {
|
|
|
63
69
|
getInfo(): Promise<IUser> {
|
|
64
70
|
return this.axios.$get('user');
|
|
65
71
|
}
|
|
72
|
+
// FIXME: CancelToken
|
|
73
|
+
getStatsCa(params: QueryPaginatedSocietyWithStatsCa, cancelToken?: CancelToken): Promise<BasePaginate<SocietyWithStatsCaParams>> {
|
|
74
|
+
return this.axios.$get('/user/paginated-with-stats-ca', { ...(cancelToken ? { cancelToken } : {}), params });
|
|
75
|
+
}
|
|
66
76
|
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -104,6 +104,7 @@ import { Wallet } from './resources/Wallet';
|
|
|
104
104
|
import { PaymentExpectation } from './resources/PaymentExpectation';
|
|
105
105
|
import { StatisticDirection } from './resources/statistic/Direction';
|
|
106
106
|
import { TerminationList } from './resources/TerminationList';
|
|
107
|
+
import { SlowDetection } from './resources/SlowDetection';
|
|
107
108
|
|
|
108
109
|
export const resources = {
|
|
109
110
|
simulation: Simulation,
|
|
@@ -212,4 +213,5 @@ export const resources = {
|
|
|
212
213
|
statisticExpertAccountant: StatisticExpertAccountant,
|
|
213
214
|
paymentExpectation: PaymentExpectation,
|
|
214
215
|
terminationList: TerminationList,
|
|
216
|
+
slowDetection: SlowDetection,
|
|
215
217
|
};
|
|
@@ -277,7 +277,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
|
|
|
277
277
|
{
|
|
278
278
|
name: 'Disponibilités',
|
|
279
279
|
key: 'availabilities',
|
|
280
|
-
accounts: ['511', '512', '514', '515', '516', '517', '5187', '53', '54', '58'],
|
|
280
|
+
accounts: ['511', '512', '514', '515', '516', '517', '5181', '5187', '53', '54', '58'],
|
|
281
281
|
type: 'active',
|
|
282
282
|
},
|
|
283
283
|
{
|
|
@@ -25,5 +25,5 @@ export enum BudgetInsightConnectionState {
|
|
|
25
25
|
RATE_LIMITING = 'rateLimiting', // The target website or API is temporarily blocking synchronizations due to rate limiting.
|
|
26
26
|
WEBSITE_UNAVAILABLE = 'websiteUnavailable', // The connector website or API is unavailable.
|
|
27
27
|
BUG = 'bug', // An internal error has occurred during the synchronization.
|
|
28
|
-
NOT_SUPPORTED = 'notSupported', // The source is not supported on the connector
|
|
28
|
+
NOT_SUPPORTED = 'notSupported', // The source is not supported on the connector.
|
|
29
29
|
}
|
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -48,24 +48,111 @@ export enum GedFolder {
|
|
|
48
48
|
|
|
49
49
|
export enum GedFileType {
|
|
50
50
|
STATUTES = 1,
|
|
51
|
-
|
|
51
|
+
IDENTITY_CARD = 2,
|
|
52
52
|
KBIS = 3,
|
|
53
53
|
RIB = 4,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
// 9,'Dbe'
|
|
54
|
+
FISCAL_MEMENTO = 5,
|
|
55
|
+
SEPA = 6,
|
|
56
|
+
PLAQUETTE = 7,
|
|
57
|
+
M0 = 8,
|
|
58
|
+
DBE = 9,
|
|
60
59
|
OTHER = 10,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
// 13,'Déclaration des bénéficiaires effectifs'
|
|
64
|
-
// 14,'Liste des souscripteurs pour connaître la répartition des actions'
|
|
65
|
-
// 15,'Récépissé d’inscription de l’association en préfecture'
|
|
66
|
-
// 16,'Liste des représentants de l’association'
|
|
67
|
-
// 17,'Règlement intérieur',
|
|
60
|
+
SIRENE = 11, // Inscription au répertoire SIRENE / Répertoire des métiers
|
|
61
|
+
PATRIMONY = 12, // Déclaration du patrimoine affectée
|
|
62
|
+
DBE2 = 13, // 13,'Déclaration des bénéficiaires effectifs'
|
|
63
|
+
DISTRIBUTION_OF_SHARE = 14, // 14,'Liste des souscripteurs pour connaître la répartition des actions'
|
|
64
|
+
REGISTRATION_OF_THE_ASSOCIATION_AT_THE_PREFECTURE = 15, // 15,'Récépissé d’inscription de l’association en préfecture'
|
|
65
|
+
REPRESENTATIVE_OF_THE_ASSOCIATION = 16, // 16,'Liste des représentants de l’association'
|
|
66
|
+
RULES_OF_PROCEDURE = 17, // 17,'Règlement intérieur',
|
|
68
67
|
REVISION_GUIDE = 18,
|
|
69
68
|
SUMMARY_NOTE = 19,
|
|
70
69
|
BALANCESHEET_NOTE = 20,
|
|
71
|
-
|
|
70
|
+
PERSONNAL_RIB = 21, // RIB PERSO
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export const GedFileTypeDetail = {
|
|
74
|
+
STATUTES: {
|
|
75
|
+
id: GedFileType.STATUTES,
|
|
76
|
+
name: 'Statuts',
|
|
77
|
+
},
|
|
78
|
+
IDENTITY_CARD: {
|
|
79
|
+
id: GedFileType.IDENTITY_CARD,
|
|
80
|
+
name: 'Carte d\'identité',
|
|
81
|
+
},
|
|
82
|
+
KBIS: {
|
|
83
|
+
id: GedFileType.KBIS,
|
|
84
|
+
name: 'KBis',
|
|
85
|
+
},
|
|
86
|
+
RIB: {
|
|
87
|
+
id: 4,
|
|
88
|
+
name: 'RIB',
|
|
89
|
+
},
|
|
90
|
+
FISCAL_MEMENTO: {
|
|
91
|
+
id: GedFileType.FISCAL_MEMENTO,
|
|
92
|
+
name: 'Memento fiscal',
|
|
93
|
+
},
|
|
94
|
+
SEPA: {
|
|
95
|
+
id: GedFileType.SEPA,
|
|
96
|
+
name: 'SEPA',
|
|
97
|
+
},
|
|
98
|
+
PLAQUETTE: {
|
|
99
|
+
id: GedFileType.PLAQUETTE,
|
|
100
|
+
name: 'Plaquette',
|
|
101
|
+
},
|
|
102
|
+
M0: {
|
|
103
|
+
id: GedFileType.M0,
|
|
104
|
+
name: 'M0',
|
|
105
|
+
},
|
|
106
|
+
DBE: {
|
|
107
|
+
id: GedFileType.DBE,
|
|
108
|
+
name: 'DBE',
|
|
109
|
+
},
|
|
110
|
+
OTHER: {
|
|
111
|
+
id: GedFileType.OTHER,
|
|
112
|
+
name: 'Autres',
|
|
113
|
+
},
|
|
114
|
+
SIRENE: {
|
|
115
|
+
id: GedFileType.SIRENE,
|
|
116
|
+
name: 'Inscription au répertoire SIRENE / Répertoire des métiers',
|
|
117
|
+
},
|
|
118
|
+
PATRIMONY: {
|
|
119
|
+
id: GedFileType.PATRIMONY,
|
|
120
|
+
name: 'Déclaration du patrimoine affectée',
|
|
121
|
+
},
|
|
122
|
+
DBE2: {
|
|
123
|
+
id: GedFileType.DBE2,
|
|
124
|
+
name: 'Déclaration des bénéficiaires effectifs',
|
|
125
|
+
},
|
|
126
|
+
DISTRIBUTION_OF_SHARE: {
|
|
127
|
+
id: GedFileType.DISTRIBUTION_OF_SHARE,
|
|
128
|
+
name: 'Liste des souscripteurs pour connaître la répartition des actions',
|
|
129
|
+
},
|
|
130
|
+
REGISTRATION_OF_THE_ASSOCIATION_AT_THE_PREFECTURE: {
|
|
131
|
+
id: GedFileType.REGISTRATION_OF_THE_ASSOCIATION_AT_THE_PREFECTURE,
|
|
132
|
+
name: 'Récépissé d’inscription de l’association en préfecture',
|
|
133
|
+
},
|
|
134
|
+
REPRESENTATIVE_OF_THE_ASSOCIATION: {
|
|
135
|
+
id: GedFileType.REPRESENTATIVE_OF_THE_ASSOCIATION,
|
|
136
|
+
name: 'Liste des représentants de l’association',
|
|
137
|
+
},
|
|
138
|
+
RULES_OF_PROCEDURE: {
|
|
139
|
+
id: GedFileType.RULES_OF_PROCEDURE,
|
|
140
|
+
name: 'Règlement intérieur',
|
|
141
|
+
},
|
|
142
|
+
REVISION_GUIDE: {
|
|
143
|
+
id: GedFileType.REVISION_GUIDE,
|
|
144
|
+
name: 'Guide de révision',
|
|
145
|
+
},
|
|
146
|
+
SUMMARY_NOTE: {
|
|
147
|
+
id: GedFileType.SUMMARY_NOTE,
|
|
148
|
+
name: 'Notes de synthèse',
|
|
149
|
+
},
|
|
150
|
+
BALANCESHEET_NOTE: {
|
|
151
|
+
id: GedFileType.BALANCESHEET_NOTE,
|
|
152
|
+
name: 'Notes de bilan',
|
|
153
|
+
},
|
|
154
|
+
PERSONNAL_RIB: {
|
|
155
|
+
id: GedFileType.PERSONNAL_RIB,
|
|
156
|
+
name: 'RIB Personnel',
|
|
157
|
+
},
|
|
158
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export enum Lab {
|
|
2
|
+
WAITING = '',
|
|
3
|
+
ACCEPTED = 1,
|
|
4
|
+
REFUSED = 0,
|
|
5
|
+
AWAITING_CONFORMITY = 2,
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const LabDetail = {
|
|
9
|
+
WAITING: {
|
|
10
|
+
id: Lab.WAITING,
|
|
11
|
+
color: '',
|
|
12
|
+
},
|
|
13
|
+
ACCEPTED: {
|
|
14
|
+
id: Lab.ACCEPTED,
|
|
15
|
+
color: 'success',
|
|
16
|
+
},
|
|
17
|
+
REFUSED: {
|
|
18
|
+
id: Lab.REFUSED,
|
|
19
|
+
color: 'error',
|
|
20
|
+
},
|
|
21
|
+
AWAITING_CONFORMITY: {
|
|
22
|
+
id: Lab.AWAITING_CONFORMITY,
|
|
23
|
+
color: 'primary',
|
|
24
|
+
},
|
|
25
|
+
};
|