@silexpert/core 1.0.72 → 1.0.74

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 (154) hide show
  1. package/es/api/resources/Commercial.d.ts +8 -1
  2. package/es/api/resources/Commercial.d.ts.map +1 -1
  3. package/es/api/resources/Commercial.js +13 -1
  4. package/es/api/resources/Commercial.js.map +1 -1
  5. package/es/api/resources/Facturation.d.ts +10 -0
  6. package/es/api/resources/Facturation.d.ts.map +1 -0
  7. package/es/api/resources/Facturation.js +13 -0
  8. package/es/api/resources/Facturation.js.map +1 -0
  9. package/es/api/resources/Regulate.d.ts +7 -0
  10. package/es/api/resources/Regulate.d.ts.map +1 -0
  11. package/es/api/resources/Regulate.js +7 -0
  12. package/es/api/resources/Regulate.js.map +1 -0
  13. package/es/api/resources.d.ts +4 -0
  14. package/es/api/resources.d.ts.map +1 -1
  15. package/es/api/resources.js +4 -0
  16. package/es/api/resources.js.map +1 -1
  17. package/es/types/Enum/BrandPourcentage.js +1 -1
  18. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  19. package/es/types/Enum/Ged.d.ts +2 -0
  20. package/es/types/Enum/Ged.d.ts.map +1 -1
  21. package/es/types/Enum/Ged.js +2 -2
  22. package/es/types/Enum/Ged.js.map +1 -1
  23. package/es/types/Enum/RegulateType.d.ts +10 -0
  24. package/es/types/Enum/RegulateType.d.ts.map +1 -0
  25. package/es/types/Enum/RegulateType.js +11 -0
  26. package/es/types/Enum/RegulateType.js.map +1 -0
  27. package/es/types/Enum/TimeCounterType.js +7 -7
  28. package/es/types/Enum/TimeCounterType.js.map +1 -1
  29. package/es/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.d.ts +5 -0
  30. package/es/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.d.ts.map +1 -0
  31. package/es/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.js +26 -0
  32. package/es/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.js.map +1 -0
  33. package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.d.ts +7 -0
  34. package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.d.ts.map +1 -0
  35. package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js +26 -0
  36. package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js.map +1 -0
  37. package/es/types/Interface/api/commercial/QueryGetStats.d.ts +6 -0
  38. package/es/types/Interface/api/commercial/QueryGetStats.d.ts.map +1 -0
  39. package/es/types/Interface/api/commercial/QueryGetStats.js +32 -0
  40. package/es/types/Interface/api/commercial/QueryGetStats.js.map +1 -0
  41. package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.d.ts +4 -0
  42. package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.d.ts.map +1 -0
  43. package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js +19 -0
  44. package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js.map +1 -0
  45. package/es/types/Interface/api/facturation/CreateRebilling.d.ts +11 -0
  46. package/es/types/Interface/api/facturation/CreateRebilling.d.ts.map +1 -0
  47. package/es/types/Interface/api/facturation/CreateRebilling.js +58 -0
  48. package/es/types/Interface/api/facturation/CreateRebilling.js.map +1 -0
  49. package/es/types/Interface/api/regulate/QueryGetAll.d.ts +6 -0
  50. package/es/types/Interface/api/regulate/QueryGetAll.d.ts.map +1 -0
  51. package/es/types/Interface/api/regulate/QueryGetAll.js +32 -0
  52. package/es/types/Interface/api/regulate/QueryGetAll.js.map +1 -0
  53. package/es/types/Interface/api/regulate/RegulateWithStats.d.ts +13 -0
  54. package/es/types/Interface/api/regulate/RegulateWithStats.d.ts.map +1 -0
  55. package/es/types/Interface/api/regulate/RegulateWithStats.js +2 -0
  56. package/es/types/Interface/api/regulate/RegulateWithStats.js.map +1 -0
  57. package/es/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.d.ts +11 -0
  58. package/es/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.d.ts.map +1 -0
  59. package/es/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.js +62 -0
  60. package/es/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.js.map +1 -0
  61. package/es/types/Interface/api/society/QuerySociety.d.ts +1 -0
  62. package/es/types/Interface/api/society/QuerySociety.d.ts.map +1 -1
  63. package/es/types/Interface/api/society/QuerySociety.js +8 -0
  64. package/es/types/Interface/api/society/QuerySociety.js.map +1 -1
  65. package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts +1 -1
  66. package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts.map +1 -1
  67. package/es/types/Interface/api/society/SocietyWithStatsCaParams.js.map +1 -1
  68. package/es/types/Interface/models/IBillingHistory.d.ts +18 -0
  69. package/es/types/Interface/models/IBillingHistory.d.ts.map +1 -0
  70. package/es/types/Interface/models/IBillingHistory.js +2 -0
  71. package/es/types/Interface/models/IBillingHistory.js.map +1 -0
  72. package/es/types/Interface/models/IExercice.d.ts +1 -0
  73. package/es/types/Interface/models/IExercice.d.ts.map +1 -1
  74. package/es/types/Interface/models/IExercice.js.map +1 -1
  75. package/es/types/Interface/models/IOldExpertInfo.d.ts +1 -0
  76. package/es/types/Interface/models/IOldExpertInfo.d.ts.map +1 -1
  77. package/es/types/Interface/models/IOldExpertInfo.js.map +1 -1
  78. package/es/types/Interface/models/IRegulate.d.ts +5 -0
  79. package/es/types/Interface/models/IRegulate.d.ts.map +1 -1
  80. package/es/types/Interface/models/IRegulate.js.map +1 -1
  81. package/es/types/Interface/models/ISociety.d.ts +2 -1
  82. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  83. package/es/types/Interface/models/ISociety.js.map +1 -1
  84. package/es/types/Interface/models/IUser.d.ts +1 -0
  85. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  86. package/es/types/Interface/models/IUser.js.map +1 -1
  87. package/es/types/index.d.ts +10 -0
  88. package/es/types/index.d.ts.map +1 -1
  89. package/es/types/index.js +10 -0
  90. package/es/types/index.js.map +1 -1
  91. package/js/api/resources/Commercial.js +31 -1
  92. package/js/api/resources/Commercial.js.map +1 -1
  93. package/js/api/resources/Facturation.js +34 -0
  94. package/js/api/resources/Facturation.js.map +1 -0
  95. package/js/api/resources/Regulate.js +22 -0
  96. package/js/api/resources/Regulate.js.map +1 -0
  97. package/js/api/resources.js +6 -0
  98. package/js/api/resources.js.map +1 -1
  99. package/js/types/Enum/BrandPourcentage.js +1 -1
  100. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  101. package/js/types/Enum/Ged.js +3 -3
  102. package/js/types/Enum/Ged.js.map +1 -1
  103. package/js/types/Enum/RegulateType.js +18 -0
  104. package/js/types/Enum/RegulateType.js.map +1 -0
  105. package/js/types/Enum/TimeCounterType.js +7 -7
  106. package/js/types/Enum/TimeCounterType.js.map +1 -1
  107. package/js/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.js +35 -0
  108. package/js/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.js.map +1 -0
  109. package/js/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js +35 -0
  110. package/js/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js.map +1 -0
  111. package/js/types/Interface/api/commercial/QueryGetStats.js +33 -0
  112. package/js/types/Interface/api/commercial/QueryGetStats.js.map +1 -0
  113. package/js/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js +29 -0
  114. package/js/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js.map +1 -0
  115. package/js/types/Interface/api/facturation/CreateRebilling.js +45 -0
  116. package/js/types/Interface/api/facturation/CreateRebilling.js.map +1 -0
  117. package/js/types/Interface/api/regulate/QueryGetAll.js +33 -0
  118. package/js/types/Interface/api/regulate/QueryGetAll.js.map +1 -0
  119. package/js/types/Interface/api/regulate/RegulateWithStats.js +6 -0
  120. package/js/types/Interface/api/regulate/RegulateWithStats.js.map +1 -0
  121. package/js/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.js +47 -0
  122. package/js/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.js.map +1 -0
  123. package/js/types/Interface/api/society/QuerySociety.js +7 -1
  124. package/js/types/Interface/api/society/QuerySociety.js.map +1 -1
  125. package/js/types/Interface/models/IBillingHistory.js +6 -0
  126. package/js/types/Interface/models/IBillingHistory.js.map +1 -0
  127. package/js/types/index.js +120 -0
  128. package/js/types/index.js.map +1 -1
  129. package/package.json +1 -1
  130. package/ts/api/resources/Commercial.ts +17 -2
  131. package/ts/api/resources/Facturation.ts +18 -0
  132. package/ts/api/resources/Regulate.ts +9 -0
  133. package/ts/api/resources.ts +4 -0
  134. package/ts/types/Enum/BrandPourcentage.ts +1 -1
  135. package/ts/types/Enum/Ged.ts +2 -2
  136. package/ts/types/Enum/RegulateType.ts +10 -0
  137. package/ts/types/Enum/TimeCounterType.ts +7 -7
  138. package/ts/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.ts +16 -0
  139. package/ts/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.ts +16 -0
  140. package/ts/types/Interface/api/commercial/QueryGetStats.ts +21 -0
  141. package/ts/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.ts +10 -0
  142. package/ts/types/Interface/api/facturation/CreateRebilling.ts +42 -0
  143. package/ts/types/Interface/api/regulate/QueryGetAll.ts +21 -0
  144. package/ts/types/Interface/api/regulate/RegulateWithStats.ts +12 -0
  145. package/ts/types/Interface/api/society/QueryPaginatedSocietyWithFacturation.ts +46 -0
  146. package/ts/types/Interface/api/society/QuerySociety.ts +7 -0
  147. package/ts/types/Interface/api/society/SocietyWithStatsCaParams.ts +1 -1
  148. package/ts/types/Interface/models/IBillingHistory.ts +21 -0
  149. package/ts/types/Interface/models/IExercice.ts +1 -0
  150. package/ts/types/Interface/models/IOldExpertInfo.ts +1 -0
  151. package/ts/types/Interface/models/IRegulate.ts +7 -0
  152. package/ts/types/Interface/models/ISociety.ts +2 -1
  153. package/ts/types/Interface/models/IUser.ts +1 -0
  154. package/ts/types/index.ts +10 -0
