@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.
Files changed (55) hide show
  1. package/es/api/resources/Revision.d.ts +1 -0
  2. package/es/api/resources/Revision.d.ts.map +1 -1
  3. package/es/api/resources/Revision.js +3 -0
  4. package/es/api/resources/Revision.js.map +1 -1
  5. package/es/api/resources/ThirdParty.d.ts +4 -1
  6. package/es/api/resources/ThirdParty.d.ts.map +1 -1
  7. package/es/api/resources/ThirdParty.js +9 -0
  8. package/es/api/resources/ThirdParty.js.map +1 -1
  9. package/es/api/resources/TimeRecorder.d.ts +2 -1
  10. package/es/api/resources/TimeRecorder.d.ts.map +1 -1
  11. package/es/api/resources/TimeRecorder.js +3 -0
  12. package/es/api/resources/TimeRecorder.js.map +1 -1
  13. package/es/api/resources/Transaction.d.ts +1 -0
  14. package/es/api/resources/Transaction.d.ts.map +1 -1
  15. package/es/api/resources/Transaction.js +3 -0
  16. package/es/api/resources/Transaction.js.map +1 -1
  17. package/es/types/Enum/TaskResponseType.d.ts +11 -64
  18. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  19. package/es/types/Enum/TaskResponseType.js +77 -67
  20. package/es/types/Enum/TaskResponseType.js.map +1 -1
  21. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -1
  22. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
  23. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  24. package/es/types/Interface/api/timeRecorder/UpdateRecorder.d.ts +5 -0
  25. package/es/types/Interface/api/timeRecorder/UpdateRecorder.d.ts.map +1 -0
  26. package/es/types/Interface/api/timeRecorder/UpdateRecorder.js +25 -0
  27. package/es/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -0
  28. package/es/types/index.d.ts +1 -0
  29. package/es/types/index.d.ts.map +1 -1
  30. package/es/types/index.js +1 -0
  31. package/es/types/index.js.map +1 -1
  32. package/js/api/resources/Revision.js +7 -0
  33. package/js/api/resources/Revision.js.map +1 -1
  34. package/js/api/resources/ThirdParty.js +12 -0
  35. package/js/api/resources/ThirdParty.js.map +1 -1
  36. package/js/api/resources/TimeRecorder.js +4 -0
  37. package/js/api/resources/TimeRecorder.js.map +1 -1
  38. package/js/api/resources/Transaction.js +4 -0
  39. package/js/api/resources/Transaction.js.map +1 -1
  40. package/js/types/Enum/TaskResponseType.js +77 -67
  41. package/js/types/Enum/TaskResponseType.js.map +1 -1
  42. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  43. package/js/types/Interface/api/timeRecorder/UpdateRecorder.js +31 -0
  44. package/js/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -0
  45. package/js/types/index.js +12 -0
  46. package/js/types/index.js.map +1 -1
  47. package/package.json +1 -1
  48. package/ts/api/resources/Revision.ts +4 -0
  49. package/ts/api/resources/ThirdParty.ts +13 -1
  50. package/ts/api/resources/TimeRecorder.ts +4 -1
  51. package/ts/api/resources/Transaction.ts +5 -0
  52. package/ts/types/Enum/TaskResponseType.ts +77 -67
  53. package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +1 -1
  54. package/ts/types/Interface/api/timeRecorder/UpdateRecorder.ts +13 -0
  55. 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.MAIL.id,
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
- id: 4,
61
- label: 'Support technique',
62
- responseType: ResponseType.CALL.id,
63
- weight: 6,
64
- isExterne: true,
65
- idMailAuto: null,
66
- schedule: 15,
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
- id: 9,
106
- label: 'Pv d\'AG/Approbation',
107
- responseType: ResponseType.INTERN_ACTIVITY.id,
108
- weight: 4,
109
- isExterne: true,
110
- idMailAuto: null,
111
- schedule: 15,
112
- },
113
- DIVIDENDES: {
114
- id: 10,
115
- label: 'Dividendes',
116
- responseType: ResponseType.INTERN_ACTIVITY.id,
117
- weight: 6,
118
- isExterne: true,
119
- idMailAuto: null,
120
- schedule: 15,
121
- },
122
- CREATION_SOCIETE: {
123
- id: 11,
124
- label: 'Creation société',
125
- responseType: ResponseType.INTERN_ACTIVITY.id,
126
- weight: 8,
127
- isExterne: true,
128
- idMailAuto: null,
129
- schedule: 15,
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: 4,
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.CALL.id,
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.CALL.id,
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';