@silexpert/core 1.3.95-6 → 1.3.96-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/dist/cjs/api/resources/BalanceSheetReport.d.ts +10 -0
  2. package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
  3. package/dist/cjs/api/resources/BalanceSheetReport.js +23 -0
  4. package/dist/cjs/api/resources/BalanceSheetReport.js.map +1 -0
  5. package/dist/cjs/api/resources/Exercice.d.ts +1 -1
  6. package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Exercice.js.map +1 -1
  8. package/dist/cjs/api/resources/Inpi.d.ts +3 -3
  9. package/dist/cjs/api/resources/Inpi.d.ts.map +1 -1
  10. package/dist/cjs/api/resources/Inpi.js +1 -1
  11. package/dist/cjs/api/resources/Inpi.js.map +1 -1
  12. package/dist/cjs/api/resources/Qonto.d.ts +11 -1
  13. package/dist/cjs/api/resources/Qonto.d.ts.map +1 -1
  14. package/dist/cjs/api/resources/Qonto.js +29 -0
  15. package/dist/cjs/api/resources/Qonto.js.map +1 -1
  16. package/dist/cjs/api/resources/User.js +1 -1
  17. package/dist/cjs/api/resources/User.js.map +1 -1
  18. package/dist/cjs/api/resources.d.ts +2 -4
  19. package/dist/cjs/api/resources.d.ts.map +1 -1
  20. package/dist/cjs/api/resources.js +2 -4
  21. package/dist/cjs/api/resources.js.map +1 -1
  22. package/dist/cjs/types/Enum/BrandClementine.js +5 -5
  23. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  24. package/dist/cjs/types/Enum/BrandComptalib.js +1 -1
  25. package/dist/cjs/types/Enum/BrandComptalib.js.map +1 -1
  26. package/dist/cjs/types/Enum/BrandLegalstart.js +1 -1
  27. package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
  28. package/dist/cjs/types/Enum/BrandPourcentage.js +4 -4
  29. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  30. package/dist/cjs/types/Enum/Card.d.ts +12 -20
  31. package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
  32. package/dist/cjs/types/Enum/Card.js +10 -29
  33. package/dist/cjs/types/Enum/Card.js.map +1 -1
  34. package/dist/cjs/types/Enum/InpiType.d.ts +2 -10
  35. package/dist/cjs/types/Enum/InpiType.d.ts.map +1 -1
  36. package/dist/cjs/types/Enum/InpiType.js +4 -12
  37. package/dist/cjs/types/Enum/InpiType.js.map +1 -1
  38. package/dist/cjs/types/Enum/Phone.d.ts +0 -206
  39. package/dist/cjs/types/Enum/Phone.d.ts.map +1 -1
  40. package/dist/cjs/types/Enum/Phone.js +2 -208
  41. package/dist/cjs/types/Enum/Phone.js.map +1 -1
  42. package/dist/cjs/types/Enum/PrestationType.d.ts +1 -2
  43. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  44. package/dist/cjs/types/Enum/PrestationType.js +16 -29
  45. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  46. package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  47. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +22 -7
  48. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  49. package/dist/cjs/types/Form/FormConnector.d.ts +0 -1
  50. package/dist/cjs/types/Form/FormConnector.d.ts.map +1 -1
  51. package/dist/cjs/types/Form/FormConnector.js +0 -83
  52. package/dist/cjs/types/Form/FormConnector.js.map +1 -1
  53. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
  54. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
  55. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +207 -0
  56. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
  57. package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.d.ts +46 -0
  58. package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -0
  59. package/dist/cjs/types/Interface/api/{connector/OAuthTokenRequest.js → companeo/CompaneoReturn.js} +1 -1
  60. package/dist/cjs/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
  61. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +17 -4
  62. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  63. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  64. package/dist/cjs/types/Interface/api/exercice/Create.d.ts +0 -1
  65. package/dist/cjs/types/Interface/api/exercice/Create.d.ts.map +1 -1
  66. package/dist/cjs/types/Interface/api/exercice/Create.js +0 -7
  67. package/dist/cjs/types/Interface/api/exercice/Create.js.map +1 -1
  68. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +0 -1
  69. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  70. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +0 -6
  71. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  72. package/dist/cjs/types/Interface/api/qonto/Create.d.ts +34 -0
  73. package/dist/cjs/types/Interface/api/qonto/Create.d.ts.map +1 -1
  74. package/dist/cjs/types/Interface/api/qonto/Create.js +155 -1
  75. package/dist/cjs/types/Interface/api/qonto/Create.js.map +1 -1
  76. package/dist/cjs/types/Interface/api/qonto/Query.d.ts +44 -0
  77. package/dist/cjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
  78. package/dist/cjs/types/Interface/api/qonto/Query.js +4 -1
  79. package/dist/cjs/types/Interface/api/qonto/Query.js.map +1 -1
  80. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +0 -10
  81. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  82. package/dist/cjs/types/Interface/api/stripe/Create.js +1 -30
  83. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  84. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +0 -6
  85. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  86. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +1 -19
  87. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  88. package/dist/cjs/types/Interface/models/IAttestation.d.ts +20 -18
  89. package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  90. package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
  91. package/dist/cjs/types/Interface/models/IConnector.d.ts +0 -1
  92. package/dist/cjs/types/Interface/models/IConnector.d.ts.map +1 -1
  93. package/dist/cjs/types/Interface/models/IConnector.js.map +1 -1
  94. package/dist/cjs/types/index.d.ts +2 -4
  95. package/dist/cjs/types/index.d.ts.map +1 -1
  96. package/dist/cjs/types/index.js +2 -4
  97. package/dist/cjs/types/index.js.map +1 -1
  98. package/dist/cjs/utils/vat/3517/century23.d.ts.map +1 -1
  99. package/dist/cjs/utils/vat/3517/century23.js +55 -55
  100. package/dist/cjs/utils/vat/3517/century23.js.map +1 -1
  101. package/dist/mjs/api/resources/BalanceSheetReport.d.ts +10 -0
  102. package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
  103. package/dist/mjs/api/resources/BalanceSheetReport.js +22 -0
  104. package/dist/mjs/api/resources/BalanceSheetReport.js.map +1 -0
  105. package/dist/mjs/api/resources/Exercice.d.ts +1 -1
  106. package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
  107. package/dist/mjs/api/resources/Exercice.js.map +1 -1
  108. package/dist/mjs/api/resources/Inpi.d.ts +3 -3
  109. package/dist/mjs/api/resources/Inpi.d.ts.map +1 -1
  110. package/dist/mjs/api/resources/Inpi.js +1 -1
  111. package/dist/mjs/api/resources/Inpi.js.map +1 -1
  112. package/dist/mjs/api/resources/Qonto.d.ts +11 -1
  113. package/dist/mjs/api/resources/Qonto.d.ts.map +1 -1
  114. package/dist/mjs/api/resources/Qonto.js +29 -0
  115. package/dist/mjs/api/resources/Qonto.js.map +1 -1
  116. package/dist/mjs/api/resources/User.js +1 -1
  117. package/dist/mjs/api/resources/User.js.map +1 -1
  118. package/dist/mjs/api/resources.d.ts +2 -4
  119. package/dist/mjs/api/resources.d.ts.map +1 -1
  120. package/dist/mjs/api/resources.js +2 -4
  121. package/dist/mjs/api/resources.js.map +1 -1
  122. package/dist/mjs/types/Enum/BrandClementine.js +5 -5
  123. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  124. package/dist/mjs/types/Enum/BrandComptalib.js +1 -1
  125. package/dist/mjs/types/Enum/BrandComptalib.js.map +1 -1
  126. package/dist/mjs/types/Enum/BrandLegalstart.js +1 -1
  127. package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
  128. package/dist/mjs/types/Enum/BrandPourcentage.js +4 -4
  129. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  130. package/dist/mjs/types/Enum/Card.d.ts +12 -20
  131. package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
  132. package/dist/mjs/types/Enum/Card.js +10 -29
  133. package/dist/mjs/types/Enum/Card.js.map +1 -1
  134. package/dist/mjs/types/Enum/InpiType.d.ts +2 -10
  135. package/dist/mjs/types/Enum/InpiType.d.ts.map +1 -1
  136. package/dist/mjs/types/Enum/InpiType.js +4 -12
  137. package/dist/mjs/types/Enum/InpiType.js.map +1 -1
  138. package/dist/mjs/types/Enum/Phone.d.ts +0 -206
  139. package/dist/mjs/types/Enum/Phone.d.ts.map +1 -1
  140. package/dist/mjs/types/Enum/Phone.js +2 -208
  141. package/dist/mjs/types/Enum/Phone.js.map +1 -1
  142. package/dist/mjs/types/Enum/PrestationType.d.ts +1 -2
  143. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  144. package/dist/mjs/types/Enum/PrestationType.js +16 -29
  145. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  146. package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  147. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +22 -7
  148. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  149. package/dist/mjs/types/Form/FormConnector.d.ts +0 -1
  150. package/dist/mjs/types/Form/FormConnector.d.ts.map +1 -1
  151. package/dist/mjs/types/Form/FormConnector.js +11 -84
  152. package/dist/mjs/types/Form/FormConnector.js.map +1 -1
  153. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
  154. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
  155. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +200 -0
  156. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
  157. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.d.ts +46 -0
  158. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -0
  159. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.js +2 -0
  160. package/dist/mjs/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
  161. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +17 -4
  162. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  163. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  164. package/dist/mjs/types/Interface/api/exercice/Create.d.ts +0 -1
  165. package/dist/mjs/types/Interface/api/exercice/Create.d.ts.map +1 -1
  166. package/dist/mjs/types/Interface/api/exercice/Create.js +0 -8
  167. package/dist/mjs/types/Interface/api/exercice/Create.js.map +1 -1
  168. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +0 -1
  169. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  170. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +1 -8
  171. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  172. package/dist/mjs/types/Interface/api/qonto/Create.d.ts +34 -0
  173. package/dist/mjs/types/Interface/api/qonto/Create.d.ts.map +1 -1
  174. package/dist/mjs/types/Interface/api/qonto/Create.js +178 -1
  175. package/dist/mjs/types/Interface/api/qonto/Create.js.map +1 -1
  176. package/dist/mjs/types/Interface/api/qonto/Query.d.ts +44 -0
  177. package/dist/mjs/types/Interface/api/qonto/Query.d.ts.map +1 -1
  178. package/dist/mjs/types/Interface/api/qonto/Query.js +9 -0
  179. package/dist/mjs/types/Interface/api/qonto/Query.js.map +1 -1
  180. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +0 -10
  181. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  182. package/dist/mjs/types/Interface/api/stripe/Create.js +1 -34
  183. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  184. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +0 -6
  185. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  186. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +0 -18
  187. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  188. package/dist/mjs/types/Interface/models/IAttestation.d.ts +20 -18
  189. package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  190. package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
  191. package/dist/mjs/types/Interface/models/IConnector.d.ts +0 -1
  192. package/dist/mjs/types/Interface/models/IConnector.d.ts.map +1 -1
  193. package/dist/mjs/types/Interface/models/IConnector.js.map +1 -1
  194. package/dist/mjs/types/index.d.ts +2 -4
  195. package/dist/mjs/types/index.d.ts.map +1 -1
  196. package/dist/mjs/types/index.js +2 -4
  197. package/dist/mjs/types/index.js.map +1 -1
  198. package/dist/mjs/utils/vat/3517/century23.d.ts.map +1 -1
  199. package/dist/mjs/utils/vat/3517/century23.js +54 -54
  200. package/dist/mjs/utils/vat/3517/century23.js.map +1 -1
  201. package/package.json +14 -14
  202. package/ts/api/resources/BalanceSheetReport.ts +36 -0
  203. package/ts/api/resources/Exercice.ts +1 -1
  204. package/ts/api/resources/Inpi.ts +2 -3
  205. package/ts/api/resources/Qonto.ts +43 -0
  206. package/ts/api/resources/User.ts +1 -1
  207. package/ts/api/resources.ts +2 -4
  208. package/ts/types/Enum/BrandClementine.ts +5 -5
  209. package/ts/types/Enum/BrandComptalib.ts +1 -1
  210. package/ts/types/Enum/BrandLegalstart.ts +1 -1
  211. package/ts/types/Enum/BrandPourcentage.ts +4 -4
  212. package/ts/types/Enum/Card.ts +11 -30
  213. package/ts/types/Enum/InpiType.ts +4 -13
  214. package/ts/types/Enum/Phone.ts +2 -208
  215. package/ts/types/Enum/PrestationType.ts +16 -29
  216. package/ts/types/Enum/SalesContractBrandClementine.ts +22 -7
  217. package/ts/types/Form/FormConnector.ts +11 -39
  218. package/ts/types/Interface/api/balanceSheetReport/Query.ts +160 -0
  219. package/ts/types/Interface/api/companeo/CompaneoReturn.ts +47 -0
  220. package/ts/types/Interface/api/config/ConfigType.ts +19 -2
  221. package/ts/types/Interface/api/exercice/Create.ts +0 -6
  222. package/ts/types/Interface/api/library/QueryLibrary.ts +1 -6
  223. package/ts/types/Interface/api/qonto/Create.ts +128 -1
  224. package/ts/types/Interface/api/qonto/Query.ts +64 -0
  225. package/ts/types/Interface/api/stripe/Create.ts +1 -24
  226. package/ts/types/Interface/api/stripe/QueryStripe.ts +0 -14
  227. package/ts/types/Interface/models/IAttestation.ts +20 -18
  228. package/ts/types/Interface/models/IConnector.ts +0 -1
  229. package/ts/types/index.ts +2 -4
  230. package/ts/utils/vat/3517/century23.ts +54 -55
  231. package/dist/cjs/api/resources/Sellsy.d.ts +0 -19
  232. package/dist/cjs/api/resources/Sellsy.d.ts.map +0 -1
  233. package/dist/cjs/api/resources/Sellsy.js +0 -20
  234. package/dist/cjs/api/resources/Sellsy.js.map +0 -1
  235. package/dist/cjs/api/resources/StripePurchase.d.ts +0 -13
  236. package/dist/cjs/api/resources/StripePurchase.d.ts.map +0 -1
  237. package/dist/cjs/api/resources/StripePurchase.js +0 -17
  238. package/dist/cjs/api/resources/StripePurchase.js.map +0 -1
  239. package/dist/cjs/types/Enum/Stripe.d.ts +0 -4
  240. package/dist/cjs/types/Enum/Stripe.d.ts.map +0 -1
  241. package/dist/cjs/types/Enum/Stripe.js +0 -8
  242. package/dist/cjs/types/Enum/Stripe.js.map +0 -1
  243. package/dist/cjs/types/Interface/api/card/Cron.d.ts +0 -8
  244. package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +0 -1
  245. package/dist/cjs/types/Interface/api/card/Cron.js +0 -39
  246. package/dist/cjs/types/Interface/api/card/Cron.js.map +0 -1
  247. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
  248. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
  249. package/dist/cjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
  250. package/dist/cjs/types/Interface/api/inpiPayment/Query.d.ts +0 -14
  251. package/dist/cjs/types/Interface/api/inpiPayment/Query.d.ts.map +0 -1
  252. package/dist/cjs/types/Interface/api/inpiPayment/Query.js +0 -128
  253. package/dist/cjs/types/Interface/api/inpiPayment/Query.js.map +0 -1
  254. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
  255. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
  256. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -3
  257. package/dist/cjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
  258. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts +0 -10
  259. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts.map +0 -1
  260. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.js +0 -36
  261. package/dist/cjs/types/Interface/api/sellsy/SellsyOauthCallback.js.map +0 -1
  262. package/dist/mjs/api/resources/Sellsy.d.ts +0 -19
  263. package/dist/mjs/api/resources/Sellsy.d.ts.map +0 -1
  264. package/dist/mjs/api/resources/Sellsy.js +0 -16
  265. package/dist/mjs/api/resources/Sellsy.js.map +0 -1
  266. package/dist/mjs/api/resources/StripePurchase.d.ts +0 -13
  267. package/dist/mjs/api/resources/StripePurchase.d.ts.map +0 -1
  268. package/dist/mjs/api/resources/StripePurchase.js +0 -16
  269. package/dist/mjs/api/resources/StripePurchase.js.map +0 -1
  270. package/dist/mjs/types/Enum/Stripe.d.ts +0 -4
  271. package/dist/mjs/types/Enum/Stripe.d.ts.map +0 -1
  272. package/dist/mjs/types/Enum/Stripe.js +0 -5
  273. package/dist/mjs/types/Enum/Stripe.js.map +0 -1
  274. package/dist/mjs/types/Interface/api/card/Cron.d.ts +0 -8
  275. package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +0 -1
  276. package/dist/mjs/types/Interface/api/card/Cron.js +0 -37
  277. package/dist/mjs/types/Interface/api/card/Cron.js.map +0 -1
  278. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts +0 -12
  279. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.d.ts.map +0 -1
  280. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js +0 -2
  281. package/dist/mjs/types/Interface/api/connector/OAuthTokenRequest.js.map +0 -1
  282. package/dist/mjs/types/Interface/api/inpiPayment/Query.d.ts +0 -14
  283. package/dist/mjs/types/Interface/api/inpiPayment/Query.d.ts.map +0 -1
  284. package/dist/mjs/types/Interface/api/inpiPayment/Query.js +0 -135
  285. package/dist/mjs/types/Interface/api/inpiPayment/Query.js.map +0 -1
  286. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts +0 -11
  287. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.d.ts.map +0 -1
  288. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js +0 -2
  289. package/dist/mjs/types/Interface/api/sellsy/SellsyConnectionStatus.js.map +0 -1
  290. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts +0 -10
  291. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.d.ts.map +0 -1
  292. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.js +0 -35
  293. package/dist/mjs/types/Interface/api/sellsy/SellsyOauthCallback.js.map +0 -1
  294. package/ts/api/resources/Sellsy.ts +0 -24
  295. package/ts/api/resources/StripePurchase.ts +0 -22
  296. package/ts/types/Enum/Stripe.ts +0 -3
  297. package/ts/types/Interface/api/card/Cron.ts +0 -21
  298. package/ts/types/Interface/api/connector/OAuthTokenRequest.ts +0 -12
  299. package/ts/types/Interface/api/inpiPayment/Query.ts +0 -103
  300. package/ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts +0 -10
  301. package/ts/types/Interface/api/sellsy/SellsyOauthCallback.ts +0 -24
