@silexpert/core 1.1.256 → 1.1.258

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 (120) hide show
  1. package/dist/cjs/api/resources/Comment.d.ts +1 -0
  2. package/dist/cjs/api/resources/Comment.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Comment.js +3 -0
  4. package/dist/cjs/api/resources/Comment.js.map +1 -1
  5. package/dist/cjs/types/Enum/BrandAnytime.d.ts +457 -0
  6. package/dist/cjs/types/Enum/BrandAnytime.d.ts.map +1 -0
  7. package/dist/cjs/types/Enum/BrandAnytime.js +333 -0
  8. package/dist/cjs/types/Enum/BrandAnytime.js.map +1 -0
  9. package/dist/cjs/types/Enum/BrandPourcentage.js +2 -2
  10. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  11. package/dist/cjs/types/Enum/Contribution.d.ts +12 -0
  12. package/dist/cjs/types/Enum/Contribution.d.ts.map +1 -0
  13. package/dist/cjs/types/Enum/Contribution.js +10 -0
  14. package/dist/cjs/types/Enum/Contribution.js.map +1 -0
  15. package/dist/cjs/types/Enum/MaritalStatus.js.map +1 -1
  16. package/dist/cjs/types/Enum/ReportType.d.ts +4 -0
  17. package/dist/cjs/types/Enum/ReportType.d.ts.map +1 -1
  18. package/dist/cjs/types/Enum/ReportType.js +4 -0
  19. package/dist/cjs/types/Enum/ReportType.js.map +1 -1
  20. package/dist/cjs/types/Enum/StateSynchro.d.ts +5 -0
  21. package/dist/cjs/types/Enum/StateSynchro.d.ts.map +1 -0
  22. package/dist/cjs/types/Enum/StateSynchro.js +9 -0
  23. package/dist/cjs/types/Enum/StateSynchro.js.map +1 -0
  24. package/dist/cjs/types/Enum/StatutsSection.d.ts +16 -10
  25. package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
  26. package/dist/cjs/types/Enum/StatutsSection.js +2 -0
  27. package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
  28. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +1 -0
  29. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
  30. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.js +4 -0
  31. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  32. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +4 -2
  33. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
  34. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +5 -0
  35. package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
  36. package/dist/cjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts +8 -4
  37. package/dist/cjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts.map +1 -1
  38. package/dist/cjs/types/Interface/api/statutsGeneration/TemplateParams.js.map +1 -1
  39. package/dist/cjs/types/Interface/models/IBankAccount.d.ts +2 -0
  40. package/dist/cjs/types/Interface/models/IBankAccount.d.ts.map +1 -1
  41. package/dist/cjs/types/Interface/models/IBankAccount.js.map +1 -1
  42. package/dist/cjs/types/Interface/models/IBusinessPartner.d.ts +2 -0
  43. package/dist/cjs/types/Interface/models/IBusinessPartner.d.ts.map +1 -1
  44. package/dist/cjs/types/Interface/models/IBusinessPartner.js.map +1 -1
  45. package/dist/cjs/types/index.d.ts +2 -0
  46. package/dist/cjs/types/index.d.ts.map +1 -1
  47. package/dist/cjs/types/index.js +2 -0
  48. package/dist/cjs/types/index.js.map +1 -1
  49. package/dist/cjs/utils/bankAccount.d.ts +2 -5
  50. package/dist/cjs/utils/bankAccount.d.ts.map +1 -1
  51. package/dist/cjs/utils/bankAccount.js +12 -15
  52. package/dist/cjs/utils/bankAccount.js.map +1 -1
  53. package/dist/mjs/api/resources/Comment.d.ts +1 -0
  54. package/dist/mjs/api/resources/Comment.d.ts.map +1 -1
  55. package/dist/mjs/api/resources/Comment.js +3 -0
  56. package/dist/mjs/api/resources/Comment.js.map +1 -1
  57. package/dist/mjs/types/Enum/BrandAnytime.d.ts +457 -0
  58. package/dist/mjs/types/Enum/BrandAnytime.d.ts.map +1 -0
  59. package/dist/mjs/types/Enum/BrandAnytime.js +330 -0
  60. package/dist/mjs/types/Enum/BrandAnytime.js.map +1 -0
  61. package/dist/mjs/types/Enum/BrandPourcentage.js +2 -2
  62. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  63. package/dist/mjs/types/Enum/Contribution.d.ts +12 -0
  64. package/dist/mjs/types/Enum/Contribution.d.ts.map +1 -0
  65. package/dist/mjs/types/Enum/Contribution.js +7 -0
  66. package/dist/mjs/types/Enum/Contribution.js.map +1 -0
  67. package/dist/mjs/types/Enum/MaritalStatus.js.map +1 -1
  68. package/dist/mjs/types/Enum/ReportType.d.ts +4 -0
  69. package/dist/mjs/types/Enum/ReportType.d.ts.map +1 -1
  70. package/dist/mjs/types/Enum/ReportType.js +4 -0
  71. package/dist/mjs/types/Enum/ReportType.js.map +1 -1
  72. package/dist/mjs/types/Enum/StateSynchro.d.ts +5 -0
  73. package/dist/mjs/types/Enum/StateSynchro.d.ts.map +1 -0
  74. package/dist/mjs/types/Enum/StateSynchro.js +6 -0
  75. package/dist/mjs/types/Enum/StateSynchro.js.map +1 -0
  76. package/dist/mjs/types/Enum/StatutsSection.d.ts +16 -10
  77. package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
  78. package/dist/mjs/types/Enum/StatutsSection.js +2 -0
  79. package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
  80. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +1 -0
  81. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
  82. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.js +5 -0
  83. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  84. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +4 -2
  85. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
  86. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +6 -0
  87. package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
  88. package/dist/mjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts +8 -4
  89. package/dist/mjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts.map +1 -1
  90. package/dist/mjs/types/Interface/api/statutsGeneration/TemplateParams.js.map +1 -1
  91. package/dist/mjs/types/Interface/models/IBankAccount.d.ts +2 -0
  92. package/dist/mjs/types/Interface/models/IBankAccount.d.ts.map +1 -1
  93. package/dist/mjs/types/Interface/models/IBankAccount.js.map +1 -1
  94. package/dist/mjs/types/Interface/models/IBusinessPartner.d.ts +2 -0
  95. package/dist/mjs/types/Interface/models/IBusinessPartner.d.ts.map +1 -1
  96. package/dist/mjs/types/Interface/models/IBusinessPartner.js.map +1 -1
  97. package/dist/mjs/types/index.d.ts +2 -0
  98. package/dist/mjs/types/index.d.ts.map +1 -1
  99. package/dist/mjs/types/index.js +2 -0
  100. package/dist/mjs/types/index.js.map +1 -1
  101. package/dist/mjs/utils/bankAccount.d.ts +2 -5
  102. package/dist/mjs/utils/bankAccount.d.ts.map +1 -1
  103. package/dist/mjs/utils/bankAccount.js +4 -7
  104. package/dist/mjs/utils/bankAccount.js.map +1 -1
  105. package/package.json +1 -1
  106. package/ts/api/resources/Comment.ts +4 -0
  107. package/ts/types/Enum/BrandAnytime.ts +330 -0
  108. package/ts/types/Enum/BrandPourcentage.ts +2 -2
  109. package/ts/types/Enum/Contribution.ts +12 -0
  110. package/ts/types/Enum/MaritalStatus.ts +1 -1
  111. package/ts/types/Enum/ReportType.ts +4 -0
  112. package/ts/types/Enum/StateSynchro.ts +4 -0
  113. package/ts/types/Enum/StatutsSection.ts +20 -11
  114. package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +3 -0
  115. package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +7 -2
  116. package/ts/types/Interface/api/statutsGeneration/TemplateParams.ts +8 -4
  117. package/ts/types/Interface/models/IBankAccount.ts +2 -0
  118. package/ts/types/Interface/models/IBusinessPartner.ts +3 -0
  119. package/ts/types/index.ts +2 -0
  120. package/ts/utils/bankAccount.ts +4 -9
