@silexpert/core 1.0.206 → 1.1.2

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 (1258) hide show
  1. package/es/api/resources/AccountingFiles.d.ts +2 -3
  2. package/es/api/resources/AccountingFiles.d.ts.map +1 -1
  3. package/es/api/resources/AccountingFiles.js +1 -7
  4. package/es/api/resources/AccountingFiles.js.map +1 -1
  5. package/es/api/resources/CommercialSetting.d.ts +2 -1
  6. package/es/api/resources/CommercialSetting.d.ts.map +1 -1
  7. package/es/api/resources/CommercialSetting.js +3 -0
  8. package/es/api/resources/CommercialSetting.js.map +1 -1
  9. package/es/api/resources/FIle.d.ts +1 -3
  10. package/es/api/resources/FIle.d.ts.map +1 -1
  11. package/es/api/resources/FIle.js +0 -3
  12. package/es/api/resources/FIle.js.map +1 -1
  13. package/es/api/resources/FirstStep.d.ts +1 -2
  14. package/es/api/resources/FirstStep.d.ts.map +1 -1
  15. package/es/api/resources/FirstStep.js +0 -3
  16. package/es/api/resources/FirstStep.js.map +1 -1
  17. package/es/api/resources/Invoice.d.ts +0 -2
  18. package/es/api/resources/Invoice.d.ts.map +1 -1
  19. package/es/api/resources/Invoice.js +0 -6
  20. package/es/api/resources/Invoice.js.map +1 -1
  21. package/es/api/resources/Mail.d.ts.map +1 -1
  22. package/es/api/resources/Mail.js +0 -5
  23. package/es/api/resources/Mail.js.map +1 -1
  24. package/es/api/resources/Notification.d.ts +0 -3
  25. package/es/api/resources/Notification.d.ts.map +1 -1
  26. package/es/api/resources/Notification.js +1 -7
  27. package/es/api/resources/Notification.js.map +1 -1
  28. package/es/api/resources/Prestations.d.ts +0 -6
  29. package/es/api/resources/Prestations.d.ts.map +1 -1
  30. package/es/api/resources/Prestations.js +0 -8
  31. package/es/api/resources/Prestations.js.map +1 -1
  32. package/es/api/resources/Registration.d.ts +2 -1
  33. package/es/api/resources/Registration.d.ts.map +1 -1
  34. package/es/api/resources/Registration.js +3 -0
  35. package/es/api/resources/Registration.js.map +1 -1
  36. package/es/api/resources/Report.d.ts +1 -2
  37. package/es/api/resources/Report.d.ts.map +1 -1
  38. package/es/api/resources/Report.js +0 -3
  39. package/es/api/resources/Report.js.map +1 -1
  40. package/es/api/resources/Rule.d.ts +0 -1
  41. package/es/api/resources/Rule.d.ts.map +1 -1
  42. package/es/api/resources/Rule.js +0 -3
  43. package/es/api/resources/Rule.js.map +1 -1
  44. package/es/api/resources/Tax.d.ts +2 -1
  45. package/es/api/resources/Tax.d.ts.map +1 -1
  46. package/es/api/resources/Tax.js +3 -0
  47. package/es/api/resources/Tax.js.map +1 -1
  48. package/es/api/resources/TaxDeadline.d.ts +2 -1
  49. package/es/api/resources/TaxDeadline.d.ts.map +1 -1
  50. package/es/api/resources/TaxDeadline.js +3 -0
  51. package/es/api/resources/TaxDeadline.js.map +1 -1
  52. package/es/api/resources/TimeRecorder.d.ts +1 -2
  53. package/es/api/resources/TimeRecorder.d.ts.map +1 -1
  54. package/es/api/resources/TimeRecorder.js +0 -3
  55. package/es/api/resources/TimeRecorder.js.map +1 -1
  56. package/es/api/resources/User.d.ts +1 -1
  57. package/es/api/resources/User.d.ts.map +1 -1
  58. package/es/api/resources/User.js +3 -2
  59. package/es/api/resources/User.js.map +1 -1
  60. package/es/api/resources/Vat.d.ts +23 -0
  61. package/es/api/resources/Vat.d.ts.map +1 -0
  62. package/es/api/resources/Vat.js +72 -0
  63. package/es/api/resources/Vat.js.map +1 -0
  64. package/es/api/resources/statistic/CustomerSuccess.js +1 -1
  65. package/es/api/resources/statistic/CustomerSuccess.js.map +1 -1
  66. package/es/api/resources.d.ts +2 -8
  67. package/es/api/resources.d.ts.map +1 -1
  68. package/es/api/resources.js +2 -8
  69. package/es/api/resources.js.map +1 -1
  70. package/es/index.d.ts.map +1 -1
  71. package/es/index.js +1 -0
  72. package/es/index.js.map +1 -1
  73. package/es/types/Enum/Account.d.ts +0 -8
  74. package/es/types/Enum/Account.d.ts.map +1 -1
  75. package/es/types/Enum/Account.js +0 -8
  76. package/es/types/Enum/Account.js.map +1 -1
  77. package/es/types/Enum/Activity.d.ts +0 -50
  78. package/es/types/Enum/Activity.d.ts.map +1 -1
  79. package/es/types/Enum/Activity.js +0 -50
  80. package/es/types/Enum/Activity.js.map +1 -1
  81. package/es/types/Enum/BalanceSheet.d.ts +1 -1
  82. package/es/types/Enum/BalanceSheet.js +1 -1
  83. package/es/types/Enum/BalanceSheet.js.map +1 -1
  84. package/es/types/Enum/BrandClementine.d.ts +126 -24
  85. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  86. package/es/types/Enum/BrandClementine.js +111 -24
  87. package/es/types/Enum/BrandClementine.js.map +1 -1
  88. package/es/types/Enum/BrandComptalib.d.ts +83 -16
  89. package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
  90. package/es/types/Enum/BrandComptalib.js +77 -14
  91. package/es/types/Enum/BrandComptalib.js.map +1 -1
  92. package/es/types/Enum/BrandLegalstart.d.ts +0 -22
  93. package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
  94. package/es/types/Enum/BrandLegalstart.js +23 -45
  95. package/es/types/Enum/BrandLegalstart.js.map +1 -1
  96. package/es/types/Enum/BrandPourcentage.d.ts +2 -115
  97. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  98. package/es/types/Enum/BrandPourcentage.js +1 -462
  99. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  100. package/es/types/Enum/ConnectorType.d.ts +1 -0
  101. package/es/types/Enum/ConnectorType.d.ts.map +1 -1
  102. package/es/types/Enum/ConnectorType.js +1 -1
  103. package/es/types/Enum/ConnectorType.js.map +1 -1
  104. package/es/types/Enum/ConstitutionState.d.ts +2 -0
  105. package/es/types/Enum/ConstitutionState.d.ts.map +1 -1
  106. package/es/types/Enum/ConstitutionState.js +10 -10
  107. package/es/types/Enum/ConstitutionState.js.map +1 -1
  108. package/es/types/Enum/Country.d.ts +0 -200
  109. package/es/types/Enum/Country.d.ts.map +1 -1
  110. package/es/types/Enum/Country.js +0 -393
  111. package/es/types/Enum/Country.js.map +1 -1
  112. package/es/types/Enum/Ged.d.ts +0 -1
  113. package/es/types/Enum/Ged.d.ts.map +1 -1
  114. package/es/types/Enum/Ged.js +1 -1
  115. package/es/types/Enum/Ged.js.map +1 -1
  116. package/es/types/Enum/InternalService.d.ts +0 -12
  117. package/es/types/Enum/InternalService.d.ts.map +1 -1
  118. package/es/types/Enum/InternalService.js +0 -12
  119. package/es/types/Enum/InternalService.js.map +1 -1
  120. package/es/types/Enum/JobTitle.d.ts +1 -8
  121. package/es/types/Enum/JobTitle.d.ts.map +1 -1
  122. package/es/types/Enum/JobTitle.js +0 -42
  123. package/es/types/Enum/JobTitle.js.map +1 -1
  124. package/es/types/Enum/Log.d.ts +1 -201
  125. package/es/types/Enum/Log.d.ts.map +1 -1
  126. package/es/types/Enum/Log.js +0 -200
  127. package/es/types/Enum/Log.js.map +1 -1
  128. package/es/types/Enum/MealExpenseThresholds.d.ts.map +1 -1
  129. package/es/types/Enum/MealExpenseThresholds.js +2 -6
  130. package/es/types/Enum/MealExpenseThresholds.js.map +1 -1
  131. package/es/types/Enum/MimeType.d.ts +0 -1
  132. package/es/types/Enum/MimeType.d.ts.map +1 -1
  133. package/es/types/Enum/MimeType.js +0 -1
  134. package/es/types/Enum/MimeType.js.map +1 -1
  135. package/es/types/Enum/NafCode.d.ts +22 -0
  136. package/es/types/Enum/NafCode.d.ts.map +1 -0
  137. package/es/types/Enum/NafCode.js +23 -0
  138. package/es/types/Enum/NafCode.js.map +1 -0
  139. package/es/types/Enum/NotificationType.d.ts +2 -15
  140. package/es/types/Enum/NotificationType.d.ts.map +1 -1
  141. package/es/types/Enum/NotificationType.js +5 -41
  142. package/es/types/Enum/NotificationType.js.map +1 -1
  143. package/es/types/Enum/Office.d.ts +19 -0
  144. package/es/types/Enum/Office.d.ts.map +1 -0
  145. package/es/types/Enum/Office.js +20 -0
  146. package/es/types/Enum/Office.js.map +1 -0
  147. package/es/types/Enum/Phone.js +1 -1
  148. package/es/types/Enum/Phone.js.map +1 -1
  149. package/es/types/Enum/PrestationType.d.ts +1 -5
  150. package/es/types/Enum/PrestationType.d.ts.map +1 -1
  151. package/es/types/Enum/PrestationType.js +0 -72
  152. package/es/types/Enum/PrestationType.js.map +1 -1
  153. package/es/types/Enum/Registration.d.ts +5 -0
  154. package/es/types/Enum/Registration.d.ts.map +1 -1
  155. package/es/types/Enum/Registration.js +6 -0
  156. package/es/types/Enum/Registration.js.map +1 -1
  157. package/es/types/Enum/RegistrationSource.d.ts +0 -1
  158. package/es/types/Enum/RegistrationSource.d.ts.map +1 -1
  159. package/es/types/Enum/RegistrationSource.js +0 -1
  160. package/es/types/Enum/RegistrationSource.js.map +1 -1
  161. package/es/types/Enum/ReportService.d.ts +4 -9
  162. package/es/types/Enum/ReportService.d.ts.map +1 -1
  163. package/es/types/Enum/ReportService.js +6 -17
  164. package/es/types/Enum/ReportService.js.map +1 -1
  165. package/es/types/Enum/Role.d.ts +1 -3
  166. package/es/types/Enum/Role.d.ts.map +1 -1
  167. package/es/types/Enum/Role.js +0 -2
  168. package/es/types/Enum/Role.js.map +1 -1
  169. package/es/types/Enum/RoleDetail.d.ts +0 -22
  170. package/es/types/Enum/RoleDetail.d.ts.map +1 -1
  171. package/es/types/Enum/RoleDetail.js +1 -23
  172. package/es/types/Enum/RoleDetail.js.map +1 -1
  173. package/es/types/Enum/TaskResponseType.d.ts +1 -3
  174. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  175. package/es/types/Enum/TaskResponseType.js +0 -57
  176. package/es/types/Enum/TaskResponseType.js.map +1 -1
  177. package/es/types/Enum/Tax.d.ts +5 -0
  178. package/es/types/Enum/Tax.d.ts.map +1 -1
  179. package/es/types/Enum/Tax.js +6 -0
  180. package/es/types/Enum/Tax.js.map +1 -1
  181. package/es/types/Enum/TaxSystem.d.ts +0 -2
  182. package/es/types/Enum/TaxSystem.d.ts.map +1 -1
  183. package/es/types/Enum/TaxSystem.js +0 -14
  184. package/es/types/Enum/TaxSystem.js.map +1 -1
  185. package/es/types/Enum/TimeRecorderLocation.d.ts +23 -0
  186. package/es/types/Enum/TimeRecorderLocation.d.ts.map +1 -0
  187. package/es/types/Enum/TimeRecorderLocation.js +6 -0
  188. package/es/types/Enum/TimeRecorderLocation.js.map +1 -0
  189. package/es/types/Enum/Unit.d.ts +1 -2
  190. package/es/types/Enum/Unit.d.ts.map +1 -1
  191. package/es/types/Enum/Unit.js +0 -11
  192. package/es/types/Enum/Unit.js.map +1 -1
  193. package/es/types/Enum/VatDeclarationType.js +40 -40
  194. package/es/types/Enum/VatDeclarationType.js.map +1 -1
  195. package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts +1 -0
  196. package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts.map +1 -1
  197. package/es/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -1
  198. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +0 -1
  199. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
  200. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js +1 -5
  201. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  202. package/es/types/Interface/api/aspone/ReadInterchange.d.ts +5 -7
  203. package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
  204. package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  205. package/es/types/Interface/api/cerfa/3310.d.ts +249 -0
  206. package/es/types/Interface/api/cerfa/3310.d.ts.map +1 -0
  207. package/es/types/Interface/api/cerfa/3310.js +2 -0
  208. package/es/types/Interface/api/cerfa/3310.js.map +1 -0
  209. package/es/types/Interface/api/cerfa/3514.d.ts +65 -0
  210. package/es/types/Interface/api/cerfa/3514.d.ts.map +1 -0
  211. package/es/types/Interface/api/cerfa/3514.js +2 -0
  212. package/es/types/Interface/api/cerfa/3514.js.map +1 -0
  213. package/es/types/Interface/api/cerfa/3517.d.ts +364 -0
  214. package/es/types/Interface/api/cerfa/3517.d.ts.map +1 -0
  215. package/es/types/Interface/api/cerfa/3517.js +6 -0
  216. package/es/types/Interface/api/cerfa/3517.js.map +1 -0
  217. package/es/types/Interface/api/cerfa/3519.d.ts +70 -0
  218. package/es/types/Interface/api/cerfa/3519.d.ts.map +1 -0
  219. package/es/types/Interface/api/cerfa/3519.js +2 -0
  220. package/es/types/Interface/api/cerfa/3519.js.map +1 -0
  221. package/es/types/Interface/api/cerfa/ReadCerfa.d.ts +43 -1
  222. package/es/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  223. package/es/types/Interface/api/cerfa/ReadCerfa.js +2 -1
  224. package/es/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  225. package/es/types/Interface/api/exercice/CreateExercice.d.ts +0 -1
  226. package/es/types/Interface/api/exercice/CreateExercice.d.ts.map +1 -1
  227. package/es/types/Interface/api/exercice/CreateExercice.js +0 -7
  228. package/es/types/Interface/api/exercice/CreateExercice.js.map +1 -1
  229. package/es/types/Interface/api/exercice/QueryExercice.d.ts +0 -1
  230. package/es/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -1
  231. package/es/types/Interface/api/exercice/QueryExercice.js +0 -7
  232. package/es/types/Interface/api/exercice/QueryExercice.js.map +1 -1
  233. package/es/types/Interface/api/exercice/UpdateExercice.d.ts +0 -2
  234. package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
  235. package/es/types/Interface/api/exercice/UpdateExercice.js +0 -14
  236. package/es/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
  237. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.d.ts +0 -2
  238. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.d.ts.map +1 -1
  239. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
  240. package/es/types/Interface/api/notification/CreateNotification.d.ts +2 -2
  241. package/es/types/Interface/api/notification/CreateNotification.d.ts.map +1 -1
  242. package/es/types/Interface/api/notification/CreateNotification.js +2 -2
  243. package/es/types/Interface/api/notification/CreateNotification.js.map +1 -1
  244. package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts +2 -2
  245. package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts.map +1 -1
  246. package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js +2 -2
  247. package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
  248. package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts +2 -2
  249. package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts.map +1 -1
  250. package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js +2 -2
  251. package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
  252. package/es/types/Interface/api/registration/CreateRegistration.d.ts +35 -0
  253. package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  254. package/es/types/Interface/api/registration/CreateRegistration.js +130 -1
  255. package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  256. package/es/types/Interface/api/registration/DeclareRegistration.d.ts +10 -0
  257. package/es/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
  258. package/es/types/Interface/api/registration/DeclareRegistration.js +39 -2
  259. package/es/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
  260. package/es/types/Interface/api/registration/QueryRegistration.d.ts +7 -0
  261. package/es/types/Interface/api/registration/QueryRegistration.d.ts.map +1 -1
  262. package/es/types/Interface/api/registration/QueryRegistration.js +31 -2
  263. package/es/types/Interface/api/registration/QueryRegistration.js.map +1 -1
  264. package/es/types/Interface/api/registration/ReadRegistration.d.ts +24 -1
  265. package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  266. package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  267. package/es/types/Interface/api/registration/UpdateRegistration.d.ts +10 -0
  268. package/es/types/Interface/api/registration/UpdateRegistration.d.ts.map +1 -0
  269. package/es/types/Interface/api/{firstStep/Create.js → registration/UpdateRegistration.js} +24 -23
  270. package/es/types/Interface/api/registration/UpdateRegistration.js.map +1 -0
  271. package/es/types/Interface/api/report/ReadReportStats.d.ts +0 -1
  272. package/es/types/Interface/api/report/ReadReportStats.d.ts.map +1 -1
  273. package/es/types/Interface/api/report/ReadReportStats.js.map +1 -1
  274. package/es/types/Interface/api/society/CreateSociety.d.ts +0 -1
  275. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
  276. package/es/types/Interface/api/society/CreateSociety.js +0 -4
  277. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  278. package/es/types/Interface/api/statistic/QueryInternal.d.ts +0 -2
  279. package/es/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
  280. package/es/types/Interface/api/statistic/QueryInternal.js +1 -3
  281. package/es/types/Interface/api/statistic/QueryInternal.js.map +1 -1
  282. package/es/types/Interface/api/tax/QueryTax.d.ts +6 -0
  283. package/es/types/Interface/api/tax/QueryTax.d.ts.map +1 -0
  284. package/es/types/Interface/api/{file/Query.js → tax/QueryTax.js} +15 -3
  285. package/es/types/Interface/api/tax/QueryTax.js.map +1 -0
  286. package/es/types/Interface/api/tax/ReadTax.d.ts +24 -0
  287. package/es/types/Interface/api/tax/ReadTax.d.ts.map +1 -1
  288. package/es/types/Interface/api/tax/ReadTax.js +2 -1
  289. package/es/types/Interface/api/tax/ReadTax.js.map +1 -1
  290. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +19 -4
  291. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  292. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +61 -11
  293. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  294. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +27 -5
  295. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
  296. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js +2 -0
  297. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  298. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts +0 -1
  299. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts.map +1 -1
  300. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +0 -6
  301. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
  302. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts +0 -5
  303. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts.map +1 -1
  304. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
  305. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +11 -11
  306. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
  307. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +27 -48
  308. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  309. package/es/types/Interface/api/vatDeclaration/ReadVatDeclaration.d.ts +14 -0
  310. package/es/types/Interface/api/vatDeclaration/ReadVatDeclaration.d.ts.map +1 -0
  311. package/es/types/Interface/api/vatDeclaration/ReadVatDeclaration.js +3 -0
  312. package/es/types/Interface/api/vatDeclaration/ReadVatDeclaration.js.map +1 -0
  313. package/es/types/Interface/models/IAccountingEntry.d.ts +2 -0
  314. package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
  315. package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
  316. package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -2
  317. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  318. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  319. package/es/types/Interface/models/IAccountingTransaction_new.d.ts +18 -0
  320. package/es/types/Interface/models/IAccountingTransaction_new.d.ts.map +1 -0
  321. package/es/types/Interface/models/IAccountingTransaction_new.js +2 -0
  322. package/es/types/Interface/models/IAccountingTransaction_new.js.map +1 -0
  323. package/es/types/Interface/models/IAccountsSocieties.d.ts +0 -2
  324. package/es/types/Interface/models/IAccountsSocieties.d.ts.map +1 -1
  325. package/es/types/Interface/models/IAccountsSocieties.js.map +1 -1
  326. package/es/types/Interface/models/IApiError.d.ts +1 -7
  327. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  328. package/es/types/Interface/models/IApiError.js +0 -8
  329. package/es/types/Interface/models/IApiError.js.map +1 -1
  330. package/es/types/Interface/models/IAreasInvoice.d.ts +1 -0
  331. package/es/types/Interface/models/IAreasInvoice.d.ts.map +1 -1
  332. package/es/types/Interface/models/IAreasInvoice.js.map +1 -1
  333. package/es/types/Interface/models/IAutoLoginToken.d.ts +10 -0
  334. package/es/types/Interface/models/IAutoLoginToken.d.ts.map +1 -0
  335. package/es/types/Interface/models/IAutoLoginToken.js +2 -0
  336. package/es/types/Interface/models/IAutoLoginToken.js.map +1 -0
  337. package/es/types/Interface/models/IBalanceSheet.d.ts +0 -4
  338. package/es/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  339. package/es/types/Interface/models/IBalanceSheet.js.map +1 -1
  340. package/es/types/Interface/models/IBankTransaction.d.ts +34 -0
  341. package/es/types/Interface/models/IBankTransaction.d.ts.map +1 -0
  342. package/es/types/Interface/models/IBankTransaction.js +2 -0
  343. package/es/types/Interface/models/IBankTransaction.js.map +1 -0
  344. package/es/types/Interface/models/ICallDirectly.d.ts +26 -0
  345. package/es/types/Interface/models/ICallDirectly.d.ts.map +1 -0
  346. package/es/types/Interface/models/ICallDirectly.js +2 -0
  347. package/es/types/Interface/models/ICallDirectly.js.map +1 -0
  348. package/es/types/Interface/models/IChecklist.d.ts +2 -2
  349. package/es/types/Interface/models/IChecklist.js.map +1 -1
  350. package/es/types/Interface/models/{ICustomerTva.d.ts → ICustomerVat.d.ts} +10 -9
  351. package/es/types/Interface/models/ICustomerVat.d.ts.map +1 -0
  352. package/es/types/Interface/models/ICustomerVat.js +2 -0
  353. package/es/types/Interface/models/ICustomerVat.js.map +1 -0
  354. package/es/types/Interface/models/IEngagementAccountingEntry.d.ts +27 -0
  355. package/es/types/Interface/models/IEngagementAccountingEntry.d.ts.map +1 -0
  356. package/es/types/Interface/models/IEngagementAccountingEntry.js +2 -0
  357. package/es/types/Interface/models/IEngagementAccountingEntry.js.map +1 -0
  358. package/es/types/Interface/models/IEngagementAccountingFile.d.ts +43 -0
  359. package/es/types/Interface/models/IEngagementAccountingFile.d.ts.map +1 -0
  360. package/es/types/Interface/models/IEngagementAccountingFile.js +2 -0
  361. package/es/types/Interface/models/IEngagementAccountingFile.js.map +1 -0
  362. package/es/types/Interface/models/IEngagementBankTransaction.d.ts +33 -0
  363. package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +1 -0
  364. package/es/types/Interface/models/IEngagementBankTransaction.js +2 -0
  365. package/es/types/Interface/models/IEngagementBankTransaction.js.map +1 -0
  366. package/es/types/Interface/models/IEstimateInvoice.d.ts +0 -1
  367. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  368. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  369. package/es/types/Interface/models/IExercice.d.ts +2 -7
  370. package/es/types/Interface/models/IExercice.d.ts.map +1 -1
  371. package/es/types/Interface/models/IExercice.js.map +1 -1
  372. package/es/types/Interface/models/IFaq.d.ts +15 -0
  373. package/es/types/Interface/models/IFaq.d.ts.map +1 -0
  374. package/es/types/Interface/models/IFaq.js +2 -0
  375. package/es/types/Interface/models/IFaq.js.map +1 -0
  376. package/es/types/Interface/models/IFaqCategory.d.ts +5 -0
  377. package/es/types/Interface/models/IFaqCategory.d.ts.map +1 -0
  378. package/es/types/Interface/models/IFaqCategory.js +2 -0
  379. package/es/types/Interface/models/IFaqCategory.js.map +1 -0
  380. package/es/types/Interface/models/IFollowedQualityMail.d.ts +13 -0
  381. package/es/types/Interface/models/IFollowedQualityMail.d.ts.map +1 -0
  382. package/es/types/Interface/models/IFollowedQualityMail.js +2 -0
  383. package/es/types/Interface/models/IFollowedQualityMail.js.map +1 -0
  384. package/es/types/Interface/models/IFollowedQualityMailType.d.ts +7 -0
  385. package/es/types/Interface/models/IFollowedQualityMailType.d.ts.map +1 -0
  386. package/es/types/Interface/models/IFollowedQualityMailType.js +2 -0
  387. package/es/types/Interface/models/IFollowedQualityMailType.js.map +1 -0
  388. package/es/types/Interface/models/IGedFile.d.ts +0 -3
  389. package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
  390. package/es/types/Interface/models/IGedFile.js.map +1 -1
  391. package/es/types/Interface/models/IIdentification.d.ts +18 -0
  392. package/es/types/Interface/models/IIdentification.d.ts.map +1 -0
  393. package/es/types/Interface/models/IIdentification.js +2 -0
  394. package/es/types/Interface/models/IIdentification.js.map +1 -0
  395. package/es/types/Interface/models/IImmobilization.d.ts +0 -2
  396. package/es/types/Interface/models/IImmobilization.d.ts.map +1 -1
  397. package/es/types/Interface/models/IImmobilization.js.map +1 -1
  398. package/es/types/Interface/models/IInterestedByFeature.d.ts +11 -0
  399. package/es/types/Interface/models/IInterestedByFeature.d.ts.map +1 -0
  400. package/es/types/Interface/models/IInterestedByFeature.js +2 -0
  401. package/es/types/Interface/models/IInterestedByFeature.js.map +1 -0
  402. package/es/types/Interface/models/IJob.d.ts +12 -0
  403. package/es/types/Interface/models/IJob.d.ts.map +1 -0
  404. package/es/types/Interface/models/IJob.js +2 -0
  405. package/es/types/Interface/models/IJob.js.map +1 -0
  406. package/es/types/Interface/models/IJobCategory.d.ts +9 -0
  407. package/es/types/Interface/models/IJobCategory.d.ts.map +1 -0
  408. package/es/types/Interface/models/IJobCategory.js +2 -0
  409. package/es/types/Interface/models/IJobCategory.js.map +1 -0
  410. package/es/types/Interface/models/IKilometricAllowanceScale.d.ts +0 -1
  411. package/es/types/Interface/models/IKilometricAllowanceScale.d.ts.map +1 -1
  412. package/es/types/Interface/models/IKilometricAllowanceScale.js.map +1 -1
  413. package/es/types/Interface/models/ILettering.d.ts +4 -0
  414. package/es/types/Interface/models/ILettering.d.ts.map +1 -1
  415. package/es/types/Interface/models/ILettering.js.map +1 -1
  416. package/es/types/Interface/models/ILog.d.ts +2 -0
  417. package/es/types/Interface/models/ILog.d.ts.map +1 -1
  418. package/es/types/Interface/models/ILog.js.map +1 -1
  419. package/es/types/Interface/models/IMobileNotificationLog.d.ts +2 -2
  420. package/es/types/Interface/models/IMobileNotificationLog.d.ts.map +1 -1
  421. package/es/types/Interface/models/IMobileNotificationLog.js.map +1 -1
  422. package/es/types/Interface/models/IMobileNotificationSetting.d.ts +2 -2
  423. package/es/types/Interface/models/IMobileNotificationSetting.d.ts.map +1 -1
  424. package/es/types/Interface/models/IMobileNotificationSetting.js.map +1 -1
  425. package/es/types/Interface/models/IPageView.d.ts +10 -0
  426. package/es/types/Interface/models/IPageView.d.ts.map +1 -0
  427. package/es/types/Interface/models/IPageView.js +2 -0
  428. package/es/types/Interface/models/IPageView.js.map +1 -0
  429. package/es/types/Interface/models/IPayment.d.ts +0 -1
  430. package/es/types/Interface/models/IPayment.d.ts.map +1 -1
  431. package/es/types/Interface/models/IPayment.js.map +1 -1
  432. package/es/types/Interface/models/IPenalty.d.ts +27 -0
  433. package/es/types/Interface/models/IPenalty.d.ts.map +1 -0
  434. package/es/types/Interface/models/IPenalty.js +2 -0
  435. package/es/types/Interface/models/IPenalty.js.map +1 -0
  436. package/es/types/Interface/models/IPenaltyType.d.ts +7 -0
  437. package/es/types/Interface/models/IPenaltyType.d.ts.map +1 -0
  438. package/es/types/Interface/models/IPenaltyType.js +2 -0
  439. package/es/types/Interface/models/IPenaltyType.js.map +1 -0
  440. package/es/types/Interface/models/IRegistration.d.ts +12 -1
  441. package/es/types/Interface/models/IRegistration.d.ts.map +1 -1
  442. package/es/types/Interface/models/IRegistration.js.map +1 -1
  443. package/es/types/Interface/models/{IVatDeclarationCertificate.d.ts → IRegistrationCertificate.d.ts} +6 -3
  444. package/es/types/Interface/models/IRegistrationCertificate.d.ts.map +1 -0
  445. package/es/types/Interface/models/IRegistrationCertificate.js +2 -0
  446. package/es/types/Interface/models/IRegistrationCertificate.js.map +1 -0
  447. package/es/types/Interface/models/IRegulate.d.ts +3 -5
  448. package/es/types/Interface/models/IRegulate.d.ts.map +1 -1
  449. package/es/types/Interface/models/IRegulate.js.map +1 -1
  450. package/es/types/Interface/models/IReport.d.ts +0 -3
  451. package/es/types/Interface/models/IReport.d.ts.map +1 -1
  452. package/es/types/Interface/models/IReport.js.map +1 -1
  453. package/es/types/Interface/models/ISociety.d.ts +3 -6
  454. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  455. package/es/types/Interface/models/ISociety.js.map +1 -1
  456. package/es/types/Interface/models/ISocietyApproval.d.ts +2 -4
  457. package/es/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  458. package/es/types/Interface/models/ISocietyApproval.js.map +1 -1
  459. package/es/types/Interface/models/ISocietyDetail.d.ts +97 -97
  460. package/es/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
  461. package/es/types/Interface/models/ISocietyDetail.js.map +1 -1
  462. package/es/types/Interface/models/ISuggestion.d.ts +14 -0
  463. package/es/types/Interface/models/ISuggestion.d.ts.map +1 -0
  464. package/es/types/Interface/models/ISuggestion.js +2 -0
  465. package/es/types/Interface/models/ISuggestion.js.map +1 -0
  466. package/es/types/Interface/models/ISupervision.d.ts +4 -0
  467. package/es/types/Interface/models/ISupervision.d.ts.map +1 -1
  468. package/es/types/Interface/models/ISupervision.js.map +1 -1
  469. package/es/types/Interface/models/ISupervisionJob.d.ts +8 -0
  470. package/es/types/Interface/models/ISupervisionJob.d.ts.map +1 -0
  471. package/es/types/Interface/models/ISupervisionJob.js +2 -0
  472. package/es/types/Interface/models/ISupervisionJob.js.map +1 -0
  473. package/es/types/Interface/models/IThirdPartySociety.d.ts +0 -2
  474. package/es/types/Interface/models/IThirdPartySociety.d.ts.map +1 -1
  475. package/es/types/Interface/models/IThirdPartySociety.js.map +1 -1
  476. package/es/types/Interface/models/ITmpValidationToken.d.ts +11 -0
  477. package/es/types/Interface/models/ITmpValidationToken.d.ts.map +1 -0
  478. package/es/types/Interface/models/ITmpValidationToken.js +2 -0
  479. package/es/types/Interface/models/ITmpValidationToken.js.map +1 -0
  480. package/es/types/Interface/models/IUser.d.ts +0 -6
  481. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  482. package/es/types/Interface/models/IUser.js.map +1 -1
  483. package/es/types/Interface/models/IUserSocietyTicketSupport.d.ts +9 -0
  484. package/es/types/Interface/models/IUserSocietyTicketSupport.d.ts.map +1 -0
  485. package/es/types/Interface/models/IUserSocietyTicketSupport.js +2 -0
  486. package/es/types/Interface/models/IUserSocietyTicketSupport.js.map +1 -0
  487. package/es/types/Interface/models/IVatDeclaration.d.ts +3 -2
  488. package/es/types/Interface/models/IVatDeclaration.d.ts.map +1 -1
  489. package/es/types/Interface/models/IVatDeclaration.js.map +1 -1
  490. package/es/types/Interface/models/IVatMargin.d.ts +7 -0
  491. package/es/types/Interface/models/IVatMargin.d.ts.map +1 -0
  492. package/es/types/Interface/models/IVatMargin.js +2 -0
  493. package/es/types/Interface/models/IVatMargin.js.map +1 -0
  494. package/es/types/Interface/models/IWebMailSpam.d.ts +8 -0
  495. package/es/types/Interface/models/IWebMailSpam.d.ts.map +1 -0
  496. package/es/types/Interface/models/IWebMailSpam.js +2 -0
  497. package/es/types/Interface/models/IWebMailSpam.js.map +1 -0
  498. package/es/types/Interface/models/IWebMailSpamType.d.ts +7 -0
  499. package/es/types/Interface/models/IWebMailSpamType.d.ts.map +1 -0
  500. package/es/types/Interface/models/IWebMailSpamType.js +2 -0
  501. package/es/types/Interface/models/IWebMailSpamType.js.map +1 -0
  502. package/es/types/Interface/models/IWorkingSchedule.d.ts +0 -2
  503. package/es/types/Interface/models/IWorkingSchedule.d.ts.map +1 -1
  504. package/es/types/Interface/models/IWorkingSchedule.js.map +1 -1
  505. package/es/types/Interface/schemas/IRegistrationDetail.d.ts +11 -0
  506. package/es/types/Interface/schemas/IRegistrationDetail.d.ts.map +1 -0
  507. package/es/types/Interface/schemas/IRegistrationDetail.js +2 -0
  508. package/es/types/Interface/schemas/IRegistrationDetail.js.map +1 -0
  509. package/es/types/Interface/schemas/ITransactionHistory.d.ts +11 -0
  510. package/es/types/Interface/schemas/ITransactionHistory.d.ts.map +1 -0
  511. package/es/types/Interface/schemas/ITransactionHistory.js +2 -0
  512. package/es/types/Interface/schemas/ITransactionHistory.js.map +1 -0
  513. package/es/types/index.d.ts +39 -31
  514. package/es/types/index.d.ts.map +1 -1
  515. package/es/types/index.js +40 -31
  516. package/es/types/index.js.map +1 -1
  517. package/es/utils/amount.d.ts +0 -1
  518. package/es/utils/amount.d.ts.map +1 -1
  519. package/es/utils/amount.js +0 -300
  520. package/es/utils/amount.js.map +1 -1
  521. package/es/utils/brands.d.ts +0 -8
  522. package/es/utils/brands.d.ts.map +1 -1
  523. package/es/utils/brands.js.map +1 -1
  524. package/es/utils/email/templates/signature.d.ts.map +1 -1
  525. package/es/utils/email/templates/signature.js +7 -6
  526. package/es/utils/email/templates/signature.js.map +1 -1
  527. package/es/utils/email.js +2 -2
  528. package/es/utils/email.js.map +1 -1
  529. package/es/utils/phone.d.ts +1 -1
  530. package/es/utils/phone.d.ts.map +1 -1
  531. package/es/utils/phone.js +8 -8
  532. package/es/utils/phone.js.map +1 -1
  533. package/es/utils/quotation.d.ts.map +1 -1
  534. package/es/utils/quotation.js +3 -5
  535. package/es/utils/quotation.js.map +1 -1
  536. package/es/utils/vat/3310/century23.d.ts +7 -0
  537. package/es/utils/vat/3310/century23.d.ts.map +1 -0
  538. package/es/utils/vat/3310/century23.js +1396 -0
  539. package/es/utils/vat/3310/century23.js.map +1 -0
  540. package/es/utils/vat/3514/century22.d.ts +5 -0
  541. package/es/utils/vat/3514/century22.d.ts.map +1 -0
  542. package/es/utils/vat/3514/century22.js +100 -0
  543. package/es/utils/vat/3514/century22.js.map +1 -0
  544. package/es/utils/vat/3514/century23.d.ts +4 -0
  545. package/es/utils/vat/3514/century23.d.ts.map +1 -0
  546. package/es/utils/vat/3514/century23.js +116 -0
  547. package/es/utils/vat/3514/century23.js.map +1 -0
  548. package/es/utils/vat/3517/century23.d.ts +40 -0
  549. package/es/utils/vat/3517/century23.d.ts.map +1 -0
  550. package/es/utils/vat/3517/century23.js +1741 -0
  551. package/es/utils/vat/3517/century23.js.map +1 -0
  552. package/es/utils/vat/3519/century17.d.ts +5 -0
  553. package/es/utils/vat/3519/century17.d.ts.map +1 -0
  554. package/es/utils/vat/3519/century17.js +86 -0
  555. package/es/utils/vat/3519/century17.js.map +1 -0
  556. package/es/utils/vat/3519/century23.d.ts +4 -0
  557. package/es/utils/vat/3519/century23.d.ts.map +1 -0
  558. package/es/utils/vat/3519/century23.js +145 -0
  559. package/es/utils/vat/3519/century23.js.map +1 -0
  560. package/es/utils/vat/centuries.d.ts +4 -0
  561. package/es/utils/vat/centuries.d.ts.map +1 -0
  562. package/es/utils/vat/centuries.js +57 -0
  563. package/es/utils/vat/centuries.js.map +1 -0
  564. package/es/utils/vat/index.d.ts +4 -0
  565. package/es/utils/vat/index.d.ts.map +1 -0
  566. package/es/utils/vat/index.js +4 -0
  567. package/es/utils/vat/index.js.map +1 -0
  568. package/es/utils/vat/registration.d.ts +9 -0
  569. package/es/utils/vat/registration.d.ts.map +1 -0
  570. package/es/utils/vat/registration.js +118 -0
  571. package/es/utils/vat/registration.js.map +1 -0
  572. package/es/utils/vat/utils.d.ts +5 -0
  573. package/es/utils/vat/utils.d.ts.map +1 -0
  574. package/es/utils/vat/utils.js +46 -0
  575. package/es/utils/vat/utils.js.map +1 -0
  576. package/export-models.json +28811 -0
  577. package/importInterfaces.ts +91 -0
  578. package/js/api/resources/AccountingFiles.js +1 -7
  579. package/js/api/resources/AccountingFiles.js.map +1 -1
  580. package/js/api/resources/CommercialSetting.js +3 -0
  581. package/js/api/resources/CommercialSetting.js.map +1 -1
  582. package/js/api/resources/FIle.js +0 -6
  583. package/js/api/resources/FIle.js.map +1 -1
  584. package/js/api/resources/FirstStep.js +0 -3
  585. package/js/api/resources/FirstStep.js.map +1 -1
  586. package/js/api/resources/Invoice.js +0 -6
  587. package/js/api/resources/Invoice.js.map +1 -1
  588. package/js/api/resources/Mail.js +0 -5
  589. package/js/api/resources/Mail.js.map +1 -1
  590. package/js/api/resources/Notification.js +1 -7
  591. package/js/api/resources/Notification.js.map +1 -1
  592. package/js/api/resources/Prestations.js +0 -8
  593. package/js/api/resources/Prestations.js.map +1 -1
  594. package/js/api/resources/Registration.js +3 -0
  595. package/js/api/resources/Registration.js.map +1 -1
  596. package/js/api/resources/Report.js +0 -7
  597. package/js/api/resources/Report.js.map +1 -1
  598. package/js/api/resources/Rule.js +0 -3
  599. package/js/api/resources/Rule.js.map +1 -1
  600. package/js/api/resources/Tax.js +5 -0
  601. package/js/api/resources/Tax.js.map +1 -1
  602. package/js/api/resources/TaxDeadline.js +7 -0
  603. package/js/api/resources/TaxDeadline.js.map +1 -1
  604. package/js/api/resources/TimeRecorder.js +0 -5
  605. package/js/api/resources/TimeRecorder.js.map +1 -1
  606. package/js/api/resources/User.js +3 -2
  607. package/js/api/resources/User.js.map +1 -1
  608. package/js/api/resources/Vat.js +111 -0
  609. package/js/api/resources/Vat.js.map +1 -0
  610. package/js/api/resources/statistic/CustomerSuccess.js +1 -1
  611. package/js/api/resources/statistic/CustomerSuccess.js.map +1 -1
  612. package/js/api/resources.js +3 -9
  613. package/js/api/resources.js.map +1 -1
  614. package/js/index.js.map +1 -1
  615. package/js/types/Enum/Account.js +0 -8
  616. package/js/types/Enum/Account.js.map +1 -1
  617. package/js/types/Enum/Activity.js +0 -50
  618. package/js/types/Enum/Activity.js.map +1 -1
  619. package/js/types/Enum/BalanceSheet.js +1 -1
  620. package/js/types/Enum/BalanceSheet.js.map +1 -1
  621. package/js/types/Enum/BrandClementine.js +109 -24
  622. package/js/types/Enum/BrandClementine.js.map +1 -1
  623. package/js/types/Enum/BrandComptalib.js +76 -14
  624. package/js/types/Enum/BrandComptalib.js.map +1 -1
  625. package/js/types/Enum/BrandLegalstart.js +23 -45
  626. package/js/types/Enum/BrandLegalstart.js.map +1 -1
  627. package/js/types/Enum/BrandPourcentage.js +1 -457
  628. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  629. package/js/types/Enum/ConnectorType.js +1 -1
  630. package/js/types/Enum/ConnectorType.js.map +1 -1
  631. package/js/types/Enum/ConstitutionState.js +6 -6
  632. package/js/types/Enum/ConstitutionState.js.map +1 -1
  633. package/js/types/Enum/Country.js +0 -780
  634. package/js/types/Enum/Country.js.map +1 -1
  635. package/js/types/Enum/Ged.js +1 -1
  636. package/js/types/Enum/Ged.js.map +1 -1
  637. package/js/types/Enum/InternalService.js +0 -12
  638. package/js/types/Enum/InternalService.js.map +1 -1
  639. package/js/types/Enum/JobTitle.js +0 -35
  640. package/js/types/Enum/JobTitle.js.map +1 -1
  641. package/js/types/Enum/Log.js +0 -200
  642. package/js/types/Enum/Log.js.map +1 -1
  643. package/js/types/Enum/MealExpenseThresholds.js +2 -6
  644. package/js/types/Enum/MealExpenseThresholds.js.map +1 -1
  645. package/js/types/Enum/MimeType.js +0 -1
  646. package/js/types/Enum/MimeType.js.map +1 -1
  647. package/js/types/Enum/NafCode.js +28 -0
  648. package/js/types/Enum/NafCode.js.map +1 -0
  649. package/js/types/Enum/NotificationType.js +5 -41
  650. package/js/types/Enum/NotificationType.js.map +1 -1
  651. package/js/types/Enum/Office.js +25 -0
  652. package/js/types/Enum/Office.js.map +1 -0
  653. package/js/types/Enum/Phone.js +1 -1
  654. package/js/types/Enum/Phone.js.map +1 -1
  655. package/js/types/Enum/PrestationType.js +0 -72
  656. package/js/types/Enum/PrestationType.js.map +1 -1
  657. package/js/types/Enum/Registration.js +6 -0
  658. package/js/types/Enum/Registration.js.map +1 -1
  659. package/js/types/Enum/RegistrationSource.js +0 -1
  660. package/js/types/Enum/RegistrationSource.js.map +1 -1
  661. package/js/types/Enum/ReportService.js +9 -21
  662. package/js/types/Enum/ReportService.js.map +1 -1
  663. package/js/types/Enum/Role.js +0 -2
  664. package/js/types/Enum/Role.js.map +1 -1
  665. package/js/types/Enum/RoleDetail.js +8 -30
  666. package/js/types/Enum/RoleDetail.js.map +1 -1
  667. package/js/types/Enum/TaskResponseType.js +0 -52
  668. package/js/types/Enum/TaskResponseType.js.map +1 -1
  669. package/js/types/Enum/Tax.js +6 -0
  670. package/js/types/Enum/Tax.js.map +1 -1
  671. package/js/types/Enum/TaxSystem.js +0 -10
  672. package/js/types/Enum/TaxSystem.js.map +1 -1
  673. package/js/types/Enum/TimeRecorderLocation.js +14 -0
  674. package/js/types/Enum/TimeRecorderLocation.js.map +1 -0
  675. package/js/types/Enum/Unit.js +0 -10
  676. package/js/types/Enum/Unit.js.map +1 -1
  677. package/js/types/Enum/VatDeclarationType.js +40 -40
  678. package/js/types/Enum/VatDeclarationType.js.map +1 -1
  679. package/js/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -1
  680. package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js +0 -1
  681. package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  682. package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  683. package/js/types/Interface/api/{accountingFiles/Read.js → cerfa/3310.js} +1 -1
  684. package/js/types/Interface/api/cerfa/3310.js.map +1 -0
  685. package/js/types/Interface/api/{commercialImport/Read.js → cerfa/3514.js} +1 -1
  686. package/js/types/Interface/api/cerfa/3514.js.map +1 -0
  687. package/js/types/Interface/api/cerfa/3517.js +8 -0
  688. package/js/types/Interface/api/cerfa/3517.js.map +1 -0
  689. package/js/types/Interface/{models/ICustomerTva.js → api/cerfa/3519.js} +1 -1
  690. package/js/types/Interface/api/cerfa/3519.js.map +1 -0
  691. package/js/types/Interface/api/cerfa/ReadCerfa.js +2 -0
  692. package/js/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  693. package/js/types/Interface/api/exercice/CreateExercice.js +0 -1
  694. package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -1
  695. package/js/types/Interface/api/exercice/QueryExercice.js +0 -1
  696. package/js/types/Interface/api/exercice/QueryExercice.js.map +1 -1
  697. package/js/types/Interface/api/exercice/UpdateExercice.js +0 -2
  698. package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
  699. package/js/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
  700. package/js/types/Interface/api/notification/CreateNotification.js +1 -1
  701. package/js/types/Interface/api/notification/CreateNotification.js.map +1 -1
  702. package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js +1 -1
  703. package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
  704. package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js +1 -1
  705. package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
  706. package/js/types/Interface/api/registration/CreateRegistration.js +34 -1
  707. package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  708. package/js/types/Interface/api/registration/DeclareRegistration.js +11 -1
  709. package/js/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
  710. package/js/types/Interface/api/registration/QueryRegistration.js +11 -3
  711. package/js/types/Interface/api/registration/QueryRegistration.js.map +1 -1
  712. package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  713. package/js/types/Interface/api/{firstStep/Create.js → registration/UpdateRegistration.js} +12 -11
  714. package/js/types/Interface/api/registration/UpdateRegistration.js.map +1 -0
  715. package/js/types/Interface/api/report/ReadReportStats.js.map +1 -1
  716. package/js/types/Interface/api/society/CreateSociety.js +0 -1
  717. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  718. package/js/types/Interface/api/statistic/QueryInternal.js +2 -4
  719. package/js/types/Interface/api/statistic/QueryInternal.js.map +1 -1
  720. package/js/types/Interface/api/{team/QueryCreate.js → tax/QueryTax.js} +7 -6
  721. package/js/types/Interface/api/tax/QueryTax.js.map +1 -0
  722. package/js/types/Interface/api/tax/ReadTax.js +2 -0
  723. package/js/types/Interface/api/tax/ReadTax.js.map +1 -1
  724. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +21 -6
  725. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  726. package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js +2 -0
  727. package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  728. package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +0 -1
  729. package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
  730. package/js/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
  731. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +15 -16
  732. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  733. package/js/types/Interface/api/vatDeclaration/ReadVatDeclaration.js +8 -0
  734. package/js/types/Interface/api/vatDeclaration/ReadVatDeclaration.js.map +1 -0
  735. package/js/types/Interface/models/IAccountingEntry.js.map +1 -1
  736. package/js/types/Interface/models/IAccountingTransaction.js.map +1 -1
  737. package/js/types/Interface/models/IAccountingTransaction_new.js +6 -0
  738. package/js/types/Interface/models/IAccountingTransaction_new.js.map +1 -0
  739. package/js/types/Interface/models/IAccountsSocieties.js.map +1 -1
  740. package/js/types/Interface/models/IApiError.js +0 -8
  741. package/js/types/Interface/models/IApiError.js.map +1 -1
  742. package/js/types/Interface/models/IAreasInvoice.js.map +1 -1
  743. package/js/types/Interface/models/IAutoLoginToken.js +6 -0
  744. package/js/types/Interface/models/IAutoLoginToken.js.map +1 -0
  745. package/js/types/Interface/models/IBalanceSheet.js.map +1 -1
  746. package/js/types/Interface/models/{IAppNotification.js → IBankTransaction.js} +1 -1
  747. package/js/types/Interface/models/IBankTransaction.js.map +1 -0
  748. package/js/types/Interface/{api/companeo/CompaneoReturn.js → models/ICallDirectly.js} +1 -1
  749. package/js/types/Interface/models/ICallDirectly.js.map +1 -0
  750. package/js/types/Interface/models/IChecklist.js.map +1 -1
  751. package/js/types/Interface/models/ICustomerVat.js +6 -0
  752. package/js/types/Interface/models/ICustomerVat.js.map +1 -0
  753. package/js/types/Interface/models/IEngagementAccountingEntry.js +6 -0
  754. package/js/types/Interface/models/IEngagementAccountingEntry.js.map +1 -0
  755. package/js/types/Interface/models/IEngagementAccountingFile.js +6 -0
  756. package/js/types/Interface/models/IEngagementAccountingFile.js.map +1 -0
  757. package/js/types/Interface/models/IEngagementBankTransaction.js +6 -0
  758. package/js/types/Interface/models/IEngagementBankTransaction.js.map +1 -0
  759. package/js/types/Interface/models/IEstimateInvoice.js.map +1 -1
  760. package/js/types/Interface/models/IExercice.js.map +1 -1
  761. package/js/types/Interface/models/IFaq.js +6 -0
  762. package/js/types/Interface/models/IFaq.js.map +1 -0
  763. package/js/types/Interface/models/IFaqCategory.js +6 -0
  764. package/js/types/Interface/models/IFaqCategory.js.map +1 -0
  765. package/js/types/Interface/models/IFollowedQualityMail.js +6 -0
  766. package/js/types/Interface/models/IFollowedQualityMail.js.map +1 -0
  767. package/js/types/Interface/models/IFollowedQualityMailType.js +6 -0
  768. package/js/types/Interface/models/IFollowedQualityMailType.js.map +1 -0
  769. package/js/types/Interface/models/IGedFile.js.map +1 -1
  770. package/js/types/Interface/models/IIdentification.js +6 -0
  771. package/js/types/Interface/models/IIdentification.js.map +1 -0
  772. package/js/types/Interface/models/IImmobilization.js.map +1 -1
  773. package/js/types/Interface/models/IInterestedByFeature.js +6 -0
  774. package/js/types/Interface/models/IInterestedByFeature.js.map +1 -0
  775. package/js/types/Interface/models/IJob.js +6 -0
  776. package/js/types/Interface/models/IJob.js.map +1 -0
  777. package/js/types/Interface/models/IJobCategory.js +6 -0
  778. package/js/types/Interface/models/IJobCategory.js.map +1 -0
  779. package/js/types/Interface/models/IKilometricAllowanceScale.js.map +1 -1
  780. package/js/types/Interface/models/ILettering.js.map +1 -1
  781. package/js/types/Interface/models/ILog.js.map +1 -1
  782. package/js/types/Interface/models/IMobileNotificationLog.js.map +1 -1
  783. package/js/types/Interface/models/IMobileNotificationSetting.js.map +1 -1
  784. package/js/types/Interface/models/IPageView.js +6 -0
  785. package/js/types/Interface/models/IPageView.js.map +1 -0
  786. package/js/types/Interface/models/IPayment.js.map +1 -1
  787. package/js/types/Interface/models/IPenalty.js +6 -0
  788. package/js/types/Interface/models/IPenalty.js.map +1 -0
  789. package/js/types/Interface/models/IPenaltyType.js +6 -0
  790. package/js/types/Interface/models/IPenaltyType.js.map +1 -0
  791. package/js/types/Interface/models/IRegistration.js.map +1 -1
  792. package/js/types/Interface/models/IRegistrationCertificate.js +6 -0
  793. package/js/types/Interface/models/IRegistrationCertificate.js.map +1 -0
  794. package/js/types/Interface/models/IRegulate.js.map +1 -1
  795. package/js/types/Interface/models/IReport.js.map +1 -1
  796. package/js/types/Interface/models/ISociety.js.map +1 -1
  797. package/js/types/Interface/models/ISocietyApproval.js.map +1 -1
  798. package/js/types/Interface/models/ISocietyDetail.js.map +1 -1
  799. package/js/types/Interface/models/ISuggestion.js +6 -0
  800. package/js/types/Interface/models/ISuggestion.js.map +1 -0
  801. package/js/types/Interface/models/ISupervision.js.map +1 -1
  802. package/js/types/Interface/models/ISupervisionJob.js +6 -0
  803. package/js/types/Interface/models/ISupervisionJob.js.map +1 -0
  804. package/js/types/Interface/models/IThirdPartySociety.js.map +1 -1
  805. package/js/types/Interface/models/ITmpValidationToken.js +6 -0
  806. package/js/types/Interface/models/ITmpValidationToken.js.map +1 -0
  807. package/js/types/Interface/models/IUser.js.map +1 -1
  808. package/js/types/Interface/models/IUserSocietyTicketSupport.js +6 -0
  809. package/js/types/Interface/models/IUserSocietyTicketSupport.js.map +1 -0
  810. package/js/types/Interface/models/IVatDeclaration.js.map +1 -1
  811. package/js/types/Interface/models/IVatMargin.js +6 -0
  812. package/js/types/Interface/models/IVatMargin.js.map +1 -0
  813. package/js/types/Interface/models/IWebMailSpam.js +6 -0
  814. package/js/types/Interface/models/IWebMailSpam.js.map +1 -0
  815. package/js/types/Interface/models/IWebMailSpamType.js +6 -0
  816. package/js/types/Interface/models/IWebMailSpamType.js.map +1 -0
  817. package/js/types/Interface/models/IWorkingSchedule.js.map +1 -1
  818. package/js/types/Interface/schemas/IRegistrationDetail.js +6 -0
  819. package/js/types/Interface/schemas/IRegistrationDetail.js.map +1 -0
  820. package/js/types/Interface/schemas/ITransactionHistory.js +6 -0
  821. package/js/types/Interface/schemas/ITransactionHistory.js.map +1 -0
  822. package/js/types/index.js +457 -377
  823. package/js/types/index.js.map +1 -1
  824. package/js/utils/amount.js +0 -238
  825. package/js/utils/amount.js.map +1 -1
  826. package/js/utils/brands.js.map +1 -1
  827. package/js/utils/email/templates/signature.js +7 -6
  828. package/js/utils/email/templates/signature.js.map +1 -1
  829. package/js/utils/email.js +2 -2
  830. package/js/utils/email.js.map +1 -1
  831. package/js/utils/phone.js +8 -8
  832. package/js/utils/phone.js.map +1 -1
  833. package/js/utils/quotation.js +3 -5
  834. package/js/utils/quotation.js.map +1 -1
  835. package/js/utils/vat/3310/century23.js +1241 -0
  836. package/js/utils/vat/3310/century23.js.map +1 -0
  837. package/js/utils/vat/3514/century22.js +104 -0
  838. package/js/utils/vat/3514/century22.js.map +1 -0
  839. package/js/utils/vat/3514/century23.js +106 -0
  840. package/js/utils/vat/3514/century23.js.map +1 -0
  841. package/js/utils/vat/3517/century23.js +1814 -0
  842. package/js/utils/vat/3517/century23.js.map +1 -0
  843. package/js/utils/vat/3519/century17.js +91 -0
  844. package/js/utils/vat/3519/century17.js.map +1 -0
  845. package/js/utils/vat/3519/century23.js +134 -0
  846. package/js/utils/vat/3519/century23.js.map +1 -0
  847. package/js/utils/vat/centuries.js +64 -0
  848. package/js/utils/vat/centuries.js.map +1 -0
  849. package/js/utils/vat/index.js +36 -0
  850. package/js/utils/vat/index.js.map +1 -0
  851. package/js/utils/vat/registration.js +165 -0
  852. package/js/utils/vat/registration.js.map +1 -0
  853. package/js/utils/vat/utils.js +53 -0
  854. package/js/utils/vat/utils.js.map +1 -0
  855. package/package.json +1 -1
  856. package/table.json +264 -0
  857. package/ts/api/resources/AccountingFiles.ts +3 -10
  858. package/ts/api/resources/CommercialSetting.ts +5 -1
  859. package/ts/api/resources/FIle.ts +0 -5
  860. package/ts/api/resources/FirstStep.ts +1 -5
  861. package/ts/api/resources/Invoice.ts +0 -8
  862. package/ts/api/resources/Mail.ts +0 -5
  863. package/ts/api/resources/Notification.ts +1 -10
  864. package/ts/api/resources/Prestations.ts +0 -9
  865. package/ts/api/resources/Registration.ts +5 -0
  866. package/ts/api/resources/Report.ts +1 -4
  867. package/ts/api/resources/Rule.ts +0 -4
  868. package/ts/api/resources/Tax.ts +5 -1
  869. package/ts/api/resources/TaxDeadline.ts +7 -1
  870. package/ts/api/resources/TimeRecorder.ts +1 -4
  871. package/ts/api/resources/User.ts +3 -2
  872. package/ts/api/resources/Vat.ts +79 -0
  873. package/ts/api/resources/statistic/CustomerSuccess.ts +1 -1
  874. package/ts/api/resources.ts +2 -8
  875. package/ts/index.ts +1 -0
  876. package/ts/types/Enum/Account.ts +0 -8
  877. package/ts/types/Enum/Activity.ts +1 -52
  878. package/ts/types/Enum/BalanceSheet.ts +1 -1
  879. package/ts/types/Enum/BrandClementine.ts +111 -24
  880. package/ts/types/Enum/BrandComptalib.ts +77 -14
  881. package/ts/types/Enum/BrandLegalstart.ts +23 -45
  882. package/ts/types/Enum/BrandPourcentage.ts +1 -462
  883. package/ts/types/Enum/ConnectorType.ts +1 -1
  884. package/ts/types/Enum/ConstitutionState.ts +4 -4
  885. package/ts/types/Enum/Country.ts +0 -394
  886. package/ts/types/Enum/Ged.ts +1 -1
  887. package/ts/types/Enum/InternalService.ts +0 -12
  888. package/ts/types/Enum/JobTitle.ts +0 -42
  889. package/ts/types/Enum/Log.ts +1 -202
  890. package/ts/types/Enum/MealExpenseThresholds.ts +2 -6
  891. package/ts/types/Enum/MimeType.ts +0 -1
  892. package/ts/types/Enum/NafCode.ts +21 -0
  893. package/ts/types/Enum/NotificationType.ts +2 -49
  894. package/ts/types/Enum/Office.ts +19 -0
  895. package/ts/types/Enum/Phone.ts +1 -1
  896. package/ts/types/Enum/PrestationType.ts +0 -72
  897. package/ts/types/Enum/Registration.ts +6 -0
  898. package/ts/types/Enum/RegistrationSource.ts +0 -1
  899. package/ts/types/Enum/ReportService.ts +8 -20
  900. package/ts/types/Enum/Role.ts +0 -2
  901. package/ts/types/Enum/RoleDetail.ts +1 -23
  902. package/ts/types/Enum/TaskResponseType.ts +0 -57
  903. package/ts/types/Enum/Tax.ts +6 -0
  904. package/ts/types/Enum/TaxSystem.ts +1 -18
  905. package/ts/types/Enum/TimeRecorderLocation.ts +9 -0
  906. package/ts/types/Enum/Unit.ts +0 -11
  907. package/ts/types/Enum/VatDeclarationType.ts +40 -40
  908. package/ts/types/Interface/api/accountingFiles/OcrPayload.ts +1 -0
  909. package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +1 -4
  910. package/ts/types/Interface/api/aspone/ReadInterchange.ts +6 -4
  911. package/ts/types/Interface/api/cerfa/3310.ts +247 -0
  912. package/ts/types/Interface/api/cerfa/3514.ts +67 -0
  913. package/ts/types/Interface/api/cerfa/3517.ts +334 -0
  914. package/ts/types/Interface/api/cerfa/3519.ts +53 -0
  915. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +47 -2
  916. package/ts/types/Interface/api/exercice/CreateExercice.ts +0 -6
  917. package/ts/types/Interface/api/exercice/QueryExercice.ts +0 -6
  918. package/ts/types/Interface/api/exercice/UpdateExercice.ts +0 -12
  919. package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccount.ts +1 -3
  920. package/ts/types/Interface/api/notification/CreateNotification.ts +3 -3
  921. package/ts/types/Interface/api/notificationSetting/CreateNotificationSetting.ts +3 -3
  922. package/ts/types/Interface/api/notificationSetting/UpdateNotificationSetting.ts +3 -3
  923. package/ts/types/Interface/api/registration/CreateRegistration.ts +112 -1
  924. package/ts/types/Interface/api/registration/DeclareRegistration.ts +34 -2
  925. package/ts/types/Interface/api/registration/QueryRegistration.ts +27 -2
  926. package/ts/types/Interface/api/registration/ReadRegistration.ts +29 -2
  927. package/ts/types/Interface/api/registration/UpdateRegistration.ts +42 -0
  928. package/ts/types/Interface/api/report/ReadReportStats.ts +1 -2
  929. package/ts/types/Interface/api/society/CreateSociety.ts +0 -3
  930. package/ts/types/Interface/api/statistic/QueryInternal.ts +0 -2
  931. package/ts/types/Interface/api/tax/QueryTax.ts +16 -0
  932. package/ts/types/Interface/api/tax/ReadTax.ts +25 -0
  933. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +52 -10
  934. package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +20 -5
  935. package/ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts +0 -5
  936. package/ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts +2 -8
  937. package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +23 -42
  938. package/ts/types/Interface/api/vatDeclaration/ReadVatDeclaration.ts +14 -0
  939. package/ts/types/Interface/models/IAccountingEntry.ts +2 -0
  940. package/ts/types/Interface/models/IAccountingTransaction.ts +1 -2
  941. package/ts/types/Interface/models/IAccountingTransaction_new.ts +20 -0
  942. package/ts/types/Interface/models/IAccountsSocieties.ts +0 -4
  943. package/ts/types/Interface/models/IApiError.ts +0 -10
  944. package/ts/types/Interface/models/IAreasInvoice.ts +1 -0
  945. package/ts/types/Interface/models/IAutoLoginToken.ts +10 -0
  946. package/ts/types/Interface/models/IBalanceSheet.ts +0 -4
  947. package/ts/types/Interface/models/IBankTransaction.ts +37 -0
  948. package/ts/types/Interface/models/ICallDirectly.ts +29 -0
  949. package/ts/types/Interface/models/IChecklist.ts +2 -2
  950. package/ts/types/Interface/models/{ICustomerTva.ts → ICustomerVat.ts} +9 -8
  951. package/ts/types/Interface/models/IEngagementAccountingEntry.ts +30 -0
  952. package/ts/types/Interface/models/IEngagementAccountingFile.ts +46 -0
  953. package/ts/types/Interface/models/IEngagementBankTransaction.ts +36 -0
  954. package/ts/types/Interface/models/IEstimateInvoice.ts +0 -1
  955. package/ts/types/Interface/models/IExercice.ts +2 -7
  956. package/ts/types/Interface/models/IFaq.ts +18 -0
  957. package/ts/types/Interface/models/IFaqCategory.ts +5 -0
  958. package/ts/types/Interface/models/IFollowedQualityMail.ts +16 -0
  959. package/ts/types/Interface/models/IFollowedQualityMailType.ts +7 -0
  960. package/ts/types/Interface/models/IGedFile.ts +0 -3
  961. package/ts/types/Interface/models/IIdentification.ts +21 -0
  962. package/ts/types/Interface/models/IImmobilization.ts +0 -2
  963. package/ts/types/Interface/models/IInterestedByFeature.ts +14 -0
  964. package/ts/types/Interface/models/IJob.ts +15 -0
  965. package/ts/types/Interface/models/IJobCategory.ts +12 -0
  966. package/ts/types/Interface/models/IKilometricAllowanceScale.ts +0 -1
  967. package/ts/types/Interface/models/ILettering.ts +8 -0
  968. package/ts/types/Interface/models/ILog.ts +2 -0
  969. package/ts/types/Interface/models/IMobileNotificationLog.ts +2 -2
  970. package/ts/types/Interface/models/IMobileNotificationSetting.ts +2 -2
  971. package/ts/types/Interface/models/IPageView.ts +13 -0
  972. package/ts/types/Interface/models/IPayment.ts +0 -1
  973. package/ts/types/Interface/models/IPenalty.ts +30 -0
  974. package/ts/types/Interface/models/IPenaltyType.ts +7 -0
  975. package/ts/types/Interface/models/IRegistration.ts +12 -1
  976. package/ts/types/Interface/models/{IVatDeclarationCertificate.ts → IRegistrationCertificate.ts} +5 -3
  977. package/ts/types/Interface/models/IRegulate.ts +3 -5
  978. package/ts/types/Interface/models/IReport.ts +0 -3
  979. package/ts/types/Interface/models/ISociety.ts +2 -8
  980. package/ts/types/Interface/models/ISocietyApproval.ts +2 -4
  981. package/ts/types/Interface/models/ISocietyDetail.ts +97 -97
  982. package/ts/types/Interface/models/ISuggestion.ts +17 -0
  983. package/ts/types/Interface/models/ISupervision.ts +4 -0
  984. package/ts/types/Interface/models/ISupervisionJob.ts +8 -0
  985. package/ts/types/Interface/models/IThirdPartySociety.ts +0 -5
  986. package/ts/types/Interface/models/ITmpValidationToken.ts +14 -0
  987. package/ts/types/Interface/models/IUser.ts +0 -6
  988. package/ts/types/Interface/models/IUserSocietyTicketSupport.ts +9 -0
  989. package/ts/types/Interface/models/IVatDeclaration.ts +4 -3
  990. package/ts/types/Interface/models/IVatMargin.ts +7 -0
  991. package/ts/types/Interface/models/IWebMailSpam.ts +8 -0
  992. package/ts/types/Interface/models/IWebMailSpamType.ts +7 -0
  993. package/ts/types/Interface/models/IWorkingSchedule.ts +0 -2
  994. package/ts/types/Interface/schemas/IRegistrationDetail.ts +11 -0
  995. package/ts/types/Interface/schemas/ITransactionHistory.ts +11 -0
  996. package/ts/types/index.ts +43 -32
  997. package/ts/utils/amount.ts +0 -171
  998. package/ts/utils/brands.ts +0 -8
  999. package/ts/utils/email/templates/signature.ts +7 -6
  1000. package/ts/utils/email.ts +2 -2
  1001. package/ts/utils/phone.ts +8 -8
  1002. package/ts/utils/quotation.ts +3 -5
  1003. package/ts/utils/vat/3310/century23.ts +1408 -0
  1004. package/ts/utils/vat/3514/century22.ts +107 -0
  1005. package/ts/utils/vat/3514/century23.ts +118 -0
  1006. package/ts/utils/vat/3517/century23.ts +1763 -0
  1007. package/ts/utils/vat/3519/century17.ts +88 -0
  1008. package/ts/utils/vat/3519/century23.ts +147 -0
  1009. package/ts/utils/vat/centuries.ts +66 -0
  1010. package/ts/utils/vat/index.ts +3 -0
  1011. package/ts/utils/vat/registration.ts +124 -0
  1012. package/ts/utils/vat/utils.ts +47 -0
  1013. package/es/api/resources/CashAndExpense.d.ts +0 -8
  1014. package/es/api/resources/CashAndExpense.d.ts.map +0 -1
  1015. package/es/api/resources/CashAndExpense.js +0 -27
  1016. package/es/api/resources/CashAndExpense.js.map +0 -1
  1017. package/es/api/resources/CommercialImport.d.ts +0 -9
  1018. package/es/api/resources/CommercialImport.d.ts.map +0 -1
  1019. package/es/api/resources/CommercialImport.js +0 -24
  1020. package/es/api/resources/CommercialImport.js.map +0 -1
  1021. package/es/api/resources/Team.d.ts +0 -30
  1022. package/es/api/resources/Team.d.ts.map +0 -1
  1023. package/es/api/resources/Team.js +0 -37
  1024. package/es/api/resources/Team.js.map +0 -1
  1025. package/es/api/resources/VatDeclaration.d.ts +0 -8
  1026. package/es/api/resources/VatDeclaration.d.ts.map +0 -1
  1027. package/es/api/resources/VatDeclaration.js +0 -16
  1028. package/es/api/resources/VatDeclaration.js.map +0 -1
  1029. package/es/types/Enum/BrandClems.d.ts +0 -164
  1030. package/es/types/Enum/BrandClems.d.ts.map +0 -1
  1031. package/es/types/Enum/BrandClems.js +0 -155
  1032. package/es/types/Enum/BrandClems.js.map +0 -1
  1033. package/es/types/Enum/CashDeskTransactionType.d.ts +0 -7
  1034. package/es/types/Enum/CashDeskTransactionType.d.ts.map +0 -1
  1035. package/es/types/Enum/CashDeskTransactionType.js +0 -8
  1036. package/es/types/Enum/CashDeskTransactionType.js.map +0 -1
  1037. package/es/types/Enum/CommercialImportHeader.d.ts +0 -12
  1038. package/es/types/Enum/CommercialImportHeader.d.ts.map +0 -1
  1039. package/es/types/Enum/CommercialImportHeader.js +0 -109
  1040. package/es/types/Enum/CommercialImportHeader.js.map +0 -1
  1041. package/es/types/Enum/Compensation.d.ts +0 -15
  1042. package/es/types/Enum/Compensation.d.ts.map +0 -1
  1043. package/es/types/Enum/Compensation.js +0 -15
  1044. package/es/types/Enum/Compensation.js.map +0 -1
  1045. package/es/types/Enum/EntityType.d.ts +0 -18
  1046. package/es/types/Enum/EntityType.d.ts.map +0 -1
  1047. package/es/types/Enum/EntityType.js +0 -66
  1048. package/es/types/Enum/EntityType.js.map +0 -1
  1049. package/es/types/Enum/PaymentExpectation.d.ts +0 -18
  1050. package/es/types/Enum/PaymentExpectation.d.ts.map +0 -1
  1051. package/es/types/Enum/PaymentExpectation.js +0 -66
  1052. package/es/types/Enum/PaymentExpectation.js.map +0 -1
  1053. package/es/types/Enum/ReasonTerminationType.d.ts +0 -23
  1054. package/es/types/Enum/ReasonTerminationType.d.ts.map +0 -1
  1055. package/es/types/Enum/ReasonTerminationType.js +0 -86
  1056. package/es/types/Enum/ReasonTerminationType.js.map +0 -1
  1057. package/es/types/Enum/RemoteType.d.ts +0 -10
  1058. package/es/types/Enum/RemoteType.d.ts.map +0 -1
  1059. package/es/types/Enum/RemoteType.js +0 -21
  1060. package/es/types/Enum/RemoteType.js.map +0 -1
  1061. package/es/types/Enum/ThirdParty.d.ts +0 -7
  1062. package/es/types/Enum/ThirdParty.d.ts.map +0 -1
  1063. package/es/types/Enum/ThirdParty.js +0 -7
  1064. package/es/types/Enum/ThirdParty.js.map +0 -1
  1065. package/es/types/Interface/api/accountingFiles/Read.d.ts +0 -6
  1066. package/es/types/Interface/api/accountingFiles/Read.d.ts.map +0 -1
  1067. package/es/types/Interface/api/accountingFiles/Read.js +0 -2
  1068. package/es/types/Interface/api/accountingFiles/Read.js.map +0 -1
  1069. package/es/types/Interface/api/appNotification/Update.d.ts +0 -5
  1070. package/es/types/Interface/api/appNotification/Update.d.ts.map +0 -1
  1071. package/es/types/Interface/api/appNotification/Update.js +0 -25
  1072. package/es/types/Interface/api/appNotification/Update.js.map +0 -1
  1073. package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts +0 -4
  1074. package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts.map +0 -1
  1075. package/es/types/Interface/api/archive/ImportSocietyArchive.js +0 -19
  1076. package/es/types/Interface/api/archive/ImportSocietyArchive.js.map +0 -1
  1077. package/es/types/Interface/api/cashAndExpense/Create.d.ts +0 -27
  1078. package/es/types/Interface/api/cashAndExpense/Create.d.ts.map +0 -1
  1079. package/es/types/Interface/api/cashAndExpense/Create.js +0 -91
  1080. package/es/types/Interface/api/cashAndExpense/Create.js.map +0 -1
  1081. package/es/types/Interface/api/commercialImport/Create.d.ts +0 -11
  1082. package/es/types/Interface/api/commercialImport/Create.d.ts.map +0 -1
  1083. package/es/types/Interface/api/commercialImport/Create.js +0 -34
  1084. package/es/types/Interface/api/commercialImport/Create.js.map +0 -1
  1085. package/es/types/Interface/api/commercialImport/Query.d.ts +0 -12
  1086. package/es/types/Interface/api/commercialImport/Query.d.ts.map +0 -1
  1087. package/es/types/Interface/api/commercialImport/Query.js +0 -23
  1088. package/es/types/Interface/api/commercialImport/Query.js.map +0 -1
  1089. package/es/types/Interface/api/commercialImport/Read.d.ts +0 -41
  1090. package/es/types/Interface/api/commercialImport/Read.d.ts.map +0 -1
  1091. package/es/types/Interface/api/commercialImport/Read.js +0 -2
  1092. package/es/types/Interface/api/commercialImport/Read.js.map +0 -1
  1093. package/es/types/Interface/api/companeo/CompaneoReturn.d.ts +0 -46
  1094. package/es/types/Interface/api/companeo/CompaneoReturn.d.ts.map +0 -1
  1095. package/es/types/Interface/api/companeo/CompaneoReturn.js +0 -2
  1096. package/es/types/Interface/api/companeo/CompaneoReturn.js.map +0 -1
  1097. package/es/types/Interface/api/file/Query.d.ts +0 -4
  1098. package/es/types/Interface/api/file/Query.d.ts.map +0 -1
  1099. package/es/types/Interface/api/file/Query.js.map +0 -1
  1100. package/es/types/Interface/api/firstStep/Create.d.ts +0 -10
  1101. package/es/types/Interface/api/firstStep/Create.d.ts.map +0 -1
  1102. package/es/types/Interface/api/firstStep/Create.js.map +0 -1
  1103. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts +0 -7
  1104. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts.map +0 -1
  1105. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js +0 -39
  1106. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +0 -1
  1107. package/es/types/Interface/api/report/QueryReportsForLetter.d.ts +0 -5
  1108. package/es/types/Interface/api/report/QueryReportsForLetter.d.ts.map +0 -1
  1109. package/es/types/Interface/api/report/QueryReportsForLetter.js +0 -24
  1110. package/es/types/Interface/api/report/QueryReportsForLetter.js.map +0 -1
  1111. package/es/types/Interface/api/society/CreateSocietyDetail.d.ts +0 -6
  1112. package/es/types/Interface/api/society/CreateSocietyDetail.d.ts.map +0 -1
  1113. package/es/types/Interface/api/society/CreateSocietyDetail.js +0 -32
  1114. package/es/types/Interface/api/society/CreateSocietyDetail.js.map +0 -1
  1115. package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +0 -15
  1116. package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +0 -1
  1117. package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +0 -71
  1118. package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +0 -1
  1119. package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.d.ts +0 -4
  1120. package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.d.ts.map +0 -1
  1121. package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.js +0 -19
  1122. package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.js.map +0 -1
  1123. package/es/types/Interface/api/statutsGeneration/UpdateExercice.d.ts +0 -5
  1124. package/es/types/Interface/api/statutsGeneration/UpdateExercice.d.ts.map +0 -1
  1125. package/es/types/Interface/api/statutsGeneration/UpdateExercice.js +0 -26
  1126. package/es/types/Interface/api/statutsGeneration/UpdateExercice.js.map +0 -1
  1127. package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.d.ts +0 -5
  1128. package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.d.ts.map +0 -1
  1129. package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.js +0 -26
  1130. package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.js.map +0 -1
  1131. package/es/types/Interface/api/team/QueryCreate.d.ts +0 -5
  1132. package/es/types/Interface/api/team/QueryCreate.d.ts.map +0 -1
  1133. package/es/types/Interface/api/team/QueryCreate.js +0 -25
  1134. package/es/types/Interface/api/team/QueryCreate.js.map +0 -1
  1135. package/es/types/Interface/api/team/QueryGetAllWithIncludes.d.ts +0 -5
  1136. package/es/types/Interface/api/team/QueryGetAllWithIncludes.d.ts.map +0 -1
  1137. package/es/types/Interface/api/team/QueryGetAllWithIncludes.js +0 -28
  1138. package/es/types/Interface/api/team/QueryGetAllWithIncludes.js.map +0 -1
  1139. package/es/types/Interface/api/team/QueryUpdate.d.ts +0 -7
  1140. package/es/types/Interface/api/team/QueryUpdate.d.ts.map +0 -1
  1141. package/es/types/Interface/api/team/QueryUpdate.js +0 -38
  1142. package/es/types/Interface/api/team/QueryUpdate.js.map +0 -1
  1143. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts +0 -5
  1144. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts.map +0 -1
  1145. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js +0 -25
  1146. package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +0 -1
  1147. package/es/types/Interface/models/IAppNotification.d.ts +0 -20
  1148. package/es/types/Interface/models/IAppNotification.d.ts.map +0 -1
  1149. package/es/types/Interface/models/IAppNotification.js +0 -2
  1150. package/es/types/Interface/models/IAppNotification.js.map +0 -1
  1151. package/es/types/Interface/models/ICustomerTva.d.ts.map +0 -1
  1152. package/es/types/Interface/models/ICustomerTva.js +0 -2
  1153. package/es/types/Interface/models/ICustomerTva.js.map +0 -1
  1154. package/es/types/Interface/models/IVatDeclarationCertificate.d.ts.map +0 -1
  1155. package/es/types/Interface/models/IVatDeclarationCertificate.js +0 -2
  1156. package/es/types/Interface/models/IVatDeclarationCertificate.js.map +0 -1
  1157. package/js/api/resources/CashAndExpense.js +0 -37
  1158. package/js/api/resources/CashAndExpense.js.map +0 -1
  1159. package/js/api/resources/CommercialImport.js +0 -38
  1160. package/js/api/resources/CommercialImport.js.map +0 -1
  1161. package/js/api/resources/Team.js +0 -46
  1162. package/js/api/resources/Team.js.map +0 -1
  1163. package/js/api/resources/VatDeclaration.js +0 -27
  1164. package/js/api/resources/VatDeclaration.js.map +0 -1
  1165. package/js/types/Enum/BrandClems.js +0 -157
  1166. package/js/types/Enum/BrandClems.js.map +0 -1
  1167. package/js/types/Enum/CashDeskTransactionType.js +0 -13
  1168. package/js/types/Enum/CashDeskTransactionType.js.map +0 -1
  1169. package/js/types/Enum/CommercialImportHeader.js +0 -114
  1170. package/js/types/Enum/CommercialImportHeader.js.map +0 -1
  1171. package/js/types/Enum/Compensation.js +0 -20
  1172. package/js/types/Enum/Compensation.js.map +0 -1
  1173. package/js/types/Enum/EntityType.js +0 -64
  1174. package/js/types/Enum/EntityType.js.map +0 -1
  1175. package/js/types/Enum/PaymentExpectation.js +0 -60
  1176. package/js/types/Enum/PaymentExpectation.js.map +0 -1
  1177. package/js/types/Enum/ReasonTerminationType.js +0 -74
  1178. package/js/types/Enum/ReasonTerminationType.js.map +0 -1
  1179. package/js/types/Enum/RemoteType.js +0 -22
  1180. package/js/types/Enum/RemoteType.js.map +0 -1
  1181. package/js/types/Enum/ThirdParty.js +0 -12
  1182. package/js/types/Enum/ThirdParty.js.map +0 -1
  1183. package/js/types/Interface/api/accountingFiles/Read.js.map +0 -1
  1184. package/js/types/Interface/api/appNotification/Update.js +0 -24
  1185. package/js/types/Interface/api/appNotification/Update.js.map +0 -1
  1186. package/js/types/Interface/api/archive/ImportSocietyArchive.js +0 -22
  1187. package/js/types/Interface/api/archive/ImportSocietyArchive.js.map +0 -1
  1188. package/js/types/Interface/api/cashAndExpense/Create.js +0 -44
  1189. package/js/types/Interface/api/cashAndExpense/Create.js.map +0 -1
  1190. package/js/types/Interface/api/commercialImport/Create.js +0 -27
  1191. package/js/types/Interface/api/commercialImport/Create.js.map +0 -1
  1192. package/js/types/Interface/api/commercialImport/Query.js +0 -24
  1193. package/js/types/Interface/api/commercialImport/Query.js.map +0 -1
  1194. package/js/types/Interface/api/commercialImport/Read.js.map +0 -1
  1195. package/js/types/Interface/api/companeo/CompaneoReturn.js.map +0 -1
  1196. package/js/types/Interface/api/file/Query.js +0 -21
  1197. package/js/types/Interface/api/file/Query.js.map +0 -1
  1198. package/js/types/Interface/api/firstStep/Create.js.map +0 -1
  1199. package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js +0 -30
  1200. package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +0 -1
  1201. package/js/types/Interface/api/report/QueryReportsForLetter.js +0 -23
  1202. package/js/types/Interface/api/report/QueryReportsForLetter.js.map +0 -1
  1203. package/js/types/Interface/api/society/CreateSocietyDetail.js +0 -24
  1204. package/js/types/Interface/api/society/CreateSocietyDetail.js.map +0 -1
  1205. package/js/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +0 -34
  1206. package/js/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +0 -1
  1207. package/js/types/Interface/api/statutsGeneration/SendInviteMailParams.js +0 -22
  1208. package/js/types/Interface/api/statutsGeneration/SendInviteMailParams.js.map +0 -1
  1209. package/js/types/Interface/api/statutsGeneration/UpdateExercice.js +0 -23
  1210. package/js/types/Interface/api/statutsGeneration/UpdateExercice.js.map +0 -1
  1211. package/js/types/Interface/api/statutsGeneration/UpdateExerciceParams.js +0 -23
  1212. package/js/types/Interface/api/statutsGeneration/UpdateExerciceParams.js.map +0 -1
  1213. package/js/types/Interface/api/team/QueryCreate.js.map +0 -1
  1214. package/js/types/Interface/api/team/QueryGetAllWithIncludes.js +0 -24
  1215. package/js/types/Interface/api/team/QueryGetAllWithIncludes.js.map +0 -1
  1216. package/js/types/Interface/api/team/QueryUpdate.js +0 -25
  1217. package/js/types/Interface/api/team/QueryUpdate.js.map +0 -1
  1218. package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js +0 -23
  1219. package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +0 -1
  1220. package/js/types/Interface/models/IAppNotification.js.map +0 -1
  1221. package/js/types/Interface/models/ICustomerTva.js.map +0 -1
  1222. package/js/types/Interface/models/IVatDeclarationCertificate.js +0 -6
  1223. package/js/types/Interface/models/IVatDeclarationCertificate.js.map +0 -1
  1224. package/ts/api/resources/CashAndExpense.ts +0 -31
  1225. package/ts/api/resources/CommercialImport.ts +0 -32
  1226. package/ts/api/resources/Team.ts +0 -43
  1227. package/ts/api/resources/VatDeclaration.ts +0 -19
  1228. package/ts/types/Enum/BrandClems.ts +0 -154
  1229. package/ts/types/Enum/CashDeskTransactionType.ts +0 -6
  1230. package/ts/types/Enum/CommercialImportHeader.ts +0 -119
  1231. package/ts/types/Enum/Compensation.ts +0 -14
  1232. package/ts/types/Enum/EntityType.ts +0 -65
  1233. package/ts/types/Enum/PaymentExpectation.ts +0 -65
  1234. package/ts/types/Enum/ReasonTerminationType.ts +0 -85
  1235. package/ts/types/Enum/RemoteType.ts +0 -20
  1236. package/ts/types/Enum/ThirdParty.ts +0 -6
  1237. package/ts/types/Interface/api/accountingFiles/Read.ts +0 -6
  1238. package/ts/types/Interface/api/appNotification/Update.ts +0 -13
  1239. package/ts/types/Interface/api/archive/ImportSocietyArchive.ts +0 -8
  1240. package/ts/types/Interface/api/cashAndExpense/Create.ts +0 -67
  1241. package/ts/types/Interface/api/commercialImport/Create.ts +0 -22
  1242. package/ts/types/Interface/api/commercialImport/Query.ts +0 -35
  1243. package/ts/types/Interface/api/commercialImport/Read.ts +0 -41
  1244. package/ts/types/Interface/api/companeo/CompaneoReturn.ts +0 -47
  1245. package/ts/types/Interface/api/file/Query.ts +0 -6
  1246. package/ts/types/Interface/api/firstStep/Create.ts +0 -39
  1247. package/ts/types/Interface/api/prestation/QueryCreatePrestationSocieties.ts +0 -27
  1248. package/ts/types/Interface/api/report/QueryReportsForLetter.ts +0 -12
  1249. package/ts/types/Interface/api/society/CreateSocietyDetail.ts +0 -19
  1250. package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +0 -54
  1251. package/ts/types/Interface/api/statutsGeneration/SendInviteMailParams.ts +0 -10
  1252. package/ts/types/Interface/api/statutsGeneration/UpdateExercice.ts +0 -16
  1253. package/ts/types/Interface/api/statutsGeneration/UpdateExerciceParams.ts +0 -16
  1254. package/ts/types/Interface/api/team/QueryCreate.ts +0 -13
  1255. package/ts/types/Interface/api/team/QueryGetAllWithIncludes.ts +0 -16
  1256. package/ts/types/Interface/api/team/QueryUpdate.ts +0 -26
  1257. package/ts/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.ts +0 -15
  1258. package/ts/types/Interface/models/IAppNotification.ts +0 -22
