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.
- package/esm2020/lib/db/Models/bank/bank.mjs +1 -1
- package/esm2020/lib/db/Models/bank/basiq-job-step.enum.mjs +7 -0
- package/esm2020/lib/db/Models/bank/basiq-job.mjs +1 -1
- package/esm2020/lib/forms/index.mjs +1 -2
- package/esm2020/lib/interceptors/basiq-client-id.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/basiq-token.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/corelogic-interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/financial-year-interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/interceptors.module.mjs +4 -4
- package/esm2020/lib/interceptors/jwt-interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/preloader.interceptor.mjs +3 -3
- package/esm2020/lib/interceptors/user-switcher-interceptor.mjs +3 -3
- package/esm2020/lib/models/bank/bank-connection.mjs +8 -16
- package/esm2020/lib/models/bank/bank-external-stats.mjs +2 -1
- package/esm2020/lib/models/bank/index.mjs +1 -2
- package/esm2020/lib/services/account-setup/account-setup.service.mjs +3 -3
- package/esm2020/lib/services/affiliate/rewardful/rewardful.service.mjs +3 -3
- package/esm2020/lib/services/asset/assets.service.mjs +3 -3
- package/esm2020/lib/services/auth/auth.service.mjs +3 -3
- package/esm2020/lib/services/auth/jwt.service.mjs +3 -3
- package/esm2020/lib/services/bank/bank-account-calculation.service.mjs +3 -3
- package/esm2020/lib/services/bank/bank-transaction-calculation.service.mjs +3 -3
- package/esm2020/lib/services/data.service.mjs +3 -3
- package/esm2020/lib/services/event/event-dispatcher.service.mjs +3 -3
- package/esm2020/lib/services/event/sse.service.mjs +3 -3
- package/esm2020/lib/services/export/export-formatter.service.mjs +3 -3
- package/esm2020/lib/services/header-title/header-title.service.mjs +3 -3
- package/esm2020/lib/services/http/address/address.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/bank-account/bank-account.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/bank-connection/bank-connection-messages.enum.mjs +6 -1
- package/esm2020/lib/services/http/bank/bank-connection/bank-connection.service.mjs +17 -6
- package/esm2020/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +3 -3
- package/esm2020/lib/services/http/bank/bank.service.mjs +4 -13
- package/esm2020/lib/services/http/bank/basiq/basiq-token.service.mjs +4 -4
- package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +3 -3
- package/esm2020/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +3 -3
- package/esm2020/lib/services/http/chart-accounts/chart-accounts.service.mjs +3 -3
- package/esm2020/lib/services/http/chat/chat.service.mjs +3 -3
- package/esm2020/lib/services/http/chat/message-document.service.mjs +3 -3
- package/esm2020/lib/services/http/chat/message.service.mjs +3 -3
- package/esm2020/lib/services/http/client/capital-gain/annual-client-details.service.mjs +3 -3
- package/esm2020/lib/services/http/client/occupation/occupation.service.mjs +3 -3
- package/esm2020/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.mjs +3 -3
- package/esm2020/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.mjs +3 -3
- package/esm2020/lib/services/http/depreciation/depreciation.service.mjs +3 -3
- package/esm2020/lib/services/http/document/document-folder/document-folder.service.mjs +3 -3
- package/esm2020/lib/services/http/document/document.service.mjs +3 -3
- package/esm2020/lib/services/http/facebook/facebook.service.mjs +3 -3
- package/esm2020/lib/services/http/file/file.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/client-income/client-income-types.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/client-invite/client-invite.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/client-movement/client-movement.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/employee/employee.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/employee-invite/employee-invite.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/firm.service.mjs +3 -3
- package/esm2020/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +3 -3
- package/esm2020/lib/services/http/google/google.service.mjs +3 -3
- package/esm2020/lib/services/http/holding/holding-sale.service.mjs +3 -3
- package/esm2020/lib/services/http/holding/holding-type.service.mjs +3 -3
- package/esm2020/lib/services/http/holding/holding.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/income-source.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +3 -3
- package/esm2020/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +3 -3
- package/esm2020/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +3 -3
- package/esm2020/lib/services/http/loan/loan.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-category/property-category.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-document/property-document.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-sale/property-sale.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property-share/property-share.service.mjs +3 -3
- package/esm2020/lib/services/http/property/property.service.mjs +3 -3
- package/esm2020/lib/services/http/receipt/receipt.service.mjs +3 -3
- package/esm2020/lib/services/http/rest/rest-old.service.mjs +3 -3
- package/esm2020/lib/services/http/rest/rest.service.mjs +3 -3
- package/esm2020/lib/services/http/service-notification/service-notification.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/bas-report/bas-report.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-business/sole-business.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-contact/sole-contact.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-details/sole-details.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +3 -3
- package/esm2020/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-payment/service-payment.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-price/service-price.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-product/service-product.service.mjs +3 -3
- package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +3 -3
- package/esm2020/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +3 -3
- package/esm2020/lib/services/http/tax-review/tax-review.service.mjs +3 -3
- package/esm2020/lib/services/http/tax-summary/tax-summary.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.mjs +3 -3
- package/esm2020/lib/services/http/transaction/transaction.service.mjs +3 -3
- package/esm2020/lib/services/http/tutorial-video/tutorial-video.service.mjs +3 -3
- package/esm2020/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +3 -3
- package/esm2020/lib/services/http/user/user-event-type/user-event-type.service.mjs +3 -3
- package/esm2020/lib/services/http/user/user.service.mjs +3 -3
- package/esm2020/lib/services/http/user/users-invite/users-invite.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle-claim-details.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle-claim.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle-logbook.service.mjs +3 -3
- package/esm2020/lib/services/http/vehicle/vehicle.service.mjs +3 -3
- package/esm2020/lib/services/intercom/intercom.service.mjs +3 -3
- package/esm2020/lib/services/json/holding/holding-type-exchange.service.mjs +3 -3
- package/esm2020/lib/services/json/income-source/income-source-type.service.mjs +3 -3
- package/esm2020/lib/services/json/tax-exemption/tax-exemption.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.mjs +3 -3
- package/esm2020/lib/services/pdf/pdf-from-table/pdf-from-table.service.mjs +3 -3
- package/esm2020/lib/services/preloader/preloader.service.mjs +3 -3
- package/esm2020/lib/services/property/corelogic/corelogic.service.mjs +3 -3
- package/esm2020/lib/services/property/equity-position-chart/equity-position-chart.service.mjs +3 -3
- package/esm2020/lib/services/property/property-calculation/property-calculation.service.mjs +3 -3
- package/esm2020/lib/services/report/property/property-transaction-report.service.mjs +3 -3
- package/esm2020/lib/services/toast/toast.service.mjs +3 -3
- package/esm2020/lib/services/transaction/transaction-calculation.service.mjs +3 -3
- package/esm2020/lib/services/user/user-switcher.service.mjs +3 -3
- package/esm2020/lib/services/vehicle/logbook-best-period.service.mjs +3 -3
- package/esm2020/lib/services/xlsx/xlsx.service.mjs +3 -3
- package/esm2020/lib/tt-core.module.mjs +4 -4
- package/fesm2015/taxtank-core.mjs +8494 -8506
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +8487 -8501
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/db/Models/bank/bank.d.ts +0 -1
- package/lib/db/Models/bank/basiq-job-step.enum.d.ts +5 -0
- package/lib/db/Models/bank/basiq-job.d.ts +2 -0
- package/lib/forms/index.d.ts +0 -1
- package/lib/models/bank/bank-connection.d.ts +3 -3
- package/lib/models/bank/bank-external-stats.d.ts +1 -0
- package/lib/models/bank/index.d.ts +0 -1
- package/lib/services/http/bank/bank-connection/bank-connection-messages.enum.d.ts +6 -1
- package/lib/services/http/bank/bank.service.d.ts +0 -2
- package/package.json +1 -1
- package/esm2020/lib/forms/bank/bank-login.form.mjs +0 -19
- package/esm2020/lib/models/bank/bank-login-data.mjs +0 -6
- package/lib/forms/bank/bank-login.form.d.ts +0 -11
- package/lib/models/bank/bank-login-data.d.ts +0 -21
|
@@ -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
|
}
|
package/lib/forms/index.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
17
|
+
isLoginSuccess(): boolean;
|
|
18
|
+
isAccountsRetrieved(): boolean;
|
|
19
19
|
}
|
|
@@ -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,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay1sb2dpbi5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vL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W5nKSA9PiB7XG4gICAgICB0aGlzLmFkZENvbnRyb2woa2V5LCBuZXcgVW50eXBlZEZvcm1Db250cm9sKG51bGwsIFZhbGlkYXRvcnMucmVxdWlyZWQpKTtcbiAgICB9KTtcbiAgfVxufVxuIl19
|
|
@@ -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
|
-
}
|