@silexpert/core 1.3.95-6 → 1.3.95

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 (369) hide show
  1. package/dist/cjs/api/resources/Exercice.d.ts +1 -1
  2. package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Exercice.js.map +1 -1
  4. package/dist/cjs/api/resources/Inpi.d.ts +3 -3
  5. package/dist/cjs/api/resources/Inpi.d.ts.map +1 -1
  6. package/dist/cjs/api/resources/Inpi.js +1 -1
  7. package/dist/cjs/api/resources/Inpi.js.map +1 -1
  8. package/dist/cjs/api/resources/Qonto.d.ts +11 -1
  9. package/dist/cjs/api/resources/Qonto.d.ts.map +1 -1
  10. package/dist/cjs/api/resources/Qonto.js +29 -0
  11. package/dist/cjs/api/resources/Qonto.js.map +1 -1
  12. package/dist/cjs/api/resources/Refund.d.ts +1 -1
  13. package/dist/cjs/api/resources/Refund.d.ts.map +1 -1
  14. package/dist/cjs/api/resources/Refund.js.map +1 -1
  15. package/dist/cjs/api/resources/Society.d.ts +1 -2
  16. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  17. package/dist/cjs/api/resources/Society.js +0 -3
  18. package/dist/cjs/api/resources/Society.js.map +1 -1
  19. package/dist/cjs/api/resources/Team.d.ts +15 -1
  20. package/dist/cjs/api/resources/Team.d.ts.map +1 -1
  21. package/dist/cjs/api/resources/Team.js +18 -0
  22. package/dist/cjs/api/resources/Team.js.map +1 -1
  23. package/dist/cjs/api/resources/User.js +1 -1
  24. package/dist/cjs/api/resources/User.js.map +1 -1
  25. package/dist/cjs/api/resources.d.ts +0 -4
  26. package/dist/cjs/api/resources.d.ts.map +1 -1
  27. package/dist/cjs/api/resources.js +0 -4
  28. package/dist/cjs/api/resources.js.map +1 -1
  29. package/dist/cjs/types/Enum/BalanceSheet.d.ts +2 -2
  30. package/dist/cjs/types/Enum/BalanceSheet.js +2 -2
  31. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  32. package/dist/cjs/types/Enum/BrandClementine.js +5 -5
  33. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  34. package/dist/cjs/types/Enum/BrandComptalib.js +1 -1
  35. package/dist/cjs/types/Enum/BrandComptalib.js.map +1 -1
  36. package/dist/cjs/types/Enum/BrandLegalstart.js +1 -1
  37. package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
  38. package/dist/cjs/types/Enum/BrandPourcentage.js +4 -4
  39. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  40. package/dist/cjs/types/Enum/Card.d.ts +12 -20
  41. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  42. package/dist/cjs/types/Enum/Card.js +10 -29
  43. package/dist/cjs/types/Enum/Card.js.map +1 -1
  44. package/dist/cjs/types/Enum/InpiType.d.ts +2 -10
  45. package/dist/cjs/types/Enum/InpiType.d.ts.map +1 -1
  46. package/dist/cjs/types/Enum/InpiType.js +4 -12
  47. package/dist/cjs/types/Enum/InpiType.js.map +1 -1
  48. package/dist/cjs/types/Enum/Phone.d.ts +0 -206
  49. package/dist/cjs/types/Enum/Phone.d.ts.map +1 -1
  50. package/dist/cjs/types/Enum/Phone.js +2 -208
  51. package/dist/cjs/types/Enum/Phone.js.map +1 -1
  52. package/dist/cjs/types/Enum/PrestationType.d.ts +1 -2
  53. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  54. package/dist/cjs/types/Enum/PrestationType.js +16 -36
  55. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  56. package/dist/cjs/types/Form/FormConnector.d.ts +0 -1
  57. package/dist/cjs/types/Form/FormConnector.d.ts.map +1 -1
  58. package/dist/cjs/types/Form/FormConnector.js +0 -83
  59. package/dist/cjs/types/Form/FormConnector.js.map +1 -1
  60. package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +0 -1
  61. package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
  62. package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +0 -7
  63. package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  64. package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +0 -1
  65. package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
  66. package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +0 -4
  67. package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
  68. package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.d.ts +46 -0
  69. package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -0
  70. package/dist/cjs/types/Interface/api/{connector/OAuthTokenRequest.js → companeo/CompaneoReturn.js} +1 -1
  71. package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
  72. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +20 -4
  73. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  74. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  75. package/dist/cjs/types/Interface/api/exercice/Create.d.ts +0 -1
  76. package/dist/cjs/types/Interface/api/exercice/Create.d.ts.map +1 -1
  77. package/dist/cjs/types/Interface/api/exercice/Create.js +0 -7
  78. package/dist/cjs/types/Interface/api/exercice/Create.js.map +1 -1
  79. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +0 -1
  80. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  81. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +0 -6
  82. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  83. package/dist/cjs/types/Interface/api/qonto/Create.d.ts +34 -0
  84. package/dist/cjs/types/Interface/api/qonto/Create.d.ts.map +1 -1
  85. package/dist/cjs/types/Interface/api/qonto/Create.js +155 -1
  86. package/dist/cjs/types/Interface/api/qonto/Create.js.map +1 -1
  87. package/dist/cjs/types/Interface/api/qonto/Query.d.ts +44 -0
  88. package/dist/cjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
  89. package/dist/cjs/types/Interface/api/qonto/Query.js +4 -1
  90. package/dist/cjs/types/Interface/api/qonto/Query.js.map +1 -1
  91. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts +0 -1
  92. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  93. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js +0 -6
  94. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  95. package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.d.ts +4 -5
  96. package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
  97. package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.js +0 -13
  98. package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
  99. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +0 -10
  100. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  101. package/dist/cjs/types/Interface/api/stripe/Create.js +1 -30
  102. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  103. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +0 -6
  104. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  105. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +1 -19
  106. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  107. package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts +4 -0
  108. package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts.map +1 -0
  109. package/dist/cjs/types/Interface/api/{society/QueryToArchived.js → team/QueryUpdateTeamsForUser.js} +9 -10
  110. package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.js.map +1 -0
  111. package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts +5 -0
  112. package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts.map +1 -0
  113. package/dist/cjs/types/Interface/api/{sellsy/SellsyOauthCallback.js → team/QueryUpdateUserTeam.js} +9 -17
  114. package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.js.map +1 -0
  115. package/dist/cjs/types/Interface/api/team/index.d.ts +6 -0
  116. package/dist/cjs/types/Interface/api/team/index.d.ts.map +1 -0
  117. package/dist/cjs/types/Interface/api/team/index.js +22 -0
  118. package/dist/cjs/types/Interface/api/team/index.js.map +1 -0
  119. package/dist/cjs/types/Interface/models/IConnector.d.ts +0 -1
  120. package/dist/cjs/types/Interface/models/IConnector.d.ts.map +1 -1
  121. package/dist/cjs/types/Interface/models/IConnector.js.map +1 -1
  122. package/dist/cjs/types/index.d.ts +2 -5
  123. package/dist/cjs/types/index.d.ts.map +1 -1
  124. package/dist/cjs/types/index.js +2 -5
  125. package/dist/cjs/types/index.js.map +1 -1
  126. package/dist/cjs/utils/vat/3517/century23.d.ts.map +1 -1
  127. package/dist/cjs/utils/vat/3517/century23.js +55 -55
  128. package/dist/cjs/utils/vat/3517/century23.js.map +1 -1
  129. package/dist/mjs/api/resources/Exercice.d.ts +1 -1
  130. package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
  131. package/dist/mjs/api/resources/Exercice.js.map +1 -1
  132. package/dist/mjs/api/resources/Inpi.d.ts +3 -3
  133. package/dist/mjs/api/resources/Inpi.d.ts.map +1 -1
  134. package/dist/mjs/api/resources/Inpi.js +1 -1
  135. package/dist/mjs/api/resources/Inpi.js.map +1 -1
  136. package/dist/mjs/api/resources/Qonto.d.ts +11 -1
  137. package/dist/mjs/api/resources/Qonto.d.ts.map +1 -1
  138. package/dist/mjs/api/resources/Qonto.js +29 -0
  139. package/dist/mjs/api/resources/Qonto.js.map +1 -1
  140. package/dist/mjs/api/resources/Refund.d.ts +1 -1
  141. package/dist/mjs/api/resources/Refund.d.ts.map +1 -1
  142. package/dist/mjs/api/resources/Refund.js.map +1 -1
  143. package/dist/mjs/api/resources/Society.d.ts +1 -2
  144. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  145. package/dist/mjs/api/resources/Society.js +0 -3
  146. package/dist/mjs/api/resources/Society.js.map +1 -1
  147. package/dist/mjs/api/resources/Team.d.ts +15 -1
  148. package/dist/mjs/api/resources/Team.d.ts.map +1 -1
  149. package/dist/mjs/api/resources/Team.js +18 -0
  150. package/dist/mjs/api/resources/Team.js.map +1 -1
  151. package/dist/mjs/api/resources/User.js +1 -1
  152. package/dist/mjs/api/resources/User.js.map +1 -1
  153. package/dist/mjs/api/resources.d.ts +0 -4
  154. package/dist/mjs/api/resources.d.ts.map +1 -1
  155. package/dist/mjs/api/resources.js +0 -4
  156. package/dist/mjs/api/resources.js.map +1 -1
  157. package/dist/mjs/types/Enum/BalanceSheet.d.ts +2 -2
  158. package/dist/mjs/types/Enum/BalanceSheet.js +2 -2
  159. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  160. package/dist/mjs/types/Enum/BrandClementine.js +5 -5
  161. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  162. package/dist/mjs/types/Enum/BrandComptalib.js +1 -1
  163. package/dist/mjs/types/Enum/BrandComptalib.js.map +1 -1
  164. package/dist/mjs/types/Enum/BrandLegalstart.js +1 -1
  165. package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
  166. package/dist/mjs/types/Enum/BrandPourcentage.js +4 -4
  167. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  168. package/dist/mjs/types/Enum/Card.d.ts +12 -20
  169. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  170. package/dist/mjs/types/Enum/Card.js +10 -29
  171. package/dist/mjs/types/Enum/Card.js.map +1 -1
  172. package/dist/mjs/types/Enum/InpiType.d.ts +2 -10
  173. package/dist/mjs/types/Enum/InpiType.d.ts.map +1 -1
  174. package/dist/mjs/types/Enum/InpiType.js +4 -12
  175. package/dist/mjs/types/Enum/InpiType.js.map +1 -1
  176. package/dist/mjs/types/Enum/Phone.d.ts +0 -206
  177. package/dist/mjs/types/Enum/Phone.d.ts.map +1 -1
  178. package/dist/mjs/types/Enum/Phone.js +2 -208
  179. package/dist/mjs/types/Enum/Phone.js.map +1 -1
  180. package/dist/mjs/types/Enum/PrestationType.d.ts +1 -2
  181. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  182. package/dist/mjs/types/Enum/PrestationType.js +16 -36
  183. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  184. package/dist/mjs/types/Form/FormConnector.d.ts +0 -1
  185. package/dist/mjs/types/Form/FormConnector.d.ts.map +1 -1
  186. package/dist/mjs/types/Form/FormConnector.js +11 -84
  187. package/dist/mjs/types/Form/FormConnector.js.map +1 -1
  188. package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +0 -1
  189. package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
  190. package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +0 -8
  191. package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  192. package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +0 -1
  193. package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
  194. package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +0 -5
  195. package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
  196. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.d.ts +46 -0
  197. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -0
  198. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.js +2 -0
  199. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
  200. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +20 -4
  201. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  202. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  203. package/dist/mjs/types/Interface/api/exercice/Create.d.ts +0 -1
  204. package/dist/mjs/types/Interface/api/exercice/Create.d.ts.map +1 -1
  205. package/dist/mjs/types/Interface/api/exercice/Create.js +0 -8
  206. package/dist/mjs/types/Interface/api/exercice/Create.js.map +1 -1
  207. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +0 -1
  208. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  209. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +1 -8
  210. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  211. package/dist/mjs/types/Interface/api/qonto/Create.d.ts +34 -0
  212. package/dist/mjs/types/Interface/api/qonto/Create.d.ts.map +1 -1
  213. package/dist/mjs/types/Interface/api/qonto/Create.js +178 -1
  214. package/dist/mjs/types/Interface/api/qonto/Create.js.map +1 -1
  215. package/dist/mjs/types/Interface/api/qonto/Query.d.ts +44 -0
  216. package/dist/mjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
  217. package/dist/mjs/types/Interface/api/qonto/Query.js +9 -0
  218. package/dist/mjs/types/Interface/api/qonto/Query.js.map +1 -1
  219. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts +0 -1
  220. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  221. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js +0 -7
  222. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  223. package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.d.ts +4 -5
  224. package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
  225. package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.js +0 -14
  226. package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
  227. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +0 -10
  228. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  229. package/dist/mjs/types/Interface/api/stripe/Create.js +1 -34
  230. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  231. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +0 -6
  232. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  233. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +0 -18
  234. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  235. package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts +4 -0
  236. package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts.map +1 -0
  237. package/dist/mjs/types/Interface/api/{society/QueryToArchived.js → team/QueryUpdateTeamsForUser.js} +10 -11
  238. package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.js.map +1 -0
  239. package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts +5 -0
  240. package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts.map +1 -0
  241. package/dist/mjs/types/Interface/api/{sellsy/SellsyOauthCallback.js → team/QueryUpdateUserTeam.js} +10 -19
  242. package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.js.map +1 -0
  243. package/dist/mjs/types/Interface/api/team/index.d.ts +6 -0
  244. package/dist/mjs/types/Interface/api/team/index.d.ts.map +1 -0
  245. package/dist/mjs/types/Interface/api/team/index.js +6 -0
  246. package/dist/mjs/types/Interface/api/team/index.js.map +1 -0
  247. package/dist/mjs/types/Interface/models/IConnector.d.ts +0 -1
  248. package/dist/mjs/types/Interface/models/IConnector.d.ts.map +1 -1
  249. package/dist/mjs/types/Interface/models/IConnector.js.map +1 -1
  250. package/dist/mjs/types/index.d.ts +2 -5
  251. package/dist/mjs/types/index.d.ts.map +1 -1
  252. package/dist/mjs/types/index.js +2 -5
  253. package/dist/mjs/types/index.js.map +1 -1
  254. package/dist/mjs/utils/vat/3517/century23.d.ts.map +1 -1
  255. package/dist/mjs/utils/vat/3517/century23.js +54 -54
  256. package/dist/mjs/utils/vat/3517/century23.js.map +1 -1
  257. package/package.json +1 -1
  258. package/ts/api/resources/Exercice.ts +1 -1
  259. package/ts/api/resources/Inpi.ts +2 -3
  260. package/ts/api/resources/Qonto.ts +43 -0
  261. package/ts/api/resources/Refund.ts +1 -1
  262. package/ts/api/resources/Society.ts +2 -5
  263. package/ts/api/resources/Team.ts +22 -1
  264. package/ts/api/resources/User.ts +1 -1
  265. package/ts/api/resources.ts +0 -4
  266. package/ts/types/Enum/BalanceSheet.ts +2 -2
  267. package/ts/types/Enum/BrandClementine.ts +5 -5
  268. package/ts/types/Enum/BrandComptalib.ts +1 -1
  269. package/ts/types/Enum/BrandLegalstart.ts +1 -1
  270. package/ts/types/Enum/BrandPourcentage.ts +4 -4
  271. package/ts/types/Enum/Card.ts +11 -30
  272. package/ts/types/Enum/InpiType.ts +4 -13
  273. package/ts/types/Enum/Phone.ts +2 -208
  274. package/ts/types/Enum/PrestationType.ts +16 -36
  275. package/ts/types/Form/FormConnector.ts +11 -39
  276. package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +0 -6
  277. package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +0 -3
  278. package/ts/types/Interface/api/companeo/CompaneoReturn.ts +47 -0
  279. package/ts/types/Interface/api/config/ConfigType.ts +22 -2
  280. package/ts/types/Interface/api/exercice/Create.ts +0 -6
  281. package/ts/types/Interface/api/library/QueryLibrary.ts +1 -6
  282. package/ts/types/Interface/api/qonto/Create.ts +128 -1
  283. package/ts/types/Interface/api/qonto/Query.ts +64 -0
  284. package/ts/types/Interface/api/registration/CreateRegistration.ts +0 -5
  285. package/ts/types/Interface/api/shopify/InvoicesShopify.ts +4 -19
  286. package/ts/types/Interface/api/stripe/Create.ts +1 -24
  287. package/ts/types/Interface/api/stripe/QueryStripe.ts +0 -14
  288. package/ts/types/Interface/api/team/QueryUpdateTeamsForUser.ts +9 -0
  289. package/ts/types/Interface/api/team/QueryUpdateUserTeam.ts +12 -0
  290. package/ts/types/Interface/api/team/index.ts +5 -0
  291. package/ts/types/Interface/models/IConnector.ts +0 -1
  292. package/ts/types/index.ts +2 -5
  293. package/ts/utils/vat/3517/century23.ts +54 -55
  294. package/dist/cjs/api/resources/Sellsy.d.ts +0 -19
  295. package/dist/cjs/api/resources/Sellsy.d.ts.map +0 -1
  296. package/dist/cjs/api/resources/Sellsy.js +0 -20
  297. package/dist/cjs/api/resources/Sellsy.js.map +0 -1
  298. package/dist/cjs/api/resources/StripePurchase.d.ts +0 -13
  299. package/dist/cjs/api/resources/StripePurchase.d.ts.map +0 -1
  300. package/dist/cjs/api/resources/StripePurchase.js +0 -17
  301. package/dist/cjs/api/resources/StripePurchase.js.map +0 -1
  302. package/dist/cjs/types/Enum/Stripe.d.ts +0 -4
  303. package/dist/cjs/types/Enum/Stripe.d.ts.map +0 -1
  304. package/dist/cjs/types/Enum/Stripe.js +0 -8
  305. package/dist/cjs/types/Enum/Stripe.js.map +0 -1
  306. package/dist/cjs/types/Interface/api/card/Cron.d.ts +0 -8
  307. package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +0 -1
  308. package/dist/cjs/types/Interface/api/card/Cron.js +0 -39
  309. package/dist/cjs/types/Interface/api/card/Cron.js.map +0 -1
  310. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
  311. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
  312. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
  313. package/dist/cjs/types/Interface/api/inpiPayment/Query.d.ts +0 -14
  314. package/dist/cjs/types/Interface/api/inpiPayment/Query.d.ts.map +0 -1
  315. package/dist/cjs/types/Interface/api/inpiPayment/Query.js +0 -128
  316. package/dist/cjs/types/Interface/api/inpiPayment/Query.js.map +0 -1
  317. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
  318. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
  319. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -3
  320. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
  321. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts +0 -10
  322. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts.map +0 -1
  323. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.js.map +0 -1
  324. package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts +0 -5
  325. package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts.map +0 -1
  326. package/dist/cjs/types/Interface/api/society/QueryToArchived.js.map +0 -1
  327. package/dist/mjs/api/resources/Sellsy.d.ts +0 -19
  328. package/dist/mjs/api/resources/Sellsy.d.ts.map +0 -1
  329. package/dist/mjs/api/resources/Sellsy.js +0 -16
  330. package/dist/mjs/api/resources/Sellsy.js.map +0 -1
  331. package/dist/mjs/api/resources/StripePurchase.d.ts +0 -13
  332. package/dist/mjs/api/resources/StripePurchase.d.ts.map +0 -1
  333. package/dist/mjs/api/resources/StripePurchase.js +0 -16
  334. package/dist/mjs/api/resources/StripePurchase.js.map +0 -1
  335. package/dist/mjs/types/Enum/Stripe.d.ts +0 -4
  336. package/dist/mjs/types/Enum/Stripe.d.ts.map +0 -1
  337. package/dist/mjs/types/Enum/Stripe.js +0 -5
  338. package/dist/mjs/types/Enum/Stripe.js.map +0 -1
  339. package/dist/mjs/types/Interface/api/card/Cron.d.ts +0 -8
  340. package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +0 -1
  341. package/dist/mjs/types/Interface/api/card/Cron.js +0 -37
  342. package/dist/mjs/types/Interface/api/card/Cron.js.map +0 -1
  343. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
  344. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
  345. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js +0 -2
  346. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
  347. package/dist/mjs/types/Interface/api/inpiPayment/Query.d.ts +0 -14
  348. package/dist/mjs/types/Interface/api/inpiPayment/Query.d.ts.map +0 -1
  349. package/dist/mjs/types/Interface/api/inpiPayment/Query.js +0 -135
  350. package/dist/mjs/types/Interface/api/inpiPayment/Query.js.map +0 -1
  351. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
  352. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
  353. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -2
  354. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
  355. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts +0 -10
  356. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts.map +0 -1
  357. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.js.map +0 -1
  358. package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts +0 -5
  359. package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts.map +0 -1
  360. package/dist/mjs/types/Interface/api/society/QueryToArchived.js.map +0 -1
  361. package/ts/api/resources/Sellsy.ts +0 -24
  362. package/ts/api/resources/StripePurchase.ts +0 -22
  363. package/ts/types/Enum/Stripe.ts +0 -3
  364. package/ts/types/Interface/api/card/Cron.ts +0 -21
  365. package/ts/types/Interface/api/connector/OAuthTokenRequest.ts +0 -12
  366. package/ts/types/Interface/api/inpiPayment/Query.ts +0 -103
  367. package/ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts +0 -10
  368. package/ts/types/Interface/api/sellsy/SellsyOauthCallback.ts +0 -24
  369. package/ts/types/Interface/api/society/QueryToArchived.ts +0 -10
