@blockchyp/blockchyp-ts 2.30.4 → 2.30.6
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 +590 -164
- 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 +31 -3
- package/lib/src/models.js +26 -3
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/models.ts +49 -0
package/package.json
CHANGED
package/src/models.ts
CHANGED
|
@@ -2665,6 +2665,21 @@ export class AuthorizationRequest {
|
|
|
2665
2665
|
*/
|
|
2666
2666
|
externalPartnerMetadata?: string;
|
|
2667
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
|
+
|
|
2668
2683
|
// Constructor with default values for optional fields
|
|
2669
2684
|
constructor(
|
|
2670
2685
|
timeout: number | null = null,
|
|
@@ -2752,6 +2767,9 @@ export class AuthorizationRequest {
|
|
|
2752
2767
|
shipmentCount: number | null = null,
|
|
2753
2768
|
shipmentNumber: number | null = null,
|
|
2754
2769
|
externalPartnerMetadata: string | undefined = undefined,
|
|
2770
|
+
externalCustomerEmail: string | undefined = undefined,
|
|
2771
|
+
externalCustomerPhone: string | undefined = undefined,
|
|
2772
|
+
externalCustomerCompany: string | undefined = undefined,
|
|
2755
2773
|
) {
|
|
2756
2774
|
this.timeout = timeout;
|
|
2757
2775
|
this.test = test;
|
|
@@ -2838,6 +2856,9 @@ export class AuthorizationRequest {
|
|
|
2838
2856
|
this.shipmentCount = shipmentCount;
|
|
2839
2857
|
this.shipmentNumber = shipmentNumber;
|
|
2840
2858
|
this.externalPartnerMetadata = externalPartnerMetadata;
|
|
2859
|
+
this.externalCustomerEmail = externalCustomerEmail;
|
|
2860
|
+
this.externalCustomerPhone = externalCustomerPhone;
|
|
2861
|
+
this.externalCustomerCompany = externalCustomerCompany;
|
|
2841
2862
|
}
|
|
2842
2863
|
}
|
|
2843
2864
|
|
|
@@ -10645,6 +10666,16 @@ export class MerchantProfile {
|
|
|
10645
10666
|
*/
|
|
10646
10667
|
bypassEnrollAuthEnabled: boolean | null = null;
|
|
10647
10668
|
|
|
10669
|
+
/**
|
|
10670
|
+
* That the merchant follows the partner's service fee settings.
|
|
10671
|
+
*/
|
|
10672
|
+
followPartnerServiceFeeEnabled: boolean | null = null;
|
|
10673
|
+
|
|
10674
|
+
/**
|
|
10675
|
+
* That the merchant is configured to apply a service fee.
|
|
10676
|
+
*/
|
|
10677
|
+
serviceFeeEnabled: boolean | null = null;
|
|
10678
|
+
|
|
10648
10679
|
// Constructor with default values for optional fields
|
|
10649
10680
|
constructor(
|
|
10650
10681
|
timeout: number | null = null,
|
|
@@ -10711,6 +10742,8 @@ export class MerchantProfile {
|
|
|
10711
10742
|
followPartnerAvsSettings: boolean | null = null,
|
|
10712
10743
|
accountUpdaterEnrolled: boolean | null = null,
|
|
10713
10744
|
bypassEnrollAuthEnabled: boolean | null = null,
|
|
10745
|
+
followPartnerServiceFeeEnabled: boolean | null = null,
|
|
10746
|
+
serviceFeeEnabled: boolean | null = null,
|
|
10714
10747
|
) {
|
|
10715
10748
|
this.timeout = timeout;
|
|
10716
10749
|
this.test = test;
|
|
@@ -10776,6 +10809,8 @@ export class MerchantProfile {
|
|
|
10776
10809
|
this.followPartnerAvsSettings = followPartnerAvsSettings;
|
|
10777
10810
|
this.accountUpdaterEnrolled = accountUpdaterEnrolled;
|
|
10778
10811
|
this.bypassEnrollAuthEnabled = bypassEnrollAuthEnabled;
|
|
10812
|
+
this.followPartnerServiceFeeEnabled = followPartnerServiceFeeEnabled;
|
|
10813
|
+
this.serviceFeeEnabled = serviceFeeEnabled;
|
|
10779
10814
|
}
|
|
10780
10815
|
}
|
|
10781
10816
|
|
|
@@ -11123,6 +11158,16 @@ export class MerchantProfileResponse {
|
|
|
11123
11158
|
*/
|
|
11124
11159
|
bypassEnrollAuthEnabled: boolean | null = null;
|
|
11125
11160
|
|
|
11161
|
+
/**
|
|
11162
|
+
* That the merchant follows the partner's service fee settings.
|
|
11163
|
+
*/
|
|
11164
|
+
followPartnerServiceFeeEnabled: boolean | null = null;
|
|
11165
|
+
|
|
11166
|
+
/**
|
|
11167
|
+
* That the merchant is configured to apply a service fee.
|
|
11168
|
+
*/
|
|
11169
|
+
serviceFeeEnabled: boolean | null = null;
|
|
11170
|
+
|
|
11126
11171
|
// Constructor with default values for optional fields
|
|
11127
11172
|
constructor(
|
|
11128
11173
|
success: boolean | null = null,
|
|
@@ -11191,6 +11236,8 @@ export class MerchantProfileResponse {
|
|
|
11191
11236
|
followPartnerAvsSettings: boolean | null = null,
|
|
11192
11237
|
accountUpdaterEnrolled: boolean | null = null,
|
|
11193
11238
|
bypassEnrollAuthEnabled: boolean | null = null,
|
|
11239
|
+
followPartnerServiceFeeEnabled: boolean | null = null,
|
|
11240
|
+
serviceFeeEnabled: boolean | null = null,
|
|
11194
11241
|
) {
|
|
11195
11242
|
this.success = success;
|
|
11196
11243
|
this.error = error;
|
|
@@ -11258,6 +11305,8 @@ export class MerchantProfileResponse {
|
|
|
11258
11305
|
this.followPartnerAvsSettings = followPartnerAvsSettings;
|
|
11259
11306
|
this.accountUpdaterEnrolled = accountUpdaterEnrolled;
|
|
11260
11307
|
this.bypassEnrollAuthEnabled = bypassEnrollAuthEnabled;
|
|
11308
|
+
this.followPartnerServiceFeeEnabled = followPartnerServiceFeeEnabled;
|
|
11309
|
+
this.serviceFeeEnabled = serviceFeeEnabled;
|
|
11261
11310
|
}
|
|
11262
11311
|
}
|
|
11263
11312
|
|