@silexpert/core 1.0.148 → 1.0.150

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 (53) hide show
  1. package/es/types/Enum/MailAuto.d.ts +21 -0
  2. package/es/types/Enum/MailAuto.d.ts.map +1 -1
  3. package/es/types/Enum/MailAuto.js +80 -0
  4. package/es/types/Enum/MailAuto.js.map +1 -1
  5. package/es/types/Enum/PaymentReason.d.ts.map +1 -1
  6. package/es/types/Enum/PaymentReason.js.map +1 -1
  7. package/es/types/Interface/api/commercialManagement/Create.d.ts +1 -0
  8. package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  9. package/es/types/Interface/api/commercialManagement/Create.js +4 -0
  10. package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
  11. package/es/types/Interface/api/loan/CreateLoan.d.ts +1 -1
  12. package/es/types/Interface/api/loan/CreateLoan.js +3 -3
  13. package/es/types/Interface/api/loan/CreateLoan.js.map +1 -1
  14. package/es/types/Interface/api/loan/UpdateLoan.d.ts +1 -1
  15. package/es/types/Interface/api/loan/UpdateLoan.js +2 -2
  16. package/es/types/Interface/api/loan/UpdateLoan.js.map +1 -1
  17. package/es/types/Interface/api/partner/Query.d.ts +3 -0
  18. package/es/types/Interface/api/partner/Query.d.ts.map +1 -1
  19. package/es/types/Interface/api/partner/Query.js +12 -0
  20. package/es/types/Interface/api/partner/Query.js.map +1 -1
  21. package/es/types/Interface/models/ILoan.d.ts +1 -1
  22. package/es/types/Interface/models/ILoan.js.map +1 -1
  23. package/es/types/Interface/models/ISocietyGescom.d.ts +1 -0
  24. package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  25. package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
  26. package/es/utils/commercialManagement/templates/body.d.ts.map +1 -1
  27. package/es/utils/commercialManagement/templates/body.js +3 -2
  28. package/es/utils/commercialManagement/templates/body.js.map +1 -1
  29. package/js/types/Enum/MailAuto.js +64 -0
  30. package/js/types/Enum/MailAuto.js.map +1 -1
  31. package/js/types/Enum/PaymentReason.js.map +1 -1
  32. package/js/types/Interface/api/commercialManagement/Create.js +3 -0
  33. package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
  34. package/js/types/Interface/api/loan/CreateLoan.js +1 -1
  35. package/js/types/Interface/api/loan/CreateLoan.js.map +1 -1
  36. package/js/types/Interface/api/loan/UpdateLoan.js +1 -1
  37. package/js/types/Interface/api/loan/UpdateLoan.js.map +1 -1
  38. package/js/types/Interface/api/partner/Query.js +3 -0
  39. package/js/types/Interface/api/partner/Query.js.map +1 -1
  40. package/js/types/Interface/models/ILoan.js.map +1 -1
  41. package/js/types/Interface/models/ISocietyGescom.js.map +1 -1
  42. package/js/utils/commercialManagement/templates/body.js +3 -2
  43. package/js/utils/commercialManagement/templates/body.js.map +1 -1
  44. package/package.json +1 -1
  45. package/ts/types/Enum/MailAuto.ts +81 -0
  46. package/ts/types/Enum/PaymentReason.ts +42 -43
  47. package/ts/types/Interface/api/commercialManagement/Create.ts +3 -0
  48. package/ts/types/Interface/api/loan/CreateLoan.ts +3 -3
  49. package/ts/types/Interface/api/loan/UpdateLoan.ts +2 -2
  50. package/ts/types/Interface/api/partner/Query.ts +9 -0
  51. package/ts/types/Interface/models/ILoan.ts +1 -1
  52. package/ts/types/Interface/models/ISocietyGescom.ts +1 -0
  53. package/ts/utils/commercialManagement/templates/body.ts +3 -2
@@ -11,9 +11,9 @@ export class UpdateLoanForm {
11
11
  lenderDesignation?: string;
12
12
 
13
13
  @ApiPropertyOptional()
14
- @IsNumber()
14
+ @IsString()
15
15
  @IsOptional()
16
- number?: number;
16
+ number?: string;
17
17
 
18
18
  @ApiPropertyOptional()
19
19
  @IsNumber()
@@ -16,6 +16,12 @@ export class GetPartnersCurrentAccounts {
16
16
 
17
17
  @ApiProperty()
18
18
  endDate!: Date;
19
+
20
+ @ApiPropertyOptional()
21
+ descending?: boolean;
22
+
23
+ @ApiPropertyOptional()
24
+ orderBy?: string;
19
25
  }
20
26
 
21
27
  export class GetPartnerSolde {
@@ -27,4 +33,7 @@ export class GetPartnerSolde {
27
33
 
28
34
  @ApiProperty()
29
35
  limit: number;
36
+
37
+ @ApiPropertyOptional()
38
+ search?: string;
30
39
  }
@@ -7,7 +7,7 @@ export interface ILoan {
7
7
  id?: number;
8
8
  name: string;
9
9
  lenderDesignation: string;
10
- number: number;
10
+ number: string;
11
11
  accountCount: number;
12
12
  amount: number;
13
13
  assetBeforeExercice: number;
@@ -44,6 +44,7 @@ export interface ISocietyGescom {
44
44
  areLinesSeparationHidden?: boolean;
45
45
  areColumnsSeparationHidden?: boolean;
46
46
  areExternalBordersHidden?: boolean;
47
+ paymentType?: string | null;
47
48
  idFont?: FontIds | null;
48
49
  idSociety?: number | null;
49
50
  idTvaMargin?: number | null;
@@ -99,10 +99,11 @@ export const bodyTemplate = `<html class="pdf-content">
99
99
 
100
100
  </div>
101
101
 
102
- <% if (settings && (settings.iban || settings.bic)) { %>
102
+ <% if (settings && (settings.iban || settings.bic || settings.bank || paymentType)) { %>
103
103
  <div class="row mt-30 space-between" style="page-break-inside: avoid !important;">
104
104
  <div>
105
- <% if (settings && (settings.iban || settings.bic || settings.bank)) { %>
105
+ <% if (settings && (settings.iban || settings.bic || settings.bank || paymentType)) { %>
106
+ <% if(paymentType) { %>Mode de paiement : <%= paymentType %><br/><% } %>
106
107
  <% if(settings.bank) { %>BANQUE : <%= settings.bank %><br/><% } %>
107
108
  <% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>
108
109
  <% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>