@silexpert/core 1.3.144-2 → 1.3.145-features-0

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 (761) hide show
  1. package/dist/cjs/api/resources/AccountingFiles.d.ts.map +1 -1
  2. package/dist/cjs/api/resources/AccountingFiles.js +1 -0
  3. package/dist/cjs/api/resources/AccountingFiles.js.map +1 -1
  4. package/dist/cjs/api/resources/BalanceSheetReport.d.ts +10 -0
  5. package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
  6. package/dist/cjs/api/resources/BalanceSheetReport.js +23 -0
  7. package/dist/cjs/api/resources/BalanceSheetReport.js.map +1 -0
  8. package/dist/cjs/api/resources/Brevo.d.ts +2 -2
  9. package/dist/cjs/api/resources/Brevo.d.ts.map +1 -1
  10. package/dist/cjs/api/resources/Brevo.js.map +1 -1
  11. package/dist/cjs/api/resources/Checklist.d.ts +29 -1
  12. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  13. package/dist/cjs/api/resources/Checklist.js +47 -0
  14. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  15. package/dist/cjs/api/resources/Commercial.d.ts +2 -1
  16. package/dist/cjs/api/resources/Commercial.d.ts.map +1 -1
  17. package/dist/cjs/api/resources/Commercial.js +3 -0
  18. package/dist/cjs/api/resources/Commercial.js.map +1 -1
  19. package/dist/cjs/api/resources/DashboardLayout.d.ts +9 -0
  20. package/dist/cjs/api/resources/DashboardLayout.d.ts.map +1 -0
  21. package/dist/cjs/api/resources/DashboardLayout.js +20 -0
  22. package/dist/cjs/api/resources/DashboardLayout.js.map +1 -0
  23. package/dist/cjs/api/resources/DocumentRequest.d.ts +10 -0
  24. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -0
  25. package/dist/cjs/api/resources/DocumentRequest.js +23 -0
  26. package/dist/cjs/api/resources/DocumentRequest.js.map +1 -0
  27. package/dist/cjs/api/resources/Exercice.d.ts +1 -0
  28. package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
  29. package/dist/cjs/api/resources/Exercice.js +3 -0
  30. package/dist/cjs/api/resources/Exercice.js.map +1 -1
  31. package/dist/cjs/api/resources/Inpi.d.ts +36 -0
  32. package/dist/cjs/api/resources/Inpi.d.ts.map +1 -1
  33. package/dist/cjs/api/resources/Inpi.js +48 -0
  34. package/dist/cjs/api/resources/Inpi.js.map +1 -1
  35. package/dist/cjs/api/resources/InternalInvoicing.d.ts.map +1 -1
  36. package/dist/cjs/api/resources/InternalInvoicing.js +12 -0
  37. package/dist/cjs/api/resources/InternalInvoicing.js.map +1 -1
  38. package/dist/cjs/api/resources/Payment.d.ts +3 -2
  39. package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
  40. package/dist/cjs/api/resources/Payment.js +3 -0
  41. package/dist/cjs/api/resources/Payment.js.map +1 -1
  42. package/dist/cjs/api/resources/PaymentExpectationCustomer.d.ts +4 -0
  43. package/dist/cjs/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
  44. package/dist/cjs/api/resources/PaymentExpectationCustomer.js +6 -0
  45. package/dist/cjs/api/resources/PaymentExpectationCustomer.js.map +1 -1
  46. package/dist/cjs/api/resources/Recurrence.d.ts +2 -1
  47. package/dist/cjs/api/resources/Recurrence.d.ts.map +1 -1
  48. package/dist/cjs/api/resources/Recurrence.js +5 -0
  49. package/dist/cjs/api/resources/Recurrence.js.map +1 -1
  50. package/dist/cjs/api/resources/Registration.js +1 -1
  51. package/dist/cjs/api/resources/Registration.js.map +1 -1
  52. package/dist/cjs/api/resources/Revision.d.ts +4 -1
  53. package/dist/cjs/api/resources/Revision.d.ts.map +1 -1
  54. package/dist/cjs/api/resources/Revision.js +9 -0
  55. package/dist/cjs/api/resources/Revision.js.map +1 -1
  56. package/dist/cjs/api/resources/Team.d.ts +21 -1
  57. package/dist/cjs/api/resources/Team.d.ts.map +1 -1
  58. package/dist/cjs/api/resources/Team.js +26 -0
  59. package/dist/cjs/api/resources/Team.js.map +1 -1
  60. package/dist/cjs/api/resources/prestation.d.ts +7 -0
  61. package/dist/cjs/api/resources/prestation.d.ts.map +1 -1
  62. package/dist/cjs/api/resources/prestation.js +9 -0
  63. package/dist/cjs/api/resources/prestation.js.map +1 -1
  64. package/dist/cjs/api/resources.d.ts +6 -0
  65. package/dist/cjs/api/resources.d.ts.map +1 -1
  66. package/dist/cjs/api/resources.js +6 -0
  67. package/dist/cjs/api/resources.js.map +1 -1
  68. package/dist/cjs/types/Enum/AIPrompt.js +1 -1
  69. package/dist/cjs/types/Enum/AIPrompt.js.map +1 -1
  70. package/dist/cjs/types/Enum/AbsenceType.d.ts +1 -0
  71. package/dist/cjs/types/Enum/AbsenceType.d.ts.map +1 -1
  72. package/dist/cjs/types/Enum/AbsenceType.js +11 -1
  73. package/dist/cjs/types/Enum/AbsenceType.js.map +1 -1
  74. package/dist/cjs/types/Enum/Aspone.d.ts +8 -0
  75. package/dist/cjs/types/Enum/Aspone.d.ts.map +1 -1
  76. package/dist/cjs/types/Enum/Aspone.js +11 -1
  77. package/dist/cjs/types/Enum/Aspone.js.map +1 -1
  78. package/dist/cjs/types/Enum/BalanceSheet.d.ts +66 -0
  79. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  80. package/dist/cjs/types/Enum/BalanceSheet.js +136 -69
  81. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  82. package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts +62 -1
  83. package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  84. package/dist/cjs/types/Enum/BalanceSheetQuestion.js +62 -0
  85. package/dist/cjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
  86. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +58 -13
  87. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  88. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +58 -12
  89. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  90. package/dist/cjs/types/Enum/ChecklistType.d.ts +8 -1
  91. package/dist/cjs/types/Enum/ChecklistType.d.ts.map +1 -1
  92. package/dist/cjs/types/Enum/ChecklistType.js +8 -0
  93. package/dist/cjs/types/Enum/ChecklistType.js.map +1 -1
  94. package/dist/cjs/types/Enum/ConstitutionState.js +1 -1
  95. package/dist/cjs/types/Enum/ConstitutionState.js.map +1 -1
  96. package/dist/cjs/types/Enum/DashboardBlock.d.ts +13 -0
  97. package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +1 -0
  98. package/dist/cjs/types/Enum/DashboardBlock.js +17 -0
  99. package/dist/cjs/types/Enum/DashboardBlock.js.map +1 -0
  100. package/dist/cjs/types/Enum/EntityType.d.ts +2 -2
  101. package/dist/cjs/types/Enum/EntityType.js +2 -2
  102. package/dist/cjs/types/Enum/EntityType.js.map +1 -1
  103. package/dist/cjs/types/Enum/Ged.d.ts +75 -5
  104. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  105. package/dist/cjs/types/Enum/Ged.js +188 -1
  106. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  107. package/dist/cjs/types/Enum/GlobalRegime.js +19 -19
  108. package/dist/cjs/types/Enum/GlobalRegime.js.map +1 -1
  109. package/dist/cjs/types/Enum/IncomeStatement.d.ts +32 -0
  110. package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  111. package/dist/cjs/types/Enum/IncomeStatement.js +74 -41
  112. package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
  113. package/dist/cjs/types/Enum/LegalForm.d.ts +1 -0
  114. package/dist/cjs/types/Enum/LegalForm.d.ts.map +1 -1
  115. package/dist/cjs/types/Enum/LegalForm.js +39 -4
  116. package/dist/cjs/types/Enum/LegalForm.js.map +1 -1
  117. package/dist/cjs/types/Enum/MailAuto.d.ts +2 -1
  118. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  119. package/dist/cjs/types/Enum/MailAuto.js +1 -0
  120. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  121. package/dist/cjs/types/Enum/PrestationType.d.ts +14 -1
  122. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  123. package/dist/cjs/types/Enum/PrestationType.js +193 -16
  124. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  125. package/dist/cjs/types/Enum/ReasonNotSubscribed.d.ts.map +1 -1
  126. package/dist/cjs/types/Enum/ReasonNotSubscribed.js +12 -6
  127. package/dist/cjs/types/Enum/ReasonNotSubscribed.js.map +1 -1
  128. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +7 -7
  129. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  130. package/dist/cjs/types/Enum/StatsCaStateDetail.d.ts +18 -0
  131. package/dist/cjs/types/Enum/StatsCaStateDetail.d.ts.map +1 -1
  132. package/dist/cjs/types/Enum/StatsCaStateDetail.js +19 -1
  133. package/dist/cjs/types/Enum/StatsCaStateDetail.js.map +1 -1
  134. package/dist/cjs/types/Enum/Unit.d.ts +10 -3
  135. package/dist/cjs/types/Enum/Unit.d.ts.map +1 -1
  136. package/dist/cjs/types/Enum/Unit.js +11 -0
  137. package/dist/cjs/types/Enum/Unit.js.map +1 -1
  138. package/dist/cjs/types/Enum/ZoneCode.d.ts +6 -0
  139. package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -1
  140. package/dist/cjs/types/Enum/ZoneCode.js +7 -0
  141. package/dist/cjs/types/Enum/ZoneCode.js.map +1 -1
  142. package/dist/cjs/types/Interface/api/DashboardLayout.d.ts +24 -0
  143. package/dist/cjs/types/Interface/api/DashboardLayout.d.ts.map +1 -0
  144. package/dist/cjs/types/Interface/api/DashboardLayout.js +3 -0
  145. package/dist/cjs/types/Interface/api/DashboardLayout.js.map +1 -0
  146. package/dist/cjs/types/Interface/api/OnBoarding.d.ts +1 -0
  147. package/dist/cjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
  148. package/dist/cjs/types/Interface/api/OnBoarding.js +6 -0
  149. package/dist/cjs/types/Interface/api/OnBoarding.js.map +1 -1
  150. package/dist/cjs/types/Interface/api/absenceRequest/ReadAbsenceRequest.d.ts +1 -1
  151. package/dist/cjs/types/Interface/api/absenceRequest/ReadAbsenceRequest.js.map +1 -1
  152. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
  153. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  154. package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  155. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
  156. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
  157. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +207 -0
  158. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
  159. package/dist/cjs/types/Interface/api/bankAccount/Query.d.ts +6 -0
  160. package/dist/cjs/types/Interface/api/bankAccount/Query.d.ts.map +1 -1
  161. package/dist/cjs/types/Interface/api/bankAccount/Query.js +24 -1
  162. package/dist/cjs/types/Interface/api/bankAccount/Query.js.map +1 -1
  163. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +3 -1
  164. package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  165. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +14 -1
  166. package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  167. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +2 -2
  168. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  169. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +4 -4
  170. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  171. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +3 -2
  172. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  173. package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
  174. package/dist/cjs/types/Interface/api/cerfa/2050.d.ts +1592 -1634
  175. package/dist/cjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
  176. package/dist/cjs/types/Interface/api/cerfa/2050.js.map +1 -1
  177. package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +3 -2
  178. package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  179. package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
  180. package/dist/cjs/types/Interface/api/cerfa/3310.d.ts +1 -0
  181. package/dist/cjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
  182. package/dist/cjs/types/Interface/api/cerfa/3310.js.map +1 -1
  183. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +10 -1
  184. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  185. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  186. package/dist/cjs/types/Interface/api/checklist/Query.d.ts +6 -0
  187. package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  188. package/dist/cjs/types/Interface/api/checklist/Query.js +20 -1
  189. package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
  190. package/dist/cjs/types/Interface/api/checklist/Update.d.ts +11 -1
  191. package/dist/cjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  192. package/dist/cjs/types/Interface/api/checklist/Update.js +49 -1
  193. package/dist/cjs/types/Interface/api/checklist/Update.js.map +1 -1
  194. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -1
  195. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
  196. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +2 -3
  197. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
  198. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
  199. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
  200. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
  201. package/dist/cjs/types/Interface/api/commercialManagement/Query.d.ts +4 -0
  202. package/dist/cjs/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
  203. package/dist/cjs/types/Interface/api/commercialManagement/Query.js +14 -1
  204. package/dist/cjs/types/Interface/api/commercialManagement/Query.js.map +1 -1
  205. package/dist/cjs/types/Interface/api/commercialManagement/Read.d.ts +11 -0
  206. package/dist/cjs/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
  207. package/dist/cjs/types/Interface/api/commercialManagement/Read.js.map +1 -1
  208. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +0 -1
  209. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
  210. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
  211. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +0 -1
  212. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
  213. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +0 -7
  214. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
  215. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
  216. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
  217. package/dist/cjs/types/Interface/api/documentRequest/Create.js +46 -0
  218. package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -0
  219. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
  220. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
  221. package/dist/cjs/types/Interface/api/documentRequest/Query.js +30 -0
  222. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -0
  223. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +5 -0
  224. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +1 -0
  225. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +3 -0
  226. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +1 -0
  227. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
  228. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  229. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +9 -1
  230. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  231. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
  232. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  233. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +8 -0
  234. package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  235. package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +3 -2
  236. package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
  237. package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
  238. package/dist/cjs/types/Interface/api/inpi/inpi.d.ts +113 -0
  239. package/dist/cjs/types/Interface/api/inpi/inpi.d.ts.map +1 -1
  240. package/dist/cjs/types/Interface/api/inpi/inpi.js.map +1 -1
  241. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +5 -2
  242. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  243. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +14 -2
  244. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  245. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts +5 -5
  246. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  247. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +5 -5
  248. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  249. package/dist/cjs/types/Interface/api/payment/Params.d.ts +5 -0
  250. package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  251. package/dist/cjs/types/Interface/api/payment/Params.js +27 -1
  252. package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
  253. package/dist/cjs/types/Interface/api/payment/Query.d.ts +2 -0
  254. package/dist/cjs/types/Interface/api/payment/Query.d.ts.map +1 -1
  255. package/dist/cjs/types/Interface/api/payment/Query.js +12 -0
  256. package/dist/cjs/types/Interface/api/payment/Query.js.map +1 -1
  257. package/dist/cjs/types/Interface/api/payment/Util.d.ts +0 -2
  258. package/dist/cjs/types/Interface/api/payment/Util.d.ts.map +1 -1
  259. package/dist/cjs/types/Interface/api/payment/Util.js.map +1 -1
  260. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +1 -1
  261. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  262. package/dist/cjs/types/Interface/api/prestation/Query.d.ts +2 -2
  263. package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  264. package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
  265. package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts +4 -0
  266. package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  267. package/dist/cjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  268. package/dist/cjs/types/Interface/api/revision/Revision.d.ts +1 -1
  269. package/dist/cjs/types/Interface/api/revision/Revision.d.ts.map +1 -1
  270. package/dist/cjs/types/Interface/api/revision/Revision.js.map +1 -1
  271. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +12 -1
  272. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  273. package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  274. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +1 -0
  275. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  276. package/dist/cjs/types/Interface/api/stripe/Create.js +6 -0
  277. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  278. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +3 -0
  279. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  280. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +11 -1
  281. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  282. package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.d.ts +6 -0
  283. package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +1 -0
  284. package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.js +38 -0
  285. package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.js.map +1 -0
  286. package/dist/cjs/types/Interface/models/IAttestation.d.ts +20 -18
  287. package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  288. package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
  289. package/dist/cjs/types/Interface/models/IChecklist.d.ts +2 -2
  290. package/dist/cjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  291. package/dist/cjs/types/Interface/models/IChecklist.js.map +1 -1
  292. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  293. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  294. package/dist/cjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  295. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +23 -0
  296. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
  297. package/dist/cjs/types/Interface/models/IDocumentRequest.js +3 -0
  298. package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -0
  299. package/dist/cjs/types/Interface/models/IGedFile.d.ts +6 -1
  300. package/dist/cjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  301. package/dist/cjs/types/Interface/models/IGedFile.js.map +1 -1
  302. package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts +2 -0
  303. package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  304. package/dist/cjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
  305. package/dist/cjs/types/Interface/models/IPrestation.d.ts.map +1 -1
  306. package/dist/cjs/types/Interface/models/IPrestation.js.map +1 -1
  307. package/dist/cjs/types/Interface/models/ISociety.d.ts +1 -0
  308. package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
  309. package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
  310. package/dist/cjs/types/index.d.ts +7 -0
  311. package/dist/cjs/types/index.d.ts.map +1 -1
  312. package/dist/cjs/types/index.js +7 -0
  313. package/dist/cjs/types/index.js.map +1 -1
  314. package/dist/cjs/utils/payment.js +54 -50
  315. package/dist/cjs/utils/payment.js.map +1 -1
  316. package/dist/cjs/utils/prestation.d.ts +1 -0
  317. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  318. package/dist/cjs/utils/prestation.js +1 -0
  319. package/dist/cjs/utils/prestation.js.map +1 -1
  320. package/dist/cjs/utils/tests/payment.spec.js +33 -33
  321. package/dist/cjs/utils/tests/payment.spec.js.map +1 -1
  322. package/dist/cjs/utils/vat/3310/century25.d.ts.map +1 -1
  323. package/dist/cjs/utils/vat/3310/century25.js +22 -7
  324. package/dist/cjs/utils/vat/3310/century25.js.map +1 -1
  325. package/dist/cjs/utils/vat/3517/century25.d.ts.map +1 -1
  326. package/dist/cjs/utils/vat/3517/century25.js +61 -54
  327. package/dist/cjs/utils/vat/3517/century25.js.map +1 -1
  328. package/dist/cjs/utils/vat/utils.js +3 -3
  329. package/dist/cjs/utils/vat/utils.js.map +1 -1
  330. package/dist/cjs/utils/webmail.d.ts.map +1 -1
  331. package/dist/cjs/utils/webmail.js +4 -3
  332. package/dist/cjs/utils/webmail.js.map +1 -1
  333. package/dist/mjs/api/resources/AccountingFiles.d.ts.map +1 -1
  334. package/dist/mjs/api/resources/AccountingFiles.js +1 -0
  335. package/dist/mjs/api/resources/AccountingFiles.js.map +1 -1
  336. package/dist/mjs/api/resources/BalanceSheetReport.d.ts +10 -0
  337. package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
  338. package/dist/mjs/api/resources/BalanceSheetReport.js +22 -0
  339. package/dist/mjs/api/resources/BalanceSheetReport.js.map +1 -0
  340. package/dist/mjs/api/resources/Brevo.d.ts +2 -2
  341. package/dist/mjs/api/resources/Brevo.d.ts.map +1 -1
  342. package/dist/mjs/api/resources/Brevo.js.map +1 -1
  343. package/dist/mjs/api/resources/Checklist.d.ts +29 -1
  344. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  345. package/dist/mjs/api/resources/Checklist.js +47 -0
  346. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  347. package/dist/mjs/api/resources/Commercial.d.ts +2 -1
  348. package/dist/mjs/api/resources/Commercial.d.ts.map +1 -1
  349. package/dist/mjs/api/resources/Commercial.js +3 -0
  350. package/dist/mjs/api/resources/Commercial.js.map +1 -1
  351. package/dist/mjs/api/resources/DashboardLayout.d.ts +9 -0
  352. package/dist/mjs/api/resources/DashboardLayout.d.ts.map +1 -0
  353. package/dist/mjs/api/resources/DashboardLayout.js +16 -0
  354. package/dist/mjs/api/resources/DashboardLayout.js.map +1 -0
  355. package/dist/mjs/api/resources/DocumentRequest.d.ts +10 -0
  356. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -0
  357. package/dist/mjs/api/resources/DocumentRequest.js +27 -0
  358. package/dist/mjs/api/resources/DocumentRequest.js.map +1 -0
  359. package/dist/mjs/api/resources/Exercice.d.ts +1 -0
  360. package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
  361. package/dist/mjs/api/resources/Exercice.js +3 -0
  362. package/dist/mjs/api/resources/Exercice.js.map +1 -1
  363. package/dist/mjs/api/resources/Inpi.d.ts +36 -0
  364. package/dist/mjs/api/resources/Inpi.d.ts.map +1 -1
  365. package/dist/mjs/api/resources/Inpi.js +48 -0
  366. package/dist/mjs/api/resources/Inpi.js.map +1 -1
  367. package/dist/mjs/api/resources/InternalInvoicing.d.ts.map +1 -1
  368. package/dist/mjs/api/resources/InternalInvoicing.js +12 -0
  369. package/dist/mjs/api/resources/InternalInvoicing.js.map +1 -1
  370. package/dist/mjs/api/resources/Payment.d.ts +3 -2
  371. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  372. package/dist/mjs/api/resources/Payment.js +3 -0
  373. package/dist/mjs/api/resources/Payment.js.map +1 -1
  374. package/dist/mjs/api/resources/PaymentExpectationCustomer.d.ts +4 -0
  375. package/dist/mjs/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
  376. package/dist/mjs/api/resources/PaymentExpectationCustomer.js +6 -0
  377. package/dist/mjs/api/resources/PaymentExpectationCustomer.js.map +1 -1
  378. package/dist/mjs/api/resources/Recurrence.d.ts +2 -1
  379. package/dist/mjs/api/resources/Recurrence.d.ts.map +1 -1
  380. package/dist/mjs/api/resources/Recurrence.js +5 -0
  381. package/dist/mjs/api/resources/Recurrence.js.map +1 -1
  382. package/dist/mjs/api/resources/Registration.js +1 -1
  383. package/dist/mjs/api/resources/Registration.js.map +1 -1
  384. package/dist/mjs/api/resources/Revision.d.ts +4 -1
  385. package/dist/mjs/api/resources/Revision.d.ts.map +1 -1
  386. package/dist/mjs/api/resources/Revision.js +9 -0
  387. package/dist/mjs/api/resources/Revision.js.map +1 -1
  388. package/dist/mjs/api/resources/Team.d.ts +21 -1
  389. package/dist/mjs/api/resources/Team.d.ts.map +1 -1
  390. package/dist/mjs/api/resources/Team.js +26 -0
  391. package/dist/mjs/api/resources/Team.js.map +1 -1
  392. package/dist/mjs/api/resources/prestation.d.ts +7 -0
  393. package/dist/mjs/api/resources/prestation.d.ts.map +1 -1
  394. package/dist/mjs/api/resources/prestation.js +9 -0
  395. package/dist/mjs/api/resources/prestation.js.map +1 -1
  396. package/dist/mjs/api/resources.d.ts +6 -0
  397. package/dist/mjs/api/resources.d.ts.map +1 -1
  398. package/dist/mjs/api/resources.js +6 -0
  399. package/dist/mjs/api/resources.js.map +1 -1
  400. package/dist/mjs/types/Enum/AIPrompt.js +1 -1
  401. package/dist/mjs/types/Enum/AIPrompt.js.map +1 -1
  402. package/dist/mjs/types/Enum/AbsenceType.d.ts +1 -0
  403. package/dist/mjs/types/Enum/AbsenceType.d.ts.map +1 -1
  404. package/dist/mjs/types/Enum/AbsenceType.js +11 -1
  405. package/dist/mjs/types/Enum/AbsenceType.js.map +1 -1
  406. package/dist/mjs/types/Enum/Aspone.d.ts +8 -0
  407. package/dist/mjs/types/Enum/Aspone.d.ts.map +1 -1
  408. package/dist/mjs/types/Enum/Aspone.js +10 -0
  409. package/dist/mjs/types/Enum/Aspone.js.map +1 -1
  410. package/dist/mjs/types/Enum/BalanceSheet.d.ts +66 -0
  411. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  412. package/dist/mjs/types/Enum/BalanceSheet.js +135 -68
  413. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  414. package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts +62 -1
  415. package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  416. package/dist/mjs/types/Enum/BalanceSheetQuestion.js +62 -0
  417. package/dist/mjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
  418. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +58 -13
  419. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  420. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +58 -12
  421. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  422. package/dist/mjs/types/Enum/ChecklistType.d.ts +8 -1
  423. package/dist/mjs/types/Enum/ChecklistType.d.ts.map +1 -1
  424. package/dist/mjs/types/Enum/ChecklistType.js +8 -0
  425. package/dist/mjs/types/Enum/ChecklistType.js.map +1 -1
  426. package/dist/mjs/types/Enum/ConstitutionState.js +1 -1
  427. package/dist/mjs/types/Enum/ConstitutionState.js.map +1 -1
  428. package/dist/mjs/types/Enum/DashboardBlock.d.ts +13 -0
  429. package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +1 -0
  430. package/dist/mjs/types/Enum/DashboardBlock.js +14 -0
  431. package/dist/mjs/types/Enum/DashboardBlock.js.map +1 -0
  432. package/dist/mjs/types/Enum/EntityType.d.ts +2 -2
  433. package/dist/mjs/types/Enum/EntityType.js +2 -2
  434. package/dist/mjs/types/Enum/EntityType.js.map +1 -1
  435. package/dist/mjs/types/Enum/Ged.d.ts +75 -5
  436. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  437. package/dist/mjs/types/Enum/Ged.js +187 -0
  438. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  439. package/dist/mjs/types/Enum/GlobalRegime.js +19 -19
  440. package/dist/mjs/types/Enum/GlobalRegime.js.map +1 -1
  441. package/dist/mjs/types/Enum/IncomeStatement.d.ts +32 -0
  442. package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
  443. package/dist/mjs/types/Enum/IncomeStatement.js +73 -40
  444. package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
  445. package/dist/mjs/types/Enum/LegalForm.d.ts +1 -0
  446. package/dist/mjs/types/Enum/LegalForm.d.ts.map +1 -1
  447. package/dist/mjs/types/Enum/LegalForm.js +39 -4
  448. package/dist/mjs/types/Enum/LegalForm.js.map +1 -1
  449. package/dist/mjs/types/Enum/MailAuto.d.ts +2 -1
  450. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  451. package/dist/mjs/types/Enum/MailAuto.js +1 -0
  452. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  453. package/dist/mjs/types/Enum/PrestationType.d.ts +14 -1
  454. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  455. package/dist/mjs/types/Enum/PrestationType.js +192 -15
  456. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  457. package/dist/mjs/types/Enum/ReasonNotSubscribed.d.ts.map +1 -1
  458. package/dist/mjs/types/Enum/ReasonNotSubscribed.js +12 -6
  459. package/dist/mjs/types/Enum/ReasonNotSubscribed.js.map +1 -1
  460. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +7 -7
  461. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  462. package/dist/mjs/types/Enum/StatsCaStateDetail.d.ts +18 -0
  463. package/dist/mjs/types/Enum/StatsCaStateDetail.d.ts.map +1 -1
  464. package/dist/mjs/types/Enum/StatsCaStateDetail.js +18 -0
  465. package/dist/mjs/types/Enum/StatsCaStateDetail.js.map +1 -1
  466. package/dist/mjs/types/Enum/Unit.d.ts +10 -3
  467. package/dist/mjs/types/Enum/Unit.d.ts.map +1 -1
  468. package/dist/mjs/types/Enum/Unit.js +11 -0
  469. package/dist/mjs/types/Enum/Unit.js.map +1 -1
  470. package/dist/mjs/types/Enum/ZoneCode.d.ts +6 -0
  471. package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -1
  472. package/dist/mjs/types/Enum/ZoneCode.js +7 -0
  473. package/dist/mjs/types/Enum/ZoneCode.js.map +1 -1
  474. package/dist/mjs/types/Interface/api/DashboardLayout.d.ts +24 -0
  475. package/dist/mjs/types/Interface/api/DashboardLayout.d.ts.map +1 -0
  476. package/dist/mjs/types/Interface/api/DashboardLayout.js +2 -0
  477. package/dist/mjs/types/Interface/api/DashboardLayout.js.map +1 -0
  478. package/dist/mjs/types/Interface/api/OnBoarding.d.ts +1 -0
  479. package/dist/mjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
  480. package/dist/mjs/types/Interface/api/OnBoarding.js +7 -0
  481. package/dist/mjs/types/Interface/api/OnBoarding.js.map +1 -1
  482. package/dist/mjs/types/Interface/api/absenceRequest/ReadAbsenceRequest.d.ts +1 -1
  483. package/dist/mjs/types/Interface/api/absenceRequest/ReadAbsenceRequest.js.map +1 -1
  484. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
  485. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
  486. package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
  487. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
  488. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
  489. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +200 -0
  490. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
  491. package/dist/mjs/types/Interface/api/bankAccount/Query.d.ts +6 -0
  492. package/dist/mjs/types/Interface/api/bankAccount/Query.d.ts.map +1 -1
  493. package/dist/mjs/types/Interface/api/bankAccount/Query.js +27 -1
  494. package/dist/mjs/types/Interface/api/bankAccount/Query.js.map +1 -1
  495. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +3 -1
  496. package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
  497. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +16 -1
  498. package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
  499. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +2 -2
  500. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  501. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +5 -5
  502. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  503. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +3 -2
  504. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  505. package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
  506. package/dist/mjs/types/Interface/api/cerfa/2050.d.ts +1592 -1634
  507. package/dist/mjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
  508. package/dist/mjs/types/Interface/api/cerfa/2050.js.map +1 -1
  509. package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +3 -2
  510. package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  511. package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
  512. package/dist/mjs/types/Interface/api/cerfa/3310.d.ts +1 -0
  513. package/dist/mjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
  514. package/dist/mjs/types/Interface/api/cerfa/3310.js.map +1 -1
  515. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +10 -1
  516. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  517. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  518. package/dist/mjs/types/Interface/api/checklist/Query.d.ts +6 -0
  519. package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  520. package/dist/mjs/types/Interface/api/checklist/Query.js +19 -0
  521. package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
  522. package/dist/mjs/types/Interface/api/checklist/Update.d.ts +11 -1
  523. package/dist/mjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  524. package/dist/mjs/types/Interface/api/checklist/Update.js +57 -3
  525. package/dist/mjs/types/Interface/api/checklist/Update.js.map +1 -1
  526. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -1
  527. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
  528. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +2 -3
  529. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
  530. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
  531. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
  532. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
  533. package/dist/mjs/types/Interface/api/commercialManagement/Query.d.ts +4 -0
  534. package/dist/mjs/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
  535. package/dist/mjs/types/Interface/api/commercialManagement/Query.js +14 -0
  536. package/dist/mjs/types/Interface/api/commercialManagement/Query.js.map +1 -1
  537. package/dist/mjs/types/Interface/api/commercialManagement/Read.d.ts +11 -0
  538. package/dist/mjs/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
  539. package/dist/mjs/types/Interface/api/commercialManagement/Read.js.map +1 -1
  540. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +0 -1
  541. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
  542. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
  543. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +0 -1
  544. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
  545. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +0 -8
  546. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
  547. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
  548. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
  549. package/dist/mjs/types/Interface/api/documentRequest/Create.js +47 -0
  550. package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -0
  551. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
  552. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
  553. package/dist/mjs/types/Interface/api/documentRequest/Query.js +28 -0
  554. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -0
  555. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +5 -0
  556. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +1 -0
  557. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +2 -0
  558. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +1 -0
  559. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
  560. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  561. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +12 -2
  562. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  563. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
  564. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
  565. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +11 -2
  566. package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
  567. package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +3 -2
  568. package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
  569. package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
  570. package/dist/mjs/types/Interface/api/inpi/inpi.d.ts +113 -0
  571. package/dist/mjs/types/Interface/api/inpi/inpi.d.ts.map +1 -1
  572. package/dist/mjs/types/Interface/api/inpi/inpi.js.map +1 -1
  573. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +5 -2
  574. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  575. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +18 -3
  576. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  577. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts +5 -5
  578. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  579. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +5 -5
  580. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  581. package/dist/mjs/types/Interface/api/payment/Params.d.ts +5 -0
  582. package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  583. package/dist/mjs/types/Interface/api/payment/Params.js +26 -1
  584. package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
  585. package/dist/mjs/types/Interface/api/payment/Query.d.ts +2 -0
  586. package/dist/mjs/types/Interface/api/payment/Query.d.ts.map +1 -1
  587. package/dist/mjs/types/Interface/api/payment/Query.js +14 -0
  588. package/dist/mjs/types/Interface/api/payment/Query.js.map +1 -1
  589. package/dist/mjs/types/Interface/api/payment/Util.d.ts +0 -2
  590. package/dist/mjs/types/Interface/api/payment/Util.d.ts.map +1 -1
  591. package/dist/mjs/types/Interface/api/payment/Util.js.map +1 -1
  592. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +1 -1
  593. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  594. package/dist/mjs/types/Interface/api/prestation/Query.d.ts +2 -2
  595. package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  596. package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
  597. package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts +4 -0
  598. package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  599. package/dist/mjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  600. package/dist/mjs/types/Interface/api/revision/Revision.d.ts +1 -1
  601. package/dist/mjs/types/Interface/api/revision/Revision.d.ts.map +1 -1
  602. package/dist/mjs/types/Interface/api/revision/Revision.js.map +1 -1
  603. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +12 -1
  604. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  605. package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  606. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +1 -0
  607. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  608. package/dist/mjs/types/Interface/api/stripe/Create.js +7 -0
  609. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  610. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +3 -0
  611. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  612. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +10 -0
  613. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  614. package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.d.ts +6 -0
  615. package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +1 -0
  616. package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.js +37 -0
  617. package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.js.map +1 -0
  618. package/dist/mjs/types/Interface/models/IAttestation.d.ts +20 -18
  619. package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  620. package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
  621. package/dist/mjs/types/Interface/models/IChecklist.d.ts +2 -2
  622. package/dist/mjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  623. package/dist/mjs/types/Interface/models/IChecklist.js.map +1 -1
  624. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  625. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  626. package/dist/mjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  627. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +23 -0
  628. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
  629. package/dist/mjs/types/Interface/models/IDocumentRequest.js +2 -0
  630. package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -0
  631. package/dist/mjs/types/Interface/models/IGedFile.d.ts +6 -1
  632. package/dist/mjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  633. package/dist/mjs/types/Interface/models/IGedFile.js.map +1 -1
  634. package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts +2 -0
  635. package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  636. package/dist/mjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
  637. package/dist/mjs/types/Interface/models/IPrestation.d.ts.map +1 -1
  638. package/dist/mjs/types/Interface/models/IPrestation.js.map +1 -1
  639. package/dist/mjs/types/Interface/models/ISociety.d.ts +1 -0
  640. package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
  641. package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
  642. package/dist/mjs/types/index.d.ts +7 -0
  643. package/dist/mjs/types/index.d.ts.map +1 -1
  644. package/dist/mjs/types/index.js +7 -0
  645. package/dist/mjs/types/index.js.map +1 -1
  646. package/dist/mjs/utils/payment.js +52 -48
  647. package/dist/mjs/utils/payment.js.map +1 -1
  648. package/dist/mjs/utils/prestation.d.ts +1 -0
  649. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  650. package/dist/mjs/utils/prestation.js +1 -0
  651. package/dist/mjs/utils/prestation.js.map +1 -1
  652. package/dist/mjs/utils/tests/payment.spec.js +34 -34
  653. package/dist/mjs/utils/tests/payment.spec.js.map +1 -1
  654. package/dist/mjs/utils/vat/3310/century25.d.ts.map +1 -1
  655. package/dist/mjs/utils/vat/3310/century25.js +22 -7
  656. package/dist/mjs/utils/vat/3310/century25.js.map +1 -1
  657. package/dist/mjs/utils/vat/3517/century25.d.ts.map +1 -1
  658. package/dist/mjs/utils/vat/3517/century25.js +61 -54
  659. package/dist/mjs/utils/vat/3517/century25.js.map +1 -1
  660. package/dist/mjs/utils/vat/utils.js +3 -3
  661. package/dist/mjs/utils/vat/utils.js.map +1 -1
  662. package/dist/mjs/utils/webmail.d.ts.map +1 -1
  663. package/dist/mjs/utils/webmail.js +4 -3
  664. package/dist/mjs/utils/webmail.js.map +1 -1
  665. package/package.json +14 -14
  666. package/ts/api/resources/AccountingFiles.ts +1 -0
  667. package/ts/api/resources/BalanceSheetReport.ts +36 -0
  668. package/ts/api/resources/Brevo.ts +2 -9
  669. package/ts/api/resources/Checklist.ts +59 -0
  670. package/ts/api/resources/Commercial.ts +4 -0
  671. package/ts/api/resources/DashboardLayout.ts +20 -0
  672. package/ts/api/resources/DocumentRequest.ts +32 -0
  673. package/ts/api/resources/Exercice.ts +4 -0
  674. package/ts/api/resources/Inpi.ts +54 -0
  675. package/ts/api/resources/InternalInvoicing.ts +12 -0
  676. package/ts/api/resources/Payment.ts +6 -1
  677. package/ts/api/resources/PaymentExpectationCustomer.ts +8 -0
  678. package/ts/api/resources/Recurrence.ts +8 -0
  679. package/ts/api/resources/Registration.ts +1 -1
  680. package/ts/api/resources/Revision.ts +22 -0
  681. package/ts/api/resources/Team.ts +31 -1
  682. package/ts/api/resources/prestation.ts +10 -0
  683. package/ts/api/resources.ts +6 -0
  684. package/ts/types/Enum/AIPrompt.ts +1 -1
  685. package/ts/types/Enum/AbsenceType.ts +12 -2
  686. package/ts/types/Enum/Aspone.ts +10 -0
  687. package/ts/types/Enum/BalanceSheet.ts +137 -68
  688. package/ts/types/Enum/BalanceSheetQuestion.ts +63 -0
  689. package/ts/types/Enum/BalanceSheetQuestionWording.ts +130 -81
  690. package/ts/types/Enum/ChecklistType.ts +9 -0
  691. package/ts/types/Enum/ConstitutionState.ts +1 -1
  692. package/ts/types/Enum/DashboardBlock.ts +12 -0
  693. package/ts/types/Enum/EntityType.ts +2 -2
  694. package/ts/types/Enum/Ged.ts +196 -4
  695. package/ts/types/Enum/GlobalRegime.ts +19 -19
  696. package/ts/types/Enum/IncomeStatement.ts +73 -40
  697. package/ts/types/Enum/LegalForm.ts +40 -4
  698. package/ts/types/Enum/MailAuto.ts +1 -0
  699. package/ts/types/Enum/PrestationType.ts +199 -15
  700. package/ts/types/Enum/ReasonNotSubscribed.ts +12 -6
  701. package/ts/types/Enum/SalesContractBrandClementine.ts +7 -7
  702. package/ts/types/Enum/StatsCaStateDetail.ts +19 -0
  703. package/ts/types/Enum/Unit.ts +11 -0
  704. package/ts/types/Enum/ZoneCode.ts +7 -0
  705. package/ts/types/Interface/api/DashboardLayout.ts +27 -0
  706. package/ts/types/Interface/api/OnBoarding.ts +5 -0
  707. package/ts/types/Interface/api/absenceRequest/ReadAbsenceRequest.ts +1 -1
  708. package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +4 -2
  709. package/ts/types/Interface/api/balanceSheetReport/Query.ts +160 -0
  710. package/ts/types/Interface/api/bankAccount/Query.ts +19 -1
  711. package/ts/types/Interface/api/brevo/BrevoElement.ts +13 -2
  712. package/ts/types/Interface/api/card/QueryUserCards.ts +5 -5
  713. package/ts/types/Interface/api/cerfa/2031.ts +3 -2
  714. package/ts/types/Interface/api/cerfa/2050.ts +1580 -1399
  715. package/ts/types/Interface/api/cerfa/2065.ts +2 -2
  716. package/ts/types/Interface/api/cerfa/3310.ts +1 -0
  717. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +20 -2
  718. package/ts/types/Interface/api/checklist/Query.ts +15 -0
  719. package/ts/types/Interface/api/checklist/Update.ts +44 -3
  720. package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +2 -3
  721. package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +1 -0
  722. package/ts/types/Interface/api/commercialManagement/Query.ts +10 -0
  723. package/ts/types/Interface/api/commercialManagement/Read.ts +12 -0
  724. package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +0 -1
  725. package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +0 -6
  726. package/ts/types/Interface/api/documentRequest/Create.ts +28 -0
  727. package/ts/types/Interface/api/documentRequest/Query.ts +14 -0
  728. package/ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts +5 -0
  729. package/ts/types/Interface/api/gedFile/createFileAndGed.ts +7 -1
  730. package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +9 -2
  731. package/ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts +4 -2
  732. package/ts/types/Interface/api/inpi/inpi.ts +126 -0
  733. package/ts/types/Interface/api/library/QueryLibrary.ts +11 -2
  734. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +5 -5
  735. package/ts/types/Interface/api/payment/Params.ts +19 -1
  736. package/ts/types/Interface/api/payment/Query.ts +13 -3
  737. package/ts/types/Interface/api/payment/Util.ts +2 -2
  738. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +3 -3
  739. package/ts/types/Interface/api/prestation/Query.ts +2 -2
  740. package/ts/types/Interface/api/registration/ReadRegistration.ts +4 -0
  741. package/ts/types/Interface/api/revision/Revision.ts +1 -1
  742. package/ts/types/Interface/api/society/ReadSociety.ts +13 -1
  743. package/ts/types/Interface/api/stripe/Create.ts +5 -0
  744. package/ts/types/Interface/api/stripe/QueryStripe.ts +8 -0
  745. package/ts/types/Interface/api/team/UpdateTeamsForUser.ts +22 -0
  746. package/ts/types/Interface/models/IAttestation.ts +20 -18
  747. package/ts/types/Interface/models/IChecklist.ts +2 -2
  748. package/ts/types/Interface/models/IChecklistDetail.ts +3 -3
  749. package/ts/types/Interface/models/IDocumentRequest.ts +25 -0
  750. package/ts/types/Interface/models/IGedFile.ts +6 -1
  751. package/ts/types/Interface/models/IPaymentExpectation.ts +2 -0
  752. package/ts/types/Interface/models/IPrestation.ts +1 -0
  753. package/ts/types/Interface/models/ISociety.ts +1 -0
  754. package/ts/types/index.ts +7 -0
  755. package/ts/utils/payment.ts +49 -49
  756. package/ts/utils/prestation.ts +1 -0
  757. package/ts/utils/tests/payment.spec.ts +34 -34
  758. package/ts/utils/vat/3310/century25.ts +22 -8
  759. package/ts/utils/vat/3517/century25.ts +61 -54
  760. package/ts/utils/vat/utils.ts +3 -3
  761. package/ts/utils/webmail.ts +19 -16
