@silexpert/core 1.0.191 → 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.
- package/es/api/resources/AccountingFiles.d.ts.map +1 -1
- package/es/api/resources/AccountingFiles.js +4 -1
- package/es/api/resources/AccountingFiles.js.map +1 -1
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +5 -0
- package/es/api/resources/Mail.js.map +1 -1
- package/es/types/Enum/BrandClementine.js +2 -2
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/MealExpenseThresholds.d.ts.map +1 -1
- package/es/types/Enum/MealExpenseThresholds.js +6 -2
- package/es/types/Enum/MealExpenseThresholds.js.map +1 -1
- package/es/types/Enum/PrestationType.js +1 -1
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -1
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js +1 -1
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.d.ts +2 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
- package/es/utils/email/templates/signature.d.ts.map +1 -1
- package/es/utils/email/templates/signature.js +4 -6
- package/es/utils/email/templates/signature.js.map +1 -1
- package/js/api/resources/AccountingFiles.js +4 -1
- package/js/api/resources/AccountingFiles.js.map +1 -1
- package/js/api/resources/Mail.js +5 -0
- package/js/api/resources/Mail.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +2 -2
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/MealExpenseThresholds.js +6 -2
- package/js/types/Enum/MealExpenseThresholds.js.map +1 -1
- package/js/types/Enum/PrestationType.js +1 -1
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js +1 -1
- package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/js/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
- package/js/utils/email/templates/signature.js +4 -6
- package/js/utils/email/templates/signature.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountingFiles.ts +4 -1
- package/ts/api/resources/Mail.ts +5 -0
- package/ts/types/Enum/BrandClementine.ts +2 -2
- package/ts/types/Enum/MealExpenseThresholds.ts +6 -2
- package/ts/types/Enum/PrestationType.ts +1 -1
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +1 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccount.ts +3 -1
- package/ts/utils/email/templates/signature.ts +4 -6
|
@@ -23,5 +23,5 @@ __decorate([(0, _utils.ApiProperty)(), (0, _boolean.ToBoolean)(), __metadata("de
|
|
|
23
23
|
__decorate([(0, _utils.ApiProperty)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryAccountingFiles.prototype, "isPayPerso", void 0);
|
|
24
24
|
__decorate([(0, _utils.ApiProperty)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryAccountingFiles.prototype, "bypassOcr", void 0);
|
|
25
25
|
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Array)], QueryAccountingFiles.prototype, "files", void 0);
|
|
26
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type",
|
|
26
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], QueryAccountingFiles.prototype, "emissionDate", void 0);
|
|
27
27
|
//# sourceMappingURL=queryAccountingFiles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryAccountingFiles.js","names":["_utils","require","_boolean","QueryAccountingFiles","exports","__decorate","ApiProperty","ToBoolean","ApiPropertyOptional"
|
|
1
|
+
{"version":3,"file":"queryAccountingFiles.js","names":["_utils","require","_boolean","QueryAccountingFiles","exports","__decorate","ApiProperty","ToBoolean","ApiPropertyOptional"],"sources":["../../../../../ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts"],"sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryAccountingFiles {\n @ApiProperty()\n idAccountingType: number;\n\n @ApiProperty()\n @ToBoolean()\n split: boolean;\n\n @ApiProperty()\n @ToBoolean()\n isPayPerso: boolean;\n\n @ApiProperty()\n @ToBoolean()\n bypassOcr: boolean;\n\n @ApiProperty()\n files: File[];\n\n @ApiPropertyOptional()\n emissionDate?: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,oBAAoB;AAqBhCC,OAAA,CArBYD,oBAAoB,GAApBA,oBAAoB;AAC/BE,UAAA,EAAC,IAAAC,kBAAW,GAAE,E,+FACW;AAEzBD,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,kBAAS,GAAE,E,qFACG;AAEfF,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,kBAAS,GAAE,E,0FACQ;AAEpBF,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,kBAAS,GAAE,E,yFACO;AAEnBF,UAAA,EAAC,IAAAC,kBAAW,GAAE,E,mFACA;AAEdD,UAAA,EAAC,IAAAG,0BAAmB,GAAE,E,2FACA"}
|
|
@@ -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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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",
|
|
@@ -11,12 +11,15 @@ export class AccountingFiles extends Resource {
|
|
|
11
11
|
sendAccountingFiles.append('isPayPerso', params.isPayPerso.toString());
|
|
12
12
|
sendAccountingFiles.append('split', params.split.toString());
|
|
13
13
|
sendAccountingFiles.append('bypassOcr', params.bypassOcr.toString());
|
|
14
|
+
if (params.emissionDate) {
|
|
15
|
+
sendAccountingFiles.append('emissionDate', params.emissionDate.toString());
|
|
16
|
+
}
|
|
14
17
|
|
|
15
18
|
params.files.forEach((file) => {
|
|
16
19
|
sendAccountingFiles.append('files', file);
|
|
17
20
|
});
|
|
18
21
|
|
|
19
|
-
return this.axios.$post('/society/accountingFiles',
|
|
22
|
+
return this.axios.$post('/society/accountingFiles', sendAccountingFiles, { headers: { 'Content-Type': 'multipart/form-data' } });
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
delete(id: number): Promise<true> {
|
package/ts/api/resources/Mail.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
62
|
+
urlClient: 'https://www.clementine.fr',
|
|
63
63
|
bank: {
|
|
64
64
|
IBAN: 'FR7616106840138646838239863',
|
|
65
65
|
BIC: 'AGRIFRPP861',
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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>
|