@silexpert/core 1.0.187 → 1.0.189
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/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/BrandClementine.d.ts +24 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +22 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.d.ts +16 -0
- package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/es/types/Enum/BrandComptalib.js +14 -0
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.d.ts +22 -0
- package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +22 -0
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.d.ts +115 -2
- package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +26 -0
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/Compensation.d.ts +15 -0
- package/es/types/Enum/Compensation.d.ts.map +1 -0
- package/es/types/Enum/Compensation.js +15 -0
- package/es/types/Enum/Compensation.js.map +1 -0
- package/es/types/Enum/ConstitutionState.d.ts +0 -2
- package/es/types/Enum/ConstitutionState.d.ts.map +1 -1
- package/es/types/Enum/ConstitutionState.js +10 -10
- package/es/types/Enum/ConstitutionState.js.map +1 -1
- package/es/types/Enum/InternalService.d.ts +12 -0
- package/es/types/Enum/InternalService.d.ts.map +1 -1
- package/es/types/Enum/InternalService.js +12 -0
- package/es/types/Enum/InternalService.js.map +1 -1
- package/es/types/Enum/JobTitle.d.ts +7 -1
- package/es/types/Enum/JobTitle.d.ts.map +1 -1
- package/es/types/Enum/JobTitle.js +36 -0
- package/es/types/Enum/JobTitle.js.map +1 -1
- package/es/types/Enum/ReportService.d.ts +9 -4
- package/es/types/Enum/ReportService.d.ts.map +1 -1
- package/es/types/Enum/ReportService.js +17 -6
- package/es/types/Enum/ReportService.js.map +1 -1
- package/es/types/Enum/Role.d.ts +3 -1
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js +2 -0
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Enum/RoleDetail.d.ts +14 -0
- package/es/types/Enum/RoleDetail.d.ts.map +1 -1
- package/es/types/Enum/RoleDetail.js +14 -0
- package/es/types/Enum/RoleDetail.js.map +1 -1
- package/es/types/Enum/TaskResponseType.d.ts +3 -1
- package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/es/types/Enum/TaskResponseType.js +57 -0
- package/es/types/Enum/TaskResponseType.js.map +1 -1
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts +7 -0
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts.map +1 -0
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js +39 -0
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +1 -0
- package/es/types/Interface/api/report/ReadReportStats.d.ts +1 -0
- package/es/types/Interface/api/report/ReadReportStats.d.ts.map +1 -1
- package/es/types/Interface/api/report/ReadReportStats.js.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.d.ts +2 -0
- package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/es/types/Interface/models/IImmobilization.d.ts +2 -0
- package/es/types/Interface/models/IImmobilization.d.ts.map +1 -1
- package/es/types/Interface/models/IImmobilization.js.map +1 -1
- package/es/types/Interface/models/IReport.d.ts +3 -0
- package/es/types/Interface/models/IReport.d.ts.map +1 -1
- package/es/types/Interface/models/IReport.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +2 -1
- 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 +2 -2
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +2 -2
- package/es/types/index.js.map +1 -1
- package/es/utils/brands.d.ts +8 -0
- package/es/utils/brands.d.ts.map +1 -1
- package/es/utils/brands.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/BrandClementine.js +22 -0
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +14 -0
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +22 -0
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +26 -0
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/Compensation.js +20 -0
- package/js/types/Enum/Compensation.js.map +1 -0
- package/js/types/Enum/ConstitutionState.js +6 -6
- package/js/types/Enum/ConstitutionState.js.map +1 -1
- package/js/types/Enum/InternalService.js +12 -0
- package/js/types/Enum/InternalService.js.map +1 -1
- package/js/types/Enum/JobTitle.js +30 -0
- package/js/types/Enum/JobTitle.js.map +1 -1
- package/js/types/Enum/ReportService.js +21 -9
- package/js/types/Enum/ReportService.js.map +1 -1
- package/js/types/Enum/Role.js +2 -0
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Enum/RoleDetail.js +14 -0
- package/js/types/Enum/RoleDetail.js.map +1 -1
- package/js/types/Enum/TaskResponseType.js +52 -0
- package/js/types/Enum/TaskResponseType.js.map +1 -1
- package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js +30 -0
- package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +1 -0
- package/js/types/Interface/api/report/ReadReportStats.js.map +1 -1
- package/js/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/js/types/Interface/models/IImmobilization.js.map +1 -1
- package/js/types/Interface/models/IReport.js.map +1 -1
- package/js/types/Interface/models/ISociety.js.map +1 -1
- package/js/types/index.js +20 -20
- package/js/types/index.js.map +1 -1
- package/js/utils/brands.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Enum/BrandClementine.ts +22 -0
- package/ts/types/Enum/BrandComptalib.ts +14 -0
- package/ts/types/Enum/BrandLegalstart.ts +22 -0
- package/ts/types/Enum/BrandPourcentage.ts +26 -0
- package/ts/types/Enum/Compensation.ts +14 -0
- package/ts/types/Enum/ConstitutionState.ts +4 -4
- package/ts/types/Enum/InternalService.ts +12 -0
- package/ts/types/Enum/JobTitle.ts +36 -0
- package/ts/types/Enum/ReportService.ts +20 -8
- package/ts/types/Enum/Role.ts +2 -0
- package/ts/types/Enum/RoleDetail.ts +14 -0
- package/ts/types/Enum/TaskResponseType.ts +57 -0
- package/ts/types/Interface/api/prestation/QueryCreatePrestationSocieties.ts +27 -0
- package/ts/types/Interface/api/report/ReadReportStats.ts +2 -1
- package/ts/types/Interface/models/IAccountingTransaction.ts +2 -0
- package/ts/types/Interface/models/IImmobilization.ts +2 -0
- package/ts/types/Interface/models/IReport.ts +3 -0
- package/ts/types/Interface/models/ISociety.ts +2 -0
- package/ts/types/index.ts +2 -2
- package/ts/utils/brands.ts +8 -0
- package/es/types/Enum/Office.d.ts +0 -19
- package/es/types/Enum/Office.d.ts.map +0 -1
- package/es/types/Enum/Office.js +0 -20
- package/es/types/Enum/Office.js.map +0 -1
- package/es/types/Enum/TimeRecorderLocation.d.ts +0 -23
- package/es/types/Enum/TimeRecorderLocation.d.ts.map +0 -1
- package/es/types/Enum/TimeRecorderLocation.js +0 -6
- package/es/types/Enum/TimeRecorderLocation.js.map +0 -1
- package/js/types/Enum/Office.js +0 -25
- package/js/types/Enum/Office.js.map +0 -1
- package/js/types/Enum/TimeRecorderLocation.js +0 -14
- package/js/types/Enum/TimeRecorderLocation.js.map +0 -1
- package/ts/types/Enum/Office.ts +0 -19
- package/ts/types/Enum/TimeRecorderLocation.ts +0 -9
package/js/utils/brands.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brands.js","names":["_lodash","require","_BrandClementine","_BrandLegalstart","_BrandComptalib","_BrandPourcentage","getBrandNameByNodeEnv","nodeEnv","env","_a","process","NODE_ENV","API_HOST","indexOf","getAllBrandByNodeEnv","nodeEnvUsed","currentEnvName","listEnvEnum","BrandClementine","BrandLegalstart","BrandComptalib","BrandPourcentage","currentConfigFile","brand","getBrandConfig","params","idTypeBrand","objectWaited","find","b","sort","a","objectToReturn","getLodash","brandDefault","name","getBrandByEmail","email","exports"],"sources":["../../ts/utils/brands.ts"],"sourcesContent":["import { get as getLodash } from 'lodash';\nimport { BrandClementine } from '../types/Enum/BrandClementine';\nimport { BrandLegalstart } from '../types/Enum/BrandLegalstart';\nimport { BrandComptalib } from '../types/Enum/BrandComptalib';\nimport { BrandPourcentage } from '../types/Enum/BrandPourcentage';\n\ntype brand = {\n idTypeBrand: number,\n colors: {\n primary: string,\n },\n listMails: {\n bonjour: string,\n },\n listPhones: {\n contact: string,\n },\n name: string,\n urlApi1?: string,\n urlClient?: string,\n urlApp?: string,\n};\n\ntype getBrandConfigParams = {\n idTypeBrand?: number,\n objectWaited?: string,\n nodeEnv?: string\n};\n\nconst getBrandNameByNodeEnv = (nodeEnv?: string): 'Legalstart' | 'Comptalib' | 'Clementine' | 'Pourcentage' => {\n const env = nodeEnv ?? process.env.NODE_ENV ?? process.env.API_HOST;\n if (env) {\n if (env.indexOf('legalstart') > -1 || env.indexOf('Legalstart') > -1) {\n return 'Legalstart';\n }\n if (env.indexOf('comptalib') > -1 || env.indexOf('Comptalib') > -1) {\n return 'Comptalib';\n }\n if (env.indexOf('pourcentage') > -1 || env.indexOf('Pourcentage') > -1) {\n return 'Pourcentage';\n }\n }\n return 'Clementine';\n};\n\nconst getAllBrandByNodeEnv = (nodeEnv?: string): Array<brand> => {\n const nodeEnvUsed = nodeEnv ?? process.env.NODE_ENV;\n const currentEnvName = getBrandNameByNodeEnv(nodeEnvUsed);\n const listEnvEnum = {\n BrandClementine, BrandLegalstart, BrandComptalib, BrandPourcentage,\n };\n // @ts-ignore\n const currentConfigFile:brand[] = listEnvEnum[`Brand${currentEnvName}`];\n\n const brand = currentConfigFile;\n\n return brand;\n};\n\nconst getBrandConfig = (params: getBrandConfigParams): brand => {\n const {\n idTypeBrand = null, objectWaited = null, nodeEnv,\n } = params;\n let brand;\n const nodeEnvUsed = nodeEnv ?? process.env.NODE_ENV;\n const currentEnvName = getBrandNameByNodeEnv(nodeEnvUsed);\n const listEnvEnum = {\n BrandClementine, BrandLegalstart, BrandComptalib, BrandPourcentage,\n };\n // @ts-ignore\n const currentConfigFile:brand[] = listEnvEnum[`Brand${currentEnvName}`];\n\n if (idTypeBrand) {\n // Récupération de la brand via idTypeBrand\n brand = currentConfigFile.find((b: brand) => b.idTypeBrand === idTypeBrand);\n }\n // else if (idSociety) {\n // Récupération de la brand via l'idSociety -> impossible directement depuis le core (pas d'accès au resources, ni au token pour l'appel via fetch)\n\n if (!brand) {\n // Si aucune brand trouvée, on passe par défaut la première brand de la liste\n [brand] = currentConfigFile.sort((a: brand, b: brand) => a.idTypeBrand - b.idTypeBrand);\n }\n\n if (objectWaited) {\n // Si on attend un attribut particulier de la brand, on le parcourt\n let objectToReturn = getLodash(brand, objectWaited);\n // Si aucun attribut trouvé, on renvoit celui de Clementine par défaut\n if (!objectToReturn) {\n const brandDefault = currentConfigFile.find((b: brand) => b.name === currentEnvName);\n objectToReturn = getLodash(brandDefault, objectWaited);\n }\n return objectToReturn;\n }\n\n return brand;\n};\n\nconst getBrandByEmail = (email: string): 'Legalstart' | 'Comptalib' | 'Clementine' | 'Pourcentage' | 'Lecomptablefrancais' | null => {\n if (email.indexOf('legalstart.fr') > -1) return 'Legalstart';\n if (email.indexOf('comptalib.com') > -1) return 'Comptalib';\n if (email.indexOf('pourcentage.fr') > -1) return 'Pourcentage';\n if (email.indexOf('compta-clementine.fr') > -1) return 'Clementine';\n if (email.indexOf('clementine.fr') > -1) return 'Clementine';\n if (email.indexOf('lecomptablefrancais.fr') > -1) return 'Lecomptablefrancais';\n return null;\n};\n\nexport {\n getBrandConfig, getAllBrandByNodeEnv, getBrandNameByNodeEnv, getBrandByEmail,\n};"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,gBAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;
|
|
1
|
+
{"version":3,"file":"brands.js","names":["_lodash","require","_BrandClementine","_BrandLegalstart","_BrandComptalib","_BrandPourcentage","getBrandNameByNodeEnv","nodeEnv","env","_a","process","NODE_ENV","API_HOST","indexOf","getAllBrandByNodeEnv","nodeEnvUsed","currentEnvName","listEnvEnum","BrandClementine","BrandLegalstart","BrandComptalib","BrandPourcentage","currentConfigFile","brand","getBrandConfig","params","idTypeBrand","objectWaited","find","b","sort","a","objectToReturn","getLodash","brandDefault","name","getBrandByEmail","email","exports"],"sources":["../../ts/utils/brands.ts"],"sourcesContent":["import { get as getLodash } from 'lodash';\nimport { BrandClementine } from '../types/Enum/BrandClementine';\nimport { BrandLegalstart } from '../types/Enum/BrandLegalstart';\nimport { BrandComptalib } from '../types/Enum/BrandComptalib';\nimport { BrandPourcentage } from '../types/Enum/BrandPourcentage';\n\ntype brand = {\n idTypeBrand: number,\n colors: {\n primary: string,\n },\n listMails: {\n bonjour: string,\n },\n listPhones: {\n contact: string,\n },\n name: string,\n urlApi1?: string,\n urlClient?: string,\n urlApp?: string,\n offices?: {\n LAXOU: {\n id : number,\n },\n HOME_OFFICE: {\n id : number,\n }\n },\n};\n\ntype getBrandConfigParams = {\n idTypeBrand?: number,\n objectWaited?: string,\n nodeEnv?: string\n};\n\nconst getBrandNameByNodeEnv = (nodeEnv?: string): 'Legalstart' | 'Comptalib' | 'Clementine' | 'Pourcentage' => {\n const env = nodeEnv ?? process.env.NODE_ENV ?? process.env.API_HOST;\n if (env) {\n if (env.indexOf('legalstart') > -1 || env.indexOf('Legalstart') > -1) {\n return 'Legalstart';\n }\n if (env.indexOf('comptalib') > -1 || env.indexOf('Comptalib') > -1) {\n return 'Comptalib';\n }\n if (env.indexOf('pourcentage') > -1 || env.indexOf('Pourcentage') > -1) {\n return 'Pourcentage';\n }\n }\n return 'Clementine';\n};\n\nconst getAllBrandByNodeEnv = (nodeEnv?: string): Array<brand> => {\n const nodeEnvUsed = nodeEnv ?? process.env.NODE_ENV;\n const currentEnvName = getBrandNameByNodeEnv(nodeEnvUsed);\n const listEnvEnum = {\n BrandClementine, BrandLegalstart, BrandComptalib, BrandPourcentage,\n };\n // @ts-ignore\n const currentConfigFile:brand[] = listEnvEnum[`Brand${currentEnvName}`];\n\n const brand = currentConfigFile;\n\n return brand;\n};\n\nconst getBrandConfig = (params: getBrandConfigParams): brand => {\n const {\n idTypeBrand = null, objectWaited = null, nodeEnv,\n } = params;\n let brand;\n const nodeEnvUsed = nodeEnv ?? process.env.NODE_ENV;\n const currentEnvName = getBrandNameByNodeEnv(nodeEnvUsed);\n const listEnvEnum = {\n BrandClementine, BrandLegalstart, BrandComptalib, BrandPourcentage,\n };\n // @ts-ignore\n const currentConfigFile:brand[] = listEnvEnum[`Brand${currentEnvName}`];\n\n if (idTypeBrand) {\n // Récupération de la brand via idTypeBrand\n brand = currentConfigFile.find((b: brand) => b.idTypeBrand === idTypeBrand);\n }\n // else if (idSociety) {\n // Récupération de la brand via l'idSociety -> impossible directement depuis le core (pas d'accès au resources, ni au token pour l'appel via fetch)\n\n if (!brand) {\n // Si aucune brand trouvée, on passe par défaut la première brand de la liste\n [brand] = currentConfigFile.sort((a: brand, b: brand) => a.idTypeBrand - b.idTypeBrand);\n }\n\n if (objectWaited) {\n // Si on attend un attribut particulier de la brand, on le parcourt\n let objectToReturn = getLodash(brand, objectWaited);\n // Si aucun attribut trouvé, on renvoit celui de Clementine par défaut\n if (!objectToReturn) {\n const brandDefault = currentConfigFile.find((b: brand) => b.name === currentEnvName);\n objectToReturn = getLodash(brandDefault, objectWaited);\n }\n return objectToReturn;\n }\n\n return brand;\n};\n\nconst getBrandByEmail = (email: string): 'Legalstart' | 'Comptalib' | 'Clementine' | 'Pourcentage' | 'Lecomptablefrancais' | null => {\n if (email.indexOf('legalstart.fr') > -1) return 'Legalstart';\n if (email.indexOf('comptalib.com') > -1) return 'Comptalib';\n if (email.indexOf('pourcentage.fr') > -1) return 'Pourcentage';\n if (email.indexOf('compta-clementine.fr') > -1) return 'Clementine';\n if (email.indexOf('clementine.fr') > -1) return 'Clementine';\n if (email.indexOf('lecomptablefrancais.fr') > -1) return 'Lecomptablefrancais';\n return null;\n};\n\nexport {\n getBrandConfig, getAllBrandByNodeEnv, getBrandNameByNodeEnv, getBrandByEmail,\n};"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.189",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -29,7 +29,7 @@ export const BalanceSheetDetails = [
|
|
|
29
29
|
text: 'À faire',
|
|
30
30
|
color: 'grey',
|
|
31
31
|
textColor: 'grey--text',
|
|
32
|
-
forRoles: [['front_office'], ['front_office_express'], ['expert'], ['customer_success']],
|
|
32
|
+
forRoles: [['front_office'], ['front_office_express'], ['expert'], ['customer_success'], ['facturation']],
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
text: 'En cours de prod.',
|
|
@@ -85,6 +85,28 @@ export const BrandClementine = [
|
|
|
85
85
|
domain: '@compta-clementine.fr',
|
|
86
86
|
domain2: '@clementine.fr',
|
|
87
87
|
},
|
|
88
|
+
offices: {
|
|
89
|
+
LAXOU: {
|
|
90
|
+
id: 1,
|
|
91
|
+
name: 'Laxou',
|
|
92
|
+
},
|
|
93
|
+
PARIS: {
|
|
94
|
+
id: 2,
|
|
95
|
+
name: 'Paris',
|
|
96
|
+
},
|
|
97
|
+
MARSEILLE: {
|
|
98
|
+
id: 3,
|
|
99
|
+
name: 'Marseille',
|
|
100
|
+
},
|
|
101
|
+
EPINAL: {
|
|
102
|
+
id: 4,
|
|
103
|
+
name: 'Epinal',
|
|
104
|
+
},
|
|
105
|
+
HOME_OFFICE: {
|
|
106
|
+
id: 5,
|
|
107
|
+
name: 'Télétravail',
|
|
108
|
+
},
|
|
109
|
+
},
|
|
88
110
|
},
|
|
89
111
|
{
|
|
90
112
|
idTypeBrand: 2,
|
|
@@ -60,6 +60,20 @@ export const BrandComptalib = [
|
|
|
60
60
|
webmail: {
|
|
61
61
|
domain: '@comptalib.com',
|
|
62
62
|
},
|
|
63
|
+
offices: {
|
|
64
|
+
LAXOU: {
|
|
65
|
+
id: 1,
|
|
66
|
+
name: 'Laxou',
|
|
67
|
+
},
|
|
68
|
+
PARIS: {
|
|
69
|
+
id: 2,
|
|
70
|
+
name: 'Paris',
|
|
71
|
+
},
|
|
72
|
+
HOME_OFFICE: {
|
|
73
|
+
id: 5,
|
|
74
|
+
name: 'Télétravail',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
63
77
|
},
|
|
64
78
|
{
|
|
65
79
|
idTypeBrand: 2,
|
|
@@ -79,5 +79,27 @@ export const BrandLegalstart = [
|
|
|
79
79
|
webmail: {
|
|
80
80
|
domain: '@legalstart.fr',
|
|
81
81
|
},
|
|
82
|
+
offices: {
|
|
83
|
+
LAXOU: {
|
|
84
|
+
id: 1,
|
|
85
|
+
name: 'Laxou',
|
|
86
|
+
},
|
|
87
|
+
PARIS: {
|
|
88
|
+
id: 2,
|
|
89
|
+
name: 'Paris',
|
|
90
|
+
},
|
|
91
|
+
MARSEILLE: {
|
|
92
|
+
id: 3,
|
|
93
|
+
name: 'Marseille',
|
|
94
|
+
},
|
|
95
|
+
EPINAL: {
|
|
96
|
+
id: 4,
|
|
97
|
+
name: 'Epinal',
|
|
98
|
+
},
|
|
99
|
+
HOME_OFFICE: {
|
|
100
|
+
id: 5,
|
|
101
|
+
name: 'Télétravail',
|
|
102
|
+
},
|
|
103
|
+
},
|
|
82
104
|
},
|
|
83
105
|
];
|
|
@@ -85,6 +85,32 @@ export const BrandPourcentage = [
|
|
|
85
85
|
webmail: {
|
|
86
86
|
domain: '@pourcentage.fr',
|
|
87
87
|
},
|
|
88
|
+
offices: {
|
|
89
|
+
LAXOU: {
|
|
90
|
+
id: 1,
|
|
91
|
+
name: 'Laxou',
|
|
92
|
+
},
|
|
93
|
+
PARIS: {
|
|
94
|
+
id: 2,
|
|
95
|
+
name: 'Paris',
|
|
96
|
+
},
|
|
97
|
+
MARSEILLE: {
|
|
98
|
+
id: 3,
|
|
99
|
+
name: 'Marseille',
|
|
100
|
+
},
|
|
101
|
+
EPINAL: {
|
|
102
|
+
id: 4,
|
|
103
|
+
name: 'Epinal',
|
|
104
|
+
},
|
|
105
|
+
HOME_OFFICE: {
|
|
106
|
+
id: 5,
|
|
107
|
+
name: 'Télétravail',
|
|
108
|
+
},
|
|
109
|
+
NICE: {
|
|
110
|
+
id: 6,
|
|
111
|
+
name: 'Nice',
|
|
112
|
+
},
|
|
113
|
+
},
|
|
88
114
|
},
|
|
89
115
|
{
|
|
90
116
|
idTypeBrand: 2,
|
|
@@ -8,8 +8,8 @@ export enum ConstitutionState {
|
|
|
8
8
|
// TODO : A delete une fois plus utilisé
|
|
9
9
|
// ========================
|
|
10
10
|
WAITING_KBIS = 7,
|
|
11
|
-
WAITING_RIB_OR_SEPA = 8,
|
|
12
|
-
INVOICING_TO_D0 = 9,
|
|
11
|
+
/* WAITING_RIB_OR_SEPA = 8,
|
|
12
|
+
INVOICING_TO_D0 = 9, */
|
|
13
13
|
// ========================
|
|
14
14
|
ABANDONED_CASE = 10,
|
|
15
15
|
}
|
|
@@ -50,7 +50,7 @@ export const ConstitutionStateDetail: ConstitutionStateType = {
|
|
|
50
50
|
text: 'Attente KBIS greffe',
|
|
51
51
|
color: 'purple lighten-4',
|
|
52
52
|
},
|
|
53
|
-
WAITING_RIB_OR_SEPA: {
|
|
53
|
+
/* WAITING_RIB_OR_SEPA: {
|
|
54
54
|
value: ConstitutionState.WAITING_RIB_OR_SEPA,
|
|
55
55
|
text: 'Envoi de KBIS',
|
|
56
56
|
color: 'yellow lighten-4',
|
|
@@ -59,7 +59,7 @@ export const ConstitutionStateDetail: ConstitutionStateType = {
|
|
|
59
59
|
value: ConstitutionState.INVOICING_TO_D0,
|
|
60
60
|
text: 'Facturation à faire',
|
|
61
61
|
color: 'primary lighten-2',
|
|
62
|
-
},
|
|
62
|
+
}, */
|
|
63
63
|
// ========================================
|
|
64
64
|
ABANDONED_CASE: {
|
|
65
65
|
value: ConstitutionState.ABANDONED_CASE,
|
|
@@ -21,4 +21,16 @@ export const InternalService = {
|
|
|
21
21
|
idRole: Role.FACTURATION,
|
|
22
22
|
name: 'Facturation',
|
|
23
23
|
},
|
|
24
|
+
REFERENT_LITIGE: {
|
|
25
|
+
idRole: Role.REFERENT_LITIGE,
|
|
26
|
+
name: 'Référent litige',
|
|
27
|
+
},
|
|
28
|
+
REFERENT_CLIENT: {
|
|
29
|
+
idRole: Role.REFERENT_CLIENT,
|
|
30
|
+
name: 'Référent client',
|
|
31
|
+
},
|
|
32
|
+
EXPERT_ACCOUNTANT: {
|
|
33
|
+
idRole: Role.EXPERT_ACCOUNTANT,
|
|
34
|
+
name: 'Expert Comptable',
|
|
35
|
+
},
|
|
24
36
|
};
|
|
@@ -18,6 +18,12 @@ export enum JobTitle {
|
|
|
18
18
|
BILLING_ASSISTANT = 17,
|
|
19
19
|
COMMERCIAL = 18,
|
|
20
20
|
ACCOUNTING_CONSULTANT = 19,
|
|
21
|
+
COMMUNICATION_MANAGER = 20,
|
|
22
|
+
INTERNAL_CONTROL_REFERENT = 21,
|
|
23
|
+
TRAFIC_MANAGER = 22,
|
|
24
|
+
EXECUTIVE_ASSISTANT = 23,
|
|
25
|
+
INTERNAL_CONTROL_MANAGER = 24,
|
|
26
|
+
HUMAN_RESOURCES_MANAGER = 25,
|
|
21
27
|
}
|
|
22
28
|
|
|
23
29
|
export const JobTitleList: Array<{ id: JobTitle; menText: string, womenText: string }> = [
|
|
@@ -116,4 +122,34 @@ export const JobTitleList: Array<{ id: JobTitle; menText: string, womenText: str
|
|
|
116
122
|
menText: 'Conseiller comptable',
|
|
117
123
|
womenText: 'Conseillère comptable',
|
|
118
124
|
},
|
|
125
|
+
{
|
|
126
|
+
id: JobTitle.COMMUNICATION_MANAGER,
|
|
127
|
+
menText: 'Chargé de communication',
|
|
128
|
+
womenText: 'Chargée de communication',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
id: JobTitle.INTERNAL_CONTROL_REFERENT,
|
|
132
|
+
menText: 'Référent du contrôle interne',
|
|
133
|
+
womenText: 'Référente du contrôle interne',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: JobTitle.TRAFIC_MANAGER,
|
|
137
|
+
menText: 'Trafic Manager',
|
|
138
|
+
womenText: 'Trafic Manager',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: JobTitle.EXECUTIVE_ASSISTANT,
|
|
142
|
+
menText: 'Assistant de Direction',
|
|
143
|
+
womenText: 'Assistante de Direction',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
id: JobTitle.INTERNAL_CONTROL_MANAGER,
|
|
147
|
+
menText: 'Chargé du contrôle interne',
|
|
148
|
+
womenText: 'Chargée du contrôle interne',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: JobTitle.HUMAN_RESOURCES_MANAGER,
|
|
152
|
+
menText: 'Chargé des ressources humaines',
|
|
153
|
+
womenText: 'Chargée des ressources humaines',
|
|
154
|
+
},
|
|
119
155
|
];
|
|
@@ -1,32 +1,44 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RoleDetail } from './RoleDetail';
|
|
2
|
+
|
|
3
|
+
export type ListReport = Array<{ label: string; id: number; idRole: number; idTaskType: number; }>;
|
|
2
4
|
|
|
3
5
|
export enum ReportService {
|
|
4
|
-
|
|
6
|
+
REFERENT_LITIGE = 1,
|
|
5
7
|
COMPTABLE = 2,
|
|
6
8
|
CUSTOMER_SUCCESS = 3,
|
|
7
9
|
EXPERT_ACCOUNTANT = 4,
|
|
8
|
-
|
|
10
|
+
REFERENT_CLIENT = 5,
|
|
9
11
|
}
|
|
10
12
|
|
|
11
|
-
export const ReportServiceList:
|
|
13
|
+
export const ReportServiceList: ListReport = [
|
|
12
14
|
{
|
|
13
|
-
id: ReportService.
|
|
14
|
-
label: '
|
|
15
|
+
id: ReportService.REFERENT_LITIGE,
|
|
16
|
+
label: 'Référent litige',
|
|
17
|
+
idRole: RoleDetail.REFERENT_LITIGE.id,
|
|
18
|
+
idTaskType: 12,
|
|
15
19
|
},
|
|
16
20
|
{
|
|
17
21
|
id: ReportService.COMPTABLE,
|
|
18
22
|
label: 'Comptable',
|
|
23
|
+
idRole: RoleDetail.FRONT_OFFICE.id,
|
|
24
|
+
idTaskType: 16,
|
|
19
25
|
},
|
|
20
26
|
{
|
|
21
27
|
id: ReportService.CUSTOMER_SUCCESS,
|
|
22
28
|
label: 'Customer Success',
|
|
29
|
+
idRole: RoleDetail.CUSTOMER_SUCCESS.id,
|
|
30
|
+
idTaskType: 14,
|
|
23
31
|
},
|
|
24
32
|
{
|
|
25
33
|
id: ReportService.EXPERT_ACCOUNTANT,
|
|
26
34
|
label: 'Expert Comptable',
|
|
35
|
+
idRole: RoleDetail.EXPERT_ACCOUNTANT.id,
|
|
36
|
+
idTaskType: 15,
|
|
27
37
|
},
|
|
28
38
|
{
|
|
29
|
-
id: ReportService.
|
|
30
|
-
label: '
|
|
39
|
+
id: ReportService.REFERENT_CLIENT,
|
|
40
|
+
label: 'Référent client',
|
|
41
|
+
idRole: RoleDetail.REFERENT_CLIENT.id,
|
|
42
|
+
idTaskType: 13,
|
|
31
43
|
},
|
|
32
44
|
];
|
package/ts/types/Enum/Role.ts
CHANGED
|
@@ -292,4 +292,18 @@ export const RoleDetail = {
|
|
|
292
292
|
colorSecondary: '#FFF',
|
|
293
293
|
subRole: true,
|
|
294
294
|
},
|
|
295
|
+
REFERENT_LITIGE: {
|
|
296
|
+
id: 47,
|
|
297
|
+
name: 'Référent litige',
|
|
298
|
+
colorPrimary: '#FFF',
|
|
299
|
+
colorSecondary: '#FFF',
|
|
300
|
+
subRole: true,
|
|
301
|
+
},
|
|
302
|
+
REFERENT_CLIENT: {
|
|
303
|
+
id: 48,
|
|
304
|
+
name: 'Référent client',
|
|
305
|
+
colorPrimary: '#FFF',
|
|
306
|
+
colorSecondary: '#FFF',
|
|
307
|
+
subRole: true,
|
|
308
|
+
},
|
|
295
309
|
};
|
|
@@ -33,6 +33,8 @@ export enum RoleAvailableForTask {
|
|
|
33
33
|
COMMERCIAL = Role.COMMERCIAL,
|
|
34
34
|
// BACK_MANAGER = Role.BACK_MANAGER,
|
|
35
35
|
EXPERT_ACCOUNTANT = Role.EXPERT_ACCOUNTANT,
|
|
36
|
+
REFERENT_CLIENT = Role.EXPERT_ACCOUNTANT,
|
|
37
|
+
REFERENT_LITIGE = Role.EXPERT_ACCOUNTANT,
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
export const TaskResponseType = {
|
|
@@ -161,6 +163,61 @@ export const TaskResponseType = {
|
|
|
161
163
|
responseType: null,
|
|
162
164
|
description: 'Est-ce que nous pouvons réaliser le bilan 2020 de ce client ?',
|
|
163
165
|
},
|
|
166
|
+
{
|
|
167
|
+
id: 12,
|
|
168
|
+
label: 'Référent litige',
|
|
169
|
+
role: Role.REFERENT_LITIGE,
|
|
170
|
+
deadline: Deadline,
|
|
171
|
+
isForWholeRole: false,
|
|
172
|
+
backToClient: false,
|
|
173
|
+
goToCalendar: false,
|
|
174
|
+
responseType: null,
|
|
175
|
+
description: 'Signalement pour référent litige',
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
id: 13,
|
|
179
|
+
label: 'Référent client',
|
|
180
|
+
role: Role.REFERENT_CLIENT,
|
|
181
|
+
deadline: Deadline,
|
|
182
|
+
isForWholeRole: false,
|
|
183
|
+
backToClient: false,
|
|
184
|
+
goToCalendar: false,
|
|
185
|
+
responseType: null,
|
|
186
|
+
description: 'Signalement pour référent client',
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
id: 14,
|
|
190
|
+
label: 'Administratif',
|
|
191
|
+
role: Role.ADMIN,
|
|
192
|
+
deadline: Deadline,
|
|
193
|
+
isForWholeRole: false,
|
|
194
|
+
backToClient: false,
|
|
195
|
+
goToCalendar: false,
|
|
196
|
+
responseType: null,
|
|
197
|
+
description: 'Signalement pour administratif',
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
id: 15,
|
|
201
|
+
label: 'Expert-Comptable',
|
|
202
|
+
role: Role.EXPERT_ACCOUNTANT,
|
|
203
|
+
deadline: Deadline,
|
|
204
|
+
isForWholeRole: false,
|
|
205
|
+
backToClient: false,
|
|
206
|
+
goToCalendar: false,
|
|
207
|
+
responseType: null,
|
|
208
|
+
description: 'Signalement pour expert-comptable',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
id: 16,
|
|
212
|
+
label: 'Comptable',
|
|
213
|
+
role: Role.FRONT_OFFICE,
|
|
214
|
+
deadline: Deadline,
|
|
215
|
+
isForWholeRole: false,
|
|
216
|
+
backToClient: false,
|
|
217
|
+
goToCalendar: false,
|
|
218
|
+
responseType: null,
|
|
219
|
+
description: 'Signalement pour comptable',
|
|
220
|
+
},
|
|
164
221
|
],
|
|
165
222
|
},
|
|
166
223
|
EXTERN: {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsArray, IsDate, IsInt, IsNumber,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty } from '../../../../utils';
|
|
5
|
+
|
|
6
|
+
export class QueryCreatePrestationSocieties {
|
|
7
|
+
@ApiProperty({
|
|
8
|
+
description: 'array of id society',
|
|
9
|
+
required: true,
|
|
10
|
+
type: [Number],
|
|
11
|
+
example: [1, 13],
|
|
12
|
+
})
|
|
13
|
+
@IsArray()
|
|
14
|
+
societiesIds: number[];
|
|
15
|
+
|
|
16
|
+
@ApiProperty()
|
|
17
|
+
@IsDate()
|
|
18
|
+
datePayment: Date;
|
|
19
|
+
|
|
20
|
+
@ApiProperty()
|
|
21
|
+
@IsInt()
|
|
22
|
+
idPrestationList: number;
|
|
23
|
+
|
|
24
|
+
@ApiProperty()
|
|
25
|
+
@IsNumber()
|
|
26
|
+
amount: number;
|
|
27
|
+
}
|
|
@@ -11,6 +11,7 @@ import { IComptaType } from './IComptaType';
|
|
|
11
11
|
import { IPartnerTransaction } from './IPartnerTransaction';
|
|
12
12
|
import { ICurrency } from './ICurrency';
|
|
13
13
|
import { IMachineLearningResult } from './IMachineLearningResult';
|
|
14
|
+
import { ISocietyPartner } from './ISocietyPartner';
|
|
14
15
|
|
|
15
16
|
// accountingTransactions
|
|
16
17
|
export interface IAccountingTransaction {
|
|
@@ -73,4 +74,5 @@ export interface IAccountingTransaction {
|
|
|
73
74
|
parents?: IAccountingTransaction[];
|
|
74
75
|
childs?: IAccountingTransaction[];
|
|
75
76
|
machineLearningResults?: IMachineLearningResult[];
|
|
77
|
+
societyPartner?: ISocietyPartner;
|
|
76
78
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IAccountingEntry } from './IAccountingEntry';
|
|
2
2
|
import { ISociety } from './ISociety';
|
|
3
3
|
import { DepreciationMethods } from '../../Enum/ImmobilizationType';
|
|
4
|
+
import { IAccount } from './IAccount';
|
|
4
5
|
|
|
5
6
|
export interface IImmobilization {
|
|
6
7
|
id?: number;
|
|
@@ -22,5 +23,6 @@ export interface IImmobilization {
|
|
|
22
23
|
|
|
23
24
|
// Associations
|
|
24
25
|
society?: ISociety;
|
|
26
|
+
account?: Partial<IAccount>;
|
|
25
27
|
accountingEntries?: IAccountingEntry[];
|
|
26
28
|
}
|
|
@@ -10,6 +10,9 @@ export interface IReport {
|
|
|
10
10
|
idLetterType?: number | null;
|
|
11
11
|
declareSoupcons?: boolean | null;
|
|
12
12
|
state?: number | null;
|
|
13
|
+
compensationAmount?: number | null;
|
|
14
|
+
compensationDate?: Date | null;
|
|
15
|
+
compensationType?: number | null;
|
|
13
16
|
informerjlb?: boolean | null;
|
|
14
17
|
ressenti?: number | null;
|
|
15
18
|
action?: number | null;
|
|
@@ -52,6 +52,7 @@ import {
|
|
|
52
52
|
ISocietyConfigBalanceSheet,
|
|
53
53
|
IAccountsSocieties,
|
|
54
54
|
IUnpaidCallHistory,
|
|
55
|
+
IAccountingFile,
|
|
55
56
|
} from '../..';
|
|
56
57
|
import { IBrandType } from './IBrandType';
|
|
57
58
|
import { IFile } from './IFile';
|
|
@@ -220,4 +221,5 @@ export interface ISociety {
|
|
|
220
221
|
gedFiles: IGedFile[];
|
|
221
222
|
files: IFile[];
|
|
222
223
|
unpaidCallHistory: IUnpaidCallHistory[];
|
|
224
|
+
accountingFiles?: IAccountingFile[];
|
|
223
225
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -344,10 +344,8 @@ export * from './Enum/Quality';
|
|
|
344
344
|
export * from './Enum/AbsenceType';
|
|
345
345
|
export * from './Enum/Role';
|
|
346
346
|
export * from './Enum/RoleDetail';
|
|
347
|
-
export * from './Enum/Office';
|
|
348
347
|
export * from './Enum/PrestationOption';
|
|
349
348
|
export * from './Enum/TimeCounterType';
|
|
350
|
-
export * from './Enum/TimeRecorderLocation';
|
|
351
349
|
export * from './Enum/MailAuto';
|
|
352
350
|
export * from './Enum/MailAddressType';
|
|
353
351
|
export * from './Enum/Simulation';
|
|
@@ -481,6 +479,7 @@ export * from './Enum/CommercialImportHeader';
|
|
|
481
479
|
export * from './Enum/ReasonTerminationType';
|
|
482
480
|
export * from './Enum/RemoteType';
|
|
483
481
|
export * from './Enum/EntityType';
|
|
482
|
+
export * from './Enum/Compensation';
|
|
484
483
|
|
|
485
484
|
// Interfaces API
|
|
486
485
|
export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
|
|
@@ -877,6 +876,7 @@ export * from './Interface/api/societyConfig/update';
|
|
|
877
876
|
export * from './Interface/api/wallet/UpdateAttribution';
|
|
878
877
|
export * from './Interface/api/prestation/CreatePrestation';
|
|
879
878
|
export * from './Interface/api/prestation/QueryPrestation';
|
|
879
|
+
export * from './Interface/api/prestation/QueryCreatePrestationSocieties';
|
|
880
880
|
export * from './Interface/api/paymentExpectation/QueryPaymentExpectation';
|
|
881
881
|
export * from './Interface/api/legalNotice/UpdateLegalNotice';
|
|
882
882
|
export * from './Interface/api/wallet/QueryWallet';
|
package/ts/utils/brands.ts
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const Office: {
|
|
2
|
-
LAXOU: {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
};
|
|
6
|
-
PARIS: {
|
|
7
|
-
id: number;
|
|
8
|
-
name: string;
|
|
9
|
-
};
|
|
10
|
-
MARSEILLE: {
|
|
11
|
-
id: number;
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
EPINAL: {
|
|
15
|
-
id: number;
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=Office.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Office.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Office.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;CAkBlB,CAAC"}
|
package/es/types/Enum/Office.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const Office = {
|
|
2
|
-
LAXOU: {
|
|
3
|
-
id: 1,
|
|
4
|
-
name: 'Laxou',
|
|
5
|
-
},
|
|
6
|
-
PARIS: {
|
|
7
|
-
id: 2,
|
|
8
|
-
name: 'Paris',
|
|
9
|
-
},
|
|
10
|
-
MARSEILLE: {
|
|
11
|
-
id: 3,
|
|
12
|
-
name: 'Marseille',
|
|
13
|
-
},
|
|
14
|
-
EPINAL: {
|
|
15
|
-
id: 4,
|
|
16
|
-
name: 'Epinal',
|
|
17
|
-
},
|
|
18
|
-
// WARNING: used in TimeRecorderLocation (HOME_OFFICE.id = 5)
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=Office.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Office.js","sourceRoot":"","sources":["../../../ts/types/Enum/Office.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,OAAO;KACd;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,OAAO;KACd;IACD,SAAS,EAAE;QACT,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,WAAW;KAClB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,QAAQ;KACf;IACD,6DAA6D;CAC9D,CAAC","sourcesContent":["export const Office = {\n LAXOU: {\n id: 1,\n name: 'Laxou',\n },\n PARIS: {\n id: 2,\n name: 'Paris',\n },\n MARSEILLE: {\n id: 3,\n name: 'Marseille',\n },\n EPINAL: {\n id: 4,\n name: 'Epinal',\n },\n // WARNING: used in TimeRecorderLocation (HOME_OFFICE.id = 5)\n};"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const TimeRecorderLocation: {
|
|
2
|
-
HOME_OFFICE: {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
};
|
|
6
|
-
LAXOU: {
|
|
7
|
-
id: number;
|
|
8
|
-
name: string;
|
|
9
|
-
};
|
|
10
|
-
PARIS: {
|
|
11
|
-
id: number;
|
|
12
|
-
name: string;
|
|
13
|
-
};
|
|
14
|
-
MARSEILLE: {
|
|
15
|
-
id: number;
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
EPINAL: {
|
|
19
|
-
id: number;
|
|
20
|
-
name: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=TimeRecorderLocation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TimeRecorderLocation.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/TimeRecorderLocation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;CAMhC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TimeRecorderLocation.js","sourceRoot":"","sources":["../../../ts/types/Enum/TimeRecorderLocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,CAAC,MAAM,oBAAoB,mCAC5B,MAAM,KACT,WAAW,EAAE;QACX,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,aAAa;KACpB,GACF,CAAC","sourcesContent":["import { Office } from './Office';\n\nexport const TimeRecorderLocation = {\n ...Office,\n HOME_OFFICE: {\n id: 5,\n name: 'Télétravail',\n },\n};"]}
|