@silexpert/core 1.3.192 → 1.3.193-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (419) hide show
  1. package/dist/cjs/api/resources/Checklist.d.ts +0 -6
  2. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Checklist.js +0 -6
  4. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  5. package/dist/cjs/api/resources/DocumentRequest.d.ts +1 -3
  6. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/DocumentRequest.js +0 -6
  8. package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
  9. package/dist/cjs/api/resources/InternalInvoicing.d.ts.map +1 -1
  10. package/dist/cjs/api/resources/InternalInvoicing.js +8 -0
  11. package/dist/cjs/api/resources/InternalInvoicing.js.map +1 -1
  12. package/dist/cjs/api/resources/Mfa.d.ts +0 -1
  13. package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
  14. package/dist/cjs/api/resources/Mfa.js +0 -4
  15. package/dist/cjs/api/resources/Mfa.js.map +1 -1
  16. package/dist/cjs/api/resources/Shine.d.ts +1 -2
  17. package/dist/cjs/api/resources/Shine.d.ts.map +1 -1
  18. package/dist/cjs/api/resources/Shine.js +0 -3
  19. package/dist/cjs/api/resources/Shine.js.map +1 -1
  20. package/dist/cjs/api/resources/Society.d.ts +1 -2
  21. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  22. package/dist/cjs/api/resources/Society.js +0 -3
  23. package/dist/cjs/api/resources/Society.js.map +1 -1
  24. package/dist/cjs/api/resources/User.d.ts +6 -1
  25. package/dist/cjs/api/resources/User.d.ts.map +1 -1
  26. package/dist/cjs/api/resources/User.js +15 -0
  27. package/dist/cjs/api/resources/User.js.map +1 -1
  28. package/dist/cjs/api/resources.d.ts +0 -4
  29. package/dist/cjs/api/resources.d.ts.map +1 -1
  30. package/dist/cjs/api/resources.js +0 -4
  31. package/dist/cjs/api/resources.js.map +1 -1
  32. package/dist/cjs/types/Enum/AdjustmentType.js +4 -4
  33. package/dist/cjs/types/Enum/AdjustmentType.js.map +1 -1
  34. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  35. package/dist/cjs/types/Enum/BalanceSheet.js +6 -6
  36. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  37. package/dist/cjs/types/Enum/BrandPourcentage.js +8 -8
  38. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  39. package/dist/cjs/types/Enum/Card.d.ts +1 -7
  40. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  41. package/dist/cjs/types/Enum/Card.js +1 -9
  42. package/dist/cjs/types/Enum/Card.js.map +1 -1
  43. package/dist/cjs/types/Enum/Consistency.d.ts +1 -1
  44. package/dist/cjs/types/Enum/Consistency.js +7 -7
  45. package/dist/cjs/types/Enum/Consistency.js.map +1 -1
  46. package/dist/cjs/types/Enum/DashboardBlock.d.ts +1 -2
  47. package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +1 -1
  48. package/dist/cjs/types/Enum/DashboardBlock.js +0 -1
  49. package/dist/cjs/types/Enum/DashboardBlock.js.map +1 -1
  50. package/dist/cjs/types/Enum/EntityType.d.ts +2 -2
  51. package/dist/cjs/types/Enum/EntityType.js +2 -2
  52. package/dist/cjs/types/Enum/EntityType.js.map +1 -1
  53. package/dist/cjs/types/Enum/Ged.d.ts +3 -9
  54. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  55. package/dist/cjs/types/Enum/Ged.js +56 -163
  56. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  57. package/dist/cjs/types/Enum/InformationRequestState.d.ts +1 -2
  58. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  59. package/dist/cjs/types/Enum/InformationRequestState.js +0 -1
  60. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  61. package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +1 -1
  62. package/dist/cjs/types/Enum/InformationRequestType.js +6 -12
  63. package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -1
  64. package/dist/cjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
  65. package/dist/cjs/types/Enum/KilometricAllowanceScale.js +0 -119
  66. package/dist/cjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
  67. package/dist/cjs/types/Enum/MailAuto.d.ts +1 -5
  68. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  69. package/dist/cjs/types/Enum/MailAuto.js +0 -4
  70. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  71. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  72. package/dist/cjs/types/Enum/PriceGridClementine.js +478 -482
  73. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  74. package/dist/cjs/types/Enum/Proceding.d.ts +0 -4
  75. package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
  76. package/dist/cjs/types/Enum/Proceding.js +0 -4
  77. package/dist/cjs/types/Enum/Proceding.js.map +1 -1
  78. package/dist/cjs/types/Enum/StatutsSection.d.ts +1 -7
  79. package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
  80. package/dist/cjs/types/Enum/StatutsSection.js +7 -15
  81. package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
  82. package/dist/cjs/types/Enum/Unit.d.ts +1 -2
  83. package/dist/cjs/types/Enum/Unit.d.ts.map +1 -1
  84. package/dist/cjs/types/Enum/Unit.js +0 -11
  85. package/dist/cjs/types/Enum/Unit.js.map +1 -1
  86. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  87. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  88. package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  89. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  90. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  91. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +1 -4
  92. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  93. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +0 -10
  94. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  95. package/dist/cjs/types/Interface/api/documentRequest/Query.js +1 -43
  96. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  97. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  98. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  99. package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  100. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +9 -10
  101. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
  102. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +15 -16
  103. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
  104. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +3 -0
  105. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
  106. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +14 -1
  107. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
  108. package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts +4 -0
  109. package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts.map +1 -0
  110. package/dist/cjs/types/Interface/api/shine/{Query.js → GetConnect.js} +2 -9
  111. package/dist/cjs/types/Interface/api/shine/GetConnect.js.map +1 -0
  112. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  113. package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  114. package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  115. package/dist/cjs/types/Interface/models/IUser.d.ts +0 -2
  116. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  117. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  118. package/dist/cjs/types/index.d.ts +1 -9
  119. package/dist/cjs/types/index.d.ts.map +1 -1
  120. package/dist/cjs/types/index.js +1 -9
  121. package/dist/cjs/types/index.js.map +1 -1
  122. package/dist/cjs/utils/checkup.d.ts +368 -12
  123. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  124. package/dist/cjs/utils/checkup.js +565 -342
  125. package/dist/cjs/utils/checkup.js.map +1 -1
  126. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  127. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +19 -21
  128. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  129. package/dist/cjs/utils/index.d.ts +0 -1
  130. package/dist/cjs/utils/index.d.ts.map +1 -1
  131. package/dist/cjs/utils/index.js +0 -1
  132. package/dist/cjs/utils/index.js.map +1 -1
  133. package/dist/cjs/utils/vat/centuries.js +2 -2
  134. package/dist/cjs/utils/vat/centuries.js.map +1 -1
  135. package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
  136. package/dist/cjs/utils/vat/utils.js +2 -5
  137. package/dist/cjs/utils/vat/utils.js.map +1 -1
  138. package/dist/mjs/api/resources/Checklist.d.ts +0 -6
  139. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  140. package/dist/mjs/api/resources/Checklist.js +0 -6
  141. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  142. package/dist/mjs/api/resources/DocumentRequest.d.ts +1 -3
  143. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
  144. package/dist/mjs/api/resources/DocumentRequest.js +0 -6
  145. package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
  146. package/dist/mjs/api/resources/InternalInvoicing.d.ts.map +1 -1
  147. package/dist/mjs/api/resources/InternalInvoicing.js +8 -0
  148. package/dist/mjs/api/resources/InternalInvoicing.js.map +1 -1
  149. package/dist/mjs/api/resources/Mfa.d.ts +0 -1
  150. package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
  151. package/dist/mjs/api/resources/Mfa.js +0 -4
  152. package/dist/mjs/api/resources/Mfa.js.map +1 -1
  153. package/dist/mjs/api/resources/Shine.d.ts +1 -2
  154. package/dist/mjs/api/resources/Shine.d.ts.map +1 -1
  155. package/dist/mjs/api/resources/Shine.js +0 -3
  156. package/dist/mjs/api/resources/Shine.js.map +1 -1
  157. package/dist/mjs/api/resources/Society.d.ts +1 -2
  158. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  159. package/dist/mjs/api/resources/Society.js +0 -3
  160. package/dist/mjs/api/resources/Society.js.map +1 -1
  161. package/dist/mjs/api/resources/User.d.ts +6 -1
  162. package/dist/mjs/api/resources/User.d.ts.map +1 -1
  163. package/dist/mjs/api/resources/User.js +15 -0
  164. package/dist/mjs/api/resources/User.js.map +1 -1
  165. package/dist/mjs/api/resources.d.ts +0 -4
  166. package/dist/mjs/api/resources.d.ts.map +1 -1
  167. package/dist/mjs/api/resources.js +0 -4
  168. package/dist/mjs/api/resources.js.map +1 -1
  169. package/dist/mjs/types/Enum/AdjustmentType.js +4 -4
  170. package/dist/mjs/types/Enum/AdjustmentType.js.map +1 -1
  171. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  172. package/dist/mjs/types/Enum/BalanceSheet.js +6 -6
  173. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  174. package/dist/mjs/types/Enum/BrandPourcentage.js +8 -8
  175. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  176. package/dist/mjs/types/Enum/Card.d.ts +1 -7
  177. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  178. package/dist/mjs/types/Enum/Card.js +1 -9
  179. package/dist/mjs/types/Enum/Card.js.map +1 -1
  180. package/dist/mjs/types/Enum/Consistency.d.ts +1 -1
  181. package/dist/mjs/types/Enum/Consistency.js +7 -7
  182. package/dist/mjs/types/Enum/Consistency.js.map +1 -1
  183. package/dist/mjs/types/Enum/DashboardBlock.d.ts +1 -2
  184. package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +1 -1
  185. package/dist/mjs/types/Enum/DashboardBlock.js +0 -1
  186. package/dist/mjs/types/Enum/DashboardBlock.js.map +1 -1
  187. package/dist/mjs/types/Enum/EntityType.d.ts +2 -2
  188. package/dist/mjs/types/Enum/EntityType.js +2 -2
  189. package/dist/mjs/types/Enum/EntityType.js.map +1 -1
  190. package/dist/mjs/types/Enum/Ged.d.ts +3 -9
  191. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  192. package/dist/mjs/types/Enum/Ged.js +56 -163
  193. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  194. package/dist/mjs/types/Enum/InformationRequestState.d.ts +1 -2
  195. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  196. package/dist/mjs/types/Enum/InformationRequestState.js +0 -1
  197. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  198. package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +1 -1
  199. package/dist/mjs/types/Enum/InformationRequestType.js +6 -12
  200. package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -1
  201. package/dist/mjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
  202. package/dist/mjs/types/Enum/KilometricAllowanceScale.js +0 -119
  203. package/dist/mjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
  204. package/dist/mjs/types/Enum/MailAuto.d.ts +1 -5
  205. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  206. package/dist/mjs/types/Enum/MailAuto.js +0 -4
  207. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  208. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  209. package/dist/mjs/types/Enum/PriceGridClementine.js +474 -486
  210. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  211. package/dist/mjs/types/Enum/Proceding.d.ts +0 -4
  212. package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
  213. package/dist/mjs/types/Enum/Proceding.js +0 -4
  214. package/dist/mjs/types/Enum/Proceding.js.map +1 -1
  215. package/dist/mjs/types/Enum/StatutsSection.d.ts +1 -7
  216. package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
  217. package/dist/mjs/types/Enum/StatutsSection.js +7 -15
  218. package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
  219. package/dist/mjs/types/Enum/Unit.d.ts +1 -2
  220. package/dist/mjs/types/Enum/Unit.d.ts.map +1 -1
  221. package/dist/mjs/types/Enum/Unit.js +0 -11
  222. package/dist/mjs/types/Enum/Unit.js.map +1 -1
  223. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
  224. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
  225. package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
  226. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +0 -17
  227. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  228. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +0 -7
  229. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  230. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +0 -10
  231. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  232. package/dist/mjs/types/Interface/api/documentRequest/Query.js +2 -48
  233. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  234. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
  235. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +0 -2
  236. package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
  237. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +9 -10
  238. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
  239. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +12 -13
  240. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
  241. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +3 -0
  242. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
  243. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +22 -2
  244. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
  245. package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts +4 -0
  246. package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts.map +1 -0
  247. package/dist/mjs/types/Interface/api/shine/{Query.js → GetConnect.js} +1 -8
  248. package/dist/mjs/types/Interface/api/shine/GetConnect.js.map +1 -0
  249. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +0 -2
  250. package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
  251. package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
  252. package/dist/mjs/types/Interface/models/IUser.d.ts +0 -2
  253. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  254. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  255. package/dist/mjs/types/index.d.ts +1 -9
  256. package/dist/mjs/types/index.d.ts.map +1 -1
  257. package/dist/mjs/types/index.js +1 -9
  258. package/dist/mjs/types/index.js.map +1 -1
  259. package/dist/mjs/utils/checkup.d.ts +368 -12
  260. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  261. package/dist/mjs/utils/checkup.js +566 -343
  262. package/dist/mjs/utils/checkup.js.map +1 -1
  263. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
  264. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +19 -21
  265. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  266. package/dist/mjs/utils/index.d.ts +0 -1
  267. package/dist/mjs/utils/index.d.ts.map +1 -1
  268. package/dist/mjs/utils/index.js +0 -1
  269. package/dist/mjs/utils/index.js.map +1 -1
  270. package/dist/mjs/utils/vat/centuries.js +2 -2
  271. package/dist/mjs/utils/vat/centuries.js.map +1 -1
  272. package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
  273. package/dist/mjs/utils/vat/utils.js +2 -5
  274. package/dist/mjs/utils/vat/utils.js.map +1 -1
  275. package/package.json +1 -1
  276. package/ts/api/resources/Checklist.ts +0 -6
  277. package/ts/api/resources/DocumentRequest.ts +1 -9
  278. package/ts/api/resources/InternalInvoicing.ts +8 -0
  279. package/ts/api/resources/Mfa.ts +0 -6
  280. package/ts/api/resources/Shine.ts +1 -11
  281. package/ts/api/resources/Society.ts +0 -5
  282. package/ts/api/resources/User.ts +23 -0
  283. package/ts/api/resources.ts +0 -4
  284. package/ts/types/Enum/AdjustmentType.ts +4 -4
  285. package/ts/types/Enum/BalanceSheet.ts +17 -17
  286. package/ts/types/Enum/BrandPourcentage.ts +8 -8
  287. package/ts/types/Enum/Card.ts +1 -9
  288. package/ts/types/Enum/Consistency.ts +7 -7
  289. package/ts/types/Enum/DashboardBlock.ts +0 -1
  290. package/ts/types/Enum/EntityType.ts +2 -2
  291. package/ts/types/Enum/Ged.ts +268 -386
  292. package/ts/types/Enum/InformationRequestState.ts +0 -1
  293. package/ts/types/Enum/InformationRequestType.ts +6 -12
  294. package/ts/types/Enum/KilometricAllowanceScale.ts +0 -119
  295. package/ts/types/Enum/MailAuto.ts +0 -4
  296. package/ts/types/Enum/PriceGridClementine.ts +474 -487
  297. package/ts/types/Enum/Proceding.ts +0 -4
  298. package/ts/types/Enum/StatutsSection.ts +7 -15
  299. package/ts/types/Enum/Unit.ts +0 -11
  300. package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
  301. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +0 -18
  302. package/ts/types/Interface/api/documentRequest/Query.ts +2 -40
  303. package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +0 -2
  304. package/ts/types/Interface/api/revenue/revenueMovement.ts +9 -11
  305. package/ts/types/Interface/api/revenue/revenueSnapshotGenerate.ts +21 -2
  306. package/ts/types/Interface/api/shine/{Query.ts → GetConnect.ts} +0 -5
  307. package/ts/types/Interface/models/ISocietyApproval.ts +0 -2
  308. package/ts/types/Interface/models/IUser.ts +0 -2
  309. package/ts/types/index.ts +1 -9
  310. package/ts/utils/checkup.ts +566 -347
  311. package/ts/utils/commercialManagement/internationalization/choices.ts +19 -21
  312. package/ts/utils/index.ts +0 -1
  313. package/ts/utils/vat/centuries.ts +2 -2
  314. package/ts/utils/vat/utils.ts +2 -7
  315. package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
  316. package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
  317. package/dist/cjs/api/resources/LoginApproval.js +0 -20
  318. package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
  319. package/dist/cjs/api/resources/SocietyApproval.d.ts +0 -47
  320. package/dist/cjs/api/resources/SocietyApproval.d.ts.map +0 -1
  321. package/dist/cjs/api/resources/SocietyApproval.js +0 -62
  322. package/dist/cjs/api/resources/SocietyApproval.js.map +0 -1
  323. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  324. package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  325. package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
  326. package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  327. package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
  328. package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
  329. package/dist/cjs/types/Enum/MfaMode.js +0 -16
  330. package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
  331. package/dist/cjs/types/Enum/SocietyApproval.d.ts +0 -27
  332. package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  333. package/dist/cjs/types/Enum/SocietyApproval.js +0 -205
  334. package/dist/cjs/types/Enum/SocietyApproval.js.map +0 -1
  335. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  336. package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  337. package/dist/cjs/types/Interface/api/SocietyApproval.js +0 -153
  338. package/dist/cjs/types/Interface/api/SocietyApproval.js.map +0 -1
  339. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  340. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  341. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -21
  342. package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  343. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  344. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  345. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js +0 -27
  346. package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  347. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  348. package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  349. package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -26
  350. package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  351. package/dist/cjs/types/Interface/api/shine/Query.d.ts +0 -7
  352. package/dist/cjs/types/Interface/api/shine/Query.d.ts.map +0 -1
  353. package/dist/cjs/types/Interface/api/shine/Query.js.map +0 -1
  354. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  355. package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  356. package/dist/cjs/types/Interface/models/ILoginApproval.js +0 -3
  357. package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
  358. package/dist/cjs/utils/societyApproval.d.ts +0 -38
  359. package/dist/cjs/utils/societyApproval.d.ts.map +0 -1
  360. package/dist/cjs/utils/societyApproval.js +0 -101
  361. package/dist/cjs/utils/societyApproval.js.map +0 -1
  362. package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
  363. package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
  364. package/dist/mjs/api/resources/LoginApproval.js +0 -16
  365. package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
  366. package/dist/mjs/api/resources/SocietyApproval.d.ts +0 -47
  367. package/dist/mjs/api/resources/SocietyApproval.d.ts.map +0 -1
  368. package/dist/mjs/api/resources/SocietyApproval.js +0 -58
  369. package/dist/mjs/api/resources/SocietyApproval.js.map +0 -1
  370. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
  371. package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
  372. package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
  373. package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
  374. package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
  375. package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
  376. package/dist/mjs/types/Enum/MfaMode.js +0 -13
  377. package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
  378. package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -27
  379. package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +0 -1
  380. package/dist/mjs/types/Enum/SocietyApproval.js +0 -202
  381. package/dist/mjs/types/Enum/SocietyApproval.js.map +0 -1
  382. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +0 -36
  383. package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
  384. package/dist/mjs/types/Interface/api/SocietyApproval.js +0 -167
  385. package/dist/mjs/types/Interface/api/SocietyApproval.js.map +0 -1
  386. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
  387. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
  388. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -18
  389. package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
  390. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
  391. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
  392. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js +0 -25
  393. package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
  394. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
  395. package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
  396. package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -23
  397. package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
  398. package/dist/mjs/types/Interface/api/shine/Query.d.ts +0 -7
  399. package/dist/mjs/types/Interface/api/shine/Query.d.ts.map +0 -1
  400. package/dist/mjs/types/Interface/api/shine/Query.js.map +0 -1
  401. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
  402. package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
  403. package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
  404. package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
  405. package/dist/mjs/utils/societyApproval.d.ts +0 -38
  406. package/dist/mjs/utils/societyApproval.d.ts.map +0 -1
  407. package/dist/mjs/utils/societyApproval.js +0 -109
  408. package/dist/mjs/utils/societyApproval.js.map +0 -1
  409. package/ts/api/resources/LoginApproval.ts +0 -20
  410. package/ts/api/resources/SocietyApproval.ts +0 -75
  411. package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
  412. package/ts/types/Enum/MfaMode.ts +0 -11
  413. package/ts/types/Enum/SocietyApproval.ts +0 -218
  414. package/ts/types/Interface/api/SocietyApproval.ts +0 -121
  415. package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +0 -6
  416. package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +0 -11
  417. package/ts/types/Interface/api/authentification/loginApproval.ts +0 -75
  418. package/ts/types/Interface/models/ILoginApproval.ts +0 -31
  419. package/ts/utils/societyApproval.ts +0 -129
