@silexpert/core 1.0.14 → 1.0.19

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 (294) hide show
  1. package/es/api/resources/CommercialDocument.d.ts +2 -1
  2. package/es/api/resources/CommercialDocument.d.ts.map +1 -1
  3. package/es/api/resources/CommercialDocument.js +3 -0
  4. package/es/api/resources/CommercialDocument.js.map +1 -1
  5. package/es/api/resources/CommercialSetting.d.ts +3 -1
  6. package/es/api/resources/CommercialSetting.d.ts.map +1 -1
  7. package/es/api/resources/CommercialSetting.js +6 -0
  8. package/es/api/resources/CommercialSetting.js.map +1 -1
  9. package/es/api/resources/Dashboard.d.ts +1 -2
  10. package/es/api/resources/Dashboard.d.ts.map +1 -1
  11. package/es/api/resources/Dashboard.js +0 -3
  12. package/es/api/resources/Dashboard.js.map +1 -1
  13. package/es/api/resources/Mail.js +2 -2
  14. package/es/api/resources/Mail.js.map +1 -1
  15. package/es/api/resources/Qonto.d.ts +6 -1
  16. package/es/api/resources/Qonto.d.ts.map +1 -1
  17. package/es/api/resources/Qonto.js +15 -0
  18. package/es/api/resources/Qonto.js.map +1 -1
  19. package/es/api/resources/Stripe.d.ts +6 -0
  20. package/es/api/resources/Stripe.d.ts.map +1 -0
  21. package/es/api/resources/Stripe.js +7 -0
  22. package/es/api/resources/Stripe.js.map +1 -0
  23. package/es/api/resources/User.d.ts +2 -2
  24. package/es/api/resources/User.d.ts.map +1 -1
  25. package/es/api/resources/User.js +2 -11
  26. package/es/api/resources/User.js.map +1 -1
  27. package/es/api/resources.d.ts +2 -0
  28. package/es/api/resources.d.ts.map +1 -1
  29. package/es/api/resources.js +2 -0
  30. package/es/api/resources.js.map +1 -1
  31. package/es/types/Enum/BrandClementine.d.ts +3 -1
  32. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  33. package/es/types/Enum/BrandClementine.js +3 -0
  34. package/es/types/Enum/BrandClementine.js.map +1 -1
  35. package/es/types/Enum/CommercialManagement.d.ts +14 -2
  36. package/es/types/Enum/CommercialManagement.d.ts.map +1 -1
  37. package/es/types/Enum/CommercialManagement.js +24 -1
  38. package/es/types/Enum/CommercialManagement.js.map +1 -1
  39. package/es/types/Enum/Role.d.ts +6 -11
  40. package/es/types/Enum/Role.d.ts.map +1 -1
  41. package/es/types/Enum/Role.js +15 -10
  42. package/es/types/Enum/Role.js.map +1 -1
  43. package/es/types/Enum/RoleDetail.d.ts +40 -56
  44. package/es/types/Enum/RoleDetail.d.ts.map +1 -1
  45. package/es/types/Enum/RoleDetail.js +120 -64
  46. package/es/types/Enum/RoleDetail.js.map +1 -1
  47. package/es/types/Enum/Rules.d.ts +2 -0
  48. package/es/types/Enum/Rules.d.ts.map +1 -0
  49. package/es/types/Enum/Rules.js +19 -0
  50. package/es/types/Enum/Rules.js.map +1 -0
  51. package/es/types/Enum/TaskResponseType.d.ts +0 -1
  52. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  53. package/es/types/Enum/TaskResponseType.js +25 -3
  54. package/es/types/Enum/TaskResponseType.js.map +1 -1
  55. package/es/types/Enum/TimeCounterType.js +7 -7
  56. package/es/types/Enum/TimeCounterType.js.map +1 -1
  57. package/es/types/Interface/api/commercialManagement/Create.d.ts +5 -1
  58. package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  59. package/es/types/Interface/api/commercialManagement/Create.js +23 -1
  60. package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
  61. package/es/types/Interface/api/commercialManagement/Query.d.ts +6 -0
  62. package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
  63. package/es/types/Interface/api/commercialManagement/Query.js +29 -0
  64. package/es/types/Interface/api/commercialManagement/Query.js.map +1 -1
  65. package/es/types/Interface/api/commercialManagement/Read.d.ts +20 -0
  66. package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
  67. package/es/types/Interface/api/commercialManagement/Read.js.map +1 -1
  68. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts +1 -1
  69. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts.map +1 -1
  70. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +1 -1
  71. package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  72. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -1
  73. package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
  74. package/es/types/Interface/api/mail/QueryPaginatedMail.js +1 -1
  75. package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  76. package/es/types/Interface/api/qonto/CreateImportation.d.ts +5 -0
  77. package/es/types/Interface/api/qonto/CreateImportation.d.ts.map +1 -0
  78. package/es/types/Interface/api/{dashboard/QueryGescom.js → qonto/CreateImportation.js} +12 -19
  79. package/es/types/Interface/api/qonto/CreateImportation.js.map +1 -0
  80. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts +5 -0
  81. package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +1 -0
  82. package/es/types/Interface/api/qonto/CreateQontoConnection.js +24 -0
  83. package/es/types/Interface/api/qonto/CreateQontoConnection.js.map +1 -0
  84. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts +4 -0
  85. package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts.map +1 -0
  86. package/es/types/Interface/api/qonto/GetConnectionInformation.js +19 -0
  87. package/es/types/Interface/api/qonto/GetConnectionInformation.js.map +1 -0
  88. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts +5 -0
  89. package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +1 -0
  90. package/es/types/Interface/api/qonto/ProcessBankAccount.js +24 -0
  91. package/es/types/Interface/api/qonto/ProcessBankAccount.js.map +1 -0
  92. package/es/types/Interface/api/qonto/Query.d.ts +77 -0
  93. package/es/types/Interface/api/qonto/Query.d.ts.map +1 -0
  94. package/es/types/Interface/api/qonto/Query.js +2 -0
  95. package/es/types/Interface/api/qonto/Query.js.map +1 -0
  96. package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts +6 -0
  97. package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts.map +1 -0
  98. package/es/types/Interface/api/qonto/ReadCreateConnection.js +2 -0
  99. package/es/types/Interface/api/qonto/ReadCreateConnection.js.map +1 -0
  100. package/es/types/Interface/api/qonto/UpdateConnection.d.ts +4 -0
  101. package/es/types/Interface/api/qonto/UpdateConnection.d.ts.map +1 -0
  102. package/es/types/Interface/api/qonto/UpdateConnection.js +19 -0
  103. package/es/types/Interface/api/qonto/UpdateConnection.js.map +1 -0
  104. package/es/types/Interface/api/stripe/Create.d.ts +4 -0
  105. package/es/types/Interface/api/stripe/Create.d.ts.map +1 -0
  106. package/es/types/Interface/api/stripe/Create.js +19 -0
  107. package/es/types/Interface/api/stripe/Create.js.map +1 -0
  108. package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts +3 -0
  109. package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts.map +1 -1
  110. package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.js +18 -1
  111. package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
  112. package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts +3 -0
  113. package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts.map +1 -1
  114. package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.js +18 -1
  115. package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
  116. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +1 -0
  117. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
  118. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js +10 -1
  119. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  120. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts +1 -0
  121. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
  122. package/es/types/Interface/api/user/QueryGetAllCollaborators.js +11 -1
  123. package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  124. package/es/types/Interface/models/IApiError.d.ts +2 -0
  125. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  126. package/es/types/Interface/models/IApiError.js +3 -0
  127. package/es/types/Interface/models/IApiError.js.map +1 -1
  128. package/es/types/Interface/models/IEstimateInvoice.d.ts +5 -2
  129. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  130. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  131. package/es/types/Interface/models/IPrestationHistory.d.ts +13 -0
  132. package/es/types/Interface/models/IPrestationHistory.d.ts.map +1 -0
  133. package/es/types/Interface/models/IPrestationHistory.js +2 -0
  134. package/es/types/Interface/models/IPrestationHistory.js.map +1 -0
  135. package/es/types/Interface/models/ISocietyGescom.d.ts +3 -1
  136. package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  137. package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
  138. package/es/types/Interface/models/IThirdParty.d.ts +3 -0
  139. package/es/types/Interface/models/IThirdParty.d.ts.map +1 -1
  140. package/es/types/Interface/models/IThirdParty.js.map +1 -1
  141. package/es/types/index.d.ts +10 -2
  142. package/es/types/index.d.ts.map +1 -1
  143. package/es/types/index.js +10 -2
  144. package/es/types/index.js.map +1 -1
  145. package/es/utils/commercialManagement/document.d.ts.map +1 -1
  146. package/es/utils/commercialManagement/document.js +8 -8
  147. package/es/utils/commercialManagement/document.js.map +1 -1
  148. package/es/utils/commercialManagement/templates/body.d.ts.map +1 -1
  149. package/es/utils/commercialManagement/templates/body.js +3 -1
  150. package/es/utils/commercialManagement/templates/body.js.map +1 -1
  151. package/es/utils/commercialManagement/templates/common.d.ts.map +1 -1
  152. package/es/utils/commercialManagement/templates/common.js +20 -1
  153. package/es/utils/commercialManagement/templates/common.js.map +1 -1
  154. package/es/utils/task.d.ts +1 -2
  155. package/es/utils/task.d.ts.map +1 -1
  156. package/es/utils/task.js +17 -20
  157. package/es/utils/task.js.map +1 -1
  158. package/es/utils/webmail.d.ts.map +1 -1
  159. package/es/utils/webmail.js +1 -4
  160. package/es/utils/webmail.js.map +1 -1
  161. package/js/api/resources/CommercialDocument.js +6 -0
  162. package/js/api/resources/CommercialDocument.js.map +1 -1
  163. package/js/api/resources/CommercialSetting.js +8 -0
  164. package/js/api/resources/CommercialSetting.js.map +1 -1
  165. package/js/api/resources/Dashboard.js +0 -6
  166. package/js/api/resources/Dashboard.js.map +1 -1
  167. package/js/api/resources/Mail.js +2 -2
  168. package/js/api/resources/Mail.js.map +1 -1
  169. package/js/api/resources/Qonto.js +22 -0
  170. package/js/api/resources/Qonto.js.map +1 -1
  171. package/js/api/resources/Stripe.js +20 -0
  172. package/js/api/resources/Stripe.js.map +1 -0
  173. package/js/api/resources/User.js +5 -3
  174. package/js/api/resources/User.js.map +1 -1
  175. package/js/api/resources.js +4 -1
  176. package/js/api/resources.js.map +1 -1
  177. package/js/types/Enum/BrandClementine.js +3 -0
  178. package/js/types/Enum/BrandClementine.js.map +1 -1
  179. package/js/types/Enum/CommercialManagement.js +22 -1
  180. package/js/types/Enum/CommercialManagement.js.map +1 -1
  181. package/js/types/Enum/Role.js +18 -13
  182. package/js/types/Enum/Role.js.map +1 -1
  183. package/js/types/Enum/RoleDetail.js +142 -86
  184. package/js/types/Enum/RoleDetail.js.map +1 -1
  185. package/js/types/Enum/Rules.js +7 -0
  186. package/js/types/Enum/Rules.js.map +1 -0
  187. package/js/types/Enum/TaskResponseType.js +24 -4
  188. package/js/types/Enum/TaskResponseType.js.map +1 -1
  189. package/js/types/Enum/TimeCounterType.js +7 -7
  190. package/js/types/Enum/TimeCounterType.js.map +1 -1
  191. package/js/types/Interface/api/commercialManagement/Create.js +11 -1
  192. package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
  193. package/js/types/Interface/api/commercialManagement/Query.js +15 -3
  194. package/js/types/Interface/api/commercialManagement/Query.js.map +1 -1
  195. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +1 -1
  196. package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
  197. package/js/types/Interface/api/mail/QueryPaginatedMail.js +1 -1
  198. package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
  199. package/js/types/Interface/api/{dashboard/QueryGescom.js → qonto/CreateImportation.js} +8 -12
  200. package/js/types/Interface/api/qonto/CreateImportation.js.map +1 -0
  201. package/js/types/Interface/api/qonto/CreateQontoConnection.js +31 -0
  202. package/js/types/Interface/api/qonto/CreateQontoConnection.js.map +1 -0
  203. package/js/types/Interface/api/qonto/GetConnectionInformation.js +29 -0
  204. package/js/types/Interface/api/qonto/GetConnectionInformation.js.map +1 -0
  205. package/js/types/Interface/api/qonto/ProcessBankAccount.js +31 -0
  206. package/js/types/Interface/api/qonto/ProcessBankAccount.js.map +1 -0
  207. package/js/types/Interface/api/qonto/Query.js +6 -0
  208. package/js/types/Interface/api/qonto/Query.js.map +1 -0
  209. package/js/types/Interface/api/qonto/ReadCreateConnection.js +6 -0
  210. package/js/types/Interface/api/qonto/ReadCreateConnection.js.map +1 -0
  211. package/js/types/Interface/api/qonto/UpdateConnection.js +29 -0
  212. package/js/types/Interface/api/qonto/UpdateConnection.js.map +1 -0
  213. package/js/types/Interface/api/stripe/Create.js +29 -0
  214. package/js/types/Interface/api/stripe/Create.js.map +1 -0
  215. package/js/types/Interface/api/thirdParty/CreateThirdPartyForm.js +6 -0
  216. package/js/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
  217. package/js/types/Interface/api/thirdParty/UpdateThirdPartyForm.js +6 -0
  218. package/js/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
  219. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js +6 -0
  220. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  221. package/js/types/Interface/api/user/QueryGetAllCollaborators.js +8 -0
  222. package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
  223. package/js/types/Interface/models/IApiError.js +5 -2
  224. package/js/types/Interface/models/IApiError.js.map +1 -1
  225. package/js/types/Interface/models/IPrestationHistory.js +6 -0
  226. package/js/types/Interface/models/IPrestationHistory.js.map +1 -0
  227. package/js/types/index.js +120 -24
  228. package/js/types/index.js.map +1 -1
  229. package/js/utils/commercialManagement/document.js +9 -7
  230. package/js/utils/commercialManagement/document.js.map +1 -1
  231. package/js/utils/commercialManagement/templates/body.js +3 -1
  232. package/js/utils/commercialManagement/templates/body.js.map +1 -1
  233. package/js/utils/commercialManagement/templates/common.js +20 -1
  234. package/js/utils/commercialManagement/templates/common.js.map +1 -1
  235. package/js/utils/task.js +17 -21
  236. package/js/utils/task.js.map +1 -1
  237. package/js/utils/webmail.js +1 -3
  238. package/js/utils/webmail.js.map +1 -1
  239. package/package.json +1 -1
  240. package/ts/api/resources/CommercialDocument.ts +6 -0
  241. package/ts/api/resources/CommercialSetting.ts +11 -1
  242. package/ts/api/resources/Dashboard.ts +0 -6
  243. package/ts/api/resources/Mail.ts +2 -2
  244. package/ts/api/resources/Qonto.ts +26 -4
  245. package/ts/api/resources/Stripe.ts +8 -0
  246. package/ts/api/resources/User.ts +3 -12
  247. package/ts/api/resources.ts +2 -0
  248. package/ts/types/Enum/BrandClementine.ts +3 -0
  249. package/ts/types/Enum/CommercialManagement.ts +25 -1
  250. package/ts/types/Enum/Role.ts +15 -10
  251. package/ts/types/Enum/RoleDetail.ts +120 -64
  252. package/ts/types/Enum/Rules.ts +18 -0
  253. package/ts/types/Enum/TaskResponseType.ts +25 -3
  254. package/ts/types/Enum/TimeCounterType.ts +7 -7
  255. package/ts/types/Interface/api/commercialManagement/Create.ts +19 -2
  256. package/ts/types/Interface/api/commercialManagement/Query.ts +25 -0
  257. package/ts/types/Interface/api/commercialManagement/Read.ts +20 -0
  258. package/ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts +1 -1
  259. package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +1 -1
  260. package/ts/types/Interface/api/qonto/CreateImportation.ts +14 -0
  261. package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +12 -0
  262. package/ts/types/Interface/api/qonto/GetConnectionInformation.ts +8 -0
  263. package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +12 -0
  264. package/ts/types/Interface/api/qonto/Query.ts +80 -0
  265. package/ts/types/Interface/api/qonto/ReadCreateConnection.ts +6 -0
  266. package/ts/types/Interface/api/qonto/UpdateConnection.ts +8 -0
  267. package/ts/types/Interface/api/stripe/Create.ts +8 -0
  268. package/ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts +15 -1
  269. package/ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts +15 -1
  270. package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +9 -0
  271. package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +10 -1
  272. package/ts/types/Interface/models/IApiError.ts +4 -0
  273. package/ts/types/Interface/models/IEstimateInvoice.ts +5 -2
  274. package/ts/types/Interface/models/IPrestationHistory.ts +16 -0
  275. package/ts/types/Interface/models/ISocietyGescom.ts +3 -1
  276. package/ts/types/Interface/models/IThirdParty.ts +3 -0
  277. package/ts/types/index.ts +10 -2
  278. package/ts/utils/commercialManagement/document.ts +3 -1
  279. package/ts/utils/commercialManagement/templates/body.ts +3 -1
  280. package/ts/utils/commercialManagement/templates/common.ts +20 -1
  281. package/ts/utils/task.ts +17 -17
  282. package/ts/utils/webmail.ts +1 -3
  283. package/es/types/Interface/api/dashboard/QueryGescom.d.ts +0 -8
  284. package/es/types/Interface/api/dashboard/QueryGescom.d.ts.map +0 -1
  285. package/es/types/Interface/api/dashboard/QueryGescom.js.map +0 -1
  286. package/es/types/Interface/api/dashboard/ReadGescom.d.ts +0 -22
  287. package/es/types/Interface/api/dashboard/ReadGescom.d.ts.map +0 -1
  288. package/es/types/Interface/api/dashboard/ReadGescom.js +0 -9
  289. package/es/types/Interface/api/dashboard/ReadGescom.js.map +0 -1
  290. package/js/types/Interface/api/dashboard/QueryGescom.js.map +0 -1
  291. package/js/types/Interface/api/dashboard/ReadGescom.js +0 -22
  292. package/js/types/Interface/api/dashboard/ReadGescom.js.map +0 -1
  293. package/ts/types/Interface/api/dashboard/QueryGescom.ts +0 -18
  294. package/ts/types/Interface/api/dashboard/ReadGescom.ts +0 -24
