@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
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ const PaymentMethod = exports.PaymentMethod = {
7
+ DIRECT_DEBIT: {
8
+ id: 1,
9
+ name: 'Prélèvement',
10
+ isSpecial: 0,
11
+ isOverdue: 0
12
+ },
13
+ BANK_TRANSFER: {
14
+ id: 2,
15
+ name: 'Virement',
16
+ isSpecial: 0,
17
+ isOverdue: 0
18
+ },
19
+ BANK_CARD: {
20
+ id: 3,
21
+ name: 'CB',
22
+ isSpecial: 0,
23
+ isOverdue: 0
24
+ },
25
+ BANK_CHECK: {
26
+ id: 4,
27
+ name: 'Chèque',
28
+ isSpecial: 0,
29
+ isOverdue: 0
30
+ },
31
+ DIRECT_DEBIT_REJECTION_1: {
32
+ id: 5,
33
+ name: 'Rejet de prélèvement 1',
34
+ isSpecial: 1,
35
+ isOverdue: 1
36
+ },
37
+ DIRECT_DEBIT_REJECTION_2: {
38
+ id: 6,
39
+ name: 'Rejet de prélèvement 2',
40
+ isSpecial: 1,
41
+ isOverdue: 1
42
+ },
43
+ VARIOUS_UNPAID: {
44
+ id: 7,
45
+ name: 'Impayés divers',
46
+ isSpecial: 1,
47
+ isOverdue: 1
48
+ },
49
+ STRIPE_ECB: {
50
+ id: 8,
51
+ name: 'Stripe (ECB)',
52
+ isSpecial: 0,
53
+ isOverdue: 0
54
+ },
55
+ STRIPE_WI: {
56
+ id: 9,
57
+ name: 'Stripe (WI)',
58
+ isSpecial: 0,
59
+ isOverdue: 0
60
+ },
61
+ CASH: {
62
+ id: 10,
63
+ name: 'Espèces',
64
+ isSpecial: 0,
65
+ isOverdue: 0
66
+ }
67
+ };
68
+ //# sourceMappingURL=PaymentMethod.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../ts/types/Enum/PaymentMethod.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,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S,EAAE;AAJD,GA3Ce;AAiD3B,EAAA,SAAS,EAAE;AACT,IAAA,EAAE,EAAE,CADK;AAET,IAAA,IAAI,EAAE,aAFG;AAGT,IAAA,SAAS,EAAE,CAHF;AAIT,IAAA,SAAS,EAAE;AAJF,GAjDgB;AAuD3B,EAAA,IAAI,EAAE;AACJ,IAAA,EAAE,EAAE,EADA;AAEJ,IAAA,IAAI,EAAE,SAFF;AAGJ,IAAA,SAAS,EAAE,CAHP;AAIJ,IAAA,SAAS,EAAE;AAJP;AAvDqB,CAAtB","sourcesContent":["export const PaymentMethod = {\n DIRECT_DEBIT: {\n id: 1,\n name: 'Prélèvement',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_TRANSFER: {\n id: 2,\n name: 'Virement',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_CARD: {\n id: 3,\n name: 'CB',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_CHECK: {\n id: 4,\n name: 'Chèque',\n isSpecial: 0,\n isOverdue: 0,\n },\n DIRECT_DEBIT_REJECTION_1: {\n id: 5,\n name: 'Rejet de prélèvement 1',\n isSpecial: 1,\n isOverdue: 1,\n },\n DIRECT_DEBIT_REJECTION_2: {\n id: 6,\n name: 'Rejet de prélèvement 2',\n isSpecial: 1,\n isOverdue: 1,\n },\n VARIOUS_UNPAID: {\n id: 7,\n name: 'Impayés divers',\n isSpecial: 1,\n isOverdue: 1,\n },\n STRIPE_ECB: {\n id: 8,\n name: 'Stripe (ECB)',\n isSpecial: 0,\n isOverdue: 0,\n },\n STRIPE_WI: {\n id: 9,\n name: 'Stripe (WI)',\n isSpecial: 0,\n isOverdue: 0,\n },\n CASH: {\n id: 10,\n name: 'Espèces',\n isSpecial: 0,\n isOverdue: 0,\n },\n};"],"sourceRoot":"","file":"PaymentMethod.js"}
@@ -3,11 +3,18 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var ProductType = exports.ProductType = undefined;
7
-
8
- (function (ProductType) {
9
- ProductType[ProductType["PRODUCT"] = 1] = "PRODUCT";
10
- ProductType[ProductType["SERVICE"] = 2] = "SERVICE";
11
- ProductType[ProductType["GOODS"] = 3] = "GOODS";
12
- })(ProductType || (exports.ProductType = ProductType = {}));
6
+ const ProductType = exports.ProductType = {
7
+ PRODUCT: {
8
+ id: 1,
9
+ name: 'Produit'
10
+ },
11
+ SERVICE: {
12
+ id: 2,
13
+ name: 'Service'
14
+ },
15
+ GOODS: {
16
+ id: 3,
17
+ name: 'Marchandise'
18
+ }
19
+ };
13
20
  //# sourceMappingURL=ProductType.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/types/Enum/ProductType.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,WAIX,WAJW,WAIX,YAJD;;AAAA,CAAA,UAAY,WAAZ,EAAuB;AACrB,EAAA,WAAA,CAAA,WAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA;AACA,EAAA,WAAA,CAAA,WAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA;AACA,EAAA,WAAA,CAAA,WAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAA;AACD,CAJD,EAAY,WAAW,aAAX,WAAW,GAAX,WAAW,GAAA,EAAA,CAAvB","sourcesContent":["export enum ProductType {\n PRODUCT = 1,\n SERVICE = 2,\n GOODS = 3,\n}"],"sourceRoot":"","file":"ProductType.js"}
