@silexpert/core 0.4.203 → 0.4.206

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 (141) hide show
  1. package/es/api/resources/Connector.d.ts +2 -0
  2. package/es/api/resources/Connector.d.ts.map +1 -1
  3. package/es/api/resources/Connector.js +3 -0
  4. package/es/api/resources/Connector.js.map +1 -1
  5. package/es/api/resources/Mobile.d.ts +1 -1
  6. package/es/api/resources/Mobile.js +2 -2
  7. package/es/api/resources/Mobile.js.map +1 -1
  8. package/es/api/resources/SocietyEvent.d.ts +7 -0
  9. package/es/api/resources/SocietyEvent.d.ts.map +1 -0
  10. package/es/api/resources/SocietyEvent.js +10 -0
  11. package/es/api/resources/SocietyEvent.js.map +1 -0
  12. package/es/api/resources/Transaction.d.ts +1 -0
  13. package/es/api/resources/Transaction.d.ts.map +1 -1
  14. package/es/api/resources/Transaction.js +3 -0
  15. package/es/api/resources/Transaction.js.map +1 -1
  16. package/es/api/resources/User.d.ts +4 -0
  17. package/es/api/resources/User.d.ts.map +1 -1
  18. package/es/api/resources/User.js +7 -1
  19. package/es/api/resources/User.js.map +1 -1
  20. package/es/api/resources.d.ts +2 -0
  21. package/es/api/resources.d.ts.map +1 -1
  22. package/es/api/resources.js +2 -0
  23. package/es/api/resources.js.map +1 -1
  24. package/es/types/Enum/SocietyTypeEvent.d.ts +5 -0
  25. package/es/types/Enum/SocietyTypeEvent.d.ts.map +1 -0
  26. package/es/types/Enum/SocietyTypeEvent.js +6 -0
  27. package/es/types/Enum/SocietyTypeEvent.js.map +1 -0
  28. package/es/types/Enum/SurveyType.d.ts +2 -1
  29. package/es/types/Enum/SurveyType.d.ts.map +1 -1
  30. package/es/types/Enum/SurveyType.js +1 -0
  31. package/es/types/Enum/SurveyType.js.map +1 -1
  32. package/es/types/Interface/api/bankAccount/ImportBankAccount.d.ts +5 -0
  33. package/es/types/Interface/api/bankAccount/ImportBankAccount.d.ts.map +1 -0
  34. package/es/types/Interface/api/bankAccount/ImportBankAccount.js +26 -0
  35. package/es/types/Interface/api/bankAccount/ImportBankAccount.js.map +1 -0
  36. package/es/types/Interface/api/budgetInsight/Query.d.ts +11 -0
  37. package/es/types/Interface/api/budgetInsight/Query.d.ts.map +1 -1
  38. package/es/types/Interface/api/budgetInsight/Query.js.map +1 -1
  39. package/es/types/Interface/api/checklist/Read.d.ts +1 -1
  40. package/es/types/Interface/api/checklist/Read.d.ts.map +1 -1
  41. package/es/types/Interface/api/checklist/Read.js.map +1 -1
  42. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
  43. package/es/types/Interface/api/mail/QueryPaginatedMail.js +2 -3
  44. package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  45. package/es/types/Interface/api/mobile/QueryMobileMigration.d.ts +5 -0
  46. package/es/types/Interface/api/mobile/QueryMobileMigration.d.ts.map +1 -0
  47. package/es/types/Interface/api/mobile/QueryMobileMigration.js +26 -0
  48. package/es/types/Interface/api/mobile/QueryMobileMigration.js.map +1 -0
  49. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -3
  50. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
  51. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js +3 -9
  52. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  53. package/es/types/Interface/api/societyEvent/CreateSocietyEvent.d.ts +6 -0
  54. package/es/types/Interface/api/societyEvent/CreateSocietyEvent.d.ts.map +1 -0
  55. package/es/types/Interface/api/societyEvent/CreateSocietyEvent.js +22 -0
  56. package/es/types/Interface/api/societyEvent/CreateSocietyEvent.js.map +1 -0
  57. package/es/types/Interface/api/societyEvent/QuerySocietyEvent.d.ts +5 -0
  58. package/es/types/Interface/api/societyEvent/QuerySocietyEvent.d.ts.map +1 -0
  59. package/es/types/Interface/api/societyEvent/QuerySocietyEvent.js +17 -0
  60. package/es/types/Interface/api/societyEvent/QuerySocietyEvent.js.map +1 -0
  61. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +2 -0
  62. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
  63. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  64. package/es/types/Interface/models/IChecklist.d.ts +1 -1
  65. package/es/types/Interface/models/IChecklist.d.ts.map +1 -1
  66. package/es/types/Interface/models/IChecklist.js.map +1 -1
  67. package/es/types/Interface/models/IComment.d.ts +1 -0
  68. package/es/types/Interface/models/IComment.d.ts.map +1 -1
  69. package/es/types/Interface/models/IComment.js.map +1 -1
  70. package/es/types/Interface/models/IMobile.d.ts +1 -0
  71. package/es/types/Interface/models/IMobile.d.ts.map +1 -1
  72. package/es/types/Interface/models/IMobile.js.map +1 -1
  73. package/es/types/Interface/models/ISociety.d.ts +2 -0
  74. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  75. package/es/types/Interface/models/ISociety.js.map +1 -1
  76. package/es/types/Interface/models/ISocietyEvent.d.ts +12 -0
  77. package/es/types/Interface/models/ISocietyEvent.d.ts.map +1 -0
  78. package/es/types/Interface/models/ISocietyEvent.js +2 -0
  79. package/es/types/Interface/models/ISocietyEvent.js.map +1 -0
  80. package/es/types/index.d.ts +7 -1
  81. package/es/types/index.d.ts.map +1 -1
  82. package/es/types/index.js +7 -1
  83. package/es/types/index.js.map +1 -1
  84. package/js/api/resources/Connector.js +4 -0
  85. package/js/api/resources/Connector.js.map +1 -1
  86. package/js/api/resources/Mobile.js +2 -2
  87. package/js/api/resources/Mobile.js.map +1 -1
  88. package/js/api/resources/SocietyEvent.js +24 -0
  89. package/js/api/resources/SocietyEvent.js.map +1 -0
  90. package/js/api/resources/Transaction.js +4 -0
  91. package/js/api/resources/Transaction.js.map +1 -1
  92. package/js/api/resources/User.js +9 -1
  93. package/js/api/resources/User.js.map +1 -1
  94. package/js/api/resources.js +4 -1
  95. package/js/api/resources.js.map +1 -1
  96. package/js/types/Enum/SocietyTypeEvent.js +12 -0
  97. package/js/types/Enum/SocietyTypeEvent.js.map +1 -0
  98. package/js/types/Enum/SurveyType.js +1 -0
  99. package/js/types/Enum/SurveyType.js.map +1 -1
  100. package/js/types/Interface/api/bankAccount/ImportBankAccount.js +31 -0
  101. package/js/types/Interface/api/bankAccount/ImportBankAccount.js.map +1 -0
  102. package/js/types/Interface/api/budgetInsight/Query.js.map +1 -1
  103. package/js/types/Interface/api/mail/QueryPaginatedMail.js +3 -1
  104. package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  105. package/js/types/Interface/api/mobile/QueryMobileMigration.js +35 -0
  106. package/js/types/Interface/api/mobile/QueryMobileMigration.js.map +1 -0
  107. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js +1 -5
  108. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  109. package/js/types/Interface/api/societyEvent/CreateSocietyEvent.js +31 -0
  110. package/js/types/Interface/api/societyEvent/CreateSocietyEvent.js.map +1 -0
  111. package/js/types/Interface/api/societyEvent/QuerySocietyEvent.js +27 -0
  112. package/js/types/Interface/api/societyEvent/QuerySocietyEvent.js.map +1 -0
  113. package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  114. package/js/types/Interface/models/ISocietyEvent.js +6 -0
  115. package/js/types/Interface/models/ISocietyEvent.js.map +1 -0
  116. package/js/types/index.js +78 -6
  117. package/js/types/index.js.map +1 -1
  118. package/package.json +1 -1
  119. package/ts/api/resources/Connector.ts +4 -0
  120. package/ts/api/resources/Mobile.ts +2 -2
  121. package/ts/api/resources/SocietyEvent.ts +12 -0
  122. package/ts/api/resources/Transaction.ts +4 -0
  123. package/ts/api/resources/User.ts +7 -1
  124. package/ts/api/resources.ts +2 -0
  125. package/ts/types/Enum/SocietyTypeEvent.ts +4 -0
  126. package/ts/types/Enum/SurveyType.ts +1 -0
  127. package/ts/types/Interface/api/bankAccount/ImportBankAccount.ts +14 -0
  128. package/ts/types/Interface/api/budgetInsight/Query.ts +12 -0
  129. package/ts/types/Interface/api/checklist/Read.ts +1 -1
  130. package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +2 -3
  131. package/ts/types/Interface/api/mobile/QueryMobileMigration.ts +14 -0
  132. package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +4 -9
  133. package/ts/types/Interface/api/societyEvent/CreateSocietyEvent.ts +10 -0
  134. package/ts/types/Interface/api/societyEvent/QuerySocietyEvent.ts +7 -0
  135. package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +2 -0
  136. package/ts/types/Interface/models/IChecklist.ts +1 -1
  137. package/ts/types/Interface/models/IComment.ts +1 -0
  138. package/ts/types/Interface/models/IMobile.ts +1 -0
  139. package/ts/types/Interface/models/ISociety.ts +2 -0
  140. package/ts/types/Interface/models/ISocietyEvent.ts +14 -0
  141. package/ts/types/index.ts +7 -1
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  IsArray,
3
3
  IsBoolean,