@@ -1 +1 @@
1
- {"version":3,"file":"TimeCounterType.js","mappings":";;;;;;;AAAA;;AAEO,MAAMA,eAAe,WAAfA,eAAe,GAAG;EAC7BC,UAAU,EAAE;IACVC,EAAE,EAAE,CADM;IAEVC,KAAK,EAAE,YAFG;IAGVC,YAAY,EAAE,EAHJ;IAIVC,YAAY,EAAE,CAACC,WAAKC,YAAN,EAAoBD,WAAKE,WAAzB;EAJJ,CADiB;EAO7BC,GAAG,EAAE;IACHP,EAAE,EAAE,CADD;IAEHC,KAAK,EAAE,KAFJ;IAGHC,YAAY,EAAE,EAHX;IAIHC,YAAY,EAAE,CAACC,WAAKI,OAAN,EAAeJ,WAAKK,iBAApB,EAAuCL,WAAKC,YAA5C,EAA0DD,WAAKE,WAA/D;EAJX,CAPwB;EAa7BI,QAAQ,EAAE;IACRV,EAAE,EAAE,CADI;IAERC,KAAK,EAAE,UAFC;IAGRC,YAAY,EAAE,GAHN;IAIRC,YAAY,EAAE,CAACC,WAAKI,OAAN,EAAeJ,WAAKK,iBAApB,EAAuCL,WAAKC,YAA5C,EAA0DD,WAAKE,WAA/D;EAJN,CAbmB;EAmB7BK,aAAa,EAAE;IACbX,EAAE,EAAE,CADS;IAEbC,KAAK,EAAE,eAFM;IAGbC,YAAY,EAAE,EAHD;IAIbC,YAAY,EAAE,CAACC,WAAKI,OAAN,EAAeJ,WAAKK,iBAApB,EAAuCL,WAAKC,YAA5C,EAA0DD,WAAKE,WAA/D;EAJD,CAnBc;EAyB7BM,SAAS,EAAE;IACTZ,EAAE,EAAE,CADK;IAETC,KAA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ACCOUNTANT","REVISION","FOLDER_REVIEW","REPORTING","CUSTOMER_SUCCESS","SYNCHRONISATION","UNDER_SUPERVISION","CLIENT_CONTACT","MEETING","FORMATION","FORECAST","CERTIFICATE","COMPLEMENTARY_MISSION","ORGANISATION","INTERNAL_ADVICE","LAB","SUPERVISION","MAIL_PROCESSING","SUPPORT_PROCESSING","BILAN","FRONT_MANAGER","BACK_MANAGER","PAYSLIP","SOCIAL","SOCIAL_PARAMETER","WORK_CONTRACT","DPAE","FACTURATION","LEGAL_DOCUMENT","JURIDIC","INFOGREFFE","APPOINTMENT"],"sourceRoot":"","sources":["../../../ts/types/Enum/TimeCounterType.ts"],"sourcesContent":["import { Role } from './Role';\n\nexport const TimeCounterType = {\n ONBOARDING: {\n id: 1,\n label: 'OnBoarding',\n aberrantTime: 60,\n limitedRoles: [Role.FRONT_OFFICE, Role.BACK_OFFICE],\n },\n VAT: {\n id: 2,\n label: 'TVA',\n aberrantTime: 60,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE, Role.BACK_OFFICE],\n },\n REVISION: {\n id: 3,\n label: 'Révision',\n aberrantTime: 120,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE, Role.BACK_OFFICE],\n },\n FOLDER_REVIEW: {\n id: 4,\n label: 'Revue dossier',\n aberrantTime: 60,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE, Role.BACK_OFFICE],\n },\n REPORTING: {\n id: 5,\n label: 'Signalement',\n aberrantTime: 60,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n SYNCHRONISATION: {\n id: 6,\n label: 'Synchronisation',\n aberrantTime: 30,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n UNDER_SUPERVISION: {\n id: 7,\n label: 'En cours de supervision',\n aberrantTime: 45,\n limitedRoles: null,\n },\n CLIENT_CONTACT: {\n id: 8,\n label: 'Contact client (Appel/mail/chat)',\n aberrantTime: null,\n limitedRoles: null,\n },\n MEETING: {\n id: 9,\n label: 'Réunion',\n aberrantTime: null,\n limitedRoles: null,\n },\n FORMATION: {\n id: 10,\n label: 'Formation',\n aberrantTime: null,\n limitedRoles: null,\n },\n FORECAST: {\n id: 11,\n label: 'Prévisionnel',\n aberrantTime: null,\n limitedRoles: [Role.FRONT_OFFICE, Role.BACK_OFFICE],\n },\n CERTIFICATE: {\n id: 12,\n label: 'Attestation',\n aberrantTime: null,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n COMPLEMENTARY_MISSION: {\n id: 13,\n label: 'Mission complémentaire',\n aberrantTime: null,\n limitedRoles: [Role.FRONT_OFFICE, Role.BACK_OFFICE],\n },\n ORGANISATION: {\n id: 14,\n label: 'Organisation',\n aberrantTime: null,\n limitedRoles: null,\n },\n INTERNAL_ADVICE: {\n id: 15,\n label: 'Conseil interne',\n aberrantTime: null,\n limitedRoles: null,\n },\n LAB: {\n id: 16,\n label: 'LAB',\n aberrantTime: null,\n limitedRoles: [Role.EXPERT_ACCOUNTANT],\n },\n SUPERVISION: {\n id: 17,\n label: 'Supervision',\n aberrantTime: null,\n limitedRoles: [Role.EXPERT_ACCOUNTANT, Role.MANAGER],\n },\n MAIL_PROCESSING: {\n id: 18,\n label: 'Traitement des courriers',\n aberrantTime: null,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n SUPPORT_PROCESSING: {\n id: 19,\n label: 'Traitement support',\n aberrantTime: null,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n BILAN: {\n id: 20,\n label: 'Bilan',\n aberrantTime: 120,\n limitedRoles: [Role.FRONT_OFFICE, Role.BACK_OFFICE, Role.FRONT_MANAGER, Role.BACK_MANAGER, Role.EXPERT_ACCOUNTANT],\n },\n PAYSLIP: {\n id: 21,\n label: 'Bulletin de paie/DSN',\n aberrantTime: 30,\n limitedRoles: [Role.SOCIAL],\n },\n SOCIAL_PARAMETER: {\n id: 22,\n label: 'Paramétrage social',\n aberrantTime: 40,\n limitedRoles: [Role.SOCIAL],\n },\n WORK_CONTRACT: {\n id: 23,\n label: 'Contrat de travail',\n aberrantTime: 60,\n limitedRoles: [Role.SOCIAL],\n },\n DPAE: {\n id: 24,\n label: 'DPAE',\n aberrantTime: 25,\n limitedRoles: [Role.SOCIAL],\n },\n FACTURATION: {\n id: 25,\n label: 'Facturation',\n aberrantTime: 180,\n limitedRoles: null,\n },\n LEGAL_DOCUMENT: {\n id: 26,\n label: 'Rédaction documents juridiques',\n aberrantTime: 30,\n limitedRoles: [Role.JURIDIC],\n },\n INFOGREFFE: {\n id: 27,\n label: 'Dépôt infogreffe ou autre',\n aberrantTime: 15,\n limitedRoles: [Role.JURIDIC],\n },\n APPOINTMENT: {\n id: 28,\n label: 'Rdv client',\n aberrantTime: 15,\n limitedRoles: null,\n },\n};"]}
1
+ {"version":3,"file":"TimeCounterType.js","mappings":";;;;;;;AAAA;;AAEO,MAAMA,eAAe,WAAfA,eAAe,GAAG;EAC7BC,UAAU,EAAE;IACVC,EAAE,EAAE,CADM;IAEVC,KAAK,EAAE,YAFG;IAGVC,YAAY,EAAE,EAHJ;IAIVC,YAAY,EAAE,CAACC,WAAKC,YAAN;EAJJ,CADiB;EAO7BC,GAAG,EAAE;IACHN,EAAE,EAAE,CADD;IAEHC,KAAK,EAAE,KAFJ;IAGHC,YAAY,EAAE,EAHX;IAIHC,YAAY,EAAE,CAACC,WAAKG,OAAN,EAAeH,WAAKI,iBAApB,EAAuCJ,WAAKC,YAA5C;EAJX,CAPwB;EAa7BI,QAAQ,EAAE;IACRT,EAAE,EAAE,CADI;IAERC,KAAK,EAAE,UAFC;IAGRC,YAAY,EAAE,GAHN;IAIRC,YAAY,EAAE,CAACC,WAAKG,OAAN,EAAeH,WAAKI,iBAApB,EAAuCJ,WAAKC,YAA5C;EAJN,CAbmB;EAmB7BK,aAAa,EAAE;IACbV,EAAE,EAAE,CADS;IAEbC,KAAK,EAAE,eAFM;I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antTime","limitedRoles","Role","FRONT_OFFICE","VAT","MANAGER","EXPERT_ACCOUNTANT","REVISION","FOLDER_REVIEW","REPORTING","CUSTOMER_SUCCESS","SYNCHRONISATION","UNDER_SUPERVISION","CLIENT_CONTACT","MEETING","FORMATION","FORECAST","CERTIFICATE","COMPLEMENTARY_MISSION","ORGANISATION","INTERNAL_ADVICE","LAB","SUPERVISION","MAIL_PROCESSING","SUPPORT_PROCESSING","BILAN","PAYSLIP","SOCIAL","SOCIAL_PARAMETER","WORK_CONTRACT","DPAE","FACTURATION","LEGAL_DOCUMENT","JURIDIC","INFOGREFFE","APPOINTMENT"],"sourceRoot":"","sources":["../../../ts/types/Enum/TimeCounterType.ts"],"sourcesContent":["import { Role } from './Role';\n\nexport const TimeCounterType = {\n ONBOARDING: {\n id: 1,\n label: 'OnBoarding',\n aberrantTime: 60,\n limitedRoles: [Role.FRONT_OFFICE],\n },\n VAT: {\n id: 2,\n label: 'TVA',\n aberrantTime: 60,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],\n },\n REVISION: {\n id: 3,\n label: 'Révision',\n aberrantTime: 120,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],\n },\n FOLDER_REVIEW: {\n id: 4,\n label: 'Revue dossier',\n aberrantTime: 60,\n limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],\n },\n REPORTING: {\n id: 5,\n label: 'Signalement',\n aberrantTime: 60,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n SYNCHRONISATION: {\n id: 6,\n label: 'Synchronisation',\n aberrantTime: 30,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n UNDER_SUPERVISION: {\n id: 7,\n label: 'En cours de supervision',\n aberrantTime: 45,\n limitedRoles: null,\n },\n CLIENT_CONTACT: {\n id: 8,\n label: 'Contact client (Appel/mail/chat)',\n aberrantTime: null,\n limitedRoles: null,\n },\n MEETING: {\n id: 9,\n label: 'Réunion',\n aberrantTime: null,\n limitedRoles: null,\n },\n FORMATION: {\n id: 10,\n label: 'Formation',\n aberrantTime: null,\n limitedRoles: null,\n },\n FORECAST: {\n id: 11,\n label: 'Prévisionnel',\n aberrantTime: null,\n limitedRoles: [Role.FRONT_OFFICE],\n },\n CERTIFICATE: {\n id: 12,\n label: 'Attestation',\n aberrantTime: null,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n COMPLEMENTARY_MISSION: {\n id: 13,\n label: 'Mission complémentaire',\n aberrantTime: null,\n limitedRoles: [Role.FRONT_OFFICE],\n },\n ORGANISATION: {\n id: 14,\n label: 'Organisation',\n aberrantTime: null,\n limitedRoles: null,\n },\n INTERNAL_ADVICE: {\n id: 15,\n label: 'Conseil interne',\n aberrantTime: null,\n limitedRoles: null,\n },\n LAB: {\n id: 16,\n label: 'LAB',\n aberrantTime: null,\n limitedRoles: [Role.EXPERT_ACCOUNTANT],\n },\n SUPERVISION: {\n id: 17,\n label: 'Supervision',\n aberrantTime: null,\n limitedRoles: [Role.EXPERT_ACCOUNTANT, Role.MANAGER],\n },\n MAIL_PROCESSING: {\n id: 18,\n label: 'Traitement des courriers',\n aberrantTime: null,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n SUPPORT_PROCESSING: {\n id: 19,\n label: 'Traitement support',\n aberrantTime: null,\n limitedRoles: [Role.CUSTOMER_SUCCESS],\n },\n BILAN: {\n id: 20,\n label: 'Bilan',\n aberrantTime: 120,\n limitedRoles: [Role.FRONT_OFFICE, Role.EXPERT_ACCOUNTANT],\n },\n PAYSLIP: {\n id: 21,\n label: 'Bulletin de paie/DSN',\n aberrantTime: 30,\n limitedRoles: [Role.SOCIAL],\n },\n SOCIAL_PARAMETER: {\n id: 22,\n label: 'Paramétrage social',\n aberrantTime: 40,\n limitedRoles: [Role.SOCIAL],\n },\n WORK_CONTRACT: {\n id: 23,\n label: 'Contrat de travail',\n aberrantTime: 60,\n limitedRoles: [Role.SOCIAL],\n },\n DPAE: {\n id: 24,\n label: 'DPAE',\n aberrantTime: 25,\n limitedRoles: [Role.SOCIAL],\n },\n FACTURATION: {\n id: 25,\n label: 'Facturation',\n aberrantTime: 180,\n limitedRoles: null,\n },\n LEGAL_DOCUMENT: {\n id: 26,\n label: 'Rédaction documents juridiques',\n aberrantTime: 30,\n limitedRoles: [Role.JURIDIC],\n },\n INFOGREFFE: {\n id: 27,\n label: 'Dépôt infogreffe ou autre',\n aberrantTime: 15,\n limitedRoles: [Role.JURIDIC],\n },\n APPOINTMENT: {\n id: 28,\n label: 'Rdv client',\n aberrantTime: 15,\n limitedRoles: null,\n },\n};"]}
@@ -11,6 +11,8 @@ var _utils = require("../../../../utils");
11
11
 
