@silexpert/core 1.2.101-0 → 1.2.101-1

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 (242) hide show
  1. package/dist/cjs/api/resources/AccountType.d.ts +1 -4
  2. package/dist/cjs/api/resources/AccountType.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/AccountType.js +0 -3
  4. package/dist/cjs/api/resources/AccountType.js.map +1 -1
  5. package/dist/cjs/api/resources.d.ts +0 -4
  6. package/dist/cjs/api/resources.d.ts.map +1 -1
  7. package/dist/cjs/api/resources.js +0 -4
  8. package/dist/cjs/api/resources.js.map +1 -1
  9. package/dist/cjs/types/Interface/models/IApiError.d.ts +0 -4
  10. package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/models/IApiError.js +0 -5
  12. package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
  13. package/dist/cjs/types/Interface/models/IBankAccount.d.ts +0 -2
  14. package/dist/cjs/types/Interface/models/IBankAccount.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/models/IBankAccount.js.map +1 -1
  16. package/dist/cjs/types/index.d.ts +0 -19
  17. package/dist/cjs/types/index.d.ts.map +1 -1
  18. package/dist/cjs/types/index.js +0 -19
  19. package/dist/cjs/types/index.js.map +1 -1
  20. package/dist/mjs/api/resources/AccountType.d.ts +1 -4
  21. package/dist/mjs/api/resources/AccountType.d.ts.map +1 -1
  22. package/dist/mjs/api/resources/AccountType.js +0 -3
  23. package/dist/mjs/api/resources/AccountType.js.map +1 -1
  24. package/dist/mjs/api/resources.d.ts +0 -4
  25. package/dist/mjs/api/resources.d.ts.map +1 -1
  26. package/dist/mjs/api/resources.js +0 -4
  27. package/dist/mjs/api/resources.js.map +1 -1
  28. package/dist/mjs/types/Interface/models/IApiError.d.ts +0 -4
  29. package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
  30. package/dist/mjs/types/Interface/models/IApiError.js +0 -5
  31. package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
  32. package/dist/mjs/types/Interface/models/IBankAccount.d.ts +0 -2
  33. package/dist/mjs/types/Interface/models/IBankAccount.d.ts.map +1 -1
  34. package/dist/mjs/types/Interface/models/IBankAccount.js.map +1 -1
  35. package/dist/mjs/types/index.d.ts +0 -19
  36. package/dist/mjs/types/index.d.ts.map +1 -1
  37. package/dist/mjs/types/index.js +0 -19
  38. package/dist/mjs/types/index.js.map +1 -1
  39. package/package.json +1 -1
  40. package/ts/api/resources/AccountType.ts +1 -5
  41. package/ts/api/resources.ts +0 -4
  42. package/ts/types/Interface/models/IApiError.ts +0 -5
  43. package/ts/types/Interface/models/IBankAccount.ts +0 -2
  44. package/ts/types/index.ts +0 -19
  45. package/dist/cjs/api/resources/Simulation.d.ts +0 -12
  46. package/dist/cjs/api/resources/Simulation.d.ts.map +0 -1
  47. package/dist/cjs/api/resources/Simulation.js +0 -19
  48. package/dist/cjs/api/resources/Simulation.js.map +0 -1
  49. package/dist/cjs/api/resources/Sponsorship.d.ts +0 -12
  50. package/dist/cjs/api/resources/Sponsorship.d.ts.map +0 -1
  51. package/dist/cjs/api/resources/Sponsorship.js +0 -38
  52. package/dist/cjs/api/resources/Sponsorship.js.map +0 -1
  53. package/dist/cjs/types/Enum/Simulation.d.ts +0 -27
  54. package/dist/cjs/types/Enum/Simulation.d.ts.map +0 -1
  55. package/dist/cjs/types/Enum/Simulation.js +0 -30
  56. package/dist/cjs/types/Enum/Simulation.js.map +0 -1
  57. package/dist/cjs/types/Enum/SponsorshipState.d.ts +0 -7
  58. package/dist/cjs/types/Enum/SponsorshipState.d.ts.map +0 -1
  59. package/dist/cjs/types/Enum/SponsorshipState.js +0 -11
  60. package/dist/cjs/types/Enum/SponsorshipState.js.map +0 -1
  61. package/dist/cjs/types/Interface/api/simulation/CreateSimulation.d.ts +0 -67
  62. package/dist/cjs/types/Interface/api/simulation/CreateSimulation.d.ts.map +0 -1
  63. package/dist/cjs/types/Interface/api/simulation/CreateSimulation.js +0 -11
  64. package/dist/cjs/types/Interface/api/simulation/CreateSimulation.js.map +0 -1
  65. package/dist/cjs/types/Interface/api/simulation/ReadSimulation.d.ts +0 -1
  66. package/dist/cjs/types/Interface/api/simulation/ReadSimulation.d.ts.map +0 -1
  67. package/dist/cjs/types/Interface/api/simulation/ReadSimulation.js +0 -2
  68. package/dist/cjs/types/Interface/api/simulation/ReadSimulation.js.map +0 -1
  69. package/dist/cjs/types/Interface/api/simulationColors/ReadSimulationColors.d.ts +0 -6
  70. package/dist/cjs/types/Interface/api/simulationColors/ReadSimulationColors.d.ts.map +0 -1
  71. package/dist/cjs/types/Interface/api/simulationColors/ReadSimulationColors.js +0 -29
  72. package/dist/cjs/types/Interface/api/simulationColors/ReadSimulationColors.js.map +0 -1
  73. package/dist/cjs/types/Interface/api/sponsorship/CreateSponsorship.d.ts +0 -5
  74. package/dist/cjs/types/Interface/api/sponsorship/CreateSponsorship.d.ts.map +0 -1
  75. package/dist/cjs/types/Interface/api/sponsorship/CreateSponsorship.js +0 -25
  76. package/dist/cjs/types/Interface/api/sponsorship/CreateSponsorship.js.map +0 -1
  77. package/dist/cjs/types/Interface/api/sponsorship/QuerySponsorship.d.ts +0 -10
  78. package/dist/cjs/types/Interface/api/sponsorship/QuerySponsorship.d.ts.map +0 -1
  79. package/dist/cjs/types/Interface/api/sponsorship/QuerySponsorship.js +0 -40
  80. package/dist/cjs/types/Interface/api/sponsorship/QuerySponsorship.js.map +0 -1
  81. package/dist/cjs/types/Interface/api/sponsorship/ReadSponsorship.d.ts +0 -23
  82. package/dist/cjs/types/Interface/api/sponsorship/ReadSponsorship.d.ts.map +0 -1
  83. package/dist/cjs/types/Interface/api/sponsorship/ReadSponsorship.js +0 -7
  84. package/dist/cjs/types/Interface/api/sponsorship/ReadSponsorship.js.map +0 -1
  85. package/dist/cjs/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts +0 -5
  86. package/dist/cjs/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts.map +0 -1
  87. package/dist/cjs/types/Interface/api/sponsorship/SendSponsorshipLink.js +0 -25
  88. package/dist/cjs/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +0 -1
  89. package/dist/cjs/types/Interface/models/ISimulation.d.ts +0 -23
  90. package/dist/cjs/types/Interface/models/ISimulation.d.ts.map +0 -1
  91. package/dist/cjs/types/Interface/models/ISimulation.js +0 -3
  92. package/dist/cjs/types/Interface/models/ISimulation.js.map +0 -1
  93. package/dist/cjs/types/Interface/models/ISimulationAdditionalFinance.d.ts +0 -8
  94. package/dist/cjs/types/Interface/models/ISimulationAdditionalFinance.d.ts.map +0 -1
  95. package/dist/cjs/types/Interface/models/ISimulationAdditionalFinance.js +0 -3
  96. package/dist/cjs/types/Interface/models/ISimulationAdditionalFinance.js.map +0 -1
  97. package/dist/cjs/types/Interface/models/ISimulationColor.d.ts +0 -7
  98. package/dist/cjs/types/Interface/models/ISimulationColor.d.ts.map +0 -1
  99. package/dist/cjs/types/Interface/models/ISimulationColor.js +0 -3
  100. package/dist/cjs/types/Interface/models/ISimulationColor.js.map +0 -1
  101. package/dist/cjs/types/Interface/models/ISimulationElement.d.ts +0 -24
  102. package/dist/cjs/types/Interface/models/ISimulationElement.d.ts.map +0 -1
  103. package/dist/cjs/types/Interface/models/ISimulationElement.js +0 -3
  104. package/dist/cjs/types/Interface/models/ISimulationElement.js.map +0 -1
  105. package/dist/cjs/types/Interface/models/ISimulationHasBankAccount.d.ts +0 -8
  106. package/dist/cjs/types/Interface/models/ISimulationHasBankAccount.d.ts.map +0 -1
  107. package/dist/cjs/types/Interface/models/ISimulationHasBankAccount.js +0 -3
  108. package/dist/cjs/types/Interface/models/ISimulationHasBankAccount.js.map +0 -1
  109. package/dist/cjs/types/Interface/models/ISimulationPeriod.d.ts +0 -12
  110. package/dist/cjs/types/Interface/models/ISimulationPeriod.d.ts.map +0 -1
  111. package/dist/cjs/types/Interface/models/ISimulationPeriod.js +0 -3
  112. package/dist/cjs/types/Interface/models/ISimulationPeriod.js.map +0 -1
  113. package/dist/cjs/types/Interface/models/ISimulationSummary.d.ts +0 -15
  114. package/dist/cjs/types/Interface/models/ISimulationSummary.d.ts.map +0 -1
  115. package/dist/cjs/types/Interface/models/ISimulationSummary.js +0 -3
  116. package/dist/cjs/types/Interface/models/ISimulationSummary.js.map +0 -1
  117. package/dist/cjs/types/Interface/models/ISponsorship.d.ts +0 -11
  118. package/dist/cjs/types/Interface/models/ISponsorship.d.ts.map +0 -1
  119. package/dist/cjs/types/Interface/models/ISponsorship.js +0 -3
  120. package/dist/cjs/types/Interface/models/ISponsorship.js.map +0 -1
  121. package/dist/cjs/types/Interface/models/ISponsorshipCheck.d.ts +0 -6
  122. package/dist/cjs/types/Interface/models/ISponsorshipCheck.d.ts.map +0 -1
  123. package/dist/cjs/types/Interface/models/ISponsorshipCheck.js +0 -3
  124. package/dist/cjs/types/Interface/models/ISponsorshipCheck.js.map +0 -1
  125. package/dist/cjs/types/Interface/models/ISponsorshipLink.d.ts +0 -8
  126. package/dist/cjs/types/Interface/models/ISponsorshipLink.d.ts.map +0 -1
  127. package/dist/cjs/types/Interface/models/ISponsorshipLink.js +0 -3
  128. package/dist/cjs/types/Interface/models/ISponsorshipLink.js.map +0 -1
  129. package/dist/cjs/types/Interface/models/ISponsorshipWithSponsorInfo.d.ts +0 -10
  130. package/dist/cjs/types/Interface/models/ISponsorshipWithSponsorInfo.d.ts.map +0 -1
  131. package/dist/cjs/types/Interface/models/ISponsorshipWithSponsorInfo.js +0 -3
  132. package/dist/cjs/types/Interface/models/ISponsorshipWithSponsorInfo.js.map +0 -1
  133. package/dist/mjs/api/resources/Simulation.d.ts +0 -12
  134. package/dist/mjs/api/resources/Simulation.d.ts.map +0 -1
  135. package/dist/mjs/api/resources/Simulation.js +0 -15
  136. package/dist/mjs/api/resources/Simulation.js.map +0 -1
  137. package/dist/mjs/api/resources/Sponsorship.d.ts +0 -12
  138. package/dist/mjs/api/resources/Sponsorship.d.ts.map +0 -1
  139. package/dist/mjs/api/resources/Sponsorship.js +0 -23
  140. package/dist/mjs/api/resources/Sponsorship.js.map +0 -1
  141. package/dist/mjs/types/Enum/Simulation.d.ts +0 -27
  142. package/dist/mjs/types/Enum/Simulation.d.ts.map +0 -1
  143. package/dist/mjs/types/Enum/Simulation.js +0 -27
  144. package/dist/mjs/types/Enum/Simulation.js.map +0 -1
  145. package/dist/mjs/types/Enum/SponsorshipState.d.ts +0 -7
  146. package/dist/mjs/types/Enum/SponsorshipState.d.ts.map +0 -1
  147. package/dist/mjs/types/Enum/SponsorshipState.js +0 -8
  148. package/dist/mjs/types/Enum/SponsorshipState.js.map +0 -1
  149. package/dist/mjs/types/Interface/api/simulation/CreateSimulation.d.ts +0 -67
  150. package/dist/mjs/types/Interface/api/simulation/CreateSimulation.d.ts.map +0 -1
  151. package/dist/mjs/types/Interface/api/simulation/CreateSimulation.js +0 -44
  152. package/dist/mjs/types/Interface/api/simulation/CreateSimulation.js.map +0 -1
  153. package/dist/mjs/types/Interface/api/simulation/ReadSimulation.d.ts +0 -1
  154. package/dist/mjs/types/Interface/api/simulation/ReadSimulation.d.ts.map +0 -1
  155. package/dist/mjs/types/Interface/api/simulation/ReadSimulation.js +0 -2
  156. package/dist/mjs/types/Interface/api/simulation/ReadSimulation.js.map +0 -1
  157. package/dist/mjs/types/Interface/api/simulationColors/ReadSimulationColors.d.ts +0 -6
  158. package/dist/mjs/types/Interface/api/simulationColors/ReadSimulationColors.d.ts.map +0 -1
  159. package/dist/mjs/types/Interface/api/simulationColors/ReadSimulationColors.js +0 -28
  160. package/dist/mjs/types/Interface/api/simulationColors/ReadSimulationColors.js.map +0 -1
  161. package/dist/mjs/types/Interface/api/sponsorship/CreateSponsorship.d.ts +0 -5
  162. package/dist/mjs/types/Interface/api/sponsorship/CreateSponsorship.d.ts.map +0 -1
  163. package/dist/mjs/types/Interface/api/sponsorship/CreateSponsorship.js +0 -23
  164. package/dist/mjs/types/Interface/api/sponsorship/CreateSponsorship.js.map +0 -1
  165. package/dist/mjs/types/Interface/api/sponsorship/QuerySponsorship.d.ts +0 -10
  166. package/dist/mjs/types/Interface/api/sponsorship/QuerySponsorship.d.ts.map +0 -1
  167. package/dist/mjs/types/Interface/api/sponsorship/QuerySponsorship.js +0 -40
  168. package/dist/mjs/types/Interface/api/sponsorship/QuerySponsorship.js.map +0 -1
  169. package/dist/mjs/types/Interface/api/sponsorship/ReadSponsorship.d.ts +0 -23
  170. package/dist/mjs/types/Interface/api/sponsorship/ReadSponsorship.d.ts.map +0 -1
  171. package/dist/mjs/types/Interface/api/sponsorship/ReadSponsorship.js +0 -6
  172. package/dist/mjs/types/Interface/api/sponsorship/ReadSponsorship.js.map +0 -1
  173. package/dist/mjs/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts +0 -5
  174. package/dist/mjs/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts.map +0 -1
  175. package/dist/mjs/types/Interface/api/sponsorship/SendSponsorshipLink.js +0 -23
  176. package/dist/mjs/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +0 -1
  177. package/dist/mjs/types/Interface/models/ISimulation.d.ts +0 -23
  178. package/dist/mjs/types/Interface/models/ISimulation.d.ts.map +0 -1
  179. package/dist/mjs/types/Interface/models/ISimulation.js +0 -2
  180. package/dist/mjs/types/Interface/models/ISimulation.js.map +0 -1
  181. package/dist/mjs/types/Interface/models/ISimulationAdditionalFinance.d.ts +0 -8
  182. package/dist/mjs/types/Interface/models/ISimulationAdditionalFinance.d.ts.map +0 -1
  183. package/dist/mjs/types/Interface/models/ISimulationAdditionalFinance.js +0 -2
  184. package/dist/mjs/types/Interface/models/ISimulationAdditionalFinance.js.map +0 -1
  185. package/dist/mjs/types/Interface/models/ISimulationColor.d.ts +0 -7
  186. package/dist/mjs/types/Interface/models/ISimulationColor.d.ts.map +0 -1
  187. package/dist/mjs/types/Interface/models/ISimulationColor.js +0 -2
  188. package/dist/mjs/types/Interface/models/ISimulationColor.js.map +0 -1
  189. package/dist/mjs/types/Interface/models/ISimulationElement.d.ts +0 -24
  190. package/dist/mjs/types/Interface/models/ISimulationElement.d.ts.map +0 -1
  191. package/dist/mjs/types/Interface/models/ISimulationElement.js +0 -2
  192. package/dist/mjs/types/Interface/models/ISimulationElement.js.map +0 -1
  193. package/dist/mjs/types/Interface/models/ISimulationHasBankAccount.d.ts +0 -8
  194. package/dist/mjs/types/Interface/models/ISimulationHasBankAccount.d.ts.map +0 -1
  195. package/dist/mjs/types/Interface/models/ISimulationHasBankAccount.js +0 -2
  196. package/dist/mjs/types/Interface/models/ISimulationHasBankAccount.js.map +0 -1
  197. package/dist/mjs/types/Interface/models/ISimulationPeriod.d.ts +0 -12
  198. package/dist/mjs/types/Interface/models/ISimulationPeriod.d.ts.map +0 -1
  199. package/dist/mjs/types/Interface/models/ISimulationPeriod.js +0 -2
  200. package/dist/mjs/types/Interface/models/ISimulationPeriod.js.map +0 -1
  201. package/dist/mjs/types/Interface/models/ISimulationSummary.d.ts +0 -15
  202. package/dist/mjs/types/Interface/models/ISimulationSummary.d.ts.map +0 -1
  203. package/dist/mjs/types/Interface/models/ISimulationSummary.js +0 -2
  204. package/dist/mjs/types/Interface/models/ISimulationSummary.js.map +0 -1
  205. package/dist/mjs/types/Interface/models/ISponsorship.d.ts +0 -11
  206. package/dist/mjs/types/Interface/models/ISponsorship.d.ts.map +0 -1
  207. package/dist/mjs/types/Interface/models/ISponsorship.js +0 -2
  208. package/dist/mjs/types/Interface/models/ISponsorship.js.map +0 -1
  209. package/dist/mjs/types/Interface/models/ISponsorshipCheck.d.ts +0 -6
  210. package/dist/mjs/types/Interface/models/ISponsorshipCheck.d.ts.map +0 -1
  211. package/dist/mjs/types/Interface/models/ISponsorshipCheck.js +0 -2
  212. package/dist/mjs/types/Interface/models/ISponsorshipCheck.js.map +0 -1
  213. package/dist/mjs/types/Interface/models/ISponsorshipLink.d.ts +0 -8
  214. package/dist/mjs/types/Interface/models/ISponsorshipLink.d.ts.map +0 -1
  215. package/dist/mjs/types/Interface/models/ISponsorshipLink.js +0 -2
  216. package/dist/mjs/types/Interface/models/ISponsorshipLink.js.map +0 -1
  217. package/dist/mjs/types/Interface/models/ISponsorshipWithSponsorInfo.d.ts +0 -10
  218. package/dist/mjs/types/Interface/models/ISponsorshipWithSponsorInfo.d.ts.map +0 -1
  219. package/dist/mjs/types/Interface/models/ISponsorshipWithSponsorInfo.js +0 -2
  220. package/dist/mjs/types/Interface/models/ISponsorshipWithSponsorInfo.js.map +0 -1
  221. package/ts/api/resources/Simulation.ts +0 -18
  222. package/ts/api/resources/Sponsorship.ts +0 -37
  223. package/ts/types/Enum/Simulation.ts +0 -26
  224. package/ts/types/Enum/SponsorshipState.ts +0 -6
  225. package/ts/types/Interface/api/simulation/CreateSimulation.ts +0 -103
  226. package/ts/types/Interface/api/simulation/ReadSimulation.ts +0 -0
  227. package/ts/types/Interface/api/simulationColors/ReadSimulationColors.ts +0 -12
  228. package/ts/types/Interface/api/sponsorship/CreateSponsorship.ts +0 -9
  229. package/ts/types/Interface/api/sponsorship/QuerySponsorship.ts +0 -20
  230. package/ts/types/Interface/api/sponsorship/ReadSponsorship.ts +0 -11
  231. package/ts/types/Interface/api/sponsorship/SendSponsorshipLink.ts +0 -9
  232. package/ts/types/Interface/models/ISimulation.ts +0 -26
  233. package/ts/types/Interface/models/ISimulationAdditionalFinance.ts +0 -8
  234. package/ts/types/Interface/models/ISimulationColor.ts +0 -7
  235. package/ts/types/Interface/models/ISimulationElement.ts +0 -27
  236. package/ts/types/Interface/models/ISimulationHasBankAccount.ts +0 -8
  237. package/ts/types/Interface/models/ISimulationPeriod.ts +0 -15
  238. package/ts/types/Interface/models/ISimulationSummary.ts +0 -18
  239. package/ts/types/Interface/models/ISponsorship.ts +0 -10
  240. package/ts/types/Interface/models/ISponsorshipCheck.ts +0 -6
  241. package/ts/types/Interface/models/ISponsorshipLink.ts +0 -7
  242. package/ts/types/Interface/models/ISponsorshipWithSponsorInfo.ts +0 -10
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISponsorshipCheck.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISponsorshipCheck.ts"],"names":[],"mappings":"","sourcesContent":["import { ISponsorshipLink } from './ISponsorshipLink';\n\nexport interface ISponsorshipCheck extends ISponsorshipLink {\n firstname?: string;\n lastname?: string;\n}\n"]}
@@ -1,8 +0,0 @@
1
- export interface ISponsorshipLink {
2
- id?: number;
3
- code?: string;
4
- idSociety: number;
5
- createdAt?: Date | null;
6
- updatedAt?: Date | null;
7
- }
8
- //# sourceMappingURL=ISponsorshipLink.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISponsorshipLink.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISponsorshipLink.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ISponsorshipLink.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISponsorshipLink.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISponsorshipLink.ts"],"names":[],"mappings":"","sourcesContent":["export interface ISponsorshipLink {\n id?: number;\n code?: string;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
@@ -1,10 +0,0 @@
1
- import { ISponsorship } from './ISponsorship';
2
- export interface ISponsorshipWithSponsorInfo extends ISponsorship {
3
- firstname?: string;
4
- lastname?: string;
5
- idSponsor?: number;
6
- sponsorIban?: string | null;
7
- sponsorBic?: string | null;
8
- societySponsorName?: string;
9
- }
10
- //# sourceMappingURL=ISponsorshipWithSponsorInfo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISponsorshipWithSponsorInfo.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISponsorshipWithSponsorInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ISponsorshipWithSponsorInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISponsorshipWithSponsorInfo.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISponsorshipWithSponsorInfo.ts"],"names":[],"mappings":"","sourcesContent":["import { ISponsorship } from './ISponsorship';\n\nexport interface ISponsorshipWithSponsorInfo extends ISponsorship {\n firstname?: string;\n lastname?: string;\n idSponsor?: number;\n sponsorIban?: string | null;\n sponsorBic?: string | null;\n societySponsorName?: string;\n}\n"]}
@@ -1,18 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import { BasePaginate, ISimulation, ISociety, QueryPaginate, ReadSimulationColor } from '../../types';
3
-
4
- export class Simulation extends Resource {
5
- getBySociety(params: { idSociety: number } & QueryPaginate): Promise<BasePaginate<ISimulation>> {
6
- return this.axios.$get(`/society/${params.idSociety}/simulations`, {
7
- params,
8
- });
9
- }
10
-
11
- hideSimulationBetaMessage(params: { idSociety: number }): Promise<ISociety> {
12
- return this.axios.$post(`/society/${params.idSociety}/hideSimulationBetaMessage`);
13
- }
14
-
15
- getColors(): Promise<ReadSimulationColor[]> {
16
- return this.axios.$get('/simulation/colors');
17
- }
18
- }
@@ -1,37 +0,0 @@
1
- import { Resource } from '../Resource';
2
- import {
3
- BasePaginate,
4
- CreateSponsorship,
5
- ISponsorship,
6
- ISponsorshipCheck,
7
- ISponsorshipLink,
8
- QuerySponsorship,
9
- } from '../../types';
10
- import { ISponsorshipWithSponsorInfo } from '../../types/Interface/models/ISponsorshipWithSponsorInfo';
11
-
12
- export class Sponsorship extends Resource {
13
- getSponsorships(params: QuerySponsorship): Promise<BasePaginate<ISponsorship>> {
14
- const { idSociety, ...query } = params;
15
- return this.axios.$get(`/society/${idSociety}/sponsorships`, { params: query });
16
- }
17
-
18
- getSocietySponsorship(idUser: number): Promise<ISponsorshipWithSponsorInfo> {
19
- return this.axios.$get(`/society/sponsorship/${idUser}`);
20
- }
21
-
22
- getSocietySponsorshipLink(code: string): Promise<ISponsorshipCheck> {
23
- return this.axios.$get(`/society/sponsorshipLink/${code}`);
24
- }
25
-
26
- postSocietySponsorshipLink(idSociety: number): Promise<ISponsorshipLink> {
27
- return this.axios.$post(`/society/${idSociety}/sponsorshipLink`);
28
- }
29
-
30
- postSocietySponsorshipLinkSend(idSociety: number, email: string[]): Promise<boolean> {
31
- return this.axios.$post(`/society/${idSociety}/sponsorshipLink/send`, { email });
32
- }
33
-
34
- postSocietySponsorship(params: CreateSponsorship): Promise<ISponsorship> {
35
- return this.axios.$post('/society/sponsorship', params);
36
- }
37
- }
@@ -1,26 +0,0 @@
1
- export const SimulationColor = {
2
- GREEN: {
3
- id: 1,
4
- value: '#5DD8A4',
5
- },
6
- BLUE: {
7
- id: 2,
8
- value: '#21C7E4',
9
- },
10
- YELLOW: {
11
- id: 3,
12
- value: '#FEC32D',
13
- },
14
- ORANGE: {
15
- id: 4,
16
- value: '#FD7558',
17
- },
18
- GREY: {
19
- id: 5,
20
- value: '#6C788B',
21
- },
22
- PURPLE: {
23
- id: 6,
24
- value: '#877AD7',
25
- },
26
- };
@@ -1,6 +0,0 @@
1
- export enum SponsorshipState {
2
- WAITING = 1,
3
- CONFIRMED = 2,
4
- PAID = 3,
5
- NOT_PAID = 0,
6
- }
@@ -1,103 +0,0 @@
1
- // import {SimulationColor} from '../../..';
2
-
3
- export interface SimulationEstimateInvoice {
4
- createdAt: string;
5
- dateInvoiceCreated: string;
6
- deletedAt: null;
7
- deposit: number;
8
- discount: string;
9
- dueDate: string;
10
- estimateMailSend: null;
11
- estimateRef: null;
12
- expirationDate: null;
13
- fileEstimate: null;
14
- fileInvoice: string;
15
- freeText: string;
16
- generalComment: string;
17
- generalDiscount: number;
18
- greetings: boolean;
19
- idEstimateInvoice: number;
20
- idEstimateInvoiceForThisRepeat: number | null;
21
- idFrequency: number | null;
22
- idRelatedEstimateOrderForm: number | null;
23
- idRelatedInvoice: number | null;
24
- idSociety: number;
25
- idThirdParty: number;
26
- idEstimateInvoiceType: number;
27
- invoiceMailSend: null;
28
- invoiceRef: string;
29
- isCanceled: boolean;
30
- isDraft: boolean;
31
- isPaid: boolean;
32
- isRefused: boolean;
33
- isStripe: boolean;
34
- isUsed: boolean;
35
- label: string;
36
- lastRelanceDate: null;
37
- lastTryRepeat: null;
38
- payment: string;
39
- penalties: string;
40
- recoveryCost: string;
41
- template: number;
42
- totalHt: number;
43
- totalTtc: number;
44
- updatedAt: string;
45
- vatMention: string;
46
- }
47
-
48
- export class CreateBalanceElement {
49
- // @ApiProperty()
50
- action: string;
51
- // @ApiProperty()
52
- amount: number;
53
- // @ApiProperty()
54
- dateValue: string;
55
- // @ApiProperty()
56
- idBankAccount: number;
57
- }
58
-
59
- export class CreateSimulation {
60
- // @ApiProperty()
61
- name: string;
62
-
63
- // @ApiPropertyOptional()
64
- commentary: string;
65
-
66
- // @ApiProperty()
67
- financesStart: number;
68
-
69
- // @ApiProperty({enum: [SimulationColor]})
70
- idSimulationColor: number;
71
-
72
- // @ApiProperty()
73
- startDate: Date;
74
-
75
- // @ApiProperty()
76
- endDate: Date;
77
-
78
- // @ApiProperty()
79
- importSalesInvoice: boolean;
80
-
81
- // @ApiProperty()
82
- importPurchaseInvoice: boolean;
83
-
84
- // @ApiProperty()
85
- defaultCollectionDelayForSales: number;
86
-
87
- // @ApiProperty()
88
- defaultPaymentDelayForPurchase: number;
89
-
90
- // @ApiProperty()
91
- idSociety: number;
92
-
93
- // @ApiPropertyOptional()
94
- bankAccounts?: Array<number>;
95
-
96
- // @ApiPropertyOptional()
97
- invoices?: Partial<SimulationEstimateInvoice>[];
98
-
99
- // @ApiPropertyOptional({
100
- // type: [CreateBalanceElement]
101
- // })
102
- createBalanceElement?: [CreateBalanceElement];
103
- }
@@ -1,12 +0,0 @@
1
- import { ApiProperty } from '../../../../utils';
2
-
3
- export class ReadSimulationColor {
4
- @ApiProperty()
5
- id: number;
6
-
7
- @ApiProperty()
8
- name: string;
9
-
10
- @ApiProperty()
11
- value: string;
12
- }
@@ -1,9 +0,0 @@
1
- import { ApiProperty } from '../../../../utils';
2
-
3
- export class CreateSponsorship {
4
- @ApiProperty()
5
- idBeneficiary: number;
6
-
7
- @ApiProperty()
8
- code: string;
9
- }
@@ -1,20 +0,0 @@
1
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
-
3
- export class QuerySponsorship {
4
- @ApiProperty()
5
- page: number;
6
-
7
- @ApiProperty()
8
- limit: number;
9
-
10
- @ApiPropertyOptional()
11
- state?: number;
12
-
13
- @ApiProperty()
14
- idSociety?: number;
15
- }
16
-
17
- export class QuerySponsorshipApprove {
18
- @ApiPropertyOptional({ description: 'Disable e-mail send with summary' })
19
- disableEmail?: boolean;
20
- }
@@ -1,11 +0,0 @@
1
- export class ReadSponsorshipApprove {
2
- approved: Array<{
3
- idBeneficiary: number;
4
- subscriptionId: string;
5
- name: string;
6
- createdAt: string;
7
- sponsor: { idSociety: number; subscriptionId: string; iban: string; bic: string; name: string };
8
- }>;
9
- failed: Array<{ idBeneficiary: number; reason: string }>;
10
- waiting: Array<{ idBeneficiary: number }>;
11
- }
@@ -1,9 +0,0 @@
1
- import { ApiProperty } from '../../../../utils';
2
-
3
- export class SendSponsorshipLink {
4
- @ApiProperty()
5
- email: string | string[];
6
-
7
- @ApiProperty()
8
- idSociety: number;
9
- }
@@ -1,26 +0,0 @@
1
- import { ISimulationColor } from './ISimulationColor';
2
- import { ISociety } from './ISociety';
3
- import { IBankAccount } from './IBankAccount';
4
-
5
- // simulation
6
- export interface ISimulation {
7
- id?: number;
8
- name: string;
9
- startDate: Date;
10
- endDate: Date;
11
- importSalesInvoice: boolean;
12
- importPurchaseInvoice: boolean;
13
- defaultCollectionDelayForSales: number;
14
- defaultPaymentDelayForPurchase: number;
15
- financesStart: number;
16
- idSociety: number;
17
- idSimulationColor: number;
18
- createdAt?: Date | null;
19
- updatedAt?: Date | null;
20
- commentary?: string | null;
21
-
22
- // Associations
23
- simulationColor?: ISimulationColor;
24
- simulationSociety?: ISociety | null;
25
- bankAccounts?: IBankAccount[];
26
- }
@@ -1,8 +0,0 @@
1
- // simulationAdditionalFinances
2
- export interface ISimulationAdditionalFinance {
3
- id?: number;
4
- idSimulationPeriod: number;
5
- amount: number;
6
- createdAt?: Date | null;
7
- updatedAt?: Date | null;
8
- }
@@ -1,7 +0,0 @@
1
- // simulationColor
2
- export interface ISimulationColor {
3
- id?: number;
4
- value: string;
5
- createdAt?: Date | null;
6
- updatedAt?: Date | null;
7
- }
@@ -1,27 +0,0 @@
1
- import { ISimulationPeriod } from './ISimulationPeriod';
2
- import { IAccountType } from './IAccountType';
3
- import { IEstimateInvoice } from './IEstimateInvoice';
4
- import { IAccountingTransaction } from './IAccountingTransaction';
5
-
6
- // simulationElement
7
- export interface ISimulationElement {
8
- id?: number;
9
- name: string;
10
- amount: number;
11
- idSimulationPeriod: number;
12
- idAccountType: number;
13
- idEstimateInvoice: number | null;
14
- idAccountingTransaction: number | null;
15
- idAccount: number | null;
16
- idTva: number | null;
17
- isCollection: boolean | null;
18
- createdAt?: Date | null;
19
- updatedAt?: Date | null;
20
- isSynchronizedElement: boolean | null;
21
-
22
- // Associations
23
- simulationPeriod: ISimulationPeriod;
24
- accountType: IAccountType;
25
- estimatesInvoices: IEstimateInvoice;
26
- accountingTransactions: IAccountingTransaction;
27
- }
@@ -1,8 +0,0 @@
1
- // simulationHasBankAccount
2
- export interface ISimulationHasBankAccount {
3
- id?: number;
4
- idSimulation: number;
5
- idBankAccount: number;
6
- createdAt?: Date | null;
7
- updatedAt?: Date | null;
8
- }
@@ -1,15 +0,0 @@
1
- import { ISimulation } from './ISimulation';
2
- import { ISimulationElement } from './ISimulationElement';
3
-
4
- // simulationPeriod
5
- export interface ISimulationPeriod {
6
- id?: number;
7
- period: Date;
8
- idSimulation: number;
9
- createdAt?: Date | null;
10
- updatedAt?: Date | null;
11
-
12
- // Associations
13
- simulation_simulationPeriod: ISimulation;
14
- simulationElements: ISimulationElement[];
15
- }
@@ -1,18 +0,0 @@
1
- import { ISimulationPeriod } from './ISimulationPeriod';
2
- import { IAccountType } from './IAccountType';
3
-
4
- // simulationSummary
5
- export interface ISimulationSummary {
6
- id?: number;
7
- realAmount: number;
8
- simulatedAmount: number;
9
- isCollection: boolean;
10
- idSimulationPeriod: number;
11
- idAccountType: number;
12
- createdAt?: Date | null;
13
- updatedAt?: Date | null;
14
-
15
- // Associations
16
- simulationPeriod: ISimulationPeriod;
17
- accountType: IAccountType;
18
- }
@@ -1,10 +0,0 @@
1
- export interface ISponsorship {
2
- id?: number;
3
- idBeneficiary: number;
4
- state: number;
5
- idSociety: number;
6
- createdAt?: Date | null;
7
- updatedAt?: Date | null;
8
- idLegalFormBeneficiary?: number;
9
- email?: string;
10
- }
@@ -1,6 +0,0 @@
1
- import { ISponsorshipLink } from './ISponsorshipLink';
2
-
3
- export interface ISponsorshipCheck extends ISponsorshipLink {
4
- firstname?: string;
5
- lastname?: string;
6
- }
@@ -1,7 +0,0 @@
1
- export interface ISponsorshipLink {
2
- id?: number;
3
- code?: string;
4
- idSociety: number;
5
- createdAt?: Date | null;
6
- updatedAt?: Date | null;
7
- }
@@ -1,10 +0,0 @@
1
- import { ISponsorship } from './ISponsorship';
2
-
3
- export interface ISponsorshipWithSponsorInfo extends ISponsorship {
4
- firstname?: string;
5
- lastname?: string;
6
- idSponsor?: number;
7
- sponsorIban?: string | null;
8
- sponsorBic?: string | null;
9
- societySponsorName?: string;
10
- }