taxtank-core 2.1.62 → 2.1.64

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/index.d.ts CHANGED
@@ -3825,7 +3825,7 @@ declare class MoneyCalendarEventCollection extends CalendarEventCollection<Money
3825
3825
  get amount(): number;
3826
3826
  get expenses(): MoneyCalendarEventCollection;
3827
3827
  get incomes(): MoneyCalendarEventCollection;
3828
- filterByDate(dateFrom: Date, dateTo: Date): MoneyCalendarEventCollection;
3828
+ filterByDate(dateFrom?: Date, dateTo?: Date): MoneyCalendarEventCollection;
3829
3829
  getByMonth(index: number): MoneyCalendarEventCollection;
3830
3830
  getAmountsByDate(): DateAmountDictionary;
3831
3831
  }
@@ -4937,6 +4937,7 @@ declare class AllocationGroup extends AbstractModel {
4937
4937
  invoiceNumber?: number;
4938
4938
  allocations: TransactionAllocationCollection;
4939
4939
  bankTransactions: BankTransactionCollection;
4940
+ exchangeRate: number;
4940
4941
  static fromInvoice(invoice: SoleInvoice, bankTransactions: BankTransactionCollection, allocations: TransactionAllocationCollection): AllocationGroup;
4941
4942
  static fromTransaction(transaction: Transaction, bankTransactions: BankTransactionCollection, allocations: TransactionAllocationCollection): AllocationGroup;
4942
4943
  isFindMatch(): boolean;
@@ -4951,6 +4952,7 @@ declare class AllocationGroup extends AbstractModel {
4951
4952
  */
4952
4953
  isTransactionChangeable(): boolean;
4953
4954
  get isAutoAllocated(): boolean;
4955
+ get operationLabel(): string;
4954
4956
  }
4955
4957
 
4956
4958
  /**
@@ -11466,6 +11468,7 @@ declare class Collection<Model extends object> implements Iterable<Model> {
11466
11468
  indexBy(path?: string): Dictionary<Model>;
11467
11469
  filter(callback: (item: Model) => boolean): this;
11468
11470
  filterBy(path: string, values: any, skipIfEmpty?: boolean): this;
11471
+ filterByDay(date?: Date, path?: string): this;
11469
11472
  filterByRange(path: string, from: any, to: any): this;
11470
11473
  filterByFinancialYear(pathFrom: string, pathTo?: string, financialYear?: FinancialYear): this;
11471
11474
  find(callback: (item: Model) => boolean): Model | null;
@@ -11938,8 +11941,11 @@ declare class DocumentFolderCollection extends Collection<DocumentFolder> {
11938
11941
  toTreeNode(documents: Collection<Document>, expandedIds: Set<number>): TreeNode[];
11939
11942
  }
11940
11943
 
11941
- declare class AllocationGroupCollection extends Collection<AllocationGroup> {
11944
+ declare class AllocationGroupCollection extends ExportableCollection<AllocationGroup> {
11942
11945
  constructor(items: AllocationGroup[]);
11946
+ getExportHeader(): string[];
11947
+ getExportFooter(): ExportCell[];
11948
+ getExportBody(): ExportCell[][];
11943
11949
  }
11944
11950
 
11945
11951
  declare class BankTransactionImportCollection extends Collection<BankTransactionImport> implements FileImportedDataProvider {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "2.1.62",
3
+ "version": "2.1.64",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.1.3",