@@ -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';
@@ -1,7 +1,6 @@
1
- import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';
1
+ import { IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import type Stripe from 'stripe';
4
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
5
4
  export class CreateStripeConnection {
6
5
  @ApiProperty()
7
6
  @IsString()
@@ -124,25 +123,3 @@ export class CreateTapToPayConnectionToken {
124
123
  @IsOptional()
125
124
  locationId?: string;
126
125
  }
127
-
128
- export class CreatePurchaseSession {
129
- @ApiProperty({ description: 'Is software or accountancy product' })
130
- @IsBoolean()
131
- @ToBoolean()
132
- isSoftware: boolean;
133
-
134
- @ApiProperty({ description: 'Redirection link on success' })
135
- @IsString()
136
- successRedirection: string;
137
-
138
- @ApiProperty({ description: 'Redirection link on cancel / error' })
139
- @IsString()
140
- cancelRedirection: string;
141
-
142
- @ApiPropertyOptional()
143
- metadata?: Record<string, string | number>;
144
-
145
- @ApiProperty()
146
- @IsArray()
147
- items: Array<{ priceId: string; quantity: number }>;
148
- }
@@ -21,17 +21,3 @@ export class QueryStripeSubscriptionId {
21
21
  @IsString()
22
22
  customerId: string;
23
23
  }
24
-
25
- export class QueryStripePrice {
26
- @ApiProperty()
27
- @IsBoolean()
28
- @ToBoolean()
29
- isSoftware: boolean;
30
- }
31
-
32
- export class QueryStripePurchaseHook {
33
- @ApiProperty()
34
- @IsBoolean()
35
- @ToBoolean()
36
- isSoftware: boolean;
37
- }
@@ -14,27 +14,29 @@ export interface IAttestation {
14
14
  idExercice: number | null;
15
15
  idSociety: number | null;
16
16
  idSupervisor: number | null;
17
- idUserDemand: number | null;
18
- idPaymentExpectation: number | null;
19
- idFile: number | null;
17
+ idUserDemand?: number | null;
18
+ idPaymentExpectation?: number | null;
19
+ idFile?: number | null;
20
20
  annoted: boolean;
21
- sendDate: Date | null;
22
- textPdf: string | null;
23
- isSign: boolean | null;
24
- done: boolean | null;
25
- idMailPayment: number | null;
26
- idMailValidation: number | null;
21
+ factured: number;
22
+ sendDate?: Date | null;
23
+ textPdf?: string | null;
24
+ isSign?: boolean | null;
25
+ done?: boolean | null;
26
+ idMailPayment?: number | null;
27
+ idMailValidation?: number | null;
28
+ fileLink?: string;
27
29
  createdAt?: Date | null;
28
30
  updatedAt?: Date | null;
29
31
 
30
32
  // Associations
31
- attestationSupervisor: IUser;
32
- attestationUserDemand: IUser;
33
- prestationsList: IPrestationList;
34
- attestationPaymentExpectation: IPaymentExpectation;
35
- attestationFiles: IFile;
36
- society: ISociety;
37
- exercices: IExercice;
38
- paymentMail: IMail;
39
- validationMail: IMail;
33
+ attestationSupervisor?: IUser | null;
34
+ attestationUserDemand?: IUser | null;
35
+ prestationsList?: IPrestationList;
36
+ attestationPaymentExpectation?: IPaymentExpectation | null;
37
+ attestationFiles?: IFile | null;
38
+ society?: ISociety | null;
39
+ exercices?: IExercice | null;
40
+ paymentMail?: IMail | null;
41
+ validationMail?: IMail | null;
40
42
  }
@@ -20,5 +20,4 @@ export interface IConnector {
20
20
  // Associations
21
21
  typeConnector: IConnectorType;
22
22
  society: ISociety;
23
- expiresIn: number | null;
24
23
  }
package/ts/types/index.ts CHANGED
@@ -760,12 +760,12 @@ export * from './Interface/api/ratingHistory/CreateRatingHistory';
760
760
  export * from './Interface/api/inpiBalance/inpiBalanceStatistic';
761
761
  export * from './Interface/api/inpiPayment/QueryInpiPaymentStatistic';
762
762
  export * from './Interface/api/inpiPayment/QueryInpiPaymentPaginated';
763
- export * from './Interface/api/inpiPayment/Query';
764
763
  export * from './Interface/api/vatRegimeHistory/QueryVatRegimeHistory';
765
764
  export * from './Interface/api/textMessage/Create';
766
765
  export * from './Interface/api/textMessage/Update';
767
766
  export * from './Interface/api/textMessage/Query';
768
767
  export * from './Interface/api/textMessage/Read';
768
+ export * from './Interface/api/companeo/CompaneoReturn';
769
769
  export * from './Interface/api/inpi/inpi';
770
770
  export * from './Interface/api/team/QueryCreate';
771
771
  export * from './Interface/api/team/QueryGetAllWithIncludes';
@@ -826,6 +826,7 @@ export * from './Interface/api/pappers/CreatePappers';
826
826
  export * from './Interface/api/bankAccount/Query';
827
827
  export * from './Interface/api/bankAccount/Update';
828
828
  export * from './Interface/api/stripe/QueryStripe';
829
+ export * from './Interface/api/balanceSheetReport/Query';
829
830
  export * from './Interface/api/supervision/Query';
830
831
  export * from './Interface/api/supervision/Read';
831
832
  export * from './Interface/api/salariesFile/ReadSalariesFile';
@@ -992,7 +993,6 @@ export * from './Interface/api/commercialOffer/Query';
992
993
  export * from './Interface/api/documentSection/Update';
993
994
  export * from './Interface/api/connector/CreateConnector';
994
995
  export * from './Interface/api/connector/QueryConnector';
995
- export * from './Interface/api/connector/OAuthTokenRequest';
996
996
  export * from './Interface/api/connection/Query';
997
997
  export * from './Interface/api/connection/QueryConnectionState';
998
998
  export * from './Interface/api/connection/ReadConnectionState';
@@ -1109,7 +1109,6 @@ export * from './Interface/api/companyMarketingInformation/CompanyMarketingInfor
1109
1109
  export * from './Interface/api/companyMarketingInformation/CreateCompanyMarketingInformation';
1110
1110
  export * from './Interface/api/companyMarketingInformation/UpdateCompanyMarketingInformation';
1111
1111
  export * from './Interface/api/sellsy/CreateInvoicesSellsy';
1112
- export * from './Interface/api/sellsy/SellsyConnectionStatus';
1113
1112
  export * from './Interface/api/PaymentRecovery/Create';
1114
1113
  export * from './Interface/api/yousign/index';
1115
1114
  export * from './Interface/api/aspone/AsponeApi';
@@ -1124,7 +1123,6 @@ export * from './Interface/api/config/ConfigType';
1124
1123
  export * from './Interface/api/card/ModifyBalanceSheet';
1125
1124
  export * from './Interface/api/card/ModifyAcceptation';
1126
1125
  export * from './Interface/api/card/ModifyCustomerVat';
1127
- export * from './Interface/api/card/Cron';
1128
1126
  export * from './Interface/api/user/RegisterProspect';
1129
1127
  export * from './Interface/api/stateBankAccount/Query';
1130
1128
  export * from './Interface/api/absenceRequest/QueryAbsenceRequest';