@blockchyp/blockchyp-ts 2.30.3 → 2.30.5
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 +1585 -1177
- 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 +24 -4
- package/lib/src/models.js +17 -4
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/models.ts +36 -1
package/package.json
CHANGED
package/src/models.ts
CHANGED
|
@@ -2036,6 +2036,11 @@ export class CustomerToken {
|
|
|
2036
2036
|
*/
|
|
2037
2037
|
cardHolderName?: string;
|
|
2038
2038
|
|
|
2039
|
+
/**
|
|
2040
|
+
* Whether the token was enrolled with a CVV value present.
|
|
2041
|
+
*/
|
|
2042
|
+
hasCvv: boolean | null = null;
|
|
2043
|
+
|
|
2039
2044
|
/**
|
|
2040
2045
|
* Models customer records associated with a payment token.
|
|
2041
2046
|
*/
|
|
@@ -2058,6 +2063,7 @@ export class CustomerToken {
|
|
|
2058
2063
|
address: string | undefined = undefined,
|
|
2059
2064
|
country: string | undefined = undefined,
|
|
2060
2065
|
cardHolderName: string | undefined = undefined,
|
|
2066
|
+
hasCvv: boolean | null = null,
|
|
2061
2067
|
customers: Customer[] | null = null,
|
|
2062
2068
|
) {
|
|
2063
2069
|
this.token = token;
|
|
@@ -2075,6 +2081,7 @@ export class CustomerToken {
|
|
|
2075
2081
|
this.address = address;
|
|
2076
2082
|
this.country = country;
|
|
2077
2083
|
this.cardHolderName = cardHolderName;
|
|
2084
|
+
this.hasCvv = hasCvv;
|
|
2078
2085
|
this.customers = customers;
|
|
2079
2086
|
}
|
|
2080
2087
|
}
|
|
@@ -2658,6 +2665,21 @@ export class AuthorizationRequest {
|
|
|
2658
2665
|
*/
|
|
2659
2666
|
externalPartnerMetadata?: string;
|
|
2660
2667
|
|
|
2668
|
+
/**
|
|
2669
|
+
* The external customer's email address.
|
|
2670
|
+
*/
|
|
2671
|
+
externalCustomerEmail?: string;
|
|
2672
|
+
|
|
2673
|
+
/**
|
|
2674
|
+
* The external customer's phone number.
|
|
2675
|
+
*/
|
|
2676
|
+
externalCustomerPhone?: string;
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* The external customer's company name.
|
|
2680
|
+
*/
|
|
2681
|
+
externalCustomerCompany?: string;
|
|
2682
|
+
|
|
2661
2683
|
// Constructor with default values for optional fields
|
|
2662
2684
|
constructor(
|
|
2663
2685
|
timeout: number | null = null,
|
|
@@ -2745,6 +2767,9 @@ export class AuthorizationRequest {
|
|
|
2745
2767
|
shipmentCount: number | null = null,
|
|
2746
2768
|
shipmentNumber: number | null = null,
|
|
2747
2769
|
externalPartnerMetadata: string | undefined = undefined,
|
|
2770
|
+
externalCustomerEmail: string | undefined = undefined,
|
|
2771
|
+
externalCustomerPhone: string | undefined = undefined,
|
|
2772
|
+
externalCustomerCompany: string | undefined = undefined,
|
|
2748
2773
|
) {
|
|
2749
2774
|
this.timeout = timeout;
|
|
2750
2775
|
this.test = test;
|
|
@@ -2831,6 +2856,9 @@ export class AuthorizationRequest {
|
|
|
2831
2856
|
this.shipmentCount = shipmentCount;
|
|
2832
2857
|
this.shipmentNumber = shipmentNumber;
|
|
2833
2858
|
this.externalPartnerMetadata = externalPartnerMetadata;
|
|
2859
|
+
this.externalCustomerEmail = externalCustomerEmail;
|
|
2860
|
+
this.externalCustomerPhone = externalCustomerPhone;
|
|
2861
|
+
this.externalCustomerCompany = externalCustomerCompany;
|
|
2834
2862
|
}
|
|
2835
2863
|
}
|
|
2836
2864
|
|
|
@@ -5571,6 +5599,11 @@ export class EnrollResponse {
|
|
|
5571
5599
|
*/
|
|
5572
5600
|
bin?: string;
|
|
5573
5601
|
|
|
5602
|
+
/**
|
|
5603
|
+
* Whether the token was enrolled with a CVV value present.
|
|
5604
|
+
*/
|
|
5605
|
+
hasCvv: boolean | null = null;
|
|
5606
|
+
|
|
5574
5607
|
// Constructor with default values for optional fields
|
|
5575
5608
|
constructor(
|
|
5576
5609
|
success: boolean | null = null,
|
|
@@ -5614,6 +5647,7 @@ export class EnrollResponse {
|
|
|
5614
5647
|
bankName: string | undefined = undefined,
|
|
5615
5648
|
tokenHash: string | undefined = undefined,
|
|
5616
5649
|
bin: string | undefined = undefined,
|
|
5650
|
+
hasCvv: boolean | null = null,
|
|
5617
5651
|
) {
|
|
5618
5652
|
this.success = success;
|
|
5619
5653
|
this.error = error;
|
|
@@ -5656,6 +5690,7 @@ export class EnrollResponse {
|
|
|
5656
5690
|
this.bankName = bankName;
|
|
5657
5691
|
this.tokenHash = tokenHash;
|
|
5658
5692
|
this.bin = bin;
|
|
5693
|
+
this.hasCvv = hasCvv;
|
|
5659
5694
|
}
|
|
5660
5695
|
}
|
|
5661
5696
|
|
|
@@ -9734,7 +9769,7 @@ export class BatchDetailsResponse {
|
|
|
9734
9769
|
netDeposit: string | null = null;
|
|
9735
9770
|
|
|
9736
9771
|
/**
|
|
9737
|
-
* The daily fees for this batch
|
|
9772
|
+
* The daily fees for this batch.
|
|
9738
9773
|
*/
|
|
9739
9774
|
dailyFees: string | null = null;
|
|
9740
9775
|
|