@silexpert/core 1.1.285 → 1.1.288

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 (79) hide show
  1. package/dist/cjs/api/resources/Task.d.ts +2 -2
  2. package/dist/cjs/api/resources/Task.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Task.js +2 -4
  4. package/dist/cjs/api/resources/Task.js.map +1 -1
  5. package/dist/cjs/types/Enum/BrandAnytime.d.ts +2 -316
  6. package/dist/cjs/types/Enum/BrandAnytime.d.ts.map +1 -1
  7. package/dist/cjs/types/Enum/BrandAnytime.js +2 -210
  8. package/dist/cjs/types/Enum/BrandAnytime.js.map +1 -1
  9. package/dist/cjs/types/Enum/Contest.d.ts +2 -12
  10. package/dist/cjs/types/Enum/Contest.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/Contest.js +2 -12
  12. package/dist/cjs/types/Enum/Contest.js.map +1 -1
  13. package/dist/cjs/types/Enum/Ged.d.ts +2 -1
  14. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/Ged.js +2 -0
  16. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  17. package/dist/cjs/types/Enum/Holidays.d.ts.map +1 -1
  18. package/dist/cjs/types/Enum/Holidays.js +1 -1
  19. package/dist/cjs/types/Enum/Holidays.js.map +1 -1
  20. package/dist/cjs/types/Enum/TimeSlot.js +2 -2
  21. package/dist/cjs/types/Enum/TimeSlot.js.map +1 -1
  22. package/dist/cjs/types/Interface/api/bankAccount/Delete.d.ts.map +1 -1
  23. package/dist/cjs/types/Interface/api/bankAccount/Delete.js.map +1 -1
  24. package/dist/cjs/types/Interface/api/contest/Create.d.ts.map +1 -1
  25. package/dist/cjs/types/Interface/api/contest/Create.js +4 -24
  26. package/dist/cjs/types/Interface/api/contest/Create.js.map +1 -1
  27. package/dist/cjs/types/Interface/api/letter/CreateLetter.d.ts +3 -0
  28. package/dist/cjs/types/Interface/api/letter/CreateLetter.d.ts.map +1 -1
  29. package/dist/cjs/types/Interface/api/letter/CreateLetter.js +10 -1
  30. package/dist/cjs/types/Interface/api/letter/CreateLetter.js.map +1 -1
  31. package/dist/cjs/types/Interface/api/task/QueryPaginatedTask.d.ts +1 -0
  32. package/dist/cjs/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
  33. package/dist/cjs/types/Interface/api/task/QueryPaginatedTask.js +7 -0
  34. package/dist/cjs/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  35. package/dist/mjs/api/resources/Task.d.ts +2 -2
  36. package/dist/mjs/api/resources/Task.d.ts.map +1 -1
  37. package/dist/mjs/api/resources/Task.js +2 -1
  38. package/dist/mjs/api/resources/Task.js.map +1 -1
  39. package/dist/mjs/types/Enum/BrandAnytime.d.ts +2 -316
  40. package/dist/mjs/types/Enum/BrandAnytime.d.ts.map +1 -1
  41. package/dist/mjs/types/Enum/BrandAnytime.js +3 -211
  42. package/dist/mjs/types/Enum/BrandAnytime.js.map +1 -1
  43. package/dist/mjs/types/Enum/Contest.d.ts +2 -12
  44. package/dist/mjs/types/Enum/Contest.d.ts.map +1 -1
  45. package/dist/mjs/types/Enum/Contest.js +2 -12
  46. package/dist/mjs/types/Enum/Contest.js.map +1 -1
  47. package/dist/mjs/types/Enum/Ged.d.ts +2 -1
  48. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  49. package/dist/mjs/types/Enum/Ged.js +2 -0
  50. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  51. package/dist/mjs/types/Enum/Holidays.d.ts.map +1 -1
  52. package/dist/mjs/types/Enum/Holidays.js +1 -1
  53. package/dist/mjs/types/Enum/Holidays.js.map +1 -1
  54. package/dist/mjs/types/Enum/TimeSlot.js +2 -2
  55. package/dist/mjs/types/Enum/TimeSlot.js.map +1 -1
  56. package/dist/mjs/types/Interface/api/bankAccount/Delete.d.ts.map +1 -1
  57. package/dist/mjs/types/Interface/api/bankAccount/Delete.js.map +1 -1
  58. package/dist/mjs/types/Interface/api/contest/Create.d.ts.map +1 -1
  59. package/dist/mjs/types/Interface/api/contest/Create.js +4 -24
  60. package/dist/mjs/types/Interface/api/contest/Create.js.map +1 -1
  61. package/dist/mjs/types/Interface/api/letter/CreateLetter.d.ts +3 -0
  62. package/dist/mjs/types/Interface/api/letter/CreateLetter.d.ts.map +1 -1
  63. package/dist/mjs/types/Interface/api/letter/CreateLetter.js +9 -0
  64. package/dist/mjs/types/Interface/api/letter/CreateLetter.js.map +1 -1
  65. package/dist/mjs/types/Interface/api/task/QueryPaginatedTask.d.ts +1 -0
  66. package/dist/mjs/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
  67. package/dist/mjs/types/Interface/api/task/QueryPaginatedTask.js +8 -0
  68. package/dist/mjs/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  69. package/package.json +1 -1
  70. package/ts/api/resources/Task.ts +3 -2
  71. package/ts/types/Enum/BrandAnytime.ts +3 -211
  72. package/ts/types/Enum/Contest.ts +2 -12
  73. package/ts/types/Enum/Ged.ts +2 -0
  74. package/ts/types/Enum/Holidays.ts +1 -1
  75. package/ts/types/Enum/TimeSlot.ts +2 -2
  76. package/ts/types/Interface/api/bankAccount/Delete.ts +0 -1
  77. package/ts/types/Interface/api/contest/Create.ts +4 -24
  78. package/ts/types/Interface/api/letter/CreateLetter.ts +8 -0
  79. package/ts/types/Interface/api/task/QueryPaginatedTask.ts +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.1.285",
