@silexpert/core 1.1.234 → 1.1.236
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/AccountingFiles.d.ts +2 -1
- package/dist/cjs/api/resources/AccountingFiles.d.ts.map +1 -1
- package/dist/cjs/api/resources/AccountingFiles.js +3 -0
- package/dist/cjs/api/resources/AccountingFiles.js.map +1 -1
- package/dist/cjs/api/resources/Transaction.d.ts +2 -1
- package/dist/cjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/cjs/api/resources/Transaction.js +3 -0
- package/dist/cjs/api/resources/Transaction.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +2 -2
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/CommercialOfferType.js +2 -2
- package/dist/cjs/types/Enum/CommercialOfferType.js.map +1 -1
- package/dist/cjs/types/Enum/EntityType.d.ts +1 -1
- package/dist/cjs/types/Enum/EntityType.js +1 -1
- package/dist/cjs/types/Enum/EntityType.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingEntry/Create.d.ts +9 -0
- package/dist/cjs/types/Interface/api/accountingEntry/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingEntry/Create.js +41 -1
- package/dist/cjs/types/Interface/api/accountingEntry/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +4 -0
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +15 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +4 -0
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js +13 -3
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js +9 -0
- package/dist/cjs/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyDetail.d.ts +3 -0
- package/dist/cjs/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyDetail.js.map +1 -1
- package/dist/cjs/utils/email/templates/signature.js +1 -1
- package/dist/cjs/utils/email/templates/signature.js.map +1 -1
- package/dist/cjs/utils/email.js +1 -1
- package/dist/cjs/utils/email.js.map +1 -1
- package/dist/mjs/api/resources/AccountingFiles.d.ts +2 -1
- package/dist/mjs/api/resources/AccountingFiles.d.ts.map +1 -1
- package/dist/mjs/api/resources/AccountingFiles.js +3 -0
- package/dist/mjs/api/resources/AccountingFiles.js.map +1 -1
- package/dist/mjs/api/resources/Transaction.d.ts +2 -1
- package/dist/mjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/mjs/api/resources/Transaction.js +3 -0
- package/dist/mjs/api/resources/Transaction.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +2 -2
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/CommercialOfferType.js +2 -2
- package/dist/mjs/types/Enum/CommercialOfferType.js.map +1 -1
- package/dist/mjs/types/Enum/EntityType.d.ts +1 -1
- package/dist/mjs/types/Enum/EntityType.js +1 -1
- package/dist/mjs/types/Enum/EntityType.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingEntry/Create.d.ts +9 -0
- package/dist/mjs/types/Interface/api/accountingEntry/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingEntry/Create.js +46 -0
- package/dist/mjs/types/Interface/api/accountingEntry/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +4 -0
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +15 -0
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +4 -0
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js +16 -4
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js +10 -1
- package/dist/mjs/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyDetail.d.ts +3 -0
- package/dist/mjs/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyDetail.js.map +1 -1
- package/dist/mjs/utils/email/templates/signature.js +1 -1
- package/dist/mjs/utils/email/templates/signature.js.map +1 -1
- package/dist/mjs/utils/email.js +1 -1
- package/dist/mjs/utils/email.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountingFiles.ts +5 -1
- package/ts/api/resources/Transaction.ts +5 -1
- package/ts/types/Enum/BrandPourcentage.ts +2 -2
- package/ts/types/Enum/CommercialOfferType.ts +2 -2
- package/ts/types/Enum/EntityType.ts +1 -1
- package/ts/types/Interface/api/accountingEntry/Create.ts +32 -0
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +13 -0
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +10 -1
- package/ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts +8 -2
- package/ts/types/Interface/models/ISocietyDetail.ts +3 -0
- package/ts/utils/email/templates/signature.ts +1 -1
- package/ts/utils/email.ts +1 -1
|
@@ -40,6 +40,38 @@ export class CreateManualEntry {
|
|
|
40
40
|
balanceIsOptionnal?: boolean;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
export class CreateWithMasterEntry {
|
|
44
|
+
@ApiProperty()
|
|
45
|
+
@IsNumber()
|
|
46
|
+
debit: number;
|
|
47
|
+
|
|
48
|
+
@ApiProperty()
|
|
49
|
+
@IsNumber()
|
|
50
|
+
credit: number;
|
|
51
|
+
|
|
52
|
+
@ApiProperty()
|
|
53
|
+
dateValue: Date;
|
|
54
|
+
|
|
55
|
+
@ApiProperty()
|
|
56
|
+
@IsString()
|
|
57
|
+
designation: string;
|
|
58
|
+
|
|
59
|
+
@ApiPropertyOptional()
|
|
60
|
+
@IsNumber()
|
|
61
|
+
@IsOptional()
|
|
62
|
+
idAccountingJournal?: AccountingJournal | null;
|
|
63
|
+
|
|
64
|
+
@ApiPropertyOptional()
|
|
65
|
+
@IsInt()
|
|
66
|
+
@IsOptional()
|
|
67
|
+
idFile?: number | null;
|
|
68
|
+
|
|
69
|
+
@ApiPropertyOptional()
|
|
70
|
+
@IsString()
|
|
71
|
+
@IsOptional()
|
|
72
|
+
dateLocked?: string | null;
|
|
73
|
+
}
|
|
74
|
+
|
|
43
75
|
export class DuplicateAccountingTransaction {
|
|
44
76
|
@ApiProperty()
|
|
45
77
|
@IsArray()
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
2
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
3
|
+
import {
|
|
4
|
+
IsInt, IsOptional,
|
|
5
|
+
} from 'class-validator';
|
|
3
6
|
|
|
4
7
|
export class QueryAccountingFiles {
|
|
5
8
|
@ApiProperty()
|
|
@@ -30,4 +33,14 @@ export class QueryAccountingFilesV2 extends QueryAccountingFiles {
|
|
|
30
33
|
|
|
31
34
|
@ApiPropertyOptional()
|
|
32
35
|
idAccountingTransaction?: number;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class CreateAccountingFileFromFile {
|
|
39
|
+
@ApiProperty()
|
|
40
|
+
@IsInt()
|
|
41
|
+
idAccountingFileType: number;
|
|
42
|
+
|
|
43
|
+
@ApiPropertyOptional()
|
|
44
|
+
@IsOptional()
|
|
45
|
+
emissionDate: Date | null;
|
|
33
46
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
2
|
import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation';
|
|
3
|
+
import { AccountingJournal } from '../../../Enum/AccountingJournal';
|
|
3
4
|
|
|
4
5
|
export class QueryTransaction {
|
|
5
6
|
id: number;
|
|
@@ -11,7 +12,6 @@ export class QueryTransaction {
|
|
|
11
12
|
limit: number;
|
|
12
13
|
|
|
13
14
|
@ApiProperty()
|
|
14
|
-
// @Type(() => Number)
|
|
15
15
|
idAccountingJournal: number[];
|
|
16
16
|
|
|
17
17
|
@ApiPropertyOptional()
|
|
@@ -20,6 +20,9 @@ export class QueryTransaction {
|
|
|
20
20
|
@ApiPropertyOptional()
|
|
21
21
|
idAccountType?: number;
|
|
22
22
|
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
idFile?: number;
|
|
25
|
+
|
|
23
26
|
@ApiPropertyOptional()
|
|
24
27
|
orderBy?: string;
|
|
25
28
|
|
|
@@ -57,4 +60,10 @@ export class QueryGetAllTransactions {
|
|
|
57
60
|
|
|
58
61
|
@ApiPropertyOptional()
|
|
59
62
|
dateValue?: string;
|
|
63
|
+
|
|
64
|
+
@ApiPropertyOptional()
|
|
65
|
+
idAccountingJournal: AccountingJournal[];
|
|
66
|
+
|
|
67
|
+
@ApiPropertyOptional()
|
|
68
|
+
idFile: number;
|
|
60
69
|
}
|
package/ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IsBoolean, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
3
|
import { QueryPaginate } from '../BasePaginate';
|
|
3
4
|
import { Order } from '../BaseRequest';
|
|
5
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
6
|
|
|
5
7
|
export class QueryPaymentExpectationCustomer {
|
|
6
8
|
// @ApiProperty()
|
|
@@ -41,7 +43,11 @@ export class QueryGetSocietyPaymentsExpectationsCustomers implements QueryPagina
|
|
|
41
43
|
|
|
42
44
|
order?: string;
|
|
43
45
|
|
|
44
|
-
|
|
46
|
+
@ApiPropertyOptional()
|
|
47
|
+
@IsBoolean()
|
|
48
|
+
@ToBoolean()
|
|
49
|
+
@IsOptional()
|
|
50
|
+
descending?: boolean;
|
|
45
51
|
}
|
|
46
52
|
|
|
47
53
|
export class QueryPayPaymentExpectationCustomer {
|
|
@@ -86,6 +86,9 @@ export interface ISocietyDetail {
|
|
|
86
86
|
personnalContributionCapital?: string | null;
|
|
87
87
|
personnalContributionCurrentBankAccount?: string | null;
|
|
88
88
|
personnalContributionInKind?: string | null;
|
|
89
|
+
dateOfCertificateOfDepositOfShareCapital?: Date | null;
|
|
90
|
+
bankOfDepositOfShareCapital?: string | null;
|
|
91
|
+
addressOfBankOfDepositOfShareCapital?: string | null;
|
|
89
92
|
poleEmploiAid?: string | null;
|
|
90
93
|
poleEmploiAidType?: number | null;
|
|
91
94
|
honorLoan?: string | null;
|
|
@@ -187,7 +187,7 @@ ${logoClementine}
|
|
|
187
187
|
</table>
|
|
188
188
|
<p style="margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2"><!-- --></p>
|
|
189
189
|
<p style="margin:0px 0; padding:0 0 4px; color:#6E6E71;">
|
|
190
|
-
Standard :
|
|
190
|
+
Standard : <%- standardPhoneSignature %><br/>
|
|
191
191
|
<% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>
|
|
192
192
|
Ligne directe : <%- phoneSignature %><br/>
|
|
193
193
|
<% } %>
|
package/ts/utils/email.ts
CHANGED
|
@@ -278,7 +278,7 @@ export function generateSignature(params: any): string {
|
|
|
278
278
|
roleSignature,
|
|
279
279
|
mailSignature,
|
|
280
280
|
phoneSignature,
|
|
281
|
-
standardPhoneSignature,
|
|
281
|
+
standardPhoneSignature: standardPhoneSignature.replace(/\s+/gm, ' '),
|
|
282
282
|
horaires,
|
|
283
283
|
primaryColor,
|
|
284
284
|
supportMail,
|