@blockchyp/blockchyp-ts 2.22.0 → 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.
- package/_bundles/blockchyp.js +14 -2
- package/_bundles/blockchyp.js.map +1 -1
- package/_bundles/blockchyp.min.js +1 -1
- package/_bundles/blockchyp.min.js.map +1 -1
- package/lib/src/models.d.ts +19 -2
- package/lib/src/models.js +14 -2
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/models.ts +29 -0
package/_bundles/blockchyp.js
CHANGED
|
@@ -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, accountType = null, accountHolderType = null, bankName = null, routingNumber = 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
|
*/
|
|
@@ -60629,6 +60629,14 @@ class CustomerToken {
|
|
|
60629
60629
|
* Routing number.
|
|
60630
60630
|
*/
|
|
60631
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;
|
|
60632
60640
|
/**
|
|
60633
60641
|
* Models customer records associated with a payment token.
|
|
60634
60642
|
*/
|
|
@@ -60642,6 +60650,8 @@ class CustomerToken {
|
|
|
60642
60650
|
this.accountHolderType = accountHolderType;
|
|
60643
60651
|
this.bankName = bankName;
|
|
60644
60652
|
this.routingNumber = routingNumber;
|
|
60653
|
+
this.tokenHash = tokenHash;
|
|
60654
|
+
this.bin = bin;
|
|
60645
60655
|
this.customers = customers;
|
|
60646
60656
|
}
|
|
60647
60657
|
}
|
|
@@ -61757,7 +61767,7 @@ exports.EnrollRequest = EnrollRequest;
|
|
|
61757
61767
|
*/
|
|
61758
61768
|
class EnrollResponse {
|
|
61759
61769
|
// Constructor with default values for optional fields
|
|
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) {
|
|
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) {
|
|
61761
61771
|
/**
|
|
61762
61772
|
* Whether or not the request succeeded.
|
|
61763
61773
|
*/
|
|
@@ -61841,6 +61851,8 @@ class EnrollResponse {
|
|
|
61841
61851
|
this.accountType = accountType;
|
|
61842
61852
|
this.accountHolderType = accountHolderType;
|
|
61843
61853
|
this.bankName = bankName;
|
|
61854
|
+
this.tokenHash = tokenHash;
|
|
61855
|
+
this.bin = bin;
|
|
61844
61856
|
}
|
|
61845
61857
|
}
|
|
61846
61858
|
exports.EnrollResponse = EnrollResponse;
|