3
+ "version": "1.1.288",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "dist/cjs/index.js",
@@ -1,4 +1,4 @@
1
- import { AxiosResponse, CancelToken } from 'axios';
1
+ import { AxiosResponse } from 'axios';
2
2
  import { Resource } from '../Resource';
3
3
  import {
4
4
  QueryPaginatedTask,
@@ -19,9 +19,10 @@ export class Task extends Resource {
19
19
  return this.axios.$get('/tasks/count-tasks-by-user', { params });
20
20
  }
21
21
 
22
- public getPaginated(params: QueryPaginatedTask, cancelToken?: CancelToken): Promise<Task[]> {
22
+ public getPaginated(params: QueryPaginatedTask, signal?: AbortSignal): Promise<Task[]> {
23
23
  return this.axios.$get('/tasks/paginated', {
24
24
  params,
25
+ ...(signal ? { signal } : {}),
25
26
  });
26
27
  }
27
28
 
@@ -1,10 +1,10 @@
1
- import { SalesContractClementine, SalesContractKlems } from './SalesContractBrandClementine';
1
+ import { SalesContractClementine } from './SalesContractBrandClementine';
2
2
 
3
3
  export const BrandAnytime = [
4
4
  {
5
5
  idTypeBrand: 1,
6
- name: 'Clementine',
7
- commercialName: 'Clementine',
6
+ name: 'Anytime',
7
+ commercialName: 'Anytime',
8
8
  urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-anytime/',
9
9
  logoS3: 'config/e5abf44b-106d-5c1f-9e38-718eb0482929',
10
10
  privacyPolicy: 'https://www.compta-clementine.fr/politique-des-donnees/',
@@ -119,212 +119,4 @@ export const BrandAnytime = [
119
119
  },
120
120
  salesContractConfig: SalesContractClementine,
121
121
  },
122
- {
123
- idTypeBrand: 2,
124
- name: 'Legalstart',
125
- commercialName: 'Clementine',
126
- urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-clementine/',
127
- colors: {
128
- primary: '#16a974',
129
- footerColor: '#f3692f',
130
- },
131
- listPhones: {
132
- contact: '03 83 93 14 14',
133
- qualite: '03 83 93 14 14',
134
- juridique: '03 83 93 14 14',
135
- },
136
- listMails: {
137
- contact: 'comptastart@legalstart.fr',
138
- },
139
- companyInformation: {
140
- ape: '6920Z',
141
- bp: 'BP 31029',
142
- city: 'Laxou',
143
- montantCapital: '500 000',
144
- nomRaisonSociale: 'EXPERTISE CHOIX B',
145
- ECName: 'M. Jean-Louis BOICHÉ',
146
- ECOrderCity: 'Nancy',
147
- ECPosition: 'Président',
148
- phone: '03 83 93 14 14',
149
- postalAddress: '9, avenue du Rhin',
150
- rcs: '752 566 687',
151
- statut: 'SAS',
152
- zipCode: '54 520',
153
- },
154
- idPrestationsListHidden: [197],
155
- logoUrl: 'logo-legalstart.svg',
156
- miniLogoUrl: 'logo-legalstart.svg',
157
- hiddenPages: [],
158
- recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
159
- urlApp: 'https://app.compta-clementine.fr',
160
- urlApi1: 'https://api-legalstart.compta-clementine.fr',
161
- urlApi2: 'https://api-next-legalstart.compta-clementine.fr',
162
- urlExpert: 'https://pro.comptalib.com',
163
- urlClient: 'https://www.compta-clementine.fr',
164
- bank: {
165
- IBAN: 'FR7616106840138646838239863',
166
- BIC: 'AGRIFRPP861',
167
- Name: 'Expertise Choix B',
168
- Id: 'FR91ZZZ617135',
169
- },
170
- internalInvoicing: {
171
- statut: 'SAS',
172
- name: 'EXPERTISE CHOIX B',
173
- address: '9, avenue du Rhin',
174
- zipCode: '54520',
175
- city: 'LAXOU',
176
- country: 'FRANCE',
177
- montantCapital: '500 000',
178
- siret: '752566687',
179
- ape: '6920Z',
180
- rcs: '752 566 687',
181
- phone: '03 83 93 14 14',
182
- vatIntracom: 'FR47752566687',
183
- email: 'facturation@compta-clementine.fr',
184
- },
185
- },
186
- {
187
- idTypeBrand: 4,
188
- name: 'Statuts-Express',
189
- commercialName: 'Statuts-Express',
190
- urlApp: 'https://statuts-express.fr',
191
- urlApi1: 'https://api.compta-clementine.fr',
192
- urlApi2: 'https://api-next.compta-clementine.fr',
193
- bank: {
194
- IBAN: 'FR7616106840138646838239863',
195
- BIC: 'AGRIFRPP861',
196
- Name: 'Expertise Choix B',
197
- Id: 'FR91ZZZ617135',
198
- },
199
- colors: {
200
- primary: '#D8192D',
201
- sendContract: '#f3692f',
202
- },
203
- internalInvoicing: {
204
- statut: 'SAS',
205
- name: 'EXPERTISE CHOIX B',
206
- address: '9, avenue du Rhin',
207
- zipCode: '54520',
208
- city: 'LAXOU',
209
- country: 'FRANCE',
210
- montantCapital: '500 000',
211
- siret: '752566687',
212
- ape: '6920Z',
213
- rcs: '752 566 687',
214
- phone: '03 83 93 14 14',
215
- vatIntracom: 'FR47752566687',
216
- email: 'facturation@compta-clementine.fr',
217
- },
218
- },
219
- {
220
- idTypeBrand: 5,
221
- name: 'Kandbaz',
222
- commercialName: 'Kandbaz',
223
- urlApp: 'https://app.compta-clementine.fr',
224
- urlApi1: 'https://api.compta-clementine.fr',
225
- urlApi2: 'https://api-next.compta-clementine.fr',
226
- bank: {
227
- IBAN: 'FR7616106840138646838239863',
228
- BIC: 'AGRIFRPP861',
229
- Name: 'Expertise Choix B',
230
- Id: 'FR91ZZZ617135',
231
- },
232
- colors: {
233
- primary: '#f39a00',
234
- footerColor: '#f3692f',
235
- },
236
- internalInvoicing: {
237
- statut: 'SAS',
238
- name: 'EXPERTISE CHOIX B',
239
- address: '9, avenue du Rhin',
240
- zipCode: '54520',
241
- city: 'LAXOU',
242
- country: 'FRANCE',
243
- montantCapital: '500 000',
244
- siret: '752566687',
245
- ape: '6920Z',
246
- rcs: '752 566 687',
247
- phone: '03 83 93 14 14',
248
- vatIntracom: 'FR47752566687',
249
- email: 'facturation@compta-clementine.fr',
250
- },
251
- },
252
- {
253
- idTypeBrand: 6,
254
- name: 'Klems',
255
- commercialName: 'Klems',
256
- urlApp: 'https://app.clementine.fr',
257
- urlApi1: 'https://api.compta-clementine.fr',
258
- urlApi2: 'https://api-next.compta-clementine.fr',
259
- urlExpert: 'https://expert.compta-clementine.fr',
260
- urlClient: 'https://www.klems.fr',
261
- miniLogoUrl: 'logo-klems.svg',
262
- listPhones: {
263
- contact: '03 83 93 14 14',
264
- qualite: '03 83 93 30 44',
265
- social: '03 83 93 16 20',
266
- juridique: '03 83 93 16 22',
267
- },
268
- listMails: {
269
- administratif: 'administratif@clementine.fr',
270
- app: 'app@clementine.fr',
271
- bonjour: 'bonjour@clementine.fr',
272
- contact: 'contact@clementine.fr',
273
- facturation: 'facturation@clementine.fr',
274
- feedback: 'feedback@clementine.fr',
275
- juridique: 'juridique@clementine.fr',
276
- informatique: 'informatique@compta-clementine.fr',
277
- msd: 'msd@clementine.fr',
278
- noreply: 'noreply@clementine.fr',
279
- qualite: 'qualite@clementine.fr',
280
- paiement: 'paiement@clementine.fr',
281
- rh: 'rh@clementine.fr',
282
- social: 'social@clementine.fr',
283
- support: 'support@clementine.fr',
284
- tva: 'tva@clementine.fr',
285
- wb: 'wb@compta-clementine.fr',
286
- },
287
- companyInformation: {
288
- ape: '6920Z',
289
- bp: 'BP 31029',
290
- city: 'Laxou',
291
- montantCapital: '500 000',
292
- nomRaisonSociale: 'EXPERTISE CHOIX B',
293
- ECName: 'M. Jean-Louis BOICHÉ',
294
- ECOrderCity: 'Nancy',
295
- ECDepartment: 'Lorraine',
296
- ECPosition: 'Président',
297
- phone: '03 83 93 14 14',
298
- postalAddress: '9, avenue du Rhin',
299
- rcs: '752 566 687',
300
- statut: 'SAS',
301
- zipCode: '54 520',
302
- },
303
- bank: {
304
- IBAN: 'FR7616106840138646838239863',
305
- BIC: 'AGRIFRPP861',
306
- Name: 'Expertise Choix B',
307
- Id: 'FR91ZZZ617135',
308
- },
309
- colors: {
310
- primary: '#38A1FF',
311
- footerColor: '#00A2FF',
312
- },
313
- internalInvoicing: {
314
- statut: 'SAS',
315
- name: 'EXPERTISE CHOIX B',
316
- address: '9, avenue du Rhin',
317
- zipCode: '54520',
318
- city: 'LAXOU',
319
- country: 'FRANCE',
320
- montantCapital: '500 000',
321
- siret: '752566687',
322
- ape: '6920Z',
323
- rcs: '752 566 687',
324
- phone: '03 83 93 14 14',
325
- vatIntracom: 'FR47752566687',
326
- email: 'facturation@compta-clementine.fr',
327
- },
328
- salesContractConfig: SalesContractKlems,
329
- },
330
122
  ];
@@ -1,15 +1,5 @@
1
1
  export enum ContestType {
2
2
  ENTREPRENEUR = 1,
3
- OLYMPICS_1 = 2,
4
- OLYMPICS_2 = 3,
5
- OLYMPICS_3 = 4,
6
- OLYMPICS_4 = 5,
7
- OLYMPICS_5 = 6,
8
- OLYMPICS_6 = 7,
9
- OLYMPICS_7 = 8,
10
- OLYMPICS_8 = 9,
11
- OLYMPICS_9 = 10,
12
- OLYMPICS_10 = 11,
13
- OLYMPICS_11 = 12,
14
- OLYMPICS_12 = 13,
3
+ BIKE_1 = 2,
4
+ BIKE_2 = 3,
15
5
  }
@@ -50,6 +50,7 @@ export enum GedFolder {
50
50
  EXIT_DOCUMENT = 44,
51
51
  JEDECLARE_MANDATES = 45,
52
52
  COMPANY_PASSWORD_SERVICE = 46,
53
+ FEC = 47,
53
54
  }
54
55
 
55
56
  export enum TypeFile {
@@ -362,6 +363,7 @@ export const GedFolderList: Array<{ id: GedFolder, isVisibleForClient: boolean;
362
363
  { id: GedFolder.EXIT_DOCUMENT, name: 'Documents de sorties', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
363
364
  { id: GedFolder.JEDECLARE_MANDATES, name: 'Mandat JeDeclare', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
364
365
  { id: GedFolder.COMPANY_PASSWORD_SERVICE, name: 'Mot de passe service entreprise', isVisibleForClient: false, idGedCategory: GedCategory.COMPANY },
366
+ { id: GedFolder.FEC, name: 'Fec', isVisibleForClient: false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
365
367
  ];
366
368
 
367
369
  export const gedCategoryWithName: Array<{ idGedCategory: number, name: string }> = [
@@ -1 +1 @@
1
- export const DateHolidays = ['2028-01-01', '2028-04-17', '2028-05-01', '2028-05-08', '2028-05-25', '2028-06-05', '2028-07-14', '2028-08-15', '2028-11-01', '2028-11-11', '2028-12-25', '2027-01-01', '2027-03-29', '2027-05-01', '2027-05-06', '2027-05-08', '2027-05-17', '2027-07-14', '2027-08-15', '2027-11-01', '2027-11-11', '2027-12-25', '2026-01-01', '2026-04-06', '2026-05-01', '2026-05-08', '2026-05-14', '2026-05-25', '2026-07-14', '2026-08-15', '2026-11-01', '2026-11-11', '2026-12-25', '2025-01-01', '2025-04-21', '2025-05-01', '2025-05-08', '2025-05-29', '2025-06-09', '2025-07-14', '2025-08-15', '2025-11-01', '2025-11-11', '2025-12-25', '2024-01-01', '2024-04-01', '2024-05-01', '2024-05-08', '2024-05-09', '2024-05-20', '2024-07-14', '2024-08-15', '2024-11-01', '2024-11-11', '2024-12-25', '2023-01-01', '2023-04-10', '2023-05-01', '2023-05-08', '2023-05-18', '2023-05-29', '2023-07-14', '2023-08-15', '2023-11-01', '2023-11-11', '2023-12-25'];
1
+ export const DateHolidays = ['2028-01-01', '2028-04-17', '2028-05-01', '2028-05-08', '2028-05-25', '2028-06-05', '2028-07-14', '2028-08-15', '2028-11-01', '2028-11-11', '2028-12-25', '2027-01-01', '2027-03-29', '2027-05-01', '2027-05-06', '2027-05-08', '2027-05-17', '2027-07-14', '2027-08-15', '2027-11-01', '2027-11-11', '2027-12-25', '2026-01-01', '2026-04-06', '2026-05-01', '2026-05-08', '2026-05-14', '2026-07-14', '2026-08-15', '2026-11-01', '2026-11-11', '2026-12-25', '2025-01-01', '2025-04-21', '2025-05-01', '2025-05-08', '2025-05-29', '2025-07-14', '2025-08-15', '2025-11-01', '2025-11-11', '2025-12-25', '2024-01-01', '2024-04-01', '2024-05-01', '2024-05-08', '2024-05-09', '2024-07-14', '2024-08-15', '2024-11-01', '2024-11-11', '2024-12-25', '2023-01-01', '2023-04-10', '2023-05-01', '2023-05-08', '2023-05-18', '2023-05-29', '2023-07-14', '2023-08-15', '2023-11-01', '2023-11-11', '2023-12-25'];
@@ -37,7 +37,7 @@ export const TimeSlotDetail:TimeSlotDetailType[] = [
37
37
  {
38
38
  id: TimeSlot.ONBOARDING_SHORT,
39
39
  name: 'OnBoarding court',
40
- internalName: 'OnBoarding',
40
+ internalName: 'Rdv OnBoarding',
41
41
  duration: 45,
42
42
  idRole: [Role.ON_BOARDER],
43
43
  forWholeService: true,
@@ -99,7 +99,7 @@ export const TimeSlotDetail:TimeSlotDetailType[] = [
99
99
  {
100
100
  id: TimeSlot.SALES,
101
101
  name: 'Rdv commercial',
102
- internalName: 'Commercial',
102
+ internalName: 'Rdv Commercial',
103
103
  duration: 20,
104
104
  idRole:[Role.COMMERCIAL],
105
105
  forWholeService: false,
@@ -1,7 +1,6 @@
1
1
  import { IsArray, IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
- import { Type } from 'class-transformer';
5
4
 
6
5
  export class DeleteTransactions {
7
6
  @ApiProperty()
@@ -114,18 +114,8 @@ export class CreateGeneriqueContestResult {
114
114
  @IsNumber()
115
115
  @IsIn([
116
116
  ContestType.ENTREPRENEUR,
117
- ContestType.OLYMPICS_1,
118
- ContestType.OLYMPICS_2,
119
- ContestType.OLYMPICS_3,
120
- ContestType.OLYMPICS_4,
121
- ContestType.OLYMPICS_5,
122
- ContestType.OLYMPICS_6,
123
- ContestType.OLYMPICS_7,
124
- ContestType.OLYMPICS_8,
125
- ContestType.OLYMPICS_9,
126
- ContestType.OLYMPICS_10,
127
- ContestType.OLYMPICS_11,
128
- ContestType.OLYMPICS_12,
117
+ ContestType.BIKE_1,
118
+ ContestType.BIKE_2,
129
119
  ])
130
120
  idTypeContest: number;
131
121
 
@@ -158,18 +148,8 @@ export class CreateEmail {
158
148
  @IsNumber()
159
149
  @IsIn([
160
150
  ContestType.ENTREPRENEUR,
161
- ContestType.OLYMPICS_1,
162
- ContestType.OLYMPICS_2,
163
- ContestType.OLYMPICS_3,
164
- ContestType.OLYMPICS_4,
165
- ContestType.OLYMPICS_5,
166
- ContestType.OLYMPICS_6,
167
- ContestType.OLYMPICS_7,
168
- ContestType.OLYMPICS_8,
169
- ContestType.OLYMPICS_9,
170
- ContestType.OLYMPICS_10,
171
- ContestType.OLYMPICS_11,
172
- ContestType.OLYMPICS_12,
151
+ ContestType.BIKE_1,
152
+ ContestType.BIKE_2,
173
153
  ])
174
154
  idTypeContest: number;
175
155
 
@@ -21,6 +21,7 @@ export class CreateLetter implements ILetter {
21
21
  letterDate: Date;
22
22
 
23
23
  @ApiPropertyOptional()
24
+ @IsOptional()
24
25
  @IsString()
25
26
  complement?: string;
26
27
 
@@ -77,3 +78,10 @@ export class CreateLetter implements ILetter {
77
78
  @IsInt()
78
79
  idMail?: number;
79
80
  }
81
+
82
+ export class BulkCreateLetter {
83
+ @ApiProperty()
84
+ @IsString()
85
+ letters: string;
86
+
87
+ }
@@ -106,4 +106,10 @@ export class QueryPaginatedTask {
106
106
  })
107
107
  @IsIn(['society', 'comments', 'notification', 'mail', 'user', 'userWhoCreated', 'userWhoProcessed', 'userWhoRefused', 'mailAutoSentForLate', 'taskAttachment'], { each: true })
108
108
  include?: string[];
109
+
110
+ @ApiPropertyOptional()
111
+ @IsOptional()
112
+ @IsBoolean()
113
+ @ToBoolean()
114
+ allAtFirst?: boolean;
109
115
  }