@silexpert/core 0.4.282 → 0.4.283

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 (54) hide show
  1. package/es/api/resources/CalendarEvent.d.ts +2 -1
  2. package/es/api/resources/CalendarEvent.d.ts.map +1 -1
  3. package/es/api/resources/CalendarEvent.js +2 -2
  4. package/es/api/resources/CalendarEvent.js.map +1 -1
  5. package/es/api/resources/TerminationList.d.ts +7 -0
  6. package/es/api/resources/TerminationList.d.ts.map +1 -0
  7. package/es/api/resources/TerminationList.js +10 -0
  8. package/es/api/resources/TerminationList.js.map +1 -0
  9. package/es/api/resources.d.ts +3 -1
  10. package/es/api/resources.d.ts.map +1 -1
  11. package/es/api/resources.js +3 -1
  12. package/es/api/resources.js.map +1 -1
  13. package/es/types/Enum/TimeCounterType.d.ts +40 -12
  14. package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
  15. package/es/types/Enum/TimeCounterType.js +40 -12
  16. package/es/types/Enum/TimeCounterType.js.map +1 -1
  17. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts +1 -0
  18. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts.map +1 -1
  19. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.js.map +1 -1
  20. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts +17 -0
  21. package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +1 -0
  22. package/es/types/Interface/api/terminationList/DestroyTerminationList.js +96 -0
  23. package/es/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -0
  24. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts +17 -0
  25. package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +1 -0
  26. package/es/types/Interface/api/terminationList/QueryTerminationList.js +98 -0
  27. package/es/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -0
  28. package/es/types/index.d.ts +2 -0
  29. package/es/types/index.d.ts.map +1 -1
  30. package/es/types/index.js +2 -0
  31. package/es/types/index.js.map +1 -1
  32. package/js/api/resources/CalendarEvent.js +5 -3
  33. package/js/api/resources/CalendarEvent.js.map +1 -1
  34. package/js/api/resources/TerminationList.js +26 -0
  35. package/js/api/resources/TerminationList.js.map +1 -0
  36. package/js/api/resources.js +6 -3
  37. package/js/api/resources.js.map +1 -1
  38. package/js/types/Enum/TimeCounterType.js +68 -40
  39. package/js/types/Enum/TimeCounterType.js.map +1 -1
  40. package/js/types/Interface/api/terminationList/DestroyTerminationList.js +55 -0
  41. package/js/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -0
  42. package/js/types/Interface/api/terminationList/QueryTerminationList.js +55 -0
  43. package/js/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -0
  44. package/js/types/index.js +24 -0
  45. package/js/types/index.js.map +1 -1
  46. package/package.json +1 -1
  47. package/ts/api/resources/CalendarEvent.ts +3 -2
  48. package/ts/api/resources/TerminationList.ts +12 -0
  49. package/ts/api/resources.ts +3 -1
  50. package/ts/types/Enum/TimeCounterType.ts +40 -12
  51. package/ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts +1 -0
  52. package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +74 -0
  53. package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +76 -0
  54. package/ts/types/index.ts +2 -0
@@ -6,167 +6,195 @@ export const TimeCounterType = {
6
6
  label: 'OnBoarding',
7
7
  aberrantTime: 60,
8
8
  limitedRoles: [Role.FRONT_OFFICE],
9
+ color: 'fire',
9
10
  },
10
11
  VAT: {
11
12
  id: 2,
12
13
  label: 'TVA',
13
14
  aberrantTime: 60,
14
15
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
16
+ color: 'iris',
15
17
  },
16
18
  REVISION: {
17
19
  id: 3,
18
20
  label: 'Révision',
19
21
  aberrantTime: 120,
20
22
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
23
+ color: 'bubblegum-light',
21
24
  },
22
25
  FOLDER_REVIEW: {
23
26
  id: 4,
24
27
  label: 'Revue dossier',
25
28
  aberrantTime: 60,
26
29
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
30
+ color: 'cerulean',
27
31
  },
