taxtank-core 0.31.13 → 0.31.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/collections/bank-account.collection.mjs +3 -2
- package/esm2020/lib/collections/loan/loan.collection.mjs +1 -1
- package/esm2020/lib/collections/sole/sole-invoice.collection.mjs +4 -1
- package/esm2020/lib/collections/transaction/transaction.collection.mjs +7 -2
- package/esm2020/lib/models/bank/bank-account.mjs +3 -3
- package/esm2020/lib/models/bank/type-loan.const.mjs +5 -2
- package/esm2020/lib/services/http/chat/chat.service.mjs +7 -1
- package/fesm2015/taxtank-core.mjs +20 -3
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +20 -3
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/collections/sole/sole-invoice.collection.d.ts +1 -0
- package/lib/collections/transaction/transaction.collection.d.ts +2 -1
- package/lib/models/bank/type-loan.const.d.ts +4 -1
- package/lib/services/http/chat/chat.service.d.ts +4 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { ExportCell } from '../../models/export/export-cell';
|
|
|
7
7
|
import { Collection } from '../collection';
|
|
8
8
|
import { ChartData } from '../../models/chart/chart-data';
|
|
9
9
|
import { Depreciation } from '../../models/depreciation/depreciation';
|
|
10
|
+
import { SoleInvoiceCollection } from '../sole';
|
|
10
11
|
/**
|
|
11
12
|
* Collection of transactions
|
|
12
13
|
*/
|
|
@@ -64,7 +65,7 @@ export declare class TransactionCollection extends ExportableCollection<Transact
|
|
|
64
65
|
getDebitTransactions(): TransactionCollection;
|
|
65
66
|
getCreditTransactions(): TransactionCollection;
|
|
66
67
|
getByAllocations(allocations: TransactionAllocationCollection): TransactionCollection;
|
|
67
|
-
setAllocatedClaimAmount(allocations: TransactionAllocationCollection): this;
|
|
68
|
+
setAllocatedClaimAmount(allocations: TransactionAllocationCollection, invoices: SoleInvoiceCollection): this;
|
|
68
69
|
/**
|
|
69
70
|
* Get transactions related to Vehicle category
|
|
70
71
|
*/
|
|
@@ -20,6 +20,10 @@ export declare class ChatService extends RestService<ChatBase, Chat, ChatCollect
|
|
|
20
20
|
isApiPlatform: boolean;
|
|
21
21
|
disabledMethods: RestMethod[];
|
|
22
22
|
constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any, sseService: SseService);
|
|
23
|
+
/**
|
|
24
|
+
* We don't need chats with taxtank employees
|
|
25
|
+
*/
|
|
26
|
+
setCache(data: any[], next?: boolean): void;
|
|
23
27
|
/**
|
|
24
28
|
* Listen chats events
|
|
25
29
|
*/
|