@blockchyp/blockchyp-ts 2.25.0 → 2.27.2
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 +65 -18
- 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/client.d.ts +1 -1
- package/lib/src/client.js +1 -1
- package/lib/src/models.d.ts +174 -18
- package/lib/src/models.js +64 -17
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -1
- package/src/models.ts +274 -1
package/_bundles/blockchyp.js
CHANGED
|
@@ -57720,7 +57720,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
57720
57720
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
57721
57721
|
exports.newClient = exports.BlockChypCredentials = exports.BlockChypClient = exports.HealthcareType = exports.CVMType = exports.AVSResponse = exports.PromptType = exports.RoundingMode = exports.SignatureFormat = exports.CardType = void 0;
|
|
57722
57722
|
/**
|
|
57723
|
-
* Copyright 2019-
|
|
57723
|
+
* Copyright 2019-2026 BlockChyp, Inc. All rights reserved. Use of this code is governed
|
|
57724
57724
|
* by a license that can be found in the LICENSE file.
|
|
57725
57725
|
*
|
|
57726
57726
|
* This file was generated automatically by the BlockChyp SDK Generator. Changes to this
|
|
@@ -58760,7 +58760,7 @@ exports["default"] = CryptoUtils;
|
|
|
58760
58760
|
"use strict";
|
|
58761
58761
|
|
|
58762
58762
|
/**
|
|
58763
|
-
* Copyright 2019-
|
|
58763
|
+
* Copyright 2019-2026 BlockChyp, Inc. All rights reserved. Use of this code is governed
|
|
58764
58764
|
* by a license that can be found in the LICENSE file.
|
|
58765
58765
|
*
|
|
58766
58766
|
* This file was generated automatically by the BlockChyp SDK Generator. Changes to this
|
|
@@ -59758,7 +59758,7 @@ exports.UpdateTokenResponse = UpdateTokenResponse;
|
|
|
59758
59758
|
*/
|
|
59759
59759
|
class CustomerToken {
|
|
59760
59760
|
// Constructor with default values for optional fields
|
|
59761
|
-
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) {
|
|
59761
|
+
constructor(token = null, maskedPan = null, expiryMonth = null, expiryYear = null, paymentType = null, accountType = null, accountHolderType = null, bankName = null, routingNumber = null, tokenHash = null, bin = null, postalCode = undefined, address = undefined, country = undefined, cardHolderName = undefined, customers = null) {
|
|
59762
59762
|
/**
|
|
59763
59763
|
* BlockChyp assigned customer id.
|
|
59764
59764
|
*/
|
|
@@ -59818,6 +59818,10 @@ class CustomerToken {
|
|
|
59818
59818
|
this.routingNumber = routingNumber;
|
|
59819
59819
|
this.tokenHash = tokenHash;
|
|
59820
59820
|
this.bin = bin;
|
|
59821
|
+
this.postalCode = postalCode;
|
|
59822
|
+
this.address = address;
|
|
59823
|
+
this.country = country;
|
|
59824
|
+
this.cardHolderName = cardHolderName;
|
|
59821
59825
|
this.customers = customers;
|
|
59822
59826
|
}
|
|
59823
59827
|
}
|
|
@@ -59914,7 +59918,7 @@ exports.WhiteListedCard = WhiteListedCard;
|
|
|
59914
59918
|
*/
|
|
59915
59919
|
class AuthorizationRequest {
|
|
59916
59920
|
// Constructor with default values for optional fields
|
|
59917
|
-
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, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, transactionId = undefined, onlineAuthCode = undefined, enroll = false, bypassDupeFilter = false, description = undefined, promptForTip = false, cashBackEnabled = false, cardOnFile = false, recurring = false, cit = false, mit = false, subscription = false, purchaseOrderNumber = undefined, supplierReferenceNumber = undefined, lineItems = null, altPrices = undefined, customer = undefined, roundingMode = undefined, healthcareMetadata = undefined, cryptocurrency = undefined, cryptoNetwork = undefined, cryptoReceiveAddress = undefined, paymentRequestLabel = undefined, paymentRequestMessage = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, passthroughSurcharge = undefined, healthcare = false, healthcareTotal = undefined, ebtTotal = undefined, cardMetadataLookup = false) {
|
|
59921
|
+
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, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, transactionId = undefined, onlineAuthCode = undefined, enroll = false, bypassDupeFilter = false, description = undefined, promptForTip = false, cashBackEnabled = false, cardOnFile = false, recurring = false, cit = false, mit = false, subscription = false, purchaseOrderNumber = undefined, supplierReferenceNumber = undefined, lineItems = null, altPrices = undefined, customer = undefined, roundingMode = undefined, healthcareMetadata = undefined, cryptocurrency = undefined, cryptoNetwork = undefined, cryptoReceiveAddress = undefined, paymentRequestLabel = undefined, paymentRequestMessage = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, passthroughSurcharge = undefined, healthcare = false, healthcareTotal = undefined, ebtTotal = undefined, cardMetadataLookup = false, shippingAmount = undefined, processorId = undefined, externalCustomerId = undefined) {
|
|
59918
59922
|
/**
|
|
59919
59923
|
* The request timeout in seconds.
|
|
59920
59924
|
*/
|
|
@@ -59990,6 +59994,7 @@ class AuthorizationRequest {
|
|
|
59990
59994
|
this.cvv = cvv;
|
|
59991
59995
|
this.address = address;
|
|
59992
59996
|
this.postalCode = postalCode;
|
|
59997
|
+
this.country = country;
|
|
59993
59998
|
this.manualEntry = manualEntry;
|
|
59994
59999
|
this.ksn = ksn;
|
|
59995
60000
|
this.pinBlock = pinBlock;
|
|
@@ -60040,6 +60045,9 @@ class AuthorizationRequest {
|
|
|
60040
60045
|
this.healthcareTotal = healthcareTotal;
|
|
60041
60046
|
this.ebtTotal = ebtTotal;
|
|
60042
60047
|
this.cardMetadataLookup = cardMetadataLookup;
|
|
60048
|
+
this.shippingAmount = shippingAmount;
|
|
60049
|
+
this.processorId = processorId;
|
|
60050
|
+
this.externalCustomerId = externalCustomerId;
|
|
60043
60051
|
}
|
|
60044
60052
|
}
|
|
60045
60053
|
exports.AuthorizationRequest = AuthorizationRequest;
|
|
@@ -60117,7 +60125,7 @@ exports.CardMetadata = CardMetadata;
|
|
|
60117
60125
|
*/
|
|
60118
60126
|
class CardMetadataRequest {
|
|
60119
60127
|
// Constructor with default values for optional fields
|
|
60120
|
-
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, healthcare = false) {
|
|
60128
|
+
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, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, healthcare = false) {
|
|
60121
60129
|
/**
|
|
60122
60130
|
* The request timeout in seconds.
|
|
60123
60131
|
*/
|
|
@@ -60168,6 +60176,7 @@ class CardMetadataRequest {
|
|
|
60168
60176
|
this.cvv = cvv;
|
|
60169
60177
|
this.address = address;
|
|
60170
60178
|
this.postalCode = postalCode;
|
|
60179
|
+
this.country = country;
|
|
60171
60180
|
this.manualEntry = manualEntry;
|
|
60172
60181
|
this.ksn = ksn;
|
|
60173
60182
|
this.pinBlock = pinBlock;
|
|
@@ -60184,7 +60193,7 @@ exports.CardMetadataRequest = CardMetadataRequest;
|
|
|
60184
60193
|
*/
|
|
60185
60194
|
class CardMetadataResponse {
|
|
60186
60195
|
// Constructor with default values for optional fields
|
|
60187
|
-
constructor(success = null, error = null, responseDescription = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, cardMetadata = undefined) {
|
|
60196
|
+
constructor(success = null, error = null, responseDescription = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, cardMetadata = undefined) {
|
|
60188
60197
|
/**
|
|
60189
60198
|
* Whether or not the request succeeded.
|
|
60190
60199
|
*/
|
|
@@ -60223,6 +60232,9 @@ class CardMetadataResponse {
|
|
|
60223
60232
|
this.cardHolder = cardHolder;
|
|
60224
60233
|
this.expMonth = expMonth;
|
|
60225
60234
|
this.expYear = expYear;
|
|
60235
|
+
this.postalCode = postalCode;
|
|
60236
|
+
this.address = address;
|
|
60237
|
+
this.country = country;
|
|
60226
60238
|
this.avsResponse = avsResponse;
|
|
60227
60239
|
this.cvvResponse = cvvResponse;
|
|
60228
60240
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -60237,7 +60249,7 @@ exports.CardMetadataResponse = CardMetadataResponse;
|
|
|
60237
60249
|
*/
|
|
60238
60250
|
class BalanceRequest {
|
|
60239
60251
|
// Constructor with default values for optional fields
|
|
60240
|
-
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) {
|
|
60252
|
+
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, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null) {
|
|
60241
60253
|
/**
|
|
60242
60254
|
* The request timeout in seconds.
|
|
60243
60255
|
*/
|
|
@@ -60288,6 +60300,7 @@ class BalanceRequest {
|
|
|
60288
60300
|
this.cvv = cvv;
|
|
60289
60301
|
this.address = address;
|
|
60290
60302
|
this.postalCode = postalCode;
|
|
60303
|
+
this.country = country;
|
|
60291
60304
|
this.manualEntry = manualEntry;
|
|
60292
60305
|
this.ksn = ksn;
|
|
60293
60306
|
this.pinBlock = pinBlock;
|
|
@@ -60303,7 +60316,7 @@ exports.BalanceRequest = BalanceRequest;
|
|
|
60303
60316
|
*/
|
|
60304
60317
|
class BalanceResponse {
|
|
60305
60318
|
// Constructor with default values for optional fields
|
|
60306
|
-
constructor(success = null, error = null, responseDescription = null, 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, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, remainingBalance = undefined) {
|
|
60319
|
+
constructor(success = null, error = null, responseDescription = null, 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, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, remainingBalance = undefined) {
|
|
60307
60320
|
/**
|
|
60308
60321
|
* Whether or not the request succeeded.
|
|
60309
60322
|
*/
|
|
@@ -60371,6 +60384,9 @@ class BalanceResponse {
|
|
|
60371
60384
|
this.cardHolder = cardHolder;
|
|
60372
60385
|
this.expMonth = expMonth;
|
|
60373
60386
|
this.expYear = expYear;
|
|
60387
|
+
this.postalCode = postalCode;
|
|
60388
|
+
this.address = address;
|
|
60389
|
+
this.country = country;
|
|
60374
60390
|
this.avsResponse = avsResponse;
|
|
60375
60391
|
this.cvvResponse = cvvResponse;
|
|
60376
60392
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -60385,7 +60401,7 @@ exports.BalanceResponse = BalanceResponse;
|
|
|
60385
60401
|
*/
|
|
60386
60402
|
class RefundRequest {
|
|
60387
60403
|
// Constructor with default values for optional fields
|
|
60388
|
-
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, transactionId = null, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, healthcareMetadata = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, cit = false, mit = false, cardMetadataLookup = false) {
|
|
60404
|
+
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, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, transactionId = null, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, healthcareMetadata = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, cit = false, mit = false, cardMetadataLookup = false) {
|
|
60389
60405
|
/**
|
|
60390
60406
|
* The request timeout in seconds.
|
|
60391
60407
|
*/
|
|
@@ -60461,6 +60477,7 @@ class RefundRequest {
|
|
|
60461
60477
|
this.cvv = cvv;
|
|
60462
60478
|
this.address = address;
|
|
60463
60479
|
this.postalCode = postalCode;
|
|
60480
|
+
this.country = country;
|
|
60464
60481
|
this.manualEntry = manualEntry;
|
|
60465
60482
|
this.ksn = ksn;
|
|
60466
60483
|
this.pinBlock = pinBlock;
|
|
@@ -60581,7 +60598,7 @@ exports.CaptureRequest = CaptureRequest;
|
|
|
60581
60598
|
*/
|
|
60582
60599
|
class CaptureResponse {
|
|
60583
60600
|
// Constructor with default values for optional fields
|
|
60584
|
-
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, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
60601
|
+
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, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
60585
60602
|
/**
|
|
60586
60603
|
* Whether or not the request succeeded.
|
|
60587
60604
|
*/
|
|
@@ -60713,6 +60730,9 @@ class CaptureResponse {
|
|
|
60713
60730
|
this.cardHolder = cardHolder;
|
|
60714
60731
|
this.expMonth = expMonth;
|
|
60715
60732
|
this.expYear = expYear;
|
|
60733
|
+
this.postalCode = postalCode;
|
|
60734
|
+
this.address = address;
|
|
60735
|
+
this.country = country;
|
|
60716
60736
|
this.avsResponse = avsResponse;
|
|
60717
60737
|
this.cvvResponse = cvvResponse;
|
|
60718
60738
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -60774,7 +60794,7 @@ exports.VoidRequest = VoidRequest;
|
|
|
60774
60794
|
*/
|
|
60775
60795
|
class VoidResponse {
|
|
60776
60796
|
// Constructor with default values for optional fields
|
|
60777
|
-
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, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined) {
|
|
60797
|
+
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, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined) {
|
|
60778
60798
|
/**
|
|
60779
60799
|
* Whether or not the request succeeded.
|
|
60780
60800
|
*/
|
|
@@ -60849,6 +60869,9 @@ class VoidResponse {
|
|
|
60849
60869
|
this.cardHolder = cardHolder;
|
|
60850
60870
|
this.expMonth = expMonth;
|
|
60851
60871
|
this.expYear = expYear;
|
|
60872
|
+
this.postalCode = postalCode;
|
|
60873
|
+
this.address = address;
|
|
60874
|
+
this.country = country;
|
|
60852
60875
|
this.avsResponse = avsResponse;
|
|
60853
60876
|
this.cvvResponse = cvvResponse;
|
|
60854
60877
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -60863,7 +60886,7 @@ exports.VoidResponse = VoidResponse;
|
|
|
60863
60886
|
*/
|
|
60864
60887
|
class EnrollRequest {
|
|
60865
60888
|
// Constructor with default values for optional fields
|
|
60866
|
-
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) {
|
|
60889
|
+
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, country = 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) {
|
|
60867
60890
|
/**
|
|
60868
60891
|
* The request timeout in seconds.
|
|
60869
60892
|
*/
|
|
@@ -60914,6 +60937,7 @@ class EnrollRequest {
|
|
|
60914
60937
|
this.cvv = cvv;
|
|
60915
60938
|
this.address = address;
|
|
60916
60939
|
this.postalCode = postalCode;
|
|
60940
|
+
this.country = country;
|
|
60917
60941
|
this.manualEntry = manualEntry;
|
|
60918
60942
|
this.ksn = ksn;
|
|
60919
60943
|
this.pinBlock = pinBlock;
|
|
@@ -60937,7 +60961,7 @@ exports.EnrollRequest = EnrollRequest;
|
|
|
60937
60961
|
*/
|
|
60938
60962
|
class EnrollResponse {
|
|
60939
60963
|
// Constructor with default values for optional fields
|
|
60940
|
-
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, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, cardMetadata = undefined, accountType = undefined, accountHolderType = undefined, bankName = undefined, tokenHash = undefined, bin = undefined) {
|
|
60964
|
+
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, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, cardMetadata = undefined, accountType = undefined, accountHolderType = undefined, bankName = undefined, tokenHash = undefined, bin = undefined) {
|
|
60941
60965
|
/**
|
|
60942
60966
|
* Whether or not the request succeeded.
|
|
60943
60967
|
*/
|
|
@@ -61012,6 +61036,9 @@ class EnrollResponse {
|
|
|
61012
61036
|
this.cardHolder = cardHolder;
|
|
61013
61037
|
this.expMonth = expMonth;
|
|
61014
61038
|
this.expYear = expYear;
|
|
61039
|
+
this.postalCode = postalCode;
|
|
61040
|
+
this.address = address;
|
|
61041
|
+
this.country = country;
|
|
61015
61042
|
this.avsResponse = avsResponse;
|
|
61016
61043
|
this.cvvResponse = cvvResponse;
|
|
61017
61044
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -61481,7 +61508,7 @@ exports.TermsAndConditionsResponse = TermsAndConditionsResponse;
|
|
|
61481
61508
|
*/
|
|
61482
61509
|
class AuthorizationResponse {
|
|
61483
61510
|
// Constructor with default values for optional fields
|
|
61484
|
-
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, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, confirmed = null, cryptoAuthorizedAmount = null, cryptoNetworkFee = null, cryptocurrency = null, cryptoNetwork = null, cryptoReceiveAddress = null, cryptoBlock = null, cryptoTransactionId = null, cryptoPaymentRequest = null, cryptoStatus = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, whiteListedCard = undefined, storeAndForward = null, status = null, cardMetadata = undefined) {
|
|
61511
|
+
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, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, confirmed = null, cryptoAuthorizedAmount = null, cryptoNetworkFee = null, cryptocurrency = null, cryptoNetwork = null, cryptoReceiveAddress = null, cryptoBlock = null, cryptoTransactionId = null, cryptoPaymentRequest = null, cryptoStatus = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, whiteListedCard = undefined, storeAndForward = null, status = null, cardMetadata = undefined) {
|
|
61485
61512
|
/**
|
|
61486
61513
|
* Whether or not the request succeeded.
|
|
61487
61514
|
*/
|
|
@@ -61675,6 +61702,9 @@ class AuthorizationResponse {
|
|
|
61675
61702
|
this.cardHolder = cardHolder;
|
|
61676
61703
|
this.expMonth = expMonth;
|
|
61677
61704
|
this.expYear = expYear;
|
|
61705
|
+
this.postalCode = postalCode;
|
|
61706
|
+
this.address = address;
|
|
61707
|
+
this.country = country;
|
|
61678
61708
|
this.avsResponse = avsResponse;
|
|
61679
61709
|
this.cvvResponse = cvvResponse;
|
|
61680
61710
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -61816,7 +61846,7 @@ exports.PaymentLinkStatusResponse = PaymentLinkStatusResponse;
|
|
|
61816
61846
|
*/
|
|
61817
61847
|
class TransactionStatus {
|
|
61818
61848
|
// Constructor with default values for optional fields
|
|
61819
|
-
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, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, storeAndForward = null) {
|
|
61849
|
+
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, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, storeAndForward = null) {
|
|
61820
61850
|
/**
|
|
61821
61851
|
* Whether or not the request succeeded.
|
|
61822
61852
|
*/
|
|
@@ -61952,6 +61982,9 @@ class TransactionStatus {
|
|
|
61952
61982
|
this.cardHolder = cardHolder;
|
|
61953
61983
|
this.expMonth = expMonth;
|
|
61954
61984
|
this.expYear = expYear;
|
|
61985
|
+
this.postalCode = postalCode;
|
|
61986
|
+
this.address = address;
|
|
61987
|
+
this.country = country;
|
|
61955
61988
|
this.avsResponse = avsResponse;
|
|
61956
61989
|
this.cvvResponse = cvvResponse;
|
|
61957
61990
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -63092,7 +63125,7 @@ exports.BatchDetailsRequest = BatchDetailsRequest;
|
|
|
63092
63125
|
*/
|
|
63093
63126
|
class BatchDetailsResponse {
|
|
63094
63127
|
// Constructor with default values for optional fields
|
|
63095
|
-
constructor(success = null, error = null, responseDescription = null, test = null, batchId = null, entryMethod = null, destinationAccountId = null, capturedAmount = null, openPreauths = null, totalVolume = null, transactionCount = null, giftCardsSold = null, giftCardVolume = null, expectedDeposit = null, open = null, openDate = null, closeDate = null, volumeByTerminal = null) {
|
|
63128
|
+
constructor(success = null, error = null, responseDescription = null, test = null, batchId = null, entryMethod = null, destinationAccountId = null, capturedAmount = null, openPreauths = null, totalVolume = null, transactionCount = null, giftCardsSold = null, giftCardVolume = null, expectedDeposit = null, open = null, openDate = null, closeDate = null, volumeByTerminal = null, netDeposit = null, dailyFees = null) {
|
|
63096
63129
|
/**
|
|
63097
63130
|
* Whether or not the request succeeded.
|
|
63098
63131
|
*/
|
|
@@ -63165,6 +63198,14 @@ class BatchDetailsResponse {
|
|
|
63165
63198
|
* Merchant's batch history in descending order.
|
|
63166
63199
|
*/
|
|
63167
63200
|
this.volumeByTerminal = null;
|
|
63201
|
+
/**
|
|
63202
|
+
* The net volume for this batch, usually expected volume less daily fees volume.
|
|
63203
|
+
*/
|
|
63204
|
+
this.netDeposit = null;
|
|
63205
|
+
/**
|
|
63206
|
+
* The daily fees for this batch
|
|
63207
|
+
*/
|
|
63208
|
+
this.dailyFees = null;
|
|
63168
63209
|
this.success = success;
|
|
63169
63210
|
this.error = error;
|
|
63170
63211
|
this.responseDescription = responseDescription;
|
|
@@ -63183,6 +63224,8 @@ class BatchDetailsResponse {
|
|
|
63183
63224
|
this.openDate = openDate;
|
|
63184
63225
|
this.closeDate = closeDate;
|
|
63185
63226
|
this.volumeByTerminal = volumeByTerminal;
|
|
63227
|
+
this.netDeposit = netDeposit;
|
|
63228
|
+
this.dailyFees = dailyFees;
|
|
63186
63229
|
}
|
|
63187
63230
|
}
|
|
63188
63231
|
exports.BatchDetailsResponse = BatchDetailsResponse;
|
|
@@ -69052,7 +69095,7 @@ exports.CoreRequest = CoreRequest;
|
|
|
69052
69095
|
*/
|
|
69053
69096
|
class PaymentMethodResponse {
|
|
69054
69097
|
// Constructor with default values for optional fields
|
|
69055
|
-
constructor(token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
69098
|
+
constructor(token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
69056
69099
|
/**
|
|
69057
69100
|
* Address verification results if address information was submitted.
|
|
69058
69101
|
*/
|
|
@@ -69076,6 +69119,9 @@ class PaymentMethodResponse {
|
|
|
69076
69119
|
this.cardHolder = cardHolder;
|
|
69077
69120
|
this.expMonth = expMonth;
|
|
69078
69121
|
this.expYear = expYear;
|
|
69122
|
+
this.postalCode = postalCode;
|
|
69123
|
+
this.address = address;
|
|
69124
|
+
this.country = country;
|
|
69079
69125
|
this.avsResponse = avsResponse;
|
|
69080
69126
|
this.cvvResponse = cvvResponse;
|
|
69081
69127
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -69218,7 +69264,7 @@ exports.PaymentAmounts = PaymentAmounts;
|
|
|
69218
69264
|
*/
|
|
69219
69265
|
class PaymentMethod {
|
|
69220
69266
|
// Constructor with default values for optional fields
|
|
69221
|
-
constructor(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) {
|
|
69267
|
+
constructor(token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined) {
|
|
69222
69268
|
this.token = token;
|
|
69223
69269
|
this.track1 = track1;
|
|
69224
69270
|
this.track2 = track2;
|
|
@@ -69230,6 +69276,7 @@ class PaymentMethod {
|
|
|
69230
69276
|
this.cvv = cvv;
|
|
69231
69277
|
this.address = address;
|
|
69232
69278
|
this.postalCode = postalCode;
|
|
69279
|
+
this.country = country;
|
|
69233
69280
|
this.manualEntry = manualEntry;
|
|
69234
69281
|
this.ksn = ksn;
|
|
69235
69282
|
this.pinBlock = pinBlock;
|