@silexpert/core 1.3.169-2 → 1.3.169-4

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 (236) hide show
  1. package/dist/cjs/api/resources/DocumentRequest.d.ts +2 -1
  2. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/DocumentRequest.js +3 -0
  4. package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
  5. package/dist/cjs/api/resources/InformationRequest.d.ts +11 -0
  6. package/dist/cjs/api/resources/InformationRequest.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/InformationRequest.js +26 -0
  8. package/dist/cjs/api/resources/InformationRequest.js.map +1 -0
  9. package/dist/cjs/api/resources/Revenue.d.ts +9 -0
  10. package/dist/cjs/api/resources/Revenue.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Revenue.js +11 -0
  12. package/dist/cjs/api/resources/Revenue.js.map +1 -1
  13. package/dist/cjs/api/resources.d.ts +3 -1
  14. package/dist/cjs/api/resources.d.ts.map +1 -1
  15. package/dist/cjs/api/resources.js +3 -1
  16. package/dist/cjs/api/resources.js.map +1 -1
  17. package/dist/cjs/types/Enum/BalanceSheet.d.ts +14 -2
  18. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  19. package/dist/cjs/types/Enum/BalanceSheet.js +48 -13
  20. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  21. package/dist/cjs/types/Enum/BalanceSheetModule.d.ts +2 -0
  22. package/dist/cjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
  23. package/dist/cjs/types/Enum/BalanceSheetModule.js +23 -1
  24. package/dist/cjs/types/Enum/BalanceSheetModule.js.map +1 -1
  25. package/dist/cjs/types/Enum/DepositDocumentType.js +1 -1
  26. package/dist/cjs/types/Enum/DepositDocumentType.js.map +1 -1
  27. package/dist/cjs/types/Enum/Ged.d.ts +19 -4
  28. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  29. package/dist/cjs/types/Enum/Ged.js +142 -5
  30. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  31. package/dist/cjs/types/Enum/InformationRequestState.d.ts +6 -0
  32. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -0
  33. package/dist/cjs/types/Enum/InformationRequestState.js +10 -0
  34. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -0
  35. package/dist/cjs/types/Enum/InformationRequestType.d.ts +17 -0
  36. package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +1 -0
  37. package/dist/cjs/types/Enum/InformationRequestType.js +44 -0
  38. package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -0
  39. package/dist/cjs/types/Enum/LetterType.js +2 -2
  40. package/dist/cjs/types/Enum/LetterType.js.map +1 -1
  41. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  42. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  43. package/dist/cjs/types/Enum/ReasonTerminationType.js +6 -0
  44. package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
  45. package/dist/cjs/types/Enum/Revenue.d.ts +3 -1
  46. package/dist/cjs/types/Enum/Revenue.d.ts.map +1 -1
  47. package/dist/cjs/types/Enum/Revenue.js +2 -0
  48. package/dist/cjs/types/Enum/Revenue.js.map +1 -1
  49. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +1 -0
  50. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
  51. package/dist/cjs/types/Interface/api/documentRequest/Create.js +8 -0
  52. package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -1
  53. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +3 -0
  54. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  55. package/dist/cjs/types/Interface/api/documentRequest/Query.js +12 -0
  56. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  57. package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts +12 -0
  58. package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -0
  59. package/dist/cjs/types/Interface/api/documentRequest/Update.js +63 -0
  60. package/dist/cjs/types/Interface/api/documentRequest/Update.js.map +1 -0
  61. package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts +10 -0
  62. package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -0
  63. package/dist/cjs/types/Interface/api/informationRequest/Create.js +49 -0
  64. package/dist/cjs/types/Interface/api/informationRequest/Create.js.map +1 -0
  65. package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts +11 -0
  66. package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts.map +1 -0
  67. package/dist/cjs/types/Interface/api/informationRequest/Query.js +54 -0
  68. package/dist/cjs/types/Interface/api/informationRequest/Query.js.map +1 -0
  69. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +12 -0
  70. package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -0
  71. package/dist/cjs/types/Interface/api/informationRequest/Update.js +58 -0
  72. package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -0
  73. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +23 -0
  74. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
  75. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +58 -1
  76. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
  77. package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts +4 -0
  78. package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
  79. package/dist/cjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
  80. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +7 -1
  81. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
  82. package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -1
  83. package/dist/cjs/types/Interface/models/IInformationRequest.d.ts +25 -0
  84. package/dist/cjs/types/Interface/models/IInformationRequest.d.ts.map +1 -0
  85. package/dist/cjs/types/Interface/models/IInformationRequest.js +3 -0
  86. package/dist/cjs/types/Interface/models/IInformationRequest.js.map +1 -0
  87. package/dist/cjs/types/index.d.ts +7 -0
  88. package/dist/cjs/types/index.d.ts.map +1 -1
  89. package/dist/cjs/types/index.js +7 -0
  90. package/dist/cjs/types/index.js.map +1 -1
  91. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  92. package/dist/cjs/utils/checkup.js +3 -3
  93. package/dist/cjs/utils/checkup.js.map +1 -1
  94. package/dist/cjs/utils/exercice.d.ts +9 -0
  95. package/dist/cjs/utils/exercice.d.ts.map +1 -1
  96. package/dist/cjs/utils/exercice.js +15 -1
  97. package/dist/cjs/utils/exercice.js.map +1 -1
  98. package/dist/cjs/utils/vat/3310/century23.js +19 -18
  99. package/dist/cjs/utils/vat/3310/century23.js.map +1 -1
  100. package/dist/cjs/utils/vat/3310/century24.js +19 -18
  101. package/dist/cjs/utils/vat/3310/century24.js.map +1 -1
  102. package/dist/cjs/utils/vat/3310/century25.js +18 -17
  103. package/dist/cjs/utils/vat/3310/century25.js.map +1 -1
  104. package/dist/mjs/api/resources/DocumentRequest.d.ts +2 -1
  105. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
  106. package/dist/mjs/api/resources/DocumentRequest.js +3 -0
  107. package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
  108. package/dist/mjs/api/resources/InformationRequest.d.ts +11 -0
  109. package/dist/mjs/api/resources/InformationRequest.d.ts.map +1 -0
  110. package/dist/mjs/api/resources/InformationRequest.js +30 -0
  111. package/dist/mjs/api/resources/InformationRequest.js.map +1 -0
  112. package/dist/mjs/api/resources/Revenue.d.ts +9 -0
  113. package/dist/mjs/api/resources/Revenue.d.ts.map +1 -1
  114. package/dist/mjs/api/resources/Revenue.js +11 -0
  115. package/dist/mjs/api/resources/Revenue.js.map +1 -1
  116. package/dist/mjs/api/resources.d.ts +3 -1
  117. package/dist/mjs/api/resources.d.ts.map +1 -1
  118. package/dist/mjs/api/resources.js +3 -1
  119. package/dist/mjs/api/resources.js.map +1 -1
  120. package/dist/mjs/types/Enum/BalanceSheet.d.ts +14 -2
  121. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  122. package/dist/mjs/types/Enum/BalanceSheet.js +45 -13
  123. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  124. package/dist/mjs/types/Enum/BalanceSheetModule.d.ts +2 -0
  125. package/dist/mjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
  126. package/dist/mjs/types/Enum/BalanceSheetModule.js +22 -0
  127. package/dist/mjs/types/Enum/BalanceSheetModule.js.map +1 -1
  128. package/dist/mjs/types/Enum/DepositDocumentType.js +1 -1
  129. package/dist/mjs/types/Enum/DepositDocumentType.js.map +1 -1
  130. package/dist/mjs/types/Enum/Ged.d.ts +19 -4
  131. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  132. package/dist/mjs/types/Enum/Ged.js +142 -5
  133. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  134. package/dist/mjs/types/Enum/InformationRequestState.d.ts +6 -0
  135. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -0
  136. package/dist/mjs/types/Enum/InformationRequestState.js +7 -0
  137. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -0
  138. package/dist/mjs/types/Enum/InformationRequestType.d.ts +17 -0
  139. package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +1 -0
  140. package/dist/mjs/types/Enum/InformationRequestType.js +41 -0
  141. package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -0
  142. package/dist/mjs/types/Enum/LetterType.js +2 -2
  143. package/dist/mjs/types/Enum/LetterType.js.map +1 -1
  144. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  145. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  146. package/dist/mjs/types/Enum/ReasonTerminationType.js +6 -0
  147. package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
  148. package/dist/mjs/types/Enum/Revenue.d.ts +3 -1
  149. package/dist/mjs/types/Enum/Revenue.d.ts.map +1 -1
  150. package/dist/mjs/types/Enum/Revenue.js +2 -0
  151. package/dist/mjs/types/Enum/Revenue.js.map +1 -1
  152. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +1 -0
  153. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
  154. package/dist/mjs/types/Interface/api/documentRequest/Create.js +10 -1
  155. package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -1
  156. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +3 -0
  157. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  158. package/dist/mjs/types/Interface/api/documentRequest/Query.js +15 -1
  159. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  160. package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts +12 -0
  161. package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -0
  162. package/dist/mjs/types/Interface/api/documentRequest/Update.js +66 -0
  163. package/dist/mjs/types/Interface/api/documentRequest/Update.js.map +1 -0
  164. package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts +10 -0
  165. package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -0
  166. package/dist/mjs/types/Interface/api/informationRequest/Create.js +50 -0
  167. package/dist/mjs/types/Interface/api/informationRequest/Create.js.map +1 -0
  168. package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts +11 -0
  169. package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts.map +1 -0
  170. package/dist/mjs/types/Interface/api/informationRequest/Query.js +56 -0
  171. package/dist/mjs/types/Interface/api/informationRequest/Query.js.map +1 -0
  172. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +12 -0
  173. package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -0
  174. package/dist/mjs/types/Interface/api/informationRequest/Update.js +60 -0
  175. package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -0
  176. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +23 -0
  177. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
  178. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +57 -1
  179. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
  180. package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts +4 -0
  181. package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
  182. package/dist/mjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
  183. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +7 -1
  184. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
  185. package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -1
  186. package/dist/mjs/types/Interface/models/IInformationRequest.d.ts +25 -0
  187. package/dist/mjs/types/Interface/models/IInformationRequest.d.ts.map +1 -0
  188. package/dist/mjs/types/Interface/models/IInformationRequest.js +2 -0
  189. package/dist/mjs/types/Interface/models/IInformationRequest.js.map +1 -0
  190. package/dist/mjs/types/index.d.ts +7 -0
  191. package/dist/mjs/types/index.d.ts.map +1 -1
  192. package/dist/mjs/types/index.js +7 -0
  193. package/dist/mjs/types/index.js.map +1 -1
  194. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  195. package/dist/mjs/utils/checkup.js +3 -3
  196. package/dist/mjs/utils/checkup.js.map +1 -1
  197. package/dist/mjs/utils/exercice.d.ts +9 -0
  198. package/dist/mjs/utils/exercice.d.ts.map +1 -1
  199. package/dist/mjs/utils/exercice.js +13 -0
  200. package/dist/mjs/utils/exercice.js.map +1 -1
  201. package/dist/mjs/utils/vat/3310/century23.js +19 -18
  202. package/dist/mjs/utils/vat/3310/century23.js.map +1 -1
  203. package/dist/mjs/utils/vat/3310/century24.js +19 -18
  204. package/dist/mjs/utils/vat/3310/century24.js.map +1 -1
  205. package/dist/mjs/utils/vat/3310/century25.js +17 -16
  206. package/dist/mjs/utils/vat/3310/century25.js.map +1 -1
  207. package/package.json +1 -1
  208. package/ts/api/resources/DocumentRequest.ts +5 -1
  209. package/ts/api/resources/InformationRequest.ts +36 -0
  210. package/ts/api/resources/Revenue.ts +12 -0
  211. package/ts/api/resources.ts +3 -1
  212. package/ts/types/Enum/BalanceSheet.ts +59 -17
  213. package/ts/types/Enum/BalanceSheetModule.ts +24 -1
  214. package/ts/types/Enum/DepositDocumentType.ts +1 -1
  215. package/ts/types/Enum/Ged.ts +143 -5
  216. package/ts/types/Enum/InformationRequestState.ts +5 -0
  217. package/ts/types/Enum/InformationRequestType.ts +51 -0
  218. package/ts/types/Enum/LetterType.ts +2 -2
  219. package/ts/types/Enum/ReasonTerminationType.ts +6 -0
  220. package/ts/types/Enum/Revenue.ts +3 -0
  221. package/ts/types/Interface/api/documentRequest/Create.ts +8 -1
  222. package/ts/types/Interface/api/documentRequest/Query.ts +12 -1
  223. package/ts/types/Interface/api/documentRequest/Update.ts +43 -0
  224. package/ts/types/Interface/api/informationRequest/Create.ts +31 -0
  225. package/ts/types/Interface/api/informationRequest/Query.ts +36 -0
  226. package/ts/types/Interface/api/informationRequest/Update.ts +39 -0
  227. package/ts/types/Interface/api/revenue/revenueMovement.ts +61 -1
  228. package/ts/types/Interface/models/IBalanceSheetModule.ts +7 -1
  229. package/ts/types/Interface/models/IDocumentRequest.ts +8 -2
  230. package/ts/types/Interface/models/IInformationRequest.ts +27 -0
  231. package/ts/types/index.ts +7 -0
  232. package/ts/utils/checkup.ts +4 -4
  233. package/ts/utils/exercice.ts +14 -0
  234. package/ts/utils/vat/3310/century23.ts +16 -16
  235. package/ts/utils/vat/3310/century24.ts +18 -18
  236. package/ts/utils/vat/3310/century25.ts +19 -19
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InformationRequestTypeDetails = exports.InformationRequestType = void 0;
4
+ const Ged_1 = require("./Ged");
5
+ var InformationRequestType;
6
+ (function (InformationRequestType) {
7
+ InformationRequestType[InformationRequestType["CASH_BOOK"] = 1] = "CASH_BOOK";
8
+ InformationRequestType[InformationRequestType["STOCK_STATUS"] = 2] = "STOCK_STATUS";
9
+ InformationRequestType[InformationRequestType["SUPPLIER_DEBTS"] = 3] = "SUPPLIER_DEBTS";
10
+ InformationRequestType[InformationRequestType["CUSTOMER_RECEIVABLES"] = 4] = "CUSTOMER_RECEIVABLES";
11
+ InformationRequestType[InformationRequestType["Z_TICKETS"] = 5] = "Z_TICKETS";
12
+ InformationRequestType[InformationRequestType["KILOMETRIC_ALLOWANCES_SUMMARY"] = 6] = "KILOMETRIC_ALLOWANCES_SUMMARY";
13
+ })(InformationRequestType || (exports.InformationRequestType = InformationRequestType = {}));
14
+ exports.InformationRequestTypeDetails = {
15
+ [InformationRequestType.CASH_BOOK]: {
16
+ id: InformationRequestType.CASH_BOOK,
17
+ name: 'Livre de caisse',
18
+ typeFile: Ged_1.TypeFile.CAISSE,
19
+ },
20
+ [InformationRequestType.STOCK_STATUS]: {
21
+ id: InformationRequestType.STOCK_STATUS,
22
+ name: 'L\'état de vos stocks à la date de clôture',
23
+ },
24
+ [InformationRequestType.SUPPLIER_DEBTS]: {
25
+ id: InformationRequestType.SUPPLIER_DEBTS,
26
+ name: 'Vos dettes fournisseurs',
27
+ typeFile: Ged_1.TypeFile.SUPPLIER_DEBTS,
28
+ },
29
+ [InformationRequestType.CUSTOMER_RECEIVABLES]: {
30
+ id: InformationRequestType.CUSTOMER_RECEIVABLES,
31
+ name: 'Vos créances clients',
32
+ typeFile: Ged_1.TypeFile.CUSTOMER_RECEIVABLES,
33
+ },
34
+ [InformationRequestType.Z_TICKETS]: {
35
+ id: InformationRequestType.Z_TICKETS,
36
+ name: 'Vos ticket Z',
37
+ },
38
+ [InformationRequestType.KILOMETRIC_ALLOWANCES_SUMMARY]: {
39
+ id: InformationRequestType.KILOMETRIC_ALLOWANCES_SUMMARY,
40
+ name: 'Un récapitulatif de vos indemnités kilométriques',
41
+ typeFile: Ged_1.TypeFile.MILEAGE_ALLOWANCES_SUMMARY,
42
+ },
43
+ };
44
+ //# sourceMappingURL=InformationRequestType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InformationRequestType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/InformationRequestType.ts"],"names":[],"mappings":";;;AAAA,+BAAiC;AAEjC,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,6EAAa,CAAA;IACb,mFAAgB,CAAA;IAChB,uFAAkB,CAAA;IAClB,mGAAwB,CAAA;IACxB,6EAAa,CAAA;IACb,qHAAiC,CAAA;AACnC,CAAC,EAPW,sBAAsB,sCAAtB,sBAAsB,QAOjC;AASY,QAAA,6BAA6B,GAGtC;IACF,CAAC,sBAAsB,CAAC,SAAS,CAAC,EAAE;QAClC,EAAE,EAAE,sBAAsB,CAAC,SAAS;QACpC,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,cAAQ,CAAC,MAAM;KAC1B;IACD,CAAC,sBAAsB,CAAC,YAAY,CAAC,EAAE;QACrC,EAAE,EAAE,sBAAsB,CAAC,YAAY;QACvC,IAAI,EAAE,4CAA4C;KACnD;IACD,CAAC,sBAAsB,CAAC,cAAc,CAAC,EAAE;QACvC,EAAE,EAAE,sBAAsB,CAAC,cAAc;QACzC,IAAI,EAAE,yBAAyB;QAC/B,QAAQ,EAAE,cAAQ,CAAC,cAAc;KAClC;IACD,CAAC,sBAAsB,CAAC,oBAAoB,CAAC,EAAE;QAC7C,EAAE,EAAE,sBAAsB,CAAC,oBAAoB;QAC/C,IAAI,EAAE,sBAAsB;QAC5B,QAAQ,EAAE,cAAQ,CAAC,oBAAoB;KACxC;IACD,CAAC,sBAAsB,CAAC,SAAS,CAAC,EAAE;QAClC,EAAE,EAAE,sBAAsB,CAAC,SAAS;QACpC,IAAI,EAAE,cAAc;KACrB;IACD,CAAC,sBAAsB,CAAC,6BAA6B,CAAC,EAAE;QACtD,EAAE,EAAE,sBAAsB,CAAC,6BAA6B;QACxD,IAAI,EAAE,kDAAkD;QACxD,QAAQ,EAAE,cAAQ,CAAC,0BAA0B;KAC9C;CACF,CAAC","sourcesContent":["import { TypeFile } from './Ged';\n\nexport enum InformationRequestType {\n CASH_BOOK = 1,\n STOCK_STATUS = 2,\n SUPPLIER_DEBTS = 3,\n CUSTOMER_RECEIVABLES = 4,\n Z_TICKETS = 5,\n KILOMETRIC_ALLOWANCES_SUMMARY = 6,\n}\n\nexport interface InformationRequestTypeDetail {\n id: InformationRequestType;\n name: string;\n typeFile?: TypeFile; // For some information request, we ask for upload a document too\n helpText?: string;\n}\n\nexport const InformationRequestTypeDetails: Record<\n InformationRequestType,\n InformationRequestTypeDetail\n> = {\n [InformationRequestType.CASH_BOOK]: {\n id: InformationRequestType.CASH_BOOK,\n name: 'Livre de caisse',\n typeFile: TypeFile.CAISSE,\n },\n [InformationRequestType.STOCK_STATUS]: {\n id: InformationRequestType.STOCK_STATUS,\n name: 'L\\'état de vos stocks à la date de clôture',\n },\n [InformationRequestType.SUPPLIER_DEBTS]: {\n id: InformationRequestType.SUPPLIER_DEBTS,\n name: 'Vos dettes fournisseurs',\n typeFile: TypeFile.SUPPLIER_DEBTS,\n },\n [InformationRequestType.CUSTOMER_RECEIVABLES]: {\n id: InformationRequestType.CUSTOMER_RECEIVABLES,\n name: 'Vos créances clients',\n typeFile: TypeFile.CUSTOMER_RECEIVABLES,\n },\n [InformationRequestType.Z_TICKETS]: {\n id: InformationRequestType.Z_TICKETS,\n name: 'Vos ticket Z',\n },\n [InformationRequestType.KILOMETRIC_ALLOWANCES_SUMMARY]: {\n id: InformationRequestType.KILOMETRIC_ALLOWANCES_SUMMARY,\n name: 'Un récapitulatif de vos indemnités kilométriques',\n typeFile: TypeFile.MILEAGE_ALLOWANCES_SUMMARY,\n },\n};"]}
@@ -8,7 +8,7 @@ exports.LetterType = {
8
8
  },
