@silexpert/core 0.4.13 → 0.4.15

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 (262) hide show
  1. package/es/api/resources/Authenticate.d.ts +9 -0
  2. package/es/api/resources/Authenticate.d.ts.map +1 -0
  3. package/es/api/resources/Authenticate.js +7 -0
  4. package/es/api/resources/Authenticate.js.map +1 -0
  5. package/es/api/resources/BalanceSheet.d.ts +8 -0
  6. package/es/api/resources/BalanceSheet.d.ts.map +1 -0
  7. package/es/api/resources/BalanceSheet.js +12 -0
  8. package/es/api/resources/BalanceSheet.js.map +1 -0
  9. package/es/api/resources/Cerfa.d.ts +10 -0
  10. package/es/api/resources/Cerfa.d.ts.map +1 -0
  11. package/es/api/resources/Cerfa.js +12 -0
  12. package/es/api/resources/Cerfa.js.map +1 -0
  13. package/es/api/resources/LegalForm.d.ts +6 -0
  14. package/es/api/resources/LegalForm.d.ts.map +1 -0
  15. package/es/api/resources/LegalForm.js +7 -0
  16. package/es/api/resources/LegalForm.js.map +1 -0
  17. package/es/api/resources/Letter.d.ts +6 -0
  18. package/es/api/resources/Letter.d.ts.map +1 -0
  19. package/es/api/resources/Letter.js +7 -0
  20. package/es/api/resources/Letter.js.map +1 -0
  21. package/es/api/resources/Report.d.ts +14 -0
  22. package/es/api/resources/Report.d.ts.map +1 -0
  23. package/es/api/resources/Report.js +13 -0
  24. package/es/api/resources/Report.js.map +1 -0
  25. package/es/api/resources/Society.d.ts +3 -1
  26. package/es/api/resources/Society.d.ts.map +1 -1
  27. package/es/api/resources/Society.js +7 -0
  28. package/es/api/resources/Society.js.map +1 -1
  29. package/es/api/resources/User.d.ts +4 -1
  30. package/es/api/resources/User.d.ts.map +1 -1
  31. package/es/api/resources/User.js +9 -0
  32. package/es/api/resources/User.js.map +1 -1
  33. package/es/api/resources.d.ts +14 -2
  34. package/es/api/resources.d.ts.map +1 -1
  35. package/es/api/resources.js +14 -2
  36. package/es/api/resources.js.map +1 -1
  37. package/es/types/Enum/AccountingJournal.d.ts +2 -1
  38. package/es/types/Enum/AccountingJournal.d.ts.map +1 -1
  39. package/es/types/Enum/AccountingJournal.js +1 -0
  40. package/es/types/Enum/AccountingJournal.js.map +1 -1
  41. package/es/types/Enum/BalanceSheet.d.ts +21 -0
  42. package/es/types/Enum/BalanceSheet.d.ts.map +1 -0
  43. package/es/types/Enum/BalanceSheet.js +529 -0
  44. package/es/types/Enum/BalanceSheet.js.map +1 -0
  45. package/es/types/Enum/DefaultPermissions.d.ts +13 -0
  46. package/es/types/Enum/DefaultPermissions.d.ts.map +1 -0
  47. package/es/types/Enum/DefaultPermissions.js +13 -0
  48. package/es/types/Enum/DefaultPermissions.js.map +1 -0
  49. package/es/types/Enum/IncomeStatement.d.ts +1 -0
  50. package/es/types/Enum/IncomeStatement.d.ts.map +1 -1
  51. package/es/types/Enum/IncomeStatement.js +5 -2
  52. package/es/types/Enum/IncomeStatement.js.map +1 -1
  53. package/es/types/Enum/LegalForm.d.ts +1 -0
  54. package/es/types/Enum/LegalForm.d.ts.map +1 -1
  55. package/es/types/Enum/LegalForm.js +1 -0
  56. package/es/types/Enum/LegalForm.js.map +1 -1
  57. package/es/types/Enum/LetterType.d.ts +47 -0
  58. package/es/types/Enum/LetterType.d.ts.map +1 -0
  59. package/es/types/Enum/LetterType.js +47 -0
  60. package/es/types/Enum/LetterType.js.map +1 -0
  61. package/es/types/Enum/ReportState.d.ts +31 -0
  62. package/es/types/Enum/ReportState.d.ts.map +1 -0
  63. package/es/types/Enum/ReportState.js +31 -0
  64. package/es/types/Enum/ReportState.js.map +1 -0
  65. package/es/types/Enum/ReportType.d.ts +27 -0
  66. package/es/types/Enum/ReportType.d.ts.map +1 -0
  67. package/es/types/Enum/ReportType.js +27 -0
  68. package/es/types/Enum/ReportType.js.map +1 -0
  69. package/es/types/Enum/Role.d.ts +7 -2
  70. package/es/types/Enum/Role.d.ts.map +1 -1
  71. package/es/types/Enum/Role.js +6 -1
  72. package/es/types/Enum/Role.js.map +1 -1
  73. package/es/types/Enum/Vehicle.d.ts +8 -0
  74. package/es/types/Enum/Vehicle.d.ts.map +1 -0
  75. package/es/types/Enum/Vehicle.js +9 -0
  76. package/es/types/Enum/Vehicle.js.map +1 -0
  77. package/es/types/Enum/VehicleType.d.ts +15 -0
  78. package/es/types/Enum/VehicleType.d.ts.map +1 -0
  79. package/es/types/Enum/VehicleType.js +15 -0
  80. package/es/types/Enum/VehicleType.js.map +1 -0
  81. package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +11 -0
  82. package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -0
  83. package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.js +2 -0
  84. package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -0
  85. package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +292 -0
  86. package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -0
  87. package/es/types/Interface/api/cerfa/CreateCerfa.js +113 -0
  88. package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -0
  89. package/es/types/Interface/api/letter/CreateLetter.d.ts +15 -0
  90. package/es/types/Interface/api/letter/CreateLetter.d.ts.map +1 -0
  91. package/es/types/Interface/api/letter/CreateLetter.js +57 -0
  92. package/es/types/Interface/api/letter/CreateLetter.js.map +1 -0
  93. package/es/types/Interface/api/report/CreateReport.d.ts +13 -0
  94. package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -0
  95. package/es/types/Interface/api/report/CreateReport.js +45 -0
  96. package/es/types/Interface/api/report/CreateReport.js.map +1 -0
  97. package/es/types/Interface/api/report/QueryReports.d.ts +9 -0
  98. package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -0
  99. package/es/types/Interface/api/report/QueryReports.js +37 -0
  100. package/es/types/Interface/api/report/QueryReports.js.map +1 -0
  101. package/es/types/Interface/api/report/ReadReport.d.ts +8 -0
  102. package/es/types/Interface/api/report/ReadReport.d.ts.map +1 -0
  103. package/es/types/Interface/api/report/ReadReport.js +2 -0
  104. package/es/types/Interface/api/report/ReadReport.js.map +1 -0
  105. package/es/types/Interface/api/society/CreateSociety.d.ts +13 -0
  106. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -0
  107. package/es/types/Interface/api/society/CreateSociety.js +41 -0
  108. package/es/types/Interface/api/society/CreateSociety.js.map +1 -0
  109. package/es/types/Interface/api/society/GetDataSociety.d.ts +5 -0
  110. package/es/types/Interface/api/society/GetDataSociety.d.ts.map +1 -0
  111. package/es/types/Interface/api/society/GetDataSociety.js +2 -0
  112. package/es/types/Interface/api/society/GetDataSociety.js.map +1 -0
  113. package/es/types/Interface/api/society/LegalFormSiren.d.ts +6 -0
  114. package/es/types/Interface/api/society/LegalFormSiren.d.ts.map +1 -0
  115. package/es/types/Interface/api/society/LegalFormSiren.js +2 -0
  116. package/es/types/Interface/api/society/LegalFormSiren.js.map +1 -0
  117. package/es/types/Interface/api/user/CreateUser.d.ts +10 -0
  118. package/es/types/Interface/api/user/CreateUser.d.ts.map +1 -0
  119. package/es/types/Interface/api/user/CreateUser.js +41 -0
  120. package/es/types/Interface/api/user/CreateUser.js.map +1 -0
  121. package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts +4 -0
  122. package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts.map +1 -0
  123. package/es/types/Interface/api/user/QueryUserSmsConfirmation.js +17 -0
  124. package/es/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -0
  125. package/es/types/Interface/models/IAccountingJournal.d.ts +2 -0
  126. package/es/types/Interface/models/IAccountingJournal.d.ts.map +1 -1
  127. package/es/types/Interface/models/IAccountingJournal.js.map +1 -1
  128. package/es/types/Interface/models/IApiError.d.ts +9 -1
  129. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  130. package/es/types/Interface/models/IApiError.js +11 -0
  131. package/es/types/Interface/models/IApiError.js.map +1 -1
  132. package/es/types/Interface/models/ILetter.d.ts +18 -14
  133. package/es/types/Interface/models/ILetter.d.ts.map +1 -1
  134. package/es/types/Interface/models/ILetter.js.map +1 -1
  135. package/es/types/Interface/models/IReport.d.ts +12 -11
  136. package/es/types/Interface/models/IReport.d.ts.map +1 -1
  137. package/es/types/Interface/models/IReport.js.map +1 -1
  138. package/es/types/Interface/models/IReportMessage.d.ts +1 -1
  139. package/es/types/Interface/models/IReportMessage.d.ts.map +1 -1
  140. package/es/types/Interface/models/IReportMessage.js.map +1 -1
  141. package/es/types/Interface/models/IReportType.js.map +1 -1
  142. package/es/types/Interface/models/ISociety.d.ts +0 -1
  143. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  144. package/es/types/Interface/models/ISociety.js.map +1 -1
  145. package/es/types/index.d.ts +22 -4
  146. package/es/types/index.d.ts.map +1 -1
  147. package/es/types/index.js +23 -4
  148. package/es/types/index.js.map +1 -1
  149. package/es/utils/objectUtils/overwrite.d.ts.map +1 -1
  150. package/es/utils/objectUtils/overwrite.js.map +1 -1
  151. package/js/api/resources/Authenticate.js +18 -0
  152. package/js/api/resources/Authenticate.js.map +1 -0
  153. package/js/api/resources/BalanceSheet.js +23 -0
  154. package/js/api/resources/BalanceSheet.js.map +1 -0
  155. package/js/api/resources/Cerfa.js +23 -0
  156. package/js/api/resources/Cerfa.js.map +1 -0
  157. package/js/api/resources/LegalForm.js +18 -0
  158. package/js/api/resources/LegalForm.js.map +1 -0
  159. package/js/api/resources/Letter.js +18 -0
  160. package/js/api/resources/Letter.js.map +1 -0
  161. package/js/api/resources/Report.js +28 -0
  162. package/js/api/resources/Report.js.map +1 -0
  163. package/js/api/resources/Society.js +11 -0
  164. package/js/api/resources/Society.js.map +1 -1
  165. package/js/api/resources/User.js +14 -0
  166. package/js/api/resources/User.js.map +1 -1
  167. package/js/api/resources.js +21 -3
  168. package/js/api/resources.js.map +1 -1
  169. package/js/types/Enum/AccountingJournal.js +1 -0
  170. package/js/types/Enum/AccountingJournal.js.map +1 -1
  171. package/js/types/Enum/BalanceSheet.js +438 -0
  172. package/js/types/Enum/BalanceSheet.js.map +1 -0
  173. package/js/types/Enum/DefaultPermissions.js +18 -0
  174. package/js/types/Enum/DefaultPermissions.js.map +1 -0
  175. package/js/types/Enum/IncomeStatement.js +5 -2
  176. package/js/types/Enum/IncomeStatement.js.map +1 -1
  177. package/js/types/Enum/LegalForm.js +1 -0
  178. package/js/types/Enum/LegalForm.js.map +1 -1
  179. package/js/types/Enum/LetterType.js +52 -0
  180. package/js/types/Enum/LetterType.js.map +1 -0
  181. package/js/types/Enum/ReportState.js +36 -0
  182. package/js/types/Enum/ReportState.js.map +1 -0
  183. package/js/types/Enum/ReportType.js +32 -0
  184. package/js/types/Enum/ReportType.js.map +1 -0
  185. package/js/types/Enum/Role.js +6 -1
  186. package/js/types/Enum/Role.js.map +1 -1
  187. package/js/types/Enum/Vehicle.js +15 -0
  188. package/js/types/Enum/Vehicle.js.map +1 -0
  189. package/js/types/Enum/VehicleType.js +20 -0
  190. package/js/types/Enum/VehicleType.js.map +1 -0
  191. package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js +6 -0
  192. package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -0
  193. package/js/types/Interface/api/cerfa/CreateCerfa.js +75 -0
  194. package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -0
  195. package/js/types/Interface/api/letter/CreateLetter.js +47 -0
  196. package/js/types/Interface/api/letter/CreateLetter.js.map +1 -0
  197. package/js/types/Interface/api/report/CreateReport.js +41 -0
  198. package/js/types/Interface/api/report/CreateReport.js.map +1 -0
  199. package/js/types/Interface/api/report/QueryReports.js +37 -0
  200. package/js/types/Interface/api/report/QueryReports.js.map +1 -0
  201. package/js/types/Interface/api/{society/ReadSociety.js → report/ReadReport.js} +1 -1
  202. package/js/types/Interface/api/{society/ReadSociety.js.map → report/ReadReport.js.map} +1 -1
  203. package/js/types/Interface/api/society/CreateSociety.js +39 -0
  204. package/js/types/Interface/api/society/CreateSociety.js.map +1 -0
  205. package/js/types/Interface/api/society/GetDataSociety.js +6 -0
  206. package/js/types/Interface/api/society/GetDataSociety.js.map +1 -0
  207. package/js/types/Interface/api/society/LegalFormSiren.js +6 -0
  208. package/js/types/Interface/api/society/LegalFormSiren.js.map +1 -0
  209. package/js/types/Interface/api/user/CreateUser.js +39 -0
  210. package/js/types/Interface/api/user/CreateUser.js.map +1 -0
  211. package/js/types/Interface/api/user/QueryUserSmsConfirmation.js +27 -0
  212. package/js/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -0
  213. package/js/types/Interface/models/IApiError.js +14 -3
  214. package/js/types/Interface/models/IApiError.js.map +1 -1
  215. package/js/types/index.js +240 -24
  216. package/js/types/index.js.map +1 -1
  217. package/package.json +16 -16
  218. package/ts/api/resources/Authenticate.ts +7 -0
  219. package/ts/api/resources/BalanceSheet.ts +12 -0
  220. package/ts/api/resources/Cerfa.ts +13 -0
  221. package/ts/api/resources/LegalForm.ts +8 -0
  222. package/ts/api/resources/Letter.ts +10 -0
  223. package/ts/api/resources/Report.ts +22 -0
  224. package/ts/api/resources/Society.ts +11 -0
  225. package/ts/api/resources/User.ts +12 -1
  226. package/ts/api/resources.ts +14 -2
  227. package/ts/types/Enum/AccountingJournal.ts +1 -0
  228. package/ts/types/Enum/BalanceSheet.ts +555 -0
  229. package/ts/types/Enum/DefaultPermissions.ts +12 -0
  230. package/ts/types/Enum/IncomeStatement.ts +6 -2
  231. package/ts/types/Enum/LegalForm.ts +1 -0
  232. package/ts/types/Enum/LetterType.ts +46 -0
  233. package/ts/types/Enum/ReportState.ts +30 -0
  234. package/ts/types/Enum/ReportType.ts +26 -0
  235. package/ts/types/Enum/Role.ts +6 -1
  236. package/ts/types/Enum/Vehicle.ts +7 -0
  237. package/ts/types/Enum/VehicleType.ts +14 -0
  238. package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +10 -0
  239. package/ts/types/Interface/api/cerfa/CreateCerfa.ts +350 -0
  240. package/ts/types/Interface/api/letter/CreateLetter.ts +37 -0
  241. package/ts/types/Interface/api/report/CreateReport.ts +29 -0
  242. package/ts/types/Interface/api/report/QueryReports.ts +21 -0
  243. package/ts/types/Interface/api/report/ReadReport.ts +9 -0
  244. package/ts/types/Interface/api/society/CreateSociety.ts +24 -0
  245. package/ts/types/Interface/api/society/GetDataSociety.ts +4 -0
  246. package/ts/types/Interface/api/society/LegalFormSiren.ts +5 -0
  247. package/ts/types/Interface/api/user/CreateUser.ts +18 -0
  248. package/ts/types/Interface/api/user/QueryUserSmsConfirmation.ts +6 -0
  249. package/ts/types/Interface/models/IAccountingJournal.ts +2 -0
  250. package/ts/types/Interface/models/IApiError.ts +14 -0
  251. package/ts/types/Interface/models/ILetter.ts +18 -14
  252. package/ts/types/Interface/models/IReport.ts +12 -11
  253. package/ts/types/Interface/models/IReportMessage.ts +1 -1
  254. package/ts/types/Interface/models/IReportType.ts +1 -1
  255. package/ts/types/Interface/models/ISociety.ts +0 -1
  256. package/ts/types/index.ts +23 -4
  257. package/ts/utils/objectUtils/overwrite.ts +1 -1
  258. package/es/types/Interface/api/society/ReadSociety.d.ts +0 -5
  259. package/es/types/Interface/api/society/ReadSociety.d.ts.map +0 -1
  260. package/es/types/Interface/api/society/ReadSociety.js +0 -2
  261. package/es/types/Interface/api/society/ReadSociety.js.map +0 -1
  262. package/ts/types/Interface/api/society/ReadSociety.ts +0 -5
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"ReadSociety.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"ReadReport.js"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CreateSociety = undefined;
7
+
8
+ var _utils = require("../../../../utils");
9
+
10
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11
+ var c = arguments.length,
12
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
13
+ d;
14
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
15
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
16
+ };
17
+
18
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
19
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
20
+ };
21
+
22
+ class CreateSociety {}
23
+
24
+ exports.CreateSociety = CreateSociety;
25
+
26
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateSociety.prototype, "idUser", void 0);
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], CreateSociety.prototype, "idTypeCompta", void 0);
29
+
30
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], CreateSociety.prototype, "name", void 0);
31
+
32
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "idActivity", void 0);
33
+
34
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "idTvaRegime", void 0);
35
+
36
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "idLegalForm", void 0);
37
+
38
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateSociety.prototype, "exercicePeriod", void 0);
39
+ //# sourceMappingURL=CreateSociety.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAO,aAAP,CAAoB;;QAAb,a,GAAA,a;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,uBAAA,E,QAAA,E,KAAe,CAAf,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,uBAAA,E,cAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,MAAA,E,KAAc,CAAd,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,YAAA,E,KAAoB,CAApB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,aAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,aAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,gBAAA,E,KAAgD,CAAhD,CAAA","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateSociety {\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idTvaRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n}"],"sourceRoot":"","file":"CreateSociety.js"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=GetDataSociety.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"GetDataSociety.js"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=LegalFormSiren.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"","file":"LegalFormSiren.js"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CreateUser = undefined;
7
+
8
+ var _utils = require("../../../../utils");
9
+
10
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11
+ var c = arguments.length,
12
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
13
+ d;
14
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
15
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
16
+ };
17
+
18
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
19
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
20
+ };
21
+
22
+ class CreateUser {}
23
+
24
+ exports.CreateUser = CreateUser;
25
+
26
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateUser.prototype, "email", void 0);
27
+
28
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateUser.prototype, "phone", void 0);
29
+
30
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateUser.prototype, "password", void 0);
31
+
32
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateUser.prototype, "firstname", void 0);
33
+
34
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateUser.prototype, "lastname", void 0);
35
+
36
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Boolean)], CreateUser.prototype, "acceptCgv", void 0);
37
+
38
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], CreateUser.prototype, "acceptNewsletter", void 0);
39
+ //# sourceMappingURL=CreateUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/user/CreateUser.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAO,UAAP,CAAiB;;QAAV,U,GAAA,U;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,oBAAA,E,OAAA,E,KAAc,CAAd,CAAA;;AAEA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,oBAAA,E,OAAA,E,KAAc,CAAd,CAAA;;AAEA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,oBAAA,E,UAAA,E,KAAiB,CAAjB,CAAA;;AAEA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,oBAAA,E,WAAA,E,KAAkB,CAAlB,CAAA;;AAEA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,oBAAA,E,UAAA,E,KAAiB,CAAjB,CAAA;;AAEA,UAAA,CAAA,CADC,yBACD,E,kCAAA,CAAA,E,oBAAA,E,WAAA,E,KAAoB,CAApB,CAAA;;AAEA,UAAA,CAAA,CADC,iCACD,E,kCAAA,CAAA,E,oBAAA,E,kBAAA,E,KAA2B,CAA3B,CAAA","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateUser {\n @ApiProperty()\n email: string;\n @ApiProperty()\n phone: string;\n @ApiProperty()\n password: string;\n @ApiProperty()\n firstname: string;\n @ApiProperty()\n lastname: string;\n @ApiProperty()\n acceptCgv?: boolean; // not sure if needed (maybe more a front notion)\n @ApiPropertyOptional()\n acceptNewsletter?: boolean;\n}"],"sourceRoot":"","file":"CreateUser.js"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.QueryUserSmsConfirmation = undefined;
7
+
8
+ var _utils = require("../../../../utils");
9
+
10
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11
+ var c = arguments.length,
12
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
13
+ d;
14
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
15
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
16
+ };
17
+
18
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
19
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
20
+ };
21
+
22
+ class QueryUserSmsConfirmation {}
23
+
24
+ exports.QueryUserSmsConfirmation = QueryUserSmsConfirmation;
25
+
26
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], QueryUserSmsConfirmation.prototype, "code", void 0);
27
+ //# sourceMappingURL=QueryUserSmsConfirmation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../ts/types/Interface/api/user/QueryUserSmsConfirmation.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAEM,MAAO,wBAAP,CAA+B;;QAAxB,wB,GAAA,wB;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,kCAAA,E,MAAA,E,KAAa,CAAb,CAAA","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryUserSmsConfirmation {\n @ApiProperty()\n code: string;\n}"],"sourceRoot":"","file":"QueryUserSmsConfirmation.js"}
@@ -45,7 +45,8 @@ var Code = exports.Code = undefined;
45
45
  Code["amountImmobilizationLessThanAmountAllTaxIncluded"] = "amount_immobilization_less_than_amount_all_tax_included";
