@silexpert/core 1.1.121 → 1.1.123

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 (122) hide show
  1. package/es/api/resources/DocumentSection.d.ts +33 -0
  2. package/es/api/resources/DocumentSection.d.ts.map +1 -0
  3. package/es/api/resources/DocumentSection.js +38 -0
  4. package/es/api/resources/DocumentSection.js.map +1 -0
  5. package/es/api/resources/Library.d.ts +2 -1
  6. package/es/api/resources/Library.d.ts.map +1 -1
  7. package/es/api/resources/Library.js +3 -0
  8. package/es/api/resources/Library.js.map +1 -1
  9. package/es/api/resources/SocietyDetail.d.ts +7 -0
  10. package/es/api/resources/SocietyDetail.d.ts.map +1 -0
  11. package/es/api/resources/SocietyDetail.js +10 -0
  12. package/es/api/resources/SocietyDetail.js.map +1 -0
  13. package/es/api/resources/StatutsGeneration.d.ts +17 -0
  14. package/es/api/resources/StatutsGeneration.d.ts.map +1 -0
  15. package/es/api/resources/StatutsGeneration.js +20 -0
  16. package/es/api/resources/StatutsGeneration.js.map +1 -0
  17. package/es/api/resources.d.ts +6 -0
  18. package/es/api/resources.d.ts.map +1 -1
  19. package/es/api/resources.js +6 -0
  20. package/es/api/resources.js.map +1 -1
  21. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  22. package/es/types/Enum/BrandClementine.js +16 -2
  23. package/es/types/Enum/BrandClementine.js.map +1 -1
  24. package/es/types/Enum/BrandPourcentage.d.ts +2 -2
  25. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  26. package/es/types/Enum/BrandPourcentage.js +24 -37
  27. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  28. package/es/types/Enum/MachineLearning.d.ts +1 -0
  29. package/es/types/Enum/MachineLearning.d.ts.map +1 -1
  30. package/es/types/Enum/MachineLearning.js +1 -0
  31. package/es/types/Enum/MachineLearning.js.map +1 -1
  32. package/es/types/Enum/StatutsSection.d.ts +90 -0
  33. package/es/types/Enum/StatutsSection.d.ts.map +1 -0
  34. package/es/types/Enum/StatutsSection.js +449 -0
  35. package/es/types/Enum/StatutsSection.js.map +1 -0
  36. package/es/types/Interface/api/balanceSheet/Read.d.ts +3 -0
  37. package/es/types/Interface/api/balanceSheet/Read.d.ts.map +1 -1
  38. package/es/types/Interface/api/balanceSheet/Read.js.map +1 -1
  39. package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  40. package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  41. package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +6 -0
  42. package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  43. package/es/types/Interface/api/documentSection/Update.d.ts +8 -0
  44. package/es/types/Interface/api/documentSection/Update.d.ts.map +1 -0
  45. package/es/types/Interface/api/{society/CreateSocietyDetail.js → documentSection/Update.js} +21 -9
  46. package/es/types/Interface/api/documentSection/Update.js.map +1 -0
  47. package/es/types/Interface/api/library/QueryLibrary.d.ts +5 -0
  48. package/es/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  49. package/es/types/Interface/api/library/QueryLibrary.js +22 -2
  50. package/es/types/Interface/api/library/QueryLibrary.js.map +1 -1
  51. package/es/types/Interface/api/society/GetSocietyDetail.d.ts +4 -0
  52. package/es/types/Interface/api/society/GetSocietyDetail.d.ts.map +1 -0
  53. package/es/types/Interface/api/society/GetSocietyDetail.js +20 -0
  54. package/es/types/Interface/api/society/GetSocietyDetail.js.map +1 -0
  55. package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.d.ts +9 -0
  56. package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.d.ts.map +1 -0
  57. package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js +35 -0
  58. package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js.map +1 -0
  59. package/es/types/Interface/models/IDocumentSection.d.ts +13 -0
  60. package/es/types/Interface/models/IDocumentSection.d.ts.map +1 -0
  61. package/es/types/Interface/models/IDocumentSection.js +2 -0
  62. package/es/types/Interface/models/IDocumentSection.js.map +1 -0
  63. package/es/types/index.d.ts +5 -1
  64. package/es/types/index.d.ts.map +1 -1
  65. package/es/types/index.js +5 -1
  66. package/es/types/index.js.map +1 -1
  67. package/js/api/resources/DocumentSection.js +45 -0
  68. package/js/api/resources/DocumentSection.js.map +1 -0
  69. package/js/api/resources/Library.js +10 -0
  70. package/js/api/resources/Library.js.map +1 -1
  71. package/js/api/resources/SocietyDetail.js +21 -0
  72. package/js/api/resources/SocietyDetail.js.map +1 -0
  73. package/js/api/resources/StatutsGeneration.js +27 -0
  74. package/js/api/resources/StatutsGeneration.js.map +1 -0
  75. package/js/api/resources.js +6 -0
  76. package/js/api/resources.js.map +1 -1
  77. package/js/types/Enum/BrandClementine.js +14 -2
  78. package/js/types/Enum/BrandClementine.js.map +1 -1
  79. package/js/types/Enum/BrandPourcentage.js +26 -39
  80. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  81. package/js/types/Enum/MachineLearning.js +1 -0
  82. package/js/types/Enum/MachineLearning.js.map +1 -1
  83. package/js/types/Enum/StatutsSection.js +382 -0
  84. package/js/types/Enum/StatutsSection.js.map +1 -0
  85. package/js/types/Interface/api/balanceSheet/Read.js.map +1 -1
  86. package/js/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +1 -0
  87. package/js/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  88. package/js/types/Interface/api/documentSection/Update.js +26 -0
  89. package/js/types/Interface/api/documentSection/Update.js.map +1 -0
  90. package/js/types/Interface/api/library/QueryLibrary.js +11 -2
  91. package/js/types/Interface/api/library/QueryLibrary.js.map +1 -1
  92. package/js/types/Interface/api/society/{CreateSocietyDetail.js → GetSocietyDetail.js} +7 -7
  93. package/js/types/Interface/api/society/GetSocietyDetail.js.map +1 -0
  94. package/js/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js +25 -0
  95. package/js/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js.map +1 -0
  96. package/js/types/Interface/models/IDocumentSection.js +6 -0
  97. package/js/types/Interface/models/IDocumentSection.js.map +1 -0
  98. package/js/types/index.js +52 -12
  99. package/js/types/index.js.map +1 -1
  100. package/package.json +1 -1
  101. package/ts/api/resources/DocumentSection.ts +44 -0
  102. package/ts/api/resources/Library.ts +5 -1
  103. package/ts/api/resources/SocietyDetail.ts +15 -0
  104. package/ts/api/resources/StatutsGeneration.ts +23 -0
  105. package/ts/api/resources.ts +6 -0
  106. package/ts/types/Enum/BrandClementine.ts +16 -2
  107. package/ts/types/Enum/BrandPourcentage.ts +24 -37
  108. package/ts/types/Enum/MachineLearning.ts +2 -1
  109. package/ts/types/Enum/StatutsSection.ts +459 -0
  110. package/ts/types/Interface/api/balanceSheet/Read.ts +2 -1
  111. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -0
  112. package/ts/types/Interface/api/documentSection/Update.ts +31 -0
  113. package/ts/types/Interface/api/library/QueryLibrary.ts +18 -3
  114. package/ts/types/Interface/api/society/GetSocietyDetail.ts +9 -0
  115. package/ts/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.ts +23 -0
  116. package/ts/types/Interface/models/IDocumentSection.ts +15 -0
  117. package/ts/types/index.ts +5 -1
  118. package/es/types/Interface/api/society/CreateSocietyDetail.d.ts +0 -6
  119. package/es/types/Interface/api/society/CreateSocietyDetail.d.ts.map +0 -1
  120. package/es/types/Interface/api/society/CreateSocietyDetail.js.map +0 -1
  121. package/js/types/Interface/api/society/CreateSocietyDetail.js.map +0 -1
  122. package/ts/types/Interface/api/society/CreateSocietyDetail.ts +0 -19