28
32
  REPORTING: {
29
33
  id: 5,
30
34
  label: 'Signalement',
31
35
  aberrantTime: 60,
32
36
  limitedRoles: [Role.CUSTOMER_SUCCESS],
37
+ color: 'lipstick-dark',
33
38
  },
34
39
  SYNCHRONISATION: {
35
40
  id: 6,
36
41
  label: 'Synchronisation',
37
42
  aberrantTime: 30,
38
43
  limitedRoles: [Role.CUSTOMER_SUCCESS],
44
+ color: 'orange-dark',
39
45
  },
40
46
  UNDER_SUPERVISION: {
41
47
  id: 7,
42
48
  label: 'En cours de supervision',
43
49
  aberrantTime: 45,
44
50
  limitedRoles: null,
51
+ color: 'orange-dark',
45
52
  },
46
53
  CLIENT_CONTACT: {
47
54
  id: 8,
48
55
  label: 'Contact client (Appel/mail/chat)',
49
- aberrantTime: null,
56
+ aberrantTime: 20,
50
57
  limitedRoles: null,
58
+ color: 'orange-light',
51
59
  },
52
60
  MEETING: {
53
61
  id: 9,
54
62
  label: 'Réunion',
55
- aberrantTime: null,
63
+ aberrantTime: 20,
56
64
  limitedRoles: null,
65
+ color: 'fern-dark',
57
66
  },
58
67
  FORMATION: {
59
68
  id: 10,
60
69
  label: 'Formation',
61
- aberrantTime: null,
70
+ aberrantTime: 20,
62
71
  limitedRoles: null,
72
+ color: 'fern',
63
73
  },
64
74
  FORECAST: {
65
75
  id: 11,
66
76
  label: 'Prévisionnel',
67
- aberrantTime: null,
77
+ aberrantTime: 20,
68
78
  limitedRoles: [Role.FRONT_OFFICE],
79
+ color: 'cerulean-light',
69
80
  },
70
81
  CERTIFICATE: {
71
82
  id: 12,
72
83
  label: 'Attestation',
73
- aberrantTime: null,
84
+ aberrantTime: 20,
74
85
  limitedRoles: [Role.CUSTOMER_SUCCESS],
86
+ color: 'lipstick-light',
75
87
  },
76
88
  COMPLEMENTARY_MISSION: {
77
89
  id: 13,
78
90
  label: 'Mission complémentaire',
79
- aberrantTime: null,
91
+ aberrantTime: 20,
80
92
  limitedRoles: [Role.FRONT_OFFICE],
93
+ color: 'cerulean-light',
81
94
  },
82
95
  ORGANISATION: {
83
96
  id: 14,
84
97
  label: 'Organisation',
85
- aberrantTime: null,
98
+ aberrantTime: 20,
86
99
  limitedRoles: null,
100
+ color: 'fern-light',
87
101
  },
88
102
  INTERNAL_ADVICE: {
89
103
  id: 15,
90
104
  label: 'Conseil interne',
91
- aberrantTime: null,
105
+ aberrantTime: 20,
92
106
  limitedRoles: null,
107
+ color: 'fern-light',
93
108
  },
94
109
  LAB: {
95
110
  id: 16,
96
111
  label: 'LAB',
97
- aberrantTime: null,
112
+ aberrantTime: 20,
98
113
  limitedRoles: [Role.EXPERT_ACCOUNTANT],
114
+ color: 'fire',
99
115
  },
100
116
  SUPERVISION: {
101
117
  id: 17,
102
118
  label: 'Supervision',
103
- aberrantTime: null,
119
+ aberrantTime: 20,
104
120
  limitedRoles: [Role.EXPERT_ACCOUNTANT, Role.MANAGER],
121
+ color: 'bubblegum-dark',
105
122
  },
