@silexpert/core 0.4.12 → 0.4.14

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 (238) hide show
  1. package/es/api/resources/BalanceSheet.d.ts +8 -0
  2. package/es/api/resources/BalanceSheet.d.ts.map +1 -0
  3. package/es/api/resources/BalanceSheet.js +12 -0
  4. package/es/api/resources/BalanceSheet.js.map +1 -0
  5. package/es/api/resources/FecFile.d.ts +8 -0
  6. package/es/api/resources/FecFile.d.ts.map +1 -0
  7. package/es/api/resources/FecFile.js +13 -0
  8. package/es/api/resources/FecFile.js.map +1 -0
  9. package/es/api/resources/Letter.d.ts +6 -0
  10. package/es/api/resources/Letter.d.ts.map +1 -0
  11. package/es/api/resources/Letter.js +7 -0
  12. package/es/api/resources/Letter.js.map +1 -0
  13. package/es/api/resources/Report.d.ts +14 -0
  14. package/es/api/resources/Report.d.ts.map +1 -0
  15. package/es/api/resources/Report.js +13 -0
  16. package/es/api/resources/Report.js.map +1 -0
  17. package/es/api/resources/User.d.ts +4 -1
  18. package/es/api/resources/User.d.ts.map +1 -1
  19. package/es/api/resources/User.js +9 -0
  20. package/es/api/resources/User.js.map +1 -1
  21. package/es/api/resources.d.ts +8 -0
  22. package/es/api/resources.d.ts.map +1 -1
  23. package/es/api/resources.js +8 -0
  24. package/es/api/resources.js.map +1 -1
  25. package/es/types/Enum/AccountingJournal.d.ts +2 -1
  26. package/es/types/Enum/AccountingJournal.d.ts.map +1 -1
  27. package/es/types/Enum/AccountingJournal.js +1 -0
  28. package/es/types/Enum/AccountingJournal.js.map +1 -1
  29. package/es/types/Enum/BalanceSheet.d.ts +21 -0
  30. package/es/types/Enum/BalanceSheet.d.ts.map +1 -0
  31. package/es/types/Enum/BalanceSheet.js +529 -0
  32. package/es/types/Enum/BalanceSheet.js.map +1 -0
  33. package/es/types/Enum/FecFileDelimiter.d.ts +6 -0
  34. package/es/types/Enum/FecFileDelimiter.d.ts.map +1 -0
  35. package/es/types/Enum/FecFileDelimiter.js +7 -0
  36. package/es/types/Enum/FecFileDelimiter.js.map +1 -0
  37. package/es/types/Enum/IncomeStatement.d.ts +1 -0
  38. package/es/types/Enum/IncomeStatement.d.ts.map +1 -1
  39. package/es/types/Enum/IncomeStatement.js +5 -2
  40. package/es/types/Enum/IncomeStatement.js.map +1 -1
  41. package/es/types/Enum/LetterType.d.ts +47 -0
  42. package/es/types/Enum/LetterType.d.ts.map +1 -0
  43. package/es/types/Enum/LetterType.js +47 -0
  44. package/es/types/Enum/LetterType.js.map +1 -0
  45. package/es/types/Enum/ReportState.d.ts +31 -0
  46. package/es/types/Enum/ReportState.d.ts.map +1 -0
  47. package/es/types/Enum/ReportState.js +31 -0
  48. package/es/types/Enum/ReportState.js.map +1 -0
  49. package/es/types/Enum/ReportType.d.ts +27 -0
  50. package/es/types/Enum/ReportType.d.ts.map +1 -0
  51. package/es/types/Enum/ReportType.js +27 -0
  52. package/es/types/Enum/ReportType.js.map +1 -0
  53. package/es/types/Enum/Role.d.ts +7 -2
  54. package/es/types/Enum/Role.d.ts.map +1 -1
  55. package/es/types/Enum/Role.js +6 -1
  56. package/es/types/Enum/Role.js.map +1 -1
  57. package/es/types/Enum/ThirdPartyType.js.map +1 -1
  58. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +1 -0
  59. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
  60. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +4 -0
  61. package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  62. package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +11 -0
  63. package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -0
  64. package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.js +2 -0
  65. package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -0
  66. package/es/types/Interface/api/fecFile/CreateFecFile.d.ts +11 -0
  67. package/es/types/Interface/api/fecFile/CreateFecFile.d.ts.map +1 -0
  68. package/es/types/Interface/api/fecFile/CreateFecFile.js +28 -0
  69. package/es/types/Interface/api/fecFile/CreateFecFile.js.map +1 -0
  70. package/es/types/Interface/api/fecFile/ReadFecFile.d.ts +23 -0
  71. package/es/types/Interface/api/fecFile/ReadFecFile.d.ts.map +1 -0
  72. package/es/types/Interface/api/fecFile/ReadFecFile.js +2 -0
  73. package/es/types/Interface/api/fecFile/ReadFecFile.js.map +1 -0
  74. package/es/types/Interface/api/file/TFile.d.ts +10 -0
  75. package/es/types/Interface/api/file/TFile.d.ts.map +1 -0
  76. package/es/types/Interface/api/file/TFile.js +2 -0
  77. package/es/types/Interface/api/file/TFile.js.map +1 -0
  78. package/es/types/Interface/api/letter/CreateLetter.d.ts +15 -0
  79. package/es/types/Interface/api/letter/CreateLetter.d.ts.map +1 -0
  80. package/es/types/Interface/api/letter/CreateLetter.js +57 -0
  81. package/es/types/Interface/api/letter/CreateLetter.js.map +1 -0
  82. package/es/types/Interface/api/report/CreateReport.d.ts +13 -0
  83. package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -0
  84. package/es/types/Interface/api/report/CreateReport.js +45 -0
  85. package/es/types/Interface/api/report/CreateReport.js.map +1 -0
  86. package/es/types/Interface/api/report/QueryReports.d.ts +9 -0
  87. package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -0
  88. package/es/types/Interface/api/report/QueryReports.js +37 -0
  89. package/es/types/Interface/api/report/QueryReports.js.map +1 -0
  90. package/es/types/Interface/api/report/ReadReport.d.ts +8 -0
  91. package/es/types/Interface/api/report/ReadReport.d.ts.map +1 -0
  92. package/es/types/Interface/api/report/ReadReport.js +2 -0
  93. package/es/types/Interface/api/report/ReadReport.js.map +1 -0
  94. package/es/types/Interface/api/user/CreateUser.d.ts +10 -0
  95. package/es/types/Interface/api/user/CreateUser.d.ts.map +1 -0
  96. package/es/types/Interface/api/user/CreateUser.js +41 -0
  97. package/es/types/Interface/api/user/CreateUser.js.map +1 -0
  98. package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts +4 -0
  99. package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts.map +1 -0
  100. package/es/types/Interface/api/user/QueryUserSmsConfirmation.js +17 -0
  101. package/es/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -0
  102. package/es/types/Interface/models/IAccount.d.ts +20 -20
  103. package/es/types/Interface/models/IAccount.d.ts.map +1 -1
  104. package/es/types/Interface/models/IAccount.js.map +1 -1
  105. package/es/types/Interface/models/IAccountingEntry.d.ts +3 -3
  106. package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
  107. package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
  108. package/es/types/Interface/models/IAccountingJournal.d.ts +2 -0
  109. package/es/types/Interface/models/IAccountingJournal.d.ts.map +1 -1
  110. package/es/types/Interface/models/IAccountingJournal.js.map +1 -1
  111. package/es/types/Interface/models/IAccountingTransaction.d.ts +25 -24
  112. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  113. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  114. package/es/types/Interface/models/IApiError.d.ts +8 -1
  115. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  116. package/es/types/Interface/models/IApiError.js +10 -0
  117. package/es/types/Interface/models/IApiError.js.map +1 -1
  118. package/es/types/Interface/models/IFecFile.d.ts +14 -0
  119. package/es/types/Interface/models/IFecFile.d.ts.map +1 -0
  120. package/es/types/Interface/models/IFecFile.js +2 -0
  121. package/es/types/Interface/models/IFecFile.js.map +1 -0
  122. package/es/types/Interface/models/ILetter.d.ts +18 -14
  123. package/es/types/Interface/models/ILetter.d.ts.map +1 -1
  124. package/es/types/Interface/models/ILetter.js.map +1 -1
  125. package/es/types/Interface/models/IReport.d.ts +12 -11
  126. package/es/types/Interface/models/IReport.d.ts.map +1 -1
  127. package/es/types/Interface/models/IReport.js.map +1 -1
  128. package/es/types/Interface/models/IReportMessage.d.ts +1 -1
  129. package/es/types/Interface/models/IReportMessage.d.ts.map +1 -1
  130. package/es/types/Interface/models/IReportMessage.js.map +1 -1
  131. package/es/types/Interface/models/IReportType.js.map +1 -1
  132. package/es/types/Interface/models/ISociety.d.ts +0 -1
  133. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  134. package/es/types/Interface/models/ISociety.js.map +1 -1
  135. package/es/types/Interface/models/IThirdParty.d.ts +5 -6
  136. package/es/types/Interface/models/IThirdParty.d.ts.map +1 -1
  137. package/es/types/Interface/models/IThirdParty.js.map +1 -1
  138. package/es/types/index.d.ts +16 -0
  139. package/es/types/index.d.ts.map +1 -1
  140. package/es/types/index.js +16 -0
  141. package/es/types/index.js.map +1 -1
  142. package/js/api/resources/BalanceSheet.js +23 -0
  143. package/js/api/resources/BalanceSheet.js.map +1 -0
  144. package/js/api/resources/FecFile.js +26 -0
  145. package/js/api/resources/FecFile.js.map +1 -0
  146. package/js/api/resources/Letter.js +18 -0
  147. package/js/api/resources/Letter.js.map +1 -0
  148. package/js/api/resources/Report.js +28 -0
  149. package/js/api/resources/Report.js.map +1 -0
  150. package/js/api/resources/User.js +14 -0
  151. package/js/api/resources/User.js.map +1 -1
  152. package/js/api/resources.js +13 -1
  153. package/js/api/resources.js.map +1 -1
  154. package/js/types/Enum/AccountingJournal.js +1 -0
  155. package/js/types/Enum/AccountingJournal.js.map +1 -1
  156. package/js/types/Enum/BalanceSheet.js +438 -0
  157. package/js/types/Enum/BalanceSheet.js.map +1 -0
  158. package/js/types/Enum/FecFileDelimiter.js +13 -0
  159. package/js/types/Enum/FecFileDelimiter.js.map +1 -0
  160. package/js/types/Enum/IncomeStatement.js +5 -2
  161. package/js/types/Enum/IncomeStatement.js.map +1 -1
  162. package/js/types/Enum/LetterType.js +52 -0
  163. package/js/types/Enum/LetterType.js.map +1 -0
  164. package/js/types/Enum/ReportState.js +36 -0
  165. package/js/types/Enum/ReportState.js.map +1 -0
  166. package/js/types/Enum/ReportType.js +32 -0
  167. package/js/types/Enum/ReportType.js.map +1 -0
  168. package/js/types/Enum/Role.js +6 -1
  169. package/js/types/Enum/Role.js.map +1 -1
  170. package/js/types/Enum/ThirdPartyType.js.map +1 -1
  171. package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +2 -0
  172. package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
  173. package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js +6 -0
  174. package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -0
  175. package/js/types/Interface/api/fecFile/CreateFecFile.js +37 -0
  176. package/js/types/Interface/api/fecFile/CreateFecFile.js.map +1 -0
  177. package/js/types/Interface/api/fecFile/ReadFecFile.js +6 -0
  178. package/js/types/Interface/api/fecFile/ReadFecFile.js.map +1 -0
  179. package/js/types/Interface/api/file/TFile.js +6 -0
  180. package/js/types/Interface/api/file/TFile.js.map +1 -0
  181. package/js/types/Interface/api/letter/CreateLetter.js +47 -0
  182. package/js/types/Interface/api/letter/CreateLetter.js.map +1 -0
  183. package/js/types/Interface/api/report/CreateReport.js +41 -0
  184. package/js/types/Interface/api/report/CreateReport.js.map +1 -0
  185. package/js/types/Interface/api/report/QueryReports.js +37 -0
  186. package/js/types/Interface/api/report/QueryReports.js.map +1 -0
  187. package/js/types/Interface/api/report/ReadReport.js +6 -0
  188. package/js/types/Interface/api/report/ReadReport.js.map +1 -0
  189. package/js/types/Interface/api/user/CreateUser.js +39 -0
  190. package/js/types/Interface/api/user/CreateUser.js.map +1 -0
  191. package/js/types/Interface/api/user/QueryUserSmsConfirmation.js +27 -0
  192. package/js/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -0
  193. package/js/types/Interface/models/IApiError.js +11 -1
  194. package/js/types/Interface/models/IApiError.js.map +1 -1
  195. package/js/types/Interface/models/IFecFile.js +6 -0
  196. package/js/types/Interface/models/IFecFile.js.map +1 -0
  197. package/js/types/index.js +192 -0
  198. package/js/types/index.js.map +1 -1
  199. package/package.json +1 -1
  200. package/ts/api/resources/BalanceSheet.ts +12 -0
  201. package/ts/api/resources/FecFile.ts +21 -0
  202. package/ts/api/resources/Letter.ts +10 -0
  203. package/ts/api/resources/Report.ts +22 -0
  204. package/ts/api/resources/User.ts +12 -1
  205. package/ts/api/resources.ts +8 -0
  206. package/ts/types/Enum/AccountingJournal.ts +1 -0
  207. package/ts/types/Enum/BalanceSheet.ts +555 -0
  208. package/ts/types/Enum/FecFileDelimiter.ts +5 -0
  209. package/ts/types/Enum/IncomeStatement.ts +6 -2
  210. package/ts/types/Enum/LetterType.ts +46 -0
  211. package/ts/types/Enum/ReportState.ts +30 -0
  212. package/ts/types/Enum/ReportType.ts +26 -0
  213. package/ts/types/Enum/Role.ts +6 -1
  214. package/ts/types/Enum/ThirdPartyType.ts +1 -1
  215. package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -0
  216. package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +10 -0
  217. package/ts/types/Interface/api/fecFile/CreateFecFile.ts +15 -0
  218. package/ts/types/Interface/api/fecFile/ReadFecFile.ts +25 -0
  219. package/ts/types/Interface/api/file/TFile.ts +8 -0
  220. package/ts/types/Interface/api/letter/CreateLetter.ts +37 -0
  221. package/ts/types/Interface/api/report/CreateReport.ts +29 -0
  222. package/ts/types/Interface/api/report/QueryReports.ts +21 -0
  223. package/ts/types/Interface/api/report/ReadReport.ts +9 -0
  224. package/ts/types/Interface/api/user/CreateUser.ts +18 -0
  225. package/ts/types/Interface/api/user/QueryUserSmsConfirmation.ts +6 -0
  226. package/ts/types/Interface/models/IAccount.ts +20 -20
  227. package/ts/types/Interface/models/IAccountingEntry.ts +3 -3
  228. package/ts/types/Interface/models/IAccountingJournal.ts +2 -0
  229. package/ts/types/Interface/models/IAccountingTransaction.ts +25 -24
  230. package/ts/types/Interface/models/IApiError.ts +14 -0
  231. package/ts/types/Interface/models/IFecFile.ts +17 -0
  232. package/ts/types/Interface/models/ILetter.ts +18 -14
  233. package/ts/types/Interface/models/IReport.ts +12 -11
  234. package/ts/types/Interface/models/IReportMessage.ts +1 -1
  235. package/ts/types/Interface/models/IReportType.ts +1 -1
  236. package/ts/types/Interface/models/ISociety.ts +0 -1
  237. package/ts/types/Interface/models/IThirdParty.ts +5 -6
  238. package/ts/types/index.ts +17 -0