12
12
  var _boolean = require("../../../../utils/transforms/boolean.transform");
13
13
 
14
+ var _CommercialManagement = require("../../../Enum/CommercialManagement");
15
+
14
16
  var _EstimateInvoice = require("../../../Enum/EstimateInvoice");
15
17
 
16
18
  var _RecurrenceType = require("../../../Enum/RecurrenceType");
@@ -101,6 +103,10 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
101
103
 
102
104
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], CreateCommercialSetting.prototype, "areColumnsSeparationHidden", void 0);
103
105
 
106
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateCommercialSetting.prototype, "accountingCategory", void 0);
107
+
108
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], CreateCommercialSetting.prototype, "shouldPayTaxAfterDebit", void 0);
109
+
104
110
  class CreateCommercialMail {}
105
111
 
106
112
  exports.CreateCommercialMail = CreateCommercialMail;
@@ -179,7 +185,7 @@ __decorate([(0, _utils.ApiProperty)({
179
185
 
180
186
  __decorate([(0, _utils.ApiProperty)({
181
187
  description: 'Commercial number address of seller'
182
- }), (0, _classValidator.IsString)(), __metadata("design:type", Object)], CommercialDocumentInputs.prototype, "number", void 0);
188
+ }), __metadata("design:type", Object)], CommercialDocumentInputs.prototype, "number", void 0);
183
189
 