4
- IsDate, IsEnum, IsNumber, IsOptional, IsString,
4
+ IsDate, IsNumber, IsOptional, IsString,
5
5
  } from 'class-validator';
6
- import { AccountingJournal, ApiProperty } from '../../../..';
6
+ import { ApiProperty } from '../../../..';
7
7
  import { ApiPropertyOptional } from '../../../../utils';
8
8
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
9
9
 
@@ -52,11 +52,6 @@ export class QueryRevisionSearchEntries {
52
52
  @IsOptional()
53
53
  endAccountNumber?: string;
54
54
 
55
- @ApiPropertyOptional()
56
- @IsEnum(AccountingJournal)
57
- @IsOptional()
58
- idAccountingJournal?: number;
59
-
60
55
  // advanced search
61
56
  @ApiPropertyOptional()
62
57
  @IsNumber()
@@ -69,9 +64,9 @@ export class QueryRevisionSearchEntries {
69
64
  maximumAmount?: number;
70
65
 
71
66
  @ApiPropertyOptional()
72
- @IsArray({ each: true })
67
+ @IsArray()
73
68
  @IsOptional()
74
- idsAccountingJournal?: Array<AccountingJournal>;
69
+ idsAccountingJournal?: Array<number>;
75
70
 
76
71
  @ApiPropertyOptional()
77
72
  @IsNumber()
@@ -0,0 +1,10 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
+ import { SocietyTypeEvent } from '../../../Enum/SocietyTypeEvent';
3
+
4
+ export class CreateSocietyEvent {
5
+ @ApiProperty()
6
+ idTypeEvent: SocietyTypeEvent;
7
+
8
+ @ApiPropertyOptional()
9
+ state?: string;
10
+ }
@@ -0,0 +1,7 @@
1
+ import { ApiPropertyOptional } from '../../../../utils';
2
+ import { SocietyTypeEvent } from '../../../Enum/SocietyTypeEvent';
3
+
4
+ export class QuerySocietyEvent {
5
+ @ApiPropertyOptional()
6
+ idTypeEvent?: SocietyTypeEvent[] | null;
7
+ }
@@ -9,6 +9,7 @@ import { IUser } from '../../models/IUser';
9
9
  import { ITerminationList } from '../../models/ITerminationList';
10
10
  import { UnpaidDetail, IPendingPoint } from '../../..';
11
11
  import { ICustomerTva } from '../../models/ICustomerTva';
12
+ import { ISocietyStat } from '../../models/ISocietyStat';
12
13
 
13
14
  export class ReadTaxDeadline {
14
15
  society: {
@@ -37,6 +38,7 @@ export class ReadTaxDeadline {
37
38
  prestations: PrestationTaxDeadline[];
38
39
  activePrestationsComplementary: ComplementaryPrestationTaxDeadline[];
39
40
  statistics: {
41
+ turnovers: ISocietyStat[];
40
42
  transactions: {
41
43
  annoted: number;
42
44
  total: number;
@@ -23,6 +23,6 @@ export interface IChecklist {
23
23
  // Associations
24
24
  checklistHasSomeDetails?: IChecklistDetail[];
25
25
  checklistHasOneSupervisor?: IUser;
26
- exoChecklist?: IExercice;
26
+ exercice?: IExercice;
27
27
  checklistHasOneCustomerVat?: ICustomerTva;
28
28
  }
@@ -12,6 +12,7 @@ export interface IComment {
12
12
  idSociety?: number | null;
13
13
  idReport?: number | null;
14
14
  idUser?: number | null;
15
+ idChecklist?: number | null;
15
16
  isPing?: boolean;
16
17
  createdAt?: Date | null;
17
18
  updatedAt?: Date | null;
@@ -3,6 +3,7 @@ import { IUser } from './IUser';
3
3
  export interface IMobile {
4
4
  id?: number;
5
5
  lastConnection: Date | null;
6
+ firstConnection: Date | null;
6
7
  token: string | null;
7
8
  idUser: number;
8
9
  createdAt?: Date | null;
@@ -46,6 +46,7 @@ import { ISurvey } from './ISurvey';
46
46
  import { ILog } from './ILog';
47
47
  import { ISms } from './ISms';
48
48
  import { IUser } from './IUser';
49
+ import { ISocietyEvent } from './ISocietyEvent';
49
50
  import {
50
51
  ComptaType, Country, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety,
51
52
  } from '../..';
@@ -200,4 +201,5 @@ export interface ISociety {
200
201
  brandType?: IBrandType;
201
202
  partneredAccountantCompaniesServices: IPartneredAccountantCompanyService[];
202
203
  partneredAccountantRelated: IPartneredAccountantToSociety;
204
+ events: ISocietyEvent[];
203
205
  }
@@ -0,0 +1,14 @@
1
+ import { SocietyTypeEvent } from '../../Enum/SocietyTypeEvent';
2
+ import { ISociety } from './ISociety';
3
+
4
+ export interface ISocietyEvent {
5
+ id: number;
6
+ idSociety: number;
7
+ idTypeEvent: SocietyTypeEvent;
8
+ state?: string | null;
9
+ createdAt?: Date | null;
10
+ updatedAt?: Date | null;
11
+
12
+ // Association
13
+ society: ISociety;
14
+ }
package/ts/types/index.ts CHANGED
@@ -303,6 +303,7 @@ export * from './Interface/models/IBalanceSheetCompletion';
303
303
  export * from './Interface/models/IDefaultPromotion';
304
304
  export * from './Interface/models/INafCode';
305
305
  export * from './Interface/models/IMobile';
306
+ export * from './Interface/models/ISocietyEvent';
306
307
 
307
308
  // Forms
308
309
  export * from './Form/FormAuthenticate';
@@ -411,6 +412,7 @@ export * from './Enum/SalariesType';
411
412
  export * from './Enum/SheetMonthScheduleDetailType';
412
413
  export * from './Enum/ChecklistType';
413
414
  export * from './Enum/NotificationType';
415
+ export * from './Enum/SocietyTypeEvent';
414
416
 
415
417
  // Interfaces API
416
418
  export * from './Interface/api/jeDeclare/ReadJeDeclare';
@@ -541,6 +543,7 @@ export * from './Interface/api/webmail/GetMissingMailsInFinalBucket';
541
543
  export * from './Interface/api/promoCode/CreateDefaultPromoCode';
542
544
  export * from './Interface/api/promoCode/ReadDefaultPaginationPromoCode';
543
545
  export * from './Interface/api/bankAccount/QueryBankAccount';
546
+ export * from './Interface/api/bankAccount/ImportBankAccount';
544
547
  export * from './Interface/api/log/QueryLogPagination';
545
548
  export * from './Interface/api/employee/QueryEmployeeSearch';
546
549
  export * from './Interface/api/employee/QueryCreateEmployee';
@@ -701,10 +704,13 @@ export * from './Interface/api/checklist/Read';
701
704
  export * from './Interface/api/checklist/Query';
702
705
  export * from './Interface/api/checklist/Update';
703
706
  export * from './Interface/api/notification/CreateNotification';
707
+ export * from './Interface/api/mobile/UpdateMobile';
708
+ export * from './Interface/api/mobile/QueryMobileMigration';
709
+ export * from './Interface/api/societyEvent/QuerySocietyEvent';
710
+ export * from './Interface/api/societyEvent/CreateSocietyEvent';
704
711
 
705
712
  // Enums types
706
713
  export * from './Interface/enum/Util';
707
- export * from './Interface/api/mobile/UpdateMobile';
708
714
 
709
715
  export * from '../utils/cerfa';
710
716
  export * from '../utils/checklist';