@netceterapx/click-to-pay-sdk 2.6.0 → 2.6.1
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.
|
@@ -2494,10 +2494,8 @@ var VisaDigitalCardDataStatusEnum = /* @__PURE__ */ ((VisaDigitalCardDataStatusE
|
|
|
2494
2494
|
return VisaDigitalCardDataStatusEnum2;
|
|
2495
2495
|
})(VisaDigitalCardDataStatusEnum || {});
|
|
2496
2496
|
var VisaIdentityTypeEnum = /* @__PURE__ */ ((VisaIdentityTypeEnum2) => {
|
|
2497
|
-
VisaIdentityTypeEnum2["
|
|
2498
|
-
VisaIdentityTypeEnum2["
|
|
2499
|
-
VisaIdentityTypeEnum2["CUSTOM_IDENTIFIER"] = "CUSTOM_IDENTIFIER";
|
|
2500
|
-
VisaIdentityTypeEnum2["FUTURE"] = "FUTURE";
|
|
2497
|
+
VisaIdentityTypeEnum2["EMAIL_ADDRESS"] = "EMAIL_ADDRESS";
|
|
2498
|
+
VisaIdentityTypeEnum2["MOBILE_PHONE_NUMBER"] = "MOBILE_PHONE_NUMBER";
|
|
2501
2499
|
return VisaIdentityTypeEnum2;
|
|
2502
2500
|
})(VisaIdentityTypeEnum || {});
|
|
2503
2501
|
var VisaComplianceTypeEnum = /* @__PURE__ */ ((VisaComplianceTypeEnum2) => {
|
|
@@ -8030,8 +8028,8 @@ const getMaskedEmailFromProfile = (orchestratorGetSrcProfileResponse) => {
|
|
|
8030
8028
|
}
|
|
8031
8029
|
if (profile.creditCardBrand === CreditCardBrand.VISA) {
|
|
8032
8030
|
const visaProfiles = profile.profiles;
|
|
8033
|
-
if (visaProfiles.length !== 0 && ((_b = visaProfiles[0].maskedConsumer) == null ? void 0 : _b.
|
|
8034
|
-
return visaProfiles[0].maskedConsumer.
|
|
8031
|
+
if (visaProfiles.length !== 0 && ((_b = visaProfiles[0].maskedConsumer) == null ? void 0 : _b.maskedEmailAddress)) {
|
|
8032
|
+
return visaProfiles[0].maskedConsumer.maskedEmailAddress;
|
|
8035
8033
|
}
|
|
8036
8034
|
}
|
|
8037
8035
|
if (profile.creditCardBrand === CreditCardBrand.AMEX) {
|
|
@@ -9529,7 +9527,7 @@ __publicField(_Orchestrator, "identityLookup", async (params) => {
|
|
|
9529
9527
|
VisaService.identityLookup,
|
|
9530
9528
|
{
|
|
9531
9529
|
identityValue: params.email,
|
|
9532
|
-
type: VisaIdentityTypeEnum.
|
|
9530
|
+
type: VisaIdentityTypeEnum.EMAIL_ADDRESS
|
|
9533
9531
|
},
|
|
9534
9532
|
CreditCardBrand.VISA
|
|
9535
9533
|
)
|