9
9
  SATISFIED_OR_REFUNDED: {
10
10
  id: 2,
11
- name: 'Satisfait ou remboursé',
11
+ name: 'Rétractation',
12
12
  },
13
13
  DOCUMENT: {
14
14
  id: 3,
@@ -28,7 +28,7 @@ exports.LetterType = {
28
28
  },
29
29
  ORDER_LETTER: {
30
30
  id: 7,
31
- name: 'Lettre à l\'Ordre',
31
+ name: "Lettre à l'Ordre",
32
32
  },
33
33
  CLAIM: {
34
34
  id: 8,
@@ -1 +1 @@
1
- {"version":3,"file":"LetterType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/LetterType.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,WAAW,EAAE;QACX,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,aAAa;KACpB;IACD,qBAAqB,EAAE;QACrB,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,wBAAwB;KAC/B;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,WAAW;KAClB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,QAAQ;KACf;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,WAAW;KAClB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,oBAAoB;KAC3B;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,mBAAmB;KAC1B;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,aAAa;KACpB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,OAAO;KACd;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,wBAAwB;KAC/B;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,gBAAgB;KACvB;IACD,6BAA6B,EAAE;QAC7B,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,wBAAwB;KAC/B;CACF,CAAC","sourcesContent":["export const LetterType = {\n TERMINATION: {\n id: 1,\n name: 'Résiliation',\n },\n SATISFIED_OR_REFUNDED: {\n id: 2,\n name: 'Satisfait ou remboursé',\n },\n DOCUMENT: {\n id: 3,\n name: 'Documents',\n },\n CHEQUE: {\n id: 4,\n name: 'Chèque',\n },\n CANCELLATION: {\n id: 5,\n name: 'Radiation',\n },\n RECOVERY: {\n id: 6,\n name: 'Demande de reprise',\n },\n ORDER_LETTER: {\n id: 7,\n name: 'Lettre à l\\'Ordre',\n },\n CLAIM: {\n id: 8,\n name: 'Réclamation',\n },\n OTHER: {\n id: 9,\n name: 'Autre',\n },\n RECOVERY_RESPONSE: {\n id: 10,\n name: 'Rép. lettre de reprise',\n },\n NO_RESPONSE: {\n id: 11,\n name: 'Pas de réponse',\n },\n BALANCESHEET_WITH_OBSERVATION: {\n id: 12,\n name: 'Bilan avec observation',\n },\n};\n"]}
1
+ {"version":3,"file":"LetterType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/LetterType.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,WAAW,EAAE;QACX,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,aAAa;KACpB;IACD,qBAAqB,EAAE;QACrB,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,cAAc;KACrB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,WAAW;KAClB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,QAAQ;KACf;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,WAAW;KAClB;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,oBAAoB;KAC3B;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,kBAAkB;KACzB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,aAAa;KACpB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,OAAO;KACd;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,wBAAwB;KAC/B;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,gBAAgB;KACvB;IACD,6BAA6B,EAAE;QAC7B,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,wBAAwB;KAC/B;CACF,CAAC","sourcesContent":["export const LetterType = {\n TERMINATION: {\n id: 1,\n name: 'Résiliation',\n },\n SATISFIED_OR_REFUNDED: {\n id: 2,\n name: 'Rétractation',\n },\n DOCUMENT: {\n id: 3,\n name: 'Documents',\n },\n CHEQUE: {\n id: 4,\n name: 'Chèque',\n },\n CANCELLATION: {\n id: 5,\n name: 'Radiation',\n },\n RECOVERY: {\n id: 6,\n name: 'Demande de reprise',\n },\n ORDER_LETTER: {\n id: 7,\n name: \"Lettre à l'Ordre\",\n },\n CLAIM: {\n id: 8,\n name: 'Réclamation',\n },\n OTHER: {\n id: 9,\n name: 'Autre',\n },\n RECOVERY_RESPONSE: {\n id: 10,\n name: 'Rép. lettre de reprise',\n },\n NO_RESPONSE: {\n id: 11,\n name: 'Pas de réponse',\n },\n BALANCESHEET_WITH_OBSERVATION: {\n id: 12,\n name: 'Bilan avec observation',\n },\n};\n"]}
@@ -26,7 +26,8 @@ export declare enum ReasonTerminationType {
26
26
  LAB_REFUSED = 25,
27
27
  CHANGES_NEW_OFFERS = 26,
28
28
  REJECTION_OF_THE_AMENDMENT = 27,
29
- CLEANING = 28
29
+ CLEANING = 28,//Demandée par Morgane pour supprimer des sociétés qui n'ont pas lieu d'exister
30
+ CANCELLATION = 29
30
31
  }
31
32
  export declare const ReasonTerminationTypeDetail: {
32
33
  id: ReasonTerminationType;
@@ -1 +1 @@
1
- {"version":3,"file":"ReasonTerminationType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReasonTerminationType.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,WAAW,IAAI;IACf,KAAK,IAAI;IACT,gBAAgB,IAAI;IACpB,iBAAiB,IAAI;IACrB,UAAU,IAAI;IACd,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,4BAA4B,KAAK;IACjC,SAAS,KAAK;IACd,aAAa,KAAK;IAClB,WAAW,KAAK;IAChB,YAAY,KAAK;IACjB,MAAM,KAAK;IACX,kBAAkB,KAAK;IACvB,sBAAsB,KAAK;IAC3B,YAAY,KAAK;IACjB,cAAc,KAAK;IACnB,cAAc,KAAK;IACnB,EAAE,KAAK;IACP,qBAAqB,KAAK;IAC1B,kCAAkC,KAAK;IACvC,mBAAmB,KAAK;IACxB,WAAW,KAAK;IAChB,kBAAkB,KAAK;IACvB,0BAA0B,KAAK;IAC/B,QAAQ,KAAK;CACd;AAED,eAAO,MAAM,2BAA2B;;;;GA6IvC,CAAC"}
1
+ {"version":3,"file":"ReasonTerminationType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReasonTerminationType.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,WAAW,IAAI;IACf,KAAK,IAAI;IACT,gBAAgB,IAAI;IACpB,iBAAiB,IAAI;IACrB,UAAU,IAAI;IACd,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,4BAA4B,KAAK;IACjC,SAAS,KAAK;IACd,aAAa,KAAK;IAClB,WAAW,KAAK;IAChB,YAAY,KAAK;IACjB,MAAM,KAAK;IACX,kBAAkB,KAAK;IACvB,sBAAsB,KAAK;IAC3B,YAAY,KAAK;IACjB,cAAc,KAAK;IACnB,cAAc,KAAK;IACnB,EAAE,KAAK;IACP,qBAAqB,KAAK;IAC1B,kCAAkC,KAAK;IACvC,mBAAmB,KAAK;IACxB,WAAW,KAAK;IAChB,kBAAkB,KAAK;IACvB,0BAA0B,KAAK;IAC/B,QAAQ,KAAK,CAAE,+EAA+E;IAC9F,YAAY,KAAK;CAClB;AAED,eAAO,MAAM,2BAA2B;;;;GAkJvC,CAAC"}
@@ -31,6 +31,7 @@ var ReasonTerminationType;
31
31
  ReasonTerminationType[ReasonTerminationType["CHANGES_NEW_OFFERS"] = 26] = "CHANGES_NEW_OFFERS";
32
32
  ReasonTerminationType[ReasonTerminationType["REJECTION_OF_THE_AMENDMENT"] = 27] = "REJECTION_OF_THE_AMENDMENT";
33
33
  ReasonTerminationType[ReasonTerminationType["CLEANING"] = 28] = "CLEANING";
34
+ ReasonTerminationType[ReasonTerminationType["CANCELLATION"] = 29] = "CANCELLATION";
34
35
  })(ReasonTerminationType || (exports.ReasonTerminationType = ReasonTerminationType = {}));
35
36
  exports.ReasonTerminationTypeDetail = [
36
37
  {
@@ -173,5 +174,10 @@ exports.ReasonTerminationTypeDetail = [
173
174
  label: 'Nettoyage Clementinier',
174
175
  active: true,
175
176
  },
177
+ {
178
+ id: ReasonTerminationType.CANCELLATION,
179
+ label: 'Radiation',
180
+ active: true,
181
+ },
176
182
  ];
177
183
  //# sourceMappingURL=ReasonTerminationType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReasonTerminationType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReasonTerminationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBA6BX;AA7BD,WAAY,qBAAqB;IAC/B,+EAAe,CAAA;IACf,mEAAS,CAAA;IACT,yFAAoB,CAAA;IACpB,2FAAqB,CAAA;IACrB,6EAAc,CAAA;IACd,iEAAQ,CAAA;IACR,yEAAY,CAAA;IACZ,uEAAW,CAAA;IACX,yEAAY,CAAA;IACZ,kHAAiC,CAAA;IACjC,4EAAc,CAAA;IACd,oFAAkB,CAAA;IAClB,gFAAgB,CAAA;IAChB,kFAAiB,CAAA;IACjB,sEAAW,CAAA;IACX,8FAAuB,CAAA;IACvB,sGAA2B,CAAA;IAC3B,kFAAiB,CAAA;IACjB,sFAAmB,CAAA;IACnB,sFAAmB,CAAA;IACnB,8DAAO,CAAA;IACP,oGAA0B,CAAA;IAC1B,8HAAuC,CAAA;IACvC,gGAAwB,CAAA;IACxB,gFAAgB,CAAA;IAChB,8FAAuB,CAAA;IACvB,8GAA+B,CAAA;IAC/B,0EAAa,CAAA;AACf,CAAC,EA7BW,qBAAqB,qCAArB,qBAAqB,QA6BhC;AAEY,QAAA,2BAA2B,GAAG;IACzC;QACE,EAAE,EAAE,qBAAqB,CAAC,WAAW;QACrC,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,KAAK;KACd;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,KAAK;QAC/B,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,gBAAgB;QAC1C,KAAK,EAAE,wBAAwB;QAC/B,MAAM,EAAE,KAAK;KACd;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,iBAAiB;QAC3C,KAAK,EAAE,yBAAyB;QAChC,MAAM,EAAE,KAAK;KACd;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,UAAU;QACpC,KAAK,EAAE,UAAU;QACjB,MAAM,EAAE,KAAK;KACd;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,IAAI;QAC9B,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,KAAK;KACd;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,QAAQ;QAClC,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,KAAK;KACd;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,OAAO;QACjC,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,QAAQ;QAClC,KAAK,EAAE,UAAU;QACjB,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,4BAA4B;QACtD,KAAK,EAAE,yBAAyB;QAChC,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,SAAS;QACnC,KAAK,EAAE,WAAW;QAClB,MAAM,EAAE,KAAK;KACd;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,aAAa;QACvC,KAAK,EAAE,cAAc;QACrB,MAAM,EAAE,KAAK;KACd;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,WAAW;QACrC,KAAK,EAAE,qCAAqC;QAC5C,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,YAAY;QACtC,KAAK,EAAE,yBAAyB;QAChC,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,MAAM;QAChC,KAAK,EAAE,6BAA6B;QACpC,MAAM,EAAE,KAAK;KACd;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,kBAAkB;QAC5C,KAAK,EAAE,sBAAsB;QAC7B,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,sBAAsB;QAChD,KAAK,EAAE,2BAA2B;QAClC,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,YAAY;QACtC,KAAK,EAAE,2DAA2D;QAClE,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,cAAc;QACxC,KAAK,EAAE,qBAAqB;QAC5B,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,cAAc;QACxC,KAAK,EAAE,mBAAmB;QAC1B,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,qBAAqB;QAC/C,KAAK,EAAE,yBAAyB;QAChC,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,EAAE;QAC5B,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,kCAAkC;QAC5D,KAAK,EAAE,mCAAmC;QAC1C,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,mBAAmB;QAC7C,KAAK,EAAE,uBAAuB;QAC9B,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,WAAW;QACrC,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,kBAAkB;QAC5C,KAAK,EAAE,kCAAkC;QACzC,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,0BAA0B;QACpD,KAAK,EAAE,oBAAoB;QAC3B,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,QAAQ;QAClC,KAAK,EAAE,wBAAwB;QAC/B,MAAM,EAAE,IAAI;KACb;CACF,CAAC","sourcesContent":["export enum ReasonTerminationType {\n LIQUIDATION = 1,\n PRICE = 2,\n CHANGE_EC_ONLINE = 3,\n CHANGE_EC_CLASSIC = 4,\n RETIREMENT = 5,\n SELL = 6,\n CONFLICT = 7,\n UNPAYED = 8,\n SOFTWARE = 9,\n RESIGNATION_FROM_THE_MISSION = 10,\n MAIL_LRAR = 11,\n NON_COMPLIANT = 12,\n NO_RESPONSE = 13,\n DISCONTINUED = 14,\n UPDATE = 15,\n ACTIVITY_CESSATION = 16,\n INADEQUATE_FUNCTIONING = 17,\n BRAND_CHANGE = 18,\n SERVICE_DELAYS = 19,\n LACK_OF_ADVICE = 20,\n NA = 21,\n LACK_OF_COMMUNICATION = 22,\n NO_NEED_FOR_A_CERTIFIED_ACCOUNTANT = 23,\n ERROR_ON_PRESTATION = 24,\n LAB_REFUSED = 25,\n CHANGES_NEW_OFFERS = 26,\n REJECTION_OF_THE_AMENDMENT = 27,\n CLEANING = 28, //Demandée par Morgane pour supprimer des sociétés qui n'ont pas lieu d'exister\n}\n\nexport const ReasonTerminationTypeDetail = [\n {\n id: ReasonTerminationType.LIQUIDATION,\n label: 'Liquidation',\n active: false,\n },\n {\n id: ReasonTerminationType.PRICE,\n label: 'Prix',\n active: true,\n },\n {\n id: ReasonTerminationType.CHANGE_EC_ONLINE,\n label: 'Changement EC en ligne',\n active: false,\n },\n {\n id: ReasonTerminationType.CHANGE_EC_CLASSIC,\n label: 'Changement EC classique',\n active: false,\n },\n {\n id: ReasonTerminationType.RETIREMENT,\n label: 'Retraite',\n active: false,\n },\n {\n id: ReasonTerminationType.SELL,\n label: 'Vente',\n active: false,\n },\n {\n id: ReasonTerminationType.CONFLICT,\n label: 'Conflit',\n active: false,\n },\n {\n id: ReasonTerminationType.UNPAYED,\n label: 'Impayé',\n active: true,\n },\n {\n id: ReasonTerminationType.SOFTWARE,\n label: 'Logiciel',\n active: true,\n },\n {\n id: ReasonTerminationType.RESIGNATION_FROM_THE_MISSION,\n label: 'Démission de la mission',\n active: true,\n },\n {\n id: ReasonTerminationType.MAIL_LRAR,\n label: 'Mail/LRAR',\n active: false,\n },\n {\n id: ReasonTerminationType.NON_COMPLIANT,\n label: 'Non conforme',\n active: false,\n },\n {\n id: ReasonTerminationType.NO_RESPONSE,\n label: 'Pas de réponse au premier entretien',\n active: true,\n },\n {\n id: ReasonTerminationType.DISCONTINUED,\n label: 'Abandon de constitution',\n active: true,\n },\n {\n id: ReasonTerminationType.UPDATE,\n label: 'Mise à jour du clémentinier',\n active: false,\n },\n {\n id: ReasonTerminationType.ACTIVITY_CESSATION,\n label: \"Cessation d'activité\",\n active: true,\n },\n {\n id: ReasonTerminationType.INADEQUATE_FUNCTIONING,\n label: 'Fonctionnement non adapté',\n active: true,\n },\n {\n id: ReasonTerminationType.BRAND_CHANGE,\n label: 'Changement de marque (Clementine, Pourcentage, Comptalib)',\n active: true,\n },\n {\n id: ReasonTerminationType.SERVICE_DELAYS,\n label: 'Retards prestations',\n active: true,\n },\n {\n id: ReasonTerminationType.LACK_OF_ADVICE,\n label: 'Manque de conseil',\n active: true,\n },\n {\n id: ReasonTerminationType.LACK_OF_COMMUNICATION,\n label: 'Manque de communication',\n active: true,\n },\n {\n id: ReasonTerminationType.NA,\n label: 'Non précisé',\n active: true,\n },\n {\n id: ReasonTerminationType.NO_NEED_FOR_A_CERTIFIED_ACCOUNTANT,\n label: \"Plus besoin d'un expert-comptable\",\n active: true,\n },\n {\n id: ReasonTerminationType.ERROR_ON_PRESTATION,\n label: 'Erreur sur prestation',\n active: true,\n },\n {\n id: ReasonTerminationType.LAB_REFUSED,\n label: 'LAB refusée',\n active: true,\n },\n {\n id: ReasonTerminationType.CHANGES_NEW_OFFERS,\n label: 'Changement pour nouvelles offres',\n active: true,\n },\n {\n id: ReasonTerminationType.REJECTION_OF_THE_AMENDMENT,\n label: \"Refus de l'avenant\",\n active: true,\n },\n {\n id: ReasonTerminationType.CLEANING,\n label: 'Nettoyage Clementinier',\n active: true,\n },\n];\n"]}
1
+ {"version":3,"file":"ReasonTerminationType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReasonTerminationType.ts"],"names":[],"mappings":"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","sourcesContent":["export enum ReasonTerminationType {\n LIQUIDATION = 1,\n PRICE = 2,\n CHANGE_EC_ONLINE = 3,\n CHANGE_EC_CLASSIC = 4,\n RETIREMENT = 5,\n SELL = 6,\n CONFLICT = 7,\n UNPAYED = 8,\n SOFTWARE = 9,\n RESIGNATION_FROM_THE_MISSION = 10,\n MAIL_LRAR = 11,\n NON_COMPLIANT = 12,\n NO_RESPONSE = 13,\n DISCONTINUED = 14,\n UPDATE = 15,\n ACTIVITY_CESSATION = 16,\n INADEQUATE_FUNCTIONING = 17,\n BRAND_CHANGE = 18,\n SERVICE_DELAYS = 19,\n LACK_OF_ADVICE = 20,\n NA = 21,\n LACK_OF_COMMUNICATION = 22,\n NO_NEED_FOR_A_CERTIFIED_ACCOUNTANT = 23,\n ERROR_ON_PRESTATION = 24,\n LAB_REFUSED = 25,\n CHANGES_NEW_OFFERS = 26,\n REJECTION_OF_THE_AMENDMENT = 27,\n CLEANING = 28, //Demandée par Morgane pour supprimer des sociétés qui n'ont pas lieu d'exister\n CANCELLATION = 29,\n}\n\nexport const ReasonTerminationTypeDetail = [\n {\n id: ReasonTerminationType.LIQUIDATION,\n label: 'Liquidation',\n active: false,\n },\n {\n id: ReasonTerminationType.PRICE,\n label: 'Prix',\n active: true,\n },\n {\n id: ReasonTerminationType.CHANGE_EC_ONLINE,\n label: 'Changement EC en ligne',\n active: false,\n },\n {\n id: ReasonTerminationType.CHANGE_EC_CLASSIC,\n label: 'Changement EC classique',\n active: false,\n },\n {\n id: ReasonTerminationType.RETIREMENT,\n label: 'Retraite',\n active: false,\n },\n {\n id: ReasonTerminationType.SELL,\n label: 'Vente',\n active: false,\n },\n {\n id: ReasonTerminationType.CONFLICT,\n label: 'Conflit',\n active: false,\n },\n {\n id: ReasonTerminationType.UNPAYED,\n label: 'Impayé',\n active: true,\n },\n {\n id: ReasonTerminationType.SOFTWARE,\n label: 'Logiciel',\n active: true,\n },\n {\n id: ReasonTerminationType.RESIGNATION_FROM_THE_MISSION,\n label: 'Démission de la mission',\n active: true,\n },\n {\n id: ReasonTerminationType.MAIL_LRAR,\n label: 'Mail/LRAR',\n active: false,\n },\n {\n id: ReasonTerminationType.NON_COMPLIANT,\n label: 'Non conforme',\n active: false,\n },\n {\n id: ReasonTerminationType.NO_RESPONSE,\n label: 'Pas de réponse au premier entretien',\n active: true,\n },\n {\n id: ReasonTerminationType.DISCONTINUED,\n label: 'Abandon de constitution',\n active: true,\n },\n {\n id: ReasonTerminationType.UPDATE,\n label: 'Mise à jour du clémentinier',\n active: false,\n },\n {\n id: ReasonTerminationType.ACTIVITY_CESSATION,\n label: \"Cessation d'activité\",\n active: true,\n },\n {\n id: ReasonTerminationType.INADEQUATE_FUNCTIONING,\n label: 'Fonctionnement non adapté',\n active: true,\n },\n {\n id: ReasonTerminationType.BRAND_CHANGE,\n label: 'Changement de marque (Clementine, Pourcentage, Comptalib)',\n active: true,\n },\n {\n id: ReasonTerminationType.SERVICE_DELAYS,\n label: 'Retards prestations',\n active: true,\n },\n {\n id: ReasonTerminationType.LACK_OF_ADVICE,\n label: 'Manque de conseil',\n active: true,\n },\n {\n id: ReasonTerminationType.LACK_OF_COMMUNICATION,\n label: 'Manque de communication',\n active: true,\n },\n {\n id: ReasonTerminationType.NA,\n label: 'Non précisé',\n active: true,\n },\n {\n id: ReasonTerminationType.NO_NEED_FOR_A_CERTIFIED_ACCOUNTANT,\n label: \"Plus besoin d'un expert-comptable\",\n active: true,\n },\n {\n id: ReasonTerminationType.ERROR_ON_PRESTATION,\n label: 'Erreur sur prestation',\n active: true,\n },\n {\n id: ReasonTerminationType.LAB_REFUSED,\n label: 'LAB refusée',\n active: true,\n },\n {\n id: ReasonTerminationType.CHANGES_NEW_OFFERS,\n label: 'Changement pour nouvelles offres',\n active: true,\n },\n {\n id: ReasonTerminationType.REJECTION_OF_THE_AMENDMENT,\n label: \"Refus de l'avenant\",\n active: true,\n },\n {\n id: ReasonTerminationType.CLEANING,\n label: 'Nettoyage Clementinier',\n active: true,\n },\n {\n id: ReasonTerminationType.CANCELLATION,\n label: 'Radiation',\n active: true,\n },\n];\n"]}
@@ -15,7 +15,9 @@ export declare enum RevenueMovementType {
15
15
  /** Downgrade (réduction de prestation) */
16
16
  DOWNGRADE = 6,
17
17
  /** Reactivation (client qui revient) */
18
- REACTIVATION = 7
18
+ REACTIVATION = 7,
19
+ /** PCA - Produit Constaté d'Avance (revenu différé spécifique) */
20
+ PCA = 8
19
21
  }
20
22
  /**
21
23
  * Récupère le nom de l'enum à partir de sa valeur
@@ -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;;;;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
+ {"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;IAEhB,kEAAkE;IAClE,GAAG,IAAI;CACR;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"}
@@ -21,6 +21,8 @@ var RevenueMovementType;
21
21
  RevenueMovementType[RevenueMovementType["DOWNGRADE"] = 6] = "DOWNGRADE";
22
22
  /** Reactivation (client qui revient) */
23
23
  RevenueMovementType[RevenueMovementType["REACTIVATION"] = 7] = "REACTIVATION";
24
+ /** PCA - Produit Constaté d'Avance (revenu différé spécifique) */
25
+ RevenueMovementType[RevenueMovementType["PCA"] = 8] = "PCA";
24
26
  })(RevenueMovementType || (exports.RevenueMovementType = RevenueMovementType = {}));