@@ -1,15 +1,16 @@
1
1
  "use strict";
2
- /* eslint-disable @typescript-eslint/no-unsafe-return */
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
4
3
  exports.getCheckupDetailForm = exports.setRangeItems = void 0;
5
4
  const Constants_1 = require("../types/Enum/Constants");
6
5
  const Quality_1 = require("../types/Enum/Quality");
6
+ const Vat_1 = require("../types/Enum/Vat");
7
7
  const dayjs = require("dayjs");
8
8
  const setRangeItems = (maxRange) => {
9
9
  const res = [];
10
10
  for (let i = 0; i < maxRange; i += 1) {
11
11
  res.push({ text: i, value: i });
12
12
  }
13
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
13
14
  return res;
14
15
  };
15
16
  exports.setRangeItems = setRangeItems;
@@ -23,241 +24,6 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
23
24
  dayjs(dateOfRegistration).isBetween(dayjs(recoveryDate).subtract(1, 'month'), dayjs(recoveryDate).add(1, 'month')))
24
25
  ? true
25
26
  : false;
26
- if (!isSocietyCreationCompute) {
27
- return [
28
- {
29
- name: "Découverte de l'entreprise (1/2)",
30
- questions: [
31
- {
32
- value: 'detailActivity',
33
- component: 'FormInputTextArea',
34
- text: 'Expliquez-nous votre activité',
35
- required: true,
36
- meta: {
37
- placeholder: 'Ex : Je suis freelance et propose du conseil en marketing',
38
- hideDetails: true,
39
- },
40
- },
41
- {
42
- component: 'FormInputSelect',
43
- text: "Votre structure a-t-elle des participations dans d'autres sociétés ?",
44
- value: 'interestOtherCompanies',
45
- required: true,
46
- meta: {
47
- items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
48
- hideDetails: true,
49
- },
50
- lg: 12,
51
- },
52
- {
53
- component: 'FormInputSelect',
54
- text: 'Avez-vous un logiciel de facturation ?',
55
- value: 'hasBillingSoftware',
56
- required: true,
57
- meta: {
58
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
59
- hideDetails: true,
60
- },
61
- lg: 12,
62
- },
63
- {
64
- component: 'FormInputSelect',
65
- text: 'Quels sont les modes de réglements dont vous disposez ?',
66
- value: 'collectionSystem',
67
- required: true,
68
- meta: {
69
- multiple: true,
70
- items: [
71
- { text: 'Carte bancaire', value: 'carte bancaire' },
72
- { text: 'Virement bancaire', value: 'virement' },
73
- { text: 'Chèque', value: 'cheque' },
74
- { text: 'Espèces', value: 'espece' },
75
- { text: 'Prélèvement automatique', value: 'prelevement' },
76
- ],
77
- hideDetails: true,
78
- },
79
- lg: 12,
80
- },
81
- ],
82
- },
83
- {
84
- name: "Découverte de l'entreprise (2/2)",
85
- questions: [
86
- {
87
- component: 'FormInputSelect',
88
- text: 'Avez-vous fait des investissements dans le cadre de la création de votre entreprise ?',
89
- value: 'investissement',
90
- required: true,
91
- meta: {
92
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
93
- hideDetails: true,
94
- },
95
- lg: 12,
96
- },
97
- {
98
- component: 'FormInputSelect',
99
- text: 'Avez-vous déjà eu des contrôles fiscaux ?',
100
- value: 'fiscalControl',
101
- required: true,
102
- meta: {
103
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
104
- hideDetails: true,
105
- },
106
- lg: 12,
107
- },
108
- // {
109
- // component: 'FormInputSelect',
110
- // text: 'Avez-vous des emprunts?',
111
- // value: 'hasBorrowing',
112
- // required: true,
113
- // meta: {
114
- // items: SelectYesNoStatementBool.map((i) => ({ ...i, value: i.value.toString() })),
115
- // hideDetails: true,
116
- // },
117
- // lg: 12,
118
- // },
119
- {
120
- component: 'FormInputSelect',
121
- text: 'Si oui, combien?',
122
- value: 'borrowingInProgress',
123
- required: true,
124
- meta: {
125
- items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
126
- hideDetails: true,
127
- },
128
- condition: societyDetail.hasBorrowing === '1',
129
- lg: 12,
130
- },
131
- {
132
- component: 'FormInputSelect',
133
- text: "Quels est/sont les motifs de votre changement d'expert comptable ?",
134
- value: 'listReasonsWhyChangingEC',
135
- required: true,
136
- meta: {
137
- multiple: true,
138
- items: [
139
- { text: 'Litige', value: 'litige' },
140
- { text: 'Prix', value: 'prix' },
141
- { text: 'Manque de réactivité', value: 'pas réactif' },
142
- { text: 'Manque de conseil', value: 'manque de conseil' },
143
- ],
144
- hideDetails: true,
145
- },
146
- lg: 12,
147
- },
148
- ],
149
- },
150
- {
151
- name: "Découverte du chef d'entreprise (1/2)",
152
- questions: [
153
- {
154
- component: 'FormInputSelect',
155
- text: 'Avez-vous suivi une formation particulière en lien avec votre activité ?',
156
- value: 'descriptionFormation',
157
- required: true,
158
- meta: {
159
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
160
- hideDetails: true,
161
- },
162
- lg: 12,
163
- },
164
- {
165
- component: 'FormInputSelect',
166
- text: 'Avez-vous des responsabilités politiques ?',
167
- value: 'politicalResponsability',
168
- required: true,
169
- meta: {
170
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
171
- hideDetails: true,
172
- },
173
- lg: 12,
174
- },
175
- {
176
- component: 'FormInputSelect',
177
- text: 'Êtes-vous résident fiscal français ?',
178
- value: 'frenchTaxResident',
179
- required: true,
180
- meta: {
181
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
182
- hideDetails: true,
183
- },
184
- lg: 12,
185
- },
186
- {
187
- component: 'FormInputSelect',
188
- text: 'Êtes-vous en redressement judiciaire ?',
189
- value: 'judiciaryRecovery',
190
- required: true,
191
- meta: {
192
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
193
- hideDetails: true,
194
- },
195
- lg: 12,
196
- },
197
- ],
198
- },
199
- {
200
- name: "Découverte du chef d'entreprise (2/2)",
201
- questions: [
202
- {
203
- component: 'FormInputSelect',
204
- text: "Quelle est votre fonction dans l'entreprise ?",
205
- value: 'listQualities',
206
- required: true,
207
- meta: {
208
- items: Quality_1.QualityList.map((quality) => ({ text: quality.label, value: quality.id })),
209
- hideDetails: true,
210
- },
211
- lg: 12,
212
- },
213
- {
214
- component: 'FormInputSelect',
215
- text: "Avez vous des connaissances en gestion d'entreprise ?",
216
- value: 'managementKnowledge',
217
- required: true,
218
- meta: {
219
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
220
- hideDetails: true,
221
- },
222
- lg: 12,
223
- },
224
- {
225
- component: 'FormInputSelect',
226
- text: "Avez-vous des participations dans d'autres sociétés ?",
227
- value: 'participationsInOtherSociety',
228
- required: true,
229
- meta: {
230
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
231
- hideDetails: true,
232
- },
233
- lg: 12,
234
- },
235
- {
236
- component: 'FormInputSelect',
237
- text: 'Êtes-vous interdit bancaire ?',
238
- value: 'prohibitedBanking',
239
- required: true,
240
- meta: {
241
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
242
- hideDetails: true,
243
- },
244
- lg: 12,
245
- },
246
- {
247
- component: 'FormInputSelect',
248
- text: "Êtes-vous imposable au titre de l'année 2023/2024 ?",
249
- value: 'isIrTaxable',
250
- required: true,
251
- meta: {
252
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
253
- hideDetails: true,
254
- },
255
- lg: 12,
256
- },
257
- ],
258
- },
259
- ];
260
- }
261
27
  return [
262
28
  {
263
29
  name: "Découverte de l'entreprise",
@@ -265,287 +31,744 @@ brandName, bankList, dateOfRegistration, recoveryDate) => {
265
31
  {
266
32
  value: 'detailActivity',
267
33
  component: 'FormInputTextArea',
268
- text: 'Expliquez-nous votre activité',
269
- required: true,
34
+ text: 'Pouvez vous m’expliquer le fonctionnement de votre activité ?',
35
+ //TODO: conseil à afficher
36
+ meta: {
37
+ placeholder: 'E-commerce, ventes de produits finis, artisanat...',
38
+ hideDetails: true,
39
+ },
40
+ },
41
+ {
42
+ value: 'nbBankaccounts',
43
+ component: 'FormInputSelect',
44
+ text: 'Combien de comptes bancaires avez-vous ?',
45
+ meta: {
46
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
47
+ items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
48
+ hideDetails: true,
49
+ },
50
+ lg: societyDetail.nbBankaccounts > 0 ? 8 : 12,
51
+ },
52
+ {
53
+ //TODO: champ à créer
54
+ component: 'FormInputSelect',
55
+ text: 'Lesquelles ?',
56
+ value: 'listBanks',
57
+ meta: {
58
+ multiple: true,
59
+ items: [...bankList, { id: 'hors-ue', name: 'Hors UE' }],
60
+ itemText: 'name',
61
+ itemValue: 'id',
62
+ hideDetails: true,
63
+ },
64
+ lg: societyDetail.nbBankaccounts > 0 ? 4 : 12,
65
+ condition: societyDetail.nbBankaccounts > 0,
66
+ },
67
+ {
68
+ component: 'FormInputSelect',
69
+ text: "Combien d'associés êtes-vous ?",
70
+ // lg: 4,
71
+ value: 'nbAssociates',
72
+ meta: {
73
+ items: (0, exports.setRangeItems)(20),
74
+ hideDetails: true,
75
+ },
76
+ lg: 4,
77
+ },
78
+ {
79
+ component: 'FormInputSelect',
80
+ text: "Combien d'associés travaillent dans la société ?",
81
+ // lg: 4,
82
+ value: 'nbAssociatesInCompany',
83
+ meta: {
84
+ items: (0, exports.setRangeItems)(20),
85
+ hideDetails: true,
86
+ },
87
+ lg: 4,
88
+ },
89
+ {
90
+ component: 'FormInputSelect',
91
+ text: 'Combien de salariés êtes-vous ?',
92
+ value: 'nbEmployees',
93
+ meta: {
94
+ items: (0, exports.setRangeItems)(20),
95
+ hideDetails: true,
96
+ },
97
+ lg: 4,
98
+ },
99
+ {
100
+ component: 'FormInputSelect', //'FormInputRadio',
101
+ text: 'Avez-vous des prévisions d’embauches ?',
102
+ value: 'hiringPromess',
103
+ meta: {
104
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
105
+ hideDetails: true,
106
+ },
107
+ lg: 4,
108
+ },
109
+ {
110
+ component: 'FormInputSelect',
111
+ text: 'Le siège social est-il au domicile ?',
112
+ // lg: 4,
113
+ value: 'isPersoAdress',
270
114
  meta: {
271
- placeholder: 'Ex : Je suis freelance et propose du conseil en marketing',
115
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
116
+ hideDetails: true,
117
+ },
118
+ lg: societyDetail.isPersoAdress === '1' ? 4 : 8,
119
+ },
120
+ {
121
+ component: 'FormInputSelect', //'FormInputRadio',
122
+ text: 'Êtes-vous propriétaire ?',
123
+ value: 'professionnalRent',
124
+ meta: {
125
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
272
126
  hideDetails: true,
273
127
  },
128
+ condition: societyDetail.isPersoAdress === '1',
129
+ lg: 4,
130
+ },
131
+ {
132
+ component: 'FormInputSelect', //'FormInputRadio',
133
+ text: 'Avez-vous un bail commercial ?',
134
+ value: 'hasCommercialLease',
135
+ meta: {
136
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
137
+ hideDetails: true,
138
+ },
139
+ //TODO: conseil à afficher
140
+ condition: societyDetail.isPersoAdress !== '1',
141
+ lg: societyDetail.hasCommercialLease === '1' ? 4 : 12,
142
+ },
143
+ {
144
+ component: 'FormInputText',
145
+ text: 'Quelle est la surface approximative du local ?',
146
+ value: 'commercialArea',
147
+ type: 'number',
148
+ meta: {
149
+ suffix: 'm²',
150
+ hideDetails: true,
151
+ },
152
+ condition: societyDetail.isPersoAdress !== '1' && societyDetail.hasCommercialLease === '1',
153
+ lg: 4,
154
+ },
155
+ {
156
+ component: 'FormInputText',
157
+ text: 'Quel est le montant du loyer mensuel',
158
+ value: 'commercialRentAmount',
159
+ type: 'number',
160
+ meta: {
161
+ suffix: '€',
162
+ hideDetails: true,
163
+ },
164
+ condition: societyDetail.isPersoAdress !== '1' && societyDetail.hasCommercialLease === '1',
165
+ lg: 4,
166
+ },
167
+ {
168
+ component: 'FormInputSelect',
169
+ text: 'Utilisez-vous votre véhicule personnel dans le cadre de votre activité ?',
170
+ value: 'vehicle',
171
+ required: false,
172
+ meta: {
173
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
174
+ hideDetails: true,
175
+ },
176
+ lg: 4,
177
+ //TODO: conseil à afficher
274
178
  },
275
179
  {
276
180
  component: 'FormInputSelect',
277
- text: "Votre structure a-t-elle des participations dans d'autres sociétés ?",
181
+ text: "Votre structure a-t-elle des participations dans d'autres sociétés ?",
278
182
  value: 'interestOtherCompanies',
279
- required: true,
280
183
  meta: {
184
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
281
185
  items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
282
186
  hideDetails: true,
283
187
  },
284
- lg: 12,
188
+ lg: parseInt(societyDetail.interestOtherCompanies, 10) > 0 ? 4 : 12,
189
+ },
190
+ {
191
+ component: 'FormInputText',
192
+ text: 'Si oui, quels sont les noms des sociétés ?',
193
+ value: 'listCompaniesInterestedIn',
194
+ condition: parseInt(societyDetail.interestOtherCompanies, 10) > 0,
195
+ lg: parseInt(societyDetail.interestOtherCompanies, 10) > 0 ? 4 : 12,
285
196
  },
286
197
  {
198
+ //TODO: champ à créer
199
+ component: 'FormInputSelect', //'FormInputRadio',
200
+ text: `Sont-elles clientes chez ${brandName}`,
201
+ value: 'areOtherCompaniesOnOurBrand',
202
+ meta: {
203
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
204
+ hideDetails: true,
205
+ },
206
+ condition: parseInt(societyDetail.interestOtherCompanies, 10) > 0,
207
+ lg: parseInt(societyDetail.interestOtherCompanies, 10) > 0 ? 4 : 12,
208
+ //TODO: si non, conseil à afficher
209
+ },
210
+ {
211
+ //TODO: champ à créer
287
212
  component: 'FormInputSelect',
213
+ text: 'Quels sont vos taux de TVA ?',
214
+ value: 'listTva',
215
+ meta: {
216
+ multiple: true,
217
+ items: Object.values(Vat_1.Vat)
218
+ .filter((v) => !v.isVatIntracom && !v.isVatImportation && v.immobilization)
219
+ .sort((a, b) => b.displayOrder - a.displayOrder),
220
+ itemText: 'name',
221
+ itemValue: 'id',
222
+ hideDetails: true,
223
+ },
224
+ lg: 4,
225
+ },
226
+ {
227
+ //TODO: champ à créer
228
+ component: 'FormInputSelect', //'FormInputRadio',
229
+ text: 'Votre compte impôts.gouv.fr a t-il été paramétré avec le RIB transmis au service facturation ?',
230
+ value: 'ribSentToTaxDepartment',
231
+ meta: {
232
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
233
+ hideDetails: true,
234
+ },
235
+ lg: 8,
236
+ },
237
+ {
238
+ //TRICK: insertion du bloc de DropBox de RIB
239
+ value: 'rib',
240
+ condition: societyDetail.ribSentToTaxDepartment === '0',
241
+ //TODO: conseil à afficher
242
+ lg: 4,
243
+ },
244
+ {
245
+ component: 'FormInputTextArea',
246
+ text: 'Remarques',
247
+ value: 'historyComments',
248
+ required: false,
249
+ meta: {
250
+ hideDetails: true,
251
+ },
252
+ lg: 12,
253
+ },
254
+ {
255
+ //TODO: champ à créer
256
+ component: 'FormInputSelect', //'FormInputRadio',
288
257
  text: 'Avez-vous un logiciel de facturation ?',
289
258
  value: 'hasBillingSoftware',
290
- required: true,
291
259
  meta: {
292
260
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
293
261
  hideDetails: true,
294
262
  },
295
- lg: 12,
263
+ lg: 4,
264
+ },
265
+ {
266
+ component: 'FormInputText',
267
+ text: 'Lequel ?',
268
+ value: 'billingSoftware',
269
+ //TODO: si non, conseil à afficher
270
+ lg: 4,
271
+ meta: {
272
+ hideDetails: true,
273
+ },
274
+ condition: societyDetail.hasBillingSoftware === '1',
296
275
  },
297
276
  {
298
277
  component: 'FormInputSelect',
299
278
  text: 'Quels sont les modes de réglements dont vous disposez ?',
300
279
  value: 'collectionSystem',
301
- required: true,
302
280
  meta: {
303
- multiple: true,
304
281
  items: [
305
- { text: 'Carte bancaire', value: 'carte bancaire' },
306
- { text: 'Virement bancaire', value: 'virement' },
282
+ //TODO: ajouter PayPal et Stripe ?
307
283
  { text: 'Chèque', value: 'cheque' },
308
- { text: 'Espèces', value: 'espece' },
284
+ { text: 'Espèce', value: 'espece' },
285
+ { text: 'Intermédiaire', value: 'intermediaire' },
286
+ { text: 'Virement', value: 'virement' },
309
287
  { text: 'Prélèvement automatique', value: 'prelevement' },
288
+ { text: 'Carte bancaire', value: 'carte bancaire' },
310
289
  ],
311
290
  hideDetails: true,
312
291
  },
313
- lg: 12,
292
+ lg: 4,
293
+ },
294
+ {
295
+ //TODO: champ à créer
296
+ component: 'FormInputSelect',
297
+ text: 'Où est situé le siège de l’entreprise ?',
298
+ value: 'officeType',
299
+ meta: {
300
+ items: [
301
+ { text: 'Domicile', value: 'Domicile' },
302
+ { text: 'Boîte de Domiciliation', value: 'Boîte de Domiciliation' },
303
+ { text: 'Local ou Bureau', value: 'Local/Bureau' },
304
+ ],
305
+ hideDetails: true,
306
+ },
307
+ //TODO: 3 conseils à afficher
308
+ lg: 4,
314
309
  },
315
310
  ],
316
311
  },
