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.
@@ -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 !bank.externalId || (bank.externalId && bank.loginFields); });
13365
+ return banks.filter(function (bank) { return bank.isManual || (bank.externalId && bank.loginFields); });
13366
13366
  }));
13367
13367
  };
13368
13368
  return BankService;