@@ -190,7 +190,6 @@ export enum PrestationType {
190
190
  EI = 236,
191
191
  MICRO = 237,
192
192
  GESTION_IMMO = 238,
193
- TERMINATION_FEES = 239,
194
193
  }
195
194
 
196
195
  // Liste des prestations avec une lettre de mission à signer
@@ -1151,7 +1150,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1151
1150
  },
1152
1151
  CESSION_ACTIONS: {
1153
1152
  id: 51,
1154
- name: "Cession d'actions",
1153
+ name: 'Cession d\'actions',
1155
1154
  isComptable: false,
1156
1155
  isJuridique: true,
1157
1156
  isSocial: false,
@@ -1208,7 +1207,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1208
1207
  },
1209
1208
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SASU_EURL: {
1210
1209
  id: 54,
1211
- name: "Modification d'un dirigeant ou d'un commissaire aux compte (SASU / EURL)",
1210
+ name: 'Modification d\'un dirigeant ou d\'un commissaire aux compte (SASU / EURL)',
1212
1211
  isComptable: false,
1213
1212
  isJuridique: true,
1214
1213
  isSocial: false,
@@ -1360,7 +1359,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1360
1359
  },
1361
1360
  MODIFICATION_OBJET_SOCIAL_EURL_SASU: {
1362
1361
  id: 62,
1363
- name: "Modification de l'objet social (EURL/SASU)",
1362
+ name: 'Modification de l\'objet social (EURL/SASU)',
1364
1363
  isComptable: false,
1365
1364
  isJuridique: true,
1366
1365
  isSocial: false,
@@ -1702,7 +1701,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1702
1701
  },