317
312
  {
318
- name: "Création d'entreprise (1/2)",
313
+ name: "Création d'entreprise",
314
+ display: isSocietyCreationCompute === true,
319
315
  questions: [
320
316
  {
321
- component: 'FormInputSelect',
322
- text: 'Avez-vous utilisé des apports personnels en capital lors de la création de votre société ?',
317
+ component: 'FormInputSelect', //'FormInputRadio',
318
+ text: 'Avez-vous utilisé des apports personnels en capital lors de la création ?',
323
319
  value: 'personnalContributionCapital',
324
- required: true,
325
320
  meta: {
326
321
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
327
322
  hideDetails: true,
328
323
  },
329
- lg: 12,
324
+ lg: 4,
330
325
  },
331
326
  {
332
- component: 'FormInputSelect',
333
- text: 'Avez-vous utilisé des apports personnels en compte courant lors de la création de votre société ?',
327
+ component: 'FormInputSelect', //'FormInputRadio',
328
+ text: 'Avez-vous utilisé des apports personnels en compte courant lors de la création ?',
334
329
  value: 'personnalContributionCurrentBankAccount',
335
- required: true,
336
330
  meta: {
337
331
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
338
332
  hideDetails: true,
339
333
  },
340
- lg: 12,
334
+ lg: 4,
341
335
  },
342
336
  {
343
- component: 'FormInputSelect',
344
- text: "Avez-vous bénéficié d'une rupture conventionnelle ou du versement d'une indemnité de licenciement dans le cadre de votre création de société ?",
337
+ component: 'FormInputSelect', //'FormInputRadio',
338
+ text: 'Avez-vous utilisé des apports personnels en nature lors de la création ?',
339
+ value: 'personnalContributionInKind',
340
+ meta: {
341
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
342
+ hideDetails: true,
343
+ },
344
+ lg: 4,
345
+ },
346
+ {
347
+ component: 'FormInputText',
348
+ text: 'Quelle activité exerciez-vous auparavant ?',
349
+ value: 'oldActivite',
350
+ meta: {
351
+ hideDetails: true,
352
+ },
353
+ },
354
+ {
355
+ component: 'FormInputSelect', //'FormInputRadio',
356
+ text: "Avez-vous bénéficié d'une rupture conventionnelle ou du versement d'une indemnité de licenciement dans le cadre de votre installation ?",
345
357
  value: 'indemnite',
346
- required: true,
358
+ required: false,
347
359
  meta: {
348
360
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
349
361
  hideDetails: true,
350
362
  },
351
- lg: 12,
352
363
  },
353
364
  {
354
- component: 'FormInputSelect',
365
+ component: 'FormInputSelect', //'FormInputRadio',
366
+ text: "Bénéficiez vous de l'aide de Pôle Emploi ?",
367
+ value: 'poleEmploiAid',
368
+ required: false,
369
+ meta: {
370
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
371
+ hideDetails: true,
372
+ },
373
+ lg: societyDetail.poleEmploiAid === '1' ? 6 : 12,
374
+ },
375
+ {
376
+ component: 'FormInputText',
377
+ text: 'Si oui, option retenue ?',
378
+ value: 'poleEmploiAidType',
379
+ required: false,
380
+ meta: {
381
+ hideDetails: true,
382
+ },
383
+ condition: societyDetail.poleEmploiAid === '1',
384
+ lg: societyDetail.poleEmploiAid === '1' ? 6 : 12,
385
+ },
386
+ {
387
+ component: 'FormInputSelect', //'FormInputRadio',
355
388
  text: "Avez-vous bénéficié d'un prêt d'honneur ?",
356
389
  value: 'honorLoan',
357
- required: true,
390
+ required: false,
358
391
  meta: {
359
392
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
360
393
  hideDetails: true,
361
394
  },
362
- lg: 12,
395
+ lg: societyDetail.honorLoan === '1' ? 6 : 12,
363
396
  },
364
- ],
365
- },
366
- {
367
- name: "Création d'entreprise (2/2)",
368
- questions: [
369
397
  {
370
- component: 'FormInputSelect',
371
- text: "Comptez-vous travailler à l'international ?",
398
+ component: 'FormInputText',
399
+ text: "Si oui, quel est le montant du prêt d'honneur ?",
400
+ value: 'honorLoanAmount',
401
+ type: 'number',
402
+ required: false,
403
+ meta: {
404
+ suffix: '€',
405
+ hideDetails: true,
406
+ },
407
+ condition: societyDetail.honorLoan === '1',
408
+ lg: societyDetail.honorLoan === '1' ? 6 : 12,
409
+ },
410
+ {
411
+ component: 'FormInputSelect', //'FormInputRadio',
412
+ text: "Allez-vous travailler à l'international ? (import ou export)",
372
413
  value: 'workInternationnal',
373
- required: true,
414
+ required: false,
374
415
  meta: {
375
416
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
376
417
  hideDetails: true,
377
418
  },
378
- lg: 12,
419
+ lg: 4,
379
420
  },
380
421
  {
381
- component: 'FormInputSelect',
382
- text: 'Avez-vous du financer un stock de départ ?',
422
+ component: 'FormInputSelect', //'FormInputRadio',
423
+ text: 'Avez-vous financer un stock de départ ?',
383
424
  value: 'financingStartingStock',
384
- required: true,
425
+ required: false,
385
426
  meta: {
386
427
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
387
428
  hideDetails: true,
388
429
  },
389
- lg: 12,
430
+ lg: societyDetail.financingStartingStock === '1' ? 4 : 8,
390
431
  },
391
432
  {
433
+ component: 'FormInputText',
434
+ text: 'Si oui, montant approximatif',
435
+ value: 'financingStartingStockAmount',
436
+ type: 'number',
437
+ required: false,
438
+ meta: {
439
+ suffix: '€',
440
+ hideDetails: true,
441
+ },
442
+ condition: societyDetail.financingStartingStock === '1',
443
+ lg: societyDetail.financingStartingStock === '1' ? 4 : 8,
444
+ },
445
+ {
446
+ //TODO: champ à créer
392
447
  component: 'FormInputSelect',
393
448
  text: "Quels sont vos types d'apport ?",
394
449
  value: 'contributionTypes',
395
- required: true,
396
450
  meta: {
397
451
  multiple: true,
398
452
  items: [
399
- { text: 'Nature', value: 'nature' },
453
+ { text: 'Nature', value: 'nature' }, //TODO: créer un ENUM
400
454
  { text: 'Numéraire', value: 'numeraire' },
401
455
  { text: 'Industriel', value: 'industriel' },
402
456
  ],
403
457
  hideDetails: true,
404
458
  },
405
- lg: 12,
459
+ lg: 4,
406
460
  },
407
461
  {
408
462
  component: 'FormInputText',
409
- text: "Chiffre d'affaires prévisionnel",
463
+ text: "Chiffre d'affaires Prévisionnel ?",
410
464
  value: 'previsionCa',
411
- required: true,
412
465
  meta: {
413
466
  suffix: '€',
414
467
  hideDetails: true,
415
468
  },
416
- lg: 12,
469
+ lg: 4,
417
470
  },
418
- // {
419
- // component: 'FormInputSelect',
420
- // text: 'Avez-vous des emprunts en cours ?',
421
- // value: 'isLoans',
422
- // required: true,
423
- // meta: {
424
- // items: SelectYesNoStatementBool.map((i) => ({ ...i, value: i.value.toString() })),
425
- // hideDetails: true,
426
- // },
427
- // lg: 12,
428
- // },
429
471
  {
430
472
  component: 'FormInputSelect',
431
- text: 'Si oui, combien ?',
473
+ text: 'Existe-t-il des emprunts en cours ?',
432
474
  value: 'isLoans',
433
- required: true,
434
475
  meta: {
476
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
435
477
  items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
436
478
  hideDetails: true,
437
479
  },
438
- condition: societyDetail.isLoans === '1',
439
- lg: 12,
480
+ lg: 4,
440
481
  },
441
482
  ],
442
483
  },
