@silexpert/core 1.3.158-0 → 1.3.158-10

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 (240) hide show
  1. package/dist/cjs/api/resources/ExercicePrestation.d.ts +6 -0
  2. package/dist/cjs/api/resources/ExercicePrestation.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/ExercicePrestation.js +8 -0
  4. package/dist/cjs/api/resources/ExercicePrestation.js.map +1 -1
  5. package/dist/cjs/api/resources/Mfa.d.ts +19 -0
  6. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/Mfa.js +27 -0
  8. package/dist/cjs/api/resources/Mfa.js.map +1 -0
  9. package/dist/cjs/api/resources/Report.d.ts.map +1 -1
  10. package/dist/cjs/api/resources/Report.js +12 -1
  11. package/dist/cjs/api/resources/Report.js.map +1 -1
  12. package/dist/cjs/api/resources.d.ts +2 -0
  13. package/dist/cjs/api/resources.d.ts.map +1 -1
  14. package/dist/cjs/api/resources.js +2 -0
  15. package/dist/cjs/api/resources.js.map +1 -1
  16. package/dist/cjs/types/Enum/PrestationType.js +16 -16
  17. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  18. package/dist/cjs/types/Enum/ReportService.js +20 -20
  19. package/dist/cjs/types/Enum/ReportService.js.map +1 -1
  20. package/dist/cjs/types/Enum/ReportSource.d.ts +2 -1
  21. package/dist/cjs/types/Enum/ReportSource.d.ts.map +1 -1
  22. package/dist/cjs/types/Enum/ReportSource.js +5 -0
  23. package/dist/cjs/types/Enum/ReportSource.js.map +1 -1
  24. package/dist/cjs/types/Enum/Revenue.d.ts +6 -0
  25. package/dist/cjs/types/Enum/Revenue.d.ts.map +1 -1
  26. package/dist/cjs/types/Enum/Revenue.js +9 -0
  27. package/dist/cjs/types/Enum/Revenue.js.map +1 -1
  28. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
  29. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
  30. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js +3 -0
  31. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
  32. package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
  33. package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
  34. package/dist/cjs/types/Interface/api/mfa/DisableMfa.js +22 -0
  35. package/dist/cjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
  36. package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
  37. package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
  38. package/dist/cjs/types/Interface/api/mfa/SetupInit.js +27 -0
  39. package/dist/cjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
  40. package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
  41. package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
  42. package/dist/cjs/types/Interface/api/mfa/SetupVerify.js +27 -0
  43. package/dist/cjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
  44. package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
  45. package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
  46. package/dist/cjs/types/Interface/api/mfa/VerifyCode.js +27 -0
  47. package/dist/cjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
  48. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
  49. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
  50. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js +27 -0
  51. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
  52. package/dist/cjs/types/Interface/api/mfa/mfa.d.ts +19 -0
  53. package/dist/cjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
  54. package/dist/cjs/types/Interface/api/mfa/mfa.js +3 -0
  55. package/dist/cjs/types/Interface/api/mfa/mfa.js.map +1 -0
  56. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +3 -1
  57. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  58. package/dist/cjs/types/Interface/api/report/CreateReport.js +12 -2
  59. package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
  60. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +5 -1
  61. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  62. package/dist/cjs/types/Interface/api/report/QueryReports.js +21 -1
  63. package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
  64. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
  65. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  66. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js +4 -3
  67. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  68. package/dist/cjs/types/Interface/api/revenueMovement.d.ts +37 -0
  69. package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  70. package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -1
  71. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts +4 -0
  72. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
  73. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js +23 -1
  74. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
  75. package/dist/cjs/types/Interface/models/IReport.d.ts +4 -1
  76. package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
  77. package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
  78. package/dist/cjs/types/Interface/models/IReportHistory.d.ts +1 -1
  79. package/dist/cjs/types/Interface/models/IReportHistory.d.ts.map +1 -1
  80. package/dist/cjs/types/Interface/models/IReportHistory.js.map +1 -1
  81. package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
  82. package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
  83. package/dist/cjs/types/Interface/models/IRevenueMovement.js.map +1 -1
  84. package/dist/cjs/types/Interface/models/IUser.d.ts +1 -0
  85. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  86. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  87. package/dist/cjs/types/Interface/models/IUserMfa.d.ts +12 -0
  88. package/dist/cjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
  89. package/dist/cjs/types/Interface/models/IUserMfa.js +3 -0
  90. package/dist/cjs/types/Interface/models/IUserMfa.js.map +1 -0
  91. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
  92. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
  93. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js +3 -0
  94. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
  95. package/dist/cjs/types/index.d.ts +1 -0
  96. package/dist/cjs/types/index.d.ts.map +1 -1
  97. package/dist/cjs/types/index.js +1 -0
  98. package/dist/cjs/types/index.js.map +1 -1
  99. package/dist/cjs/utils/checkup.d.ts +20 -0
  100. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  101. package/dist/cjs/utils/checkup.js +20 -17
  102. package/dist/cjs/utils/checkup.js.map +1 -1
  103. package/dist/cjs/utils/documents.d.ts.map +1 -1
  104. package/dist/cjs/utils/documents.js +6 -0
  105. package/dist/cjs/utils/documents.js.map +1 -1
  106. package/dist/mjs/api/resources/ExercicePrestation.d.ts +6 -0
  107. package/dist/mjs/api/resources/ExercicePrestation.d.ts.map +1 -1
  108. package/dist/mjs/api/resources/ExercicePrestation.js +8 -0
  109. package/dist/mjs/api/resources/ExercicePrestation.js.map +1 -1
  110. package/dist/mjs/api/resources/Mfa.d.ts +19 -0
  111. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -0
  112. package/dist/mjs/api/resources/Mfa.js +23 -0
  113. package/dist/mjs/api/resources/Mfa.js.map +1 -0
  114. package/dist/mjs/api/resources/Report.d.ts.map +1 -1
  115. package/dist/mjs/api/resources/Report.js +12 -1
  116. package/dist/mjs/api/resources/Report.js.map +1 -1
  117. package/dist/mjs/api/resources.d.ts +2 -0
  118. package/dist/mjs/api/resources.d.ts.map +1 -1
  119. package/dist/mjs/api/resources.js +2 -0
  120. package/dist/mjs/api/resources.js.map +1 -1
  121. package/dist/mjs/types/Enum/PrestationType.js +16 -16
  122. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  123. package/dist/mjs/types/Enum/ReportService.js +20 -20
  124. package/dist/mjs/types/Enum/ReportService.js.map +1 -1
  125. package/dist/mjs/types/Enum/ReportSource.d.ts +2 -1
  126. package/dist/mjs/types/Enum/ReportSource.d.ts.map +1 -1
  127. package/dist/mjs/types/Enum/ReportSource.js +5 -0
  128. package/dist/mjs/types/Enum/ReportSource.js.map +1 -1
  129. package/dist/mjs/types/Enum/Revenue.d.ts +6 -0
  130. package/dist/mjs/types/Enum/Revenue.d.ts.map +1 -1
  131. package/dist/mjs/types/Enum/Revenue.js +8 -0
  132. package/dist/mjs/types/Enum/Revenue.js.map +1 -1
  133. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
  134. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
  135. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js +2 -0
  136. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
  137. package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
  138. package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
  139. package/dist/mjs/types/Interface/api/mfa/DisableMfa.js +19 -0
  140. package/dist/mjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
  141. package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
  142. package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
  143. package/dist/mjs/types/Interface/api/mfa/SetupInit.js +25 -0
  144. package/dist/mjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
  145. package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
  146. package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
  147. package/dist/mjs/types/Interface/api/mfa/SetupVerify.js +25 -0
  148. package/dist/mjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
  149. package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
  150. package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
  151. package/dist/mjs/types/Interface/api/mfa/VerifyCode.js +25 -0
  152. package/dist/mjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
  153. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
  154. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
  155. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js +25 -0
  156. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
  157. package/dist/mjs/types/Interface/api/mfa/mfa.d.ts +19 -0
  158. package/dist/mjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
  159. package/dist/mjs/types/Interface/api/mfa/mfa.js +2 -0
  160. package/dist/mjs/types/Interface/api/mfa/mfa.js.map +1 -0
  161. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +3 -1
  162. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  163. package/dist/mjs/types/Interface/api/report/CreateReport.js +14 -2
  164. package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
  165. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +5 -1
  166. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  167. package/dist/mjs/types/Interface/api/report/QueryReports.js +24 -2
  168. package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
  169. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
  170. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  171. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js +5 -3
  172. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  173. package/dist/mjs/types/Interface/api/revenueMovement.d.ts +37 -0
  174. package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  175. package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -1
  176. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts +4 -0
  177. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
  178. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js +23 -0
  179. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
  180. package/dist/mjs/types/Interface/models/IReport.d.ts +4 -1
  181. package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
  182. package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
  183. package/dist/mjs/types/Interface/models/IReportHistory.d.ts +1 -1
  184. package/dist/mjs/types/Interface/models/IReportHistory.d.ts.map +1 -1
  185. package/dist/mjs/types/Interface/models/IReportHistory.js.map +1 -1
  186. package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
  187. package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
  188. package/dist/mjs/types/Interface/models/IRevenueMovement.js.map +1 -1
  189. package/dist/mjs/types/Interface/models/IUser.d.ts +1 -0
  190. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  191. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  192. package/dist/mjs/types/Interface/models/IUserMfa.d.ts +12 -0
  193. package/dist/mjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
  194. package/dist/mjs/types/Interface/models/IUserMfa.js +2 -0
  195. package/dist/mjs/types/Interface/models/IUserMfa.js.map +1 -0
  196. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
  197. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
  198. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js +2 -0
  199. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
  200. package/dist/mjs/types/index.d.ts +1 -0
  201. package/dist/mjs/types/index.d.ts.map +1 -1
  202. package/dist/mjs/types/index.js +1 -0
  203. package/dist/mjs/types/index.js.map +1 -1
  204. package/dist/mjs/utils/checkup.d.ts +20 -0
  205. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  206. package/dist/mjs/utils/checkup.js +20 -17
  207. package/dist/mjs/utils/checkup.js.map +1 -1
  208. package/dist/mjs/utils/documents.d.ts.map +1 -1
  209. package/dist/mjs/utils/documents.js +6 -0
  210. package/dist/mjs/utils/documents.js.map +1 -1
  211. package/package.json +1 -1
  212. package/ts/api/resources/ExercicePrestation.ts +9 -0
  213. package/ts/api/resources/Mfa.ts +29 -0
  214. package/ts/api/resources/Report.ts +11 -1
  215. package/ts/api/resources.ts +2 -0
  216. package/ts/types/Enum/PrestationType.ts +16 -16
  217. package/ts/types/Enum/ReportService.ts +4 -4
  218. package/ts/types/Enum/ReportSource.ts +5 -0
  219. package/ts/types/Enum/Revenue.ts +18 -9
  220. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +6 -0
  221. package/ts/types/Interface/api/mfa/DisableMfa.ts +7 -0
  222. package/ts/types/Interface/api/mfa/SetupInit.ts +11 -0
  223. package/ts/types/Interface/api/mfa/SetupVerify.ts +11 -0
  224. package/ts/types/Interface/api/mfa/VerifyCode.ts +11 -0
  225. package/ts/types/Interface/api/mfa/VerifyRecoveryCode.ts +11 -0
  226. package/ts/types/Interface/api/mfa/mfa.ts +21 -0
  227. package/ts/types/Interface/api/report/CreateReport.ts +10 -2
  228. package/ts/types/Interface/api/report/QueryReports.ts +18 -2
  229. package/ts/types/Interface/api/report/QueryReportsForLetter.ts +2 -2
  230. package/ts/types/Interface/api/revenueMovement.ts +39 -0
  231. package/ts/types/Interface/api/revenueSnapshotGenerate.ts +19 -0
  232. package/ts/types/Interface/models/IReport.ts +4 -1
  233. package/ts/types/Interface/models/IReportHistory.ts +1 -1
  234. package/ts/types/Interface/models/IRevenueMovement.ts +4 -1
  235. package/ts/types/Interface/models/IUser.ts +1 -0
  236. package/ts/types/Interface/models/IUserMfa.ts +11 -0
  237. package/ts/types/Interface/models/IUserMfaRecoveryCode.ts +8 -0
  238. package/ts/types/index.ts +1 -0
  239. package/ts/utils/checkup.ts +20 -17
  240. package/ts/utils/documents.ts +7 -0
