@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
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Sellsy = void 0;
4
- const Resource_1 = require("../Resource");
5
- class Sellsy extends Resource_1.Resource {
6
- oauthCallback(payload) {
7
- return this.axios.$post('/connectors/sellsy/callback', payload);
8
- }
9
- disconnect(idSociety) {
10
- return this.axios.$delete(`/connectors/sellsy/disconnect/${idSociety}`);
11
- }
12
- getConnectionStatus(societyId) {
13
- return this.axios.$get('/connectors/sellsy/status', { params: { societyId } });
14
- }
15
- createInvoices(payload) {
16
- return this.axios.$post('/connectors/sellsy/invoices', payload);
17
- }
18
- }
19
- exports.Sellsy = Sellsy;
20
- //# sourceMappingURL=Sellsy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Sellsy.js","sourceRoot":"","sources":["../../../../ts/api/resources/Sellsy.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,MAAO,SAAQ,mBAAQ;IAClC,aAAa,CAAC,OAIb;QACC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,UAAU,CAAC,SAAiB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,iCAAiC,SAAS,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,mBAAmB,CAAC,SAAiB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAED,cAAc,CAAC,OAAY;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AApBD,wBAoBC","sourcesContent":["import { Resource } from '../Resource';\nimport { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';\n\nexport class Sellsy extends Resource {\n oauthCallback(payload: {\n code: string;\n codeVerifier: string;\n idSociety: number;\n }): Promise<{ success: boolean; message: string }> {\n return this.axios.$post('/connectors/sellsy/callback', payload);\n }\n\n disconnect(idSociety: number): Promise<{ success: boolean; message: string }> {\n return this.axios.$delete(`/connectors/sellsy/disconnect/${idSociety}`);\n }\n\n getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus> {\n return this.axios.$get('/connectors/sellsy/status', { params: { societyId } });\n }\n\n createInvoices(payload: any): Promise<any> {\n return this.axios.$post('/connectors/sellsy/invoices', payload);\n }\n}\n"]}
@@ -1,13 +0,0 @@
1
- import Stripe from 'stripe';
2
- import { Resource } from '../Resource';
3
- import { CreatePurchaseSession, QueryStripePrice } from '../../types';
4
- export declare class StripePurchase extends Resource {
5
- getAllPrices(params: QueryStripePrice): Promise<Stripe.Price[]>;
6
- createNewExerciceSession(metadata: {
7
- idSociety: number;
8
- startDate: string;
9
- endDate: string;
10
- }, payload: CreatePurchaseSession): Promise<Stripe.Response<Stripe.Checkout.Session>>;
11
- createSession(payload: CreatePurchaseSession): Promise<Stripe.Response<Stripe.Checkout.Session>>;
12
- }
13
- //# sourceMappingURL=StripePurchase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StripePurchase.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/StripePurchase.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEtE,qBAAa,cAAe,SAAQ,QAAQ;IAE1C,YAAY,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IAI/D,wBAAwB,CAAC,QAAQ,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;KAAE,EAAE,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAOjL,aAAa,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;CAIjG"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StripePurchase = void 0;
4
- const Resource_1 = require("../Resource");
5
- class StripePurchase extends Resource_1.Resource {
6
- getAllPrices(params) {
7
- return this.axios.$get('/stripe/purchases/prices', { params });
8
- }
9
- createNewExerciceSession(metadata, payload) {
10
- return this.createSession(Object.assign(Object.assign({}, payload), { metadata }));
11
- }
12
- createSession(payload) {
13
- return this.axios.$post('/stripe/purchases/sessions', payload);
14
- }
15
- }
16
- exports.StripePurchase = StripePurchase;
17
- //# sourceMappingURL=StripePurchase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StripePurchase.js","sourceRoot":"","sources":["../../../../ts/api/resources/StripePurchase.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAGvC,MAAa,cAAe,SAAQ,mBAAQ;IAE1C,YAAY,CAAC,MAAwB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,wBAAwB,CAAC,QAAoE,EAAE,OAA8B;QAC3H,OAAO,IAAI,CAAC,aAAa,iCACpB,OAAO,KACV,QAAQ,IACR,CAAC;IACL,CAAC;IAED,aAAa,CAAC,OAA8B;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CAEF;AAjBD,wCAiBC","sourcesContent":["import Stripe from 'stripe';\nimport { Resource } from '../Resource';\nimport { CreatePurchaseSession, QueryStripePrice } from '../../types';\n\nexport class StripePurchase extends Resource {\n\n getAllPrices(params: QueryStripePrice): Promise<Stripe.Price[]> {\n return this.axios.$get('/stripe/purchases/prices', { params });\n }\n\n createNewExerciceSession(metadata: { idSociety: number; startDate: string; endDate: string; }, payload: CreatePurchaseSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.createSession({\n ...payload,\n metadata\n });\n }\n\n createSession(payload: CreatePurchaseSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/purchases/sessions', payload);\n }\n\n}"]}
@@ -1,4 +0,0 @@
1
- export declare enum PurchasePriceType {
2
- NEW_EXERCICE = "newExercice"
3
- }
4
- //# sourceMappingURL=Stripe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Stripe.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Stripe.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,YAAY,gBAAgB;CAC7B"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PurchasePriceType = void 0;
4
- var PurchasePriceType;
5
- (function (PurchasePriceType) {
6
- PurchasePriceType["NEW_EXERCICE"] = "newExercice";
7
- })(PurchasePriceType || (exports.PurchasePriceType = PurchasePriceType = {}));
8
- //# sourceMappingURL=Stripe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Stripe.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Stripe.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC3B,iDAA4B,CAAA;AAC9B,CAAC,EAFW,iBAAiB,iCAAjB,iBAAiB,QAE5B","sourcesContent":["export enum PurchasePriceType {\n NEW_EXERCICE = 'newExercice'\n}"]}
@@ -1,8 +0,0 @@
1
- export declare class GenerateVatCard {
2
- idSociety?: number;
3
- }
4
- export declare class GenerateAdvanceISCard {
5
- idSociety?: number;
6
- month?: number;
7
- }
8
- //# sourceMappingURL=Cron.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Cron.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/Cron.ts"],"names":[],"mappings":"AAGA,qBAAa,eAAe;IAI1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,qBAAqB;IAIhC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GenerateAdvanceISCard = exports.GenerateVatCard = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- class GenerateVatCard {
16
- }
17
- exports.GenerateVatCard = GenerateVatCard;
18
- __decorate([
19
- (0, utils_1.ApiPropertyOptional)(),
20
- (0, class_validator_1.IsOptional)(),
21
- (0, class_validator_1.IsInt)(),
22
- __metadata("design:type", Number)
23
- ], GenerateVatCard.prototype, "idSociety", void 0);
24
- class GenerateAdvanceISCard {
25
- }
26
- exports.GenerateAdvanceISCard = GenerateAdvanceISCard;
27
- __decorate([
28
- (0, utils_1.ApiPropertyOptional)(),
29
- (0, class_validator_1.IsOptional)(),
30
- (0, class_validator_1.IsInt)(),
31
- __metadata("design:type", Number)
32
- ], GenerateAdvanceISCard.prototype, "idSociety", void 0);
33
- __decorate([
34
- (0, utils_1.ApiPropertyOptional)(),
35
- (0, class_validator_1.IsOptional)(),
36
- (0, class_validator_1.IsInt)(),
37
- __metadata("design:type", Number)
38
- ], GenerateAdvanceISCard.prototype, "month", void 0);
39
- //# sourceMappingURL=Cron.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Cron.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/Cron.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AACpD,6CAAwD;AAExD,MAAa,eAAe;CAK3B;AALD,0CAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;kDACW;AAGrB,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;oDACO","sourcesContent":["import { IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class GenerateVatCard {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\n\nexport class GenerateAdvanceISCard {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n}"]}
@@ -1,12 +0,0 @@
1
- export interface OAuthTokenRequest {
2
- clientId: string;
3
- redirectUri: string;
4
- codeVerifier: string;
5
- code: string;
6
- }
7
- export interface SellsyTokenResponse {
8
- access_token: string;
9
- refresh_token: string;
10
- expires_in: number;
11
- }
12
- //# sourceMappingURL=OAuthTokenRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuthTokenRequest.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/connector/OAuthTokenRequest.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuthTokenRequest.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/connector/OAuthTokenRequest.ts"],"names":[],"mappings":"","sourcesContent":["export interface OAuthTokenRequest {\n clientId: string;\n redirectUri: string;\n codeVerifier: string;\n code: string;\n}\n\nexport interface SellsyTokenResponse {\n access_token: string;\n refresh_token: string;\n expires_in: number;\n}\n"]}
@@ -1,14 +0,0 @@
1
- export declare class QueryInpiPaymentCreate {
2
- costType: string;
3
- fileNumber: string;
4
- amount: number;
5
- commission: number;
6
- type: number;
7
- state: number;
8
- idSociety: number;
9
- idUserWhoCreated: number;
10
- idExercice: number;
11
- idPrestationListRelated: number;
12
- datePayment: Date;
13
- }
14
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/inpiPayment/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAQjC,QAAQ,EAAE,MAAM,CAAC;IASjB,UAAU,EAAE,MAAM,CAAC;IASnB,MAAM,EAAE,MAAM,CAAC;IASf,UAAU,EAAE,MAAM,CAAC;IASnB,IAAI,EAAE,MAAM,CAAC;IASb,KAAK,EAAE,MAAM,CAAC;IASd,SAAS,EAAE,MAAM,CAAC;IASlB,gBAAgB,EAAE,MAAM,CAAC;IASzB,UAAU,EAAE,MAAM,CAAC;IASnB,uBAAuB,EAAE,MAAM,CAAC;IAShC,WAAW,EAAE,IAAI,CAAC;CACnB"}
@@ -1,128 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryInpiPaymentCreate = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- class QueryInpiPaymentCreate {
16
- }
17
- exports.QueryInpiPaymentCreate = QueryInpiPaymentCreate;
18
- __decorate([
19
- (0, utils_1.ApiProperty)({
20
- description: 'list of selected cost type',
21
- required: true,
22
- type: String,
23
- example: '[1,2]',
24
- }),
25
- (0, class_validator_1.IsString)(),
26
- __metadata("design:type", String)
27
- ], QueryInpiPaymentCreate.prototype, "costType", void 0);
28
- __decorate([
29
- (0, utils_1.ApiProperty)({
30
- description: 'file number',
31
- required: true,
32
- type: String,
33
- example: '010234',
34
- }),
35
- (0, class_validator_1.IsString)(),
36
- __metadata("design:type", String)
37
- ], QueryInpiPaymentCreate.prototype, "fileNumber", void 0);
38
- __decorate([
39
- (0, utils_1.ApiProperty)({
40
- description: 'amount',
41
- required: true,
42
- type: Number,
43
- example: 100.0,
44
- }),
45
- (0, class_validator_1.IsNumber)(),
46
- __metadata("design:type", Number)
47
- ], QueryInpiPaymentCreate.prototype, "amount", void 0);
48
- __decorate([
49
- (0, utils_1.ApiProperty)({
50
- description: 'commission',
51
- required: true,
52
- type: Number,
53
- example: 100.0,
54
- }),
55
- (0, class_validator_1.IsNumber)(),
56
- __metadata("design:type", Number)
57
- ], QueryInpiPaymentCreate.prototype, "commission", void 0);
58
- __decorate([
59
- (0, utils_1.ApiProperty)({
60
- description: 'type',
61
- required: true,
62
- type: Number,
63
- example: 1,
64
- }),
65
- (0, class_validator_1.IsInt)(),
66
- __metadata("design:type", Number)
67
- ], QueryInpiPaymentCreate.prototype, "type", void 0);
68
- __decorate([
69
- (0, utils_1.ApiProperty)({
70
- description: 'state',
71
- required: true,
72
- type: Number,
73
- example: 1,
74
- }),
75
- (0, class_validator_1.IsInt)(),
76
- __metadata("design:type", Number)
77
- ], QueryInpiPaymentCreate.prototype, "state", void 0);
78
- __decorate([
79
- (0, utils_1.ApiProperty)({
80
- description: 'idSociety',
81
- required: true,
82
- type: Number,
83
- example: 1,
84
- }),
85
- (0, class_validator_1.IsInt)(),
86
- __metadata("design:type", Number)
87
- ], QueryInpiPaymentCreate.prototype, "idSociety", void 0);
88
- __decorate([
89
- (0, utils_1.ApiProperty)({
90
- description: 'idUserWhoCreated',
91
- required: true,
92
- type: Number,
93
- example: 1,
94
- }),
95
- (0, class_validator_1.IsInt)(),
96
- __metadata("design:type", Number)
97
- ], QueryInpiPaymentCreate.prototype, "idUserWhoCreated", void 0);
98
- __decorate([
99
- (0, utils_1.ApiProperty)({
100
- description: 'idExercice',
101
- required: true,
102
- type: Number,
103
- example: 1,
104
- }),
105
- (0, class_validator_1.IsInt)(),
106
- __metadata("design:type", Number)
107
- ], QueryInpiPaymentCreate.prototype, "idExercice", void 0);
108
- __decorate([
109
- (0, utils_1.ApiProperty)({
110
- description: 'idPrestationListRelated',
111
- required: true,
112
- type: Number,
113
- example: 1,
114
- }),
115
- (0, class_validator_1.IsInt)(),
116
- __metadata("design:type", Number)
117
- ], QueryInpiPaymentCreate.prototype, "idPrestationListRelated", void 0);
118
- __decorate([
119
- (0, utils_1.ApiProperty)({
120
- description: 'datePayment',
121
- required: true,
122
- type: Date,
123
- example: new Date(),
124
- }),
125
- (0, class_validator_1.IsDate)(),
126
- __metadata("design:type", Date)
127
- ], QueryInpiPaymentCreate.prototype, "datePayment", void 0);
128
- //# sourceMappingURL=Query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/inpiPayment/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoE;AACpE,6CAAgD;AAEhD,MAAa,sBAAsB;CAmGlC;AAnGD,wDAmGC;AA3FC;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,4BAA4B;QACzC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,OAAO;KACjB,CAAC;IACD,IAAA,0BAAQ,GAAE;;wDACM;AASjB;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,aAAa;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,QAAQ;KAClB,CAAC;IACD,IAAA,0BAAQ,GAAE;;0DACQ;AASnB;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,QAAQ;QACrB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,KAAK;KACf,CAAC;IACD,IAAA,0BAAQ,GAAE;;sDACI;AASf;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,YAAY;QACzB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,KAAK;KACf,CAAC;IACD,IAAA,0BAAQ,GAAE;;0DACQ;AASnB;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,uBAAK,GAAE;;oDACK;AASb;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,OAAO;QACpB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,uBAAK,GAAE;;qDACM;AASd;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,WAAW;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,uBAAK,GAAE;;yDACU;AASlB;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,kBAAkB;QAC/B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,uBAAK,GAAE;;gEACiB;AASzB;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,YAAY;QACzB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,uBAAK,GAAE;;0DACW;AASnB;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,yBAAyB;QACtC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,CAAC;KACX,CAAC;IACD,IAAA,uBAAK,GAAE;;uEACwB;AAShC;IAPC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,aAAa;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,IAAI,IAAI,EAAE;KACpB,CAAC;IACD,IAAA,wBAAM,GAAE;8BACI,IAAI;2DAAC","sourcesContent":["import { IsDate, IsInt, IsNumber, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryInpiPaymentCreate {\n @ApiProperty({\n description: 'list of selected cost type',\n required: true,\n type: String,\n example: '[1,2]',\n })\n @IsString()\n costType: string;\n\n @ApiProperty({\n description: 'file number',\n required: true,\n type: String,\n example: '010234',\n })\n @IsString()\n fileNumber: string;\n\n @ApiProperty({\n description: 'amount',\n required: true,\n type: Number,\n example: 100.0,\n })\n @IsNumber()\n amount: number;\n\n @ApiProperty({\n description: 'commission',\n required: true,\n type: Number,\n example: 100.0,\n })\n @IsNumber()\n commission: number;\n\n @ApiProperty({\n description: 'type',\n required: true,\n type: Number,\n example: 1,\n })\n @IsInt()\n type: number;\n\n @ApiProperty({\n description: 'state',\n required: true,\n type: Number,\n example: 1,\n })\n @IsInt()\n state: number;\n\n @ApiProperty({\n description: 'idSociety',\n required: true,\n type: Number,\n example: 1,\n })\n @IsInt()\n idSociety: number;\n\n @ApiProperty({\n description: 'idUserWhoCreated',\n required: true,\n type: Number,\n example: 1,\n })\n @IsInt()\n idUserWhoCreated: number;\n\n @ApiProperty({\n description: 'idExercice',\n required: true,\n type: Number,\n example: 1,\n })\n @IsInt()\n idExercice: number;\n\n @ApiProperty({\n description: 'idPrestationListRelated',\n required: true,\n type: Number,\n example: 1,\n })\n @IsInt()\n idPrestationListRelated: number;\n\n @ApiProperty({\n description: 'datePayment',\n required: true,\n type: Date,\n example: new Date(),\n })\n @IsDate()\n datePayment: Date;\n}\n"]}
@@ -1,11 +0,0 @@
1
- export interface SellsyConnectionStatus {
2
- connected: boolean;
3
- refreshed?: boolean;
4
- needReauth?: boolean;
5
- lastSync?: Date | string;
6
- expiresAt?: Date;
7
- expiresIn?: number;
8
- message?: string;
9
- error?: string;
10
- }
11
- //# sourceMappingURL=SellsyConnectionStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SellsyConnectionStatus.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SellsyConnectionStatus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SellsyConnectionStatus.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyConnectionStatus.ts"],"names":[],"mappings":"","sourcesContent":["export interface SellsyConnectionStatus {\n connected: boolean;\n refreshed?: boolean;\n needReauth?: boolean;\n lastSync?: Date | string;\n expiresAt?: Date;\n expiresIn?: number;\n message?: string;\n error?: string;\n}\n"]}
@@ -1,10 +0,0 @@
1
- export declare class SellsyOauthCallback {
2
- code: string;
3
- codeVerifier: string;
4
- idSociety: number;
5
- }
6
- export interface SellsyOauthCallbackResponse {
7
- message: string;
8
- success: true;
9
- }
10
- //# sourceMappingURL=SellsyOauthCallback.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SellsyOauthCallback.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyOauthCallback.ts"],"names":[],"mappings":"AAGA,qBAAa,mBAAmB;IAI9B,IAAI,EAAE,MAAM,CAAC;IAKb,YAAY,EAAE,MAAM,CAAC;IAKrB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;CACf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SellsyOauthCallback.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/sellsy/SellsyOauthCallback.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAC9D,6CAAgD;AAEhD,MAAa,mBAAmB;CAe/B;AAfD,kDAeC;AAXC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACA;AAKb;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACQ;AAKrB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;sDACK","sourcesContent":["import { IsInt, IsNotEmpty, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class SellsyOauthCallback {\n @ApiProperty()\n @IsString()\n @IsNotEmpty()\n code: string;\n\n @ApiProperty()\n @IsString()\n @IsNotEmpty()\n codeVerifier: string;\n\n @ApiProperty()\n @IsInt()\n @IsNotEmpty()\n idSociety: number;\n}\n\nexport interface SellsyOauthCallbackResponse {\n message: string;\n success: true;\n}\n"]}
@@ -1,5 +0,0 @@
1
- import { RequiredQueryPaginate } from '../BasePaginate';
2
- export declare class QueryToArchivedSociety extends RequiredQueryPaginate {
3
- search?: string;
4
- }
5
- //# sourceMappingURL=QueryToArchived.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryToArchived.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/QueryToArchived.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,sBAAuB,SAAQ,qBAAqB;IAI/D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryToArchived.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/QueryToArchived.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,6CAAwD;AACxD,kDAAwD;AAExD,MAAa,sBAAuB,SAAQ,oCAAqB;CAKhE;AALD,wDAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACK","sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryToArchivedSociety extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n}\n"]}
@@ -1,19 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';
3
- export declare class Sellsy extends Resource {
4
- oauthCallback(payload: {
5
- code: string;
6
- codeVerifier: string;
7
- idSociety: number;
8
- }): Promise<{
9
- success: boolean;
10
- message: string;
11
- }>;
12
- disconnect(idSociety: number): Promise<{
13
- success: boolean;
14
- message: string;
15
- }>;
16
- getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus>;
17
- createInvoices(payload: any): Promise<any>;
18
- }
19
- //# sourceMappingURL=Sellsy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Sellsy.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Sellsy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AAEjG,qBAAa,MAAO,SAAQ,QAAQ;IAClC,aAAa,CAAC,OAAO,EAAE;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAIlD,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAI7E,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAIvE,cAAc,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;CAG3C"}
@@ -1,16 +0,0 @@
1
- import { Resource } from '../Resource';
2
- export class Sellsy extends Resource {
3
- oauthCallback(payload) {
4
- return this.axios.$post('/connectors/sellsy/callback', payload);
5
- }
6
- disconnect(idSociety) {
7
- return this.axios.$delete(`/connectors/sellsy/disconnect/${idSociety}`);
8
- }
9
- getConnectionStatus(societyId) {
10
- return this.axios.$get('/connectors/sellsy/status', { params: { societyId } });
11
- }
12
- createInvoices(payload) {
13
- return this.axios.$post('/connectors/sellsy/invoices', payload);
14
- }
15
- }
16
- //# sourceMappingURL=Sellsy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Sellsy.js","sourceRoot":"","sources":["../../../../ts/api/resources/Sellsy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,MAAO,SAAQ,QAAQ;IAClC,aAAa,CAAC,OAIb;QACC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,UAAU,CAAC,SAAiB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,iCAAiC,SAAS,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,mBAAmB,CAAC,SAAiB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAED,cAAc,CAAC,OAAY;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { SellsyConnectionStatus } from '../../types/Interface/api/sellsy/SellsyConnectionStatus';\n\nexport class Sellsy extends Resource {\n oauthCallback(payload: {\n code: string;\n codeVerifier: string;\n idSociety: number;\n }): Promise<{ success: boolean; message: string }> {\n return this.axios.$post('/connectors/sellsy/callback', payload);\n }\n\n disconnect(idSociety: number): Promise<{ success: boolean; message: string }> {\n return this.axios.$delete(`/connectors/sellsy/disconnect/${idSociety}`);\n }\n\n getConnectionStatus(societyId: number): Promise<SellsyConnectionStatus> {\n return this.axios.$get('/connectors/sellsy/status', { params: { societyId } });\n }\n\n createInvoices(payload: any): Promise<any> {\n return this.axios.$post('/connectors/sellsy/invoices', payload);\n }\n}\n"]}
@@ -1,13 +0,0 @@
1
- import Stripe from 'stripe';
2
- import { Resource } from '../Resource';
3
- import { CreatePurchaseSession, QueryStripePrice } from '../../types';
4
- export declare class StripePurchase extends Resource {
5
- getAllPrices(params: QueryStripePrice): Promise<Stripe.Price[]>;
6
- createNewExerciceSession(metadata: {
7
- idSociety: number;
8
- startDate: string;
9
- endDate: string;
10
- }, payload: CreatePurchaseSession): Promise<Stripe.Response<Stripe.Checkout.Session>>;
11
- createSession(payload: CreatePurchaseSession): Promise<Stripe.Response<Stripe.Checkout.Session>>;
12
- }
13
- //# sourceMappingURL=StripePurchase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StripePurchase.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/StripePurchase.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEtE,qBAAa,cAAe,SAAQ,QAAQ;IAE1C,YAAY,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IAI/D,wBAAwB,CAAC,QAAQ,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;KAAE,EAAE,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAOjL,aAAa,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;CAIjG"}
@@ -1,16 +0,0 @@
1
- import { Resource } from '../Resource';
2
- export class StripePurchase extends Resource {
3
- getAllPrices(params) {
4
- return this.axios.$get('/stripe/purchases/prices', { params });
5
- }
6
- createNewExerciceSession(metadata, payload) {
7
- return this.createSession({
8
- ...payload,
9
- metadata
10
- });
11
- }
12
- createSession(payload) {
13
- return this.axios.$post('/stripe/purchases/sessions', payload);
14
- }
15
- }
16
- //# sourceMappingURL=StripePurchase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StripePurchase.js","sourceRoot":"","sources":["../../../../ts/api/resources/StripePurchase.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,cAAe,SAAQ,QAAQ;IAE1C,YAAY,CAAC,MAAwB;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,wBAAwB,CAAC,QAAoE,EAAE,OAA8B;QAC3H,OAAO,IAAI,CAAC,aAAa,CAAC;YACxB,GAAG,OAAO;YACV,QAAQ;SACT,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,OAA8B;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CAEF","sourcesContent":["import Stripe from 'stripe';\nimport { Resource } from '../Resource';\nimport { CreatePurchaseSession, QueryStripePrice } from '../../types';\n\nexport class StripePurchase extends Resource {\n\n getAllPrices(params: QueryStripePrice): Promise<Stripe.Price[]> {\n return this.axios.$get('/stripe/purchases/prices', { params });\n }\n\n createNewExerciceSession(metadata: { idSociety: number; startDate: string; endDate: string; }, payload: CreatePurchaseSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.createSession({\n ...payload,\n metadata\n });\n }\n\n createSession(payload: CreatePurchaseSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/purchases/sessions', payload);\n }\n\n}"]}
@@ -1,4 +0,0 @@
1
- export declare enum PurchasePriceType {
2
- NEW_EXERCICE = "newExercice"
3
- }
4
- //# sourceMappingURL=Stripe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Stripe.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Stripe.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,YAAY,gBAAgB;CAC7B"}
@@ -1,5 +0,0 @@
1
- export var PurchasePriceType;
2
- (function (PurchasePriceType) {
3
- PurchasePriceType["NEW_EXERCICE"] = "newExercice";
4
- })(PurchasePriceType || (PurchasePriceType = {}));
5
- //# sourceMappingURL=Stripe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Stripe.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Stripe.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC3B,iDAA4B,CAAA;AAC9B,CAAC,EAFW,iBAAiB,KAAjB,iBAAiB,QAE5B","sourcesContent":["export enum PurchasePriceType {\n NEW_EXERCICE = 'newExercice'\n}"]}
@@ -1,8 +0,0 @@
1
- export declare class GenerateVatCard {
2
- idSociety?: number;
3
- }
4
- export declare class GenerateAdvanceISCard {
5
- idSociety?: number;
6
- month?: number;
7
- }
8
- //# sourceMappingURL=Cron.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Cron.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/Cron.ts"],"names":[],"mappings":"AAGA,qBAAa,eAAe;IAI1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,qBAAqB;IAIhC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1,37 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { IsInt, IsOptional } from 'class-validator';
11
- import { ApiPropertyOptional } from '../../../../utils';
12
- export class GenerateVatCard {
13
- idSociety;
14
- }
15
- __decorate([
16
- ApiPropertyOptional(),
17
- IsOptional(),
18
- IsInt(),
19
- __metadata("design:type", Number)
20
- ], GenerateVatCard.prototype, "idSociety", void 0);
21
- export class GenerateAdvanceISCard {
22
- idSociety;
23
- month;
24
- }
25
- __decorate([
26
- ApiPropertyOptional(),
27
- IsOptional(),
28
- IsInt(),
29
- __metadata("design:type", Number)
30
- ], GenerateAdvanceISCard.prototype, "idSociety", void 0);
31
- __decorate([
32
- ApiPropertyOptional(),
33
- IsOptional(),
34
- IsInt(),
35
- __metadata("design:type", Number)
36
- ], GenerateAdvanceISCard.prototype, "month", void 0);
37
- //# sourceMappingURL=Cron.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Cron.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/card/Cron.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,eAAe;IAI1B,SAAS,CAAU;CACpB;AADC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kDACW;AAGrB,MAAM,OAAO,qBAAqB;IAIhC,SAAS,CAAU;IAKnB,KAAK,CAAU;CAChB;AANC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;wDACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oDACO","sourcesContent":["import { IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class GenerateVatCard {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\n\nexport class GenerateAdvanceISCard {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n}"]}
@@ -1,12 +0,0 @@
1
- export interface OAuthTokenRequest {
2
- clientId: string;
3
- redirectUri: string;
4
- codeVerifier: string;
5
- code: string;
6
- }
7
- export interface SellsyTokenResponse {
8
- access_token: string;
9
- refresh_token: string;
10
- expires_in: number;
11
- }
12
- //# sourceMappingURL=OAuthTokenRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuthTokenRequest.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/connector/OAuthTokenRequest.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=OAuthTokenRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuthTokenRequest.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/connector/OAuthTokenRequest.ts"],"names":[],"mappings":"","sourcesContent":["export interface OAuthTokenRequest {\n clientId: string;\n redirectUri: string;\n codeVerifier: string;\n code: string;\n}\n\nexport interface SellsyTokenResponse {\n access_token: string;\n refresh_token: string;\n expires_in: number;\n}\n"]}
@@ -1,14 +0,0 @@
1
- export declare class QueryInpiPaymentCreate {
2
- costType: string;
3
- fileNumber: string;
4
- amount: number;
5
- commission: number;
6
- type: number;
7
- state: number;
8
- idSociety: number;
9
- idUserWhoCreated: number;
10
- idExercice: number;
11
- idPrestationListRelated: number;
12
- datePayment: Date;
13
- }
14
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/inpiPayment/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAQjC,QAAQ,EAAE,MAAM,CAAC;IASjB,UAAU,EAAE,MAAM,CAAC;IASnB,MAAM,EAAE,MAAM,CAAC;IASf,UAAU,EAAE,MAAM,CAAC;IASnB,IAAI,EAAE,MAAM,CAAC;IASb,KAAK,EAAE,MAAM,CAAC;IASd,SAAS,EAAE,MAAM,CAAC;IASlB,gBAAgB,EAAE,MAAM,CAAC;IASzB,UAAU,EAAE,MAAM,CAAC;IASnB,uBAAuB,EAAE,MAAM,CAAC;IAShC,WAAW,EAAE,IAAI,CAAC;CACnB"}