@silexpert/core 1.3.160 → 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/api/resources/GeneralLedger.d.ts +2 -1
- package/dist/cjs/api/resources/GeneralLedger.d.ts.map +1 -1
- package/dist/cjs/api/resources/GeneralLedger.js +9 -0
- package/dist/cjs/api/resources/GeneralLedger.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/brevo/EmailSendOptions.dto.js +12 -12
- package/dist/cjs/types/Interface/api/brevo/EmailSendOptions.dto.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/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +9 -0
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +30 -1
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.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/cjs/types/Interface/api/revenueMovement.d.ts +10 -9
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenueMovement.js +272 -0
- package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js +4 -13
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
- package/dist/cjs/types/Interface/models/IImmobilization.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IImmobilization.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +9 -4
- package/dist/cjs/utils/prestation.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/api/resources/GeneralLedger.d.ts +2 -1
- package/dist/mjs/api/resources/GeneralLedger.d.ts.map +1 -1
- package/dist/mjs/api/resources/GeneralLedger.js +9 -0
- package/dist/mjs/api/resources/GeneralLedger.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/brevo/EmailSendOptions.dto.js +1 -1
- package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.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/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +9 -0
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +34 -1
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.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/dist/mjs/types/Interface/api/revenueMovement.d.ts +10 -9
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenueMovement.js +303 -1
- package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js +13 -16
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
- package/dist/mjs/types/Interface/models/IImmobilization.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IImmobilization.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +3 -1
- package/dist/mjs/utils/prestation.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/api/resources/GeneralLedger.ts +11 -0
- 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/brevo/EmailSendOptions.dto.ts +1 -1
- package/ts/types/Interface/api/card/UpdateCard.ts +6 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +1 -0
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +1 -0
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +26 -1
- package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +9 -1
- package/ts/types/Interface/api/revenueMovement.ts +153 -9
- package/ts/types/Interface/api/revenueSnapshotGenerate.ts +13 -13
- package/ts/types/Interface/models/IImmobilization.ts +1 -0
- package/ts/utils/prestation.ts +3 -1
|
@@ -49,21 +49,25 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
49
49
|
name: IncomeStatementLabel.VENTE_DE_MARCHANDISES,
|
|
50
50
|
total: 0,
|
|
51
51
|
accounts: ['707'],
|
|
52
|
+
accountsDescription: [],
|
|
52
53
|
},
|
|
53
54
|
{
|
|
54
55
|
name: 'Production vendue',
|
|
55
56
|
total: 0,
|
|
56
57
|
accounts: ['701', '702', '703', '704', '705', '706'],
|
|
58
|
+
accountsDescription: [],
|
|
57
59
|
},
|
|
58
60
|
{
|
|
59
61
|
name: 'Produits des activités annexes',
|
|
60
62
|
total: 0,
|
|
61
63
|
accounts: ['708'],
|
|
64
|
+
accountsDescription: [],
|
|
62
65
|
},
|
|
63
66
|
{
|
|
64
67
|
name: "Rabais, remises, ristournes accordés par l'entreprise",
|
|
65
68
|
total: 0,
|
|
66
69
|
accounts: ['709'],
|
|
70
|
+
accountsDescription: [],
|
|
67
71
|
},
|
|
68
72
|
],
|
|
69
73
|
},
|
|
@@ -71,26 +75,31 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
71
75
|
name: IncomeStatementLabel.PRODUCTION_STOCKEE,
|
|
72
76
|
total: 0,
|
|
73
77
|
accounts: ['71'],
|
|
78
|
+
accountsDescription: [],
|
|
74
79
|
},
|
|
75
80
|
{
|
|
76
81
|
name: IncomeStatementLabel.PRODUCTION_IMMOBILISEE,
|
|
77
82
|
total: 0,
|
|
78
83
|
accounts: ['72'],
|
|
84
|
+
accountsDescription: [],
|
|
79
85
|
},
|
|
80
86
|
{
|
|
81
87
|
name: IncomeStatementLabel.SUBVENTIONS_EXPLOITATION,
|
|
82
88
|
total: 0,
|
|
83
89
|
accounts: ['74'],
|
|
90
|
+
accountsDescription: [],
|
|
84
91
|
},
|
|
85
92
|
{
|
|
86
93
|
name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS,
|
|
87
94
|
total: 0,
|
|
88
95
|
accounts: ['781', '791'],
|
|
96
|
+
accountsDescription: [],
|
|
89
97
|
},
|
|
90
98
|
{
|
|
91
99
|
name: IncomeStatementLabel.AUTRES_PRODUITS,
|
|
92
100
|
total: 0,
|
|
93
101
|
accounts: ['75'],
|
|
102
|
+
accountsDescription: [],
|
|
94
103
|
},
|
|
95
104
|
],
|
|
96
105
|
},
|
|
@@ -103,53 +112,63 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
103
112
|
name: 'Achats de marchandises',
|
|
104
113
|
total: 0,
|
|
105
114
|
accounts: ['607'],
|
|
115
|
+
accountsDescription: [],
|
|
106
116
|
},
|
|
107
117
|
{
|
|
108
118
|
name: IncomeStatementLabel.VARIATION_STOCK_MARCHANDISES,
|
|
109
119
|
total: 0,
|
|
110
120
|
accounts: ['6037'],
|
|
121
|
+
accountsDescription: [],
|
|
111
122
|
},
|
|
112
123
|
{
|
|
113
124
|
name: 'Achats de matières premieres et autres approvisionnements',
|
|
114
125
|
total: 0,
|
|
115
126
|
accounts: ['60'],
|
|
116
127
|
excludeAccounts: ['607', '603', '606', '604'],
|
|
128
|
+
accountsDescription: [],
|
|
117
129
|
},
|
|
118
130
|
{
|
|
119
131
|
name: IncomeStatementLabel.VARIATION_STOCK_MATIERES_PREMIERES,
|
|
120
132
|
total: 0,
|
|
121
133
|
accounts: ['603'],
|
|
122
134
|
excludeAccounts: ['6037'],
|
|
135
|
+
accountsDescription: [],
|
|
123
136
|
},
|
|
124
137
|
{
|
|
125
138
|
name: IncomeStatementLabel.AUTRES_ACHATS_ET_CHARGES_EXT,
|
|
126
139
|
total: 0,
|
|
127
140
|
accounts: ['61', '62', '606', '604'],
|
|
141
|
+
accountsDescription: [],
|
|
128
142
|
},
|
|
129
143
|
{
|
|
130
144
|
name: IncomeStatementLabel.IMPOTS_TAXES_ASSIMILES,
|
|
131
145
|
total: 0,
|
|
132
146
|
accounts: ['63'],
|
|
147
|
+
accountsDescription: [],
|
|
133
148
|
},
|
|
134
149
|
{
|
|
135
150
|
name: IncomeStatementLabel.SALAIRES_ET_TRAITEMENTS,
|
|
136
151
|
total: 0,
|
|
137
152
|
accounts: ['641', '642', '643', '644'],
|
|
153
|
+
accountsDescription: [],
|
|
138
154
|
},
|
|
139
155
|
{
|
|
140
156
|
name: IncomeStatementLabel.CHARGES_SOCIALES,
|
|
141
157
|
total: 0,
|
|
142
158
|
accounts: ['645', '646', '647', '648', '649'],
|
|
159
|
+
accountsDescription: [],
|
|
143
160
|
},
|
|
144
161
|
{
|
|
145
162
|
name: 'Dotations aux amortissements et provisions',
|
|
146
163
|
total: 0,
|
|
147
164
|
accounts: ['681', '682', '683', '684', '685'],
|
|
165
|
+
accountsDescription: [],
|
|
148
166
|
},
|
|
149
167
|
{
|
|
150
168
|
name: IncomeStatementLabel.AUTRES_CHARGES_GESTION,
|
|
151
169
|
total: 0,
|
|
152
170
|
accounts: ['65'],
|
|
171
|
+
accountsDescription: [],
|
|
153
172
|
},
|
|
154
173
|
],
|
|
155
174
|
},
|
|
@@ -171,31 +190,37 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
171
190
|
name: IncomeStatementLabel.INTERETS_PARTICIPATION,
|
|
172
191
|
total: 0,
|
|
173
192
|
accounts: ['761'],
|
|
193
|
+
accountsDescription: [],
|
|
174
194
|
},
|
|
175
195
|
{
|
|
176
196
|
name: IncomeStatementLabel.AUTRES_VALEURS_MOBILIERES,
|
|
177
197
|
total: 0,
|
|
178
198
|
accounts: ['762', '764'],
|
|
199
|
+
accountsDescription: [],
|
|
179
200
|
},
|
|
180
201
|
{
|
|
181
202
|
name: IncomeStatementLabel.AUTRES_INTERETS_ET_PRODUIT,
|
|
182
203
|
total: 0,
|
|
183
204
|
accounts: ['760', '763', '765', '768'],
|
|
205
|
+
accountsDescription: [],
|
|
184
206
|
},
|
|
185
207
|
{
|
|
186
208
|
name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS_FINANCIERES,
|
|
187
209
|
total: 0,
|
|
188
210
|
accounts: ['786', '796'],
|
|
211
|
+
accountsDescription: [],
|
|
189
212
|
},
|
|
190
213
|
{
|
|
191
214
|
name: IncomeStatementLabel.DIFFERENCES_CHANGE,
|
|
192
215
|
total: 0,
|
|
193
216
|
accounts: ['766'],
|
|
217
|
+
accountsDescription: [],
|
|
194
218
|
},
|
|
195
219
|
{
|
|
196
220
|
name: IncomeStatementLabel.PRODUITS_NET_PLACEMENT,
|
|
197
221
|
total: 0,
|
|
198
222
|
accounts: ['767'],
|
|
223
|
+
accountsDescription: [],
|
|
199
224
|
},
|
|
200
225
|
],
|
|
201
226
|
},
|
|
@@ -208,21 +233,25 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
208
233
|
name: IncomeStatementLabel.DOTATIONS_AUX_AMORTISSEMENTS,
|
|
209
234
|
total: 0,
|
|
210
235
|
accounts: ['686'],
|
|
236
|
+
accountsDescription: [],
|
|
211
237
|
},
|
|
212
238
|
{
|
|
213
239
|
name: IncomeStatementLabel.INTERETS_ET_CHARGES_ASSIMILES,
|
|
214
240
|
total: 0,
|
|
215
241
|
accounts: ['661', '664', '665', '668'],
|
|
242
|
+
accountsDescription: [],
|
|
216
243
|
},
|
|
217
244
|
{
|
|
218
245
|
name: IncomeStatementLabel.DIFFERENCES_NEGATIVES_CHANGE,
|
|
219
246
|
total: 0,
|
|
220
247
|
accounts: ['666'],
|
|
248
|
+
accountsDescription: [],
|
|
221
249
|
},
|
|
222
250
|
{
|
|
223
251
|
name: IncomeStatementLabel.CHARGES_NETTES_VALEURS_MOBILIERES,
|
|
224
252
|
total: 0,
|
|
225
253
|
accounts: ['667'],
|
|
254
|
+
accountsDescription: [],
|
|
226
255
|
},
|
|
227
256
|
],
|
|
228
257
|
},
|
|
@@ -252,6 +281,7 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
252
281
|
name: IncomeStatementLabel.SUR_OPERATION_DE_GESTION,
|
|
253
282
|
total: 0,
|
|
254
283
|
accounts: ['771', '772'],
|
|
284
|
+
accountsDescription: [],
|
|
255
285
|
},
|
|
256
286
|
{
|
|
257
287
|
name: IncomeStatementLabel.SUR_OPERATION_EN_CAPITAL,
|
|
@@ -261,16 +291,19 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
261
291
|
name: "Produits des cessions d'éléments d'actifs",
|
|
262
292
|
total: 0,
|
|
263
293
|
accounts: ['775'],
|
|
294
|
+
accountsDescription: [],
|
|
264
295
|
},
|
|
265
296
|
{
|
|
266
297
|
name: "Subventions d'investissement virées aux résultats de l'exercice",
|
|
267
298
|
total: 0,
|
|
268
299
|
accounts: ['777'],
|
|
300
|
+
accountsDescription: [],
|
|
269
301
|
},
|
|
270
302
|
{
|
|
271
303
|
name: 'Autre',
|
|
272
304
|
total: 0,
|
|
273
305
|
accounts: ['778'],
|
|
306
|
+
accountsDescription: [],
|
|
274
307
|
},
|
|
275
308
|
],
|
|
276
309
|
},
|
|
@@ -290,6 +323,7 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
290
323
|
name: IncomeStatementLabel.CHARGES_SUR_OPERATION_DE_GESTION,
|
|
291
324
|
total: 0,
|
|
292
325
|
accounts: ['671', '672'],
|
|
326
|
+
accountsDescription: [],
|
|
293
327
|
},
|
|
294
328
|
{
|
|
295
329
|
name: IncomeStatementLabel.CHARGES_SUR_OPERATIONS_EN_CAPITAL,
|
|
@@ -299,11 +333,13 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
299
333
|
name: 'Valeurs comptables des éléments immobilisés et financiers cédés',
|
|
300
334
|
total: 0,
|
|
301
335
|
accounts: ['675'],
|
|
336
|
+
accountsDescription: [],
|
|
302
337
|
},
|
|
303
338
|
{
|
|
304
339
|
name: 'Autre',
|
|
305
340
|
total: 0,
|
|
306
341
|
accounts: ['678'],
|
|
342
|
+
accountsDescription: [],
|
|
307
343
|
},
|
|
308
344
|
],
|
|
309
345
|
},
|
|
@@ -314,11 +350,13 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
314
350
|
{
|
|
315
351
|
name: 'Dotations aux provisions réglementées',
|
|
316
352
|
accounts: ['6872', '6873', '6874'],
|
|
353
|
+
accountsDescription: [],
|
|
317
354
|
total: 0,
|
|
318
355
|
},
|
|
319
356
|
{
|
|
320
357
|
name: IncomeStatementLabel.DOTATIONS_EXCEPTIONNELLES_AMORT_PROV,
|
|
321
358
|
accounts: ['6871', '6875', '6876'],
|
|
359
|
+
accountsDescription: [],
|
|
322
360
|
total: 0,
|
|
323
361
|
},
|
|
324
362
|
],
|
|
@@ -338,6 +376,7 @@ exports.INCOME_STATEMENT_LIST = [
|
|
|
338
376
|
total: 0,
|
|
339
377
|
key: 'incomeTax',
|
|
340
378
|
accounts: ['69'],
|
|
379
|
+
accountsDescription: [],
|
|
341
380
|
},
|
|
342
381
|
{
|
|
343
382
|
name: "Résultat de l'exercice",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncomeStatement.js","sourceRoot":"","sources":["../../../../ts/types/Enum/IncomeStatement.ts"],"names":[],"mappings":";;;AAqBA,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,mFAAsD,CAAA;IACtD,wJAAsH,CAAA;IACtH,4FAA+D,CAAA;IAC/D,6FAAgE,CAAA;IAChE,2IAAyG,CAAA;IACzG,uFAAgD,CAAA;AAClD,CAAC,EA/BW,oBAAoB,oCAApB,oBAAoB,QA+B/B;AAEY,QAAA,qBAAqB,GAAsB;IACtD;QACE,IAAI,EAAE,mCAAmC;QACzC,GAAG,EAAE,sBAAsB;QAC3B,KAAK,EAAE,CAAC;QACR,SAAS,EAAE,IAAI;QACf,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,oBAAoB;gBAC1B,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE;oBACN;wBACE,IA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AAC;qBACT;oBACD;wBACE,IAAI,EAAE,oBAAoB,CAAC,oCAAoC;wBAC/D,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;wBAClC,KAAK,EAAE,CAAC;qBACT;iBACF;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,CAAC;QACR,WAAW,EAAE,IAAI;QACjB,cAAc,EAAE,CAAC,0BAA0B,CAAC;QAC5C,mBAAmB,EAAE,CAAC,0BAA0B,CAAC;QACjD,GAAG,EAAE,mBAAmB;KACzB;IACD;QACE,IAAI,EAAE,oBAAoB,CAAC,oBAAoB;QAC/C,KAAK,EAAE,CAAC;QACR,GAAG,EAAE,WAAW;QAChB,QAAQ,EAAE,CAAC,IAAI,CAAC;KACjB;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};\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,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,CA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,EAAE,CAAC;wBACR,QAAQ,EAAE,CAAC,KAAK,CAAC;wBACjB,mBAAmB,EAAE,EAAE;qBACxB;iBACF;aACF;YACD;gBACE,IAAI,EAAE,2DAA2D;gBACjE,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE;oBACN;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;wBAClC,mBAAmB,EAAE,EAAE;wBACvB,KAAK,EAAE,CAAC;qBACT;oBACD;wBACE,IAAI,EAAE,oBAAoB,CAAC,oCAAoC;wBAC/D,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;wBAClC,mBAAmB,EAAE,EAAE;wBACvB,KAAK,EAAE,CAAC;qBACT;iBACF;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,CAAC;QACR,WAAW,EAAE,IAAI;QACjB,cAAc,EAAE,CAAC,0BAA0B,CAAC;QAC5C,mBAAmB,EAAE,CAAC,0BAA0B,CAAC;QACjD,GAAG,EAAE,mBAAmB;KACzB;IACD;QACE,IAAI,EAAE,oBAAoB,CAAC,oBAAoB;QAC/C,KAAK,EAAE,CAAC;QACR,GAAG,EAAE,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,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransactionRangeFilter = void 0;
|
|
4
|
+
var TransactionRangeFilter;
|
|
5
|
+
(function (TransactionRangeFilter) {
|
|
6
|
+
TransactionRangeFilter[TransactionRangeFilter["RANGE_0_TO_100"] = 1] = "RANGE_0_TO_100";
|
|
7
|
+
TransactionRangeFilter[TransactionRangeFilter["RANGE_101_TO_500"] = 2] = "RANGE_101_TO_500";
|
|
8
|
+
TransactionRangeFilter[TransactionRangeFilter["RANGE_501_TO_1000"] = 3] = "RANGE_501_TO_1000";
|
|
9
|
+
TransactionRangeFilter[TransactionRangeFilter["RANGE_1001_PLUS"] = 4] = "RANGE_1001_PLUS";
|
|
10
|
+
})(TransactionRangeFilter || (exports.TransactionRangeFilter = TransactionRangeFilter = {}));
|
|
11
|
+
//# sourceMappingURL=TransactionRangeFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionRangeFilter.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TransactionRangeFilter.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,uFAAkB,CAAA;IAClB,2FAAoB,CAAA;IACpB,6FAAqB,CAAA;IACrB,yFAAmB,CAAA;AACrB,CAAC,EALW,sBAAsB,sCAAtB,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,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,0BAA0B;IAGrC,IAAI,EAAE,MAAM,CAAC;IAKb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,+BAA+B;IAI1C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,iCAAiC;IAG5C,IAAI,EAAE,MAAM,CAAC;IAMb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,oCAAoC;IAG/C,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS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,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"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.QueryValidateBalanceSheetByImport = exports.CreateBalanceSheetAttestation = exports.QueryBalanceSheetAttestation = exports.QueryBalanceSheetSupervisedStatistic = exports.QueryBalanceSheetMonthlyStatistic = exports.QueryBalanceSheetGenerateUnpaid = exports.QueryBalanceSheetStatistic = void 0;
|
|
12
|
+
exports.QueryValidateBalanceSheetByImport = exports.CreateBalanceSheetAttestation = exports.QueryBalanceSheetAttestation = exports.QueryBalanceSheetPdf = exports.QueryBalanceSheetSupervisedStatistic = exports.QueryBalanceSheetMonthlyStatistic = exports.QueryBalanceSheetGenerateUnpaid = exports.QueryBalanceSheetStatistic = void 0;
|
|
13
13
|
const utils_1 = require("../../../../utils");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const Supervision_1 = require("../../../Enum/Supervision");
|
|
@@ -72,6 +72,16 @@ __decorate([
|
|
|
72
72
|
(0, class_validator_1.IsDateString)(),
|
|
73
73
|
__metadata("design:type", String)
|
|
74
74
|
], QueryBalanceSheetSupervisedStatistic.prototype, "endDate", void 0);
|
|
75
|
+
class QueryBalanceSheetPdf {
|
|
76
|
+
}
|
|
77
|
+
exports.QueryBalanceSheetPdf = QueryBalanceSheetPdf;
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
80
|
+
(0, class_validator_1.IsBoolean)(),
|
|
81
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
82
|
+
(0, class_validator_1.IsOptional)(),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], QueryBalanceSheetPdf.prototype, "withDetails", void 0);
|
|
75
85
|
class QueryBalanceSheetAttestation {
|
|
76
86
|
}
|
|
77
87
|
exports.QueryBalanceSheetAttestation = QueryBalanceSheetAttestation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheet/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAAgG;AAChG,2DAAwD;AAExD,sFAA2E;AAE3E,MAAa,0BAA0B;CAStC;AATD,gEASC;AANC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;wDACF;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACE;AAGjB,MAAa,+BAA+B;CAK3C;AALD,0EAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACK;AAGpB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAPC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACF;AAMb;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;mEACO;AAGrB,MAAa,oCAAoC;CAchD;AAdD,oFAcC;AAXC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;kEACF;AAKb;IAHC,IAA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pC,CAAC;;4DACY;AAGhB,MAAa,iCAAiC;CAG7C;AAHD,8EAGC;AADC;IADC,IAAA,mBAAW,GAAE;;+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,6CAAqE;AACrE,qDAAgG;AAChG,2DAAwD;AAExD,sFAA2E;AAE3E,MAAa,0BAA0B;CAStC;AATD,gEASC;AANC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;wDACF;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACE;AAGjB,MAAa,+BAA+B;CAK3C;AALD,0EAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACK;AAGpB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAPC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;+DACF;AAMb;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;mEACO;AAGrB,MAAa,oCAAoC;CAchD;AAdD,oFAcC;AAXC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,8BAAY,GAAE;;kEACF;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;uEACI;AAKnB;IAHC,IAA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AwB;QACpC,yBAAW,CAAC,6BAA6B;QACzC,yBAAW,CAAC,uBAAuB;KACpC,CAAC;;4DACY;AAGhB,MAAa,iCAAiC;CAG7C;AAHD,8EAGC;AADC;IADC,IAAA,mBAAW,GAAE;;+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"]}
|
|
@@ -10,74 +10,74 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.EmailSendOptionsDto = void 0;
|
|
13
|
-
const
|
|
13
|
+
const utils_1 = require("../../../../utils");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
class EmailSendOptionsDto {
|
|
16
16
|
}
|
|
17
17
|
exports.EmailSendOptionsDto = EmailSendOptionsDto;
|
|
18
18
|
__decorate([
|
|
19
|
-
(0,
|
|
19
|
+
(0, utils_1.ApiProperty)({ description: 'Recipient email address' }),
|
|
20
20
|
(0, class_validator_1.IsEmail)(),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
22
|
], EmailSendOptionsDto.prototype, "to", void 0);
|
|
23
23
|
__decorate([
|
|
24
|
-
(0,
|
|
24
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'Email subject' }),
|
|
25
25
|
(0, class_validator_1.IsString)(),
|
|
26
26
|
(0, class_validator_1.IsOptional)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], EmailSendOptionsDto.prototype, "subject", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0,
|
|
30
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'Sender email address' }),
|
|
31
31
|
(0, class_validator_1.IsOptional)(),
|
|
32
32
|
(0, class_validator_1.IsEmail)(),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
34
|
], EmailSendOptionsDto.prototype, "from", void 0);
|
|
35
35
|
__decorate([
|
|
36
|
-
(0,
|
|
36
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'Sender name' }),
|
|
37
37
|
(0, class_validator_1.IsOptional)(),
|
|
38
38
|
(0, class_validator_1.IsString)(),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
40
|
], EmailSendOptionsDto.prototype, "fromName", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
(0,
|
|
42
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'Reply-to email address' }),
|
|
43
43
|
(0, class_validator_1.IsOptional)(),
|
|
44
44
|
(0, class_validator_1.IsEmail)(),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
46
|
], EmailSendOptionsDto.prototype, "replyTo", void 0);
|
|
47
47
|
__decorate([
|
|
48
|
-
(0,
|
|
48
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'CC email address' }),
|
|
49
49
|
(0, class_validator_1.IsOptional)(),
|
|
50
50
|
(0, class_validator_1.IsEmail)(),
|
|
51
51
|
__metadata("design:type", String)
|
|
52
52
|
], EmailSendOptionsDto.prototype, "cc", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
(0,
|
|
54
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'BCC email address' }),
|
|
55
55
|
(0, class_validator_1.IsOptional)(),
|
|
56
56
|
(0, class_validator_1.IsEmail)(),
|
|
57
57
|
__metadata("design:type", String)
|
|
58
58
|
], EmailSendOptionsDto.prototype, "bcc", void 0);
|
|
59
59
|
__decorate([
|
|
60
|
-
(0,
|
|
60
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'Custom ID for tracking' }),
|
|
61
61
|
(0, class_validator_1.IsOptional)(),
|
|
62
62
|
(0, class_validator_1.IsString)(),
|
|
63
63
|
__metadata("design:type", String)
|
|
64
64
|
], EmailSendOptionsDto.prototype, "customId", void 0);
|
|
65
65
|
__decorate([
|
|
66
|
-
(0,
|
|
66
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'HTML content for the email' }),
|
|
67
67
|
(0, class_validator_1.IsOptional)(),
|
|
68
68
|
(0, class_validator_1.IsString)(),
|
|
69
69
|
(0, class_validator_1.ValidateIf)((o) => !o.templateId),
|
|
70
70
|
__metadata("design:type", String)
|
|
71
71
|
], EmailSendOptionsDto.prototype, "htmlContent", void 0);
|
|
72
72
|
__decorate([
|
|
73
|
-
(0,
|
|
73
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'Brevo template ID' }),
|
|
74
74
|
(0, class_validator_1.IsOptional)(),
|
|
75
75
|
(0, class_validator_1.IsNumber)(),
|
|
76
76
|
(0, class_validator_1.ValidateIf)((o) => !o.htmlContent),
|
|
77
77
|
__metadata("design:type", Number)
|
|
78
78
|
], EmailSendOptionsDto.prototype, "templateId", void 0);
|
|
79
79
|
__decorate([
|
|
80
|
-
(0,
|
|
80
|
+
(0, utils_1.ApiPropertyOptional)({ description: 'Template variables' }),
|
|
81
81
|
(0, class_validator_1.IsOptional)(),
|
|
82
82
|
(0, class_validator_1.IsObject)(),
|
|
83
83
|
(0, class_validator_1.ValidateIf)((o) => !!o.templateId),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmailSendOptions.dto.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/brevo/EmailSendOptions.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"EmailSendOptions.dto.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/brevo/EmailSendOptions.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAAgG;AAEhG,MAAa,mBAAmB;CAyD/B;AAzDD,kDAyDC;AAtDC;IAFC,IAAA,mBAAW,EAAC,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACvD,IAAA,yBAAO,GAAE;;+CACC;AAKX;IAHC,IAAA,2BAAmB,EAAC,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;IACrD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACI;AAKjB;IAHC,IAAA,2BAAmB,EAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE,CAAC;IAC5D,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;iDACI;AAKd;IAHC,IAAA,2BAAmB,EAAC,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C,CAAC,CAAC,CAAC,UAAU,CAAC;;sDACF","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsString, IsEmail, IsOptional, IsNumber, IsObject, ValidateIf } from 'class-validator';\n\nexport class EmailSendOptionsDto {\n @ApiProperty({ description: 'Recipient email address' })\n @IsEmail()\n to: string;\n\n @ApiPropertyOptional({ description: 'Email subject' })\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional({ description: 'Sender email address' })\n @IsOptional()\n @IsEmail()\n from?: string;\n\n @ApiPropertyOptional({ description: 'Sender name' })\n @IsOptional()\n @IsString()\n fromName?: string;\n\n @ApiPropertyOptional({ description: 'Reply-to email address' })\n @IsOptional()\n @IsEmail()\n replyTo?: string;\n\n @ApiPropertyOptional({ description: 'CC email address' })\n @IsOptional()\n @IsEmail()\n cc?: string;\n\n @ApiPropertyOptional({ description: 'BCC email address' })\n @IsOptional()\n @IsEmail()\n bcc?: string;\n\n @ApiPropertyOptional({ description: 'Custom ID for tracking' })\n @IsOptional()\n @IsString()\n customId?: string;\n\n @ApiPropertyOptional({ description: 'HTML content for the email' })\n @IsOptional()\n @IsString()\n @ValidateIf((o) => !o.templateId)\n htmlContent?: string;\n\n @ApiPropertyOptional({ description: 'Brevo template ID' })\n @IsOptional()\n @IsNumber()\n @ValidateIf((o) => !o.htmlContent)\n templateId?: number;\n\n @ApiPropertyOptional({ description: 'Template variables' })\n @IsOptional()\n @IsObject()\n @ValidateIf((o) => !!o.templateId)\n variables?: Record<string, any>;\n}\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"}
|
|
@@ -22,6 +22,12 @@ __decorate([
|
|
|
22
22
|
(0, class_validator_1.IsEnum)(Card_1.CardType),
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], AssignCard.prototype, "type", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_validator_1.IsEnum)(Card_1.TransactionRangeFilter),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], AssignCard.prototype, "transactionRangeFilter", void 0);
|
|
25
31
|
class UpdateCardV2 {
|
|
26
32
|
}
|
|
27
33
|
exports.UpdateCardV2 = UpdateCardV2;
|