184
190
  __decorate([(0, _utils.ApiProperty)({
185
191
  description: 'Commercial street address of seller'
@@ -205,6 +211,10 @@ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsBoolean)(), (0, _bo
205
211
 
206
212
  __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CommercialDocumentInputs.prototype, "idEstimateInvoiceType", void 0);
207
213
 
214
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CommercialDocumentInputs.prototype, "accountingCategory", void 0);
215
+
216
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], CommercialDocumentInputs.prototype, "shouldPayTaxAfterDebit", void 0);
217
+
208
218
  class CreatePreSaleDocument extends CommercialDocumentInputs {}
209
219
 
210
220
  exports.CreatePreSaleDocument = CreatePreSaleDocument;
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AAEA;;AACA;;;;;;;;;;;;;;AAOM,MAAOA,uBAAP,CAA8B;;QAAvBA,uB,GAAAA,uB;;AAOXC,YANC,iCAMD,EALC,iCAKD,EAJC,+BAID,EAHC,yBAAI,CAAJ,EAAO;EACNC,OAAO,EAAE;AADH,CAAP,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC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ail","CommercialDocumentInputs","description","Array","CreatePreSaleDocument","CreateInvoiceDocument","CreateCgv","CreateReminder","CreateRecurrence","RecurrenceType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { FontIds, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n @IsNumber()\n capital?: number;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string; //\n\n @ApiProperty()\n thirdParty: IThirdParty; //\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string; //\n\n @ApiProperty()\n @IsDateString()\n dueDate: string; //\n\n @ApiProperty({ description: 'Date d\\'expiration pour la facture d\\'acompte' })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n @IsString()\n discount: string; //\n\n @ApiProperty()\n comment: string | null; //\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null; //\n\n @ApiProperty({ description: 'Remise globale' })\n @IsNumber()\n generalDiscount2: number; //\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null; //\n\n @ApiProperty()\n vatMention: string | null; //\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null; //\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n @IsString()\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings?: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed?: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}"]}
1
+ {"version":3,"file":"Create.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAOM,MAAOA,uBAAP,CAA8B;;QAAvBA,uB,GAAAA,uB;;AAOXC,YANC,iCAMD,EALC,iCAKD,EAJC,+BAID,EAHC,yBAAI,CAAJ,EAAO;EACNC,OAAO,EAAE;AADH,CAAP,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAH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ArC,CAA6D;;QAAtDG,qB,GAAAA,qB;;AAMP,MAAOC,qBAAP,SAAqCJ,wBAArC,CAA6D;;QAAtDI,qB,GAAAA,qB;;AAQP,MAAOC,SAAP,CAAgB;;QAATA,S,GAAAA,S;;AAEXR,YADC,yBACD;;AAGI,MAAOS,cAAP,CAAqB;;QAAdA,c,GAAAA,c;;AAIXT,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,yBAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAGI,MAAOU,gBAAP,CAAuB;;QAAhBA,gB,GAAAA,gB;;AAGXV,YAFC,yBAED,EADC,4BAAOW,8BAAP,CACD;;AAIAX,YAFC,yBAED,EADC,mCACD;;AAIAA,YAFC,yBAED,EADC,mCACD;;AAKAA,YAHC,yBAGD,EAFC,yBAED,EADC,gCACD","names":["CreateCommercialSetting","__decorate","message","CreateCommercialMail","CommercialDocumentInputs","description","Array","CreatePreSaleDocument","CreateInvoiceDocument","CreateCgv","CreateReminder","CreateRecurrence","RecurrenceType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, FontIds, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit: boolean;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n @IsNumber()\n capital?: number;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string; //\n\n @ApiProperty()\n thirdParty: IThirdParty; //\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string; //\n\n @ApiProperty()\n @IsDateString()\n dueDate: string; //\n\n @ApiProperty({ description: 'Date d\\'expiration pour la facture d\\'acompte' })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n @IsString()\n discount: string; //\n\n @ApiProperty()\n comment: string | null; //\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null; //\n\n @ApiProperty({ description: 'Remise globale' })\n @IsNumber()\n generalDiscount2: number; //\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null; //\n\n @ApiProperty()\n vatMention: string | null; //\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null; //\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings?: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed?: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit: boolean;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}"]}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QueryDocumentPaginated = exports.QueryPreviewDocument = exports.QueryNextReference = exports.QueryInvoice = undefined;
6
+ exports.QueryCountByStatus = exports.QueryDocumentPaginated = exports.QueryPreviewDocument = exports.QueryNextReference = exports.QueryInvoice = undefined;
7
7
 
8
8
  var _classValidator = require("class-validator");
9
9
 
@@ -63,9 +63,9 @@ exports.QueryDocumentPaginated = QueryDocumentPaginated;
63
63
 
64
64
  __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], QueryDocumentPaginated.prototype, "types", void 0);
