@blockchyp/blockchyp-ts 2.23.0 → 2.24.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 +70 -10
- 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 +84 -10
- package/lib/src/models.js +70 -10
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/models.ts +128 -0
package/package.json
CHANGED
package/src/models.ts
CHANGED
|
@@ -2994,6 +2994,11 @@ export class CardMetadataResponse {
|
|
|
2994
2994
|
*/
|
|
2995
2995
|
avsResponse: AVSResponse | null = null;
|
|
2996
2996
|
|
|
2997
|
+
/**
|
|
2998
|
+
* The CVV verification result if CVV was submitted.
|
|
2999
|
+
*/
|
|
3000
|
+
cvvResponse?: string;
|
|
3001
|
+
|
|
2997
3002
|
/**
|
|
2998
3003
|
* Suggested receipt fields.
|
|
2999
3004
|
*/
|
|
@@ -3031,6 +3036,7 @@ export class CardMetadataResponse {
|
|
|
3031
3036
|
expMonth: string | undefined = undefined,
|
|
3032
3037
|
expYear: string | undefined = undefined,
|
|
3033
3038
|
avsResponse: AVSResponse | null = null,
|
|
3039
|
+
cvvResponse: string | undefined = undefined,
|
|
3034
3040
|
receiptSuggestions: ReceiptSuggestions | null = null,
|
|
3035
3041
|
customer: Customer | undefined = undefined,
|
|
3036
3042
|
customers: Customer[] | null = null,
|
|
@@ -3051,6 +3057,7 @@ export class CardMetadataResponse {
|
|
|
3051
3057
|
this.expMonth = expMonth;
|
|
3052
3058
|
this.expYear = expYear;
|
|
3053
3059
|
this.avsResponse = avsResponse;
|
|
3060
|
+
this.cvvResponse = cvvResponse;
|
|
3054
3061
|
this.receiptSuggestions = receiptSuggestions;
|
|
3055
3062
|
this.customer = customer;
|
|
3056
3063
|
this.customers = customers;
|
|
@@ -3414,6 +3421,11 @@ export class BalanceResponse {
|
|
|
3414
3421
|
*/
|
|
3415
3422
|
avsResponse: AVSResponse | null = null;
|
|
3416
3423
|
|
|
3424
|
+
/**
|
|
3425
|
+
* The CVV verification result if CVV was submitted.
|
|
3426
|
+
*/
|
|
3427
|
+
cvvResponse?: string;
|
|
3428
|
+
|
|
3417
3429
|
/**
|
|
3418
3430
|
* Suggested receipt fields.
|
|
3419
3431
|
*/
|
|
@@ -3460,6 +3472,7 @@ export class BalanceResponse {
|
|
|
3460
3472
|
expMonth: string | undefined = undefined,
|
|
3461
3473
|
expYear: string | undefined = undefined,
|
|
3462
3474
|
avsResponse: AVSResponse | null = null,
|
|
3475
|
+
cvvResponse: string | undefined = undefined,
|
|
3463
3476
|
receiptSuggestions: ReceiptSuggestions | null = null,
|
|
3464
3477
|
customer: Customer | undefined = undefined,
|
|
3465
3478
|
customers: Customer[] | null = null,
|
|
@@ -3489,6 +3502,7 @@ export class BalanceResponse {
|
|
|
3489
3502
|
this.expMonth = expMonth;
|
|
3490
3503
|
this.expYear = expYear;
|
|
3491
3504
|
this.avsResponse = avsResponse;
|
|
3505
|
+
this.cvvResponse = cvvResponse;
|
|
3492
3506
|
this.receiptSuggestions = receiptSuggestions;
|
|
3493
3507
|
this.customer = customer;
|
|
3494
3508
|
this.customers = customers;
|
|
@@ -4228,6 +4242,11 @@ export class CaptureResponse {
|
|
|
4228
4242
|
*/
|
|
4229
4243
|
avsResponse: AVSResponse | null = null;
|
|
4230
4244
|
|
|
4245
|
+
/**
|
|
4246
|
+
* The CVV verification result if CVV was submitted.
|
|
4247
|
+
*/
|
|
4248
|
+
cvvResponse?: string;
|
|
4249
|
+
|
|
4231
4250
|
/**
|
|
4232
4251
|
* Suggested receipt fields.
|
|
4233
4252
|
*/
|
|
@@ -4283,6 +4302,7 @@ export class CaptureResponse {
|
|
|
4283
4302
|
expMonth: string | undefined = undefined,
|
|
4284
4303
|
expYear: string | undefined = undefined,
|
|
4285
4304
|
avsResponse: AVSResponse | null = null,
|
|
4305
|
+
cvvResponse: string | undefined = undefined,
|
|
4286
4306
|
receiptSuggestions: ReceiptSuggestions | null = null,
|
|
4287
4307
|
customer: Customer | undefined = undefined,
|
|
4288
4308
|
customers: Customer[] | null = null,
|
|
@@ -4325,6 +4345,7 @@ export class CaptureResponse {
|
|
|
4325
4345
|
this.expMonth = expMonth;
|
|
4326
4346
|
this.expYear = expYear;
|
|
4327
4347
|
this.avsResponse = avsResponse;
|
|
4348
|
+
this.cvvResponse = cvvResponse;
|
|
4328
4349
|
this.receiptSuggestions = receiptSuggestions;
|
|
4329
4350
|
this.customer = customer;
|
|
4330
4351
|
this.customers = customers;
|
|
@@ -4578,6 +4599,11 @@ export class VoidResponse {
|
|
|
4578
4599
|
*/
|
|
4579
4600
|
avsResponse: AVSResponse | null = null;
|
|
4580
4601
|
|
|
4602
|
+
/**
|
|
4603
|
+
* The CVV verification result if CVV was submitted.
|
|
4604
|
+
*/
|
|
4605
|
+
cvvResponse?: string;
|
|
4606
|
+
|
|
4581
4607
|
/**
|
|
4582
4608
|
* Suggested receipt fields.
|
|
4583
4609
|
*/
|
|
@@ -4627,6 +4653,7 @@ export class VoidResponse {
|
|
|
4627
4653
|
expMonth: string | undefined = undefined,
|
|
4628
4654
|
expYear: string | undefined = undefined,
|
|
4629
4655
|
avsResponse: AVSResponse | null = null,
|
|
4656
|
+
cvvResponse: string | undefined = undefined,
|
|
4630
4657
|
receiptSuggestions: ReceiptSuggestions | null = null,
|
|
4631
4658
|
customer: Customer | undefined = undefined,
|
|
4632
4659
|
customers: Customer[] | null = null,
|
|
@@ -4659,6 +4686,7 @@ export class VoidResponse {
|
|
|
4659
4686
|
this.expMonth = expMonth;
|
|
4660
4687
|
this.expYear = expYear;
|
|
4661
4688
|
this.avsResponse = avsResponse;
|
|
4689
|
+
this.cvvResponse = cvvResponse;
|
|
4662
4690
|
this.receiptSuggestions = receiptSuggestions;
|
|
4663
4691
|
this.customer = customer;
|
|
4664
4692
|
this.customers = customers;
|
|
@@ -5095,6 +5123,11 @@ export class EnrollResponse {
|
|
|
5095
5123
|
*/
|
|
5096
5124
|
avsResponse: AVSResponse | null = null;
|
|
5097
5125
|
|
|
5126
|
+
/**
|
|
5127
|
+
* The CVV verification result if CVV was submitted.
|
|
5128
|
+
*/
|
|
5129
|
+
cvvResponse?: string;
|
|
5130
|
+
|
|
5098
5131
|
/**
|
|
5099
5132
|
* Suggested receipt fields.
|
|
5100
5133
|
*/
|
|
@@ -5175,6 +5208,7 @@ export class EnrollResponse {
|
|
|
5175
5208
|
expMonth: string | undefined = undefined,
|
|
5176
5209
|
expYear: string | undefined = undefined,
|
|
5177
5210
|
avsResponse: AVSResponse | null = null,
|
|
5211
|
+
cvvResponse: string | undefined = undefined,
|
|
5178
5212
|
receiptSuggestions: ReceiptSuggestions | null = null,
|
|
5179
5213
|
customer: Customer | undefined = undefined,
|
|
5180
5214
|
customers: Customer[] | null = null,
|
|
@@ -5213,6 +5247,7 @@ export class EnrollResponse {
|
|
|
5213
5247
|
this.expMonth = expMonth;
|
|
5214
5248
|
this.expYear = expYear;
|
|
5215
5249
|
this.avsResponse = avsResponse;
|
|
5250
|
+
this.cvvResponse = cvvResponse;
|
|
5216
5251
|
this.receiptSuggestions = receiptSuggestions;
|
|
5217
5252
|
this.customer = customer;
|
|
5218
5253
|
this.customers = customers;
|
|
@@ -6367,6 +6402,11 @@ export class AuthorizationResponse {
|
|
|
6367
6402
|
*/
|
|
6368
6403
|
avsResponse: AVSResponse | null = null;
|
|
6369
6404
|
|
|
6405
|
+
/**
|
|
6406
|
+
* The CVV verification result if CVV was submitted.
|
|
6407
|
+
*/
|
|
6408
|
+
cvvResponse?: string;
|
|
6409
|
+
|
|
6370
6410
|
/**
|
|
6371
6411
|
* Suggested receipt fields.
|
|
6372
6412
|
*/
|
|
@@ -6458,6 +6498,7 @@ export class AuthorizationResponse {
|
|
|
6458
6498
|
expMonth: string | undefined = undefined,
|
|
6459
6499
|
expYear: string | undefined = undefined,
|
|
6460
6500
|
avsResponse: AVSResponse | null = null,
|
|
6501
|
+
cvvResponse: string | undefined = undefined,
|
|
6461
6502
|
receiptSuggestions: ReceiptSuggestions | null = null,
|
|
6462
6503
|
customer: Customer | undefined = undefined,
|
|
6463
6504
|
customers: Customer[] | null = null,
|
|
@@ -6515,6 +6556,7 @@ export class AuthorizationResponse {
|
|
|
6515
6556
|
this.expMonth = expMonth;
|
|
6516
6557
|
this.expYear = expYear;
|
|
6517
6558
|
this.avsResponse = avsResponse;
|
|
6559
|
+
this.cvvResponse = cvvResponse;
|
|
6518
6560
|
this.receiptSuggestions = receiptSuggestions;
|
|
6519
6561
|
this.customer = customer;
|
|
6520
6562
|
this.customers = customers;
|
|
@@ -7056,6 +7098,11 @@ export class TransactionStatus {
|
|
|
7056
7098
|
*/
|
|
7057
7099
|
avsResponse: AVSResponse | null = null;
|
|
7058
7100
|
|
|
7101
|
+
/**
|
|
7102
|
+
* The CVV verification result if CVV was submitted.
|
|
7103
|
+
*/
|
|
7104
|
+
cvvResponse?: string;
|
|
7105
|
+
|
|
7059
7106
|
/**
|
|
7060
7107
|
* Suggested receipt fields.
|
|
7061
7108
|
*/
|
|
@@ -7121,6 +7168,7 @@ export class TransactionStatus {
|
|
|
7121
7168
|
expMonth: string | undefined = undefined,
|
|
7122
7169
|
expYear: string | undefined = undefined,
|
|
7123
7170
|
avsResponse: AVSResponse | null = null,
|
|
7171
|
+
cvvResponse: string | undefined = undefined,
|
|
7124
7172
|
receiptSuggestions: ReceiptSuggestions | null = null,
|
|
7125
7173
|
customer: Customer | undefined = undefined,
|
|
7126
7174
|
customers: Customer[] | null = null,
|
|
@@ -7165,6 +7213,7 @@ export class TransactionStatus {
|
|
|
7165
7213
|
this.expMonth = expMonth;
|
|
7166
7214
|
this.expYear = expYear;
|
|
7167
7215
|
this.avsResponse = avsResponse;
|
|
7216
|
+
this.cvvResponse = cvvResponse;
|
|
7168
7217
|
this.receiptSuggestions = receiptSuggestions;
|
|
7169
7218
|
this.customer = customer;
|
|
7170
7219
|
this.customers = customers;
|
|
@@ -10044,6 +10093,32 @@ export class MerchantProfile {
|
|
|
10044
10093
|
*/
|
|
10045
10094
|
passthroughSurchargeEnabled: boolean | null = null;
|
|
10046
10095
|
|
|
10096
|
+
/**
|
|
10097
|
+
* That CVV verification is enabled for manually entered transactions.
|
|
10098
|
+
*/
|
|
10099
|
+
cvvVerificationEnabled: boolean | null = null;
|
|
10100
|
+
|
|
10101
|
+
/**
|
|
10102
|
+
* That CVV mismatch (N) responses should be declined.
|
|
10103
|
+
*/
|
|
10104
|
+
cvvVerificationNEnabled: boolean | null = null;
|
|
10105
|
+
|
|
10106
|
+
/**
|
|
10107
|
+
* That CVV not processed (P) responses should be declined.
|
|
10108
|
+
*/
|
|
10109
|
+
cvvVerificationPEnabled: boolean | null = null;
|
|
10110
|
+
|
|
10111
|
+
/**
|
|
10112
|
+
* That CVV should be on card but is not indicated (S) responses should be declined.
|
|
10113
|
+
*/
|
|
10114
|
+
cvvVerificationSEnabled: boolean | null = null;
|
|
10115
|
+
|
|
10116
|
+
/**
|
|
10117
|
+
* That issuer not certified or has not provided encryption key (U) responses should be
|
|
10118
|
+
* declined.
|
|
10119
|
+
*/
|
|
10120
|
+
cvvVerificationUEnabled: boolean | null = null;
|
|
10121
|
+
|
|
10047
10122
|
// Constructor with default values for optional fields
|
|
10048
10123
|
constructor(
|
|
10049
10124
|
timeout: number | null = null,
|
|
@@ -10100,6 +10175,11 @@ export class MerchantProfile {
|
|
|
10100
10175
|
gatewayOnly: boolean | null = null,
|
|
10101
10176
|
bankAccounts: BankAccount[] | null = null,
|
|
10102
10177
|
passthroughSurchargeEnabled: boolean | null = null,
|
|
10178
|
+
cvvVerificationEnabled: boolean | null = null,
|
|
10179
|
+
cvvVerificationNEnabled: boolean | null = null,
|
|
10180
|
+
cvvVerificationPEnabled: boolean | null = null,
|
|
10181
|
+
cvvVerificationSEnabled: boolean | null = null,
|
|
10182
|
+
cvvVerificationUEnabled: boolean | null = null,
|
|
10103
10183
|
) {
|
|
10104
10184
|
this.timeout = timeout;
|
|
10105
10185
|
this.test = test;
|
|
@@ -10155,6 +10235,11 @@ export class MerchantProfile {
|
|
|
10155
10235
|
this.gatewayOnly = gatewayOnly;
|
|
10156
10236
|
this.bankAccounts = bankAccounts;
|
|
10157
10237
|
this.passthroughSurchargeEnabled = passthroughSurchargeEnabled;
|
|
10238
|
+
this.cvvVerificationEnabled = cvvVerificationEnabled;
|
|
10239
|
+
this.cvvVerificationNEnabled = cvvVerificationNEnabled;
|
|
10240
|
+
this.cvvVerificationPEnabled = cvvVerificationPEnabled;
|
|
10241
|
+
this.cvvVerificationSEnabled = cvvVerificationSEnabled;
|
|
10242
|
+
this.cvvVerificationUEnabled = cvvVerificationUEnabled;
|
|
10158
10243
|
}
|
|
10159
10244
|
}
|
|
10160
10245
|
|
|
@@ -10447,6 +10532,32 @@ export class MerchantProfileResponse {
|
|
|
10447
10532
|
*/
|
|
10448
10533
|
passthroughSurchargeEnabled: boolean | null = null;
|
|
10449
10534
|
|
|
10535
|
+
/**
|
|
10536
|
+
* That CVV verification is enabled for manually entered transactions.
|
|
10537
|
+
*/
|
|
10538
|
+
cvvVerificationEnabled: boolean | null = null;
|
|
10539
|
+
|
|
10540
|
+
/**
|
|
10541
|
+
* That CVV mismatch (N) responses should be declined.
|
|
10542
|
+
*/
|
|
10543
|
+
cvvVerificationNEnabled: boolean | null = null;
|
|
10544
|
+
|
|
10545
|
+
/**
|
|
10546
|
+
* That CVV not processed (P) responses should be declined.
|
|
10547
|
+
*/
|
|
10548
|
+
cvvVerificationPEnabled: boolean | null = null;
|
|
10549
|
+
|
|
10550
|
+
/**
|
|
10551
|
+
* That CVV should be on card but is not indicated (S) responses should be declined.
|
|
10552
|
+
*/
|
|
10553
|
+
cvvVerificationSEnabled: boolean | null = null;
|
|
10554
|
+
|
|
10555
|
+
/**
|
|
10556
|
+
* That issuer not certified or has not provided encryption key (U) responses should be
|
|
10557
|
+
* declined.
|
|
10558
|
+
*/
|
|
10559
|
+
cvvVerificationUEnabled: boolean | null = null;
|
|
10560
|
+
|
|
10450
10561
|
// Constructor with default values for optional fields
|
|
10451
10562
|
constructor(
|
|
10452
10563
|
success: boolean | null = null,
|
|
@@ -10505,6 +10616,11 @@ export class MerchantProfileResponse {
|
|
|
10505
10616
|
gatewayOnly: boolean | null = null,
|
|
10506
10617
|
bankAccounts: BankAccount[] | null = null,
|
|
10507
10618
|
passthroughSurchargeEnabled: boolean | null = null,
|
|
10619
|
+
cvvVerificationEnabled: boolean | null = null,
|
|
10620
|
+
cvvVerificationNEnabled: boolean | null = null,
|
|
10621
|
+
cvvVerificationPEnabled: boolean | null = null,
|
|
10622
|
+
cvvVerificationSEnabled: boolean | null = null,
|
|
10623
|
+
cvvVerificationUEnabled: boolean | null = null,
|
|
10508
10624
|
) {
|
|
10509
10625
|
this.success = success;
|
|
10510
10626
|
this.error = error;
|
|
@@ -10562,6 +10678,11 @@ export class MerchantProfileResponse {
|
|
|
10562
10678
|
this.gatewayOnly = gatewayOnly;
|
|
10563
10679
|
this.bankAccounts = bankAccounts;
|
|
10564
10680
|
this.passthroughSurchargeEnabled = passthroughSurchargeEnabled;
|
|
10681
|
+
this.cvvVerificationEnabled = cvvVerificationEnabled;
|
|
10682
|
+
this.cvvVerificationNEnabled = cvvVerificationNEnabled;
|
|
10683
|
+
this.cvvVerificationPEnabled = cvvVerificationPEnabled;
|
|
10684
|
+
this.cvvVerificationSEnabled = cvvVerificationSEnabled;
|
|
10685
|
+
this.cvvVerificationUEnabled = cvvVerificationUEnabled;
|
|
10565
10686
|
}
|
|
10566
10687
|
}
|
|
10567
10688
|
|
|
@@ -17682,6 +17803,11 @@ export class PaymentMethodResponse {
|
|
|
17682
17803
|
*/
|
|
17683
17804
|
avsResponse: AVSResponse | null = null;
|
|
17684
17805
|
|
|
17806
|
+
/**
|
|
17807
|
+
* The CVV verification result if CVV was submitted.
|
|
17808
|
+
*/
|
|
17809
|
+
cvvResponse?: string;
|
|
17810
|
+
|
|
17685
17811
|
/**
|
|
17686
17812
|
* Suggested receipt fields.
|
|
17687
17813
|
*/
|
|
@@ -17710,6 +17836,7 @@ export class PaymentMethodResponse {
|
|
|
17710
17836
|
expMonth: string | undefined = undefined,
|
|
17711
17837
|
expYear: string | undefined = undefined,
|
|
17712
17838
|
avsResponse: AVSResponse | null = null,
|
|
17839
|
+
cvvResponse: string | undefined = undefined,
|
|
17713
17840
|
receiptSuggestions: ReceiptSuggestions | null = null,
|
|
17714
17841
|
customer: Customer | undefined = undefined,
|
|
17715
17842
|
customers: Customer[] | null = null,
|
|
@@ -17726,6 +17853,7 @@ export class PaymentMethodResponse {
|
|
|
17726
17853
|
this.expMonth = expMonth;
|
|
17727
17854
|
this.expYear = expYear;
|
|
17728
17855
|
this.avsResponse = avsResponse;
|
|
17856
|
+
this.cvvResponse = cvvResponse;
|
|
17729
17857
|
this.receiptSuggestions = receiptSuggestions;
|
|
17730
17858
|
this.customer = customer;
|
|
17731
17859
|
this.customers = customers;
|