1
+ {"version":3,"sources":["../../../ts/types/Enum/ProductType.ts"],"names":[],"mappings":";;;;;AAOO,MAAM,WAAW,WAAX,WAAW,GAAiB;AACvC,EAAA,OAAO,EAAE;AACP,IAAA,EAAE,EAAE,CADG;AAEP,IAAA,IAAI,EAAE;AAFC,GAD8B;AAKvC,EAAA,OAAO,EAAE;AACP,IAAA,EAAE,EAAE,CADG;AAEP,IAAA,IAAI,EAAE;AAFC,GAL8B;AASvC,EAAA,KAAK,EAAE;AACL,IAAA,EAAE,EAAE,CADC;AAEL,IAAA,IAAI,EAAE;AAFD;AATgC,CAAlC","sourcesContent":["export interface IProductType {\n [key: string]: {\n id: number,\n name: string,\n }\n}\n\nexport const ProductType: IProductType = {\n PRODUCT: {\n id: 1,\n name: 'Produit',\n },\n SERVICE: {\n id: 2,\n name: 'Service',\n },\n GOODS: {\n id: 3,\n name: 'Marchandise',\n },\n};\n"],"sourceRoot":"","file":"ProductType.js"}
@@ -13,7 +13,8 @@ const Vat = exports.Vat = {
13
13
  name: 'Hors-Taxe',
14
14
  collected: 212,
15
15
  deductible: 221,
16
- immobilization: 19
16
+ immobilization: 19,
17
+ roundPercentage: [0]
17
18
  },