@@ -3,11 +3,12 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CreateRegistrationSynchronization = exports.CreateRegistration = exports.CreateRegistrationSettingFromSociety = exports.CreateRegistrationSetting = undefined;
6
+ exports.CreateVatMigration = exports.UpdateOrCreateVatAdvance = exports.CreateRegistrationDetail = exports.UpdateOrCreateVatRegistration = exports.CreateRegistrationSynchronization = exports.CreateRegistration = exports.CreateRegistrationSettingFromSociety = exports.CreateRegistrationSetting = undefined;
7
7
  var _classValidator = require("class-validator");
8
8
  var _utils = require("../../../../utils");
9
9
  var _CerfaType = require("../../../Enum/CerfaType");
10
10
  var _boolean = require("../../../../utils/transforms/boolean.transform");
11
+ var _CustomerVat = require("../../../Enum/CustomerVat");
11
12
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12
13
  var c = arguments.length,
13
14
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
@@ -48,4 +49,36 @@ __decorate([(0, _utils.ApiPropertyOptional)({
48
49
  class CreateRegistrationSynchronization {}
49
50
  exports.CreateRegistrationSynchronization = CreateRegistrationSynchronization;
50
51
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], CreateRegistrationSynchronization.prototype, "forceTestMode", void 0);
52
+ class UpdateOrCreateVatRegistration {}
53
+ exports.UpdateOrCreateVatRegistration = UpdateOrCreateVatRegistration;
54
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsEnum)(_CerfaType.CerfaType), __metadata("design:type", Number)], UpdateOrCreateVatRegistration.prototype, "idCerfaType", void 0);
55
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], UpdateOrCreateVatRegistration.prototype, "startDate", void 0);
56
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], UpdateOrCreateVatRegistration.prototype, "endDate", void 0);
57
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Object)], UpdateOrCreateVatRegistration.prototype, "payload", void 0);
58
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateOrCreateVatRegistration.prototype, "annexPayload", void 0);
59
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateOrCreateVatRegistration.prototype, "isTest", void 0);
60
+ class CreateRegistrationDetail {}
61
+ exports.CreateRegistrationDetail = CreateRegistrationDetail;
62
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], CreateRegistrationDetail.prototype, "accountingTransactionIds", void 0);
63
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], CreateRegistrationDetail.prototype, "updatedEntries", void 0);
64
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), (0, _classValidator.ValidateNested)({
65
+ each: true
66
+ }), __metadata("design:type", Array)], CreateRegistrationDetail.prototype, "inputs", void 0);
67
+ class UpdateOrCreateVatAdvance {}
68
+ exports.UpdateOrCreateVatAdvance = UpdateOrCreateVatAdvance;
69
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], UpdateOrCreateVatAdvance.prototype, "vatDate", void 0);
70
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], UpdateOrCreateVatAdvance.prototype, "isCA12", void 0);
71
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], UpdateOrCreateVatAdvance.prototype, "stateAmount", void 0);
72
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateOrCreateVatAdvance.prototype, "amount", void 0);
73
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateOrCreateVatAdvance.prototype, "type", void 0);
74
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateOrCreateVatAdvance.prototype, "state", void 0);
75
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateOrCreateVatAdvance.prototype, "status", void 0);
76
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateOrCreateVatAdvance.prototype, "amountBaseTva", void 0);
77
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], UpdateOrCreateVatAdvance.prototype, "comment", void 0);
78
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], UpdateOrCreateVatAdvance.prototype, "token", void 0);
79
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], UpdateOrCreateVatAdvance.prototype, "idMail", void 0);
80
+ class CreateVatMigration {}
81
+ exports.CreateVatMigration = CreateVatMigration;
82
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateVatMigration.prototype, "idVatDeclaration", void 0);
83
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], CreateVatMigration.prototype, "limit", void 0);
51
84
  //# sourceMappingURL=CreateRegistration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateRegistration.js","names":["_classValidator","require","_utils","_CerfaType","_boolean","CreateRegistrationSetting","exports","__decorate","ApiPropertyOptional","CreateRegistrationSettingFromSociety","CreateRegistration","ApiProperty","IsEnum","CerfaType","IsNumber","Min","IsOptional","IsDateString","IsBoolean","ToBoolean","description","CreateRegistrationSynchronization"],"sources":["../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"sourcesContent":["import {\n IsEnum, IsOptional, IsBoolean, IsNumber, Min, IsDateString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { Rof } from '../../../Enum/Aspone';\n\nexport class CreateRegistrationSetting {\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport class CreateRegistrationSettingFromSociety {\n @ApiPropertyOptional()\n rof: Rof | null;\n\n @ApiPropertyOptional()\n companyTaxRof: Rof | null;\n\n @ApiPropertyOptional()\n ogaName: string | null;\n\n @ApiPropertyOptional()\n ogaId: string | null;\n\n @ApiPropertyOptional()\n ogaAddressNumero: string | null;\n\n @ApiPropertyOptional()\n ogaAddressType: string | null;\n\n @ApiPropertyOptional()\n ogaAddressVoie: string | null;\n\n @ApiPropertyOptional()\n ogaAddressZipCode: string | null;\n\n @ApiPropertyOptional()\n ogaAddressCity: string | null;\n\n @ApiPropertyOptional()\n ogaReference: string | null;\n\n @ApiPropertyOptional()\n iban: string | null;\n\n @ApiPropertyOptional()\n bic: string | null;\n}\n\nexport type ForcedValues_2571 = {\n base?: number;\n regularisation?: number;\n};\n\nexport type ForcedValues = {\n cerfa2571?: ForcedValues_2571;\n};\n\nexport class CreateRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @Min(0)\n @IsOptional()\n amountToPay?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n date?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional({ description: 'Set values manually (not available for all cerfa)' })\n @IsOptional()\n forcedValues?: ForcedValues;\n}\n\nexport class CreateRegistrationSynchronization {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n forceTestMode?: boolean;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;;;;;;;;;;;AAGM,MAAOI,yBAAyB;AAMrCC,OAAA,CANYD,yBAAyB,GAAzBA,yBAAyB;AACpCE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,wFACD;AAErBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,uFACF;AAGhB,MAAOC,oCAAoC;AAoChDH,OAAA,CApCYG,oCAAoC,GAApCA,oCAAoC;AAC/CF,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,kGACN;AAEhBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,4GACI;AAE1BD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,sGACC;AAEvBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,oGACD;AAErBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,+GACU;AAEhCD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,6GACQ;AAE9BD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,6GACQ;AAE9BD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,gHACW;AAEjCD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,6GACQ;AAE9BD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,2GACM;AAE5BD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,mGACF;AAEpBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,kGACH;AAYf,MAAOE,kBAAkB;AAyB9BJ,OAAA,CAzBYI,kBAAkB,GAAlBA,kBAAkB;AAC7BH,UAAA,EAAC,IAAAI,kBAAW,GAAE,EACb,IAAAC,sBAAM,EAACC,oBAAS,CAAC,E,wFACE;AAEpBN,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAM,wBAAQ,GAAE,EACV,IAAAC,mBAAG,EAAC,CAAC,CAAC,EACN,IAAAC,0BAAU,GAAE,E,wFACQ;AAErBT,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAS,4BAAY,GAAE,EACd,IAAAD,0BAAU,GAAE,E,iFACC;AAEdT,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAU,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAH,0BAAU,GAAE,E,oFACI;AAEjBT,UAAA,EAAC,IAAAC,0BAAmB,EAAC;EAAEY,WAAW,EAAE;AAAmD,CAAE,CAAC,EACzF,IAAAJ,0BAAU,GAAE,E,yFACe;AAGxB,MAAOK,iCAAiC;AAM7Cf,OAAA,CANYe,iCAAiC,GAAjCA,iCAAiC;AAC5Cd,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,EACZ,IAAAE,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,0GACY"}
