@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
@@ -9,9 +9,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ProcessBankAccount = exports.CreateQontoConnection = exports.CreateImportation = void 0;
12
+ exports.CreateWebhookConfig = exports.CreateRegistrationFile = exports.CreateQontoRegistration = exports.ProcessBankAccount = exports.CreateQontoConnection = exports.CreateImportation = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
15
16
  class CreateImportation {
16
17
  }
17
18
  exports.CreateImportation = CreateImportation;
@@ -53,4 +54,157 @@ __decorate([
53
54
  (0, class_validator_1.IsArray)(),
54
55
  __metadata("design:type", Array)
55
56
  ], ProcessBankAccount.prototype, "idsSlugToRemove", void 0);
57
+ class CreateQontoRegistration {
58
+ }
59
+ exports.CreateQontoRegistration = CreateQontoRegistration;
60
+ __decorate([
61
+ (0, utils_1.ApiProperty)(),
62
+ (0, class_validator_1.IsString)(),
63
+ __metadata("design:type", String)
64
+ ], CreateQontoRegistration.prototype, "legalFlow", void 0);
65
+ __decorate([
66
+ (0, utils_1.ApiProperty)(),
67
+ (0, class_validator_1.IsString)(),
68
+ __metadata("design:type", String)
69
+ ], CreateQontoRegistration.prototype, "locale", void 0);
70
+ __decorate([
71
+ (0, utils_1.ApiPropertyOptional)(),
72
+ (0, class_validator_1.IsString)(),
73
+ (0, class_validator_1.IsOptional)(),
74
+ __metadata("design:type", Object)
75
+ ], CreateQontoRegistration.prototype, "firstName", void 0);
76
+ __decorate([
77
+ (0, utils_1.ApiPropertyOptional)(),
78
+ (0, class_validator_1.IsString)(),
79
+ (0, class_validator_1.IsOptional)(),
80
+ __metadata("design:type", Object)
81
+ ], CreateQontoRegistration.prototype, "lastName", void 0);
82
+ __decorate([
83
+ (0, utils_1.ApiPropertyOptional)(),
84
+ (0, class_validator_1.IsString)(),
85
+ (0, class_validator_1.IsOptional)(),
86
+ __metadata("design:type", Object)
87
+ ], CreateQontoRegistration.prototype, "email", void 0);
88
+ __decorate([
89
+ (0, utils_1.ApiProperty)(),
90
+ (0, class_validator_1.IsString)(),
91
+ __metadata("design:type", String)
92
+ ], CreateQontoRegistration.prototype, "entityType", void 0);
93
+ __decorate([
94
+ (0, utils_1.ApiPropertyOptional)(),
95
+ (0, class_validator_1.IsString)(),
96
+ (0, class_validator_1.IsOptional)(),
97
+ __metadata("design:type", Object)
98
+ ], CreateQontoRegistration.prototype, "legalName", void 0);
99
+ __decorate([
100
+ (0, utils_1.ApiPropertyOptional)(),
101
+ (0, class_validator_1.IsString)(),
102
+ (0, class_validator_1.IsOptional)(),
103
+ __metadata("design:type", Object)
104
+ ], CreateQontoRegistration.prototype, "legalForm", void 0);
105
+ __decorate([
106
+ (0, utils_1.ApiPropertyOptional)(),
107
+ (0, class_validator_1.IsString)(),
108
+ (0, class_validator_1.IsOptional)(),
109
+ __metadata("design:type", Object)
110
+ ], CreateQontoRegistration.prototype, "number", void 0);
111
+ __decorate([
112
+ (0, utils_1.ApiPropertyOptional)(),
113
+ (0, class_validator_1.IsString)(),
114
+ (0, class_validator_1.IsOptional)(),
115
+ __metadata("design:type", Object)
116
+ ], CreateQontoRegistration.prototype, "sector", void 0);
117
+ __decorate([
118
+ (0, utils_1.ApiPropertyOptional)(),
119
+ (0, class_validator_1.IsString)(),
120
+ (0, class_validator_1.IsOptional)(),
121
+ __metadata("design:type", Object)
122
+ ], CreateQontoRegistration.prototype, "registrationDate", void 0);
123
+ __decorate([
124
+ (0, utils_1.ApiPropertyOptional)(),
125
+ (0, class_validator_1.IsString)(),
126
+ (0, class_validator_1.IsOptional)(),
127
+ __metadata("design:type", Object)
128
+ ], CreateQontoRegistration.prototype, "vatNumber", void 0);
129
+ __decorate([
130
+ (0, utils_1.ApiPropertyOptional)(),
131
+ (0, class_validator_1.IsString)(),
132
+ (0, class_validator_1.IsOptional)(),
133
+ __metadata("design:type", Object)
134
+ ], CreateQontoRegistration.prototype, "addressStreet", void 0);
135
+ __decorate([
136
+ (0, utils_1.ApiPropertyOptional)(),
137
+ (0, class_validator_1.IsString)(),
138
+ (0, class_validator_1.IsOptional)(),
139
+ __metadata("design:type", Object)
140
+ ], CreateQontoRegistration.prototype, "addressStreet2", void 0);
141
+ __decorate([
142
+ (0, utils_1.ApiPropertyOptional)(),
143
+ (0, class_validator_1.IsString)(),
144
+ (0, class_validator_1.IsOptional)(),
145
+ __metadata("design:type", Object)
146
+ ], CreateQontoRegistration.prototype, "postalCode", void 0);
147
+ __decorate([
148
+ (0, utils_1.ApiPropertyOptional)(),
149
+ (0, class_validator_1.IsString)(),
150
+ (0, class_validator_1.IsOptional)(),
151
+ __metadata("design:type", Object)
152
+ ], CreateQontoRegistration.prototype, "city", void 0);
153
+ __decorate([
154
+ (0, utils_1.ApiPropertyOptional)(),
155
+ (0, class_validator_1.IsString)(),
156
+ (0, class_validator_1.IsOptional)(),
157
+ __metadata("design:type", Object)
158
+ ], CreateQontoRegistration.prototype, "country", void 0);
159
+ __decorate([
160
+ (0, utils_1.ApiProperty)(),
161
+ (0, class_validator_1.IsString)(),
162
+ __metadata("design:type", String)
163
+ ], CreateQontoRegistration.prototype, "totalCapitalAmount", void 0);
164
+ __decorate([
165
+ (0, utils_1.ApiProperty)(),
166
+ __metadata("design:type", Array)
167
+ ], CreateQontoRegistration.prototype, "stakeHolders", void 0);
168
+ __decorate([
169
+ (0, utils_1.ApiProperty)(),
170
+ (0, class_validator_1.IsNumber)(),
171
+ __metadata("design:type", Number)
172
+ ], CreateQontoRegistration.prototype, "idSociety", void 0);
173
+ class CreateRegistrationFile {
174
+ }
175
+ exports.CreateRegistrationFile = CreateRegistrationFile;
176
+ __decorate([
177
+ (0, utils_1.ApiProperty)(),
178
+ __metadata("design:type", Object)
179
+ ], CreateRegistrationFile.prototype, "file", void 0);
180
+ __decorate([
181
+ (0, utils_1.ApiProperty)(),
182
+ __metadata("design:type", String)
183
+ ], CreateRegistrationFile.prototype, "fileType", void 0);
184
+ __decorate([
185
+ (0, utils_1.ApiPropertyOptional)(),
186
+ (0, class_validator_1.IsString)(),
187
+ (0, class_validator_1.IsOptional)(),
188
+ __metadata("design:type", String)
189
+ ], CreateRegistrationFile.prototype, "stakeholderId", void 0);
190
+ class CreateWebhookConfig {
191
+ }
192
+ exports.CreateWebhookConfig = CreateWebhookConfig;
193
+ __decorate([
194
+ (0, utils_1.ApiProperty)(),
195
+ (0, class_validator_1.IsString)(),
196
+ __metadata("design:type", String)
197
+ ], CreateWebhookConfig.prototype, "callbackUrl", void 0);
198
+ __decorate([
199
+ (0, utils_1.ApiProperty)(),
200
+ (0, class_validator_1.IsString)(),
201
+ __metadata("design:type", String)
202
+ ], CreateWebhookConfig.prototype, "secret", void 0);
203
+ __decorate([
204
+ (0, utils_1.ApiPropertyOptional)(),
205
+ (0, class_validator_1.IsBoolean)(),
206
+ (0, boolean_transform_1.ToBoolean)(),
207
+ (0, class_validator_1.IsOptional)(),
208
+ __metadata("design:type", Boolean)
209
+ ], CreateWebhookConfig.prototype, "enabled", void 0);
56
210
  //# sourceMappingURL=Create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAC9E,6CAAqE;AAErE,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;kDACE;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;kDACE;AAGnB,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACG;AAId;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACM;AAGnB,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;8BACI,KAAK;wDAAS;AAI5B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;8BACO,KAAK;2DAAS","sourcesContent":["import { IsDateString, IsOptional, IsString, IsArray } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\n\nexport class CreateImportation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n}\n\nexport class CreateQontoConnection {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n}\n\nexport class ProcessBankAccount {\n @ApiProperty()\n @IsArray()\n idsSlugToAdd: Array<string>;\n\n @ApiProperty()\n @IsArray()\n idsSlugToRemove: Array<string>;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmG;AACnG,6CAAqE;AAGrE,sFAA2E;AAE3E,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;kDACE;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;kDACE;AAGnB,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACG;AAId;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACM;AAGnB,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,I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Q,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACiB;AAK9B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACkB;AAK/B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACc;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACW;AAIxB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;mEACgB;AAG3B;IADC,IAAA,mBAAW,GAAE;;6DACiB;AAI/B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0DACO;AAGpB,MAAa,sBAAsB;CAWlC;AAXD,wDAWC;AATC;IADC,IAAA,mBAAW,GAAE;;oDACF;AAGZ;IADC,IAAA,mBAAW,GAAE;;wDACiB;AAK/B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACU;AAGzB,MAAa,mBAAmB;CAc/B;AAdD,kDAcC;AAXC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;wDACS;AAIpB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;mDACI;AAMf;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACI","sourcesContent":["import { IsDateString, IsOptional, IsString, IsArray, IsBoolean, IsNumber } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\nimport { RegistrationFileType, ReadStakeHolders } from './Query';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateImportation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n}\n\nexport class CreateQontoConnection {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n}\n\nexport class ProcessBankAccount {\n @ApiProperty()\n @IsArray()\n idsSlugToAdd: Array<string>;\n\n @ApiProperty()\n @IsArray()\n idsSlugToRemove: Array<string>;\n}\n\nexport class CreateQontoRegistration {\n @ApiProperty()\n @IsString()\n legalFlow: 'company_creation' | 'existing_company';\n\n @ApiProperty()\n @IsString()\n locale: 'en' | 'fr' | 'it' | 'es' | 'de';\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n firstName?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n lastName?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n email?: string | null;\n\n @ApiProperty()\n @IsString()\n entityType: 'freelancer' | 'company';\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n legalName?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n legalForm?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n number?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n sector?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n registrationDate?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n vatNumber?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n addressStreet?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n addressStreet2?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n postalCode?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n country?: string | null;\n\n @ApiProperty()\n @IsString()\n totalCapitalAmount: string;\n\n @ApiProperty()\n stakeHolders: ReadStakeHolders;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n}\n\nexport class CreateRegistrationFile {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n fileType: RegistrationFileType;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n stakeholderId?: string;\n}\n\nexport class CreateWebhookConfig {\n @ApiProperty()\n @IsString()\n callbackUrl: string;\n\n @ApiProperty()\n @IsString()\n secret: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n enabled: boolean;\n}\n"]}
