@silexpert/core 0.4.10-0 → 0.4.11
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/README.md +2 -2
- package/es/api/resources/GeneralLedger.d.ts +1 -0
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js +9 -0
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/Immobilization.d.ts.map +1 -1
- package/es/api/resources/Immobilization.js +6 -1
- package/es/api/resources/Immobilization.js.map +1 -1
- package/es/api/resources/IncomeStatement.d.ts +7 -0
- package/es/api/resources/IncomeStatement.d.ts.map +1 -0
- package/es/api/resources/IncomeStatement.js +13 -0
- package/es/api/resources/IncomeStatement.js.map +1 -0
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/IncomeStatement.d.ts +21 -0
- package/es/types/Enum/IncomeStatement.d.ts.map +1 -0
- package/es/types/Enum/IncomeStatement.js +309 -0
- package/es/types/Enum/IncomeStatement.js.map +1 -0
- package/es/types/Enum/ThirdPartyType.d.ts +5 -0
- package/es/types/Enum/ThirdPartyType.d.ts.map +1 -0
- package/es/types/Enum/ThirdPartyType.js +6 -0
- package/es/types/Enum/ThirdPartyType.js.map +1 -0
- package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +9 -0
- package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -0
- package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.js +31 -0
- package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -0
- package/es/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +7 -0
- package/es/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -0
- package/es/types/Interface/api/incomeStatement/ReadIncomeStatement.js +2 -0
- package/es/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -0
- package/es/types/Interface/models/IAccountingEntry.d.ts +2 -0
- 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/IApiError.d.ts +2 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +2 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/ISuggestion.d.ts +14 -0
- package/es/types/Interface/models/ISuggestion.d.ts.map +1 -0
- package/es/types/Interface/models/ISuggestion.js +2 -0
- package/es/types/Interface/models/ISuggestion.js.map +1 -0
- package/es/types/index.d.ts +5 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +5 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/GeneralLedger.js +10 -0
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/Immobilization.js +6 -1
- package/js/api/resources/Immobilization.js.map +1 -1
- package/js/api/resources/IncomeStatement.js +24 -0
- package/js/api/resources/IncomeStatement.js.map +1 -0
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/IncomeStatement.js +251 -0
- package/js/types/Enum/IncomeStatement.js.map +1 -0
- package/js/types/Enum/ThirdPartyType.js +12 -0
- package/js/types/Enum/ThirdPartyType.js.map +1 -0
- package/js/types/Interface/api/incomeStatement/QueryIncomeStatement.js +37 -0
- package/js/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -0
- package/js/types/Interface/api/{generalLedger/IGeneralLedgerAccountFormattedForPdf.js → incomeStatement/ReadIncomeStatement.js} +1 -1
- package/js/types/Interface/api/{generalLedger/IGeneralLedgerAccountFormattedForPdf.js.map → incomeStatement/ReadIncomeStatement.js.map} +1 -1
- package/js/types/Interface/models/IApiError.js +3 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/ISuggestion.js +6 -0
- package/js/types/Interface/models/ISuggestion.js.map +1 -0
- package/js/types/index.js +60 -12
- package/js/types/index.js.map +1 -1
- package/package.json +12 -12
- package/ts/api/resources/GeneralLedger.ts +9 -0
- package/ts/api/resources/Immobilization.ts +6 -1
- package/ts/api/resources/IncomeStatement.ts +14 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/IncomeStatement.ts +328 -0
- package/ts/types/Enum/ThirdPartyType.ts +4 -0
- package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +17 -0
- package/ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts +6 -0
- package/ts/types/Interface/models/IAccountingEntry.ts +2 -0
- package/ts/types/Interface/models/IApiError.ts +3 -0
- package/ts/types/Interface/models/ISuggestion.ts +17 -0
- package/ts/types/index.ts +5 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.d.ts +0 -16
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.d.ts.map +0 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.js +0 -2
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.js.map +0 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.ts +0 -16
|
@@ -3,6 +3,7 @@ import { IThirdParty } from './IThirdParty';
|
|
|
3
3
|
import { IAccountingTransaction } from './IAccountingTransaction';
|
|
4
4
|
import { IVat } from './IVat';
|
|
5
5
|
import { IImmobilization } from './IImmobilization';
|
|
6
|
+
import { ISuggestion } from './ISuggestion';
|
|
6
7
|
|
|
7
8
|
// accountingEntries
|
|
8
9
|
export interface IAccountingEntry {
|
|
@@ -32,4 +33,5 @@ export interface IAccountingEntry {
|
|
|
32
33
|
accountingTransaction?: IAccountingTransaction;
|
|
33
34
|
vat?: IVat;
|
|
34
35
|
immobilization?: IImmobilization;
|
|
36
|
+
suggestions?: ISuggestion[];
|
|
35
37
|
}
|
|
@@ -49,6 +49,9 @@ export enum Code {
|
|
|
49
49
|
// BankAccount
|
|
50
50
|
missingParamAccountNumber = 'missing_param_account_number',
|
|
51
51
|
accountNumberParamNotFound = 'account_number_param_not_found',
|
|
52
|
+
|
|
53
|
+
// Income statement
|
|
54
|
+
invalidIncomeStatementList = 'invalid_income_statement_list',
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
export interface IApiError {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IAccountingEntry } from './IAccountingEntry';
|
|
2
|
+
import { IAccount } from './IAccount';
|
|
3
|
+
|
|
4
|
+
export interface ISuggestion {
|
|
5
|
+
id: number;
|
|
6
|
+
accountNumber: string;
|
|
7
|
+
score: number;
|
|
8
|
+
|
|
9
|
+
idAccount?: number;
|
|
10
|
+
account?: IAccount;
|
|
11
|
+
|
|
12
|
+
idAccountingEntry?: number;
|
|
13
|
+
accountingEntry?: IAccountingEntry;
|
|
14
|
+
|
|
15
|
+
createdAt?: Date | null;
|
|
16
|
+
updatedAt?: Date | null;
|
|
17
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -268,11 +268,11 @@ export * from './Interface/models/IWebMailType';
|
|
|
268
268
|
export * from './Interface/models/IWebMailSpamType';
|
|
269
269
|
export * from './Interface/models/IWorkingSchedule';
|
|
270
270
|
export * from './Interface/models/IField';
|
|
271
|
+
export * from './Interface/models/ISuggestion';
|
|
271
272
|
export * from './Interface/api/BasePaginate';
|
|
272
273
|
export * from './Interface/api/BaseRequest';
|
|
273
274
|
export * from './Interface/api/generalLedger/IGeneralLedgerAccount';
|
|
274
275
|
export * from './Interface/api/generalLedger/IGeneralLedgerAccountingEntry';
|
|
275
|
-
export * from './Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf';
|
|
276
276
|
|
|
277
277
|
// Forms
|
|
278
278
|
export * from './Form/FormAuthenticate';
|
|
@@ -297,6 +297,8 @@ export * from './Enum/Nature';
|
|
|
297
297
|
export * from './Enum/SurveyType';
|
|
298
298
|
export * from './Enum/SurveyTypeDatas';
|
|
299
299
|
export * from './Enum/PartnerType';
|
|
300
|
+
export * from './Enum/ThirdPartyType';
|
|
301
|
+
export * from './Enum/IncomeStatement';
|
|
300
302
|
|
|
301
303
|
// Interfaces API
|
|
302
304
|
export * from './Interface/api/businessPartner/ReadBusinessPartner';
|
|
@@ -323,3 +325,5 @@ export * from './Interface/api/mailInvoice/CreateInvoiceMail';
|
|
|
323
325
|
export * from './Interface/api/mailInvoice/UpdateInvoiceMail';
|
|
324
326
|
export * from './Interface/api/partner/CreatePartner';
|
|
325
327
|
export * from './Interface/api/generalLedger/QueryGeneralLedger';
|
|
328
|
+
export * from './Interface/api/incomeStatement/QueryIncomeStatement';
|
|
329
|
+
export * from './Interface/api/incomeStatement/ReadIncomeStatement';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';
|
|
2
|
-
export interface IGeneralLedgerAccountFormattedForPdf {
|
|
3
|
-
number: number;
|
|
4
|
-
name: string;
|
|
5
|
-
totalCredit: string;
|
|
6
|
-
totalDebit: string;
|
|
7
|
-
totalSolde: string;
|
|
8
|
-
entries: IGeneralLedgerAccountingEntryFormattedForPdf[];
|
|
9
|
-
}
|
|
10
|
-
declare type IGeneralLedgerAccountingEntryFormattedForPdf = Pick<IGeneralLedgerAccountingEntry, 'designation' | 'invoiceNumber' | 'journal' | 'dateValue'> & {
|
|
11
|
-
credit: string;
|
|
12
|
-
debit: string;
|
|
13
|
-
intermediateSolde: string;
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=IGeneralLedgerAccountFormattedForPdf.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IGeneralLedgerAccountFormattedForPdf.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAEhF,MAAM,WAAW,oCAAoC;IACnD,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,4CAA4C,EAAE,CAAA;CACxD;AAED,aAAK,4CAA4C,GAAG,IAAI,CAAC,6BAA6B,EAAE,aAAa,GAAG,eAAe,GAAE,SAAS,GAAG,WAAW,CAAE,GAAG;IACnJ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAA;CAC1B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IGeneralLedgerAccountFormattedForPdf.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerAccountFormattedForPdf.ts"],"names":[],"mappings":"","sourcesContent":["import { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\n\nexport interface IGeneralLedgerAccountFormattedForPdf {\n number: number\n name: string,\n totalCredit: string\n totalDebit: string\n totalSolde: string\n entries: IGeneralLedgerAccountingEntryFormattedForPdf[]\n}\n\ntype IGeneralLedgerAccountingEntryFormattedForPdf = Pick<IGeneralLedgerAccountingEntry, 'designation' | 'invoiceNumber' |'journal' | 'dateValue' > & {\n credit: string,\n debit: string,\n intermediateSolde: string\n};"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';
|
|
2
|
-
|
|
3
|
-
export interface IGeneralLedgerAccountFormattedForPdf {
|
|
4
|
-
number: number
|
|
5
|
-
name: string,
|
|
6
|
-
totalCredit: string
|
|
7
|
-
totalDebit: string
|
|
8
|
-
totalSolde: string
|
|
9
|
-
entries: IGeneralLedgerAccountingEntryFormattedForPdf[]
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
type IGeneralLedgerAccountingEntryFormattedForPdf = Pick<IGeneralLedgerAccountingEntry, 'designation' | 'invoiceNumber' |'journal' | 'dateValue' > & {
|
|
13
|
-
credit: string,
|
|
14
|
-
debit: string,
|
|
15
|
-
intermediateSolde: string
|
|
16
|
-
};
|