@silexpert/core 1.1.104 → 1.1.105

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/es/api/resources/Authenticate.d.ts +2 -0
  2. package/es/api/resources/Authenticate.d.ts.map +1 -1
  3. package/es/api/resources/Authenticate.js +14 -0
  4. package/es/api/resources/Authenticate.js.map +1 -1
  5. package/es/api/resources/BalanceSheet.d.ts +2 -1
  6. package/es/api/resources/BalanceSheet.d.ts.map +1 -1
  7. package/es/api/resources/BalanceSheet.js +3 -0
  8. package/es/api/resources/BalanceSheet.js.map +1 -1
  9. package/es/types/Enum/BalanceSheet.d.ts +2 -8
  10. package/es/types/Enum/BalanceSheet.d.ts.map +1 -1
  11. package/es/types/Enum/BalanceSheet.js +2 -9
  12. package/es/types/Enum/BalanceSheet.js.map +1 -1
  13. package/es/types/Enum/Country.js +242 -242
  14. package/es/types/Enum/Country.js.map +1 -1
  15. package/es/types/Enum/Supervision.d.ts +2 -1
  16. package/es/types/Enum/Supervision.d.ts.map +1 -1
  17. package/es/types/Enum/Supervision.js +7 -0
  18. package/es/types/Enum/Supervision.js.map +1 -1
  19. package/es/types/Form/FormAuthenticate.d.ts +2 -0
  20. package/es/types/Form/FormAuthenticate.d.ts.map +1 -1
  21. package/es/types/Form/FormAuthenticate.js +16 -1
  22. package/es/types/Form/FormAuthenticate.js.map +1 -1
  23. package/es/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +4 -0
  24. package/es/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -0
  25. package/es/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +3 -0
  26. package/es/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -0
  27. package/es/types/Interface/api/balanceSheet/Query.d.ts +5 -0
  28. package/es/types/Interface/api/balanceSheet/Query.d.ts.map +1 -0
  29. package/es/types/Interface/api/balanceSheet/Query.js +25 -0
  30. package/es/types/Interface/api/balanceSheet/Query.js.map +1 -0
  31. package/es/types/Interface/api/balanceSheet/Read.d.ts +18 -0
  32. package/es/types/Interface/api/balanceSheet/Read.d.ts.map +1 -0
  33. package/es/types/Interface/api/balanceSheet/Read.js +2 -0
  34. package/es/types/Interface/api/balanceSheet/Read.js.map +1 -0
  35. package/es/types/Interface/api/log/CreateLog.d.ts +2 -0
  36. package/es/types/Interface/api/log/CreateLog.d.ts.map +1 -1
  37. package/es/types/Interface/api/log/CreateLog.js.map +1 -1
  38. package/es/types/Interface/api/statistic/ExitRequest.d.ts +1 -1
  39. package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +1 -1
  40. package/es/types/Interface/api/statistic/ExitRequest.js.map +1 -1
  41. package/es/types/index.d.ts +3 -0
  42. package/es/types/index.d.ts.map +1 -1
  43. package/es/types/index.js +3 -0
  44. package/es/types/index.js.map +1 -1
  45. package/js/api/resources/Authenticate.js +34 -1
  46. package/js/api/resources/Authenticate.js.map +1 -1
  47. package/js/api/resources/BalanceSheet.js +5 -0
  48. package/js/api/resources/BalanceSheet.js.map +1 -1
  49. package/js/types/Enum/BalanceSheet.js +2 -8
  50. package/js/types/Enum/BalanceSheet.js.map +1 -1
  51. package/js/types/Enum/Country.js +244 -3
  52. package/js/types/Enum/Country.js.map +1 -1
  53. package/js/types/Enum/Supervision.js +6 -0
  54. package/js/types/Enum/Supervision.js.map +1 -1
  55. package/js/types/Form/FormAuthenticate.js +3 -0
  56. package/js/types/Form/FormAuthenticate.js.map +1 -1
  57. package/js/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +8 -0
  58. package/js/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -0
  59. package/js/types/Interface/api/balanceSheet/Query.js +23 -0
  60. package/js/types/Interface/api/balanceSheet/Query.js.map +1 -0
  61. package/js/types/Interface/api/balanceSheet/Read.js +6 -0
  62. package/js/types/Interface/api/balanceSheet/Read.js.map +1 -0
  63. package/js/types/Interface/api/log/CreateLog.js.map +1 -1
  64. package/js/types/Interface/api/statistic/ExitRequest.js.map +1 -1
  65. package/js/types/index.js +81 -51
  66. package/js/types/index.js.map +1 -1
  67. package/package.json +1 -1
  68. package/ts/api/resources/Authenticate.ts +4 -0
  69. package/ts/api/resources/BalanceSheet.ts +5 -1
  70. package/ts/types/Enum/BalanceSheet.ts +2 -9
  71. package/ts/types/Enum/Country.ts +242 -242
  72. package/ts/types/Enum/Supervision.ts +7 -0
  73. package/ts/types/Form/FormAuthenticate.ts +14 -1
  74. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +3 -0
  75. package/ts/types/Interface/api/balanceSheet/Query.ts +16 -0
  76. package/ts/types/Interface/api/balanceSheet/Read.ts +18 -0
  77. package/ts/types/Interface/api/log/CreateLog.ts +3 -1
  78. package/ts/types/Interface/api/statistic/ExitRequest.ts +1 -1
  79. package/ts/types/index.ts +4 -0