18
19
  TX_5_5: {
19
20
  id: 2,
@@ -24,7 +25,8 @@ const Vat = exports.Vat = {
24
25
  name: 'TVA 5.5%',
25
26
  collected: 209,
26
27
  deductible: 4,
27
- immobilization: 10
28
+ immobilization: 10,
29
+ roundPercentage: [5, 6]
28
30
  },
29
31
  TX_10: {
30
32
  id: 3,
@@ -35,7 +37,8 @@ const Vat = exports.Vat = {
35
37
  name: 'TVA 10%',
36
38
  collected: 210,
37
39
  deductible: 5,
38
- immobilization: 11
40
+ immobilization: 11,
41
+ roundPercentage: [10, 11]
39
42
  },
40
43
  TX_20: {
41
44
  id: 4,
@@ -46,7 +49,8 @@ const Vat = exports.Vat = {
46
49
  name: 'TVA 20%',
47
50
  collected: 211,
48
51
  deductible: 6,
49
- immobilization: 12
52
+ immobilization: 12,
53
+ roundPercentage: [19, 20, 21]
50
54
  },
51
55
  TX_2_1: {
52
56
  id: 6,
@@ -57,7 +61,8 @@ const Vat = exports.Vat = {
57
61
  name: 'TVA 2.1%',
58
62
  collected: 222,
59
63
  deductible: 7,
60
- immobilization: 13
64
+ immobilization: 13,
65
+ roundPercentage: [2, 3]
61
66
  },
62
67
  TX_8_5: {
63
68
  id: 7,
@@ -68,7 +73,8 @@ const Vat = exports.Vat = {
68
73
  name: 'TVA 8.5%',
69
74
  collected: 345,
70
75
  deductible: 8,
71
- immobilization: 15
76
+ immobilization: 15,
77
+ roundPercentage: [8, 9]
72
78
  },
73
79
  MARGE: {
74
80
  id: 8,
@@ -79,7 +85,8 @@ const Vat = exports.Vat = {
79
85
  name: 'Sur Marge',
80
86
  collected: 211,
81
87
  deductible: 9,
82
- immobilization: null
88
+ immobilization: null,
89
+ roundPercentage: []
83
90
  },
84
91
  INTRACOM: {
85
92
  id: 9,
@@ -90,7 +97,8 @@ const Vat = exports.Vat = {
90
97
  name: 'TVA intracom',
91
98
  collected: 207,
92
99
  deductible: 208,
93
- immobilization: 208
100
+ immobilization: 208,
101
+ roundPercentage: []
94
102
  },
95
103
  MANUAL: {
96
104
  id: 11,
@@ -101,7 +109,8 @@ const Vat = exports.Vat = {
101
109
  name: 'TVA manuelle',
102
110
  collected: 0,
103
111
  deductible: 0,
104
- immobilization: null
112
+ immobilization: null,
113
+ roundPercentage: []
105
114
  }
106
115
  };
107
116
  //# sourceMappingURL=Vat.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../ts/types/Enum/Vat.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,GAAG,WAAH,GAAG,GAAG;AACjB,EAAA,YAAY,EAAE;AACZ,IAAA,EAAE,EAAE,CADQ;AAEZ;AACA,IAAA,KAAK,EAAE,CAHK;AAIZ,IAAA,KAAK,EAAE,CAJK;AAKZ,IAAA,YAAY,EAAE,CALF;AAMZ,IAAA,IAAI,EAAE,WANM;AAOZ,IAAA,SAAS,EAAE,GAPC;AAQZ,IAAA,UAAU,EAAE,GARA;AASZ,IAAA,cAAc,EAAE;AATJ,GADG;AAYjB,EAAA,MAAM,EAAE;AACN,IAAA,EAAE,EAAE,CADE;AAEN;AACA,IAAA,KAAK,EAAE,CAHD;AAIN,IAAA,KAAK,EAAE,GAJD;AAKN,IAAA,YAAY,EAAE,CALR;AAMN,IAAA,IAAI,EAAE,UANA;AAON,IAAA,SAAS,EAAE,GAPL;AAQN,IAAA,UAAU,EAAE,CARN;AASN,IAAA,cAAc,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EAAE,CALT;AAML,IAAA,IAAI,EAAE,WAND;AAOL,IAAA,SAAS,EAAE,GAPN;AAQL,IAAA,UAAU,EAAE,CARP;AASL,IAAA,cAAc,EAAE;AATX,GAnEU;AA8EjB,EAAA,QAAQ,EAAE;AACR,IAAA,EAAE,EAAE,CADI;AAER;AACA,IAAA,KAAK,EAAE,CAHC;AAIR,IAAA,KAAK,EAAE,EAJC;AAKR,IAAA,YAAY,EAAE,CALN;AAMR,IAAA,IAAI,EAAE,cANE;AAOR,IAAA,SAAS,EAAE,GAPH;AAQR,IAAA,UAAU,EAAE,GARJ;AASR,IAAA,cAAc,EAAE;AATR,GA9EO;AAyFjB,EAAA,MAAM,EAAE;AACN,IAAA,EAAE,EAAE,EADE;AAEN;AACA,IAAA,KAAK,EAAE,EAHD;AAIN,IAAA,KAAK,EAAE,CAJD;AAKN,IAAA,YAAY,EAAE,CALR;AAMN,IAAA,IAAI,EAAE,cANA;AAON,IAAA,SAAS,EAAE,CAPL;AAQN,IAAA,UAAU,EAAE,CARN;AASN,IAAA,cAAc,EAAE;AATV;AAzFS,CAAZ","sourcesContent":["export const Vat = {\n WITHOUT_TAXE: {\n id: 1,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 1,\n value: 0,\n displayOrder: 6,\n name: 'Hors-Taxe',\n collected: 212,\n deductible: 221,\n immobilization: 19,\n },\n TX_5_5: {\n id: 2,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 2,\n value: 5.5,\n displayOrder: 4,\n name: 'TVA 5.5%',\n collected: 209,\n deductible: 4,\n immobilization: 10,\n },\n TX_10: {\n id: 3,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 3,\n value: 10,\n displayOrder: 2,\n name: 'TVA 10%',\n collected: 210,\n deductible: 5,\n immobilization: 11,\n },\n TX_20: {\n id: 4,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 4,\n value: 20,\n displayOrder: 1,\n name: 'TVA 20%',\n collected: 211,\n deductible: 6,\n immobilization: 12,\n },\n TX_2_1: {\n id: 6,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 6,\n value: 2.1,\n displayOrder: 5,\n name: 'TVA 2.1%',\n collected: 222,\n deductible: 7,\n immobilization: 13,\n },\n TX_8_5: {\n id: 7,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 7,\n value: 8.5,\n displayOrder: 3,\n name: 'TVA 8.5%',\n collected: 345,\n deductible: 8,\n immobilization: 15,\n },\n MARGE: {\n id: 8,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 8,\n value: 0,\n displayOrder: 9,\n name: 'Sur Marge',\n collected: 211,\n deductible: 9,\n immobilization: null,\n },\n INTRACOM: {\n id: 9,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 9,\n value: 20,\n displayOrder: 7,\n name: 'TVA intracom',\n collected: 207,\n deductible: 208,\n immobilization: 208,\n },\n MANUAL: {\n id: 11,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 11,\n value: 0,\n displayOrder: 8,\n name: 'TVA manuelle',\n collected: 0,\n deductible: 0,\n immobilization: null,\n },\n};"],"sourceRoot":"","file":"Vat.js"}
1
+ {"version":3,"sources":["../../../ts/types/Enum/Vat.ts"],"names":[],"mappings":";;;;;AAAO,MAAM,GAAG,WAAH,GAAG,GAAG;AACjB,EAAA,YAAY,EAAE;AACZ,IAAA,EAAE,EAAE,CADQ;AAEZ;AACA,IAAA,KAAK,EAAE,CAHK;AAIZ,IAAA,KAAK,EAAE,CAJK;AAKZ,IAAA,YAAY,EAAE,CALF;AAMZ,IAAA,IAAI,EAAE,WANM;AAOZ,IAAA,SAAS,EAAE,GAPC;AAQZ,IAAA,UAAU,EAAE,GARA;AASZ,IAAA,cAAc,EAAE,EATJ;AAUZ,IAAA,eAAe,EAAE,CAAC,CAAD;AAVL,GADG;AAajB,EAAA,MAAM,EAAE;AACN,IAAA,EAAE,EAAE,CADE;AAEN;AACA,IAAA,KAAK,EAAE,CAHD;AAI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at = {\n WITHOUT_TAXE: {\n id: 1,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 1,\n value: 0,\n displayOrder: 6,\n name: 'Hors-Taxe',\n collected: 212,\n deductible: 221,\n immobilization: 19,\n roundPercentage: [0],\n },\n TX_5_5: {\n id: 2,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 2,\n value: 5.5,\n displayOrder: 4,\n name: 'TVA 5.5%',\n collected: 209,\n deductible: 4,\n immobilization: 10,\n roundPercentage: [5, 6],\n },\n TX_10: {\n id: 3,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 3,\n value: 10,\n displayOrder: 2,\n name: 'TVA 10%',\n collected: 210,\n deductible: 5,\n immobilization: 11,\n roundPercentage: [10, 11],\n },\n TX_20: {\n id: 4,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 4,\n value: 20,\n displayOrder: 1,\n name: 'TVA 20%',\n collected: 211,\n deductible: 6,\n immobilization: 12,\n roundPercentage: [19, 20, 21],\n },\n TX_2_1: {\n id: 6,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 6,\n value: 2.1,\n displayOrder: 5,\n name: 'TVA 2.1%',\n collected: 222,\n deductible: 7,\n immobilization: 13,\n roundPercentage: [2, 3],\n },\n TX_8_5: {\n id: 7,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 7,\n value: 8.5,\n displayOrder: 3,\n name: 'TVA 8.5%',\n collected: 345,\n deductible: 8,\n immobilization: 15,\n roundPercentage: [8, 9],\n },\n MARGE: {\n id: 8,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 8,\n value: 0,\n displayOrder: 9,\n name: 'Sur Marge',\n collected: 211,\n deductible: 9,\n immobilization: null,\n roundPercentage: [],\n },\n INTRACOM: {\n id: 9,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 9,\n value: 20,\n displayOrder: 7,\n name: 'TVA intracom',\n collected: 207,\n deductible: 208,\n immobilization: 208,\n roundPercentage: [],\n },\n MANUAL: {\n id: 11,\n // TODO We should remove idTva when GET vat is remove from api v1\n idTva: 11,\n value: 0,\n displayOrder: 8,\n name: 'TVA manuelle',\n collected: 0,\n deductible: 0,\n immobilization: null,\n roundPercentage: [],\n },\n};"],"sourceRoot":"","file":"Vat.js"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=Ocr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"Ocr.js"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=OcrPayload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"OcrPayload.js"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=OcrValue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"OcrValue.js"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.QueryAccountingFiles = undefined;
7
+
8
+ var _utils = require("../../../../utils");
9
+
10
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
11
+
12
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
13
+ var c = arguments.length,
14
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
15
+ d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
17
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
18
+ };
19
+
20
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
21
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
+ };
23
+
24
+ class QueryAccountingFiles {}
25
+
26
+ exports.QueryAccountingFiles = QueryAccountingFiles;
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], QueryAccountingFiles.prototype, "idAccountingType", void 0);
29
+
30
+ __decorate([(0, _utils.ApiProperty)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryAccountingFiles.prototype, "split", void 0);
31
+
32
+ __decorate([(0, _utils.ApiProperty)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryAccountingFiles.prototype, "isPayPerso", void 0);
33
+
34
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Array)], QueryAccountingFiles.prototype, "files", void 0);
35
+ //# sourceMappingURL=queryAccountingFiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,oBAAP,CAA2B;;QAApB,oB,GAAA,oB;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,8BAAA,E,kBAAA,E,KAAyB,CAAzB,CAAA;;AAIA,UAAA,CAAA,CAFC,yBAED,EADC,yBACD,E,kCAAA,CAAA,E,8BAAA,E,OAAA,E,KAAe,CAAf,CAAA;;AAIA,UAAA,CAAA,CAFC,yBAED,EADC,yBACD,E,kCAAA,CAAA,E,8BAAA,E,YAAA,E,KAAoB,CAApB,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,gCAAA,CAAA,E,8BAAA,E,OAAA,E,KAAc,CAAd,CAAA","sourcesContent":["import { ApiProperty } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryAccountingFiles {\n @ApiProperty()\n idAccountingType: number;\n\n @ApiProperty()\n @ToBoolean()\n split: boolean;\n\n @ApiProperty()\n @ToBoolean()\n isPayPerso: boolean;\n\n @ApiProperty()\n files: File[];\n}"],"sourceRoot":"","file":"queryAccountingFiles.js"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ class ReadBalanceSheetTransaction {}
8
+
9
+ exports.ReadBalanceSheetTransaction = ReadBalanceSheetTransaction;
10
+ //# sourceMappingURL=ReadBalanceSheetTransaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.ts"],"names":[],"mappings":";;;;;;AAAM,MAAO,2BAAP,CAAkC;;QAA3B,2B,GAAA,2B","sourcesContent":["export class ReadBalanceSheetTransaction {\n idAccountingTransaction: number;\n label: string;\n date: Date;\n totalPriceTaxIncluded: number;\n}"],"sourceRoot":"","file":"ReadBalanceSheetTransaction.js"}
@@ -49,5 +49,7 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(),
49
49
 
50
50
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateBalanceSheetModuleForm.prototype, "hasLaundryFees", void 0);
51
51
 
52
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateBalanceSheetModuleForm.prototype, "hasMealExpenses", void 0);
53
+
52
54
  __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateBalanceSheetModuleForm.prototype, "idExercice", void 0);
