@silexpert/core 1.1.206 → 1.1.208

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 (237) hide show
  1. package/dist/cjs/api/resources/CollaboraterDetail.d.ts +10 -0
  2. package/dist/cjs/api/resources/CollaboraterDetail.d.ts.map +1 -0
  3. package/dist/cjs/api/resources/CollaboraterDetail.js +28 -0
  4. package/dist/cjs/api/resources/CollaboraterDetail.js.map +1 -0
  5. package/dist/cjs/api/resources/Journal.js +1 -1
  6. package/dist/cjs/api/resources/Journal.js.map +1 -1
  7. package/dist/cjs/api/resources/ReportMessage.d.ts +47 -0
  8. package/dist/cjs/api/resources/ReportMessage.d.ts.map +1 -0
  9. package/dist/cjs/api/resources/ReportMessage.js +59 -0
  10. package/dist/cjs/api/resources/ReportMessage.js.map +1 -0
  11. package/dist/cjs/api/resources/WorkingSchedule.d.ts +1 -1
  12. package/dist/cjs/api/resources/WorkingSchedule.d.ts.map +1 -1
  13. package/dist/cjs/api/resources/WorkingSchedule.js +2 -2
  14. package/dist/cjs/api/resources/WorkingSchedule.js.map +1 -1
  15. package/dist/cjs/api/resources.d.ts +4 -0
  16. package/dist/cjs/api/resources.d.ts.map +1 -1
  17. package/dist/cjs/api/resources.js +4 -0
  18. package/dist/cjs/api/resources.js.map +1 -1
  19. package/dist/cjs/types/Enum/Constants.d.ts +24 -0
  20. package/dist/cjs/types/Enum/Constants.d.ts.map +1 -0
  21. package/dist/cjs/types/Enum/Constants.js +35 -0
  22. package/dist/cjs/types/Enum/Constants.js.map +1 -0
  23. package/dist/cjs/types/Enum/Degree.d.ts +24 -0
  24. package/dist/cjs/types/Enum/Degree.d.ts.map +1 -0
  25. package/dist/cjs/types/Enum/Degree.js +34 -0
  26. package/dist/cjs/types/Enum/Degree.js.map +1 -0
  27. package/dist/cjs/types/Enum/MailAuto.d.ts +3 -1
  28. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  29. package/dist/cjs/types/Enum/MailAuto.js +2 -0
  30. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  31. package/dist/cjs/types/Enum/Notification.d.ts +2 -1
  32. package/dist/cjs/types/Enum/Notification.d.ts.map +1 -1
  33. package/dist/cjs/types/Enum/Notification.js +1 -0
  34. package/dist/cjs/types/Enum/Notification.js.map +1 -1
  35. package/dist/cjs/types/Enum/ReportType.d.ts +32 -0
  36. package/dist/cjs/types/Enum/ReportType.d.ts.map +1 -1
  37. package/dist/cjs/types/Enum/ReportType.js +32 -0
  38. package/dist/cjs/types/Enum/ReportType.js.map +1 -1
  39. package/dist/cjs/types/Enum/RoleDetail.d.ts +32 -0
  40. package/dist/cjs/types/Enum/RoleDetail.d.ts.map +1 -1
  41. package/dist/cjs/types/Enum/RoleDetail.js +32 -0
  42. package/dist/cjs/types/Enum/RoleDetail.js.map +1 -1
  43. package/dist/cjs/types/Interface/api/OnBoarding.d.ts +13 -1
  44. package/dist/cjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
  45. package/dist/cjs/types/Interface/api/OnBoarding.js +45 -3
  46. package/dist/cjs/types/Interface/api/OnBoarding.js.map +1 -1
  47. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -0
  48. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
  49. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +7 -0
  50. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
  51. package/dist/cjs/types/Interface/api/equipment/Query.d.ts +1 -0
  52. package/dist/cjs/types/Interface/api/equipment/Query.d.ts.map +1 -1
  53. package/dist/cjs/types/Interface/api/equipment/Query.js +6 -0
  54. package/dist/cjs/types/Interface/api/equipment/Query.js.map +1 -1
  55. package/dist/cjs/types/Interface/api/prestation/Query.d.ts +2 -0
  56. package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  57. package/dist/cjs/types/Interface/api/prestation/Query.js +12 -0
  58. package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
  59. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +1 -0
  60. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  61. package/dist/cjs/types/Interface/api/report/CreateReport.js +4 -0
  62. package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
  63. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +1 -0
  64. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  65. package/dist/cjs/types/Interface/api/report/QueryReports.js +4 -0
  66. package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
  67. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts +1 -0
  68. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  69. package/dist/cjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  70. package/dist/cjs/types/Interface/api/reportMessage/Query.d.ts +4 -0
  71. package/dist/cjs/types/Interface/api/reportMessage/Query.d.ts.map +1 -0
  72. package/dist/cjs/types/Interface/api/reportMessage/Query.js +23 -0
  73. package/dist/cjs/types/Interface/api/reportMessage/Query.js.map +1 -0
  74. package/dist/cjs/types/Interface/models/ICollaboraterDetail.d.ts +27 -0
  75. package/dist/cjs/types/Interface/models/ICollaboraterDetail.d.ts.map +1 -0
  76. package/dist/cjs/types/Interface/models/ICollaboraterDetail.js +3 -0
  77. package/dist/cjs/types/Interface/models/ICollaboraterDetail.js.map +1 -0
  78. package/dist/cjs/types/Interface/models/ICustomerAcceptance.d.ts +1 -0
  79. package/dist/cjs/types/Interface/models/ICustomerAcceptance.d.ts.map +1 -1
  80. package/dist/cjs/types/Interface/models/ICustomerAcceptance.js.map +1 -1
  81. package/dist/cjs/types/Interface/models/IEquipment.d.ts +1 -0
  82. package/dist/cjs/types/Interface/models/IEquipment.d.ts.map +1 -1
  83. package/dist/cjs/types/Interface/models/IEquipment.js.map +1 -1
  84. package/dist/cjs/types/Interface/models/IPrestation.d.ts +3 -2
  85. package/dist/cjs/types/Interface/models/IPrestation.d.ts.map +1 -1
  86. package/dist/cjs/types/Interface/models/IPrestation.js.map +1 -1
  87. package/dist/cjs/types/Interface/models/IReport.d.ts +3 -0
  88. package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
  89. package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
  90. package/dist/cjs/types/Interface/models/IReportMessage.d.ts +13 -0
  91. package/dist/cjs/types/Interface/models/IReportMessage.d.ts.map +1 -0
  92. package/dist/cjs/types/Interface/models/IReportMessage.js +3 -0
  93. package/dist/cjs/types/Interface/models/IReportMessage.js.map +1 -0
  94. package/dist/cjs/types/Interface/models/ISocietyDetail.d.ts +12 -0
  95. package/dist/cjs/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
  96. package/dist/cjs/types/Interface/models/ISocietyDetail.js.map +1 -1
  97. package/dist/cjs/types/index.d.ts +6 -0
  98. package/dist/cjs/types/index.d.ts.map +1 -1
  99. package/dist/cjs/types/index.js +6 -0
  100. package/dist/cjs/types/index.js.map +1 -1
  101. package/dist/cjs/utils/checkup.d.ts +544 -0
  102. package/dist/cjs/utils/checkup.d.ts.map +1 -0
  103. package/dist/cjs/utils/checkup.js +765 -0
  104. package/dist/cjs/utils/checkup.js.map +1 -0
  105. package/dist/mjs/api/resources/CollaboraterDetail.d.ts +10 -0
  106. package/dist/mjs/api/resources/CollaboraterDetail.d.ts.map +1 -0
  107. package/dist/mjs/api/resources/CollaboraterDetail.js +24 -0
  108. package/dist/mjs/api/resources/CollaboraterDetail.js.map +1 -0
  109. package/dist/mjs/api/resources/Journal.js +1 -1
  110. package/dist/mjs/api/resources/Journal.js.map +1 -1
  111. package/dist/mjs/api/resources/ReportMessage.d.ts +47 -0
  112. package/dist/mjs/api/resources/ReportMessage.d.ts.map +1 -0
  113. package/dist/mjs/api/resources/ReportMessage.js +73 -0
  114. package/dist/mjs/api/resources/ReportMessage.js.map +1 -0
  115. package/dist/mjs/api/resources/WorkingSchedule.d.ts +1 -1
  116. package/dist/mjs/api/resources/WorkingSchedule.d.ts.map +1 -1
  117. package/dist/mjs/api/resources/WorkingSchedule.js +2 -2
  118. package/dist/mjs/api/resources/WorkingSchedule.js.map +1 -1
  119. package/dist/mjs/api/resources.d.ts +4 -0
  120. package/dist/mjs/api/resources.d.ts.map +1 -1
  121. package/dist/mjs/api/resources.js +4 -0
  122. package/dist/mjs/api/resources.js.map +1 -1
  123. package/dist/mjs/types/Enum/Constants.d.ts +24 -0
  124. package/dist/mjs/types/Enum/Constants.d.ts.map +1 -0
  125. package/dist/mjs/types/Enum/Constants.js +32 -0
  126. package/dist/mjs/types/Enum/Constants.js.map +1 -0
  127. package/dist/mjs/types/Enum/Degree.d.ts +24 -0
  128. package/dist/mjs/types/Enum/Degree.d.ts.map +1 -0
  129. package/dist/mjs/types/Enum/Degree.js +31 -0
  130. package/dist/mjs/types/Enum/Degree.js.map +1 -0
  131. package/dist/mjs/types/Enum/MailAuto.d.ts +3 -1
  132. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  133. package/dist/mjs/types/Enum/MailAuto.js +2 -0
  134. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  135. package/dist/mjs/types/Enum/Notification.d.ts +2 -1
  136. package/dist/mjs/types/Enum/Notification.d.ts.map +1 -1
  137. package/dist/mjs/types/Enum/Notification.js +1 -0
  138. package/dist/mjs/types/Enum/Notification.js.map +1 -1
  139. package/dist/mjs/types/Enum/ReportType.d.ts +32 -0
  140. package/dist/mjs/types/Enum/ReportType.d.ts.map +1 -1
  141. package/dist/mjs/types/Enum/ReportType.js +32 -0
  142. package/dist/mjs/types/Enum/ReportType.js.map +1 -1
  143. package/dist/mjs/types/Enum/RoleDetail.d.ts +32 -0
  144. package/dist/mjs/types/Enum/RoleDetail.d.ts.map +1 -1
  145. package/dist/mjs/types/Enum/RoleDetail.js +32 -0
  146. package/dist/mjs/types/Enum/RoleDetail.js.map +1 -1
  147. package/dist/mjs/types/Interface/api/OnBoarding.d.ts +13 -1
  148. package/dist/mjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
  149. package/dist/mjs/types/Interface/api/OnBoarding.js +48 -3
  150. package/dist/mjs/types/Interface/api/OnBoarding.js.map +1 -1
  151. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -0
  152. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
  153. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +8 -0
  154. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
  155. package/dist/mjs/types/Interface/api/equipment/Query.d.ts +1 -0
  156. package/dist/mjs/types/Interface/api/equipment/Query.d.ts.map +1 -1
  157. package/dist/mjs/types/Interface/api/equipment/Query.js +7 -0
  158. package/dist/mjs/types/Interface/api/equipment/Query.js.map +1 -1
  159. package/dist/mjs/types/Interface/api/prestation/Query.d.ts +2 -0
  160. package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  161. package/dist/mjs/types/Interface/api/prestation/Query.js +15 -1
  162. package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
  163. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +1 -0
  164. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  165. package/dist/mjs/types/Interface/api/report/CreateReport.js +5 -0
  166. package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
  167. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +1 -0
  168. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  169. package/dist/mjs/types/Interface/api/report/QueryReports.js +5 -0
  170. package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
  171. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts +1 -0
  172. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  173. package/dist/mjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  174. package/dist/mjs/types/Interface/api/reportMessage/Query.d.ts +4 -0
  175. package/dist/mjs/types/Interface/api/reportMessage/Query.d.ts.map +1 -0
  176. package/dist/mjs/types/Interface/api/reportMessage/Query.js +20 -0
  177. package/dist/mjs/types/Interface/api/reportMessage/Query.js.map +1 -0
  178. package/dist/mjs/types/Interface/models/ICollaboraterDetail.d.ts +27 -0
  179. package/dist/mjs/types/Interface/models/ICollaboraterDetail.d.ts.map +1 -0
  180. package/dist/mjs/types/Interface/models/ICollaboraterDetail.js +2 -0
  181. package/dist/mjs/types/Interface/models/ICollaboraterDetail.js.map +1 -0
  182. package/dist/mjs/types/Interface/models/ICustomerAcceptance.d.ts +1 -0
  183. package/dist/mjs/types/Interface/models/ICustomerAcceptance.d.ts.map +1 -1
  184. package/dist/mjs/types/Interface/models/ICustomerAcceptance.js.map +1 -1
  185. package/dist/mjs/types/Interface/models/IEquipment.d.ts +1 -0
  186. package/dist/mjs/types/Interface/models/IEquipment.d.ts.map +1 -1
  187. package/dist/mjs/types/Interface/models/IEquipment.js.map +1 -1
  188. package/dist/mjs/types/Interface/models/IPrestation.d.ts +3 -2
  189. package/dist/mjs/types/Interface/models/IPrestation.d.ts.map +1 -1
  190. package/dist/mjs/types/Interface/models/IPrestation.js.map +1 -1
  191. package/dist/mjs/types/Interface/models/IReport.d.ts +3 -0
  192. package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
  193. package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
  194. package/dist/mjs/types/Interface/models/IReportMessage.d.ts +13 -0
  195. package/dist/mjs/types/Interface/models/IReportMessage.d.ts.map +1 -0
  196. package/dist/mjs/types/Interface/models/IReportMessage.js +2 -0
  197. package/dist/mjs/types/Interface/models/IReportMessage.js.map +1 -0
  198. package/dist/mjs/types/Interface/models/ISocietyDetail.d.ts +12 -0
  199. package/dist/mjs/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
  200. package/dist/mjs/types/Interface/models/ISocietyDetail.js.map +1 -1
  201. package/dist/mjs/types/index.d.ts +6 -0
  202. package/dist/mjs/types/index.d.ts.map +1 -1
  203. package/dist/mjs/types/index.js +6 -0
  204. package/dist/mjs/types/index.js.map +1 -1
  205. package/dist/mjs/utils/checkup.d.ts +544 -0
  206. package/dist/mjs/utils/checkup.d.ts.map +1 -0
  207. package/dist/mjs/utils/checkup.js +760 -0
  208. package/dist/mjs/utils/checkup.js.map +1 -0
  209. package/package.json +1 -1
  210. package/ts/api/resources/CollaboraterDetail.ts +29 -0
  211. package/ts/api/resources/Journal.ts +1 -1
  212. package/ts/api/resources/ReportMessage.ts +81 -0
  213. package/ts/api/resources/WorkingSchedule.ts +2 -2
  214. package/ts/api/resources.ts +4 -0
  215. package/ts/types/Enum/Constants.ts +35 -0
  216. package/ts/types/Enum/Degree.ts +30 -0
  217. package/ts/types/Enum/MailAuto.ts +2 -0
  218. package/ts/types/Enum/Notification.ts +1 -0
  219. package/ts/types/Enum/ReportType.ts +32 -0
  220. package/ts/types/Enum/RoleDetail.ts +32 -0
  221. package/ts/types/Interface/api/OnBoarding.ts +35 -3
  222. package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +6 -0
  223. package/ts/types/Interface/api/equipment/Query.ts +5 -0
  224. package/ts/types/Interface/api/prestation/Query.ts +11 -1
  225. package/ts/types/Interface/api/report/CreateReport.ts +3 -0
  226. package/ts/types/Interface/api/report/QueryReports.ts +3 -0
  227. package/ts/types/Interface/api/report/UpdateReport.ts +1 -0
  228. package/ts/types/Interface/api/reportMessage/Query.ts +8 -0
  229. package/ts/types/Interface/models/ICollaboraterDetail.ts +29 -0
  230. package/ts/types/Interface/models/ICustomerAcceptance.ts +1 -0
  231. package/ts/types/Interface/models/IEquipment.ts +1 -0
  232. package/ts/types/Interface/models/IPrestation.ts +3 -2
  233. package/ts/types/Interface/models/IReport.ts +3 -0
  234. package/ts/types/Interface/models/IReportMessage.ts +16 -0
  235. package/ts/types/Interface/models/ISocietyDetail.ts +12 -0
  236. package/ts/types/index.ts +6 -0
  237. package/ts/utils/checkup.ts +774 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  IsBoolean, IsInt, IsOptional, IsString,
