@silexpert/core 1.0.123 → 1.0.125

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 (73) hide show
  1. package/es/api/resources/SocietyConfigBalanceSheet.d.ts +1 -1
  2. package/es/api/resources/SocietyConfigBalanceSheet.d.ts.map +1 -1
  3. package/es/api/resources/SocietyConfigBalanceSheet.js +2 -2
  4. package/es/api/resources/SocietyConfigBalanceSheet.js.map +1 -1
  5. package/es/types/Enum/BalanceSheet.d.ts +1 -1
  6. package/es/types/Enum/BalanceSheet.js +1 -1
  7. package/es/types/Enum/BalanceSheet.js.map +1 -1
  8. package/es/types/Enum/BrandComptalib.js +1 -1
  9. package/es/types/Enum/BrandComptalib.js.map +1 -1
  10. package/es/types/Enum/DepositDocumentType.d.ts +10 -0
  11. package/es/types/Enum/DepositDocumentType.d.ts.map +1 -1
  12. package/es/types/Enum/DepositDocumentType.js +12 -0
  13. package/es/types/Enum/DepositDocumentType.js.map +1 -1
  14. package/es/types/Enum/Ged.d.ts +4 -0
  15. package/es/types/Enum/Ged.d.ts.map +1 -1
  16. package/es/types/Enum/Ged.js +26 -0
  17. package/es/types/Enum/Ged.js.map +1 -1
  18. package/es/types/Enum/MailAuto.d.ts +17 -1
  19. package/es/types/Enum/MailAuto.d.ts.map +1 -1
  20. package/es/types/Enum/MailAuto.js +28 -0
  21. package/es/types/Enum/MailAuto.js.map +1 -1
  22. package/es/types/Enum/RevisionGuide.d.ts +3 -3
  23. package/es/types/Enum/RevisionGuide.d.ts.map +1 -1
  24. package/es/types/Enum/RevisionGuide.js +3 -3
  25. package/es/types/Enum/RevisionGuide.js.map +1 -1
  26. package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js +1 -1
  27. package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -1
  28. package/es/types/Interface/models/IGedFile.d.ts +2 -0
  29. package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
  30. package/es/types/Interface/models/IGedFile.js.map +1 -1
  31. package/es/types/Interface/models/IPaymentExpectation.d.ts +1 -0
  32. package/es/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  33. package/es/types/Interface/models/IPaymentExpectation.js.map +1 -1
  34. package/es/types/Interface/models/ISociety.d.ts +2 -1
  35. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  36. package/es/types/Interface/models/ISociety.js.map +1 -1
  37. package/es/types/Interface/models/ISocietyConfigBalanceSheet.d.ts +6 -2
  38. package/es/types/Interface/models/ISocietyConfigBalanceSheet.d.ts.map +1 -1
  39. package/es/types/Interface/models/ISocietyConfigBalanceSheet.js.map +1 -1
  40. package/es/utils/commercialManagement/templates/common.js +1 -1
  41. package/es/utils/commercialManagement/templates/common.js.map +1 -1
  42. package/js/api/resources/SocietyConfigBalanceSheet.js +2 -2
  43. package/js/api/resources/SocietyConfigBalanceSheet.js.map +1 -1
  44. package/js/types/Enum/BalanceSheet.js +1 -1
  45. package/js/types/Enum/BalanceSheet.js.map +1 -1
  46. package/js/types/Enum/BrandComptalib.js +1 -1
  47. package/js/types/Enum/BrandComptalib.js.map +1 -1
  48. package/js/types/Enum/DepositDocumentType.js +17 -1
  49. package/js/types/Enum/DepositDocumentType.js.map +1 -1
  50. package/js/types/Enum/Ged.js +19 -0
  51. package/js/types/Enum/Ged.js.map +1 -1
  52. package/js/types/Enum/MailAuto.js +34 -0
  53. package/js/types/Enum/MailAuto.js.map +1 -1
  54. package/js/types/Enum/RevisionGuide.js +3 -3
  55. package/js/types/Enum/RevisionGuide.js.map +1 -1
  56. package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js +1 -1
  57. package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -1
  58. package/js/utils/commercialManagement/templates/common.js +1 -1
  59. package/js/utils/commercialManagement/templates/common.js.map +1 -1
  60. package/package.json +1 -1
  61. package/ts/api/resources/SocietyConfigBalanceSheet.ts +2 -2
  62. package/ts/types/Enum/BalanceSheet.ts +1 -1
  63. package/ts/types/Enum/BrandComptalib.ts +1 -1
  64. package/ts/types/Enum/DepositDocumentType.ts +12 -0
  65. package/ts/types/Enum/Ged.ts +27 -0
  66. package/ts/types/Enum/MailAuto.ts +30 -1
  67. package/ts/types/Enum/RevisionGuide.ts +3 -3
  68. package/ts/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.ts +1 -1
  69. package/ts/types/Interface/models/IGedFile.ts +2 -0
  70. package/ts/types/Interface/models/IPaymentExpectation.ts +1 -0
  71. package/ts/types/Interface/models/ISociety.ts +2 -0
  72. package/ts/types/Interface/models/ISocietyConfigBalanceSheet.ts +6 -2
  73. package/ts/utils/commercialManagement/templates/common.ts +1 -1
