@silexpert/core 1.1.378 → 1.1.379
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/types/Enum/ReasonTerminationType.js +1 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +2 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +7 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Query.d.ts +16 -0
- package/dist/cjs/types/Interface/api/revision/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Query.js +126 -30
- package/dist/cjs/types/Interface/api/revision/Query.js.map +1 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.js +1 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +2 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +9 -2
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Query.d.ts +16 -0
- package/dist/mjs/types/Interface/api/revision/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Query.js +142 -30
- package/dist/mjs/types/Interface/api/revision/Query.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/ReasonTerminationType.ts +1 -1
- package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +1 -0
- package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +6 -1
- package/ts/types/Interface/api/revision/Query.ts +219 -141
|
@@ -14,452 +14,530 @@ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
|
14
14
|
export class QueryRevision extends RequiredQueryPaginate {
|
|
15
15
|
@ApiProperty()
|
|
16
16
|
@IsDate()
|
|
17
|
-
|
|
17
|
+
startDate: Date;
|
|
18
18
|
|
|
19
19
|
@ApiProperty()
|
|
20
20
|
@IsDate()
|
|
21
|
-
|
|
21
|
+
endDate: Date;
|
|
22
|
+
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
@IsDate()
|
|
26
|
+
previousStartDate?: Date;
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
@IsDate()
|
|
31
|
+
previousEndDate?: Date;
|
|
32
|
+
|
|
33
|
+
@ApiPropertyOptional()
|
|
34
|
+
@IsOptional()
|
|
35
|
+
@IsDate()
|
|
36
|
+
nextStartDate?: Date;
|
|
37
|
+
|
|
38
|
+
@ApiPropertyOptional()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
@IsDate()
|
|
41
|
+
nextEndDate?: Date;
|
|
22
42
|
|
|
23
43
|
@ApiProperty()
|
|
24
44
|
@IsInt()
|
|
25
|
-
|
|
45
|
+
idSociety: number;
|
|
26
46
|
|
|
27
47
|
@ApiPropertyOptional()
|
|
28
|
-
@IsString()
|
|
29
48
|
@IsOptional()
|
|
30
|
-
|
|
49
|
+
@IsString()
|
|
50
|
+
orderBy?: 'designation' | 'amount' | 'number';
|
|
31
51
|
|
|
32
52
|
@ApiPropertyOptional()
|
|
53
|
+
@IsOptional()
|
|
33
54
|
@IsBoolean()
|
|
34
55
|
@ToBoolean()
|
|
35
|
-
|
|
36
|
-
descending?: boolean;
|
|
56
|
+
descending?: boolean;
|
|
37
57
|
}
|
|
38
58
|
|
|
39
59
|
export class QueryRevisionThirdParty extends RequiredQueryPaginate {
|
|
40
60
|
@ApiProperty()
|
|
41
61
|
@IsDate()
|
|
42
|
-
|
|
62
|
+
startDate: Date;
|
|
43
63
|
|
|
44
64
|
@ApiProperty()
|
|
45
65
|
@IsDate()
|
|
46
|
-
|
|
66
|
+
endDate: Date;
|
|
67
|
+
|
|
68
|
+
@ApiPropertyOptional()
|
|
69
|
+
@IsOptional()
|
|
70
|
+
@IsDate()
|
|
71
|
+
previousStartDate?: Date;
|
|
72
|
+
|
|
73
|
+
@ApiPropertyOptional()
|
|
74
|
+
@IsOptional()
|
|
75
|
+
@IsDate()
|
|
76
|
+
previousEndDate?: Date;
|
|
77
|
+
|
|
78
|
+
@ApiPropertyOptional()
|
|
79
|
+
@IsOptional()
|
|
80
|
+
@IsDate()
|
|
81
|
+
nextStartDate?: Date;
|
|
82
|
+
|
|
83
|
+
@ApiPropertyOptional()
|
|
84
|
+
@IsOptional()
|
|
85
|
+
@IsDate()
|
|
86
|
+
nextEndDate?: Date;
|
|
47
87
|
|
|
48
88
|
@ApiProperty()
|
|
49
89
|
@IsInt()
|
|
50
|
-
|
|
90
|
+
idSociety: number;
|
|
51
91
|
|
|
52
92
|
@ApiProperty()
|
|
53
93
|
@IsNumber()
|
|
54
|
-
|
|
94
|
+
idThirdPartyType: number;
|
|
55
95
|
|
|
56
96
|
@ApiPropertyOptional()
|
|
57
|
-
@IsString()
|
|
58
97
|
@IsOptional()
|
|
59
|
-
|
|
98
|
+
@IsString()
|
|
99
|
+
orderBy?: 'designation' | 'amount' | 'number';
|
|
60
100
|
|
|
61
101
|
@ApiPropertyOptional()
|
|
102
|
+
@IsOptional()
|
|
62
103
|
@IsBoolean()
|
|
63
104
|
@ToBoolean()
|
|
64
|
-
|
|
65
|
-
descending?: boolean;
|
|
105
|
+
descending?: boolean;
|
|
66
106
|
}
|
|
67
107
|
|
|
68
108
|
export class QueryRevisionAccount implements QueryPaginate {
|
|
69
109
|
@ApiProperty({ default: 1 })
|
|
70
110
|
@IsNumber()
|
|
71
|
-
|
|
111
|
+
page: number;
|
|
72
112
|
|
|
73
113
|
@ApiProperty()
|
|
74
114
|
@IsDate()
|
|
75
|
-
|
|
115
|
+
startDate: Date;
|
|
76
116
|
|
|
77
117
|
@ApiProperty()
|
|
78
118
|
@IsDate()
|
|
79
|
-
|
|
119
|
+
endDate: Date;
|
|
80
120
|
|
|
81
121
|
@ApiPropertyOptional({ default: 25 })
|
|
82
122
|
@IsNumber()
|
|
83
|
-
|
|
123
|
+
limit: number;
|
|
84
124
|
|
|
85
125
|
@ApiPropertyOptional({ default: 'date' })
|
|
86
|
-
@IsString()
|
|
87
126
|
@IsOptional()
|
|
88
|
-
|
|
127
|
+
@IsString()
|
|
128
|
+
orderBy?: 'date' | 'designation' | 'idAccount' | 'debit' | 'credit';
|
|
89
129
|
|
|
90
130
|
@ApiPropertyOptional({ default: true })
|
|
131
|
+
@IsOptional()
|
|
91
132
|
@IsBoolean()
|
|
92
133
|
@ToBoolean()
|
|
93
|
-
|
|
94
|
-
descending?: boolean;
|
|
134
|
+
descending?: boolean;
|
|
95
135
|
|
|
96
136
|
@ApiPropertyOptional()
|
|
97
|
-
|
|
137
|
+
isRevised?: boolean;
|
|
98
138
|
|
|
99
139
|
@ApiProperty()
|
|
100
140
|
@IsInt()
|
|
101
|
-
|
|
141
|
+
idSociety: number;
|
|
102
142
|
}
|
|
103
143
|
|
|
104
144
|
export class QueryRevisionApprobation {
|
|
105
145
|
@ApiProperty()
|
|
106
146
|
@IsDate()
|
|
107
|
-
|
|
147
|
+
startDate: Date;
|
|
108
148
|
|
|
109
149
|
@ApiProperty()
|
|
110
150
|
@IsDate()
|
|
111
|
-
|
|
151
|
+
endDate: Date;
|
|
112
152
|
|
|
113
153
|
@ApiProperty()
|
|
114
154
|
@IsNumber()
|
|
115
|
-
|
|
155
|
+
idSociety: number;
|
|
116
156
|
|
|
117
157
|
@ApiProperty()
|
|
118
158
|
@IsBoolean()
|
|
119
159
|
@ToBoolean()
|
|
120
|
-
|
|
160
|
+
approvedBySupervisor: boolean;
|
|
121
161
|
}
|
|
122
162
|
|
|
123
163
|
export class QueryRevisionAccountComment {
|
|
124
164
|
@ApiProperty()
|
|
125
165
|
@IsDate()
|
|
126
|
-
|
|
166
|
+
startDate: Date;
|
|
127
167
|
|
|
128
168
|
@ApiProperty()
|
|
129
169
|
@IsDate()
|
|
130
|
-
|
|
170
|
+
endDate: Date;
|
|
131
171
|
|
|
132
172
|
@ApiProperty()
|
|
133
173
|
@IsNumber()
|
|
134
|
-
|
|
174
|
+
idSociety: number;
|
|
135
175
|
|
|
136
176
|
@ApiPropertyOptional()
|
|
137
|
-
@IsString()
|
|
138
177
|
@IsOptional()
|
|
139
|
-
|
|
178
|
+
@IsString()
|
|
179
|
+
comment: string | null;
|
|
140
180
|
}
|
|
141
181
|
|
|
142
182
|
export class QueryRevisionAccountControlFile {
|
|
143
183
|
@ApiProperty()
|
|
144
184
|
@IsNumber()
|
|
145
|
-
|
|
146
|
-
|
|
185
|
+
idSociety: number;
|
|
186
|
+
|
|
147
187
|
@ApiProperty()
|
|
148
188
|
@IsNumber()
|
|
149
|
-
|
|
189
|
+
idExercice: number;
|
|
150
190
|
|
|
151
191
|
@ApiProperty()
|
|
152
|
-
|
|
192
|
+
idFile: number | null;
|
|
153
193
|
}
|
|
154
194
|
|
|
155
195
|
export class QueryRevisionMergeIntoAccount {
|
|
156
196
|
@ApiProperty()
|
|
157
197
|
@IsDate()
|
|
158
|
-
|
|
198
|
+
startDate: Date;
|
|
159
199
|
|
|
160
200
|
@ApiProperty()
|
|
161
201
|
@IsDate()
|
|
162
|
-
|
|
202
|
+
endDate: Date;
|
|
163
203
|
|
|
164
204
|
@ApiProperty()
|
|
165
205
|
@IsNumber()
|
|
166
|
-
|
|
206
|
+
idSociety: number;
|
|
167
207
|
|
|
168
208
|
@ApiPropertyOptional()
|
|
169
|
-
@IsArray()
|
|
170
209
|
@IsOptional()
|
|
171
|
-
@
|
|
172
|
-
|
|
210
|
+
@IsArray()
|
|
211
|
+
@IsInt({ each: true })
|
|
212
|
+
idAccounts?: Array<number>;
|
|
173
213
|
|
|
174
214
|
@ApiPropertyOptional()
|
|
175
|
-
@IsArray()
|
|
176
215
|
@IsOptional()
|
|
177
|
-
@
|
|
178
|
-
|
|
216
|
+
@IsArray()
|
|
217
|
+
@IsInt({ each: true })
|
|
218
|
+
idAccountingEntries?: Array<number>;
|
|
179
219
|
}
|
|
180
220
|
|
|
181
221
|
export class QueryRevisionMergeIntoThirdParty {
|
|
182
222
|
@ApiProperty()
|
|
183
223
|
@IsDate()
|
|
184
|
-
|
|
224
|
+
startDate: Date;
|
|
185
225
|
|
|
186
226
|
@ApiProperty()
|
|
187
227
|
@IsDate()
|
|
188
|
-
|
|
228
|
+
endDate: Date;
|
|
189
229
|
|
|
190
230
|
@ApiProperty()
|
|
191
231
|
@IsNumber()
|
|
192
|
-
|
|
232
|
+
idSociety: number;
|
|
193
233
|
|
|
194
234
|
@ApiPropertyOptional()
|
|
195
|
-
@IsArray()
|
|
196
235
|
@IsOptional()
|
|
197
|
-
@
|
|
198
|
-
|
|
236
|
+
@IsArray()
|
|
237
|
+
@IsInt({ each: true })
|
|
238
|
+
idThirdParties?: Array<number>;
|
|
199
239
|
|
|
200
240
|
@ApiPropertyOptional()
|
|
201
|
-
@IsArray()
|
|
202
241
|
@IsOptional()
|
|
203
|
-
@
|
|
204
|
-
|
|
242
|
+
@IsArray()
|
|
243
|
+
@IsInt({ each: true })
|
|
244
|
+
idAccountingEntries?: Array<number>;
|
|
205
245
|
}
|
|
206
246
|
|
|
207
247
|
export class QueryRevisionPaginate {
|
|
208
248
|
@ApiProperty()
|
|
209
249
|
@IsDate()
|
|
210
|
-
|
|
250
|
+
startDate: Date;
|
|
211
251
|
|
|
212
252
|
@ApiProperty()
|
|
213
253
|
@IsDate()
|
|
214
|
-
|
|
254
|
+
endDate: Date;
|
|
255
|
+
|
|
256
|
+
@ApiPropertyOptional()
|
|
257
|
+
@IsOptional()
|
|
258
|
+
@IsDate()
|
|
259
|
+
previousStartDate?: Date;
|
|
260
|
+
|
|
261
|
+
@ApiPropertyOptional()
|
|
262
|
+
@IsOptional()
|
|
263
|
+
@IsDate()
|
|
264
|
+
previousEndDate?: Date;
|
|
265
|
+
|
|
266
|
+
@ApiPropertyOptional()
|
|
267
|
+
@IsOptional()
|
|
268
|
+
@IsDate()
|
|
269
|
+
nextStartDate?: Date;
|
|
270
|
+
|
|
271
|
+
@ApiPropertyOptional()
|
|
272
|
+
@IsOptional()
|
|
273
|
+
@IsDate()
|
|
274
|
+
nextEndDate?: Date;
|
|
215
275
|
|
|
216
276
|
@ApiProperty()
|
|
217
277
|
@IsInt()
|
|
218
|
-
|
|
278
|
+
idSociety: number;
|
|
219
279
|
|
|
220
280
|
@ApiPropertyOptional()
|
|
221
|
-
@IsString()
|
|
222
281
|
@IsOptional()
|
|
223
|
-
|
|
282
|
+
@IsString()
|
|
283
|
+
orderBy?: 'designation' | 'amount' | 'number';
|
|
224
284
|
|
|
225
285
|
@ApiPropertyOptional()
|
|
286
|
+
@IsOptional()
|
|
226
287
|
@IsBoolean()
|
|
227
288
|
@ToBoolean()
|
|
228
|
-
|
|
229
|
-
descending?: boolean;
|
|
289
|
+
descending?: boolean;
|
|
230
290
|
|
|
231
291
|
// Interface paginate
|
|
232
292
|
@ApiProperty({ default: 25 })
|
|
233
293
|
@IsNumber()
|
|
234
|
-
|
|
294
|
+
limit?: number = 25;
|
|
235
295
|
|
|
236
296
|
@ApiProperty({ default: 1 })
|
|
237
297
|
@IsNumber()
|
|
238
|
-
|
|
298
|
+
page?: number = 1;
|
|
239
299
|
}
|
|
240
300
|
|
|
241
301
|
export class QueryRevisionThirdPartyPaginate {
|
|
242
302
|
@ApiProperty()
|
|
243
303
|
@IsNumber()
|
|
244
|
-
|
|
304
|
+
idThirdPartyType: number;
|
|
245
305
|
|
|
246
306
|
@ApiProperty()
|
|
247
307
|
@IsDate()
|
|
248
|
-
|
|
249
|
-
|
|
308
|
+
startDate: Date;
|
|
309
|
+
|
|
250
310
|
@ApiProperty()
|
|
251
311
|
@IsDate()
|
|
252
|
-
|
|
253
|
-
|
|
312
|
+
endDate: Date;
|
|
313
|
+
|
|
314
|
+
@ApiPropertyOptional()
|
|
315
|
+
@IsOptional()
|
|
316
|
+
@IsDate()
|
|
317
|
+
previousStartDate?: Date;
|
|
318
|
+
|
|
319
|
+
@ApiPropertyOptional()
|
|
320
|
+
@IsOptional()
|
|
321
|
+
@IsDate()
|
|
322
|
+
previousEndDate?: Date;
|
|
323
|
+
|
|
324
|
+
@ApiPropertyOptional()
|
|
325
|
+
@IsOptional()
|
|
326
|
+
@IsDate()
|
|
327
|
+
nextStartDate?: Date;
|
|
328
|
+
|
|
329
|
+
@ApiPropertyOptional()
|
|
330
|
+
@IsOptional()
|
|
331
|
+
@IsDate()
|
|
332
|
+
nextEndDate?: Date;
|
|
333
|
+
|
|
254
334
|
@ApiProperty()
|
|
255
335
|
@IsInt()
|
|
256
|
-
|
|
257
|
-
|
|
336
|
+
idSociety: number;
|
|
337
|
+
|
|
258
338
|
@ApiPropertyOptional()
|
|
259
|
-
@IsString()
|
|
260
339
|
@IsOptional()
|
|
261
|
-
|
|
262
|
-
|
|
340
|
+
@IsString()
|
|
341
|
+
orderBy?: 'designation' | 'amount' | 'number';
|
|
342
|
+
|
|
263
343
|
@ApiPropertyOptional()
|
|
344
|
+
@IsOptional()
|
|
264
345
|
@IsBoolean()
|
|
265
346
|
@ToBoolean()
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
347
|
+
descending?: boolean;
|
|
348
|
+
|
|
269
349
|
// Interface paginate
|
|
270
350
|
@ApiProperty({ default: 25 })
|
|
271
351
|
@IsNumber()
|
|
272
|
-
|
|
273
|
-
|
|
352
|
+
limit?: number = 25;
|
|
353
|
+
|
|
274
354
|
@ApiProperty({ default: 1 })
|
|
275
355
|
@IsNumber()
|
|
276
|
-
|
|
356
|
+
page?: number = 1;
|
|
277
357
|
}
|
|
278
358
|
|
|
279
359
|
export class QueryRevisionSearchEntries {
|
|
280
360
|
// Mandatory
|
|
281
361
|
@ApiProperty()
|
|
282
362
|
@IsNumber()
|
|
283
|
-
|
|
363
|
+
idSociety: number;
|
|
284
364
|
|
|
285
365
|
@ApiProperty()
|
|
286
366
|
@IsDate()
|
|
287
|
-
|
|
367
|
+
startDate: Date;
|
|
288
368
|
|
|
289
369
|
@ApiProperty()
|
|
290
370
|
@IsDate()
|
|
291
|
-
|
|
371
|
+
endDate: Date;
|
|
292
372
|
|
|
293
373
|
// Optional
|
|
294
374
|
@ApiPropertyOptional()
|
|
295
|
-
@IsNumber()
|
|
296
375
|
@IsOptional()
|
|
297
|
-
|
|
376
|
+
@IsNumber()
|
|
377
|
+
idThirdParty?: number;
|
|
298
378
|
|
|
299
379
|
@ApiPropertyOptional()
|
|
300
|
-
@IsNumber()
|
|
301
380
|
@IsOptional()
|
|
302
|
-
|
|
381
|
+
@IsNumber()
|
|
382
|
+
amount?: number;
|
|
303
383
|
|
|
304
384
|
@ApiPropertyOptional()
|
|
305
|
-
@IsNumber()
|
|
306
385
|
@IsOptional()
|
|
307
|
-
|
|
386
|
+
@IsNumber()
|
|
387
|
+
difference?: number;
|
|
308
388
|
|
|
309
389
|
@ApiPropertyOptional()
|
|
310
|
-
@IsString()
|
|
311
390
|
@IsOptional()
|
|
312
|
-
|
|
391
|
+
@IsString()
|
|
392
|
+
designation?: string;
|
|
313
393
|
|
|
314
394
|
@ApiPropertyOptional()
|
|
315
|
-
@IsString()
|
|
316
395
|
@IsOptional()
|
|
317
|
-
|
|
396
|
+
@IsString()
|
|
397
|
+
startAccountNumber?: string;
|
|
318
398
|
|
|
319
399
|
@ApiPropertyOptional()
|
|
320
|
-
@IsString()
|
|
321
400
|
@IsOptional()
|
|
322
|
-
|
|
401
|
+
@IsString()
|
|
402
|
+
endAccountNumber?: string;
|
|
323
403
|
|
|
324
404
|
// advanced search
|
|
325
405
|
@ApiPropertyOptional()
|
|
326
|
-
@IsNumber()
|
|
327
406
|
@IsOptional()
|
|
328
|
-
|
|
407
|
+
@IsNumber()
|
|
408
|
+
minimumAmount?: number;
|
|
329
409
|
|
|
330
410
|
@ApiPropertyOptional()
|
|
331
|
-
@IsNumber()
|
|
332
411
|
@IsOptional()
|
|
333
|
-
|
|
412
|
+
@IsNumber()
|
|
413
|
+
maximumAmount?: number;
|
|
334
414
|
|
|
335
415
|
@ApiPropertyOptional()
|
|
336
|
-
@IsArray()
|
|
337
416
|
@IsOptional()
|
|
338
|
-
|
|
417
|
+
@IsArray()
|
|
418
|
+
idsAccountingJournal?: Array<number>;
|
|
339
419
|
|
|
340
420
|
@ApiPropertyOptional()
|
|
341
|
-
@IsNumber()
|
|
342
421
|
@IsOptional()
|
|
343
|
-
|
|
422
|
+
@IsNumber()
|
|
423
|
+
type?: number;
|
|
344
424
|
|
|
345
425
|
@ApiPropertyOptional()
|
|
426
|
+
@IsOptional()
|
|
346
427
|
@IsBoolean()
|
|
347
428
|
@ToBoolean()
|
|
348
|
-
|
|
349
|
-
isRevised?: boolean;
|
|
429
|
+
isRevised?: boolean;
|
|
350
430
|
|
|
351
431
|
@ApiPropertyOptional({ default: 'date' })
|
|
352
|
-
@IsString()
|
|
353
432
|
@IsOptional()
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
433
|
+
@IsString()
|
|
434
|
+
orderBy?:
|
|
435
|
+
| 'date'
|
|
436
|
+
| 'accountNumber'
|
|
437
|
+
| 'amount'
|
|
438
|
+
| 'designation'
|
|
439
|
+
| 'vatRate'
|
|
440
|
+
| 'debit'
|
|
441
|
+
| 'credit';
|
|
362
442
|
|
|
363
443
|
@ApiPropertyOptional()
|
|
444
|
+
@IsOptional()
|
|
364
445
|
@IsBoolean()
|
|
365
446
|
@ToBoolean()
|
|
366
|
-
|
|
367
|
-
descending?: boolean;
|
|
447
|
+
descending?: boolean;
|
|
368
448
|
|
|
369
449
|
// Interface paginate
|
|
370
450
|
@ApiProperty({ default: 25 })
|
|
371
451
|
@IsNumber()
|
|
372
|
-
|
|
452
|
+
limit?: number = 25;
|
|
373
453
|
|
|
374
454
|
@ApiProperty({ default: 1 })
|
|
375
455
|
@IsNumber()
|
|
376
|
-
|
|
456
|
+
page?: number = 1;
|
|
377
457
|
}
|
|
378
458
|
|
|
379
459
|
export class QuerySupervision {
|
|
380
460
|
@ApiProperty()
|
|
381
461
|
@IsNumber()
|
|
382
|
-
|
|
462
|
+
idBalanceSheet: number;
|
|
383
463
|
}
|
|
384
464
|
|
|
385
465
|
export class QueryRevisionGenericPendingPoint {
|
|
386
466
|
// Mandatory
|
|
387
467
|
@ApiProperty()
|
|
388
468
|
@IsNumber()
|
|
389
|
-
|
|
469
|
+
idTypeLegalForm: number;
|
|
390
470
|
}
|
|
391
471
|
|
|
392
472
|
export class QueryRevisionPendingPoint {
|
|
393
473
|
// Mandatory
|
|
394
474
|
@ApiProperty()
|
|
395
475
|
@IsNumber()
|
|
396
|
-
|
|
476
|
+
idSociety: number;
|
|
397
477
|
|
|
398
478
|
@ApiProperty()
|
|
399
479
|
@IsDate()
|
|
400
|
-
|
|
480
|
+
startDate: Date;
|
|
401
481
|
|
|
402
482
|
@ApiProperty()
|
|
403
483
|
@IsDate()
|
|
404
|
-
|
|
484
|
+
endDate: Date;
|
|
405
485
|
}
|
|
406
486
|
|
|
407
487
|
export class GetPersonalNoteForPeriod {
|
|
408
488
|
@ApiProperty()
|
|
409
489
|
@IsNumber()
|
|
410
|
-
|
|
490
|
+
idSociety: number;
|
|
411
491
|
|
|
412
492
|
@ApiPropertyOptional()
|
|
413
|
-
@IsNumber()
|
|
414
493
|
@IsOptional()
|
|
415
|
-
|
|
494
|
+
@IsNumber()
|
|
495
|
+
idUser?: number;
|
|
416
496
|
|
|
417
497
|
@ApiProperty()
|
|
418
498
|
@IsDate()
|
|
419
|
-
|
|
499
|
+
startDate: Date;
|
|
420
500
|
|
|
421
501
|
@ApiProperty()
|
|
422
502
|
@IsDate()
|
|
423
|
-
|
|
424
|
-
|
|
503
|
+
endDate: Date;
|
|
504
|
+
|
|
425
505
|
@ApiPropertyOptional()
|
|
426
|
-
@IsNumber()
|
|
427
506
|
@IsOptional()
|
|
428
|
-
|
|
507
|
+
@IsNumber()
|
|
508
|
+
idCycle?: number;
|
|
429
509
|
}
|
|
430
510
|
|
|
431
511
|
export class GetNote {
|
|
432
512
|
@ApiProperty()
|
|
433
513
|
@IsNumber()
|
|
434
|
-
|
|
514
|
+
idSociety: number;
|
|
435
515
|
|
|
436
516
|
@ApiProperty()
|
|
437
517
|
@IsNumber()
|
|
438
|
-
|
|
518
|
+
idExercice: number;
|
|
439
519
|
|
|
440
520
|
@ApiProperty()
|
|
441
521
|
@IsNumber()
|
|
442
|
-
|
|
522
|
+
gedFileType: number;
|
|
443
523
|
}
|
|
444
524
|
|
|
445
525
|
export class QueryRevisionExport {
|
|
446
526
|
@ApiProperty()
|
|
447
527
|
@IsString()
|
|
448
|
-
|
|
528
|
+
dateStart: string;
|
|
449
529
|
|
|
450
530
|
@ApiProperty()
|
|
451
531
|
@IsString()
|
|
452
|
-
|
|
532
|
+
dateEnd: string;
|
|
453
533
|
|
|
454
534
|
@ApiProperty()
|
|
455
535
|
@IsBoolean()
|
|
456
536
|
@ToBoolean()
|
|
457
|
-
|
|
537
|
+
ik: boolean;
|
|
458
538
|
|
|
459
539
|
@ApiProperty()
|
|
460
540
|
@IsBoolean()
|
|
461
541
|
@ToBoolean()
|
|
462
|
-
|
|
542
|
+
sales: boolean;
|
|
463
543
|
}
|
|
464
|
-
|
|
465
|
-
|