@silexpert/core 0.4.26 → 0.4.28
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/es/api/resources/Immobilization.d.ts +6 -1
- package/es/api/resources/Immobilization.d.ts.map +1 -1
- package/es/api/resources/Immobilization.js +6 -0
- package/es/api/resources/Immobilization.js.map +1 -1
- package/es/api/resources/PromoCode.d.ts +9 -0
- package/es/api/resources/PromoCode.d.ts.map +1 -0
- package/es/api/resources/PromoCode.js +16 -0
- package/es/api/resources/PromoCode.js.map +1 -0
- package/es/api/resources/Society.d.ts +3 -1
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +6 -0
- package/es/api/resources/Society.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/Activity.d.ts +7 -0
- package/es/types/Enum/Activity.d.ts.map +1 -0
- package/es/types/Enum/Activity.js +8 -0
- package/es/types/Enum/Activity.js.map +1 -0
- package/es/types/Enum/CerfaType.d.ts +15 -0
- package/es/types/Enum/CerfaType.d.ts.map +1 -0
- package/es/types/Enum/CerfaType.js +15 -0
- package/es/types/Enum/CerfaType.js.map +1 -0
- package/es/types/Enum/FiscalRegime.d.ts +6 -0
- package/es/types/Enum/FiscalRegime.d.ts.map +1 -0
- package/es/types/Enum/FiscalRegime.js +7 -0
- package/es/types/Enum/FiscalRegime.js.map +1 -0
- package/es/types/Enum/GlobalRegime.d.ts +30 -0
- package/es/types/Enum/GlobalRegime.d.ts.map +1 -0
- package/es/types/Enum/GlobalRegime.js +412 -0
- package/es/types/Enum/GlobalRegime.js.map +1 -0
- package/es/types/Enum/ImmobilizationType.d.ts +50 -0
- package/es/types/Enum/ImmobilizationType.d.ts.map +1 -1
- package/es/types/Enum/ImmobilizationType.js +51 -0
- package/es/types/Enum/ImmobilizationType.js.map +1 -1
- package/es/types/Enum/ProfitsType.d.ts +5 -0
- package/es/types/Enum/ProfitsType.d.ts.map +1 -0
- package/es/types/Enum/ProfitsType.js +6 -0
- package/es/types/Enum/ProfitsType.js.map +1 -0
- package/es/types/Enum/StockType.d.ts +57 -0
- package/es/types/Enum/StockType.d.ts.map +1 -0
- package/es/types/Enum/StockType.js +57 -0
- package/es/types/Enum/StockType.js.map +1 -0
- package/es/types/Enum/TaxSystem.d.ts +6 -0
- package/es/types/Enum/TaxSystem.d.ts.map +1 -0
- package/es/types/Enum/TaxSystem.js +7 -0
- package/es/types/Enum/TaxSystem.js.map +1 -0
- package/es/types/Enum/TypeBankConnection.d.ts +6 -0
- package/es/types/Enum/TypeBankConnection.d.ts.map +1 -0
- package/es/types/Enum/TypeBankConnection.js +7 -0
- package/es/types/Enum/TypeBankConnection.js.map +1 -0
- package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.d.ts +5 -0
- package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.d.ts.map +1 -0
- package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js +22 -0
- package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -0
- package/es/types/Interface/api/immobilization/CreateImmobilization.d.ts +20 -0
- package/es/types/Interface/api/immobilization/CreateImmobilization.d.ts.map +1 -0
- package/es/types/Interface/api/immobilization/CreateImmobilization.js +72 -0
- package/es/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -0
- package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.d.ts +1 -0
- package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.d.ts.map +1 -1
- package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.js.map +1 -1
- package/es/types/Interface/api/promoCode/CreatePromoCode.d.ts +12 -0
- package/es/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +1 -0
- package/es/types/Interface/api/promoCode/CreatePromoCode.js +49 -0
- package/es/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -0
- package/es/types/Interface/api/promoCode/UpdatePromoCode.d.ts +12 -0
- package/es/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +1 -0
- package/es/types/Interface/api/promoCode/UpdatePromoCode.js +49 -0
- package/es/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -0
- package/es/types/Interface/api/society/UpdateSociety.d.ts +3 -0
- package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/UpdateSociety.js +12 -0
- package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +4 -0
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +4 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IBankConnection.d.ts +1 -0
- package/es/types/Interface/models/IBankConnection.d.ts.map +1 -1
- package/es/types/Interface/models/IBankConnection.js.map +1 -1
- package/es/types/Interface/models/ICustomerTva.d.ts +2 -0
- package/es/types/Interface/models/ICustomerTva.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomerTva.js.map +1 -1
- package/es/types/Interface/models/IExerciceComment.d.ts +13 -0
- package/es/types/Interface/models/IExerciceComment.d.ts.map +1 -0
- package/es/types/Interface/models/IExerciceComment.js +2 -0
- package/es/types/Interface/models/IExerciceComment.js.map +1 -0
- package/es/types/Interface/models/IExerciceDetail.d.ts +2 -0
- package/es/types/Interface/models/IExerciceDetail.d.ts.map +1 -1
- package/es/types/Interface/models/IExerciceDetail.js.map +1 -1
- package/es/types/Interface/models/IImmobilization.d.ts +7 -0
- package/es/types/Interface/models/IImmobilization.d.ts.map +1 -1
- package/es/types/Interface/models/IImmobilization.js.map +1 -1
- package/es/types/Interface/models/IPromoCode.d.ts +15 -0
- package/es/types/Interface/models/IPromoCode.d.ts.map +1 -0
- package/es/types/Interface/models/IPromoCode.js +2 -0
- package/es/types/Interface/models/IPromoCode.js.map +1 -0
- package/es/types/Interface/models/IRefund.d.ts +3 -3
- package/es/types/Interface/models/IRefund.d.ts.map +1 -1
- package/es/types/Interface/models/IRefund.js.map +1 -1
- package/es/types/Interface/models/ISocietyDetail.d.ts +5 -1
- package/es/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyDetail.js.map +1 -1
- package/es/types/Interface/models/IUser.d.ts +1 -0
- package/es/types/Interface/models/IUser.d.ts.map +1 -1
- package/es/types/Interface/models/IUser.js.map +1 -1
- package/es/types/index.d.ts +12 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +12 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Immobilization.js +8 -0
- package/js/api/resources/Immobilization.js.map +1 -1
- package/js/api/resources/PromoCode.js +30 -0
- package/js/api/resources/PromoCode.js.map +1 -0
- package/js/api/resources/Society.js +8 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Activity.js +14 -0
- package/js/types/Enum/Activity.js.map +1 -0
- package/js/types/Enum/CerfaType.js +20 -0
- package/js/types/Enum/CerfaType.js.map +1 -0
- package/js/types/Enum/FiscalRegime.js +13 -0
- package/js/types/Enum/FiscalRegime.js.map +1 -0
- package/js/types/Enum/GlobalRegime.js +376 -0
- package/js/types/Enum/GlobalRegime.js.map +1 -0
- package/js/types/Enum/ImmobilizationType.js +91 -36
- package/js/types/Enum/ImmobilizationType.js.map +1 -1
- package/js/types/Enum/ProfitsType.js +12 -0
- package/js/types/Enum/ProfitsType.js.map +1 -0
- package/js/types/Enum/StockType.js +62 -0
- package/js/types/Enum/StockType.js.map +1 -0
- package/js/types/Enum/TaxSystem.js +13 -0
- package/js/types/Enum/TaxSystem.js.map +1 -0
- package/js/types/Enum/TypeBankConnection.js +13 -0
- package/js/types/Enum/TypeBankConnection.js.map +1 -0
- package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js +31 -0
- package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -0
- package/js/types/Interface/api/immobilization/CreateImmobilization.js +63 -0
- package/js/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -0
- package/js/types/Interface/api/promoCode/CreatePromoCode.js +43 -0
- package/js/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -0
- package/js/types/Interface/api/promoCode/UpdatePromoCode.js +43 -0
- package/js/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -0
- package/js/types/Interface/api/society/UpdateSociety.js +6 -0
- package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +5 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IExerciceComment.js +6 -0
- package/js/types/Interface/models/IExerciceComment.js.map +1 -0
- package/js/types/Interface/models/IPromoCode.js +6 -0
- package/js/types/Interface/models/IPromoCode.js.map +1 -0
- package/js/types/index.js +144 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Immobilization.ts +9 -1
- package/ts/api/resources/PromoCode.ts +20 -0
- package/ts/api/resources/Society.ts +7 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/Activity.ts +6 -0
- package/ts/types/Enum/CerfaType.ts +14 -0
- package/ts/types/Enum/FiscalRegime.ts +5 -0
- package/ts/types/Enum/GlobalRegime.ts +441 -0
- package/ts/types/Enum/ImmobilizationType.ts +52 -0
- package/ts/types/Enum/ProfitsType.ts +4 -0
- package/ts/types/Enum/StockType.ts +56 -0
- package/ts/types/Enum/TaxSystem.ts +5 -0
- package/ts/types/Enum/TypeBankConnection.ts +5 -0
- package/ts/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.ts +10 -0
- package/ts/types/Interface/api/immobilization/CreateImmobilization.ts +48 -0
- package/ts/types/Interface/api/immobilization/ReadFormattedImmobilization.ts +1 -0
- package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +30 -0
- package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +30 -0
- package/ts/types/Interface/api/society/UpdateSociety.ts +9 -0
- package/ts/types/Interface/models/IApiError.ts +4 -0
- package/ts/types/Interface/models/IBankConnection.ts +1 -0
- package/ts/types/Interface/models/ICustomerTva.ts +2 -0
- package/ts/types/Interface/models/IExerciceComment.ts +16 -0
- package/ts/types/Interface/models/IExerciceDetail.ts +2 -0
- package/ts/types/Interface/models/IImmobilization.ts +7 -0
- package/ts/types/Interface/models/IPromoCode.ts +14 -0
- package/ts/types/Interface/models/IRefund.ts +3 -3
- package/ts/types/Interface/models/ISocietyDetail.ts +5 -1
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/index.ts +12 -0
|
@@ -9,6 +9,7 @@ export const ImmobilizationType = {
|
|
|
9
9
|
idAccount: 259,
|
|
10
10
|
idAccountEndownment: 334,
|
|
11
11
|
idAccountAmortization: 298,
|
|
12
|
+
idAccountTrash: 929,
|
|
12
13
|
},
|
|
13
14
|
FRAIS_PREMIER_ETABLISSEMENT: {
|
|
14
15
|
id: 2,
|
|
@@ -20,6 +21,7 @@ export const ImmobilizationType = {
|
|
|
20
21
|
idAccount: 260,
|
|
21
22
|
idAccountEndownment: 334,
|
|
22
23
|
idAccountAmortization: 299,
|
|
24
|
+
idAccountTrash: 929,
|
|
23
25
|
},
|
|
24
26
|
FRAIS_AUGMENTATION_CAPITAL: {
|
|
25
27
|
id: 3,
|
|
@@ -31,6 +33,7 @@ export const ImmobilizationType = {
|
|
|
31
33
|
idAccount: 261,
|
|
32
34
|
idAccountEndownment: 334,
|
|
33
35
|
idAccountAmortization: 300,
|
|
36
|
+
idAccountTrash: 929,
|
|
34
37
|
},
|
|
35
38
|
FRAIS_RECHERCHE: {
|
|
36
39
|
id: 4,
|
|
@@ -42,6 +45,7 @@ export const ImmobilizationType = {
|
|
|
42
45
|
idAccount: 262,
|
|
43
46
|
idAccountEndownment: 334,
|
|
44
47
|
idAccountAmortization: 301,
|
|
48
|
+
idAccountTrash: 929,
|
|
45
49
|
},
|
|
46
50
|
CONCESSIONS_BREVET: {
|
|
47
51
|
id: 5,
|
|
@@ -53,6 +57,7 @@ export const ImmobilizationType = {
|
|
|
53
57
|
idAccount: 263,
|
|
54
58
|
idAccountEndownment: 334,
|
|
55
59
|
idAccountAmortization: 302,
|
|
60
|
+
idAccountTrash: 929,
|
|
56
61
|
},
|
|
57
62
|
LOGICIEL: {
|
|
58
63
|
id: 6,
|
|
@@ -64,6 +69,7 @@ export const ImmobilizationType = {
|
|
|
64
69
|
idAccount: 264,
|
|
65
70
|
idAccountEndownment: 334,
|
|
66
71
|
idAccountAmortization: 303,
|
|
72
|
+
idAccountTrash: 929,
|
|
67
73
|
},
|
|
68
74
|
SITE_INTERNET: {
|
|
69
75
|
id: 7,
|
|
@@ -75,6 +81,7 @@ export const ImmobilizationType = {
|
|
|
75
81
|
idAccount: 265,
|
|
76
82
|
idAccountEndownment: 334,
|
|
77
83
|
idAccountAmortization: 304,
|
|
84
|
+
idAccountTrash: 929,
|
|
78
85
|
},
|
|
79
86
|
DROIT_AU_BAIL: {
|
|
80
87
|
id: 8,
|
|
@@ -86,6 +93,7 @@ export const ImmobilizationType = {
|
|
|
86
93
|
idAccount: 266,
|
|
87
94
|
idAccountEndownment: 334,
|
|
88
95
|
idAccountAmortization: 305,
|
|
96
|
+
idAccountTrash: 929,
|
|
89
97
|
},
|
|
90
98
|
FOND_COMMERCIAL: {
|
|
91
99
|
id: 9,
|
|
@@ -97,6 +105,7 @@ export const ImmobilizationType = {
|
|
|
97
105
|
idAccount: 267,
|
|
98
106
|
idAccountEndownment: 334,
|
|
99
107
|
idAccountAmortization: 306,
|
|
108
|
+
idAccountTrash: 929,
|
|
100
109
|
},
|
|
101
110
|
TERRAIN: {
|
|
102
111
|
id: 10,
|
|
@@ -108,6 +117,7 @@ export const ImmobilizationType = {
|
|
|
108
117
|
idAccount: 268,
|
|
109
118
|
idAccountEndownment: 335,
|
|
110
119
|
idAccountAmortization: 307,
|
|
120
|
+
idAccountTrash: 929,
|
|
111
121
|
},
|
|
112
122
|
TERRAIN_AMENAGE: {
|
|
113
123
|
id: 11,
|
|
@@ -119,6 +129,7 @@ export const ImmobilizationType = {
|
|
|
119
129
|
idAccount: 269,
|
|
120
130
|
idAccountEndownment: 335,
|
|
121
131
|
idAccountAmortization: 308,
|
|
132
|
+
idAccountTrash: 929,
|
|
122
133
|
},
|
|
123
134
|
SOUS_SOLS: {
|
|
124
135
|
id: 12,
|
|
@@ -130,6 +141,7 @@ export const ImmobilizationType = {
|
|
|
130
141
|
idAccount: 270,
|
|
131
142
|
idAccountEndownment: 335,
|
|
132
143
|
idAccountAmortization: 309,
|
|
144
|
+
idAccountTrash: 929,
|
|
133
145
|
},
|
|
134
146
|
TERRAIN_CARRIERES: {
|
|
135
147
|
id: 13,
|
|
@@ -141,6 +153,7 @@ export const ImmobilizationType = {
|
|
|
141
153
|
idAccount: 271,
|
|
142
154
|
idAccountEndownment: 335,
|
|
143
155
|
idAccountAmortization: 310,
|
|
156
|
+
idAccountTrash: 929,
|
|
144
157
|
},
|
|
145
158
|
TERRAIN_BATIS: {
|
|
146
159
|
id: 14,
|
|
@@ -152,6 +165,7 @@ export const ImmobilizationType = {
|
|
|
152
165
|
idAccount: 272,
|
|
153
166
|
idAccountEndownment: 335,
|
|
154
167
|
idAccountAmortization: 311,
|
|
168
|
+
idAccountTrash: 929,
|
|
155
169
|
},
|
|
156
170
|
AGENCEMENT_TERRAIN: {
|
|
157
171
|
id: 15,
|
|
@@ -163,6 +177,7 @@ export const ImmobilizationType = {
|
|
|
163
177
|
idAccount: 273,
|
|
164
178
|
idAccountEndownment: 335,
|
|
165
179
|
idAccountAmortization: 312,
|
|
180
|
+
idAccountTrash: 929,
|
|
166
181
|
},
|
|
167
182
|
CONSTRUCTIONS: {
|
|
168
183
|
id: 16,
|
|
@@ -174,6 +189,7 @@ export const ImmobilizationType = {
|
|
|
174
189
|
idAccount: 274,
|
|
175
190
|
idAccountEndownment: 335,
|
|
176
191
|
idAccountAmortization: 313,
|
|
192
|
+
idAccountTrash: 929,
|
|
177
193
|
},
|
|
178
194
|
BATIMENT_INDUSTRIEL: {
|
|
179
195
|
id: 17,
|
|
@@ -185,6 +201,7 @@ export const ImmobilizationType = {
|
|
|
185
201
|
idAccount: 275,
|
|
186
202
|
idAccountEndownment: 335,
|
|
187
203
|
idAccountAmortization: 314,
|
|
204
|
+
idAccountTrash: 929,
|
|
188
205
|
},
|
|
189
206
|
CONSTRUCTION_SOL_AUTRUI: {
|
|
190
207
|
id: 18,
|
|
@@ -196,6 +213,7 @@ export const ImmobilizationType = {
|
|
|
196
213
|
idAccount: 276,
|
|
197
214
|
idAccountEndownment: 335,
|
|
198
215
|
idAccountAmortization: 315,
|
|
216
|
+
idAccountTrash: 929,
|
|
199
217
|
},
|
|
200
218
|
INSTALLATION_GENERALE: {
|
|
201
219
|
id: 19,
|
|
@@ -207,6 +225,7 @@ export const ImmobilizationType = {
|
|
|
207
225
|
idAccount: 277,
|
|
208
226
|
idAccountEndownment: 335,
|
|
209
227
|
idAccountAmortization: 316,
|
|
228
|
+
idAccountTrash: 929,
|
|
210
229
|
},
|
|
211
230
|
MATERIEL_TRANSPORT: {
|
|
212
231
|
id: 20,
|
|
@@ -218,6 +237,7 @@ export const ImmobilizationType = {
|
|
|
218
237
|
idAccount: 278,
|
|
219
238
|
idAccountEndownment: 335,
|
|
220
239
|
idAccountAmortization: 317,
|
|
240
|
+
idAccountTrash: 929,
|
|
221
241
|
},
|
|
222
242
|
MATERIEL_BUREAU: {
|
|
223
243
|
id: 21,
|
|
@@ -229,6 +249,7 @@ export const ImmobilizationType = {
|
|
|
229
249
|
idAccount: 279,
|
|
230
250
|
idAccountEndownment: 335,
|
|
231
251
|
idAccountAmortization: 318,
|
|
252
|
+
idAccountTrash: 929,
|
|
232
253
|
},
|
|
233
254
|
MOBILIER: {
|
|
234
255
|
id: 22,
|
|
@@ -240,6 +261,7 @@ export const ImmobilizationType = {
|
|
|
240
261
|
idAccount: 280,
|
|
241
262
|
idAccountEndownment: 335,
|
|
242
263
|
idAccountAmortization: 319,
|
|
264
|
+
idAccountTrash: 929,
|
|
243
265
|
},
|
|
244
266
|
TITRE_PARTICIPATION: {
|
|
245
267
|
id: 23,
|
|
@@ -251,6 +273,7 @@ export const ImmobilizationType = {
|
|
|
251
273
|
idAccount: 281,
|
|
252
274
|
idAccountEndownment: 335,
|
|
253
275
|
idAccountAmortization: 320,
|
|
276
|
+
idAccountTrash: 929,
|
|
254
277
|
},
|
|
255
278
|
AUTRE_FORME_PARTICIPATION: {
|
|
256
279
|
id: 24,
|
|
@@ -262,6 +285,7 @@ export const ImmobilizationType = {
|
|
|
262
285
|
idAccount: 282,
|
|
263
286
|
idAccountEndownment: 335,
|
|
264
287
|
idAccountAmortization: 321,
|
|
288
|
+
idAccountTrash: 929,
|
|
265
289
|
},
|
|
266
290
|
CREANCE_PARTICIPATION: {
|
|
267
291
|
id: 25,
|
|
@@ -273,6 +297,7 @@ export const ImmobilizationType = {
|
|
|
273
297
|
idAccount: 283,
|
|
274
298
|
idAccountEndownment: 335,
|
|
275
299
|
idAccountAmortization: 322,
|
|
300
|
+
idAccountTrash: 929,
|
|
276
301
|
},
|
|
277
302
|
CREANCE_PARTICIPATION_SOCIETE: {
|
|
278
303
|
id: 26,
|
|
@@ -284,6 +309,7 @@ export const ImmobilizationType = {
|
|
|
284
309
|
idAccount: 284,
|
|
285
310
|
idAccountEndownment: 335,
|
|
286
311
|
idAccountAmortization: 323,
|
|
312
|
+
idAccountTrash: 929,
|
|
287
313
|
},
|
|
288
314
|
VERSEMENT_RESTANT: {
|
|
289
315
|
id: 27,
|
|
@@ -295,6 +321,7 @@ export const ImmobilizationType = {
|
|
|
295
321
|
idAccount: 285,
|
|
296
322
|
idAccountEndownment: 335,
|
|
297
323
|
idAccountAmortization: 324,
|
|
324
|
+
idAccountTrash: 929,
|
|
298
325
|
},
|
|
299
326
|
TITRE_IMMOBILISE_AUTRES: {
|
|
300
327
|
id: 28,
|
|
@@ -306,6 +333,7 @@ export const ImmobilizationType = {
|
|
|
306
333
|
idAccount: 286,
|
|
307
334
|
idAccountEndownment: 335,
|
|
308
335
|
idAccountAmortization: 325,
|
|
336
|
+
idAccountTrash: 929,
|
|
309
337
|
},
|
|
310
338
|
TITRE_IMMOBILISE: {
|
|
311
339
|
id: 29,
|
|
@@ -317,6 +345,7 @@ export const ImmobilizationType = {
|
|
|
317
345
|
idAccount: 287,
|
|
318
346
|
idAccountEndownment: 335,
|
|
319
347
|
idAccountAmortization: 326,
|
|
348
|
+
idAccountTrash: 929,
|
|
320
349
|
},
|
|
321
350
|
TITRE_IMMOBILISE_DE_ACTIVITE: {
|
|
322
351
|
id: 30,
|
|
@@ -328,6 +357,7 @@ export const ImmobilizationType = {
|
|
|
328
357
|
idAccount: 288,
|
|
329
358
|
idAccountEndownment: 335,
|
|
330
359
|
idAccountAmortization: 327,
|
|
360
|
+
idAccountTrash: 929,
|
|
331
361
|
},
|
|
332
362
|
PRET: {
|
|
333
363
|
id: 31,
|
|
@@ -339,6 +369,7 @@ export const ImmobilizationType = {
|
|
|
339
369
|
idAccount: 289,
|
|
340
370
|
idAccountEndownment: 335,
|
|
341
371
|
idAccountAmortization: 328,
|
|
372
|
+
idAccountTrash: 929,
|
|
342
373
|
},
|
|
343
374
|
DEPOT_CAUTIONNEMENT: {
|
|
344
375
|
id: 32,
|
|
@@ -350,6 +381,7 @@ export const ImmobilizationType = {
|
|
|
350
381
|
idAccount: 290,
|
|
351
382
|
idAccountEndownment: 335,
|
|
352
383
|
idAccountAmortization: 329,
|
|
384
|
+
idAccountTrash: 929,
|
|
353
385
|
},
|
|
354
386
|
AUTRE_CREANCE: {
|
|
355
387
|
id: 33,
|
|
@@ -361,6 +393,7 @@ export const ImmobilizationType = {
|
|
|
361
393
|
idAccount: 291,
|
|
362
394
|
idAccountEndownment: 335,
|
|
363
395
|
idAccountAmortization: 330,
|
|
396
|
+
idAccountTrash: 929,
|
|
364
397
|
},
|
|
365
398
|
ACTION_PROPRE_PART_PROPRE: {
|
|
366
399
|
id: 34,
|
|
@@ -372,6 +405,7 @@ export const ImmobilizationType = {
|
|
|
372
405
|
idAccount: 292,
|
|
373
406
|
idAccountEndownment: 335,
|
|
374
407
|
idAccountAmortization: 331,
|
|
408
|
+
idAccountTrash: 929,
|
|
375
409
|
},
|
|
376
410
|
MALI_FUSION_ACTIF: {
|
|
377
411
|
id: 35,
|
|
@@ -383,6 +417,7 @@ export const ImmobilizationType = {
|
|
|
383
417
|
idAccount: 293,
|
|
384
418
|
idAccountEndownment: 335,
|
|
385
419
|
idAccountAmortization: 332,
|
|
420
|
+
idAccountTrash: 929,
|
|
386
421
|
},
|
|
387
422
|
VERSEMENT_RESTANT_SUR_TITRE: {
|
|
388
423
|
id: 36,
|
|
@@ -394,6 +429,23 @@ export const ImmobilizationType = {
|
|
|
394
429
|
idAccount: 294,
|
|
395
430
|
idAccountEndownment: 335,
|
|
396
431
|
idAccountAmortization: 333,
|
|
432
|
+
idAccountTrash: 929,
|
|
397
433
|
},
|
|
398
434
|
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
export enum DepreciationMethods {
|
|
438
|
+
LINEAR = 1,
|
|
439
|
+
DEGRESSIVE = 2,
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export const EndOfImmobilizationType = {
|
|
443
|
+
TRASH: {
|
|
444
|
+
value: 1,
|
|
445
|
+
text: 'Mise au rebut', // Acte volontaire de sortir l’immobilisation car HS, volé, perdu... mais sans vente.
|
|
446
|
+
},
|
|
447
|
+
SELL: {
|
|
448
|
+
value: 2,
|
|
449
|
+
text: 'Cession / Vente', // Acte volontaire de sortir l’immobilisation et de la vendre
|
|
450
|
+
},
|
|
399
451
|
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export const StockType = {
|
|
2
|
+
STOCK_MATIERE_PREMIERE: {
|
|
3
|
+
idAccount: 35,
|
|
4
|
+
idAccountVariation: 28,
|
|
5
|
+
idAccountDepreciation: 375,
|
|
6
|
+
},
|
|
7
|
+
STOCK_MATIERE_CONSOMMABLE: {
|
|
8
|
+
idAccount: 182,
|
|
9
|
+
idAccountVariation: 29,
|
|
10
|
+
idAccountDepreciation: 381,
|
|
11
|
+
},
|
|
12
|
+
STOCK_FOURNITURE_CONSOMMABLE: {
|
|
13
|
+
idAccount: 338,
|
|
14
|
+
idAccountVariation: 29,
|
|
15
|
+
idAccountDepreciation: 382,
|
|
16
|
+
},
|
|
17
|
+
STOCK_EMBALLAGE: {
|
|
18
|
+
idAccount: 344,
|
|
19
|
+
idAccountVariation: 29,
|
|
20
|
+
idAccountDepreciation: 383,
|
|
21
|
+
},
|
|
22
|
+
STOCK_MARCHANDISE: {
|
|
23
|
+
idAccount: 372,
|
|
24
|
+
idAccountVariation: 36,
|
|
25
|
+
idAccountDepreciation: 393,
|
|
26
|
+
},
|
|
27
|
+
STOCK_PRODUITS_PRODUCTION_EN_COURS: {
|
|
28
|
+
idAccount: 349,
|
|
29
|
+
idAccountVariation: 421,
|
|
30
|
+
idAccountDepreciation: 385,
|
|
31
|
+
},
|
|
32
|
+
STOCK_TRAVAUX_PRODUCTION_EN_COURS: {
|
|
33
|
+
idAccount: 352,
|
|
34
|
+
idAccountVariation: 422,
|
|
35
|
+
idAccountDepreciation: 396,
|
|
36
|
+
},
|
|
37
|
+
STOCK_PRODUITS_SERVICE_EN_COURS: {
|
|
38
|
+
idAccount: 355,
|
|
39
|
+
idAccountVariation: 424,
|
|
40
|
+
idAccountDepreciation: 388,
|
|
41
|
+
},
|
|
42
|
+
STOCK_PRESTATION_SERVICE_EN_COURS: {
|
|
43
|
+
idAccount: 358,
|
|
44
|
+
idAccountVariation: 425,
|
|
45
|
+
idAccountDepreciation: 389,
|
|
46
|
+
},
|
|
47
|
+
STOCK_PRODUITS_FINI: {
|
|
48
|
+
idAccount: 364,
|
|
49
|
+
idAccountVariation: 428,
|
|
50
|
+
idAccountDepreciation: 392,
|
|
51
|
+
},
|
|
52
|
+
DEPRECIATION_STOCK: {
|
|
53
|
+
idAccount: 928,
|
|
54
|
+
idAccountExtourne: 486,
|
|
55
|
+
},
|
|
56
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
import { DepreciationMethods, EndOfImmobilizationType } from '../../../Enum/ImmobilizationType';
|
|
3
|
+
|
|
4
|
+
export class CreateImmobilizationForm {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
reference: string;
|
|
7
|
+
|
|
8
|
+
@ApiProperty()
|
|
9
|
+
designation: string;
|
|
10
|
+
|
|
11
|
+
@ApiProperty()
|
|
12
|
+
acquisitionDate: Date;
|
|
13
|
+
|
|
14
|
+
@ApiProperty()
|
|
15
|
+
duration: number;
|
|
16
|
+
|
|
17
|
+
@ApiProperty()
|
|
18
|
+
quantity: number;
|
|
19
|
+
|
|
20
|
+
@ApiProperty()
|
|
21
|
+
depreciationMethod: DepreciationMethods;
|
|
22
|
+
|
|
23
|
+
@ApiProperty()
|
|
24
|
+
amountTotalImmobilization: number;
|
|
25
|
+
|
|
26
|
+
@ApiProperty()
|
|
27
|
+
amountAlreadyDeducted: number;
|
|
28
|
+
|
|
29
|
+
@ApiProperty()
|
|
30
|
+
provider: string;
|
|
31
|
+
|
|
32
|
+
@ApiProperty()
|
|
33
|
+
idAccount: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class CreateEndOfImmobilizationForm {
|
|
37
|
+
@ApiProperty()
|
|
38
|
+
type: typeof EndOfImmobilizationType[keyof typeof EndOfImmobilizationType];
|
|
39
|
+
|
|
40
|
+
@ApiProperty()
|
|
41
|
+
quantity: number;
|
|
42
|
+
|
|
43
|
+
@ApiProperty({ description: 'Date of cession / trash' })
|
|
44
|
+
date: Date;
|
|
45
|
+
|
|
46
|
+
@ApiPropertyOptional({ description: 'If sell type, amount' })
|
|
47
|
+
amount?: number;
|
|
48
|
+
}
|
|
@@ -3,6 +3,7 @@ import { IAccount } from '../../models/IAccount';
|
|
|
3
3
|
|
|
4
4
|
export interface ReadHydratedImmobilization extends IImmobilization {
|
|
5
5
|
account: Partial<IAccount>
|
|
6
|
+
netBookValue: number | null;
|
|
6
7
|
}
|
|
7
8
|
export interface FormattedImmobilization extends IImmobilization {
|
|
8
9
|
inputValue: number
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class CreatePromoCode {
|
|
4
|
+
@ApiProperty()
|
|
5
|
+
name: string;
|
|
6
|
+
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
microMonthly?: string | null;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
microMonthlyDescription?: string | null;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
microYearly?: string | null;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
microYearlyDescription?: string | null;
|
|
18
|
+
|
|
19
|
+
@ApiPropertyOptional()
|
|
20
|
+
businessMonthly?: string | null;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
businessMonthlyDescription?: string | null;
|
|
24
|
+
|
|
25
|
+
@ApiPropertyOptional()
|
|
26
|
+
businessYearly?: string | null;
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
businessYearlyDescription?: string | null;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class UpdatePromoCode {
|
|
4
|
+
@ApiPropertyOptional()
|
|
5
|
+
name?: string;
|
|
6
|
+
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
microMonthly?: string | null;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
microMonthlyDescription?: string | null;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
microYearly?: string | null;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
microYearlyDescription?: string | null;
|
|
18
|
+
|
|
19
|
+
@ApiPropertyOptional()
|
|
20
|
+
businessMonthly?: string | null;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
businessMonthlyDescription?: string | null;
|
|
24
|
+
|
|
25
|
+
@ApiPropertyOptional()
|
|
26
|
+
businessYearly?: string | null;
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
businessYearlyDescription?: string | null;
|
|
30
|
+
}
|
|
@@ -28,6 +28,15 @@ export class UpdateSociety {
|
|
|
28
28
|
@ApiPropertyOptional()
|
|
29
29
|
idLegalForm?: number;
|
|
30
30
|
|
|
31
|
+
@ApiPropertyOptional()
|
|
32
|
+
idFiscalRegime?: number;
|
|
33
|
+
|
|
34
|
+
@ApiPropertyOptional()
|
|
35
|
+
profitsType?: number;
|
|
36
|
+
|
|
37
|
+
@ApiPropertyOptional()
|
|
38
|
+
idTaxSystem?: number;
|
|
39
|
+
|
|
31
40
|
@ApiPropertyOptional()
|
|
32
41
|
exercicePeriod?: { start: string, end: string };
|
|
33
42
|
|
|
@@ -33,10 +33,14 @@ export enum Code {
|
|
|
33
33
|
immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',
|
|
34
34
|
immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',
|
|
35
35
|
immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',
|
|
36
|
+
immobilizationNotExist = 'immobilization_not_exist',
|
|
37
|
+
accountIsNotDepreciable = 'account_is_not_depreciable',
|
|
38
|
+
invalidNetBookValue = 'invalid_net_book_value',
|
|
36
39
|
noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',
|
|
37
40
|
amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',
|
|
38
41
|
amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',
|
|
39
42
|
amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',
|
|
43
|
+
immobilizationNotFound = 'immobilization_not_found',
|
|
40
44
|
|
|
41
45
|
// PDF error
|
|
42
46
|
mergeFailed = 'merge_failed',
|
|
@@ -17,6 +17,8 @@ export interface ICustomerTva {
|
|
|
17
17
|
amountBaseTva: number | null;
|
|
18
18
|
comment: string | null;
|
|
19
19
|
token: string | null;
|
|
20
|
+
acceptation: boolean | null;
|
|
21
|
+
acceptationDate: Date | null;
|
|
20
22
|
idMail: number | null;
|
|
21
23
|
idVatDeclaration: number | null;
|
|
22
24
|
createdAt?: Date | null;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IExercice } from './IExercice';
|
|
2
|
+
import { IUser } from './IUser';
|
|
3
|
+
|
|
4
|
+
// exerciceComments
|
|
5
|
+
export interface IExerciceComment {
|
|
6
|
+
id?: number;
|
|
7
|
+
comment: string;
|
|
8
|
+
idExercice: number;
|
|
9
|
+
idUser: number;
|
|
10
|
+
createdAt?: Date | null;
|
|
11
|
+
updatedAt?: Date | null;
|
|
12
|
+
|
|
13
|
+
// Associations
|
|
14
|
+
exercice?: IExercice;
|
|
15
|
+
user?: IUser;
|
|
16
|
+
}
|
|
@@ -10,6 +10,8 @@ export interface IExerciceDetail {
|
|
|
10
10
|
checklistMaj: boolean | null;
|
|
11
11
|
statutReview: number | null;
|
|
12
12
|
isDone: boolean;
|
|
13
|
+
acceptation: boolean | null;
|
|
14
|
+
acceptationDate: Date | null;
|
|
13
15
|
idExercice: number;
|
|
14
16
|
createdAt?: Date | null;
|
|
15
17
|
updatedAt?: Date | null;
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { IAccountingEntry } from './IAccountingEntry';
|
|
2
2
|
import { ISociety } from './ISociety';
|
|
3
|
+
import { DepreciationMethods } from '../../Enum/ImmobilizationType';
|
|
3
4
|
|
|
4
5
|
export interface IImmobilization {
|
|
5
6
|
id?: number;
|
|
7
|
+
reference: string;
|
|
6
8
|
designation: string;
|
|
7
9
|
quantity: number;
|
|
10
|
+
quantityTrashed?: number;
|
|
11
|
+
quantitySelled?: number;
|
|
8
12
|
acquisitionDate?: Date; // si il n'y a pas d'acquisition date, c'est un acompte
|
|
9
13
|
duration: number;
|
|
10
14
|
provider: string;
|
|
15
|
+
depreciationMethod?: DepreciationMethods;
|
|
11
16
|
amountTotalImmobilization : number;
|
|
17
|
+
amountAlreadyDeducted?: number;
|
|
18
|
+
idAccount?: number | null;
|
|
12
19
|
idSociety: number;
|
|
13
20
|
createdAt?: Date | null;
|
|
14
21
|
updatedAt?: Date | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IPromoCode {
|
|
2
|
+
id?: number;
|
|
3
|
+
name: string;
|
|
4
|
+
microMonthly?: string | null;
|
|
5
|
+
microMonthlyDescription?: string | null;
|
|
6
|
+
microYearly?: string | null;
|
|
7
|
+
microYearlyDescription?: string | null;
|
|
8
|
+
businessMonthly?: string | null;
|
|
9
|
+
businessMonthlyDescription?: string | null;
|
|
10
|
+
businessYearly?: string | null;
|
|
11
|
+
businessYearlyDescription?: string | null;
|
|
12
|
+
createdAt?: Date | null;
|
|
13
|
+
updatedAt?: Date | null;
|
|
14
|
+
}
|
|
@@ -6,14 +6,14 @@ import { IUser } from './IUser';
|
|
|
6
6
|
// refunds
|
|
7
7
|
export interface IRefund {
|
|
8
8
|
id?: number;
|
|
9
|
-
amount: number;
|
|
9
|
+
amount: number | null;
|
|
10
10
|
comment: string | null;
|
|
11
|
-
refundDate: Date;
|
|
11
|
+
refundDate: Date | null;
|
|
12
12
|
processed: boolean;
|
|
13
13
|
idRefundMotif: number;
|
|
14
14
|
idSociety: number;
|
|
15
15
|
idUserDemand: number;
|
|
16
|
-
idFile: number;
|
|
16
|
+
idFile: number | null;
|
|
17
17
|
createdAt?: Date | null;
|
|
18
18
|
updatedAt?: Date | null;
|
|
19
19
|
|
|
@@ -29,7 +29,7 @@ export interface ISocietyDetail {
|
|
|
29
29
|
tauxTvaComment: string | null;
|
|
30
30
|
remarqueComment: string | null;
|
|
31
31
|
remarqueCommentCab: string | null;
|
|
32
|
-
acceptation:
|
|
32
|
+
acceptation: number | null;
|
|
33
33
|
userIdAcceptation: number | null;
|
|
34
34
|
lab: boolean | null;
|
|
35
35
|
userIdLab: number | null;
|
|
@@ -94,6 +94,10 @@ export interface ISocietyDetail {
|
|
|
94
94
|
notificationForConstitution: boolean;
|
|
95
95
|
notificationForOtherMissions: boolean | null;
|
|
96
96
|
takeKnowledge: boolean;
|
|
97
|
+
bankSynchronisationState: number | null;
|
|
98
|
+
platformExplanation:number | null;
|
|
99
|
+
mobileAppInstallationProposal:number | null;
|
|
100
|
+
verifiedDocuments: boolean | null;
|
|
97
101
|
createdAt?: Date | null;
|
|
98
102
|
updatedAt?: Date | null;
|
|
99
103
|
|