46
46
  Code["amountImmobilizationIsGreaterThanTotalAmountTransactions"] = "amount_immobilization_is_greater_than_total_amount_transactions"; // PDF error
47
47
 
48
- Code["mergeFailed"] = "merge_failed"; // Email error
48
+ Code["mergeFailed"] = "merge_failed";
49
+ Code["generationError"] = "generation_error"; // Email error
49
50
 
50
51
  Code["emailAlreadyExist"] = "email_already_exist";
51
52
  Code["societyCustomEmailAlreadyExist"] = "society_custom_email_already_exist";
@@ -55,8 +56,18 @@ var Code = exports.Code = undefined;
55
56
  Code["missingParamAccountNumber"] = "missing_param_account_number";
56
57
  Code["accountNumberParamNotFound"] = "account_number_param_not_found"; // Income statement
57
58
 
58
- Code["invalidIncomeStatementList"] = "invalid_income_statement_list"; // FecFile
59
+ Code["invalidIncomeStatementList"] = "invalid_income_statement_list"; // Balance Sheet
59
60
 
60
- Code["insertAccountingTransactionFailed"] = "insert_accounting_transaction_failed";
61
+ Code["invalidBalanceSheetList"] = "invalid_balance_sheet_list"; // FecFile
62
+
63
+ Code["insertAccountingTransactionFailed"] = "insert_accounting_transaction_failed"; // User creation
64
+
65
+ Code["userAlreadyExistWithSociety"] = "user-already-exists";
66
+ Code["userDoesNotExists"] = "user-does-not-exist";
67
+ Code["expiredSmsCode"] = "expired-sms-code";
68
+ Code["userNotInFmaProcess"] = "user-not-in-maf-process";
69
+ Code["wrongSmsCode"] = "wrong-sms-code"; // Cerfa
70
+
71
+ Code["civilityNotFound"] = "civility_not_found";
61
72
  })(Code || (exports.Code = Code = {}));