@@ -74,6 +74,32 @@ export type GetQontoAttachment = {
74
74
  url: string | null;
75
75
  };
76
76
  };
77
+ export type ReadQontoRegistration = {
78
+ id: string;
79
+ legal_flow: string;
80
+ flow: {
81
+ type: 'manual' | 'seamless';
82
+ breakdown: {
83
+ code: string;
84
+ detail: string;
85
+ source: {
86
+ pointer: string;
87
+ };
88
+ } | null;
89
+ };
90
+ status: 'created' | 'pending' | 'user_started' | 'price_plan_selected' | 'contract_signed' | 'submitted' | 'capital_deposit_activated' | 'capital_deposit_request_signed' | 'capital_deposit_certificate_signed' | 'completed';
91
+ redirection_link: string;
92
+ created_at: string;
93
+ updated_at: string;
94
+ locale: string;
95
+ partner_user: {
96
+ first_name: string | null;
97
+ last_name: string | null;
98
+ email: string | null;
99
+ };
100
+ organization: ReadOrganization;
101
+ stakeholders: ReadStakeHolder[];
102
+ };
77
103
  export type ReadOrganization = {
78
104
  id?: string;
79
105
  entity_type: 'freelancer' | 'company';
@@ -123,4 +149,22 @@ export declare class ReadStakeHolder {
123
149
  shareholding_type: 'physical' | null;
124
150
  }
125
151
  export type ReadStakeHolders = ReadStakeHolder[];
152
+ export declare class ReadQontoRegistrationFile {
153
+ id: string;
154
+ filename: string;
155
+ filesize_bytes: number;
156
+ url: string;
157
+ created_at: string;
158
+ file_type: string;
159
+ stakeholder_id: string | null;
160
+ }
161
+ export type ReadQontoWebhookConfig = {
162
+ id: string;
163
+ created_at: string;
164
+ updated_at: string;
165
+ callback_url: string;
166
+ enabled: boolean;
167
+ secret: string;
168
+ };
169
+ export type RegistrationFileType = 'organization-deposit-certificate' | 'organization-proof-of-address' | 'organization-by-laws' | 'organization-kbis' | 'stakeholder-proof-of-identity' | 'stakeholder-residence-permit';
126
170
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,wBAAwB,EAAE,MAAM,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,aAAa,EAAE,4BAA4B,EAAE,CAAC;KAC/C,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,IAAI,EAAE;QACJ,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,Q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AO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC5B,kCAAkC,GAClC,+BAA+B,GAC/B,sBAAsB,GACtB,mBAAmB,GACnB,+BAA+B,GAC/B,8BAA8B,CAAC"}
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReadStakeHolder = void 0;
3
+ exports.ReadQontoRegistrationFile = exports.ReadStakeHolder = void 0;
4
4
  class ReadStakeHolder {
5
5
  }
6
6
  exports.ReadStakeHolder = ReadStakeHolder;
7
+ class ReadQontoRegistrationFile {
8
+ }
9
+ exports.ReadQontoRegistrationFile = ReadQontoRegistrationFile;
7
10
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":";;;AAuGA,MAAa,eAAe;CA0B3B;AA1BD,0CA0BC","sourcesContent":["export type QontoOrganisationBankAccount = {\n slug: string;\n iban: string;\n bic: string | null;\n currency: string;\n balance: number;\n balance_cents: number;\n authorized_balance: number;\n authorized_balance_cents: number;\n updated_at: string;\n status: 'active' | 'closed';\n};\n\nexport type GetQontoOrganization = {\n organization: {\n slug: string;\n legal_name: string | null;\n bank_accounts: QontoOrganisationBankAccount[];\n };\n};\n\nexport type GetQontoTransactionsResponse = {\n transactions: QontoTransaction[];\n meta: {\n current_page: number;\n next_page: number | null;\n prev_page: number | null;\n total_pages: number;\n total_count: number;\n per_page: number;\n };\n};\n\nexport type QontoTransaction = {\n transaction_id: string;\n amount: number;\n amount_cents: number;\n settled_balance: number;\n settled_balance_cents: number;\n attachment_ids: string[];\n local_amount: number;\n local_amount_cents: number;\n side: string;\n operation_type: string;\n currency: string;\n local_currency: string;\n label: string;\n settled_at: string;\n emitted_at: string;\n updated_at: string;\n status: string;\n note: string;\n reference: string | null;\n vat_amount: number | null;\n vat_amount_cents: number | null;\n vat_rate: number | null;\n initiator_id: string | null;\n label_ids: string[];\n attachment_lost: boolean;\n attachment_required: boolean;\n card_last_digits: string | null;\n category: string | null;\n id: string | null;\n};\n\nexport type GetQontoAttachment = {\n id: string;\n created_at: string;\n file_name: string;\n file_size: string;\n file_content_type: string;\n url: string;\n probative_attachment: {\n status: string;\n file_name: string;\n file_content_type: string;\n file_size: string;\n url: string | null;\n };\n};\n\nexport type ReadOrganization = {\n id?: string;\n entity_type: 'freelancer' | 'company';\n legal_name: string | null;\n legal_form: string | null;\n legal_number?: string | null;\n legal_sector?: string | null;\n legal_registration_date?: string | null;\n legal_vat_number?: string | null;\n address: {\n line_1: string | null;\n line_2?: string | null;\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n total_capital_amount: {\n value: string;\n currency: 'EUR';\n };\n};\n\nexport class ReadStakeHolder {\n id?: string;\n capital_amount: {\n value: string;\n currency: 'EUR';\n };\n is_owner: boolean | null;\n first_name: string | null;\n last_name: string | null;\n email: string | null;\n gender: 'male' | 'female' | 'other' | null;\n phone_number: string | null;\n nationality: string | null; // ISO country code\n birth_date: string | null;\n birth_address: {\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n residence_address: {\n line_1: string | null;\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n shareholding_type: 'physical' | null;\n}\n\nexport type ReadStakeHolders = ReadStakeHolder[];\n"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":";;;AA4IA,MAAa,eAAe;CA0B3B;AA1BD,0CA0BC;AAID,MAAa,yBAAyB;CAQrC;AARD,8DAQC","sourcesContent":["export type QontoOrganisationBankAccount = {\n slug: string;\n iban: string;\n bic: string | null;\n currency: string;\n balance: number;\n balance_cents: number;\n authorized_balance: number;\n authorized_balance_cents: number;\n updated_at: string;\n status: 'active' | 'closed';\n};\n\nexport type GetQontoOrganization = {\n organization: {\n slug: string;\n legal_name: string | null;\n bank_accounts: QontoOrganisationBankAccount[];\n };\n};\n\nexport type GetQontoTransactionsResponse = {\n transactions: QontoTransaction[];\n meta: {\n current_page: number;\n next_page: number | null;\n prev_page: number | null;\n total_pages: number;\n total_count: number;\n per_page: number;\n };\n};\n\nexport type QontoTransaction = {\n transaction_id: string;\n amount: number;\n amount_cents: number;\n settled_balance: number;\n settled_balance_cents: number;\n attachment_ids: string[];\n local_amount: number;\n local_amount_cents: number;\n side: string;\n operation_type: string;\n currency: string;\n local_currency: string;\n label: string;\n settled_at: string;\n emitted_at: string;\n updated_at: string;\n status: string;\n note: string;\n reference: string | null;\n vat_amount: number | null;\n vat_amount_cents: number | null;\n vat_rate: number | null;\n initiator_id: string | null;\n label_ids: string[];\n attachment_lost: boolean;\n attachment_required: boolean;\n card_last_digits: string | null;\n category: string | null;\n id: string | null;\n};\n\nexport type GetQontoAttachment = {\n id: string;\n created_at: string;\n file_name: string;\n file_size: string;\n file_content_type: string;\n url: string;\n probative_attachment: {\n status: string;\n file_name: string;\n file_content_type: string;\n file_size: string;\n url: string | null;\n };\n};\n\nexport type ReadQontoRegistration = {\n id: string;\n legal_flow: string; // Registration type => company_creation (Company in creation), existing_company (Company already exists)\n flow: {\n type: 'manual' | 'seamless'; // which type of flow the user will be redirected\n breakdown: {\n code: string;\n detail: string;\n source: {\n pointer: string;\n };\n } | null;\n };\n status:\n | 'created'\n | 'pending'\n | 'user_started'\n | 'price_plan_selected'\n | 'contract_signed'\n | 'submitted'\n | 'capital_deposit_activated'\n | 'capital_deposit_request_signed'\n | 'capital_deposit_certificate_signed'\n | 'completed';\n redirection_link: string; // link where the user is redirected\n created_at: string;\n updated_at: string;\n locale: string;\n partner_user: {\n first_name: string | null;\n last_name: string | null;\n email: string | null;\n };\n organization: ReadOrganization;\n stakeholders: ReadStakeHolder[];\n};\n\nexport type ReadOrganization = {\n id?: string;\n entity_type: 'freelancer' | 'company';\n legal_name: string | null;\n legal_form: string | null;\n legal_number?: string | null;\n legal_sector?: string | null;\n legal_registration_date?: string | null;\n legal_vat_number?: string | null;\n address: {\n line_1: string | null;\n line_2?: string | null;\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n total_capital_amount: {\n value: string;\n currency: 'EUR';\n };\n};\n\nexport class ReadStakeHolder {\n id?: string;\n capital_amount: {\n value: string;\n currency: 'EUR';\n };\n is_owner: boolean | null;\n first_name: string | null;\n last_name: string | null;\n email: string | null;\n gender: 'male' | 'female' | 'other' | null;\n phone_number: string | null;\n nationality: string | null; // ISO country code\n birth_date: string | null;\n birth_address: {\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n residence_address: {\n line_1: string | null;\n postal_code: string | null;\n city: string | null;\n country: string | null;\n };\n shareholding_type: 'physical' | null;\n}\n\nexport type ReadStakeHolders = ReadStakeHolder[];\n\nexport class ReadQontoRegistrationFile {\n id: string;\n filename: string;\n filesize_bytes: number;\n url: string; // TTL of 2 hours\n created_at: string;\n file_type: string;\n stakeholder_id: string | null;\n}\n\nexport type ReadQontoWebhookConfig = {\n id: string;\n created_at: string;\n updated_at: string;\n callback_url: string;\n enabled: boolean;\n secret: string;\n};\n\nexport type RegistrationFileType =\n | 'organization-deposit-certificate'\n | 'organization-proof-of-address'\n | 'organization-by-laws'\n | 'organization-kbis'\n | 'stakeholder-proof-of-identity'\n | 'stakeholder-residence-permit';\n"]}
@@ -78,7 +78,6 @@ export declare class CreateAndSendVatMail {
78
78
  content: string;
79
79
  idSociety: number;
80
80
  idFiles: number[];
81
- sendByUserId?: number;
82
81
  }
83
82
  export declare class DownloadExternalFile {
84
83
  fileId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,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C;CAChB;AAED,qBAAa,oBAAoB;IAG/B,EAAE,EAAE,MAAM,CAAC;IAKX,OAAO,EAAE,MAAM,CAAC;IAKhB,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,oBAAoB;IAG/B,MAAM,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"CreateRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,qBAAa,yBAAyB;IAEpC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,qBAAa,oCAAoC;IAE/C,GAAG,EAAE,GAAG,GAAG,IAAI,CAAC;IAGhB,aAAa,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IAG3B,eAAe,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IAG7B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,gBAAgB,CAAC,EAAE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EAAE,cAAc,EAAE,CAAC;CAC1B;AAED,qBAAa,wBAAwB;IAGnC,OAAO,EAAE,MAAM,CAAC;IAMhB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,WAAW,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,MAAM,CAAC;IAKf,IAAI,EAAE,eAAe,CAAC;IAKtB,KAAK,EAAE,gBAAgB,CAAC;IAKxB,MAAM,EAAE,MAAM,CAAC;IAKf,aAAa,EAAE,MAAM,CAAC;IAKtB,OAAO,EAAE,MAAM,CAAC;IAKhB,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,qBAAa,kBAAkB;IAG7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,oBAAoB;IAG/B,EAAE,EAAE,MAAM,CAAC;IAKX,OAAO,EAAE,MAAM,CAAC;IAKhB,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,qBAAa,oBAAoB;IAG/B,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -283,12 +283,6 @@ __decorate([
283
283
  (0, class_validator_1.IsArray)(),
284
284
  __metadata("design:type", Array)
285
285
  ], CreateAndSendVatMail.prototype, "idFiles", void 0);
286
- __decorate([
287
- (0, utils_1.ApiPropertyOptional)(),
288
- (0, class_validator_1.IsNumber)(),
289
- (0, class_validator_1.IsOptional)(),
290
- __metadata("design:type", Number)
291
- ], CreateAndSendVatMail.prototype, "sendByUserId", void 0);
292
286
  class DownloadExternalFile {
293
287
  }
294
288
  exports.DownloadExternalFile = DownloadExternalFile;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA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;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;;qDACQ;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACS;AAGxB,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACI","sourcesContent":["import {\n IsEnum,\n IsOptional,\n IsBoolean,\n IsNumber,\n Min,\n IsDateString,\n IsArray,\n ValidateNested,\n IsString,\n IsEmail,\n MinLength,\n IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { Rof } from '../../../Enum/Aspone';\nimport { Cerfa3310_2023 } from '../cerfa/3310';\nimport { Cerfa3519_2017 } from '../cerfa/3519';\nimport { CerfaFormValue } from '../cerfa/ReadCerfa';\nimport { UpdatedAnnotation } from './ReadRegistration';\nimport { CustomerVatState, CustomerVatType } from '../../../Enum/CustomerVat';\nimport { Cerfa2069RCI_2024_Payload } from '../cerfa/2069RCI';\nimport { Cerfa2573_2024 } from '../cerfa/2573';\n\nexport class CreateRegistrationSetting {\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport class CreateRegistrationSettingFromSociety {\n @ApiPropertyOptional()\n rof: Rof | null;\n\n @ApiPropertyOptional()\n companyTaxRof?: Rof | null;\n\n @ApiPropertyOptional()\n balanceSheetRof?: Rof | null;\n\n @ApiPropertyOptional()\n ogaName?: string | null;\n\n @ApiPropertyOptional()\n ogaId?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressNumero?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressType?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressVoie?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressZipCode?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressCity?: string | null;\n\n @ApiPropertyOptional()\n ogaReference?: string | null;\n\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport type ForcedValues_2571 = {\n base?: number;\n regularisation?: number;\n};\n\nexport type ForcedValues = {\n cerfa2571?: ForcedValues_2571;\n cerfa2069RCI?: Cerfa2069RCI_2024_Payload;\n cerfa2573?: Cerfa2573_2024;\n};\n\nexport class CreateRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @Min(0)\n @IsOptional()\n amountToPay?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n date?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional({ description: 'Set values manually (not available for all cerfa)' })\n @IsOptional()\n forcedValues?: ForcedValues;\n}\n\nexport class UpdateOrCreateVatRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n payload: Cerfa3310_2023;\n\n @ApiPropertyOptional()\n annexPayload?: Cerfa3519_2017;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isManuallyRegistered?: boolean;\n}\n\nexport class CreateRegistrationDetail {\n @ApiProperty()\n @IsArray()\n accountingTransactionIds: number[];\n\n @ApiProperty()\n @IsArray()\n updatedEntries: UpdatedAnnotation;\n\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n inputs: CerfaFormValue[];\n}\n\nexport class UpdateOrCreateVatAdvance {\n @ApiProperty()\n @IsDateString()\n vatDate: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n stateAmount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type: CustomerVatType;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n state: CustomerVatState;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n status: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amountBaseTva: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n token: string;\n\n @ApiPropertyOptional()\n idMail: number | null;\n}\n\nexport class CreateVatMigration {\n @ApiPropertyOptional()\n @IsOptional()\n idVatDeclaration?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n limit?: number;\n}\n\nexport class CreateAndSendVatMail {\n @ApiProperty()\n @IsEmail()\n to: string;\n\n @ApiProperty()\n @IsString()\n @MinLength(2)\n subject: string;\n\n @ApiProperty()\n @IsString()\n @MinLength(2)\n content: string;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsArray()\n idFiles: number[];\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n sendByUserId?: number;\n}\n\nexport class DownloadExternalFile {\n @ApiProperty()\n @IsString()\n fileId: string;\n}\n"]}
1
+ {"version":3,"file":"CreateRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,6CAAqE;AACrE,uDAAoD;AACpD,sFAA2E;AAM3E,2DAA8E;AAI9E,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAJC;IADC,IAAA,2BAAmB,GAAE;;uDACD;AAGrB;IADC,IAAA,2BAAmB,GAAE;;sDACF;A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IsOptional,\n IsBoolean,\n IsNumber,\n Min,\n IsDateString,\n IsArray,\n ValidateNested,\n IsString,\n IsEmail,\n MinLength,\n IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { Rof } from '../../../Enum/Aspone';\nimport { Cerfa3310_2023 } from '../cerfa/3310';\nimport { Cerfa3519_2017 } from '../cerfa/3519';\nimport { CerfaFormValue } from '../cerfa/ReadCerfa';\nimport { UpdatedAnnotation } from './ReadRegistration';\nimport { CustomerVatState, CustomerVatType } from '../../../Enum/CustomerVat';\nimport { Cerfa2069RCI_2024_Payload } from '../cerfa/2069RCI';\nimport { Cerfa2573_2024 } from '../cerfa/2573';\n\nexport class CreateRegistrationSetting {\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport class CreateRegistrationSettingFromSociety {\n @ApiPropertyOptional()\n rof: Rof | null;\n\n @ApiPropertyOptional()\n companyTaxRof?: Rof | null;\n\n @ApiPropertyOptional()\n balanceSheetRof?: Rof | null;\n\n @ApiPropertyOptional()\n ogaName?: string | null;\n\n @ApiPropertyOptional()\n ogaId?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressNumero?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressType?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressVoie?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressZipCode?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressCity?: string | null;\n\n @ApiPropertyOptional()\n ogaReference?: string | null;\n\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport type ForcedValues_2571 = {\n base?: number;\n regularisation?: number;\n};\n\nexport type ForcedValues = {\n cerfa2571?: ForcedValues_2571;\n cerfa2069RCI?: Cerfa2069RCI_2024_Payload;\n cerfa2573?: Cerfa2573_2024;\n};\n\nexport class CreateRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @Min(0)\n @IsOptional()\n amountToPay?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n date?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional({ description: 'Set values manually (not available for all cerfa)' })\n @IsOptional()\n forcedValues?: ForcedValues;\n}\n\nexport class UpdateOrCreateVatRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n payload: Cerfa3310_2023;\n\n @ApiPropertyOptional()\n annexPayload?: Cerfa3519_2017;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isManuallyRegistered?: boolean;\n}\n\nexport class CreateRegistrationDetail {\n @ApiProperty()\n @IsArray()\n accountingTransactionIds: number[];\n\n @ApiProperty()\n @IsArray()\n updatedEntries: UpdatedAnnotation;\n\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n inputs: CerfaFormValue[];\n}\n\nexport class UpdateOrCreateVatAdvance {\n @ApiProperty()\n @IsDateString()\n vatDate: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n stateAmount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type: CustomerVatType;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n state: CustomerVatState;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n status: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amountBaseTva: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n token: string;\n\n @ApiPropertyOptional()\n idMail: number | null;\n}\n\nexport class CreateVatMigration {\n @ApiPropertyOptional()\n @IsOptional()\n idVatDeclaration?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n limit?: number;\n}\n\nexport class CreateAndSendVatMail {\n @ApiProperty()\n @IsEmail()\n to: string;\n\n @ApiProperty()\n @IsString()\n @MinLength(2)\n subject: string;\n\n @ApiProperty()\n @IsString()\n @MinLength(2)\n content: string;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsArray()\n idFiles: number[];\n}\n\nexport class DownloadExternalFile {\n @ApiProperty()\n @IsString()\n fileId: string;\n}\n"]}
@@ -1,8 +1,7 @@
1
1
  export declare class InvoicesShopify {
2
- order?: string;
3
- limit?: number;
4
- ids?: number[];
5
- idSociety?: number;
6
- debug?: boolean;
2
+ order: string;
3
+ limit: number;
4
+ ids: number[];
5
+ idSociety: number;
7
6
  }
8
7
  //# sourceMappingURL=InvoicesShopify.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvoicesShopify.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shopify/InvoicesShopify.ts"],"names":[],"mappings":"AAIA,qBAAa,eAAe;IAG1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IAIf,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
1
+ {"version":3,"file":"InvoicesShopify.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shopify/InvoicesShopify.ts"],"names":[],"mappings":"AAEA,qBAAa,eAAe;IAE1B,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,GAAG,EAAE,MAAM,EAAE,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -10,37 +10,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.InvoicesShopify = void 0;
13
- const class_validator_1 = require("class-validator");
14
13
  const utils_1 = require("../../../../utils");
15
- const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
14
  class InvoicesShopify {
17
15
  }
18
16
  exports.InvoicesShopify = InvoicesShopify;
19
17
  __decorate([
20
18
  (0, utils_1.ApiPropertyOptional)(),
21
- (0, class_validator_1.IsOptional)(),
22
19
  __metadata("design:type", String)
23
20
  ], InvoicesShopify.prototype, "order", void 0);
24
21
  __decorate([
25
22
  (0, utils_1.ApiPropertyOptional)(),
26
- (0, class_validator_1.IsOptional)(),
27
23
  __metadata("design:type", Number)
28
24
  ], InvoicesShopify.prototype, "limit", void 0);
29
25
  __decorate([
30
26
  (0, utils_1.ApiPropertyOptional)(),
31
- (0, class_validator_1.IsOptional)(),
32
27
  __metadata("design:type", Array)
33
28
  ], InvoicesShopify.prototype, "ids", void 0);
34
29
  __decorate([
35
30
  (0, utils_1.ApiPropertyOptional)(),
36
- (0, class_validator_1.IsOptional)(),
37
31
  __metadata("design:type", Number)
38
32
  ], InvoicesShopify.prototype, "idSociety", void 0);
39
- __decorate([
40
- (0, utils_1.ApiPropertyOptional)(),
41
- (0, class_validator_1.IsOptional)(),
42
- (0, class_validator_1.IsBoolean)(),
43
- (0, boolean_transform_1.ToBoolean)(),
44
- __metadata("design:type", Boolean)
45
- ], InvoicesShopify.prototype, "debug", void 0);
46
33
  //# sourceMappingURL=InvoicesShopify.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvoicesShopify.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shopify/InvoicesShopify.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6CAAwD;AACxD,sFAA2E;AAE3E,MAAa,eAAe;CAsB3B;AAtBD,0CAsBC;AAnBC;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;8CACE;AAIf;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;8CACE;AAIf;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;4CACE;AAIf;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACM;AAMnB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;8CACI","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class InvoicesShopify {\n @ApiPropertyOptional()\n @IsOptional()\n order?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n limit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n ids?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n debug?: boolean;\n}\n"]}
1
+ {"version":3,"file":"InvoicesShopify.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shopify/InvoicesShopify.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAwD;AAExD,MAAa,eAAe;CAS3B;AATD,0CASC;AAPC;IADC,IAAA,2BAAmB,GAAE;;8CACR;AAEd;IADC,IAAA,2BAAmB,GAAE;;8CACR;AAEd;IADC,IAAA,2BAAmB,GAAE;;4CACR;AAEd;IADC,IAAA,2BAAmB,GAAE;;kDACJ","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class InvoicesShopify {\n @ApiPropertyOptional()\n order: string;\n @ApiPropertyOptional()\n limit: number;\n @ApiPropertyOptional()\n ids: number[];\n @ApiPropertyOptional()\n idSociety: number;\n}\n"]}
@@ -44,14 +44,4 @@ export declare class CreateTapToPayIntent {
44
44
  export declare class CreateTapToPayConnectionToken {
45
45
  locationId?: string;
46
46
  }
47
- export declare class CreatePurchaseSession {
48
- isSoftware: boolean;
49
- successRedirection: string;
50
- cancelRedirection: string;
51
- metadata?: Record<string, string | number>;
52
- items: Array<{
53
- priceId: string;
54
- quantity: number;
55
- }>;
56
- }
57
47
  //# sourceMappingURL=Create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAIlB,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAIvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,GAAG,EAAE,MAAM,CAAC;IAKZ,SAAS,CAAC,EAAE,MAAM,C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AChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAIlB,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAIvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,GAAG,EAAE,MAAM,CAAC;IAKZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;IAIzB,eAAe,EAAE,MAAM,CAAC;IAIxB,aAAa,EAAE,MAAM,CAAC;IAGtB,QAAQ,CAAC,EAAE,MAAM,CAAC,aAAa,CAAC;CACjC;AAED,qBAAa,+BAA+B;IAI1C,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,oBAAoB;IAM/B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,6BAA6B;IAIxC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -9,10 +9,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreatePurchaseSession = exports.CreateTapToPayConnectionToken = exports.CreateTapToPayIntent = exports.PostProcessPaymentAutomatically = exports.CreatePaymentIntent = exports.CreateSubscriptionSessionOff = exports.CreateCommercialSession = exports.CreateSubscriptionSession = exports.CreateImportTransactionForSociety = exports.CreateCustomer = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
12
+ exports.CreateTapToPayConnectionToken = exports.CreateTapToPayIntent = exports.PostProcessPaymentAutomatically = exports.CreatePaymentIntent = exports.CreateSubscriptionSessionOff = exports.CreateCommercialSession = exports.CreateSubscriptionSession = exports.CreateImportTransactionForSociety = exports.CreateCustomer = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
- const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
15
  class CreateStripeConnection {
17
16
  }
18
17
  exports.CreateStripeConnection = CreateStripeConnection;
@@ -170,32 +169,4 @@ __decorate([
170
169
  (0, class_validator_1.IsOptional)(),
171
170
  __metadata("design:type", String)
172
171
  ], CreateTapToPayConnectionToken.prototype, "locationId", void 0);
173
- class CreatePurchaseSession {
174
- }
175
- exports.CreatePurchaseSession = CreatePurchaseSession;
176
- __decorate([
177
- (0, utils_1.ApiProperty)({ description: 'Is software or accountancy product' }),
178
- (0, class_validator_1.IsBoolean)(),
179
- (0, boolean_transform_1.ToBoolean)(),
180
- __metadata("design:type", Boolean)
181
- ], CreatePurchaseSession.prototype, "isSoftware", void 0);
182
- __decorate([
183
- (0, utils_1.ApiProperty)({ description: 'Redirection link on success' }),
184
- (0, class_validator_1.IsString)(),
185
- __metadata("design:type", String)
186
- ], CreatePurchaseSession.prototype, "successRedirection", void 0);
187
- __decorate([
188
- (0, utils_1.ApiProperty)({ description: 'Redirection link on cancel / error' }),
189
- (0, class_validator_1.IsString)(),
190
- __metadata("design:type", String)
191
- ], CreatePurchaseSession.prototype, "cancelRedirection", void 0);
192
- __decorate([
193
- (0, utils_1.ApiPropertyOptional)(),
194
- __metadata("design:type", Object)
195
- ], CreatePurchaseSession.prototype, "metadata", void 0);
196
- __decorate([
197
- (0, utils_1.ApiProperty)(),
198
- (0, class_validator_1.IsArray)(),
199
- __metadata("design:type", Array)
200
- ], CreatePurchaseSession.prototype, "items", void 0);
201
172
  //# sourceMappingURL=Create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuH;AACvH,6CAAqE;A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AAE;;iEACgB;AAI3B;IAFC,IAAA,mBAAW,EAAC,EAAE,WAAW,EAAE,oCAAoC,EAAE,CAAC;IAClE,IAAA,0BAAQ,GAAE;;gEACe;AAG1B;IADC,IAAA,2BAAmB,GAAE;;uDACqB;AAI3C;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;8BACH,KAAK;oDAAwC","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n\nexport class CreatePurchaseSession {\n @ApiProperty({ description: 'Is software or accountancy product' })\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty({ description: 'Redirection link on success' })\n @IsString()\n successRedirection: string;\n\n @ApiProperty({ description: 'Redirection link on cancel / error' })\n @IsString()\n cancelRedirection: string;\n\n @ApiPropertyOptional()\n metadata?: Record<string, string | number>;\n\n @ApiProperty()\n @IsArray()\n items: Array<{ priceId: string; quantity: number }>;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmG;AACnG,6CAAqE;AAErE,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAG3B,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0CACG;AAIX;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,2BA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IAAA,2BAAmB,GAAE;;qDACU;AAGlC,MAAa,+BAA+B;CAU3C;AAVD,0EAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;kEACM;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;gEACI;AAGnB,MAAa,oBAAoB;CAOhC;AAPD,oDAOC;AADC;IALC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,EAAE;QACN,OAAO,EAAE,sCAAsC;KAChD,CAAC;;2DACoB;AAGxB,MAAa,6BAA6B;CAKzC;AALD,sEAKC;AADC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACO","sourcesContent":["import { IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n"]}
@@ -7,10 +7,4 @@ export declare class QueryStripeSession {
7
7
  export declare class QueryStripeSubscriptionId {
8
8
  customerId: string;
9
9
  }
10
- export declare class QueryStripePrice {
11
- isSoftware: boolean;
12
- }
13
- export declare class QueryStripePurchaseHook {
14
- isSoftware: boolean;
15
- }
16
10
  //# sourceMappingURL=QueryStripe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,4BAA4B;IAGvC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,yBAAyB;IAGpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,gBAAgB;IAI3B,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,uBAAuB;IAIlC,UAAU,EAAE,OAAO,CAAC;CACrB"}
1
+ {"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,4BAA4B;IAGvC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,yBAAyB;IAGpC,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryStripePurchaseHook = exports.QueryStripePrice = exports.QueryStripeSubscriptionId = exports.QueryStripeSession = exports.RetrievePaymentMethodsParams = void 0;
12
+ exports.QueryStripeSubscriptionId = exports.QueryStripeSession = exports.RetrievePaymentMethodsParams = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
@@ -39,22 +39,4 @@ __decorate([
39
39
  (0, class_validator_1.IsString)(),
40
40
  __metadata("design:type", String)
41
41
  ], QueryStripeSubscriptionId.prototype, "customerId", void 0);
42
- class QueryStripePrice {
43
- }
44
- exports.QueryStripePrice = QueryStripePrice;
45
- __decorate([
46
- (0, utils_1.ApiProperty)(),
47
- (0, class_validator_1.IsBoolean)(),
48
- (0, boolean_transform_1.ToBoolean)(),
49
- __metadata("design:type", Boolean)
50
- ], QueryStripePrice.prototype, "isSoftware", void 0);
51
- class QueryStripePurchaseHook {
52
- }
53
- exports.QueryStripePurchaseHook = QueryStripePurchaseHook;
54
- __decorate([
55
- (0, utils_1.ApiProperty)(),
56
- (0, class_validator_1.IsBoolean)(),
57
- (0, boolean_transform_1.ToBoolean)(),
58
- __metadata("design:type", Boolean)
59
- ], QueryStripePurchaseHook.prototype, "isSoftware", void 0);
60
42
  //# sourceMappingURL=QueryStripe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAClE,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;gEACQ;AAGrB,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACO;AAGrB,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACQ;AAGrB,MAAa,gBAAgB;CAK5B;AALD,4CAKC;AADC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACQ;AAGtB,MAAa,uBAAuB;CAKnC;AALD,0DAKC;AADC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;2DACQ","sourcesContent":["import { IsBoolean, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrievePaymentMethodsParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryStripeSubscriptionId {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripePrice {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePurchaseHook {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n"]}
1
+ {"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAClE,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;gEACQ;AAGrB,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACO;AAGrB,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACQ","sourcesContent":["import { IsBoolean, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrievePaymentMethodsParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryStripeSubscriptionId {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ export declare class QueryUpdateTeamsForUser {
2
+ teamIds: number[];
3
+ }
4
+ //# sourceMappingURL=QueryUpdateTeamsForUser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryUpdateTeamsForUser.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/QueryUpdateTeamsForUser.ts"],"names":[],"mappings":"AAGA,qBAAa,uBAAuB;IAIlC,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB"}