taxtank-core 0.33.58 → 0.33.59

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.58",
3
+ "version": "0.33.59",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -1,7 +1,6 @@
1
- import { BankAccount } from '../../../models/bank/bank-account';
2
- import { BankConnection } from '../../../models/bank/bank-connection';
1
+ import { BankAccount, BankConnection } from '../../../models';
3
2
  import { BankAccountAllocationForm } from './bank-account-allocation.form';
4
- import { IEventListener } from '../../../interfaces/event-listener.interface';
3
+ import { IEventListener } from '../../../interfaces';
5
4
  /**
6
5
  * Form is using for single manual bank account creation (not Basiq)
7
6
  */
@@ -1,5 +1,4 @@
1
1
  import { BankAccount as BankAccountBase } from '../../db/Models/bank/bank-account';
2
- import { BankAccountTypeEnum } from '../../db/Enums';
3
2
  import { Loan } from '../loan';
4
3
  import { BankAccountBalance } from '../../db/Models';
5
4
  import { BankAccountProperty } from './bank-account-property';
@@ -12,7 +11,6 @@ export declare class BankAccount extends BankAccountBase {
12
11
  balances: BankAccountBalance[];
13
12
  loan: Loan;
14
13
  bankConnection: BankConnection;
15
- type: BankAccountTypeEnum;
16
14
  get bank(): Bank;
17
15
  get bsb(): string;
18
16
  get number(): string;
@@ -4,7 +4,6 @@ export * from './bank';
4
4
  export * from './bank-account';
5
5
  export * from './bank-account-chart-data';
6
6
  export * from './bank-account-property';
7
- export * from './bank-account-types.const';
8
7
  export * from './bank-connection';
9
8
  export * from './bank-external-stats';
10
9
  export * from './bank-transaction';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @TODO refactor with Map
2
+ * @TODO refactor with Map or Record
3
3
  * List of objects grouped by passed property
4
4
  */
5
5
  export declare class Dictionary<Model> {
@@ -0,0 +1,3 @@
1
+ export declare enum CorelogicMessagesEnum {
2
+ SERVICE_UNAVAILABLE = "Corelogic service is temporary unavailable, please try again in a few minutes."
3
+ }
@@ -1,13 +1,15 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable, ReplaySubject } from 'rxjs';
3
3
  import { CorelogicSuggestion } from '../../../models';
4
+ import { ToastService } from '../../toast';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CorelogicService {
6
7
  private http;
8
+ private toastService;
7
9
  private environment;
8
10
  _accessToken: string;
9
11
  accessTokenSubject: ReplaySubject<string>;
10
- constructor(http: HttpClient, environment: any);
12
+ constructor(http: HttpClient, toastService: ToastService, environment: any);
11
13
  getAccessToken(force?: boolean): Observable<string>;
12
14
  getSuggestions(query: string, country?: string): Observable<CorelogicSuggestion[]>;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<CorelogicService, never>;
@@ -1 +1,2 @@
1
1
  export * from './corelogic.service';
2
+ export * from './corelogic-messages.enum';
@@ -1,14 +0,0 @@
1
- import { BankAccountTypeEnum } from '../../db/Enums/bank/bank-account-type.enum';
2
- /**
3
- * Const which contains array of bank account types
4
- */
5
- export const BANK_ACCOUNT_TYPES = [
6
- { key: BankAccountTypeEnum.CREDIT_CARD, value: 'Credit Card Accounts' },
7
- { key: BankAccountTypeEnum.TERM_DEPOSIT, value: 'Deposit Accounts' },
8
- { key: BankAccountTypeEnum.INVESTMENT, value: 'Investment Accounts' },
9
- { key: BankAccountTypeEnum.LOAN, value: 'Loan Accounts' },
10
- { key: BankAccountTypeEnum.OFFSET, value: 'Offset' },
11
- { key: BankAccountTypeEnum.SAVINGS, value: 'Savings Accounts' },
12
- { key: BankAccountTypeEnum.TRANSACTION, value: 'Transaction Accounts' },
13
- ];
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay1hY2NvdW50LXR5cGVzLmNvbnN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9iYW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BQ0NPVU5UX1RZUEVTOiB7a2V5OiBudW1iZXIsIHZhbHVlOiBzdHJpbmd9W10gPSBbXG4gIHtrZXk6IEJhbmtBY2NvdW50VHlwZUVudW0uQ1JFRElUX0NBUkQsIHZhbHVlOiAnQ3JlZGl0IENhcmQgQWNjb3VudHMnfSxcbiAge2tleTogQmFua0FjY291bnRUeXBlRW51bS5URVJNX0RFUE9TSVQsIHZhbHVlOiAnRGVwb3NpdCBBY2NvdW50cyd9LFxuICB7a2V5OiBCYW5rQWNjb3VudFR5cGVFbnVtLklOVkVTVE1FTlQsIHZhbHVlOiAnSW52ZXN0bWVudCBBY2NvdW50cyd9LFxuICB7a2V5OiBCYW5rQWNjb3VudFR5cGVFbnVtLkxPQU4sIHZhbHVlOiAnTG9hbiBBY2NvdW50cyd9LFxuICB7a2V5OiBCYW5rQWNjb3VudFR5cGVFbnVtLk9GRlNFVCwgdmFsdWU6ICdPZmZzZXQnfSxcbiAge2tleTogQmFua0FjY291bnRUeXBlRW51bS5TQVZJTkdTLCB2YWx1ZTogJ1NhdmluZ3MgQWNjb3VudHMnfSxcbiAge2tleTogQmFua0FjY291bnRUeXBlRW51bS5UUkFOU0FDVElPTiwgdmFsdWU6ICdUcmFuc2FjdGlvbiBBY2NvdW50cyd9LFxuXTtcbiJdfQ==
@@ -1,7 +0,0 @@
1
- /**
2
- * Const which contains array of bank account types
3
- */
4
- export declare const BANK_ACCOUNT_TYPES: {
5
- key: number;
6
- value: string;
7
- }[];