@zeniai/client-epic-state 4.19.30 → 4.19.31

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.
@@ -507,17 +507,19 @@ export function toPaymentToOption(paymentMode) {
507
507
  bankRoutingNumberWireTransfer: '',
508
508
  bankSwiftCode: '',
509
509
  bankAccountIban: '',
510
+ bankAccountType: '',
510
511
  piName: '',
511
512
  piLabels: [],
512
513
  minValidAmount: 0,
513
514
  maxValidAmount: null,
514
515
  };
515
516
  if (has(paymentMode, 'bankAccountId')) {
516
- const { bankAccountId, bankAccountName, bankAccountNumber, bankName, bankRoutingNumberAch, bankRoutingNumberWireTransfer, bankSwiftCode, bankAccountIban, createTime, } = paymentMode;
517
+ const { bankAccountId, bankAccountName, bankAccountNumber, bankAccountType, bankName, bankRoutingNumberAch, bankRoutingNumberWireTransfer, bankSwiftCode, bankAccountIban, createTime, } = paymentMode;
517
518
  paymentToOption.id = bankAccountId;
518
519
  paymentToOption.type = 'BankAccount';
519
520
  paymentToOption.bankAccountName = bankAccountName;
520
521
  paymentToOption.bankAccountNumber = bankAccountNumber;
522
+ paymentToOption.bankAccountType = bankAccountType ?? '';
521
523
  paymentToOption.bankName = bankName;
522
524
  paymentToOption.bankRoutingNumberAch = bankRoutingNumberAch;
523
525
  paymentToOption.bankRoutingNumberWireTransfer =