@@ -1,5 +1,6 @@
1
- import { IsOptional, IsString } from 'class-validator';
1
+ import { IsBoolean, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../utils';
3
+ import { ToBoolean } from '../../utils/transforms/boolean.transform';
3
4
 
4
5
  export class FormAuthenticate {
5
6
  @ApiProperty()
@@ -17,4 +18,16 @@ export class FormAuthenticate {
17
18
  @ApiPropertyOptional()
18
19
  @IsOptional()
19
20
  token?: string;
21
+
22
+ @ApiPropertyOptional()
23
+ @IsOptional()
24
+ @IsBoolean()
25
+ @ToBoolean()
26
+ stayConnected?: boolean;
27
+
28
+ @ApiPropertyOptional()
29
+ @IsOptional()
30
+ @IsBoolean()
31
+ @ToBoolean()
32
+ fromRegistration?: boolean;
20
33
  }
@@ -0,0 +1,3 @@
1
+ export class ReadAuthenticateCollaborater {
2
+ token: string;
3
+ }
@@ -0,0 +1,16 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
+ import {
3
+ IsDateString, IsNumber, IsOptional,
4
+ } from 'class-validator';
5
+
6
+
7
+ export class QueryBalanceSheetStatistic {
8
+ @ApiProperty()
9
+ @IsDateString()
10
+ date: string;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsNumber()
14
+ @IsOptional()
15
+ idUser: number;
16
+ }
@@ -0,0 +1,18 @@
1
+ export type ReadBalanceSheetYearStatistic = {
2
+ done: number;
3
+ todo: number;
4
+ };
5
+
6
+ export type ReadBalanceSheetStatistic = {
7
+ id: number;
8
+ firstname: string;
9
+ lastname: string;
10
+ statistics: {
11
+ actualYearMinusFour: ReadBalanceSheetYearStatistic;
12
+ actualYearMinusThree: ReadBalanceSheetYearStatistic;
13
+ actualYearMinusTwo: ReadBalanceSheetYearStatistic;
14
+ actualYearMinusOne: ReadBalanceSheetYearStatistic;
15
+ actualYear: ReadBalanceSheetYearStatistic;
16
+ actualYearPlusOne: ReadBalanceSheetYearStatistic;
17
+ }
18
+ };
@@ -8,5 +8,7 @@ export type CreateLog = {
8
8
  idTypeLog: number,
9
9
  idBankAccount?: number,
10
10
  referer?: string,
11
- ip?: string
11
+ ip?: string,
12
+ device?: string,
13
+ navigator?: string,
12
14
  };
@@ -81,7 +81,6 @@ export interface ExitApplication {
81
81
  }
82
82
 
83
83
  export interface StatisticBalanceSheetDetail {
84
- goodToAttested: string[],
85
84
  attested: string[],
86
85
  attestedRefused: string[],
87
86
  attestedObserved: string[],
@@ -92,6 +91,7 @@ export interface StatisticBalanceSheetDetail {
92
91
  acceptedSIEByDefault: string[],
93
92
  ARCAttested: string[],
94
93
  ARCNoAttested: string[],
94
+ establishedRefused: string[],
95
95
  }
96
96
 
97
97
  export interface ReturnListType {
package/ts/types/index.ts CHANGED
@@ -702,6 +702,8 @@ export * from './Interface/api/generalLedger/QueryGeneralLedgerAuxiliary';
702
702
  export * from './Interface/api/generalLedger/IGeneralLedgerThirdParty';
703
703
  export * from './Interface/api/incomeStatement/QueryIncomeStatement';
704
704
  export * from './Interface/api/incomeStatement/ReadIncomeStatement';
705
+ export * from './Interface/api/balanceSheet/Query';
706
+ export * from './Interface/api/balanceSheet/Read';
705
707
  export * from './Interface/api/balanceSheet/ReadBalanceSheet';
706
708
  export * from './Interface/api/balanceSheet/UpdateBalanceSheet';
707
709
  export * from './Interface/api/pappers/QueryPappers';
@@ -932,6 +934,8 @@ export * from './Interface/api/cashAndExpense/Create';
932
934
  export * from './Interface/api/accountsSectors/Create';
933
935
  export * from './Interface/api/fusion/FusionSocieties';
934
936
  export * from './Interface/api/changelog/Create';
937
+ export * from './Interface/api/authentification/ReadAuthenticateCollaborater';
938
+
935
939
  export * from './Interface/api/businessSector/Create';
936
940
  export * from './Interface/api/businessSector/Query';
937
941
  export * from './Interface/api/businessSector/Delete';