@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,57 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class CreateLetter {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiProperty(),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], CreateLetter.prototype, "idLetterType", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], CreateLetter.prototype, "idReport", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiProperty(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], CreateLetter.prototype, "idSociety", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiProperty(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], CreateLetter.prototype, "letterDate", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateLetter.prototype, "complement", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiPropertyOptional(),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], CreateLetter.prototype, "fileType", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
ApiPropertyOptional(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], CreateLetter.prototype, "isLRAR", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiPropertyOptional(),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], CreateLetter.prototype, "isDone", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
ApiPropertyOptional(),
|
|
47
|
+
__metadata("design:type", Boolean)
|
|
48
|
+
], CreateLetter.prototype, "needResponse", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
ApiPropertyOptional(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], CreateLetter.prototype, "ARNumber", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
ApiPropertyOptional(),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], CreateLetter.prototype, "idAccountant", void 0);
|
|
57
|
+
//# sourceMappingURL=CreateLetter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateLetter.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/letter/CreateLetter.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,YAAY;CAiCxB;AA/BC;IADC,WAAW,EAAE;;kDACO;AAGrB;IADC,mBAAmB,EAAE;;8CACJ;AAGlB;IADC,WAAW,EAAE;;+CACI;AAGlB;IADC,WAAW,EAAE;8BACF,IAAI;gDAAC;AAGjB;IADC,mBAAmB,EAAE;;gDACF;AAGpB;IADC,mBAAmB,EAAE;;8CACwC;AAG9D;IADC,mBAAmB,EAAE;;4CACL;AAGjB;IADC,mBAAmB,EAAE;;4CACL;AAGjB;IADC,mBAAmB,EAAE;;kDACC;AAGvB;IADC,mBAAmB,EAAE;;8CACJ;AAGlB;IADC,mBAAmB,EAAE;;kDACA","sourcesContent":["import { ILetter } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateLetter implements ILetter {\n @ApiProperty()\n idLetterType: number;\n\n @ApiPropertyOptional()\n idReport?: number;\n\n @ApiProperty()\n idSociety: number;\n\n @ApiProperty()\n letterDate: Date;\n\n @ApiPropertyOptional()\n complement?: string;\n\n @ApiPropertyOptional()\n fileType?: 'receivedFileObject' | 'responseFileObject' | null;\n\n @ApiPropertyOptional()\n isLRAR?: boolean;\n\n @ApiPropertyOptional()\n isDone?: boolean;\n\n @ApiPropertyOptional()\n needResponse?: boolean;\n\n @ApiPropertyOptional()\n ARNumber?: string;\n\n @ApiPropertyOptional()\n idAccountant?: number;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IReport } from '../../..';
|
|
2
|
+
import { TFile } from '../file/TFile';
|
|
3
|
+
export declare class CreateReport implements IReport {
|
|
4
|
+
idReportType?: number;
|
|
5
|
+
idSociety?: number;
|
|
6
|
+
idUser: number;
|
|
7
|
+
message: string;
|
|
8
|
+
search?: string;
|
|
9
|
+
letterDate: Date;
|
|
10
|
+
receivedFile?: TFile;
|
|
11
|
+
responseFile?: TFile;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=CreateReport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;IAE1C,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,MAAM,EAAE,MAAM,CAAC;IAGf,OAAO,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,UAAU,EAAE,IAAI,CAAC;IAGjB,YAAY,CAAC,EAAE,KAAK,CAAC;IAGrB,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class CreateReport {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiPropertyOptional(),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], CreateReport.prototype, "idReportType", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], CreateReport.prototype, "idSociety", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiProperty(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], CreateReport.prototype, "idUser", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiProperty(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateReport.prototype, "message", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateReport.prototype, "search", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiProperty(),
|
|
35
|
+
__metadata("design:type", Date)
|
|
36
|
+
], CreateReport.prototype, "letterDate", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
ApiPropertyOptional(),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], CreateReport.prototype, "receivedFile", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiPropertyOptional(),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], CreateReport.prototype, "responseFile", void 0);
|
|
45
|
+
//# sourceMappingURL=CreateReport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,MAAM,OAAO,YAAY;CAwBxB;AAtBC;IADC,mBAAmB,EAAE;;kDACA;AAGtB;IADC,mBAAmB,EAAE;;+CACH;AAGnB;IADC,WAAW,EAAE;;4CACC;AAGf;IADC,WAAW,EAAE;;6CACE;AAGhB;IADC,mBAAmB,EAAE;;4CACN;AAGhB;IADC,WAAW,EAAE;8BACF,IAAI;gDAAC;AAGjB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD","sourcesContent":["import { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiPropertyOptional()\n idReportType?: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n message: string;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n letterDate: Date;\n\n @ApiPropertyOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n responseFile?: TFile;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryReports.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IAEvB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class QueryReports {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiPropertyOptional(),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], QueryReports.prototype, "idReportType", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiPropertyOptional(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], QueryReports.prototype, "idSociety", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiPropertyOptional(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], QueryReports.prototype, "search", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiPropertyOptional(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], QueryReports.prototype, "year", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], QueryReports.prototype, "state", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiPropertyOptional(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], QueryReports.prototype, "idUser", void 0);
|
|
37
|
+
//# sourceMappingURL=QueryReports.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryReports.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,YAAY;CAkBxB;AAhBC;IADC,mBAAmB,EAAE;;kDACA;AAGtB;IADC,mBAAmB,EAAE;;+CACH;AAGnB;IADC,mBAAmB,EAAE;;4CACN;AAGhB;IADC,mBAAmB,EAAE;;0CACR;AAGd;IADC,mBAAmB,EAAE;;2CACP;AAGf;IADC,mBAAmB,EAAE;;4CACN","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idReportType?: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadReport.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/ReadReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,OAAO;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,KAAK,EAAE,CAAA;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadReport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/report/ReadReport.ts"],"names":[],"mappings":"","sourcesContent":["// import { TFile } from 'Utils/type.utils';\nimport { IReport, IUser } from '../../..';\n\nexport interface ReadReport extends IReport {\n idUser: number,\n idReportMessage?: number,\n message?: string,\n societyUsers?: IUser[]\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateUser.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/CreateUser.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IAErB,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
|
+
export class CreateUser {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiProperty(),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], CreateUser.prototype, "email", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
ApiProperty(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CreateUser.prototype, "phone", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
ApiProperty(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CreateUser.prototype, "password", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiProperty(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateUser.prototype, "firstname", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiProperty(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateUser.prototype, "lastname", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ApiProperty(),
|
|
35
|
+
__metadata("design:type", Boolean)
|
|
36
|
+
], CreateUser.prototype, "acceptCgv", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
ApiPropertyOptional(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], CreateUser.prototype, "acceptNewsletter", void 0);
|
|
41
|
+
//# sourceMappingURL=CreateUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateUser.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/CreateUser.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,UAAU;CAetB;AAbC;IADC,WAAW,EAAE;;yCACA;AAEd;IADC,WAAW,EAAE;;yCACA;AAEd;IADC,WAAW,EAAE;;4CACG;AAEjB;IADC,WAAW,EAAE;;6CACI;AAElB;IADC,WAAW,EAAE;;4CACG;AAEjB;IADC,WAAW,EAAE;;6CACM;AAEpB;IADC,mBAAmB,EAAE;;oDACK","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}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryUserSmsConfirmation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/QueryUserSmsConfirmation.ts"],"names":[],"mappings":"AAEA,qBAAa,wBAAwB;IAEnC,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { ApiProperty } from '../../../../utils';
|
|
11
|
+
export class QueryUserSmsConfirmation {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
ApiProperty(),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], QueryUserSmsConfirmation.prototype, "code", void 0);
|
|
17
|
+
//# sourceMappingURL=QueryUserSmsConfirmation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryUserSmsConfirmation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/user/QueryUserSmsConfirmation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,wBAAwB;CAGpC;AADC;IADC,WAAW,EAAE;;sDACD","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryUserSmsConfirmation {\n @ApiProperty()\n code: string;\n}"]}
|
|
@@ -10,28 +10,28 @@ export interface IAccount {
|
|
|
10
10
|
id?: number;
|
|
11
11
|
number: number;
|
|
12
12
|
name: string;
|
|
13
|
-
originalName
|
|
14
|
-
forceVat
|
|
15
|
-
blockVat
|
|
16
|
-
forceFile
|
|
17
|
-
isHidden
|
|
18
|
-
isImmo
|
|
19
|
-
isCorporal
|
|
20
|
-
icone
|
|
21
|
-
iconePNG
|
|
22
|
-
color
|
|
23
|
-
isOnlyTreso
|
|
24
|
-
isOnlyEnga
|
|
25
|
-
isGeneric
|
|
26
|
-
forClient
|
|
27
|
-
forFournisseur
|
|
28
|
-
juridicalSociety
|
|
13
|
+
originalName?: string | null;
|
|
14
|
+
forceVat?: boolean;
|
|
15
|
+
blockVat?: boolean;
|
|
16
|
+
forceFile?: boolean;
|
|
17
|
+
isHidden?: boolean;
|
|
18
|
+
isImmo?: boolean;
|
|
19
|
+
isCorporal?: boolean;
|
|
20
|
+
icone?: string | null;
|
|
21
|
+
iconePNG?: string | null;
|
|
22
|
+
color?: string | null;
|
|
23
|
+
isOnlyTreso?: boolean;
|
|
24
|
+
isOnlyEnga?: boolean;
|
|
25
|
+
isGeneric?: boolean;
|
|
26
|
+
forClient?: boolean;
|
|
27
|
+
forFournisseur?: boolean;
|
|
28
|
+
juridicalSociety?: number | null;
|
|
29
29
|
idNature: number;
|
|
30
30
|
idAccountType: number;
|
|
31
|
-
idVat
|
|
32
|
-
idRegisterCategorie
|
|
33
|
-
idSector
|
|
34
|
-
idParentAccount
|
|
31
|
+
idVat?: number | null;
|
|
32
|
+
idRegisterCategorie?: number | null;
|
|
33
|
+
idSector?: number | null;
|
|
34
|
+
idParentAccount?: number | null;
|
|
35
35
|
createdAt?: Date | null;
|
|
36
36
|
updatedAt?: Date | null;
|
|
37
37
|
deletedAt?: Date | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccount.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"IAccount.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAA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E,IAAI,GAAG,IAAI,CAAC;IAGxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;IAClC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"","sourcesContent":["import { INature } from './INature';\nimport { IAccountType } from './IAccountType';\nimport { IVat } from './IVat';\nimport { IRegisterCategory } from './IRegisterCategory';\nimport { ISector } from './ISector';\nimport { IAccountHelp } from './IAccountHelp';\nimport { IAccountDetail } from './IAccountDetail';\nimport { ISociety } from './ISociety';\n\n// accounts\nexport interface IAccount {\n id?: number;\n number: number;\n name: string;\n originalName
|
|
1
|
+
{"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"","sourcesContent":["import { INature } from './INature';\nimport { IAccountType } from './IAccountType';\nimport { IVat } from './IVat';\nimport { IRegisterCategory } from './IRegisterCategory';\nimport { ISector } from './ISector';\nimport { IAccountHelp } from './IAccountHelp';\nimport { IAccountDetail } from './IAccountDetail';\nimport { ISociety } from './ISociety';\n\n// accounts\nexport interface IAccount {\n id?: number;\n number: number;\n name: string;\n originalName?: string | null;\n forceVat?: boolean;\n blockVat?: boolean;\n forceFile?: boolean;\n isHidden?: boolean;\n isImmo?: boolean;\n isCorporal?: boolean;\n icone?: string | null;\n iconePNG?: string | null;\n color?: string | null;\n isOnlyTreso?: boolean;\n isOnlyEnga?: boolean;\n isGeneric?: boolean;\n forClient?: boolean;\n forFournisseur?: boolean;\n juridicalSociety?: number | null;\n idNature: number;\n idAccountType: number;\n idVat?: number | null;\n idRegisterCategorie?: number | null;\n idSector?: number | null;\n idParentAccount?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n nature?: INature;\n AccountType?: IAccountType;\n tva?: IVat;\n registerCategorie?: IRegisterCategory;\n sector?: ISector;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n societies?: ISociety[];\n}\n"]}
|
|
@@ -9,11 +9,11 @@ export interface IAccountingEntry {
|
|
|
9
9
|
master: boolean;
|
|
10
10
|
dateValue: Date;
|
|
11
11
|
designation: string;
|
|
12
|
-
comment
|
|
12
|
+
comment?: string | null;
|
|
13
13
|
debit: number;
|
|
14
14
|
credit: number;
|
|
15
|
-
isPerso
|
|
16
|
-
autoAnnotate
|
|
15
|
+
isPerso?: boolean;
|
|
16
|
+
autoAnnotate?: boolean;
|
|
17
17
|
idInherit: number | null;
|
|
18
18
|
idAccount: number | null;
|
|
19
19
|
idThirdParty: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountingEntry.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EA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eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,qBAAqB,CAAC,EAAE,sBAAsB,CAAC;IAC/C,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,WAAW,CAAC,EAAE,WAAW,EAAE,CAAC;CAC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountingEntry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { IAccountingTransaction } from './IAccountingTransaction';\nimport { IVat } from './IVat';\nimport { IImmobilization } from './IImmobilization';\nimport { ISuggestion } from './ISuggestion';\n\n// accountingEntries\nexport interface IAccountingEntry {\n id?: number;\n master: boolean;\n dateValue: Date;\n designation: string;\n comment
|
|
1
|
+
{"version":3,"file":"IAccountingEntry.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingEntry.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { IAccountingTransaction } from './IAccountingTransaction';\nimport { IVat } from './IVat';\nimport { IImmobilization } from './IImmobilization';\nimport { ISuggestion } from './ISuggestion';\n\n// accountingEntries\nexport interface IAccountingEntry {\n id?: number;\n master: boolean;\n dateValue: Date;\n designation: string;\n comment?: string | null;\n debit: number;\n credit: number;\n isPerso?: boolean;\n autoAnnotate?: boolean;\n idInherit: number | null;\n idAccount: number | null;\n idThirdParty: number | null;\n idAccountingTransaction: number;\n idVat?: number | null;\n idImmobilization?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n account?: IAccount;\n thirdParty?: IThirdParty;\n accountingEntry?: IAccountingEntry;\n childTva?: IAccountingEntry;\n accountingTransaction?: IAccountingTransaction;\n vat?: IVat;\n immobilization?: IImmobilization;\n suggestions?: ISuggestion[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountingJournal.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingJournal.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,kBAAkB;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
1
|
+
{"version":3,"file":"IAccountingJournal.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingJournal.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,kBAAkB;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountingJournal.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingJournal.ts"],"names":[],"mappings":"","sourcesContent":["// accountingJournal\nexport interface IAccountingJournal {\n id?: number;\n name: string;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IAccountingJournal.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingJournal.ts"],"names":[],"mappings":"","sourcesContent":["// accountingJournal\nexport interface IAccountingJournal {\n id?: number;\n name: string;\n fullname: string;\n idAccountingJournalParent?: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
@@ -17,36 +17,37 @@ export interface IAccountingTransaction {
|
|
|
17
17
|
invoiceNumber: string | null;
|
|
18
18
|
budgeaTransactionId: string | null;
|
|
19
19
|
dateValue: Date;
|
|
20
|
-
dateLocked
|
|
21
|
-
dateVerified
|
|
20
|
+
dateLocked?: Date | null;
|
|
21
|
+
dateVerified?: Date | null;
|
|
22
22
|
originalValue?: number | null;
|
|
23
|
-
idUser
|
|
24
|
-
isBlocked
|
|
25
|
-
isMerged
|
|
26
|
-
isAsset
|
|
27
|
-
isPayPerso
|
|
23
|
+
idUser?: number | null;
|
|
24
|
+
isBlocked?: boolean;
|
|
25
|
+
isMerged?: boolean;
|
|
26
|
+
isAsset?: boolean;
|
|
27
|
+
isPayPerso?: boolean;
|
|
28
|
+
isFecImport?: boolean;
|
|
28
29
|
exported: Date | null;
|
|
29
|
-
kilometers
|
|
30
|
-
purchaseTtc
|
|
31
|
-
internComment
|
|
32
|
-
isReadMobile
|
|
33
|
-
invoiceRequested
|
|
34
|
-
isLockedMobile
|
|
35
|
-
isAlreadyProcessByOcr
|
|
30
|
+
kilometers?: number | null;
|
|
31
|
+
purchaseTtc?: number | null;
|
|
32
|
+
internComment?: string | null;
|
|
33
|
+
isReadMobile?: boolean;
|
|
34
|
+
invoiceRequested?: boolean;
|
|
35
|
+
isLockedMobile?: boolean;
|
|
36
|
+
isAlreadyProcessByOcr?: boolean | null;
|
|
36
37
|
idBankAccount: number | null;
|
|
37
38
|
idSociety: number;
|
|
38
39
|
idCurrency?: number | null;
|
|
39
|
-
idPaymentMethod
|
|
40
|
-
idSocietyVehicle
|
|
41
|
-
idSocietyPartner
|
|
42
|
-
idRule
|
|
43
|
-
idLettering
|
|
40
|
+
idPaymentMethod?: number | null;
|
|
41
|
+
idSocietyVehicle?: number | null;
|
|
42
|
+
idSocietyPartner?: number | null;
|
|
43
|
+
idRule?: number | null;
|
|
44
|
+
idLettering?: number | null;
|
|
44
45
|
idAccountingJournal: number;
|
|
45
|
-
idTypeCompta
|
|
46
|
-
idEstimateInvoice
|
|
47
|
-
idFile
|
|
48
|
-
idEBT
|
|
49
|
-
idEAF
|
|
46
|
+
idTypeCompta?: number | null;
|
|
47
|
+
idEstimateInvoice?: number | null;
|
|
48
|
+
idFile?: number | null;
|
|
49
|
+
idEBT?: number | null;
|
|
50
|
+
idEAF?: number | null;
|
|
50
51
|
createdAt?: Date | null;
|
|
51
52
|
updatedAt?: Date | null;
|
|
52
53
|
deletedAt?: Date | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,WAAW,sBAAsB;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,IAAI,CAA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SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACvC,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;IACpC,iBAAiB,CAAC,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,mBAAmB,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountingTransaction.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingTransaction.ts"],"names":[],"mappings":"","sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IAccountingEntry } from './IAccountingEntry';\nimport { IAccountingFile } from './IAccountingFile';\nimport { IAccountingJournal } from './IAccountingJournal';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\nimport { IRule } from './IRule';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IFile } from './IFile';\nimport { IComptaType } from './IComptaType';\nimport { ILettering } from './ILettering';\nimport { IPartnerTransaction } from './IPartnerTransaction';\nimport { ICurrency } from './ICurrency';\n\n// accountingTransactions\nexport interface IAccountingTransaction {\n id?: number;\n label: string | null;\n invoiceNumber: string | null;\n budgeaTransactionId: string | null;\n dateValue: Date;\n dateLocked
|
|
1
|
+
{"version":3,"file":"IAccountingTransaction.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccountingTransaction.ts"],"names":[],"mappings":"","sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IAccountingEntry } from './IAccountingEntry';\nimport { IAccountingFile } from './IAccountingFile';\nimport { IAccountingJournal } from './IAccountingJournal';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\nimport { IRule } from './IRule';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IFile } from './IFile';\nimport { IComptaType } from './IComptaType';\nimport { ILettering } from './ILettering';\nimport { IPartnerTransaction } from './IPartnerTransaction';\nimport { ICurrency } from './ICurrency';\n\n// accountingTransactions\nexport interface IAccountingTransaction {\n id?: number;\n label: string | null;\n invoiceNumber: string | null;\n budgeaTransactionId: string | null;\n dateValue: Date;\n dateLocked?: Date | null;\n dateVerified?: Date | null;\n originalValue?: number | null;\n idUser?: number | null;\n isBlocked?: boolean;\n isMerged?: boolean;\n isAsset?: boolean;\n isPayPerso?: boolean;\n isFecImport?: boolean;\n exported: Date | null;\n kilometers?: number | null;\n purchaseTtc?: number | null;\n internComment?: string | null;\n isReadMobile?: boolean;\n invoiceRequested?: boolean;\n isLockedMobile?: boolean;\n isAlreadyProcessByOcr?: boolean | null;\n idBankAccount: number | null;\n idSociety: number;\n idCurrency?: number | null;\n idPaymentMethod?: number | null;\n idSocietyVehicle?: number | null;\n idSocietyPartner?: number | null;\n idRule?: number | null;\n idLettering?: number | null;\n idAccountingJournal: number;\n idTypeCompta?: number | null;\n idEstimateInvoice?: number | null;\n idFile?: number | null;\n idEBT?: number | null;\n idEAF?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n bankAccount?: IBankAccount;\n accountingEntries?: IAccountingEntry[];\n accountingFiles?: IAccountingFile[];\n accountingJournal?: IAccountingJournal;\n currency?: ICurrency;\n society?: ISociety;\n user?: IUser;\n rule?: IRule;\n estimatesInvoice?: IEstimateInvoice;\n file?: IFile;\n typeComptum?: IComptaType;\n lettering?: ILettering;\n partnersTransaction: IPartnerTransaction | null;\n}\n"]}
|
|
@@ -39,7 +39,14 @@ export declare enum Code {
|
|
|
39
39
|
emailNotFound = "email_not_found",
|
|
40
40
|
missingParamAccountNumber = "missing_param_account_number",
|
|
41
41
|
accountNumberParamNotFound = "account_number_param_not_found",
|
|
42
|
-
invalidIncomeStatementList = "invalid_income_statement_list"
|
|
42
|
+
invalidIncomeStatementList = "invalid_income_statement_list",
|
|
43
|
+
invalidBalanceSheetList = "invalid_balance_sheet_list",
|
|
44
|
+
insertAccountingTransactionFailed = "insert_accounting_transaction_failed",
|
|
45
|
+
userAlreadyExistWithSociety = "user-already-exists",
|
|
46
|
+
userDoesNotExists = "user-does-not-exist",
|
|
47
|
+
expiredSmsCode = "expired-sms-code",
|
|
48
|
+
userNotInFmaProcess = "user-not-in-maf-process",
|
|
49
|
+
wrongSmsCode = "wrong-sms-code"
|
|
43
50
|
}
|
|
44
51
|
export interface IApiError {
|
|
45
52
|
type: ErrorType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IAEd,YAAY,iCAAiC;IAC7C,qBAAqB,uCAAuC;IAC5D,QAAQ,uBAAuB;IAC/B,eAAe,8BAA8B;IAC7C,eAAe,8BAA8B;IAC7C,UAAU,iBAAiB;IAC3B,mBAAmB,0BAA0B;IAC7C,kBAAkB,sBAAsB;IAGxC,kBAAkB,yBAAyB;IAC3C,+BAA+B,2CAA2C;IAC1E,6BAA6B,yCAAyC;IACtE,uDAAuD,yEAAyE;IAChI,iBAAiB,wBAAwB;IACzC,mCAAmC,6CAA6C;IAChF,+BAA+B,0CAA0C;IACzE,+BAA+B,2CAA2C;IAC1E,6BAA6B,wCAAwC;IACrE,8BAA8B,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AgD,4DAA4D;IAC5G,wDAAwD,oEAAoE;IAG5H,WAAW,iBAAiB;IAG5B,iBAAiB,wBAAwB;IACzC,8BAA8B,uCAAuC;IACrE,0BAA0B,mCAAmC;IAC7D,aAAa,oBAAoB;IAGjC,yBAAyB,iCAAiC;IAC1D,0BAA0B,mCAAmC;IAG7D,0BAA0B,kCAAkC;IAG5D,uBAAuB,+BAA+B;IAGtD,iCAAiC,yCAAyC;IAG1E,2BAA2B,wBAAwB;IACnD,iBAAiB,wBAAwB;IACzC,cAAc,qBAAqB;IACnC,mBAAmB,4BAA4B;IAC/C,YAAY,mBAAmB;CAEhC;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -48,5 +48,15 @@ export var Code;
|
|
|
48
48
|
Code["accountNumberParamNotFound"] = "account_number_param_not_found";
|
|
49
49
|
// Income statement
|
|
50
50
|
Code["invalidIncomeStatementList"] = "invalid_income_statement_list";
|
|
51
|
+
// Balance Sheet
|
|
52
|
+
Code["invalidBalanceSheetList"] = "invalid_balance_sheet_list";
|
|
53
|
+
// FecFile
|
|
54
|
+
Code["insertAccountingTransactionFailed"] = "insert_accounting_transaction_failed";
|
|
55
|
+
// User creation
|
|
56
|
+
Code["userAlreadyExistWithSociety"] = "user-already-exists";
|
|
57
|
+
Code["userDoesNotExists"] = "user-does-not-exist";
|
|
58
|
+
Code["expiredSmsCode"] = "expired-sms-code";
|
|
59
|
+
Code["userNotInFmaProcess"] = "user-not-in-maf-process";
|
|
60
|
+
Code["wrongSmsCode"] = "wrong-sms-code";
|
|
51
61
|
})(Code || (Code = {}));
|
|
52
62
|
//# sourceMappingURL=IApiError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,IA8DX;AA9DD,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;IAExC,mBAAmB;IACnB,mDAA2C,CAAA;IAC3C,kFAA0E,CAAA;IAC1E,8EAAsE,CAAA;IACtE,wIAAgI,CAAA;IAChI,iDAAyC,CAAA;IACzC,wFAAgF,CAAA;IAChF,iFAAyE,CAAA;IACzE,kFAA0E,CAAA;IAC1E,6EAAqE,CAAA;IACrE,8EAAsE,CAAA;IACtE,wEAAgE,CAAA;IAChE,yDAAiD,CAAA;IACjD,kDAA0C,CAAA;IAC1C,iGAAyF,CAAA;IACzF,uFAA+E,CAAA;IAC/E,iGAAyF,CAAA;IACzF,iFAAyE,CAAA;IACzE,4GAAoG,CAAA;IACpG,oHAA4G,CAAA;IAC5G,oIAA4H,CAAA;IAE5H,YAAY;IACZ,oCAA4B,CAAA;IAE5B,cAAc;IACd,iDAAyC,CAAA;IACzC,6EAAqE,CAAA;IACrE,qEAA6D,CAAA;IAC7D,yCAAiC,CAAA;IAEjC,cAAc;IACd,kEAA0D,CAAA;IAC1D,qEAA6D,CAAA;IAE7D,mBAAmB;IACnB,oEAA4D,CAAA;IAE5D,gBAAgB;IAChB,8DAAsD,CAAA;IAEtD,UAAU;IACV,kFAA0E,CAAA;IAE1E,gBAAgB;IAChB,2DAAmD,CAAA;IACnD,iDAAyC,CAAA;IACzC,2CAAmC,CAAA;IACnC,uDAA+C,CAAA;IAC/C,uCAA+B,CAAA;AAEjC,CAAC,EA9DW,IAAI,KAAJ,IAAI,QA8Df","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 // 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}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
|