@silexpert/core 1.3.160-2 → 1.3.160-3
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/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/api/resources/Mfa.d.ts +2 -0
- package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/cjs/api/resources/Mfa.js +7 -0
- package/dist/cjs/api/resources/Mfa.js.map +1 -1
- package/dist/cjs/types/Enum/Card.js +1 -1
- package/dist/cjs/types/Enum/Card.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/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 +3 -11
- 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/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/api/resources/Mfa.d.ts +2 -0
- package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/mjs/api/resources/Mfa.js +7 -0
- package/dist/mjs/api/resources/Mfa.js.map +1 -1
- package/dist/mjs/types/Enum/Card.js +1 -1
- package/dist/mjs/types/Enum/Card.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/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 +11 -13
- 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/package.json +1 -1
- package/ts/api/resources/GeneralLedger.ts +11 -0
- package/ts/api/resources/Mfa.ts +10 -0
- package/ts/types/Enum/Card.ts +1 -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/revenueMovement.ts +153 -9
- package/ts/types/Interface/api/revenueSnapshotGenerate.ts +11 -10
- package/ts/types/Interface/models/IImmobilization.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.160-
|
|
3
|
+
"version": "1.3.160-3",
|
|
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",
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
IGeneralLedgerAccount,
|
|
4
4
|
IGeneralLedgerThirdParty,
|
|
5
5
|
QueryGeneralLedgerAuxiliary,
|
|
6
|
+
QueryGeneralLedgerAuxiliaryPdf,
|
|
6
7
|
QueryGeneralLedgerThirdParty,
|
|
7
8
|
ReadGeneralLedgerSummary,
|
|
8
9
|
ReadIGeneralLedgerThirdPartyPaginated,
|
|
@@ -89,4 +90,14 @@ export class GeneralLedger extends Resource {
|
|
|
89
90
|
getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<ReadIGeneralLedgerThirdPartyPaginated> {
|
|
90
91
|
return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });
|
|
91
92
|
}
|
|
93
|
+
|
|
94
|
+
getAuxiliaryPdf(params: QueryGeneralLedgerAuxiliaryPdf): Promise<Buffer> {
|
|
95
|
+
return this.axios.$get('/general-ledger/auxiliary/pdf', {
|
|
96
|
+
params,
|
|
97
|
+
responseType: 'arraybuffer',
|
|
98
|
+
headers: {
|
|
99
|
+
Accept: 'application/pdf',
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
}
|
|
92
103
|
}
|
package/ts/api/resources/Mfa.ts
CHANGED
|
@@ -26,4 +26,14 @@ export class UserMfa extends Resource {
|
|
|
26
26
|
// Si userId est fourni, l'envoyer en query param, sinon vérifier l'user connecté
|
|
27
27
|
return this.axios.$get('/mfa/is-enabled', userId ? { params: { userId } } : undefined);
|
|
28
28
|
}
|
|
29
|
+
|
|
30
|
+
///// Mobile Approval MFA /////
|
|
31
|
+
|
|
32
|
+
enableMobileMfa(userId: number): Promise<void> {
|
|
33
|
+
return this.axios.$post('/mfa/enable/mobile-approval', { userId });
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
disableMobileMfa(userId: number): Promise<void> {
|
|
37
|
+
return this.axios.$post('/mfa/disable/mobile-approval', { userId });
|
|
38
|
+
}
|
|
29
39
|
}
|
package/ts/types/Enum/Card.ts
CHANGED
|
@@ -136,7 +136,7 @@ export const CardGroup: readonly CardGroupType[] = [
|
|
|
136
136
|
{
|
|
137
137
|
id: CardGroupEnum.CUT_OFF,
|
|
138
138
|
label: 'Cut Off',
|
|
139
|
-
types: [CardType.CUT_OFF],
|
|
139
|
+
types: [CardType.CUT_OFF, CardType.CUT_OFF_ORI_M_1],
|
|
140
140
|
roles: [Role.ACCOUNTANT],
|
|
141
141
|
maxByDay: 3,
|
|
142
142
|
teamType: TeamType.CUT_OFF,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber, IsDateString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
import { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';
|
|
@@ -49,3 +49,28 @@ export class QueryGeneralLedgerAuxiliary {
|
|
|
49
49
|
@IsOptional()
|
|
50
50
|
idThirdParty?: number;
|
|
51
51
|
}
|
|
52
|
+
|
|
53
|
+
export type LetteringState = 'all' | 'only' | 'none';
|
|
54
|
+
|
|
55
|
+
export class QueryGeneralLedgerAuxiliaryPdf {
|
|
56
|
+
@ApiProperty()
|
|
57
|
+
@IsDateString()
|
|
58
|
+
startDate: string;
|
|
59
|
+
|
|
60
|
+
@ApiProperty()
|
|
61
|
+
@IsDateString()
|
|
62
|
+
endDate: string;
|
|
63
|
+
|
|
64
|
+
@ApiPropertyOptional()
|
|
65
|
+
@IsOptional()
|
|
66
|
+
idThirdPartyType?: ThirdPartyType;
|
|
67
|
+
|
|
68
|
+
@ApiPropertyOptional()
|
|
69
|
+
@IsOptional()
|
|
70
|
+
idThirdParty?: number[];
|
|
71
|
+
|
|
72
|
+
@ApiPropertyOptional()
|
|
73
|
+
@IsEnum(['all', 'only', 'none'])
|
|
74
|
+
@IsOptional()
|
|
75
|
+
lettering?: LetteringState;
|
|
76
|
+
}
|
|
@@ -1,51 +1,169 @@
|
|
|
1
|
+
import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray } from 'class-validator';
|
|
1
2
|
import { RevenueMovementType } from '../../Enum/Revenue';
|
|
3
|
+
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
6
|
* DTO pour créer un mouvement de revenu
|
|
5
7
|
*/
|
|
6
|
-
export
|
|
8
|
+
export class ICreateRevenueMovementRequest {
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsEnum(RevenueMovementType)
|
|
7
11
|
type: RevenueMovementType;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsInt()
|
|
8
15
|
idSociety: number;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsInt()
|
|
9
20
|
idExercice?: number;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsInt()
|
|
10
25
|
idPrestation?: number;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsOptional()
|
|
29
|
+
@IsInt()
|
|
11
30
|
idTerminationList?: number;
|
|
31
|
+
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
@IsInt()
|
|
12
35
|
idChurnMovement?: number;
|
|
36
|
+
|
|
37
|
+
@ApiProperty()
|
|
38
|
+
@IsInt()
|
|
13
39
|
amount: number;
|
|
40
|
+
|
|
41
|
+
@ApiProperty()
|
|
42
|
+
@IsInt()
|
|
14
43
|
mrr: number;
|
|
44
|
+
|
|
45
|
+
@ApiProperty()
|
|
46
|
+
@IsInt()
|
|
15
47
|
arr: number;
|
|
48
|
+
|
|
49
|
+
@ApiProperty()
|
|
50
|
+
@IsDate()
|
|
16
51
|
movementDate: Date;
|
|
52
|
+
|
|
53
|
+
@ApiPropertyOptional()
|
|
54
|
+
@IsOptional()
|
|
55
|
+
@IsString()
|
|
17
56
|
description?: string;
|
|
57
|
+
|
|
58
|
+
@ApiPropertyOptional()
|
|
59
|
+
@IsOptional()
|
|
60
|
+
@IsObject()
|
|
18
61
|
metadata?: Record<string, any>;
|
|
19
62
|
}
|
|
20
63
|
|
|
21
64
|
/**
|
|
22
65
|
* DTO pour mettre à jour un mouvement de revenu
|
|
23
66
|
*/
|
|
24
|
-
export
|
|
67
|
+
export class IUpdateRevenueMovementRequest {
|
|
68
|
+
@ApiPropertyOptional()
|
|
69
|
+
@IsOptional()
|
|
70
|
+
@IsEnum(RevenueMovementType)
|
|
25
71
|
type?: RevenueMovementType;
|
|
72
|
+
|
|
73
|
+
@ApiPropertyOptional()
|
|
74
|
+
@IsOptional()
|
|
75
|
+
@IsInt()
|
|
26
76
|
idTerminationList?: number;
|
|
77
|
+
|
|
78
|
+
@ApiPropertyOptional()
|
|
79
|
+
@IsOptional()
|
|
80
|
+
@IsInt()
|
|
27
81
|
idChurnMovement?: number;
|
|
82
|
+
|
|
83
|
+
@ApiPropertyOptional()
|
|
84
|
+
@IsOptional()
|
|
85
|
+
@IsNumber()
|
|
28
86
|
amount?: number;
|
|
87
|
+
|
|
88
|
+
@ApiPropertyOptional()
|
|
89
|
+
@IsOptional()
|
|
90
|
+
@IsInt()
|
|
29
91
|
mrr?: number;
|
|
92
|
+
|
|
93
|
+
@ApiPropertyOptional()
|
|
94
|
+
@IsOptional()
|
|
95
|
+
@IsInt()
|
|
30
96
|
arr?: number;
|
|
97
|
+
|
|
98
|
+
@ApiPropertyOptional()
|
|
99
|
+
@IsOptional()
|
|
100
|
+
@IsDate()
|
|
31
101
|
movementDate?: Date | string;
|
|
102
|
+
|
|
103
|
+
@ApiPropertyOptional()
|
|
104
|
+
@IsOptional()
|
|
105
|
+
@IsString()
|
|
32
106
|
description?: string;
|
|
107
|
+
|
|
108
|
+
@ApiPropertyOptional()
|
|
109
|
+
@IsOptional()
|
|
110
|
+
@IsObject()
|
|
33
111
|
metadata?: Record<string, any>;
|
|
34
112
|
}
|
|
35
113
|
|
|
36
114
|
/**
|
|
37
115
|
* Filtres pour récupérer les mouvements de revenu
|
|
38
116
|
*/
|
|
39
|
-
export
|
|
117
|
+
export class IGetRevenueMovementsRequest {
|
|
118
|
+
@ApiPropertyOptional()
|
|
119
|
+
@IsOptional()
|
|
120
|
+
@IsInt()
|
|
40
121
|
idSociety?: number;
|
|
122
|
+
|
|
123
|
+
@ApiPropertyOptional()
|
|
124
|
+
@IsOptional()
|
|
125
|
+
@IsInt()
|
|
41
126
|
idExercice?: number;
|
|
127
|
+
|
|
128
|
+
@ApiPropertyOptional()
|
|
129
|
+
@IsOptional()
|
|
130
|
+
@IsInt()
|
|
42
131
|
idPrestation?: number;
|
|
132
|
+
|
|
133
|
+
@ApiPropertyOptional()
|
|
134
|
+
@IsOptional()
|
|
135
|
+
@IsInt()
|
|
43
136
|
idTerminationList?: number;
|
|
137
|
+
|
|
138
|
+
@ApiPropertyOptional()
|
|
139
|
+
@IsOptional()
|
|
140
|
+
@IsInt()
|
|
44
141
|
idChurnMovement?: number;
|
|
142
|
+
|
|
143
|
+
@ApiPropertyOptional()
|
|
144
|
+
@IsOptional()
|
|
145
|
+
@IsArray()
|
|
146
|
+
@IsEnum(RevenueMovementType, { each: true })
|
|
45
147
|
type?: RevenueMovementType[];
|
|
148
|
+
|
|
149
|
+
@ApiPropertyOptional()
|
|
150
|
+
@IsOptional()
|
|
151
|
+
@IsDate()
|
|
46
152
|
startDate?: Date | string;
|
|
153
|
+
|
|
154
|
+
@ApiPropertyOptional()
|
|
155
|
+
@IsOptional()
|
|
156
|
+
@IsDate()
|
|
47
157
|
endDate?: Date | string;
|
|
158
|
+
|
|
159
|
+
@ApiPropertyOptional()
|
|
160
|
+
@IsOptional()
|
|
161
|
+
@IsInt()
|
|
48
162
|
page?: number;
|
|
163
|
+
|
|
164
|
+
@ApiPropertyOptional()
|
|
165
|
+
@IsOptional()
|
|
166
|
+
@IsInt()
|
|
49
167
|
limit?: number;
|
|
50
168
|
}
|
|
51
169
|
|
|
@@ -63,25 +181,51 @@ export interface IGetRevenueMovementsResponse {
|
|
|
63
181
|
/**
|
|
64
182
|
* DTO pour générer un snapshot de revenu
|
|
65
183
|
*/
|
|
66
|
-
export
|
|
184
|
+
export class IGenerateSnapshotRequest {
|
|
185
|
+
@ApiPropertyOptional()
|
|
186
|
+
@IsOptional()
|
|
187
|
+
@IsDate()
|
|
67
188
|
date?: string;
|
|
189
|
+
|
|
190
|
+
@ApiPropertyOptional()
|
|
191
|
+
@IsOptional()
|
|
192
|
+
@IsInt()
|
|
68
193
|
idSociety?: number;
|
|
194
|
+
|
|
195
|
+
@ApiPropertyOptional()
|
|
196
|
+
@IsOptional()
|
|
197
|
+
@IsInt()
|
|
69
198
|
idExercice?: number;
|
|
70
199
|
}
|
|
71
200
|
|
|
72
201
|
/**
|
|
73
202
|
* DTO pour générer tous les snapshots de revenu
|
|
74
203
|
*/
|
|
75
|
-
export
|
|
204
|
+
export class IGenerateAllSnapshotsRequest {
|
|
205
|
+
@ApiPropertyOptional()
|
|
206
|
+
@IsOptional()
|
|
207
|
+
@IsDate()
|
|
76
208
|
date?: string;
|
|
77
209
|
}
|
|
78
210
|
|
|
79
211
|
/**
|
|
80
212
|
* DTO pour gérer la rétroactivité des mouvements de revenu
|
|
81
213
|
*/
|
|
82
|
-
export
|
|
214
|
+
export class IManageRetroactivityRequest {
|
|
215
|
+
@ApiPropertyOptional()
|
|
216
|
+
@IsOptional()
|
|
217
|
+
@IsInt()
|
|
83
218
|
idSociety: number;
|
|
219
|
+
|
|
220
|
+
@ApiPropertyOptional()
|
|
221
|
+
@IsOptional()
|
|
222
|
+
@IsInt()
|
|
84
223
|
idExercice?: number;
|
|
224
|
+
|
|
225
|
+
@ApiPropertyOptional()
|
|
226
|
+
@IsOptional()
|
|
227
|
+
@IsDate()
|
|
228
|
+
date?: Date;
|
|
85
229
|
}
|
|
86
230
|
|
|
87
231
|
/**
|
|
@@ -89,9 +233,9 @@ export interface IManageRetroactivityRequest {
|
|
|
89
233
|
*/
|
|
90
234
|
export interface IManageRetroactivityResponse {
|
|
91
235
|
idSociety: number;
|
|
92
|
-
idExercice: number;
|
|
93
|
-
exerciceStartDate: Date;
|
|
94
|
-
exerciceEndDate: Date;
|
|
236
|
+
idExercice: number[];
|
|
237
|
+
exerciceStartDate: Date[];
|
|
238
|
+
exerciceEndDate: Date[];
|
|
95
239
|
movementsCreated: {
|
|
96
240
|
bookings: number;
|
|
97
241
|
churns: number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
1
2
|
import { ApiProperty } from '../../../utils';
|
|
2
|
-
import { IsOptional, IsString, IsNumber } from 'class-validator';
|
|
3
|
+
import { IsOptional, IsString, IsNumber, IsInt } from 'class-validator';
|
|
3
4
|
|
|
4
5
|
export class GenerateSnapshot {
|
|
5
6
|
@ApiProperty({
|
|
@@ -42,20 +43,20 @@ export class GenerateAllSnapshots {
|
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
export class ManageRetroactivity {
|
|
45
|
-
@ApiProperty({
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
})
|
|
50
|
-
@
|
|
51
|
-
idSociety: number;
|
|
46
|
+
// @ApiProperty({
|
|
47
|
+
// required: true,
|
|
48
|
+
// description: 'ID de la société',
|
|
49
|
+
// example: 60170,
|
|
50
|
+
// })
|
|
51
|
+
// @IsInt()
|
|
52
|
+
// idSociety: number;
|
|
52
53
|
|
|
53
|
-
@
|
|
54
|
+
@ApiPropertyOptional({
|
|
54
55
|
required: false,
|
|
55
56
|
description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
|
|
56
57
|
example: 123456,
|
|
57
58
|
})
|
|
58
59
|
@IsOptional()
|
|
59
|
-
@
|
|
60
|
+
@IsInt()
|
|
60
61
|
idExercice?: number;
|
|
61
62
|
}
|
|
@@ -12,6 +12,7 @@ export interface IImmobilization {
|
|
|
12
12
|
quantitySelled?: number;
|
|
13
13
|
amountOfSellTaxIncluded?: number | null;
|
|
14
14
|
sellingDate?: Date | null;
|
|
15
|
+
trashingDate?: Date | null;
|
|
15
16
|
acquisitionDate?: Date; // si il n'y a pas d'acquisition date, c'est un acompte
|
|
16
17
|
duration: number;
|
|
17
18
|
provider: string;
|