3
3
  } from 'class-validator';
4
- import { ApiPropertyOptional } from '../../../utils';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../utils';
5
5
  import { ToBoolean } from '../../../utils/transforms/boolean.transform';
6
6
  import { OptionalQueryPaginate } from './BasePaginate';
7
7
 
@@ -30,11 +30,43 @@ export class QueryOnBoardingPaginated extends OptionalQueryPaginate {
30
30
 
31
31
  @ApiPropertyOptional()
32
32
  @IsOptional()
33
- @IsInt()
34
- firstContact?: number;
33
+ @IsInt({ each: true })
34
+ firstContact?: number[];
35
35
 
36
36
  @ApiPropertyOptional()
37
37
  @IsOptional()
38
38
  @IsInt()
39
39
  idLAB?: number;
40
+
41
+ @ApiPropertyOptional()
42
+ @IsOptional()
43
+ @IsInt()
44
+ acceptation?: number | null;
45
+
46
+ @ApiPropertyOptional()
47
+ @IsOptional()
48
+ @IsBoolean()
49
+ @ToBoolean()
50
+ dateLeavingFacturation?: boolean;
51
+ }
52
+
53
+ export class SocietyWithPrestations {
54
+ @ApiProperty()
55
+ @IsInt({ each: true })
56
+ idPrestations: number[];
57
+
58
+ @ApiProperty()
59
+ @IsInt()
60
+ idSociety: number;
61
+ }
62
+ export class GoToOnboardingParams {
63
+ @ApiProperty()
64
+ @IsInt({ each: true })
65
+ societyWithPrestations: SocietyWithPrestations[];
66
+ }
67
+
68
+ export class DateLeavingOnboardingParams {
69
+ @ApiProperty()
70
+ @IsInt({ each: true })
71
+ idPrestations: number[];
40
72
  }