@@ -51,7 +51,7 @@ export const BrandPourcentage = [
51
51
  miniLogoUrl: 'logo-pourcentage-mini.svg',
52
52
  hiddenPages: [],
53
53
  recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
54
- urlApp: 'https://app.pourcentage.fr/',
54
+ urlApp: 'https://app.pourcentage.fr',
55
55
  urlApi1: 'https://api.pourcentage.fr',
56
56
  urlApi2: 'https://api-next.pourcentage.fr',
57
57
  urlExpert: 'https://pro.pourcentage.fr',
@@ -11,8 +11,8 @@ export enum GedCategory {
11
11
 
12
12
  export enum GedFolder {
13
13
  KBIS = 1,
14
- // Mission letters = 2,
15
- // Mandates & RIB = 3,
14
+ LDM = 2,
15
+ RIB_MANDATES = 3,
16
16
  // Balance-GL Journals = 5,
17
17
  // Closes & Balance Sheets = 7,
18
18
  // VAT declarations = 10,
@@ -0,0 +1,10 @@
1
+ export enum RegulateType {
2
+ SATISFIED_REFUNDED = 1,
3
+
4
+ }
5
+ export const RegulateTypeDetail = {
6
+ SATISFIED_REFUNDED: {
7
+ id: RegulateType.SATISFIED_REFUNDED,
8
+ name: 'Satisfait/remboursé',
9
+ },
10
+ };
@@ -5,28 +5,28 @@ export const TimeCounterType = {
5
5
  id: 1,
6
6
  label: 'OnBoarding',
7
7
  aberrantTime: 60,
8
- limitedRoles: [Role.FRONT_OFFICE],
8
+ limitedRoles: [Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS],
9
9
  color: 'fire',
10
10
  },
11
11
  VAT: {
12
12
  id: 2,
13
13
  label: 'TVA',
14
14
  aberrantTime: 60,
15
- limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
15
+ limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS],
16
16
  color: 'iris',
17
17
  },
18
18
  REVISION: {
19
19
  id: 3,
20
20
  label: 'Révision',
21
21
  aberrantTime: 120,
22
- limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
22
+ limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS],
23
23
  color: 'bubblegum-light',
24
24
  },
25
25
  FOLDER_REVIEW: {
26
26
  id: 4,
27
27
  label: 'Revue dossier',
28
28
  aberrantTime: 60,
29
- limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
29
+ limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS],
30
30
  color: 'cerulean',
31
31
  },
