@silexpert/core 1.3.158-0 → 1.3.158-1

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 (228) 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.d.ts +2 -0
  10. package/dist/cjs/api/resources.d.ts.map +1 -1
  11. package/dist/cjs/api/resources.js +2 -0
  12. package/dist/cjs/api/resources.js.map +1 -1
  13. package/dist/cjs/types/Enum/PrestationType.js +16 -16
  14. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  15. package/dist/cjs/types/Enum/Revenue.d.ts +6 -0
  16. package/dist/cjs/types/Enum/Revenue.d.ts.map +1 -1
  17. package/dist/cjs/types/Enum/Revenue.js +9 -0
  18. package/dist/cjs/types/Enum/Revenue.js.map +1 -1
  19. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
  20. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
  21. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js +3 -0
  22. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
  23. package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
  24. package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
  25. package/dist/cjs/types/Interface/api/mfa/DisableMfa.js +22 -0
  26. package/dist/cjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
  27. package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
  28. package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
  29. package/dist/cjs/types/Interface/api/mfa/SetupInit.js +27 -0
  30. package/dist/cjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
  31. package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
  32. package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
  33. package/dist/cjs/types/Interface/api/mfa/SetupVerify.js +27 -0
  34. package/dist/cjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
  35. package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
  36. package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
  37. package/dist/cjs/types/Interface/api/mfa/VerifyCode.js +27 -0
  38. package/dist/cjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
  39. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
  40. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
  41. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js +27 -0
  42. package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
  43. package/dist/cjs/types/Interface/api/mfa/mfa.d.ts +19 -0
  44. package/dist/cjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
  45. package/dist/cjs/types/Interface/api/mfa/mfa.js +3 -0
  46. package/dist/cjs/types/Interface/api/mfa/mfa.js.map +1 -0
  47. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +1 -1
  48. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  49. package/dist/cjs/types/Interface/api/report/CreateReport.js +2 -2
  50. package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
  51. package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts +1 -1
  52. package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -1
  53. package/dist/cjs/types/Interface/api/report/ExternalReport.js +5 -5
  54. package/dist/cjs/types/Interface/api/report/ExternalReport.js.map +1 -1
  55. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +1 -1
  56. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  57. package/dist/cjs/types/Interface/api/report/QueryReports.js +1 -1
  58. package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
  59. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
  60. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  61. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js +4 -3
  62. package/dist/cjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  63. package/dist/cjs/types/Interface/api/revenueMovement.d.ts +37 -0
  64. package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  65. package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -1
  66. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts +4 -0
  67. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
  68. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js +23 -1
  69. package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
  70. package/dist/cjs/types/Interface/models/IReport.d.ts +1 -1
  71. package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
  72. package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
  73. package/dist/cjs/types/Interface/models/IReportHistory.d.ts +1 -1
  74. package/dist/cjs/types/Interface/models/IReportHistory.d.ts.map +1 -1
  75. package/dist/cjs/types/Interface/models/IReportHistory.js.map +1 -1
  76. package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
  77. package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
  78. package/dist/cjs/types/Interface/models/IRevenueMovement.js.map +1 -1
  79. package/dist/cjs/types/Interface/models/IUser.d.ts +1 -0
  80. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  81. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  82. package/dist/cjs/types/Interface/models/IUserMfa.d.ts +12 -0
  83. package/dist/cjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
  84. package/dist/cjs/types/Interface/models/IUserMfa.js +3 -0
  85. package/dist/cjs/types/Interface/models/IUserMfa.js.map +1 -0
  86. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
  87. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
  88. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js +3 -0
  89. package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
  90. package/dist/cjs/types/index.d.ts +1 -0
  91. package/dist/cjs/types/index.d.ts.map +1 -1
  92. package/dist/cjs/types/index.js +1 -0
  93. package/dist/cjs/types/index.js.map +1 -1
  94. package/dist/cjs/utils/checkup.d.ts +20 -0
  95. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  96. package/dist/cjs/utils/checkup.js +20 -17
  97. package/dist/cjs/utils/checkup.js.map +1 -1
  98. package/dist/cjs/utils/documents.d.ts.map +1 -1
  99. package/dist/cjs/utils/documents.js +6 -0
  100. package/dist/cjs/utils/documents.js.map +1 -1
  101. package/dist/mjs/api/resources/ExercicePrestation.d.ts +6 -0
  102. package/dist/mjs/api/resources/ExercicePrestation.d.ts.map +1 -1
  103. package/dist/mjs/api/resources/ExercicePrestation.js +8 -0
  104. package/dist/mjs/api/resources/ExercicePrestation.js.map +1 -1
  105. package/dist/mjs/api/resources/Mfa.d.ts +19 -0
  106. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -0
  107. package/dist/mjs/api/resources/Mfa.js +23 -0
  108. package/dist/mjs/api/resources/Mfa.js.map +1 -0
  109. package/dist/mjs/api/resources.d.ts +2 -0
  110. package/dist/mjs/api/resources.d.ts.map +1 -1
  111. package/dist/mjs/api/resources.js +2 -0
  112. package/dist/mjs/api/resources.js.map +1 -1
  113. package/dist/mjs/types/Enum/PrestationType.js +16 -16
  114. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  115. package/dist/mjs/types/Enum/Revenue.d.ts +6 -0
  116. package/dist/mjs/types/Enum/Revenue.d.ts.map +1 -1
  117. package/dist/mjs/types/Enum/Revenue.js +8 -0
  118. package/dist/mjs/types/Enum/Revenue.js.map +1 -1
  119. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
  120. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
  121. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js +2 -0
  122. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
  123. package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
  124. package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
  125. package/dist/mjs/types/Interface/api/mfa/DisableMfa.js +19 -0
  126. package/dist/mjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
  127. package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
  128. package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
  129. package/dist/mjs/types/Interface/api/mfa/SetupInit.js +25 -0
  130. package/dist/mjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
  131. package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
  132. package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
  133. package/dist/mjs/types/Interface/api/mfa/SetupVerify.js +25 -0
  134. package/dist/mjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
  135. package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
  136. package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
  137. package/dist/mjs/types/Interface/api/mfa/VerifyCode.js +25 -0
  138. package/dist/mjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
  139. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
  140. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
  141. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js +25 -0
  142. package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
  143. package/dist/mjs/types/Interface/api/mfa/mfa.d.ts +19 -0
  144. package/dist/mjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
  145. package/dist/mjs/types/Interface/api/mfa/mfa.js +2 -0
  146. package/dist/mjs/types/Interface/api/mfa/mfa.js.map +1 -0
  147. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +1 -1
  148. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  149. package/dist/mjs/types/Interface/api/report/CreateReport.js +2 -2
  150. package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
  151. package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts +1 -1
  152. package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -1
  153. package/dist/mjs/types/Interface/api/report/ExternalReport.js +7 -5
  154. package/dist/mjs/types/Interface/api/report/ExternalReport.js.map +1 -1
  155. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +1 -1
  156. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  157. package/dist/mjs/types/Interface/api/report/QueryReports.js +1 -1
  158. package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
  159. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts +1 -1
  160. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
  161. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js +5 -3
  162. package/dist/mjs/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
  163. package/dist/mjs/types/Interface/api/revenueMovement.d.ts +37 -0
  164. package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
  165. package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -1
  166. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts +4 -0
  167. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -1
  168. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js +23 -0
  169. package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -1
  170. package/dist/mjs/types/Interface/models/IReport.d.ts +1 -1
  171. package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
  172. package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
  173. package/dist/mjs/types/Interface/models/IReportHistory.d.ts +1 -1
  174. package/dist/mjs/types/Interface/models/IReportHistory.d.ts.map +1 -1
  175. package/dist/mjs/types/Interface/models/IReportHistory.js.map +1 -1
  176. package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
  177. package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
  178. package/dist/mjs/types/Interface/models/IRevenueMovement.js.map +1 -1
  179. package/dist/mjs/types/Interface/models/IUser.d.ts +1 -0
  180. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  181. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  182. package/dist/mjs/types/Interface/models/IUserMfa.d.ts +12 -0
  183. package/dist/mjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
  184. package/dist/mjs/types/Interface/models/IUserMfa.js +2 -0
  185. package/dist/mjs/types/Interface/models/IUserMfa.js.map +1 -0
  186. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
  187. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
  188. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js +2 -0
  189. package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
  190. package/dist/mjs/types/index.d.ts +1 -0
  191. package/dist/mjs/types/index.d.ts.map +1 -1
  192. package/dist/mjs/types/index.js +1 -0
  193. package/dist/mjs/types/index.js.map +1 -1
  194. package/dist/mjs/utils/checkup.d.ts +20 -0
  195. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  196. package/dist/mjs/utils/checkup.js +20 -17
  197. package/dist/mjs/utils/checkup.js.map +1 -1
  198. package/dist/mjs/utils/documents.d.ts.map +1 -1
  199. package/dist/mjs/utils/documents.js +6 -0
  200. package/dist/mjs/utils/documents.js.map +1 -1
  201. package/package.json +1 -1
  202. package/ts/api/resources/ExercicePrestation.ts +9 -0
  203. package/ts/api/resources/Mfa.ts +29 -0
  204. package/ts/api/resources.ts +2 -0
  205. package/ts/types/Enum/PrestationType.ts +16 -16
  206. package/ts/types/Enum/Revenue.ts +18 -9
  207. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +6 -0
  208. package/ts/types/Interface/api/mfa/DisableMfa.ts +7 -0
  209. package/ts/types/Interface/api/mfa/SetupInit.ts +11 -0
  210. package/ts/types/Interface/api/mfa/SetupVerify.ts +11 -0
  211. package/ts/types/Interface/api/mfa/VerifyCode.ts +11 -0
  212. package/ts/types/Interface/api/mfa/VerifyRecoveryCode.ts +11 -0
  213. package/ts/types/Interface/api/mfa/mfa.ts +21 -0
  214. package/ts/types/Interface/api/report/CreateReport.ts +2 -2
  215. package/ts/types/Interface/api/report/ExternalReport.ts +4 -4
  216. package/ts/types/Interface/api/report/QueryReports.ts +1 -1
  217. package/ts/types/Interface/api/report/QueryReportsForLetter.ts +2 -2
  218. package/ts/types/Interface/api/revenueMovement.ts +39 -0
  219. package/ts/types/Interface/api/revenueSnapshotGenerate.ts +19 -0
  220. package/ts/types/Interface/models/IReport.ts +1 -1
  221. package/ts/types/Interface/models/IReportHistory.ts +1 -1
  222. package/ts/types/Interface/models/IRevenueMovement.ts +4 -1
  223. package/ts/types/Interface/models/IUser.ts +1 -0
  224. package/ts/types/Interface/models/IUserMfa.ts +11 -0
  225. package/ts/types/Interface/models/IUserMfaRecoveryCode.ts +8 -0
  226. package/ts/types/index.ts +1 -0
  227. package/ts/utils/checkup.ts +20 -17
  228. package/ts/utils/documents.ts +7 -0