25
27
  /**
26
28
  * Récupère le nom de l'enum à partir de sa valeur
@@ -1 +1 @@
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"]}
1
+ {"version":3,"file":"Revenue.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Revenue.ts"],"names":[],"mappings":";;;AAkCA,gEAEC;AApCD;;GAEG;AACH,IAAY,mBAwBX;AAxBD,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;IAEhB,kEAAkE;IAClE,2DAAO,CAAA;AACT,CAAC,EAxBW,mBAAmB,mCAAnB,mBAAmB,QAwB9B;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 /** PCA - Produit Constaté d'Avance (revenu différé spécifique) */\n PCA = 8,\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"]}
@@ -6,5 +6,6 @@ export declare class CreateDocumentRequest implements Omit<IDocumentRequest, 'id
6
6
  idExercice?: number;
7
7
  idBalanceSheet?: number;
8
8
  comment?: string;
9
+ isMandatory?: boolean;
9
10
  }
10
11
  //# sourceMappingURL=Create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,qBAAa,qBAAsB,YAAW,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,CAAC;IAG1F,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,qBAAa,qBAAsB,YAAW,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,CAAC;IAG1F,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -13,6 +13,7 @@ exports.CreateDocumentRequest = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const Ged_1 = require("../../../Enum/Ged");