@@ -1 +1 @@
1
- {"version":3,"file":"3310.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/3310.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { ServiceOfTax } from '../tax/ReadTax';\n\ntype BaseAndTax = {\n base: number;\n tax: number;\n};\n\ntype Tic = {\n credit?: number;\n refund?: number;\n imputed?: number;\n tax?: number;\n};\n\nexport type Cerfa3310_2023 = {\n declaration: {\n recipient: {\n name?: string | null;\n address: {\n full: string;\n };\n numbers: {\n SIE: string | null;\n folder: string | null;\n key: string | null;\n period: string | null;\n CM: string | null;\n OPT: string | null;\n service: string | null;\n system: string | null;\n };\n };\n period: {\n start: {\n day: string;\n month: string;\n year: string;\n };\n end: {\n day: string;\n month: string;\n year: string;\n };\n };\n service: {\n address: {\n full: string | null;\n };\n };\n siret: {\n first: string | null;\n second: string | null;\n };\n intracommunityVat: {\n first: string | null;\n second: string | null;\n third: string | null;\n };\n comment: string | null;\n payment: {\n date: string | null;\n phone: string | null;\n isPayment: boolean;\n byImputation: boolean;\n };\n };\n isNil: boolean;\n untaxedOperations: {\n exportationNotInEurope: number;\n other: number;\n distanceSelling: number;\n import: number;\n withdrawSuspensiveRegime: number;\n importInSuspensiveSystem: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery: number;\n oilProductsConsumption: number;\n importPetrolInSuspensiveSystem: number;\n purchaseInFranchise: number;\n saleOfServicesNotInFrance: number;\n regularizations: number;\n internalUniq: number;\n };\n taxedOperations: {\n services: number;\n other: number;\n purchaseOfIntracommunityServiceProvision: number;\n import: number;\n withdrawSuspensiveRegime: number;\n releaseFromConsumption: number;\n intracommunityAcquisitions: number;\n energyDelivery: number;\n purchaseOfServicesNotInFrance: number;\n regularizations: number;\n };\n vat: {\n carrieredOutInFrance: {\n normalRate20: BaseAndTax;\n reduceRate5Dot5: BaseAndTax;\n reduceRate10: BaseAndTax;\n };\n overseasDepartment: {\n reduceRate8Dot5: BaseAndTax;\n reduceRate2Dot1: BaseAndTax;\n };\n oilProducts: {\n normalRate20: BaseAndTax;\n reduceRate13: BaseAndTax;\n };\n importations: {\n normalRate20: BaseAndTax;\n reduceRate10: BaseAndTax;\n reduceRate8Dot5: BaseAndTax;\n reduceRate5Dot5: BaseAndTax;\n reduceRate2Dot1: BaseAndTax;\n reduceRate1Dot05: BaseAndTax;\n };\n previouslyDeductedToBeReturned: {\n onOilProducts: number;\n otherThanOilProducts: number;\n total: number;\n };\n sumToAdd: number;\n grossDue: number;\n onIntracommunityAcquisition: number;\n toMonaco: number;\n deductible: {\n other: {\n oil: number;\n thanOilProducts: number;\n collected: number;\n total: number;\n };\n immobilizations: number;\n otherGoodsAndServices: number;\n report: number;\n toImpute: number;\n total: number;\n onImportOtherThanOilProducts: number;\n coefficient: number;\n onOilProducts: number;\n };\n otherRate: {\n oldRate: BaseAndTax;\n at1Dot75: BaseAndTax;\n at1Dot05: BaseAndTax;\n at10: BaseAndTax;\n atCorse2Dot1: BaseAndTax;\n atCorse0Dot9: BaseAndTax;\n at2Dot1: BaseAndTax;\n author: BaseAndTax;\n };\n };\n credit: {\n amount: number;\n refundAsked: number;\n transferedToSocietyHeadOfGroup: number;\n assimiledTaxes: number;\n toReport: number;\n ticRefund: number;\n ticTransfered: number;\n };\n toPay: {\n netDue: number;\n acquittedBySocietyHeadOfGroup: number;\n total: number;\n };\n isDGE: boolean;\n isUniq: boolean;\n tic?: {\n ticfe?: Tic;\n ticgn?: Tic;\n ticc?: Tic;\n total?: Tic;\n };\n};\n\nexport type Cerfa3310_2024 = {\n declaration: {\n recipient: {\n name?: string | null;\n address: {\n full: string;\n };\n numbers: {\n SIE: string | null;\n folder: string | null;\n key: string | null;\n period: string | null;\n CM: string | null;\n OPT: string | null;\n service: string | null;\n system: string | null;\n };\n };\n period: {\n start: {\n day: string;\n month: string;\n year: string;\n };\n end: {\n day: string;\n month: string;\n year: string;\n };\n };\n service: {\n address: {\n full: string | null;\n };\n };\n siret: {\n first: string | null;\n second: string | null;\n };\n intracommunityVat: {\n first: string | null;\n second: string | null;\n third: string | null;\n };\n comment: string | null;\n payment: {\n date: string | null;\n phone: string | null;\n isPayment: boolean;\n byImputation: boolean;\n };\n };\n isNil: boolean;\n untaxedOperations: {\n exportationNotInEurope: number;\n other: number;\n distanceSelling: number;\n import: number;\n withdrawSuspensiveRegime: number;\n importInSuspensiveSystem: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery: number;\n oilProductsConsumption: number;\n importPetrolInSuspensiveSystem: number;\n purchaseInFranchise: number;\n saleOfServicesNotInFrance: number;\n regularizations: number;\n internalUniq: number;\n };\n taxedOperations: {\n services: number;\n other: number;\n purchaseOfIntracommunityServiceProvision: number;\n import: number;\n withdrawSuspensiveRegime: number;\n releaseFromConsumption: number;\n intracommunityAcquisitions: number;\n energyDelivery: number;\n purchaseOfServicesNotInFrance: number;\n regularizations: number;\n };\n vat: {\n carrieredOutInFrance: {\n normalRate20: BaseAndTax;\n reduceRate5Dot5: BaseAndTax;\n reduceRate10: BaseAndTax;\n };\n overseasDepartment: {\n reduceRate8Dot5: BaseAndTax;\n reduceRate2Dot1: BaseAndTax;\n };\n oilProducts: {\n normalRate20: BaseAndTax;\n reduceRate13: BaseAndTax;\n };\n importations: {\n normalRate20: BaseAndTax;\n reduceRate10: BaseAndTax;\n reduceRate8Dot5: BaseAndTax;\n reduceRate5Dot5: BaseAndTax;\n reduceRate2Dot1: BaseAndTax;\n reduceRate1Dot05: BaseAndTax;\n };\n previouslyDeductedToBeReturned: {\n onOilProducts: number;\n otherThanOilProducts: number;\n total: number;\n };\n sumToAdd: number;\n grossDue: number;\n onIntracommunityAcquisition: number;\n toMonaco: number;\n deductible: {\n other: {\n oil: number;\n thanOilProducts: number;\n collected: number;\n total: number;\n };\n immobilizations: number;\n otherGoodsAndServices: number;\n report: number;\n toImpute: number;\n total: number;\n onImportOtherThanOilProducts: number;\n coefficient: number;\n onOilProducts: number;\n };\n otherRate: {\n oldRate: BaseAndTax;\n at1Dot75: BaseAndTax;\n at1Dot05: BaseAndTax;\n at10: BaseAndTax;\n atCorse13: BaseAndTax;\n atCorse2Dot1: BaseAndTax;\n atCorse0Dot9: BaseAndTax;\n at2Dot1: BaseAndTax;\n author: BaseAndTax;\n };\n };\n credit: {\n amount: number;\n refundAsked: number;\n transferedToSocietyHeadOfGroup: number;\n assimiledTaxes: number;\n toReport: number;\n ticRefund: number;\n ticTransfered: number;\n };\n toPay: {\n netDue: number;\n acquittedBySocietyHeadOfGroup: number;\n total: number;\n };\n isDGE: boolean;\n isUniq: boolean;\n tic?: {\n ticfe?: Tic;\n ticgn?: Tic;\n ticc?: Tic;\n total?: Tic;\n };\n};\n\nexport type PayloadCerfa3310_2023 = {\n isHolidayDeposit: boolean;\n startDate: string;\n endDate: string;\n society: ISociety;\n setting: ISocietyGescom | null;\n isNil: boolean;\n previousVatDeclaration: Cerfa3310_2023 | null;\n sie: ServiceOfTax | null;\n comment?: string;\n taxedOperations?: {\n withdrawSuspensiveRegime?: number;\n releaseFromConsumption?: number;\n energyDelivery?: number;\n purchaseOfServicesNotInFrance?: number;\n regularizations?: number;\n };\n untaxedOperations?: {\n distanceSelling?: number;\n withdrawSuspensiveRegime?: number;\n importInSuspensiveSystem?: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery?: number;\n oilProductsConsumption?: number;\n importPetrolInSuspensiveSystem?: number;\n purchaseInFranchise?: number;\n saleOfServicesNotInFrance?: number;\n regularizations?: number;\n internalUniq?: number;\n };\n // MODULE DE CONTROLE DE TVA\n vatControl?: {\n france?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n other?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n importations?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n intracomunity?: {\n base20?: number;\n };\n regularisations?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n case5B?: number;\n };\n untaxed?: {\n exportation?: number;\n importation?: number;\n intracomunity?: number;\n regularisation?: number;\n other?: number;\n };\n deducted?: {\n immobilization?: number;\n abs?: number;\n other?: number;\n reported?: number;\n case2C?: number;\n };\n refundAsked?: number;\n };\n // FIN MODULE CONTROLE TVA\n vat?: {\n oilProducts?: {\n normalRate20?: { base?: number };\n reduceRate13?: { base?: number };\n };\n previouslyDeductedToBeReturned?: {\n onOilProducts?: number;\n otherThanOilProducts?: number;\n total?: number;\n };\n toMonaco?: number;\n deductible?: {\n other?: {\n oil?: number;\n };\n toImpute?: number;\n onOilProducts?: number;\n coefficient?: number;\n toReport?: number;\n };\n otherRate?: {\n oldRate?: {\n tax?: number;\n base?: number;\n };\n };\n sumToAdd?: number;\n };\n credit?: {\n transferedToSocietyHeadOfGroup?: number;\n assimiledTaxes?: number;\n refundAsked?: number;\n };\n toPay?: {\n acquittedBySocietyHeadOfGroup?: number;\n };\n};\n\nexport type PayloadCerfa3310_2024 = {\n isHolidayDeposit: boolean;\n startDate: string;\n endDate: string;\n society: ISociety;\n setting: ISocietyGescom | null;\n isNil: boolean;\n previousVatDeclaration: Cerfa3310_2023 | null;\n sie: ServiceOfTax | null;\n comment?: string;\n taxedOperations?: {\n withdrawSuspensiveRegime?: number;\n releaseFromConsumption?: number;\n energyDelivery?: number;\n purchaseOfServicesNotInFrance?: number;\n regularizations?: number;\n };\n untaxedOperations?: {\n distanceSelling?: number;\n withdrawSuspensiveRegime?: number;\n importInSuspensiveSystem?: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery?: number;\n oilProductsConsumption?: number;\n importPetrolInSuspensiveSystem?: number;\n purchaseInFranchise?: number;\n saleOfServicesNotInFrance?: number;\n regularizations?: number;\n internalUniq?: number;\n };\n // MODULE DE CONTROLE DE TVA\n vatControl?: {\n france?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n other?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n importations?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n intracomunity?: {\n base20?: number;\n };\n regularisations?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n case5B?: number;\n };\n untaxed?: {\n exportation?: number;\n importation?: number;\n intracomunity?: number;\n regularisation?: number;\n other?: number;\n };\n deducted?: {\n immobilization?: number;\n abs?: number;\n other?: number;\n reported?: number;\n case2C?: number;\n };\n refundAsked?: number;\n };\n // FIN MODULE CONTROLE TVA\n vat?: {\n oilProducts?: {\n normalRate20?: { base?: number };\n reduceRate13?: { base?: number };\n };\n previouslyDeductedToBeReturned?: {\n onOilProducts?: number;\n otherThanOilProducts?: number;\n total?: number;\n };\n toMonaco?: number;\n deductible?: {\n other?: {\n oil?: number;\n };\n toImpute?: number;\n onOilProducts?: number;\n coefficient?: number;\n toReport?: number;\n };\n otherRate?: {\n oldRate?: {\n tax?: number;\n base?: number;\n };\n };\n sumToAdd?: number;\n };\n credit?: {\n transferedToSocietyHeadOfGroup?: number;\n assimiledTaxes?: number;\n refundAsked?: number;\n };\n toPay?: {\n acquittedBySocietyHeadOfGroup?: number;\n };\n};\n\nexport type PayloadCerfa3310_2025 = PayloadCerfa3310_2024;\n\nexport type Cerfa3310_2025 = Cerfa3310_2024 & {\n tic?: {\n other?: Omit<Tic, 'tax'>;\n gasoline?: { tax: number };\n };\n};\n\nexport type AnyCerfa3310_Century = Cerfa3310_2023 | Cerfa3310_2024 | Cerfa3310_2025;\nexport type AnyPayloadCerfa3310_Century = PayloadCerfa3310_2023 | PayloadCerfa3310_2024;\n"]}
1
+ {"version":3,"file":"3310.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/3310.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { ServiceOfTax } from '../tax/ReadTax';\n\ntype BaseAndTax = {\n base: number;\n tax: number;\n};\n\ntype Tic = {\n credit?: number;\n refund?: number;\n imputed?: number;\n tax?: number;\n};\n\nexport type Cerfa3310_2023 = {\n declaration: {\n recipient: {\n name?: string | null;\n address: {\n full: string;\n };\n numbers: {\n SIE: string | null;\n folder: string | null;\n key: string | null;\n period: string | null;\n CM: string | null;\n OPT: string | null;\n service: string | null;\n system: string | null;\n };\n };\n period: {\n start: {\n day: string;\n month: string;\n year: string;\n };\n end: {\n day: string;\n month: string;\n year: string;\n };\n };\n service: {\n address: {\n full: string | null;\n };\n };\n siret: {\n first: string | null;\n second: string | null;\n };\n intracommunityVat: {\n first: string | null;\n second: string | null;\n third: string | null;\n };\n comment: string | null;\n payment: {\n date: string | null;\n phone: string | null;\n isPayment: boolean;\n byImputation: boolean;\n };\n };\n isNil: boolean;\n untaxedOperations: {\n exportationNotInEurope: number;\n other: number;\n distanceSelling: number;\n import: number;\n withdrawSuspensiveRegime: number;\n importInSuspensiveSystem: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery: number;\n oilProductsConsumption: number;\n importPetrolInSuspensiveSystem: number;\n purchaseInFranchise: number;\n saleOfServicesNotInFrance: number;\n regularizations: number;\n internalUniq: number;\n };\n taxedOperations: {\n services: number;\n other: number;\n purchaseOfIntracommunityServiceProvision: number;\n import: number;\n withdrawSuspensiveRegime: number;\n releaseFromConsumption: number;\n intracommunityAcquisitions: number;\n energyDelivery: number;\n purchaseOfServicesNotInFrance: number;\n regularizations: number;\n };\n vat: {\n carrieredOutInFrance: {\n normalRate20: BaseAndTax;\n reduceRate5Dot5: BaseAndTax;\n reduceRate10: BaseAndTax;\n };\n overseasDepartment: {\n reduceRate8Dot5: BaseAndTax;\n reduceRate2Dot1: BaseAndTax;\n };\n oilProducts: {\n normalRate20: BaseAndTax;\n reduceRate13: BaseAndTax;\n };\n importations: {\n normalRate20: BaseAndTax;\n reduceRate10: BaseAndTax;\n reduceRate8Dot5: BaseAndTax;\n reduceRate5Dot5: BaseAndTax;\n reduceRate2Dot1: BaseAndTax;\n reduceRate1Dot05: BaseAndTax;\n };\n previouslyDeductedToBeReturned: {\n onOilProducts: number;\n otherThanOilProducts: number;\n total: number;\n };\n sumToAdd: number;\n grossDue: number;\n onIntracommunityAcquisition: number;\n toMonaco: number;\n deductible: {\n other: {\n oil: number;\n thanOilProducts: number;\n collected: number;\n total: number;\n };\n immobilizations: number;\n otherGoodsAndServices: number;\n report: number;\n toImpute: number;\n total: number;\n onImportOtherThanOilProducts: number;\n coefficient: number;\n onOilProducts: number;\n };\n otherRate: {\n oldRate: BaseAndTax;\n at1Dot75: BaseAndTax;\n at1Dot05: BaseAndTax;\n at10: BaseAndTax;\n atCorse2Dot1: BaseAndTax;\n atCorse0Dot9: BaseAndTax;\n at2Dot1: BaseAndTax;\n author: BaseAndTax;\n };\n };\n credit: {\n amount: number;\n refundAsked: number;\n transferedToSocietyHeadOfGroup: number;\n assimiledTaxes: number;\n toReport: number;\n ticRefund: number;\n ticTransfered: number;\n };\n toPay: {\n netDue: number;\n acquittedBySocietyHeadOfGroup: number;\n total: number;\n };\n isDGE: boolean;\n isUniq: boolean;\n tic?: {\n ticfe?: Tic;\n ticgn?: Tic;\n ticc?: Tic;\n total?: Tic;\n };\n};\n\nexport type Cerfa3310_2024 = {\n declaration: {\n recipient: {\n name?: string | null;\n address: {\n full: string;\n };\n numbers: {\n SIE: string | null;\n folder: string | null;\n key: string | null;\n period: string | null;\n CM: string | null;\n OPT: string | null;\n service: string | null;\n system: string | null;\n };\n };\n period: {\n start: {\n day: string;\n month: string;\n year: string;\n };\n end: {\n day: string;\n month: string;\n year: string;\n };\n };\n service: {\n address: {\n full: string | null;\n };\n };\n siret: {\n first: string | null;\n second: string | null;\n };\n intracommunityVat: {\n first: string | null;\n second: string | null;\n third: string | null;\n };\n comment: string | null;\n payment: {\n date: string | null;\n phone: string | null;\n isPayment: boolean;\n byImputation: boolean;\n };\n };\n isNil: boolean;\n untaxedOperations: {\n exportationNotInEurope: number;\n other: number;\n distanceSelling: number;\n import: number;\n withdrawSuspensiveRegime: number;\n importInSuspensiveSystem: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery: number;\n oilProductsConsumption: number;\n importPetrolInSuspensiveSystem: number;\n purchaseInFranchise: number;\n saleOfServicesNotInFrance: number;\n regularizations: number;\n internalUniq: number;\n };\n taxedOperations: {\n services: number;\n other: number;\n purchaseOfIntracommunityServiceProvision: number;\n import: number;\n withdrawSuspensiveRegime: number;\n releaseFromConsumption: number;\n intracommunityAcquisitions: number;\n energyDelivery: number;\n purchaseOfServicesNotInFrance: number;\n regularizations: number;\n };\n vat: {\n carrieredOutInFrance: {\n normalRate20: BaseAndTax;\n reduceRate5Dot5: BaseAndTax;\n reduceRate10: BaseAndTax;\n };\n overseasDepartment: {\n reduceRate8Dot5: BaseAndTax;\n reduceRate2Dot1: BaseAndTax;\n };\n oilProducts: {\n normalRate20: BaseAndTax;\n reduceRate13: BaseAndTax;\n };\n importations: {\n normalRate20: BaseAndTax;\n reduceRate10: BaseAndTax;\n reduceRate8Dot5: BaseAndTax;\n reduceRate5Dot5: BaseAndTax;\n reduceRate2Dot1: BaseAndTax;\n reduceRate1Dot05: BaseAndTax;\n };\n previouslyDeductedToBeReturned: {\n onOilProducts: number;\n otherThanOilProducts: number;\n total: number;\n };\n sumToAdd: number;\n grossDue: number;\n onIntracommunityAcquisition: number;\n toMonaco: number;\n deductible: {\n other: {\n oil: number;\n thanOilProducts: number;\n collected: number;\n total: number;\n };\n immobilizations: number;\n otherGoodsAndServices: number;\n report: number;\n toImpute: number;\n total: number;\n onImportOtherThanOilProducts: number;\n coefficient: number;\n onOilProducts: number;\n };\n otherRate: {\n oldRate: BaseAndTax;\n at1Dot75: BaseAndTax;\n at1Dot05: BaseAndTax;\n at10: BaseAndTax;\n atCorse13: BaseAndTax;\n atCorse2Dot1: BaseAndTax;\n atCorse0Dot9: BaseAndTax;\n at2Dot1: BaseAndTax;\n author: BaseAndTax;\n };\n };\n credit: {\n amount: number;\n refundAsked: number;\n transferedToSocietyHeadOfGroup: number;\n assimiledTaxes: number;\n toReport: number;\n ticRefund: number;\n ticTransfered: number;\n };\n toPay: {\n netDue: number;\n acquittedBySocietyHeadOfGroup: number;\n total: number;\n };\n isDGE: boolean;\n isUniq: boolean;\n tic?: {\n ticfe?: Tic;\n ticgn?: Tic;\n ticc?: Tic;\n total?: Tic;\n };\n};\n\nexport type PayloadCerfa3310_2023 = {\n isHolidayDeposit: boolean;\n startDate: string;\n endDate: string;\n society: ISociety;\n setting: ISocietyGescom | null;\n isNil: boolean;\n previousVatDeclaration: Cerfa3310_2023 | null;\n sie: ServiceOfTax | null;\n comment?: string;\n taxedOperations?: {\n withdrawSuspensiveRegime?: number;\n releaseFromConsumption?: number;\n energyDelivery?: number;\n purchaseOfServicesNotInFrance?: number;\n regularizations?: number;\n };\n untaxedOperations?: {\n distanceSelling?: number;\n withdrawSuspensiveRegime?: number;\n importInSuspensiveSystem?: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery?: number;\n oilProductsConsumption?: number;\n importPetrolInSuspensiveSystem?: number;\n purchaseInFranchise?: number;\n saleOfServicesNotInFrance?: number;\n regularizations?: number;\n internalUniq?: number;\n };\n // MODULE DE CONTROLE DE TVA\n vatControl?: {\n france?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n other?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n importations?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n intracomunity?: {\n base20?: number;\n };\n regularisations?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n case5B?: number;\n };\n untaxed?: {\n exportation?: number;\n importation?: number;\n intracomunity?: number;\n regularisation?: number;\n other?: number;\n };\n deducted?: {\n immobilization?: number;\n abs?: number;\n other?: number;\n reported?: number;\n case2C?: number;\n };\n refundAsked?: number;\n };\n // FIN MODULE CONTROLE TVA\n vat?: {\n oilProducts?: {\n normalRate20?: { base?: number };\n reduceRate13?: { base?: number };\n };\n previouslyDeductedToBeReturned?: {\n onOilProducts?: number;\n otherThanOilProducts?: number;\n total?: number;\n };\n toMonaco?: number;\n deductible?: {\n other?: {\n oil?: number;\n };\n toImpute?: number;\n onOilProducts?: number;\n coefficient?: number;\n toReport?: number;\n };\n otherRate?: {\n oldRate?: {\n tax?: number;\n base?: number;\n };\n };\n sumToAdd?: number;\n };\n credit?: {\n transferedToSocietyHeadOfGroup?: number;\n assimiledTaxes?: number;\n refundAsked?: number;\n };\n toPay?: {\n acquittedBySocietyHeadOfGroup?: number;\n };\n};\n\nexport type PayloadCerfa3310_2024 = {\n isHolidayDeposit: boolean;\n startDate: string;\n endDate: string;\n society: ISociety;\n setting: ISocietyGescom | null;\n isNil: boolean;\n previousVatDeclaration: Cerfa3310_2023 | null;\n sie: ServiceOfTax | null;\n comment?: string;\n taxedOperations?: {\n withdrawSuspensiveRegime?: number;\n releaseFromConsumption?: number;\n energyDelivery?: number;\n purchaseOfServicesNotInFrance?: number;\n regularizations?: number;\n };\n untaxedOperations?: {\n distanceSelling?: number;\n withdrawSuspensiveRegime?: number;\n importInSuspensiveSystem?: number;\n intracommunityAcquisitions: number;\n intracommunityDelivery: number;\n energyDelivery?: number;\n oilProductsConsumption?: number;\n importPetrolInSuspensiveSystem?: number;\n purchaseInFranchise?: number;\n saleOfServicesNotInFrance?: number;\n regularizations?: number;\n internalUniq?: number;\n };\n // MODULE DE CONTROLE DE TVA\n vatControl?: {\n france?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n other?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n importations?: {\n base20?: number;\n base10?: number;\n base8Dot5?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n };\n intracomunity?: {\n base20?: number;\n };\n regularisations?: {\n base20?: number;\n base10?: number;\n base5Dot5?: number;\n base2Dot1?: number;\n case5B?: number;\n };\n untaxed?: {\n exportation?: number;\n importation?: number;\n intracomunity?: number;\n regularisation?: number;\n other?: number;\n };\n deducted?: {\n immobilization?: number;\n abs?: number;\n other?: number;\n reported?: number;\n case2C?: number;\n };\n refundAsked?: number;\n };\n // FIN MODULE CONTROLE TVA\n vat?: {\n oilProducts?: {\n normalRate20?: { base?: number };\n reduceRate13?: { base?: number };\n };\n previouslyDeductedToBeReturned?: {\n onOilProducts?: number;\n otherThanOilProducts?: number;\n total?: number;\n };\n toMonaco?: number;\n deductible?: {\n other?: {\n oil?: number;\n };\n toImpute?: number;\n onOilProducts?: number;\n coefficient?: number;\n toReport?: number;\n };\n otherRate?: {\n oldRate?: {\n tax?: number;\n base?: number;\n };\n };\n sumToAdd?: number;\n };\n credit?: {\n transferedToSocietyHeadOfGroup?: number;\n assimiledTaxes?: number;\n refundAsked?: number;\n };\n toPay?: {\n acquittedBySocietyHeadOfGroup?: number;\n };\n};\n\nexport type PayloadCerfa3310_2025 = PayloadCerfa3310_2024;\n\nexport type Cerfa3310_2025 = Cerfa3310_2024 & {\n isHolidayDeposit?: boolean;\n tic?: {\n other?: Omit<Tic, 'tax'>;\n gasoline?: { tax: number };\n };\n};\n\nexport type AnyCerfa3310_Century = Cerfa3310_2023 | Cerfa3310_2024 | Cerfa3310_2025;\nexport type AnyPayloadCerfa3310_Century = PayloadCerfa3310_2023 | PayloadCerfa3310_2024;\n"]}
@@ -1,5 +1,5 @@
1
1
  import { CerfaType } from '../../../Enum/CerfaType';
