taxtank-core 0.28.5 → 0.28.6
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/bundles/taxtank-core.umd.js +2 -2
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/db/Models/bank/bank.js +1 -1
- package/esm2015/lib/models/bank/bank-connection.js +2 -2
- package/esm2015/lib/services/http/bank/bank.service.js +2 -2
- package/fesm2015/taxtank-core.js +2 -2
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/db/Models/bank/bank.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5578,7 +5578,7 @@
|
|
|
5578
5578
|
* login required for new or disconnected external connections
|
|
5579
5579
|
*/
|
|
5580
5580
|
BankConnection.prototype.isLoginRequired = function () {
|
|
5581
|
-
return !!(!this.id && this.bank.externalId) || this.isInvalid();
|
|
5581
|
+
return !!(!this.id && this.bank.externalId && !this.bank.isManual) || this.isInvalid();
|
|
5582
5582
|
};
|
|
5583
5583
|
BankConnection.prototype.setPending = function () {
|
|
5584
5584
|
this.status = exports.BankConnectionStatusEnum.PENDING;
|
|
@@ -13362,7 +13362,7 @@
|
|
|
13362
13362
|
BankService.prototype.get = function () {
|
|
13363
13363
|
return _super.prototype.get.call(this).pipe(operators.map(function (banks) {
|
|
13364
13364
|
// exclude basiq banks without login fields (basiq may return broken banks without loginFields)
|
|
13365
|
-
return banks.filter(function (bank) { return
|
|
13365
|
+
return banks.filter(function (bank) { return bank.isManual || (bank.externalId && bank.loginFields); });
|
|
13366
13366
|
}));
|
|
13367
13367
|
};
|
|
13368
13368
|
return BankService;
|