@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,41 @@
1
+ import { TypeFile } from './Ged';
2
+ export var InformationRequestType;
3
+ (function (InformationRequestType) {
4
+ InformationRequestType[InformationRequestType["CASH_BOOK"] = 1] = "CASH_BOOK";
5
+ InformationRequestType[InformationRequestType["STOCK_STATUS"] = 2] = "STOCK_STATUS";
6
+ InformationRequestType[InformationRequestType["SUPPLIER_DEBTS"] = 3] = "SUPPLIER_DEBTS";
7
+ InformationRequestType[InformationRequestType["CUSTOMER_RECEIVABLES"] = 4] = "CUSTOMER_RECEIVABLES";
8
+ InformationRequestType[InformationRequestType["Z_TICKETS"] = 5] = "Z_TICKETS";
9
+ InformationRequestType[InformationRequestType["KILOMETRIC_ALLOWANCES_SUMMARY"] = 6] = "KILOMETRIC_ALLOWANCES_SUMMARY";
10
+ })(InformationRequestType || (InformationRequestType = {}));
11
+ export const InformationRequestTypeDetails = {
12
+ [InformationRequestType.CASH_BOOK]: {
13
+ id: InformationRequestType.CASH_BOOK,
14
+ name: 'Livre de caisse',
15
+ typeFile: TypeFile.CAISSE,
16
+ },
17
+ [InformationRequestType.STOCK_STATUS]: {
18
+ id: InformationRequestType.STOCK_STATUS,
19
+ name: 'L\'état de vos stocks à la date de clôture',
20
+ },
21
+ [InformationRequestType.SUPPLIER_DEBTS]: {
22
+ id: InformationRequestType.SUPPLIER_DEBTS,
23
+ name: 'Vos dettes fournisseurs',
24
+ typeFile: TypeFile.SUPPLIER_DEBTS,
25
+ },
26
+ [InformationRequestType.CUSTOMER_RECEIVABLES]: {
27
+ id: InformationRequestType.CUSTOMER_RECEIVABLES,
28
+ name: 'Vos créances clients',
29
+ typeFile: TypeFile.CUSTOMER_RECEIVABLES,
30
+ },
31
+ [InformationRequestType.Z_TICKETS]: {
32
+ id: InformationRequestType.Z_TICKETS,
33
+ name: 'Vos ticket Z',
34
+ },
35
+ [InformationRequestType.KILOMETRIC_ALLOWANCES_SUMMARY]: {
36
+ id: InformationRequestType.KILOMETRIC_ALLOWANCES_SUMMARY,
37
+ name: 'Un récapitulatif de vos indemnités kilométriques',
38
+ typeFile: TypeFile.MILEAGE_ALLOWANCES_SUMMARY,
39
+ },
40
+ };
41
+ //# sourceMappingURL=InformationRequestType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InformationRequestType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/InformationRequestType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,CAAN,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,KAAtB,sBAAsB,QAOjC;AASD,MAAM,CAAC,MAAM,6BAA6B,GAGtC;IACF,CAAC,sBAAsB,CAAC,SAAS,CAAC,EAAE;QAClC,EAAE,EAAE,sBAAsB,CAAC,SAAS;QACpC,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,QAAQ,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,QAAQ,CAAC,cAAc;KAClC;IACD,CAAC,sBAAsB,CAAC,oBAAoB,CAAC,EAAE;QAC7C,EAAE,EAAE,sBAAsB,CAAC,oBAAoB;QAC/C,IAAI,EAAE,sBAAsB;QAC5B,QAAQ,EAAE,QAAQ,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,QAAQ,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};"]}
@@ -5,7 +5,7 @@ export const LetterType = {
5
5
  },
6
6
  SATISFIED_OR_REFUNDED: {
7
7
  id: 2,
8
- name: 'Satisfait ou remboursé',
8
+ name: 'Rétractation',
9
9
  },
10
10
  DOCUMENT: {
11
11
  id: 3,
@@ -25,7 +25,7 @@ export const LetterType = {
25
25
  },
26
26
  ORDER_LETTER: {
27
27
  id: 7,
28
- name: 'Lettre à l\'Ordre',
28
+ name: "Lettre à l'Ordre",
29
29
  },
30
30
  CLAIM: {
31
31
  id: 8,
@@ -1 +1 @@
1
- {"version":3,"file":"LetterType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/LetterType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,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,MAAM,CAAC,MAAM,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"}
@@ -28,6 +28,7 @@ export var ReasonTerminationType;
28
28
  ReasonTerminationType[ReasonTerminationType["CHANGES_NEW_OFFERS"] = 26] = "CHANGES_NEW_OFFERS";
29
29
  ReasonTerminationType[ReasonTerminationType["REJECTION_OF_THE_AMENDMENT"] = 27] = "REJECTION_OF_THE_AMENDMENT";
30
30
  ReasonTerminationType[ReasonTerminationType["CLEANING"] = 28] = "CLEANING";
31
+ ReasonTerminationType[ReasonTerminationType["CANCELLATION"] = 29] = "CANCELLATION";
31
32
  })(ReasonTerminationType || (ReasonTerminationType = {}));