2
- import { AnyCerfa2031Century, AnyCerfa2033Century, AnyCerfa2035Century, AnyCerfa2065Century, AnyCerfa2571Century, AnyCerfa2572Century, Cerfa2069RCI_2024, Cerfa2573_2024, Cerfa3519_2017, FieldForGeneration, PayloadCerfa3519_2017, QuestionWording } from '../../..';
2
+ import { AnyCerfa2031Century, AnyCerfa2033Century, AnyCerfa2050Century, AnyCerfa2035Century, AnyCerfa2065Century, AnyCerfa2571Century, AnyCerfa2572Century, Cerfa2069RCI_2024, Cerfa2573_2024, Cerfa3519_2017, FieldForGeneration, PayloadCerfa3519_2017, QuestionWording } from '../../..';
3
3
  import { Question } from '../../../Enum/BalanceSheetQuestion';
4
4
  import { TerminationType } from '../../../Enum/AnswerTypeValue';
5
5
  import { Cerfa3310_2023 } from './3310';
@@ -92,11 +92,15 @@ export type Termination = {
92
92
  };
93
93
  export type AsponeFormFields = Array<{
94
94
  name: string;
95
+ /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */
96
+ nilKey?: string;
95
97
  fields: FieldForGeneration[];
96
98
  index?: number;
97
99
  }>;
