@silexpert/core 1.0.192 → 1.0.193

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.
Files changed (34) hide show
  1. package/es/api/resources/Mail.d.ts.map +1 -1
  2. package/es/api/resources/Mail.js +5 -0
  3. package/es/api/resources/Mail.js.map +1 -1
  4. package/es/types/Enum/BrandClementine.js +2 -2
  5. package/es/types/Enum/BrandClementine.js.map +1 -1
  6. package/es/types/Enum/MealExpenseThresholds.d.ts.map +1 -1
  7. package/es/types/Enum/MealExpenseThresholds.js +6 -2
  8. package/es/types/Enum/MealExpenseThresholds.js.map +1 -1
  9. package/es/types/Enum/PrestationType.js +1 -1
  10. package/es/types/Enum/PrestationType.js.map +1 -1
  11. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.d.ts +2 -0
  12. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.d.ts.map +1 -1
  13. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
  14. package/es/utils/email/templates/signature.d.ts.map +1 -1
  15. package/es/utils/email/templates/signature.js +4 -6
  16. package/es/utils/email/templates/signature.js.map +1 -1
  17. package/js/api/resources/Mail.js +5 -0
  18. package/js/api/resources/Mail.js.map +1 -1
  19. package/js/types/Enum/BrandClementine.js +2 -2
  20. package/js/types/Enum/BrandClementine.js.map +1 -1
  21. package/js/types/Enum/MealExpenseThresholds.js +6 -2
  22. package/js/types/Enum/MealExpenseThresholds.js.map +1 -1
  23. package/js/types/Enum/PrestationType.js +1 -1
  24. package/js/types/Enum/PrestationType.js.map +1 -1
  25. package/js/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
  26. package/js/utils/email/templates/signature.js +4 -6
  27. package/js/utils/email/templates/signature.js.map +1 -1
  28. package/package.json +1 -1
  29. package/ts/api/resources/Mail.ts +5 -0
  30. package/ts/types/Enum/BrandClementine.ts +2 -2
  31. package/ts/types/Enum/MealExpenseThresholds.ts +6 -2
  32. package/ts/types/Enum/PrestationType.ts +1 -1
  33. package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccount.ts +3 -1
  34. package/ts/utils/email/templates/signature.ts +4 -6
