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.
@@ -4,6 +4,7 @@ export declare class SoleInvoiceCollection extends Collection<SoleInvoice> {
4
4
  getOverdue(): this;
5
5
  getUnpaid(): this;
6
6
  getPaid(): this;
7
+ getPaidCash(): this;
7
8
  getPending(): this;
8
9
  getTransactionsIds(): number[];
9
10
  }
@@ -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
  */
@@ -1,2 +1,5 @@
1
- import { BankAccountTypeEnum } from '../../db/Enums/bank/bank-account-type.enum';
1
+ import { BankAccountTypeEnum } from '../../db/Enums';
2
+ /**
3
+ * @TODO credit card has nothing to do with loan
4
+ */
2
5
  export declare const TYPE_LOAN: BankAccountTypeEnum[];
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.31.13",
3
+ "version": "0.31.15",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",