@silexpert/core 1.3.161 → 1.3.163
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/dist/cjs/api/resources/BalanceSheet.d.ts +2 -4
- package/dist/cjs/api/resources/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/api/resources/BalanceSheet.js +3 -2
- package/dist/cjs/api/resources/BalanceSheet.js.map +1 -1
- package/dist/cjs/api/resources/Card.d.ts +2 -4
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +0 -1
- package/dist/cjs/api/resources/Card.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts +7 -0
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +61 -0
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/Card.d.ts +10 -0
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +14 -1
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.d.ts +7 -0
- package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.js +39 -0
- package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts +7 -0
- package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts.map +1 -0
- package/dist/cjs/types/Enum/TransactionRangeFilter.js +11 -0
- package/dist/cjs/types/Enum/TransactionRangeFilter.js.map +1 -0
- package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +3 -0
- package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/Query.js +11 -1
- package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +2 -0
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +2 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.js +6 -0
- package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +1 -0
- package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +9 -0
- package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
- package/dist/mjs/api/resources/BalanceSheet.d.ts +2 -4
- package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/api/resources/BalanceSheet.js +3 -2
- package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
- package/dist/mjs/api/resources/Card.d.ts +2 -4
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +0 -1
- package/dist/mjs/api/resources/Card.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +7 -0
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +61 -0
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/Card.d.ts +10 -0
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +13 -0
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.d.ts +7 -0
- package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.js +39 -0
- package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts +7 -0
- package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts.map +1 -0
- package/dist/mjs/types/Enum/TransactionRangeFilter.js +8 -0
- package/dist/mjs/types/Enum/TransactionRangeFilter.js.map +1 -0
- package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +3 -0
- package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/Query.js +10 -0
- package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +2 -0
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +2 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.js +8 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +1 -0
- package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +11 -1
- package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BalanceSheet.ts +4 -2
- package/ts/api/resources/Card.ts +2 -3
- package/ts/types/Enum/BalanceSheet.ts +69 -0
- package/ts/types/Enum/Card.ts +14 -0
- package/ts/types/Enum/IncomeStatement.ts +47 -0
- package/ts/types/Enum/TransactionRangeFilter.ts +6 -0
- package/ts/types/Interface/api/balanceSheet/Query.ts +8 -0
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +3 -0
- package/ts/types/Interface/api/card/UpdateCard.ts +6 -1
- package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +9 -1
|
@@ -46,21 +46,25 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
46
46
|
name: IncomeStatementLabel.VENTE_DE_MARCHANDISES,
|
|
47
47
|
total: 0,
|
|
48
48
|
accounts: ['707'],
|
|
49
|
+
accountsDescription: [],
|
|
49
50
|
},
|
|
50
51
|
{
|
|
51
52
|
name: 'Production vendue',
|
|
52
53
|
total: 0,
|
|
53
54
|
accounts: ['701', '702', '703', '704', '705', '706'],
|
|
55
|
+
accountsDescription: [],
|
|
54
56
|
},
|
|
55
57
|
{
|
|
56
58
|
name: 'Produits des activités annexes',
|
|
57
59
|
total: 0,
|
|
58
60
|
accounts: ['708'],
|
|
61
|
+
accountsDescription: [],
|
|
59
62
|
},
|
|
60
63
|
{
|
|
61
64
|
name: "Rabais, remises, ristournes accordés par l'entreprise",
|
|
62
65
|
total: 0,
|
|
63
66
|
accounts: ['709'],
|
|
67
|
+
accountsDescription: [],
|
|
64
68
|
},
|
|
65
69
|
],
|
|
66
70
|
},
|
|
@@ -68,26 +72,31 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
68
72
|
name: IncomeStatementLabel.PRODUCTION_STOCKEE,
|
|
69
73
|
total: 0,
|
|
70
74
|
accounts: ['71'],
|
|
75
|
+
accountsDescription: [],
|
|
71
76
|
},
|
|
72
77
|
{
|
|
73
78
|
name: IncomeStatementLabel.PRODUCTION_IMMOBILISEE,
|
|
74
79
|
total: 0,
|
|
75
80
|
accounts: ['72'],
|
|
81
|
+
accountsDescription: [],
|
|
76
82
|
},
|
|
77
83
|
{
|
|
78
84
|
name: IncomeStatementLabel.SUBVENTIONS_EXPLOITATION,
|
|
79
85
|
total: 0,
|
|
80
86
|
accounts: ['74'],
|
|
87
|
+
accountsDescription: [],
|
|
81
88
|
},
|
|
82
89
|
{
|
|
83
90
|
name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS,
|
|
84
91
|
total: 0,
|
|
85
92
|
accounts: ['781', '791'],
|
|
93
|
+
accountsDescription: [],
|
|
86
94
|
},
|
|
87
95
|
{
|
|
88
96
|
name: IncomeStatementLabel.AUTRES_PRODUITS,
|
|
89
97
|
total: 0,
|
|
90
98
|
accounts: ['75'],
|
|
99
|
+
accountsDescription: [],
|
|
91
100
|
},
|
|
92
101
|
],
|
|
93
102
|
},
|
|
@@ -100,53 +109,63 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
100
109
|
name: 'Achats de marchandises',
|
|
101
110
|
total: 0,
|
|
102
111
|
accounts: ['607'],
|
|
112
|
+
accountsDescription: [],
|
|
103
113
|
},
|
|
104
114
|
{
|
|
105
115
|
name: IncomeStatementLabel.VARIATION_STOCK_MARCHANDISES,
|
|
106
116
|
total: 0,
|
|
107
117
|
accounts: ['6037'],
|
|
118
|
+
accountsDescription: [],
|
|
108
119
|
},
|
|
109
120
|
{
|
|
110
121
|
name: 'Achats de matières premieres et autres approvisionnements',
|
|
111
122
|
total: 0,
|
|
112
123
|
accounts: ['60'],
|
|
113
124
|
excludeAccounts: ['607', '603', '606', '604'],
|
|
125
|
+
accountsDescription: [],
|
|
114
126
|
},
|
|
115
127
|
{
|
|
116
128
|
name: IncomeStatementLabel.VARIATION_STOCK_MATIERES_PREMIERES,
|
|
117
129
|
total: 0,
|
|
118
130
|
accounts: ['603'],
|
|
119
131
|
excludeAccounts: ['6037'],
|
|
132
|
+
accountsDescription: [],
|
|
120
133
|
},
|
|
121
134
|
{
|
|
122
135
|
name: IncomeStatementLabel.AUTRES_ACHATS_ET_CHARGES_EXT,
|
|
123
136
|
total: 0,
|
|
124
137
|
accounts: ['61', '62', '606', '604'],
|
|
138
|
+
accountsDescription: [],
|
|
125
139
|
},
|
|
126
140
|
{
|
|
127
141
|
name: IncomeStatementLabel.IMPOTS_TAXES_ASSIMILES,
|
|
128
142
|
total: 0,
|
|
129
143
|
accounts: ['63'],
|
|
144
|
+
accountsDescription: [],
|
|
130
145
|
},
|
|
131
146
|
{
|
|
132
147
|
name: IncomeStatementLabel.SALAIRES_ET_TRAITEMENTS,
|
|
133
148
|
total: 0,
|
|
134
149
|
accounts: ['641', '642', '643', '644'],
|
|
150
|
+
accountsDescription: [],
|
|
135
151
|
},
|
|
136
152
|
{
|
|
137
153
|
name: IncomeStatementLabel.CHARGES_SOCIALES,
|
|
138
154
|
total: 0,
|
|
139
155
|
accounts: ['645', '646', '647', '648', '649'],
|
|
156
|
+
accountsDescription: [],
|
|
140
157
|
},
|
|
141
158
|
{
|
|
142
159
|
name: 'Dotations aux amortissements et provisions',
|
|
143
160
|
total: 0,
|
|
144
161
|
accounts: ['681', '682', '683', '684', '685'],
|
|
162
|
+
accountsDescription: [],
|
|
145
163
|
},
|
|
146
164
|
{
|
|
147
165
|
name: IncomeStatementLabel.AUTRES_CHARGES_GESTION,
|
|
148
166
|
total: 0,
|
|
149
167
|
accounts: ['65'],
|
|
168
|
+
accountsDescription: [],
|
|
150
169
|
},
|
|
151
170
|
],
|
|
152
171
|
},
|
|
@@ -168,31 +187,37 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
168
187
|
name: IncomeStatementLabel.INTERETS_PARTICIPATION,
|
|
169
188
|
total: 0,
|
|
170
189
|
accounts: ['761'],
|
|
190
|
+
accountsDescription: [],
|
|
171
191
|
},
|
|
172
192
|
{
|
|
173
193
|
name: IncomeStatementLabel.AUTRES_VALEURS_MOBILIERES,
|
|
174
194
|
total: 0,
|
|
175
195
|
accounts: ['762', '764'],
|
|
196
|
+
accountsDescription: [],
|
|
176
197
|
},
|
|
177
198
|
{
|
|
178
199
|
name: IncomeStatementLabel.AUTRES_INTERETS_ET_PRODUIT,
|
|
179
200
|
total: 0,
|
|
180
201
|
accounts: ['760', '763', '765', '768'],
|
|
202
|
+
accountsDescription: [],
|
|
181
203
|
},
|
|
182
204
|
{
|
|
183
205
|
name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS_FINANCIERES,
|
|
184
206
|
total: 0,
|
|
185
207
|
accounts: ['786', '796'],
|
|
208
|
+
accountsDescription: [],
|
|
186
209
|
},
|
|
187
210
|
{
|
|
188
211
|
name: IncomeStatementLabel.DIFFERENCES_CHANGE,
|
|
189
212
|
total: 0,
|
|
190
213
|
accounts: ['766'],
|
|
214
|
+
accountsDescription: [],
|
|
191
215
|
},
|
|
192
216
|
{
|
|
193
217
|
name: IncomeStatementLabel.PRODUITS_NET_PLACEMENT,
|
|
194
218
|
total: 0,
|
|
195
219
|
accounts: ['767'],
|
|
220
|
+
accountsDescription: [],
|
|
196
221
|
},
|
|
197
222
|
],
|
|
198
223
|
},
|
|
@@ -205,21 +230,25 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
205
230
|
name: IncomeStatementLabel.DOTATIONS_AUX_AMORTISSEMENTS,
|
|
206
231
|
total: 0,
|
|
207
232
|
accounts: ['686'],
|
|
233
|
+
accountsDescription: [],
|
|
208
234
|
},
|
|
209
235
|
{
|
|
210
236
|
name: IncomeStatementLabel.INTERETS_ET_CHARGES_ASSIMILES,
|
|
211
237
|
total: 0,
|
|
212
238
|
accounts: ['661', '664', '665', '668'],
|
|
239
|
+
accountsDescription: [],
|
|
213
240
|
},
|
|
214
241
|
{
|
|
215
242
|
name: IncomeStatementLabel.DIFFERENCES_NEGATIVES_CHANGE,
|
|
216
243
|
total: 0,
|
|
217
244
|
accounts: ['666'],
|
|
245
|
+
accountsDescription: [],
|
|
218
246
|
},
|
|
219
247
|
{
|
|
220
248
|
name: IncomeStatementLabel.CHARGES_NETTES_VALEURS_MOBILIERES,
|
|
221
249
|
total: 0,
|
|
222
250
|
accounts: ['667'],
|
|
251
|
+
accountsDescription: [],
|
|
223
252
|
},
|
|
224
253
|
],
|
|
225
254
|
},
|
|
@@ -249,6 +278,7 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
249
278
|
name: IncomeStatementLabel.SUR_OPERATION_DE_GESTION,
|
|
250
279
|
total: 0,
|
|
251
280
|
accounts: ['771', '772'],
|
|
281
|
+
accountsDescription: [],
|
|
252
282
|
},
|
|
253
283
|
{
|
|
254
284
|
name: IncomeStatementLabel.SUR_OPERATION_EN_CAPITAL,
|
|
@@ -258,16 +288,19 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
258
288
|
name: "Produits des cessions d'éléments d'actifs",
|
|
259
289
|
total: 0,
|
|
260
290
|
accounts: ['775'],
|
|
291
|
+
accountsDescription: [],
|
|
261
292
|
},
|
|
262
293
|
{
|
|
263
294
|
name: "Subventions d'investissement virées aux résultats de l'exercice",
|
|
264
295
|
total: 0,
|
|
265
296
|
accounts: ['777'],
|
|
297
|
+
accountsDescription: [],
|
|
266
298
|
},
|
|
267
299
|
{
|
|
268
300
|
name: 'Autre',
|
|
269
301
|
total: 0,
|
|
270
302
|
accounts: ['778'],
|
|
303
|
+
accountsDescription: [],
|
|
271
304
|
},
|
|
272
305
|
],
|
|
273
306
|
},
|
|
@@ -287,6 +320,7 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
287
320
|
name: IncomeStatementLabel.CHARGES_SUR_OPERATION_DE_GESTION,
|
|
288
321
|
total: 0,
|
|
289
322
|
accounts: ['671', '672'],
|
|
323
|
+
accountsDescription: [],
|
|
290
324
|
},
|
|
291
325
|
{
|
|
292
326
|
name: IncomeStatementLabel.CHARGES_SUR_OPERATIONS_EN_CAPITAL,
|
|
@@ -296,11 +330,13 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
296
330
|
name: 'Valeurs comptables des éléments immobilisés et financiers cédés',
|
|
297
331
|
total: 0,
|
|
298
332
|
accounts: ['675'],
|
|
333
|
+
accountsDescription: [],
|
|
299
334
|
},
|
|
300
335
|
{
|
|
301
336
|
name: 'Autre',
|
|
302
337
|
total: 0,
|
|
303
338
|
accounts: ['678'],
|
|
339
|
+
accountsDescription: [],
|
|
304
340
|
},
|
|
305
341
|
],
|
|
306
342
|
},
|
|
@@ -311,11 +347,13 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
311
347
|
{
|
|
312
348
|
name: 'Dotations aux provisions réglementées',
|
|
313
349
|
accounts: ['6872', '6873', '6874'],
|
|
350
|
+
accountsDescription: [],
|
|
314
351
|
total: 0,
|
|
315
352
|
},
|
|
316
353
|
{
|
|
317
354
|
name: IncomeStatementLabel.DOTATIONS_EXCEPTIONNELLES_AMORT_PROV,
|
|
318
355
|
accounts: ['6871', '6875', '6876'],
|
|
356
|
+
accountsDescription: [],
|
|
319
357
|
total: 0,
|
|
320
358
|
},
|
|
321
359
|
],
|
|
@@ -335,6 +373,7 @@ export const INCOME_STATEMENT_LIST = [
|
|
|
335
373
|
total: 0,
|
|
336
374
|
key: 'incomeTax',
|
|
337
375
|
accounts: ['69'],
|
|
376
|
+
accountsDescription: [],
|
|
338
377
|
},
|
|
339
378
|
{
|
|
340
379
|
name: "Résultat de l'exercice",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncomeStatement.js","sourceRoot":"","sources":["../../../../ts/types/Enum/IncomeStatement.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAN,IAAY,oBA+BX;AA/BD,WAAY,oBAAoB;IAC9B,wEAAgD,CAAA;IAChD,sEAAyC,CAAA;IACzC,8EAAiD,CAAA;IACjD,+EAAuD,CAAA;IACvD,6IAA2G,CAAA;IAC3G,+EAAuD,CAAA;IACvD,6FAAqE,CAAA;IACrE,2IAA8G,CAAA;IAC9G,0FAAkE,CAAA;IAClE,kGAAgE,CAAA;IAChE,2EAAmD,CAAA;IACnD,6DAAqC,CAAA;IACrC,qFAA6D,CAAA;IAC7D,2GAAoE,CAAA;IACpE,oEAA4C,CAAA;IAC5C,kIAA2F,CAAA;IAC3F,0JAAmH,CAAA;IACnH,mFAAsD,CAAA;IACtD,qHAAwF,CAAA;IACxF,4HAA0F,CAAA;IAC1F,sGAA+D,CAAA;IAC/D,kGAAgE,CAAA;IAChE,iIAAoG,CAAA;IACpG,mFAAsD,CAAA;IACtD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ncomeStatementField[];\n accounts?: string[];\n total: number;\n excludeAccounts?: string[];\n};\n\nexport type IncomeStatement = {\n name: string;\n fields?: IncomeStatementField[];\n total: number;\n accounts?: string[];\n excludeAccounts?: string[];\n key: string;\n calculation?: boolean; // Doit être calculé avec calculationAdd & calculationSubtract\n calculationAdd?: string[]; // Tableau des keys à additionner pour obtenir le total\n calculationSubtract?: string[]; // Tableau des keys à soustraire pour obtenir le total\n isProduct?: boolean; // Si c'est un produit, on fait x -1\n};\n\nexport enum IncomeStatementLabel {\n VENTE_DE_MARCHANDISES = 'Ventes de marchandises',\n PRODUCTION_STOCKEE = 'Production stockée',\n PRODUCTION_IMMOBILISEE = 'Production immobilisée',\n SUBVENTIONS_EXPLOITATION = \"Subventions d'exploitation\",\n REPRISES_SUR_PROVISIONS = 'Reprises sur provisions, dépréciations et amortissements, transferts de charges',\n AUTRES_PRODUITS = 'Autres produits de gestion courante',\n VARIATION_STOCK_MARCHANDISES = 'Variation des stocks de marchandises',\n VARIATION_STOCK_MATIERES_PREMIERES = 'Variation des stocks de matières premieres et autres approvisionnements',\n AUTRES_ACHATS_ET_CHARGES_EXT = 'Autres achats et charges externes',\n IMPOTS_TAXES_ASSIMILES = 'Impôts, taxes et versements assimilés',\n SALAIRES_ET_TRAITEMENTS = 'Salaires et traitements',\n CHARGES_SOCIALES = 'Charges sociales',\n AUTRES_CHARGES_GESTION = 'Autres charges de gestion courante',\n AUTRES_INTERETS_ET_PRODUIT = 'Autres intérêts et produits assimilés',\n INTERETS_PARTICIPATION = 'De participations',\n AUTRES_VALEURS_MOBILIERES = \"D'autres valeurs mobilières et créances de l'actif immobilisé\",\n REPRISES_SUR_PROVISIONS_FINANCIERES = 'Reprises sur dépréciations, provisions et transferts de charges financières',\n DIFFERENCES_CHANGE = 'Différences positives de change',\n PRODUITS_NET_PLACEMENT = 'Produits nets sur cessions de valeurs mobilières de placement',\n DOTATIONS_AUX_AMORTISSEMENTS = 'Dotations aux amortissements, dépréciations et provisions',\n INTERETS_ET_CHARGES_ASSIMILES = 'Intérêts et charges assimilés',\n DIFFERENCES_NEGATIVES_CHANGE = 'Différences négatives de change',\n CHARGES_NETTES_VALEURS_MOBILIERES = 'Charges nettes sur cessions de valeurs mobilières de placement',\n SUR_OPERATION_EN_CAPITAL = 'Sur opérations en capital',\n SUR_OPERATION_DE_GESTION = 'Sur opérations de gestion',\n REPRISES_SUR_PROVISIONS_DE_CHARGES = 'Reprises sur dépréciations, provisions et transferts de charges exceptionnelles',\n CHARGES_SUR_OPERATION_DE_GESTION = 'Sur opérations de gestion ', // WARN: Laisser espacement en fin\n CHARGES_SUR_OPERATIONS_EN_CAPITAL = 'Sur opérations en capital ',\n DOTATIONS_EXCEPTIONNELLES_AMORT_PROV = 'Dotations aux amortissements, dépréciations et autres provisions',\n IMPOTS_SUR_BENEFICES = 'Impôt sur les bénéfices',\n}\n\nexport const INCOME_STATEMENT_LIST: IncomeStatement[] = [\n {\n name: \"Total des produits d'exploitation\",\n key: 'totalOperatingIncome',\n total: 0,\n isProduct: true,\n fields: [\n {\n name: \"Chiffre d'Affaires\",\n total: 0,\n fields: [\n {\n name: IncomeStatementLabel.VENTE_DE_MARCHANDISES,\n total: 0,\n accounts: ['707'],\n },\n {\n name: 'Production vendue',\n total: 0,\n accounts: ['701', '702', '703', '704', '705', '706'],\n },\n {\n name: 'Produits des activités annexes',\n total: 0,\n accounts: ['708'],\n },\n {\n name: \"Rabais, remises, ristournes accordés par l'entreprise\",\n total: 0,\n accounts: ['709'],\n },\n ],\n },\n {\n name: IncomeStatementLabel.PRODUCTION_STOCKEE,\n total: 0,\n accounts: ['71'],\n },\n {\n name: IncomeStatementLabel.PRODUCTION_IMMOBILISEE,\n total: 0,\n accounts: ['72'],\n },\n {\n name: IncomeStatementLabel.SUBVENTIONS_EXPLOITATION,\n total: 0,\n accounts: ['74'],\n },\n {\n name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS,\n total: 0,\n accounts: ['781', '791'],\n },\n {\n name: IncomeStatementLabel.AUTRES_PRODUITS,\n total: 0,\n accounts: ['75'],\n },\n ],\n },\n {\n name: \"Total des charges d'exploitation\",\n key: 'totalOperatingExpenses',\n total: 0,\n fields: [\n {\n name: 'Achats de marchandises',\n total: 0,\n accounts: ['607'],\n },\n {\n name: IncomeStatementLabel.VARIATION_STOCK_MARCHANDISES,\n total: 0,\n accounts: ['6037'],\n },\n {\n name: 'Achats de matières premieres et autres approvisionnements',\n total: 0,\n accounts: ['60'],\n excludeAccounts: ['607', '603', '606', '604'],\n },\n {\n name: IncomeStatementLabel.VARIATION_STOCK_MATIERES_PREMIERES,\n total: 0,\n accounts: ['603'],\n excludeAccounts: ['6037'],\n },\n {\n name: IncomeStatementLabel.AUTRES_ACHATS_ET_CHARGES_EXT,\n total: 0,\n accounts: ['61', '62', '606', '604'],\n },\n {\n name: IncomeStatementLabel.IMPOTS_TAXES_ASSIMILES,\n total: 0,\n accounts: ['63'],\n },\n {\n name: IncomeStatementLabel.SALAIRES_ET_TRAITEMENTS,\n total: 0,\n accounts: ['641', '642', '643', '644'],\n },\n {\n name: IncomeStatementLabel.CHARGES_SOCIALES,\n total: 0,\n accounts: ['645', '646', '647', '648', '649'],\n },\n {\n name: 'Dotations aux amortissements et provisions',\n total: 0,\n accounts: ['681', '682', '683', '684', '685'],\n },\n {\n name: IncomeStatementLabel.AUTRES_CHARGES_GESTION,\n total: 0,\n accounts: ['65'],\n },\n ],\n },\n {\n name: \"Résultat d'exploitation\",\n key: 'operatingResult',\n total: 0,\n calculation: true,\n calculationAdd: ['totalOperatingIncome'],\n calculationSubtract: ['totalOperatingExpenses'],\n },\n {\n name: 'Total des produits financiers',\n key: 'totalFinancialProducts',\n total: 0,\n isProduct: true,\n fields: [\n {\n name: IncomeStatementLabel.INTERETS_PARTICIPATION,\n total: 0,\n accounts: ['761'],\n },\n {\n name: IncomeStatementLabel.AUTRES_VALEURS_MOBILIERES,\n total: 0,\n accounts: ['762', '764'],\n },\n {\n name: IncomeStatementLabel.AUTRES_INTERETS_ET_PRODUIT,\n total: 0,\n accounts: ['760', '763', '765', '768'],\n },\n {\n name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS_FINANCIERES,\n total: 0,\n accounts: ['786', '796'],\n },\n {\n name: IncomeStatementLabel.DIFFERENCES_CHANGE,\n total: 0,\n accounts: ['766'],\n },\n {\n name: IncomeStatementLabel.PRODUITS_NET_PLACEMENT,\n total: 0,\n accounts: ['767'],\n },\n ],\n },\n {\n name: 'Total des charges financières',\n total: 0,\n key: 'totalFinancialExpenses',\n fields: [\n {\n name: IncomeStatementLabel.DOTATIONS_AUX_AMORTISSEMENTS,\n total: 0,\n accounts: ['686'],\n },\n {\n name: IncomeStatementLabel.INTERETS_ET_CHARGES_ASSIMILES,\n total: 0,\n accounts: ['661', '664', '665', '668'],\n },\n {\n name: IncomeStatementLabel.DIFFERENCES_NEGATIVES_CHANGE,\n total: 0,\n accounts: ['666'],\n },\n {\n name: IncomeStatementLabel.CHARGES_NETTES_VALEURS_MOBILIERES,\n total: 0,\n accounts: ['667'],\n },\n ],\n },\n {\n name: 'Résultat financier',\n total: 0,\n calculation: true,\n calculationAdd: ['totalFinancialProducts'],\n calculationSubtract: ['totalFinancialExpenses'],\n key: 'financialResult',\n },\n {\n name: 'Résultat courant avant impôt',\n total: 0,\n calculation: true,\n calculationAdd: ['totalOperatingIncome', 'totalFinancialProducts'],\n calculationSubtract: ['totalOperatingExpenses', 'totalFinancialExpenses'],\n key: 'profitBeforeTax',\n },\n {\n name: 'Total des produits exceptionnels',\n total: 0,\n key: 'totalExceptionalProducts',\n isProduct: true,\n fields: [\n {\n name: IncomeStatementLabel.SUR_OPERATION_DE_GESTION,\n total: 0,\n accounts: ['771', '772'],\n },\n {\n name: IncomeStatementLabel.SUR_OPERATION_EN_CAPITAL,\n total: 0,\n fields: [\n {\n name: \"Produits des cessions d'éléments d'actifs\",\n total: 0,\n accounts: ['775'],\n },\n {\n name: \"Subventions d'investissement virées aux résultats de l'exercice\",\n total: 0,\n accounts: ['777'],\n },\n {\n name: 'Autre',\n total: 0,\n accounts: ['778'],\n },\n ],\n },\n {\n name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS_DE_CHARGES,\n total: 0,\n accounts: ['787', '797'],\n },\n ],\n },\n {\n name: 'Total des charges exceptionnelles',\n total: 0,\n key: 'totalExceptionalExpenses',\n fields: [\n {\n name: IncomeStatementLabel.CHARGES_SUR_OPERATION_DE_GESTION,\n total: 0,\n accounts: ['671', '672'],\n },\n {\n name: IncomeStatementLabel.CHARGES_SUR_OPERATIONS_EN_CAPITAL,\n total: 0,\n fields: [\n {\n name: 'Valeurs comptables des éléments immobilisés et financiers cédés',\n total: 0,\n accounts: ['675'],\n },\n {\n name: 'Autre',\n total: 0,\n accounts: ['678'],\n },\n ],\n },\n {\n name: 'Dotations aux amortissements, dépréciations et provisions',\n total: 0,\n fields: [\n {\n name: 'Dotations aux provisions réglementées',\n accounts: ['6872', '6873', '6874'],\n total: 0,\n },\n {\n name: IncomeStatementLabel.DOTATIONS_EXCEPTIONNELLES_AMORT_PROV,\n accounts: ['6871', '6875', '6876'],\n total: 0,\n },\n ],\n },\n ],\n },\n {\n name: 'Résultat exceptionnel',\n total: 0,\n calculation: true,\n calculationAdd: ['totalExceptionalProducts'],\n calculationSubtract: ['totalExceptionalExpenses'],\n key: 'exceptionalResult',\n },\n {\n name: IncomeStatementLabel.IMPOTS_SUR_BENEFICES,\n total: 0,\n key: 'incomeTax',\n accounts: ['69'],\n },\n {\n name: \"Résultat de l'exercice\",\n total: 0,\n calculation: true,\n calculationAdd: ['totalOperatingIncome', 'totalFinancialProducts', 'totalExceptionalProducts'],\n calculationSubtract: ['totalOperatingExpenses', 'totalFinancialExpenses', 'totalExceptionalExpenses', 'incomeTax'],\n key: 'resultOfExercise',\n },\n];\n"]}
|
|
1
|
+
{"version":3,"file":"IncomeStatement.js","sourceRoot":"","sources":["../../../../ts/types/Enum/IncomeStatement.ts"],"names":[],"mappings":"AA6BA,MAAM,CAA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E,WAAW;QAChB,QAAQ,EAAE,CAAC,IAAI,CAAC;QAChB,mBAAmB,EAAE,EAAE;KACxB;IACD;QACE,IAAI,EAAE,wBAAwB;QAC9B,KAAK,EAAE,CAAC;QACR,WAAW,EAAE,IAAI;QACjB,cAAc,EAAE,CAAC,sBAAsB,EAAE,wBAAwB,EAAE,0BAA0B,CAAC;QAC9F,mBAAmB,EAAE,CAAC,wBAAwB,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,WAAW,CAAC;QAClH,GAAG,EAAE,kBAAkB;KACxB;CACF,CAAC","sourcesContent":["type IncomeStatementField = {\n name: string;\n fields?: IncomeStatementField[];\n accounts?: string[];\n total: number;\n excludeAccounts?: string[];\n accountsDescription?: IncomeStatementAccountDescription[];\n};\n\ntype IncomeStatementAccountDescription = {\n name: string;\n number: number;\n total: number;\n};\n\nexport type IncomeStatement = {\n name: string;\n fields?: IncomeStatementField[];\n total: number;\n accounts?: string[];\n excludeAccounts?: string[];\n key: string;\n calculation?: boolean; // Doit être calculé avec calculationAdd & calculationSubtract\n calculationAdd?: string[]; // Tableau des keys à additionner pour obtenir le total\n calculationSubtract?: string[]; // Tableau des keys à soustraire pour obtenir le total\n isProduct?: boolean; // Si c'est un produit, on fait x -1\n accountsDescription?: IncomeStatementAccountDescription[];\n};\n\nexport enum IncomeStatementLabel {\n VENTE_DE_MARCHANDISES = 'Ventes de marchandises',\n PRODUCTION_STOCKEE = 'Production stockée',\n PRODUCTION_IMMOBILISEE = 'Production immobilisée',\n SUBVENTIONS_EXPLOITATION = \"Subventions d'exploitation\",\n REPRISES_SUR_PROVISIONS = 'Reprises sur provisions, dépréciations et amortissements, transferts de charges',\n AUTRES_PRODUITS = 'Autres produits de gestion courante',\n VARIATION_STOCK_MARCHANDISES = 'Variation des stocks de marchandises',\n VARIATION_STOCK_MATIERES_PREMIERES = 'Variation des stocks de matières premieres et autres approvisionnements',\n AUTRES_ACHATS_ET_CHARGES_EXT = 'Autres achats et charges externes',\n IMPOTS_TAXES_ASSIMILES = 'Impôts, taxes et versements assimilés',\n SALAIRES_ET_TRAITEMENTS = 'Salaires et traitements',\n CHARGES_SOCIALES = 'Charges sociales',\n AUTRES_CHARGES_GESTION = 'Autres charges de gestion courante',\n AUTRES_INTERETS_ET_PRODUIT = 'Autres intérêts et produits assimilés',\n INTERETS_PARTICIPATION = 'De participations',\n AUTRES_VALEURS_MOBILIERES = \"D'autres valeurs mobilières et créances de l'actif immobilisé\",\n REPRISES_SUR_PROVISIONS_FINANCIERES = 'Reprises sur dépréciations, provisions et transferts de charges financières',\n DIFFERENCES_CHANGE = 'Différences positives de change',\n PRODUITS_NET_PLACEMENT = 'Produits nets sur cessions de valeurs mobilières de placement',\n DOTATIONS_AUX_AMORTISSEMENTS = 'Dotations aux amortissements, dépréciations et provisions',\n INTERETS_ET_CHARGES_ASSIMILES = 'Intérêts et charges assimilés',\n DIFFERENCES_NEGATIVES_CHANGE = 'Différences négatives de change',\n CHARGES_NETTES_VALEURS_MOBILIERES = 'Charges nettes sur cessions de valeurs mobilières de placement',\n SUR_OPERATION_EN_CAPITAL = 'Sur opérations en capital',\n SUR_OPERATION_DE_GESTION = 'Sur opérations de gestion',\n REPRISES_SUR_PROVISIONS_DE_CHARGES = 'Reprises sur dépréciations, provisions et transferts de charges exceptionnelles',\n CHARGES_SUR_OPERATION_DE_GESTION = 'Sur opérations de gestion ', // WARN: Laisser espacement en fin\n CHARGES_SUR_OPERATIONS_EN_CAPITAL = 'Sur opérations en capital ',\n DOTATIONS_EXCEPTIONNELLES_AMORT_PROV = 'Dotations aux amortissements, dépréciations et autres provisions',\n IMPOTS_SUR_BENEFICES = 'Impôt sur les bénéfices',\n}\n\nexport const INCOME_STATEMENT_LIST: IncomeStatement[] = [\n {\n name: \"Total des produits d'exploitation\",\n key: 'totalOperatingIncome',\n total: 0,\n isProduct: true,\n fields: [\n {\n name: \"Chiffre d'Affaires\",\n total: 0,\n fields: [\n {\n name: IncomeStatementLabel.VENTE_DE_MARCHANDISES,\n total: 0,\n accounts: ['707'],\n accountsDescription: [],\n },\n {\n name: 'Production vendue',\n total: 0,\n accounts: ['701', '702', '703', '704', '705', '706'],\n accountsDescription: [],\n },\n {\n name: 'Produits des activités annexes',\n total: 0,\n accounts: ['708'],\n accountsDescription: [],\n },\n {\n name: \"Rabais, remises, ristournes accordés par l'entreprise\",\n total: 0,\n accounts: ['709'],\n accountsDescription: [],\n },\n ],\n },\n {\n name: IncomeStatementLabel.PRODUCTION_STOCKEE,\n total: 0,\n accounts: ['71'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.PRODUCTION_IMMOBILISEE,\n total: 0,\n accounts: ['72'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.SUBVENTIONS_EXPLOITATION,\n total: 0,\n accounts: ['74'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS,\n total: 0,\n accounts: ['781', '791'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.AUTRES_PRODUITS,\n total: 0,\n accounts: ['75'],\n accountsDescription: [],\n },\n ],\n },\n {\n name: \"Total des charges d'exploitation\",\n key: 'totalOperatingExpenses',\n total: 0,\n fields: [\n {\n name: 'Achats de marchandises',\n total: 0,\n accounts: ['607'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.VARIATION_STOCK_MARCHANDISES,\n total: 0,\n accounts: ['6037'],\n accountsDescription: [],\n },\n {\n name: 'Achats de matières premieres et autres approvisionnements',\n total: 0,\n accounts: ['60'],\n excludeAccounts: ['607', '603', '606', '604'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.VARIATION_STOCK_MATIERES_PREMIERES,\n total: 0,\n accounts: ['603'],\n excludeAccounts: ['6037'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.AUTRES_ACHATS_ET_CHARGES_EXT,\n total: 0,\n accounts: ['61', '62', '606', '604'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.IMPOTS_TAXES_ASSIMILES,\n total: 0,\n accounts: ['63'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.SALAIRES_ET_TRAITEMENTS,\n total: 0,\n accounts: ['641', '642', '643', '644'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.CHARGES_SOCIALES,\n total: 0,\n accounts: ['645', '646', '647', '648', '649'],\n accountsDescription: [],\n },\n {\n name: 'Dotations aux amortissements et provisions',\n total: 0,\n accounts: ['681', '682', '683', '684', '685'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.AUTRES_CHARGES_GESTION,\n total: 0,\n accounts: ['65'],\n accountsDescription: [],\n },\n ],\n },\n {\n name: \"Résultat d'exploitation\",\n key: 'operatingResult',\n total: 0,\n calculation: true,\n calculationAdd: ['totalOperatingIncome'],\n calculationSubtract: ['totalOperatingExpenses'],\n },\n {\n name: 'Total des produits financiers',\n key: 'totalFinancialProducts',\n total: 0,\n isProduct: true,\n fields: [\n {\n name: IncomeStatementLabel.INTERETS_PARTICIPATION,\n total: 0,\n accounts: ['761'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.AUTRES_VALEURS_MOBILIERES,\n total: 0,\n accounts: ['762', '764'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.AUTRES_INTERETS_ET_PRODUIT,\n total: 0,\n accounts: ['760', '763', '765', '768'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS_FINANCIERES,\n total: 0,\n accounts: ['786', '796'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.DIFFERENCES_CHANGE,\n total: 0,\n accounts: ['766'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.PRODUITS_NET_PLACEMENT,\n total: 0,\n accounts: ['767'],\n accountsDescription: [],\n },\n ],\n },\n {\n name: 'Total des charges financières',\n total: 0,\n key: 'totalFinancialExpenses',\n fields: [\n {\n name: IncomeStatementLabel.DOTATIONS_AUX_AMORTISSEMENTS,\n total: 0,\n accounts: ['686'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.INTERETS_ET_CHARGES_ASSIMILES,\n total: 0,\n accounts: ['661', '664', '665', '668'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.DIFFERENCES_NEGATIVES_CHANGE,\n total: 0,\n accounts: ['666'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.CHARGES_NETTES_VALEURS_MOBILIERES,\n total: 0,\n accounts: ['667'],\n accountsDescription: [],\n },\n ],\n },\n {\n name: 'Résultat financier',\n total: 0,\n calculation: true,\n calculationAdd: ['totalFinancialProducts'],\n calculationSubtract: ['totalFinancialExpenses'],\n key: 'financialResult',\n },\n {\n name: 'Résultat courant avant impôt',\n total: 0,\n calculation: true,\n calculationAdd: ['totalOperatingIncome', 'totalFinancialProducts'],\n calculationSubtract: ['totalOperatingExpenses', 'totalFinancialExpenses'],\n key: 'profitBeforeTax',\n },\n {\n name: 'Total des produits exceptionnels',\n total: 0,\n key: 'totalExceptionalProducts',\n isProduct: true,\n fields: [\n {\n name: IncomeStatementLabel.SUR_OPERATION_DE_GESTION,\n total: 0,\n accounts: ['771', '772'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.SUR_OPERATION_EN_CAPITAL,\n total: 0,\n fields: [\n {\n name: \"Produits des cessions d'éléments d'actifs\",\n total: 0,\n accounts: ['775'],\n accountsDescription: [],\n },\n {\n name: \"Subventions d'investissement virées aux résultats de l'exercice\",\n total: 0,\n accounts: ['777'],\n accountsDescription: [],\n },\n {\n name: 'Autre',\n total: 0,\n accounts: ['778'],\n accountsDescription: [],\n },\n ],\n },\n {\n name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS_DE_CHARGES,\n total: 0,\n accounts: ['787', '797'],\n },\n ],\n },\n {\n name: 'Total des charges exceptionnelles',\n total: 0,\n key: 'totalExceptionalExpenses',\n fields: [\n {\n name: IncomeStatementLabel.CHARGES_SUR_OPERATION_DE_GESTION,\n total: 0,\n accounts: ['671', '672'],\n accountsDescription: [],\n },\n {\n name: IncomeStatementLabel.CHARGES_SUR_OPERATIONS_EN_CAPITAL,\n total: 0,\n fields: [\n {\n name: 'Valeurs comptables des éléments immobilisés et financiers cédés',\n total: 0,\n accounts: ['675'],\n accountsDescription: [],\n },\n {\n name: 'Autre',\n total: 0,\n accounts: ['678'],\n accountsDescription: [],\n },\n ],\n },\n {\n name: 'Dotations aux amortissements, dépréciations et provisions',\n total: 0,\n fields: [\n {\n name: 'Dotations aux provisions réglementées',\n accounts: ['6872', '6873', '6874'],\n accountsDescription: [],\n total: 0,\n },\n {\n name: IncomeStatementLabel.DOTATIONS_EXCEPTIONNELLES_AMORT_PROV,\n accounts: ['6871', '6875', '6876'],\n accountsDescription: [],\n total: 0,\n },\n ],\n },\n ],\n },\n {\n name: 'Résultat exceptionnel',\n total: 0,\n calculation: true,\n calculationAdd: ['totalExceptionalProducts'],\n calculationSubtract: ['totalExceptionalExpenses'],\n key: 'exceptionalResult',\n },\n {\n name: IncomeStatementLabel.IMPOTS_SUR_BENEFICES,\n total: 0,\n key: 'incomeTax',\n accounts: ['69'],\n accountsDescription: [],\n },\n {\n name: \"Résultat de l'exercice\",\n total: 0,\n calculation: true,\n calculationAdd: ['totalOperatingIncome', 'totalFinancialProducts', 'totalExceptionalProducts'],\n calculationSubtract: ['totalOperatingExpenses', 'totalFinancialExpenses', 'totalExceptionalExpenses', 'incomeTax'],\n key: 'resultOfExercise',\n },\n];\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionRangeFilter.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TransactionRangeFilter.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAChC,cAAc,IAAI;IAClB,gBAAgB,IAAI;IACpB,iBAAiB,IAAI;IACrB,eAAe,IAAI;CACpB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var TransactionRangeFilter;
|
|
2
|
+
(function (TransactionRangeFilter) {
|
|
3
|
+
TransactionRangeFilter[TransactionRangeFilter["RANGE_0_TO_100"] = 1] = "RANGE_0_TO_100";
|
|
4
|
+
TransactionRangeFilter[TransactionRangeFilter["RANGE_101_TO_500"] = 2] = "RANGE_101_TO_500";
|
|
5
|
+
TransactionRangeFilter[TransactionRangeFilter["RANGE_501_TO_1000"] = 3] = "RANGE_501_TO_1000";
|
|
6
|
+
TransactionRangeFilter[TransactionRangeFilter["RANGE_1001_PLUS"] = 4] = "RANGE_1001_PLUS";
|
|
7
|
+
})(TransactionRangeFilter || (TransactionRangeFilter = {}));
|
|
8
|
+
//# sourceMappingURL=TransactionRangeFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionRangeFilter.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TransactionRangeFilter.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,uFAAkB,CAAA;IAClB,2FAAoB,CAAA;IACpB,6FAAqB,CAAA;IACrB,yFAAmB,CAAA;AACrB,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC","sourcesContent":["export enum TransactionRangeFilter {\n RANGE_0_TO_100 = 1,\n RANGE_101_TO_500 = 2,\n RANGE_501_TO_1000 = 3,\n RANGE_1001_PLUS = 4,\n}\n"]}
|
|
@@ -15,6 +15,9 @@ export declare class QueryBalanceSheetSupervisedStatistic {
|
|
|
15
15
|
startDate?: string;
|
|
16
16
|
endDate?: string;
|
|
17
17
|
}
|
|
18
|
+
export declare class QueryBalanceSheetPdf {
|
|
19
|
+
withDetails: boolean;
|
|
20
|
+
}
|
|
18
21
|
export declare class QueryBalanceSheetAttestation {
|
|
19
22
|
idState: number;
|
|
20
23
|
idSociety: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":"AAGA,OAAO,EAA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AAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,oCAAoC;IAG/C,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,oBAAoB;IAK/B,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,qBAAa,4BAA4B;IAGvC,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAIlB,cAAc,EAAE,MAAM,CAAC;IAIvB,UAAU,EAAE,MAAM,CAAC;IAInB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,qBAAa,6BAA6B;IAGxC,WAAW,EAAE,MAAM,CAAC;IAKpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAI3B,SAAS,EAAE,MAAM,CAAC;IAKlB,MAAM,EAAE,MAAM,CAAC;IAIf,aAAa,EAAE,MAAM,CAAC;IAatB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,iCAAiC;IAE5C,IAAI,EAAE,KAAK,CAAC;CACb"}
|
|
@@ -73,6 +73,16 @@ __decorate([
|
|
|
73
73
|
IsDateString(),
|
|
74
74
|
__metadata("design:type", String)
|
|
75
75
|
], QueryBalanceSheetSupervisedStatistic.prototype, "endDate", void 0);
|
|
76
|
+
export class QueryBalanceSheetPdf {
|
|
77
|
+
withDetails;
|
|
78
|
+
}
|
|
79
|
+
__decorate([
|
|
80
|
+
ApiPropertyOptional(),
|
|
81
|
+
IsBoolean(),
|
|
82
|
+
ToBoolean(),
|
|
83
|
+
IsOptional(),
|
|
84
|
+
__metadata("design:type", Boolean)
|
|
85
|
+
], QueryBalanceSheetPdf.prototype, "withDetails", void 0);
|
|
76
86
|
export class QueryBalanceSheetAttestation {
|
|
77
87
|
idState;
|
|
78
88
|
idSociety;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api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B,CAAS;CAC5B;AAjBC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACK;AAIhB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;+DACO;AAIlB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oEACY;AAIvB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;gEACQ;AAInB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;wEACgB;AAG7B,MAAM,OAAO,6BAA6B;IAGxC,WAAW,CAAS;IAKpB,iBAAiB,CAAU;IAI3B,SAAS,CAAS;IAKlB,MAAM,CAAS;IAIf,aAAa,CAAS;IAatB,KAAK,CAAS;CACf;AAhCC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kEACS;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wEACc;AAI3B;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;gEACO;AAKlB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;6DACE;AAIf;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oEACW;AAatB;IAXC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,IAAI,CAAC;QACJ,WAAW,CAAC,QAAQ;QACpB,WAAW,CAAC,cAAc;QAC1B,WAAW,CAAC,6BAA6B;QACzC,WAAW,CAAC,cAAc;QAC1B,WAAW,CAAC,wBAAwB;QACpC,WAAW,CAAC,6BAA6B;QACzC,WAAW,CAAC,uBAAuB;KACpC,CAAC;;4DACY;AAGhB,MAAM,OAAO,iCAAiC;IAE5C,IAAI,CAAQ;CACb;AADC;IADC,WAAW,EAAE;;+DACF","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsBoolean, IsDateString, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryBalanceSheetStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryBalanceSheetGenerateUnpaid {\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryBalanceSheetMonthlyStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryBalanceSheetSupervisedStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n}\n\nexport class QueryBalanceSheetAttestation {\n @ApiProperty()\n @IsNumber()\n idState: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsNumber()\n idBalanceSheet: number;\n\n @ApiProperty()\n @IsNumber()\n idExercice: number;\n\n @ApiProperty()\n @IsNumber()\n idExpertAccountant: number;\n}\n\nexport class CreateBalanceSheetAttestation {\n @ApiProperty()\n @IsString()\n attestation: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n attestationDetail?: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idFile: number;\n\n @ApiProperty()\n @IsNumber()\n idSupervision: number;\n\n @ApiProperty()\n @IsNumber()\n @IsIn([\n Supervision.ATTESTED,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_WITH_OBSERVATIONS,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED_OFFENCES,\n ])\n state: number;\n}\n\nexport class QueryValidateBalanceSheetByImport {\n @ApiProperty()\n file: TFile;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,0BAA0B;IAGrC,IAAI,CAAS;IAKb,MAAM,CAAS;CAChB;AANC;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;wDACF;AAKb;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;0DACE;AAGjB,MAAM,OAAO,+BAA+B;IAI1C,SAAS,CAAS;CACnB;AADC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;kEACK;AAGpB,MAAM,OAAO,iCAAiC;IAG5C,IAAI,CAAS;IAMb,QAAQ,CAAW;CACpB;AAPC;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;+DACF;AAMb;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;mEACO;AAGrB,MAAM,OAAO,oCAAoC;IAG/C,IAAI,CAAS;IAKb,SAAS,CAAU;IAKnB,OAAO,CAAU;CAClB;AAXC;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;kEACF;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;uEACI;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;qEACE;AAGnB,MAAM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iCAAiC;IAE5C,IAAI,CAAQ;CACb;AADC;IADC,WAAW,EAAE;;+DACF","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsBoolean, IsDateString, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryBalanceSheetStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryBalanceSheetGenerateUnpaid {\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryBalanceSheetMonthlyStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryBalanceSheetSupervisedStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n}\n\nexport class QueryBalanceSheetPdf {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withDetails: boolean;\n}\n\nexport class QueryBalanceSheetAttestation {\n @ApiProperty()\n @IsNumber()\n idState: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsNumber()\n idBalanceSheet: number;\n\n @ApiProperty()\n @IsNumber()\n idExercice: number;\n\n @ApiProperty()\n @IsNumber()\n idExpertAccountant: number;\n}\n\nexport class CreateBalanceSheetAttestation {\n @ApiProperty()\n @IsString()\n attestation: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n attestationDetail?: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idFile: number;\n\n @ApiProperty()\n @IsNumber()\n idSupervision: number;\n\n @ApiProperty()\n @IsNumber()\n @IsIn([\n Supervision.ATTESTED,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED,\n Supervision.ATTEST_WITH_OBSERVATIONS,\n Supervision.ATTEST_REFUSED_MATERIAL_FACTS,\n Supervision.ATTEST_REFUSED_OFFENCES,\n ])\n state: number;\n}\n\nexport class QueryValidateBalanceSheetByImport {\n @ApiProperty()\n file: TFile;\n}\n"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BalanceSheetDescriptionAccount } from '../../../Enum/BalanceSheet';
|
|
1
2
|
export type ReadBalanceSheetItem = {
|
|
2
3
|
name: string;
|
|
3
4
|
total: number;
|
|
@@ -8,6 +9,7 @@ export type ReadBalanceSheetItem = {
|
|
|
8
9
|
description?: ReadBalanceSheetList;
|
|
9
10
|
key: string;
|
|
10
11
|
calculation?: boolean;
|
|
12
|
+
accountsDescription?: BalanceSheetDescriptionAccount[];
|
|
11
13
|
};
|
|
12
14
|
export type ReadBalanceSheetList = Array<ReadBalanceSheetItem>;
|
|
13
15
|
//# sourceMappingURL=ReadBalanceSheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadBalanceSheet.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ReadBalanceSheet.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mBAAmB,CAAC,EAAE,8BAA8B,EAAE,CAAC;CACxD,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadBalanceSheet.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts"],"names":[],"mappings":"","sourcesContent":["
|
|
1
|
+
{"version":3,"file":"ReadBalanceSheet.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts"],"names":[],"mappings":"","sourcesContent":["import { BalanceSheetDescriptionAccount } from '../../../Enum/BalanceSheet';\n\nexport type ReadBalanceSheetItem = {\n name: string;\n total: number;\n totalDeducted: number;\n totalNet: number;\n isCategory?: boolean;\n isSubcategory?: boolean;\n description?: ReadBalanceSheetList;\n key: string;\n calculation?: boolean;\n accountsDescription?: BalanceSheetDescriptionAccount[];\n};\n\nexport type ReadBalanceSheetList = Array<ReadBalanceSheetItem>;\n"]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { CardState, CardType } from '../../../Enum/Card';
|
|
1
|
+
import { CardState, CardType, TransactionRangeFilter } from '../../../Enum/Card';
|
|
2
2
|
export declare class AssignCard {
|
|
3
3
|
type: CardType;
|
|
4
|
+
transactionRangeFilter?: TransactionRangeFilter;
|
|
4
5
|
}
|
|
5
6
|
export declare class UpdateCardV2 {
|
|
6
7
|
state?: CardState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateCard.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/UpdateCard.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateCard.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/UpdateCard.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAGjF,qBAAa,UAAU;IAGrB,IAAI,EAAE,QAAQ,CAAC;IAKf,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;CACjD;AAED,qBAAa,YAAY;IAIvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAIlB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,UAAU;IAKrB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAKhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAMnB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAKlB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -9,16 +9,23 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
};
|
|
10
10
|
import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
|
11
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
import { CardState, CardType } from '../../../Enum/Card';
|
|
12
|
+
import { CardState, CardType, TransactionRangeFilter } from '../../../Enum/Card';
|
|
13
13
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
14
14
|
export class AssignCard {
|
|
15
15
|
type;
|
|
16
|
+
transactionRangeFilter;
|
|
16
17
|
}
|
|
17
18
|
__decorate([
|
|
18
19
|
ApiProperty(),
|
|
19
20
|
IsEnum(CardType),
|
|
20
21
|
__metadata("design:type", Number)
|
|
21
22
|
], AssignCard.prototype, "type", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiPropertyOptional(),
|
|
25
|
+
IsOptional(),
|
|
26
|
+
IsEnum(TransactionRangeFilter),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], AssignCard.prototype, "transactionRangeFilter", void 0);
|
|
22
29
|
export class UpdateCardV2 {
|
|
23
30
|
state;
|
|
24
31
|
plannedAt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateCard.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/UpdateCard.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateCard.js","sourceRoot":"","sources":["../../../../../../ts/types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CC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,MAAM,CAAC,QAAQ,CAAC;;wCACD;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;;4CACO;AAMnB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;6CACQ;AAMpB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,MAAM,CAAC,SAAS,CAAC;;yCACA;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;;6CACe;AAKxB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0CACQ;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2CACM","sourcesContent":["import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CardState, CardType, TransactionRangeFilter } from '../../../Enum/Card';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class AssignCard {\n @ApiProperty()\n @IsEnum(CardType)\n type: CardType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(TransactionRangeFilter)\n transactionRangeFilter?: TransactionRangeFilter;\n}\n\nexport class UpdateCardV2 {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(CardState)\n state?: CardState;\n\n @ApiPropertyOptional()\n @IsOptional()\n plannedAt?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n priority?: number;\n}\n\n/**\n * @deprecated Use UpdateCardV2 instead\n */\nexport class UpdateCard {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(CardType)\n type?: CardType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n isManual?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isBlocked?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(CardState)\n state?: CardState;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n plannedAt?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryIncomeStatement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryIncomeStatement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts"],"names":[],"mappings":"AAIA,qBAAa,oBAAoB;IAE/B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAElC,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAMhB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -7,7 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { IsBoolean, IsOptional } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
11
13
|
export class QueryIncomeStatement {
|
|
12
14
|
startDate;
|
|
13
15
|
endDate;
|
|
@@ -23,6 +25,7 @@ __decorate([
|
|
|
23
25
|
export class QueryIncomeStatementPdf {
|
|
24
26
|
startDate;
|
|
25
27
|
endDate;
|
|
28
|
+
withDetails;
|
|
26
29
|
}
|
|
27
30
|
__decorate([
|
|
28
31
|
ApiProperty(),
|
|
@@ -32,4 +35,11 @@ __decorate([
|
|
|
32
35
|
ApiProperty(),
|
|
33
36
|
__metadata("design:type", String)
|
|
34
37
|
], QueryIncomeStatementPdf.prototype, "endDate", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
ApiPropertyOptional(),
|
|
40
|
+
IsBoolean(),
|
|
41
|
+
ToBoolean(),
|
|
42
|
+
IsOptional(),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], QueryIncomeStatementPdf.prototype, "withDetails", void 0);
|
|
35
45
|
//# sourceMappingURL=QueryIncomeStatement.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryIncomeStatement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryIncomeStatement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,oBAAoB;IAE/B,SAAS,CAAS;IAGlB,OAAO,CAAS;CACjB;AAJC;IADC,WAAW,EAAE;;uDACI;AAGlB;IADC,WAAW,EAAE;;qDACE;AAGlB,MAAM,OAAO,uBAAuB;IAElC,SAAS,CAAS;IAGlB,OAAO,CAAS;IAMhB,WAAW,CAAW;CACvB;AAVC;IADC,WAAW,EAAE;;0DACI;AAGlB;IADC,WAAW,EAAE;;wDACE;AAMhB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;4DACS","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryIncomeStatement {\n @ApiProperty()\n startDate: string;\n\n @ApiProperty()\n endDate: string;\n}\n\nexport class QueryIncomeStatementPdf {\n @ApiProperty()\n startDate: string;\n\n @ApiProperty()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withDetails?: boolean;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.163",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ReadBalanceSheetConsistency,
|
|
13
13
|
QueryBalanceSheetSupervisedStatistic,
|
|
14
14
|
QueryValidateBalanceSheetByImport,
|
|
15
|
+
QueryBalanceSheetPdf,
|
|
15
16
|
} from '../..';
|
|
16
17
|
import { Resource } from '../Resource';
|
|
17
18
|
import { AxiosResponse } from 'axios';
|
|
@@ -56,8 +57,9 @@ export class BalanceSheet extends Resource {
|
|
|
56
57
|
return this.axios.$get('/exercice/balanceSheet/attestations', { params });
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
getPdf(
|
|
60
|
-
return this.axios.$get(`/exercice/${
|
|
60
|
+
getPdf(idExercice: number, params: QueryBalanceSheetPdf): Promise<Buffer> {
|
|
61
|
+
return this.axios.$get(`/exercice/${idExercice}/balanceSheet/pdf`, {
|
|
62
|
+
params,
|
|
61
63
|
responseType: 'arraybuffer',
|
|
62
64
|
headers: {
|
|
63
65
|
Accept: 'application/pdf',
|