@@ -1 +1 @@
1
- {"version":3,"file":"IGeneralLedgerAccount.js","names":[],"sources":["../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccount.ts"],"sourcesContent":["import { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\n\nexport interface IGeneralLedgerAccount {\n number: number\n name: string,\n totalCredit: number\n totalDebit: number\n totalSolde: number\n entries: IGeneralLedgerAccountingEntry[]\n}"],"mappings":""}
1
+ {"version":3,"file":"IGeneralLedgerAccount.js","names":[],"sources":["../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccount.ts"],"sourcesContent":["import { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\n\nexport interface IGeneralLedgerAccount {\n id: number;\n deletedAt: Date | null;\n number: number;\n name: string,\n totalCredit: number\n totalDebit: number\n totalSolde: number\n entries: IGeneralLedgerAccountingEntry[]\n}"],"mappings":""}
@@ -25,9 +25,7 @@ const avatar = `<% if (!forceRole && user?.avatar?.token) { %>
25
25
  <img
26
26
  style="max-height: 90px;max-width: 90px; border-radius: 100%; padding-top: 10px"
27
27
  alt="Avatar"
28
- src="
29
- <%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>
30
- "
28
+ src="<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>"
31
29
  />
32
30
  </p>
33
31
  </td>
@@ -40,7 +38,7 @@ const footer = `<% if(brandName === 'Clementine') { %>
40
38
  <table style="width: 100%" width="100%">
41
39
  <tr>
42
40
  <td style="padding:0 10px 0 0" width="120">
43
- <a href="https://app.compta-clementine.fr/" target="_blank" style="text-decoration: none; color: #6E6E71; white-space: nowrap;">
41
+ <a href="https://app.clementine.fr/" target="_blank" style="text-decoration: none; color: #6E6E71; white-space: nowrap;">
44
42
  <img
45
43
  src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png"
46
44
  style="vertical-align: text-top;"
@@ -90,10 +88,10 @@ const footer = `<% if(brandName === 'Clementine') { %>
90
88
  <tr>
91
89
  <td colspan="7" style="padding-top: 12px">
92
90
  <span style="text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;">
93
- Une question ? Découvrez votre <a href="https://www.compta-clementine.fr/aide/" style="color: #FF7E3C">centre d'aide</a>
91
+ Une question ? Découvrez votre <a href="https://www.clementine.fr/aide/" style="color: #FF7E3C">centre d'aide</a>
94
92
  </span>
95
93
  <span style="text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;">
96
- 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>
94
+ Jusqu’à 500€ avec notre <a href="https://www.clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta" style="color: #FF7E3C">programme de parrainage</a>
97
95
  </span>
98
96
  </td>
99
97
  </tr>
@@ -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: 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"}
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=\"<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\"\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.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.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.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;;;;;;;;;;;;;UAaL;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.192",
3
+ "version": "1.0.193",
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",
@@ -151,6 +151,7 @@ export class Mail extends Resource {
151
151
  ...(cancelToken ? { cancelToken } : {}),
152
152
  params: {
153
153
  idUser,
154
+ isProcessed: false,
154
155
  isSent: false,
155
156
  },
156
157
  });
@@ -172,6 +173,8 @@ export class Mail extends Resource {
172
173
  ...(cancelToken ? { cancelToken } : {}),
173
174
  params: {
174
175
  idUser,
176
+ isProcessed: false,
177
+ isSent: false,
175
178
  isWithoutSociety: true,
176
179
  },
177
180
  });
@@ -182,6 +185,8 @@ export class Mail extends Resource {
182
185
  ...(cancelToken ? { cancelToken } : {}),
183
186
  params: {
184
187
  idUser,
188
+ isProcessed: false,
189
+ isSent: false,
185
190
  handlingManagerRoleMails: true,
186
191
  },
187
192
  });
@@ -55,11 +55,11 @@ export const BrandClementine = [
55
55
  logoUrl: 'logo-dark.svg',
56
56
  miniLogoUrl: 'logo.svg',
57
57
  hiddenPages: [],
58
- urlApp: 'https://app.compta-clementine.fr',
58
+ urlApp: 'https://app.clementine.fr',
59
59
  urlApi1: 'https://api.compta-clementine.fr',
60
60
  urlApi2: 'https://api-next.compta-clementine.fr',
61
61
  urlExpert: 'https://expert.compta-clementine.fr',
62
- urlClient: 'https://www.compta-clementine.fr',
62
+ urlClient: 'https://www.clementine.fr',
63
63
  bank: {
64
64
  IBAN: 'FR7616106840138646838239863',
65
65
  BIC: 'AGRIFRPP861',
@@ -15,7 +15,11 @@ export const MealExpenseThresholds: IMealExpenseThresholds = {
15
15
  max: 19.10,
16
16
  },
17
17
  2022: {
18
- min: 4.95,
19
- max: 19.10,
18
+ min: 5,
19
+ max: 19.40,
20
+ },
21
+ 2023: {
22
+ min: 5.2,
23
+ max: 20.20,
20
24
  },
21
25
  };
@@ -2976,6 +2976,6 @@ export const PrestationDetail: PrestationDetailEnum = {
2976
2976
  isComplementary: false,
2977
2977
  signaturePosition: '',
2978
2978
  signaturePage: 5,
2979
- point: 0,
2979
+ point: 200,
2980
2980
  },
2981
2981
  };
@@ -1,7 +1,9 @@
1
1
  import { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';
2
2
 
3
3
  export interface IGeneralLedgerAccount {
4
- number: number
4
+ id: number;
5
+ deletedAt: Date | null;
6
+ number: number;
5
7
  name: string,
6
8
  totalCredit: number
7
9
  totalDebit: number
@@ -21,9 +21,7 @@ const avatar = `<% if (!forceRole && user?.avatar?.token) { %>
21
21
  <img
22
22
  style="max-height: 90px;max-width: 90px; border-radius: 100%; padding-top: 10px"
23
23
  alt="Avatar"
24
- src="
25
- <%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>
26
- "
24
+ src="<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>"
27
25
  />
28
26
  </p>
29
27
  </td>
@@ -37,7 +35,7 @@ const footer = `<% if(brandName === 'Clementine') { %>
37
35
  <table style="width: 100%" width="100%">
38
36
  <tr>
39
37
  <td style="padding:0 10px 0 0" width="120">
40
- <a href="https://app.compta-clementine.fr/" target="_blank" style="text-decoration: none; color: #6E6E71; white-space: nowrap;">
38
+ <a href="https://app.clementine.fr/" target="_blank" style="text-decoration: none; color: #6E6E71; white-space: nowrap;">
41
39
  <img
42
40
  src="https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png"
43
41
  style="vertical-align: text-top;"
@@ -87,10 +85,10 @@ const footer = `<% if(brandName === 'Clementine') { %>
87
85
  <tr>
88
86
  <td colspan="7" style="padding-top: 12px">
89
87
  <span style="text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;">
90
- Une question ? Découvrez votre <a href="https://www.compta-clementine.fr/aide/" style="color: #FF7E3C">centre d'aide</a>
88
+ Une question ? Découvrez votre <a href="https://www.clementine.fr/aide/" style="color: #FF7E3C">centre d'aide</a>
91
89
  </span>
92
90
  <span style="text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;">
93
- 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>
91
+ Jusqu’à 500€ avec notre <a href="https://www.clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta" style="color: #FF7E3C">programme de parrainage</a>
94
92
  </span>
95
93
  </td>
96
94
  </tr>