@@ -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,7 @@
1
1
  import { IReport } from '../../..';
2
2
  import { TFile } from '../file/TFile';
3
3
  export declare class CreateReport implements IReport {
4
- idReportType?: number;
4
+ idReportType?: number[];
5
5
  idSociety?: number;
6
6
  idFile?: number;
7
7
  idUser: number;
@@ -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;IAI1C,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,YAAY,CAAC,EAAE,KAAK,CAAC;IAIrB,YAAY,CAAC,EAAE,KAAK,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -18,8 +18,8 @@ exports.CreateReport = CreateReport;
18
18
  __decorate([
19
19
  (0, utils_1.ApiPropertyOptional)(),
20
20
  (0, class_validator_1.IsOptional)(),
21
- (0, class_validator_1.IsInt)(),
22
- __metadata("design:type", Number)
21
+ (0, class_validator_1.IsInt)({ each: true }),
22
+ __metadata("design:type", Array)
23
23
  ], CreateReport.prototype, "idReportType", void 0);
24
24
  __decorate([
25
25
  (0, utils_1.ApiPropertyOptional)(),
@@ -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;CA6ExB;AA7ED,oCA6EC;AAzEC;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;;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({ 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 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,7 @@
1
1
  import { TFile } from '../file/TFile';
2
2
  export declare class CreateExternalReport {
3
3
  idIssueType?: number;
4
- idReportType?: number;
4
+ idReportType?: number[];
5
5
  idSociety: number;
6
6
  comment: string;
7
7
  metadata?: Record<string, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,oBAAoB;IAK/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGnC,IAAI,CAAC,EAAE,KAAK,CAAC;IAIb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
1
+ {"version":3,"file":"ExternalReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,oBAAoB;IAK/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAIxB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGnC,IAAI,CAAC,EAAE,KAAK,CAAC;IAIb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -13,7 +13,6 @@ exports.CreateExternalReport = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const IssueType_1 = require("../../../Enum/IssueType");
16
- const ReportType_1 = require("../../../Enum/ReportType");
17
16
  class CreateExternalReport {
18
17
  }
19
18
  exports.CreateExternalReport = CreateExternalReport;
@@ -26,10 +25,11 @@ __decorate([
26
25
  ], CreateExternalReport.prototype, "idIssueType", void 0);
27
26
  __decorate([
28
27
  (0, utils_1.ApiPropertyOptional)(),
29
- (0, class_validator_1.IsOptional)(),
30
- (0, class_validator_1.IsInt)(),
31
- (0, class_validator_1.IsEnum)(ReportType_1.ReportTypeEnum),
32
- __metadata("design:type", Number)
28
+ (0, class_validator_1.IsOptional)()
29
+ //@IsInt({ each: true })
30
+ //@IsEnum(ReportTypeEnum)
31
+ ,
32
+ __metadata("design:type", Array)
33
33
  ], CreateExternalReport.prototype, "idReportType", void 0);
34
34
  __decorate([
35
35
  (0, utils_1.ApiProperty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AACrE,uDAAwD;AACxD,yDAA0D;AAG1D,MAAa,oBAAoB;CA+BhC;AA/BD,oDA+BC;AA1BC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,wBAAM,EAAC,yBAAa,CAAC;;yDACD;AAMrB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,wBAAM,EAAC,2BAAc,CAAC;;0DACD;AAItB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACsB;AAGnC;IADC,IAAA,2BAAmB,GAAE;;kDACT;AAIb;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACM","sourcesContent":["import { IsEnum, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IssueTypeEnum } from '../../../Enum/IssueType';\nimport { ReportTypeEnum } from '../../../Enum/ReportType';\nimport { TFile } from '../file/TFile';\n\nexport class CreateExternalReport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(IssueTypeEnum)\n idIssueType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(ReportTypeEnum)\n idReportType?: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, unknown>;\n\n @ApiPropertyOptional()\n file?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n isMobile?: boolean;\n}\n"]}
1
+ {"version":3,"file":"ExternalReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AACrE,uDAAwD;AAIxD,MAAa,oBAAoB;CA+BhC;AA/BD,oDA+BC;AA1BC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,wBAAM,EAAC,yBAAa,CAAC;;yDACD;AAMrB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACb,wBAAwB;IACxB,yBAAyB;;;0DACD;AAIxB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACsB;AAGnC;IADC,IAAA,2BAAmB,GAAE;;kDACT;AAIb;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACM","sourcesContent":["import { IsEnum, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IssueTypeEnum } from '../../../Enum/IssueType';\n//import { ReportTypeEnum } from '../../../Enum/ReportType';\nimport { TFile } from '../file/TFile';\n\nexport class CreateExternalReport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(IssueTypeEnum)\n idIssueType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n //@IsInt({ each: true })\n //@IsEnum(ReportTypeEnum)\n idReportType?: number[];\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, unknown>;\n\n @ApiPropertyOptional()\n file?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n isMobile?: boolean;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  export declare class QueryReports {
2
- idReportType?: number;
2
+ idReportType?: number[];
3
3
  idSociety?: number;
4
4
  idService?: number;
5
5
  idServiceConcerned?: number;
@@ -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,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAGxB,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"}
@@ -18,7 +18,7 @@ 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
22
  ], QueryReports.prototype, "idReportType", void 0);
23
23
  __decorate([
24
24
  (0, utils_1.ApiPropertyOptional)(),
@@ -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,qDAAwD;AACxD,6CAAwD;AACxD,sFAA2E;AAE3E,MAAa,YAAY;CAiCxB;AAjCD,oCAiCC;AA/BC;IADC,IAAA,2BAAmB,GAAE;;kDACE;AAGxB;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,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"}
@@ -16,9 +16,10 @@ class QueryReportsForLetter {
16
16
  }
17
17
  exports.QueryReportsForLetter = QueryReportsForLetter;
18
18
  __decorate([
19
- (0, utils_1.ApiProperty)(),
20
- (0, class_validator_1.IsInt)(),
21
- __metadata("design:type", Number)
19
+ (0, utils_1.ApiProperty)()
20
+ //@IsInt({ each: true })
21
+ ,
22
+ __metadata("design:type", Array)
22
23
  ], QueryReportsForLetter.prototype, "idReportType", void 0);
23
24
  __decorate([
24
25
  (0, utils_1.ApiProperty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"QueryReportsForLetter.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReportsForLetter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwC;AACxC,6CAAgD;AAEhD,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;2DACa;AAIrB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACU","sourcesContent":["import { IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryReportsForLetter {\n @ApiProperty()\n @IsInt()\n idReportType: number;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n}\n"]}
1
+ {"version":3,"file":"QueryReportsForLetter.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReportsForLetter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwC;AACxC,6CAAgD;AAEhD,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACd,wBAAwB;;;2DACD;AAIvB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACU","sourcesContent":["import { IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryReportsForLetter {\n @ApiProperty()\n //@IsInt({ each: true })\n idReportType: number[];\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n}\n"]}
@@ -8,6 +8,7 @@ export interface ICreateRevenueMovementRequest {
8
8
  idExercice?: number;
9
9
  idPrestation?: number;
10
10
  idTerminationList?: number;
11
+ idChurnMovement?: number;
11
12
  amount: number;
12
13
  mrr: number;
13
14
  arr: number;
@@ -21,6 +22,7 @@ export interface ICreateRevenueMovementRequest {
21
22
  export interface IUpdateRevenueMovementRequest {
22
23
  type?: RevenueMovementType;
23
24
  idTerminationList?: number;
25
+ idChurnMovement?: number;
24
26
  amount?: number;
25
27
  mrr?: number;
26
28
  arr?: number;
@@ -36,6 +38,7 @@ export interface IGetRevenueMovementsRequest {
36
38
  idExercice?: number;
37
39
  idPrestation?: number;
38
40
  idTerminationList?: number;
41
+ idChurnMovement?: number;
39
42
  type?: RevenueMovementType[];
40
43
  startDate?: Date | string;
41
44
  endDate?: Date | string;
@@ -66,4 +69,38 @@ export interface IGenerateSnapshotRequest {
66
69
  export interface IGenerateAllSnapshotsRequest {
67
70
  date?: string;
68
71
  }
72
+ /**
73
+ * DTO pour gérer la rétroactivité des mouvements de revenu
74
+ */
75
+ export interface IManageRetroactivityRequest {
76
+ idSociety: number;
77
+ idExercice?: number;
78
+ }
79
+ /**
80
+ * Réponse pour la gestion de la rétroactivité
81
+ */
82
+ export interface IManageRetroactivityResponse {
83
+ idSociety: number;
84
+ idExercice: number;
85
+ exerciceStartDate: Date;
86
+ exerciceEndDate: Date;
87
+ movementsCreated: {
88
+ bookings: number;
89
+ churns: number;
90
+ recognitions: number;
91
+ provisions: number;
92
+ mothballingBookings: number;
93
+ };
94
+ prestationsProcessed: number;
95
+ monthsProcessed: number;
96
+ details: {
97
+ type: string;
98
+ idPrestation?: number;
99
+ prestationName?: string;
100
+ date: Date;
101
+ amount: number;
102
+ mrr: number;
103
+ arr: number;
104
+ }[];
105
+ }
69
106
  //# sourceMappingURL=revenueMovement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,IAAI,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC7B,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC7B,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,IAAI,CAAC;IACxB,eAAe,EAAE,IAAI,CAAC;IACtB,gBAAgB,EAAE;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,oBAAoB,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,IAAI,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CACL"}
@@ -1 +1 @@
1
- {"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"","sourcesContent":["import { RevenueMovementType } from '../../Enum/Revenue';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport interface ICreateRevenueMovementRequest {\n type: RevenueMovementType;\n idSociety: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n amount: number;\n mrr: number;\n arr: number;\n movementDate: Date;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport interface IUpdateRevenueMovementRequest {\n type?: RevenueMovementType;\n idTerminationList?: number;\n amount?: number;\n mrr?: number;\n arr?: number;\n movementDate?: Date | string;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport interface IGetRevenueMovementsRequest {\n idSociety?: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n type?: RevenueMovementType[];\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport interface IGenerateSnapshotRequest {\n date?: string;\n idSociety?: number;\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport interface IGenerateAllSnapshotsRequest {\n date?: string;\n}\n"]}
1
+ {"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"","sourcesContent":["import { RevenueMovementType } from '../../Enum/Revenue';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport interface ICreateRevenueMovementRequest {\n type: RevenueMovementType;\n idSociety: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n idChurnMovement?: number;\n amount: number;\n mrr: number;\n arr: number;\n movementDate: Date;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport interface IUpdateRevenueMovementRequest {\n type?: RevenueMovementType;\n idTerminationList?: number;\n idChurnMovement?: number;\n amount?: number;\n mrr?: number;\n arr?: number;\n movementDate?: Date | string;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport interface IGetRevenueMovementsRequest {\n idSociety?: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n idChurnMovement?: number;\n type?: RevenueMovementType[];\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport interface IGenerateSnapshotRequest {\n date?: string;\n idSociety?: number;\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport interface IGenerateAllSnapshotsRequest {\n date?: string;\n}\n\n/**\n * DTO pour gérer la rétroactivité des mouvements de revenu\n */\nexport interface IManageRetroactivityRequest {\n idSociety: number;\n idExercice?: number;\n}\n\n/**\n * Réponse pour la gestion de la rétroactivité\n */\nexport interface IManageRetroactivityResponse {\n idSociety: number;\n idExercice: number;\n exerciceStartDate: Date;\n exerciceEndDate: Date;\n movementsCreated: {\n bookings: number;\n churns: number;\n recognitions: number;\n provisions: number;\n mothballingBookings: number;\n };\n prestationsProcessed: number;\n monthsProcessed: number;\n details: {\n type: string;\n idPrestation?: number;\n prestationName?: string;\n date: Date;\n amount: number;\n mrr: number;\n arr: number;\n }[];\n}\n"]}
@@ -6,4 +6,8 @@ export declare class GenerateSnapshot {
6
6
  export declare class GenerateAllSnapshots {
7
7
  date?: string;
8
8
  }
9
+ export declare class ManageRetroactivity {
10
+ idSociety: number;
11
+ idExercice?: number;
12
+ }
9
13
  //# sourceMappingURL=revenueSnapshotGenerate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"revenueSnapshotGenerate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAQ3B,IAAI,CAAC,EAAE,MAAM,CAAC;IASd,SAAS,CAAC,EAAE,MAAM,CAAC;IASnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,oBAAoB;IAQ/B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"revenueSnapshotGenerate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAQ3B,IAAI,CAAC,EAAE,MAAM,CAAC;IASd,SAAS,CAAC,EAAE,MAAM,CAAC;IASnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,oBAAoB;IAQ/B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,mBAAmB;IAO9B,SAAS,EAAE,MAAM,CAAC;IASlB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}