1
+ {"version":3,"file":"CreateRegistration.js","names":["_classValidator","require","_utils","_CerfaType","_boolean","_CustomerVat","CreateRegistrationSetting","exports","__decorate","ApiPropertyOptional","CreateRegistrationSettingFromSociety","CreateRegistration","ApiProperty","IsEnum","CerfaType","IsNumber","Min","IsOptional","IsDateString","IsBoolean","ToBoolean","description","CreateRegistrationSynchronization","UpdateOrCreateVatRegistration","CreateRegistrationDetail","IsArray","ValidateNested","each","UpdateOrCreateVatAdvance","IsString","CreateVatMigration"],"sources":["../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"sourcesContent":["import {\n IsEnum, IsOptional, IsBoolean, IsNumber, Min, IsDateString, IsArray, ValidateNested, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { Rof } from '../../../Enum/Aspone';\nimport { Cerfa3310_2023 } from '../cerfa/3310';\nimport { Cerfa3519_2017 } from '../cerfa/3519';\nimport { CerfaFormValue } from '../cerfa/ReadCerfa';\nimport { UpdatedAnnotation } from './ReadRegistration';\nimport { CustomerVatState, CustomerVatType } from '../../../Enum/CustomerVat';\n\nexport class CreateRegistrationSetting {\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport class CreateRegistrationSettingFromSociety {\n @ApiPropertyOptional()\n rof: Rof | null;\n\n @ApiPropertyOptional()\n companyTaxRof: Rof | null;\n\n @ApiPropertyOptional()\n ogaName: string | null;\n\n @ApiPropertyOptional()\n ogaId: string | null;\n\n @ApiPropertyOptional()\n ogaAddressNumero: string | null;\n\n @ApiPropertyOptional()\n ogaAddressType: string | null;\n\n @ApiPropertyOptional()\n ogaAddressVoie: string | null;\n\n @ApiPropertyOptional()\n ogaAddressZipCode: string | null;\n\n @ApiPropertyOptional()\n ogaAddressCity: string | null;\n\n @ApiPropertyOptional()\n ogaReference: string | null;\n\n @ApiPropertyOptional()\n iban: string | null;\n\n @ApiPropertyOptional()\n bic: string | null;\n}\n\nexport type ForcedValues_2571 = {\n base?: number;\n regularisation?: number;\n};\n\nexport type ForcedValues = {\n cerfa2571?: ForcedValues_2571;\n};\n\nexport class CreateRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @Min(0)\n @IsOptional()\n amountToPay?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n date?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional({ description: 'Set values manually (not available for all cerfa)' })\n @IsOptional()\n forcedValues?: ForcedValues;\n}\n\nexport class CreateRegistrationSynchronization {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n forceTestMode?: boolean;\n}\n\nexport class UpdateOrCreateVatRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n payload: Cerfa3310_2023;\n\n @ApiPropertyOptional()\n annexPayload?: Cerfa3519_2017;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n}\n\nexport class CreateRegistrationDetail {\n @ApiProperty()\n @IsArray()\n accountingTransactionIds: number[];\n\n @ApiProperty()\n @IsArray()\n updatedEntries: UpdatedAnnotation[];\n\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n inputs: CerfaFormValue[];\n}\n\nexport class UpdateOrCreateVatAdvance {\n @ApiProperty()\n @IsDateString()\n vatDate: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n stateAmount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type: CustomerVatType;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n state: CustomerVatState;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n status: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amountBaseTva: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n token: string;\n\n @ApiPropertyOptional()\n idMail: number | null;\n}\n\nexport class CreateVatMigration {\n @ApiPropertyOptional()\n @IsOptional()\n idVatDeclaration?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n limit?: number;\n}"],"mappings":"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"}
@@ -3,10 +3,11 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.DeclareRegistration = undefined;
6
+ exports.ProcessVatRegistration = exports.DeclareVatRegistration = exports.DeclareRegistration = undefined;
7
7
  var _classValidator = require("class-validator");
8
8
  var _decorators = require("../../../../utils/decorators");
9
9
  var _boolean = require("../../../../utils/transforms/boolean.transform");
10
+ var _CustomerVat = require("../../../Enum/CustomerVat");
10
11
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11
12
  var c = arguments.length,
12
13
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
@@ -20,4 +21,13 @@ var __metadata = undefined && undefined.__metadata || function (k, v) {
20
21
  class DeclareRegistration {}
21
22
  exports.DeclareRegistration = DeclareRegistration;
22
23
  __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], DeclareRegistration.prototype, "isTestMode", void 0);
24
+ class DeclareVatRegistration {}
25
+ exports.DeclareVatRegistration = DeclareVatRegistration;
26
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], DeclareVatRegistration.prototype, "isTestMode", void 0);
27
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], DeclareVatRegistration.prototype, "withOga", void 0);
28
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], DeclareVatRegistration.prototype, "amountToPay", void 0);
29
+ class ProcessVatRegistration {}
30
+ exports.ProcessVatRegistration = ProcessVatRegistration;
31
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], ProcessVatRegistration.prototype, "isTestMode", void 0);
32
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], ProcessVatRegistration.prototype, "state", void 0);
23
33
  //# sourceMappingURL=DeclareRegistration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeclareRegistration.js","names":["_classValidator","require","_decorators","_boolean","DeclareRegistration","exports","__decorate","ApiPropertyOptional","IsOptional","IsBoolean","ToBoolean"],"sources":["../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"sourcesContent":["import { IsOptional, IsBoolean } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class DeclareRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode: boolean;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,mBAAmB;AAM/BC,OAAA,CANYD,mBAAmB,GAAnBA,mBAAmB;AAC9BE,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,yFACQ"}
