@silexpert/core 1.1.370 → 1.1.372

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 (85) hide show
  1. package/dist/cjs/api/resources/Authenticate.d.ts +2 -2
  2. package/dist/cjs/api/resources/Authenticate.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Authenticate.js +2 -2
  4. package/dist/cjs/api/resources/Authenticate.js.map +1 -1
  5. package/dist/cjs/api/resources/Card.d.ts +2 -1
  6. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Card.js +3 -0
  8. package/dist/cjs/api/resources/Card.js.map +1 -1
  9. package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.d.ts +3 -0
  10. package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.js +10 -1
  12. package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.js.map +1 -1
  13. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +4 -0
  14. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +16 -1
  16. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +1 -0
  18. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
  20. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +1 -0
  21. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
  22. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +6 -0
  23. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
  24. package/dist/cjs/types/Interface/api/registration/DeclareRegistration.d.ts +1 -0
  25. package/dist/cjs/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
  26. package/dist/cjs/types/Interface/api/registration/DeclareRegistration.js +7 -0
  27. package/dist/cjs/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
  28. package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
  29. package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
  30. package/dist/cjs/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +1 -1
  31. package/dist/cjs/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -1
  32. package/dist/cjs/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +1 -1
  33. package/dist/cjs/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -1
  34. package/dist/cjs/types/Interface/models/ITerminationList.d.ts.map +1 -1
  35. package/dist/cjs/types/Interface/models/ITerminationList.js.map +1 -1
  36. package/dist/mjs/api/resources/Authenticate.d.ts +2 -2
  37. package/dist/mjs/api/resources/Authenticate.d.ts.map +1 -1
  38. package/dist/mjs/api/resources/Authenticate.js +2 -2
  39. package/dist/mjs/api/resources/Authenticate.js.map +1 -1
  40. package/dist/mjs/api/resources/Card.d.ts +2 -1
  41. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  42. package/dist/mjs/api/resources/Card.js +6 -0
  43. package/dist/mjs/api/resources/Card.js.map +1 -1
  44. package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.d.ts +3 -0
  45. package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.d.ts.map +1 -1
  46. package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.js +11 -2
  47. package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.js.map +1 -1
  48. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +4 -0
  49. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  50. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +18 -2
  51. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  52. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +1 -0
  53. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
  54. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
  55. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +1 -0
  56. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
  57. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +7 -0
  58. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
  59. package/dist/mjs/types/Interface/api/registration/DeclareRegistration.d.ts +1 -0
  60. package/dist/mjs/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
  61. package/dist/mjs/types/Interface/api/registration/DeclareRegistration.js +8 -0
  62. package/dist/mjs/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
  63. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
  64. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js +2 -0
  65. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
  66. package/dist/mjs/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +1 -1
  67. package/dist/mjs/types/Interface/api/terminationList/DestroyTerminationList.js +2 -0
  68. package/dist/mjs/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -1
  69. package/dist/mjs/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +1 -1
  70. package/dist/mjs/types/Interface/api/terminationList/QueryTerminationList.js +2 -0
  71. package/dist/mjs/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -1
  72. package/dist/mjs/types/Interface/models/ITerminationList.d.ts.map +1 -1
  73. package/dist/mjs/types/Interface/models/ITerminationList.js.map +1 -1
  74. package/package.json +1 -1
  75. package/ts/api/resources/Authenticate.ts +3 -3
  76. package/ts/api/resources/Card.ts +8 -1
  77. package/ts/types/Interface/api/authentification/ConnectFromSSO.ts +9 -2
  78. package/ts/types/Interface/api/card/QueryUserCards.ts +14 -2
  79. package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +1 -0
  80. package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +5 -0
  81. package/ts/types/Interface/api/registration/DeclareRegistration.ts +6 -0
  82. package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +2 -0
  83. package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +2 -0
  84. package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +2 -0
  85. package/ts/types/Interface/models/ITerminationList.ts +2 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ITerminationList.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,uBAAuB,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACvD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC/B,4BAA4B,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,qBAAqB,CAAC,EAAE,QAAQ,CAAC;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,UAAU,CAAC,EAAE,WAAW,CAAC;CAC1B"}
