@silexpert/core 1.2.95 → 1.2.97
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/dist/cjs/api/resources/BankStatement.d.ts.map +1 -1
- package/dist/cjs/api/resources/BankStatement.js +0 -1
- package/dist/cjs/api/resources/BankStatement.js.map +1 -1
- package/dist/cjs/api/resources/Commercial.d.ts +3 -1
- package/dist/cjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/cjs/api/resources/Commercial.js +6 -0
- package/dist/cjs/api/resources/Commercial.js.map +1 -1
- package/dist/cjs/api/resources/Society.d.ts +2 -1
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +8 -0
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/WorkingSchedule.d.ts +2 -1
- package/dist/cjs/api/resources/WorkingSchedule.d.ts.map +1 -1
- package/dist/cjs/api/resources/WorkingSchedule.js +3 -0
- package/dist/cjs/api/resources/WorkingSchedule.js.map +1 -1
- package/dist/cjs/types/Enum/OCRPrompt.d.ts +12 -0
- package/dist/cjs/types/Enum/OCRPrompt.d.ts.map +1 -0
- package/dist/cjs/types/Enum/OCRPrompt.js +24 -0
- package/dist/cjs/types/Enum/OCRPrompt.js.map +1 -0
- package/dist/cjs/types/Enum/ReasonNotSubscribed.js +2 -2
- package/dist/cjs/types/Enum/ReasonNotSubscribed.js.map +1 -1
- package/dist/cjs/types/Enum/SocietyTypeExportCsv.d.ts +5 -0
- package/dist/cjs/types/Enum/SocietyTypeExportCsv.d.ts.map +1 -0
- package/dist/cjs/types/Enum/SocietyTypeExportCsv.js +9 -0
- package/dist/cjs/types/Enum/SocietyTypeExportCsv.js.map +1 -0
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts +0 -1
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.js +0 -7
- package/dist/cjs/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedFollowProspect.d.ts +19 -0
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedFollowProspect.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedFollowProspect.js +114 -0
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedFollowProspect.js.map +1 -0
- package/dist/cjs/types/Interface/api/commercial/ReadStatsProspect.d.ts +18 -0
- package/dist/cjs/types/Interface/api/commercial/ReadStatsProspect.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/commercial/ReadStatsProspect.js +10 -0
- package/dist/cjs/types/Interface/api/commercial/ReadStatsProspect.js.map +1 -0
- package/dist/cjs/types/Interface/api/society/DataCustomersCsv.d.ts +6 -0
- package/dist/cjs/types/Interface/api/society/DataCustomersCsv.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/society/DataCustomersCsv.js +35 -0
- package/dist/cjs/types/Interface/api/society/DataCustomersCsv.js.map +1 -0
- package/dist/cjs/types/Interface/api/workingSchedule/Query.d.ts +5 -0
- package/dist/cjs/types/Interface/api/workingSchedule/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/workingSchedule/Query.js +29 -0
- package/dist/cjs/types/Interface/api/workingSchedule/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/workingSchedule/QueryDailyHour.d.ts +18 -0
- package/dist/cjs/types/Interface/api/workingSchedule/QueryDailyHour.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/workingSchedule/QueryDailyHour.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.d.ts +6 -6
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.js.map +1 -1
- package/dist/cjs/types/index.d.ts +6 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +6 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/templates/body.js +1 -1
- package/dist/cjs/utils/commercialManagement/templates/body.js.map +1 -1
- package/dist/mjs/api/resources/BankStatement.d.ts.map +1 -1
- package/dist/mjs/api/resources/BankStatement.js +0 -1
- package/dist/mjs/api/resources/BankStatement.js.map +1 -1
- package/dist/mjs/api/resources/Commercial.d.ts +3 -1
- package/dist/mjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/mjs/api/resources/Commercial.js +12 -0
- package/dist/mjs/api/resources/Commercial.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +2 -1
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +8 -0
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/WorkingSchedule.d.ts +2 -1
- package/dist/mjs/api/resources/WorkingSchedule.d.ts.map +1 -1
- package/dist/mjs/api/resources/WorkingSchedule.js +6 -0
- package/dist/mjs/api/resources/WorkingSchedule.js.map +1 -1
- package/dist/mjs/types/Enum/OCRPrompt.d.ts +12 -0
- package/dist/mjs/types/Enum/OCRPrompt.d.ts.map +1 -0
- package/dist/mjs/types/Enum/OCRPrompt.js +21 -0
- package/dist/mjs/types/Enum/OCRPrompt.js.map +1 -0
- package/dist/mjs/types/Enum/ReasonNotSubscribed.js +2 -2
- package/dist/mjs/types/Enum/ReasonNotSubscribed.js.map +1 -1
- package/dist/mjs/types/Enum/SocietyTypeExportCsv.d.ts +5 -0
- package/dist/mjs/types/Enum/SocietyTypeExportCsv.d.ts.map +1 -0
- package/dist/mjs/types/Enum/SocietyTypeExportCsv.js +6 -0
- package/dist/mjs/types/Enum/SocietyTypeExportCsv.js.map +1 -0
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts +0 -1
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.js +0 -8
- package/dist/mjs/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedFollowProspect.d.ts +19 -0
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedFollowProspect.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedFollowProspect.js +125 -0
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedFollowProspect.js.map +1 -0
- package/dist/mjs/types/Interface/api/commercial/ReadStatsProspect.d.ts +18 -0
- package/dist/mjs/types/Interface/api/commercial/ReadStatsProspect.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/commercial/ReadStatsProspect.js +9 -0
- package/dist/mjs/types/Interface/api/commercial/ReadStatsProspect.js.map +1 -0
- package/dist/mjs/types/Interface/api/society/DataCustomersCsv.d.ts +6 -0
- package/dist/mjs/types/Interface/api/society/DataCustomersCsv.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/society/DataCustomersCsv.js +34 -0
- package/dist/mjs/types/Interface/api/society/DataCustomersCsv.js.map +1 -0
- package/dist/mjs/types/Interface/api/workingSchedule/Query.d.ts +5 -0
- package/dist/mjs/types/Interface/api/workingSchedule/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/workingSchedule/Query.js +27 -0
- package/dist/mjs/types/Interface/api/workingSchedule/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/workingSchedule/QueryDailyHour.d.ts +18 -0
- package/dist/mjs/types/Interface/api/workingSchedule/QueryDailyHour.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/workingSchedule/QueryDailyHour.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.d.ts +6 -6
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.js.map +1 -1
- package/dist/mjs/types/index.d.ts +6 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +6 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/templates/body.js +1 -1
- package/dist/mjs/utils/commercialManagement/templates/body.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BankStatement.ts +0 -1
- package/ts/api/resources/Commercial.ts +15 -0
- package/ts/api/resources/Society.ts +10 -0
- package/ts/api/resources/WorkingSchedule.ts +14 -1
- package/ts/types/Enum/OCRPrompt.ts +25 -0
- package/ts/types/Enum/ReasonNotSubscribed.ts +2 -2
- package/ts/types/Enum/SocietyTypeExportCsv.ts +4 -0
- package/ts/types/Interface/api/bankStatement/QueryBankStatement.ts +0 -6
- package/ts/types/Interface/api/commercial/QueryPaginatedFollowProspect.ts +85 -0
- package/ts/types/Interface/api/commercial/ReadStatsProspect.ts +19 -0
- package/ts/types/Interface/api/society/DataCustomersCsv.ts +18 -0
- package/ts/types/Interface/api/workingSchedule/Query.ts +13 -0
- package/ts/types/Interface/api/workingSchedule/QueryDailyHour.ts +21 -0
- package/ts/types/Interface/models/IAnalyticsUtm.ts +6 -6
- package/ts/types/index.ts +6 -0
- package/ts/utils/commercialManagement/templates/body.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/templates/body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,cAAc,GAAG,IAAI,4BAA4B,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAG;;;YAGX,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,OAAO;;;4CAGU,cAAc,CAAC,OAAO;UACxD,cAAc,CAAC,IAAI;;;;;;;yCAOY,mBAAmB,CAAC,GAAG;;gDAEhB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;gDAE3B,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;;;;mDAKxB,mBAAmB,CAAC,OAAO;;oBAE1D,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;2DAOd,mBAAmB,CAAC,OAAO;;;;kDAIpC,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;;;;;;;;;;;SAiB9F,CAAC;AAEV,MAAM,CAAC,MAAM,YAAY,GAAG;;;;IAIxB,cAAc;;;;;;6BAMW,cAAc,CAAC,QAAQ;;;;;YAKxC,cAAc,CAAC,iBAAiB;;;;;;;;;;UAUlC,cAAc,CAAC,oBAAoB;;sCAEP,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;8DAC7B,cAAc,CAAC,aAAa;;;;;;;;;;;;;;;;;;wEAkBlB,mBAAmB,CAAC,KAAK,iCAAiC,mBAAmB,CAAC,GAAG;;;;oFAIrE,mBAAmB,CAAC,OAAO,iCAAiC,mBAAmB,CAAC,OAAO,iCAAiC,mBAAmB,CAAC,KAAK,iCAAiC,mBAAmB,CAAC,KAAK;;;;;;;QAOvR,cAAc,CAAC,KAAK;;;QAGpB,cAAc,CAAC,YAAY;;QAE3B,CAAC","sourcesContent":["import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';\nimport { CommercialDocumentCommonHTML } from './common';\n\nconst commonTemplate = new CommercialDocumentCommonHTML();\n\nconst headOfDocument = `<div class=\"row space-between\">\n <% if (settings && settings.logoAlignment === 'left') { %>\n <div class=\"society-informations\">\n ${commonTemplate.logo}\n ${commonTemplate.company}\n </div>\n <% } else { %>\n <div class=\"society-informations\">${commonTemplate.company}</div>\n ${commonTemplate.logo}\n <% } %>\n </div>\n\n <div class=\"row space-between items-end\" style=\"margin-top: 10px\">\n <div style=\"width: 45%; margin-top: auto;\">\n <span class=\"document-reference\">\n <% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>\n <%= languageTemplate.template.orderForm.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>\n <%= languageTemplate.template.estimate.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>\n <%= languageTemplate.template.invoice.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>\n <%= languageTemplate.template.asset.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>\n <%= languageTemplate.template.remainder.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>\n <%= languageTemplate.template.deposit.headers.title %>\n <% } %>\n <%= reference %></span><br/>\n <% if(emissionDate) {%><span class=\"document-emission-date\"> <%= languageTemplate.template.common.headers.emissionDate %> : <%= emissionDateFormatted %></span><br/><% } %>\n <% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\">\n <% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>\n <%= languageTemplate.template.estimate.headers.dueDate %> :\n <% } else { %>\n <%= languageTemplate.template.invoice.headers.dueDate %> :\n <% } %>\n <%= dueDateFormatted %></span>\n <% } %>\n <% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\"><%= languageTemplate.template.deposit.headers.expirationDate %> : : <%= expirationDateFormatted %></span>\n <% } %>\n <% if(termsOfPayment) { %>\n <br/><p style=\"margin-bottom: 0px;\"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? languageTemplate.template.estimate.headers.termsOfPayment : languageTemplate.template.invoice.headers.termsOfPayment %> : <%= termsOfPayment %></p>\n <% } %>\n </div>\n <div style=\"width: 40%; margin-top: auto;\">\n <p></p>\n <% if (thirdParty) { %>\n <div class=\"<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>\">\n <% if(thirdParty.company) {%><b><%= thirdParty.company %></b><br/><% } %>\n <% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>\n <% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>\n <% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %> <%= thirdParty.country %><br/>\n <% if(thirdParty.deliveryAddress && thirdParty.deliveryCity && thirdParty.deliveryZipCode) {%>Adresse de livraison : <%= thirdParty.deliveryAddress %> <%= thirdParty.deliveryZipCode %> <%= thirdParty.deliveryCity %> <%= thirdParty.deliveryCountry %><br/><% } %>\n <% if(thirdParty.nSiret) {%>SIRET : <%= thirdParty.nSiret %><br/><% } %>\n <% if(thirdParty.nTva) {%>N° TVA : <%= thirdParty.nTva %><% } %>\n </div>\n <% } %>\n </div>\n </div>`;\n\nexport const bodyTemplate = `<html class=\"pdf-content\">\n\n <body>\n\n ${headOfDocument}\n\n <div class=\"row mt-25\">\n <% if (title) { %>Titre : <%= title %><% } %>\n </div>\n\n <div class=\"row mt-10\">${commonTemplate.products}</div>\n\n <div class=\"row space-between mt-20\">\n <div style=\"width: 55%;\">\n <% if (disableVat !== true && vats.length) { %>\n ${commonTemplate.vatRecapitulation}\n <% } %>\n <% if (vatMention) { %><div class=\"vat-mention <%= disableVat !== true ? 'mt-20' : ''%>\"><%= vatMention %></div><% } %>\n <% if (comment) { %>\n <p class=\"mt-20\"><%= languageTemplate.template.common.options.comment %> :<br/>\n <%- comment %>\n <% } %>\n </div>\n\n <div>\n ${commonTemplate.amountRecapitulation}\n\n <% if (isStripeAllowed && ![${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) { %>\n <div style=\"text-align: right; margin-top: 30px;\">${commonTemplate.paymentButton}</div>\n <% } %>\n </div>\n \n </div>\n\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <div class=\"row mt-30 space-between\" style=\"page-break-inside: avoid !important;\">\n <div>\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <% if(paymentType) { %><%= languageTemplate.template.common.options.paymentType %> : <%= paymentType %><br/><% } %>\n <% if(settings.bank) { %><%= languageTemplate.template.common.options.bank %> : <%= settings.bank %><br/><% } %>\n <% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>\n <% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>\n <% } %>\n </div>\n </div>\n <% } %>\n <% if (settings && settings.bonPour && (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS} || idEstimateInvoiceType === ${EstimateInvoiceType.BON})) { %>\n <br/><%= languageTemplate.template.common.options.approval %> : <br/><br/><br/><br/>\n <% } %>\n\n <% if (cgv && (settings && settings.invoiceCgv) && (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE} || idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE} || idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR} || idEstimateInvoiceType === ${EstimateInvoiceType.RESTE} ) { %>\n <br><div style=\"page-break-after:always;\"></div>\n <div id=\"WYSIWYG\"><%- cgv %></div>\n <% } %>\n </body>\n\n <style>\n ${commonTemplate.style}\n </style>\n <style>\n ${commonTemplate.styleWYSIWYG}\n </style>\n</html>`;\n"]}
|
|
1
|
+
{"version":3,"file":"body.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/templates/body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,cAAc,GAAG,IAAI,4BAA4B,EAAE,CAAC;AAE1D,MAAM,cAAc,GAAG;;;YAGX,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,OAAO;;;4CAGU,cAAc,CAAC,OAAO;UACxD,cAAc,CAAC,IAAI;;;;;;;yCAOY,mBAAmB,CAAC,GAAG;;gDAEhB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;gDAE3B,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,KAAK;;gDAEzB,mBAAmB,CAAC,OAAO;;;;;mDAKxB,mBAAmB,CAAC,OAAO;;oBAE1D,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;2DAOd,mBAAmB,CAAC,OAAO;;;;kDAIpC,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;;;;;;;;;;;;;;;;;SAiB9F,CAAC;AAEV,MAAM,CAAC,MAAM,YAAY,GAAG;;;;IAIxB,cAAc;;;;;;6BAMW,cAAc,CAAC,QAAQ;;;;;YAKxC,cAAc,CAAC,iBAAiB;;;;;;;;;;UAUlC,cAAc,CAAC,oBAAoB;;sCAEP,mBAAmB,CAAC,GAAG,KAAK,mBAAmB,CAAC,KAAK;8DAC7B,cAAc,CAAC,aAAa;;;;;;;;;;;;;;;;;;wEAkBlB,mBAAmB,CAAC,KAAK,iCAAiC,mBAAmB,CAAC,GAAG;;;;oFAIrE,mBAAmB,CAAC,OAAO,iCAAiC,mBAAmB,CAAC,OAAO,iCAAiC,mBAAmB,CAAC,KAAK,iCAAiC,mBAAmB,CAAC,KAAK;;;;;;;QAOvR,cAAc,CAAC,KAAK;;;QAGpB,cAAc,CAAC,YAAY;;QAE3B,CAAC","sourcesContent":["import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';\nimport { CommercialDocumentCommonHTML } from './common';\n\nconst commonTemplate = new CommercialDocumentCommonHTML();\n\nconst headOfDocument = `<div class=\"row space-between\">\n <% if (settings && settings.logoAlignment === 'left') { %>\n <div class=\"society-informations\">\n ${commonTemplate.logo}\n ${commonTemplate.company}\n </div>\n <% } else { %>\n <div class=\"society-informations\">${commonTemplate.company}</div>\n ${commonTemplate.logo}\n <% } %>\n </div>\n\n <div class=\"row space-between items-end\" style=\"margin-top: 10px\">\n <div style=\"width: 45%; margin-top: auto;\">\n <span class=\"document-reference\">\n <% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>\n <%= languageTemplate.template.orderForm.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>\n <%= languageTemplate.template.estimate.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>\n <%= languageTemplate.template.invoice.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>\n <%= languageTemplate.template.asset.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>\n <%= languageTemplate.template.remainder.headers.title %>\n <% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>\n <%= languageTemplate.template.deposit.headers.title %>\n <% } %>\n <%= reference %></span><br/>\n <% if(emissionDate) {%><span class=\"document-emission-date\"> <%= languageTemplate.template.common.headers.emissionDate %> : <%= emissionDateFormatted %></span><br/><% } %>\n <% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\">\n <% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>\n <%= languageTemplate.template.estimate.headers.dueDate %> :\n <% } else { %>\n <%= languageTemplate.template.invoice.headers.dueDate %> :\n <% } %>\n <%= dueDateFormatted %></span>\n <% } %>\n <% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>\n <span class=\"document-due-date\"><%= languageTemplate.template.deposit.headers.expirationDate %> : : <%= expirationDateFormatted %></span>\n <% } %>\n <% if(termsOfPayment) { %>\n <br/><p style=\"margin-bottom: 0px;\"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? languageTemplate.template.estimate.headers.termsOfPayment : languageTemplate.template.invoice.headers.termsOfPayment %> : <%= termsOfPayment %></p>\n <% } %>\n </div>\n <div style=\"width: 40%; margin-top: auto;\">\n <p></p>\n <% if (thirdParty) { %>\n <div class=\"<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>\">\n <% if(thirdParty.company) {%><b><%= thirdParty.company %></b><br/><% } %>\n <% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>\n <% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>\n <% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %> <%= thirdParty.country %><br/>\n <% if(thirdParty.deliveryAddress && thirdParty.deliveryCity && thirdParty.deliveryZipCode) {%>Adresse de livraison : <%= thirdParty.deliveryAddress %> <%= thirdParty.deliveryZipCode %> <%= thirdParty.deliveryCity %> <%= thirdParty.deliveryCountry %><br/><% } %>\n <% if(thirdParty.nSiret) {%>SIRET : <%= thirdParty.nSiret %><br/><% } %>\n <% if(thirdParty.nTva) {%>N° TVA : <%= thirdParty.nTva %><% } %>\n </div>\n <% } %>\n </div>\n </div>`;\n\nexport const bodyTemplate = `<html class=\"pdf-content\">\n\n <body>\n\n ${headOfDocument}\n\n <div class=\"row mt-25\">\n <% if (title) { %>Titre : <%= title %><% } %>\n </div>\n\n <div class=\"row mt-10\">${commonTemplate.products}</div>\n\n <div class=\"row space-between mt-20\">\n <div style=\"width: 55%;\">\n <% if (disableVat !== true && vats.length) { %>\n ${commonTemplate.vatRecapitulation}\n <% } %>\n <% if (vatMention) { %><div class=\"vat-mention <%= disableVat !== true ? 'mt-20' : ''%>\"><%= vatMention %></div><% } %>\n <% if (comment) { %>\n <p class=\"mt-20\"><%= languageTemplate.template.common.options.comment %> :<br/>\n <%- comment %>\n <% } %>\n </div>\n\n <div>\n ${commonTemplate.amountRecapitulation}\n\n <% if (isStripeAllowed && ![${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) { %>\n <div style=\"text-align: right; margin-top: 30px;\">${commonTemplate.paymentButton}</div>\n <% } %>\n </div>\n \n </div>\n\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <div class=\"row mt-30 space-between\" style=\"page-break-inside: avoid !important;\">\n <div>\n <% if ((settings && (settings.iban || settings.bic || settings.bank)) || paymentType) { %>\n <% if(paymentType) { %><%= languageTemplate.template.common.options.paymentType %> : <%= paymentType %><br/><% } %>\n <% if(settings.bank) { %><%= languageTemplate.template.common.options.bank %> : <%= settings.bank %><br/><% } %>\n <% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>\n <% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>\n <% } %>\n </div>\n </div>\n <% } %>\n <% if (settings && settings.bonPour && (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS} || idEstimateInvoiceType === ${EstimateInvoiceType.BON})) { %>\n <br/><%= languageTemplate.template.common.options.approval %> : <br/><br/><br/><br/>\n <% } %>\n\n <% if (cgv && (settings && settings.invoiceCgv) && (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE} || idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE} || idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR} || idEstimateInvoiceType === ${EstimateInvoiceType.RESTE} )) { %>\n <br><div style=\"page-break-after:always;\"></div>\n <div id=\"WYSIWYG\"><%- cgv %></div>\n <% } %>\n </body>\n\n <style>\n ${commonTemplate.style}\n </style>\n <style>\n ${commonTemplate.styleWYSIWYG}\n </style>\n</html>`;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.97",
|
|
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": "dist/cjs/index.js",
|
|
@@ -12,7 +12,6 @@ export class BankStatement extends Resource {
|
|
|
12
12
|
const sendAccountingFiles = new FormData();
|
|
13
13
|
|
|
14
14
|
if (isDefined(params.fromRevision)) sendAccountingFiles.append('fromRevision', `${params.fromRevision}`);
|
|
15
|
-
sendAccountingFiles.append('useExtended', `${params.useExtended}`);
|
|
16
15
|
sendAccountingFiles.append('idBankAccount', params.idBankAccount.toString());
|
|
17
16
|
sendAccountingFiles.append('idSociety', params.idSociety.toString());
|
|
18
17
|
sendAccountingFiles.append('file', file);
|
|
@@ -12,6 +12,8 @@ import {
|
|
|
12
12
|
QueryPaginatedNewProspect,
|
|
13
13
|
QueryGetStatsHistory,
|
|
14
14
|
QueryGetLeadByUser,
|
|
15
|
+
ISociety,
|
|
16
|
+
StatsProspectResponse,
|
|
15
17
|
} from '../../types';
|
|
16
18
|
import { Society } from './Society';
|
|
17
19
|
|
|
@@ -45,6 +47,13 @@ export class Commercial extends Resource {
|
|
|
45
47
|
params,
|
|
46
48
|
});
|
|
47
49
|
}
|
|
50
|
+
getStatsProspect(params: QueryGetStatsHistory, signal?: AbortSignal): Promise<StatsProspectResponse> {
|
|
51
|
+
return this.axios.$get('/commercial/prospects/statistics', {
|
|
52
|
+
...(signal ? { signal } : {}),
|
|
53
|
+
params,
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
48
57
|
getLeadByUser(idUser: number, params: QueryGetLeadByUser, signal?: AbortSignal): Promise<number> {
|
|
49
58
|
return this.axios.$get(`/commercial/${idUser}/lead`, {
|
|
50
59
|
...(signal ? { signal } : {}),
|
|
@@ -87,4 +96,10 @@ export class Commercial extends Resource {
|
|
|
87
96
|
params,
|
|
88
97
|
});
|
|
89
98
|
}
|
|
99
|
+
getPaginatedFollowProspect(params: QueryPaginatedNewProspect, signal?: AbortSignal): Promise<BasePaginate<ISociety>> {
|
|
100
|
+
return this.axios.$get('/commercial/prospects', {
|
|
101
|
+
...(signal ? { signal } : {}),
|
|
102
|
+
params,
|
|
103
|
+
});
|
|
104
|
+
}
|
|
90
105
|
}
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
GetSocietyState,
|
|
28
28
|
QueryUnpaidSociety,
|
|
29
29
|
ReadSocietyUnpaidStats,
|
|
30
|
+
DataCustomersCsv,
|
|
30
31
|
} from '../../types';
|
|
31
32
|
import { CancelToken } from 'axios';
|
|
32
33
|
|
|
@@ -184,4 +185,13 @@ export class Society extends Resource {
|
|
|
184
185
|
getState(idSociety: number): Promise<GetSocietyState> {
|
|
185
186
|
return this.axios.$get(`/societies/${idSociety}/states`);
|
|
186
187
|
}
|
|
188
|
+
|
|
189
|
+
exportCustomersCSV(params: DataCustomersCsv): Promise<Buffer> {
|
|
190
|
+
return this.axios.$post('/societies/exports', params, {
|
|
191
|
+
responseType: 'arraybuffer',
|
|
192
|
+
headers: {
|
|
193
|
+
Accept: 'application/csv',
|
|
194
|
+
},
|
|
195
|
+
});
|
|
196
|
+
}
|
|
187
197
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
QueryAvailableTimeSlot,
|
|
4
|
+
QueryGetSpecialHoursForTeam,
|
|
5
|
+
ReadWorkingSchedule,
|
|
6
|
+
SpecialHours,
|
|
7
|
+
TimeSlots,
|
|
8
|
+
} from '../..';
|
|
3
9
|
|
|
4
10
|
export class WorkingSchedule extends Resource {
|
|
5
11
|
getSpecialHoursForCollaborator(idUser: number, startDate: Date, endDate: Date): Promise<SpecialHours> {
|
|
@@ -8,6 +14,13 @@ export class WorkingSchedule extends Resource {
|
|
|
8
14
|
});
|
|
9
15
|
}
|
|
10
16
|
|
|
17
|
+
getSpecialHoursForTeam(params: QueryGetSpecialHoursForTeam, signal?: AbortSignal): Promise<SpecialHours> {
|
|
18
|
+
return this.axios.$get('/workingSchedule/special-hours-for-team', {
|
|
19
|
+
...(signal ? { signal } : {}),
|
|
20
|
+
params,
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
11
24
|
getPdf(id: number, modifDate?: string): Promise<Buffer> {
|
|
12
25
|
return this.axios.$get(`workingSchedule/${id}/pdf`, {
|
|
13
26
|
params: { modifDate },
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export enum OCRPromptKey {
|
|
2
|
+
BANK_STATEMENT = 'bank_statement',
|
|
3
|
+
INVOICE = 'invoice',
|
|
4
|
+
INVOICE_CSV = 'invoice_csv',
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
interface OCRPromptInfo {
|
|
8
|
+
userPrompt: string;
|
|
9
|
+
systemPrompt: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const OCRPrompt: Record<OCRPromptKey, OCRPromptInfo> = {
|
|
13
|
+
[OCRPromptKey.BANK_STATEMENT]: {
|
|
14
|
+
userPrompt: 'Here are some lines from a bank statement (this might be a french one "relevé de comptes"), I need you to extract all the transactions from it.',
|
|
15
|
+
systemPrompt: 'Extract transactions from this bank statement in a json format like this: [{"dateValue": string (format like this YYYY-MM-DD), "label": string | null, "debit": number, "credit": number}, ...]',
|
|
16
|
+
},
|
|
17
|
+
[OCRPromptKey.INVOICE]: {
|
|
18
|
+
userPrompt: 'Can you give me the info of this document in json format? (all the articles with their prices)',
|
|
19
|
+
systemPrompt: 'Convert this into a sensible structured json response. The output should be strictly be json with no extra commentary if you find a image in the document this is an invoice and you should return the info of the invoice',
|
|
20
|
+
},
|
|
21
|
+
[OCRPromptKey.INVOICE_CSV]: {
|
|
22
|
+
userPrompt: 'Can you give me the info of this document in csv format? (all the articles with their prices)',
|
|
23
|
+
systemPrompt: 'Convert this into a sensible structured csv response (date, label, débit, crédit). The output should be strictly be csv with no extra commentary if you find a image in the document this is an invoice and you should return the info of the invoice'
|
|
24
|
+
}
|
|
25
|
+
} as const;
|
|
@@ -111,7 +111,7 @@ export const ReasonNotSubscribed = [
|
|
|
111
111
|
id: 20,
|
|
112
112
|
text: 'Erreur de demande',
|
|
113
113
|
hidden: false,
|
|
114
|
-
isOver: [12, 13, 19, 31,
|
|
114
|
+
isOver: [12, 13, 19, 31, 33],
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
id: 21,
|
|
@@ -182,7 +182,7 @@ export const ReasonNotSubscribed = [
|
|
|
182
182
|
{
|
|
183
183
|
id: 32,
|
|
184
184
|
text: 'Echec appels',
|
|
185
|
-
hidden:
|
|
185
|
+
hidden: true,
|
|
186
186
|
isOver: null,
|
|
187
187
|
},
|
|
188
188
|
{
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
import { OptionalQueryPaginate } from '../BasePaginate';
|
|
5
|
+
|
|
6
|
+
export class QueryPaginatedFollowProspect extends OptionalQueryPaginate {
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsOptional()
|
|
9
|
+
@IsString()
|
|
10
|
+
search?: string;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsInt()
|
|
15
|
+
idSource?: number;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsInt()
|
|
20
|
+
idTypeBrand?: number;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsInt()
|
|
25
|
+
idSdr?: number;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsOptional()
|
|
29
|
+
@IsInt()
|
|
30
|
+
idCommercial?: number;
|
|
31
|
+
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
@IsInt()
|
|
35
|
+
idFollowList?: number;
|
|
36
|
+
|
|
37
|
+
@ApiPropertyOptional()
|
|
38
|
+
@IsOptional()
|
|
39
|
+
@IsInt()
|
|
40
|
+
year?: number;
|
|
41
|
+
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
@IsInt()
|
|
45
|
+
month?: number;
|
|
46
|
+
|
|
47
|
+
@ApiPropertyOptional()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
@IsInt()
|
|
50
|
+
day?: number;
|
|
51
|
+
|
|
52
|
+
@ApiPropertyOptional()
|
|
53
|
+
@IsOptional()
|
|
54
|
+
@IsString()
|
|
55
|
+
orderBy?: string;
|
|
56
|
+
|
|
57
|
+
@ApiPropertyOptional()
|
|
58
|
+
@IsOptional()
|
|
59
|
+
@IsBoolean()
|
|
60
|
+
@ToBoolean()
|
|
61
|
+
descending?: boolean;
|
|
62
|
+
|
|
63
|
+
@ApiPropertyOptional()
|
|
64
|
+
@IsOptional()
|
|
65
|
+
@IsBoolean()
|
|
66
|
+
@ToBoolean()
|
|
67
|
+
utm?: boolean;
|
|
68
|
+
|
|
69
|
+
@ApiPropertyOptional()
|
|
70
|
+
@IsOptional()
|
|
71
|
+
@IsBoolean()
|
|
72
|
+
@ToBoolean()
|
|
73
|
+
sendPlaquette?: boolean;
|
|
74
|
+
|
|
75
|
+
@ApiPropertyOptional()
|
|
76
|
+
@IsOptional()
|
|
77
|
+
@IsBoolean()
|
|
78
|
+
@ToBoolean()
|
|
79
|
+
isSignatureDate?: boolean;
|
|
80
|
+
|
|
81
|
+
@ApiPropertyOptional()
|
|
82
|
+
@IsOptional()
|
|
83
|
+
@IsString()
|
|
84
|
+
relanceDate?: string;
|
|
85
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class ReadDataStatsProspect {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
color: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export class ReadStatsProspect {
|
|
8
|
+
statsProspect: ReadDataStatsProspect[];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface StatsProspectResponse {
|
|
12
|
+
totalItems: number;
|
|
13
|
+
nbFait: number;
|
|
14
|
+
nbDevis: number;
|
|
15
|
+
souscrisMoisEnCours: number;
|
|
16
|
+
souscrisTotal: number;
|
|
17
|
+
delayForSignatureTotal: number;
|
|
18
|
+
statsProspect: ReadDataStatsProspect[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IsDateString, IsEnum, IsInt } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils/decorators';
|
|
3
|
+
import { SocietyTypeExportCsv } from '../../../Enum/SocietyTypeExportCsv';
|
|
4
|
+
|
|
5
|
+
export class DataCustomersCsv {
|
|
6
|
+
@ApiProperty()
|
|
7
|
+
@IsInt()
|
|
8
|
+
@IsEnum(SocietyTypeExportCsv)
|
|
9
|
+
type: number;
|
|
10
|
+
|
|
11
|
+
@ApiProperty()
|
|
12
|
+
@IsDateString()
|
|
13
|
+
startDate: string;
|
|
14
|
+
|
|
15
|
+
@ApiProperty()
|
|
16
|
+
@IsDateString()
|
|
17
|
+
endDate: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IsDate, IsInt, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class QueryGetSpecialHoursForTeam {
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
@IsOptional()
|
|
7
|
+
@IsInt()
|
|
8
|
+
idTeam?: number;
|
|
9
|
+
|
|
10
|
+
@ApiProperty()
|
|
11
|
+
@IsDate()
|
|
12
|
+
date: Date;
|
|
13
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IFile } from '../../models/IFile';
|
|
2
|
+
import { IUser } from '../../models/IUser';
|
|
2
3
|
|
|
3
4
|
export interface DailyHour {
|
|
4
5
|
from: number;
|
|
@@ -6,6 +7,13 @@ export interface DailyHour {
|
|
|
6
7
|
start?: string;
|
|
7
8
|
end?: string;
|
|
8
9
|
class?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface DailyAbsence {
|
|
14
|
+
idTypeAbsence?: number;
|
|
15
|
+
startDate?: string;
|
|
16
|
+
endDate?: string;
|
|
9
17
|
}
|
|
10
18
|
export interface SpecialHours {
|
|
11
19
|
1?: DailyHour | DailyHour[];
|
|
@@ -15,6 +23,13 @@ export interface SpecialHours {
|
|
|
15
23
|
5?: DailyHour | DailyHour[];
|
|
16
24
|
}
|
|
17
25
|
|
|
26
|
+
export interface ReadSpecialHoursByUser {
|
|
27
|
+
user: IUser;
|
|
28
|
+
type: string;
|
|
29
|
+
hourList?: DailyHour[];
|
|
30
|
+
absenceList?: DailyAbsence[];
|
|
31
|
+
}
|
|
32
|
+
|
|
18
33
|
export interface TimeSlots {
|
|
19
34
|
startDate: Date;
|
|
20
35
|
endDate: Date;
|
|
@@ -44,3 +59,9 @@ export type ReadAvailableTimeSlots = {
|
|
|
44
59
|
date: string;
|
|
45
60
|
list: DailyHour[];
|
|
46
61
|
}[];
|
|
62
|
+
|
|
63
|
+
export type ReadAvailableTimeSlotsWithDetails = {
|
|
64
|
+
date: string;
|
|
65
|
+
list: DailyHour[];
|
|
66
|
+
absenceList: DailyAbsence[];
|
|
67
|
+
}[];
|
|
@@ -3,12 +3,12 @@ import { ISociety } from './ISociety';
|
|
|
3
3
|
// analyticsUtm
|
|
4
4
|
export interface IAnalyticsUtm {
|
|
5
5
|
id?: number;
|
|
6
|
-
source
|
|
7
|
-
medium
|
|
8
|
-
campaign
|
|
9
|
-
term
|
|
10
|
-
content
|
|
11
|
-
idSociety
|
|
6
|
+
source?: string | null;
|
|
7
|
+
medium?: string | null;
|
|
8
|
+
campaign?: string | null;
|
|
9
|
+
term?: string | null;
|
|
10
|
+
content?: string | null;
|
|
11
|
+
idSociety?: number;
|
|
12
12
|
createdAt?: Date | null;
|
|
13
13
|
updatedAt?: Date | null;
|
|
14
14
|
|
package/ts/types/index.ts
CHANGED
|
@@ -574,6 +574,8 @@ export * from './Enum/QualificationLead';
|
|
|
574
574
|
export * from './Enum/Template';
|
|
575
575
|
export * from './Enum/Marketing';
|
|
576
576
|
export * from './Enum/EnglishLevel';
|
|
577
|
+
export * from './Enum/OCRPrompt';
|
|
578
|
+
export * from './Enum/SocietyTypeExportCsv';
|
|
577
579
|
|
|
578
580
|
// Interfaces API
|
|
579
581
|
export * from './Interface/api/exercice/ReadExercice';
|
|
@@ -660,6 +662,7 @@ export * from './Interface/api/society/SocietyWithStatsCaParams';
|
|
|
660
662
|
export * from './Interface/api/society/QuerySociety';
|
|
661
663
|
export * from './Interface/api/society/QueryPaginatedSociety';
|
|
662
664
|
export * from './Interface/api/commercial/QueryPaginatedNewProspect';
|
|
665
|
+
export * from './Interface/api/commercial/QueryPaginatedFollowProspect';
|
|
663
666
|
export * from './Interface/api/commercial/QueryPaginatedSocietyWithStatsCa';
|
|
664
667
|
export * from './Interface/api/facturation/Query';
|
|
665
668
|
export * from './Interface/api/facturation/QueryPaginatedSocietyWithFacturation';
|
|
@@ -674,6 +677,7 @@ export * from './Interface/api/commercial/QueryGetStatsHistory';
|
|
|
674
677
|
export * from './Interface/api/commercial/RequiredDocsTypeParams';
|
|
675
678
|
export * from './Interface/api/commercial/QueryFetchDialogDatasInfosOk';
|
|
676
679
|
export * from './Interface/api/commercial/QueryMovePrestationsToNextMonth';
|
|
680
|
+
export * from './Interface/api/commercial/ReadStatsProspect';
|
|
677
681
|
export * from './Interface/api/society/GetDataSociety';
|
|
678
682
|
export * from './Interface/api/society/CreateSociety';
|
|
679
683
|
export * from './Interface/api/society/GetSocietyDetail';
|
|
@@ -683,6 +687,7 @@ export * from './Interface/api/society/CreateUserToSocietyWithPermission';
|
|
|
683
687
|
export * from './Interface/api/society/UpdateUserToSocietyWithPermission';
|
|
684
688
|
export * from './Interface/api/society/ReadSocietyUsers';
|
|
685
689
|
export * from './Interface/api/society/ReadSocietyUnpaidStats';
|
|
690
|
+
export * from './Interface/api/society/DataCustomersCsv';
|
|
686
691
|
export * from './Interface/api/BasePaginate';
|
|
687
692
|
export * from './Interface/api/BaseRequest';
|
|
688
693
|
export * from './Interface/api/generalLedger/IGeneralLedgerAccount';
|
|
@@ -1126,6 +1131,7 @@ export * from './Interface/api/echo/NewsPaper';
|
|
|
1126
1131
|
export * from './Interface/api/echo/Order';
|
|
1127
1132
|
export * from './Interface/api/userTimeSlot/QueryUserTimeSlot';
|
|
1128
1133
|
export * from './Interface/api/workingSchedule/QueryAvailableTimeSlot';
|
|
1134
|
+
export * from './Interface/api/workingSchedule/Query';
|
|
1129
1135
|
export * from './Interface/api/payment/Query';
|
|
1130
1136
|
export * from './Interface/api/regulation/Query';
|
|
1131
1137
|
export * from './Interface/api/terminationList/Read';
|
|
@@ -115,7 +115,7 @@ export const bodyTemplate = `<html class="pdf-content">
|
|
|
115
115
|
<br/><%= languageTemplate.template.common.options.approval %> : <br/><br/><br/><br/>
|
|
116
116
|
<% } %>
|
|
117
117
|
|
|
118
|
-
<% if (cgv && (settings && settings.invoiceCgv) && (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE} || idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE} || idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR} || idEstimateInvoiceType === ${EstimateInvoiceType.RESTE} ) { %>
|
|
118
|
+
<% if (cgv && (settings && settings.invoiceCgv) && (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE} || idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE} || idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR} || idEstimateInvoiceType === ${EstimateInvoiceType.RESTE} )) { %>
|
|
119
119
|
<br><div style="page-break-after:always;"></div>
|
|
120
120
|
<div id="WYSIWYG"><%- cgv %></div>
|
|
121
121
|
<% } %>
|