1
+ {"version":3,"file":"DeclareRegistration.js","names":["_classValidator","require","_decorators","_boolean","_CustomerVat","DeclareRegistration","exports","__decorate","ApiPropertyOptional","IsOptional","IsBoolean","ToBoolean","DeclareVatRegistration","IsNumber","ProcessVatRegistration","ApiProperty"],"sources":["../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"sourcesContent":["import { IsOptional, IsBoolean, IsNumber } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { CustomerVatState } from '../../../Enum/CustomerVat';\n\nexport class DeclareRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode: boolean;\n}\n\nexport class DeclareVatRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withOga: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountToPay: number;\n}\n\nexport class ProcessVatRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode: boolean;\n\n @ApiProperty()\n @IsNumber()\n state: CustomerVatState;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;;;;;;;;;;;AAEM,MAAOI,mBAAmB;AAM/BC,OAAA,CANYD,mBAAmB,GAAnBA,mBAAmB;AAC9BE,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,yFACQ;AAGhB,MAAOC,sBAAsB;AAiBlCN,OAAA,CAjBYM,sBAAsB,GAAtBA,sBAAsB;AACjCL,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,4FACQ;AAEpBJ,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,yFACK;AAEjBJ,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAI,wBAAQ,GAAE,E,4FACS;AAGhB,MAAOC,sBAAsB;AAUlCR,OAAA,CAVYQ,sBAAsB,GAAtBA,sBAAsB;AACjCP,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,4FACQ;AAEpBJ,UAAA,EAAC,IAAAQ,uBAAW,GAAE,EACb,IAAAF,wBAAQ,GAAE,E,sFACa"}
@@ -3,9 +3,11 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QueryRegistration = undefined;
6
+ exports.QueryPaginatedRegistration = exports.QueryRegistration = undefined;
7
7
  var _classValidator = require("class-validator");
