@silexpert/core 1.3.20 → 1.3.22
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/types/Enum/AIPrompt.d.ts +0 -2
- package/dist/cjs/types/Enum/AIPrompt.d.ts.map +1 -1
- package/dist/cjs/types/Enum/AIPrompt.js +17 -12
- package/dist/cjs/types/Enum/AIPrompt.js.map +1 -1
- package/dist/cjs/types/Interface/api/ocr/OcrTransactions.d.ts +1 -0
- package/dist/cjs/types/Interface/api/ocr/OcrTransactions.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/ocr/OcrTransactions.js +6 -0
- package/dist/cjs/types/Interface/api/ocr/OcrTransactions.js.map +1 -1
- package/dist/cjs/types/Interface/api/supervision/Query.d.ts +1 -0
- package/dist/cjs/types/Interface/api/supervision/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/supervision/Query.js +7 -0
- package/dist/cjs/types/Interface/api/supervision/Query.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/templates/common.js +1 -1
- package/dist/cjs/utils/commercialManagement/templates/common.js.map +1 -1
- package/dist/mjs/types/Enum/AIPrompt.d.ts +0 -2
- package/dist/mjs/types/Enum/AIPrompt.d.ts.map +1 -1
- package/dist/mjs/types/Enum/AIPrompt.js +17 -12
- package/dist/mjs/types/Enum/AIPrompt.js.map +1 -1
- package/dist/mjs/types/Interface/api/ocr/OcrTransactions.d.ts +1 -0
- package/dist/mjs/types/Interface/api/ocr/OcrTransactions.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/ocr/OcrTransactions.js +8 -1
- package/dist/mjs/types/Interface/api/ocr/OcrTransactions.js.map +1 -1
- package/dist/mjs/types/Interface/api/supervision/Query.d.ts +1 -0
- package/dist/mjs/types/Interface/api/supervision/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/supervision/Query.js +8 -0
- package/dist/mjs/types/Interface/api/supervision/Query.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/templates/common.js +1 -1
- package/dist/mjs/utils/commercialManagement/templates/common.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/AIPrompt.ts +17 -12
- package/ts/types/Interface/api/ocr/OcrTransactions.ts +6 -1
- package/ts/types/Interface/api/supervision/Query.ts +6 -0
- package/ts/utils/commercialManagement/templates/common.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
import { OcrTransactionDetails } from './OcrTypeTransactions';
|
|
@@ -20,4 +20,9 @@ export class OcrTransactions {
|
|
|
20
20
|
@IsBoolean()
|
|
21
21
|
@ApiProperty()
|
|
22
22
|
isPdf: boolean;
|
|
23
|
+
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
@IsOptional()
|
|
26
|
+
@IsString()
|
|
27
|
+
error?: string;
|
|
23
28
|
}
|
|
@@ -95,6 +95,12 @@ export class QueryPaginatedBalanceSheetSupervision extends RequiredQueryPaginate
|
|
|
95
95
|
@IsOptional()
|
|
96
96
|
@IsDate()
|
|
97
97
|
endDateBalanceSend?: Date | null;
|
|
98
|
+
|
|
99
|
+
@ApiPropertyOptional()
|
|
100
|
+
@IsOptional()
|
|
101
|
+
@IsBoolean()
|
|
102
|
+
@ToBoolean()
|
|
103
|
+
isLegalManagement?: boolean | null;
|
|
98
104
|
}
|
|
99
105
|
|
|
100
106
|
export class QueryInternalSupervisionsStats {
|
|
@@ -8,7 +8,7 @@ export class CommercialDocumentCommonHTML {
|
|
|
8
8
|
<span id="header-edging" style="position: absolute; top: 0; left: 0; width: 100vw; font-size: 10px !important; height: 15px; background-color: <%= settings && settings.edgingColor ? settings.edgingColor : '#333333' %>; margin-bottom: 20px;"></span>
|
|
9
9
|
<% } %>`;
|
|
10
10
|
|
|
11
|
-
footer = `<div style="font-size: 8px !important; color: #838384; text-align: center; padding: 0 40px; display: block; width: 100%;">
|
|
11
|
+
footer = `<div class="footer" style="font-size: 8px !important; color: #838384; text-align: center; padding: 0 40px; display: block; width: 100%;">
|
|
12
12
|
<% if (freeText) { %><%- freeText %><br/><br/><% } %><% if (accountingCategoryFormatted) {%><%= accountingCategoryFormatted %> | <%}%><% if(marginVats.length > 0) { %><%= languageTemplate.template.common.footer.marginVat %> - <% marginVats.forEach(function(v, index) { %><%= v %> - <% }) %><%= languageTemplate.template.common.footer.legalVatMention %> | <% } %><% if(penalties || compensation || discount) { %><%= penalties ? languageTemplate.template.common.footer.penalties + ' : ' + penalties : ''%><%= penalties && compensation ? ' | ' : ''%><%= compensation ? languageTemplate.template.common.footer.recoveryCosts + ' : ' + compensation + ' ' : '' %><%= (compensation || penalties) && discount ? ' | ' : '' %><%= discount ? languageTemplate.template.common.footer.discount + ' : ' + discount : '' %><%= shouldPayTaxAfterDebit ? "| " + languageTemplate.template.common.footer.shouldPayTaxAfterDebit : '' %><% if(name || legalForm || capital || siren || rcs) {%><br/><br/><% } %><% } %><%= name %><%= name && (legalForm || capital || siren || rcs) ? ', ' : ''%><%= legalForm %><%= capital ? ' ' + languageTemplate.template.common.footer.capital + ' ' + capitalFormatted + ' €' : '' %><%= siren ? ' ' + languageTemplate.template.common.footer.siren + ' ' + siren : ''%><%= rcs ? '| RCS ' + rcs : ''%><% if (vatCode || nafCode) {%><br/><% } %><%= vatCode ? languageTemplate.template.common.footer.vatCode + ' ' +vatCode : ''%><% if(vatCode && nafCode){%>|<%}%><%= nafCode ? 'APE '+nafCode : '' %>
|
|
13
13
|
<% if (["Clementine", "Pourcentage", "Comptalib"].includes(brandName) && !shouldHideBrandName) { %>
|
|
14
14
|
<div style="display: grid; place-items: center;"><div style="background-color: <%= brandColors.primary50 %>; color: <%= brandColors.primary500 %>; display: flex; gap: 3px; max-width: fit-content; border-radius: 4px; padding: 4px 8px; margin-top: 8px; align-items: center; font-size: 9px; line-height: 140%; font-family: 'circular std', sans serif; font-weight: 450;">
|