@@ -11,35 +11,35 @@ var ReportService;
11
11
  ReportService[ReportService["REFERENT_CLIENT"] = 5] = "REFERENT_CLIENT";
12
12
  })(ReportService || (exports.ReportService = ReportService = {}));
13
13
  exports.ReportServiceList = [
14
- {
15
- id: ReportService.REFERENT_LITIGE,
16
- label: 'Référent litige',
17
- idRole: RoleDetail_1.RoleDetail.REFERENT_LITIGE.id,
18
- idTaskType: 12,
14
+ /* {
15
+ id: ReportService.REFERENT_LITIGE,
16
+ label: 'Référent litige',
17
+ idRole: RoleDetail.REFERENT_LITIGE.id,
18
+ idTaskType: 12,
19
19
  },
20
20
  {
21
- id: ReportService.COMPTABLE,
22
- label: 'Comptable',
23
- idRole: RoleDetail_1.RoleDetail.FRONT_OFFICE.id,
24
- idTaskType: 16,
25
- },
21
+ id: ReportService.COMPTABLE,
22
+ label: 'Comptable',
23
+ idRole: RoleDetail.FRONT_OFFICE.id,
24
+ idTaskType: 16,
25
+ }, */
26
26
  {
27
27
  id: ReportService.CUSTOMER_SUCCESS,
28
28
  label: 'Customer Success',
29
29
  idRole: RoleDetail_1.RoleDetail.CUSTOMER_SUCCESS.id,
30
30
  idTaskType: 14,
31
31
  },
32
- {
33
- id: ReportService.EXPERT_ACCOUNTANT,
34
- label: 'Expert Comptable',
35
- idRole: RoleDetail_1.RoleDetail.EXPERT_ACCOUNTANT.id,
36
- idTaskType: 15,
32
+ /* {
33
+ id: ReportService.EXPERT_ACCOUNTANT,
34
+ label: 'Expert Comptable',
35
+ idRole: RoleDetail.EXPERT_ACCOUNTANT.id,
36
+ idTaskType: 15,
37
37
  },
38
38
  {
39
- id: ReportService.REFERENT_CLIENT,
40
- label: 'Référent client',
41
- idRole: RoleDetail_1.RoleDetail.REFERENT_CLIENT.id,
42
- idTaskType: 13,
43
- },
39
+ id: ReportService.REFERENT_CLIENT,
40
+ label: 'Référent client',
41
+ idRole: RoleDetail.REFERENT_CLIENT.id,
42
+ idTaskType: 13,
43
+ }, */
44
44
  ];
45
45
  //# sourceMappingURL=ReportService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReportService.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportService.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAI1C,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,uEAAmB,CAAA;IACnB,2DAAa,CAAA;IACb,yEAAoB,CAAA;IACpB,2EAAqB,CAAA;IACrB,uEAAmB,CAAA;AACrB,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB;AAEY,QAAA,iBAAiB,GAAe;IAC3C;QACE,EAAE,EAAE,aAAa,CAAC,eAAe;QACjC,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,uBAAU,CAAC,eAAe,CAAC,EAAE;QACrC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,SAAS;QAC3B,KAAK,EAAE,WAAW;QAClB,MAAM,EAAE,uBAAU,CAAC,YAAY,CAAC,EAAE;QAClC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,gBAAgB;QAClC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,uBAAU,CAAC,gBAAgB,CAAC,EAAE;QACtC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,iBAAiB;QACnC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,uBAAU,CAAC,iBAAiB,CAAC,EAAE;QACvC,UAAU,EAAE,EAAE;KACf;IACD;QACE,EAAE,EAAE,aAAa,CAAC,eAAe;QACjC,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,uBAAU,CAAC,eAAe,CAAC,EAAE;QACrC,UAAU,EAAE,EAAE;KACf;CACF,CAAC","sourcesContent":["import { RoleDetail } from './RoleDetail';\n\nexport type ListReport = Array<{ label: string; id: number; idRole: number; idTaskType: number }>;\n\nexport enum ReportService {\n REFERENT_LITIGE = 1,\n COMPTABLE = 2,\n CUSTOMER_SUCCESS = 3,\n EXPERT_ACCOUNTANT = 4,\n REFERENT_CLIENT = 5,\n}\n\nexport const ReportServiceList: ListReport = [\n {\n id: ReportService.REFERENT_LITIGE,\n label: 'Référent litige',\n idRole: RoleDetail.REFERENT_LITIGE.id,\n idTaskType: 12,\n },\n {\n id: ReportService.COMPTABLE,\n label: 'Comptable',\n idRole: RoleDetail.FRONT_OFFICE.id,\n idTaskType: 16,\n },\n {\n id: ReportService.CUSTOMER_SUCCESS,\n label: 'Customer Success',\n idRole: RoleDetail.CUSTOMER_SUCCESS.id,\n idTaskType: 14,\n },\n {\n id: ReportService.EXPERT_ACCOUNTANT,\n label: 'Expert Comptable',\n idRole: RoleDetail.EXPERT_ACCOUNTANT.id,\n idTaskType: 15,\n },\n {\n id: ReportService.REFERENT_CLIENT,\n label: 'Référent client',\n idRole: RoleDetail.REFERENT_CLIENT.id,\n idTaskType: 13,\n },\n];\n"]}
1
+ {"version":3,"file":"ReportService.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportService.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAI1C,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,uEAAmB,CAAA;IACnB,2DAAa,CAAA;IACb,yEAAoB,CAAA;IACpB,2EAAqB,CAAA;IACrB,uEAAmB,CAAA;AACrB,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB;AAEY,QAAA,iBAAiB,GAAe;IAC3C;;;;;;;;;;;SAWK;IACL;QACE,EAAE,EAAE,aAAa,CAAC,gBAAgB;QAClC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,uBAAU,CAAC,gBAAgB,CAAC,EAAE;QACtC,UAAU,EAAE,EAAE;KACf;IACD;;;;;;;;;;;SAWK;CACN,CAAC","sourcesContent":["import { RoleDetail } from './RoleDetail';\n\nexport type ListReport = Array<{ label: string; id: number; idRole: number; idTaskType: number }>;\n\nexport enum ReportService {\n REFERENT_LITIGE = 1,\n COMPTABLE = 2,\n CUSTOMER_SUCCESS = 3,\n EXPERT_ACCOUNTANT = 4,\n REFERENT_CLIENT = 5,\n}\n\nexport const ReportServiceList: ListReport = [\n /* {\n id: ReportService.REFERENT_LITIGE,\n label: 'Référent litige',\n idRole: RoleDetail.REFERENT_LITIGE.id,\n idTaskType: 12,\n },\n {\n id: ReportService.COMPTABLE,\n label: 'Comptable',\n idRole: RoleDetail.FRONT_OFFICE.id,\n idTaskType: 16,\n }, */\n {\n id: ReportService.CUSTOMER_SUCCESS,\n label: 'Customer Success',\n idRole: RoleDetail.CUSTOMER_SUCCESS.id,\n idTaskType: 14,\n },\n /* {\n id: ReportService.EXPERT_ACCOUNTANT,\n label: 'Expert Comptable',\n idRole: RoleDetail.EXPERT_ACCOUNTANT.id,\n idTaskType: 15,\n },\n {\n id: ReportService.REFERENT_CLIENT,\n label: 'Référent client',\n idRole: RoleDetail.REFERENT_CLIENT.id,\n idTaskType: 13,\n }, */\n];\n"]}
@@ -1,7 +1,8 @@
1
1
  export declare enum ReportSource {
2
2
  LETTER = 1,
3
3
  MAIL = 2,
4
- INTERNAL = 3
4
+ INTERNAL = 3,
5
+ CLIENT = 4
5
6
  }
6
7
  interface ReportSourceInterface {
7
8
  id: ReportSource;
@@ -1 +1 @@
1
- {"version":3,"file":"ReportSource.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportSource.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,MAAM,IAAI;IACV,IAAI,IAAI;IACR,QAAQ,IAAI;CACb;AAED,UAAU,qBAAqB;IAC7B,EAAE,EAAE,YAAY,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,mBAAmB,EAAE,qBAAqB,EAatD,CAAC"}
1
+ {"version":3,"file":"ReportSource.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportSource.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,MAAM,IAAI;IACV,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,MAAM,IAAI;CACX;AAED,UAAU,qBAAqB;IAC7B,EAAE,EAAE,YAAY,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,mBAAmB,EAAE,qBAAqB,EAiBtD,CAAC"}
@@ -6,6 +6,7 @@ var ReportSource;
6
6
  ReportSource[ReportSource["LETTER"] = 1] = "LETTER";
7
7
  ReportSource[ReportSource["MAIL"] = 2] = "MAIL";
8
8
  ReportSource[ReportSource["INTERNAL"] = 3] = "INTERNAL";
9
+ ReportSource[ReportSource["CLIENT"] = 4] = "CLIENT";
9
10
  })(ReportSource || (exports.ReportSource = ReportSource = {}));
10
11
  exports.ReportSourceDetails = [
11
12
  {
@@ -20,5 +21,9 @@ exports.ReportSourceDetails = [
20
21
  id: ReportSource.INTERNAL,
21
22
  name: 'Interne',
22
23
  },
24
+ {
25
+ id: ReportSource.CLIENT,
26
+ name: 'Client',
27
+ },
23
28
  ];
24
29
  //# sourceMappingURL=ReportSource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReportSource.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportSource.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,mDAAU,CAAA;IACV,+CAAQ,CAAA;IACR,uDAAY,CAAA;AACd,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAOY,QAAA,mBAAmB,GAA4B;IAC1D;QACE,EAAE,EAAE,YAAY,CAAC,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,YAAY,CAAC,IAAI;QACrB,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,YAAY,CAAC,QAAQ;QACzB,IAAI,EAAE,SAAS;KAChB;CACF,CAAC","sourcesContent":["export enum ReportSource {\n LETTER = 1,\n MAIL = 2,\n INTERNAL = 3,\n}\n\ninterface ReportSourceInterface {\n id: ReportSource;\n name: string;\n}\n\nexport const ReportSourceDetails: ReportSourceInterface[] = [\n {\n id: ReportSource.LETTER,\n name: 'Courrier',\n },\n {\n id: ReportSource.MAIL,\n name: 'Mail',\n },\n {\n id: ReportSource.INTERNAL,\n name: 'Interne',\n },\n];\n"]}
1
+ {"version":3,"file":"ReportSource.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReportSource.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,mDAAU,CAAA;IACV,+CAAQ,CAAA;IACR,uDAAY,CAAA;IACZ,mDAAU,CAAA;AACZ,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAOY,QAAA,mBAAmB,GAA4B;IAC1D;QACE,EAAE,EAAE,YAAY,CAAC,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,EAAE,EAAE,YAAY,CAAC,IAAI;QACrB,IAAI,EAAE,MAAM;KACb;IACD;QACE,EAAE,EAAE,YAAY,CAAC,QAAQ;QACzB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,EAAE,EAAE,YAAY,CAAC,MAAM;QACvB,IAAI,EAAE,QAAQ;KACf;CACF,CAAC","sourcesContent":["export enum ReportSource {\n LETTER = 1,\n MAIL = 2,\n INTERNAL = 3,\n CLIENT = 4,\n}\n\ninterface ReportSourceInterface {\n id: ReportSource;\n name: string;\n}\n\nexport const ReportSourceDetails: ReportSourceInterface[] = [\n {\n id: ReportSource.LETTER,\n name: 'Courrier',\n },\n {\n id: ReportSource.MAIL,\n name: 'Mail',\n },\n {\n id: ReportSource.INTERNAL,\n name: 'Interne',\n },\n {\n id: ReportSource.CLIENT,\n name: 'Client',\n },\n];\n"]}
@@ -17,6 +17,12 @@ export declare enum RevenueMovementType {
17
17
  /** Reactivation (client qui revient) */
18
18
  REACTIVATION = 7
19
19
  }
20
+ /**
21
+ * Récupère le nom de l'enum à partir de sa valeur
22
+ * @param type - La valeur numérique du type de mouvement
23
+ * @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)
24
+ */
25
+ export declare function getRevenueMovementTypeName(type: RevenueMovementType | number): string;
20
26
  /**
21
27
  * Type de périodicité pour les prestations
22
28
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Revenue.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,sDAAsD;IACtD,OAAO,IAAI;IAEX,iCAAiC;IACjC,KAAK,IAAI;IAET,iCAAiC;IACjC,SAAS,IAAI;IAEb,+BAA+B;IAC/B,WAAW,IAAI;IAEf,2CAA2C;IAC3C,OAAO,IAAI;IAEX,0CAA0C;IAC1C,SAAS,IAAI;IAEb,wCAAwC;IACxC,YAAY,IAAI;CACjB;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,cAAc;IACd,OAAO,IAAI;IAEX,kBAAkB;IAClB,SAAS,IAAI;IAEb,aAAa;IACb,MAAM,IAAI;IAEV,sCAAsC;IACtC,QAAQ,IAAI;CACb"}
1
+ {"version":3,"file":"Revenue.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,sDAAsD;IACtD,OAAO,IAAI;IAEX,iCAAiC;IACjC,KAAK,IAAI;IAET,iCAAiC;IACjC,SAAS,IAAI;IAEb,+BAA+B;IAC/B,WAAW,IAAI;IAEf,2CAA2C;IAC3C,OAAO,IAAI;IAEX,0CAA0C;IAC1C,SAAS,IAAI;IAEb,wCAAwC;IACxC,YAAY,IAAI;CACjB;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,GAAG,MAAM,CAErF;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,cAAc;IACd,OAAO,IAAI;IAEX,kBAAkB;IAClB,SAAS,IAAI;IAEb,aAAa;IACb,MAAM,IAAI;IAEV,sCAAsC;IACtC,QAAQ,IAAI;CACb"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PrestationPeriodicity = exports.RevenueMovementType = void 0;
4
+ exports.getRevenueMovementTypeName = getRevenueMovementTypeName;
4
5
  /**
5
6
  * Type de mouvement de revenu
6
7
  */
@@ -21,6 +22,14 @@ var RevenueMovementType;
21
22
  /** Reactivation (client qui revient) */
22
23
  RevenueMovementType[RevenueMovementType["REACTIVATION"] = 7] = "REACTIVATION";
23
24
  })(RevenueMovementType || (exports.RevenueMovementType = RevenueMovementType = {}));