443
484
  {
444
- name: "Découverte du chef d'entreprise (1/2)",
485
+ name: 'Entreprise existante',
486
+ display: isSocietyCreationCompute === false,
445
487
  questions: [
446
488
  {
447
- component: 'FormInputSelect',
448
- text: 'Avez-vous suivi une formation particulière en lien avec votre activité ',
449
- value: 'descriptionFormation',
450
- required: true,
489
+ component: 'FormInputSelect', //'FormInputRadio',
490
+ text: 'Aviez-vous fait des investissements dans le cadre de la création de votre entreprise ?',
491
+ value: 'investissement',
451
492
  meta: {
452
493
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
453
494
  hideDetails: true,
454
495
  },
455
- lg: 12,
496
+ lg: societyDetail.investissement === '1' ? 4 : 8,
456
497
  },
457
498
  {
499
+ //TODO: champ à créer
458
500
  component: 'FormInputSelect',
459
- text: 'Avez-vous des responsabilités politiques ?',
460
- value: 'politicalResponsability',
461
- required: true,
501
+ text: 'De quelles natures ?',
502
+ value: 'investissementTypes',
503
+ meta: {
504
+ multiple: true,
505
+ items: [
506
+ { text: 'Nature', value: 'nature' }, //TODO: créer un ENUM
507
+ { text: 'Numéraire', value: 'numeraire' },
508
+ { text: 'Industriel', value: 'industriel' },
509
+ ],
510
+ hideDetails: true,
511
+ },
512
+ condition: societyDetail.investissement === '1',
513
+ lg: societyDetail.investissement === '1' ? 4 : 8,
514
+ },
515
+ {
516
+ component: 'FormInputSelect', //'FormInputRadio',
517
+ text: "Avez-vous des projets d'investissement à court ou moyen terme ?",
518
+ value: 'investissementCTMT',
462
519
  meta: {
463
520
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
464
521
  hideDetails: true,
465
522
  },
466
- lg: 12,
523
+ lg: 4,
467
524
  },
468
525
  {
469
- component: 'FormInputSelect',
470
- text: 'Êtes-vous résident fiscal français ?',
471
- value: 'frenchTaxResident',
472
- required: true,
526
+ component: 'FormInputSelect', //'FormInputRadio',
527
+ text: 'Avez-vous déjà eu des contrôles fiscaux ?',
528
+ value: 'fiscalControl',
473
529
  meta: {
474
530
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
475
531
  hideDetails: true,
476
532
  },
477
- lg: 12,
533
+ lg: 4,
478
534
  },
479
535
  {
480
536
  component: 'FormInputSelect',
481
- text: 'Êtes-vous en redressement judiciaire ?',
482
- value: 'judiciaryRecovery',
483
- required: true,
537
+ text: 'Existe-t-il des emprunts en cours ?',
538
+ value: 'borrowingInProgress',
484
539
  meta: {
485
- items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
540
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
541
+ items: (0, exports.setRangeItems)(15).map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
486
542
  hideDetails: true,
487
543
  },
488
- lg: 12,
544
+ lg: 4,
545
+ },
546
+ {
547
+ //TODO: champ à créer
548
+ component: 'FormInputSelect',
549
+ text: "Quel(s) est/sont le(s) motif(s) de votre changement d'Expert-Comptable ?",
550
+ value: 'listReasonsWhyChangingEC',
551
+ meta: {
552
+ multiple: true,
553
+ items: [
554
+ { text: 'Litige', value: 'litige' },
555
+ { text: 'Impayé', value: 'impayé' },
556
+ { text: 'Pas réactif', value: 'pas réactif' },
557
+ { text: 'Manque de conseil', value: 'manque de conseil' },
558
+ { text: 'Proximité', value: 'proximité' },
559
+ { text: 'Prix', value: 'prix' },
560
+ { text: 'Non Concerné', value: 'nc' },
561
+ ],
562
+ hideDetails: true,
563
+ },
564
+ lg: 4,
489
565
  },
490
566
  ],
491
567
  },
