@blockchyp/blockchyp-ts 2.30.3 → 2.30.4
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 +1495 -1122
- package/_bundles/blockchyp.js.map +1 -1
- package/_bundles/blockchyp.min.js +1 -1
- package/_bundles/blockchyp.min.js.LICENSE.txt +1 -1
- package/_bundles/blockchyp.min.js.map +1 -1
- package/lib/src/models.d.ts +11 -3
- package/lib/src/models.js +13 -3
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/models.ts +15 -1
package/lib/src/models.d.ts
CHANGED
|
@@ -1204,11 +1204,15 @@ export declare class CustomerToken {
|
|
|
1204
1204
|
* The card holder name.
|
|
1205
1205
|
*/
|
|
1206
1206
|
cardHolderName?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* Whether the token was enrolled with a CVV value present.
|
|
1209
|
+
*/
|
|
1210
|
+
hasCvv: boolean | null;
|
|
1207
1211
|
/**
|
|
1208
1212
|
* Models customer records associated with a payment token.
|
|
1209
1213
|
*/
|
|
1210
1214
|
customers: Customer[] | null;
|
|
1211
|
-
constructor(token?: string | null, maskedPan?: string | null, expiryMonth?: string | null, expiryYear?: string | null, paymentType?: string | null, accountType?: string | null, accountHolderType?: string | null, bankName?: string | null, routingNumber?: string | null, tokenHash?: string | null, bin?: string | null, postalCode?: string | undefined, address?: string | undefined, country?: string | undefined, cardHolderName?: string | undefined, customers?: Customer[] | null);
|
|
1215
|
+
constructor(token?: string | null, maskedPan?: string | null, expiryMonth?: string | null, expiryYear?: string | null, paymentType?: string | null, accountType?: string | null, accountHolderType?: string | null, bankName?: string | null, routingNumber?: string | null, tokenHash?: string | null, bin?: string | null, postalCode?: string | undefined, address?: string | undefined, country?: string | undefined, cardHolderName?: string | undefined, hasCvv?: boolean | null, customers?: Customer[] | null);
|
|
1212
1216
|
}
|
|
1213
1217
|
/**
|
|
1214
1218
|
* The response to a text prompt request.
|
|
@@ -3308,7 +3312,11 @@ export declare class EnrollResponse {
|
|
|
3308
3312
|
* The first 8 digits of the card aka the BIN.
|
|
3309
3313
|
*/
|
|
3310
3314
|
bin?: string;
|
|
3311
|
-
|
|
3315
|
+
/**
|
|
3316
|
+
* Whether the token was enrolled with a CVV value present.
|
|
3317
|
+
*/
|
|
3318
|
+
hasCvv: boolean | null;
|
|
3319
|
+
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, approved?: boolean | null, authCode?: string | undefined, authResponseCode?: string | undefined, transactionId?: string | null, batchId?: string | undefined, transactionRef?: string | undefined, transactionType?: string | null, timestamp?: string | null, tickBlock?: string | null, test?: boolean | null, destinationAccount?: string | undefined, sig?: string | undefined, token?: string | undefined, entryMethod?: string | undefined, paymentType?: string | undefined, network?: string | undefined, logo?: string | undefined, maskedPan?: string | undefined, publicKey?: string | undefined, ScopeAlert?: boolean, cardHolder?: string | undefined, expMonth?: string | undefined, expYear?: string | undefined, postalCode?: string | undefined, address?: string | undefined, country?: string | undefined, avsResponse?: AVSResponse | null, cvvResponse?: string | undefined, receiptSuggestions?: ReceiptSuggestions | null, customer?: Customer | undefined, customers?: Customer[] | null, sigFile?: string | undefined, cardMetadata?: CardMetadata | undefined, accountType?: string | undefined, accountHolderType?: string | undefined, bankName?: string | undefined, tokenHash?: string | undefined, bin?: string | undefined, hasCvv?: boolean | null);
|
|
3312
3320
|
}
|
|
3313
3321
|
/**
|
|
3314
3322
|
* The information needed to enroll a new payment method in the token vault.
|
|
@@ -5712,7 +5720,7 @@ export declare class BatchDetailsResponse {
|
|
|
5712
5720
|
*/
|
|
5713
5721
|
netDeposit: string | null;
|
|
5714
5722
|
/**
|
|
5715
|
-
* The daily fees for this batch
|
|
5723
|
+
* The daily fees for this batch.
|
|
5716
5724
|
*/
|
|
5717
5725
|
dailyFees: string | null;
|
|
5718
5726
|
constructor(success?: boolean | null, error?: string | null, responseDescription?: string | null, test?: boolean | null, batchId?: string | null, entryMethod?: string | null, destinationAccountId?: string | null, capturedAmount?: string | null, openPreauths?: string | null, totalVolume?: string | null, transactionCount?: number | null, giftCardsSold?: string | null, giftCardVolume?: string | null, expectedDeposit?: string | null, open?: boolean | null, openDate?: Date | null, closeDate?: Date | null, volumeByTerminal?: TerminalVolume[] | null, netDeposit?: string | null, dailyFees?: string | null);
|
package/lib/src/models.js
CHANGED
|
@@ -999,7 +999,7 @@ exports.UpdateTokenResponse = UpdateTokenResponse;
|
|
|
999
999
|
*/
|
|
1000
1000
|
class CustomerToken {
|
|
1001
1001
|
// Constructor with default values for optional fields
|
|
1002
|
-
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) {
|
|
1002
|
+
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, hasCvv = null, customers = null) {
|
|
1003
1003
|
/**
|
|
1004
1004
|
* BlockChyp assigned customer id.
|
|
1005
1005
|
*/
|
|
@@ -1044,6 +1044,10 @@ class CustomerToken {
|
|
|
1044
1044
|
* Card bin.
|
|
1045
1045
|
*/
|
|
1046
1046
|
this.bin = null;
|
|
1047
|
+
/**
|
|
1048
|
+
* Whether the token was enrolled with a CVV value present.
|
|
1049
|
+
*/
|
|
1050
|
+
this.hasCvv = null;
|
|
1047
1051
|
/**
|
|
1048
1052
|
* Models customer records associated with a payment token.
|
|
1049
1053
|
*/
|
|
@@ -1063,6 +1067,7 @@ class CustomerToken {
|
|
|
1063
1067
|
this.address = address;
|
|
1064
1068
|
this.country = country;
|
|
1065
1069
|
this.cardHolderName = cardHolderName;
|
|
1070
|
+
this.hasCvv = hasCvv;
|
|
1066
1071
|
this.customers = customers;
|
|
1067
1072
|
}
|
|
1068
1073
|
}
|
|
@@ -2221,7 +2226,7 @@ exports.EnrollRequest = EnrollRequest;
|
|
|
2221
2226
|
*/
|
|
2222
2227
|
class EnrollResponse {
|
|
2223
2228
|
// Constructor with default values for optional fields
|
|
2224
|
-
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) {
|
|
2229
|
+
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, hasCvv = null) {
|
|
2225
2230
|
/**
|
|
2226
2231
|
* Whether or not the request succeeded.
|
|
2227
2232
|
*/
|
|
@@ -2270,6 +2275,10 @@ class EnrollResponse {
|
|
|
2270
2275
|
* Customer data, if any.
|
|
2271
2276
|
*/
|
|
2272
2277
|
this.customers = null;
|
|
2278
|
+
/**
|
|
2279
|
+
* Whether the token was enrolled with a CVV value present.
|
|
2280
|
+
*/
|
|
2281
|
+
this.hasCvv = null;
|
|
2273
2282
|
this.success = success;
|
|
2274
2283
|
this.error = error;
|
|
2275
2284
|
this.responseDescription = responseDescription;
|
|
@@ -2311,6 +2320,7 @@ class EnrollResponse {
|
|
|
2311
2320
|
this.bankName = bankName;
|
|
2312
2321
|
this.tokenHash = tokenHash;
|
|
2313
2322
|
this.bin = bin;
|
|
2323
|
+
this.hasCvv = hasCvv;
|
|
2314
2324
|
}
|
|
2315
2325
|
}
|
|
2316
2326
|
exports.EnrollResponse = EnrollResponse;
|
|
@@ -4467,7 +4477,7 @@ class BatchDetailsResponse {
|
|
|
4467
4477
|
*/
|
|
4468
4478
|
this.netDeposit = null;
|
|
4469
4479
|
/**
|
|
4470
|
-
* The daily fees for this batch
|
|
4480
|
+
* The daily fees for this batch.
|
|
4471
4481
|
*/
|
|
4472
4482
|
this.dailyFees = null;
|
|
4473
4483
|
this.success = success;
|