8
- var _ = require("../../../..");
8
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
9
+ var _BasePaginate = require("../BasePaginate");
10
+ var _decorators = require("../../../../utils/decorators");
9
11
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10
12
  var c = arguments.length,
11
13
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
@@ -18,5 +20,11 @@ var __metadata = undefined && undefined.__metadata || function (k, v) {
18
20
  };
19
21
  class QueryRegistration {}
20
22
  exports.QueryRegistration = QueryRegistration;
21
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsInt)(), (0, _classValidator.IsPositive)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRegistration.prototype, "idExercice", void 0);
23
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsInt)(), (0, _classValidator.IsPositive)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRegistration.prototype, "idExercice", void 0);
24
+ class QueryPaginatedRegistration extends _BasePaginate.RequiredQueryPaginate {}
25
+ exports.QueryPaginatedRegistration = QueryPaginatedRegistration;
26
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryPaginatedRegistration.prototype, "startDate", void 0);
27
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryPaginatedRegistration.prototype, "endDate", void 0);
28
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryPaginatedRegistration.prototype, "orderBy", void 0);
29
+ __decorate([(0, _decorators.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryPaginatedRegistration.prototype, "isDescending", void 0);
22
30
  //# sourceMappingURL=QueryRegistration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRegistration.js","names":["_classValidator","require","_","QueryRegistration","exports","__decorate","ApiPropertyOptional","IsInt","IsPositive","IsOptional"],"sources":["../../../../../ts/types/Interface/api/registration/QueryRegistration.ts"],"sourcesContent":["import {\n IsInt, IsPositive, IsOptional,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../..';\n\nexport class QueryRegistration {\n @ApiPropertyOptional()\n @IsInt()\n @IsPositive()\n @IsOptional()\n idExercice?: number;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,CAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,iBAAiB;AAM7BC,OAAA,CANYD,iBAAiB,GAAjBA,iBAAiB;AAC5BE,UAAA,EAAC,IAAAC,qBAAmB,GAAE,EACrB,IAAAC,qBAAK,GAAE,EACP,IAAAC,0BAAU,GAAE,EACZ,IAAAC,0BAAU,GAAE,E,sFACO"}
1
+ {"version":3,"file":"QueryRegistration.js","names":["_classValidator","require","_boolean","_BasePaginate","_decorators","QueryRegistration","exports","__decorate","ApiPropertyOptional","IsInt","IsPositive","IsOptional","QueryPaginatedRegistration","RequiredQueryPaginate","IsDateString","IsString","IsBoolean","ToBoolean"],"sources":["../../../../../ts/types/Interface/api/registration/QueryRegistration.ts"],"sourcesContent":["import {\n IsInt, IsPositive, IsOptional, IsDateString, IsString, IsBoolean,\n} from 'class-validator';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class QueryRegistration {\n @ApiPropertyOptional()\n @IsInt()\n @IsPositive()\n @IsOptional()\n idExercice?: number;\n}\n\nexport class QueryPaginatedRegistration extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;;;;;;;;;;;AAEM,MAAOI,iBAAiB;AAM7BC,OAAA,CANYD,iBAAiB,GAAjBA,iBAAiB;AAC5BE,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAC,qBAAK,GAAE,EACP,IAAAC,0BAAU,GAAE,EACZ,IAAAC,0BAAU,GAAE,E,sFACO;AAGhB,MAAOC,0BAA2B,SAAQC,mCAAqB;AAqBpEP,OAAA,CArBYM,0BAA2B,GAA3BA,0BAA2B;AACtCL,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAG,0BAAU,GAAE,EACZ,IAAAG,4BAAY,GAAE,E,8FACI;AAEnBP,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAG,0BAAU,GAAE,EACZ,IAAAG,4BAAY,GAAE,E,4FACE;AAEjBP,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAG,0BAAU,GAAE,EACZ,IAAAI,wBAAQ,GAAE,E,4FACM;AAEjBR,UAAA,EAAC,IAAAC,+BAAmB,GAAE,EACrB,IAAAQ,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAN,0BAAU,GAAE,E,kGACU"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadRegistration.js","names":[],"sources":["../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"sourcesContent":["import { IRegistration } from '../../models/IRegistration';\nimport { RegistrationState } from '../../..';\n\nexport type ReadRegistration = IRegistration & { state: RegistrationState };\n\nexport interface ReadSynchronization {\n id: number;\n hasError: boolean;\n hasDepositError: boolean;\n isProcessFinished: boolean;\n hasPaymentError: boolean;\n isTimeOut: boolean;\n hasFailed: boolean;\n}"],"mappings":""}
1
+ {"version":3,"file":"ReadRegistration.js","names":[],"sources":["../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"sourcesContent":["import { IRegistration } from '../../models/IRegistration';\nimport {\n FormEntry,\n IAccount, InterchangeState, RegistrationState, RegistrationTickState,\n} from '../../..';\n\nexport type ReadRegistration = IRegistration & { state: RegistrationState };\n\nexport interface ReadSynchronization {\n id: number;\n hasError: boolean;\n hasDepositError: boolean;\n isProcessFinished: boolean;\n hasPaymentError: boolean;\n isTimeOut: boolean;\n hasFailed: boolean;\n}\n\nexport type ReadRegistrationHistory = InterchangeState;\n\nexport interface ReadRegistrationTick {\n state: RegistrationTickState;\n title: string | null;\n details: InterchangeState,\n date: string | null;\n isPayment?: boolean;\n}\n\nexport interface ReadVatEntry {\n idVat: number | null;\n account: IAccount | null;\n totalTaxIncluded: number;\n totalTaxExcluded: number,\n totalTax: number,\n label: string,\n date: Date,\n idAccountingTransaction: number;\n isRevised: boolean;\n}\n\nexport type UpdatedAnnotation = Array<{ old: FormEntry[]; new: FormEntry[] }>;"],"mappings":""}
@@ -3,9 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.UpdateOrCreateFirstStep = undefined;
6
+ exports.UpdateRegistration = undefined;
7
7
  var _classValidator = require("class-validator");
8
8
  var _utils = require("../../../../utils");
9
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
9
10
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10
11
  var c = arguments.length,
11
12
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
@@ -16,13 +17,13 @@ var __decorate = undefined && undefined.__decorate || function (decorators, targ
16
17
  var __metadata = undefined && undefined.__metadata || function (k, v) {
17
18
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
18
19
  };
19
- class UpdateOrCreateFirstStep {}
20
- exports.UpdateOrCreateFirstStep = UpdateOrCreateFirstStep;
21
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], UpdateOrCreateFirstStep.prototype, "hasBankAccountSynchronized", void 0);
22
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], UpdateOrCreateFirstStep.prototype, "hasContactInformationsFilled", void 0);
23
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], UpdateOrCreateFirstStep.prototype, "hasEmailCustom", void 0);
24
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], UpdateOrCreateFirstStep.prototype, "hasStripeConnector", void 0);
25
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], UpdateOrCreateFirstStep.prototype, "hasAccountingTransactionAnnotated", void 0);
26
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], UpdateOrCreateFirstStep.prototype, "hasBillingToolCustom", void 0);
27
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], UpdateOrCreateFirstStep.prototype, "hasMobileApp", void 0);
28
- //# sourceMappingURL=Create.js.map
20
+ class UpdateRegistration {}
21
+ exports.UpdateRegistration = UpdateRegistration;
22
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsDate)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Date)], UpdateRegistration.prototype, "sendAt", void 0);
23
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsInt)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateRegistration.prototype, "idExercice", void 0);
24
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsInt)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateRegistration.prototype, "idSociety", void 0);
25
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _classValidator.IsOptional)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], UpdateRegistration.prototype, "isComplete", void 0);
26
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsInt)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], UpdateRegistration.prototype, "idUser", void 0);
27
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateRegistration.prototype, "idDeposit", void 0);
28
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateRegistration.prototype, "payload", void 0);
29
+ //# sourceMappingURL=UpdateRegistration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateRegistration.js","names":["_classValidator","require","_utils","_boolean","UpdateRegistration","exports","__decorate","ApiPropertyOptional","IsDate","IsOptional","Date","IsInt","IsBoolean","ToBoolean","IsString"],"sources":["../../../../../ts/types/Interface/api/registration/UpdateRegistration.ts"],"sourcesContent":["import {\n IsBoolean, IsDate, IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateRegistration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n sendAt?: Date;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n @ToBoolean()\n isComplete?: boolean;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n idDeposit?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n payload?: Record<string, string> | null ;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,kBAAkB;AAmC9BC,OAAA,CAnCYD,kBAAkB,GAAlBA,kBAAkB;AAC7BE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,sBAAM,GAAE,EACR,IAAAC,0BAAU,GAAE,E,0BACJC,IAAI,E,iDAAC;AAEdJ,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAI,qBAAK,GAAE,EACP,IAAAF,0BAAU,GAAE,E,uFACO;AAEpBH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAI,qBAAK,GAAE,EACP,IAAAF,0BAAU,GAAE,E,sFACM;AAEnBH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAK,yBAAS,GAAE,EACX,IAAAH,0BAAU,GAAE,EACZ,IAAAI,kBAAS,GAAE,E,wFACS;AAErBP,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAI,qBAAK,GAAE,EACP,IAAAF,0BAAU,GAAE,E,mFACG;AAEhBH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAO,wBAAQ,GAAE,EACV,IAAAL,0BAAU,GAAE,E,sFACa;AAE1BH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAE,0BAAU,GAAE,E,oFAC4B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadReportStats.js","names":[],"sources":["../../../../../ts/types/Interface/api/report/ReadReportStats.ts"],"sourcesContent":["import { IReport } from '../../..';\n\nexport interface ReadReportStats extends IReport {\n monthNumber: number,\n count: number,\n compensationAmount: number\n}"],"mappings":""}
1
+ {"version":3,"file":"ReadReportStats.js","names":[],"sources":["../../../../../ts/types/Interface/api/report/ReadReportStats.ts"],"sourcesContent":["import { IReport } from '../../..';\n\nexport interface ReadReportStats extends IReport {\n monthNumber: number,\n count: number\n}"],"mappings":""}
@@ -40,7 +40,6 @@ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)
40
40
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "profitsType", void 0);
41
41
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "idTaxSystem", void 0);
42
42
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "idSector", void 0);
43
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "leadQuotation", void 0);
44
43
  __decorate([(0, _utils.ApiPropertyOptional)({
45
44
  enum: _SubscriptionType.SubscriptionType
46
45
  }), __metadata("design:type", Number)], CreateSociety.prototype, "idSubscriptionType", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"CreateSociety.js","names":["_utils","require","_SubscriptionType","_RegistrationSource","CreateSociety","exports","__decorate","ApiProperty","ApiPropertyOptional","enum","RegistrationSource","SubscriptionType","description"],"sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { SubscriptionType } from '../../../Enum/SubscriptionType';\nimport { RegistrationSource } from '../../../Enum/RegistrationSource';\n\nexport type AnalticsUtm = {\n utm_source?: string;\n utm_campaign?: string;\n utm_medium?: string;\n};\n\nexport class CreateSociety {\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n address?: string;\n\n @ApiPropertyOptional()\n city?: string;\n\n @ApiPropertyOptional()\n idCountry?: number;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idVatRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n\n @ApiPropertyOptional()\n nafCode?: string;\n\n @ApiPropertyOptional()\n zipCode?: string;\n\n @ApiPropertyOptional({ enum: RegistrationSource })\n idSource?: RegistrationSource;\n\n @ApiPropertyOptional()\n analyticsUtm?: AnalticsUtm;\n\n @ApiPropertyOptional()\n confirmedAt?: string;\n\n @ApiPropertyOptional()\n idFiscalRegime?: number;\n\n @ApiPropertyOptional()\n profitsType?: number;\n\n @ApiPropertyOptional()\n idTaxSystem?: number;\n\n @ApiPropertyOptional()\n idSector?: number;\n\n @ApiPropertyOptional()\n leadQuotation?: number;\n\n @ApiPropertyOptional({ enum: SubscriptionType })\n idSubscriptionType?: SubscriptionType;\n\n @ApiPropertyOptional({ description: 'Identifiant de l\\'Expert-Comptable partenaire' })\n idPartneredAccountant?: number | null;\n}"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;;;;;;;;;;;AAQM,MAAOG,aAAa;AAkEzBC,OAAA,CAlEYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,kBAAW,GAAE,E,8EACC;AAEfD,UAAA,EAAC,IAAAC,kBAAW,GAAE,E,oFACO;AAErBD,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,4EACR;AAEdF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,+EACL;AAEjBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,4EACR;AAEdF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,iFACH;AAEnBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,kFACF;AAEpBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,mFACD;AAErBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,mFACD;AAErBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,sFAC0B;AAEhDF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,+EACL;AAEjBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,+EACL;AAEjBF,UAAA,EAAC,IAAAE,0BAAmB,EAAC;EAAEC,IAAI,EAAEC;AAAkB,CAAE,CAAC,E,gFACpB;AAE9BJ,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,oFACK;AAE3BF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,mFACD;AAErBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,sFACE;AAExBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,mFACD;AAErBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,mFACD;AAErBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,gFACJ;AAElBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,qFACC;AAEvBF,UAAA,EAAC,IAAAE,0BAAmB,EAAC;EAAEC,IAAI,EAAEE;AAAgB,CAAE,CAAC,E,0FACV;AAEtCL,UAAA,EAAC,IAAAE,0BAAmB,EAAC;EAAEI,WAAW,EAAE;AAA+C,CAAE,CAAC,E,6FAChD"}
1
+ {"version":3,"file":"CreateSociety.js","names":["_utils","require","_SubscriptionType","_RegistrationSource","CreateSociety","exports","__decorate","ApiProperty","ApiPropertyOptional","enum","RegistrationSource","SubscriptionType","description"],"sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { SubscriptionType } from '../../../Enum/SubscriptionType';\nimport { RegistrationSource } from '../../../Enum/RegistrationSource';\n\nexport type AnalticsUtm = {\n utm_source?: string;\n utm_campaign?: string;\n utm_medium?: string;\n};\n\nexport class CreateSociety {\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n address?: string;\n\n @ApiPropertyOptional()\n city?: string;\n\n @ApiPropertyOptional()\n idCountry?: number;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idVatRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n\n @ApiPropertyOptional()\n nafCode?: string;\n\n @ApiPropertyOptional()\n zipCode?: string;\n\n @ApiPropertyOptional({ enum: RegistrationSource })\n idSource?: RegistrationSource;\n\n @ApiPropertyOptional()\n analyticsUtm?: AnalticsUtm;\n\n @ApiPropertyOptional()\n confirmedAt?: string;\n\n @ApiPropertyOptional()\n idFiscalRegime?: number;\n\n @ApiPropertyOptional()\n profitsType?: number;\n\n @ApiPropertyOptional()\n idTaxSystem?: number;\n\n @ApiPropertyOptional()\n idSector?: number;\n\n @ApiPropertyOptional({ enum: SubscriptionType })\n idSubscriptionType?: SubscriptionType;\n\n @ApiPropertyOptional({ description: 'Identifiant de l\\'Expert-Comptable partenaire' })\n idPartneredAccountant?: number | null;\n}"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;;;;;;;;;;;AAQM,MAAOG,aAAa;AA+DzBC,OAAA,CA/DYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,kBAAW,GAAE,E,8EACC;AAEfD,UAAA,EAAC,IAAAC,kBAAW,GAAE,E,oFACO;AAErBD,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,4EACR;AAEdF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,+EACL;AAEjBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,4EACR;AAEdF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,iFACH;AAEnBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,kFACF;AAEpBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,mFACD;AAErBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,mFACD;AAErBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,sFAC0B;AAEhDF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,+EACL;AAEjBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,+EACL;AAEjBF,UAAA,EAAC,IAAAE,0BAAmB,EAAC;EAAEC,IAAI,EAAEC;AAAkB,CAAE,CAAC,E,gFACpB;AAE9BJ,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,oFACK;AAE3BF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,mFACD;AAErBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,sFACE;AAExBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,mFACD;AAErBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,mFACD;AAErBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,gFACJ;AAElBF,UAAA,EAAC,IAAAE,0BAAmB,EAAC;EAAEC,IAAI,EAAEE;AAAgB,CAAE,CAAC,E,0FACV;AAEtCL,UAAA,EAAC,IAAAE,0BAAmB,EAAC;EAAEI,WAAW,EAAE;AAA+C,CAAE,CAAC,E,6FAChD"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QueryInternalCustomerSuccess = exports.QueryInternal = undefined;
6
+ exports.QueryInternal = undefined;
7
7
  var _classValidator = require("class-validator");
8
8
  var _utils = require("../../../../utils");
9
9
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
@@ -20,7 +20,5 @@ class QueryInternal {}
20
20
  exports.QueryInternal = QueryInternal;
21
21
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), __metadata("design:type", Boolean)], QueryInternal.prototype, "expertProduction", void 0);
22
22
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryInternal.prototype, "idUser", void 0);
23
- class QueryInternalCustomerSuccess {}
24
- exports.QueryInternalCustomerSuccess = QueryInternalCustomerSuccess;
25
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], QueryInternalCustomerSuccess.prototype, "idUsers", void 0);
23
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], QueryInternal.prototype, "idUsers", void 0);
26
24
  //# sourceMappingURL=QueryInternal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryInternal.js","names":["_classValidator","require","_utils","QueryInternal","exports","__decorate","ApiPropertyOptional","IsOptional","IsBoolean","IsNumber","QueryInternalCustomerSuccess","IsArray"],"sources":["../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"sourcesContent":["import {\n IsNumber, IsOptional, IsBoolean, IsArray,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryInternal {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n expertProduction?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number;\n}\n\nexport class QueryInternalCustomerSuccess {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;AAUzBC,OAAA,CAVYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,yBAAS,GAAE,E,yFACe;AAE3BH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAE,wBAAQ,GAAE,E,8EACK;AAGZ,MAAOC,4BAA4B;AAKxCN,OAAA,CALYM,4BAA4B,GAA5BA,4BAA4B;AACvCL,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAI,uBAAO,GAAE,E,6FACS"}
