@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.
- package/es/api/resources/BalanceSheet.d.ts +8 -0
- package/es/api/resources/BalanceSheet.d.ts.map +1 -0
- package/es/api/resources/BalanceSheet.js +12 -0
- package/es/api/resources/BalanceSheet.js.map +1 -0
- package/es/api/resources/FecFile.d.ts +8 -0
- package/es/api/resources/FecFile.d.ts.map +1 -0
- package/es/api/resources/FecFile.js +13 -0
- package/es/api/resources/FecFile.js.map +1 -0
- package/es/api/resources/Letter.d.ts +6 -0
- package/es/api/resources/Letter.d.ts.map +1 -0
- package/es/api/resources/Letter.js +7 -0
- package/es/api/resources/Letter.js.map +1 -0
- package/es/api/resources/Report.d.ts +14 -0
- package/es/api/resources/Report.d.ts.map +1 -0
- package/es/api/resources/Report.js +13 -0
- package/es/api/resources/Report.js.map +1 -0
- package/es/api/resources/User.d.ts +4 -1
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +9 -0
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources.d.ts +8 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +8 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/AccountingJournal.d.ts +2 -1
- package/es/types/Enum/AccountingJournal.d.ts.map +1 -1
- package/es/types/Enum/AccountingJournal.js +1 -0
- package/es/types/Enum/AccountingJournal.js.map +1 -1
- package/es/types/Enum/BalanceSheet.d.ts +21 -0
- package/es/types/Enum/BalanceSheet.d.ts.map +1 -0
- package/es/types/Enum/BalanceSheet.js +529 -0
- package/es/types/Enum/BalanceSheet.js.map +1 -0
- package/es/types/Enum/FecFileDelimiter.d.ts +6 -0
- package/es/types/Enum/FecFileDelimiter.d.ts.map +1 -0
- package/es/types/Enum/FecFileDelimiter.js +7 -0
- package/es/types/Enum/FecFileDelimiter.js.map +1 -0
- package/es/types/Enum/IncomeStatement.d.ts +1 -0
- package/es/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/es/types/Enum/IncomeStatement.js +5 -2
- package/es/types/Enum/IncomeStatement.js.map +1 -1
- package/es/types/Enum/LetterType.d.ts +47 -0
- package/es/types/Enum/LetterType.d.ts.map +1 -0
- package/es/types/Enum/LetterType.js +47 -0
- package/es/types/Enum/LetterType.js.map +1 -0
- package/es/types/Enum/ReportState.d.ts +31 -0
- package/es/types/Enum/ReportState.d.ts.map +1 -0
- package/es/types/Enum/ReportState.js +31 -0
- package/es/types/Enum/ReportState.js.map +1 -0
- package/es/types/Enum/ReportType.d.ts +27 -0
- package/es/types/Enum/ReportType.d.ts.map +1 -0
- package/es/types/Enum/ReportType.js +27 -0
- package/es/types/Enum/ReportType.js.map +1 -0
- package/es/types/Enum/Role.d.ts +7 -2
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js +6 -1
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Enum/ThirdPartyType.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +1 -0
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +4 -0
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +11 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.js +2 -0
- package/es/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -0
- package/es/types/Interface/api/fecFile/CreateFecFile.d.ts +11 -0
- package/es/types/Interface/api/fecFile/CreateFecFile.d.ts.map +1 -0
- package/es/types/Interface/api/fecFile/CreateFecFile.js +28 -0
- package/es/types/Interface/api/fecFile/CreateFecFile.js.map +1 -0
- package/es/types/Interface/api/fecFile/ReadFecFile.d.ts +23 -0
- package/es/types/Interface/api/fecFile/ReadFecFile.d.ts.map +1 -0
- package/es/types/Interface/api/fecFile/ReadFecFile.js +2 -0
- package/es/types/Interface/api/fecFile/ReadFecFile.js.map +1 -0
- package/es/types/Interface/api/file/TFile.d.ts +10 -0
- package/es/types/Interface/api/file/TFile.d.ts.map +1 -0
- package/es/types/Interface/api/file/TFile.js +2 -0
- package/es/types/Interface/api/file/TFile.js.map +1 -0
- package/es/types/Interface/api/letter/CreateLetter.d.ts +15 -0
- package/es/types/Interface/api/letter/CreateLetter.d.ts.map +1 -0
- package/es/types/Interface/api/letter/CreateLetter.js +57 -0
- package/es/types/Interface/api/letter/CreateLetter.js.map +1 -0
- package/es/types/Interface/api/report/CreateReport.d.ts +13 -0
- package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -0
- package/es/types/Interface/api/report/CreateReport.js +45 -0
- package/es/types/Interface/api/report/CreateReport.js.map +1 -0
- package/es/types/Interface/api/report/QueryReports.d.ts +9 -0
- package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -0
- package/es/types/Interface/api/report/QueryReports.js +37 -0
- package/es/types/Interface/api/report/QueryReports.js.map +1 -0
- package/es/types/Interface/api/report/ReadReport.d.ts +8 -0
- package/es/types/Interface/api/report/ReadReport.d.ts.map +1 -0
- package/es/types/Interface/api/report/ReadReport.js +2 -0
- package/es/types/Interface/api/report/ReadReport.js.map +1 -0
- package/es/types/Interface/api/user/CreateUser.d.ts +10 -0
- package/es/types/Interface/api/user/CreateUser.d.ts.map +1 -0
- package/es/types/Interface/api/user/CreateUser.js +41 -0
- package/es/types/Interface/api/user/CreateUser.js.map +1 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts +4 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts.map +1 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.js +17 -0
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -0
- package/es/types/Interface/models/IAccount.d.ts +20 -20
- package/es/types/Interface/models/IAccount.d.ts.map +1 -1
- package/es/types/Interface/models/IAccount.js.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.d.ts +3 -3
- package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
- package/es/types/Interface/models/IAccountingJournal.d.ts +2 -0
- package/es/types/Interface/models/IAccountingJournal.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingJournal.js.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.d.ts +25 -24
- package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +8 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +10 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IFecFile.d.ts +14 -0
- package/es/types/Interface/models/IFecFile.d.ts.map +1 -0
- package/es/types/Interface/models/IFecFile.js +2 -0
- package/es/types/Interface/models/IFecFile.js.map +1 -0
- package/es/types/Interface/models/ILetter.d.ts +18 -14
- package/es/types/Interface/models/ILetter.d.ts.map +1 -1
- package/es/types/Interface/models/ILetter.js.map +1 -1
- package/es/types/Interface/models/IReport.d.ts +12 -11
- package/es/types/Interface/models/IReport.d.ts.map +1 -1
- package/es/types/Interface/models/IReport.js.map +1 -1
- package/es/types/Interface/models/IReportMessage.d.ts +1 -1
- package/es/types/Interface/models/IReportMessage.d.ts.map +1 -1
- package/es/types/Interface/models/IReportMessage.js.map +1 -1
- package/es/types/Interface/models/IReportType.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +0 -1
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/Interface/models/IThirdParty.d.ts +5 -6
- package/es/types/Interface/models/IThirdParty.d.ts.map +1 -1
- package/es/types/Interface/models/IThirdParty.js.map +1 -1
- package/es/types/index.d.ts +16 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +16 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/BalanceSheet.js +23 -0
- package/js/api/resources/BalanceSheet.js.map +1 -0
- package/js/api/resources/FecFile.js +26 -0
- package/js/api/resources/FecFile.js.map +1 -0
- package/js/api/resources/Letter.js +18 -0
- package/js/api/resources/Letter.js.map +1 -0
- package/js/api/resources/Report.js +28 -0
- package/js/api/resources/Report.js.map +1 -0
- package/js/api/resources/User.js +14 -0
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources.js +13 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/AccountingJournal.js +1 -0
- package/js/types/Enum/AccountingJournal.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +438 -0
- package/js/types/Enum/BalanceSheet.js.map +1 -0
- package/js/types/Enum/FecFileDelimiter.js +13 -0
- package/js/types/Enum/FecFileDelimiter.js.map +1 -0
- package/js/types/Enum/IncomeStatement.js +5 -2
- package/js/types/Enum/IncomeStatement.js.map +1 -1
- package/js/types/Enum/LetterType.js +52 -0
- package/js/types/Enum/LetterType.js.map +1 -0
- package/js/types/Enum/ReportState.js +36 -0
- package/js/types/Enum/ReportState.js.map +1 -0
- package/js/types/Enum/ReportType.js +32 -0
- package/js/types/Enum/ReportType.js.map +1 -0
- package/js/types/Enum/Role.js +6 -1
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Enum/ThirdPartyType.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js +2 -0
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js +6 -0
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -0
- package/js/types/Interface/api/fecFile/CreateFecFile.js +37 -0
- package/js/types/Interface/api/fecFile/CreateFecFile.js.map +1 -0
- package/js/types/Interface/api/fecFile/ReadFecFile.js +6 -0
- package/js/types/Interface/api/fecFile/ReadFecFile.js.map +1 -0
- package/js/types/Interface/api/file/TFile.js +6 -0
- package/js/types/Interface/api/file/TFile.js.map +1 -0
- package/js/types/Interface/api/letter/CreateLetter.js +47 -0
- package/js/types/Interface/api/letter/CreateLetter.js.map +1 -0
- package/js/types/Interface/api/report/CreateReport.js +41 -0
- package/js/types/Interface/api/report/CreateReport.js.map +1 -0
- package/js/types/Interface/api/report/QueryReports.js +37 -0
- package/js/types/Interface/api/report/QueryReports.js.map +1 -0
- package/js/types/Interface/api/report/ReadReport.js +6 -0
- package/js/types/Interface/api/report/ReadReport.js.map +1 -0
- package/js/types/Interface/api/user/CreateUser.js +39 -0
- package/js/types/Interface/api/user/CreateUser.js.map +1 -0
- package/js/types/Interface/api/user/QueryUserSmsConfirmation.js +27 -0
- package/js/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +11 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IFecFile.js +6 -0
- package/js/types/Interface/models/IFecFile.js.map +1 -0
- package/js/types/index.js +192 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BalanceSheet.ts +12 -0
- package/ts/api/resources/FecFile.ts +21 -0
- package/ts/api/resources/Letter.ts +10 -0
- package/ts/api/resources/Report.ts +22 -0
- package/ts/api/resources/User.ts +12 -1
- package/ts/api/resources.ts +8 -0
- package/ts/types/Enum/AccountingJournal.ts +1 -0
- package/ts/types/Enum/BalanceSheet.ts +555 -0
- package/ts/types/Enum/FecFileDelimiter.ts +5 -0
- package/ts/types/Enum/IncomeStatement.ts +6 -2
- package/ts/types/Enum/LetterType.ts +46 -0
- package/ts/types/Enum/ReportState.ts +30 -0
- package/ts/types/Enum/ReportType.ts +26 -0
- package/ts/types/Enum/Role.ts +6 -1
- package/ts/types/Enum/ThirdPartyType.ts +1 -1
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -0
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +10 -0
- package/ts/types/Interface/api/fecFile/CreateFecFile.ts +15 -0
- package/ts/types/Interface/api/fecFile/ReadFecFile.ts +25 -0
- package/ts/types/Interface/api/file/TFile.ts +8 -0
- package/ts/types/Interface/api/letter/CreateLetter.ts +37 -0
- package/ts/types/Interface/api/report/CreateReport.ts +29 -0
- package/ts/types/Interface/api/report/QueryReports.ts +21 -0
- package/ts/types/Interface/api/report/ReadReport.ts +9 -0
- package/ts/types/Interface/api/user/CreateUser.ts +18 -0
- package/ts/types/Interface/api/user/QueryUserSmsConfirmation.ts +6 -0
- package/ts/types/Interface/models/IAccount.ts +20 -20
- package/ts/types/Interface/models/IAccountingEntry.ts +3 -3
- package/ts/types/Interface/models/IAccountingJournal.ts +2 -0
- package/ts/types/Interface/models/IAccountingTransaction.ts +25 -24
- package/ts/types/Interface/models/IApiError.ts +14 -0
- package/ts/types/Interface/models/IFecFile.ts +17 -0
- package/ts/types/Interface/models/ILetter.ts +18 -14
- package/ts/types/Interface/models/IReport.ts +12 -11
- package/ts/types/Interface/models/IReportMessage.ts +1 -1
- package/ts/types/Interface/models/IReportType.ts +1 -1
- package/ts/types/Interface/models/ISociety.ts +0 -1
- package/ts/types/Interface/models/IThirdParty.ts +5 -6
- package/ts/types/index.ts +17 -0
|
@@ -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 @@
|
|
|
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,
|
|
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"}
|
package/es/api/resources/User.js
CHANGED
|
@@ -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;
|
|
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"]}
|
package/es/api/resources.d.ts
CHANGED
|
@@ -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;
|
|
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"}
|
package/es/api/resources.js
CHANGED
|
@@ -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
|
package/es/api/resources.js.map
CHANGED
|
@@ -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;
|
|
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"]}
|
|
@@ -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,
|
|
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"}
|