@@ -103,6 +103,33 @@ export enum GedFileType {
103
103
  PERSONNAL_RIB = 21, // RIB PERSO
104
104
  }
105
105
 
106
+ export const SignFileDetail = [
107
+ {
108
+ id: TypeFile.CA_TO_SIGN,
109
+ name: 'CA',
110
+ },
111
+ {
112
+ id: TypeFile.CCA_TO_SIGN,
113
+ name: 'CCA',
114
+ },
115
+ {
116
+ id: TypeFile.INVENTORY_TO_SIGN,
117
+ name: 'Inventaire',
118
+ },
119
+ {
120
+ id: TypeFile.FUND_TO_SIGN,
121
+ name: 'Caisse',
122
+ },
123
+ {
124
+ id: TypeFile.SUPPLIER_BOOK_TO_SIGN,
125
+ name: 'Grand Livre fournisseur',
126
+ },
127
+ {
128
+ id: TypeFile.CLIENT_BOOK_TO_SIGN,
129
+ name: 'Grand Livre client',
130
+ },
131
+ ];
132
+
106
133
  export const GedFileTypeDetail = {
107
134
  STATUTES: {
108
135
  id: GedFileType.STATUTES,
@@ -116,4 +116,33 @@ export enum MailAuto {
116
116
  MEETING_WITH_CLEMENTINE = 135,
117
117
  DONT_MISS_CLEMENTINE = 136,
118
118
  CLEMENTINE_ADVENTURE_DOES_NOT_END = 137,
119
- }
119
+ ASK_DOCUMENTS_FOR_BALANCE_SHEET = 138,
120
+ ASK_SIGNED_DOCUMENTS_FOR_BALANCE_SHEET = 139,
121
+ }
122
+
123
+ export const MailAutoList = [
124
+ {
125
+ id: MailAuto.ASK_DOCUMENTS_FOR_BALANCE_SHEET,
126
+ onlyforRoles: null,
127
+ alias: 'ask-documents-for-balance-sheet',
128
+ title: 'Demande de document pour votre bilan comptable',
129
+ subject: 'Demande de document pour votre bilan comptable',
130
+ fields: [
131
+ { name: 'to', lg: 'xs12 sm5' },
132
+ { name: 'subject', lg: 'xs12 sm7' },
133
+ { name: 'contentHtml' },
134
+ ],
135
+ },
136
+ {
137
+ id: MailAuto.ASK_SIGNED_DOCUMENTS_FOR_BALANCE_SHEET,
138
+ onlyforRoles: null,
139
+ alias: 'ask-signed-documents-for-balance-sheet',
140
+ title: 'Signer vos documents pour mon bilan comptable',
141
+ subject: 'Signer vos documents pour mon bilan comptable',
142
+ fields: [
143
+ { name: 'to', lg: 'xs12 sm5' },
144
+ { name: 'subject', lg: 'xs12 sm7' },
145
+ { name: 'contentHtml' },
146
+ ],
147
+ },
148
+ ];
@@ -135,11 +135,11 @@ export enum RevisionGuideLabel {
135
135
  N1ELEMENT = '<b>Reprise du dossier</b>: Eléments N-1 à intégrer ?',
136
136
  N1ELEMENTJUSTIF = '<b>Reprise du dossier</b> : Soldes fournisseurs/clients N-1 traités et justifiés ?',
137
137
  IMMON1 = '<b>Reprise du dossier</b> : Immobilisations N-1 revues (HS/mise au rebut, ventes) avec le client ?',
138
- FECN1 = '<b>Reprise du dossier</b> : rapprochement plaquette & liasse avec FEC N-1',
138
+ FECN1 = '<b>Reprise du dossier</b> : rapprochement plaquette & liasse avec FEC N-1 ?',
139
139
  CAPITAUX_PERTE = '<b>Capitaux</b> : La perte est-elle supérieur au capital social ?',
140
- CONTRAT_EMPRUNT = '<b>Emprunt</b> : Contrat et échéancier d\'emprunts obtenus',
140
+ CONTRAT_EMPRUNT = '<b>Emprunt</b> : Contrat et échéancier d\'emprunts obtenus ?',
141
141
  SOLDE_RAPPRO = '<b>Banque :</b> le solde bancaire a t-il pu être rapproché PDF ou budget ?',
142
- CAISSE_OK = '<b>Caisse :</b> avez vous une caisse certifiée conforme : ',
142
+ CAISSE_OK = '<b>Caisse :</b> avez vous une caisse certifiée conforme ?',
143
143
  BAIL_COMMERCIAL = '<b>Charges :</b> Bail commercial et quittances de loyers obtenus sur l’ensemble de l’exercice comptable ?',
144
144
  TICKET_Z = '<b>Ticket Z :</b> Avez vous obtenu le ticket Z annuel ?',
145
145
  COMPTE_SOLDE = '<b>Etats :</b> Compte d\'attente soldé ?',
@@ -20,6 +20,6 @@ export class QueryGetAllSocietyConfigBalanceSheet {
20
20
  @IsString({
21
21
  each: true,
22
22
  })
23
- @IsIn(['society'], { each: true })
23
+ @IsIn(['society', 'user'], { each: true })
24
24
  include?: string[];
25
25
  }
@@ -4,6 +4,7 @@ import { IExercice } from './IExercice';
4
4
  import { IGedFileType } from './IGedFileType';
5
5
  import { IGedFolder } from './IGedFolder';
6
6
  import { IUser } from './IUser';
7
+ import { ICustomerSignature } from './ICustomerSignature';
7
8
 
8
9
  // gedFile
9
10
  export interface IGedFile {
@@ -28,4 +29,5 @@ export interface IGedFile {
28
29
  typeGedFile?: IGedFileType;
29
30
  gedFolder?: IGedFolder;
30
31
  businessPartner?: IUser;
32
+ customerSignature?: ICustomerSignature;
31
33
  }
@@ -7,6 +7,7 @@ export interface IPaymentExpectation {
7
7
  id?: number;
8
8
  label: string;
9
9
  amount: number;
10
+ payload: string;
10
11
  ref: string;
11
12
  archive: boolean;
12
13
  idCodeErreur: number | null;
@@ -49,6 +49,7 @@ import { IUser } from './IUser';
49
49
  import { ISocietyEvent } from './ISocietyEvent';
50
50
  import {
51
51
  ComptaType, CountryId, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction, IFecFile, IGedFile, IBusinessPartner, IPaymentSchedule, IRegulate, IUserSocietyPermission,
52
+ ISocietyConfigBalanceSheet,
52
53
  } from '../..';
53
54
  import { IBrandType } from './IBrandType';
54
55
 
@@ -158,6 +159,7 @@ export interface ISociety {
158
159
  connectors?: IConnector[];
159
160
  bankConnections?: IBankConnection[];
160
161
  societiesFollowedQualityMail?: IFollowedQualityMail[];
162
+ societyConfigBalanceSheet?: ISocietyConfigBalanceSheet[];
161
163
  societyFollow?: IFollow[];
162
164
  paymentsExpectations?: IPaymentExpectation[];
163
165
  paymentSchedules?: IPaymentSchedule[];
@@ -2,18 +2,21 @@ import { IDocumentWaitingType } from './IDocumentWaitingType';
2
2
  import { IExercice } from './IExercice';
3
3
  import { IBalanceSheet } from './IBalanceSheet';
4
4
  import { ISociety } from './ISociety';
5
+ import { IUser } from './IUser';
6
+ import { StateDepositDocument, StateClientDepositDocument } from '../../Enum/DepositDocumentType';
5
7
 
6
8
  // societyConfigBalanceSheet
7
9
  export interface ISocietyConfigBalanceSheet {
8
10
  id?: number;
9
- state: number;
10
- stateClient: number;
11
+ state: StateDepositDocument;
12
+ stateClient: StateClientDepositDocument;
11
13
  idSociety: number | null;
12
14
  comment: string | null;
13
15
  amount: number | null;
14
16
  idTypeDocumentsWaiting?: number | null;
15
17
  idExercice: number | null;
16
18
  idBalanceSheet: number | null;
19
+ idUser?: number | null;
17
20
  idDepositDocumentType: number | null,
18
21
  createdAt?: Date | null;
19
22
  updatedAt?: Date | null;
@@ -23,4 +26,5 @@ export interface ISocietyConfigBalanceSheet {
23
26
  exercice?: IExercice;
24
27
  society?: ISociety;
25
28
  balanceSheet?: IBalanceSheet;
29
+ user?: IUser;
26
30
  }
@@ -406,7 +406,7 @@ export class CommercialDocumentMailHTML {
406
406
  </div>
407
407
  <% if (!shouldHideBrandName) { %>
408
408
  <div style="margin-top: 20px; margin-bottom: -8px; width: fit-content; white-space: nowrap; margin-left: auto; margin-right: auto; font-size: 14px;">
409
- <div class="brand-tag" style="display: flex; line-height: 18px; height: 18px;">
409
+ <div class="brand-tag" style="display: flex; line-height: 18px; height: 14px;">
410
410
  Généré par <% if (hostS3) { %><img src="<%= hostS3 %>config/logo-brand.png" alt="logo" style="max-height: 18px; margin-left: 5px;" /><% } %>
411
411
  </div>
412
412
  </div>