1
+ {"version":3,"file":"QueryInternal.js","names":["_classValidator","require","_utils","QueryInternal","exports","__decorate","ApiPropertyOptional","IsOptional","IsBoolean","IsNumber","IsArray"],"sources":["../../../../../ts/types/Interface/api/statistic/QueryInternal.ts"],"sourcesContent":["import {\n IsNumber, IsOptional, IsBoolean, IsArray,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryInternal {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n expertProduction?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUsers?: number[];\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;AAezBC,OAAA,CAfYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,yBAAS,GAAE,E,yFACe;AAE3BH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAE,wBAAQ,GAAE,E,8EACK;AAEhBJ,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAG,uBAAO,GAAE,E,8EACS"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QueryCreateTeam = undefined;
6
+ exports.QueryServiceOfTax = undefined;
7
7
  var _classValidator = require("class-validator");
8
8
  var _utils = require("../../../../utils");
9
9
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
@@ -16,8 +16,9 @@ var __decorate = undefined && undefined.__decorate || function (decorators, targ
16
16
  var __metadata = undefined && undefined.__metadata || function (k, v) {
17
17
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
18
18
  };
19
- class QueryCreateTeam {}
20
- exports.QueryCreateTeam = QueryCreateTeam;
21
- __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryCreateTeam.prototype, "name", void 0);
22
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryCreateTeam.prototype, "nbTotalActive", void 0);
23
- //# sourceMappingURL=QueryCreate.js.map
19
+ class QueryServiceOfTax {}
20
+ exports.QueryServiceOfTax = QueryServiceOfTax;
21
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryServiceOfTax.prototype, "address", void 0);
22
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryServiceOfTax.prototype, "zipCode", void 0);
23
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryServiceOfTax.prototype, "city", void 0);
24
+ //# sourceMappingURL=QueryTax.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryTax.js","names":["_classValidator","require","_utils","QueryServiceOfTax","exports","__decorate","ApiProperty","IsString"],"sources":["../../../../../ts/types/Interface/api/tax/QueryTax.ts"],"sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryServiceOfTax {\n @ApiProperty()\n @IsString()\n address: string;\n\n @ApiProperty()\n @IsString()\n zipCode: string;\n\n @ApiProperty()\n @IsString()\n city: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,iBAAiB;AAY7BC,OAAA,CAZYD,iBAAiB,GAAjBA,iBAAiB;AAC5BE,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,E,mFACK;AAEhBF,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,E,mFACK;AAEhBF,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,E,gFACE"}
@@ -3,4 +3,6 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ class ServiceOfTax {}
7
+ exports.ServiceOfTax = ServiceOfTax;
6
8
  //# sourceMappingURL=ReadTax.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadTax.js","names":[],"sources":["../../../../../ts/types/Interface/api/tax/ReadTax.ts"],"sourcesContent":["import { BasePaginate, IExercice, ISociety } from '../../..';\nimport { ICustomerIsRegime } from '../../models/ICustomerIsRegime';\n\nexport interface ReadAmountBase {\n amount: number;\n isFirstExercice: boolean;\n}\n\ninterface Tax extends TaxDate {\n tax: ICustomerIsRegime | null;\n}\n\nexport type ReadTax = ReadTaxAndData & {\n amountBase: ReadAmountBase | null;\n};\n\nexport type TaxAndDataWithExercise = { idExercice: number } & ReadTaxAndData;\n\nexport interface ReadTaxAndData {\n taxes: Tax[],\n others: ICustomerIsRegime[]\n}\n\nexport interface TaxDate {\n date: string;\n required: boolean;\n isBalance: boolean;\n}\n\nexport type ReadVatAmountDetail = { idVat: number; real: number; collected: number; };\n\nexport type ReadVatAmount = {\n isBalanced: boolean;\n details: ReadVatAmountDetail[];\n};\n\nexport type ReadCompanyTaxWallet = BasePaginate<IExercice & {\n society: ISociety;\n taxes: ReadTaxAndData[];\n amountBase: ReadAmountBase;\n}>;"],"mappings":""}
