@silexpert/core 0.4.233 → 0.4.239
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/es/api/resources/Revision.d.ts +1 -0
- package/es/api/resources/Revision.d.ts.map +1 -1
- package/es/api/resources/Revision.js +3 -0
- package/es/api/resources/Revision.js.map +1 -1
- package/es/api/resources/ThirdParty.d.ts +4 -1
- package/es/api/resources/ThirdParty.d.ts.map +1 -1
- package/es/api/resources/ThirdParty.js +9 -0
- package/es/api/resources/ThirdParty.js.map +1 -1
- package/es/api/resources/TimeRecorder.d.ts +2 -1
- package/es/api/resources/TimeRecorder.d.ts.map +1 -1
- package/es/api/resources/TimeRecorder.js +3 -0
- package/es/api/resources/TimeRecorder.js.map +1 -1
- package/es/api/resources/Transaction.d.ts +1 -0
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +3 -0
- package/es/api/resources/Transaction.js.map +1 -1
- package/es/types/Enum/TaskResponseType.d.ts +11 -64
- package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/es/types/Enum/TaskResponseType.js +77 -67
- package/es/types/Enum/TaskResponseType.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/es/types/Interface/api/timeRecorder/UpdateRecorder.d.ts +5 -0
- package/es/types/Interface/api/timeRecorder/UpdateRecorder.d.ts.map +1 -0
- package/es/types/Interface/api/timeRecorder/UpdateRecorder.js +25 -0
- package/es/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -0
- package/es/types/index.d.ts +1 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Revision.js +7 -0
- package/js/api/resources/Revision.js.map +1 -1
- package/js/api/resources/ThirdParty.js +12 -0
- package/js/api/resources/ThirdParty.js.map +1 -1
- package/js/api/resources/TimeRecorder.js +4 -0
- package/js/api/resources/TimeRecorder.js.map +1 -1
- package/js/api/resources/Transaction.js +4 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/types/Enum/TaskResponseType.js +77 -67
- package/js/types/Enum/TaskResponseType.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/js/types/Interface/api/timeRecorder/UpdateRecorder.js +31 -0
- package/js/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -0
- package/js/types/index.js +12 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Revision.ts +4 -0
- package/ts/api/resources/ThirdParty.ts +13 -1
- package/ts/api/resources/TimeRecorder.ts +4 -1
- package/ts/api/resources/Transaction.ts +5 -0
- package/ts/types/Enum/TaskResponseType.ts +77 -67
- package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +1 -1
- package/ts/types/Interface/api/timeRecorder/UpdateRecorder.ts +13 -0
- package/ts/types/index.ts +1 -0
|
@@ -26,13 +26,14 @@ export enum StateTask {
|
|
|
26
26
|
TODO = 1,
|
|
27
27
|
DO = 2,
|
|
28
28
|
NOTDO = 3,
|
|
29
|
+
REFUSED = 4,
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
export const TaskResponseType = {
|
|
32
33
|
DEMANDE_ATTESTATION: {
|
|
33
34
|
id: 1,
|
|
34
35
|
label: 'Demande attestation',
|
|
35
|
-
responseType: ResponseType.
|
|
36
|
+
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
36
37
|
weight: 2,
|
|
37
38
|
isExterne: true,
|
|
38
39
|
idMailAuto: null,
|
|
@@ -56,15 +57,15 @@ export const TaskResponseType = {
|
|
|
56
57
|
idMailAuto: null,
|
|
57
58
|
schedule: 15,
|
|
58
59
|
},
|
|
59
|
-
SUPPORT_TECHNIQUE: {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
},
|
|
60
|
+
// SUPPORT_TECHNIQUE: {
|
|
61
|
+
// id: 4,
|
|
62
|
+
// label: 'Support technique',
|
|
63
|
+
// responseType: ResponseType.CALL.id,
|
|
64
|
+
// weight: 6,
|
|
65
|
+
// isExterne: true,
|
|
66
|
+
// idMailAuto: null,
|
|
67
|
+
// schedule: 15,
|
|
68
|
+
// },
|
|
68
69
|
SUIVI_BILAN: {
|
|
69
70
|
id: 5,
|
|
70
71
|
label: 'Suivi bilan',
|
|
@@ -101,73 +102,73 @@ export const TaskResponseType = {
|
|
|
101
102
|
idMailAuto: null,
|
|
102
103
|
schedule: 30,
|
|
103
104
|
},
|
|
104
|
-
PV_AG_APPROBATION: {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
},
|
|
113
|
-
DIVIDENDES: {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
},
|
|
122
|
-
CREATION_SOCIETE: {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
},
|
|
105
|
+
// PV_AG_APPROBATION: {
|
|
106
|
+
// id: 9,
|
|
107
|
+
// label: 'Pv d\'AG/Approbation',
|
|
108
|
+
// responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
109
|
+
// weight: 4,
|
|
110
|
+
// isExterne: true,
|
|
111
|
+
// idMailAuto: null,
|
|
112
|
+
// schedule: 15,
|
|
113
|
+
// },
|
|
114
|
+
// DIVIDENDES: {
|
|
115
|
+
// id: 10,
|
|
116
|
+
// label: 'Dividendes',
|
|
117
|
+
// responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
118
|
+
// weight: 6,
|
|
119
|
+
// isExterne: true,
|
|
120
|
+
// idMailAuto: null,
|
|
121
|
+
// schedule: 15,
|
|
122
|
+
// },
|
|
123
|
+
// CREATION_SOCIETE: {
|
|
124
|
+
// id: 11,
|
|
125
|
+
// label: 'Creation société',
|
|
126
|
+
// responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
127
|
+
// weight: 8,
|
|
128
|
+
// isExterne: true,
|
|
129
|
+
// idMailAuto: null,
|
|
130
|
+
// schedule: 15,
|
|
131
|
+
// },
|
|
131
132
|
QUESTIONS_JURIDIQUES: {
|
|
132
133
|
id: 12,
|
|
133
134
|
label: 'Questions juridiques',
|
|
134
|
-
responseType: ResponseType.CALL.id,
|
|
135
|
-
weight: 6,
|
|
136
|
-
isExterne: true,
|
|
137
|
-
idMailAuto: null,
|
|
138
|
-
schedule: 15,
|
|
139
|
-
},
|
|
140
|
-
BULLETIN_PAIE: {
|
|
141
|
-
id: 13,
|
|
142
|
-
label: 'Bulletin de paie',
|
|
143
|
-
responseType: ResponseType.MAIL.id,
|
|
144
|
-
weight: 2,
|
|
145
|
-
isExterne: true,
|
|
146
|
-
idMailAuto: null,
|
|
147
|
-
schedule: 15,
|
|
148
|
-
},
|
|
149
|
-
DECLARATIONS: {
|
|
150
|
-
id: 14,
|
|
151
|
-
label: 'Déclarations',
|
|
152
|
-
responseType: ResponseType.MAIL.id,
|
|
153
|
-
weight: 3,
|
|
154
|
-
isExterne: true,
|
|
155
|
-
idMailAuto: null,
|
|
156
|
-
schedule: 15,
|
|
157
|
-
},
|
|
158
|
-
EMBAUCHE: {
|
|
159
|
-
id: 15,
|
|
160
|
-
label: 'Embauche',
|
|
161
135
|
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
162
|
-
weight:
|
|
136
|
+
weight: 6,
|
|
163
137
|
isExterne: true,
|
|
164
138
|
idMailAuto: null,
|
|
165
139
|
schedule: 15,
|
|
166
140
|
},
|
|
141
|
+
// BULLETIN_PAIE: {
|
|
142
|
+
// id: 13,
|
|
143
|
+
// label: 'Bulletin de paie',
|
|
144
|
+
// responseType: ResponseType.MAIL.id,
|
|
145
|
+
// weight: 2,
|
|
146
|
+
// isExterne: true,
|
|
147
|
+
// idMailAuto: null,
|
|
148
|
+
// schedule: 15,
|
|
149
|
+
// },
|
|
150
|
+
// DECLARATIONS: {
|
|
151
|
+
// id: 14,
|
|
152
|
+
// label: 'Déclarations',
|
|
153
|
+
// responseType: ResponseType.MAIL.id,
|
|
154
|
+
// weight: 3,
|
|
155
|
+
// isExterne: true,
|
|
156
|
+
// idMailAuto: null,
|
|
157
|
+
// schedule: 15,
|
|
158
|
+
// },
|
|
159
|
+
// EMBAUCHE: {
|
|
160
|
+
// id: 15,
|
|
161
|
+
// label: 'Embauche',
|
|
162
|
+
// responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
163
|
+
// weight: 4,
|
|
164
|
+
// isExterne: true,
|
|
165
|
+
// idMailAuto: null,
|
|
166
|
+
// schedule: 15,
|
|
167
|
+
// },
|
|
167
168
|
QUESTIONS_SOCIALES: {
|
|
168
169
|
id: 16,
|
|
169
170
|
label: 'Questions sociales',
|
|
170
|
-
responseType: ResponseType.
|
|
171
|
+
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
171
172
|
weight: 5,
|
|
172
173
|
isExterne: true,
|
|
173
174
|
idMailAuto: null,
|
|
@@ -275,7 +276,7 @@ export const TaskResponseType = {
|
|
|
275
276
|
RESILIATION: {
|
|
276
277
|
id: 28,
|
|
277
278
|
label: 'Résiliation',
|
|
278
|
-
responseType: ResponseType.
|
|
279
|
+
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
279
280
|
weight: 6,
|
|
280
281
|
isExterne: true,
|
|
281
282
|
idMailAuto: null,
|
|
@@ -290,4 +291,13 @@ export const TaskResponseType = {
|
|
|
290
291
|
idMailAuto: null,
|
|
291
292
|
schedule: 30,
|
|
292
293
|
},
|
|
294
|
+
RELATION_CLIENT: {
|
|
295
|
+
id: 30,
|
|
296
|
+
label: 'Relation client',
|
|
297
|
+
responseType: ResponseType.INTERN_ACTIVITY.id,
|
|
298
|
+
weight: 6,
|
|
299
|
+
isExterne: true,
|
|
300
|
+
idMailAuto: null,
|
|
301
|
+
schedule: 30,
|
|
302
|
+
},
|
|
293
303
|
};
|
|
@@ -82,7 +82,7 @@ export class QueryRevisionSearchEntries {
|
|
|
82
82
|
@ApiPropertyOptional({ default: 'date' })
|
|
83
83
|
@IsString()
|
|
84
84
|
@IsOptional()
|
|
85
|
-
orderBy?: 'date' | 'accountNumber';
|
|
85
|
+
orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate';
|
|
86
86
|
|
|
87
87
|
@ApiPropertyOptional()
|
|
88
88
|
@IsBoolean()
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IsString, IsDateString, IsNumber } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class UpdateRecorder {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsString()
|
|
7
|
+
@IsDateString()
|
|
8
|
+
date: string;
|
|
9
|
+
|
|
10
|
+
@ApiProperty()
|
|
11
|
+
@IsNumber()
|
|
12
|
+
idUser: number;
|
|
13
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -570,6 +570,7 @@ export * from './Interface/api/timeRecorder/QueryPaginatedDelays';
|
|
|
570
570
|
export * from './Interface/api/timeRecorder/ReadAttendanceHours';
|
|
571
571
|
export * from './Interface/api/timeRecorder/ReadPaginatedDelays';
|
|
572
572
|
export * from './Interface/api/timeRecorder/ReadUsersNotConnected';
|
|
573
|
+
export * from './Interface/api/timeRecorder/UpdateRecorder';
|
|
573
574
|
|
|
574
575
|
// export * from './Interface/api/survey/QuerySurvey';
|
|
575
576
|
export * from './Interface/api/survey/ReadSurvey';
|