62
73
  //# sourceMappingURL=IApiError.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,SAIX,WAJW,SAIX,YAJD;;AAAA,CAAA,UAAY,SAAZ,EAAqB;AACnB,EAAA,SAAA,CAAA,UAAA,CAAA,GAAA,WAAA;AACA,EAAA,SAAA,CAAA,WAAA,CAAA,GAAA,sBAAA;AACA,EAAA,SAAA,CAAA,eAAA,CAAA,GAAA,WAAA;AACD,CAJD,EAAY,SAAS,aAAT,SAAS,GAAT,SAAS,GAAA,EAAA,CAArB;;AAMA,IAAY,IAmDX,WAnDW,IAmDX,YAnDD;;AAAA,CAAA,UAAY,IAAZ,EAAgB;AACd;AACA,EAAA,IAAA,CAAA,cAAA,CAAA,GAAA,8BAAA;AACA,EAAA,IAAA,CAA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IAAA,CAAA,kDAAA,CAAA,GAAA,yDAAA;AACA,EAAA,IAAA,CAAA,0DAAA,CAAA,GAAA,iEAAA,CA/Bc,CAiCd;;AACA,EAAA,IAAA,CAAA,aAAA,CAAA,GAAA,cAAA,CAlCc,CAoCd;;AACA,EAAA,IAAA,CAAA,mBAAA,CAAA,GAAA,qBAAA;AACA,EAAA,IAAA,CAAA,gCAAA,CAAA,GAAA,oCAAA;AACA,EAAA,IAAA,CAAA,4BAAA,CAAA,GAAA,gCAAA;AACA,EAAA,IAAA,CAAA,eAAA,CAAA,GAAA,iBAAA,CAxCc,CA0Cd;;AACA,EAAA,IAAA,CAAA,2BAAA,CAAA,GAAA,8BAAA;AACA,EAAA,IAAA,CAAA,4BAAA,CAAA,GAAA,gCAAA,CA5Cc,CA8Cd;;AACA,EAAA,IAAA,CAAA,4BAAA,CAAA,GAAA,+BAAA,CA/Cc,CAiDd;;AACA,EAAA,IAAA,CAAA,mCAAA,CAAA,GAAA,sCAAA;AACD,CAnDD,EAAY,IAAI,aAAJ,IAAI,GAAJ,IAAI,GAAA,EAAA,CAAhB","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n\n // PDF error\n mergeFailed = 'merge_failed',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"],"sourceRoot":"","file":"IApiError.js"}