1
+ {"version":3,"file":"ReadTax.js","names":["ServiceOfTax","exports"],"sources":["../../../../../ts/types/Interface/api/tax/ReadTax.ts"],"sourcesContent":["import { BasePaginate, IExercice, ISociety } from '../../..';\nimport { ICustomerIsRegime } from '../../models/ICustomerIsRegime';\n\nexport interface ReadAmountBase {\n amount: number;\n isFirstExercice: boolean;\n}\n\ninterface Tax extends TaxDate {\n tax: ICustomerIsRegime | null;\n}\n\nexport type ReadTax = ReadTaxAndData & {\n amountBase: ReadAmountBase | null;\n};\n\nexport type TaxAndDataWithExercise = { idExercice: number } & ReadTaxAndData;\n\nexport interface ReadTaxAndData {\n taxes: Tax[],\n others: ICustomerIsRegime[]\n}\n\nexport interface TaxDate {\n date: string;\n required: boolean;\n isBalance: boolean;\n}\n\nexport type ReadVatAmountDetail = { idVat: number; real: number; collected: number; };\n\nexport type ReadVatAmount = {\n isBalanced: boolean;\n details: ReadVatAmountDetail[];\n};\n\nexport class ServiceOfTax {\n codes: {\n ua: {\n key: string;\n dir: string;\n };\n annex: string;\n code: string;\n level: string;\n typology: string;\n };\n address: {\n address1: string | null;\n address2: string | null;\n address3: string | null;\n address4: string | null;\n address5: string | null;\n email: string | null;\n phone: string | null;\n };\n sages: string;\n state: string;\n name: string;\n}\n\nexport type ReadCompanyTaxWallet = BasePaginate<IExercice & {\n society: ISociety;\n taxes: ReadTaxAndData[];\n amountBase: ReadAmountBase;\n}>;"],"mappings":";;;;;AAoCM,MAAOA,YAAY;AAuBxBC,OAAA,CAvBYD,YAAY,GAAZA,YAAY"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QueryCompanyTaxesByCollaborater = exports.QueryTaxDeadlineStatistics = exports.QueryTaxDeadline = undefined;
6
+ exports.QueryVatDeadlineByCollaborator = exports.QueryVatDeadline = exports.QueryCompanyTaxesByCollaborater = exports.QueryTaxDeadlineStatistics = exports.QueryTaxDeadline = undefined;
7
7
  var _classValidator = require("class-validator");
8
8
  var _utils = require("../../../../utils");
9
9
  var _ = require("../../..");
@@ -11,6 +11,7 @@ var _ComptaType = require("../../../Enum/ComptaType");
11
11
  var _TaxSystem = require("../../../Enum/TaxSystem");
12
12
  var _Supervision = require("../../../Enum/Supervision");
13
13
  var _BalanceSheet = require("../../../Enum/BalanceSheet");
14
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
14
15
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15
16
  var c = arguments.length,
16
17
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
@@ -82,9 +83,6 @@ __decorate([(0, _utils.ApiPropertyOptional)({
82
83
  }), (0, _classValidator.IsOptional)(), (0, _classValidator.IsArray)(), (0, _classValidator.IsString)({
83
84
  each: true
84
85
  }), __metadata("design:type", Object)], QueryTaxDeadline.prototype, "idLegalForm", void 0);
85
- __decorate([(0, _utils.ApiPropertyOptional)({
86
- description: 'Exercice cloturé ou non'
87
- }), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), __metadata("design:type", Boolean)], QueryTaxDeadline.prototype, "isClosed", void 0);
88
86
  class QueryTaxDeadlineStatistics {}
89
87
  exports.QueryTaxDeadlineStatistics = QueryTaxDeadlineStatistics;
90
88
  __decorate([(0, _utils.ApiProperty)({
@@ -128,11 +126,28 @@ class QueryCompanyTaxesByCollaborater {}
128
126
  exports.QueryCompanyTaxesByCollaborater = QueryCompanyTaxesByCollaborater;
129
127
  __decorate([(0, _utils.ApiProperty)({
130
128
  description: 'Id collaborater'
131
- }), __metadata("design:type", Object)], QueryCompanyTaxesByCollaborater.prototype, "idUser", void 0);
129
+ }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryCompanyTaxesByCollaborater.prototype, "idUser", void 0);
132
130
  __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryCompanyTaxesByCollaborater.prototype, "startDate", void 0);
133
131
  __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryCompanyTaxesByCollaborater.prototype, "endDate", void 0);
