@silexpert/core 1.0.180 → 1.0.181

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 (34) hide show
  1. package/es/types/Enum/ReasonTerminationType.d.ts +23 -0
  2. package/es/types/Enum/ReasonTerminationType.d.ts.map +1 -0
  3. package/es/types/Enum/ReasonTerminationType.js +86 -0
  4. package/es/types/Enum/ReasonTerminationType.js.map +1 -0
  5. package/es/types/Interface/api/exercice/UpdateExercice.d.ts +1 -0
  6. package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
  7. package/es/types/Interface/api/exercice/UpdateExercice.js +7 -0
  8. package/es/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
  9. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +1 -0
  10. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  11. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +7 -1
  12. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  13. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts +1 -1
  14. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts.map +1 -1
  15. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
  16. package/es/types/index.d.ts +1 -0
  17. package/es/types/index.d.ts.map +1 -1
  18. package/es/types/index.js +1 -0
  19. package/es/types/index.js.map +1 -1
  20. package/js/types/Enum/ReasonTerminationType.js +74 -0
  21. package/js/types/Enum/ReasonTerminationType.js.map +1 -0
  22. package/js/types/Interface/api/exercice/UpdateExercice.js +1 -0
  23. package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
  24. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +3 -0
  25. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  26. package/js/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
  27. package/js/types/index.js +10 -0
  28. package/js/types/index.js.map +1 -1
  29. package/package.json +1 -1
  30. package/ts/types/Enum/ReasonTerminationType.ts +85 -0
  31. package/ts/types/Interface/api/exercice/UpdateExercice.ts +6 -0
  32. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +6 -1
  33. package/ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts +2 -2
  34. package/ts/types/index.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.0.180",
3
+ "version": "1.0.181",
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": "js/index.js",
@@ -0,0 +1,85 @@
1
+ export enum ReasonTerminationType {
2
+ LIQUIDATION = 1,
3
+ PRICE = 2,
4
+ CHANGE_EC_ONLINE = 3,
5
+ CHANGE_EC_CLASSIC = 4,
6
+ RETIREMENT = 5,
7
+ SELL = 6,
8
+ CONFLICT = 7,
9
+ UNPAYED = 8,
10
+ SOFTWARE = 9,
11
+ RESIGNATION_FROM_THE_MISSION = 10,
12
+ MAIL_LRAR = 11,
13
+ NON_COMPLIANT = 12,
14
+ NO_RESPONSE = 13,
15
+ DISCONTINUED = 14,
16
+ UPDATE = 15,
17
+ ACTIVITY_CESSATION = 16,
18
+ }
19
+
20
+ export const ReasonTerminationTypeDetail = [
21
+ {
22
+ id: ReasonTerminationType.LIQUIDATION,
23
+ label: 'Liquidation',
24
+ },
25
+ {
26
+ id: ReasonTerminationType.PRICE,
27
+ label: 'Prix',
28
+ },
29
+ {
30
+ id: ReasonTerminationType.CHANGE_EC_ONLINE,
31
+ label: 'Changement EC en ligne',
32
+ },
33
+ {
34
+ id: ReasonTerminationType.CHANGE_EC_CLASSIC,
35
+ label: 'Changement EC classique',
36
+ },
37
+ {
38
+ id: ReasonTerminationType.RETIREMENT,
39
+ label: 'Retraite',
40
+ },
41
+ {
42
+ id: ReasonTerminationType.SELL,
43
+ label: 'Vente',
44
+ },
45
+ {
46
+ id: ReasonTerminationType.CONFLICT,
47
+ label: 'Conflit',
48
+ },
49
+ {
50
+ id: ReasonTerminationType.UNPAYED,
51
+ label: 'Impayé',
52
+ },
53
+ {
54
+ id: ReasonTerminationType.SOFTWARE,
55
+ label: 'Logiciel',
56
+ },
57
+ {
58
+ id: ReasonTerminationType.RESIGNATION_FROM_THE_MISSION,
59
+ label: 'Démission de la mission',
60
+ },
61
+ {
62
+ id: ReasonTerminationType.MAIL_LRAR,
63
+ label: 'Mail/LRAR',
64
+ },
65
+ {
66
+ id: ReasonTerminationType.NON_COMPLIANT,
67
+ label: 'Non conforme',
68
+ },
69
+ {
70
+ id: ReasonTerminationType.NO_RESPONSE,
71
+ label: 'Pas de réponse au premier entretien',
72
+ },
73
+ {
74
+ id: ReasonTerminationType.DISCONTINUED,
75
+ label: 'Abandon de constitution',
76
+ },
77
+ {
78
+ id: ReasonTerminationType.UPDATE,
79
+ label: 'Mise à jour du clémentinier',
80
+ },
81
+ {
82
+ id: ReasonTerminationType.ACTIVITY_CESSATION,
83
+ label: 'Cessation d\'activité',
84
+ },
85
+ ];
@@ -63,6 +63,12 @@ export class UpdateExercice {
63
63
  @IsOptional()
64
64
  annualFolderEdition?: boolean;
65
65
 
66
+ @ApiPropertyOptional()
67
+ @IsBoolean()
68
+ @ToBoolean()
69
+ @IsOptional()
70
+ processClossingExercice?: boolean;
71
+
66
72
  @ApiPropertyOptional()
67
73
  @IsNumber()
68
74
  @IsOptional()
@@ -1,5 +1,5 @@
1
1
  import {
2
- IsOptional, IsEnum, IsNumber, IsDateString, IsString, IsArray,
2
+ IsOptional, IsEnum, IsNumber, IsDateString, IsString, IsArray, IsBoolean,
3
3
  } from 'class-validator';
4
4
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
5
  import {
@@ -68,6 +68,11 @@ export class QueryTaxDeadline {
68
68
  each: true,
69
69
  })
70
70
  idLegalForm?: string | string[];
71
+
72
+ @ApiPropertyOptional({ description: 'Exercice cloturé ou non' })
73
+ @IsOptional()
74
+ @IsBoolean()
75
+ isClosed?: boolean;
71
76
  }
72
77
 
73
78
  export class QueryTaxDeadlineStatistics {
@@ -17,11 +17,11 @@ export interface ReadPaginatedDelays {
17
17
  idUser: number;
18
18
  firstname: string;
19
19
  lastname: string;
20
- days: DelaysByDay
20
+ days: DelaysByDay;
21
21
  }
22
22
 
23
23
  export type ReadPlaceToWork = Array< {
24
- location: string;
24
+ location: number;
25
25
  id: number;
26
26
  value: number;
27
27
  }>;
package/ts/types/index.ts CHANGED
@@ -477,6 +477,7 @@ export * from './Enum/AdminAcceptance';
477
477
  export * from './Enum/PrestationListType';
478
478
  export * from './Enum/UnpaidCallHistoryType';
479
479
  export * from './Enum/CommercialImportHeader';
480
+ export * from './Enum/ReasonTerminationType';
480
481
 
481
482
  // Interfaces API
482
483
  export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';