@silexpert/core 1.1.319 → 1.1.320

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 (56) hide show
  1. package/dist/cjs/types/Enum/CommercialOfferType.js +7 -7
  2. package/dist/cjs/types/Enum/CommercialOfferType.js.map +1 -1
  3. package/dist/cjs/types/Enum/GeneralThirdParty.d.ts.map +1 -1
  4. package/dist/cjs/types/Enum/GeneralThirdParty.js +2 -0
  5. package/dist/cjs/types/Enum/GeneralThirdParty.js.map +1 -1
  6. package/dist/cjs/types/Enum/TimeCounterType.d.ts +44 -0
  7. package/dist/cjs/types/Enum/TimeCounterType.d.ts.map +1 -1
  8. package/dist/cjs/types/Enum/TimeCounterType.js +44 -0
  9. package/dist/cjs/types/Enum/TimeCounterType.js.map +1 -1
  10. package/dist/cjs/types/Interface/api/accountingEntry/Create.d.ts +2 -1
  11. package/dist/cjs/types/Interface/api/accountingEntry/Create.d.ts.map +1 -1
  12. package/dist/cjs/types/Interface/api/accountingEntry/Create.js +8 -1
  13. package/dist/cjs/types/Interface/api/accountingEntry/Create.js.map +1 -1
  14. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts +0 -4
  15. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts.map +1 -1
  16. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js +1 -18
  17. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js.map +1 -1
  18. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts +12 -11
  19. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  20. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js +4 -0
  21. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  22. package/dist/cjs/types/Interface/api/revision/Read.d.ts +2 -1
  23. package/dist/cjs/types/Interface/api/revision/Read.d.ts.map +1 -1
  24. package/dist/cjs/types/Interface/api/revision/Read.js.map +1 -1
  25. package/dist/mjs/types/Enum/CommercialOfferType.js +7 -7
  26. package/dist/mjs/types/Enum/CommercialOfferType.js.map +1 -1
  27. package/dist/mjs/types/Enum/GeneralThirdParty.d.ts.map +1 -1
  28. package/dist/mjs/types/Enum/GeneralThirdParty.js +2 -0
  29. package/dist/mjs/types/Enum/GeneralThirdParty.js.map +1 -1
  30. package/dist/mjs/types/Enum/TimeCounterType.d.ts +44 -0
  31. package/dist/mjs/types/Enum/TimeCounterType.d.ts.map +1 -1
  32. package/dist/mjs/types/Enum/TimeCounterType.js +44 -0
  33. package/dist/mjs/types/Enum/TimeCounterType.js.map +1 -1
  34. package/dist/mjs/types/Interface/api/accountingEntry/Create.d.ts +2 -1
  35. package/dist/mjs/types/Interface/api/accountingEntry/Create.d.ts.map +1 -1
  36. package/dist/mjs/types/Interface/api/accountingEntry/Create.js +9 -1
  37. package/dist/mjs/types/Interface/api/accountingEntry/Create.js.map +1 -1
  38. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts +0 -4
  39. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts.map +1 -1
  40. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js +1 -19
  41. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js.map +1 -1
  42. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts +12 -11
  43. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  44. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js +5 -0
  45. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  46. package/dist/mjs/types/Interface/api/revision/Read.d.ts +2 -1
  47. package/dist/mjs/types/Interface/api/revision/Read.d.ts.map +1 -1
  48. package/dist/mjs/types/Interface/api/revision/Read.js.map +1 -1
  49. package/package.json +1 -1
  50. package/ts/types/Enum/CommercialOfferType.ts +7 -7
  51. package/ts/types/Enum/GeneralThirdParty.ts +2 -0
  52. package/ts/types/Enum/TimeCounterType.ts +44 -0
  53. package/ts/types/Interface/api/accountingEntry/Create.ts +8 -2
  54. package/ts/types/Interface/api/payment/CreateNotifyCustomerInvoice.ts +1 -15
  55. package/ts/types/Interface/api/registration/CreateRegistration.ts +14 -11
  56. package/ts/types/Interface/api/revision/Read.ts +2 -0
@@ -7,6 +7,7 @@ export const TimeCounterType = {
7
7
  aberrantTime: 60,
8
8
  limitedRoles: [Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.DATA_OFFICER],
9
9
  color: 'fire',
10
+ isOverlappable: false,
10
11
  },
11
12
  VAT: {
12
13
  id: 2,
@@ -14,6 +15,7 @@ export const TimeCounterType = {
14
15
  aberrantTime: 60,
15
16
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.DATA_OFFICER],
16
17
  color: 'iris',
18
+ isOverlappable: true,
17
19
  },