1703
1702
  CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE: {
1704
1703
  id: 80,
1705
- name: "Création d'un dossier informatique par salarié",
1704
+ name: 'Création d\'un dossier informatique par salarié',
1706
1705
  isComptable: false,
1707
1706
  isJuridique: false,
1708
1707
  isSocial: true,
@@ -1721,7 +1720,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1721
1720
  },
1722
1721
  ETABLISSEMENT_CONTRAT_TRAVAIL: {
1723
1722
  id: 81,
1724
- name: "Etablissement d'un contrat de travail",
1723
+ name: 'Etablissement d\'un contrat de travail',
1725
1724
  isComptable: false,
1726
1725
  isJuridique: false,
1727
1726
  isSocial: true,
@@ -1778,7 +1777,7 @@ export const PrestationDetail: PrestationDetailEnum = {
1778
1777
  },
1779
1778
  TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE: {
1780
1779
  id: 84,
1781
- name: "Taxe d'apprentissage et formation continue",
1780
+ name: 'Taxe d\'apprentissage et formation continue',
1782
1781
  isComptable: false,
1783
1782
  isJuridique: false,
1784
1783
  isSocial: true,
@@ -2007,7 +2006,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2007
2006
  },
2008
2007
  ATTESTATION_CA: {
2009
2008
  id: 97,
2010
- name: "Attestation de chiffre d'affaires",
2009
+ name: 'Attestation de chiffre d\'affaires',
2011
2010
  isComptable: true,
2012
2011
  isJuridique: false,
2013
2012
  isSocial: false,
@@ -2045,7 +2044,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2045
2044
  },
2046
2045
  MAJ_ADRESSE_PERSONNELLE_DIRIGEANT_SUR_KBIS: {
2047
2046
  id: 99,
2048
- name: "Mise à jour de l'adresse personnelle du dirigeant sur le Kbis",
2047
+ name: 'Mise à jour de l\'adresse personnelle du dirigeant sur le Kbis',
2049
2048
  isComptable: false,
2050
2049
  isJuridique: true,
2051
2050
  isSocial: false,
@@ -2083,7 +2082,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2083
2082
  },
2084
2083
  MODIFICATION_OBJET_SOCIAL_SARL_SAS_SCI: {
2085
2084
  id: 103,
2086
- name: "Modification de l'objet social (SARL/SAS/SCI)",
2085
+ name: 'Modification de l\'objet social (SARL/SAS/SCI)',
2087
2086
  isComptable: false,
2088
2087
  isJuridique: true,
2089
2088
  isSocial: false,
@@ -2140,7 +2139,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2140
2139
  },
2141
2140
  MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SAS_SARL_SCI: {
2142
2141
  id: 106,
2143
- name: "Modification d’un dirigeant ou d'un commissaire aux compte (SAS / SARL / SCI)",
2142
+ name: 'Modification d’un dirigeant ou d\'un commissaire aux compte (SAS / SARL / SCI)',
2144
2143
  isComptable: false,
2145
2144
  isJuridique: true,
2146
2145
  isSocial: false,
@@ -2710,7 +2709,7 @@ export const PrestationDetail: PrestationDetailEnum = {
2710
2709
  },
2711
2710
  CONTRAT_APPORT_EN_NATURE: {
2712
2711
  id: 138,
2713
- name: "Contrat d'apport en nature",
2712
+ name: 'Contrat d\'apport en nature',
2714
2713
  isComptable: false,
2715
2714
  isJuridique: true,
2716
2715
  isSocial: false,
@@ -3299,7 +3298,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3299
3298
  },
3300
3299
  DECLARATION_IR: {
3301
3300
  id: 206,
3302
- name: "Déclaration d'IR",
3301
+ name: 'Déclaration d\'IR',
3303
3302
  isComptable: true,
3304
3303
  isJuridique: false,
3305
3304
  isSocial: false,
@@ -3413,7 +3412,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3413
3412
  },
3414
3413
  STATUTS_FREE: {
3415
3414
  id: PrestationType.STATUTS_FREE,
3416
- name: "Statuts - Just' Statuts",
3415
+ name: 'Statuts - Just\' Statuts',
3417
3416
  isComptable: true,
3418
3417
  isJuridique: true,
3419
3418
  isSocial: false,
@@ -3432,7 +3431,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3432
3431
  },
3433
3432
  STATUTS_OPTION_1: {
3434
3433
  id: PrestationType.STATUTS_OPTION_1,
3435
- name: "Statuts - Just' Création",
3434
+ name: 'Statuts - Just\' Création',
3436
3435
  isComptable: true,
3437
3436
  isJuridique: true,
3438
3437
  isSocial: false,
@@ -3451,7 +3450,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3451
3450
  },
3452
3451
  STATUTS_OPTION_2: {
3453
3452
  id: PrestationType.STATUTS_OPTION_2,
3454
- name: "Statuts - Full'Créa",
3453
+ name: 'Statuts - Full\'Créa',
3455
3454
  isComptable: true,
3456
3455
  isJuridique: true,
3457
3456
  isSocial: false,
@@ -3637,7 +3636,7 @@ export const PrestationDetail: PrestationDetailEnum = {
3637
3636
  isComplementary: false,
3638
3637
  signaturePosition: '400,54,569,90',
3639
3638
  signaturePage: null,
3640
- point: 0,
3639
+ point: 100,
3641
3640
  },
3642
3641
  CONSULTING_HOUR: {
3643
3642
  id: PrestationType.CONSULTING_HOUR,
@@ -3870,23 +3869,4 @@ export const PrestationDetail: PrestationDetailEnum = {
3870
3869
  signaturePage: 7, //???
3871
3870
  point: 200, //???
3872
3871
  },
3873
- TERMINATION_FEES: {
3874
- id: PrestationType.TERMINATION_FEES,
3875
- name: 'Frais de résiliation',
3876
- isComptable: true,
3877
- isJuridique: false,
3878
- isSocial: false,
3879
- isAttestation: false,
3880
- inAverageCart: false,
3881
- isBack: false,
3882
- minimumPrice: null,
3883
- price: null,
3884
- isCatalog: true,
3885
- isPlannable: false,
3886
- hidden: false,
3887
- isComplementary: false,
3888
- signaturePosition: null,
3889
- signaturePage: null,
3890
- point: 0,
3891
- },
3892
3872
  };
@@ -1,64 +1,36 @@
1
- import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';
2
1
  import { ConnectorType } from '../Enum/ConnectorType';
3
- import { ApiProperty, ApiPropertyOptional } from '../../utils';
4
2
 
5
3
  export class FormConnector {
6
- @ApiPropertyOptional()
7
- @IsOptional()
8
- @IsNumber()
4
+ // @ApiProperty()
9
5
  id?: number;
10
6
 
11
- @ApiPropertyOptional()
12
- @IsOptional()
13
- @IsString()
7
+ // @ApiProperty()
14
8
  username?: string;
15
9
 
16
- @ApiPropertyOptional()
17
- @IsOptional()
18
- @IsString()
10
+ // @ApiProperty()
19
11
  pass?: string;
20
12
 
21
- @ApiPropertyOptional()
22
- @IsOptional()
23
- @IsString()
13
+ // @ApiProperty()
24
14
  url?: string;
25
15
 
26
- @ApiPropertyOptional()
27
- @IsOptional()
28
- @IsString()
16
+ // @ApiProperty()
29
17
  token?: string;
30
18
 
31
- @ApiPropertyOptional()
32
- @IsOptional()
33
- @IsString()
19
+ // @ApiProperty()
34
20
  token2?: string;
35
21
 
36
- @ApiPropertyOptional()
37
- @IsOptional()
38
- @IsString()
22
+ // @ApiProperty()
39
23
  token3?: string;
40
24
 
41
- @ApiPropertyOptional()
42
- @IsOptional()
43
- @IsString()
25
+ // @ApiProperty()
44
26
  token4?: string;
45
27
 
46
- @ApiPropertyOptional()
47
- @IsOptional()
48
- @IsDate()
28
+ // @ApiProperty()
49
29
  date?: Date;
50
30
 
51
- @ApiProperty()
52
- @IsEnum(ConnectorType)
31
+ // @ApiProperty()
53
32
  idTypeConnector: ConnectorType;
54
33
 
55
- @ApiPropertyOptional()
56
- @IsOptional()
57
- @IsNumber()
34
+ // @ApiProperty()
58
35
  idSociety?: number;
59
-
60
- @ApiPropertyOptional()
61
- @IsOptional()
62
- @IsNumber()
63
- expiresIn?: number;
64
36
  }
@@ -86,10 +86,4 @@ export class QueryPaginatedAccountingFile {
86
86
  @IsDateString()
87
87
  @IsOptional()
88
88
  endDate?: string;
89
-
90
- @ApiPropertyOptional()
91
- @IsBoolean()
92
- @ToBoolean()
93
- @IsOptional()
94
- notAttached?: boolean;
95
89
  }
@@ -37,9 +37,6 @@ export class UpdateCalendarEvent {
37
37
  @ApiPropertyOptional()
38
38
  idUser?: number;
39
39
 
40
- @ApiPropertyOptional()
41
- idUserToUpdate?: number;
42
-
43
40
  @ApiPropertyOptional()
44
41
  typeComptable?: number;
45
42
 
@@ -0,0 +1,47 @@
1
+ export interface CompaneoQuestionType {
2
+ $: {
3
+ question_id: number;
4
+ };
5
+ value: string;
6
+ reponse: {
7
+ _?: string;
8
+ $: {
9
+ answer_id: number;
10
+ };
11
+ };
12
+ }
13
+
14
+ export interface CompaneoBasicData {
15
+ _?: string;
16
+ $?: {
17
+ code: string;
18
+ };
19
+ }
20
+
21
+ export interface CompaneoReturn {
22
+ id: number;
23
+ lead_id: number;
24
+ dem_num: string;
25
+ lead_date: Date;
26
+ raison_sociale: string;
27
+ civilite: string;
28
+ nom: string;
29
+ prenom: string;
30
+ activite: CompaneoBasicData;
31
+ poste: CompaneoBasicData;
32
+ fonction: CompaneoBasicData;
33
+ code_postal: string;
34
+ ville: string;
35
+ adresse: string;
36
+ adresse2?: string;
37
+ adresse3?: string;
38
+ email: string;
39
+ telephone: string;
40
+ fax: string;
41
+ mobile: string;
42
+ segment: string;
43
+ date_creation: string;
44
+ commentaire: string;
45
+ comment_companeo: string;
46
+ questionnaire: string;
47
+ }
@@ -17,9 +17,11 @@ export interface ConfigType {
17
17
  brand: ConfigBrand;
18
18
  ocr: Ocr;
19
19
  jeDeclare: JeDeclare;
20
+ notification: Notification;
20
21
  pdfizer: Pdfizer;
21
22
  iDocus: IDocus;
22
- imageMagick: { url: string };
23
+ imageMagick: LambdaInfos;
24
+ companeo: Companeo;
23
25
  inpi: Inpi;
24
26
  brevo: Brevo;
25
27
  tinyurl: LambdaInfos;
@@ -30,7 +32,7 @@ export interface ConfigType {
30
32
  pdftkizer: LambdaInfos;
31
33
  sharper: LambdaInfos;
32
34
  chartizer: LambdaInfos;
33
- authentication?: Authentication;
35
+ authentication: Authentication;
34
36
  }
35
37
 
36
38
  interface Authentication {
@@ -39,6 +41,7 @@ interface Authentication {
39
41
 
40
42
  interface LambdaInfos {
41
43
  url: string;
44
+ key: string;
42
45
  }
43
46
 
44
47
  interface Mongodb {
@@ -132,6 +135,7 @@ interface Shine {
132
135
  hostV3: string;
133
136
  publicHost: string;
134
137
  clientId: string;
138
+ clientSecret: string;
135
139
  redirect_uris: string[];
136
140
  status: string;
137
141
  scope: string;
@@ -154,6 +158,7 @@ interface DefaultPermissions {
154
158
 
155
159
  interface Crisp {
156
160
  identifier: string;
161
+ key: string;
157
162
  }
158
163
 
159
164
  interface ConfigBrand {
@@ -181,6 +186,7 @@ interface Access2 {
181
186
 
182
187
  interface Test {
183
188
  login: string;
189
+ password: string;
184
190
  editor: string;
185
191
  software: string;
186
192
  wsdl: Wsdl;
@@ -192,6 +198,7 @@ interface Wsdl {
192
198
 
193
199
  interface Production {
194
200
  login: string;
201
+ password: string;
195
202
  editor: string;
196
203
  software: string;
197
204
  wsdl: Wsdl2;
@@ -201,17 +208,29 @@ interface Wsdl2 {
201
208
  url: string;
202
209
  }
203
210
 
211
+ export interface Notification {
212
+ hookToken: string;
213
+ }
214
+
204
215
  interface Pdfizer {
205
216
  url: string;
217
+ key: string;
206
218
  }
207
219
 
208
220
  interface IDocus {
209
221
  baseUrl: string;
210
222
  callbackurl: string;
223
+ authorizationKey: string;
224
+ }
225
+
226
+ interface Companeo {
227
+ username: string;
228
+ pass: string;
211
229
  }
212
230
 
213
231
  interface Inpi {
214
232
  username: string;
233
+ password: string;
215
234
  }
216
235
 
217
236
  interface Brevo {
@@ -226,4 +245,5 @@ interface Brevo {
226
245
  interface Echo {
227
246
  url: string;
228
247
  accountid: string;
248
+ apikey: string;
229
249
  }
@@ -82,12 +82,6 @@ export class CreateExercice {
82
82
  @ToBoolean()
83
83
  @IsOptional()
84
84
  isDefault?: boolean;
85
-
86
- @ApiPropertyOptional({ description: 'Simulate exercise creation, return null if it is ok' })
87
- @IsBoolean()
88
- @ToBoolean()
89
- @IsOptional()
90
- isBlankMode?: boolean;
91
85
  }
92
86
 
93
87
  export class CreateProjectExercice {
@@ -1,4 +1,4 @@
1
- import { IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString, IsArray } from 'class-validator';
1
+ import { IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
4
4
  import { RequiredQueryPaginate } from '../BasePaginate';
@@ -130,11 +130,6 @@ export class QueryLibrarySociety extends RequiredQueryPaginate {
130
130
  @ApiPropertyOptional()
131
131
  @IsOptional()
132
132
  idBankAccount?: number | number[];
133
-
134
- @ApiPropertyOptional()
135
- @IsOptional()
136
- @IsArray()
137
- idGedFolders?: GedFolder[];
138
133
  }
139
134
  export class QueryLastFileOfType {
140
135
  @ApiProperty()
@@ -1,5 +1,8 @@
1
- import { IsDateString, IsOptional, IsString, IsArray } from 'class-validator';
1
+ import { IsDateString, IsOptional, IsString, IsArray, IsBoolean, IsNumber } from 'class-validator';
2
2
  import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
3
+ import { RegistrationFileType, ReadStakeHolders } from './Query';
4
+ import { TFile } from '../file/TFile';
5
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
3
6
 
4
7
  export class CreateImportation {
5
8
  @ApiPropertyOptional()
@@ -32,3 +35,127 @@ export class ProcessBankAccount {
32
35
  @IsArray()
33
36
  idsSlugToRemove: Array<string>;
34
37
  }
38
+
39
+ export class CreateQontoRegistration {
40
+ @ApiProperty()
41
+ @IsString()
42
+ legalFlow: 'company_creation' | 'existing_company';
43
+
44
+ @ApiProperty()
45
+ @IsString()
46
+ locale: 'en' | 'fr' | 'it' | 'es' | 'de';
47
+
48
+ @ApiPropertyOptional()
49
+ @IsString()
50
+ @IsOptional()
51
+ firstName?: string | null;
52
+
53
+ @ApiPropertyOptional()
54
+ @IsString()
55
+ @IsOptional()
56
+ lastName?: string | null;
57
+
58
+ @ApiPropertyOptional()
59
+ @IsString()
60
+ @IsOptional()
61
+ email?: string | null;
62
+
63
+ @ApiProperty()
64
+ @IsString()
65
+ entityType: 'freelancer' | 'company';
66
+
67
+ @ApiPropertyOptional()
68
+ @IsString()
69
+ @IsOptional()
70
+ legalName?: string | null;
71
+
72
+ @ApiPropertyOptional()
73
+ @IsString()
74
+ @IsOptional()
75
+ legalForm?: string | null;
76
+
77
+ @ApiPropertyOptional()
78
+ @IsString()
79
+ @IsOptional()
80
+ number?: string | null;
81
+
82
+ @ApiPropertyOptional()
83
+ @IsString()
84
+ @IsOptional()
85
+ sector?: string | null;
86
+
87
+ @ApiPropertyOptional()
88
+ @IsString()
89
+ @IsOptional()
90
+ registrationDate?: string | null;
91
+
92
+ @ApiPropertyOptional()
93
+ @IsString()
94
+ @IsOptional()
95
+ vatNumber?: string | null;
96
+
97
+ @ApiPropertyOptional()
98
+ @IsString()
99
+ @IsOptional()
100
+ addressStreet?: string | null;
101
+
102
+ @ApiPropertyOptional()
103
+ @IsString()
104
+ @IsOptional()
105
+ addressStreet2?: string | null;
106
+
107
+ @ApiPropertyOptional()
108
+ @IsString()
109
+ @IsOptional()
110
+ postalCode?: string | null;
111
+
112
+ @ApiPropertyOptional()
113
+ @IsString()
114
+ @IsOptional()
115
+ city?: string | null;
116
+
117
+ @ApiPropertyOptional()
118
+ @IsString()
119
+ @IsOptional()
120
+ country?: string | null;
121
+
122
+ @ApiProperty()
123
+ @IsString()
124
+ totalCapitalAmount: string;
125
+
126
+ @ApiProperty()
127
+ stakeHolders: ReadStakeHolders;
128
+
129
+ @ApiProperty()
130
+ @IsNumber()
131
+ idSociety: number;
132
+ }
133
+
134
+ export class CreateRegistrationFile {
135
+ @ApiProperty()
136
+ file: TFile;
137
+
138
+ @ApiProperty()
139
+ fileType: RegistrationFileType;
140
+
141
+ @ApiPropertyOptional()
142
+ @IsString()
143
+ @IsOptional()
144
+ stakeholderId?: string;
145
+ }
146
+
147
+ export class CreateWebhookConfig {
148
+ @ApiProperty()
149
+ @IsString()
150
+ callbackUrl: string;
151
+
152
+ @ApiProperty()
153
+ @IsString()
154
+ secret: string;
155
+
156
+ @ApiPropertyOptional()
157
+ @IsBoolean()
158
+ @ToBoolean()
159
+ @IsOptional()
160
+ enabled: boolean;
161
+ }
@@ -79,6 +79,43 @@ export type GetQontoAttachment = {
79
79
  };
80
80
  };
81
81
 
82
+ export type ReadQontoRegistration = {
83
+ id: string;
84
+ legal_flow: string; // Registration type => company_creation (Company in creation), existing_company (Company already exists)
85
+ flow: {
86
+ type: 'manual' | 'seamless'; // which type of flow the user will be redirected
87
+ breakdown: {
88
+ code: string;
89
+ detail: string;
90
+ source: {
91
+ pointer: string;
92
+ };
93
+ } | null;
94
+ };
95
+ status:
96
+ | 'created'
97
+ | 'pending'
98
+ | 'user_started'
99
+ | 'price_plan_selected'
100
+ | 'contract_signed'
101
+ | 'submitted'
102
+ | 'capital_deposit_activated'
103
+ | 'capital_deposit_request_signed'
104
+ | 'capital_deposit_certificate_signed'
105
+ | 'completed';
106
+ redirection_link: string; // link where the user is redirected
107
+ created_at: string;
108
+ updated_at: string;
109
+ locale: string;
110
+ partner_user: {
111
+ first_name: string | null;
112
+ last_name: string | null;
113
+ email: string | null;
114
+ };
115
+ organization: ReadOrganization;
116
+ stakeholders: ReadStakeHolder[];
117
+ };
118
+
82
119
  export type ReadOrganization = {
83
120
  id?: string;
84
121
  entity_type: 'freelancer' | 'company';
@@ -130,3 +167,30 @@ export class ReadStakeHolder {
130
167
  }
131
168
 
132
169
  export type ReadStakeHolders = ReadStakeHolder[];
170
+
171
+ export class ReadQontoRegistrationFile {
172
+ id: string;
173
+ filename: string;
174
+ filesize_bytes: number;
175
+ url: string; // TTL of 2 hours
176
+ created_at: string;
177
+ file_type: string;
178
+ stakeholder_id: string | null;
179
+ }
180
+
181
+ export type ReadQontoWebhookConfig = {
182
+ id: string;
183
+ created_at: string;
184
+ updated_at: string;
185
+ callback_url: string;
186
+ enabled: boolean;
187
+ secret: string;
188
+ };
189
+
190
+ export type RegistrationFileType =
191
+ | 'organization-deposit-certificate'
192
+ | 'organization-proof-of-address'
193
+ | 'organization-by-laws'
194
+ | 'organization-kbis'
195
+ | 'stakeholder-proof-of-identity'
196
+ | 'stakeholder-residence-permit';
@@ -245,11 +245,6 @@ export class CreateAndSendVatMail {
245
245
  @ApiProperty()
246
246
  @IsArray()
247
247
  idFiles: number[];
248
-
249
- @ApiPropertyOptional()
250
- @IsNumber()
251
- @IsOptional()
252
- sendByUserId?: number;
253
248
  }
254
249
 
255
250
  export class DownloadExternalFile {
@@ -1,27 +1,12 @@
1
- import { IsBoolean, IsOptional } from 'class-validator';
2
1
  import { ApiPropertyOptional } from '../../../../utils';
3
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
2
 
5
3
  export class InvoicesShopify {
6
4
  @ApiPropertyOptional()
7
- @IsOptional()
8
- order?: string;
9
-
5
+ order: string;
10
6
  @ApiPropertyOptional()
11
- @IsOptional()
12
- limit?: number;
13
-
7
+ limit: number;
14
8
  @ApiPropertyOptional()
15
- @IsOptional()
16
- ids?: number[];
17
-
18
- @ApiPropertyOptional()
19
- @IsOptional()
20
- idSociety?: number;
21
-
9
+ ids: number[];
22
10
  @ApiPropertyOptional()
23
- @IsOptional()
24
- @IsBoolean()
25
- @ToBoolean()
26
- debug?: boolean;
11
+ idSociety: number;
27
12
  }