@blockchyp/blockchyp-ts 2.21.2 → 2.23.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, tokenHash = null, bin = null, customers = null) {
60596
60596
  /**
60597
60597
  * BlockChyp assigned customer id.
60598
60598
  */
@@ -60613,6 +60613,30 @@ 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;
60632
+ /**
60633
+ * Token hash (generated with a static salt, Merchant ID, Registration Date and PAN.
60634
+ */
60635
+ this.tokenHash = null;
60636
+ /**
60637
+ * Card bin.
60638
+ */
60639
+ this.bin = null;
60616
60640
  /**
60617
60641
  * Models customer records associated with a payment token.
60618
60642
  */
@@ -60622,6 +60646,12 @@ class CustomerToken {
60622
60646
  this.expiryMonth = expiryMonth;
60623
60647
  this.expiryYear = expiryYear;
60624
60648
  this.paymentType = paymentType;
60649
+ this.accountType = accountType;
60650
+ this.accountHolderType = accountHolderType;
60651
+ this.bankName = bankName;
60652
+ this.routingNumber = routingNumber;
60653
+ this.tokenHash = tokenHash;
60654
+ this.bin = bin;
60625
60655
  this.customers = customers;
60626
60656
  }
60627
60657
  }
@@ -61663,7 +61693,7 @@ exports.VoidResponse = VoidResponse;
61663
61693
  */
61664
61694
  class EnrollRequest {
61665
61695
  // 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) {
61696
+ 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
61697
  /**
61668
61698
  * The request timeout in seconds.
61669
61699
  */
@@ -61726,6 +61756,9 @@ class EnrollRequest {
61726
61756
  this.recurring = recurring;
61727
61757
  this.subscription = subscription;
61728
61758
  this.cardMetadataLookup = cardMetadataLookup;
61759
+ this.accountType = accountType;
61760
+ this.accountHolderType = accountHolderType;
61761
+ this.bankName = bankName;
61729
61762
  }
61730
61763
  }
61731
61764
  exports.EnrollRequest = EnrollRequest;
@@ -61734,7 +61767,7 @@ exports.EnrollRequest = EnrollRequest;
61734
61767
  */
61735
61768
  class EnrollResponse {
61736
61769
  // 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) {
61770
+ 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, tokenHash = undefined, bin = undefined) {
61738
61771
  /**
61739
61772
  * Whether or not the request succeeded.
61740
61773
  */
@@ -61815,6 +61848,11 @@ class EnrollResponse {
61815
61848
  this.customers = customers;
61816
61849
  this.sigFile = sigFile;
61817
61850
  this.cardMetadata = cardMetadata;
61851
+ this.accountType = accountType;
61852
+ this.accountHolderType = accountHolderType;
61853
+ this.bankName = bankName;
61854
+ this.tokenHash = tokenHash;
61855
+ this.bin = bin;
61818
61856
  }
61819
61857
  }
61820
61858
  exports.EnrollResponse = EnrollResponse;