@blockchyp/blockchyp-ts 2.21.2 → 2.22.0

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.
@@ -60592,7 +60592,7 @@ exports.TokenMetadataResponse = TokenMetadataResponse;
60592
60592
  */
60593
60593
  class CustomerToken {
60594
60594
  // Constructor with default values for optional fields
60595
- constructor(token = null, maskedPan = null, expiryMonth = null, expiryYear = null, paymentType = null, customers = null) {
60595
+ constructor(token = null, maskedPan = null, expiryMonth = null, expiryYear = null, paymentType = null, accountType = null, accountHolderType = null, bankName = null, routingNumber = null, customers = null) {
60596
60596
  /**
60597
60597
  * BlockChyp assigned customer id.
60598
60598
  */
@@ -60613,6 +60613,22 @@ class CustomerToken {
60613
60613
  * Payment type.
60614
60614
  */
60615
60615
  this.paymentType = null;
60616
+ /**
60617
+ * Bank account type (checking, saving).
60618
+ */
60619
+ this.accountType = null;
60620
+ /**
60621
+ * Bank account holder type (personal, business).
60622
+ */
60623
+ this.accountHolderType = null;
60624
+ /**
60625
+ * Bank name.
60626
+ */
60627
+ this.bankName = null;
60628
+ /**
60629
+ * Routing number.
60630
+ */
60631
+ this.routingNumber = null;
60616
60632
  /**
60617
60633
  * Models customer records associated with a payment token.
60618
60634
  */
@@ -60622,6 +60638,10 @@ class CustomerToken {
60622
60638
  this.expiryMonth = expiryMonth;
60623
60639
  this.expiryYear = expiryYear;
60624
60640
  this.paymentType = paymentType;
60641
+ this.accountType = accountType;
60642
+ this.accountHolderType = accountHolderType;
60643
+ this.bankName = bankName;
60644
+ this.routingNumber = routingNumber;
60625
60645
  this.customers = customers;
60626
60646
  }
60627
60647
  }
@@ -61663,7 +61683,7 @@ exports.VoidResponse = VoidResponse;
61663
61683
  */
61664
61684
  class EnrollRequest {
61665
61685
  // Constructor with default values for optional fields
61666
- constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, entryMethod = undefined, customer = undefined, recurring = false, subscription = false, cardMetadataLookup = false) {
61686
+ constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, entryMethod = undefined, customer = undefined, recurring = false, subscription = false, cardMetadataLookup = false, accountType = undefined, accountHolderType = undefined, bankName = undefined) {
61667
61687
  /**
61668
61688
  * The request timeout in seconds.
61669
61689
  */
@@ -61726,6 +61746,9 @@ class EnrollRequest {
61726
61746
  this.recurring = recurring;
61727
61747
  this.subscription = subscription;
61728
61748
  this.cardMetadataLookup = cardMetadataLookup;
61749
+ this.accountType = accountType;
61750
+ this.accountHolderType = accountHolderType;
61751
+ this.bankName = bankName;
61729
61752
  }
61730
61753
  }
61731
61754
  exports.EnrollRequest = EnrollRequest;
@@ -61734,7 +61757,7 @@ exports.EnrollRequest = EnrollRequest;
61734
61757
  */
61735
61758
  class EnrollResponse {
61736
61759
  // Constructor with default values for optional fields
61737
- constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, cardMetadata = undefined) {
61760
+ constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, cardMetadata = undefined, accountType = undefined, accountHolderType = undefined, bankName = undefined) {
61738
61761
  /**
61739
61762
  * Whether or not the request succeeded.
61740
61763
  */
@@ -61815,6 +61838,9 @@ class EnrollResponse {
61815
61838
  this.customers = customers;
61816
61839
  this.sigFile = sigFile;
61817
61840
  this.cardMetadata = cardMetadata;
61841
+ this.accountType = accountType;
61842
+ this.accountHolderType = accountHolderType;
61843
+ this.bankName = bankName;
61818
61844
  }
61819
61845
  }
61820
61846
  exports.EnrollResponse = EnrollResponse;