taxtank-core 0.30.77 → 0.30.78

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.
Files changed (144) hide show
  1. package/esm2020/lib/db/Models/bank/bank.mjs +1 -1
  2. package/esm2020/lib/db/Models/bank/basiq-job-step.enum.mjs +7 -0
  3. package/esm2020/lib/db/Models/bank/basiq-job.mjs +1 -1
  4. package/esm2020/lib/forms/index.mjs +1 -2
  5. package/esm2020/lib/interceptors/basiq-client-id.interceptor.mjs +3 -3
  6. package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +3 -3
  7. package/esm2020/lib/interceptors/corelogic-interceptor.mjs +3 -3
  8. package/esm2020/lib/interceptors/financial-year-interceptor.mjs +3 -3
  9. package/esm2020/lib/interceptors/interceptors.module.mjs +4 -4
  10. package/esm2020/lib/interceptors/jwt-interceptor.mjs +3 -3
  11. package/esm2020/lib/interceptors/preloader.interceptor.mjs +3 -3
  12. package/esm2020/lib/interceptors/user-switcher-interceptor.mjs +3 -3
  13. package/esm2020/lib/models/bank/bank-connection.mjs +8 -16
  14. package/esm2020/lib/models/bank/bank-external-stats.mjs +2 -1
  15. package/esm2020/lib/models/bank/index.mjs +1 -2
  16. package/esm2020/lib/services/account-setup/account-setup.service.mjs +3 -3
  17. package/esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs +3 -3
  18. package/esm2020/lib/services/asset/assets.service.mjs +3 -3
  19. package/esm2020/lib/services/auth/auth.service.mjs +3 -3
  20. package/esm2020/lib/services/auth/jwt.service.mjs +3 -3
  21. package/esm2020/lib/services/bank/bank-account-calculation.service.mjs +3 -3
  22. package/esm2020/lib/services/bank/bank-transaction-calculation.service.mjs +3 -3
  23. package/esm2020/lib/services/data.service.mjs +3 -3
  24. package/esm2020/lib/services/event/event-dispatcher.service.mjs +3 -3
  25. package/esm2020/lib/services/event/sse.service.mjs +3 -3
  26. package/esm2020/lib/services/export/export-formatter.service.mjs +3 -3
  27. package/esm2020/lib/services/header-title/header-title.service.mjs +3 -3
  28. package/esm2020/lib/services/http/address/address.service.mjs +3 -3
  29. package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +3 -3
  30. package/esm2020/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +6 -1
  31. package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +17 -6
  32. package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +3 -3
  33. package/esm2020/lib/services/http/bank/bank.service.mjs +4 -13
  34. package/esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs +4 -4
  35. package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +3 -3
  36. package/esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +3 -3
  37. package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +3 -3
  38. package/esm2020/lib/services/http/chat/chat.service.mjs +3 -3
  39. package/esm2020/lib/services/http/chat/message-document.service.mjs +3 -3
  40. package/esm2020/lib/services/http/chat/message.service.mjs +3 -3
  41. package/esm2020/lib/services/http/client/capital-gain/annual-client-details.service.mjs +3 -3
  42. package/esm2020/lib/services/http/client/occupation/occupation.service.mjs +3 -3
  43. package/esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +3 -3
  44. package/esm2020/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.mjs +3 -3
  45. package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +3 -3
  46. package/esm2020/lib/services/http/document/document-folder/document-folder.service.mjs +3 -3
  47. package/esm2020/lib/services/http/document/document.service.mjs +3 -3
  48. package/esm2020/lib/services/http/facebook/facebook.service.mjs +3 -3
  49. package/esm2020/lib/services/http/file/file.service.mjs +3 -3
  50. package/esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs +3 -3
  51. package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +3 -3
  52. package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +3 -3
  53. package/esm2020/lib/services/http/firm/employee/employee.service.mjs +3 -3
  54. package/esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs +3 -3
  55. package/esm2020/lib/services/http/firm/firm.service.mjs +3 -3
  56. package/esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +3 -3
  57. package/esm2020/lib/services/http/google/google.service.mjs +3 -3
  58. package/esm2020/lib/services/http/holding/holding-sale.service.mjs +3 -3
  59. package/esm2020/lib/services/http/holding/holding-type.service.mjs +3 -3
  60. package/esm2020/lib/services/http/holding/holding.service.mjs +3 -3
  61. package/esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +3 -3
  62. package/esm2020/lib/services/http/income-source/income-source.service.mjs +3 -3
  63. package/esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +3 -3
  64. package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +3 -3
  65. package/esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +3 -3
  66. package/esm2020/lib/services/http/loan/loan.service.mjs +3 -3
  67. package/esm2020/lib/services/http/property/property-category/property-category.service.mjs +3 -3
  68. package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +3 -3
  69. package/esm2020/lib/services/http/property/property-document/property-document.service.mjs +3 -3
  70. package/esm2020/lib/services/http/property/property-sale/property-sale.service.mjs +3 -3
  71. package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +3 -3
  72. package/esm2020/lib/services/http/property/property.service.mjs +3 -3
  73. package/esm2020/lib/services/http/receipt/receipt.service.mjs +3 -3
  74. package/esm2020/lib/services/http/rest/rest-old.service.mjs +3 -3
  75. package/esm2020/lib/services/http/rest/rest.service.mjs +3 -3
  76. package/esm2020/lib/services/http/service-notification/service-notification.service.mjs +3 -3
  77. package/esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs +3 -3
  78. package/esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs +3 -3
  79. package/esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +3 -3
  80. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +3 -3
  81. package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +3 -3
  82. package/esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs +3 -3
  83. package/esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +3 -3
  84. package/esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs +3 -3
  85. package/esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +3 -3
  86. package/esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +3 -3
  87. package/esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs +3 -3
  88. package/esm2020/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +3 -3
  89. package/esm2020/lib/services/http/subscription/service-price/service-price.service.mjs +3 -3
  90. package/esm2020/lib/services/http/subscription/service-product/service-product.service.mjs +3 -3
  91. package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +3 -3
  92. package/esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +3 -3
  93. package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +3 -3
  94. package/esm2020/lib/services/http/tax-summary/tax-summary.service.mjs +3 -3
  95. package/esm2020/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +3 -3
  96. package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +3 -3
  97. package/esm2020/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.mjs +3 -3
  98. package/esm2020/lib/services/http/transaction/transaction.service.mjs +3 -3
  99. package/esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs +3 -3
  100. package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +3 -3
  101. package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +3 -3
  102. package/esm2020/lib/services/http/user/user.service.mjs +3 -3
  103. package/esm2020/lib/services/http/user/users-invite/users-invite.service.mjs +3 -3
  104. package/esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs +3 -3
  105. package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +3 -3
  106. package/esm2020/lib/services/http/vehicle/vehicle-logbook.service.mjs +3 -3
  107. package/esm2020/lib/services/http/vehicle/vehicle.service.mjs +3 -3
  108. package/esm2020/lib/services/intercom/intercom.service.mjs +3 -3
  109. package/esm2020/lib/services/json/holding/holding-type-exchange.service.mjs +3 -3
  110. package/esm2020/lib/services/json/income-source/income-source-type.service.mjs +3 -3
  111. package/esm2020/lib/services/json/tax-exemption/tax-exemption.service.mjs +3 -3
  112. package/esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +3 -3
  113. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +3 -3
  114. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
  115. package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +3 -3
  116. package/esm2020/lib/services/preloader/preloader.service.mjs +3 -3
  117. package/esm2020/lib/services/property/corelogic/corelogic.service.mjs +3 -3
  118. package/esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +3 -3
  119. package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +3 -3
  120. package/esm2020/lib/services/report/property/property-transaction-report.service.mjs +3 -3
  121. package/esm2020/lib/services/toast/toast.service.mjs +3 -3
  122. package/esm2020/lib/services/transaction/transaction-calculation.service.mjs +3 -3
  123. package/esm2020/lib/services/user/user-switcher.service.mjs +3 -3
  124. package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +3 -3
  125. package/esm2020/lib/services/xlsx/xlsx.service.mjs +3 -3
  126. package/esm2020/lib/tt-core.module.mjs +4 -4
  127. package/fesm2015/taxtank-core.mjs +8494 -8506
  128. package/fesm2015/taxtank-core.mjs.map +1 -1
  129. package/fesm2020/taxtank-core.mjs +8487 -8501
  130. package/fesm2020/taxtank-core.mjs.map +1 -1
  131. package/lib/db/Models/bank/bank.d.ts +0 -1
  132. package/lib/db/Models/bank/basiq-job-step.enum.d.ts +5 -0
  133. package/lib/db/Models/bank/basiq-job.d.ts +2 -0
  134. package/lib/forms/index.d.ts +0 -1
  135. package/lib/models/bank/bank-connection.d.ts +3 -3
  136. package/lib/models/bank/bank-external-stats.d.ts +1 -0
  137. package/lib/models/bank/index.d.ts +0 -1
  138. package/lib/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts +6 -1
  139. package/lib/services/http/bank/bank.service.d.ts +0 -2
  140. package/package.json +1 -1
  141. package/esm2020/lib/forms/bank/bank-login.form.mjs +0 -19
  142. package/esm2020/lib/models/bank/bank-login-data.mjs +0 -6
  143. package/lib/forms/bank/bank-login.form.d.ts +0 -11
  144. package/lib/models/bank/bank-login-data.d.ts +0 -21