1
+ {"version":3,"file":"ITerminationList.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,uBAAuB,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACvD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAE/B,4BAA4B,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,qBAAqB,CAAC,EAAE,QAAQ,CAAC;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,UAAU,CAAC,EAAE,WAAW,CAAC;CAC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ITerminationList.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IUser } from './IUser';\nimport { IPrestation } from './IPrestation';\nimport { ConclusionTermination } from '../../Enum/TerminationList';\n\n// terminitionsList\nexport interface ITerminationList {\n id?: number;\n idTerminationType?: number | null;\n idTerminationState?: number | null;\n idTerminationConclusion?: ConclusionTermination | null;\n comment?: string | null;\n recalledCustomer?: Date | null;\n recalledCustomerBySupervisor?: Date | null;\n effectiveDate?: Date | null;\n idExercice?: number | null;\n endContractDate?: Date | null;\n refund?: boolean;\n monthlyPrice?: number | null;\n monthNumber?: number | null;\n monthOffer?: number | null;\n idReasonTermination?: number[] | null;\n idSociety?: number | null;\n idPrestation?: number | null;\n idCollaborateur?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n societiesTerminations?: ISociety;\n exercice?: IExercice;\n user?: IUser;\n prestation?: IPrestation;\n}\n"]}
1
+ {"version":3,"file":"ITerminationList.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IUser } from './IUser';\nimport { IPrestation } from './IPrestation';\nimport { ConclusionTermination } from '../../Enum/TerminationList';\n\n// terminitionsList\nexport interface ITerminationList {\n id?: number;\n idTerminationType?: number | null;\n idTerminationState?: number | null;\n idTerminationConclusion?: ConclusionTermination | null;\n comment?: string | null;\n // @deprecated\n recalledCustomer?: Date | null;\n // @deprecated\n recalledCustomerBySupervisor?: Date | null;\n effectiveDate?: Date | null;\n idExercice?: number | null;\n endContractDate?: Date | null;\n refund?: boolean;\n monthlyPrice?: number | null;\n monthNumber?: number | null;\n monthOffer?: number | null;\n idReasonTermination?: number[] | null;\n idSociety?: number | null;\n idPrestation?: number | null;\n idCollaborateur?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n societiesTerminations?: ISociety;\n exercice?: IExercice;\n user?: IUser;\n prestation?: IPrestation;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.1.370",
3
+ "version": "1.1.372",
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 { FormAuthenticate, PostForgotPassword, PutResetPassword, ReadAuthenticateCollaborater, ReadByExternalId, ReadConnectAs } from '../../types';
1
+ import { ConnectFromUUID, FormAuthenticate, PostForgotPassword, PutResetPassword, ReadAuthenticateCollaborater, ReadByExternalId, ReadConnectAs } from '../../types';
2
2
  import { Resource } from '../Resource';
3
3
 
4
4
  export class Authenticate extends Resource {
@@ -22,7 +22,7 @@ export class Authenticate extends Resource {
22
22
  return this.axios.$put('/authenticate/reset-password', payload);
23
23
  }
24
24
 
25
- async byExternalId(uuid: string): Promise<ReadByExternalId> {
26
- return this.axios.$get(`/authenticate/external/${uuid}`);
25
+ async byExternalId(uuid: string, query: ConnectFromUUID): Promise<ReadByExternalId> {
26
+ return this.axios.$get(`/authenticate/external/${uuid}`, { params: query });
27
27
  }
28
28
  }
@@ -1,5 +1,5 @@
1
1
  import { Resource } from '../Resource';
2
- import { ICard, QueryUserCards, QueryUserCardsStats, CardsStatsGroup, UpdateCard, CardDetail, ModifyTeamPlanning, ModifyExercisePlanning } from '../../types';
2
+ import { ICard, QueryUserCards, QueryUserCardsPaginated, QueryUserCardsStats, CardsStatsGroup, UpdateCard, CardDetail, ModifyTeamPlanning, ModifyExercisePlanning } from '../../types';
3
3
 
4
4
  export class Card extends Resource {
5
5
  getById(id: number, signal?: AbortSignal): Promise<CardDetail> {
@@ -15,6 +15,13 @@ export class Card extends Resource {
15
15
  });
16
16
  }
17
17
 
18
+ getAllPaginated(params: QueryUserCardsPaginated, signal?: AbortSignal): Promise<ICard[]> {
19
+ return this.axios.$get('/cards/paginated', {
20
+ ...(signal ? { signal } : {}),
21
+ params,
22
+ });
23
+ }
24
+
18
25
  /**
19
26
  * @deprecated Use getAll instead
20
27
  */
@@ -1,8 +1,15 @@
1
- import { IsInt } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
1
+ import { IsInt, IsOptional, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
 
4
4
  export class ConnectFromSSO {
5
5
  @ApiProperty()
6
6
  @IsInt()
7
7
  idUser: number;
8
+ }
9
+
10
+ export class ConnectFromUUID {
11
+ @ApiPropertyOptional()
12
+ @IsString()
13
+ @IsOptional()
14
+ identifier?: string;
8
15
  }
@@ -1,5 +1,5 @@
1
- import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
2
- import { ApiPropertyOptional } from '../../../../utils';
1
+ import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { CardType, CardState } from '../../../Enum/Card';
4
4
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
5
5
 
@@ -46,6 +46,18 @@ export class QueryUserCards {
46
46
  declare includePostponed?: boolean;
47
47
  }
48
48
 
49
+ export class QueryUserCardsPaginated extends QueryUserCards {
50
+ @ApiProperty()
51
+ @IsInt()
52
+ @Min(1)
53
+ page: number;
54
+
55
+ @ApiProperty()
56
+ @IsInt()
57
+ @Min(1)
58
+ limit: number;
59
+ }
60
+
49
61
  /**
50
62
  * @deprecated Use QueryUserCards instead
51
63
  */
@@ -16,6 +16,7 @@ export interface CompanyCreationFormPayload {
16
16
  * Régime de TVA
17
17
  */
18
18
  idVatRegime?: VatRegime;
19
+ wantSettlementPayment?: string;
19
20
  /**
20
21
  * Régime fiscal
21
22
  */
@@ -496,6 +496,11 @@ export class CreateCompanyCreationFormData implements CompanyCreationFormPayload
496
496
  @IsString()
497
497
  fiscalRegime?: string;
498
498
 
499
+ @ApiPropertyOptional()
500
+ @IsOptional()
501
+ @IsString()
502
+ wantSettlementPayment?: string;
503
+
499
504
  /**
500
505
  * Dirigeants et associés
501
506
  */
@@ -54,6 +54,12 @@ export class GenerateVatRegistrationPayload {
54
54
  @IsOptional()
55
55
  disableGeneration?: boolean;
56
56
 
57
+ @ApiPropertyOptional()
58
+ @IsBoolean()
59
+ @ToBoolean()
60
+ @IsOptional()
61
+ bypassRegistrationChecking?: boolean;
62
+
57
63
  @ApiPropertyOptional()
58
64
  @IsInt()
59
65
  @IsOptional()
@@ -22,11 +22,13 @@ export class CreateTerminationList {
22
22
  @IsString()
23
23
  comment?: string;
24
24
 
25
+ // @deprecated
25
26
  @ApiPropertyOptional()
26
27
  @IsOptional()
27
28
  @IsDate()
28
29
  recalledCustomer?: Date;
29
30
 
31
+ // @deprecated
30
32
  @ApiPropertyOptional()
31
33
  @IsOptional()
32
34
  @IsDate()
@@ -24,11 +24,13 @@ export class DestroyTerminationList {
24
24
  @IsDateString()
25
25
  endContractDate?: string;
26
26
 
27
+ // @deprecated
27
28
  @ApiPropertyOptional()
28
29
  @IsOptional()
29
30
  @IsDateString()
30
31
  recalledCustomer?: string;
31
32
 
33
+ // @deprecated
32
34
  @ApiPropertyOptional()
33
35
  @IsOptional()
34
36
  @IsDateString()
@@ -24,11 +24,13 @@ export class QueryTerminationList {
24
24
  @IsDateString()
25
25
  endContractDate?: string;
26
26
 
27
+ // @deprecated
27
28
  @ApiPropertyOptional()
28
29
  @IsOptional()
29
30
  @IsDateString()
30
31
  recalledCustomer?: string;
31
32
 
33
+ // @deprecated
32
34
  @ApiPropertyOptional()
33
35
  @IsOptional()
34
36
  @IsDateString()
@@ -11,7 +11,9 @@ export interface ITerminationList {
11
11
  idTerminationState?: number | null;
12
12
  idTerminationConclusion?: ConclusionTermination | null;
13
13
  comment?: string | null;
14
+ // @deprecated
14
15
  recalledCustomer?: Date | null;
16
+ // @deprecated
15
17
  recalledCustomerBySupervisor?: Date | null;
16
18
  effectiveDate?: Date | null;
17
19
  idExercice?: number | null;