@@ -0,0 +1,330 @@
1
+ import { SalesContractClementine, SalesContractKlems } from './SalesContractBrandClementine';
2
+
3
+ export const BrandClementine = [
4
+ {
5
+ idTypeBrand: 1,
6
+ name: 'Clementine',
7
+ commercialName: 'Clementine',
8
+ urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-anytime/',
9
+ logoS3: 'config/e5abf44b-106d-5c1f-9e38-718eb0482929',
10
+ privacyPolicy: 'https://www.compta-clementine.fr/politique-des-donnees/',
11
+ recaptcha: {
12
+ secretKey: '6LdZneUUAAAAAKfiwC_JFWOlzc_0YYKHQJgSveRP',
13
+ },
14
+ colors: {
15
+ primary: '#31DAFE',
16
+ primary50: '#F4FBFF',
17
+ primary100: '#CFF4FF',
18
+ primary300: '#7FE7FF',
19
+ primary500: '#31DAFE',
20
+ primary700: '#439CB5',
21
+ footerColor: '#f3692f',
22
+ },
23
+ listPhones: {
24
+ contact: '03 83 93 14 14',
25
+ qualite: '03 83 93 30 44',
26
+ social: '03 83 93 16 20',
27
+ juridique: '03 83 93 16 22',
28
+ },
29
+ listMails: {
30
+ administratif: 'administratif@clementine.fr',
31
+ app: 'app@clementine.fr',
32
+ bonjour: 'bonjour@clementine.fr',
33
+ contact: 'contact@clementine.fr',
34
+ facturation: 'facturation@clementine.fr',
35
+ feedback: 'feedback@clementine.fr',
36
+ gestion: 'gestion@clementine.fr',
37
+ juridique: 'juridique@clementine.fr',
38
+ informatique: 'informatique@compta-clementine.fr',
39
+ msd: 'msd@clementine.fr',
40
+ noreply: 'noreply@clementine.fr',
41
+ qualite: 'qualite@clementine.fr',
42
+ paiement: 'paiement@clementine.fr',
43
+ rh: 'rh@clementine.fr',
44
+ social: 'social@clementine.fr',
45
+ support: 'support@clementine.fr',
46
+ tva: 'tva@clementine.fr',
47
+ wb: 'wb@compta-clementine.fr',
48
+ },
49
+ companyInformation: {
50
+ ape: '6920Z',
51
+ bp: 'BP 31029',
52
+ city: 'Laxou',
53
+ montantCapital: '500 000',
54
+ nomRaisonSociale: 'EXPERTISE CHOIX B',
55
+ ECName: 'M. Jean-Louis BOICHÉ',
56
+ ECOrderCity: 'Nancy',
57
+ ECDepartment: 'Lorraine',
58
+ ECPosition: 'Président',
59
+ phone: '03 83 93 14 14',
60
+ postalAddress: '9, avenue du Rhin',
61
+ rcs: '752 566 687',
62
+ statut: 'SAS',
63
+ zipCode: '54 520',
64
+ },
65
+ idPrestationsListHidden: [197], // TODO:
66
+ logoUrl: 'logo-dark.svg',
67
+ miniLogoUrl: 'logo.svg',
68
+ hiddenPages: [],
69
+ urlApp: 'https://app.clementine.fr',
70
+ urlApi1: 'https://api.compta-clementine.fr',
71
+ urlApi2: 'https://api-next.compta-clementine.fr',
72
+ urlExpert: 'https://expert.compta-clementine.fr',
73
+ urlClient: 'https://www.clementine.fr',
74
+ bank: {
75
+ IBAN: 'FR7616106840138646838239863',
76
+ BIC: 'AGRIFRPP861',
77
+ Name: 'Expertise Choix B',
78
+ Id: 'FR91ZZZ617135',
79
+ },
80
+ internalInvoicing: {
81
+ statut: 'SAS',
82
+ name: 'EXPERTISE CHOIX B',
83
+ address: '9, avenue du Rhin',
84
+ zipCode: '54520',
85
+ city: 'LAXOU',
86
+ country: 'FRANCE',
87
+ montantCapital: '500 000',
88
+ siret: '752566687',
89
+ ape: '6920Z',
90
+ rcs: '752 566 687',
91
+ phone: '03 83 93 14 14',
92
+ vatIntracom: 'FR47752566687',
93
+ email: 'facturation@compta-clementine.fr',
94
+ },
95
+ webmail: {
96
+ domains: ['@compta-clementine.fr', '@clementine.fr'],
97
+ },
98
+ offices: {
99
+ LAXOU: {
100
+ id: 1,
101
+ name: 'Laxou',
102
+ },
103
+ PARIS: {
104
+ id: 2,
105
+ name: 'Paris',
106
+ },
107
+ MARSEILLE: {
108
+ id: 3,
109
+ name: 'Marseille',
110
+ },
111
+ EPINAL: {
112
+ id: 4,
113
+ name: 'Epinal',
114
+ },
115
+ HOME_OFFICE: {
116
+ id: 5,
117
+ name: 'Télétravail',
118
+ },
119
+ },
120
+ salesContractConfig: SalesContractClementine,
121
+ },
122
+ {
123
+ idTypeBrand: 2,
124
+ name: 'Legalstart',
125
+ commercialName: 'Clementine',
126
+ urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-clementine/',
127
+ colors: {
128
+ primary: '#16a974',
129
+ footerColor: '#f3692f',
130
+ },
131
+ listPhones: {
132
+ contact: '03 83 93 14 14',
133
+ qualite: '03 83 93 14 14',
134
+ juridique: '03 83 93 14 14',
135
+ },
136
+ listMails: {
137
+ contact: 'comptastart@legalstart.fr',
138
+ },
139
+ companyInformation: {
140
+ ape: '6920Z',
141
+ bp: 'BP 31029',
142
+ city: 'Laxou',
143
+ montantCapital: '500 000',
144
+ nomRaisonSociale: 'EXPERTISE CHOIX B',
145
+ ECName: 'M. Jean-Louis BOICHÉ',
146
+ ECOrderCity: 'Nancy',
147
+ ECPosition: 'Président',
148
+ phone: '03 83 93 14 14',
149
+ postalAddress: '9, avenue du Rhin',
150
+ rcs: '752 566 687',
151
+ statut: 'SAS',
152
+ zipCode: '54 520',
153
+ },
154
+ idPrestationsListHidden: [197],
155
+ logoUrl: 'logo-legalstart.svg',
156
+ miniLogoUrl: 'logo-legalstart.svg',
157
+ hiddenPages: [],
158
+ recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
159
+ urlApp: 'https://app.compta-clementine.fr',
160
+ urlApi1: 'https://api-legalstart.compta-clementine.fr',
161
+ urlApi2: 'https://api-next-legalstart.compta-clementine.fr',
162
+ urlExpert: 'https://pro.comptalib.com',
163
+ urlClient: 'https://www.compta-clementine.fr',
164
+ bank: {
165
+ IBAN: 'FR7616106840138646838239863',
166
+ BIC: 'AGRIFRPP861',
167
+ Name: 'Expertise Choix B',
168
+ Id: 'FR91ZZZ617135',
169
+ },
170
+ internalInvoicing: {
171
+ statut: 'SAS',
172
+ name: 'EXPERTISE CHOIX B',
173
+ address: '9, avenue du Rhin',
174
+ zipCode: '54520',
175
+ city: 'LAXOU',
176
+ country: 'FRANCE',
177
+ montantCapital: '500 000',
178
+ siret: '752566687',
179
+ ape: '6920Z',
180
+ rcs: '752 566 687',
181
+ phone: '03 83 93 14 14',
182
+ vatIntracom: 'FR47752566687',
183
+ email: 'facturation@compta-clementine.fr',
184
+ },
185
+ },
186
+ {
187
+ idTypeBrand: 4,
188
+ name: 'Statuts-Express',
189
+ commercialName: 'Statuts-Express',
190
+ urlApp: 'https://statuts-express.fr',
191
+ urlApi1: 'https://api.compta-clementine.fr',
192
+ urlApi2: 'https://api-next.compta-clementine.fr',
193
+ bank: {
194
+ IBAN: 'FR7616106840138646838239863',
195
+ BIC: 'AGRIFRPP861',
196
+ Name: 'Expertise Choix B',
197
+ Id: 'FR91ZZZ617135',
198
+ },
199
+ colors: {
200
+ primary: '#D8192D',
201
+ sendContract: '#f3692f',
202
+ },
203
+ internalInvoicing: {
204
+ statut: 'SAS',
205
+ name: 'EXPERTISE CHOIX B',
206
+ address: '9, avenue du Rhin',
207
+ zipCode: '54520',
208
+ city: 'LAXOU',
209
+ country: 'FRANCE',
210
+ montantCapital: '500 000',
211
+ siret: '752566687',
212
+ ape: '6920Z',
213
+ rcs: '752 566 687',
214
+ phone: '03 83 93 14 14',
215
+ vatIntracom: 'FR47752566687',
216
+ email: 'facturation@compta-clementine.fr',
217
+ },
218
+ },
219
+ {
220
+ idTypeBrand: 5,
221
+ name: 'Kandbaz',
222
+ commercialName: 'Kandbaz',
223
+ urlApp: 'https://app.compta-clementine.fr',
224
+ urlApi1: 'https://api.compta-clementine.fr',
225
+ urlApi2: 'https://api-next.compta-clementine.fr',
226
+ bank: {
227
+ IBAN: 'FR7616106840138646838239863',
228
+ BIC: 'AGRIFRPP861',
229
+ Name: 'Expertise Choix B',
230
+ Id: 'FR91ZZZ617135',
231
+ },
232
+ colors: {
233
+ primary: '#f39a00',
234
+ footerColor: '#f3692f',
235
+ },
236
+ internalInvoicing: {
237
+ statut: 'SAS',
238
+ name: 'EXPERTISE CHOIX B',
239
+ address: '9, avenue du Rhin',
240
+ zipCode: '54520',
241
+ city: 'LAXOU',
242
+ country: 'FRANCE',
243
+ montantCapital: '500 000',
244
+ siret: '752566687',
245
+ ape: '6920Z',
246
+ rcs: '752 566 687',
247
+ phone: '03 83 93 14 14',
248
+ vatIntracom: 'FR47752566687',
249
+ email: 'facturation@compta-clementine.fr',
250
+ },
251
+ },
252
+ {
253
+ idTypeBrand: 6,
254
+ name: 'Klems',
255
+ commercialName: 'Klems',
256
+ urlApp: 'https://app.clementine.fr',
257
+ urlApi1: 'https://api.compta-clementine.fr',
258
+ urlApi2: 'https://api-next.compta-clementine.fr',
259
+ urlExpert: 'https://expert.compta-clementine.fr',
260
+ urlClient: 'https://www.klems.fr',
261
+ miniLogoUrl: 'logo-klems.svg',
262
+ listPhones: {
263
+ contact: '03 83 93 14 14',
264
+ qualite: '03 83 93 30 44',
265
+ social: '03 83 93 16 20',
266
+ juridique: '03 83 93 16 22',
267
+ },
268
+ listMails: {
269
+ administratif: 'administratif@clementine.fr',
270
+ app: 'app@clementine.fr',
271
+ bonjour: 'bonjour@clementine.fr',
272
+ contact: 'contact@clementine.fr',
273
+ facturation: 'facturation@clementine.fr',
274
+ feedback: 'feedback@clementine.fr',
275
+ juridique: 'juridique@clementine.fr',
276
+ informatique: 'informatique@compta-clementine.fr',
277
+ msd: 'msd@clementine.fr',
278
+ noreply: 'noreply@clementine.fr',
279
+ qualite: 'qualite@clementine.fr',
280
+ paiement: 'paiement@clementine.fr',
281
+ rh: 'rh@clementine.fr',
282
+ social: 'social@clementine.fr',
283
+ support: 'support@clementine.fr',
284
+ tva: 'tva@clementine.fr',
285
+ wb: 'wb@compta-clementine.fr',
286
+ },
287
+ companyInformation: {
288
+ ape: '6920Z',
289
+ bp: 'BP 31029',
290
+ city: 'Laxou',
291
+ montantCapital: '500 000',
292
+ nomRaisonSociale: 'EXPERTISE CHOIX B',
293
+ ECName: 'M. Jean-Louis BOICHÉ',
294
+ ECOrderCity: 'Nancy',
295
+ ECDepartment: 'Lorraine',
296
+ ECPosition: 'Président',
297
+ phone: '03 83 93 14 14',
298
+ postalAddress: '9, avenue du Rhin',
299
+ rcs: '752 566 687',
300
+ statut: 'SAS',
301
+ zipCode: '54 520',
302
+ },
303
+ bank: {
304
+ IBAN: 'FR7616106840138646838239863',
305
+ BIC: 'AGRIFRPP861',
306
+ Name: 'Expertise Choix B',
307
+ Id: 'FR91ZZZ617135',
308
+ },
309
+ colors: {
310
+ primary: '#38A1FF',
311
+ footerColor: '#00A2FF',
312
+ },
313
+ internalInvoicing: {
314
+ statut: 'SAS',
315
+ name: 'EXPERTISE CHOIX B',
316
+ address: '9, avenue du Rhin',
317
+ zipCode: '54520',
318
+ city: 'LAXOU',
319
+ country: 'FRANCE',
320
+ montantCapital: '500 000',
321
+ siret: '752566687',
322
+ ape: '6920Z',
323
+ rcs: '752 566 687',
324
+ phone: '03 83 93 14 14',
325
+ vatIntracom: 'FR47752566687',
326
+ email: 'facturation@compta-clementine.fr',
327
+ },
328
+ salesContractConfig: SalesContractKlems,
329
+ },
330
+ ];
@@ -271,7 +271,7 @@ export const BrandPourcentage = [
271
271
  ECDepartment: 'PACA',
272
272
  ECPosition: 'Président',
273
273
  phone: '04 93 87 03 03',
274
- postalAddress: '11, Boulevard Victor Hugo',
274
+ postalAddress: '9-11, Boulevard Victor Hugo',
275
275
  rcs: 'Nice B 882 255 094',
276
276
  statut: 'SAS',
277
277
  zipCode: '06 000',
@@ -300,7 +300,7 @@ export const BrandPourcentage = [
300
300
  lastUsedNumber: 1685,
301
301
  statut: 'SAS',
302
302
  name: 'AMEX',
303
- address: '11, Boulevard Victor Hugo',
303
+ address: '9-11, Boulevard Victor Hugo',
304
304
  zipCode: '06 000',
305
305
  city: 'NICE',
306
306
  country: 'FRANCE',
@@ -0,0 +1,12 @@
1
+ export enum Contribution {
2
+ NUMERARY = 1,
3
+ IN_KIND = 2,
4
+ INDUSTRIAL = 3,
5
+ }
6
+
7
+ export interface ContributionType {
8
+ count: number;
9
+ designation?: string;
10
+ unitPriceTaxIncluded: number;
11
+ idContributionType: Contribution;
12
+ }
@@ -1,5 +1,5 @@
1
1
  export enum MaritalStatus {
2
- WEDDING = 1,
2
+ WEDDING = 1, // ne plus afficher, il faut utiliser le 3 et le 4 ?
3
3
  PACS = 2,
4
4
  WEDDING_UNDER_THE_LEGAL_COMMUNITY_REGIME = 3,
5
5
  WEDDING_UNDER_THE_SEPARATION_OF_PROPERTY_REGIME = 4,
@@ -71,4 +71,8 @@ export const ReportType = {
71
71
  id: 18,
72
72
  name: 'Demande de changement de comptable',
73
73
  },
74
+ VOLONTARY_UNPAID: {
75
+ id: 19,
76
+ name: 'Impayé volontaire',
77
+ },
74
78
  };
@@ -0,0 +1,4 @@
1
+ export enum StateSynchro {
2
+ SYNCHRONIZED = 1,
3
+ DESYNCHRONIZED = 2,
4
+ }
@@ -30,6 +30,24 @@ export const DocumentSectionTypeDetail = [
30
30
  },
31
31
  ];
32
32
 
33
+ export type StatutsSectionType = {
34
+ name: string,
35
+ title?: string,
36
+ htmlContent: string,
37
+ idDocumentSectionType?: DocumentSectionType
38
+ };
39
+
40
+ export type StatutsSectionTypeV1 = {
41
+ name: string,
42
+ idDocumentSectionType?: DocumentSectionType, //Inutile pour la v2 des statuts (avec un template par statut)
43
+ title?: string | null,
44
+ editable?: boolean, //Inutile pour la v2 des statuts (avec un template par statut)
45
+ isSection?: boolean, //Inutile pour la v2 des statuts (avec un template par statut)
46
+ onlyForLegalForms?: number[], //Inutile pour la v2 des statuts (avec un template par statut)
47
+ exceptForLegalForms?: number[], //Inutile pour la v2 des statuts (avec un template par statut)
48
+ };
49
+
50
+ //Inutile pour la v2 des statuts (avec un template par statut)
33
51
  export enum StatutsSectionName {
34
52
  P1 = 'page1',
35
53
  P2 = 'page2',
@@ -105,17 +123,8 @@ export enum StatutsSectionName {
105
123
  DECLARATION_OF_HONOR = 'declarationOfHonor',
106
124
  }
107
125
 
108
- export type StatutsSectionType = {
109
- name: StatutsSectionName,
110
- idDocumentSectionType?: DocumentSectionType,
111
- title: string | null,
112
- editable?: boolean,
113
- isSection?: boolean,
114
- onlyForLegalForms?: number[],
115
- exceptForLegalForms?: number[],
116
- };
117
-
118
- export const StatutsSection:StatutsSectionType[] = [
126
+ //Inutile pour la v2 des statuts (avec un template par statut)
127
+ export const StatutsSection:StatutsSectionTypeV1[] = [
119
128
  {
120
129
  name: StatutsSectionName.P1,
121
130
  title: null,
@@ -54,4 +54,7 @@ export class createCalendarEvent {
54
54
 
55
55
  @ApiPropertyOptional()
56
56
  validatedAt?: Date;
57
+
58
+ @ApiPropertyOptional()
59
+ createdAt?: Date;
57
60
  }
@@ -4,6 +4,7 @@ import {
4
4
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
5
5
  import { CountryId } from '../../../Enum/Country';
6
6
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
7
+ import { ContributionType } from '../../../Enum/Contribution';
7
8
 
8
9
  export class CreateBusinessPartnersAndUsersParamsSociety {
9
10
  @ApiPropertyOptional()
@@ -93,8 +94,12 @@ export class CreateBusinessPartnersAndUsersParams {
93
94
  sharesHeld?: number;
94
95
 
95
96
  @ApiProperty()
96
- user?: CreateBusinessPartnersAndUsersParamsUser;
97
+ user: CreateBusinessPartnersAndUsersParamsUser;
97
98
 
98
99
  @ApiProperty()
99
- society?: CreateBusinessPartnersAndUsersParamsSociety;
100
+ society: CreateBusinessPartnersAndUsersParamsSociety;
101
+
102
+ @ApiPropertyOptional()
103
+ @IsOptional()
104
+ contributions?: ContributionType[];
100
105
  }
@@ -8,20 +8,24 @@ export interface TemplateParams {
8
8
  ownerIsMarried?: boolean | null;
9
9
  totalShares?: number | null;
10
10
  totalSharesInText?: string | null;
11
- shareCost?: number | null;
12
- shareCostInText?: string | null;
11
+ shareValue?: number | null;
12
+ shareValueInText?: string | null;
13
13
  user?: TemplateUser | null;
14
- hasAssociates?: boolean | null;
15
14
  society?: TemplateSociety | null;
16
15
  activity?: string | null;
16
+ hasAssociates?: boolean | null; //Inutile pour la v2 des statuts (avec un template par statut)
17
17
  exercice?: TemplateExercice | null;
18
18
  }
19
19
  interface TemplateUser extends Partial<IUser> {
20
20
  birthdateAsText?: string | null;
21
21
  }
22
22
  interface TemplateSociety extends Partial<ISociety> {
23
- legalFormAsText?: string | null;
24
23
  socialCapitalInText?: string | null;
24
+ listBusinessPartners?: string | null;
25
+ listBusinessPartnersMarried?: string | null;
26
+ listBusinessPartnersContributions?: string | null;
27
+ listBusinessPartnersShareCapital?: string | null;
28
+ listBusinessPartnersSignatures?: string | null;
25
29
  }
26
30
 
27
31
  interface TemplateExercice extends Partial<IExercice> {
@@ -6,6 +6,7 @@ import { IBankList } from './IBankList';
6
6
  import { IBalanceBankAccount } from './IBalanceBankAccount';
7
7
  import { ISimulation } from './ISimulation';
8
8
  import { IUpToDateBankAccount } from './IUpToDateBankAccount';
9
+ import { StateSynchro } from '../../Enum/StateSynchro';
9
10
 
10
11
  // bankAccounts
11
12
  export interface IBankAccount {
@@ -35,6 +36,7 @@ export interface IBankAccount {
35
36
  idCurrency: number | null;
36
37
  idSociety: number;
37
38
  idBankConnection: number | null;
39
+ synchronizationState?: StateSynchro | null;
38
40
  createdAt?: Date | null;
39
41
  updatedAt?: Date | null;
40
42
 
@@ -1,5 +1,7 @@
1
1
  import { ISociety } from './ISociety';
2
2
  import { IUser } from './IUser';
3
+ import { ContributionType } from '../../Enum/Contribution';
4
+
3
5
 
4
6
  // businessPartners
5
7
  export interface IBusinessPartner {
@@ -14,6 +16,7 @@ export interface IBusinessPartner {
14
16
  identityDocument?: string;
15
17
  otherActivities?: string;
16
18
  activityBefore?: string;
19
+ contributions?: ContributionType[];
17
20
  idSociety: number | null;
18
21
  idUser: number | null;
19
22
  idSocietyParent: number;
package/ts/types/index.ts CHANGED
@@ -368,6 +368,7 @@ export * from './Enum/RoleDetail';
368
368
  export * from './Enum/MaritalStatus';
369
369
  export * from './Enum/CityOfGreffe';
370
370
  export * from './Enum/StatutsSection';
371
+ export * from './Enum/Contribution';
371
372
  export * from './Enum/PrestationOption';
372
373
  export * from './Enum/TimeCounterType';
373
374
  export * from './Enum/CustomerSignature';
@@ -532,6 +533,7 @@ export * from './Enum/Degree';
532
533
  export * from './Enum/Brevo';
533
534
  export * from './Enum/ZoneCode';
534
535
  export * from './Enum/TimeSlot';
536
+ export * from './Enum/StateSynchro';
535
537
 
536
538
  // Interfaces API
537
539
  export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
@@ -1,16 +1,12 @@
1
1
  import * as dayjs from 'dayjs';
2
+ import { StateSynchro } from '../types/Enum/StateSynchro';
2
3
  import { IBankAccount, IBankConnection } from '../types';
3
4
  import { PartnerTransactionType } from '../types/Enum/PartnerTransactionType';
5
+ import { isDefined } from 'class-validator';
4
6
 
5
-
6
- export enum StateSynchro {
7
- SYNCHRONIZED = 1,
8
- DESYNCHRONIZED = 2,
9
- }
10
-
11
- export function isSynchro(params: IBankAccount, dateOfTermination?: Date, bankConnection?: IBankConnection ): StateSynchro {
7
+ export function getSynchronizationState(params: IBankAccount, dateOfTermination?: Date, bankConnection?: IBankConnection ): StateSynchro {
12
8
  // si le compte est désactivé au niveau budget on le considére comme syncrho
13
- if (params.disabledAt !== null) return StateSynchro.SYNCHRONIZED;
9
+ if (isDefined(params.disabledAt)) return StateSynchro.SYNCHRONIZED;
14
10
 
15
11
  // // si non Défini alors tjs synchro
16
12
  if (params.idPartnerType === null) return StateSynchro.SYNCHRONIZED;
@@ -36,6 +32,5 @@ export function isSynchro(params: IBankAccount, dateOfTermination?: Date, bankCo
36
32
 
37
33
  if (dateOfTermination && (dayjs(params.lastUpdate).isAfter(dateOfTermination) || dayjs(params.lastUpdate).isSame(dateOfTermination))) return StateSynchro.SYNCHRONIZED;
38
34
 
39
-
40
35
  return StateSynchro.DESYNCHRONIZED;
41
36
  }