98
100
  export type AsponeFormField = {
99
101
  name: string;
102
+ /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */
103
+ nilKey?: string;
100
104
  fields: FieldForGeneration[];
101
105
  };
102
106
  export interface RegistrationPayload {
@@ -105,6 +109,7 @@ export interface RegistrationPayload {
105
109
  cerfa2571?: AnyCerfa2571Century;
106
110
  cerfa2031?: AnyCerfa2031Century;
107
111
  cerfa2033?: AnyCerfa2033Century;
112
+ cerfa2050?: AnyCerfa2050Century;
108
113
  cerfa2065?: AnyCerfa2065Century;
109
114
  cerfa2035?: AnyCerfa2035Century;
110
115
  cerfa2069RCI?: Cerfa2069RCI_2024;
@@ -125,4 +130,8 @@ export interface ReadFormGeneration {
125
130
  file: ReadFormFile;
126
131
  payload: RegistrationPayload;
127
132
  }
133
+ export interface ReadAnnexFormGeneration {
134
+ file?: ReadFormFile;
135
+ payload: RegistrationPayload;
136
+ }
128
137
  //# sourceMappingURL=ReadCerfa.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadCerfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AAE/F,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,cAAc;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;CACzC;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,gBAAgB,GAAG,qBAAqB,EAAE,CAAC;CACvD,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,EAAE,CA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AC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,mBAAmB,CAAC;CAC9B;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,EAAE,mBAAmB,CAAC;CAC9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AA6BA,MAAM,OAAO,cAAc;IACzB,GAAG,CAAS;IACZ,KAAK,CAAmC;CACzC","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n AnyCerfa2031Century,\n AnyCerfa2033Century,\n AnyCerfa2035Century,\n AnyCerfa2065Century,\n AnyCerfa2571Century,\n AnyCerfa2572Century,\n Cerfa2069RCI_2024,\n Cerfa2573_2024,\n Cerfa3519_2017,\n FieldForGeneration,\n PayloadCerfa3519_2017,\n QuestionWording,\n} from '../../..';\nimport { Question } from '../../../Enum/BalanceSheetQuestion';\nimport { TerminationType } from '../../../Enum/AnswerTypeValue';\nimport { Cerfa3310_2023 } from './3310';\nimport { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';\n\nexport type CerfaPayloadFormField = {\n label: string;\n key: string;\n type: 'text' | 'string' | 'number' | 'boolean' | 'date';\n visibleIf?: string;\n columns?: number;\n};\n\nexport class CerfaFormValue {\n key: string;\n value: string | number | boolean | null;\n}\n\nexport type CerfaPayloadForm = {\n sectionName: string;\n childrens: CerfaPayloadForm | CerfaPayloadFormField[];\n};\n\nexport type AnnexVatDocument = {\n shouldInclude: (data: Cerfa3310_2023) => boolean;\n name: string;\n century: string;\n payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>;\n asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>;\n fields: CerfaPayloadForm[];\n fileName: '3519-2017';\n};\n\nexport type VatDocument = {\n idCerfaType: CerfaType;\n name: string;\n century: string; // Millésime du formulaire ASPONE\n centuries: number[];\n payload: (...args: any[]) => any;\n asponePayload: (...args: any[]) => any;\n fields: Array<CerfaPayloadForm>;\n fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024' | '3517-2025' | '3310-2025';\n annex?: AnnexVatDocument;\n annexFields?: (data: any) => AsponeFormFields;\n};\n\nexport interface ReadCerfaToComplete {\n declaration: CerfaType;\n annex: CerfaType | null;\n}\nexport interface ReadCerfaDocument {\n file: any;\n payload: any;\n}\nexport interface Accountant {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface CouncilDetails {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface EcfDetails {\n has: boolean;\n name: string | null;\n address: CerfaAddress;\n}\nexport interface ViewerDetails {\n has: boolean;\n name: string;\n address: CerfaAddress;\n number: string | null;\n}\nexport interface CerfaAddress {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: {\n name: string | null;\n code: string | null;\n };\n full: string;\n}\n\nexport type CerfaAnswers = {\n [key in keyof typeof QuestionWording | keyof typeof Question]: any;\n};\n\nexport type Termination = {\n type: TerminationType;\n date: string | null;\n};\n\nexport type AsponeFormFields = Array<{ name: string; fields: FieldForGeneration[]; index?: number }>;\nexport type AsponeFormField = { name: string; fields: FieldForGeneration[] };\n\nexport interface RegistrationPayload {\n cerfa2573?: Cerfa2573_2024;\n cerfa2572?: AnyCerfa2572Century;\n cerfa2571?: AnyCerfa2571Century;\n cerfa2031?: AnyCerfa2031Century;\n cerfa2033?: AnyCerfa2033Century;\n cerfa2065?: AnyCerfa2065Century;\n cerfa2035?: AnyCerfa2035Century;\n cerfa2069RCI?: Cerfa2069RCI_2024;\n}\n\nexport type ReadFormFile = {\n name: string;\n idFile: number;\n size: number;\n token: string;\n id?: number;\n Location: string;\n ETag: string;\n Bucket: string;\n Key?: string;\n mimeType?: string;\n};\n\nexport interface ReadFormGeneration {\n file: ReadFormFile;\n payload: RegistrationPayload;\n}\n"]}
1
+ {"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AA8BA,MAAM,OAAO,cAAc;IACzB,GAAG,CAAS;IACZ,KAAK,CAAmC;CACzC","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n AnyCerfa2031Century,\n AnyCerfa2033Century,\n AnyCerfa2050Century,\n AnyCerfa2035Century,\n AnyCerfa2065Century,\n AnyCerfa2571Century,\n AnyCerfa2572Century,\n Cerfa2069RCI_2024,\n Cerfa2573_2024,\n Cerfa3519_2017,\n FieldForGeneration,\n PayloadCerfa3519_2017,\n QuestionWording,\n} from '../../..';\nimport { Question } from '../../../Enum/BalanceSheetQuestion';\nimport { TerminationType } from '../../../Enum/AnswerTypeValue';\nimport { Cerfa3310_2023 } from './3310';\nimport { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';\n\nexport type CerfaPayloadFormField = {\n label: string;\n key: string;\n type: 'text' | 'string' | 'number' | 'boolean' | 'date';\n visibleIf?: string;\n columns?: number;\n};\n\nexport class CerfaFormValue {\n key: string;\n value: string | number | boolean | null;\n}\n\nexport type CerfaPayloadForm = {\n sectionName: string;\n childrens: CerfaPayloadForm | CerfaPayloadFormField[];\n};\n\nexport type AnnexVatDocument = {\n shouldInclude: (data: Cerfa3310_2023) => boolean;\n name: string;\n century: string;\n payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>;\n asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>;\n fields: CerfaPayloadForm[];\n fileName: '3519-2017';\n};\n\nexport type VatDocument = {\n idCerfaType: CerfaType;\n name: string;\n century: string; // Millésime du formulaire ASPONE\n centuries: number[];\n payload: (...args: any[]) => any;\n asponePayload: (...args: any[]) => any;\n fields: Array<CerfaPayloadForm>;\n fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024' | '3517-2025' | '3310-2025';\n annex?: AnnexVatDocument;\n annexFields?: (data: any) => AsponeFormFields;\n};\n\nexport interface ReadCerfaToComplete {\n declaration: CerfaType;\n annex: CerfaType | null;\n}\nexport interface ReadCerfaDocument {\n file: any;\n payload: any;\n}\nexport interface Accountant {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface CouncilDetails {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface EcfDetails {\n has: boolean;\n name: string | null;\n address: CerfaAddress;\n}\nexport interface ViewerDetails {\n has: boolean;\n name: string;\n address: CerfaAddress;\n number: string | null;\n}\nexport interface CerfaAddress {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: {\n name: string | null;\n code: string | null;\n };\n full: string;\n}\n\nexport type CerfaAnswers = {\n [key in keyof typeof QuestionWording | keyof typeof Question]: any;\n};\n\nexport type Termination = {\n type: TerminationType;\n date: string | null;\n};\n\nexport type AsponeFormFields = Array<{\n name: string;\n /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */\n nilKey?: string;\n fields: FieldForGeneration[];\n index?: number;\n}>;\nexport type AsponeFormField = {\n name: string;\n /** Système dynamique de remplissage néant si aucun champ du formulaire n'est rempli */\n nilKey?: string;\n fields: FieldForGeneration[];\n};\n\nexport interface RegistrationPayload {\n cerfa2573?: Cerfa2573_2024;\n cerfa2572?: AnyCerfa2572Century;\n cerfa2571?: AnyCerfa2571Century;\n cerfa2031?: AnyCerfa2031Century;\n cerfa2033?: AnyCerfa2033Century;\n cerfa2050?: AnyCerfa2050Century;\n cerfa2065?: AnyCerfa2065Century;\n cerfa2035?: AnyCerfa2035Century;\n cerfa2069RCI?: Cerfa2069RCI_2024;\n}\n\nexport type ReadFormFile = {\n name: string;\n idFile: number;\n size: number;\n token: string;\n id?: number;\n Location: string;\n ETag: string;\n Bucket: string;\n Key?: string;\n mimeType?: string;\n};\n\nexport interface ReadFormGeneration {\n file: ReadFormFile;\n payload: RegistrationPayload;\n}\n\nexport interface ReadAnnexFormGeneration {\n file?: ReadFormFile;\n payload: RegistrationPayload;\n}\n"]}
@@ -50,6 +50,9 @@ export declare class QueryGetAllBlockingIssues {
50
50
  export declare class QueryGetToComplete {
51
51
  idSociety: number;
52
52
  }
53
+ export declare class QueryChecklistQuestions {
54
+ idExercice: number;
55
+ }
53
56
  export declare class QueryChecklistUpdate {
54
57
  force?: boolean;
55
58
  }
@@ -57,4 +60,7 @@ export declare class QueryGenerateAdvice {
57
60
  idSociety: number;
58
61
  idExercice: number;
59
62
  }
63
+ export declare class SendAskDocumentsOptions {
64
+ addAdviceNote?: boolean;
65
+ }
60
66
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Query.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CACzB"}
@@ -215,6 +215,15 @@ __decorate([
215
215
  IsPositive(),
216
216
  __metadata("design:type", Number)
217
217
  ], QueryGetToComplete.prototype, "idSociety", void 0);
218
+ export class QueryChecklistQuestions {
219
+ idExercice;
220
+ }
221
+ __decorate([
222
+ ApiProperty(),
223
+ IsNumber(),
224
+ IsPositive(),
225
+ __metadata("design:type", Number)
226
+ ], QueryChecklistQuestions.prototype, "idExercice", void 0);
218
227
  export class QueryChecklistUpdate {
219
228
  force;
220
229
  }
@@ -239,4 +248,14 @@ __decorate([
239
248
  IsInt(),
240
249
  __metadata("design:type", Number)
241
250
  ], QueryGenerateAdvice.prototype, "idExercice", void 0);
251
+ export class SendAskDocumentsOptions {
252
+ addAdviceNote;
253
+ }
254
+ __decorate([
255
+ ApiPropertyOptional(),
256
+ IsOptional(),
257
+ IsBoolean(),
258
+ ToBoolean(),
259
+ __metadata("design:type", Boolean)
260
+ ], SendAskDocumentsOptions.prototype, "addAdviceNote", void 0);
242
261
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,SAAS,EACT,MAAM,EACN,YAAY,EACZ,MAAM,EACN,KAAK,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACV,QAAQ,GACT,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,OAAO,oBAAoB;IAI/B,SAAS,CAAS;IAKlB,OAAO,CAAU;IAKjB,OAAO,CAAU;IAMjB,WAAW,CAAW;CACvB;AAjBC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DACD;AAG3B,MAAM,OAAO,yBAAyB;IACpC,aAAa,CAAmB;IAChC,OAAO,CAAqB;CAC7B;AAED,MAAM,OAAO,kBAAkB;IAI7B,SAAS,CAAS;CACnB;AADC;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACK;AAGpB,MAAM,OAAO,oBAAoB;IAK/B,KAAK,CAAW;CACjB;AADC;IAJC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;mDACG;AAGlB,MAAM,OAAO,mBAAmB;IAG9B,SAAS,CAAS;IAIlB,UAAU,CAAS;CACpB;AALC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;sDACU;AAIlB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;uDACW","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate,\n IsDateString,\n IsEnum,\n IsInt,\n IsNumber,\n IsOptional,\n IsPositive,\n IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { ChecklistTypeEnum } from '../../../Enum/ChecklistType';\nimport { IChecklistDetail } from '../../models/IChecklistDetail';\nimport { IChecklistType } from '../../models/IChecklistType';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryGetAllDeadlines {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional({ description: 'Retrieve deadlines by exercices date' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n byExercices?: boolean;\n}\n\nexport class QueryChecklistStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryChecklistWallet extends RequiredQueryPaginate {\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idVatRegimes?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n revisionRange?: { min: number; max: number };\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n state: 'todo' | 'inProgress' | 'done';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldRetrieveRevision: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyChecklistPossible: boolean;\n}\n\nexport class QueryChecklistGetPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n vatRegime?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n takePriority?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n state?: number;\n\n @ApiProperty()\n @IsDate()\n closingDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n minimalTurnover?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n maximalTurnover?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idComptaType?: number[];\n}\n\nexport class QueryChecklistGetStats {\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiProperty()\n @IsDate()\n closingDate: Date;\n}\n\nexport class QueryGetAllQuestions {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ChecklistTypeEnum)\n type?: ChecklistTypeEnum;\n}\n\nexport class QueryGetAllBlockingIssues {\n questionsList: IChecklistType[];\n answers: IChecklistDetail[];\n}\n\nexport class QueryGetToComplete {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idSociety: number;\n}\n\nexport class QueryChecklistUpdate {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n force?: boolean;\n}\n\nexport class QueryGenerateAdvice {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idExercice: number;\n}\n"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,SAAS,EACT,MAAM,EACN,YAAY,EACZ,MAAM,EACN,KAAK,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACV,QAAQ,GACT,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,OAAO,oBAAoB;IAI/B,SAAS,CAAS;IAKlB,OAAO,CAAU;IAKjB,OAAO,CAAU;IAMjB,WAAW,CAAW;CACvB;AAjBC;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACK;AAKlB;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;qDACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;qDACI;AAMjB;IAJC,mBAAmB,CAAC,EAAE,WAAW,EAAE,sCAAsC,EAAE,CAAC;IAC5E,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;yDACS;AAGxB,MAAM,OAAO,uBAAuB;IAGlC,IAAI,CAAS;IAKb,MAAM,CAAS;CAChB;AANC;IAFC,WA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AS,EAAE;IACX,UAAU,EAAE;;mDACG;AAGlB,MAAM,OAAO,mBAAmB;IAG9B,SAAS,CAAS;IAIlB,UAAU,CAAS;CACpB;AALC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;sDACU;AAIlB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;uDACW;AAGrB,MAAM,OAAO,uBAAuB;IAKlC,aAAa,CAAW;CACzB;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;8DACY","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate,\n IsDateString,\n IsEnum,\n IsInt,\n IsNumber,\n IsOptional,\n IsPositive,\n IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { ChecklistTypeEnum } from '../../../Enum/ChecklistType';\nimport { IChecklistDetail } from '../../models/IChecklistDetail';\nimport { IChecklistType } from '../../models/IChecklistType';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryGetAllDeadlines {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional({ description: 'Retrieve deadlines by exercices date' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n byExercices?: boolean;\n}\n\nexport class QueryChecklistStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryChecklistWallet extends RequiredQueryPaginate {\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idVatRegimes?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n revisionRange?: { min: number; max: number };\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n state: 'todo' | 'inProgress' | 'done';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldRetrieveRevision: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyChecklistPossible: boolean;\n}\n\nexport class QueryChecklistGetPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n vatRegime?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n takePriority?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n state?: number;\n\n @ApiProperty()\n @IsDate()\n closingDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n minimalTurnover?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n maximalTurnover?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idComptaType?: number[];\n}\n\nexport class QueryChecklistGetStats {\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiProperty()\n @IsDate()\n closingDate: Date;\n}\n\nexport class QueryGetAllQuestions {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ChecklistTypeEnum)\n type?: ChecklistTypeEnum;\n}\n\nexport class QueryGetAllBlockingIssues {\n questionsList: IChecklistType[];\n answers: IChecklistDetail[];\n}\n\nexport class QueryGetToComplete {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idSociety: number;\n}\n\nexport class QueryChecklistQuestions {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idExercice: number;\n}\n\nexport class QueryChecklistUpdate {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n force?: boolean;\n}\n\nexport class QueryGenerateAdvice {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idExercice: number;\n}\n\nexport class SendAskDocumentsOptions {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n addAdviceNote?: boolean;\n}\n"]}
@@ -1,6 +1,16 @@
1
- import { ChecklistDetailValue } from '../../../Enum/ChecklistType';
1
+ import { ChecklistDetailValue, ChecklistTypeEnum } from '../../../Enum/ChecklistType';
2
+ import { IChecklist } from '../../models/IChecklist';
2
3
  export declare class UpdateAnswer {
3
4
  name: string;
4
5
  value: ChecklistDetailValue;
5
6
  }