@@ -6,7 +6,6 @@ export declare class Bank extends AbstractModel {
6
6
  shortName?: string;
7
7
  externalId?: string;
8
8
  externalStats?: object;
9
- loginFields?: unknown;
10
9
  logo?: string;
11
10
  deletedAt?: Date;
12
11
  createdAt?: Date;
@@ -0,0 +1,5 @@
1
+ export declare enum BasiqJobStepEnum {
2
+ VERIFY_CREDENTIALS = 1,
3
+ RETRIEVE_ACCOUNTS = 2,
4
+ RETRIEVE_TRANSACTIONS = 3
5
+ }
@@ -1,9 +1,11 @@
1
1
  import { BankConnection } from './bank-connection';
2
2
  import { AbstractModel } from '../abstract-model';
3
+ import { BasiqJobStepEnum } from './basiq-job-step.enum';
3
4
  export declare class BasiqJob extends AbstractModel {
4
5
  id?: number;
5
6
  externalId?: string;
6
7
  createdAt?: Date;
7
8
  updatedAt?: Date;
8
9
  bankConnection?: BankConnection;
10
+ step: BasiqJobStepEnum;
9
11
  }
@@ -6,7 +6,6 @@ export * from './bank/bank-account/bank-account-import.form';
6
6
  export * from './bank/bank-account/bank-account-add-manual.form';
7
7
  export * from './bank/bank-account/bank-account-properties.form';
8
8
  export * from './bank/bank-account/bank-accounts-import.form';
9
- export * from './bank/bank-login.form';
10
9
  export * from './client';
11
10
  export * from './login/login.form';
12
11
  export * from './phone';
@@ -1,12 +1,11 @@
1
1
  import { BankConnection as BankConnectionBase } from '../../db/Models/bank/bank-connection';
2
2
  import { BasiqJob } from './basiq';
3
3
  import { Bank } from './bank';
4
- import { BankConnectionMessagesEnum } from '../../services';
5
4
  export declare class BankConnection extends BankConnectionBase {
6
5
  basiqJob: BasiqJob;
7
6
  bank: Bank;
8
7
  lastSuccessImportDate: Date;
9
- isReconnectRequired(): boolean;
8
+ isDisconnected(): boolean;
10
9
  isPending(): boolean;
11
10
  isActive(): boolean;
12
11
  isInactive(): boolean;
@@ -15,5 +14,6 @@ export declare class BankConnection extends BankConnectionBase {
15
14
  isBasiq(): boolean;
16
15
  isBasiqAvailable(): boolean;
17
16
  isOpenBankingAvailable(): boolean;
18
- get actionRequired(): BankConnectionMessagesEnum;
17
+ isLoginSuccess(): boolean;
18
+ isAccountsRetrieved(): boolean;
19
19
  }
@@ -1,4 +1,5 @@
1
1
  /**
2
+ * @TODO not used for now
2
3
  * Bank subclass, average bank response time for some operations in milliseconds
3
4
  * Used for basiq banks functionality to improve bank login UI/UX (loading progress)
4
5
  */
@@ -7,7 +7,6 @@ export * from './bank-account-property';
7
7
  export * from './bank-account-types.const';
8
8
  export * from './bank-connection';
9
9
  export * from './bank-external-stats';
10
- export * from './bank-login-data';
11
10
  export * from './bank-transaction';
12
11
  export * from './bank-transaction-chart-data';
13
12
  export * from './bank-transaction-summary-fields.enum';
@@ -11,5 +11,10 @@ export declare enum BankConnectionMessagesEnum {
11
11
  CONFIRM_AUTOMATE = "When you upgrade we will deactivate your manual bank and create a new bank in TaxTank with live transactions delivered daily. Manual banks can still be viewed at any time",
12
12
  MANAGE = "Select more banks to share with TaxTank",
13
13
  CONFIRM_MANAGE = "Reconnect your bank to select more accounts to share with TaxTank",
14
- PENDING = "We are organising banks and accounts, we will let you know when you are good to go"
14
+ PENDING = "We are organising banks and accounts, we will let you know when you are good to go",
15
+ INVALID_CREDENTIALS = "Invalid credentials",
16
+ WRONG_LOGIN_DATA = "Please enter the login you used before",
17
+ LOGIN_SUCCESS = "Login success, importing financial data",
18
+ ACCOUNTS_RETRIEVED = "Financial data received, you can add bank accounts now",
19
+ JOB_ID_RECEIVED = "Receiving information from bank"
15
20
  }
@@ -1,7 +1,6 @@
1
1
  import { Bank as BankBase } from '../../../db/Models';
2
2
  import { Bank } from '../../../models';
3
3
  import { RestMethod, RestService } from '../rest';
4
- import { Observable } from 'rxjs';
5
4
  import { Collection } from '../../../collections';
6
5
  import * as i0 from "@angular/core";
7
6
  /**
@@ -13,7 +12,6 @@ export declare class BankService extends RestService<BankBase, Bank, Collection<
13
12
  endpointUri: string;
14
13
  isApiPlatform: boolean;
15
14
  disabledMethods: RestMethod[];
16
- get(): Observable<Collection<Bank>>;
17
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BankService, never>;
18
16
  static ɵprov: i0.ɵɵInjectableDeclaration<BankService>;
19
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.30.77",
3
+ "version": "0.30.78",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",
@@ -1,19 +0,0 @@
1
- import { AbstractForm } from '../abstract.form';
2
- import { UntypedFormControl, Validators } from '@angular/forms';
3
- import { BankLoginData } from '../../models/bank/bank-login-data';
4
- import { plainToClass } from 'class-transformer';
5
- /**
6
- * Form with basiq bank login fields.
7
- * https://api.basiq.io/v2.0/docs/build-your-own-1#step-3-create-a-connection
8
- */
9
- export class BankLoginForm extends AbstractForm {
10
- constructor(connection) {
11
- super({}, plainToClass(BankLoginData, { institution: { id: connection.bank.externalId } }));
12
- this.connection = connection;
13
- // Each Basiq banks has its own set of login fields, so we need to add these controls dynamically depended on the bank
14
- Object.keys(connection.bank.loginFields).forEach((key) => {
15
- this.addControl(key, new UntypedFormControl(null, Validators.required));
16
- });
17
- }
18
- }
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay1sb2dpbi5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL2JhbmsvYmFuay1sb2dpbi5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUVoRCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDaEUsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQ2xFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUVqRDs7O0dBR0c7QUFDSCxNQUFNLE9BQU8sYUFBYyxTQUFRLFlBQTJCO0lBQzVELFlBQ1UsVUFBMEI7UUFFbEMsS0FBSyxDQUFDLEVBQUUsRUFBRSxZQUFZLENBQUMsYUFBYSxFQUFFLEVBQUMsV0FBVyxFQUFFLEVBQUMsRUFBRSxFQUFFLFVBQVUsQ0FBQyxJQUFJLENBQUMsVUFBVSxFQUFDLEVBQUMsQ0FBQyxDQUFDLENBQUM7UUFGaEYsZUFBVSxHQUFWLFVBQVUsQ0FBZ0I7UUFJbEMsc0hBQXNIO1FBQ3RILE1BQU0sQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxHQUFXLEVBQUUsRUFBRTtZQUMvRCxJQUFJLENBQUMsVUFBVSxDQUFDLEdBQUcsRUFBRSxJQUFJLGtCQUFrQixDQUFDLElBQUksRUFBRSxVQUFVLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQztRQUMxRSxDQUFDLENBQUMsQ0FBQztJQUNMLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFic3RyYWN0Rm9ybSB9IGZyb20gJy4uL2Fic3RyYWN0LmZvcm0nO1xuaW1wb3J0IHsgQmFua0Nvbm5lY3Rpb24gfSBmcm9tICcuLi8uLi9tb2RlbHMvYmFuay9iYW5rLWNvbm5lY3Rpb24nO1xuaW1wb3J0IHsgVW50eXBlZEZvcm1Db250cm9sLCBWYWxpZGF0b3JzIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuaW1wb3J0IHsgQmFua0xvZ2luRGF0YSB9IGZyb20gJy4uLy4uL21vZGVscy9iYW5rL2JhbmstbG9naW4tZGF0YSc7XG5pbXBvcnQgeyBwbGFpblRvQ2xhc3MgfSBmcm9tICdjbGFzcy10cmFuc2Zvcm1lcic7XG5cbi8qKlxuICogRm9ybSB3aXRoIGJhc2lxIGJhbmsgbG9naW4gZmllbGRzLlxuICogaHR0cHM6Ly9hcGkuYmFzaXEuaW8vdjIuMC9kb2NzL2J1aWxkLXlvdXItb3duLTEjc3RlcC0zLWNyZWF0ZS1hLWNvbm5lY3Rpb25cbiAqL1xuZXhwb3J0IGNsYXNzIEJhbmtMb2dpbkZvcm0gZXh0ZW5kcyBBYnN0cmFjdEZvcm08QmFua0xvZ2luRGF0YT4ge1xuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGNvbm5lY3Rpb246IEJhbmtDb25uZWN0aW9uXG4gICkge1xuICAgIHN1cGVyKHt9LCBwbGFpblRvQ2xhc3MoQmFua0xvZ2luRGF0YSwge2luc3RpdHV0aW9uOiB7aWQ6IGNvbm5lY3Rpb24uYmFuay5leHRlcm5hbElkfX0pKTtcblxuICAgIC8vIEVhY2ggQmFzaXEgYmFua3MgaGFzIGl0cyBvd24gc2V0IG9mIGxvZ2luIGZpZWxkcywgc28gd2UgbmVlZCB0byBhZGQgdGhlc2UgY29udHJvbHMgZHluYW1pY2FsbHkgZGVwZW5kZWQgb24gdGhlIGJhbmtcbiAgICBPYmplY3Qua2V5cyhjb25uZWN0aW9uLmJhbmsubG9naW5GaWVsZHMpLmZvckVhY2goKGtleTogc3RyaW5nKSA9PiB7XG4gICAgICB0aGlzLmFkZENvbnRyb2woa2V5LCBuZXcgVW50eXBlZEZvcm1Db250cm9sKG51bGwsIFZhbGlkYXRvcnMucmVxdWlyZWQpKTtcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -1,6 +0,0 @@
1
- /**
2
- * Login data object for basiq banks
3
- */
4
- export class BankLoginData {
5
- }
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay1sb2dpbi1kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9iYW5rL2JhbmstbG9naW4tZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sT0FBTyxhQUFhO0NBZXpCIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBMb2dpbiBkYXRhIG9iamVjdCBmb3IgYmFzaXEgYmFua3NcbiAqL1xuZXhwb3J0IGNsYXNzIEJhbmtMb2dpbkRhdGEge1xuICAvKipcbiAgICogRXh0ZXJuYWwgaWQgb2YgYmFua0Nvbm5lY3Rpb24gaXMgdXNpbmcgZm9yIHJlY29ubmVjdCBleGlzdGluZyBiYW5rIGNvbm5lY3Rpb25cbiAgICovXG4gIGlkPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBPYmplY3Qgd2l0aCBiYW5rIGV4dGVybmFsIGlkXG4gICAqL1xuICBpbnN0aXR1dGlvbjoge2lkOiBzdHJpbmd9O1xuXG4gIC8qKlxuICAgKiBEeW5hbWljIGxvZ2luIGRhdGEgZmllbGRzLiBUaGVzZSBmaWVsZHMgbWF5IGJlIGRpZmZlcmVudCBmb3IgZGlmZmVyZW50IGJhbmtzXG4gICAqL1xuICBba2V5OiBzdHJpbmddOiBzdHJpbmcgfCB7aWQ6IHN0cmluZ307XG59XG4iXX0=
@@ -1,11 +0,0 @@
1
- import { AbstractForm } from '../abstract.form';
2
- import { BankConnection } from '../../models/bank/bank-connection';
3
- import { BankLoginData } from '../../models/bank/bank-login-data';
4
- /**
5
- * Form with basiq bank login fields.
6
- * https://api.basiq.io/v2.0/docs/build-your-own-1#step-3-create-a-connection
7
- */
8
- export declare class BankLoginForm extends AbstractForm<BankLoginData> {
9
- private connection;
10
- constructor(connection: BankConnection);
11
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * Login data object for basiq banks
3
- */
4
- export declare class BankLoginData {
5
- /**
6
- * External id of bankConnection is using for reconnect existing bank connection
7
- */
8
- id?: string;
9
- /**
10
- * Object with bank external id
11
- */
12
- institution: {
13
- id: string;
14
- };
15
- /**
16
- * Dynamic login data fields. These fields may be different for different banks
17
- */
18
- [key: string]: string | {
19
- id: string;
20
- };
21
- }