@@ -0,0 +1,459 @@
1
+ import { LegalForm } from './LegalForm';
2
+
3
+ export enum DocumentSectionType {
4
+ ARTICLES = 1,
5
+ ANNEXES = 2,
6
+ OTHER = 3,
7
+ }
8
+
9
+ export enum StatutsSectionName {
10
+ P1 = 'page1',
11
+ P2 = 'page2',
12
+ INTRO_S1 = 'intro_section1',
13
+ S1 = 'section1',
14
+ S2 = 'section2',
15
+ S3 = 'section3',
16
+ S4 = 'section4',
17
+ S5 = 'section5',
18
+ S6 = 'section6',
19
+ INTRO_S7 = 'intro_section7',
20
+ S7 = 'section7',
21
+ S8 = 'section8',
22
+ S9 = 'section9',
23
+ S10_AE = 'section10_ae',
24
+ S11_AE = 'section11_ae',
25
+ S12_AE = 'section12_ae',
26
+ INTRO_S13_AE = 'intro_section13_ae',
27
+ S13_AE = 'section13_ae',
28
+ S14_AE = 'section14_ae',
29
+ S15_AE = 'section15_ae',
30
+ S16_AE = 'section16_ae',
31
+ S17_AE = 'section17_ae',
32
+ S18_AE = 'section18_ae',
33
+ INTRO_S19_AE = 'intro_section19_ae',
34
+ S19_AE = 'section19_ae',
35
+ S20_AE = 'section20_ae',
36
+ S21_AE = 'section21_ae',
37
+ INTRO_S22_AE = 'intro_section22_ae',
38
+ S22_AE = 'section22_ae',
39
+ INTRO_S23_AE = 'intro_section23_ae',
40
+ S23_AE = 'section23_ae',
41
+ S24_AE = 'section24_ae',
42
+ S25_AE = 'section25_ae',
43
+ INTRO_S26_AE = 'intro_section26_ae',
44
+ S26_AE = 'section26_ae',
45
+ S27_AE = 'section27_ae',
46
+ S28_AE = 'section28_ae',
47
+ S29_AE = 'section29_ae',
48
+ S30_AE = 'section30_ae',
49
+ INTRO_S10_SA = 'intro_section10_sa',
50
+ S10_SA = 'section10_sa',
51
+ S11_SA = 'section11_sa',
52
+ S12_SA = 'section12_sa',
53
+ S13_SA = 'section13_sa',
54
+ S14_SA = 'section14_sa',
55
+ S15_SA = 'section15_sa',
56
+ INTRO_S16_SA = 'intro_section16_sa',
57
+ S16_SA = 'section16_sa',
58
+ S17_SA = 'section17_sa',
59
+ S18_SA = 'section18_sa',
60
+ S19_SA = 'section19_sa',
61
+ S20_SA = 'section20_sa',
62
+ S21_SA = 'section21_sa',
63
+ S22_SA = 'section22_sa',
64
+ S23_SA = 'section23_sa',
65
+ INTRO_S24_SA = 'intro_section24_sa',
66
+ S24_SA = 'section24_sa',
67
+ S25_SA = 'section25_sa',
68
+ INTRO_S26_SA = 'intro_section26_sa',
69
+ S26_SA = 'section26_sa',
70
+ S27_SA = 'section27_sa',
71
+ INTRO_S28_SA = 'intro_section28_sa',
72
+ S28_SA = 'section28_sa',
73
+ S29_SA = 'section29_sa',
74
+ S30_SA = 'section30_sa',
75
+ S31_SA = 'section31_sa',
76
+ S32_SA = 'section32_sa',
77
+ S33_SA = 'section33_sa',
78
+ SIGNATURES = 'signatures',
79
+ ANNEXES = 'annexes',
80
+ SUBSCRIBERS_LIST = 'subscribersList',
81
+ DECLARATION_OF_HONOR = 'declarationOfHonor',
82
+ }
83
+
84
+ export type StatutsSectionType = {
85
+ name: StatutsSectionName,
86
+ idDocumentSectionType?: number,
87
+ title: string | null,
88
+ editable?: boolean,
89
+ isSection?: boolean,
90
+ onlyForLegalForms?: number[],
91
+ exceptForLegalForms?: number[],
92
+ };
93
+
94
+ export const StatutsSection:StatutsSectionType[] = [
95
+ {
96
+ name: StatutsSectionName.P1,
97
+ title: null,
98
+ editable: false,
99
+ },
100
+ {
101
+ name: StatutsSectionName.P2,
102
+ title: null,
103
+ editable: false,
104
+ },
105
+ {
106
+ name: StatutsSectionName.INTRO_S1,
107
+ title: null,
108
+ editable: false,
109
+ },
110
+ {
111
+ name: StatutsSectionName.S1,
112
+ title: 'Article 1er - FORME',
113
+ },
114
+ {
115
+ name: StatutsSectionName.S2,
116
+ title: 'Article 2 - OBJET',
117
+ },
118
+ {
119
+ name: StatutsSectionName.S3,
120
+ title: 'Article 3 - DENOMINATION',
121
+ },
122
+ {
123
+ name: StatutsSectionName.S4,
124
+ title: 'Article 4 - SIEGE SOCIAL',
125
+ },
126
+ {
127
+ name: StatutsSectionName.S5,
128
+ title: 'Article 5 - DUREE',
129
+ },
130
+ {
131
+ name: StatutsSectionName.S6,
132
+ title: 'Article 6 - EXERCICE SOCIAL',
133
+ },
134
+ {
135
+ name: StatutsSectionName.INTRO_S7,
136
+ title: null,
137
+ editable: false,
138
+ },
139
+ {
140
+ name: StatutsSectionName.S7,
141
+ title: 'Article 7 - APPORTS',
142
+ },
143
+ {
144
+ name: StatutsSectionName.S8,
145
+ title: 'Article 8 - CAPITAL SOCIAL',
146
+ },
147
+ {
148
+ name: StatutsSectionName.S9,
149
+ title: 'Article 9 - MODIFICATION DU CAPITAL',
150
+ },
151
+ {
152
+ name: StatutsSectionName.S10_AE,
153
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
154
+ title: 'Article 10 - COMPTES COURANTS D\'ASSOCIÉS',
155
+ },
156
+ {
157
+ name: StatutsSectionName.S11_AE,
158
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
159
+ title: 'Article 11 - PARTS SOCIALES',
160
+ },
161
+ {
162
+ name: StatutsSectionName.S12_AE,
163
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
164
+ title: 'Article 12 – CESSION ET TRANSMISSION DES PARTS SOCIALES',
165
+ },
166
+ {
167
+ name: StatutsSectionName.INTRO_S13_AE,
168
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
169
+ title: null,
170
+ editable: false,
171
+ },
172
+ {
173
+ name: StatutsSectionName.S13_AE,
174
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
175
+ title: 'Article 13 - GERANCE',
176
+ },
177
+ {
178
+ name: StatutsSectionName.S14_AE,
179
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
180
+ title: 'Article 14 - POUVOIRS DE LA GERANCE',
181
+ },
182
+ {
183
+ name: StatutsSectionName.S15_AE,
184
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
185
+ title: 'Article 15 - DUREE DES FONCTIONS DE LA GERANCE',
186
+ },
187
+ {
188
+ name: StatutsSectionName.S16_AE,
189
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
190
+ title: 'Article 16 - REMUNERATION DE LA GERANCE',
191
+ },
192
+ {
193
+ name: StatutsSectionName.S17_AE,
194
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
195
+ title: 'Article 17 - CONVENTIONS ENTRE LA SOCIETE ET LA GERANCE OU UN ASSOCIE',
196
+ },
197
+ {
198
+ name: StatutsSectionName.S18_AE,
199
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
200
+ title: 'Article 18 - RESPONSABILITE DE LA GERANCE',
201
+ },
202
+ {
203
+ name: StatutsSectionName.INTRO_S19_AE,
204
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
205
+ title: null,
206
+ editable: false,
207
+ },
208
+ {
209
+ name: StatutsSectionName.S19_AE,
210
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
211
+ title: 'Article 19 – DECISIONS PRISES PAR L\'ASSOCIE UNIQUE',
212
+ },
213
+ {
214
+ name: StatutsSectionName.S20_AE,
215
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
216
+ title: 'Article 20 – DECISIONS COLLECTIVES',
217
+ },
218
+ {
219
+ name: StatutsSectionName.S21_AE,
220
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
221
+ title: 'Article 21 – INFORMATION DES ASSOCIES',
222
+ },
223
+ {
224
+ name: StatutsSectionName.INTRO_S22_AE,
225
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
226
+ title: null,
227
+ editable: false,
228
+ },
229
+ {
230
+ name: StatutsSectionName.S22_AE,
231
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
232
+ title: 'Article 22 - COMMISSAIRES AUX COMPTES',
233
+ },
234
+ {
235
+ name: StatutsSectionName.INTRO_S23_AE,
236
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
237
+ title: null,
238
+ editable: false,
239
+ },
240
+ {
241
+ name: StatutsSectionName.S23_AE,
242
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
243
+ title: 'Article 23 - COMPTES SOCIAUX',
244
+ },
245
+ {
246
+ name: StatutsSectionName.S24_AE,
247
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
248
+ title: 'Article 24 - AFFECTATION ET REPARTITION DES BENEFICES',
249
+ },
250
+ {
251
+ name: StatutsSectionName.S25_AE,
252
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
253
+ title: 'Article 25 - Capitaux propres inférieurs à la moitié du capital social',
254
+ },
255
+ {
256
+ name: StatutsSectionName.INTRO_S26_AE,
257
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
258
+ title: null,
259
+ editable: false,
260
+ },
261
+ {
262
+ name: StatutsSectionName.S26_AE,
263
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
264
+ title: 'Article 26 - DISSOLUTION',
265
+ },
266
+ {
267
+ name: StatutsSectionName.S27_AE,
268
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
269
+ title: 'Article 27 - LIQUIDATION',
270
+ },
271
+ {
272
+ name: StatutsSectionName.S28_AE,
273
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
274
+ title: 'Article 28 – CONTESTATIONS',
275
+ },
276
+ {
277
+ name: StatutsSectionName.S29_AE,
278
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
279
+ title: 'Article 29 - PERSONNALITE MORALE - IMMATRICULATION AU REGISTRE DU COMMERCE',
280
+ },
281
+ {
282
+ name: StatutsSectionName.S30_AE,
283
+ onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
284
+ title: 'Article 30 - FRAIS',
285
+ },
286
+ {
287
+ name: StatutsSectionName.INTRO_S10_SA,
288
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
289
+ title: null,
290
+ editable: false,
291
+ },
292
+ {
293
+ name: StatutsSectionName.S10_SA,
294
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
295
+ title: 'Article 10 - FORME ET PROPRIETE DES ACTIONS',
296
+ },
297
+ {
298
+ name: StatutsSectionName.S11_SA,
299
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
300
+ title: 'Article 11 – DROITS ET OBLIGATIONS ATTACHES AUX ACTIONS',
301
+ },
302
+ {
303
+ name: StatutsSectionName.S12_SA,
304
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
305
+ title: 'Article 12 – FORME DES CESSIONS OU TRANSMISSIONS D\'ACTIONS',
306
+ },
307
+ {
308
+ name: StatutsSectionName.S13_SA,
309
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
310
+ title: 'Article 13 – AGREMENT',
311
+ },
312
+ {
313
+ name: StatutsSectionName.S14_SA,
314
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
315
+ title: 'Article 14 - TRANSMISSION PAR DECES OU PAR SUITE DE DISSOLUTION DE COMMUNAUTE ENTRE EPOUX',
316
+ },
317
+ {
318
+ name: StatutsSectionName.S15_SA,
319
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
320
+ title: 'Article 15 - NULLITE DES CESSIONS D\'ACTIONS',
321
+ },
322
+ {
323
+ name: StatutsSectionName.INTRO_S16_SA,
324
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
325
+ title: null,
326
+ editable: false,
327
+ },
328
+ {
329
+ name: StatutsSectionName.S16_SA,
330
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
331
+ title: 'Article 16 – PRESIDENCE DE LA SOCIETE',
332
+ },
333
+ {
334
+ name: StatutsSectionName.S17_SA,
335
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
336
+ title: 'Article 17 – DIRECTEUR GENERAL',
337
+ },
338
+ {
339
+ name: StatutsSectionName.S18_SA,
340
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
341
+ title: 'Article 18 – CONVENTIONS REGLEMENTEES',
342
+ },
343
+ {
344
+ name: StatutsSectionName.S19_SA,
345
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
346
+ title: 'Article 19 – COMPETENCE',
347
+ },
348
+ {
349
+ name: StatutsSectionName.S20_SA,
350
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
351
+ title: 'Article 20 – REGLES DE MAJORITE',
352
+ },
353
+ {
354
+ name: StatutsSectionName.S21_SA,
355
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
356
+ title: 'Article 21 – FORME DES DECISIONS COLLECTIVES',
357
+ },
358
+ {
359
+ name: StatutsSectionName.S22_SA,
360
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
361
+ title: 'Article 22 – INFORMATION DES ASSOCIÉS',
362
+ },
363
+ {
364
+ name: StatutsSectionName.S23_SA,
365
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
366
+ title: 'Article 23 – ASSOCIE UNIQUE',
367
+ },
368
+ {
369
+ name: StatutsSectionName.INTRO_S24_SA,
370
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
371
+ title: null,
372
+ editable: false,
373
+ },
374
+ {
375
+ name: StatutsSectionName.S24_SA,
376
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
377
+ title: 'Article 24 - COMMISSAIRES AUX COMPTES',
378
+ },
379
+ {
380
+ name: StatutsSectionName.S25_SA,
381
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
382
+ title: 'Article 25 – COMITE D\'ENTREPRISE',
383
+ },
384
+ {
385
+ name: StatutsSectionName.INTRO_S26_SA,
386
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
387
+ title: null,
388
+ editable: false,
389
+ },
390
+ {
391
+ name: StatutsSectionName.S26_SA,
392
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
393
+ title: 'Article 26 - COMPTE ANNUELS',
394
+ },
395
+ {
396
+ name: StatutsSectionName.S27_SA,
397
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
398
+ title: 'Article 27 - AFFECTATION DU BENEFICE - RESERVES',
399
+ },
400
+ {
401
+ name: StatutsSectionName.INTRO_S28_SA,
402
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
403
+ title: null,
404
+ editable: false,
405
+ },
406
+ {
407
+ name: StatutsSectionName.S28_SA,
408
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
409
+ title: 'Article 28 - DISSOLUTION',
410
+ },
411
+ {
412
+ name: StatutsSectionName.S29_SA,
413
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
414
+ title: 'Article 29 - LIQUIDATION',
415
+ },
416
+ {
417
+ name: StatutsSectionName.S30_SA,
418
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
419
+ title: 'Article 30 - CONTESTATIONS',
420
+ },
421
+ {
422
+ name: StatutsSectionName.S31_SA,
423
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
424
+ title: 'Article 31 - NOMINATION DU PREMIER PRESIDENT',
425
+ },
426
+ {
427
+ name: StatutsSectionName.S32_SA,
428
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
429
+ title: 'Article 32 - FORMALITES CONSTITUTIVES - IMMATRICULATION AU REGISTRE DU COMMERCE ET DES SOCIETES',
430
+ },
431
+ {
432
+ name: StatutsSectionName.S33_SA,
433
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
434
+ title: 'Article 33 - FRAIS',
435
+ },
436
+ {
437
+ name: StatutsSectionName.SIGNATURES,
438
+ exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
439
+ title: null,
440
+ editable: false,
441
+ },
442
+ {
443
+ name: StatutsSectionName.ANNEXES,
444
+ idDocumentSectionType: DocumentSectionType.ANNEXES,
445
+ exceptForLegalForms: [],
446
+ title: null,
447
+ },
448
+ {
449
+ name: StatutsSectionName.SUBSCRIBERS_LIST,
450
+ idDocumentSectionType: DocumentSectionType.OTHER,
451
+ onlyForLegalForms: [LegalForm.SA.id, LegalForm.SAS.id, LegalForm.SASU.id],
452
+ title: 'LISTE DES SOUSCRIPTEURS ET ETAT DES VERSEMENTS',
453
+ },
454
+ {
455
+ name: StatutsSectionName.DECLARATION_OF_HONOR,
456
+ idDocumentSectionType: DocumentSectionType.OTHER,
457
+ title: 'DECLARATION SUR L\'HONNEUR DE NON-CONDAMNATION',
458
+ },
459
+ ];
@@ -1,5 +1,5 @@
1
1
  export type ReadBalanceSheetYearStatistic = {
2
- doneIsBack: number; doneNoBack: number; todoIsBack: number; todoNoBack: number;
2
+ doneIsBack: number; doneNoBack: number; todoIsBack: number; todoNoBack: number; labIsBack: number; labNoBack: number;
3
3
  };