65
65
 
66
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "minDate", void 0);
66
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "minDate", void 0);
67
67
 
68
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "maxDate", void 0);
68
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "maxDate", void 0);
69
69
 
70
70
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "status", void 0);
71
71
 
@@ -76,4 +76,16 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(),
76
76
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryDocumentPaginated.prototype, "search", void 0);
77
77
 
78
78
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryDocumentPaginated.prototype, "isDraft", void 0);
79
+
80
+ class QueryCountByStatus {}
81
+
82
+ exports.QueryCountByStatus = QueryCountByStatus;
83
+
84
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryCountByStatus.prototype, "minDate", void 0);
85
+
86
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDateString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryCountByStatus.prototype, "maxDate", void 0);
87
+
88
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryCountByStatus.prototype, "search", void 0);
89
+
90
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryCountByStatus.prototype, "isDraft", void 0);
79
91
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAGM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAeI,MAAOC,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAGXD,YAFC,yBAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAQI,MAAOE,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAEXF,YADC,yBACD;;AAGI,MAAOG,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXH,YAFC,yBAED,EADC,8BACD;;AAIAA,YAFC,iCAED,EADC,mCACD;;AAIAA,YAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD","names":["QueryInvoice","__decorate","QueryNextReference","QueryPreviewDocument","QueryDocumentPaginated"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { Order } from 'sequelize/types';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { DiscountType, EstimateStatus, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { QueryPaginate } from '../BasePaginate';\n\nexport class QueryInvoice {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: InvoiceStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDescending?: boolean;\n}\n\nexport interface ParamPaginatedInvoices {\n idSociety: number;\n date?: {\n gte?: string;\n lte?: string;\n };\n status?: InvoiceStatus;\n search?: string;\n pagination: QueryPaginate;\n order?: Order;\n}\n\nexport class QueryNextReference {\n @ApiProperty()\n @IsNumber()\n idEstimateInvoiceType: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport interface Discount {\n type: DiscountType,\n amount: number\n}\n\nexport class QueryPreviewDocument {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class QueryDocumentPaginated {\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n\n @ApiPropertyOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: EstimateStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n}"]}
1
+ {"version":3,"file":"Query.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAGM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAeI,MAAOC,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAGXD,YAFC,yBAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAQI,MAAOE,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAEXF,YADC,yBACD;;AAGI,MAAOG,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXH,YAFC,yBAED,EADC,8BACD;;AAKAA,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAGI,MAAOI,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAIXJ,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD","names":["QueryInvoice","__decorate","QueryNextReference","QueryPreviewDocument","QueryDocumentPaginated","QueryCountByStatus"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { Order } from 'sequelize/types';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { DiscountType, EstimateStatus, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { QueryPaginate } from '../BasePaginate';\n\nexport class QueryInvoice {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: InvoiceStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDescending?: boolean;\n}\n\nexport interface ParamPaginatedInvoices {\n idSociety: number;\n date?: {\n gte?: string;\n lte?: string;\n };\n status?: InvoiceStatus;\n search?: string;\n pagination: QueryPaginate;\n order?: Order;\n}\n\nexport class QueryNextReference {\n @ApiProperty()\n @IsNumber()\n idEstimateInvoiceType: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport interface Discount {\n type: DiscountType,\n amount: number\n}\n\nexport class QueryPreviewDocument {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class QueryDocumentPaginated {\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: EstimateStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n}\n\nexport class QueryCountByStatus {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}"]}
@@ -31,5 +31,5 @@ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata(
31
31
 
32
32
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryCountUnprocessedByUserMail.prototype, "isWithoutSociety", void 0);
33
33
 
34
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryCountUnprocessedByUserMail.prototype, "isCountingManagerRoleMails", void 0);
34
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryCountUnprocessedByUserMail.prototype, "handlingManagerRoleMails", void 0);
35
35
  //# sourceMappingURL=QueryCountUnprocessedByUserMail.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryCountUnprocessedByUserMail.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,+BAAP,CAAsC;;QAA/BA,+B,GAAAA,+B;;AAGXC,YAFC,yBAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD","names":["QueryCountUnprocessedByUserMail","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts"],"sourcesContent":["import {\n IsBoolean,\n IsInt,\n IsOptional,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCountUnprocessedByUserMail {\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCountingManagerRoleMails?: boolean;\n}\n"]}
1
+ {"version":3,"file":"QueryCountUnprocessedByUserMail.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,+BAAP,CAAsC;;QAA/BA,+B,GAAAA,+B;;AAGXC,YAFC,yBAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD","names":["QueryCountUnprocessedByUserMail","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts"],"sourcesContent":["import {\n IsBoolean,\n IsInt,\n IsOptional,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCountUnprocessedByUserMail {\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: boolean;\n}\n"]}
@@ -75,7 +75,7 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
75
75
 
76
76
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedMail.prototype, "idUser", void 0);
77
77
 
78
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryPaginatedMail.prototype, "displayManagerRoleMails", void 0);
78
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryPaginatedMail.prototype, "handlingManagerRoleMails", void 0);
79
79
 