7
+ export declare class UpdateChecklist implements Partial<IChecklist> {
8
+ revisionDate?: Date;
9
+ idUserWhoValidate?: number;
10
+ validateDate?: Date;
11
+ idUserFront?: number;
12
+ isConfirmed?: boolean;
13
+ type?: ChecklistTypeEnum;
14
+ force?: boolean;
15
+ }
6
16
  //# sourceMappingURL=Update.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,qBAAa,YAAY;IAGvB,IAAI,EAAE,MAAM,CAAC;IAIb,KAAK,EAAE,oBAAoB,CAAC;CAC7B"}
1
+ {"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGrD,qBAAa,YAAY;IAGvB,IAAI,EAAE,MAAM,CAAC;IAIb,KAAK,EAAE,oBAAoB,CAAC;CAC7B;AAED,qBAAa,eAAgB,YAAW,OAAO,CAAC,UAAU,CAAC;IAIzD,YAAY,CAAC,EAAE,IAAI,CAAC;IAKpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,YAAY,CAAC,EAAE,IAAI,CAAC;IAKpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,WAAW,CAAC,EAAE,OAAO,CAAC;IAKtB,IAAI,CAAC,EAAE,iBAAiB,CAAC;IAMzB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
@@ -7,9 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsEnum, IsString } from 'class-validator';
11
- import { ApiProperty } from '../../../../utils';
12
- import { ChecklistDetailValue } from '../../../Enum/ChecklistType';
10
+ import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
+ import { ChecklistDetailValue, ChecklistTypeEnum } from '../../../Enum/ChecklistType';
13
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
14
  export class UpdateAnswer {
14
15
  name;
15
16
  value;
@@ -24,4 +25,57 @@ __decorate([
24
25
  IsEnum(ChecklistDetailValue),
25
26
  __metadata("design:type", Number)
26
27
  ], UpdateAnswer.prototype, "value", void 0);
28
+ export class UpdateChecklist {
29
+ revisionDate;
30
+ idUserWhoValidate;
31
+ validateDate;
32
+ idUserFront;
33
+ isConfirmed;
34
+ type;
35
+ force;
36
+ }
37
+ __decorate([
38
+ ApiPropertyOptional(),
39
+ IsOptional(),
40
+ IsDate(),
41
+ __metadata("design:type", Date)
42
+ ], UpdateChecklist.prototype, "revisionDate", void 0);
43
+ __decorate([
44
+ ApiPropertyOptional(),
45
+ IsOptional(),
46
+ IsInt(),
47
+ __metadata("design:type", Number)
48
+ ], UpdateChecklist.prototype, "idUserWhoValidate", void 0);
49
+ __decorate([
50
+ ApiPropertyOptional(),
51
+ IsOptional(),
52
+ IsDate(),
53
+ __metadata("design:type", Date)
54
+ ], UpdateChecklist.prototype, "validateDate", void 0);
55
+ __decorate([
56
+ ApiProperty(),
57
+ IsOptional(),
58
+ IsInt(),
59
+ __metadata("design:type", Number)
60
+ ], UpdateChecklist.prototype, "idUserFront", void 0);
61
+ __decorate([
62
+ ApiProperty(),
63
+ IsOptional(),
64
+ IsBoolean(),
65
+ ToBoolean(),
66
+ __metadata("design:type", Boolean)
67
+ ], UpdateChecklist.prototype, "isConfirmed", void 0);
68
+ __decorate([
69
+ ApiPropertyOptional(),
70
+ IsOptional(),
71
+ IsEnum(ChecklistTypeEnum),
72
+ __metadata("design:type", Number)
73
+ ], UpdateChecklist.prototype, "type", void 0);
74
+ __decorate([
75
+ ApiPropertyOptional(),
76
+ IsOptional(),
77
+ IsBoolean(),
78
+ ToBoolean(),
79
+ __metadata("design:type", Boolean)
80
+ ], UpdateChecklist.prototype, "force", void 0);
27
81
  //# sourceMappingURL=Update.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Update.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,OAAO,YAAY;IAGvB,IAAI,CAAS;IAIb,KAAK,CAAuB;CAC7B;AALC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0CACE;AAIb;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;2CACD","sourcesContent":["import { IsEnum, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { ChecklistDetailValue } from '../../../Enum/ChecklistType';\n\nexport class UpdateAnswer {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsEnum(ChecklistDetailValue)\n value: ChecklistDetailValue;\n}\n"]}
1
+ {"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Update.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEtF,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,YAAY;IAGvB,IAAI,CAAS;IAIb,KAAK,CAAuB;CAC7B;AALC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0CACE;AAIb;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,oBAAoB,CAAC;;2CACD;AAG9B,MAAM,OAAO,eAAe;IAI1B,YAAY,CAAQ;IAKpB,iBAAiB,CAAU;IAK3B,YAAY,CAAQ;IAKpB,WAAW,CAAU;IAMrB,WAAW,CAAW;IAKtB,IAAI,CAAqB;IAMzB,KAAK,CAAW;CACjB;AAjCC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACM,IAAI;qDAAC;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0DACmB;AAK3B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACM,IAAI;qDAAC;AAKpB;IAHC,WAAW,EAAE;IACb,UAAU,EAAE;IACZ,KAAK,EAAE;;oDACa;AAMrB;IAJC,WAAW,EAAE;IACb,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;oDACU;AAKtB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,iBAAiB,CAAC;;6CACD;AAMzB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;8CACI","sourcesContent":["import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ChecklistDetailValue, ChecklistTypeEnum } from '../../../Enum/ChecklistType';\nimport { IChecklist } from '../../models/IChecklist';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateAnswer {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsEnum(ChecklistDetailValue)\n value: ChecklistDetailValue;\n}\n\nexport class UpdateChecklist implements Partial<IChecklist> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n revisionDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoValidate?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n validateDate?: Date;\n\n @ApiProperty()\n @IsOptional()\n @IsInt()\n idUserFront?: number;\n\n @ApiProperty()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isConfirmed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ChecklistTypeEnum)\n type?: ChecklistTypeEnum;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n force?: boolean;\n}\n"]}
@@ -2,7 +2,7 @@ import { OptionalQueryPaginate } from '../BasePaginate';
2
2
  export declare class QueryPaginatedSocietyWithStatsCa extends OptionalQueryPaginate {
3
3
  search?: string;
4
4
  isInCA?: boolean;
5
- isAdditionalSales?: boolean;
5
+ isAdditionalSales?: number;
6
6
  day?: number;
7
7
  month?: number;
8
8
  year?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedSocietyWithStatsCa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,gCAAiC,SAAQ,qBAAqB;IAIzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAK5B,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAK5B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAKvB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAKnB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAM/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAM1B,cAAc,CAAC,EAAE,OAAO,CAAC;IAKzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"QueryPaginatedSocietyWithStatsCa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,gCAAiC,SAAQ,qBAAqB;IAIzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAK5B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAKvB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAKnB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAM/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAM1B,cAAc,CAAC,EAAE,OAAO,CAAC;IAKzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -44,9 +44,8 @@ __decorate([
44
44
  __decorate([
45
45
  ApiPropertyOptional(),
46
46
  IsOptional(),
47
- IsBoolean(),
48
- ToBoolean(),
49
- __metadata("design:type", Boolean)
47
+ IsInt(),
48
+ __metadata("design:type", Number)
50
49
  ], QueryPaginatedSocietyWithStatsCa.prototype, "isAdditionalSales", void 0);
51
50
  __decorate([
52
51
  ApiPropertyOptional(),
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaginatedSocietyWithStatsCa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,OAAO,gCAAiC,SAAQ,qBAAqB;IAIzE,MAAM,CAAU;IAMhB,MAAM,CAAW;IAMjB,iBAAiB,CAAW;IAK5B,GAAG,CAAU;IAKb,KAAK,CAAU;IAKf,IAAI,CAAU;IAKd,MAAM,CAAU;IAKhB,QAAQ,CAAU;IAKlB,gBAA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SAAS,EAAE;;yEACc;AAM1B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wEACa;AAKzB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;qEACa","sourcesContent":["import { IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { OptionalQueryPaginate } from '../BasePaginate';\n\nexport class QueryPaginatedSocietyWithStatsCa extends OptionalQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isInCA?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isAdditionalSales?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n day?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSource?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idPrestationList?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idOfferList?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idState?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idConstitutionState?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n goToFacturation?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n goToOnboarding?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTypeBrand?: number;\n}\n"]}
1
+ {"version":3,"file":"QueryPaginatedSocietyWithStatsCa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,OAAO,gCAAiC,SAAQ,qBAAqB;IAIzE,MAAM,CAAU;IAMhB,MAAM,CAAW;IAKjB,iBAAiB,CAAU;IAK3B,GAAG,CAAU;IAKb,KAAK,CAAU;IAKf,IAAI,CAAU;IAKd,MAAM,CAAU;IAKhB,QAAQ,CAAU;IAKlB,gBAAgB,CAAY;IAK5B,WAAW,CAAY;IAKvB,OAAO,CAAY;IAKnB,mBAAmB,CAAY;IAM/B,eAAe,CAAW;IAM1B,cAAc,CAAW;IAKzB,WAAW,CAAU;CACtB;AA1EC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gEACK;AAMhB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;gEACK;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2EACmB;AAK3B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6DACK;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACO;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8DACM;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;gEACQ;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kEACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;0EACM;AAK5B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qEACC;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iEACH;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6EACS;AAM/B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;yEACc;AAM1B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wEACa;AAKzB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;qEACa","sourcesContent":["import { IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { OptionalQueryPaginate } from '../BasePaginate';\n\nexport class QueryPaginatedSocietyWithStatsCa extends OptionalQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isInCA?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n isAdditionalSales?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n day?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSource?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idPrestationList?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idOfferList?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idState?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idConstitutionState?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n goToFacturation?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n goToOnboarding?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTypeBrand?: number;\n}\n"]}
@@ -20,5 +20,6 @@ export interface RequiredDocsType {
20
20
  isConsultingHour?: boolean;
21
21
  goToClient?: Date;
22
22
  isOnlySoftware?: boolean;
23
+ keepAllStatut?: boolean;
23
24
  }
24
25
  //# sourceMappingURL=RequiredDocsTypeParams.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequiredDocsTypeParams.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,kBAAkB,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IACpG,aAAa,CAA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,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"RequiredDocsTypeParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"","sourcesContent":["import { IBusinessPartner } from '../../models/IBusinessPartner';\nimport { IGedFile } from '../../models/IGedFile';\n\nexport interface RequiredDocsType {\n society: { idLegalForm?: number; id?: number; totalSharesHeld?: number; dateOfRegistration?: Date };\n oldExpertInfo?: { dontHaveOldExpert?: boolean; recoveryDate?: Date };\n _gedFile: IGedFile[];\n isOnlyPrevi?: boolean;\n isOnlyJuridic?: boolean;\n isOnlySocial?: boolean;\n listBusinessPartners?: IBusinessPartner[];\n isCreation?: boolean;\n isConsultingHour?: boolean;\n goToClient?: Date;\n isOnlySoftware?: boolean;\n}\n"]}
1
+ {"version":3,"file":"RequiredDocsTypeParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"","sourcesContent":["import { IBusinessPartner } from '../../models/IBusinessPartner';\nimport { IGedFile } from '../../models/IGedFile';\n\nexport interface RequiredDocsType {\n society: { idLegalForm?: number; id?: number; totalSharesHeld?: number; dateOfRegistration?: Date };\n oldExpertInfo?: { dontHaveOldExpert?: boolean; recoveryDate?: Date };\n _gedFile: IGedFile[];\n isOnlyPrevi?: boolean;\n isOnlyJuridic?: boolean;\n isOnlySocial?: boolean;\n listBusinessPartners?: IBusinessPartner[];\n isCreation?: boolean;\n isConsultingHour?: boolean;\n goToClient?: Date;\n isOnlySoftware?: boolean;\n keepAllStatut?: boolean;\n}\n"]}
@@ -66,4 +66,8 @@ export declare class QueryRecentActivity {
66
66
  limit?: number;
67
67
  search?: string;
68
68
  }
69
+ export declare class QueryRecurrenceRevenueStatistics {
70
+ startDate: string;
71
+ endDate: string;
72
+ }
69
73
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,qBAAa,YAAY;IAIvB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,aAAa,CAAC;IAKvB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,UAAU,CAAC,EAAE,OAAO,CAAC;IAMrB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE;QACL,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,aAAa,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,qBAAa,sBAAsB;IAGjC,qBAAqB,EAAE,mBAAmB,CAAC;IAI3C,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,qBAAa,kBAAkB;IAE7B,qBAAqB,EAAE,mBAAmB,CAAC;IAM3C,OAAO,CAAC,EAAE,OAAO,C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;IAKjB,MAAM,CAAC,EAAE,cAAc,CAAC;IAKxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,YAAY,CAAC,EAAE,OAAO,CAAC;IAKvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,OAAO,CAAC,EAAE,OAAO,CAAC;IAKlB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,kBAAkB;IAI7B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,qBAAa,sCAAsC;IAIjD,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,SAAS,EAAE,MAAM,CAAC;IAIlB,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B;AAED,qBAAa,mBAAmB;IAK9B,IAAI,CAAC,EAAE,MAAM,CAAC;IAMd,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,gCAAgC;IAG3C,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -251,4 +251,18 @@ __decorate([
251
251
  IsString(),
252
252
  __metadata("design:type", String)
253
253
  ], QueryRecentActivity.prototype, "search", void 0);
254
+ export class QueryRecurrenceRevenueStatistics {
255
+ startDate;
256
+ endDate;
257
+ }
258
+ __decorate([
259
+ ApiProperty(),
260
+ IsDateString(),
261
+ __metadata("design:type", String)
262
+ ], QueryRecurrenceRevenueStatistics.prototype, "startDate", void 0);
263
+ __decorate([
264
+ ApiProperty(),
265
+ IsDateString(),
266
+ __metadata("design:type", String)
267
+ ], QueryRecurrenceRevenueStatistics.prototype, "endDate", void 0);
254
268
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":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,QAAQ,EAAE;;4DACW;AAGxB,MAAM,OAAO,kBAAkB;IAI7B,OAAO,CAAU;IAKjB,OAAO,CAAU;IAKjB,MAAM,CAAU;IAMhB,OAAO,CAAW;CACnB;AAjBC;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;mDACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;mDACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACK;AAMhB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;mDACK;AAGpB,MAAM,OAAO,sCAAsC;IAIjD,SAAS,CAAU;IAKnB,OAAO,CAAU;IAIjB,SAAS,CAAS;IAIlB,KAAK,CAAwB;CAC9B;AAdC;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;yEACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;uEACE;AAIjB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;yEACU;AAIlB;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;;qEACmB;AAG/B,MAAM,OAAO,mBAAmB;IAK9B,IAAI,CAAU;IAMd,KAAK,CAAU;IAKf,MAAM,CAAU;CACjB;AAZC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;iDACO;AAMd;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;kDACQ;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACK","sourcesContent":["import { IsArray, IsBoolean, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { Order } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { DiscountType, EstimateStatus, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { QueryPaginate } from '../BasePaginate';\n\nexport class QueryInvoice {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: InvoiceStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n toAnnotate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDescending?: boolean;\n}\n\nexport interface ParamPaginatedInvoices {\n idSociety: number;\n date?: {\n gte?: string;\n lte?: string;\n };\n status?: InvoiceStatus;\n search?: string;\n pagination: QueryPaginate;\n toAnnotate?: boolean;\n order?: Order;\n}\n\nexport class QueryGetDefaultPayload {\n @ApiProperty()\n @IsNumber()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiPropertyOptional()\n @IsOptional()\n idSaleDocumentTemplate?: number | null;\n}\n\nexport class QueryNextReference {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport interface Discount {\n type: DiscountType;\n amount: number;\n}\n\nexport class QueryPreviewDocument {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class QueryDocumentPaginated {\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: EstimateStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idThirdParty?: number;\n}\n\nexport class QueryCountByStatus {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport class QueryExportCommercialManagementIntoCSV {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n}\n\nexport class QueryRecentActivity {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n limit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n}\n"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,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AAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;mDACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;mDACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACK;AAMhB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;mDACK;AAGpB,MAAM,OAAO,sCAAsC;IAIjD,SAAS,CAAU;IAKnB,OAAO,CAAU;IAIjB,SAAS,CAAS;IAIlB,KAAK,CAAwB;CAC9B;AAdC;IAHC,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;yEACM;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;uEACE;AAIjB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;yEACU;AAIlB;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;;qEACmB;AAG/B,MAAM,OAAO,mBAAmB;IAK9B,IAAI,CAAU;IAMd,KAAK,CAAU;IAKf,MAAM,CAAU;CACjB;AAZC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;iDACO;AAMd;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;kDACQ;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACK;AAGlB,MAAM,OAAO,gCAAgC;IAG3C,SAAS,CAAS;IAIlB,OAAO,CAAS;CACjB;AALC;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;mEACG;AAIlB;IAFC,WAAW,EAAE;IACb,YAAY,EAAE;;iEACC","sourcesContent":["import { IsArray, IsBoolean, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { Order } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { DiscountType, EstimateStatus, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { QueryPaginate } from '../BasePaginate';\n\nexport class QueryInvoice {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: InvoiceStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n toAnnotate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDescending?: boolean;\n}\n\nexport interface ParamPaginatedInvoices {\n idSociety: number;\n date?: {\n gte?: string;\n lte?: string;\n };\n status?: InvoiceStatus;\n search?: string;\n pagination: QueryPaginate;\n toAnnotate?: boolean;\n order?: Order;\n}\n\nexport class QueryGetDefaultPayload {\n @ApiProperty()\n @IsNumber()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiPropertyOptional()\n @IsOptional()\n idSaleDocumentTemplate?: number | null;\n}\n\nexport class QueryNextReference {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport interface Discount {\n type: DiscountType;\n amount: number;\n}\n\nexport class QueryPreviewDocument {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class QueryDocumentPaginated {\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: EstimateStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idThirdParty?: number;\n}\n\nexport class QueryCountByStatus {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport class QueryExportCommercialManagementIntoCSV {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endDate?: string;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n}\n\nexport class QueryRecentActivity {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n limit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n}\n\nexport class QueryRecurrenceRevenueStatistics {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n}\n"]}
@@ -106,5 +106,16 @@ export type ReadRecentActivity = {
106
106
  updatedAt: string;
107
107
  item?: IEstimateInvoice | IProductInvoice | IThirdParty;
108
108
  };
109
+ export type ReadStatisticRecurrentRevenue = {
110
+ period: string;
111
+ done: {
112
+ totalTaxExcluded: number;
113
+ totalTaxIncluded: number;
114
+ };
115
+ projection: {
116
+ totalTaxExcluded: number;
117
+ totalTaxIncluded: number;
118
+ } | null;
119
+ };
109
120
  export {};
110
121
  //# sourceMappingURL=Read.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,kCAAkC,EAAE,MAAM,kDAAkD,CAAC;AACtG,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kEAAkE,CAAC;AAC/G,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAE5D,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAAC;AAE7E,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpE,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG;IACjD,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;I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Management/Read.ts"],"names":[],"mappings":"","sourcesContent":["import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { IAccountingFile } from '../../models/IAccountingFile';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction';\nimport { CommercialDocumentInputs } from './Create';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice';\nimport { EstimateStatus, FontIds, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { IThirdParty } from '../../models/IThirdParty';\nimport { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type';\nimport { ISaleEmail } from '../../models/ISaleEmail';\n\nexport type ReadCashBasedInvoice = Partial<IAccountingFile>;\n\nexport type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;\n\nexport type ReadEstimateInvoice = IEstimateInvoice & { id: number };\n\nexport type ReadProductEditing = IProductInvoice & {\n totalTaxExcluded: number;\n unitFormatted: string;\n vatFormatted: string;\n discountFormatted: string | null;\n discountTypeFormatted: string | null;\n priceTaxExcludedFormatted: string | null;\n totalTaxExcludedFormatted: string | null;\n marginVatFormatted: string | null;\n};\n\nexport type ReadThirdPartyEditing = IThirdParty & {\n deliveryCountry: string | null;\n country: string | null;\n};\n\nexport type ReadVatEditing = {\n id: number;\n name: string;\n amount: number;\n value: number;\n baseFormatted: string;\n amountFormatted: string;\n toPay: number;\n base: number;\n};\n\nexport type ReadPreview = { idFile: number };\n\nexport type ReadDocumentEditing = CommercialDocumentInputs & {\n title?: string | null;\n idEstimateInvoiceType: EstimateInvoiceType;\n phoneContact: string | null;\n dueDateFormatted: string | null;\n expirationDateFormatted: string | null;\n capitalFormatted: string | null;\n depositFormatted: string | null;\n emissionDateFormatted: string | null;\n products: ReadProductEditing[];\n vats: ReadVatEditing[];\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n totalTaxAndDiscountIncluded: number;\n generalDiscountFormatted: string | null;\n totalTaxExcludedFormatted: string;\n totalTaxIncludedFormatted: string;\n totalTaxAndDiscountIncludedFormatted: string;\n totalVatAmountFormatted: string;\n font: {\n id: FontIds;\n name: string;\n url: string;\n };\n shouldDisplayDiscountColumn: boolean;\n paymentLink?: string;\n marginVats: string[];\n accountingCategoryFormatted: string | null;\n languageTemplate: InternationalizationChoices;\n};\n\nexport type ReadCommercialDocumentTemplate = {\n header: string;\n body: string;\n footer: string;\n data: ReadDocumentEditing;\n};\n\nexport type ReadEstimateInvoiceStatus =\n | InvoiceStatus.PAID\n | InvoiceStatus.UNPAID\n | InvoiceStatus.CANCELED\n | InvoiceStatus.WAITING\n | EstimateStatus.REFUSED\n | EstimateStatus.BILLED\n | EstimateStatus.ACCEPTED\n | EstimateStatus.WAITING\n | EstimateStatus.EXPIRED;\n\ntype CountAndNumber = { count: number; amount: number };\n\nexport type ReadCountDocumentByStatus = {\n invoices: { paid: CountAndNumber; waiting: CountAndNumber; unpaid: CountAndNumber };\n preSales: { accepted: CountAndNumber; waiting: CountAndNumber; refused: CountAndNumber };\n};\n\nexport type ReadCommercialMailTemplate = {\n header: string;\n};\n\nexport type ReadSaleEmail = ISaleEmail & {\n defaultFromApplication: boolean;\n};\n\nexport type ReadRecentActivity = {\n id: number;\n type: 'estimate' | 'product' | 'tier';\n label: string;\n updatedAt: string;\n // i don't know if needed, it is in the type but not return from service for now\n item?: IEstimateInvoice | IProductInvoice | IThirdParty;\n};\n"]}
1
+ {"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Read.ts"],"names":[],"mappings":"","sourcesContent":["import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { IAccountingFile } from '../../models/IAccountingFile';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction';\nimport { CommercialDocumentInputs } from './Create';\nimport { IEstimateInvoice } from '../../models/IEstimateInvoice';\nimport { EstimateStatus, FontIds, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { IThirdParty } from '../../models/IThirdParty';\nimport { InternationalizationChoices } from '../../../../utils/commercialManagement/internationalization/type';\nimport { ISaleEmail } from '../../models/ISaleEmail';\n\nexport type ReadCashBasedInvoice = Partial<IAccountingFile>;\n\nexport type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;\n\nexport type ReadEstimateInvoice = IEstimateInvoice & { id: number };\n\nexport type ReadProductEditing = IProductInvoice & {\n totalTaxExcluded: number;\n unitFormatted: string;\n vatFormatted: string;\n discountFormatted: string | null;\n discountTypeFormatted: string | null;\n priceTaxExcludedFormatted: string | null;\n totalTaxExcludedFormatted: string | null;\n marginVatFormatted: string | null;\n};\n\nexport type ReadThirdPartyEditing = IThirdParty & {\n deliveryCountry: string | null;\n country: string | null;\n};\n\nexport type ReadVatEditing = {\n id: number;\n name: string;\n amount: number;\n value: number;\n baseFormatted: string;\n amountFormatted: string;\n toPay: number;\n base: number;\n};\n\nexport type ReadPreview = { idFile: number };\n\nexport type ReadDocumentEditing = CommercialDocumentInputs & {\n title?: string | null;\n idEstimateInvoiceType: EstimateInvoiceType;\n phoneContact: string | null;\n dueDateFormatted: string | null;\n expirationDateFormatted: string | null;\n capitalFormatted: string | null;\n depositFormatted: string | null;\n emissionDateFormatted: string | null;\n products: ReadProductEditing[];\n vats: ReadVatEditing[];\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n totalTaxAndDiscountIncluded: number;\n generalDiscountFormatted: string | null;\n totalTaxExcludedFormatted: string;\n totalTaxIncludedFormatted: string;\n totalTaxAndDiscountIncludedFormatted: string;\n totalVatAmountFormatted: string;\n font: {\n id: FontIds;\n name: string;\n url: string;\n };\n shouldDisplayDiscountColumn: boolean;\n paymentLink?: string;\n marginVats: string[];\n accountingCategoryFormatted: string | null;\n languageTemplate: InternationalizationChoices;\n};\n\nexport type ReadCommercialDocumentTemplate = {\n header: string;\n body: string;\n footer: string;\n data: ReadDocumentEditing;\n};\n\nexport type ReadEstimateInvoiceStatus =\n | InvoiceStatus.PAID\n | InvoiceStatus.UNPAID\n | InvoiceStatus.CANCELED\n | InvoiceStatus.WAITING\n | EstimateStatus.REFUSED\n | EstimateStatus.BILLED\n | EstimateStatus.ACCEPTED\n | EstimateStatus.WAITING\n | EstimateStatus.EXPIRED;\n\ntype CountAndNumber = { count: number; amount: number };\n\nexport type ReadCountDocumentByStatus = {\n invoices: { paid: CountAndNumber; waiting: CountAndNumber; unpaid: CountAndNumber };\n preSales: { accepted: CountAndNumber; waiting: CountAndNumber; refused: CountAndNumber };\n};\n\nexport type ReadCommercialMailTemplate = {\n header: string;\n};\n\nexport type ReadSaleEmail = ISaleEmail & {\n defaultFromApplication: boolean;\n};\n\nexport type ReadRecentActivity = {\n id: number;\n type: 'estimate' | 'product' | 'tier';\n label: string;\n updatedAt: string;\n // i don't know if needed, it is in the type but not return from service for now\n item?: IEstimateInvoice | IProductInvoice | IThirdParty;\n};\n\nexport type ReadStatisticRecurrentRevenue = {\n period: string;\n done: {\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n };\n projection: {\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n } | null;\n};\n"]}
@@ -52,7 +52,6 @@ export interface CompanyCreationFormPayload {
52
52
  additionalActivityAddress?: string;
53
53
  zipCodeActivity?: string;
54
54
  cityActivity?: string;
55
- wantToBeContactedForHeadOffice: boolean;
56
55
  /**
57
56
  * Calendrier
58
57
  */