1
+ {"version":3,"sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":";;;;;AAAA,IAAY,SAIX,WAJW,SAIX,YAJD;;AAAA,CAAA,UAAY,SAAZ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AA,CAAA,GAAA,kBAAA;AACA,EAAA,IAAA,CAAA,qBAAA,CAAA,GAAA,yBAAA;AACA,EAAA,IAAA,CAAA,cAAA,CAAA,GAAA,gBAAA,CA7Dc,CA+Dd;;AACA,EAAA,IAAA,CAAA,kBAAA,CAAA,GAAA,oBAAA;AACD,CAjED,EAAY,IAAI,aAAJ,IAAI,GAAJ,IAAI,GAAA,EAAA,CAAhB","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"],"sourceRoot":"","file":"IApiError.js"}
package/js/types/index.js CHANGED
@@ -3232,26 +3232,26 @@ Object.keys(_IField).forEach(function (key) {
3232
3232
  });
3233
3233
  });
3234
3234
 
3235
- var _ISuggestion = require("./Interface/models/ISuggestion");
3235
+ var _IFecFile = require("./Interface/models/IFecFile");
3236
3236
 
3237
- Object.keys(_ISuggestion).forEach(function (key) {
3237
+ Object.keys(_IFecFile).forEach(function (key) {
3238
3238
  if (key === "default" || key === "__esModule") return;
3239
3239
  Object.defineProperty(exports, key, {
3240
3240
  enumerable: true,
3241
3241
  get: function () {
3242
- return _ISuggestion[key];
3242
+ return _IFecFile[key];
3243
3243
  }
3244
3244
  });
3245
3245
  });
3246
3246
 
3247
- var _IFecFile = require("./Interface/models/IFecFile");
3247
+ var _ISuggestion = require("./Interface/models/ISuggestion");
3248
3248
 
3249
- Object.keys(_IFecFile).forEach(function (key) {
3249
+ Object.keys(_ISuggestion).forEach(function (key) {
3250
3250
  if (key === "default" || key === "__esModule") return;
3251
3251
  Object.defineProperty(exports, key, {
3252
3252
  enumerable: true,
3253
3253
  get: function () {
3254
- return _IFecFile[key];
3254
+ return _ISuggestion[key];
3255
3255
  }
3256
3256
  });
3257
3257
  });
@@ -3532,6 +3532,42 @@ Object.keys(_SurveyTypeDatas).forEach(function (key) {
3532
3532
  });
3533
3533
  });
3534
3534
 
3535
+ var _ReportType = require("./Enum/ReportType");
3536
+
3537
+ Object.keys(_ReportType).forEach(function (key) {
3538
+ if (key === "default" || key === "__esModule") return;
3539
+ Object.defineProperty(exports, key, {
3540
+ enumerable: true,
3541
+ get: function () {
3542
+ return _ReportType[key];
3543
+ }
3544
+ });
3545
+ });
3546
+
3547
+ var _ReportState = require("./Enum/ReportState");
3548
+
3549
+ Object.keys(_ReportState).forEach(function (key) {
3550
+ if (key === "default" || key === "__esModule") return;
3551
+ Object.defineProperty(exports, key, {
3552
+ enumerable: true,
3553
+ get: function () {
3554
+ return _ReportState[key];
3555
+ }
3556
+ });
3557
+ });
3558
+
3559
+ var _LetterType = require("./Enum/LetterType");
3560
+
3561
+ Object.keys(_LetterType).forEach(function (key) {
3562
+ if (key === "default" || key === "__esModule") return;
3563
+ Object.defineProperty(exports, key, {
3564
+ enumerable: true,
3565
+ get: function () {
3566
+ return _LetterType[key];
3567
+ }
3568
+ });
3569
+ });
3570
+
3535
3571
  var _PartnerType = require("./Enum/PartnerType");
3536
3572
 
3537
3573
  Object.keys(_PartnerType).forEach(function (key) {
@@ -3556,6 +3592,18 @@ Object.keys(_ThirdPartyType).forEach(function (key) {
3556
3592
  });
3557
3593
  });
3558
3594
 
3595
+ var _FecFileDelimiter = require("./Enum/FecFileDelimiter");
3596
+
3597
+ Object.keys(_FecFileDelimiter).forEach(function (key) {
3598
+ if (key === "default" || key === "__esModule") return;
3599
+ Object.defineProperty(exports, key, {
3600
+ enumerable: true,
3601
+ get: function () {
3602
+ return _FecFileDelimiter[key];
3603
+ }
3604
+ });
3605
+ });
3606
+
3559
3607
  var _IncomeStatement = require("./Enum/IncomeStatement");
3560
3608
 
3561
3609
  Object.keys(_IncomeStatement).forEach(function (key) {
@@ -3568,14 +3616,50 @@ Object.keys(_IncomeStatement).forEach(function (key) {
3568
3616
  });
3569
3617
  });
3570
3618
 
3571
- var _FecFileDelimiter = require("./Enum/FecFileDelimiter");
3619
+ var _Vehicle = require("./Enum/Vehicle");
3572
3620
 
3573
- Object.keys(_FecFileDelimiter).forEach(function (key) {
3621
+ Object.keys(_Vehicle).forEach(function (key) {
3574
3622
  if (key === "default" || key === "__esModule") return;
3575
3623
  Object.defineProperty(exports, key, {
3576
3624
  enumerable: true,
3577
3625
  get: function () {
3578
- return _FecFileDelimiter[key];
3626
+ return _Vehicle[key];
3627
+ }
3628
+ });
3629
+ });
3630
+
3631
+ var _VehicleType = require("./Enum/VehicleType");
3632
+
3633
+ Object.keys(_VehicleType).forEach(function (key) {
3634
+ if (key === "default" || key === "__esModule") return;
3635
+ Object.defineProperty(exports, key, {
3636
+ enumerable: true,
3637
+ get: function () {
3638
+ return _VehicleType[key];
3639
+ }
3640
+ });
3641
+ });
3642
+
3643
+ var _BalanceSheet = require("./Enum/BalanceSheet");
3644
+
3645
+ Object.keys(_BalanceSheet).forEach(function (key) {
3646
+ if (key === "default" || key === "__esModule") return;
3647
+ Object.defineProperty(exports, key, {
3648
+ enumerable: true,
3649
+ get: function () {
3650
+ return _BalanceSheet[key];
3651
+ }
3652
+ });
3653
+ });
3654
+
3655
+ var _DefaultPermissions = require("./Enum/DefaultPermissions");
3656
+
3657
+ Object.keys(_DefaultPermissions).forEach(function (key) {
3658
+ if (key === "default" || key === "__esModule") return;
3659
+ Object.defineProperty(exports, key, {
3660
+ enumerable: true,
3661
+ get: function () {
3662
+ return _DefaultPermissions[key];
3579
3663
  }
3580
3664
  });
3581
3665
  });
@@ -3736,6 +3820,30 @@ Object.keys(_QueryResendConfirmationLink).forEach(function (key) {
3736
3820
  });
3737
3821
  });
3738
3822
 
3823
+ var _CreateUser = require("./Interface/api/user/CreateUser");
3824
+
3825
+ Object.keys(_CreateUser).forEach(function (key) {
3826
+ if (key === "default" || key === "__esModule") return;
3827
+ Object.defineProperty(exports, key, {
3828
+ enumerable: true,
3829
+ get: function () {
3830
+ return _CreateUser[key];
3831
+ }
3832
+ });
3833
+ });
3834
+
3835
+ var _QueryUserSmsConfirmation = require("./Interface/api/user/QueryUserSmsConfirmation");
3836
+
3837
+ Object.keys(_QueryUserSmsConfirmation).forEach(function (key) {
3838
+ if (key === "default" || key === "__esModule") return;
3839
+ Object.defineProperty(exports, key, {
3840
+ enumerable: true,
3841
+ get: function () {
3842
+ return _QueryUserSmsConfirmation[key];
3843
+ }
3844
+ });
3845
+ });
3846
+
3739
3847
  var _ReadAccounts = require("./Interface/api/account/ReadAccounts");
3740
3848
 
3741
3849
  Object.keys(_ReadAccounts).forEach(function (key) {
@@ -3784,6 +3892,54 @@ Object.keys(_TFile).forEach(function (key) {
3784
3892
  });
3785
3893
  });
3786
3894
 
3895
+ var _CreateCerfa = require("./Interface/api/cerfa/CreateCerfa");
3896
+
3897
+ Object.keys(_CreateCerfa).forEach(function (key) {
3898
+ if (key === "default" || key === "__esModule") return;
3899
+ Object.defineProperty(exports, key, {
3900
+ enumerable: true,
3901
+ get: function () {
3902
+ return _CreateCerfa[key];
3903
+ }
3904
+ });
3905
+ });
3906
+
3907
+ var _LegalFormSiren = require("./Interface/api/society/LegalFormSiren");
3908
+
3909
+ Object.keys(_LegalFormSiren).forEach(function (key) {
3910
+ if (key === "default" || key === "__esModule") return;
3911
+ Object.defineProperty(exports, key, {
3912
+ enumerable: true,
3913
+ get: function () {
3914
+ return _LegalFormSiren[key];
3915
+ }
3916
+ });
3917
+ });
3918
+
3919
+ var _GetDataSociety = require("./Interface/api/society/GetDataSociety");
3920
+
3921
+ Object.keys(_GetDataSociety).forEach(function (key) {
3922
+ if (key === "default" || key === "__esModule") return;
3923
+ Object.defineProperty(exports, key, {
3924
+ enumerable: true,
3925
+ get: function () {
3926
+ return _GetDataSociety[key];
3927
+ }
3928
+ });
3929
+ });
3930
+
3931
+ var _CreateSociety = require("./Interface/api/society/CreateSociety");
3932
+
3933
+ Object.keys(_CreateSociety).forEach(function (key) {
3934
+ if (key === "default" || key === "__esModule") return;
3935
+ Object.defineProperty(exports, key, {
3936
+ enumerable: true,
3937
+ get: function () {
3938
+ return _CreateSociety[key];
3939
+ }
3940
+ });
3941
+ });
3942
+
3787
3943
  var _ReadSurvey = require("./Interface/api/survey/ReadSurvey");
3788
3944
 
3789
3945
  Object.keys(_ReadSurvey).forEach(function (key) {
@@ -3820,6 +3976,54 @@ Object.keys(_CreateSurvey).forEach(function (key) {
3820
3976
  });
3821
3977
  });
3822
3978
 
3979
+ var _ReadReport = require("./Interface/api/report/ReadReport");
3980
+
3981
+ Object.keys(_ReadReport).forEach(function (key) {
3982
+ if (key === "default" || key === "__esModule") return;
3983
+ Object.defineProperty(exports, key, {
3984
+ enumerable: true,
3985
+ get: function () {
3986
+ return _ReadReport[key];
3987
+ }
3988
+ });
3989
+ });
3990
+
3991
+ var _CreateReport = require("./Interface/api/report/CreateReport");
3992
+
3993
+ Object.keys(_CreateReport).forEach(function (key) {
3994
+ if (key === "default" || key === "__esModule") return;
3995
+ Object.defineProperty(exports, key, {
3996
+ enumerable: true,
3997
+ get: function () {
3998
+ return _CreateReport[key];
3999
+ }
4000
+ });
4001
+ });
4002
+
4003
+ var _QueryReports = require("./Interface/api/report/QueryReports");
4004
+
4005
+ Object.keys(_QueryReports).forEach(function (key) {
4006
+ if (key === "default" || key === "__esModule") return;
4007
+ Object.defineProperty(exports, key, {
4008
+ enumerable: true,
4009
+ get: function () {
4010
+ return _QueryReports[key];
4011
+ }
4012
+ });
4013
+ });
4014
+
4015
+ var _CreateLetter = require("./Interface/api/letter/CreateLetter");
4016
+
4017
+ Object.keys(_CreateLetter).forEach(function (key) {
4018
+ if (key === "default" || key === "__esModule") return;
4019
+ Object.defineProperty(exports, key, {
4020
+ enumerable: true,
4021
+ get: function () {
4022
+ return _CreateLetter[key];
4023
+ }
4024
+ });
4025
+ });
4026
+
3823
4027
  var _CreateInvoiceMail = require("./Interface/api/mailInvoice/CreateInvoiceMail");
3824
4028
 
3825
4029
  Object.keys(_CreateInvoiceMail).forEach(function (key) {
@@ -3856,62 +4060,74 @@ Object.keys(_CreatePartner).forEach(function (key) {
3856
4060
  });
3857
4061
  });
3858
4062
 
3859
- var _QueryGeneralLedger = require("./Interface/api/generalLedger/QueryGeneralLedger");
4063
+ var _CreateFecFile = require("./Interface/api/fecFile/CreateFecFile");
3860
4064
 
3861
- Object.keys(_QueryGeneralLedger).forEach(function (key) {
4065
+ Object.keys(_CreateFecFile).forEach(function (key) {
3862
4066
  if (key === "default" || key === "__esModule") return;
3863
4067
  Object.defineProperty(exports, key, {
3864
4068
  enumerable: true,
3865
4069
  get: function () {
3866
- return _QueryGeneralLedger[key];
4070
+ return _CreateFecFile[key];
3867
4071
  }
3868
4072
  });
3869
4073
  });
3870
4074
 
3871
- var _QueryIncomeStatement = require("./Interface/api/incomeStatement/QueryIncomeStatement");
4075
+ var _ReadFecFile = require("./Interface/api/fecFile/ReadFecFile");
3872
4076
 
3873
- Object.keys(_QueryIncomeStatement).forEach(function (key) {
4077
+ Object.keys(_ReadFecFile).forEach(function (key) {
3874
4078
  if (key === "default" || key === "__esModule") return;
3875
4079
  Object.defineProperty(exports, key, {
3876
4080
  enumerable: true,
3877
4081
  get: function () {
3878
- return _QueryIncomeStatement[key];
4082
+ return _ReadFecFile[key];
3879
4083
  }
3880
4084
  });
3881
4085
  });
3882
4086
 
3883
- var _ReadIncomeStatement = require("./Interface/api/incomeStatement/ReadIncomeStatement");
4087
+ var _QueryGeneralLedger = require("./Interface/api/generalLedger/QueryGeneralLedger");
3884
4088
 
3885
- Object.keys(_ReadIncomeStatement).forEach(function (key) {
4089
+ Object.keys(_QueryGeneralLedger).forEach(function (key) {
3886
4090
  if (key === "default" || key === "__esModule") return;
3887
4091
  Object.defineProperty(exports, key, {
3888
4092
  enumerable: true,
3889
4093
  get: function () {
3890
- return _ReadIncomeStatement[key];
4094
+ return _QueryGeneralLedger[key];
3891
4095
  }
3892
4096
  });
3893
4097
  });
3894
4098
 
3895
- var _CreateFecFile = require("./Interface/api/fecFile/CreateFecFile");
4099
+ var _QueryIncomeStatement = require("./Interface/api/incomeStatement/QueryIncomeStatement");
3896
4100
 
3897
- Object.keys(_CreateFecFile).forEach(function (key) {
4101
+ Object.keys(_QueryIncomeStatement).forEach(function (key) {
3898
4102
  if (key === "default" || key === "__esModule") return;
3899
4103
  Object.defineProperty(exports, key, {
3900
4104
  enumerable: true,
3901
4105
  get: function () {
3902
- return _CreateFecFile[key];
4106
+ return _QueryIncomeStatement[key];
3903
4107
  }
3904
4108
  });
3905
4109
  });
3906
4110
 
3907
- var _ReadFecFile = require("./Interface/api/fecFile/ReadFecFile");
4111
+ var _ReadIncomeStatement = require("./Interface/api/incomeStatement/ReadIncomeStatement");
3908
4112
 
3909
- Object.keys(_ReadFecFile).forEach(function (key) {
4113
+ Object.keys(_ReadIncomeStatement).forEach(function (key) {
3910
4114
  if (key === "default" || key === "__esModule") return;
3911
4115
  Object.defineProperty(exports, key, {
3912
4116
  enumerable: true,
3913
4117
  get: function () {
3914
- return _ReadFecFile[key];
4118
+ return _ReadIncomeStatement[key];
4119
+ }
4120
+ });
4121
+ });
4122
+
4123
+ var _ReadBalanceSheet = require("./Interface/api/balanceSheet/ReadBalanceSheet");
4124
+
4125
+ Object.keys(_ReadBalanceSheet).forEach(function (key) {
4126
+ if (key === "default" || key === "__esModule") return;
4127
+ Object.defineProperty(exports, key, {
4128
+ enumerable: true,
4129
+ get: function () {
4130
+ return _ReadBalanceSheet[key];
3915
4131
  }
3916
4132
  });
3917
4133
  });