@silexpert/core 1.0.188 → 1.0.190
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/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/Log.d.ts +6 -1
- package/es/types/Enum/Log.d.ts.map +1 -1
- package/es/types/Enum/Log.js +5 -0
- package/es/types/Enum/Log.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/archive/ImportSocietyArchive.d.ts +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts.map +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.js +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.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 -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/es/utils/email/templates/signature.d.ts.map +1 -1
- package/es/utils/email/templates/signature.js +2 -1
- package/es/utils/email/templates/signature.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/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/Log.js +5 -0
- package/js/types/Enum/Log.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/archive/ImportSocietyArchive.js +1 -1
- package/js/types/Interface/api/archive/ImportSocietyArchive.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 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/email/templates/signature.js +2 -1
- package/js/utils/email/templates/signature.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- 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/Log.ts +5 -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/archive/ImportSocietyArchive.ts +1 -1
- 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 -0
- package/ts/utils/email/templates/signature.ts +2 -1
|
@@ -23,7 +23,8 @@ const avatar = `<% if (!forceRole && user?.avatar?.token) { %>
|
|
|
23
23
|
width="100">
|
|
24
24
|
<p style="padding: 20px;background-image: url('https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_quotes.png');background-size: 26%;background-position: 81% -3%;background-repeat: no-repeat;">
|
|
25
25
|
<img
|
|
26
|
-
style="max-height: 90px;max-width: 90px; border-radius: 100%; padding-top:
|
|
26
|
+
style="max-height: 90px;max-width: 90px; border-radius: 100%; padding-top: 10px"
|
|
27
|
+
alt="Avatar"
|
|
27
28
|
src="
|
|
28
29
|
<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>
|
|
29
30
|
"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature.js","names":["logoClementine","avatar","footer","signatureTemplate","exports"],"sources":["../../../../ts/utils/email/templates/signature.ts"],"sourcesContent":["const logoClementine = `<% if (brandName === 'Clementine') { %><tr>\n<td\ncolspan=\"3\"\nclass=\"logo\"\nstyle=\"\"\nwidth=\"850\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/logo_2022.png\"\n alt=\"Logo\"\n height=\"32\"\n style=\"padding-bottom: 10px;\">\n</td>\n</tr><% } %>`;\n\nconst avatar = `<% if (!forceRole && user?.avatar?.token) { %>\n <td\n class=\"avatar\"\n style=\"text-align:center; padding: 20px 0 20px 20px; position: relative;\"\n width=\"100\">\n <p style=\"padding: 20px;background-image: url('https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_quotes.png');background-size: 26%;background-position: 81% -3%;background-repeat: no-repeat;\">\n <img\n style=\"max-height: 90px;max-width: 90px; border-radius: 100%; padding-top: 1Opx\"\n src=\"\n <%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\n \"\n />\n </p>\n </td>\n <% } %>`;\n\nconst footer = `<% if(brandName === 'Clementine') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 20px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.compta-clementine.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n <td style=\"padding:0 10px 0 0\" width=\"170\">\n <a href=\"mailto:<%= supportMail %>\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_support2.png\"\n style=\"vertical-align: text-top;\"\n width=\"17\"\n alt=\"Support technique\"> Support technique\n </a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.youtube.com/channel/UCVnCpcLdRwuYBLvAphHsvig/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_youtube.png\"\n alt=\"YouTube\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.linkedin.com/company/compta-cl%C3%A9mentine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_linkedin.png\"\n alt=\"LinkedIn\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.instagram.com/comptaclementine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_instagram.png\"\n alt=\"Instagram\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"text-align: right; vertical-align: middle; color: #6E6E71\" width=\"430\">\n <span>Télécharger l'app</span>\n <a href=\"https://apps.apple.com/fr/app/clementine/id1119493780\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a>\n </td>\n </tr>\n <tr>\n <td colspan=\"7\" style=\"padding-top: 12px\">\n <span style=\"text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;\">\n Une question ? Découvrez votre <a href=\"https://www.compta-clementine.fr/aide/\" style=\"color: #FF7E3C\">centre d'aide</a>\n </span>\n <span style=\"text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;\">\n Jusqu’à 500€ avec notre <a href=\"https://www.compta-clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta\" style=\"color: #FF7E3C\">programme de parrainage</a>\n </span>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <% } else if(brandName === 'Pourcentage') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 20px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.pourcentage.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n </table>\n </td>\n </tr>\n <% } %>\n`;\n\nexport const signatureTemplate = `<table\nborder=\"0\"\ncellpadding=\"0\"\ncellspacing=\"0\"\nwidth=\"850\"\nclass=\"signatureClementine\">\n\n${logoClementine}\n\n<tr style=\"background: #F4F8FB\">\n ${avatar}\n <td\n class=\"infos\"\n style=\" padding: 20px 0 20px 30px;font-size: 17px; font-family: Arial; color:#000\"\n width=\"290\"\n colspan=\"2\">\n <table\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n width=\"290\">\n <tr>\n <td width=\"290\">\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <strong><span style=\"color:<%= primaryColor %>; font-weight: bold;\"><%= user?.firstname ?? '' %> <%= user?.lastname ?? '' %></span></strong>\n </p>\n\n <% if(roleSignature) { %>\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <span style=\"color: #6E6E71; font-weight: bold;\"><%= roleSignature %></span></p>\n </p>\n <% } %>\n </td>\n </tr>\n </table>\n\n <p style=\"margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2\"><!-- --></p><p style=\"margin:0; padding:0px 0 4px; color:#6E6E71;\"><%= (user.roles && user.roles.length && user.roles.map((r) => r.idRoles).includes(22)) || (user && user.isAll === true) ? 'Nos' : 'Mes' %> horaires :<br/><%= horaires %></p>\n </td>\n \n <td class=\"infos\" style=\"padding: 20px 20px 20px 0px; font-size: 17px; font-family: Arial; color:#000; <%= !user.calendlyUrl ? 'vertical-align: top;' : '' %>\"\n width=\"370\">\n <p style=\"margin:0px 0; padding:2px 0; color:#6E6E71; padding-left: 10px\">\n <span style=\"float:right\">Standard : <%= standardPhoneSignature %></span><br/>\n <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>\n <span style=\"float:right\">Ligne directe : <%- phoneSignature %></span><br/>\n <% } %>\n </p>\n \n <p style=\"margin:20px 60px 0 0; padding:0px 0 4px; color:#6E6E71; text-align: right; height: 54px;\">\n <% if(user.calendlyUrl) { %>\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rightArrow.png\"\n alt=\"Prenez rendez-vous ici !\">\n <% } %>\n </p>\n \n <p style=\"margin:0; padding:0px 0 4px; color:#6E6E71; text-align: right\"><a href=\"https://www.smileyourpla.net/\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_smileYourPlanet.png\"\n alt=\"Initiative Smile your planet\" height=\"36\"></a>\n <% if(user.calendlyUrl) { %>\n <a href=\"<%= user.calendlyUrl %>\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rdv_tel.png\"\n alt=\"Demande de rdv téléphonique\"></a>\n <% } %>\n </p>\n </td>\n </tr>\n \n ${footer}\n\n <tr>\n <td\n style=\"clear:both; padding-top: 20px; font-size:14px; line-height:18px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n Les informations contenues dans ce courrier électronique et ses pièces jointes sont confidentielles et couvertes par le secret professionnel. Si vous n'êtes pas le(s) destinataire(s) ou avez reçu ce courrier électronique par erreur, merci de bien vouloir supprimer l'email et d'en informer l'expéditeur dès que possible. Ce courrier électronique ne peut pas être divulgué, utilisé ou copié par quelqu'un d'autre que le(s) destinataire(s).\n </td>\n</tr>\n</table>`;"],"mappings":";;;;;AAAA,MAAMA,cAAc,GAAG;;;;;;;;;;;;aAYV;AAEb,MAAMC,MAAM,GAAG;;;;;;;;;;;;;;UAcL;AAEV,MAAMC,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwFd;AAEM,MAAMC,iBAAiB,GAAAC,OAAA,CAAjBD,iBAAiB,GAAG;;;;;;;EAO/BH,cAAc;;;IAGZC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0DNC,MAAM;;;;;;;;;SASD"}
|
|
1
|
+
{"version":3,"file":"signature.js","names":["logoClementine","avatar","footer","signatureTemplate","exports"],"sources":["../../../../ts/utils/email/templates/signature.ts"],"sourcesContent":["const logoClementine = `<% if (brandName === 'Clementine') { %><tr>\n<td\ncolspan=\"3\"\nclass=\"logo\"\nstyle=\"\"\nwidth=\"850\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/logo_2022.png\"\n alt=\"Logo\"\n height=\"32\"\n style=\"padding-bottom: 10px;\">\n</td>\n</tr><% } %>`;\n\nconst avatar = `<% if (!forceRole && user?.avatar?.token) { %>\n <td\n class=\"avatar\"\n style=\"text-align:center; padding: 20px 0 20px 20px; position: relative;\"\n width=\"100\">\n <p style=\"padding: 20px;background-image: url('https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_quotes.png');background-size: 26%;background-position: 81% -3%;background-repeat: no-repeat;\">\n <img\n style=\"max-height: 90px;max-width: 90px; border-radius: 100%; padding-top: 10px\"\n alt=\"Avatar\"\n src=\"\n <%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\n \"\n />\n </p>\n </td>\n <% } %>`;\n\nconst footer = `<% if(brandName === 'Clementine') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 20px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.compta-clementine.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n <td style=\"padding:0 10px 0 0\" width=\"170\">\n <a href=\"mailto:<%= supportMail %>\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_support2.png\"\n style=\"vertical-align: text-top;\"\n width=\"17\"\n alt=\"Support technique\"> Support technique\n </a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.youtube.com/channel/UCVnCpcLdRwuYBLvAphHsvig/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_youtube.png\"\n alt=\"YouTube\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.linkedin.com/company/compta-cl%C3%A9mentine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_linkedin.png\"\n alt=\"LinkedIn\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.instagram.com/comptaclementine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_instagram.png\"\n alt=\"Instagram\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"text-align: right; vertical-align: middle; color: #6E6E71\" width=\"430\">\n <span>Télécharger l'app</span>\n <a href=\"https://apps.apple.com/fr/app/clementine/id1119493780\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a>\n </td>\n </tr>\n <tr>\n <td colspan=\"7\" style=\"padding-top: 12px\">\n <span style=\"text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;\">\n Une question ? Découvrez votre <a href=\"https://www.compta-clementine.fr/aide/\" style=\"color: #FF7E3C\">centre d'aide</a>\n </span>\n <span style=\"text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;\">\n Jusqu’à 500€ avec notre <a href=\"https://www.compta-clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta\" style=\"color: #FF7E3C\">programme de parrainage</a>\n </span>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <% } else if(brandName === 'Pourcentage') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 20px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.pourcentage.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n </table>\n </td>\n </tr>\n <% } %>\n`;\n\nexport const signatureTemplate = `<table\nborder=\"0\"\ncellpadding=\"0\"\ncellspacing=\"0\"\nwidth=\"850\"\nclass=\"signatureClementine\">\n\n${logoClementine}\n\n<tr style=\"background: #F4F8FB\">\n ${avatar}\n <td\n class=\"infos\"\n style=\" padding: 20px 0 20px 30px;font-size: 17px; font-family: Arial; color:#000\"\n width=\"290\"\n colspan=\"2\">\n <table\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n width=\"290\">\n <tr>\n <td width=\"290\">\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <strong><span style=\"color:<%= primaryColor %>; font-weight: bold;\"><%= user?.firstname ?? '' %> <%= user?.lastname ?? '' %></span></strong>\n </p>\n\n <% if(roleSignature) { %>\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <span style=\"color: #6E6E71; font-weight: bold;\"><%= roleSignature %></span></p>\n </p>\n <% } %>\n </td>\n </tr>\n </table>\n\n <p style=\"margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2\"><!-- --></p><p style=\"margin:0; padding:0px 0 4px; color:#6E6E71;\"><%= (user.roles && user.roles.length && user.roles.map((r) => r.idRoles).includes(22)) || (user && user.isAll === true) ? 'Nos' : 'Mes' %> horaires :<br/><%= horaires %></p>\n </td>\n \n <td class=\"infos\" style=\"padding: 20px 20px 20px 0px; font-size: 17px; font-family: Arial; color:#000; <%= !user.calendlyUrl ? 'vertical-align: top;' : '' %>\"\n width=\"370\">\n <p style=\"margin:0px 0; padding:2px 0; color:#6E6E71; padding-left: 10px\">\n <span style=\"float:right\">Standard : <%= standardPhoneSignature %></span><br/>\n <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>\n <span style=\"float:right\">Ligne directe : <%- phoneSignature %></span><br/>\n <% } %>\n </p>\n \n <p style=\"margin:20px 60px 0 0; padding:0px 0 4px; color:#6E6E71; text-align: right; height: 54px;\">\n <% if(user.calendlyUrl) { %>\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rightArrow.png\"\n alt=\"Prenez rendez-vous ici !\">\n <% } %>\n </p>\n \n <p style=\"margin:0; padding:0px 0 4px; color:#6E6E71; text-align: right\"><a href=\"https://www.smileyourpla.net/\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_smileYourPlanet.png\"\n alt=\"Initiative Smile your planet\" height=\"36\"></a>\n <% if(user.calendlyUrl) { %>\n <a href=\"<%= user.calendlyUrl %>\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rdv_tel.png\"\n alt=\"Demande de rdv téléphonique\"></a>\n <% } %>\n </p>\n </td>\n </tr>\n \n ${footer}\n\n <tr>\n <td\n style=\"clear:both; padding-top: 20px; font-size:14px; line-height:18px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n Les informations contenues dans ce courrier électronique et ses pièces jointes sont confidentielles et couvertes par le secret professionnel. Si vous n'êtes pas le(s) destinataire(s) ou avez reçu ce courrier électronique par erreur, merci de bien vouloir supprimer l'email et d'en informer l'expéditeur dès que possible. Ce courrier électronique ne peut pas être divulgué, utilisé ou copié par quelqu'un d'autre que le(s) destinataire(s).\n </td>\n</tr>\n</table>`;"],"mappings":";;;;;AAAA,MAAMA,cAAc,GAAG;;;;;;;;;;;;aAYV;AAEb,MAAMC,MAAM,GAAG;;;;;;;;;;;;;;;UAeL;AAEV,MAAMC,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwFd;AAEM,MAAMC,iBAAiB,GAAAC,OAAA,CAAjBD,iBAAiB,GAAG;;;;;;;EAO/BH,cAAc;;;IAGZC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0DNC,MAAM;;;;;;;;;SASD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.190",
|
|
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.',
|
|
@@ -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
|
];
|
package/ts/types/Enum/Log.ts
CHANGED
|
@@ -33,7 +33,12 @@ export enum LogType {
|
|
|
33
33
|
UNPAID = 21,
|
|
34
34
|
DELETE = 22,
|
|
35
35
|
REGULATION_DELETE = 23,
|
|
36
|
+
CHECKLIST = 25,
|
|
36
37
|
TRANSACTION_DELETE = 26,
|
|
37
38
|
INPI_DELETE = 27,
|
|
38
39
|
VALIDATE_CALENDAR = 28,
|
|
40
|
+
INACTIVITY = 29,
|
|
41
|
+
SOCIAL = 30,
|
|
42
|
+
CONSTITUTION = 31,
|
|
43
|
+
APPROBATION = 32,
|
|
39
44
|
}
|
|
@@ -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
|
@@ -479,6 +479,7 @@ export * from './Enum/CommercialImportHeader';
|
|
|
479
479
|
export * from './Enum/ReasonTerminationType';
|
|
480
480
|
export * from './Enum/RemoteType';
|
|
481
481
|
export * from './Enum/EntityType';
|
|
482
|
+
export * from './Enum/Compensation';
|
|
482
483
|
|
|
483
484
|
// Interfaces API
|
|
484
485
|
export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
|
|
@@ -875,6 +876,7 @@ export * from './Interface/api/societyConfig/update';
|
|
|
875
876
|
export * from './Interface/api/wallet/UpdateAttribution';
|
|
876
877
|
export * from './Interface/api/prestation/CreatePrestation';
|
|
877
878
|
export * from './Interface/api/prestation/QueryPrestation';
|
|
879
|
+
export * from './Interface/api/prestation/QueryCreatePrestationSocieties';
|
|
878
880
|
export * from './Interface/api/paymentExpectation/QueryPaymentExpectation';
|
|
879
881
|
export * from './Interface/api/legalNotice/UpdateLegalNotice';
|
|
880
882
|
export * from './Interface/api/wallet/QueryWallet';
|
|
@@ -19,7 +19,8 @@ const avatar = `<% if (!forceRole && user?.avatar?.token) { %>
|
|
|
19
19
|
width="100">
|
|
20
20
|
<p style="padding: 20px;background-image: url('https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_quotes.png');background-size: 26%;background-position: 81% -3%;background-repeat: no-repeat;">
|
|
21
21
|
<img
|
|
22
|
-
style="max-height: 90px;max-width: 90px; border-radius: 100%; padding-top:
|
|
22
|
+
style="max-height: 90px;max-width: 90px; border-radius: 100%; padding-top: 10px"
|
|
23
|
+
alt="Avatar"
|
|
23
24
|
src="
|
|
24
25
|
<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>
|
|
25
26
|
"
|