32
32
  REPORTING: {
@@ -75,7 +75,7 @@ export const TimeCounterType = {
75
75
  id: 11,
76
76
  label: 'Prévisionnel',
77
77
  aberrantTime: 20,
78
- limitedRoles: [Role.FRONT_OFFICE],
78
+ limitedRoles: [Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS],
79
79
  color: 'cerulean-light',
80
80
  },
81
81
  CERTIFICATE: {
@@ -89,7 +89,7 @@ export const TimeCounterType = {
89
89
  id: 13,
90
90
  label: 'Mission complémentaire',
91
91
  aberrantTime: 20,
92
- limitedRoles: [Role.FRONT_OFFICE],
92
+ limitedRoles: [Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS],
93
93
  color: 'cerulean-light',
94
94
  },
95
95
  ORGANISATION: {
@@ -138,7 +138,7 @@ export const TimeCounterType = {
138
138
  id: 20,
139
139
  label: 'Bilan',
140
140
  aberrantTime: 120,
141
- limitedRoles: [Role.FRONT_OFFICE, Role.EXPERT_ACCOUNTANT],
141
+ limitedRoles: [Role.FRONT_OFFICE, Role.FRONT_OFFICE_EXPRESS, Role.EXPERT_ACCOUNTANT],
142
142
  color: 'cerulean-dark',
143
143
  },
144
144
  PAYSLIP: {
@@ -0,0 +1,16 @@
1
+ import {
2
+ IsInt, IsOptional, /* IsString, */
3
+ } from 'class-validator';
4
+ import { ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class QueryPaginatedBillingHistory {
7
+ @ApiPropertyOptional({ default: 25 })
8
+ @IsOptional()
9
+ @IsInt()
10
+ limit?: number;
11
+
12
+ @ApiPropertyOptional({ default: 1 })
13
+ @IsOptional()
14
+ @IsInt()
15
+ page?: number;
16
+ }
@@ -0,0 +1,16 @@
1
+ import {
2
+ IsInt,
3
+ } from 'class-validator';
4
+ import { ApiProperty } from '../../../../utils';
5
+
6
+ export class QueryFetchDialogDatasInfosOk {
7
+ @ApiProperty()
8
+ @IsInt()
9
+ idSociety: number;
10
+ }
11
+
12
+ export class QueryFetchDialogDatasDocsOk {
13
+ @ApiProperty()
14
+ @IsInt()
15
+ idSociety: number;
16
+ }
@@ -0,0 +1,21 @@
1
+ import {
2
+ IsInt, IsOptional,
3
+ } from 'class-validator';
4
+ import { ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class QueryGetStats {
7
+ @ApiPropertyOptional()
8
+ @IsOptional()
9
+ @IsInt()
10
+ month?: number;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsInt()
15
+ year?: number;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsInt()
20
+ idUser?: number;
21
+ }
@@ -0,0 +1,10 @@
1
+ import {
2
+ IsInt,
3
+ } from 'class-validator';
4
+ import { ApiProperty } from '../../../../utils';
5
+
6
+ export class QueryMovePrestationsToNextMonth {
7
+ @ApiProperty()
8
+ @IsInt()
9
+ idUser: number;
10
+ }
@@ -0,0 +1,42 @@
1
+ import {
2
+ IsBoolean, IsInt, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../..';
5
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
6
+
7
+ export class CreateRebilling {
8
+ @ApiPropertyOptional()
9
+ @IsOptional()
10
+ @IsString()
11
+ comment?: string;
12
+
13
+ @ApiPropertyOptional()
14
+ @IsOptional()
15
+ @IsBoolean()
16
+ @ToBoolean()
17
+ hasToBeAccruals?: string;
18
+
19
+ @ApiProperty()
20
+ @IsString()
21
+ turnoverMax: string;
22
+
23
+ @ApiProperty()
24
+ @IsInt()
25
+ idExercice: number;
26
+
27
+ @ApiProperty()
28
+ @IsInt()
29
+ idSociety: number;
30
+
31
+ @ApiProperty()
32
+ @IsInt()
33
+ idPrestation: number;
34
+
35
+ @ApiProperty()
36
+ @IsInt()
37
+ numberOfMonths: number;
38
+
39
+ @ApiProperty()
40
+ @IsInt()
41
+ totalAmount: number;
42
+ }
@@ -0,0 +1,21 @@
1
+ import {
2
+ IsInt, IsOptional,
3
+ } from 'class-validator';
4
+ import { ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class QueryGetAll {
7
+ @ApiPropertyOptional()
8
+ @IsOptional()
9
+ @IsInt()
10
+ month?: number;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsInt()
15
+ year?: number;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsInt()
20
+ idUser?: number;
21
+ }
@@ -0,0 +1,12 @@
1
+ import { ISociety } from '../../..';
2
+
3
+ interface SocietyWithRegulate extends Partial<ISociety> {
4
+ type?: string;
5
+ regulateAmount: number;
6
+ }
7
+ export interface RegulateWithStats {
8
+ commercialName: string;
9
+ nbRegulates: number;
10
+ sumRegulatesAmount: number;
11
+ listSocieties: SocietyWithRegulate[]
12
+ }
@@ -0,0 +1,46 @@
1
+ import {
2
+ IsInt, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class QueryPaginatedSocietyWithFacturation {
7
+ @ApiPropertyOptional()
8
+ @IsOptional()
9
+ @IsString()
10
+ search?: string;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsInt()
15
+ day?: number;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsInt()
20
+ month?: number;
21
+
22
+ @ApiPropertyOptional()
23
+ @IsOptional()
24
+ @IsInt()
25
+ year?: number;
26
+
27
+ @ApiPropertyOptional()
28
+ @IsOptional()
29
+ @IsInt()
30
+ idUser?: number;
31
+
32
+ @ApiPropertyOptional()
33
+ @IsOptional()
34
+ @IsInt()
35
+ idBillingState?: number;
36
+
37
+ @ApiPropertyOptional({ default: 20 })
38
+ @IsOptional()
39
+ @IsInt()
40
+ limit?: number;
41
+
42
+ @ApiPropertyOptional({ default: 1 })
43
+ @IsOptional()
44
+ @IsInt()
45
+ page?: number;
46
+ }
@@ -1,3 +1,4 @@
1
+ import { IsIn, IsOptional } from 'class-validator';
1
2
  import { ApiPropertyOptional } from '../../../../utils/decorators';
2
3
 
3
4
  export class QuerySociety {
@@ -5,5 +6,11 @@ export class QuerySociety {
5
6
  id?: number;
6
7
 
7
8
  @ApiPropertyOptional()
9
+ @IsOptional()
8
10
  attributes?: string[];
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsIn(['brandType', 'societyGescom', 'societyBank', 'societyDetails', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'nafCode', 'connector', 'societyCgv', 'societyConfig', 'exercices', 'businessPartners'], { each: true })
15
+ include?: string[];
9
16
  }
@@ -7,5 +7,5 @@ export interface SocietyWithStatsCaParams extends ISociety {
7
7
  requiredInfos?: ReadInvalidFieldState[],
8
8
  stateOfProgress?: string,
9
9
  isBillingOk?: boolean,
10
- isLabAccepted?: boolean
10
+ labValidationDate?: Date | null
11
11
  }
@@ -0,0 +1,21 @@
1
+ import { IUser } from './IUser';
2
+ import { IExercice, ISociety } from '../..';
3
+
4
+ // comments
5
+ export interface IBillingHistory {
6
+ id?: number;
7
+ totalAmount: number;
8
+ numberOfMonths: number;
9
+ comment: string;
10
+ hasToBeAccruals?: boolean;
11
+ idUser?: number | null;
12
+ idSociety?: number | null;
13
+ idExercice?: number | null;
14
+ createdAt?: Date | null;
15
+ updatedAt?: Date | null;
16
+
17
+ // Associations
18
+ user?: IUser;
19
+ society?: ISociety;
20
+ exercice?: IExercice;
21
+ }
@@ -33,6 +33,7 @@ export interface IExercice {
33
33
  receiptJeDeclare: boolean;
34
34
  annualFolderEdition: boolean;
35
35
  turnoverDone: string;
36
+ turnoverMax?: string;
36
37
  processClossingExercice: boolean;
37
38
  idFilePaymentSchedule?: number | null;
38
39
  isDefault: boolean;
@@ -14,6 +14,7 @@ export interface IOldExpertInfo {
14
14
  recoveryDate: Date | null;
15
15
  filePdf: string | null;
16
16
  dateSendReprise: Date | null;
17
+ dontHaveOldExpert: boolean;
17
18
  idUser: number | null;
18
19
  idSociety: number;
19
20
  idFile: number | null;
@@ -1,9 +1,16 @@
1
+ import { ISociety, IUser } from '../..';
2
+
1
3
  // regulates
2
4
  export interface IRegulate {
3
5
  id?: number;
4
6
  monthDate: Date;
5
7
  regulateAmount: number;
6
8
  idUser: number;
9
+ idSociety: number;
10
+ idType: number;
7
11
  createdAt?: Date | null;
8
12
  updatedAt?: Date | null;
13
+
14
+ society: ISociety;
15
+ user: IUser;
9
16
  }
@@ -48,7 +48,7 @@ import { ISms } from './ISms';
48
48
  import { IUser } from './IUser';
49
49
  import { ISocietyEvent } from './ISocietyEvent';
50
50
  import {
51
- ComptaType, Country, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction, IFecFile, IGedFile, IBusinessPartner,
51
+ ComptaType, Country, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction, IFecFile, IGedFile, IBusinessPartner, IPaymentSchedule,
52
52
  } from '../..';
53
53
  import { IBrandType } from './IBrandType';
54
54
 
@@ -158,6 +158,7 @@ export interface ISociety {
158
158
  societiesFollowedQualityMail?: IFollowedQualityMail[];
159
159
  societyFollow?: IFollow[];
160
160
  paymentsExpectations?: IPaymentExpectation[];
161
+ paymentSchedules?: IPaymentSchedule[];
161
162
  legalForm?: ILegalForm;
162
163
  oldExpertInfo?: IOldExpertInfo;
163
164
  prestationsSocieties?: IPrestation[];
@@ -52,6 +52,7 @@ export interface IUser {
52
52
  stateProspect?: boolean | null;
53
53
  birthdate?: Date | null;
54
54
  arrivalDate?: Date | null;
55
+ validityDateOfResidencePermit?: Date | null;
55
56
  isNewProspect?: boolean;
56
57
  hasAccountNumberDisplay?: boolean;
57
58
  isAssociate?: boolean | null;
package/ts/types/index.ts CHANGED
@@ -49,6 +49,7 @@ export * from './Interface/models/ICivility';
49
49
  export * from './Interface/models/IErrorCode';
50
50
  export * from './Interface/models/IColor';
51
51
  export * from './Interface/models/IComment';
52
+ export * from './Interface/models/IBillingHistory';
52
53
  export * from './Interface/models/IConnector';
53
54
  export * from './Interface/models/ICotation';
54
55
  export * from './Interface/models/ICountry';
@@ -452,6 +453,7 @@ export * from './Enum/Reason';
452
453
  export * from './Enum/OperationLegalNotice';
453
454
  export * from './Enum/OrderStatus';
454
455
  export * from './Enum/ReportService';
456
+ export * from './Enum/RegulateType';
455
457
 
456
458
  // Interfaces API
457
459
  export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
@@ -517,6 +519,12 @@ export * from './Interface/api/society/SocietyWithStatsCaParams';
517
519
  export * from './Interface/api/society/QuerySociety';
518
520
  export * from './Interface/api/society/QueryPaginatedSociety';
519
521
  export * from './Interface/api/society/QueryPaginatedSocietyWithStatsCa';
522
+ export * from './Interface/api/society/QueryPaginatedSocietyWithFacturation';
523
+ export * from './Interface/api/billingHistory/QueryPaginatedBillingHistory';
524
+ export * from './Interface/api/facturation/CreateRebilling';
525
+ export * from './Interface/api/commercial/QueryGetStats';
526
+ export * from './Interface/api/commercial/QueryFetchDialogDatasInfosOk';
527
+ export * from './Interface/api/commercial/QueryMovePrestationsToNextMonth';
520
528
  export * from './Interface/api/society/GetDataSociety';
521
529
  export * from './Interface/api/society/CreateSociety';
522
530
  export * from './Interface/api/society/UpdateSociety';
@@ -778,6 +786,8 @@ export * from './Interface/api/mobile/QueryMobileMigration';
778
786
  export * from './Interface/api/societyEvent/QuerySocietyEvent';
779
787
  export * from './Interface/api/societyEvent/CreateSocietyEvent';
780
788
  export * from './Interface/api/task/QueryGetAllTask';
789
+ export * from './Interface/api/regulate/QueryGetAll';
790
+ export * from './Interface/api/regulate/RegulateWithStats';
781
791
  export * from './Interface/api/task/QueryPaginatedTask';
782
792
  export * from './Interface/api/task/QueryCreateTask';
783
793
  export * from './Interface/api/task/QueryGetTask';