4
4
 
5
5
  export type ReadBalanceSheetStatistic = {
@@ -7,6 +7,7 @@ export type ReadBalanceSheetStatistic = {
7
7
  firstname: string;
8
8
  lastname: string;
9
9
  statistics: {
10
+ actualYearMinusFive: ReadBalanceSheetYearStatistic;
10
11
  actualYearMinusFour: ReadBalanceSheetYearStatistic;
11
12
  actualYearMinusThree: ReadBalanceSheetYearStatistic;
12
13
  actualYearMinusTwo: ReadBalanceSheetYearStatistic;
@@ -38,4 +38,9 @@ export class UpdateBalanceSheet {
38
38
  @IsNumber()
39
39
  @IsOptional()
40
40
  idFile?: number;
41
+
42
+ @ApiPropertyOptional()
43
+ @IsNumber()
44
+ @IsOptional()
45
+ state?: number;
41
46
  }
@@ -0,0 +1,31 @@
1
+ import {
2
+ IsInt, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class UpdateDocumentSection {
7
+ @ApiPropertyOptional()
8
+ @IsString()
9
+ @IsOptional()
10
+ title?: string | null;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsInt()
14
+ @IsOptional()
15
+ idDocumentSectionType?: number;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsString()
19
+ @IsOptional()
20
+ htmlContent?: string | null;
21
+
22
+ @ApiPropertyOptional()
23
+ @IsInt()
24
+ @IsOptional()
25
+ number?: number;
26
+
27
+ @ApiPropertyOptional()
28
+ @IsInt()
29
+ @IsOptional()
30
+ idGedFile?: number;
31
+ }
@@ -1,5 +1,5 @@
1
1
  import {
2
- IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsEnum, IsDateString,
2
+ IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsEnum, IsDateString,
3
3
  } from 'class-validator';
4
4
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
5
  import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
@@ -60,7 +60,7 @@ export class QueryLibraryFile {
60
60
  @IsString({
61
61
  each: true,
62
62
  })
63
- @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed'], { each: true })
63
+ @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user'], { each: true })
64
64
  include?: string[];
65
65
  }
66
66
 
@@ -102,7 +102,6 @@ export class UpdateOrCreateGedFile {
102
102
  }
103
103
 
104
104
  export class QueryLibrarySociety extends RequiredQueryPaginate {
105
-
106
105
  @ApiProperty()
107
106
  @IsEnum(GedCategory, { each: true })
108
107
  idGedCategories: GedCategory[];
@@ -124,4 +123,20 @@ export class QueryLibrarySociety extends RequiredQueryPaginate {
124
123
 
125
124
  @ApiPropertyOptional()
126
125
  orderBy?: Order;
126
+ }
127
+ export class QueryLastFileOfType {
128
+ @ApiProperty()
129
+ @IsInt()
130
+ idSociety: number;
131
+
132
+ @ApiProperty()
133
+ idTypeGedFile: GedFileType;
134
+
135
+ @ApiPropertyOptional()
136
+ @IsOptional()
137
+ @IsString({
138
+ each: true,
139
+ })
140
+ @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user'], { each: true })
141
+ include?: string[];
127
142
  }
@@ -0,0 +1,9 @@
1
+ import { IsOptional, IsString } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class GetSocietyDetail {
5
+ @ApiPropertyOptional()
6
+ @IsOptional()
7
+ @IsString({ each: true })
8
+ attributes?: string[];
9
+ }
@@ -0,0 +1,23 @@
1
+ import {
2
+ IsInt, IsObject, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
5
+
6
+ export class IntentToPayPrestationParams {
7
+ @ApiProperty()
8
+ @IsInt()
9
+ idPrestation: number;
10
+
11
+ @ApiProperty()
12
+ @IsInt()
13
+ idExercice: number;
14
+
15
+ @ApiProperty()
16
+ @IsString()
17
+ payment_method: string;
18
+
19
+ @ApiPropertyOptional()
20
+ @IsObject()
21
+ @IsOptional()
22
+ metadata?: { [key: string]: any };
23
+ }
@@ -0,0 +1,15 @@
1
+ import { IGedFile } from './IGedFile';
2
+
3
+ export interface IDocumentSection {
4
+ id?: number,
5
+ title: string | null,
6
+ idDocumentSectionType?: number,
7
+ htmlContent: string,
8
+ number: number,
9
+ idGedFile: number,
10
+ createdAt?: Date;
11
+ updatedAt?: Date;
12
+
13
+ // Associations
14
+ gedFile?: IGedFile;
15
+ }
package/ts/types/index.ts CHANGED
@@ -169,6 +169,7 @@ export * from './Interface/models/ISimulationHasBankAccount';
169
169
  export * from './Interface/models/ISimulationPeriod';
170
170
  export * from './Interface/models/ISimulationSummary';
171
171
  export * from './Interface/models/ISlowDetection';
172
+ export * from './Interface/models/IDocumentSection';
172
173
  export * from './Interface/models/IInpiBalance';
173
174
  export * from './Interface/models/IInpiPayment';
174
175
  export * from './Interface/models/ISocialDetail';
@@ -338,6 +339,7 @@ export * from './Enum/Quality';
338
339
  export * from './Enum/AbsenceType';
339
340
  export * from './Enum/Role';
340
341
  export * from './Enum/RoleDetail';
342
+ export * from './Enum/StatutsSection';
341
343
  export * from './Enum/PrestationOption';
342
344
  export * from './Enum/TimeCounterType';
343
345
  export * from './Enum/CustomerSignature';
@@ -574,7 +576,7 @@ export * from './Interface/api/commercial/QueryFetchDialogDatasInfosOk';
574
576
  export * from './Interface/api/commercial/QueryMovePrestationsToNextMonth';
575
577
  export * from './Interface/api/society/GetDataSociety';
576
578
  export * from './Interface/api/society/CreateSociety';
577
- export * from './Interface/api/society/CreateSocietyDetail';
579
+ export * from './Interface/api/society/GetSocietyDetail';
578
580
  export * from './Interface/api/society/UpdateSociety';
579
581
  export * from './Interface/api/society/ListUserSociety';
580
582
  export * from './Interface/api/society/CreateUserToSocietyWithPermission';
@@ -614,6 +616,7 @@ export * from './Interface/api/exercice/QueryExercice';
614
616
  export * from './Interface/api/exercice/CreateExercice';
615
617
  export * from './Interface/api/exercice/UpdateExercice';
616
618
  export * from './Interface/api/statutsGeneration/UpdateExerciceParams';
619
+ export * from './Interface/api/statutsGeneration/IntentToPayPrestationParams';
617
620
  export * from './Interface/api/statutsGeneration/SendInviteMailParams';
618
621
  export * from './Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams';
619
622
  export * from './Interface/api/accountingIncome/ReadAccountingIncome';
@@ -893,6 +896,7 @@ export * from './Interface/api/commercialManagement/Create';
893
896
  export * from './Interface/api/commercialManagement/Read';
894
897
  export * from './Interface/api/commercialManagement/Query';
895
898
  export * from './Interface/api/commercialManagement/Update';
899
+ export * from './Interface/api/documentSection/Update';
896
900
  export * from './Interface/api/connector/CreateConnector';
897
901
  export * from './Interface/api/connector/QueryConnector';
898
902
  export * from './Interface/api/connection/QueryConnectionState';
@@ -1,6 +0,0 @@
1
- export declare class CreateSocietyDetail {
2
- personnalContributionCapital?: string | null;
3
- personnalContributionCurrentBankAccount?: string | null;
4
- personnalContributionInKind?: string | null;
5
- }
6
- //# sourceMappingURL=CreateSocietyDetail.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSocietyDetail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSocietyDetail.ts"],"names":[],"mappings":"AAGA,qBAAa,mBAAmB;IAI5B,4BAA4B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK7C,uCAAuC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxD,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSocietyDetail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSocietyDetail.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,mBAAmB;CAe/B;AAdC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;yEACoC;AAE/C;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;oFAC+C;AAE1D;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;wEACmC","sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateSocietyDetail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionCapital?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionCurrentBankAccount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionInKind?: string | null;\n}"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSocietyDetail.js","names":["_classValidator","require","_utils","CreateSocietyDetail","exports","__decorate","ApiPropertyOptional","IsOptional","IsString"],"sources":["../../../../../ts/types/Interface/api/society/CreateSocietyDetail.ts"],"sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateSocietyDetail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionCapital?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionCurrentBankAccount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n personnalContributionInKind?: string | null;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,mBAAmB;AAe/BC,OAAA,CAfYD,mBAAmB,GAAnBA,mBAAmB;AAC9BE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,0GACoC;AAE/CH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,qHAC+C;AAE1DH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,yGACmC"}