492
568
  {
493
- name: "Découverte du chef d'entreprise (2/2)",
569
+ name: "Découverte chef d'entreprise",
494
570
  questions: [
495
571
  {
496
- component: 'FormInputSelect',
497
- text: "Quelle est votre fonction dans l'entreprise ?",
498
- value: 'listQualities',
499
- required: true,
572
+ component: 'FormInputSelect', //'FormInputRadio',
573
+ text: 'Avez-vous suivi une formation particulière en lien avec votre activité ?',
574
+ value: 'descriptionFormation',
500
575
  meta: {
501
- items: Quality_1.QualityList.map((quality) => ({ text: quality.label, value: quality.id })),
576
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
502
577
  hideDetails: true,
503
578
  },
504
- lg: 12,
579
+ lg: 6,
580
+ //TODO: si non, conseil à afficher
505
581
  },
506
582
  {
507
- component: 'FormInputSelect',
508
- text: "Avez vous des connaissances en gestion d'entreprise ?",
583
+ component: 'FormInputSelect', //'FormInputRadio',
584
+ text: 'Avez-vous des connaissances de gestion ?',
509
585
  value: 'managementKnowledge',
510
- required: true,
511
586
  meta: {
512
587
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
513
588
  hideDetails: true,
514
589
  },
515
- lg: 12,
590
+ lg: 6,
516
591
  },
517
592
  {
518
- component: 'FormInputSelect',
593
+ component: 'FormInputSelect', //'FormInputRadio',
594
+ text: 'Avez-vous des responsabilités politiques ?',
595
+ value: 'politicalResponsability',
596
+ meta: {
597
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
598
+ hideDetails: true,
599
+ },
600
+ lg: 6,
601
+ },
602
+ {
603
+ component: 'FormInputSelect', //'FormInputRadio',
519
604
  text: "Avez-vous des participations dans d'autres sociétés ?",
520
605
  value: 'participationsInOtherSociety',
521
- required: true,
522
606
  meta: {
523
607
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
524
608
  hideDetails: true,
525
609
  },
526
- lg: 12,
610
+ lg: 6,
527
611
  },
528
612
  {
529
- component: 'FormInputSelect',
530
- text: 'Êtes-vous interdit bancaire ?',
613
+ component: 'FormInputSelect', //'FormInputRadio',
614
+ text: 'Êtes-vous résident fiscal français ?',
615
+ value: 'frenchTaxResident',
616
+ meta: {
617
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
618
+ hideDetails: true,
619
+ },
620
+ lg: 6,
621
+ },
622
+ {
623
+ component: 'FormInputSelect', //'FormInputRadio',
624
+ text: 'Êtes-vous interdit bancaire ?',
531
625
  value: 'prohibitedBanking',
532
- required: true,
533
626
  meta: {
534
627
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
535
628
  hideDetails: true,
536
629
  },
537
- lg: 12,
630
+ lg: 6,
538
631
  },
539
632
  {
540
- component: 'FormInputSelect',
541
- text: "Êtes-vous imposable au titre de l'année 2023/2024 ?",
633
+ component: 'FormInputSelect', //'FormInputRadio',
634
+ text: 'Êtes-vous en redressement judiciaire ?',
635
+ value: 'judiciaryRecovery',
636
+ meta: {
637
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
638
+ hideDetails: true,
639
+ },
640
+ lg: 6,
641
+ },
642
+ {
643
+ component: 'FormInputSelect', //'FormInputRadio',
644
+ text: `Êtes-vous imposable au titre de l'IR ${dayjs().subtract(2, 'year').format('YYYY')}/${dayjs()
645
+ .subtract(1, 'year')
646
+ .format('YYYY')} ?`,
542
647
  value: 'isIrTaxable',
543
- required: true,
544
648
  meta: {
545
649
  items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
546
650
  hideDetails: true,
547
651
  },
548
- lg: 12,
652
+ lg: 6,
653
+ },
654
+ {
655
+ //TODO: champ à créer
656
+ component: 'FormInputSelect',
657
+ text: "Quelle est votre fonction dans l'entreprise ?",
658
+ value: 'listQualities',
659
+ meta: {
660
+ multiple: true,
661
+ items: Object.values(Quality_1.QualityList).sort((a, b) => (a.label > b.label ? 1 : -1)),
662
+ itemText: 'label',
663
+ itemValue: 'id',
664
+ hideDetails: true,
665
+ },
666
+ lg: 6,
667
+ },
668
+ ],
669
+ },
670
+ {
671
+ name: 'Organisation',
672
+ questions: [
673
+ {
674
+ //TODO: champ à créer
675
+ component: 'FormInputSelect',
676
+ text: 'En combien de temps vos clients vous règlent-ils ?',
677
+ value: 'averageCustomerRegulationTime',
678
+ meta: {
679
+ items: Constants_1.AverageTimeItems,
680
+ hideDetails: true,
681
+ },
682
+ },
683
+ {
684
+ //TODO: champ à créer
685
+ component: 'FormInputSelect',
686
+ text: 'En combien de temps réglez-vous vos fournisseurs ?',
687
+ value: 'averageSupplierRegulationTime',
688
+ meta: {
689
+ items: Constants_1.AverageTimeItems,
690
+ hideDetails: true,
691
+ },
692
+ },
693
+ {
694
+ component: 'FormInputSelect', //'FormInputRadio',
695
+ text: 'Classez-vous vos pièces comptables (factures d’achats par mois, etc ...) ?',
696
+ value: 'rankFiles',
697
+ meta: {
698
+ items: Constants_1.SelectYesNoStatementBool.map((i) => (Object.assign(Object.assign({}, i), { value: i.value.toString() }))),
699
+ hideDetails: true,
700
+ },
701
+ },
702
+ ],
703
+ },
704
+ {
705
+ name: 'Assurance',
706
+ questions: [
707
+ {
708
+ component: 'FormInputSwitch', //'FormInputRadio',
709
+ text: 'Êtes-vous indemnisé par l’assurance chômage ?',
710
+ value: 'unemploymentInsurance',
711
+ meta: {
712
+ hideDetails: true,
713
+ },
714
+ lg: 6,
715
+ },
716
+ {
717
+ component: 'FormInputSwitch', //'FormInputRadio',
718
+ text: 'Avez-vous une couverture mutuelle ?',
719
+ value: 'hasMutualInsurance',
720
+ meta: {
721
+ hideDetails: true,
722
+ },
723
+ lg: 6,
724
+ },
725
+ {
726
+ component: 'FormInputSwitch', //'FormInputRadio',
727
+ text: 'Avez-vous une responsabilité civile professionnelle (RC Pro) ?',
728
+ value: 'hasProfessionalLiabilityInsurance',
729
+ meta: {
730
+ hideDetails: true,
731
+ },
732
+ lg: 6,
733
+ },
734
+ {
735
+ component: 'FormInputSwitch', //'FormInputRadio',
736
+ text: 'Souhaitez-vous faire un audit de vos contracts d’assurances ?',
737
+ value: 'insuranceContractAudit',
738
+ meta: {
739
+ hideDetails: true,
740
+ },
741
+ lg: 6,
742
+ },
743
+ ],
744
+ },
745
+ {
746
+ name: 'Conclusion',
747
+ questions: [
748
+ {
749
+ component: 'FormInputText',
750
+ text: 'Avez-vous des besoins spécifiques ?',
751
+ value: 'specificNeeds',
752
+ meta: {
753
+ hideDetails: true,
754
+ },
755
+ },
756
+ {
757
+ component: 'FormInputTextArea',
758
+ text: 'Commentaires généraux',
759
+ value: 'remarqueComment',
760
+ meta: {
761
+ hideDetails: true,
762
+ },
763
+ },
764
+ {
765
+ component: 'FormInputSelect',
766
+ text: 'Comment nous avez-vous connu ?',
767
+ meta: {
768
+ items: Constants_1.ClementineSources,
769
+ hideDetails: true,
770
+ },
771
+ value: 'idFindClementine',
549
772
  },
550
773
  ],
551
774
  },