25
+ /**
26
+ * Récupère le nom de l'enum à partir de sa valeur
27
+ * @param type - La valeur numérique du type de mouvement
28
+ * @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)
29
+ */
30
+ function getRevenueMovementTypeName(type) {
31
+ return RevenueMovementType[type] || 'UNKNOWN';
32
+ }
24
33
  /**
25
34
  * Type de périodicité pour les prestations
26
35
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Revenue.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,mBAqBX;AArBD,WAAY,mBAAmB;IAC7B,sDAAsD;IACtD,mEAAW,CAAA;IAEX,iCAAiC;IACjC,+DAAS,CAAA;IAET,iCAAiC;IACjC,uEAAa,CAAA;IAEb,+BAA+B;IAC/B,2EAAe,CAAA;IAEf,2CAA2C;IAC3C,mEAAW,CAAA;IAEX,0CAA0C;IAC1C,uEAAa,CAAA;IAEb,wCAAwC;IACxC,6EAAgB,CAAA;AAClB,CAAC,EArBW,mBAAmB,mCAAnB,mBAAmB,QAqB9B;AAED;;GAEG;AACH,IAAY,qBAYX;AAZD,WAAY,qBAAqB;IAC/B,cAAc;IACd,uEAAW,CAAA;IAEX,kBAAkB;IAClB,2EAAa,CAAA;IAEb,aAAa;IACb,qEAAU,CAAA;IAEV,sCAAsC;IACtC,yEAAY,CAAA;AACd,CAAC,EAZW,qBAAqB,qCAArB,qBAAqB,QAYhC","sourcesContent":["/**\n * Type de mouvement de revenu\n */\nexport enum RevenueMovementType {\n /** Nouveau booking (nouvelle prestation souscrite) */\n BOOKING = 1,\n \n /** Churn (résiliation client) */\n CHURN = 2,\n \n /** Provision (revenu différé) */\n PROVISION = 3,\n \n /** Reconnaissance de revenu */\n RECOGNITION = 4,\n \n /** Upgrade (augmentation de prestation) */\n UPGRADE = 5,\n \n /** Downgrade (réduction de prestation) */\n DOWNGRADE = 6,\n \n /** Reactivation (client qui revient) */\n REACTIVATION = 7,\n}\n\n/**\n * Type de périodicité pour les prestations\n */\nexport enum PrestationPeriodicity {\n /** Mensuel */\n MONTHLY = 1,\n \n /** Trimestriel */\n QUARTERLY = 2,\n \n /** Annuel */\n YEARLY = 3,\n \n /** Paiement unique (non récurrent) */\n ONE_TIME = 4,\n}\n"]}
1
+ {"version":3,"file":"Revenue.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":";;;AA+BA,gEAEC;AAjCD;;GAEG;AACH,IAAY,mBAqBX;AArBD,WAAY,mBAAmB;IAC7B,sDAAsD;IACtD,mEAAW,CAAA;IAEX,iCAAiC;IACjC,+DAAS,CAAA;IAET,iCAAiC;IACjC,uEAAa,CAAA;IAEb,+BAA+B;IAC/B,2EAAe,CAAA;IAEf,2CAA2C;IAC3C,mEAAW,CAAA;IAEX,0CAA0C;IAC1C,uEAAa,CAAA;IAEb,wCAAwC;IACxC,6EAAgB,CAAA;AAClB,CAAC,EArBW,mBAAmB,mCAAnB,mBAAmB,QAqB9B;AAED;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,IAAkC;IAC3E,OAAO,mBAAmB,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC;AAChD,CAAC;AAED;;GAEG;AACH,IAAY,qBAYX;AAZD,WAAY,qBAAqB;IAC/B,cAAc;IACd,uEAAW,CAAA;IAEX,kBAAkB;IAClB,2EAAa,CAAA;IAEb,aAAa;IACb,qEAAU,CAAA;IAEV,sCAAsC;IACtC,yEAAY,CAAA;AACd,CAAC,EAZW,qBAAqB,qCAArB,qBAAqB,QAYhC","sourcesContent":["/**\n * Type de mouvement de revenu\n */\nexport enum RevenueMovementType {\n /** Nouveau booking (nouvelle prestation souscrite) */\n BOOKING = 1,\n\n /** Churn (résiliation client) */\n CHURN = 2,\n\n /** Provision (revenu différé) */\n PROVISION = 3,\n\n /** Reconnaissance de revenu */\n RECOGNITION = 4,\n\n /** Upgrade (augmentation de prestation) */\n UPGRADE = 5,\n\n /** Downgrade (réduction de prestation) */\n DOWNGRADE = 6,\n\n /** Reactivation (client qui revient) */\n REACTIVATION = 7,\n}\n\n/**\n * Récupère le nom de l'enum à partir de sa valeur\n * @param type - La valeur numérique du type de mouvement\n * @returns Le nom de l'enum (ex: 'BOOKING', 'CHURN', etc.)\n */\nexport function getRevenueMovementTypeName(type: RevenueMovementType | number): string {\n return RevenueMovementType[type] || 'UNKNOWN';\n}\n\n/**\n * Type de périodicité pour les prestations\n */\nexport enum PrestationPeriodicity {\n /** Mensuel */\n MONTHLY = 1,\n\n /** Trimestriel */\n QUARTERLY = 2,\n\n /** Annuel */\n YEARLY = 3,\n\n /** Paiement unique (non récurrent) */\n ONE_TIME = 4,\n}\n"]}
@@ -0,0 +1,7 @@
1
+ export interface IAuthenticationResponse {
2
+ requiresMfa?: boolean;
3
+ userId?: number;
4
+ message?: string;
5
+ token?: string;
6
+ }
7
+ //# sourceMappingURL=AuthenticationResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthenticationResponse.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/AuthenticationResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AuthenticationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthenticationResponse.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/AuthenticationResponse.ts"],"names":[],"mappings":"","sourcesContent":["export interface IAuthenticationResponse {\n requiresMfa?: boolean;\n userId?: number;\n message?: string;\n token?: string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ export declare class MfaDisable {
2
+ userId: number;
3
+ }
4
+ //# sourceMappingURL=DisableMfa.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisableMfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/DisableMfa.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IAGrB,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.MfaDisable = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class MfaDisable {
15
+ }
16
+ exports.MfaDisable = MfaDisable;
17
+ __decorate([
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ (0, class_validator_1.IsInt)(),
20
+ __metadata("design:type", Number)
21
+ ], MfaDisable.prototype, "userId", void 0);
22
+ //# sourceMappingURL=DisableMfa.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisableMfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/DisableMfa.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AAEpD,MAAa,UAAU;CAItB;AAJD,gCAIC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0CACO","sourcesContent":["import { IsInt, IsNotEmpty } from 'class-validator';\n\nexport class MfaDisable {\n @IsNotEmpty()\n @IsInt()\n userId: number;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export declare class MfaSetupInit {
2
+ userId: number;
3
+ userEmail: string;
4
+ }
5
+ //# sourceMappingURL=SetupInit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetupInit.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/SetupInit.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IAGvB,MAAM,EAAE,MAAM,CAAC;IAIf,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.MfaSetupInit = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class MfaSetupInit {
15
+ }
16
+ exports.MfaSetupInit = MfaSetupInit;
17
+ __decorate([
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ (0, class_validator_1.IsInt)(),
20
+ __metadata("design:type", Number)
21
+ ], MfaSetupInit.prototype, "userId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsEmail)(),
24
+ (0, class_validator_1.IsString)(),
25
+ __metadata("design:type", String)
26
+ ], MfaSetupInit.prototype, "userEmail", void 0);
27
+ //# sourceMappingURL=SetupInit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetupInit.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/SetupInit.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,MAAa,YAAY;CAQxB;AARD,oCAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACO;AAIf;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,GAAE;;+CACO","sourcesContent":["import { IsEmail, IsInt, IsNotEmpty, IsString } from 'class-validator';\n\nexport class MfaSetupInit {\n @IsNotEmpty()\n @IsInt()\n userId: number;\n\n @IsEmail()\n @IsString()\n userEmail: string;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export declare class MfaSetupVerify {
2
+ userId: number;
3
+ code: string;
4
+ }
5
+ //# sourceMappingURL=SetupVerify.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetupVerify.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/SetupVerify.ts"],"names":[],"mappings":"AAEA,qBAAa,cAAc;IAGzB,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.MfaSetupVerify = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class MfaSetupVerify {
15
+ }
16
+ exports.MfaSetupVerify = MfaSetupVerify;
17
+ __decorate([
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ (0, class_validator_1.IsInt)(),
20
+ __metadata("design:type", Number)
21
+ ], MfaSetupVerify.prototype, "userId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ (0, class_validator_1.IsString)(),
25
+ __metadata("design:type", String)
26
+ ], MfaSetupVerify.prototype, "code", void 0);
27
+ //# sourceMappingURL=SetupVerify.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetupVerify.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/SetupVerify.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,MAAa,cAAc;CAQ1B;AARD,wCAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACO;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACE","sourcesContent":["import { IsInt, IsNotEmpty, IsString } from 'class-validator';\n\nexport class MfaSetupVerify {\n @IsNotEmpty()\n @IsInt()\n userId: number;\n\n @IsNotEmpty()\n @IsString()\n code: string;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export declare class MfaVerifyCode {
2
+ userId: number;
3
+ code: string;
4
+ }
5
+ //# sourceMappingURL=VerifyCode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyCode.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/VerifyCode.ts"],"names":[],"mappings":"AAEA,qBAAa,aAAa;IAGxB,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.MfaVerifyCode = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class MfaVerifyCode {
15
+ }
16
+ exports.MfaVerifyCode = MfaVerifyCode;
17
+ __decorate([
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ (0, class_validator_1.IsInt)(),
20
+ __metadata("design:type", Number)
21
+ ], MfaVerifyCode.prototype, "userId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.Length)(6, 6),
25
+ __metadata("design:type", String)
26
+ ], MfaVerifyCode.prototype, "code", void 0);
27
+ //# sourceMappingURL=VerifyCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyCode.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/VerifyCode.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AAEtE,MAAa,aAAa;CAQzB;AARD,sCAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6CACO;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,CAAC,CAAC;;2CACA","sourcesContent":["import { IsInt, IsNotEmpty, IsString, Length } from 'class-validator';\n\nexport class MfaVerifyCode {\n @IsNotEmpty()\n @IsInt()\n userId: number;\n\n @IsString()\n @Length(6, 6)\n code: string;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export declare class MfaVerifyRecoveryCode {
2
+ userId: number;
3
+ recoveryCode: string;
4
+ }
5
+ //# sourceMappingURL=VerifyRecoveryCode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyRecoveryCode.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/VerifyRecoveryCode.ts"],"names":[],"mappings":"AAEA,qBAAa,qBAAqB;IAGhC,MAAM,EAAE,MAAM,CAAC;IAIf,YAAY,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.MfaVerifyRecoveryCode = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class MfaVerifyRecoveryCode {
15
+ }
16
+ exports.MfaVerifyRecoveryCode = MfaVerifyRecoveryCode;
17
+ __decorate([
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ (0, class_validator_1.IsInt)(),
20
+ __metadata("design:type", Number)
21
+ ], MfaVerifyRecoveryCode.prototype, "userId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], MfaVerifyRecoveryCode.prototype, "recoveryCode", void 0);
27
+ //# sourceMappingURL=VerifyRecoveryCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyRecoveryCode.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/VerifyRecoveryCode.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;qDACO;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACQ","sourcesContent":["import { IsInt, IsNotEmpty, IsString } from 'class-validator';\n\nexport class MfaVerifyRecoveryCode {\n @IsNotEmpty()\n @IsInt()\n userId: number;\n\n @IsString()\n @IsNotEmpty()\n recoveryCode: string;\n}\n"]}
@@ -0,0 +1,19 @@
1
+ export interface MfaSetupInitResult {
2
+ otpauthUri: string;
3
+ tempSecret: string;
4
+ label: string;
5
+ }
6
+ export interface MfaSetupVerifyResult {
7
+ success: boolean;
8
+ recoveryCodes: string[];
9
+ }
10
+ export interface MfaAuthenticationResponse {
11
+ requiresMfa: boolean;
12
+ userId?: number;
13
+ token?: string;
14
+ }
15
+ export interface MfaVerificationResponse {
16
+ success: boolean;
17
+ token?: string;
18
+ }
19
+ //# sourceMappingURL=mfa.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/mfa.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mfa.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/mfa/mfa.ts"],"names":[],"mappings":"","sourcesContent":["export interface MfaSetupInitResult {\n otpauthUri: string;\n tempSecret: string;\n label: string;\n}\n\nexport interface MfaSetupVerifyResult {\n success: boolean;\n recoveryCodes: string[];\n}\n\nexport interface MfaAuthenticationResponse {\n requiresMfa: boolean;\n userId?: number;\n token?: string;\n}\n\nexport interface MfaVerificationResponse {\n success: boolean;\n token?: string;\n}\n"]}
@@ -1,7 +1,8 @@
1
1
  import { IReport } from '../../..';
2
2
  import { TFile } from '../file/TFile';
3
3
  export declare class CreateReport implements IReport {
4
- idReportType?: number;
4
+ idSource: number;
5
+ idReportType?: number[];
5
6
  idSociety?: number;
6
7
  idFile?: number;
7
8
  idUser: number;
@@ -15,6 +16,7 @@ export declare class CreateReport implements IReport {
15
16
  action?: number;
16
17
  processed?: boolean;
17
18
  letterDate?: Date;
19
+ receivedAt?: Date;
18
20
  receivedFile?: TFile;
19
21
  responseFile?: TFile;
20
22
  token?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;IAI1C,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,EAAE,MAAM,CAAC;IAKf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAI5B,OAAO,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,WAAW,CAAC,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,YAAY,CAAC,EAAE,KAAK,CAAC;IAIrB,YAAY,CAAC,EAAE,KAAK,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;IAG1C,QAAQ,EAAE,MAAM,CAAC;IAKjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,EAAE,MAAM,CAAC;IAKf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAI5B,OAAO,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,WAAW,CAAC,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,YAAY,CAAC,EAAE,KAAK,CAAC;IAIrB,YAAY,CAAC,EAAE,KAAK,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -16,10 +16,15 @@ class CreateReport {
16
16
  }
17
17
  exports.CreateReport = CreateReport;
18
18
  __decorate([
19
- (0, utils_1.ApiPropertyOptional)(),
20
- (0, class_validator_1.IsOptional)(),
19
+ (0, utils_1.ApiProperty)(),
21
20
  (0, class_validator_1.IsInt)(),
22
21
  __metadata("design:type", Number)
22
+ ], CreateReport.prototype, "idSource", void 0);
23
+ __decorate([
24
+ (0, utils_1.ApiPropertyOptional)(),
25
+ (0, class_validator_1.IsOptional)(),
26
+ (0, class_validator_1.IsInt)({ each: true }),
27
+ __metadata("design:type", Array)
23
28
  ], CreateReport.prototype, "idReportType", void 0);
24
29
  __decorate([
25
30
  (0, utils_1.ApiPropertyOptional)(),
@@ -93,6 +98,11 @@ __decorate([
93
98
  (0, class_validator_1.IsOptional)(),
94
99
  __metadata("design:type", Date)
95
100
  ], CreateReport.prototype, "letterDate", void 0);
101
+ __decorate([
102
+ (0, utils_1.ApiPropertyOptional)(),
103
+ (0, class_validator_1.IsOptional)(),
104
+ __metadata("design:type", Date)
105
+ ], CreateReport.prototype, "receivedAt", void 0);
96
106
  __decorate([
97
107
  (0, utils_1.ApiPropertyOptional)(),
98
108
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,6CAAqE;AAGrE,MAAa,YAAY;CA6ExB;AA7ED,oCA6EC;AAzEC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;kDACc;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+CACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;4CACO;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACoB;AAI5B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACK;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;qDACa;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2CACO;AAIf;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;iDACS;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;+CACO;AAIpB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;8BACA,IAAI;gDAAC;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAIrB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACI","sourcesContent":["import { IsInt, IsOptional, IsString } from 'class-validator';\nimport { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReportType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
1
+ {"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,6CAAqE;AAGrE,MAAa,YAAY;CAqFxB;AArFD,oCAqFC;AAlFC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;8CACS;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACE;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+CACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;4CACO;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACoB;AAI5B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACK;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;qDACa;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2CACO;AAIf;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;iDACS;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;+CACO;AAIpB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;8BACA,IAAI;gDAAC;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;8BACA,IAAI;gDAAC;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAIrB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACI","sourcesContent":["import { IsInt, IsOptional, IsString } from 'class-validator';\nimport { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiProperty()\n @IsInt()\n idSource: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReportType?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedAt?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
@@ -1,7 +1,9 @@
1
1
  export declare class QueryReports {
2
- idReportType?: number;
2
+ idSource?: number[];
3
+ idReportType?: number[];
3
4
  idSociety?: number;
4
5
  idService?: number;
6
+ idUserConcerned?: number;
5
7
  idServiceConcerned?: number;
6
8
  id?: number;
7
9
  search?: string;
@@ -9,5 +11,7 @@ export declare class QueryReports {
9
11
  state?: number;
10
12
  idUser?: number | number[];
11
13
  onlyClient?: boolean;
14
+ startDate?: string;
15
+ endDate?: string;
12
16
  }
13
17
  //# sourceMappingURL=QueryReports.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryReports.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":"AAIA,qBAAa,YAAY;IAEvB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAG5B,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAM3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"QueryReports.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":"AAIA,qBAAa,YAAY;IAEvB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAGpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAGxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAG5B,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAM3B,UAAU,CAAC,EAAE,OAAO,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -18,7 +18,11 @@ class QueryReports {
18
18
  exports.QueryReports = QueryReports;
19
19
  __decorate([
20
20
  (0, utils_1.ApiPropertyOptional)(),
21
- __metadata("design:type", Number)
21
+ __metadata("design:type", Array)
22
+ ], QueryReports.prototype, "idSource", void 0);
23
+ __decorate([
24
+ (0, utils_1.ApiPropertyOptional)(),
25
+ __metadata("design:type", Array)
22
26
  ], QueryReports.prototype, "idReportType", void 0);
23
27
  __decorate([
24
28
  (0, utils_1.ApiPropertyOptional)(),
@@ -28,6 +32,10 @@ __decorate([
28
32
  (0, utils_1.ApiPropertyOptional)(),
29
33
  __metadata("design:type", Number)
30
34
  ], QueryReports.prototype, "idService", void 0);
35
+ __decorate([
36
+ (0, utils_1.ApiPropertyOptional)(),
37
+ __metadata("design:type", Number)
38
+ ], QueryReports.prototype, "idUserConcerned", void 0);
31
39
  __decorate([
32
40
  (0, utils_1.ApiPropertyOptional)(),
33
41
  __metadata("design:type", Number)
@@ -59,4 +67,16 @@ __decorate([
59
67
  (0, boolean_transform_1.ToBoolean)(),
60
68
  __metadata("design:type", Boolean)
61
69
  ], QueryReports.prototype, "onlyClient", void 0);
70
+ __decorate([
71
+ (0, utils_1.ApiPropertyOptional)(),
72
+ (0, class_validator_1.IsOptional)(),
73
+ (0, class_validator_1.IsDateString)(),
74
+ __metadata("design:type", String)
75
+ ], QueryReports.prototype, "startDate", void 0);
76
+ __decorate([
77
+ (0, utils_1.ApiPropertyOptional)(),
78
+ (0, class_validator_1.IsOptional)(),
79
+ (0, class_validator_1.IsDateString)(),
80
+ __metadata("design:type", String)
81
+ ], QueryReports.prototype, "endDate", void 0);
62
82
  //# sourceMappingURL=QueryReports.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryReports.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6CAAwD;AACxD,sFAA2E;AAE3E,MAAa,YAAY;CAiCxB;AAjCD,oCAiCC;AA/BC;IADC,IAAA,2BAAmB,GAAE;;kDACA;AAGtB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;wDACM;AAG5B;IADC,IAAA,2BAAmB,GAAE;;wCACV;AAGZ;IADC,IAAA,2BAAmB,GAAE;;4CACN;AAGhB;IADC,IAAA,2BAAmB,GAAE;;0CACR;AAGd;IADC,IAAA,2BAAmB,GAAE;;2CACP;AAGf;IADC,IAAA,2BAAmB,GAAE;;4CACK;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;gDACS","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idReportType?: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idService?: number;\n\n @ApiPropertyOptional()\n idServiceConcerned?: number;\n\n @ApiPropertyOptional()\n id?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyClient?: boolean;\n}\n"]}
1
+ {"version":3,"file":"QueryReports.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAwD;AACxD,sFAA2E;AAE3E,MAAa,YAAY;CAiDxB;AAjDD,oCAiDC;AA/CC;IADC,IAAA,2BAAmB,GAAE;;8CACF;AAGpB;IADC,IAAA,2BAAmB,GAAE;;kDACE;AAGxB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;qDACG;AAGzB;IADC,IAAA,2BAAmB,GAAE;;wDACM;AAG5B;IADC,IAAA,2BAAmB,GAAE;;wCACV;AAGZ;IADC,IAAA,2BAAmB,GAAE;;4CACN;AAGhB;IADC,IAAA,2BAAmB,GAAE;;0CACR;AAGd;IADC,IAAA,2BAAmB,GAAE;;2CACP;AAGf;IADC,IAAA,2BAAmB,GAAE;;4CACK;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;gDACS;AAKb;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;+CACY;AAKnB;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;6CACU","sourcesContent":["import { IsBoolean, IsDateString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idSource?: number[];\n\n @ApiPropertyOptional()\n idReportType?: number[];\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idService?: number;\n\n @ApiPropertyOptional()\n idUserConcerned?: number;\n\n @ApiPropertyOptional()\n idServiceConcerned?: number;\n\n @ApiPropertyOptional()\n id?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyClient?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n declare startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n declare endDate?: string;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  export declare class QueryReportsForLetter {
2
- idReportType: number;
2
+ idReportType: number[];
3
3
  idSociety: number;
4
4
  }
5
5
  //# sourceMappingURL=QueryReportsForLetter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryReportsForLetter.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReportsForLetter.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAGhC,YAAY,EAAE,MAAM,CAAC;IAIrB,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"QueryReportsForLetter.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReportsForLetter.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAGhC,YAAY,EAAE,MAAM,EAAE,CAAC;IAIvB,SAAS,EAAE,MAAM,CAAC;CACnB"}