53
55
  //# sourceMappingURL=CreateBalanceSheetModule.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../ts/types/Inter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YAAA,E,KAAmB,CAAnB,CAAA","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory?: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare?: boolean;\n\n // @ApiPropertyOptional()\n // deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n salariesFile?: boolean;\n\n @ApiPropertyOptional()\n hasCustomerInvoiceToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerAssetToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerPrepaidIncome?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderPrepaidReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderAssetToReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderInvoiceNotReceived?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasManualEntryToDeclare?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasLaundryFees?: boolean | null;\n\n @ApiProperty()\n idExercice: number;\n}"],"sourceRoot":"","file":"CreateBalanceSheetModule.js"}
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,4BAAP,CAAmC;;QAA5B,4B,GAAA,4B;;AAEX,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,WAAA,E,KAAoB,CAApB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,eAAA,E,KAAwB,CAAxB,CAAA;;AAMA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,cAAA,E,KAAuB,CAAvB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,+BAAA,E,KAA+C,CAA/C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,6BAAA,E,KAA6C,CAA7C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,0BAAA,E,KAA0C,CAA1C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,4BAAA,E,KAA4C,CAA5C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,4BAAA,E,KAA4C,CAA5C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,+BAAA,E,KAA+C,CAA/C,CAAA;;AAMA,UAAA,CAAA,CAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,yBAAA,E,KAAyC,CAAzC,CAAA;;AAMA,UAAA,CAAA,CAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,gBAAA,E,KAAgC,CAAhC,CAAA;;AAMA,UAAA,CAAA,CAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,iBAAA,E,KAAiC,CAAjC,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,sCAAA,E,YAAA,E,KAAmB,CAAnB,CAAA","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory?: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare?: boolean;\n\n // @ApiPropertyOptional()\n // deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n salariesFile?: boolean;\n\n @ApiPropertyOptional()\n hasCustomerInvoiceToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerAssetToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerPrepaidIncome?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderPrepaidReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderAssetToReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderInvoiceNotReceived?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasManualEntryToDeclare?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasLaundryFees?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasMealExpenses?: boolean | null;\n\n @ApiProperty()\n idExercice: number;\n}"],"sourceRoot":"","file":"CreateBalanceSheetModule.js"}
@@ -49,5 +49,7 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(),
49
49
 