106
123
  MAIL_PROCESSING: {
107
124
  id: 18,
108
125
  label: 'Traitement des courriers',
109
- aberrantTime: null,
126
+ aberrantTime: 20,
110
127
  limitedRoles: [Role.CUSTOMER_SUCCESS],
128
+ color: 'lipstick-light',
111
129
  },
112
130
  SUPPORT_PROCESSING: {
113
131
  id: 19,
114
132
  label: 'Traitement support',
115
- aberrantTime: null,
133
+ aberrantTime: 20,
116
134
  limitedRoles: [Role.CUSTOMER_SUCCESS],
135
+ color: 'error',
117
136
  },
118
137
  BILAN: {
119
138
  id: 20,
120
139
  label: 'Bilan',
121
140
  aberrantTime: 120,
122
141
  limitedRoles: [Role.FRONT_OFFICE, Role.EXPERT_ACCOUNTANT],
142
+ color: 'cerulean-dark',
123
143
  },
124
144
  PAYSLIP: {
125
145
  id: 21,
126
146
  label: 'Bulletin de paie/DSN',
127
147
  aberrantTime: 30,
128
148
  limitedRoles: [Role.SOCIAL],
149
+ color: 'guacamole',
129
150
  },
130
151
  SOCIAL_PARAMETER: {
131
152
  id: 22,
132
153
  label: 'Paramétrage social',
133
154
  aberrantTime: 40,
134
155
  limitedRoles: [Role.SOCIAL],
156
+ color: 'guacamole',
135
157
  },
136
158
  WORK_CONTRACT: {
137
159
  id: 23,
138
160
  label: 'Contrat de travail',
139
161
  aberrantTime: 60,
140
162
  limitedRoles: [Role.SOCIAL],
163
+ color: 'guacamole',
141
164
  },
142
165
  DPAE: {
143
166
  id: 24,
144
167
  label: 'DPAE',
145
168
  aberrantTime: 25,
146
169
  limitedRoles: [Role.SOCIAL],
170
+ color: 'guacamole',
147
171
  },
148
172
  FACTURATION: {
149
173
  id: 25,
150
174
  label: 'Facturation',
151
175
  aberrantTime: 180,
152
176
  limitedRoles: null,
177
+ color: 'success',
153
178
  },
154
179
  LEGAL_DOCUMENT: {
155
180
  id: 26,
156
181
  label: 'Rédaction documents juridiques',
157
182
  aberrantTime: 30,
158
183
  limitedRoles: [Role.JURIDIC],
184
+ color: 'caramel',
159
185
  },
160
186
  INFOGREFFE: {
161
187
  id: 27,
162
188
  label: 'Dépôt infogreffe ou autre',
163
189
  aberrantTime: 15,
164
190
  limitedRoles: [Role.JURIDIC],
191
+ color: 'caramel',
165
192
  },
166
193
  APPOINTMENT: {
167
194
  id: 28,
168
195
  label: 'Rdv client',
169
196
  aberrantTime: 15,
170
197
  limitedRoles: null,
198
+ color: 'orange-light',
171
199
  },
172
200
  };
@@ -10,4 +10,5 @@ export interface ReadAllCalendarEvent {
10
10
  deletable?: boolean,
11
11
  resizable?: boolean,
12
12
  draggable?: boolean,
13
+ color?: string
13
14
  }