134
132
  __decorate([(0, _utils.ApiPropertyOptional)({
135
133
  description: 'Company key word'
136
134
  }), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryCompanyTaxesByCollaborater.prototype, "search", void 0);
137
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryCompanyTaxesByCollaborater.prototype, "idState", void 0);
135
+ class QueryVatDeadline extends _.RequiredQueryPaginate {}
136
+ exports.QueryVatDeadline = QueryVatDeadline;
137
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryVatDeadline.prototype, "startDate", void 0);
138
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryVatDeadline.prototype, "endDate", void 0);
139
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], QueryVatDeadline.prototype, "idComptaType", void 0);
140
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryVatDeadline.prototype, "search", void 0);
141
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], QueryVatDeadline.prototype, "vatUploadDay", void 0);
142
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], QueryVatDeadline.prototype, "idState", void 0);
143
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], QueryVatDeadline.prototype, "idVatRegime", void 0);
144
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], QueryVatDeadline.prototype, "annotationRange", void 0);
145
+ __decorate([(0, _utils.ApiPropertyOptional)({
146
+ describe: 'set to true if you want retrieve the ca12'
147
+ }), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryVatDeadline.prototype, "isCA12", void 0);
148
+ class QueryVatDeadlineByCollaborator extends QueryVatDeadline {}
149
+ exports.QueryVatDeadlineByCollaborator = QueryVatDeadlineByCollaborator;
150
+ __decorate([(0, _utils.ApiProperty)({
151
+ description: 'collaborator id'
152
+ }), __metadata("design:type", Number)], QueryVatDeadlineByCollaborator.prototype, "idUser", void 0);
138
153
  //# sourceMappingURL=QueryTaxDeadline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryTaxDeadline.js","names":["_classValidator","require","_utils","_","_ComptaType","_TaxSystem","_Supervision","_BalanceSheet","QueryTaxDeadline","exports","__decorate","ApiProperty","description","ApiPropertyOptional","enum","VatRegime","ComptaType","TaxSystem","BalanceSheetState","Supervision","BankCollectingState","IsOptional","IsEnum","ToDoOrDone","IsArray","IsString","each","IsBoolean","QueryTaxDeadlineStatistics","QueryCompanyTaxesByCollaborater","IsDateString","IsNumber"],"sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"sourcesContent":["import {\n IsOptional, IsEnum, IsDateString, IsString, IsArray, IsBoolean, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport {\n VatRegime, ToDoOrDone, BankCollectingState, TaxState,\n} from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\n\nexport class QueryTaxDeadline {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })\n closingDate?: string | string[];\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: number;\n\n @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })\n minimalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })\n maximalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision })\n idSupervisionState?: Supervision;\n\n @ApiPropertyOptional({ description: 'État de l encaissement', enum: BankCollectingState })\n bankCollectingState?: BankCollectingState[];\n\n @ApiPropertyOptional({ description: 'Statuts de l\\'IS/IR' })\n @IsOptional()\n @IsEnum(ToDoOrDone)\n idTaxStatus?: ToDoOrDone;\n\n @ApiPropertyOptional({ description: 'Forme juridique' })\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n idLegalForm?: string | string[];\n\n @ApiPropertyOptional({ description: 'Exercice cloturé ou non' })\n @IsOptional()\n @IsBoolean()\n isClosed?: boolean;\n}\n\nexport class QueryTaxDeadlineStatistics {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })\n closingDate?: string;\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: string;\n}\n\nexport class QueryCompanyTaxesByCollaborater {\n @ApiProperty({ description: 'Id collaborater' })\n idUser: number | number[];\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional({ description: 'Company key word' })\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idState: TaxState;\n}"],"mappings":"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"}
1
+ {"version":3,"file":"QueryTaxDeadline.js","names":["_classValidator","require","_utils","_","_ComptaType","_TaxSystem","_Supervision","_BalanceSheet","_boolean","QueryTaxDeadline","exports","__decorate","ApiProperty","description","ApiPropertyOptional","enum","VatRegime","ComptaType","TaxSystem","BalanceSheetState","Supervision","BankCollectingState","IsOptional","IsEnum","ToDoOrDone","IsArray","IsString","each","QueryTaxDeadlineStatistics","QueryCompanyTaxesByCollaborater","IsNumber","IsDateString","QueryVatDeadline","RequiredQueryPaginate","describe","IsBoolean","ToBoolean","QueryVatDeadlineByCollaborator"],"sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"sourcesContent":["import {\n IsOptional, IsEnum, IsNumber, IsDateString, IsString, IsArray, IsBoolean,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport {\n VatRegime, ToDoOrDone, BankCollectingState, RequiredQueryPaginate, TaxState,\n} from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryTaxDeadline {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })\n closingDate?: string | string[];\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: number;\n\n @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })\n minimalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })\n maximalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision })\n idSupervisionState?: Supervision;\n\n @ApiPropertyOptional({ description: 'État de l encaissement', enum: BankCollectingState })\n bankCollectingState?: BankCollectingState[];\n\n @ApiPropertyOptional({ description: 'Statuts de l\\'IS/IR' })\n @IsOptional()\n @IsEnum(ToDoOrDone)\n idTaxStatus?: ToDoOrDone;\n\n @ApiPropertyOptional({ description: 'Forme juridique' })\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n idLegalForm?: string | string[];\n}\n\nexport class QueryTaxDeadlineStatistics {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })\n closingDate?: string;\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: string;\n}\n\nexport class QueryCompanyTaxesByCollaborater {\n @ApiProperty({ description: 'Id collaborater' })\n @IsNumber()\n idUser: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional({ description: 'Company key word' })\n @IsString()\n @IsOptional()\n search?: string;\n}\n\nexport class QueryVatDeadline extends RequiredQueryPaginate {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idComptaType?: ComptaType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n vatUploadDay?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idState?: TaxState[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idVatRegime?: VatRegime[];\n\n @ApiPropertyOptional()\n @IsOptional()\n annotationRange?: { min: number; max: number; };\n\n @ApiPropertyOptional({ describe: 'set to true if you want retrieve the ca12' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n}\n\nexport class QueryVatDeadlineByCollaborator extends QueryVatDeadline {\n @ApiProperty({ description: 'collaborator id' })\n idUser: number;\n}"],"mappings":"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"}
@@ -13,4 +13,6 @@ class ComplementaryPrestationTaxDeadline {}
13
13
  exports.ComplementaryPrestationTaxDeadline = ComplementaryPrestationTaxDeadline;
14
14
  class PrestationTaxDeadline {}
15
15
  exports.PrestationTaxDeadline = PrestationTaxDeadline;
16
+ class ReadVatDeadline {}
17
+ exports.ReadVatDeadline = ReadVatDeadline;
16
18
  //# sourceMappingURL=ReadTaxDeadline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadTaxDeadline.js","names":["ReadTaxDeadline","exports","StateDetails","ReadTaxDeadlineStatistics","ComplementaryPrestationTaxDeadline","PrestationTaxDeadline"],"sources":["../../../../../ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts"],"sourcesContent":["import { IExercice } from '../../models/IExercice';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { VatRegime } from '../../../Enum/VatRegime';\nimport { IBalanceSheet } from '../../models/IBalanceSheet';\nimport { ISupervision } from '../../models/ISupervision';\nimport { IExerciceDetail } from '../../models/IExerciceDetail';\nimport { IFile } from '../../models/IFile';\nimport { IUser } from '../../models/IUser';\nimport { ITerminationList } from '../../models/ITerminationList';\nimport { UnpaidDetail, IPendingPoint } from '../../..';\nimport { ICustomerTva } from '../../models/ICustomerTva';\nimport { ISocietyStat } from '../../models/ISocietyStat';\n\nexport class ReadTaxDeadline {\n society: {\n id?: number;\n name: string | null;\n idComptaType: ComptaType | null;\n idVatRegime: VatRegime | null;\n isWaitingEnd: boolean | null;\n idTypeBrand: number | null;\n vatUploadDay: number | null;\n terminationsList?: ITerminationList | null;\n unpaid: number | null;\n unpaidDetails: UnpaidDetail[];\n isLate: boolean;\n };\n accountant: IUser;\n exercice: IExercice;\n exercices: IExercice[];\n exerciceDetails: IExerciceDetail | null;\n customersVat: ICustomerTva[];\n commercial: IUser | null;\n balanceSheet: IBalanceSheet | null;\n supervision: ISupervision | null;\n pendingPoints: IPendingPoint[] | null;\n letter: IFile | null;\n prestations: PrestationTaxDeadline[];\n activePrestationsComplementary: ComplementaryPrestationTaxDeadline[];\n statistics: {\n turnovers: ISocietyStat[];\n transactions: {\n annoted: number;\n total: number;\n };\n entries: {\n revised: number;\n total: number;\n }\n };\n}\n\nexport class StateDetails {\n date: string; total: number;\n}\nexport class ReadTaxDeadlineStatistics {\n todo: { total: number, details: StateDetails[] };\n accepted: { total: number, details: StateDetails[] };\n}\n\nexport class ComplementaryPrestationTaxDeadline {\n id: number;\n signed: boolean;\n paid: boolean;\n name: string;\n isBack: boolean;\n}\n\nexport class PrestationTaxDeadline {\n id: number;\n name: string;\n amount: number;\n paid: number;\n isBack: boolean;\n signed: boolean;\n terminationList: ITerminationList | null;\n}"],"mappings":";;;;;AAaM,MAAOA,eAAe;AAqC3BC,OAAA,CArCYD,eAAe,GAAfA,eAAe;AAuCtB,MAAOE,YAAY;AAExBD,OAAA,CAFYC,YAAY,GAAZA,YAAY;AAGnB,MAAOC,yBAAyB;AAGrCF,OAAA,CAHYE,yBAAyB,GAAzBA,yBAAyB;AAKhC,MAAOC,kCAAkC;AAM9CH,OAAA,CANYG,kCAAkC,GAAlCA,kCAAkC;AAQzC,MAAOC,qBAAqB;AAQjCJ,OAAA,CARYI,qBAAqB,GAArBA,qBAAqB"}
1
+ {"version":3,"file":"ReadTaxDeadline.js","names":["ReadTaxDeadline","exports","StateDetails","ReadTaxDeadlineStatistics","ComplementaryPrestationTaxDeadline","PrestationTaxDeadline","ReadVatDeadline"],"sources":["../../../../../ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts"],"sourcesContent":["import { IExercice } from '../../models/IExercice';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { VatRegime } from '../../../Enum/VatRegime';\nimport { IBalanceSheet } from '../../models/IBalanceSheet';\nimport { ISupervision } from '../../models/ISupervision';\nimport { IExerciceDetail } from '../../models/IExerciceDetail';\nimport { IFile } from '../../models/IFile';\nimport { IUser } from '../../models/IUser';\nimport { ITerminationList } from '../../models/ITerminationList';\nimport {\n UnpaidDetail, IPendingPoint, ISociety, ReadChecklistDeadline, IRegistration, VatDeadlineType,\n} from '../../..';\nimport { ICustomerVat } from '../../models/ICustomerVat';\nimport { ISocietyStat } from '../../models/ISocietyStat';\n\nexport class ReadTaxDeadline {\n society: {\n id?: number;\n name: string | null;\n idComptaType: ComptaType | null;\n idVatRegime: VatRegime | null;\n isWaitingEnd: boolean | null;\n idTypeBrand: number | null;\n vatUploadDay: number | null;\n terminationsList?: ITerminationList | null;\n unpaid: number | null;\n unpaidDetails: UnpaidDetail[];\n isLate: boolean;\n };\n accountant: IUser;\n exercice: IExercice;\n exercices: IExercice[];\n exerciceDetails: IExerciceDetail | null;\n customersVat: ICustomerVat[];\n commercial: IUser | null;\n balanceSheet: IBalanceSheet | null;\n supervision: ISupervision | null;\n pendingPoints: IPendingPoint[] | null;\n letter: IFile | null;\n prestations: PrestationTaxDeadline[];\n activePrestationsComplementary: ComplementaryPrestationTaxDeadline[];\n statistics: {\n turnovers: ISocietyStat[];\n transactions: {\n annoted: number;\n total: number;\n };\n entries: {\n revised: number;\n total: number;\n }\n };\n}\n\nexport class StateDetails {\n date: string; total: number;\n}\nexport class ReadTaxDeadlineStatistics {\n todo: { total: number, details: StateDetails[] };\n accepted: { total: number, details: StateDetails[] };\n}\n\nexport class ComplementaryPrestationTaxDeadline {\n id: number;\n signed: boolean;\n paid: boolean;\n name: string;\n isBack: boolean;\n}\n\nexport class PrestationTaxDeadline {\n id: number;\n name: string;\n amount: number;\n paid: number;\n isBack: boolean;\n}\n\nexport class ReadVatDeadline {\n society: ISociety;\n stats: {\n annotated: number | null;\n revised: number | null;\n };\n users: IUser[];\n exercice: IExercice;\n checklists: ReadChecklistDeadline[];\n vat: ICustomerVat | null;\n registration: IRegistration;\n type: { id: VatDeadlineType; operations?: Array<{ id: number; label: string; dateValue: Date; amount: number; }>; turnover?: number; limit?: number; };\n hasComment: boolean;\n}"],"mappings":";;;;;AAeM,MAAOA,eAAe;AAqC3BC,OAAA,CArCYD,eAAe,GAAfA,eAAe;AAuCtB,MAAOE,YAAY;AAExBD,OAAA,CAFYC,YAAY,GAAZA,YAAY;AAGnB,MAAOC,yBAAyB;AAGrCF,OAAA,CAHYE,yBAAyB,GAAzBA,yBAAyB;AAKhC,MAAOC,kCAAkC;AAM9CH,OAAA,CANYG,kCAAkC,GAAlCA,kCAAkC;AAQzC,MAAOC,qBAAqB;AAMjCJ,OAAA,CANYI,qBAAqB,GAArBA,qBAAqB;AAQ5B,MAAOC,eAAe;AAa3BL,OAAA,CAbYK,eAAe,GAAfA,eAAe"}
@@ -28,5 +28,4 @@ __decorate([(0, _utils.ApiPropertyOptional)({
28
28
  __decorate([(0, _utils.ApiPropertyOptional)({
29
29
  default: 1
30
30
  }), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryPaginatedDelays.prototype, "page", void 0);
31
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], QueryPaginatedDelays.prototype, "location", void 0);
32
31
  //# sourceMappingURL=QueryPaginatedDelays.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedDelays.js","names":["_classValidator","require","_utils","QueryPaginatedDelays","exports","__decorate","ApiProperty","IsString","IsDateString","ApiPropertyOptional","IsOptional","IsArray","default","IsNumber"],"sources":["../../../../../ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts"],"sourcesContent":["import {\n IsString, IsDateString, IsOptional, IsNumber, IsArray,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryPaginatedDelays {\n @ApiProperty()\n @IsString()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsString()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUser?: 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 @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n location?: number[];\n}\n"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,oBAAoB;AAmChCC,OAAA,CAnCYD,oBAAoB,GAApBA,oBAAoB;AAC/BE,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,EACV,IAAAC,4BAAY,GAAE,E,wFACG;AAElBH,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,EACV,IAAAC,4BAAY,GAAE,E,sFACC;AAEhBH,UAAA,EAAC,IAAAI,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAH,wBAAQ,GAAE,E,qFACK;AAEhBF,UAAA,EAAC,IAAAI,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,uBAAO,GAAE,E,oFACQ;AAElBN,UAAA,EAAC,IAAAI,0BAAmB,EAAC;EAAEG,OAAO,EAAE;AAAE,CAAE,CAAC,EACpC,IAAAF,0BAAU,GAAE,EACZ,IAAAG,wBAAQ,GAAE,E,oFACI;AAEfR,UAAA,EAAC,IAAAI,0BAAmB,EAAC;EAAEG,OAAO,EAAE;AAAC,CAAE,CAAC,EACnC,IAAAF,0BAAU,GAAE,EACZ,IAAAG,wBAAQ,GAAE,E,mFACG;AAEdR,UAAA,EAAC,IAAAI,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,uBAAO,GAAE,E,sFACU"}
1
+ {"version":3,"file":"QueryPaginatedDelays.js","names":["_classValidator","require","_utils","QueryPaginatedDelays","exports","__decorate","ApiProperty","IsString","IsDateString","ApiPropertyOptional","IsOptional","IsArray","default","IsNumber"],"sources":["../../../../../ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts"],"sourcesContent":["import {\n IsString, IsDateString, IsOptional, IsNumber, IsArray,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryPaginatedDelays {\n @ApiProperty()\n @IsString()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsString()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUser?: 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"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,oBAAoB;AA8BhCC,OAAA,CA9BYD,oBAAoB,GAApBA,oBAAoB;AAC/BE,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,EACV,IAAAC,4BAAY,GAAE,E,wFACG;AAElBH,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,EACV,IAAAC,4BAAY,GAAE,E,sFACC;AAEhBH,UAAA,EAAC,IAAAI,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAH,wBAAQ,GAAE,E,qFACK;AAEhBF,UAAA,EAAC,IAAAI,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,uBAAO,GAAE,E,oFACQ;AAElBN,UAAA,EAAC,IAAAI,0BAAmB,EAAC;EAAEG,OAAO,EAAE;AAAE,CAAE,CAAC,EACpC,IAAAF,0BAAU,GAAE,EACZ,IAAAG,wBAAQ,GAAE,E,oFACI;AAEfR,UAAA,EAAC,IAAAI,0BAAmB,EAAC;EAAEG,OAAO,EAAE;AAAC,CAAE,CAAC,EACnC,IAAAF,0BAAU,GAAE,EACZ,IAAAG,wBAAQ,GAAE,E,mFACG"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadPaginatedDelays.js","names":[],"sources":["../../../../../ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts"],"sourcesContent":["export interface Delay {\n date: string;\n sumDelays?: number;\n sumForgottenDisconnections?: number;\n sumRealWorkingHours: string;\n sumTheoricalWorkingHours: string;\n}\nexport interface DelaysByDay {\n Monday?: Delay;\n Tuesday?: Delay;\n Wednesday?: Delay;\n Thursday?: Delay;\n Friday?: Delay;\n}\n\nexport interface ReadPaginatedDelays {\n idUser: number;\n firstname: string;\n lastname: string;\n days: DelaysByDay;\n}\n\nexport type ReadPlaceToWork = Array< {\n location: number;\n id: number;\n value: number;\n}>;"],"mappings":""}
1
+ {"version":3,"file":"ReadPaginatedDelays.js","names":[],"sources":["../../../../../ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts"],"sourcesContent":["export interface Delay {\n date: string;\n sumDelays?: number;\n sumForgottenDisconnections?: number;\n sumRealWorkingHours: string;\n sumTheoricalWorkingHours: string;\n}\nexport interface DelaysByDay {\n Monday?: Delay;\n Tuesday?: Delay;\n Wednesday?: Delay;\n Thursday?: Delay;\n Friday?: Delay;\n}\n\nexport interface ReadPaginatedDelays {\n idUser: number;\n firstname: string;\n lastname: string;\n days: DelaysByDay\n}"],"mappings":""}
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QueryVatDeclaration = exports.QueryVatMigrationEntry = undefined;
6
+ exports.QueryCerfa = exports.QueryVatEntry = exports.QueryPreviousVatDeclaration = undefined;
7
7
  var _classValidator = require("class-validator");
8
- var _ = require("../../../..");
9
- var _boolean = require("../../../../utils/transforms/boolean.transform");
8
+ var _CerfaType = require("../../../Enum/CerfaType");
9
+ var _decorators = require("../../../../utils/decorators");
10
10
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11
11
  var c = arguments.length,
12
12
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
@@ -17,17 +17,16 @@ var __decorate = undefined && undefined.__decorate || function (decorators, targ
17
17
  var __metadata = undefined && undefined.__metadata || function (k, v) {
18
18
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
19
19
  };
20
- class QueryVatMigrationEntry {}
21
- exports.QueryVatMigrationEntry = QueryVatMigrationEntry;
22
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryVatMigrationEntry.prototype, "token", void 0);
23
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryVatMigrationEntry.prototype, "id", void 0);
24
- class QueryVatDeclaration {}
25
- exports.QueryVatDeclaration = QueryVatDeclaration;
26
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsDate)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Date)], QueryVatDeclaration.prototype, "declarationDate", void 0);
27
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsInt)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryVatDeclaration.prototype, "idExercice", void 0);
28
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsInt)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryVatDeclaration.prototype, "idSociety", void 0);
29
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _classValidator.IsOptional)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryVatDeclaration.prototype, "isComplete", void 0);
30
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsInt)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryVatDeclaration.prototype, "idUser", void 0);
31
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], QueryVatDeclaration.prototype, "idDeposit", void 0);
32
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], QueryVatDeclaration.prototype, "payload", void 0);
20
+ class QueryPreviousVatDeclaration {}
21
+ exports.QueryPreviousVatDeclaration = QueryPreviousVatDeclaration;
22
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryPreviousVatDeclaration.prototype, "fromDate", void 0);
23
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsEnum)(_CerfaType.CerfaType), __metadata("design:type", Number)], QueryPreviousVatDeclaration.prototype, "idCerfaType", void 0);
24
+ class QueryVatEntry {}
25
+ exports.QueryVatEntry = QueryVatEntry;
26
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryVatEntry.prototype, "startDate", void 0);
27
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsDateString)(), __metadata("design:type", String)], QueryVatEntry.prototype, "endDate", void 0);
28
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryVatEntry.prototype, "type", void 0);
29
+ class QueryCerfa {}
30
+ exports.QueryCerfa = QueryCerfa;
31
+ __decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryCerfa.prototype, "fileName", void 0);
33
32
  //# sourceMappingURL=QueryVatDeclaration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryVatDeclaration.js","names":["_classValidator","require","_","_boolean","QueryVatMigrationEntry","exports","__decorate","ApiProperty","IsString","ApiPropertyOptional","IsNumber","IsOptional","QueryVatDeclaration","IsDate","Date","IsInt","IsBoolean","ToBoolean"],"sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryVatMigrationEntry {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n id?: number;\n}\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n @ToBoolean()\n isComplete?: boolean;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n idDeposit?: string | null ;\n\n @ApiPropertyOptional()\n @IsOptional()\n payload?: string | null ;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAIA,IAAAC,CAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,sBAAsB;AASlCC,OAAA,CATYD,sBAAsB,GAAtBA,sBAAsB;AACjCE,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,E,sFACG;AAEdF,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAC,wBAAQ,GAAE,EACV,IAAAC,0BAAU,GAAE,E,mFACD;AAGR,MAAOC,mBAAmB;AAmC/BP,OAAA,CAnCYO,mBAAmB,GAAnBA,mBAAmB;AAC9BN,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAI,sBAAM,GAAE,EACR,IAAAF,0BAAU,GAAE,E,0BACKG,IAAI,E,2DAAC;AAEvBR,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAM,qBAAK,GAAE,EACP,IAAAJ,0BAAU,GAAE,E,wFACO;AAEpBL,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAM,qBAAK,GAAE,EACP,IAAAJ,0BAAU,GAAE,E,uFACM;AAEnBL,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAO,yBAAS,GAAE,EACX,IAAAL,0BAAU,GAAE,EACZ,IAAAM,kBAAS,GAAE,E,yFACS;AAErBX,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAM,qBAAK,GAAE,EACP,IAAAJ,0BAAU,GAAE,E,oFACG;AAEhBL,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAD,wBAAQ,GAAE,EACV,IAAAG,0BAAU,GAAE,E,uFACc;AAE3BL,UAAA,EAAC,IAAAG,qBAAmB,GAAE,EACrB,IAAAE,0BAAU,GAAE,E,qFACY"}
1
+ {"version":3,"file":"QueryVatDeclaration.js","names":["_classValidator","require","_CerfaType","_decorators","QueryPreviousVatDeclaration","exports","__decorate","ApiProperty","IsDateString","IsEnum","CerfaType","QueryVatEntry","IsString","QueryCerfa"],"sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"sourcesContent":["import {\n IsDateString, IsEnum, IsString,\n} from 'class-validator';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ApiProperty } from '../../../../utils/decorators';\n\nexport class QueryPreviousVatDeclaration {\n @ApiProperty()\n @IsDateString()\n fromDate: string;\n\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: CerfaType;\n}\n\nexport class QueryVatEntry {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsString()\n type: 'collected' | 'deductible';\n}\n\nexport class QueryCerfa {\n @ApiProperty()\n @IsString()\n fileName: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,2BAA2B;AAQvCC,OAAA,CARYD,2BAA2B,GAA3BA,2BAA2B;AACtCE,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,4BAAY,GAAE,E,8FACE;AAEjBF,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAE,sBAAM,EAACC,oBAAS,CAAC,E,iGACK;AAGnB,MAAOC,aAAa;AAYzBN,OAAA,CAZYM,aAAa,GAAbA,aAAa;AACxBL,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,4BAAY,GAAE,E,iFACG;AAElBF,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,4BAAY,GAAE,E,+EACC;AAEhBF,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAK,wBAAQ,GAAE,E,4EACsB;AAG7B,MAAOC,UAAU;AAItBR,OAAA,CAJYQ,UAAU,GAAVA,UAAU;AACrBP,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAK,wBAAQ,GAAE,E,6EACM"}