50
50
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateBalanceSheetModuleForm.prototype, "hasLaundryFees", void 0);
51
51
 
52
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateBalanceSheetModuleForm.prototype, "hasMealExpenses", void 0);
53
+
52
54
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], UpdateBalanceSheetModuleForm.prototype, "idExercice", void 0);
53
55
  //# sourceMappingURL=UpdateBalanceSheetModule.js.map
@@ -1 +1 @@
1
- {"version":3,"sources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,CAAA,E,sCAAA,E,YAAA,E,KAAoB,CAApB,CAAA","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare?: boolean;\n\n // @ApiPropertyOptional()\n // deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n hasCustomerInvoiceToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerAssetToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerPrepaidIncome?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderPrepaidReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderAssetToReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderInvoiceNotReceived?: boolean | null;\n\n @ApiPropertyOptional()\n salariesFile?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasManualEntryToDeclare?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasLaundryFees?: boolean | null;\n\n @ApiPropertyOptional()\n idExercice?: number;\n}"],"sourceRoot":"","file":"UpdateBalanceSheetModule.js"}
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,4BAAP,CAAmC;;QAA5B,4B,GAAA,4B;;AAEX,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,WAAA,E,KAAmB,CAAnB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,eAAA,E,KAAwB,CAAxB,CAAA;;AAMA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,+BAAA,E,KAA+C,CAA/C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,6BAAA,E,KAA6C,CAA7C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,0BAAA,E,KAA0C,CAA1C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,4BAAA,E,KAA4C,CAA5C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,4BAAA,E,KAA4C,CAA5C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,+BAAA,E,KAA+C,CAA/C,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,sCAAA,E,cAAA,E,KAAuB,CAAvB,CAAA;;AAMA,UAAA,CAAA,CAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,yBAAA,E,KAAyC,CAAzC,CAAA;;AAMA,UAAA,CAAA,CAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,gBAAA,E,KAAgC,CAAhC,CAAA;;AAMA,UAAA,CAAA,CAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,iBAAA,E,KAAiC,CAAjC,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,sCAAA,E,YAAA,E,KAAoB,CAApB,CAAA","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateBalanceSheetModuleForm {\n @ApiPropertyOptional()\n inventory: boolean;\n\n @ApiPropertyOptional()\n loanToDeclare?: boolean;\n\n // @ApiPropertyOptional()\n // deadlinerecoveryImmobilization: boolean;\n\n @ApiPropertyOptional()\n hasCustomerInvoiceToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerAssetToEstablish?: boolean | null;\n\n @ApiPropertyOptional()\n hasCustomerPrepaidIncome?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderPrepaidReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderAssetToReceived?: boolean | null;\n\n @ApiPropertyOptional()\n hasProviderInvoiceNotReceived?: boolean | null;\n\n @ApiPropertyOptional()\n salariesFile?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasManualEntryToDeclare?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasLaundryFees?: boolean | null;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n hasMealExpenses?: boolean | null;\n\n @ApiPropertyOptional()\n idExercice?: number;\n}"],"sourceRoot":"","file":"UpdateBalanceSheetModule.js"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CreateExercice = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _decorators = require("../../../../utils/decorators");
11
+
12
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
13
+
14
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15
+ var c = arguments.length,
16
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
17
+ d;
18
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
19
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
20
+ };
21
+
22
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
23
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
24
+ };
25
+
26
+ class CreateExercice {}
27
+
28
+ exports.CreateExercice = CreateExercice;
29
+
30
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], CreateExercice.prototype, "startDate", void 0);
31
+
32
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], CreateExercice.prototype, "endDate", void 0);
33
+
34
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "isBack", void 0);
35
+
36
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "close", void 0);
37
+
38
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "allAnnote", void 0);
39
+
40
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "current", void 0);
41
+
42
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "withApproval", void 0);
43
+
44
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "reviewGuide", void 0);
45
+
46
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "summaryNote", void 0);
47
+
48
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "receiptJeDeclare", void 0);
49
+
50
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "annualFolderEdition", void 0);
51
+
52
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], CreateExercice.prototype, "processClossingExercice", void 0);
53
+
54
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateExercice.prototype, "idSociety", void 0);
55
+ //# sourceMappingURL=CreateExercice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/exercice/CreateExercice.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,cAAP,CAAqB;;QAAd,c,GAAA,c;;AAGX,UAAA,CAAA,CAFC,8BAED,EADC,6BACD,E,0BAAW,I,CAAX,CAAA,E,wBAAA,E,WAAA,E,KAAgB,CAAhB,CAAA;;AAIA,UAAA,CAAA,CAFC,8BAED,EADC,6BACD,E,0BAAS,I,CAAT,CAAA,E,wBAAA,E,SAAA,E,KAAc,CAAd,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E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BAAA,E,WAAA,E,KAAkB,CAAlB,CAAA","sourcesContent":["import {\n IsBoolean, IsDate, IsNumber, IsOptional,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateExercice {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isBack?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n close?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n allAnnote?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n current?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withApproval?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n reviewGuide?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n summaryNote?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n receiptJeDeclare?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n annualFolderEdition?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n processClossingExercice?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}"],"sourceRoot":"","file":"CreateExercice.js"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.QueryExercice = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _decorators = require("../../../../utils/decorators");
11
+
12
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
13
+
14
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15
+ var c = arguments.length,
16
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
17
+ d;
18
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
19
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
20
+ };
21
+
22
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
23
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
24
+ };
25
+
26
+ class QueryExercice {}
27
+
28
+ exports.QueryExercice = QueryExercice;
29
+
30
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], QueryExercice.prototype, "id", void 0);
31
+
32
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsDate)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Date)], QueryExercice.prototype, "startDate", void 0);
33
+
34
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsDate)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Date)], QueryExercice.prototype, "endDate", void 0);
35
+
36
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryExercice.prototype, "isBack", void 0);
37
+ //# sourceMappingURL=QueryExercice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/exercice/QueryExercice.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,aAAP,CAAoB;;QAAb,a,GAAA,a;;AAGX,UAAA,CAAA,CAFC,sCAED,EADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,IAAA,E,KAAuB,CAAvB,CAAA;;AAKA,UAAA,CAAA,CAHC,sCAGD,EAFC,6BAED,EADC,iCACD,E,0BAAY,I,CAAZ,CAAA,E,uBAAA,E,WAAA,E,KAAiB,CAAjB,CAAA;;AAKA,UAAA,CAAA,CAHC,sCAGD,EAFC,6BAED,EADC,iCACD,E,0BAAU,I,CAAV,CAAA,E,uBAAA,E,SAAA,E,KAAe,CAAf,CAAA;;AAMA,UAAA,CAAA,CAJC,sCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD,E,kCAAA,CAAA,E,uBAAA,E,QAAA,E,KAAiB,CAAjB,CAAA","sourcesContent":["import { IsBoolean, IsDate, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryExercice {\n @ApiPropertyOptional()\n @IsOptional()\n id?: number | number[];\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isBack?: boolean;\n}"],"sourceRoot":"","file":"QueryExercice.js"}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CreateInternalInvoicing = undefined;
7
+
8
+ var _utils = require("../../../../utils");
9
+
10
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11
+ var c = arguments.length,
12
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
13
+ d;
14
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
15
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
16
+ };
17
+
18
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
19
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
20
+ };
21
+
22
+ class CreateInternalInvoicing {}
23
+
24
+ exports.CreateInternalInvoicing = CreateInternalInvoicing;
25
+
26
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateInternalInvoicing.prototype, "month", void 0);
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateInternalInvoicing.prototype, "year", void 0);
29
+ //# sourceMappingURL=CreateInternalInvoicing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAO,uBAAP,CAA8B;;QAAvB,uB,GAAA,uB;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,iCAAA,E,OAAA,E,KAAc,CAAd,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,iCAAA,E,MAAA,E,KAAa,CAAb,CAAA","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class CreateInternalInvoicing {\n @ApiProperty()\n month: number;\n\n @ApiProperty()\n year: number;\n}\n"],"sourceRoot":"","file":"CreateInternalInvoicing.js"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ class JournalDebitCredit {}
8
+
9
+ exports.JournalDebitCredit = JournalDebitCredit;
10
+
11
+ class PeriodDatum extends JournalDebitCredit {}
12
+
13
+ exports.PeriodDatum = PeriodDatum;
14
+
15
+ class IPeriodsCentralisation {}
16
+
17
+ exports.IPeriodsCentralisation = IPeriodsCentralisation;
18
+
19
+ class IPeriods {}
20
+
21
+ exports.IPeriods = IPeriods;
22
+
23
+ class Journals {}
24
+
25
+ exports.Journals = Journals;
26
+
27
+ class JsonExportJournal {}
28
+
29
+ exports.JsonExportJournal = JsonExportJournal;
30
+ //# sourceMappingURL=Journals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/journal/Journals.ts"],"names":[],"mappings":";;;;;;AAAM,MAAO,kBAAP,CAAyB;;QAAlB,kB,GAAA,kB;;AAKP,MAAO,WAAP,SAA2B,kBAA3B,CAA6C;;QAAtC,W,GAAA,W;;AASP,MAAO,sBAAP,CAA6B;;QAAtB,sB,GAAA,sB;;AAOP,MAAO,QAAP,CAAe;;QAAR,Q,GAAA,Q;;AAWP,MAAO,QAAP,CAAe;;QAAR,Q,GAAA,Q;;AAUP,MAAO,iBAAP,CAAwB;;QAAjB,iB,GAAA,iB","sourcesContent":["export class JournalDebitCredit {\n debit?: number;\n credit?: number;\n}\n\nexport class PeriodDatum extends JournalDebitCredit {\n dateValue: string | Date;\n invoiceNumber: string;\n designation: string;\n account: number;\n accountName: string;\n master: boolean;\n}\n\nexport class IPeriodsCentralisation {\n [index: string]: {\n account: number;\n accountName: string;\n } & JournalDebitCredit;\n}\n\nexport class IPeriods {\n [index: string]: {\n monthYearPeriods: string;\n data?: PeriodDatum[];\n dataCentralisation?: IPeriodsCentralisation;\n total: {\n accumulated: JournalDebitCredit;\n month: JournalDebitCredit;\n };\n };\n}\nexport class Journals {\n [index: string]: {\n idJournal: number;\n // eslint-disable-next-line no-restricted-globals\n name: string;\n fullName: string;\n periods?: IPeriods;\n };\n}\n\nexport class JsonExportJournal {\n idSociety: number;\n startDate: string;\n endDate: string;\n data: Journals;\n}\n"],"sourceRoot":"","file":"Journals.js"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.QueryJournal = undefined;
7
+
8
+ var _utils = require("../../../../utils");
9
+
10
+ var _formattedDateString = require("../../../../utils/validators/formattedDateString.validator");
11
+
12
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
13
+ var c = arguments.length,
14
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
15
+ d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
17
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
18
+ };
19
+
20
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
21
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
+ };
23
+
24
+ class QueryJournal {}
25
+
26
+ exports.QueryJournal = QueryJournal;
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), (0, _formattedDateString.IsFormattedDateString)(), __metadata("design:type", String)], QueryJournal.prototype, "startDate", void 0);
29
+
30
+ __decorate([(0, _utils.ApiProperty)(), (0, _formattedDateString.IsFormattedDateString)(), __metadata("design:type", String)], QueryJournal.prototype, "endDate", void 0);
31
+
32
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Array)], QueryJournal.prototype, "accountingJournalIds", void 0);
33
+ //# sourceMappingURL=QueryJournal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/journal/QueryJournal.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAO,YAAP,CAAmB;;QAAZ,Y,GAAA,Y;;AAGX,UAAA,CAAA,CAFC,yBAED,EADC,iDACD,E,iCAAA,CAAA,E,sBAAA,E,WAAA,E,KAAkB,CAAlB,CAAA;;AAIA,UAAA,CAAA,CAFC,yBAED,EADC,iDACD,E,iCAAA,CAAA,E,sBAAA,E,SAAA,E,KAAgB,CAAhB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,gCAAA,CAAA,E,sBAAA,E,sBAAA,E,KAAgC,CAAhC,CAAA","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\n\nexport class QueryJournal {\n @ApiProperty()\n @IsFormattedDateString()\n startDate: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n accountingJournalIds?: number[];\n}\n"],"sourceRoot":"","file":"QueryJournal.js"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CreateMealExpense = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _ = require("../../../..");
11
+
12
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
13
+ var c = arguments.length,
14
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
15
+ d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
17
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
18
+ };
19
+
20
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
21
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
+ };
23
+
24
+ class CreateMealExpense {}
25
+
26
+ exports.CreateMealExpense = CreateMealExpense;
27
+
28
+ __decorate([(0, _.ApiProperty)(), (0, _classValidator.ArrayUnique)(), (0, _classValidator.IsInt)({
29
+ each: true
30
+ }), (0, _classValidator.IsPositive)({
31
+ each: true
32
+ }), __metadata("design:type", Array)], CreateMealExpense.prototype, "transactionIds", void 0);
33
+ //# sourceMappingURL=CreateMealExpense.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/mealExpense/CreateMealExpense.ts"],"names":[],"mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAO,iBAAP,CAAwB;;QAAjB,iB,GAAA,iB;;AASX,UAAA,CAAA,CARC,oBAQD,EAPC,kCAOD,EANC,2BAAM;AACL,EAAA,IAAI,EAAE;AADD,CAAN,CAMD,EAHC,gCAAW;AACV,EAAA,IAAI,EAAE;AADI,CAAX,CAGD,E,0BAAgB,K,CAAhB,CAAA,E,2BAAA,E,gBAAA,E,KAA8B,CAA9B,CAAA","sourcesContent":["import {\n ArrayUnique, IsInt, IsPositive,\n} from 'class-validator';\nimport { ApiProperty } from '../../../..';\n\nexport class CreateMealExpense {\n @ApiProperty()\n @ArrayUnique()\n @IsInt({\n each: true,\n })\n @IsPositive({\n each: true,\n })\n transactionIds: Array<number>;\n}"],"sourceRoot":"","file":"CreateMealExpense.js"}