18
20
  REVISION: {
19
21
  id: 3,
@@ -21,6 +23,7 @@ export const TimeCounterType = {
21
23
  aberrantTime: 120,
22
24
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.DATA_OFFICER],
23
25
  color: 'bubblegum-light',
26
+ isOverlappable: true,
24
27
  },
25
28
  FOLDER_REVIEW: {
26
29
  id: 4,
@@ -28,6 +31,7 @@ export const TimeCounterType = {
28
31
  aberrantTime: 60,
29
32
  limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.DATA_OFFICER],
30
33
  color: 'cerulean',
34
+ isOverlappable: true,
31
35
  },
32
36
  REPORTING: {
33
37
  id: 5,
@@ -35,6 +39,7 @@ export const TimeCounterType = {
35
39
  aberrantTime: 60,
36
40
  limitedRoles: [Role.CUSTOMER_SUCCESS, Role.ON_BOARDER, Role.TERMINATION, Role.LITIGE],
37
41
  color: 'lipstick-dark',
42
+ isOverlappable: true,
38
43
  },
39
44
  SYNCHRONISATION: {
40
45
  id: 6,
@@ -42,6 +47,7 @@ export const TimeCounterType = {
42
47
  aberrantTime: 30,
43
48
  limitedRoles: [Role.CUSTOMER_SUCCESS, Role.ON_BOARDER, Role.TERMINATION, Role.LITIGE],
44
49
  color: 'orange-dark',
50
+ isOverlappable: true,
45
51
  },
46
52
  UNDER_SUPERVISION: {
47
53
  id: 7,
@@ -49,6 +55,7 @@ export const TimeCounterType = {
49
55
  aberrantTime: 45,
50
56
  limitedRoles: null,
51
57
  color: 'orange-dark',
58
+ isOverlappable: true,
52
59
  },
53
60
  CLIENT_CONTACT: {
54
61
  id: 8,
@@ -56,6 +63,7 @@ export const TimeCounterType = {
56
63
  aberrantTime: 20,
57
64
  limitedRoles: null,
58
65
  color: 'orange-light',
66
+ isOverlappable: false,
59
67
  },
60
68
  MEETING: {
61
69
  id: 9,
@@ -63,6 +71,7 @@ export const TimeCounterType = {
63
71
  aberrantTime: 20,
64
72
  limitedRoles: null,
65
73
  color: 'fern-dark',
74
+ isOverlappable: false,
66
75
  },
67
76
  FORMATION: {
68
77
  id: 10,
@@ -70,6 +79,7 @@ export const TimeCounterType = {
70
79
  aberrantTime: 20,
71
80
  limitedRoles: null,
72
81
  color: 'fern',
82
+ isOverlappable: false,
73
83
  },
74
84
  FORECAST: {
75
85
  id: 11,
@@ -77,6 +87,7 @@ export const TimeCounterType = {
77
87
  aberrantTime: 20,
78
88
  limitedRoles: [Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.DATA_OFFICER],
79
89
  color: 'cerulean-light',
90
+ isOverlappable: true,
80
91
  },
81
92
  CERTIFICATE: {
82
93
  id: 12,
@@ -84,6 +95,7 @@ export const TimeCounterType = {
84
95
  aberrantTime: 20,
85
96
  limitedRoles: [Role.CUSTOMER_SUCCESS, Role.ON_BOARDER, Role.TERMINATION, Role.LITIGE],
86
97
  color: 'pink-salmon',
98
+ isOverlappable: true,
87
99
  },
88
100
  COMPLEMENTARY_MISSION: {
89
101
  id: 13,
@@ -91,6 +103,7 @@ export const TimeCounterType = {
91
103
  aberrantTime: 20,
92
104
  limitedRoles: [Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.DATA_OFFICER],
93
105
  color: 'cerulean-light',
106
+ isOverlappable: true,
94
107
  },
95
108
  ORGANISATION: {
96
109
  id: 14,
@@ -98,6 +111,7 @@ export const TimeCounterType = {
98
111
  aberrantTime: 20,
99
112
  limitedRoles: null,
100
113
  color: 'fern-light',
114
+ isOverlappable: false,
101
115
  },
102
116
  INTERNAL_ADVICE: {
103
117
  id: 15,
@@ -105,6 +119,7 @@ export const TimeCounterType = {
105
119
  aberrantTime: 20,
106
120
  limitedRoles: null,
107
121
  color: 'fern-light',
122
+ isOverlappable: true,
108
123
  },
109
124
  LAB: {
110
125
  id: 16,
@@ -112,6 +127,7 @@ export const TimeCounterType = {
112
127
  aberrantTime: 20,
113
128
  limitedRoles: [Role.EXPERT_ACCOUNTANT],
114
129
  color: 'fire',
130
+ isOverlappable: true,
115
131
  },
116
132
  SUPERVISION: {
117
133
  id: 17,
@@ -119,6 +135,7 @@ export const TimeCounterType = {
119
135
  aberrantTime: 20,
120
136
  limitedRoles: [Role.EXPERT_ACCOUNTANT, Role.MANAGER],
121
137
  color: 'bubblegum-dark',
138
+ isOverlappable: true,
122
139
  },
123
140
  MAIL_PROCESSING: {
124
141
  id: 18,
@@ -126,6 +143,7 @@ export const TimeCounterType = {
126
143
  aberrantTime: 20,
127
144
  limitedRoles: [Role.CUSTOMER_SUCCESS, Role.ON_BOARDER, Role.TERMINATION, Role.LITIGE],
128
145
  color: 'pink-salmon',
146
+ isOverlappable: true,
129
147
  },
130
148
  SUPPORT_PROCESSING: {
131
149
  id: 19,
@@ -133,6 +151,7 @@ export const TimeCounterType = {
133
151
  aberrantTime: 20,
134
152
  limitedRoles: [Role.CUSTOMER_SUCCESS, Role.ON_BOARDER, Role.TERMINATION, Role.LITIGE],
135
153
  color: 'error',
154
+ isOverlappable: true,
136
155
  },
137
156
  BILAN: {
138
157
  id: 20,
@@ -140,6 +159,7 @@ export const TimeCounterType = {
140
159
  aberrantTime: 120,
141
160
  limitedRoles: [Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.DATA_OFFICER, Role.EXPERT_ACCOUNTANT],
142
161
  color: 'cerulean-dark',
162
+ isOverlappable: true,
143
163
  },
144
164
  PAYSLIP: {
145
165
  id: 21,
@@ -147,6 +167,7 @@ export const TimeCounterType = {
147
167
  aberrantTime: 30,
148
168
  limitedRoles: [Role.SOCIAL],
149
169
  color: 'guacamole',
170
+ isOverlappable: true,
150
171
  },
151
172
  SOCIAL_PARAMETER: {
152
173
  id: 22,
@@ -154,6 +175,7 @@ export const TimeCounterType = {
154
175
  aberrantTime: 40,
155
176
  limitedRoles: [Role.SOCIAL],
156
177
  color: 'guacamole',
178
+ isOverlappable: true,
157
179
  },
158
180
  WORK_CONTRACT: {
159
181
  id: 23,
@@ -161,6 +183,7 @@ export const TimeCounterType = {
161
183
  aberrantTime: 60,
162
184
  limitedRoles: [Role.SOCIAL],
163
185
  color: 'guacamole',
186
+ isOverlappable: true,
164
187
  },
165
188
  DPAE: {
166
189
  id: 24,
@@ -168,6 +191,7 @@ export const TimeCounterType = {
168
191
  aberrantTime: 25,
169
192
  limitedRoles: [Role.SOCIAL],
170
193
  color: 'guacamole',
194
+ isOverlappable: true,
171
195
  },
172
196
  FACTURATION: {
173
197
  id: 25,
@@ -175,6 +199,7 @@ export const TimeCounterType = {
175
199
  aberrantTime: 180,
176
200
  limitedRoles: null,
177
201
  color: 'success',
202
+ isOverlappable: true,
178
203
  },
179
204
  LEGAL_DOCUMENT: {
180
205
  id: 26,
@@ -182,6 +207,7 @@ export const TimeCounterType = {
182
207
  aberrantTime: 30,
183
208
  limitedRoles: [Role.JURIDIC],
184
209
  color: 'caramel',
210
+ isOverlappable: true,
185
211
  },
186
212
  INFOGREFFE: {
187
213
  id: 27,
@@ -189,6 +215,7 @@ export const TimeCounterType = {
189
215
  aberrantTime: 15,
190
216
  limitedRoles: [Role.JURIDIC],
191
217
  color: 'caramel',
218
+ isOverlappable: true,
192
219
  },
193
220
  APPOINTMENT: {
194
221
  id: 28,
@@ -196,6 +223,7 @@ export const TimeCounterType = {
196
223
  aberrantTime: 15,
197
224
  limitedRoles: null,
198
225
  color: 'orange-light',
226
+ isOverlappable: false,
199
227
  },
200
228
  PHYSIC_UPKEEP: {
201
229
  id: 29,
@@ -203,6 +231,7 @@ export const TimeCounterType = {
203
231
  aberrantTime: 30,
204
232
  limitedRoles: null,
205
233
  color: 'success',
234
+ isOverlappable: false,
206
235
  },
207
236
  VISIO_UPKEEP: {
208
237
  id: 30,
@@ -210,6 +239,7 @@ export const TimeCounterType = {
210
239
  aberrantTime: 30,
211
240
  limitedRoles: null,
212
241
  color: 'success',
242
+ isOverlappable: false,
213
243
  },
214
244
  PREQUALIF_TEL: {
215
245
  id: 31,
@@ -217,6 +247,7 @@ export const TimeCounterType = {
217
247
  aberrantTime: 30,
218
248
  limitedRoles: null,
219
249
  color: 'success',
250
+ isOverlappable: false,
220
251
  },
221
252
  HUMAN_RESSOURCES_POINT: {
222
253
  id: 32,
@@ -224,6 +255,7 @@ export const TimeCounterType = {
224
255
  aberrantTime: 30,
225
256
  limitedRoles: null,
226
257
  color: 'cerulean',
258
+ isOverlappable: false,
227
259
  },
228
260
  ADMINISTRATIV: {
229
261
  id: 33,
@@ -231,6 +263,7 @@ export const TimeCounterType = {
231
263
  aberrantTime: 30,
232
264
  limitedRoles: null,
233
265
  color: 'iris',
266
+ isOverlappable: true,
234
267
  },
235
268
  INTEGRATION_DAY: {
236
269
  id: 34,
@@ -238,6 +271,7 @@ export const TimeCounterType = {
238
271
  aberrantTime: 30,
239
272
  limitedRoles: null,
240
273
  color: 'orange',
274
+ isOverlappable: false,
241
275
  },
242
276
  COMMERCIAL_MISSION: {
243
277
  id: 35,
@@ -245,6 +279,7 @@ export const TimeCounterType = {
245
279
  aberrantTime: 60,
246
280
  limitedRoles: null,
247
281
  color: 'error',
282
+ isOverlappable: true,
248
283
  },
249
284
  INTERNAL_CONTROL: {
250
285
  id: 36,
@@ -252,6 +287,7 @@ export const TimeCounterType = {
252
287
  aberrantTime: 480,
253
288
  limitedRoles: [Role.CUSTOMER_SUCCESS, Role.ON_BOARDER, Role.TERMINATION, Role.LITIGE],
254
289
  color: 'grey-dark',
290
+ isOverlappable: true,
255
291
  },
256
292
  CALENDLY: {
257
293
  id: 37,
@@ -259,6 +295,7 @@ export const TimeCounterType = {
259
295
  aberrantTime: 480,
260
296
  limitedRoles: null,
261
297
  color: 'fern-dark',
298
+ isOverlappable: false,
262
299
  },
263
300
  CONNECTION: {
264
301
  id: 38,
@@ -266,6 +303,7 @@ export const TimeCounterType = {
266
303
  aberrantTime: 15,
267
304
  limitedRoles: null,
268
305
  color: 'success',
306
+ isOverlappable: true,
269
307
  },
270
308
  RECRUITMENT_MISSIONS: {
271
309
  id: 39,
@@ -273,6 +311,7 @@ export const TimeCounterType = {
273
311
  aberrantTime: 15,
274
312
  limitedRoles: [Role.HUMAN_RESSOURCES],
275
313
  color: 'orange',
314
+ isOverlappable: false,
276
315
  },
277
316
  UNPAID_TERMINATIONS: {
278
317
  id: 40,
@@ -280,6 +319,7 @@ export const TimeCounterType = {
280
319
  aberrantTime: 15,
281
320
  limitedRoles: [Role.CUSTOMER_SUCCESS],
282
321
  color: 'error',
322
+ isOverlappable: true,
283
323
  },
284
324
  RELAUCH: {
285
325
  id: 41,
@@ -287,6 +327,7 @@ export const TimeCounterType = {
287
327
  aberrantTime: 15,
288
328
  limitedRoles: [Role.COMMERCIAL, Role.FACTURATION],
289
329
  color: 'success',
330
+ isOverlappable: true,
290
331
  },
291
332
  UNPAID_RELAUCH: {
292
333
  id: 42,
@@ -294,6 +335,7 @@ export const TimeCounterType = {
294
335
  aberrantTime: 15,
295
336
  limitedRoles: [Role.FACTURATION],
296
337
  color: 'orange',
338
+ isOverlappable: true,
297
339
  },
298
340
  SUPERVISION_VERIFICATION: {
299
341
  id: 43,
@@ -301,6 +343,7 @@ export const TimeCounterType = {
301
343
  aberrantTime: 15,
302
344
  limitedRoles: [Role.FACTURATION],
303
345
  color: 'guacamole',
346
+ isOverlappable: true,
304
347
  },
305
348
  MAILS: {
306
349
  id: 44,
@@ -308,5 +351,6 @@ export const TimeCounterType = {
308
351
  aberrantTime: 15,
309
352
  limitedRoles: [Role.FACTURATION],
310
353
  color: 'guacamole',
354
+ isOverlappable: true,
311
355
  },
312
356
  };
@@ -12,9 +12,15 @@ export class CreateManualEntry {
12
12
  @IsNumber()
13
13
  credit: number;
14
14
 
15
- @ApiProperty()
15
+ @ApiPropertyOptional()
16
+ @IsOptional()
17
+ @IsNumber()
18
+ idAccount?: number;
19
+
20
+ @ApiPropertyOptional()
21
+ @IsOptional()
16
22
  @IsNumber()
17
- idAccount: number;
23
+ idThirdParty?: number;
18
24
 
19
25
  @ApiProperty()
20
26
  @IsString()
@@ -1,4 +1,4 @@
1
- import { IsArray, IsDefined, IsInt, IsOptional } from 'class-validator';
1
+ import { IsArray, IsDefined, IsInt } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
 
4
4
  export class CreateNotifyCustomerInvoice {
@@ -18,18 +18,4 @@ export class CreateNotifyCustomerInvoice {
18
18
 
19
19
  @ApiPropertyOptional()
20
20
  idSociety?: number;
21
- }
22
-
23
- export class CreateFixBillingCompanyName {
24
- @IsDefined()
25
- @ApiPropertyOptional()
26
- @IsOptional()
27
- @IsInt()
28
- idSociety?: number;
29
-
30
- @IsDefined()
31
- @ApiProperty({ default: 50 })
32
- @IsOptional()
33
- @IsInt()
34
- limit: number;
35
21
  }
@@ -24,37 +24,40 @@ export class CreateRegistrationSettingFromSociety {
24
24
  rof: Rof | null;
25
25
 
26
26
  @ApiPropertyOptional()
27
- companyTaxRof: Rof | null;
27
+ companyTaxRof?: Rof | null;
28
28
 
29
29
  @ApiPropertyOptional()
30
- ogaName: string | null;
30
+ balanceSheetRof?: Rof | null;
31
31
 
32
32
  @ApiPropertyOptional()
33
- ogaId: string | null;
33
+ ogaName?: string | null;
34
34
 
35
35
  @ApiPropertyOptional()
36
- ogaAddressNumero: string | null;
36
+ ogaId?: string | null;
37
37
 
38
38
  @ApiPropertyOptional()
39
- ogaAddressType: string | null;
39
+ ogaAddressNumero?: string | null;
40
40
 
41
41
  @ApiPropertyOptional()
42
- ogaAddressVoie: string | null;
42
+ ogaAddressType?: string | null;
43
43
 
44
44
  @ApiPropertyOptional()
45
- ogaAddressZipCode: string | null;
45
+ ogaAddressVoie?: string | null;
46
46
 
47
47
  @ApiPropertyOptional()
48
- ogaAddressCity: string | null;
48
+ ogaAddressZipCode?: string | null;
49
49
 
50
50
  @ApiPropertyOptional()
51
- ogaReference: string | null;
51
+ ogaAddressCity?: string | null;
52
52
 
53
53
  @ApiPropertyOptional()
54
- iban: string | null;
54
+ ogaReference?: string | null;
55
55
 
56
56
  @ApiPropertyOptional()
57
- bic: string | null;
57
+ iban?: string | null;
58
+
59
+ @ApiPropertyOptional()
60
+ bic?: string | null;
58
61
  }
59
62
 
60
63
  export type ForcedValues_2571 = {
@@ -1,4 +1,5 @@
1
1
  import {
2
+ IAccount,
2
3
  IAccountDetail,
3
4
  IAccountingFile, IAccountingJournal, ILettering, IThirdParty, IUser, ThirdPartyType,
4
5
  } from '../../..';
@@ -53,6 +54,7 @@ export interface ReadRevisionAccount {
53
54
  lettering?: ILettering;
54
55
  createdAt: Date;
55
56
  updatedAt: Date;
57
+ account?: IAccount | null; // Est retourné en fonction de l'endpoint appelé
56
58
  accountingTransaction: {
57
59
  id: number;
58
60
  idBankAccount: number,