@silexpert/core 1.1.324 → 1.1.326
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/Payment.d.ts +2 -1
- package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Payment.js +3 -0
- package/dist/cjs/api/resources/Payment.js.map +1 -1
- package/dist/cjs/api/resources/Transaction.d.ts +2 -1
- package/dist/cjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/cjs/api/resources/Transaction.js +3 -0
- package/dist/cjs/api/resources/Transaction.js.map +1 -1
- package/dist/cjs/types/Enum/Account.d.ts +8 -0
- package/dist/cjs/types/Enum/Account.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Account.js +8 -0
- package/dist/cjs/types/Enum/Account.js.map +1 -1
- package/dist/cjs/types/Enum/Annotation.d.ts +10 -0
- package/dist/cjs/types/Enum/Annotation.d.ts.map +1 -0
- package/dist/cjs/types/Enum/Annotation.js +14 -0
- package/dist/cjs/types/Enum/Annotation.js.map +1 -0
- package/dist/cjs/types/Enum/MealExpenseThresholds.d.ts.map +1 -1
- package/dist/cjs/types/Enum/MealExpenseThresholds.js +4 -0
- package/dist/cjs/types/Enum/MealExpenseThresholds.js.map +1 -1
- package/dist/cjs/types/Enum/RoleDetail.d.ts +35 -34
- package/dist/cjs/types/Enum/RoleDetail.d.ts.map +1 -1
- package/dist/cjs/types/Enum/RoleDetail.js +35 -34
- package/dist/cjs/types/Enum/RoleDetail.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +5 -0
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js +23 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/QueryPayment.d.ts +3 -0
- package/dist/cjs/types/Interface/api/payment/QueryPayment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/QueryPayment.js +12 -1
- package/dist/cjs/types/Interface/api/payment/QueryPayment.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/ReadPayment.d.ts +5 -0
- package/dist/cjs/types/Interface/api/payment/ReadPayment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/ReadPayment.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAnnotation.d.ts +12 -0
- package/dist/cjs/types/Interface/models/IAnnotation.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IAnnotation.js +3 -0
- package/dist/cjs/types/Interface/models/IAnnotation.js.map +1 -0
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +2 -1
- package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Payment.js +3 -0
- package/dist/mjs/api/resources/Payment.js.map +1 -1
- package/dist/mjs/api/resources/Transaction.d.ts +2 -1
- package/dist/mjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/mjs/api/resources/Transaction.js +3 -0
- package/dist/mjs/api/resources/Transaction.js.map +1 -1
- package/dist/mjs/types/Enum/Account.d.ts +8 -0
- package/dist/mjs/types/Enum/Account.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Account.js +8 -0
- package/dist/mjs/types/Enum/Account.js.map +1 -1
- package/dist/mjs/types/Enum/Annotation.d.ts +10 -0
- package/dist/mjs/types/Enum/Annotation.d.ts.map +1 -0
- package/dist/mjs/types/Enum/Annotation.js +11 -0
- package/dist/mjs/types/Enum/Annotation.js.map +1 -0
- package/dist/mjs/types/Enum/MealExpenseThresholds.d.ts.map +1 -1
- package/dist/mjs/types/Enum/MealExpenseThresholds.js +4 -0
- package/dist/mjs/types/Enum/MealExpenseThresholds.js.map +1 -1
- package/dist/mjs/types/Enum/RoleDetail.d.ts +35 -34
- package/dist/mjs/types/Enum/RoleDetail.d.ts.map +1 -1
- package/dist/mjs/types/Enum/RoleDetail.js +35 -34
- package/dist/mjs/types/Enum/RoleDetail.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +5 -0
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js +24 -0
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/QueryPayment.d.ts +3 -0
- package/dist/mjs/types/Interface/api/payment/QueryPayment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/QueryPayment.js +13 -2
- package/dist/mjs/types/Interface/api/payment/QueryPayment.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/ReadPayment.d.ts +5 -0
- package/dist/mjs/types/Interface/api/payment/ReadPayment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/ReadPayment.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAnnotation.d.ts +12 -0
- package/dist/mjs/types/Interface/models/IAnnotation.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IAnnotation.js +2 -0
- package/dist/mjs/types/Interface/models/IAnnotation.js.map +1 -0
- package/dist/mjs/types/index.d.ts +2 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Payment.ts +5 -1
- package/ts/api/resources/Transaction.ts +6 -0
- package/ts/types/Enum/Account.ts +8 -0
- package/ts/types/Enum/Annotation.ts +9 -0
- package/ts/types/Enum/MealExpenseThresholds.ts +4 -0
- package/ts/types/Enum/RoleDetail.ts +36 -34
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +18 -0
- package/ts/types/Interface/api/payment/QueryPayment.ts +11 -2
- package/ts/types/Interface/api/payment/ReadPayment.ts +6 -0
- package/ts/types/Interface/models/IAnnotation.ts +12 -0
- package/ts/types/index.ts +2 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { Role } from './Role';
|
|
2
|
+
|
|
1
3
|
export const RoleDetail = {
|
|
2
4
|
CLIENT: {
|
|
3
|
-
id:
|
|
5
|
+
id: Role.CLIENT,
|
|
4
6
|
name: 'Client',
|
|
5
7
|
colorPrimary: '#8765D0',
|
|
6
8
|
colorSecondary: '#DED7F6',
|
|
@@ -8,7 +10,7 @@ export const RoleDetail = {
|
|
|
8
10
|
subRole: false,
|
|
9
11
|
},
|
|
10
12
|
ADMIN: {
|
|
11
|
-
id:
|
|
13
|
+
id: Role.ADMIN,
|
|
12
14
|
name: 'Admin',
|
|
13
15
|
colorPrimary: '#8765D0',
|
|
14
16
|
colorSecondary: '#DED7F6',
|
|
@@ -16,7 +18,7 @@ export const RoleDetail = {
|
|
|
16
18
|
subRole: false,
|
|
17
19
|
},
|
|
18
20
|
FRONT_OFFICE: {
|
|
19
|
-
id:
|
|
21
|
+
id: Role.ACCOUNTANT,
|
|
20
22
|
name: 'Comptable',
|
|
21
23
|
colorPrimary: '#8765D0',
|
|
22
24
|
colorSecondary: '#DED7F6',
|
|
@@ -29,7 +31,7 @@ export const RoleDetail = {
|
|
|
29
31
|
cnVpn: 'COMPTABLE',
|
|
30
32
|
},
|
|
31
33
|
COMMERCIAL: {
|
|
32
|
-
id:
|
|
34
|
+
id: Role.COMMERCIAL,
|
|
33
35
|
name: 'Commercial',
|
|
34
36
|
colorPrimary: '#8765D0',
|
|
35
37
|
colorSecondary: '#DED7F6',
|
|
@@ -42,7 +44,7 @@ export const RoleDetail = {
|
|
|
42
44
|
cnVpn: 'COMMERCIAL',
|
|
43
45
|
},
|
|
44
46
|
CUSTOMER_SUCCESS: {
|
|
45
|
-
id:
|
|
47
|
+
id: Role.CUSTOMER_SUCCESS,
|
|
46
48
|
name: 'Customer success',
|
|
47
49
|
colorPrimary: '#5894EF',
|
|
48
50
|
colorSecondary: '#DAEEFC',
|
|
@@ -56,7 +58,7 @@ export const RoleDetail = {
|
|
|
56
58
|
cnVpn: 'CUSTOMER_SUCCESS',
|
|
57
59
|
},
|
|
58
60
|
SOCIAL: {
|
|
59
|
-
id:
|
|
61
|
+
id: Role.SOCIAL,
|
|
60
62
|
name: 'Social',
|
|
61
63
|
colorPrimary: '#8765D0',
|
|
62
64
|
colorSecondary: '#DED7F6',
|
|
@@ -70,7 +72,7 @@ export const RoleDetail = {
|
|
|
70
72
|
|
|
71
73
|
},
|
|
72
74
|
JURIDIC: {
|
|
73
|
-
id:
|
|
75
|
+
id: Role.JURIDIC,
|
|
74
76
|
name: 'Juridique',
|
|
75
77
|
colorPrimary: '#8765D0',
|
|
76
78
|
colorSecondary: '#DED7F6',
|
|
@@ -98,7 +100,7 @@ export const RoleDetail = {
|
|
|
98
100
|
// subRole: false,
|
|
99
101
|
// },
|
|
100
102
|
FRONT_OFFICE_EXPRESS: {
|
|
101
|
-
id:
|
|
103
|
+
id: Role.FRONT_OFFICE_EXPRESS,
|
|
102
104
|
name: 'Comptable express',
|
|
103
105
|
colorPrimary: '#8765D0',
|
|
104
106
|
colorSecondary: '#DED7F6',
|
|
@@ -112,7 +114,7 @@ export const RoleDetail = {
|
|
|
112
114
|
|
|
113
115
|
},
|
|
114
116
|
SUPER_ADMIN: {
|
|
115
|
-
id:
|
|
117
|
+
id: Role.SUPER_ADMIN,
|
|
116
118
|
name: 'Super admin',
|
|
117
119
|
colorPrimary: '#8765D0',
|
|
118
120
|
colorSecondary: '#DED7F6',
|
|
@@ -120,7 +122,7 @@ export const RoleDetail = {
|
|
|
120
122
|
subRole: false,
|
|
121
123
|
},
|
|
122
124
|
EXPERT_SUB_CONTRACTOR: {
|
|
123
|
-
id:
|
|
125
|
+
id: Role.EXPERT_SUB_CONTRACTOR,
|
|
124
126
|
name: 'Expert sous-traitant',
|
|
125
127
|
colorPrimary: '#B5D33C',
|
|
126
128
|
colorSecondary: '#EEF4C3',
|
|
@@ -128,7 +130,7 @@ export const RoleDetail = {
|
|
|
128
130
|
subRole: false,
|
|
129
131
|
},
|
|
130
132
|
MAINTAINER: {
|
|
131
|
-
id:
|
|
133
|
+
id: Role.MAINTAINER,
|
|
132
134
|
name: 'Admin partenaire',
|
|
133
135
|
colorPrimary: '#8765D0',
|
|
134
136
|
colorSecondary: '#DED7F6',
|
|
@@ -136,7 +138,7 @@ export const RoleDetail = {
|
|
|
136
138
|
subRole: false,
|
|
137
139
|
},
|
|
138
140
|
MANAGER: {
|
|
139
|
-
id:
|
|
141
|
+
id: Role.MANAGER,
|
|
140
142
|
name: 'Manager',
|
|
141
143
|
colorPrimary: '#8765D0',
|
|
142
144
|
colorSecondary: '#DED7F6',
|
|
@@ -145,7 +147,7 @@ export const RoleDetail = {
|
|
|
145
147
|
handledInUserSocietyPermissionTable: false,
|
|
146
148
|
},
|
|
147
149
|
EXPERT_ACCOUNTANT: {
|
|
148
|
-
id:
|
|
150
|
+
id: Role.EXPERT_ACCOUNTANT,
|
|
149
151
|
name: 'Expert-comptable',
|
|
150
152
|
colorPrimary: '#B5D33C',
|
|
151
153
|
colorSecondary: '#EEF4C3',
|
|
@@ -171,7 +173,7 @@ export const RoleDetail = {
|
|
|
171
173
|
// subRole: false,
|
|
172
174
|
// },
|
|
173
175
|
CANDIDAT: {
|
|
174
|
-
id:
|
|
176
|
+
id: Role.CANDIDAT,
|
|
175
177
|
name: 'Candidat',
|
|
176
178
|
colorPrimary: '#8765D0',
|
|
177
179
|
colorSecondary: '#DED7F6',
|
|
@@ -179,7 +181,7 @@ export const RoleDetail = {
|
|
|
179
181
|
subRole: false,
|
|
180
182
|
},
|
|
181
183
|
DEVELOPER: {
|
|
182
|
-
id:
|
|
184
|
+
id: Role.DEVELOPER,
|
|
183
185
|
name: 'Développeur',
|
|
184
186
|
colorPrimary: '#8765D0',
|
|
185
187
|
colorSecondary: '#DED7F6',
|
|
@@ -190,7 +192,7 @@ export const RoleDetail = {
|
|
|
190
192
|
phoneNumberStatutsExpress: '',
|
|
191
193
|
},
|
|
192
194
|
API: {
|
|
193
|
-
id:
|
|
195
|
+
id: Role.API,
|
|
194
196
|
name: 'API',
|
|
195
197
|
colorPrimary: '#8765D0',
|
|
196
198
|
colorSecondary: '#DED7F6',
|
|
@@ -242,7 +244,7 @@ export const RoleDetail = {
|
|
|
242
244
|
// subRole: false,
|
|
243
245
|
// },
|
|
244
246
|
FACTURATION: {
|
|
245
|
-
id:
|
|
247
|
+
id: Role.FACTURATION,
|
|
246
248
|
name: 'Facturation',
|
|
247
249
|
colorPrimary: '#8765D0',
|
|
248
250
|
colorSecondary: '#DED7F6',
|
|
@@ -255,7 +257,7 @@ export const RoleDetail = {
|
|
|
255
257
|
cnVpn: 'FACTURATION',
|
|
256
258
|
},
|
|
257
259
|
HUMAN_RESSOURCES: {
|
|
258
|
-
id:
|
|
260
|
+
id: Role.HUMAN_RESSOURCES,
|
|
259
261
|
name: 'Ressources humaines',
|
|
260
262
|
colorPrimary: '#8765D0',
|
|
261
263
|
colorSecondary: '#DED7F6',
|
|
@@ -264,7 +266,7 @@ export const RoleDetail = {
|
|
|
264
266
|
cnVpn: 'RH',
|
|
265
267
|
},
|
|
266
268
|
PARTNERED_ACCOUNTANT: {
|
|
267
|
-
id:
|
|
269
|
+
id: Role.PARTNERED_ACCOUNTANT,
|
|
268
270
|
name: 'Comptable partenaire',
|
|
269
271
|
colorPrimary: '#8765D0',
|
|
270
272
|
colorSecondary: '#DED7F6',
|
|
@@ -272,7 +274,7 @@ export const RoleDetail = {
|
|
|
272
274
|
subRole: false,
|
|
273
275
|
},
|
|
274
276
|
SDR: {
|
|
275
|
-
id:
|
|
277
|
+
id: Role.SDR,
|
|
276
278
|
name: 'SDR',
|
|
277
279
|
colorPrimary: '#8765D0',
|
|
278
280
|
colorSecondary: '#DED7F6',
|
|
@@ -280,7 +282,7 @@ export const RoleDetail = {
|
|
|
280
282
|
subRole: false,
|
|
281
283
|
},
|
|
282
284
|
FORECAST_MANAGER: {
|
|
283
|
-
id:
|
|
285
|
+
id: Role.FORECAST_MANAGER,
|
|
284
286
|
name: 'Gestionnaire Prévisionnels',
|
|
285
287
|
colorPrimary: '#8765D0',
|
|
286
288
|
colorSecondary: '#DED7F6',
|
|
@@ -288,7 +290,7 @@ export const RoleDetail = {
|
|
|
288
290
|
subRole: false,
|
|
289
291
|
},
|
|
290
292
|
TERMINATION: {
|
|
291
|
-
id:
|
|
293
|
+
id: Role.TERMINATION,
|
|
292
294
|
name: 'Résiliation',
|
|
293
295
|
colorPrimary: '#8765D0',
|
|
294
296
|
colorSecondary: '#DED7F6',
|
|
@@ -297,7 +299,7 @@ export const RoleDetail = {
|
|
|
297
299
|
subRole: false,
|
|
298
300
|
},
|
|
299
301
|
EXPRESS_MANAGER: {
|
|
300
|
-
id:
|
|
302
|
+
id: Role.EXPRESS_MANAGER,
|
|
301
303
|
name: 'Gestionnaire Express',
|
|
302
304
|
colorPrimary: '#8765D0',
|
|
303
305
|
colorSecondary: '#DED7F6',
|
|
@@ -307,7 +309,7 @@ export const RoleDetail = {
|
|
|
307
309
|
cnVpn: 'COMPTABLE',
|
|
308
310
|
},
|
|
309
311
|
LITIGE: {
|
|
310
|
-
id:
|
|
312
|
+
id: Role.LITIGE,
|
|
311
313
|
name: 'Litige',
|
|
312
314
|
colorPrimary: '#8765D0',
|
|
313
315
|
colorSecondary: '#DED7F6',
|
|
@@ -316,7 +318,7 @@ export const RoleDetail = {
|
|
|
316
318
|
subRole: false,
|
|
317
319
|
},
|
|
318
320
|
ATTESTATION_MANAGER: {
|
|
319
|
-
id:
|
|
321
|
+
id: Role.ATTESTATION_MANAGER,
|
|
320
322
|
name: 'Gestionnaire Attestations',
|
|
321
323
|
colorPrimary: '#8765D0',
|
|
322
324
|
colorSecondary: '#DED7F6',
|
|
@@ -325,7 +327,7 @@ export const RoleDetail = {
|
|
|
325
327
|
cnVpn: 'GESTION_PROJET',
|
|
326
328
|
},
|
|
327
329
|
JURIDICAL_SUPPORT: {
|
|
328
|
-
id:
|
|
330
|
+
id: Role.JURIDICAL_SUPPORT,
|
|
329
331
|
name: 'Support juridique',
|
|
330
332
|
colorPrimary: '#8765D0',
|
|
331
333
|
colorSecondary: '#DED7F6',
|
|
@@ -333,7 +335,7 @@ export const RoleDetail = {
|
|
|
333
335
|
subRole: false,
|
|
334
336
|
},
|
|
335
337
|
INTERN: {
|
|
336
|
-
id:
|
|
338
|
+
id: Role.INTERN,
|
|
337
339
|
name: 'Stagiaire',
|
|
338
340
|
colorPrimary: '#FFF',
|
|
339
341
|
colorSecondary: '#FFF',
|
|
@@ -341,7 +343,7 @@ export const RoleDetail = {
|
|
|
341
343
|
subRole: true,
|
|
342
344
|
},
|
|
343
345
|
ALTERNATE: {
|
|
344
|
-
id:
|
|
346
|
+
id: Role.ALTERNATE,
|
|
345
347
|
name: 'Alternant',
|
|
346
348
|
colorPrimary: '#FFF',
|
|
347
349
|
colorSecondary: '#FFF',
|
|
@@ -349,7 +351,7 @@ export const RoleDetail = {
|
|
|
349
351
|
subRole: true,
|
|
350
352
|
},
|
|
351
353
|
DIRECTOR: {
|
|
352
|
-
id:
|
|
354
|
+
id: Role.DIRECTOR,
|
|
353
355
|
name: 'Directeur',
|
|
354
356
|
colorPrimary: '#FFF',
|
|
355
357
|
colorSecondary: '#FFF',
|
|
@@ -357,7 +359,7 @@ export const RoleDetail = {
|
|
|
357
359
|
subRole: true,
|
|
358
360
|
},
|
|
359
361
|
REFERENT_LITIGE: {
|
|
360
|
-
id:
|
|
362
|
+
id: Role.REFERENT_LITIGE,
|
|
361
363
|
name: 'Référent litige',
|
|
362
364
|
colorPrimary: '#FFF',
|
|
363
365
|
colorSecondary: '#FFF',
|
|
@@ -365,7 +367,7 @@ export const RoleDetail = {
|
|
|
365
367
|
subRole: false,
|
|
366
368
|
},
|
|
367
369
|
REFERENT_CLIENT: {
|
|
368
|
-
id:
|
|
370
|
+
id: Role.REFERENT_CLIENT,
|
|
369
371
|
name: 'Référent client',
|
|
370
372
|
colorPrimary: '#FFF',
|
|
371
373
|
colorSecondary: '#FFF',
|
|
@@ -373,7 +375,7 @@ export const RoleDetail = {
|
|
|
373
375
|
subRole: false,
|
|
374
376
|
},
|
|
375
377
|
CONTROL_INTERN: {
|
|
376
|
-
id:
|
|
378
|
+
id: Role.CONTROL_INTERN,
|
|
377
379
|
name: 'Contrôle interne',
|
|
378
380
|
colorPrimary: '#FFF',
|
|
379
381
|
colorSecondary: '#FFF',
|
|
@@ -381,7 +383,7 @@ export const RoleDetail = {
|
|
|
381
383
|
subRole: false,
|
|
382
384
|
},
|
|
383
385
|
ON_BOARDER: {
|
|
384
|
-
id:
|
|
386
|
+
id: Role.ON_BOARDER,
|
|
385
387
|
name: 'On boarder',
|
|
386
388
|
colorPrimary: '#8765D0',
|
|
387
389
|
colorSecondary: '#DED7F6',
|
|
@@ -391,7 +393,7 @@ export const RoleDetail = {
|
|
|
391
393
|
cnVpn: 'CUSTOMER_SUCCESS',
|
|
392
394
|
},
|
|
393
395
|
DATA_OFFICER: {
|
|
394
|
-
id:
|
|
396
|
+
id: Role.DATA_OFFICER,
|
|
395
397
|
name: 'Data Officer',
|
|
396
398
|
colorPrimary: '#5894EF',
|
|
397
399
|
colorSecondary: '#DAEEFC',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
2
|
import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation';
|
|
3
3
|
import { AccountingJournal } from '../../../Enum/AccountingJournal';
|
|
4
|
+
import { IsDateString, IsInt, IsOptional } from 'class-validator';
|
|
4
5
|
|
|
5
6
|
export class QueryTransaction {
|
|
6
7
|
id: number;
|
|
@@ -66,4 +67,21 @@ export class QueryGetAllTransactions {
|
|
|
66
67
|
|
|
67
68
|
@ApiPropertyOptional()
|
|
68
69
|
idFile?: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class QueryAutomaticAnnotation {
|
|
73
|
+
@ApiPropertyOptional()
|
|
74
|
+
@IsInt()
|
|
75
|
+
@IsOptional()
|
|
76
|
+
idSociety: number;
|
|
77
|
+
|
|
78
|
+
@ApiPropertyOptional()
|
|
79
|
+
@IsDateString()
|
|
80
|
+
@IsOptional()
|
|
81
|
+
startDate: string;
|
|
82
|
+
|
|
83
|
+
@ApiPropertyOptional()
|
|
84
|
+
@IsDateString()
|
|
85
|
+
@IsOptional()
|
|
86
|
+
endDate: string;
|
|
69
87
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { IsDefined } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '../../../../utils';
|
|
1
|
+
import { IsBoolean, IsDefined, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
3
4
|
|
|
4
5
|
export class QueryPaymentCsv {
|
|
5
6
|
@IsDefined()
|
|
@@ -19,4 +20,12 @@ export class QueryPaymentCsv {
|
|
|
19
20
|
example: '2022-03-31',
|
|
20
21
|
})
|
|
21
22
|
endDate: Date;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export class QueryPaymentInvoice {
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsBoolean()
|
|
28
|
+
@ToBoolean()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
unpaid?: boolean;
|
|
22
31
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AnnotationType } from '../../Enum/Annotation';
|
|
2
|
+
import { AnnotateAccountingTransaction } from '../api/accountingEntry/AnnotateAccountingTransaction';
|
|
3
|
+
|
|
4
|
+
export interface IAnnotation {
|
|
5
|
+
id?: number;
|
|
6
|
+
details: AnnotateAccountingTransaction;
|
|
7
|
+
type: AnnotationType;
|
|
8
|
+
idUser: number | null;
|
|
9
|
+
idAccountingTransaction: number;
|
|
10
|
+
createdAt?: Date;
|
|
11
|
+
updatedAt?: Date;
|
|
12
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -331,6 +331,7 @@ export * from './Interface/models/IUserSpecialDay';
|
|
|
331
331
|
export * from './Interface/models/ICollaboraterDetail';
|
|
332
332
|
export * from './Interface/models/IExpertAnnuary';
|
|
333
333
|
export * from './Interface/models/IUserTimeSlot';
|
|
334
|
+
export * from './Interface/models/IAnnotation';
|
|
334
335
|
|
|
335
336
|
|
|
336
337
|
// Schemas
|
|
@@ -495,6 +496,7 @@ export * from './Enum/OperationLegalNotice';
|
|
|
495
496
|
export * from './Enum/OrderStatus';
|
|
496
497
|
export * from './Enum/ReportService';
|
|
497
498
|
export * from './Enum/RegulateType';
|
|
499
|
+
export * from './Enum/Annotation';
|
|
498
500
|
export * from './Enum/ProcessingState';
|
|
499
501
|
export * from './Enum/InpiType';
|
|
500
502
|
export * from './Enum/DepositDocumentType';
|