16
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
17
  class CreateDocumentRequest {
17
18
  }
18
19
  exports.CreateDocumentRequest = CreateDocumentRequest;
@@ -43,4 +44,11 @@ __decorate([
43
44
  (0, class_validator_1.IsOptional)(),
44
45
  __metadata("design:type", String)
45
46
  ], CreateDocumentRequest.prototype, "comment", void 0);
47
+ __decorate([
48
+ (0, utils_1.ApiPropertyOptional)(),
49
+ (0, class_validator_1.IsOptional)(),
50
+ (0, class_validator_1.IsBoolean)(),
51
+ (0, boolean_transform_1.ToBoolean)(),
52
+ __metadata("design:type", Boolean)
53
+ ], CreateDocumentRequest.prototype, "isMandatory", void 0);
46
54
  //# sourceMappingURL=Create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4D;AAC5D,6CAAqE;AAErE,2CAA6C;AAE7C,MAAa,qBAAqB;CAsBjC;AAtBD,sDAsBC;AAnBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACU;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,cAAQ,CAAC;;uDACE;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACgB;AAIxB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACI","sourcesContent":["import { IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\n\nexport class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsEnum(TypeFile)\n typeFile: TypeFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n comment?: string;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,6CAAqE;AAErE,2CAA6C;AAC7C,sFAA2E;AAE3E,MAAa,qBAAqB;CA4BjC;AA5BD,sDA4BC;AAzBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACU;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,cAAQ,CAAC;;uDACE;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACgB;AAIxB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACI;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsEnum(TypeFile)\n typeFile: TypeFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}\n"]}