@@ -0,0 +1,8 @@
1
+ /// <reference types="node" />
2
+ import { Resource } from '../Resource';
3
+ export declare class BalanceSheet extends Resource {
4
+ getPdf(params: {
5
+ idExercice: number;
6
+ }): Promise<Buffer>;
7
+ }
8
+ //# sourceMappingURL=BalanceSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BalanceSheet.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/BalanceSheet.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,YAAa,SAAQ,QAAQ;IACxC,MAAM,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;CAQxD"}
@@ -0,0 +1,12 @@
1
+ import { Resource } from '../Resource';
2
+ export class BalanceSheet extends Resource {
3
+ getPdf(params) {
4
+ return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/pdf`, {
5
+ responseType: 'arraybuffer',
6
+ headers: {
7
+ Accept: 'application/pdf',
8
+ },
9
+ });
10
+ }
11
+ }
12
+ //# sourceMappingURL=BalanceSheet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BalanceSheet.js","sourceRoot":"","sources":["../../../ts/api/resources/BalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,MAAM,CAAC,MAA8B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,mBAAmB,EAAE;YACxE,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\n\nexport class BalanceSheet extends Resource {\n getPdf(params: { idExercice: number }): Promise<Buffer> {\n return this.axios.$get(`/exercice/${params.idExercice}/balanceSheet/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import { Resource } from '../Resource';
2
+ import { CreateFecFile, ReadFecFile, IFecFile, CreateMappingFecFile } from '../../types';
3
+ export declare class FecFile extends Resource {
4
+ get(): Promise<IFecFile>;
5
+ create(params: CreateFecFile): Promise<ReadFecFile>;
6
+ map(params: CreateMappingFecFile): Promise<IFecFile>;
7
+ }
8
+ //# sourceMappingURL=FecFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FecFile.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/FecFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,aAAa,EACb,WAAW,EACX,QAAQ,EACR,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,GAAG,IAAI,OAAO,CAAC,QAAQ,CAAC;IAIxB,MAAM,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,WAAW,CAAC;IAInD,GAAG,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC;CAGrD"}
@@ -0,0 +1,13 @@
1
+ import { Resource } from '../Resource';
2
+ export class FecFile extends Resource {
3
+ get() {
4
+ return this.axios.$get('fecFile');
5
+ }
6
+ create(params) {
7
+ return this.axios.$post('fecFile', params);
8
+ }
9
+ map(params) {
10
+ return this.axios.$post('fecFile/mapping', params);
11
+ }
12
+ }
13
+ //# sourceMappingURL=FecFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FecFile.js","sourceRoot":"","sources":["../../../ts/api/resources/FecFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,GAAG;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,MAAqB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC;IAED,GAAG,CAAC,MAA4B;QAC9B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateFecFile,\n ReadFecFile,\n IFecFile,\n CreateMappingFecFile,\n} from '../../types';\n\nexport class FecFile extends Resource {\n get(): Promise<IFecFile> {\n return this.axios.$get('fecFile');\n }\n\n create(params: CreateFecFile): Promise<ReadFecFile> {\n return this.axios.$post('fecFile', params);\n }\n\n map(params: CreateMappingFecFile): Promise<IFecFile> {\n return this.axios.$post('fecFile/mapping', params);\n }\n}"]}
@@ -0,0 +1,6 @@
1
+ import { BasePaginate, CreateLetter, ReadReport } from '../../types';
2
+ import { Resource } from '../Resource';
3
+ export declare class Letter extends Resource {
4
+ create(params: CreateLetter): Promise<BasePaginate<ReadReport> | Error>;
5
+ }
6
+ //# sourceMappingURL=Letter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Letter.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Letter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAAE,YAAY,EAAE,UAAU,EACvC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,MAAO,SAAQ,QAAQ;IAClC,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC;CAGxE"}
@@ -0,0 +1,7 @@
1
+ import { Resource } from '../Resource';
2
+ export class Letter extends Resource {
3
+ create(params) {
4
+ return this.axios.$post('/letters', params);
5
+ }
6
+ }
7
+ //# sourceMappingURL=Letter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Letter.js","sourceRoot":"","sources":["../../../ts/api/resources/Letter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,MAAO,SAAQ,QAAQ;IAClC,MAAM,CAAC,MAAoB;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IAC9C,CAAC;CACF","sourcesContent":["import {\n BasePaginate, CreateLetter, ReadReport,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Letter extends Resource {\n create(params: CreateLetter): Promise<BasePaginate<ReadReport> | Error> {\n return this.axios.$post('/letters', params);\n }\n}\n"]}
@@ -0,0 +1,14 @@
1
+ import { BasePaginate, CreateReport, ReadReport } from '../../types';
2
+ import { Resource } from '../Resource';
3
+ export declare class Report extends Resource {
4
+ getPaginate(params: {
5
+ idSociety?: number;
6
+ idReportType?: number;
7
+ search?: string;
8
+ page?: number;
9
+ limit?: number;
10
+ }): Promise<BasePaginate<ReadReport> | Error>;
11
+ update(params: ReadReport): Promise<[number, Report[]]>;
12
+ create(params: CreateReport): Promise<Report>;
13
+ }
14
+ //# sourceMappingURL=Report.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Report.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAAE,YAAY,EAAE,UAAU,EACvC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,MAAO,SAAQ,QAAQ;IAClC,WAAW,CAAC,MAAM,EAAE;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,GAAG,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC;IAG7C,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAGvD,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC;CAG9C"}
@@ -0,0 +1,13 @@
1
+ import { Resource } from '../Resource';
2
+ export class Report extends Resource {
3
+ getPaginate(params) {
4
+ return this.axios.$get('/reports', { params });
5
+ }
6
+ update(params) {
7
+ return this.axios.$put('/reports', params);
8
+ }
9
+ create(params) {
10
+ return this.axios.$post('/reports', params);
11
+ }
12
+ }
13
+ //# sourceMappingURL=Report.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Report.js","sourceRoot":"","sources":["../../../ts/api/resources/Report.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,MAAO,SAAQ,QAAQ;IAClC,WAAW,CAAC,MAMX;QACC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjD,CAAC;IACD,MAAM,CAAC,MAAkB;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC;IACD,MAAM,CAAC,MAAoB;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IAC9C,CAAC;CACF","sourcesContent":["import {\n BasePaginate, CreateReport, ReadReport,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Report extends Resource {\n getPaginate(params: {\n idSociety?: number;\n idReportType?: number;\n search?: string;\n page?: number;\n limit?: number;\n }): Promise<BasePaginate<ReadReport> | Error> {\n return this.axios.$get('/reports', { params });\n }\n update(params: ReadReport): Promise<[number, Report[]]> {\n return this.axios.$put('/reports', params);\n }\n create(params: CreateReport): Promise<Report> {\n return this.axios.$post('/reports', params);\n }\n}"]}
@@ -1,7 +1,10 @@
1
1
  import { Resource } from '../Resource';
2
- import { IUser, QueryConfirm, QueryResendConfirmationLink } from '../../types';
2
+ import { IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, QueryUserSmsConfirmation } from '../../types';
3
3
  export declare class User extends Resource {
4
4
  confirm(params: QueryConfirm): Promise<IUser>;
5
5
  resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean>;
6
+ create(data: CreateUser): Promise<IUser>;
7
+ sendNewCode(id: number): Promise<IUser>;
8
+ verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser>;
6
9
  }
7
10
  //# sourceMappingURL=User.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAE/E,qBAAa,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC;IAG7C,2BAA2B,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,OAAO,CAAC;CAGnF"}
1
+ {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,KAAK,EAAE,YAAY,EAAE,2BAA2B,EAAE,UAAU,EAAE,wBAAwB,EACvF,MAAM,aAAa,CAAC;AAErB,qBAAa,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC;IAG7C,2BAA2B,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,OAAO,CAAC;IAGlF,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC;IAGxC,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAGvC,yBAAyB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,KAAK,CAAC;CAGxF"}
@@ -6,5 +6,14 @@ export class User extends Resource {
6
6
  resendConfirmationEmailLink(params) {
7
7
  return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);
8
8
  }
9
+ create(data) {
10
+ return this.axios.$post('user/create', data);
11
+ }
12
+ sendNewCode(id) {
13
+ return this.axios.$put(`user/${id}/sendNewSmsCode`);
14
+ }
15
+ verifySmsCodeConfirmation(id, params) {
16
+ return this.axios.$get(`user/${id}/verifySmsCodeConfirmation`, { params });
17
+ }
9
18
  }
10
19
  //# sourceMappingURL=User.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"User.js","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAoB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;IACD,2BAA2B,CAAC,MAAmC;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,MAAM,CAAC,EAAE,8BAA8B,CAAC,CAAC;IAC1E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { IUser, QueryConfirm, QueryResendConfirmationLink } from '../../types';\n\nexport class User extends Resource {\n confirm(params: QueryConfirm): Promise<IUser> {\n return this.axios.$put('user/confirm', params);\n }\n resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {\n return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);\n }\n}\n"]}
1
+ {"version":3,"file":"User.js","sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,MAAoB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;IACD,2BAA2B,CAAC,MAAmC;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,MAAM,CAAC,EAAE,8BAA8B,CAAC,CAAC;IAC1E,CAAC;IACD,MAAM,CAAC,IAAgB;QACrB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;IACD,WAAW,CAAC,EAAU;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC;IACtD,CAAC;IACD,yBAAyB,CAAC,EAAU,EAAE,MAAgC;QACpE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,4BAA4B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, QueryUserSmsConfirmation,\n} from '../../types';\n\nexport class User extends Resource {\n confirm(params: QueryConfirm): Promise<IUser> {\n return this.axios.$put('user/confirm', params);\n }\n resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {\n return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);\n }\n create(data: CreateUser): Promise<IUser> {\n return this.axios.$post('user/create', data);\n }\n sendNewCode(id: number): Promise<IUser> {\n return this.axios.$put(`user/${id}/sendNewSmsCode`);\n }\n verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser> {\n return this.axios.$get(`user/${id}/verifySmsCodeConfirmation`, { params });\n }\n}\n"]}
@@ -7,11 +7,15 @@ import { Transaction } from './resources/Transaction';
7
7
  import { Account } from './resources/Account';
8
8
  import { User } from './resources/User';
9
9
  import { Survey } from './resources/Survey';
10
+ import { Report } from './resources/Report';
11
+ import { Letter } from './resources/Letter';
10
12
  import { FirstStep } from './resources/FirstStep';
11
13
  import { Society } from './resources/Society';
12
14
  import { Partner } from './resources/Partner';
13
15
  import { GeneralLedger } from './resources/GeneralLedger';
16
+ import { FecFile } from './resources/FecFile';
14
17
  import { IncomeStatement } from './resources/IncomeStatement';
18
+ import { BalanceSheet } from './resources/BalanceSheet';
15
19
  export declare const resources: {
16
20
  simulation: typeof Simulation;
17
21
  country: typeof Country;
@@ -22,10 +26,14 @@ export declare const resources: {
22
26
  account: typeof Account;
23
27
  user: typeof User;
24
28
  survey: typeof Survey;
29
+ report: typeof Report;
30
+ letter: typeof Letter;
25
31
  firstStep: typeof FirstStep;
26
32
  society: typeof Society;
27
33
  partner: typeof Partner;
28
34
  generalLedger: typeof GeneralLedger;
35
+ fecFile: typeof FecFile;
29
36
  incomeStatement: typeof IncomeStatement;
37
+ balanceSheet: typeof BalanceSheet;
30
38
  };
31
39
  //# sourceMappingURL=resources.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;CAerB,CAAC"}
1
+ {"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAmBrB,CAAC"}
@@ -7,11 +7,15 @@ import { Transaction } from './resources/Transaction';
7
7
  import { Account } from './resources/Account';
8
8
  import { User } from './resources/User';
9
9
  import { Survey } from './resources/Survey';
10
+ import { Report } from './resources/Report';
11
+ import { Letter } from './resources/Letter';
10
12
  import { FirstStep } from './resources/FirstStep';
11
13
  import { Society } from './resources/Society';
12
14
  import { Partner } from './resources/Partner';
13
15
  import { GeneralLedger } from './resources/GeneralLedger';
16
+ import { FecFile } from './resources/FecFile';
14
17
  import { IncomeStatement } from './resources/IncomeStatement';
18
+ import { BalanceSheet } from './resources/BalanceSheet';
15
19
  export const resources = {
16
20
  simulation: Simulation,
17
21
  country: Country,
@@ -22,10 +26,14 @@ export const resources = {
22
26
  account: Account,
23
27
  user: User,
24
28
  survey: Survey,
29
+ report: Report,
30
+ letter: Letter,
25
31
  firstStep: FirstStep,
26
32
  society: Society,
27
33
  partner: Partner,
28
34
  generalLedger: GeneralLedger,
35
+ fecFile: FecFile,
29
36
  incomeStatement: IncomeStatement,
37
+ balanceSheet: BalanceSheet,
30
38
  };
31
39
  //# sourceMappingURL=resources.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,OAAO;IAChB,0BAA0B,EAAE,0BAA0B;IACtD,cAAc,EAAE,cAAc;IAC9B,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,SAAS;IACpB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,OAAO;IAChB,aAAa,EAAE,aAAa;IAC5B,eAAe,EAAE,eAAe;CACjC,CAAC","sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { IncomeStatement } from './resources/IncomeStatement';\n\nexport const resources = {\n simulation: Simulation,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n user: User,\n survey: Survey,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n incomeStatement: IncomeStatement,\n};\n"]}
1
+ {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,UAAU,EAAE,UAAU;IACtB,OAAO,EAAE,OAAO;IAChB,0BAA0B,EAAE,0BAA0B;IACtD,cAAc,EAAE,cAAc;IAC9B,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,SAAS;IACpB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,OAAO;IAChB,aAAa,EAAE,aAAa;IAC5B,OAAO,EAAE,OAAO;IAChB,eAAe,EAAE,eAAe;IAChC,YAAY,EAAE,YAAY;CAC3B,CAAC","sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { Report } from './resources/Report';\nimport { Letter } from './resources/Letter';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { FecFile } from './resources/FecFile';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { BalanceSheet } from './resources/BalanceSheet';\n\nexport const resources = {\n simulation: Simulation,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n user: User,\n survey: Survey,\n report: Report,\n letter: Letter,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n fecFile: FecFile,\n incomeStatement: IncomeStatement,\n balanceSheet: BalanceSheet,\n};\n"]}
@@ -6,6 +6,7 @@ export declare enum AccountingJournal {
6
6
  PER = 5,
7
7
  AN = 6,
8
8
  OD = 7,
9
- REV = 8
9
+ REV = 8,
10
+ SAL = 9
10
11
  }
11
12
  //# sourceMappingURL=AccountingJournal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccountingJournal.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingJournal.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,EAAE,IAAI;IACN,EAAE,IAAI;IACN,EAAE,IAAI;IACN,GAAG,IAAI;IACP,GAAG,IAAI;IACP,EAAE,IAAI;IACN,EAAE,IAAI;IACN,GAAG,IAAI;CACR"}
1
+ {"version":3,"file":"AccountingJournal.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingJournal.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,EAAE,IAAI;IACN,EAAE,IAAI;IACN,EAAE,IAAI;IACN,GAAG,IAAI;IACP,GAAG,IAAI;IACP,EAAE,IAAI;IACN,EAAE,IAAI;IACN,GAAG,IAAI;IACP,GAAG,IAAI;CACR"}
@@ -8,5 +8,6 @@ export var AccountingJournal;
8
8
  AccountingJournal[AccountingJournal["AN"] = 6] = "AN";
9
9
  AccountingJournal[AccountingJournal["OD"] = 7] = "OD";
10
10
  AccountingJournal[AccountingJournal["REV"] = 8] = "REV";
11
+ AccountingJournal[AccountingJournal["SAL"] = 9] = "SAL";
11
12
  })(AccountingJournal || (AccountingJournal = {}));
12
13
  //# sourceMappingURL=AccountingJournal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccountingJournal.js","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingJournal.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,qDAAM,CAAA;IACN,qDAAM,CAAA;IACN,qDAAM,CAAA;IACN,uDAAO,CAAA;IACP,uDAAO,CAAA;IACP,qDAAM,CAAA;IACN,qDAAM,CAAA;IACN,uDAAO,CAAA;AACT,CAAC,EATW,iBAAiB,KAAjB,iBAAiB,QAS5B","sourcesContent":["export enum AccountingJournal {\n BQ = 1,\n AC = 2,\n VE = 3,\n CAI = 4,\n PER = 5,\n AN = 6,\n OD = 7,\n REV = 8,\n}"]}
1
+ {"version":3,"file":"AccountingJournal.js","sourceRoot":"","sources":["../../../ts/types/Enum/AccountingJournal.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,iBAUX;AAVD,WAAY,iBAAiB;IAC3B,qDAAM,CAAA;IACN,qDAAM,CAAA;IACN,qDAAM,CAAA;IACN,uDAAO,CAAA;IACP,uDAAO,CAAA;IACP,qDAAM,CAAA;IACN,qDAAM,CAAA;IACN,uDAAO,CAAA;IACP,uDAAO,CAAA;AACT,CAAC,EAVW,iBAAiB,KAAjB,iBAAiB,QAU5B","sourcesContent":["export enum AccountingJournal {\n BQ = 1,\n AC = 2,\n VE = 3,\n CAI = 4,\n PER = 5,\n AN = 6,\n OD = 7,\n REV = 8,\n SAL = 9,\n}"]}
@@ -0,0 +1,21 @@
1
+ export declare type BalanceSheetType = 'active' | 'passive';
2
+ export declare type BalanceSheetField = {
3
+ name: string;
4
+ key?: string;
5
+ fields?: BalanceSheetField[];
6
+ total?: number;
7
+ totalDeducted?: number;
8
+ accounts?: string[];
9
+ accountsDeducted?: string[];
10
+ isCategory?: boolean;
11
+ isSubcategory?: boolean;
12
+ isTotal?: boolean;
13
+ calculation?: boolean;
14
+ calculationAdd?: string[];
15
+ type?: BalanceSheetType;
16
+ };
17
+ export declare type BalanceSheetList = BalanceSheetField[];
18
+ export declare const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList;
19
+ export declare const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList;
20
+ export declare const BALANCE_SHEET_LIST_PASSIVE_DETAILS: BalanceSheetField[];
21
+ //# sourceMappingURL=BalanceSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BalanceSheet.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/BalanceSheet.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEpD,oBAAY,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAE7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB,CAAC;AAEF,oBAAY,gBAAgB,GAAG,iBAAiB,EAAE,CAAC;AAEnD,eAAO,MAAM,yBAAyB,EAAE,gBAwRvC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,gBAwOxC,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,iBAAiB,EAajE,CAAC"}