@@ -0,0 +1,74 @@
1
+ import {
2
+ IsDateString, IsInt, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class DestroyTerminationList {
7
+ @ApiProperty()
8
+ @IsInt()
9
+ id: number;
10
+
11
+ @ApiPropertyOptional()
12
+ @IsOptional()
13
+ @IsString()
14
+ comment?: string;
15
+
16
+ @ApiPropertyOptional()
17
+ @IsOptional()
18
+ @IsDateString()
19
+ effectiveDate?: string;
20
+
21
+ @ApiPropertyOptional()
22
+ @IsOptional()
23
+ @IsDateString()
24
+ endContractDate?: string;
25
+
26
+ @ApiPropertyOptional()
27
+ @IsOptional()
28
+ @IsDateString()
29
+ recalledCustomer?: string;
30
+
31
+ @ApiPropertyOptional()
32
+ @IsOptional()
33
+ @IsDateString()
34
+ recalledCustomerBySupervisor?: string;
35
+
36
+ @ApiPropertyOptional()
37
+ @IsOptional()
38
+ @IsInt()
39
+ idExercice?: number;
40
+
41
+ @ApiPropertyOptional()
42
+ @IsOptional()
43
+ @IsInt()
44
+ refund?: number;
45
+
46
+ @ApiPropertyOptional()
47
+ @IsOptional()
48
+ @IsInt()
49
+ idReasonTermination?: number;
50
+
51
+ @ApiProperty()
52
+ @IsInt()
53
+ idSociety: number;
54
+
55
+ @ApiPropertyOptional()
56
+ @IsOptional()
57
+ @IsInt()
58
+ idPrestation?: number;
59
+
60
+ @ApiPropertyOptional()
61
+ @IsOptional()
62
+ @IsInt()
63
+ idCollaborateur?: number;
64
+
65
+ @ApiPropertyOptional()
66
+ @IsOptional()
67
+ @IsDateString()
68
+ createdAt?: string;
69
+
70
+ @ApiPropertyOptional()
71
+ @IsOptional()
72
+ @IsDateString()
73
+ updatedAt?: string;
74
+ }
@@ -0,0 +1,76 @@
1
+ import {
2
+ IsDateString, IsInt, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class QueryTerminationList {
7
+ @ApiPropertyOptional()
8
+ @IsOptional()
9
+ @IsInt()
10
+ id?: number;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsString()
15
+ comment?: string;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsDateString()
20
+ effectiveDate?: string;
21
+
22
+ @ApiPropertyOptional()
23
+ @IsOptional()
24
+ @IsDateString()
25
+ endContractDate?: string;
26
+
27
+ @ApiPropertyOptional()
28
+ @IsOptional()
29
+ @IsDateString()
30
+ recalledCustomer?: string;
31
+
32
+ @ApiPropertyOptional()
33
+ @IsOptional()
34
+ @IsDateString()
35
+ recalledCustomerBySupervisor?: string;
36
+
37
+ @ApiPropertyOptional()
38
+ @IsOptional()
39
+ @IsInt()
40
+ idExercice?: number;
41
+
42
+ @ApiPropertyOptional()
43
+ @IsOptional()
44
+ @IsInt()
45
+ refund?: number;
46
+
47
+ @ApiPropertyOptional()
48
+ @IsOptional()
49
+ @IsInt()
50
+ idReasonTermination?: number;
51
+
52
+ @ApiPropertyOptional()
53
+ @IsOptional()
54
+ @IsInt()
55
+ idSociety?: number;
56
+
57
+ @ApiPropertyOptional()
58
+ @IsOptional()
59
+ @IsInt()
60
+ idPrestation?: number;
61
+
62
+ @ApiPropertyOptional()
63
+ @IsOptional()
64
+ @IsInt()
65
+ idCollaborateur?: number;
66
+
67
+ @ApiPropertyOptional()
68
+ @IsOptional()
69
+ @IsDateString()
70
+ createdAt?: string;
71
+
72
+ @ApiPropertyOptional()
73
+ @IsOptional()
74
+ @IsDateString()
75
+ updatedAt?: string;
76
+ }
package/ts/types/index.ts CHANGED
@@ -794,6 +794,8 @@ export * from './Interface/api/wallet/UpdateAttribution';
794
794
  export * from './Interface/api/prestation/CreatePrestation';
795
795
  export * from './Interface/api/paymentExpectation/QueryPaymentExpectation';
796
796
  export * from './Interface/api/legalNotice/UpdateLegalNotice';
797
+ export * from './Interface/api/terminationList/QueryTerminationList';
798
+ export * from './Interface/api/terminationList/DestroyTerminationList';
797
799
 
798
800
  // Enums types
799
801
  export * from './Interface/enum/Util';