@@ -1,5 +1,8 @@
1
+ import { TypeFile } from '../../../Enum/Ged';
1
2
  export declare class QueryDocumentRequest {
2
3
  idExercice?: number;
3
4
  idBalanceSheet?: number;
5
+ idRequestedBy?: number;
6
+ typeFile?: TypeFile[];
4
7
  }
5
8
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,oBAAoB;IAI/B,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,qBAAa,oBAAoB;IAI/B,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB"}
@@ -27,4 +27,16 @@ __decorate([
27
27
  (0, class_validator_1.IsInt)(),
28
28
  __metadata("design:type", Number)
29
29
  ], QueryDocumentRequest.prototype, "idBalanceSheet", void 0);
30
+ __decorate([
31
+ (0, utils_1.ApiPropertyOptional)(),
32
+ (0, class_validator_1.IsOptional)(),
33
+ (0, class_validator_1.IsInt)(),
34
+ __metadata("design:type", Number)
35
+ ], QueryDocumentRequest.prototype, "idRequestedBy", void 0);
36
+ __decorate([
37
+ (0, utils_1.ApiPropertyOptional)(),
38
+ (0, class_validator_1.IsOptional)(),
39
+ (0, class_validator_1.IsArray)(),
40
+ __metadata("design:type", Array)
41
+ ], QueryDocumentRequest.prototype, "typeFile", void 0);
30
42
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AACpD,6CAAwD;AAExD,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACgB","sourcesContent":["import { IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryDocumentRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n}\n"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,6CAAwD;AAGxD,MAAa,oBAAoB;CAoBhC;AApBD,oDAoBC;AAhBC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACgB;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2DACe;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACY","sourcesContent":["import { IsArray, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { TypeFile } from '../../../Enum/Ged';\n\nexport class QueryDocumentRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRequestedBy?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n typeFile?: TypeFile[];\n}\n"]}
@@ -0,0 +1,12 @@
1
+ import { IDocumentRequest } from '../../models/IDocumentRequest';
2
+ import { TypeFile } from '../../../Enum/Ged';
3
+ export declare class UpdateDocumentRequest implements Partial<Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>> {
4
+ idSociety?: number;
5
+ typeFile?: TypeFile;
6
+ idExercice?: number;
7
+ idBalanceSheet?: number;
8
+ comment?: string;
9
+ isNotConcerned?: boolean;
10
+ isMandatory?: boolean;
11
+ }
12
+ //# sourceMappingURL=Update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,qBAAa,qBAAsB,YAAW,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,GAAG,gBAAgB,CAAC,CAAC;IAItH,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAKpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,cAAc,CAAC,EAAE,OAAO,CAAC;IAMzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -0,0 +1,63 @@
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.UpdateDocumentRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const utils_1 = require("../../../../utils");
15
+ const Ged_1 = require("../../../Enum/Ged");
16
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
17
+ class UpdateDocumentRequest {
18
+ }
19
+ exports.UpdateDocumentRequest = UpdateDocumentRequest;
20
+ __decorate([
21
+ (0, utils_1.ApiPropertyOptional)(),
22
+ (0, class_validator_1.IsOptional)(),
23
+ (0, class_validator_1.IsInt)(),
24
+ __metadata("design:type", Number)
25
+ ], UpdateDocumentRequest.prototype, "idSociety", void 0);
26
+ __decorate([
27
+ (0, utils_1.ApiPropertyOptional)(),
28
+ (0, class_validator_1.IsOptional)(),
29
+ (0, class_validator_1.IsEnum)(Ged_1.TypeFile),
30
+ __metadata("design:type", Number)
31
+ ], UpdateDocumentRequest.prototype, "typeFile", void 0);
32
+ __decorate([
33
+ (0, utils_1.ApiPropertyOptional)(),
34
+ (0, class_validator_1.IsOptional)(),
35
+ (0, class_validator_1.IsInt)(),
36
+ __metadata("design:type", Number)
37
+ ], UpdateDocumentRequest.prototype, "idExercice", void 0);
38
+ __decorate([
39
+ (0, utils_1.ApiPropertyOptional)(),
40
+ (0, class_validator_1.IsOptional)(),
41
+ (0, class_validator_1.IsInt)(),
42
+ __metadata("design:type", Number)
43
+ ], UpdateDocumentRequest.prototype, "idBalanceSheet", void 0);
44
+ __decorate([
45
+ (0, utils_1.ApiPropertyOptional)(),
46
+ (0, class_validator_1.IsOptional)(),
47
+ __metadata("design:type", String)
48
+ ], UpdateDocumentRequest.prototype, "comment", void 0);
49
+ __decorate([
50
+ (0, utils_1.ApiPropertyOptional)(),
51
+ (0, class_validator_1.IsOptional)(),
52
+ (0, class_validator_1.IsBoolean)(),
53
+ (0, boolean_transform_1.ToBoolean)(),
54
+ __metadata("design:type", Boolean)
55
+ ], UpdateDocumentRequest.prototype, "isNotConcerned", void 0);
56
+ __decorate([
57
+ (0, utils_1.ApiPropertyOptional)(),
58
+ (0, class_validator_1.IsOptional)(),
59
+ (0, class_validator_1.IsBoolean)(),
60
+ (0, boolean_transform_1.ToBoolean)(),
61
+ __metadata("design:type", Boolean)
62
+ ], UpdateDocumentRequest.prototype, "isMandatory", void 0);
63
+ //# sourceMappingURL=Update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,6CAAwD;AAExD,2CAA6C;AAC7C,sFAA2E;AAE3E,MAAa,qBAAqB;CAoCjC;AApCD,sDAoCC;AAhCC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,cAAQ,CAAC;;uDACG;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACgB;AAIxB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACI;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACa;AAMzB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateDocumentRequest implements Partial<Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(TypeFile)\n typeFile?: TypeFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isNotConcerned?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}"]}
@@ -0,0 +1,10 @@
1
+ import { IInformationRequest } from '../../models/IInformationRequest';
2
+ import { InformationRequestType } from '../../../Enum/InformationRequestType';
3
+ export declare class CreateInformationRequest implements Omit<IInformationRequest, 'id' | 'idRequestedBy' | 'state'> {
4
+ idSociety: number;
5
+ idExercice?: number | null;
6
+ idBalanceSheet?: number | null;
7
+ type: InformationRequestType;
8
+ isMandatory?: boolean;
9
+ }
10
+ //# sourceMappingURL=Create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAG9E,qBAAa,wBAAyB,YAAW,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,eAAe,GAAG,OAAO,CAAC;IAG1G,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI/B,IAAI,EAAE,sBAAsB,CAAC;IAM7B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -0,0 +1,49 @@
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.CreateInformationRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const utils_1 = require("../../../../utils");
15
+ const InformationRequestType_1 = require("../../../Enum/InformationRequestType");
16
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
17
+ class CreateInformationRequest {
18
+ }
19
+ exports.CreateInformationRequest = CreateInformationRequest;
20
+ __decorate([
21
+ (0, utils_1.ApiProperty)(),
22
+ (0, class_validator_1.IsInt)(),
23
+ __metadata("design:type", Number)
24
+ ], CreateInformationRequest.prototype, "idSociety", void 0);
25
+ __decorate([
26
+ (0, utils_1.ApiPropertyOptional)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsInt)(),
29
+ __metadata("design:type", Object)
30
+ ], CreateInformationRequest.prototype, "idExercice", void 0);
31
+ __decorate([
32
+ (0, utils_1.ApiPropertyOptional)(),
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsInt)(),
35
+ __metadata("design:type", Object)
36
+ ], CreateInformationRequest.prototype, "idBalanceSheet", void 0);
37
+ __decorate([
38
+ (0, utils_1.ApiProperty)(),
39
+ (0, class_validator_1.IsEnum)(InformationRequestType_1.InformationRequestType),
40
+ __metadata("design:type", Number)
41
+ ], CreateInformationRequest.prototype, "type", void 0);
42
+ __decorate([
43
+ (0, utils_1.ApiPropertyOptional)(),
44
+ (0, class_validator_1.IsOptional)(),
45
+ (0, class_validator_1.IsBoolean)(),
46
+ (0, boolean_transform_1.ToBoolean)(),
47
+ __metadata("design:type", Boolean)
48
+ ], CreateInformationRequest.prototype, "isMandatory", void 0);
49
+ //# sourceMappingURL=Create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,6CAAqE;AAErE,iFAA8E;AAC9E,sFAA2E;AAE3E,MAAa,wBAAwB;CAwBpC;AAxBD,4DAwBC;AArBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;2DACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACmB;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACuB;AAI/B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,+CAAsB,CAAC;;sDACF;AAM7B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IInformationRequest } from '../../models/IInformationRequest';\nimport { InformationRequestType } from '../../../Enum/InformationRequestType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateInformationRequest implements Omit<IInformationRequest, 'id' | 'idRequestedBy' | 'state'> {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number | null;\n\n @ApiProperty()\n @IsEnum(InformationRequestType)\n type: InformationRequestType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}\n"]}
@@ -0,0 +1,11 @@
1
+ import { InformationRequestType } from '../../../Enum/InformationRequestType';
2
+ import { InformationRequestState } from '../../../Enum/InformationRequestState';
3
+ export declare class QueryInformationRequest {
4
+ idSociety?: number;
5
+ idExercice?: number;
6
+ idBalanceSheet?: number;
7
+ idRequestedBy?: number;
8
+ type?: InformationRequestType[];
9
+ state?: InformationRequestState[];
10
+ }
11
+ //# sourceMappingURL=Query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,qBAAa,uBAAuB;IAIlC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,IAAI,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAKhC,KAAK,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACnC"}
@@ -0,0 +1,54 @@
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.QueryInformationRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const utils_1 = require("../../../../utils");
15
+ class QueryInformationRequest {
16
+ }
17
+ exports.QueryInformationRequest = QueryInformationRequest;
18
+ __decorate([
19
+ (0, utils_1.ApiPropertyOptional)(),
20
+ (0, class_validator_1.IsOptional)(),
21
+ (0, class_validator_1.IsInt)(),
22
+ __metadata("design:type", Number)
23
+ ], QueryInformationRequest.prototype, "idSociety", void 0);
24
+ __decorate([
25
+ (0, utils_1.ApiPropertyOptional)(),
26
+ (0, class_validator_1.IsOptional)(),
27
+ (0, class_validator_1.IsInt)(),
28
+ __metadata("design:type", Number)
29
+ ], QueryInformationRequest.prototype, "idExercice", void 0);
30
+ __decorate([
31
+ (0, utils_1.ApiPropertyOptional)(),
32
+ (0, class_validator_1.IsOptional)(),
33
+ (0, class_validator_1.IsInt)(),
34
+ __metadata("design:type", Number)
35
+ ], QueryInformationRequest.prototype, "idBalanceSheet", void 0);
36
+ __decorate([
37
+ (0, utils_1.ApiPropertyOptional)(),
38
+ (0, class_validator_1.IsOptional)(),
39
+ (0, class_validator_1.IsInt)(),
40
+ __metadata("design:type", Number)
41
+ ], QueryInformationRequest.prototype, "idRequestedBy", void 0);
42
+ __decorate([
43
+ (0, utils_1.ApiPropertyOptional)(),
44
+ (0, class_validator_1.IsOptional)(),
45
+ (0, class_validator_1.IsArray)(),
46
+ __metadata("design:type", Array)
47
+ ], QueryInformationRequest.prototype, "type", void 0);
48
+ __decorate([
49
+ (0, utils_1.ApiPropertyOptional)(),
50
+ (0, class_validator_1.IsOptional)(),
51
+ (0, class_validator_1.IsArray)(),
52
+ __metadata("design:type", Array)
53
+ ], QueryInformationRequest.prototype, "state", void 0);
54
+ //# sourceMappingURL=Query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,6CAAwD;AAIxD,MAAa,uBAAuB;CA8BnC;AA9BD,0DA8BC;AA1BC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0DACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2DACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+DACgB;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8DACe;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;qDACsB;AAKhC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACwB","sourcesContent":["import { IsArray, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { InformationRequestType } from '../../../Enum/InformationRequestType';\nimport { InformationRequestState } from '../../../Enum/InformationRequestState';\n\nexport class QueryInformationRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRequestedBy?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n type?: InformationRequestType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n state?: InformationRequestState[];\n}\n"]}
@@ -0,0 +1,12 @@
1
+ import { IInformationRequest } from '../../models/IInformationRequest';
2
+ import { InformationRequestType } from '../../../Enum/InformationRequestType';
3
+ import { InformationRequestState } from '../../../Enum/InformationRequestState';
4
+ export declare class UpdateInformationRequest implements Partial<Omit<IInformationRequest, 'id'>> {
5
+ idSociety?: number;
6
+ idExercice?: number;
7
+ idRequestedBy?: number;
8
+ type?: InformationRequestType;
9
+ state?: InformationRequestState;
10
+ isMandatory?: boolean;
11
+ }
12
+ //# sourceMappingURL=Update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAGhF,qBAAa,wBAAyB,YAAW,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;IAIvF,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,IAAI,CAAC,EAAE,sBAAsB,CAAC;IAK9B,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAMhC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -0,0 +1,58 @@
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.UpdateInformationRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const utils_1 = require("../../../../utils");
15
+ const InformationRequestType_1 = require("../../../Enum/InformationRequestType");
16
+ const InformationRequestState_1 = require("../../../Enum/InformationRequestState");
17
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
18
+ class UpdateInformationRequest {
19
+ }
20
+ exports.UpdateInformationRequest = UpdateInformationRequest;
21
+ __decorate([
22
+ (0, utils_1.ApiPropertyOptional)(),
23
+ (0, class_validator_1.IsOptional)(),
24
+ (0, class_validator_1.IsInt)(),
25
+ __metadata("design:type", Number)
26
+ ], UpdateInformationRequest.prototype, "idSociety", void 0);
27
+ __decorate([
28
+ (0, utils_1.ApiPropertyOptional)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ (0, class_validator_1.IsInt)(),
31
+ __metadata("design:type", Number)
32
+ ], UpdateInformationRequest.prototype, "idExercice", void 0);
33
+ __decorate([
34
+ (0, utils_1.ApiPropertyOptional)(),
35
+ (0, class_validator_1.IsOptional)(),
36
+ (0, class_validator_1.IsInt)(),
37
+ __metadata("design:type", Number)
38
+ ], UpdateInformationRequest.prototype, "idRequestedBy", void 0);
39
+ __decorate([
40
+ (0, utils_1.ApiPropertyOptional)(),
41
+ (0, class_validator_1.IsOptional)(),
42
+ (0, class_validator_1.IsEnum)(InformationRequestType_1.InformationRequestType),
43
+ __metadata("design:type", Number)
44
+ ], UpdateInformationRequest.prototype, "type", void 0);
45
+ __decorate([
46
+ (0, utils_1.ApiPropertyOptional)(),
47
+ (0, class_validator_1.IsOptional)(),
48
+ (0, class_validator_1.IsEnum)(InformationRequestState_1.InformationRequestState),
49
+ __metadata("design:type", Number)
50
+ ], UpdateInformationRequest.prototype, "state", void 0);
51
+ __decorate([
52
+ (0, utils_1.ApiPropertyOptional)(),
53
+ (0, class_validator_1.IsOptional)(),
54
+ (0, class_validator_1.IsBoolean)(),
55
+ (0, boolean_transform_1.ToBoolean)(),
56
+ __metadata("design:type", Boolean)
57
+ ], UpdateInformationRequest.prototype, "isMandatory", void 0);
58
+ //# sourceMappingURL=Update.js.map