@@ -80,6 +80,12 @@ export class QueryPaginatedSocietyWithStatsCa extends OptionalQueryPaginate {
80
80
  @ToBoolean()
81
81
  goToFacturation?: boolean;
82
82
 
83
+ @ApiPropertyOptional()
84
+ @IsOptional()
85
+ @IsBoolean()
86
+ @ToBoolean()
87
+ goToOnboarding?: boolean;
88
+
83
89
  @ApiPropertyOptional()
84
90
  @IsOptional()
85
91
  @IsInt()
@@ -8,6 +8,11 @@ export class QueryEquipment extends RequiredQueryPaginate {
8
8
  @IsInt()
9
9
  id?: number;
10
10
 
11
+ @ApiPropertyOptional()
12
+ @IsOptional()
13
+ @IsInt()
14
+ idStorageArea?: number;
15
+
11
16
  @ApiPropertyOptional()
12
17
  @IsOptional()
13
18
  @IsString()
@@ -1,4 +1,4 @@
1
- import { IsArray, IsBoolean, IsInt, IsNumber, IsObject, IsOptional, IsString } from 'class-validator';
1
+ import { IsArray, IsBoolean, IsDateString, IsInt, IsNumber, IsObject, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { IPrestation } from '../../models/IPrestation';
4
4
  import { IExercicePrestation } from '../../models/IExercicePrestation';
@@ -83,4 +83,14 @@ export class QueryUpdatePrestation {
83
83
  @IsOptional()
84
84
  @IsArray()
85
85
  commercialOffers: ICommercialOffer[];
86
+
87
+ @ApiPropertyOptional()
88
+ @IsOptional()
89
+ @IsDateString()
90
+ goToFacturation: string;
91
+
92
+ @ApiPropertyOptional()
93
+ @IsOptional()
94
+ @IsDateString()
95
+ dateLeavingFacturation: string;
86
96
  }
@@ -12,6 +12,9 @@ export class CreateReport implements IReport {
12
12
  @ApiProperty()
13
13
  idUser: number;
14
14
 
15
+ @ApiPropertyOptional()
16
+ idServiceConcerned?: number;
17
+
15
18
  @ApiProperty()
16
19
  comment: string;
17
20
 
@@ -10,6 +10,9 @@ export class QueryReports {
10
10
  @ApiPropertyOptional()
11
11
  idService?: number;
12
12
 
13
+ @ApiPropertyOptional()
14
+ idServiceConcerned?: number;
15
+
13
16
  @ApiPropertyOptional()
14
17
  id?: number;
15
18
 
@@ -9,5 +9,6 @@ export interface UpdateReport extends IReport {
9
9
  informerjlb?: boolean,
10
10
  ressenti?: number,
11
11
  action?: number,
12
+ idReport?: number,
12
13
  societyUsers?: IUser[]
13
14
  }
@@ -0,0 +1,8 @@
1
+ import { IsInt } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class QueryAllReportMessage {
5
+ @ApiProperty()
6
+ @IsInt()
7
+ idReport: number;
8
+ }
@@ -0,0 +1,29 @@
1
+ import { IUser } from './IUser';
2
+
3
+ export interface ICollaboraterDetail {
4
+ id?: number;
5
+ idUser: number;
6
+ idMaritalStatus: number;
7
+ idNationality: number;
8
+ idCountryOfBirth: number;
9
+ maidenName?: string | null;
10
+ socialSecurityNumber: string;
11
+ cityOfBirth: string;
12
+ address: string;
13
+ city: string;
14
+ zipCode: string;
15
+ degree?: number | null;
16
+ dependentChildren: number;
17
+ phone: string;
18
+ email: string;
19
+ emergencyPersonLastname: string;
20
+ emergencyPersonFirstname: string;
21
+ emergencyPersonPhone: string;
22
+ hasTicketRestaurant: boolean;
23
+ hasRqth: boolean;
24
+ createdAt?: Date | null;
25
+ updatedAt?: Date | null;
26
+
27
+ // Associations
28
+ user?: IUser;
29
+ }
@@ -7,6 +7,7 @@ export interface ICustomerAcceptance {
7
7
  idCustomerIsRegime?: number | null;
8
8
  idCustomerVat?: number | null;
9
9
  idBalanceSheet?: number | null;
10
+ idReport?: number | null;
10
11
  createdAt?: Date | null;
11
12
  updatedAt?: Date | null;
12
13
 
@@ -3,6 +3,7 @@ import { IUserRoomEquipment } from '././IUserRoomEquipment';
3
3
 
4
4
  export interface IEquipment {
5
5
  id?: number;
6
+ idStorageArea?: number | null;
6
7
  reference?: string | null;
7
8
  brand: string;
8
9
  type: EquipmentType;
@@ -27,9 +27,10 @@ export interface IPrestation {
27
27
  toConstitution: number;
28
28
  dateValidPrestation: Date | null;
29
29
  goToOnboarding: Date | null;
30
- dateLeavingOnboarding: Date | null;
30
+ dateLeavingOnboarding?: Date | null;
31
31
  goToClient: Date | null;
32
- goToFacturation: Date | null;
32
+ goToFacturation?: Date | null;
33
+ dateLeavingFacturation?: Date | null;
33
34
  scoring: number | null;
34
35
  state: boolean;
35
36
  commentPdf: string | null;
@@ -7,8 +7,11 @@ export interface IReport {
7
7
  idSociety?: number | null;
8
8
  idReportType?: number | null;
9
9
  idCalendarEvent?: number;
10
+ idServiceConcerned?: number | null;
11
+ idService?: number | null;
10
12
  idLetterType?: number | null;
11
13
  declareSoupcons?: boolean | null;
14
+ token?: string | null;
12
15
  state?: number | null;
13
16
  compensationAmount?: number | null;
14
17
  compensationDate?: Date | null;
@@ -0,0 +1,16 @@
1
+ import { IReport } from './IReport';
2
+ import { IUser } from './IUser';
3
+
4
+ // report
5
+ export interface IReportMessage {
6
+ id?: number;
7
+ idReport: number;
8
+ idUser: number;
9
+ message?: string | null;
10
+ createdAt?: Date | null;
11
+ updatedAt?: Date | null;
12
+
13
+ // Associations
14
+ report?: IReport;
15
+ user?: IUser;
16
+ }
@@ -7,17 +7,22 @@ export interface ISocietyDetail {
7
7
  id?: number;
8
8
  detailActivity?: string | null;
9
9
  historyComments?: string | null;
10
+ hasBillingSoftware?: boolean | null;
10
11
  isLoans?: string | null;
11
12
  loans?: string | null;
12
13
  personnalContribution?: string | null;
14
+ listBanks?: string | null;
13
15
  nbBanks?: string | null;
14
16
  nbBankaccounts?: number | null;
15
17
  isCashdesk?: boolean | null;
16
18
  nbTva?: number | null;
19
+ ribSentToTaxDepartment?: string | null;
17
20
  professionnalRent?: string | null;
18
21
  isPersoAdress?: string | null;
19
22
  vehicle?: string | null;
20
23
  interestOtherCompanies?: string | null;
24
+ areOtherCompaniesOnOurBrand?: string | null;
25
+ listTva?: string | null;
21
26
  nbAssociates?: number | null;
22
27
  nbEmployees?: number | null;
23
28
  hiringPromess?: string | null;
@@ -40,6 +45,9 @@ export interface ISocietyDetail {
40
45
  fiscalControl?: string | null;
41
46
  descriptionFormation?: string | null;
42
47
  fonctionAndInterlocutors?: string | null;
48
+ listQualities?: string | null;
49
+ averageCustomerRegulationTime?: string | null;
50
+ averageSupplierRegulationTime?: string | null;
43
51
  managementKnowledge?: string | null;
44
52
  otherIncome?: string | null;
45
53
  politicalResponsability?: string | null;
@@ -50,10 +58,12 @@ export interface ISocietyDetail {
50
58
  billingSoftware?: string | null;
51
59
  collectionSystem?: string | null;
52
60
  flowSheet?: string | null;
61
+ officeType?: string | null;
53
62
  rankFiles?: string | null;
54
63
  specificNeeds?: string | null;
55
64
  configAccount?: boolean | null;
56
65
  investissement?: string | null;
66
+ investissementTypes?: string | null;
57
67
  workInternationnal?: string | null;
58
68
  creationEntreprise?: string | null;
59
69
  oldActivite?: string | null;
@@ -81,12 +91,14 @@ export interface ISocietyDetail {
81
91
  honorLoanAmount?: string | null;
82
92
  financingStartingStock?: string | null;
83
93
  financingStartingStockAmount?: string | null;
94
+ contributionTypes?: string | null;
84
95
  yearSocietyCreation?: string | null;
85
96
  lastExerciceCA?: string | null;
86
97
  borrowingInProgress?: string | null;
87
98
  borrowingInProgressAmount?: string | null;
88
99
  investissementCTMT?: string | null;
89
100
  changeECReason?: string | null;
101
+ listReasonsWhyChangingEC?: string | null;
90
102
  isSocietyCreation?: boolean | null;
91
103
  participationsInOtherSociety?: string | null;
92
104
  entrepriseProject?: boolean;
package/ts/types/index.ts CHANGED
@@ -152,6 +152,7 @@ export * from './Interface/models/IRegisterCategory';
152
152
  export * from './Interface/models/IRegulate';
153
153
  export * from './Interface/models/IRegulation';
154
154
  export * from './Interface/models/IReport';
155
+ export * from './Interface/models/IReportMessage';
155
156
  export * from './Interface/models/IRole';
156
157
  export * from './Interface/models/IRoleUser';
157
158
  export * from './Interface/models/IRoom';
@@ -325,6 +326,7 @@ export * from './Interface/models/IVoteContest';
325
326
  export * from './Interface/models/IEquipment';
326
327
  export * from './Interface/models/IUserRoomEquipment';
327
328
  export * from './Interface/models/IUserSpecialDay';
329
+ export * from './Interface/models/ICollaboraterDetail';
328
330
 
329
331
 
330
332
  // Schemas
@@ -347,6 +349,7 @@ export * from './Enum/CommercialGrade';
347
349
  export * from './Enum/CommercialOfferType';
348
350
  export * from './Enum/CommercialManagement';
349
351
  export * from './Enum/Civility';
352
+ export * from './Enum/Constants';
350
353
  export * from './Enum/Registration';
351
354
  export * from './Enum/Aspone';
352
355
  export * from './Enum/ProfitsType';
@@ -521,6 +524,7 @@ export * from './Enum/Room';
521
524
  export * from './Enum/EquipmentState';
522
525
  export * from './Enum/EquipmentAvailability';
523
526
  export * from './Enum/SpecialDayType';
527
+ export * from './Enum/Degree';
524
528
 
525
529
  // Interfaces API
526
530
  export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
@@ -745,6 +749,7 @@ export * from './Interface/api/report/DeleteReport';
745
749
  export * from './Interface/api/report/QueryReports';
746
750
  export * from './Interface/api/report/QueryReportsStats';
747
751
  export * from './Interface/api/report/QueryReportsForLetter';
752
+ export * from './Interface/api/reportMessage/Query';
748
753
  export * from './Interface/api/letter/CreateLetter';
749
754
  export * from './Interface/api/mailInvoice/CreateInvoiceMail';
750
755
  export * from './Interface/api/mailInvoice/UpdateInvoiceMail';
@@ -1036,6 +1041,7 @@ export * from '../utils/phone';
1036
1041
  export * from '../utils/payment';
1037
1042
  export * from '../utils/checklist';
1038
1043
  export * from '../utils/date';
1044
+ export * from '../utils/checkup';
1039
1045
  export * from '../utils/noLodash';
1040
1046
  export * from '../utils/vat';
1041
1047
  export * from './Interface/api/affectedPatrimony/CreateAffectedPatrimony';