taxtank-core 1.0.36 → 1.0.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^19.0.2",
@@ -11,5 +11,8 @@ export declare enum YoutubeVideosEnum {
11
11
  SOLE_HOME_OFFICE = "fF8_kJHEKRE",
12
12
  WORK_DEPRECIATION = "gNa9M4xovuI",
13
13
  WORK_HOME_OFFICE = "qrQu4Yl72bU",
14
- BANK_FEEDS = "meQmpw7ZY7c"
14
+ BANK_FEEDS = "meQmpw7ZY7c",
15
+ BANK_ACCOUNT_TRANSACTION = "meQmpw7ZY7c",
16
+ BANK_ALLOCATION_RULE = "meQmpw7ZY7c",
17
+ ALLOCATE_TRANSACTION = "meQmpw7ZY7c"
15
18
  }
@@ -5,5 +5,4 @@ export * from './sole/sole-income.form';
5
5
  export * from './work/work-income.form';
6
6
  export * from './work/work-expense.form';
7
7
  export * from './holding/holding-income.form';
8
- export * from './holding/holding-expense.form';
9
8
  export * from './transaction-base-filter.form';
@@ -24,12 +24,13 @@ export declare enum AccountSetupItemsEnum {
24
24
  SOLE_HOME_OFFICE = 21,
25
25
  SOLE_DEPRECIATION = 22,
26
26
  SOLE_BANK_ACCOUNT = 23,
27
- SOLE_LOGO = 24,
27
+ SOLE_LOGO = 16,
28
28
  HOLDING_TRADE = 8,
29
29
  HOLDING_INTEGRATION = 25,
30
30
  HOLDING_REPORTS = 36,
31
31
  BANK_CONNECTION = 4,
32
32
  BANK_ACCOUNT = 26,
33
+ BANK_TRANSACTION = 24,
33
34
  BANK_ALLOCATION = 6,
34
35
  BANK_RULE = 27,
35
36
  BANK_BORROWING_EXPENSE = 28
@@ -11,8 +11,8 @@ export declare class ChartAccounts extends ChartAccountsBase {
11
11
  static GSTRatio: number;
12
12
  static GSTCoefficient: number;
13
13
  static GSTPercent: number;
14
- static systemList: (BusinessChartAccountsEnum | ChartAccountsListEnum)[];
15
- static homeOfficeList: (BusinessChartAccountsEnum | ChartAccountsListEnum)[];
14
+ static systemList: (ChartAccountsListEnum | BusinessChartAccountsEnum)[];
15
+ static homeOfficeList: (ChartAccountsListEnum | BusinessChartAccountsEnum)[];
16
16
  heading: ChartAccountsHeading;
17
17
  metaFields: ChartAccountsMetaField[];
18
18
  values: ChartAccountsValue[];
@@ -1,5 +1,5 @@
1
- import { Property, SoleBusiness, User } from '../../models';
2
- import { AllocationRuleService, BankAccountService, BankConnectionService, ClientInviteService, ClientMovementService, DepreciationService, EmployeeInviteService, EmployeeService, FirmService, HoldingTradeService, HomeOfficeClaimService, IncomeSourceService, LoanService, PropertyService, PropertyShareService, SharesightDetailsService, SoleBusinessService, TransactionAllocationService, TransactionService, UserService, VehicleClaimService } from '../http';
1
+ import { BankAccount, Property, SoleBusiness, User } from '../../models';
2
+ import { AllocationRuleService, BankAccountService, BankConnectionService, BankTransactionService, ClientInviteService, ClientMovementService, DepreciationService, EmployeeInviteService, EmployeeService, FirmService, HoldingTradeService, HomeOfficeClaimService, IncomeSourceService, LoanService, PropertyService, PropertyShareService, SharesightDetailsService, SoleBusinessService, TransactionAllocationService, TransactionService, UserService, VehicleClaimService } from '../http';
3
3
  import { AccountSetupItemCollection } from '../../collections';
4
4
  import { Observable } from 'rxjs';
5
5
  import { SetupItemService } from '../http/setup-item/setup-item.service';
@@ -14,6 +14,7 @@ export declare class AccountSetupService {
14
14
  private incomeSourceService;
15
15
  private bankConnectionService;
16
16
  private bankAccountsService;
17
+ private bankTransactionService;
17
18
  private loanService;
18
19
  private allocationRuleService;
19
20
  private transactionAllocationService;
@@ -33,16 +34,17 @@ export declare class AccountSetupService {
33
34
  private propertyShareService;
34
35
  items: AccountSetupItemCollection;
35
36
  user: User;
36
- constructor(setupItemService: SetupItemService, propertyService: PropertyService, incomeSourceService: IncomeSourceService, bankConnectionService: BankConnectionService, bankAccountsService: BankAccountService, loanService: LoanService, allocationRuleService: AllocationRuleService, transactionAllocationService: TransactionAllocationService, vehicleClaimService: VehicleClaimService, homeOfficeClaimService: HomeOfficeClaimService, transactionService: TransactionService, depreciationService: DepreciationService, businessService: SoleBusinessService, holdingService: HoldingTradeService, userService: UserService, clientMovementService: ClientMovementService, clientInviteService: ClientInviteService, employeeService: EmployeeService, employeeInviteService: EmployeeInviteService, firmService: FirmService, sharesightDetailsService: SharesightDetailsService, propertyShareService: PropertyShareService);
37
+ constructor(setupItemService: SetupItemService, propertyService: PropertyService, incomeSourceService: IncomeSourceService, bankConnectionService: BankConnectionService, bankAccountsService: BankAccountService, bankTransactionService: BankTransactionService, loanService: LoanService, allocationRuleService: AllocationRuleService, transactionAllocationService: TransactionAllocationService, vehicleClaimService: VehicleClaimService, homeOfficeClaimService: HomeOfficeClaimService, transactionService: TransactionService, depreciationService: DepreciationService, businessService: SoleBusinessService, holdingService: HoldingTradeService, userService: UserService, clientMovementService: ClientMovementService, clientInviteService: ClientInviteService, employeeService: EmployeeService, employeeInviteService: EmployeeInviteService, firmService: FirmService, sharesightDetailsService: SharesightDetailsService, propertyShareService: PropertyShareService);
37
38
  /**
38
39
  * Get list of account setup items for current user/firm
39
40
  */
40
- get(property?: Property, business?: SoleBusiness): Observable<AccountSetupItemCollection>;
41
- setItemsStatus(property?: Property, business?: SoleBusiness): Observable<AccountSetupItemCollection>;
41
+ get(property?: Property, business?: SoleBusiness, bankAccount?: BankAccount): Observable<AccountSetupItemCollection>;
42
+ setItemsStatus(property?: Property, business?: SoleBusiness, bankAccount?: BankAccount): Observable<AccountSetupItemCollection>;
42
43
  /**
43
44
  * Check and update isCompleted flag for passed item
44
45
  */
45
46
  private setItemStatus;
47
+ private getAllocations;
46
48
  private getTransactions;
47
49
  private getCoOwners;
48
50
  /**
@@ -67,7 +69,6 @@ export declare class AccountSetupService {
67
69
  private getBankAccounts;
68
70
  private getDepreciations;
69
71
  private getSharesightDetails;
70
- private getBorrowingExpenses;
71
72
  static ɵfac: i0.ɵɵFactoryDeclaration<AccountSetupService, never>;
72
73
  static ɵprov: i0.ɵɵInjectableDeclaration<AccountSetupService>;
73
74
  }
@@ -1,9 +0,0 @@
1
- import { HomeOfficeClaim, Transaction, TransactionAllocation } from '../../../models';
2
- import { AbstractControl } from '@angular/forms';
3
- import { IEventListener } from '../../../interfaces';
4
- import { WorkTransactionForm } from '../work/work-transaction.form';
5
- export declare class HoldingExpenseForm extends WorkTransactionForm implements IEventListener {
6
- constructor(transaction: Transaction, registeredForGst: boolean, allocations: TransactionAllocation[], homeOfficeClaim: HomeOfficeClaim, controls?: {
7
- [key: string]: AbstractControl;
8
- });
9
- }