80
80
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedMail.prototype, "idSociety", void 0);
81
81
 
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedMail.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAUE,mBAAe,KAAf;IAsBA,eAAmB,MAAnB;EA8ED;;AA9G8B;;QAAlBD,kB,GAAAA,kB;;AAIXE,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AASAD,YAPC,iCAOD,EANC,iCAMD,EALC,8BAKD,EAJC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,SAAD,EAAY,aAAZ,EAA2B,gBAA3B,EAA6C,gBAA7C,CAAL,EAAqE;EAAEA,IAAI,EAAE;AAAR,CAArE,CACD;;AAQAF,YANC,iCAMD,EALC,iCAKD,EAJC,8BAID,EAHC,8BAAS;EACRE,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAF,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,8BAAS;EAAEE,IAAI,EAAE;AAAR,CAAT,CACD;;AAMAF,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAD,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD","names":["QueryPaginatedMail","constructor","__decorate","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"sourcesContent":["import {\n IsBoolean, IsIn, IsNumber, IsOptional, IsString, IsArray, IsInt,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedMail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'mailContent', 'mailAttachment', 'userWhoFlagged'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'date';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n to?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isImportant?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoFlagged?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoAnswered?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n}\n"]}
1
+ {"version":3,"file":"QueryPaginatedMail.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;EAA/BC;IAUE,mBAAe,KAAf;IAsBA,eAAmB,MAAnB;EA8ED;;AA9G8B;;QAAlBD,kB,GAAAA,kB;;AAIXE,YAHC,iCAG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4BACD;;AAKAA,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,+BACD","names":["QueryPaginatedMail","constructor","__decorate","default","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryPaginatedMail.ts"],"sourcesContent":["import {\n IsBoolean, IsIn, IsNumber, IsOptional, IsString, IsArray, IsInt,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedMail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withDeleted? = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n @IsIn(['society', 'mailContent', 'mailAttachment', 'userWhoFlagged'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string = 'date';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n to?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isProcessed?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDeleted?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isImportant?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithoutSociety?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n handlingManagerRoleMails?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoFlagged?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoAnswered?: number;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n}\n"]}
@@ -3,7 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QueryGescom = undefined;
6
+ exports.CreateImportation = undefined;
7
+
8
+ var _classValidator = require("class-validator");
7
9
 
