@silexpert/core 0.4.108 → 0.4.110

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 (284) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/es/api/resources/AccountingFiles.d.ts +6 -0
  3. package/es/api/resources/AccountingFiles.d.ts.map +1 -0
  4. package/es/api/resources/AccountingFiles.js +14 -0
  5. package/es/api/resources/AccountingFiles.js.map +1 -0
  6. package/es/api/resources/InternalInvoicing.d.ts +6 -0
  7. package/es/api/resources/InternalInvoicing.d.ts.map +1 -0
  8. package/es/api/resources/InternalInvoicing.js +7 -0
  9. package/es/api/resources/InternalInvoicing.js.map +1 -0
  10. package/es/api/resources/Journal.d.ts +7 -0
  11. package/es/api/resources/Journal.d.ts.map +1 -0
  12. package/es/api/resources/Journal.js +10 -0
  13. package/es/api/resources/Journal.js.map +1 -0
  14. package/es/api/resources/MealExpense.d.ts +33 -0
  15. package/es/api/resources/MealExpense.d.ts.map +1 -0
  16. package/es/api/resources/MealExpense.js +37 -0
  17. package/es/api/resources/MealExpense.js.map +1 -0
  18. package/es/api/resources/Product.d.ts +3 -0
  19. package/es/api/resources/Product.d.ts.map +1 -1
  20. package/es/api/resources/Product.js +10 -0
  21. package/es/api/resources/Product.js.map +1 -1
  22. package/es/api/resources/Registration.d.ts +6 -0
  23. package/es/api/resources/Registration.d.ts.map +1 -0
  24. package/es/api/resources/Registration.js +7 -0
  25. package/es/api/resources/Registration.js.map +1 -0
  26. package/es/api/resources.d.ts +8 -0
  27. package/es/api/resources.d.ts.map +1 -1
  28. package/es/api/resources.js +8 -0
  29. package/es/api/resources.js.map +1 -1
  30. package/es/types/Enum/AccountingFileType.d.ts +2 -1
  31. package/es/types/Enum/AccountingFileType.d.ts.map +1 -1
  32. package/es/types/Enum/AccountingFileType.js +1 -0
  33. package/es/types/Enum/AccountingFileType.js.map +1 -1
  34. package/es/types/Enum/CerfaType.d.ts +14 -14
  35. package/es/types/Enum/CerfaType.d.ts.map +1 -1
  36. package/es/types/Enum/CerfaType.js +15 -14
  37. package/es/types/Enum/CerfaType.js.map +1 -1
  38. package/es/types/Enum/Ged.d.ts +1 -0
  39. package/es/types/Enum/Ged.d.ts.map +1 -1
  40. package/es/types/Enum/Ged.js +1 -1
  41. package/es/types/Enum/Ged.js.map +1 -1
  42. package/es/types/Enum/GlobalRegime.js +61 -61
  43. package/es/types/Enum/GlobalRegime.js.map +1 -1
  44. package/es/types/Enum/MealExpenseTresholds.d.ts +8 -0
  45. package/es/types/Enum/MealExpenseTresholds.d.ts.map +1 -0
  46. package/es/types/Enum/MealExpenseTresholds.js +11 -0
  47. package/es/types/Enum/MealExpenseTresholds.js.map +1 -0
  48. package/es/types/Enum/MimeType.d.ts +24 -0
  49. package/es/types/Enum/MimeType.d.ts.map +1 -0
  50. package/es/types/Enum/MimeType.js +24 -0
  51. package/es/types/Enum/MimeType.js.map +1 -0
  52. package/es/types/Enum/PaymentMethod.d.ts +63 -0
  53. package/es/types/Enum/PaymentMethod.d.ts.map +1 -0
  54. package/es/types/Enum/PaymentMethod.js +63 -0
  55. package/es/types/Enum/PaymentMethod.js.map +1 -0
  56. package/es/types/Enum/ProductType.d.ts +6 -4
  57. package/es/types/Enum/ProductType.d.ts.map +1 -1
  58. package/es/types/Enum/ProductType.js +14 -6
  59. package/es/types/Enum/ProductType.js.map +1 -1
  60. package/es/types/Enum/Vat.d.ts +9 -0
  61. package/es/types/Enum/Vat.d.ts.map +1 -1
  62. package/es/types/Enum/Vat.js +9 -0
  63. package/es/types/Enum/Vat.js.map +1 -1
  64. package/es/types/Interface/api/accountingFiles/Ocr.d.ts +14 -0
  65. package/es/types/Interface/api/accountingFiles/Ocr.d.ts.map +1 -0
  66. package/es/types/Interface/api/accountingFiles/Ocr.js +2 -0
  67. package/es/types/Interface/api/accountingFiles/Ocr.js.map +1 -0
  68. package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts +15 -0
  69. package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts.map +1 -0
  70. package/es/types/Interface/api/accountingFiles/OcrPayload.js +2 -0
  71. package/es/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -0
  72. package/es/types/Interface/api/accountingFiles/OcrValue.d.ts +14 -0
  73. package/es/types/Interface/api/accountingFiles/OcrValue.d.ts.map +1 -0
  74. package/es/types/Interface/api/accountingFiles/OcrValue.js +2 -0
  75. package/es/types/Interface/api/accountingFiles/OcrValue.js.map +1 -0
  76. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +7 -0
  77. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -0
  78. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js +32 -0
  79. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -0
  80. package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.d.ts +7 -0
  81. package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.d.ts.map +1 -0
  82. package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js +3 -0
  83. package/es/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js.map +1 -0
  84. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts +1 -0
  85. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
  86. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +7 -0
  87. package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
  88. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts +1 -0
  89. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
  90. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +7 -0
  91. package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
  92. package/es/types/Interface/api/exercice/CreateExercice.d.ts +16 -0
  93. package/es/types/Interface/api/exercice/CreateExercice.d.ts.map +1 -0
  94. package/es/types/Interface/api/exercice/CreateExercice.js +101 -0
  95. package/es/types/Interface/api/exercice/CreateExercice.js.map +1 -0
  96. package/es/types/Interface/api/exercice/QueryExercice.d.ts +7 -0
  97. package/es/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -0
  98. package/es/types/Interface/api/exercice/QueryExercice.js +39 -0
  99. package/es/types/Interface/api/exercice/QueryExercice.js.map +1 -0
  100. package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts +5 -0
  101. package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts.map +1 -0
  102. package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js +21 -0
  103. package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -0
  104. package/es/types/Interface/api/journal/Journals.d.ts +44 -0
  105. package/es/types/Interface/api/journal/Journals.d.ts.map +1 -0
  106. package/es/types/Interface/api/journal/Journals.js +13 -0
  107. package/es/types/Interface/api/journal/Journals.js.map +1 -0
  108. package/es/types/Interface/api/journal/QueryJournal.d.ts +6 -0
  109. package/es/types/Interface/api/journal/QueryJournal.d.ts.map +1 -0
  110. package/es/types/Interface/api/journal/QueryJournal.js +28 -0
  111. package/es/types/Interface/api/journal/QueryJournal.js.map +1 -0
  112. package/es/types/Interface/api/mealExpense/CreateMealExpense.d.ts +4 -0
  113. package/es/types/Interface/api/mealExpense/CreateMealExpense.d.ts.map +1 -0
  114. package/es/types/Interface/api/mealExpense/CreateMealExpense.js +25 -0
  115. package/es/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -0
  116. package/es/types/Interface/api/mealExpense/ReadMealExpense.d.ts +8 -0
  117. package/es/types/Interface/api/mealExpense/ReadMealExpense.d.ts.map +1 -0
  118. package/es/types/Interface/api/mealExpense/ReadMealExpense.js +3 -0
  119. package/es/types/Interface/api/mealExpense/ReadMealExpense.js.map +1 -0
  120. package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
  121. package/es/types/Interface/api/product/CreateProduct.js +3 -2
  122. package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
  123. package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
  124. package/es/types/Interface/api/product/QueryProduct.js +4 -2
  125. package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
  126. package/es/types/Interface/api/registration/CreateRegistration.d.ts +6 -0
  127. package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -0
  128. package/es/types/Interface/api/registration/CreateRegistration.js +25 -0
  129. package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -0
  130. package/es/types/Interface/api/registration/ReadRegistration.d.ts +3 -0
  131. package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -0
  132. package/es/types/Interface/api/registration/ReadRegistration.js +2 -0
  133. package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -0
  134. package/es/types/Interface/models/IApiError.d.ts +2 -1
  135. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  136. package/es/types/Interface/models/IApiError.js +2 -0
  137. package/es/types/Interface/models/IApiError.js.map +1 -1
  138. package/es/types/Interface/models/IBalanceSheetModule.d.ts +1 -0
  139. package/es/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
  140. package/es/types/Interface/models/IBalanceSheetModule.js.map +1 -1
  141. package/es/types/Interface/models/IExercice.d.ts +8 -8
  142. package/es/types/Interface/models/IExercice.d.ts.map +1 -1
  143. package/es/types/Interface/models/IExercice.js.map +1 -1
  144. package/es/types/Interface/models/IGedFile.d.ts +10 -10
  145. package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
  146. package/es/types/Interface/models/IGedFile.js.map +1 -1
  147. package/es/types/Interface/models/IPayment.d.ts +19 -15
  148. package/es/types/Interface/models/IPayment.d.ts.map +1 -1
  149. package/es/types/Interface/models/IPayment.js.map +1 -1
  150. package/es/types/Interface/models/IRegistration.d.ts +21 -0
  151. package/es/types/Interface/models/IRegistration.d.ts.map +1 -0
  152. package/es/types/Interface/models/IRegistration.js +2 -0
  153. package/es/types/Interface/models/IRegistration.js.map +1 -0
  154. package/es/types/Interface/models/ISociety.d.ts +1 -0
  155. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  156. package/es/types/Interface/models/ISociety.js.map +1 -1
  157. package/es/types/index.d.ts +17 -0
  158. package/es/types/index.d.ts.map +1 -1
  159. package/es/types/index.js +17 -0
  160. package/es/types/index.js.map +1 -1
  161. package/es/utils/validators/formattedDateString.validator.d.ts +3 -0
  162. package/es/utils/validators/formattedDateString.validator.d.ts.map +1 -0
  163. package/es/utils/validators/formattedDateString.validator.js +19 -0
  164. package/es/utils/validators/formattedDateString.validator.js.map +1 -0
  165. package/js/api/resources/AccountingFiles.js +29 -0
  166. package/js/api/resources/AccountingFiles.js.map +1 -0
  167. package/js/api/resources/InternalInvoicing.js +18 -0
  168. package/js/api/resources/InternalInvoicing.js.map +1 -0
  169. package/js/api/resources/Journal.js +21 -0
  170. package/js/api/resources/Journal.js.map +1 -0
  171. package/js/api/resources/MealExpense.js +52 -0
  172. package/js/api/resources/MealExpense.js.map +1 -0
  173. package/js/api/resources/Product.js +12 -0
  174. package/js/api/resources/Product.js.map +1 -1
  175. package/js/api/resources/Registration.js +18 -0
  176. package/js/api/resources/Registration.js.map +1 -0
  177. package/js/api/resources.js +13 -1
  178. package/js/api/resources.js.map +1 -1
  179. package/js/types/Enum/AccountingFileType.js +1 -0
  180. package/js/types/Enum/AccountingFileType.js.map +1 -1
  181. package/js/types/Enum/CerfaType.js +16 -14
  182. package/js/types/Enum/CerfaType.js.map +1 -1
  183. package/js/types/Enum/Ged.js +2 -2
  184. package/js/types/Enum/Ged.js.map +1 -1
  185. package/js/types/Enum/GlobalRegime.js +61 -61
  186. package/js/types/Enum/GlobalRegime.js.map +1 -1
  187. package/js/types/Enum/MealExpenseTresholds.js +16 -0
  188. package/js/types/Enum/MealExpenseTresholds.js.map +1 -0
  189. package/js/types/Enum/MimeType.js +29 -0
  190. package/js/types/Enum/MimeType.js.map +1 -0
  191. package/js/types/Enum/PaymentMethod.js +68 -0
  192. package/js/types/Enum/PaymentMethod.js.map +1 -0
  193. package/js/types/Enum/ProductType.js +14 -7
  194. package/js/types/Enum/ProductType.js.map +1 -1
  195. package/js/types/Enum/Vat.js +18 -9
  196. package/js/types/Enum/Vat.js.map +1 -1
  197. package/js/types/Interface/api/accountingFiles/Ocr.js +6 -0
  198. package/js/types/Interface/api/accountingFiles/Ocr.js.map +1 -0
  199. package/js/types/Interface/api/accountingFiles/OcrPayload.js +6 -0
  200. package/js/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -0
  201. package/js/types/Interface/api/accountingFiles/OcrValue.js +6 -0
  202. package/js/types/Interface/api/accountingFiles/OcrValue.js.map +1 -0
  203. package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js +35 -0
  204. package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -0
  205. package/js/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js +10 -0
  206. package/js/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js.map +1 -0
  207. package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js +2 -0
  208. package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
  209. package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js +2 -0
  210. package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
  211. package/js/types/Interface/api/exercice/CreateExercice.js +55 -0
  212. package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -0
  213. package/js/types/Interface/api/exercice/QueryExercice.js +37 -0
  214. package/js/types/Interface/api/exercice/QueryExercice.js.map +1 -0
  215. package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js +29 -0
  216. package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -0
  217. package/js/types/Interface/api/journal/Journals.js +30 -0
  218. package/js/types/Interface/api/journal/Journals.js.map +1 -0
  219. package/js/types/Interface/api/journal/QueryJournal.js +33 -0
  220. package/js/types/Interface/api/journal/QueryJournal.js.map +1 -0
  221. package/js/types/Interface/api/mealExpense/CreateMealExpense.js +33 -0
  222. package/js/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -0
  223. package/js/types/Interface/api/mealExpense/ReadMealExpense.js +10 -0
  224. package/js/types/Interface/api/mealExpense/ReadMealExpense.js.map +1 -0
  225. package/js/types/Interface/api/product/CreateProduct.js +1 -1
  226. package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
  227. package/js/types/Interface/api/product/QueryProduct.js +3 -1
  228. package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
  229. package/js/types/Interface/api/registration/CreateRegistration.js +35 -0
  230. package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -0
  231. package/js/types/Interface/api/registration/ReadRegistration.js +6 -0
  232. package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -0
  233. package/js/types/Interface/models/IApiError.js +3 -1
  234. package/js/types/Interface/models/IApiError.js.map +1 -1
  235. package/js/types/Interface/models/IRegistration.js +6 -0
  236. package/js/types/Interface/models/IRegistration.js.map +1 -0
  237. package/js/types/index.js +204 -0
  238. package/js/types/index.js.map +1 -1
  239. package/js/utils/validators/formattedDateString.validator.js +29 -0
  240. package/js/utils/validators/formattedDateString.validator.js.map +1 -0
  241. package/package.json +1 -1
  242. package/ts/api/resources/AccountingFiles.ts +18 -0
  243. package/ts/api/resources/InternalInvoicing.ts +10 -0
  244. package/ts/api/resources/Journal.ts +11 -0
  245. package/ts/api/resources/MealExpense.ts +41 -0
  246. package/ts/api/resources/Product.ts +12 -0
  247. package/ts/api/resources/Registration.ts +8 -0
  248. package/ts/api/resources.ts +8 -0
  249. package/ts/types/Enum/AccountingFileType.ts +1 -0
  250. package/ts/types/Enum/CerfaType.ts +14 -14
  251. package/ts/types/Enum/Ged.ts +1 -1
  252. package/ts/types/Enum/GlobalRegime.ts +61 -61
  253. package/ts/types/Enum/MealExpenseTresholds.ts +17 -0
  254. package/ts/types/Enum/MimeType.ts +23 -0
  255. package/ts/types/Enum/PaymentMethod.ts +62 -0
  256. package/ts/types/Enum/ProductType.ts +21 -5
  257. package/ts/types/Enum/Vat.ts +9 -0
  258. package/ts/types/Interface/api/accountingFiles/Ocr.ts +13 -0
  259. package/ts/types/Interface/api/accountingFiles/OcrPayload.ts +15 -0
  260. package/ts/types/Interface/api/accountingFiles/OcrValue.ts +13 -0
  261. package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +18 -0
  262. package/ts/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.ts +6 -0
  263. package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +6 -0
  264. package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +6 -0
  265. package/ts/types/Interface/api/exercice/CreateExercice.ts +80 -0
  266. package/ts/types/Interface/api/exercice/QueryExercice.ts +25 -0
  267. package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing.ts +9 -0
  268. package/ts/types/Interface/api/journal/Journals.ts +48 -0
  269. package/ts/types/Interface/api/journal/QueryJournal.ts +15 -0
  270. package/ts/types/Interface/api/mealExpense/CreateMealExpense.ts +16 -0
  271. package/ts/types/Interface/api/mealExpense/ReadMealExpense.ts +8 -0
  272. package/ts/types/Interface/api/product/CreateProduct.ts +2 -2
  273. package/ts/types/Interface/api/product/QueryProduct.ts +6 -2
  274. package/ts/types/Interface/api/registration/CreateRegistration.ts +13 -0
  275. package/ts/types/Interface/api/registration/ReadRegistration.ts +3 -0
  276. package/ts/types/Interface/models/IApiError.ts +2 -0
  277. package/ts/types/Interface/models/IBalanceSheetModule.ts +1 -0
  278. package/ts/types/Interface/models/IExercice.ts +8 -8
  279. package/ts/types/Interface/models/IGedFile.ts +10 -10
  280. package/ts/types/Interface/models/IPayment.ts +19 -15
  281. package/ts/types/Interface/models/IRegistration.ts +23 -0
  282. package/ts/types/Interface/models/ISociety.ts +1 -0
  283. package/ts/types/index.ts +18 -1
  284. package/ts/utils/validators/formattedDateString.validator.ts +24 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,74 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.4.110](https://gitlab.compta-clementine.fr/dev/silex-api/compare/v0.4.109...v0.4.110) (2021-11-29)
6
+
7
+
8
+ ### Features
9
+
10
+ * **mealExpenses:** add meal expenses API point ([958173a](https://gitlab.compta-clementine.fr/dev/silex-api/commits/958173ad0fab70949209d87b2ee7a966c372fe91))
11
+ * **uploadAccountingFile:** Refacto la logique de dépôt de facture de la v1 sur la v2" ([582c2e3](https://gitlab.compta-clementine.fr/dev/silex-api/commits/582c2e38be52b87fbc4785580956b4b29185715a))
12
+ * **vatControl:** add journal filter on getVat in dashboard ([af5f4e8](https://gitlab.compta-clementine.fr/dev/silex-api/commits/af5f4e824cf83a6b0e98ced0a82ad580dd8178ab))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **payment:** remove useless idSociety in payment model ([6a26666](https://gitlab.compta-clementine.fr/dev/silex-api/commits/6a266665034e127dcc5f40f6b0e525adef43c917))
18
+ * **topBuy:** take accountType icone for accounts icones ([2b02975](https://gitlab.compta-clementine.fr/dev/silex-api/commits/2b029752404e7c349f9d525b18da75a9f5447c58))
19
+ * **transactions:** annotate transaction only with invoice number ([78335b1](https://gitlab.compta-clementine.fr/dev/silex-api/commits/78335b1bb7dbc038c9f7f99a0562675f5eb33844))
20
+
21
+
22
+ ### Others
23
+
24
+ * **exercice:** add controller ([baddbf5](https://gitlab.compta-clementine.fr/dev/silex-api/commits/baddbf599defd4a9b67e5aeffb0d01d700cf7c63))
25
+ * **exercice:** fix types for get all ([96cb18b](https://gitlab.compta-clementine.fr/dev/silex-api/commits/96cb18be40a38cf634e2ea356bc31ec453e4e859))
26
+
27
+ ### [0.4.109](https://gitlab.compta-clementine.fr/dev/silex-api/compare/v0.4.108...v0.4.109) (2021-11-23)
28
+
29
+
30
+ ### Features
31
+
32
+ * **journals:** add PDF export ([daa6b87](https://gitlab.compta-clementine.fr/dev/silex-api/commits/daa6b870257d34868add50565d0036ae2b69af06))
33
+ * **products:** add CSV import/export for products ([451ff84](https://gitlab.compta-clementine.fr/dev/silex-api/commits/451ff841b71c874495139422f84ef6aba8aa15bd))
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **journals:** put plural on balance sheets ([47c2e69](https://gitlab.compta-clementine.fr/dev/silex-api/commits/47c2e6921597b5dc43fdf64097532ce74b540d2a))
39
+ * add trackingservice for registration module ([9ed5b4f](https://gitlab.compta-clementine.fr/dev/silex-api/commits/9ed5b4f98594603888c3974111008596370a6a1e))
40
+ * **generalLedger:** fix content type and inserted data" ([975fad7](https://gitlab.compta-clementine.fr/dev/silex-api/commits/975fad74ae21d922e2c09e966a9777dcafab57f7))
41
+
42
+
43
+ ### Others
44
+
45
+ * **cms:** fix Prestashop order for import ([8702b04](https://gitlab.compta-clementine.fr/dev/silex-api/commits/8702b04326253ca60910dccefd48e81a9fabfe13))
46
+ * **cms:** fix WooCommerce/Shopify order for import ([5370124](https://gitlab.compta-clementine.fr/dev/silex-api/commits/53701246e8a42464721bda9c7da11b4f0fc5cd5e))
47
+ * **internalInvoice:** :construction: WIP ([6ae361d](https://gitlab.compta-clementine.fr/dev/silex-api/commits/6ae361d295f814dbe453031b28d080d1da6b2206))
48
+ * **internalInvoicing:** :bug: fix unique refInternalInvoicing ([92d9079](https://gitlab.compta-clementine.fr/dev/silex-api/commits/92d907919931f6f0b30af76ce4995c7047e8d6a6))
49
+ * **internalInvoicing:** :hammer: add gedFile ([7c90751](https://gitlab.compta-clementine.fr/dev/silex-api/commits/7c907512e64d67f75ce5ce2459d65eb3807d07d1))
50
+ * **internalInvoicing:** :hammer: remove bad seeders :hankey: ([ae34679](https://gitlab.compta-clementine.fr/dev/silex-api/commits/ae34679338a741e26adeabd98e8cd45c12921899))
51
+ * **internalInvoicing:** :hammer: review ([117c2e9](https://gitlab.compta-clementine.fr/dev/silex-api/commits/117c2e9b1c9942d878225a4d77f5a1dac2ec882c))
52
+ * **internalInvoicing:** :hammer: review ([a6b3588](https://gitlab.compta-clementine.fr/dev/silex-api/commits/a6b358848254715cb6ece67b04797582217ccc65))
53
+ * **internalInvoicing:** :hammer: review ([90d5953](https://gitlab.compta-clementine.fr/dev/silex-api/commits/90d5953bada8cf1fff4314072ce5ec8801316b3d))
54
+ * **internalInvoicing:** :hammer: review ([a2bcc8e](https://gitlab.compta-clementine.fr/dev/silex-api/commits/a2bcc8e168cd37ba668d09d912f4b01b35630c4a))
55
+ * **internalInvoicing:** :hankey: add logs ([471932f](https://gitlab.compta-clementine.fr/dev/silex-api/commits/471932fedc4187cddaebc5896f3597397c5baac8))
56
+ * **internalInvoicing:** :lipstick: change ejs format ([23bd0b1](https://gitlab.compta-clementine.fr/dev/silex-api/commits/23bd0b1cae7ec31294d2dd7e5110d15f0d79f50d))
57
+ * **internalInvoicing:** :rotating-light: fix UT ([7aa99ff](https://gitlab.compta-clementine.fr/dev/silex-api/commits/7aa99ff195f04d794df6f75388614cda12f7a9bd))
58
+ * **internalInvoicing:** fix unit test ([35472c2](https://gitlab.compta-clementine.fr/dev/silex-api/commits/35472c204ee5617e707f667c7766dc7d494f3956))
59
+ * **internalInvoicing:** handling new pdf module for pdf generation ([973249a](https://gitlab.compta-clementine.fr/dev/silex-api/commits/973249aed3f01374a0791052e890fa735b672c9d))
60
+ * **internalInvoicing:** remove logs ([512d6d6](https://gitlab.compta-clementine.fr/dev/silex-api/commits/512d6d608de2039ba7d1cd6cd0872f0f7597c83d))
61
+ * **queue:** :construction: WIP ([0724359](https://gitlab.compta-clementine.fr/dev/silex-api/commits/0724359a8cc3476dfe2568e93b33410ea1ff8d87))
62
+ * **queue:** add ENUM PaymentMethod ([9216d39](https://gitlab.compta-clementine.fr/dev/silex-api/commits/9216d39aeed956f02a678da28b48a6b8e9b4e253))
63
+ * **queue:** add payment service (getAllWithInclude + create) ([3889c85](https://gitlab.compta-clementine.fr/dev/silex-api/commits/3889c85b3a47e1ea570155a7c6297e81487ad7c9))
64
+ * **queue:** addJob + ut ([5f7f989](https://gitlab.compta-clementine.fr/dev/silex-api/commits/5f7f989a4637566811bd9f7385f0bf9effe93120))
65
+ * **queue:** change payment model + interface ([87c7656](https://gitlab.compta-clementine.fr/dev/silex-api/commits/87c7656c3b1073882ab05ee080be163f00ef3a27))
66
+ * **queue:** payment service: add update and get + UT ([e7099db](https://gitlab.compta-clementine.fr/dev/silex-api/commits/e7099db590bb2898502c8efed59858f1e47646e5))
67
+ * **Registration:** models and crud ([9f537b3](https://gitlab.compta-clementine.fr/dev/silex-api/commits/9f537b331743504fe1716f120542213283617df3))
68
+ * **tracking:** improve tracking ([b87e123](https://gitlab.compta-clementine.fr/dev/silex-api/commits/b87e123edabe98cc26c61f71e69595e7a028f999))
69
+ * test unit ([f1aaa4a](https://gitlab.compta-clementine.fr/dev/silex-api/commits/f1aaa4aac2add6a1edb6d9ae32fea389b0358f38))
70
+ * test unit test ([ec0ed4e](https://gitlab.compta-clementine.fr/dev/silex-api/commits/ec0ed4e5a3ea43b06ccfbc086702baa399105591))
71
+ * update core 0.4.108 ([fc9a011](https://gitlab.compta-clementine.fr/dev/silex-api/commits/fc9a0118923a1e9a0d7e8b18003ea2fd892da354))
72
+
5
73
  ### [0.1.5](https://gitlab.compta-clementine.fr///compare/v0.1.4...v0.1.5) (2020-12-11)
6
74
 
7
75
  ### [0.1.4](https://gitlab.compta-clementine.fr///compare/v0.1.3...v0.1.4) (2020-12-11)
@@ -0,0 +1,6 @@
1
+ import { Resource } from '../Resource';
2
+ import { QueryAccountingFiles, ReadFormattedAccountingTransaction } from '../../types';
3
+ export declare class AccountingFiles extends Resource {
4
+ accountingFile(params: QueryAccountingFiles): Promise<ReadFormattedAccountingTransaction[]>;
5
+ }
6
+ //# sourceMappingURL=AccountingFiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountingFiles.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/AccountingFiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAEvF,qBAAa,eAAgB,SAAQ,QAAQ;IAC3C,cAAc,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,kCAAkC,EAAE,CAAC;CAa5F"}
@@ -0,0 +1,14 @@
1
+ import { Resource } from '../Resource';
2
+ export class AccountingFiles extends Resource {
3
+ accountingFile(params) {
4
+ const sendAccountingFiles = new FormData();
5
+ sendAccountingFiles.append('idAccountingType', params.idAccountingType.toString());
6
+ sendAccountingFiles.append('isPayPerso', params.isPayPerso.toString());
7
+ sendAccountingFiles.append('split', params.split.toString());
8
+ params.files.forEach((file) => {
9
+ sendAccountingFiles.append('files', file);
10
+ });
11
+ return this.axios.$post('/society/accountingFiles', params, { headers: { 'Content-Type': 'multipart/form-data' } });
12
+ }
13
+ }
14
+ //# sourceMappingURL=AccountingFiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountingFiles.js","sourceRoot":"","sources":["../../../ts/api/resources/AccountingFiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IAC3C,cAAc,CAAC,MAA4B;QACzC,MAAM,mBAAmB,GAAG,IAAI,QAAQ,EAAE,CAAC;QAE3C,mBAAmB,CAAC,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAC;QACnF,mBAAmB,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC;QACvE,mBAAmB,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QAE7D,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YAC5B,mBAAmB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAC5C,CAAC,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0BAA0B,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,qBAAqB,EAAE,EAAE,CAAC,CAAC;IACtH,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryAccountingFiles, ReadFormattedAccountingTransaction } from '../../types';\n\nexport class AccountingFiles extends Resource {\n accountingFile(params: QueryAccountingFiles): Promise<ReadFormattedAccountingTransaction[]> {\n const sendAccountingFiles = new FormData();\n\n sendAccountingFiles.append('idAccountingType', params.idAccountingType.toString());\n sendAccountingFiles.append('isPayPerso', params.isPayPerso.toString());\n sendAccountingFiles.append('split', params.split.toString());\n\n params.files.forEach((file) => {\n sendAccountingFiles.append('files', file);\n });\n\n return this.axios.$post('/society/accountingFiles', params, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n}"]}
@@ -0,0 +1,6 @@
1
+ import { CreateInternalInvoicing } from '../../types';
2
+ import { Resource } from '../Resource';
3
+ export declare class InternalInvoicing extends Resource {
4
+ create(params: CreateInternalInvoicing): Promise<number>;
5
+ }
6
+ //# sourceMappingURL=InternalInvoicing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InternalInvoicing.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/InternalInvoicing.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,iBAAkB,SAAQ,QAAQ;IAC7C,MAAM,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,MAAM,CAAC;CAGzD"}
@@ -0,0 +1,7 @@
1
+ import { Resource } from '../Resource';
2
+ export class InternalInvoicing extends Resource {
3
+ create(params) {
4
+ return this.axios.$post('/internalInvoicing', params);
5
+ }
6
+ }
7
+ //# sourceMappingURL=InternalInvoicing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InternalInvoicing.js","sourceRoot":"","sources":["../../../ts/api/resources/InternalInvoicing.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,iBAAkB,SAAQ,QAAQ;IAC7C,MAAM,CAAC,MAA+B;QACpC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;CACF","sourcesContent":["import {\n CreateInternalInvoicing,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class InternalInvoicing extends Resource {\n create(params: CreateInternalInvoicing): Promise<number> {\n return this.axios.$post('/internalInvoicing', params);\n }\n}"]}
@@ -0,0 +1,7 @@
1
+ /// <reference types="node" />
2
+ import { Resource } from '../Resource';
3
+ import { Journals, QueryJournal } from '../../types';
4
+ export declare class Journal extends Resource {
5
+ getExport(exportType: 'pdf' | 'json', params: QueryJournal): Promise<Journals | Buffer>;
6
+ }
7
+ //# sourceMappingURL=Journal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Journal.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Journal.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAErD,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,SAAS,CAAC,UAAU,EAAE,KAAK,GAAG,MAAM,EAAE,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,QAAQ,GAAG,MAAM,CAAC;CAMxF"}
@@ -0,0 +1,10 @@
1
+ import { Resource } from '../Resource';
2
+ export class Journal extends Resource {
3
+ getExport(exportType, params) {
4
+ return this.axios.$get(`/balance-sheets/journals/export/${exportType}`, {
5
+ params,
6
+ responseType: 'arraybuffer',
7
+ });
8
+ }
9
+ }
10
+ //# sourceMappingURL=Journal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Journal.js","sourceRoot":"","sources":["../../../ts/api/resources/Journal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,SAAS,CAAC,UAA0B,EAAE,MAAoB;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mCAAmC,UAAU,EAAE,EAAE;YACtE,MAAM;YACN,YAAY,EAAE,aAAa;SAC5B,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { Journals, QueryJournal } from '../../types';\n\nexport class Journal extends Resource {\n getExport(exportType: 'pdf' | 'json', params: QueryJournal): Promise<Journals | Buffer> {\n return this.axios.$get(`/balance-sheets/journals/export/${exportType}`, {\n params,\n responseType: 'arraybuffer',\n });\n }\n}\n"]}
@@ -0,0 +1,33 @@
1
+ import { CreateMealExpense, ReadBalanceSheetTransaction, ReadMealExpense } from '../..';
2
+ import { Resource } from '../Resource';
3
+ import { BalanceSheetModule } from './BalanceSheetModule';
4
+ export declare class MealExpense extends Resource {
5
+ /**
6
+ * Get all possible transactions to be processed in meal expenses
7
+ * @param idExercice Exercice id
8
+ * @returns Array<ReadBalanceSheetTransaction>
9
+ * A list of possible candidate to meal expenses formatted into balance sheet transactions.
10
+ */
11
+ getAllCandidates(idExercice: number): Promise<Array<ReadBalanceSheetTransaction>>;
12
+ /**
13
+ * Get all processed meal expenses for this exercice.
14
+ * @param idExercice
15
+ * @returns ReadMealExpense
16
+ * Result is parsed to provide how many meal expenses are processed for this exercice. The amount corresponding, and the deductible amount computed.
17
+ * Also provide the transaction lists.
18
+ */
19
+ getAll(idExercice: number): Promise<ReadMealExpense>;
20
+ /**
21
+ * Transform given transactions into meal expenses.
22
+ * @param idExercice Exercice id
23
+ * @param payload { transactionIds: Array<number> }
24
+ * @returns BalanceSheetModule
25
+ * The updated balance sheet module.
26
+ * Set hasMealExpenses to true if all transactions were processed.
27
+ * Set hasMealExpenses to false if no transaction was provided.
28
+ *
29
+ * Fails if exercice is unknown, or if transactions are not in exercice or if transactions are not valid candidate for meal expenses.
30
+ */
31
+ processCandidates(idExercice: number, payload: CreateMealExpense): Promise<BalanceSheetModule>;
32
+ }
33
+ //# sourceMappingURL=MealExpense.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MealExpense.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/MealExpense.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBAAa,WAAY,SAAQ,QAAQ;IACvC;;;;;OAKG;IACH,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAIjF;;;;;;OAMG;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAIpD;;;;;;;;;;OAUG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAG/F"}
@@ -0,0 +1,37 @@
1
+ import { Resource } from '../Resource';
2
+ export class MealExpense extends Resource {
3
+ /**
4
+ * Get all possible transactions to be processed in meal expenses
5
+ * @param idExercice Exercice id
6
+ * @returns Array<ReadBalanceSheetTransaction>
7
+ * A list of possible candidate to meal expenses formatted into balance sheet transactions.
8
+ */
9
+ getAllCandidates(idExercice) {
10
+ return this.axios.$get(`/balance-sheets/exercices/${idExercice}/meal-expense-candidates`);
11
+ }
12
+ /**
13
+ * Get all processed meal expenses for this exercice.
14
+ * @param idExercice
15
+ * @returns ReadMealExpense
16
+ * Result is parsed to provide how many meal expenses are processed for this exercice. The amount corresponding, and the deductible amount computed.
17
+ * Also provide the transaction lists.
18
+ */
19
+ getAll(idExercice) {
20
+ return this.axios.$get(`/balance-sheets/exercices/${idExercice}/meal-expenses`);
21
+ }
22
+ /**
23
+ * Transform given transactions into meal expenses.
24
+ * @param idExercice Exercice id
25
+ * @param payload { transactionIds: Array<number> }
26
+ * @returns BalanceSheetModule
27
+ * The updated balance sheet module.
28
+ * Set hasMealExpenses to true if all transactions were processed.
29
+ * Set hasMealExpenses to false if no transaction was provided.
30
+ *
31
+ * Fails if exercice is unknown, or if transactions are not in exercice or if transactions are not valid candidate for meal expenses.
32
+ */
33
+ processCandidates(idExercice, payload) {
34
+ return this.axios.$post(`/balance-sheets/exercices/${idExercice}/meal-expenses`, payload);
35
+ }
36
+ }
37
+ //# sourceMappingURL=MealExpense.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MealExpense.js","sourceRoot":"","sources":["../../../ts/api/resources/MealExpense.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,WAAY,SAAQ,QAAQ;IACvC;;;;;OAKG;IACH,gBAAgB,CAAC,UAAkB;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,UAAU,0BAA0B,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,UAAkB;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,UAAU,gBAAgB,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;;OAUG;IACH,iBAAiB,CAAC,UAAkB,EAAE,OAA0B;QAC9D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,UAAU,gBAAgB,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;CACF","sourcesContent":["import { CreateMealExpense, ReadBalanceSheetTransaction, ReadMealExpense } from '../..';\nimport { Resource } from '../Resource';\nimport { BalanceSheetModule } from './BalanceSheetModule';\n\nexport class MealExpense extends Resource {\n /**\n * Get all possible transactions to be processed in meal expenses\n * @param idExercice Exercice id\n * @returns Array<ReadBalanceSheetTransaction>\n * A list of possible candidate to meal expenses formatted into balance sheet transactions.\n */\n getAllCandidates(idExercice: number): Promise<Array<ReadBalanceSheetTransaction>> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/meal-expense-candidates`);\n }\n\n /**\n * Get all processed meal expenses for this exercice.\n * @param idExercice\n * @returns ReadMealExpense\n * Result is parsed to provide how many meal expenses are processed for this exercice. The amount corresponding, and the deductible amount computed.\n * Also provide the transaction lists.\n */\n getAll(idExercice: number): Promise<ReadMealExpense> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/meal-expenses`);\n }\n\n /**\n * Transform given transactions into meal expenses.\n * @param idExercice Exercice id\n * @param payload { transactionIds: Array<number> }\n * @returns BalanceSheetModule\n * The updated balance sheet module.\n * Set hasMealExpenses to true if all transactions were processed.\n * Set hasMealExpenses to false if no transaction was provided.\n *\n * Fails if exercice is unknown, or if transactions are not in exercice or if transactions are not valid candidate for meal expenses.\n */\n processCandidates(idExercice: number, payload: CreateMealExpense): Promise<BalanceSheetModule> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/meal-expenses`, payload);\n }\n}"]}
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { Resource } from '../Resource';
2
3
  import { IProduct, QueryPaginate, QueryProduct, BasePaginate, CreateProduct, UpdateProduct } from '../../types';
3
4
  export declare class Product extends Resource {
@@ -6,5 +7,7 @@ export declare class Product extends Resource {
6
7
  create(payload: CreateProduct): Promise<IProduct>;
7
8
  update(id: number, payload: UpdateProduct): Promise<IProduct>;
8
9
  delete(id: number): Promise<boolean>;
10
+ import(file: File): Promise<void>;
11
+ export(): Promise<Buffer>;
9
12
  }
10
13
  //# sourceMappingURL=Product.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAClF,MAAM,aAAa,CAAC;AAErB,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,MAAM,IAAI,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAIlC,YAAY,CAAC,UAAU,EAAE,aAAa,EAAE,KAAK,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAS9F,MAAM,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIjD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAI7D,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAGrC"}
1
+ {"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Product.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAClF,MAAM,aAAa,CAAC;AAErB,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,MAAM,IAAI,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAIlC,YAAY,CAAC,UAAU,EAAE,aAAa,EAAE,KAAK,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAS9F,MAAM,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIjD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IAI7D,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIpC,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAMjC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC;CAK1B"}
@@ -17,5 +17,15 @@ export class Product extends Resource {
17
17
  delete(id) {
18
18
  return this.axios.$delete(`/commercial-management/products/${id}`);
19
19
  }
20
+ import(file) {
21
+ const formData = new FormData();
22
+ formData.append('file', file);
23
+ return this.axios.$post('/commercial-management/products/import', formData);
24
+ }
25
+ export() {
26
+ return this.axios.$get('/commercial-management/products/export', {
27
+ responseType: 'arraybuffer',
28
+ });
29
+ }
20
30
  }
21
31
  //# sourceMappingURL=Product.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../ts/api/resources/Product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;IAC5D,CAAC;IAED,YAAY,CAAC,UAAyB,EAAE,KAAoB;QAC1D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,EAAE;YACxD,MAAM,kCACD,UAAU,GACV,KAAK,CACT;SACF,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,OAAsB;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iCAAiC,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,OAAsB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,mCAAmC,EAAE,EAAE,CAAC,CAAC;IACrE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IProduct, QueryPaginate, QueryProduct, BasePaginate, CreateProduct, UpdateProduct,\n} from '../../types';\n\nexport class Product extends Resource {\n getAll(): Promise<Array<IProduct>> {\n return this.axios.$get('/commercial-management/products');\n }\n\n getPaginated(pagination: QueryPaginate, query?: QueryProduct): Promise<BasePaginate<IProduct>> {\n return this.axios.$get('/commercial-management/products', {\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n\n create(payload: CreateProduct): Promise<IProduct> {\n return this.axios.$post('/commercial-management/products', payload);\n }\n\n update(id: number, payload: UpdateProduct): Promise<IProduct> {\n return this.axios.$put(`/commercial-management/products/${id}`, payload);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/commercial-management/products/${id}`);\n }\n}"]}
1
+ {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../ts/api/resources/Product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;IAC5D,CAAC;IAED,YAAY,CAAC,UAAyB,EAAE,KAAoB;QAC1D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,EAAE;YACxD,MAAM,kCACD,UAAU,GACV,KAAK,CACT;SACF,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,OAAsB;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iCAAiC,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,OAAsB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,mCAAmC,EAAE,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,CAAC,IAAU;QACf,MAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAChC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,wCAAwC,EAAE,QAAQ,CAAC,CAAC;IAC9E,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wCAAwC,EAAE;YAC/D,YAAY,EAAE,aAAa;SAC5B,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IProduct, QueryPaginate, QueryProduct, BasePaginate, CreateProduct, UpdateProduct,\n} from '../../types';\n\nexport class Product extends Resource {\n getAll(): Promise<Array<IProduct>> {\n return this.axios.$get('/commercial-management/products');\n }\n\n getPaginated(pagination: QueryPaginate, query?: QueryProduct): Promise<BasePaginate<IProduct>> {\n return this.axios.$get('/commercial-management/products', {\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n\n create(payload: CreateProduct): Promise<IProduct> {\n return this.axios.$post('/commercial-management/products', payload);\n }\n\n update(id: number, payload: UpdateProduct): Promise<IProduct> {\n return this.axios.$put(`/commercial-management/products/${id}`, payload);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/commercial-management/products/${id}`);\n }\n\n import(file: File): Promise<void> {\n const formData = new FormData();\n formData.append('file', file);\n return this.axios.$post('/commercial-management/products/import', formData);\n }\n\n export(): Promise<Buffer> {\n return this.axios.$get('/commercial-management/products/export', {\n responseType: 'arraybuffer',\n });\n }\n}"]}
@@ -0,0 +1,6 @@
1
+ import { Resource } from '../Resource';
2
+ import { CreateRegistration, ReadRegistration } from '../../types';
3
+ export declare class Registration extends Resource {
4
+ updateOrCreate(idExercice: number, params: CreateRegistration): Promise<ReadRegistration>;
5
+ }
6
+ //# sourceMappingURL=Registration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Registration.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEnE,qBAAa,YAAa,SAAQ,QAAQ;IACxC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAG1F"}
@@ -0,0 +1,7 @@
1
+ import { Resource } from '../Resource';
2
+ export class Registration extends Resource {
3
+ updateOrCreate(idExercice, params) {
4
+ return this.axios.$post(`/exercices/${idExercice}/registrations`, params);
5
+ }
6
+ }
7
+ //# sourceMappingURL=Registration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Registration.js","sourceRoot":"","sources":["../../../ts/api/resources/Registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,cAAc,CAAC,UAAkB,EAAE,MAA0B;QAC3D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,UAAU,gBAAgB,EAAE,MAAM,CAAC,CAAC;IAC5E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateRegistration, ReadRegistration } from '../../types';\n\nexport class Registration extends Resource {\n updateOrCreate(idExercice: number, params: CreateRegistration): Promise<ReadRegistration> {\n return this.axios.$post(`/exercices/${idExercice}/registrations`, params);\n }\n}"]}
@@ -42,6 +42,10 @@ import { Connector } from './resources/Connector';
42
42
  import { PartneredAccountant } from './resources/PartneredAccountant';
43
43
  import { Tax } from './resources/Tax';
44
44
  import { QuotesAccount } from './resources/QuotesAccount';
45
+ import { Registration } from './resources/Registration';
46
+ import { Journal } from './resources/Journal';
47
+ import { Product } from './resources/Product';
48
+ import { MealExpense } from './resources/MealExpense';
45
49
  export declare const resources: {
46
50
  simulation: typeof Simulation;
47
51
  country: typeof Country;
@@ -87,5 +91,9 @@ export declare const resources: {
87
91
  partneredAccountant: typeof PartneredAccountant;
88
92
  tax: typeof Tax;
89
93
  quotesAccount: typeof QuotesAccount;
94
+ registration: typeof Registration;
95
+ journal: typeof Journal;
96
+ product: typeof Product;
97
+ mealExpense: typeof MealExpense;
90
98
  };
91
99
  //# sourceMappingURL=resources.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AA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M,uCAAuC,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDrB,CAAC"}
@@ -42,6 +42,10 @@ import { Connector } from './resources/Connector';
42
42
  import { PartneredAccountant } from './resources/PartneredAccountant';
43
43
  import { Tax } from './resources/Tax';
44
44
  import { QuotesAccount } from './resources/QuotesAccount';
45
+ import { Registration } from './resources/Registration';
46
+ import { Journal } from './resources/Journal';
47
+ import { Product } from './resources/Product';
48
+ import { MealExpense } from './resources/MealExpense';
45
49
  export const resources = {
46
50
  simulation: Simulation,
47
51
  country: Country,
@@ -87,5 +91,9 @@ export const resources = {
87
91
  partneredAccountant: PartneredAccountant,
88
92
  tax: Tax,
89
93
  quotesAccount: QuotesAccount,
94
+ registration: Registration,
95
+ journal: Journal,
96
+ product: Product,
97
+ mealExpense: MealExpense,
90
98
  };
91
99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,EAAE,0BAA0B;IACtD,cAAc,EAAE,cAAc;IAC9B,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,SAAS;IACpB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,OAAO;IAChB,aAAa,EAAE,aAAa;IAC5B,OAAO,EAAE,OAAO;IAChB,eAAe,EAAE,eAAe;IAChC,YAAY,EAAE,YAAY;IAC1B,kBAAkB,EAAE,kBAAkB;IACtC,KAAK,EAAE,KAAK;IACZ,SAAS,EAAE,SAAS;IACpB,YAAY,EAAE,YAAY;IAC1B,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,YAAY;IAC1B,YAAY,EAAE,YAAY;IAC1B,KAAK,EAAE,KAAK;IACZ,SAAS,EAAE,SAAS;IACpB,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,IAAI;IACV,gBAAgB,EAAE,gBAAgB;IAClC,SAAS,EAAE,SAAS;IACpB,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,gBAAgB;IAClC,yBAAyB,EAAE,yBAAyB;IACpD,KAAK,EAAE,KAAK;IACZ,aAAa,EAAE,aAAa;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,WAAW;IACxB,YAAY,EAAE,YAAY;IAC1B,SAAS,EAAE,SAAS;IACpB,mBAAmB,EAAE,mBAAmB;IACxC,GAAG,EAAE,GAAG;IACR,aAAa,EAAE,aAAa;CAC7B,CAAC","sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { Sponsorship } from './resources/Sponsorship';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { Report } from './resources/Report';\nimport { Letter } from './resources/Letter';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { FecFile } from './resources/FecFile';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { BalanceSheet } from './resources/BalanceSheet';\nimport { BalanceSheetModule } from './resources/BalanceSheetModule';\nimport { Cerfa } from './resources/Cerfa';\nimport { LegalForm } from './resources/LegalForm';\nimport { Subscription } from './resources/Subscription';\nimport { Authenticate } from './resources/Authenticate';\nimport { Search } from './resources/Search';\nimport { SalariesFile } from './resources/SalariesFile';\nimport { Shine } from './resources/Shine';\nimport { PromoCode } from './resources/PromoCode';\nimport { Stocks } from './resources/Stocks';\nimport { Loan } from './resources/Loan';\nimport { SocietyPromoCode } from './resources/SocietyPromoCode';\nimport { Dashboard } from './resources/Dashboard';\nimport { ZTicket } from './resources/ZTicket';\nimport { IncomeAllocation } from './resources/IncomeAllocation';\nimport { CustomerProviderOperation } from './resources/CustomerProviderOperation';\nimport { Steps } from './resources/Step';\nimport { RevisionGuide } from './resources/RevisionGuide';\nimport { Library } from './resources/Library';\nimport { TaxDeadline } from './resources/TaxDeadline';\nimport { ExerciceNote } from './resources/ExerciceNote';\nimport { Connector } from './resources/Connector';\nimport { PartneredAccountant } from './resources/PartneredAccountant';\nimport { Tax } from './resources/Tax';\nimport { QuotesAccount } from './resources/QuotesAccount';\n\nexport const resources = {\n simulation: Simulation,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n sponsorship: Sponsorship,\n user: User,\n survey: Survey,\n report: Report,\n letter: Letter,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n fecFile: FecFile,\n incomeStatement: IncomeStatement,\n balanceSheet: BalanceSheet,\n balanceSheetModule: BalanceSheetModule,\n cerfa: Cerfa,\n legalForm: LegalForm,\n authenticate: Authenticate,\n search: Search,\n subscription: Subscription,\n salariesFile: SalariesFile,\n shine: Shine,\n promoCode: PromoCode,\n stocks: Stocks,\n loan: Loan,\n societyPromoCode: SocietyPromoCode,\n dashboard: Dashboard,\n zTicket: ZTicket,\n incomeAllocation: IncomeAllocation,\n customerProviderOperation: CustomerProviderOperation,\n steps: Steps,\n revisionGuide: RevisionGuide,\n library: Library,\n taxDeadline: TaxDeadline,\n exerciceNote: ExerciceNote,\n connector: Connector,\n partneredAccountant: PartneredAccountant,\n tax: Tax,\n quotesAccount: QuotesAccount,\n};\n"]}
1
+ {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;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SAAS;IACpB,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,IAAI;IACV,gBAAgB,EAAE,gBAAgB;IAClC,SAAS,EAAE,SAAS;IACpB,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,gBAAgB;IAClC,yBAAyB,EAAE,yBAAyB;IACpD,KAAK,EAAE,KAAK;IACZ,aAAa,EAAE,aAAa;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,WAAW;IACxB,YAAY,EAAE,YAAY;IAC1B,SAAS,EAAE,SAAS;IACpB,mBAAmB,EAAE,mBAAmB;IACxC,GAAG,EAAE,GAAG;IACR,aAAa,EAAE,aAAa;IAC5B,YAAY,EAAE,YAAY;IAC1B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,WAAW;CACzB,CAAC","sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { Sponsorship } from './resources/Sponsorship';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { Report } from './resources/Report';\nimport { Letter } from './resources/Letter';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { FecFile } from './resources/FecFile';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { BalanceSheet } from './resources/BalanceSheet';\nimport { BalanceSheetModule } from './resources/BalanceSheetModule';\nimport { Cerfa } from './resources/Cerfa';\nimport { LegalForm } from './resources/LegalForm';\nimport { Subscription } from './resources/Subscription';\nimport { Authenticate } from './resources/Authenticate';\nimport { Search } from './resources/Search';\nimport { SalariesFile } from './resources/SalariesFile';\nimport { Shine } from './resources/Shine';\nimport { PromoCode } from './resources/PromoCode';\nimport { Stocks } from './resources/Stocks';\nimport { Loan } from './resources/Loan';\nimport { SocietyPromoCode } from './resources/SocietyPromoCode';\nimport { Dashboard } from './resources/Dashboard';\nimport { ZTicket } from './resources/ZTicket';\nimport { IncomeAllocation } from './resources/IncomeAllocation';\nimport { CustomerProviderOperation } from './resources/CustomerProviderOperation';\nimport { Steps } from './resources/Step';\nimport { RevisionGuide } from './resources/RevisionGuide';\nimport { Library } from './resources/Library';\nimport { TaxDeadline } from './resources/TaxDeadline';\nimport { ExerciceNote } from './resources/ExerciceNote';\nimport { Connector } from './resources/Connector';\nimport { PartneredAccountant } from './resources/PartneredAccountant';\nimport { Tax } from './resources/Tax';\nimport { QuotesAccount } from './resources/QuotesAccount';\nimport { Registration } from './resources/Registration';\nimport { Journal } from './resources/Journal';\nimport { Product } from './resources/Product';\nimport { MealExpense } from './resources/MealExpense';\n\nexport const resources = {\n simulation: Simulation,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n sponsorship: Sponsorship,\n user: User,\n survey: Survey,\n report: Report,\n letter: Letter,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n fecFile: FecFile,\n incomeStatement: IncomeStatement,\n balanceSheet: BalanceSheet,\n balanceSheetModule: BalanceSheetModule,\n cerfa: Cerfa,\n legalForm: LegalForm,\n authenticate: Authenticate,\n search: Search,\n subscription: Subscription,\n salariesFile: SalariesFile,\n shine: Shine,\n promoCode: PromoCode,\n stocks: Stocks,\n loan: Loan,\n societyPromoCode: SocietyPromoCode,\n dashboard: Dashboard,\n zTicket: ZTicket,\n incomeAllocation: IncomeAllocation,\n customerProviderOperation: CustomerProviderOperation,\n steps: Steps,\n revisionGuide: RevisionGuide,\n library: Library,\n taxDeadline: TaxDeadline,\n exerciceNote: ExerciceNote,\n connector: Connector,\n partneredAccountant: PartneredAccountant,\n tax: Tax,\n quotesAccount: QuotesAccount,\n registration: Registration,\n journal: Journal,\n product: Product,\n mealExpense: MealExpense,\n};\n"]}
@@ -3,6 +3,7 @@ export declare enum AccountingFileType {
3
3
  SALE_INVOICES = 2,
4
4
  PAST_INVOICES = 3,
5
5
  BANK_STATEMENTS = 4,
6
- OTHERS = 5
6
+ OTHERS = 5,
7
+ RECEIPT = 6
7
8
  }
8
9
  //# sourceMappingURL=AccountingFileType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccountingFileType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingFileType.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,iBAAiB,IAAI;IACrB,aAAa,IAAI;IACjB,aAAa,IAAI;IACjB,eAAe,IAAI;IACnB,MAAM,IAAI;CACX"}
1
+ {"version":3,"file":"AccountingFileType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingFileType.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,iBAAiB,IAAI;IACrB,aAAa,IAAI;IACjB,aAAa,IAAI;IACjB,eAAe,IAAI;IACnB,MAAM,IAAI;IACV,OAAO,IAAI;CACZ"}
@@ -5,5 +5,6 @@ export var AccountingFileType;
5
5
  AccountingFileType[AccountingFileType["PAST_INVOICES"] = 3] = "PAST_INVOICES";
6
6
  AccountingFileType[AccountingFileType["BANK_STATEMENTS"] = 4] = "BANK_STATEMENTS";
7
7
  AccountingFileType[AccountingFileType["OTHERS"] = 5] = "OTHERS";
8
+ AccountingFileType[AccountingFileType["RECEIPT"] = 6] = "RECEIPT";
8
9
  })(AccountingFileType || (AccountingFileType = {}));
9
10
  //# sourceMappingURL=AccountingFileType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccountingFileType.js","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingFileType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,qFAAqB,CAAA;IACrB,6EAAiB,CAAA;IACjB,6EAAiB,CAAA;IACjB,iFAAmB,CAAA;IACnB,+DAAU,CAAA;AACZ,CAAC,EANW,kBAAkB,KAAlB,kBAAkB,QAM7B","sourcesContent":["export enum AccountingFileType {\n PURCHASE_INVOICES = 1,\n SALE_INVOICES = 2,\n PAST_INVOICES = 3,\n BANK_STATEMENTS = 4,\n OTHERS = 5,\n}"]}
1
+ {"version":3,"file":"AccountingFileType.js","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingFileType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,qFAAqB,CAAA;IACrB,6EAAiB,CAAA;IACjB,6EAAiB,CAAA;IACjB,iFAAmB,CAAA;IACnB,+DAAU,CAAA;IACV,iEAAW,CAAA;AACb,CAAC,EAPW,kBAAkB,KAAlB,kBAAkB,QAO7B","sourcesContent":["export enum AccountingFileType {\n PURCHASE_INVOICES = 1,\n SALE_INVOICES = 2,\n PAST_INVOICES = 3,\n BANK_STATEMENTS = 4,\n OTHERS = 5,\n RECEIPT = 6,\n}"]}
@@ -1,15 +1,15 @@
1
- export declare const CerfaType: {
2
- 3310: number;
3
- 3514: number;
4
- 3517: number;
5
- 2031: number;
6
- 2033: number;
7
- 2035: number;
8
- '2042_C_Pro': number;
9
- 2044: number;
10
- 2050: number;
11
- 2065: number;
12
- 2070: number;
13
- 2072: number;
14
- };
1
+ export declare enum CerfaType {
2
+ CERFA_3310 = 1,
3
+ CERFA_3514 = 2,
4
+ CERFA_3517 = 3,
5
+ CERFA_2031 = 4,
6
+ CERFA_2033 = 5,
7
+ CERFA_2035 = 6,
8
+ CERFA_2042_C_Pro = 7,
9
+ CERFA_2044 = 8,
10
+ CERFA_2050 = 9,
11
+ CERFA_2065 = 10,
12
+ CERFA_2070 = 11,
13
+ CERFA_2072 = 12
14
+ }
15
15
  //# sourceMappingURL=CerfaType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CerfaType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/CerfaType.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAarB,CAAC"}
1
+ {"version":3,"file":"CerfaType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/CerfaType.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,UAAU,IAAI;IACd,UAAU,IAAI;IACd,UAAU,IAAI;IACd,UAAU,IAAI;IACd,UAAU,IAAI;IACd,UAAU,IAAI;IACd,gBAAgB,IAAI;IACpB,UAAU,IAAI;IACd,UAAU,IAAI;IACd,UAAU,KAAK;IACf,UAAU,KAAK;IACf,UAAU,KAAK;CAChB"}
@@ -1,15 +1,16 @@
1
- export const CerfaType = {
2
- 3310: 1,
3
- 3514: 2,
4
- 3517: 3,
5
- 2031: 4,
6
- 2033: 5,
7
- 2035: 6,
8
- '2042_C_Pro': 7,
9
- 2044: 8,
10
- 2050: 9,
11
- 2065: 10,
12
- 2070: 11,
13
- 2072: 12,
14
- };
1
+ export var CerfaType;
2
+ (function (CerfaType) {
3
+ CerfaType[CerfaType["CERFA_3310"] = 1] = "CERFA_3310";
4
+ CerfaType[CerfaType["CERFA_3514"] = 2] = "CERFA_3514";
5
+ CerfaType[CerfaType["CERFA_3517"] = 3] = "CERFA_3517";
6
+ CerfaType[CerfaType["CERFA_2031"] = 4] = "CERFA_2031";
7
+ CerfaType[CerfaType["CERFA_2033"] = 5] = "CERFA_2033";
8
+ CerfaType[CerfaType["CERFA_2035"] = 6] = "CERFA_2035";
9
+ CerfaType[CerfaType["CERFA_2042_C_Pro"] = 7] = "CERFA_2042_C_Pro";
10
+ CerfaType[CerfaType["CERFA_2044"] = 8] = "CERFA_2044";
11
+ CerfaType[CerfaType["CERFA_2050"] = 9] = "CERFA_2050";
12
+ CerfaType[CerfaType["CERFA_2065"] = 10] = "CERFA_2065";
13
+ CerfaType[CerfaType["CERFA_2070"] = 11] = "CERFA_2070";
14
+ CerfaType[CerfaType["CERFA_2072"] = 12] = "CERFA_2072";
15
+ })(CerfaType || (CerfaType = {}));
15
16
  //# sourceMappingURL=CerfaType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CerfaType.js","sourceRoot":"","sources":["../../../ts/types/Enum/CerfaType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,YAAY,EAAE,CAAC;IACf,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;CACT,CAAC","sourcesContent":["export const CerfaType = {\n 3310: 1,\n 3514: 2,\n 3517: 3,\n 2031: 4,\n 2033: 5,\n 2035: 6,\n '2042_C_Pro': 7,\n 2044: 8,\n 2050: 9,\n 2065: 10,\n 2070: 11,\n 2072: 12,\n};"]}
1
+ {"version":3,"file":"CerfaType.js","sourceRoot":"","sources":["../../../ts/types/Enum/CerfaType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAaX;AAbD,WAAY,SAAS;IACnB,qDAAc,CAAA;IACd,qDAAc,CAAA;IACd,qDAAc,CAAA;IACd,qDAAc,CAAA;IACd,qDAAc,CAAA;IACd,qDAAc,CAAA;IACd,iEAAoB,CAAA;IACpB,qDAAc,CAAA;IACd,qDAAc,CAAA;IACd,sDAAe,CAAA;IACf,sDAAe,CAAA;IACf,sDAAe,CAAA;AACjB,CAAC,EAbW,SAAS,KAAT,SAAS,QAapB","sourcesContent":["export enum CerfaType {\n CERFA_3310 = 1,\n CERFA_3514 = 2,\n CERFA_3517 = 3,\n CERFA_2031 = 4,\n CERFA_2033 = 5,\n CERFA_2035 = 6,\n CERFA_2042_C_Pro = 7,\n CERFA_2044 = 8,\n CERFA_2050 = 9,\n CERFA_2065 = 10,\n CERFA_2070 = 11,\n CERFA_2072 = 12,\n}"]}
@@ -12,6 +12,7 @@ export declare enum GedFolder {
12
12
  KBIS = 1,
13
13
  STATUTES = 13,
14
14
  AGM = 19,
15
+ CABINET_INVOICES = 23,
15
16
  PARTNERS = 34,
16
17
  OUTGOING_MAIL = 36,
17
18
  PENDING_POINTS = 39
@@ -1 +1 @@
1
- {"version":3,"file":"Ged.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Ged.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,OAAO,IAAI;IACX,kBAAkB,IAAI;IACtB,MAAM,IAAI;IACV,OAAO,IAAI;IACX,UAAU,IAAI;IACd,OAAO,IAAI;IACX,IAAI,IAAI;IACR,cAAc,IAAI;CACnB;AAED,oBAAY,SAAS;IACnB,IAAI,IAAI;IAOR,QAAQ,KAAK;IAMb,GAAG,KAAK;IAcR,QAAQ,KAAK;IAEb,aAAa,KAAK;IAGlB,cAAc,KAAK;CAEpB;AAED,oBAAY,WAAW;IACrB,QAAQ,IAAI;IAEZ,IAAI,IAAI;IAOR,KAAK,KAAK;IAQV,cAAc,KAAK;IACnB,YAAY,KAAK;IACjB,iBAAiB,KAAK;CACvB"}
1
+ {"version":3,"file":"Ged.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Ged.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,OAAO,IAAI;IACX,kBAAkB,IAAI;IACtB,MAAM,IAAI;IACV,OAAO,IAAI;IACX,UAAU,IAAI;IACd,OAAO,IAAI;IACX,IAAI,IAAI;IACR,cAAc,IAAI;CACnB;AAED,oBAAY,SAAS;IACnB,IAAI,IAAI;IAOR,QAAQ,KAAK;IAMb,GAAG,KAAK;IAGR,gBAAgB,KAAK;IAWrB,QAAQ,KAAK;IAEb,aAAa,KAAK;IAGlB,cAAc,KAAK;CAEpB;AAED,oBAAY,WAAW;IACrB,QAAQ,IAAI;IAEZ,IAAI,IAAI;IAOR,KAAK,KAAK;IAQV,cAAc,KAAK;IACnB,YAAY,KAAK;IACjB,iBAAiB,KAAK;CACvB"}
@@ -27,7 +27,7 @@ export var GedFolder;
27
27
  GedFolder[GedFolder["AGM"] = 19] = "AGM";
28
28
  // Contracts & Leases = 20,
29
29
  // Insurance = 22,
30
- // Cabinet invoices = 23,
30
+ GedFolder[GedFolder["CABINET_INVOICES"] = 23] = "CABINET_INVOICES";
31
31
  // Others = 24,
32
32
  // Vehicles = 25,
33
33
  // Borrowing tables = 26,
@@ -1 +1 @@
1
- {"version":3,"file":"Ged.js","sourceRoot":"","sources":["../../../ts/types/Enum/Ged.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,mDAAW,CAAA;IACX,yEAAsB,CAAA;IACtB,iDAAU,CAAA;IACV,mDAAW,CAAA;IACX,yDAAc,CAAA;IACd,mDAAW,CAAA;IACX,6CAAQ,CAAA;IACR,iEAAkB,CAAA;AACpB,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AAED,MAAM,CAAN,IAAY,SAmCX;AAnCD,WAAY,SAAS;IACnB,yCAAQ,CAAA;IACR,uBAAuB;IACvB,sBAAsB;IACtB,2BAA2B;IAC3B,+BAA+B;IAC/B,yBAAyB;IACzB,wBAAwB;IACxB,kDAAa,CAAA;IACb,sCAAsC;IACtC,qBAAqB;IACrB,6BAA6B;IAC7B,kBAAkB;IAClB,YAAY;IACZ,wCAAQ,CAAA;IACR,2BAA2B;IAC3B,kBAAkB;IAClB,yBAAyB;IACzB,eAAe;IACf,iBAAiB;IACjB,yBAAyB;IACzB,qBAAqB;IACrB,iCAAiC;IACjC,0BAA0B;IAC1B,yCAAyC;IACzC,sBAAsB;IACtB,4BAA4B;IAC5B,qBAAqB;IACrB,kDAAa,CAAA;IACb,uBAAuB;IACvB,4DAAkB,CAAA;IAClB,wBAAwB;IACxB,kBAAkB;IAClB,8DAAmB,CAAA;IACnB,oCAAoC;AACtC,CAAC,EAnCW,SAAS,KAAT,SAAS,QAmCpB;AAED,MAAM,CAAN,IAAY,WAqBX;AArBD,WAAY,WAAW;IACrB,qDAAY,CAAA;IACZ,wBAAwB;IACxB,6CAAQ,CAAA;IACR,UAAU;IACV,qBAAqB;IACrB,WAAW;IACX,gBAAgB;IAChB,SAAS;IACT,UAAU;IACV,gDAAU,CAAA;IACV,iEAAiE;IACjE,0CAA0C;IAC1C,+CAA+C;IAC/C,yEAAyE;IACzE,8DAA8D;IAC9D,gDAAgD;IAChD,4BAA4B;IAC5B,kEAAmB,CAAA;IACnB,8DAAiB,CAAA;IACjB,wEAAsB,CAAA;AACxB,CAAC,EArBW,WAAW,KAAX,WAAW,QAqBtB","sourcesContent":["export enum GedCategory {\n COMPANY = 1,\n ACCOUNTING_AND_TAX = 2,\n SOCIAL = 3,\n JURIDIC = 4,\n GENERALITY = 5,\n BILLING = 6,\n MAIL = 7,\n BANK_STATEMENT = 8,\n}\n\nexport enum GedFolder {\n KBIS = 1,\n // Mission letters = 2,\n // Mandates & RIB = 3,\n // Balance-GL Journals = 5,\n // Closes & Balance Sheets = 7,\n // VAT declarations = 10,\n // IS declarations = 11,\n STATUTES = 13,\n // Training and professional tax = 14,\n // DADS-U & DUE = 15,\n // URSSAF & Pôle-Emploi = 16,\n // Pay slips = 17,\n // TNS = 18,\n AGM = 19, // Annual General Meeting, PV d'AG\n // Contracts & Leases = 20,\n // Insurance = 22,\n // Cabinet invoices = 23,\n // Others = 24,\n // Vehicles = 25,\n // Borrowing tables = 26,\n // RSI & URSSAF = 27,\n // Previous GA balance & PV = 28,\n // Slips for the CFE = 29,\n // Suppliers / customers appendices = 30,\n // Miscellaneous = 31,\n // Legal Announcements = 32,\n // Certificates = 33,\n PARTNERS = 34,\n // Incoming mails = 35,\n OUTGOING_MAIL = 36,\n // Bank Statements = 37,\n // Formalism = 38,\n PENDING_POINTS = 39,\n // Balance-GL Journals Year N-1 = 40\n}\n\nexport enum GedFileType {\n STATUTES = 1,\n // 2,'Carte d\\'identité'\n KBIS = 3,\n // 4,'RIB'\n // 5,'Mémento Fiscal'\n // 6,'SEPA'\n // 7,'Plaquette'\n // 8,'M0'\n // 9,'Dbe'\n OTHER = 10,\n // 11,'Inscription au répertoire SIRENE / Répertoire des métiers'\n // 12,'Déclaration du patrimoine affectée'\n // 13,'Déclaration des bénéficiaires effectifs'\n // 14,'Liste des souscripteurs pour connaître la répartition des actions'\n // 15,'Récépissé d’inscription de l’association en préfecture'\n // 16,'Liste des représentants de l’association'\n // 17,'Règlement intérieur',\n REVISION_GUIDE = 18,\n SUMMARY_NOTE = 19,\n BALANCESHEET_NOTE = 20,\n}\n"]}
1
+ {"version":3,"file":"Ged.js","sourceRoot":"","sources":["../../../ts/types/Enum/Ged.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,mDAAW,CAAA;IACX,yEAAsB,CAAA;IACtB,iDAAU,CAAA;IACV,mDAAW,CAAA;IACX,yDAAc,CAAA;IACd,mDAAW,CAAA;IACX,6CAAQ,CAAA;IACR,iEAAkB,CAAA;AACpB,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AAED,MAAM,CAAN,IAAY,SAmCX;AAnCD,WAAY,SAAS;IACnB,yCAAQ,CAAA;IACR,uBAAuB;IACvB,sBAAsB;IACtB,2BAA2B;IAC3B,+BAA+B;IAC/B,yBAAyB;IACzB,wBAAwB;IACxB,kDAAa,CAAA;IACb,sCAAsC;IACtC,qBAAqB;IACrB,6BAA6B;IAC7B,kBAAkB;IAClB,YAAY;IACZ,wCAAQ,CAAA;IACR,2BAA2B;IAC3B,kBAAkB;IAClB,kEAAqB,CAAA;IACrB,eAAe;IACf,iBAAiB;IACjB,yBAAyB;IACzB,qBAAqB;IACrB,iCAAiC;IACjC,0BAA0B;IAC1B,yCAAyC;IACzC,sBAAsB;IACtB,4BAA4B;IAC5B,qBAAqB;IACrB,kDAAa,CAAA;IACb,uBAAuB;IACvB,4DAAkB,CAAA;IAClB,wBAAwB;IACxB,kBAAkB;IAClB,8DAAmB,CAAA;IACnB,oCAAoC;AACtC,CAAC,EAnCW,SAAS,KAAT,SAAS,QAmCpB;AAED,MAAM,CAAN,IAAY,WAqBX;AArBD,WAAY,WAAW;IACrB,qDAAY,CAAA;IACZ,wBAAwB;IACxB,6CAAQ,CAAA;IACR,UAAU;IACV,qBAAqB;IACrB,WAAW;IACX,gBAAgB;IAChB,SAAS;IACT,UAAU;IACV,gDAAU,CAAA;IACV,iEAAiE;IACjE,0CAA0C;IAC1C,+CAA+C;IAC/C,yEAAyE;IACzE,8DAA8D;IAC9D,gDAAgD;IAChD,4BAA4B;IAC5B,kEAAmB,CAAA;IACnB,8DAAiB,CAAA;IACjB,wEAAsB,CAAA;AACxB,CAAC,EArBW,WAAW,KAAX,WAAW,QAqBtB","sourcesContent":["export enum GedCategory {\n COMPANY = 1,\n ACCOUNTING_AND_TAX = 2,\n SOCIAL = 3,\n JURIDIC = 4,\n GENERALITY = 5,\n BILLING = 6,\n MAIL = 7,\n BANK_STATEMENT = 8,\n}\n\nexport enum GedFolder {\n KBIS = 1,\n // Mission letters = 2,\n // Mandates & RIB = 3,\n // Balance-GL Journals = 5,\n // Closes & Balance Sheets = 7,\n // VAT declarations = 10,\n // IS declarations = 11,\n STATUTES = 13,\n // Training and professional tax = 14,\n // DADS-U & DUE = 15,\n // URSSAF & Pôle-Emploi = 16,\n // Pay slips = 17,\n // TNS = 18,\n AGM = 19, // Annual General Meeting, PV d'AG\n // Contracts & Leases = 20,\n // Insurance = 22,\n CABINET_INVOICES = 23,\n // Others = 24,\n // Vehicles = 25,\n // Borrowing tables = 26,\n // RSI & URSSAF = 27,\n // Previous GA balance & PV = 28,\n // Slips for the CFE = 29,\n // Suppliers / customers appendices = 30,\n // Miscellaneous = 31,\n // Legal Announcements = 32,\n // Certificates = 33,\n PARTNERS = 34,\n // Incoming mails = 35,\n OUTGOING_MAIL = 36,\n // Bank Statements = 37,\n // Formalism = 38,\n PENDING_POINTS = 39,\n // Balance-GL Journals Year N-1 = 40\n}\n\nexport enum GedFileType {\n STATUTES = 1,\n // 2,'Carte d\\'identité'\n KBIS = 3,\n // 4,'RIB'\n // 5,'Mémento Fiscal'\n // 6,'SEPA'\n // 7,'Plaquette'\n // 8,'M0'\n // 9,'Dbe'\n OTHER = 10,\n // 11,'Inscription au répertoire SIRENE / Répertoire des métiers'\n // 12,'Déclaration du patrimoine affectée'\n // 13,'Déclaration des bénéficiaires effectifs'\n // 14,'Liste des souscripteurs pour connaître la répartition des actions'\n // 15,'Récépissé d’inscription de l’association en préfecture'\n // 16,'Liste des représentants de l’association'\n // 17,'Règlement intérieur',\n REVISION_GUIDE = 18,\n SUMMARY_NOTE = 19,\n BALANCESHEET_NOTE = 20,\n}\n"]}