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