8
10
  var _utils = require("../../../../utils");
9
11
 
@@ -19,17 +21,11 @@ var __metadata = undefined && undefined.__metadata || function (k, v) {
19
21
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
20
22
  };
21
23
 
22
- class QueryGescom {}
23
-
24
- exports.QueryGescom = QueryGescom;
25
-
26
- __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Object)], QueryGescom.prototype, "startDate", void 0);
27
-
28
- __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Object)], QueryGescom.prototype, "endDate", void 0);
24
+ class CreateImportation {}
29
25
 
30
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QueryGescom.prototype, "isPaid", void 0);
26
+ exports.CreateImportation = CreateImportation;
31
27
 
32
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QueryGescom.prototype, "isLate", void 0);
28
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], CreateImportation.prototype, "minDate", void 0);
33
29
 
34
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QueryGescom.prototype, "isCanceled", void 0);
35
- //# sourceMappingURL=QueryGescom.js.map
30
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], CreateImportation.prototype, "maxDate", void 0);
31
+ //# sourceMappingURL=CreateImportation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateImportation.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,iBAAP,CAAwB;;QAAjBA,iB,GAAAA,iB;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD","names":["CreateImportation","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/CreateImportation.ts"],"sourcesContent":["import { IsDateString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateImportation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string ;\n}"]}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CreateQontoConnection = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _utils = require("../../../../utils");
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 CreateQontoConnection {}
25
+
26
+ exports.CreateQontoConnection = CreateQontoConnection;
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateQontoConnection.prototype, "login", void 0);
29
+
30
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateQontoConnection.prototype, "password", void 0);
31
+ //# sourceMappingURL=CreateQontoConnection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateQontoConnection.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,qBAAP,CAA4B;;QAArBA,qB,GAAAA,qB;;AAGXC,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD","names":["CreateQontoConnection","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/CreateQontoConnection.ts"],"sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class CreateQontoConnection {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n}"]}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.GetConnectionInformation = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _utils = require("../../../../utils");
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 GetConnectionInformation {}
25
+
26
+ exports.GetConnectionInformation = GetConnectionInformation;
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], GetConnectionInformation.prototype, "idBankConnection", void 0);
29
+ //# sourceMappingURL=GetConnectionInformation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetConnectionInformation.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,wBAAP,CAA+B;;QAAxBA,wB,GAAAA,wB;;AAGXC,YAFC,yBAED,EADC,+BACD","names":["GetConnectionInformation","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/GetConnectionInformation.ts"],"sourcesContent":["import { IsNumber } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class GetConnectionInformation {\n @ApiProperty()\n @IsNumber()\n idBankConnection: number;\n}"]}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ProcessBankAccount = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _utils = require("../../../../utils");
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 ProcessBankAccount {}
25
+
26
+ exports.ProcessBankAccount = ProcessBankAccount;
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], ProcessBankAccount.prototype, "idsSlugToAdd", void 0);
29
+
30
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], ProcessBankAccount.prototype, "idsSlugToRemove", void 0);
31
+ //# sourceMappingURL=ProcessBankAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProcessBankAccount.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAGXC,YAFC,yBAED,EADC,8BACD,4BAAcC,MAAd;;AAIAD,YAFC,yBAED,EADC,8BACD,4BAAiBC,MAAjB","names":["ProcessBankAccount","__decorate","Array"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/ProcessBankAccount.ts"],"sourcesContent":["import { IsArray } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class ProcessBankAccount {\n @ApiProperty()\n @IsArray()\n idsSlugToAdd: Array<string>;\n\n @ApiProperty()\n @IsArray()\n idsSlugToRemove: Array<string>;\n}"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=Query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=ReadCreateConnection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadCreateConnection.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.UpdateConnection = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _utils = require("../../../../utils");
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 UpdateConnection {}
25
+
26
+ exports.UpdateConnection = UpdateConnection;
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], UpdateConnection.prototype, "password", void 0);
29
+ //# sourceMappingURL=UpdateConnection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateConnection.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,gBAAP,CAAuB;;QAAhBA,gB,GAAAA,gB;;AAGXC,YAFC,yBAED,EADC,+BACD","names":["UpdateConnection","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/UpdateConnection.ts"],"sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class UpdateConnection {\n @ApiProperty()\n @IsString()\n password: string;\n}"]}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CreateStripeConnection = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _utils = require("../../../../utils");
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 CreateStripeConnection {}
25
+
26
+ exports.CreateStripeConnection = CreateStripeConnection;
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateStripeConnection.prototype, "code", void 0);
29
+ //# sourceMappingURL=Create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Create.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXC,YAFC,yBAED,EADC,+BACD","names":["CreateStripeConnection","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/stripe/Create.ts"],"sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}"]}
@@ -66,4 +66,10 @@ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)
66
66
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateThirdPartyForm.prototype, "idCountry", void 0);
67
67
 
68
68
  __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsEnum)(_.ThirdPartyType), __metadata("design:type", Number)], CreateThirdPartyForm.prototype, "idThirdPartyType", void 0);