32
33
  export const ReasonTerminationTypeDetail = [
33
34
  {
@@ -170,5 +171,10 @@ export const ReasonTerminationTypeDetail = [
170
171
  label: 'Nettoyage Clementinier',
171
172
  active: true,
172
173
  },
174
+ {
175
+ id: ReasonTerminationType.CANCELLATION,
176
+ label: 'Radiation',
177
+ active: true,
178
+ },
173
179
  ];
174
180
  //# sourceMappingURL=ReasonTerminationType.js.map
@@ -1 +1 @@
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}\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":"AAAA,MAAM,CAAN,IAAY,qBA8BX;AA9BD,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;IACb,kFAAiB,CAAA;AACnB,CAAC,EA9BW,qBAAqB,KAArB,qBAAqB,QA8BhC;AAED,MAAM,CAAC,MAAM,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;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,YAAY;QACtC,KAAK,EAAE,WAAW;QAClB,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 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"}
@@ -17,6 +17,8 @@ export var RevenueMovementType;
17
17
  RevenueMovementType[RevenueMovementType["DOWNGRADE"] = 6] = "DOWNGRADE";
18
18
  /** Reactivation (client qui revient) */
19
19
  RevenueMovementType[RevenueMovementType["REACTIVATION"] = 7] = "REACTIVATION";
20
+ /** PCA - Produit Constaté d'Avance (revenu différé spécifique) */
21
+ RevenueMovementType[RevenueMovementType["PCA"] = 8] = "PCA";
20
22
  })(RevenueMovementType || (RevenueMovementType = {}));
