@silexpert/core 1.3.161 → 1.3.164
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
|
@@ -4,6 +4,13 @@ type IncomeStatementField = {
|
|
|
4
4
|
accounts?: string[];
|
|
5
5
|
total: number;
|
|
6
6
|
excludeAccounts?: string[];
|
|
7
|
+
accountsDescription?: IncomeStatementAccountDescription[];
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type IncomeStatementAccountDescription = {
|
|
11
|
+
name: string;
|
|
12
|
+
number: number;
|
|
13
|
+
total: number;
|
|
7
14
|
};
|
|
8
15
|
|
|
9
16
|
export type IncomeStatement = {
|
|
@@ -17,6 +24,7 @@ export type IncomeStatement = {
|
|
|
17
24
|
calculationAdd?: string[]; // Tableau des keys à additionner pour obtenir le total
|
|
18
25
|
calculationSubtract?: string[]; // Tableau des keys à soustraire pour obtenir le total
|
|
19
26
|
isProduct?: boolean; // Si c'est un produit, on fait x -1
|
|
27
|
+
accountsDescription?: IncomeStatementAccountDescription[];
|
|
20
28
|
};
|
|
21
29
|
|
|
22
30
|
export enum IncomeStatementLabel {
|
|
@@ -67,21 +75,25 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
67
75
|
name: IncomeStatementLabel.VENTE_DE_MARCHANDISES,
|
|
68
76
|
total: 0,
|
|
69
77
|
accounts: ['707'],
|
|
78
|
+
accountsDescription: [],
|
|
70
79
|
},
|
|
71
80
|
{
|
|
72
81
|
name: 'Production vendue',
|
|
73
82
|
total: 0,
|
|
74
83
|
accounts: ['701', '702', '703', '704', '705', '706'],
|
|
84
|
+
accountsDescription: [],
|
|
75
85
|
},
|
|
76
86
|
{
|
|
77
87
|
name: 'Produits des activités annexes',
|
|
78
88
|
total: 0,
|
|
79
89
|
accounts: ['708'],
|
|
90
|
+
accountsDescription: [],
|
|
80
91
|
},
|
|
81
92
|
{
|
|
82
93
|
name: "Rabais, remises, ristournes accordés par l'entreprise",
|
|
83
94
|
total: 0,
|
|
84
95
|
accounts: ['709'],
|
|
96
|
+
accountsDescription: [],
|
|
85
97
|
},
|
|
86
98
|
],
|
|
87
99
|
},
|
|
@@ -89,26 +101,31 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
89
101
|
name: IncomeStatementLabel.PRODUCTION_STOCKEE,
|
|
90
102
|
total: 0,
|
|
91
103
|
accounts: ['71'],
|
|
104
|
+
accountsDescription: [],
|
|
92
105
|
},
|
|
93
106
|
{
|
|
94
107
|
name: IncomeStatementLabel.PRODUCTION_IMMOBILISEE,
|
|
95
108
|
total: 0,
|
|
96
109
|
accounts: ['72'],
|
|
110
|
+
accountsDescription: [],
|
|
97
111
|
},
|
|
98
112
|
{
|
|
99
113
|
name: IncomeStatementLabel.SUBVENTIONS_EXPLOITATION,
|
|
100
114
|
total: 0,
|
|
101
115
|
accounts: ['74'],
|
|
116
|
+
accountsDescription: [],
|
|
102
117
|
},
|
|
103
118
|
{
|
|
104
119
|
name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS,
|
|
105
120
|
total: 0,
|
|
106
121
|
accounts: ['781', '791'],
|
|
122
|
+
accountsDescription: [],
|
|
107
123
|
},
|
|
108
124
|
{
|
|
109
125
|
name: IncomeStatementLabel.AUTRES_PRODUITS,
|
|
110
126
|
total: 0,
|
|
111
127
|
accounts: ['75'],
|
|
128
|
+
accountsDescription: [],
|
|
112
129
|
},
|
|
113
130
|
],
|
|
114
131
|
},
|
|
@@ -121,53 +138,63 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
121
138
|
name: 'Achats de marchandises',
|
|
122
139
|
total: 0,
|
|
123
140
|
accounts: ['607'],
|
|
141
|
+
accountsDescription: [],
|
|
124
142
|
},
|
|
125
143
|
{
|
|
126
144
|
name: IncomeStatementLabel.VARIATION_STOCK_MARCHANDISES,
|
|
127
145
|
total: 0,
|
|
128
146
|
accounts: ['6037'],
|
|
147
|
+
accountsDescription: [],
|
|
129
148
|
},
|
|
130
149
|
{
|
|
131
150
|
name: 'Achats de matières premieres et autres approvisionnements',
|
|
132
151
|
total: 0,
|
|
133
152
|
accounts: ['60'],
|
|
134
153
|
excludeAccounts: ['607', '603', '606', '604'],
|
|
154
|
+
accountsDescription: [],
|
|
135
155
|
},
|
|
136
156
|
{
|
|
137
157
|
name: IncomeStatementLabel.VARIATION_STOCK_MATIERES_PREMIERES,
|
|
138
158
|
total: 0,
|
|
139
159
|
accounts: ['603'],
|
|
140
160
|
excludeAccounts: ['6037'],
|
|
161
|
+
accountsDescription: [],
|
|
141
162
|
},
|
|
142
163
|
{
|
|
143
164
|
name: IncomeStatementLabel.AUTRES_ACHATS_ET_CHARGES_EXT,
|
|
144
165
|
total: 0,
|
|
145
166
|
accounts: ['61', '62', '606', '604'],
|
|
167
|
+
accountsDescription: [],
|
|
146
168
|
},
|
|
147
169
|
{
|
|
148
170
|
name: IncomeStatementLabel.IMPOTS_TAXES_ASSIMILES,
|
|
149
171
|
total: 0,
|
|
150
172
|
accounts: ['63'],
|
|
173
|
+
accountsDescription: [],
|
|
151
174
|
},
|
|
152
175
|
{
|
|
153
176
|
name: IncomeStatementLabel.SALAIRES_ET_TRAITEMENTS,
|
|
154
177
|
total: 0,
|
|
155
178
|
accounts: ['641', '642', '643', '644'],
|
|
179
|
+
accountsDescription: [],
|
|
156
180
|
},
|
|
157
181
|
{
|
|
158
182
|
name: IncomeStatementLabel.CHARGES_SOCIALES,
|
|
159
183
|
total: 0,
|
|
160
184
|
accounts: ['645', '646', '647', '648', '649'],
|
|
185
|
+
accountsDescription: [],
|
|
161
186
|
},
|
|
162
187
|
{
|
|
163
188
|
name: 'Dotations aux amortissements et provisions',
|
|
164
189
|
total: 0,
|
|
165
190
|
accounts: ['681', '682', '683', '684', '685'],
|
|
191
|
+
accountsDescription: [],
|
|
166
192
|
},
|
|
167
193
|
{
|
|
168
194
|
name: IncomeStatementLabel.AUTRES_CHARGES_GESTION,
|
|
169
195
|
total: 0,
|
|
170
196
|
accounts: ['65'],
|
|
197
|
+
accountsDescription: [],
|
|
171
198
|
},
|
|
172
199
|
],
|
|
173
200
|
},
|
|
@@ -189,31 +216,37 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
189
216
|
name: IncomeStatementLabel.INTERETS_PARTICIPATION,
|
|
190
217
|
total: 0,
|
|
191
218
|
accounts: ['761'],
|
|
219
|
+
accountsDescription: [],
|
|
192
220
|
},
|
|
193
221
|
{
|
|
194
222
|
name: IncomeStatementLabel.AUTRES_VALEURS_MOBILIERES,
|
|
195
223
|
total: 0,
|
|
196
224
|
accounts: ['762', '764'],
|
|
225
|
+
accountsDescription: [],
|
|
197
226
|
},
|
|
198
227
|
{
|
|
199
228
|
name: IncomeStatementLabel.AUTRES_INTERETS_ET_PRODUIT,
|
|
200
229
|
total: 0,
|
|
201
230
|
accounts: ['760', '763', '765', '768'],
|
|
231
|
+
accountsDescription: [],
|
|
202
232
|
},
|
|
203
233
|
{
|
|
204
234
|
name: IncomeStatementLabel.REPRISES_SUR_PROVISIONS_FINANCIERES,
|
|
205
235
|
total: 0,
|
|
206
236
|
accounts: ['786', '796'],
|
|
237
|
+
accountsDescription: [],
|
|
207
238
|
},
|
|
208
239
|
{
|
|
209
240
|
name: IncomeStatementLabel.DIFFERENCES_CHANGE,
|
|
210
241
|
total: 0,
|
|
211
242
|
accounts: ['766'],
|
|
243
|
+
accountsDescription: [],
|
|
212
244
|
},
|
|
213
245
|
{
|
|
214
246
|
name: IncomeStatementLabel.PRODUITS_NET_PLACEMENT,
|
|
215
247
|
total: 0,
|
|
216
248
|
accounts: ['767'],
|
|
249
|
+
accountsDescription: [],
|
|
217
250
|
},
|
|
218
251
|
],
|
|
219
252
|
},
|
|
@@ -226,21 +259,25 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
226
259
|
name: IncomeStatementLabel.DOTATIONS_AUX_AMORTISSEMENTS,
|
|
227
260
|
total: 0,
|
|
228
261
|
accounts: ['686'],
|
|
262
|
+
accountsDescription: [],
|
|
229
263
|
},
|
|
230
264
|
{
|
|
231
265
|
name: IncomeStatementLabel.INTERETS_ET_CHARGES_ASSIMILES,
|
|
232
266
|
total: 0,
|
|
233
267
|
accounts: ['661', '664', '665', '668'],
|
|
268
|
+
accountsDescription: [],
|
|
234
269
|
},
|
|
235
270
|
{
|
|
236
271
|
name: IncomeStatementLabel.DIFFERENCES_NEGATIVES_CHANGE,
|
|
237
272
|
total: 0,
|
|
238
273
|
accounts: ['666'],
|
|
274
|
+
accountsDescription: [],
|
|
239
275
|
},
|
|
240
276
|
{
|
|
241
277
|
name: IncomeStatementLabel.CHARGES_NETTES_VALEURS_MOBILIERES,
|
|
242
278
|
total: 0,
|
|
243
279
|
accounts: ['667'],
|
|
280
|
+
accountsDescription: [],
|
|
244
281
|
},
|
|
245
282
|
],
|
|
246
283
|
},
|
|
@@ -270,6 +307,7 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
270
307
|
name: IncomeStatementLabel.SUR_OPERATION_DE_GESTION,
|
|
271
308
|
total: 0,
|
|
272
309
|
accounts: ['771', '772'],
|
|
310
|
+
accountsDescription: [],
|
|
273
311
|
},
|
|
274
312
|
{
|
|
275
313
|
name: IncomeStatementLabel.SUR_OPERATION_EN_CAPITAL,
|
|
@@ -279,16 +317,19 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
279
317
|
name: "Produits des cessions d'éléments d'actifs",
|
|
280
318
|
total: 0,
|
|
281
319
|
accounts: ['775'],
|
|
320
|
+
accountsDescription: [],
|
|
282
321
|
},
|
|
283
322
|
{
|
|
284
323
|
name: "Subventions d'investissement virées aux résultats de l'exercice",
|
|
285
324
|
total: 0,
|
|
286
325
|
accounts: ['777'],
|
|
326
|
+
accountsDescription: [],
|
|
287
327
|
},
|
|
288
328
|
{
|
|
289
329
|
name: 'Autre',
|
|
290
330
|
total: 0,
|
|
291
331
|
accounts: ['778'],
|
|
332
|
+
accountsDescription: [],
|
|
292
333
|
},
|
|
293
334
|
],
|
|
294
335
|
},
|
|
@@ -308,6 +349,7 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
308
349
|
name: IncomeStatementLabel.CHARGES_SUR_OPERATION_DE_GESTION,
|
|
309
350
|
total: 0,
|
|
310
351
|
accounts: ['671', '672'],
|
|
352
|
+
accountsDescription: [],
|
|
311
353
|
},
|
|
312
354
|
{
|
|
313
355
|
name: IncomeStatementLabel.CHARGES_SUR_OPERATIONS_EN_CAPITAL,
|
|
@@ -317,11 +359,13 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
317
359
|
name: 'Valeurs comptables des éléments immobilisés et financiers cédés',
|
|
318
360
|
total: 0,
|
|
319
361
|
accounts: ['675'],
|
|
362
|
+
accountsDescription: [],
|
|
320
363
|
},
|
|
321
364
|
{
|
|
322
365
|
name: 'Autre',
|
|
323
366
|
total: 0,
|
|
324
367
|
accounts: ['678'],
|
|
368
|
+
accountsDescription: [],
|
|
325
369
|
},
|
|
326
370
|
],
|
|
327
371
|
},
|
|
@@ -332,11 +376,13 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
332
376
|
{
|
|
333
377
|
name: 'Dotations aux provisions réglementées',
|
|
334
378
|
accounts: ['6872', '6873', '6874'],
|
|
379
|
+
accountsDescription: [],
|
|
335
380
|
total: 0,
|
|
336
381
|
},
|
|
337
382
|
{
|
|
338
383
|
name: IncomeStatementLabel.DOTATIONS_EXCEPTIONNELLES_AMORT_PROV,
|
|
339
384
|
accounts: ['6871', '6875', '6876'],
|
|
385
|
+
accountsDescription: [],
|
|
340
386
|
total: 0,
|
|
341
387
|
},
|
|
342
388
|
],
|
|
@@ -356,6 +402,7 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
|
|
|
356
402
|
total: 0,
|
|
357
403
|
key: 'incomeTax',
|
|
358
404
|
accounts: ['69'],
|
|
405
|
+
accountsDescription: [],
|
|
359
406
|
},
|
|
360
407
|
{
|
|
361
408
|
name: "Résultat de l'exercice",
|
|
@@ -50,6 +50,14 @@ export class QueryBalanceSheetSupervisedStatistic {
|
|
|
50
50
|
endDate?: string;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
export class QueryBalanceSheetPdf {
|
|
54
|
+
@ApiPropertyOptional()
|
|
55
|
+
@IsBoolean()
|
|
56
|
+
@ToBoolean()
|
|
57
|
+
@IsOptional()
|
|
58
|
+
withDetails?: boolean;
|
|
59
|
+
}
|
|
60
|
+
|
|
53
61
|
export class QueryBalanceSheetAttestation {
|
|
54
62
|
@ApiProperty()
|
|
55
63
|
@IsNumber()
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { BalanceSheetDescriptionAccount } from '../../../Enum/BalanceSheet';
|
|
2
|
+
|
|
1
3
|
export type ReadBalanceSheetItem = {
|
|
2
4
|
name: string;
|
|
3
5
|
total: number;
|
|
@@ -8,6 +10,7 @@ export type ReadBalanceSheetItem = {
|
|
|
8
10
|
description?: ReadBalanceSheetList;
|
|
9
11
|
key: string;
|
|
10
12
|
calculation?: boolean;
|
|
13
|
+
accountsDescription?: BalanceSheetDescriptionAccount[];
|
|
11
14
|
};
|
|
12
15
|
|
|
13
16
|
export type ReadBalanceSheetList = Array<ReadBalanceSheetItem>;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { CardState, CardType } from '../../../Enum/Card';
|
|
3
|
+
import { CardState, CardType, TransactionRangeFilter } from '../../../Enum/Card';
|
|
4
4
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
5
5
|
|
|
6
6
|
export class AssignCard {
|
|
7
7
|
@ApiProperty()
|
|
8
8
|
@IsEnum(CardType)
|
|
9
9
|
type: CardType;
|
|
10
|
+
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
@IsEnum(TransactionRangeFilter)
|
|
14
|
+
transactionRangeFilter?: TransactionRangeFilter;
|
|
10
15
|
}
|
|
11
16
|
|
|
12
17
|
export class UpdateCardV2 {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IsBoolean, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
2
4
|
|
|
3
5
|
export class QueryIncomeStatement {
|
|
4
6
|
@ApiProperty()
|
|
@@ -14,4 +16,10 @@ export class QueryIncomeStatementPdf {
|
|
|
14
16
|
|
|
15
17
|
@ApiProperty()
|
|
16
18
|
endDate: string;
|
|
19
|
+
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsBoolean()
|
|
22
|
+
@ToBoolean()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
withDetails?: boolean;
|
|
17
25
|
}
|