69
+
70
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", Object)], CreateThirdPartyForm.prototype, "deliveryAddress", void 0);
71
+
72
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", Object)], CreateThirdPartyForm.prototype, "deliveryCity", void 0);
73
+
74
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateThirdPartyForm.prototype, "deliveryZipCode", void 0);
69
75
  //# sourceMappingURL=CreateThirdPartyForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateThirdPartyForm.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAEXC,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAIAA,YAFC,yBAED,EADC,4BAAOC,gBAAP,CACD","names":["CreateThirdPartyForm","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts"],"sourcesContent":["import { IsEnum } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateThirdPartyForm {\n @ApiPropertyOptional()\n budgeaSouscriptionId?: number | null;\n\n @ApiPropertyOptional()\n fullname?: string | null;\n\n @ApiPropertyOptional()\n fullnameAccountant?: string | null;\n\n @ApiProperty()\n company: string;\n\n @ApiPropertyOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n phone?: string | null;\n\n @ApiPropertyOptional()\n email?: string | null;\n\n @ApiPropertyOptional()\n nSiret?: string | null;\n\n @ApiPropertyOptional()\n nTva?: string | null;\n\n @ApiProperty()\n soldeInit: number;\n\n @ApiPropertyOptional()\n state?: boolean | null;\n\n @ApiPropertyOptional()\n dateImport?: Date | null;\n\n @ApiProperty()\n isGeneric: boolean;\n\n @ApiPropertyOptional()\n juridicalSociety?: number | null;\n\n @ApiPropertyOptional()\n idTypePayment?: number | null;\n\n @ApiPropertyOptional()\n idAccount?: number | null;\n\n @ApiPropertyOptional()\n idCountry?: number | null;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: ThirdPartyType;\n}"]}
1
+ {"version":3,"file":"CreateThirdPartyForm.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAEXC,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAIAA,YAFC,yBAED,EADC,4BAAOC,gBAAP,CACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAIAA,YAFC,iCAED,EADC,iCACD","names":["CreateThirdPartyForm","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts"],"sourcesContent":["import { IsEnum, IsOptional, IsString } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateThirdPartyForm {\n @ApiPropertyOptional()\n budgeaSouscriptionId?: number | null;\n\n @ApiPropertyOptional()\n fullname?: string | null;\n\n @ApiPropertyOptional()\n fullnameAccountant?: string | null;\n\n @ApiProperty()\n company: string;\n\n @ApiPropertyOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n phone?: string | null;\n\n @ApiPropertyOptional()\n email?: string | null;\n\n @ApiPropertyOptional()\n nSiret?: string | null;\n\n @ApiPropertyOptional()\n nTva?: string | null;\n\n @ApiProperty()\n soldeInit: number;\n\n @ApiPropertyOptional()\n state?: boolean | null;\n\n @ApiPropertyOptional()\n dateImport?: Date | null;\n\n @ApiProperty()\n isGeneric: boolean;\n\n @ApiPropertyOptional()\n juridicalSociety?: number | null;\n\n @ApiPropertyOptional()\n idTypePayment?: number | null;\n\n @ApiPropertyOptional()\n idAccount?: number | null;\n\n @ApiPropertyOptional()\n idCountry?: number | null;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: ThirdPartyType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n deliveryAddress: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n deliveryCity: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n deliveryZipCode: string | null;\n}"]}
@@ -66,4 +66,10 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
66
66
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "idCountry", void 0);
67
67
 
68
68
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsEnum)(_.ThirdPartyType), __metadata("design:type", Number)], UpdateThirdPartyForm.prototype, "idThirdPartyType", void 0);
69
+
70
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "deliveryAddress", void 0);
71
+
72
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "deliveryCity", void 0);
73
+
74
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "deliveryZipCode", void 0);
69
75
  //# sourceMappingURL=UpdateThirdPartyForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateThirdPartyForm.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAGXC,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BAAOC,gBAAP,CACD","names":["UpdateThirdPartyForm","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts"],"sourcesContent":["import { IsEnum, IsOptional } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateThirdPartyForm {\n @ApiPropertyOptional()\n @IsOptional()\n budgeaSouscriptionId?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n fullname?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n fullnameAccountant?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n company?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n phone?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n email?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n nSiret?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n nTva?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n soldeInit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n state?: boolean | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n dateImport?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n isGeneric?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n juridicalSociety?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idTypePayment?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idAccount?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idCountry?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n idThirdPartyType?: ThirdPartyType;\n}"]}
1
+ {"version":3,"file":"UpdateThirdPartyForm.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAGXC,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BAAOC,gBAAP,CACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAIAA,YAFC,iCAED,EADC,iCACD","names":["UpdateThirdPartyForm","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts"],"sourcesContent":["import { IsEnum, IsOptional, IsString } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateThirdPartyForm {\n @ApiPropertyOptional()\n @IsOptional()\n budgeaSouscriptionId?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n fullname?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n fullnameAccountant?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n company?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n phone?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n email?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n nSiret?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n nTva?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n soldeInit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n state?: boolean | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n dateImport?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n isGeneric?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n juridicalSociety?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idTypePayment?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idAccount?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idCountry?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n idThirdPartyType?: ThirdPartyType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n deliveryAddress: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n deliveryCity: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n deliveryZipCode: string | null;\n}"]}
@@ -34,4 +34,10 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
34
34
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Array)], ParamsGetAllCollaborators.prototype, "idRoles", void 0);
35
35
 
36
36
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Array)], ParamsGetAllCollaborators.prototype, "idUser", void 0);
37
+
38
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)({
39
+ each: true
40
+ }), (0, _classValidator.IsIn)(['avatar', 'teams', 'businessLines'], {
41
+ each: true
42
+ }), __metadata("design:type", Array)], ParamsGetAllCollaborators.prototype, "include", void 0);
37
43
  //# sourceMappingURL=ParamsGetAllCollaborators.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParamsGetAllCollaborators.js","mappings":";;;;;;;AAAA;;AAIA;;;;;;;;;;;;;;AAEM,MAAOA,yBAAP,CAAgC;;QAAzBA,yB,GAAAA,yB;;AAMXC,YALC,iCAKD,EAJC,iCAID,EAHC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD","names":["ParamsGetAllCollaborators","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/ParamsGetAllCollaborators.ts"],"sourcesContent":["import {\n IsNumber,\n IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class ParamsGetAllCollaborators {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idRoles?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number[];\n}"]}
1
+ {"version":3,"file":"ParamsGetAllCollaborators.js","mappings":";;;;;;;AAAA;;AAKA;;;;;;;;;;;;;;AAEM,MAAOA,yBAAP,CAAgC;;QAAzBA,yB,GAAAA,yB;;AAMXC,YALC,iCAKD,EAJC,iCAID,EAHC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAQAA,YANC,iCAMD,EALC,iCAKD,EAJC,8BAAS;EACRC,IAAI,EAAE;AADE,CAAT,CAID,EADC,0BAAK,CAAC,QAAD,EAAW,OAAX,EAAoB,eAApB,CAAL,EAA2C;EAAEA,IAAI,EAAE;AAAR,CAA3C,CACD","names":["ParamsGetAllCollaborators","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/ParamsGetAllCollaborators.ts"],"sourcesContent":["import {\n IsIn,\n IsNumber,\n IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class ParamsGetAllCollaborators {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idRoles?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['avatar', 'teams', 'businessLines'], { each: true })\n include?: string[];\n}"]}