21
23
  /**
22
24
  * 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":"AAAA;;GAEG;AACH,MAAM,CAAN,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,KAAnB,mBAAmB,QAqB9B;AAED;;;;GAIG;AACH,MAAM,UAAU,0BAA0B,CAAC,IAAkC;IAC3E,OAAO,mBAAmB,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC;AAChD,CAAC;AAED;;GAEG;AACH,MAAM,CAAN,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,KAArB,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":"AAAA;;GAEG;AACH,MAAM,CAAN,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,KAAnB,mBAAmB,QAwB9B;AAED;;;;GAIG;AACH,MAAM,UAAU,0BAA0B,CAAC,IAAkC;IAC3E,OAAO,mBAAmB,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC;AAChD,CAAC;AAED;;GAEG;AACH,MAAM,CAAN,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,KAArB,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"}
@@ -7,15 +7,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsEnum, IsInt, IsOptional } from 'class-validator';
10
+ import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  import { TypeFile } from '../../../Enum/Ged';
13
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
14
  export class CreateDocumentRequest {
14
15
  idSociety;
15
16
  typeFile;
16
17
  idExercice;
17
18
  idBalanceSheet;
18
19
  comment;
20
+ isMandatory;
19
21
  }
20
22
  __decorate([
21
23
  ApiProperty(),
@@ -44,4 +46,11 @@ __decorate([
44
46
  IsOptional(),
45
47
  __metadata("design:type", String)
46
48
  ], CreateDocumentRequest.prototype, "comment", void 0);
49
+ __decorate([
50
+ ApiPropertyOptional(),
51
+ IsOptional(),
52
+ IsBoolean(),
53
+ ToBoolean(),
54
+ __metadata("design:type", Boolean)
55
+ ], CreateDocumentRequest.prototype, "isMandatory", void 0);
47
56
  //# sourceMappingURL=Create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,MAAM,OAAO,qBAAqB;IAGhC,SAAS,CAAS;IAIlB,QAAQ,CAAW;IAKnB,UAAU,CAAU;IAKpB,cAAc,CAAU;IAIxB,OAAO,CAAU;CAClB;AAnBC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;wDACU;AAIlB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,QAAQ,CAAC;;uDACE;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;yDACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6DACgB;AAIxB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;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,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,qBAAqB;IAGhC,SAAS,CAAS;IAIlB,QAAQ,CAAW;IAKnB,UAAU,CAAU;IAKpB,cAAc,CAAU;IAIxB,OAAO,CAAU;IAMjB,WAAW,CAAW;CACvB;AAzBC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;wDACU;AAIlB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,QAAQ,CAAC;;uDACE;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;yDACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6DACgB;AAIxB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;sDACI;AAMjB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;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"}
@@ -7,11 +7,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsInt, IsOptional } from 'class-validator';
10
+ import { IsArray, IsInt, IsOptional } from 'class-validator';
11
11
  import { ApiPropertyOptional } from '../../../../utils';
12
12
  export class QueryDocumentRequest {
13
13
  idExercice;
14
14
  idBalanceSheet;
15
+ idRequestedBy;
16
+ typeFile;
15
17
  }
16
18
  __decorate([
17
19
  ApiPropertyOptional(),
@@ -25,4 +27,16 @@ __decorate([
25
27
  IsInt(),
26
28
  __metadata("design:type", Number)
27
29
  ], QueryDocumentRequest.prototype, "idBalanceSheet", void 0);
30
+ __decorate([
31
+ ApiPropertyOptional(),
32
+ IsOptional(),
33
+ IsInt(),
34
+ __metadata("design:type", Number)
35
+ ], QueryDocumentRequest.prototype, "idRequestedBy", void 0);
36
+ __decorate([
37
+ ApiPropertyOptional(),
38
+ IsOptional(),
39
+ IsArray(),
40
+ __metadata("design:type", Array)
41
+ ], QueryDocumentRequest.prototype, "typeFile", void 0);
28
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,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,oBAAoB;IAI/B,UAAU,CAAU;IAKpB,cAAc,CAAU;CACzB;AANC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;wDACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;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,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,OAAO,oBAAoB;IAI/B,UAAU,CAAU;IAKpB,cAAc,CAAU;IAKxB,aAAa,CAAU;IAKvB,QAAQ,CAAc;CACvB;AAhBC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;wDACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACgB;AAKxB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DACe;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;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,66 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ 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;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
11
+ import { ApiPropertyOptional } from '../../../../utils';
12
+ import { TypeFile } from '../../../Enum/Ged';
13
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
14
+ export class UpdateDocumentRequest {
15
+ idSociety;
16
+ typeFile;
17
+ idExercice;
18
+ idBalanceSheet;
19
+ comment;
20
+ isNotConcerned;
21
+ isMandatory;
22
+ }
23
+ __decorate([
24
+ ApiPropertyOptional(),
25
+ IsOptional(),
26
+ IsInt(),
27
+ __metadata("design:type", Number)
28
+ ], UpdateDocumentRequest.prototype, "idSociety", void 0);
29
+ __decorate([
30
+ ApiPropertyOptional(),
31
+ IsOptional(),
32
+ IsEnum(TypeFile),
33
+ __metadata("design:type", Number)
34
+ ], UpdateDocumentRequest.prototype, "typeFile", void 0);
35
+ __decorate([
36
+ ApiPropertyOptional(),
37
+ IsOptional(),
38
+ IsInt(),
39
+ __metadata("design:type", Number)
40
+ ], UpdateDocumentRequest.prototype, "idExercice", void 0);
41
+ __decorate([
42
+ ApiPropertyOptional(),
43
+ IsOptional(),
44
+ IsInt(),
45
+ __metadata("design:type", Number)
46
+ ], UpdateDocumentRequest.prototype, "idBalanceSheet", void 0);
47
+ __decorate([
48
+ ApiPropertyOptional(),
49
+ IsOptional(),
50
+ __metadata("design:type", String)
51
+ ], UpdateDocumentRequest.prototype, "comment", void 0);
52
+ __decorate([
53
+ ApiPropertyOptional(),
54
+ IsOptional(),
55
+ IsBoolean(),
56
+ ToBoolean(),
57
+ __metadata("design:type", Boolean)
58
+ ], UpdateDocumentRequest.prototype, "isNotConcerned", void 0);
59
+ __decorate([
60
+ ApiPropertyOptional(),
61
+ IsOptional(),
62
+ IsBoolean(),
63
+ ToBoolean(),
64
+ __metadata("design:type", Boolean)
65
+ ], UpdateDocumentRequest.prototype, "isMandatory", void 0);
66
+ //# 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,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,qBAAqB;IAIhC,SAAS,CAAU;IAKnB,QAAQ,CAAY;IAKpB,UAAU,CAAU;IAKpB,cAAc,CAAU;IAIxB,OAAO,CAAU;IAMjB,cAAc,CAAW;IAMzB,WAAW,CAAW;CACvB;AAhCC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;wDACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,QAAQ,CAAC;;uDACG;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;yDACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6DACgB;AAIxB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;sDACI;AAMjB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;6DACa;AAMzB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;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,50 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ 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;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
+ import { InformationRequestType } from '../../../Enum/InformationRequestType';
13
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
14
+ export class CreateInformationRequest {
15
+ idSociety;
16
+ idExercice;
17
+ idBalanceSheet;
18
+ type;
19
+ isMandatory;
20
+ }
21
+ __decorate([
22
+ ApiProperty(),
23
+ IsInt(),
24
+ __metadata("design:type", Number)
25
+ ], CreateInformationRequest.prototype, "idSociety", void 0);
26
+ __decorate([
27
+ ApiPropertyOptional(),
28
+ IsOptional(),
29
+ IsInt(),
30
+ __metadata("design:type", Object)
31
+ ], CreateInformationRequest.prototype, "idExercice", void 0);
32
+ __decorate([
33
+ ApiPropertyOptional(),
34
+ IsOptional(),
35
+ IsInt(),
36
+ __metadata("design:type", Object)
37
+ ], CreateInformationRequest.prototype, "idBalanceSheet", void 0);
38
+ __decorate([
39
+ ApiProperty(),
40
+ IsEnum(InformationRequestType),
41
+ __metadata("design:type", Number)
42
+ ], CreateInformationRequest.prototype, "type", void 0);
43
+ __decorate([
44
+ ApiPropertyOptional(),
45
+ IsOptional(),
46
+ IsBoolean(),
47
+ ToBoolean(),
48
+ __metadata("design:type", Boolean)
49
+ ], CreateInformationRequest.prototype, "isMandatory", void 0);
50
+ //# 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,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,wBAAwB;IAGnC,SAAS,CAAS;IAKlB,UAAU,CAAiB;IAK3B,cAAc,CAAiB;IAI/B,IAAI,CAAyB;IAM7B,WAAW,CAAW;CACvB;AArBC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;2DACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACmB;AAK3B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;gEACuB;AAI/B;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,sBAAsB,CAAC;;sDACF;AAM7B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;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,56 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ 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;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsArray, IsInt, IsOptional } from 'class-validator';
11
+ import { ApiPropertyOptional } from '../../../../utils';
12
+ export class QueryInformationRequest {
13
+ idSociety;
14
+ idExercice;
15
+ idBalanceSheet;
16
+ idRequestedBy;
17
+ type;
18
+ state;
19
+ }
20
+ __decorate([
21
+ ApiPropertyOptional(),
22
+ IsOptional(),
23
+ IsInt(),
24
+ __metadata("design:type", Number)
25
+ ], QueryInformationRequest.prototype, "idSociety", void 0);
26
+ __decorate([
27
+ ApiPropertyOptional(),
28
+ IsOptional(),
29
+ IsInt(),
30
+ __metadata("design:type", Number)
31
+ ], QueryInformationRequest.prototype, "idExercice", void 0);
32
+ __decorate([
33
+ ApiPropertyOptional(),
34
+ IsOptional(),
35
+ IsInt(),
36
+ __metadata("design:type", Number)
37
+ ], QueryInformationRequest.prototype, "idBalanceSheet", void 0);
38
+ __decorate([
39
+ ApiPropertyOptional(),
40
+ IsOptional(),
41
+ IsInt(),
42
+ __metadata("design:type", Number)
43
+ ], QueryInformationRequest.prototype, "idRequestedBy", void 0);
44
+ __decorate([
45
+ ApiPropertyOptional(),
46
+ IsOptional(),
47
+ IsArray(),
48
+ __metadata("design:type", Array)
49
+ ], QueryInformationRequest.prototype, "type", void 0);
50
+ __decorate([
51
+ ApiPropertyOptional(),
52
+ IsOptional(),
53
+ IsArray(),
54
+ __metadata("design:type", Array)
55
+ ], QueryInformationRequest.prototype, "state", void 0);
56
+ //# 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,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAIxD,MAAM,OAAO,uBAAuB;IAIlC,SAAS,CAAU;IAKnB,UAAU,CAAU;IAKpB,cAAc,CAAU;IAKxB,aAAa,CAAU;IAKvB,IAAI,CAA4B;IAKhC,KAAK,CAA6B;CACnC;AA1BC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0DACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACgB;AAKxB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8DACe;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;qDACsB;AAKhC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;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"}