@adyen/kyc-components 3.75.1 → 3.75.2
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/dist/{AcceptTermsOfServiceComponent-Bxs_6ALu.js → AcceptTermsOfServiceComponent-BmYQOI8L.js} +6 -6
- package/dist/{AccountSetupRejected-D-41RkTQ.js → AccountSetupRejected-DBoxaehv.js} +2 -2
- package/dist/{Avatar-B6ZaBM6r.js → Avatar-COEyy-KW.js} +1 -1
- package/dist/{BusinessDetailsDropin-_0bQkSDk.js → BusinessDetailsDropin-DhG9P7Tn.js} +7 -7
- package/dist/{BusinessFinancingComponent-CR-qE_jU.js → BusinessFinancingComponent-BYX0Nf8D.js} +2 -2
- package/dist/{BusinessFinancingDropin-hQ_fp4ik.js → BusinessFinancingDropin-DfPKc3Ez.js} +9 -9
- package/dist/{BusinessFinancingPage-Cv0QwfxK.js → BusinessFinancingPage-drHthgr4.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-CUlL7E9v.js → BusinessTypeSelectionPage-zUmYXWDy.js} +4 -4
- package/dist/{ContractViewer-QH-A-5az.js → ContractViewer-B0JHWjiv.js} +1 -1
- package/dist/{CreateIndividualComponent-2VNdsk70.js → CreateIndividualComponent-aFdH-z1d.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-CLniHtej.js → CreateTransferInstrumentComponent-IG6iQKux.js} +2 -2
- package/dist/{CustomerSupport-Dtdkk_S7.js → CustomerSupport-BcjYX2-V.js} +5 -5
- package/dist/{DebugModal-FzbNpLlg.js → DebugModal-Bs62FRHL.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-C34_f3Rp.js → DecisionMakerDetailsPage-CA9ta9cB.js} +3 -3
- package/dist/{DecisionMakers-CpK6p9hL.js → DecisionMakers-ng4_2-lH.js} +4 -4
- package/dist/{EmbeddedStatus-CRGmQP3Z.js → EmbeddedStatus-BoAlthok.js} +2 -2
- package/dist/{FormEndState-DRPgUL8M.js → FormEndState-ByfEc7Tq.js} +1 -1
- package/dist/{FormFlow-C2XCkORS.js → FormFlow-jgIT2Fcv.js} +2 -2
- package/dist/{IndividualOnfidoDropin-ByfJVjao.js → IndividualOnfidoDropin-DmYwURqh.js} +13 -74
- package/dist/{Introduction-qFmdtgda.js → Introduction-9B_FnJJC.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-iQU51rtq.js → LegalRepresentativeDetailsPage-DKcbC6rL.js} +3 -3
- package/dist/{ManageIndividualComponent-C524YNi6.js → ManageIndividualComponent-BpDGFwxh.js} +3 -3
- package/dist/{ManagePCIComponent-BqkeqFJq.js → ManagePCIComponent-CcIimUFu.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BGCGS2FY.js → ManageTermsOfServiceComponent-BW7zVYqn.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-2JzL9pPy.js → ManageTransferInstrumentComponent-DLzwUOIJ.js} +3 -3
- package/dist/{OnboardingDropinComponent-CGKrYmvd.js → OnboardingDropinComponent-BdujMgc9.js} +32 -32
- package/dist/{ProviderButton-B_gZtoaX.js → ProviderButton-fZ38Jziq.js} +2 -2
- package/dist/{Review-B4ipNnn9.js → Review-CFQ8GOgN.js} +3 -3
- package/dist/{RootBusinessDetailsPage-BQA6Q8ut.js → RootBusinessDetailsPage-DRcBiW5N.js} +2 -2
- package/dist/{RootIndividualDetailsPage-GgR9k4hv.js → RootIndividualDetailsPage-BAH2gtoO.js} +3 -3
- package/dist/{SignPCIComponent-D6SIAZq0.js → SignPCIComponent-CniDZa6e.js} +5 -5
- package/dist/{SingpassSelection-B6RLmixE.js → SingpassSelection-tTUe5jkO.js} +2 -2
- package/dist/{SoleProprietorshipPage-BsCX26-i.js → SoleProprietorshipPage-XQIiEcf8.js} +2 -2
- package/dist/{SourceOfFunds.module-C5OTlF1R.js → SourceOfFunds.module-harSUkaI.js} +1 -1
- package/dist/{SourceOfFundsPage-BOrnEmLw.js → SourceOfFundsPage-CAf4do23.js} +10 -10
- package/dist/{StoreProvider-B5TxRGb4.js → StoreProvider-BKozHFpZ.js} +301 -219
- package/dist/{TaskItemStatus-B2Ap0YA1.js → TaskItemStatus-Bml7f4lw.js} +2 -2
- package/dist/{TaxReportingDropin-Bmuf_QUL.js → TaxReportingDropin-CjdDMLvN.js} +7 -7
- package/dist/{TileGroup-DvTKsLWY.js → TileGroup-BVBuyW4s.js} +2 -2
- package/dist/{TrustDetailsPage-CM8tUPoT.js → TrustDetailsPage-D3j4a0sg.js} +5 -5
- package/dist/{TrustMemberCompanyPage-DdjSbCEz.js → TrustMemberCompanyPage-7O4O9IYz.js} +3 -3
- package/dist/{TrustMemberIndividualPage-Ygdlvuum.js → TrustMemberIndividualPage-C06qF9EL.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-DzHFTpTE.js → UnincorporatedPartnershipIndividualPage-DVvxtRMW.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-yOEbYE3X.js → UnincorporatedPartnershipMemberCompanyPage-D1t-ue59.js} +2 -2
- package/dist/{VerificationErrorAlert-DG6OB5OP.js → VerificationErrorAlert-B-hbRot6.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-1ec1ThAn.js → ViewVerificationStatusComponent-CeejLiqF.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-pci.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-sign-pci.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{css-CIaTJIRh.js → css-B15khDJB.js} +1 -1
- package/dist/{getFieldsWithExistingData-eG4Go4sI.js → getFieldsWithExistingData-CRdsVaPG.js} +2 -2
- package/dist/{hasDataChanged-B2NzOgqG.js → hasDataChanged-DIZuuAUK.js} +1 -1
- package/dist/{individualFormConfig-DWchThdo.js → individualFormConfig-CpUtuNx3.js} +2 -2
- package/dist/{json-CCr1XZ3n.js → json-vWqcRD4v.js} +1 -1
- package/dist/{localizeDateString-DJ-lgKtP.js → localizeDateString-BtNvTw2g.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-BBiaihbr.js → mapFinancialReportsToFinancialInformation-Bmoq-7Y7.js} +2 -2
- package/dist/{plaintext-ekUaUK1r.js → plaintext-DIiKT1HU.js} +1 -1
- package/dist/{resolveEnvironment-Bhgma9wD.js → resolveEnvironment-C3jlXUDm.js} +3 -3
- package/dist/{rules-B42glbFy.js → rules-CLRua9ca.js} +2 -2
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +1 -0
- package/dist/types/utils/api/processCapabilitites.d.ts +2 -1
- package/dist/{useMultiForm-DskaVEVp.js → useMultiForm-D71BNX3_.js} +2 -2
- package/dist/{useOnboardingStatus-vQBejF4V.js → useOnboardingStatus-BV--B40v.js} +1 -1
- package/dist/{useSalesChannelsSettings-DSXK0f8d.js → useSalesChannelsSettings-BwuUhMos.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DzyCiS1f.js → useTermsOfServiceStatus-C15g4fgt.js} +1 -1
- package/dist/{useUpdateLegalEntity-BC4SIUZQ.js → useUpdateLegalEntity-C3NqXeSV.js} +2 -2
- package/dist/{utils-DGcTx-uB.js → utils-Bsnv57KH.js} +4 -4
- package/dist/{validate-n5AG7LRr.js → validate-CVbv6Ajk.js} +1 -1
- package/dist/{validate-DdzL4-kh.js → validate-DQVEQmY1.js} +2 -2
- package/dist/{yaml-CSGb_Xs8.js → yaml-BciqVWTm.js} +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
|
|
|
19
19
|
{
|
|
20
20
|
try {
|
|
21
21
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
22
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
22
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ea18e513-7094-4666-81e1-cdd242a575d4", e._sentryDebugIdIdentifier = "sentry-dbid-ea18e513-7094-4666-81e1-cdd242a575d4");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -9198,6 +9198,29 @@ const addLinkedFields = (fields) => {
|
|
|
9198
9198
|
}
|
|
9199
9199
|
return [...new Set(withLinkedFields)];
|
|
9200
9200
|
};
|
|
9201
|
+
const KEY_MARKETS = [
|
|
9202
|
+
CountryCodes.UnitedStates,
|
|
9203
|
+
CountryCodes.UnitedKingdom,
|
|
9204
|
+
CountryCodes.Germany,
|
|
9205
|
+
CountryCodes.France,
|
|
9206
|
+
CountryCodes.Canada,
|
|
9207
|
+
CountryCodes.Australia
|
|
9208
|
+
];
|
|
9209
|
+
function isOnfidoAutofillFlowEnabled(country, taskType, isExperimentEnabled) {
|
|
9210
|
+
const market = KEY_MARKETS.includes(country) ? "KeyMarkets" : "AdditionalMarkets";
|
|
9211
|
+
let type;
|
|
9212
|
+
switch (taskType) {
|
|
9213
|
+
case TaskTypes.INDIVIDUAL:
|
|
9214
|
+
type = "PureIndividuals";
|
|
9215
|
+
break;
|
|
9216
|
+
case TaskTypes.DECISION_MAKER:
|
|
9217
|
+
type = "DecisionMakers";
|
|
9218
|
+
break;
|
|
9219
|
+
default:
|
|
9220
|
+
return false;
|
|
9221
|
+
}
|
|
9222
|
+
return isExperimentEnabled(`EnableAutofillFlowFor${type}In${market}`);
|
|
9223
|
+
}
|
|
9201
9224
|
var VerificationErrorType = /* @__PURE__ */ ((VerificationErrorType2) => {
|
|
9202
9225
|
VerificationErrorType2["DATA_MISSING"] = "dataMissing";
|
|
9203
9226
|
VerificationErrorType2["INVALID_INPUT"] = "invalidInput";
|
|
@@ -10504,7 +10527,12 @@ function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
|
10504
10527
|
}
|
|
10505
10528
|
const useCapabilityProblems = () => {
|
|
10506
10529
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
10507
|
-
|
|
10530
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
10531
|
+
return rootLegalEntity ? getCapabilityProblems(
|
|
10532
|
+
rootLegalEntity,
|
|
10533
|
+
getLegalEntityCountry(rootLegalEntity),
|
|
10534
|
+
isExperimentEnabled
|
|
10535
|
+
) : void 0;
|
|
10508
10536
|
};
|
|
10509
10537
|
const getProblemsForEntity = (capabilityProblems, entityType, entityId) => {
|
|
10510
10538
|
var _a2;
|
|
@@ -29623,6 +29651,47 @@ function Individual(props) {
|
|
|
29623
29651
|
};
|
|
29624
29652
|
return /* @__PURE__ */ jsx$1("div", { className: "adyen-kyc-individual", children: renderActiveForm(propActiveForm) });
|
|
29625
29653
|
}
|
|
29654
|
+
const individualOnfidoObscuredFields = [
|
|
29655
|
+
"additionalPersonalDetails.idNumber",
|
|
29656
|
+
"additionalPersonalDetails.idNumberExempt"
|
|
29657
|
+
];
|
|
29658
|
+
const individualOnfidoBaseMapping = {
|
|
29659
|
+
"basicDetails.firstName": "individual.name.firstName",
|
|
29660
|
+
"basicDetails.lastName": "individual.name.lastName",
|
|
29661
|
+
"basicDetails.phoneNumber.number": "individual.phone.number",
|
|
29662
|
+
"basicDetails.phoneNumber.phoneCountryCode": "individual.phone.phoneCountryCode",
|
|
29663
|
+
"basicDetails.phoneNumber.type": "individual.phone.type",
|
|
29664
|
+
"basicDetails.email": "individual.email",
|
|
29665
|
+
"additionalPersonalDetails.birthDate": "individual.birthData.dateOfBirth",
|
|
29666
|
+
"additionalPersonalDetails.idNumber": "individual.identificationData.number",
|
|
29667
|
+
"additionalPersonalDetails.idNumberExempt": "individual.identificationData.nationalIdExempt",
|
|
29668
|
+
"additionalPersonalDetails.typeOfIdentity": "individual.identificationData.type",
|
|
29669
|
+
"additionalPersonalDetails.issuerState": "individual.identificationData.issuerState",
|
|
29670
|
+
"additionalPersonalDetails.licenseCardNumber": "individual.identificationData.cardNumber",
|
|
29671
|
+
"additionalPersonalDetails.expiryDate": "individual.identificationData.expiryDate",
|
|
29672
|
+
"additionalPersonalDetails.nationality": "individual.nationality",
|
|
29673
|
+
"additionalPersonalDetails.taxInformation": "individual.taxInformation",
|
|
29674
|
+
// Address fields
|
|
29675
|
+
"additionalPersonalDetails.city": "individual.residentialAddress.city",
|
|
29676
|
+
"additionalPersonalDetails.country": "individual.residentialAddress.country",
|
|
29677
|
+
"additionalPersonalDetails.postalCode": "individual.residentialAddress.postalCode",
|
|
29678
|
+
"additionalPersonalDetails.stateOrProvince": "individual.residentialAddress.stateOrProvince",
|
|
29679
|
+
"additionalPersonalDetails.address": "individual.residentialAddress.street",
|
|
29680
|
+
"additionalPersonalDetails.otherAddressInformation": "individual.residentialAddress.street2"
|
|
29681
|
+
};
|
|
29682
|
+
const individualOnfidoApiKeyMapping = {
|
|
29683
|
+
...reverseMapping(individualOnfidoBaseMapping)
|
|
29684
|
+
};
|
|
29685
|
+
const individualOnfidoDocumentMapping = {
|
|
29686
|
+
["passport"]: "idVerificationMethod.idDocument",
|
|
29687
|
+
["proofOfResidency"]: "proofOfResidency.proofOfResidency",
|
|
29688
|
+
["proofOfNationalIdNumber"]: "proofOfNationalId.proofOfNationalId",
|
|
29689
|
+
["proofOfRelationship"]: "proofOfRelationship.proofOfRelationship"
|
|
29690
|
+
};
|
|
29691
|
+
const remediationIndividualOnfidoApiKeyMapping = {
|
|
29692
|
+
...individualOnfidoApiKeyMapping,
|
|
29693
|
+
...individualOnfidoDocumentMapping
|
|
29694
|
+
};
|
|
29626
29695
|
var ConstitutionalDocumentTypes = /* @__PURE__ */ ((ConstitutionalDocumentTypes2) => {
|
|
29627
29696
|
ConstitutionalDocumentTypes2["BUSINESS_NAME_FILING"] = "doingBusinessAsNameFiling";
|
|
29628
29697
|
ConstitutionalDocumentTypes2["TAX_FILING"] = "taxFiling";
|
|
@@ -30458,16 +30527,18 @@ const UNRELATED_DATA_MISSING_ERROR_CODES = [
|
|
|
30458
30527
|
"2_8250"
|
|
30459
30528
|
];
|
|
30460
30529
|
const UNRELATED_INVALID_INPUT_ERROR_CODES = ["1_14", "2_901", "2_902"];
|
|
30461
|
-
const getComponentMappingFromLEFieldPath = (context, entityType) => {
|
|
30530
|
+
const getComponentMappingFromLEFieldPath = (context, entityType, country, isExperimentEnabled) => {
|
|
30462
30531
|
if (!(context == null ? void 0 : context.key)) {
|
|
30463
30532
|
return;
|
|
30464
30533
|
}
|
|
30465
30534
|
if (context.key === "idVerificationMethod") {
|
|
30466
30535
|
return "idVerificationMethod.idVerificationMethod";
|
|
30467
30536
|
}
|
|
30537
|
+
const isOnfidoAutofillFlow = isExperimentEnabled ? isOnfidoAutofillFlowEnabled(country, TaskTypes.INDIVIDUAL, isExperimentEnabled) : false;
|
|
30538
|
+
const individualRemediationKeyMapping = isOnfidoAutofillFlow ? remediationIndividualOnfidoApiKeyMapping : remediationIndividualApiKeyMapping;
|
|
30468
30539
|
switch (entityType) {
|
|
30469
30540
|
case LegalEntityType.INDIVIDUAL:
|
|
30470
|
-
return context.key in
|
|
30541
|
+
return context.key in individualRemediationKeyMapping ? individualRemediationKeyMapping[context.key] : void 0;
|
|
30471
30542
|
case LegalEntityType.ORGANIZATION:
|
|
30472
30543
|
return context.key in remediationBusinessDetailsApiKeyMapping ? remediationBusinessDetailsApiKeyMapping[context.key] : void 0;
|
|
30473
30544
|
case EntityType.BANK_ACCOUNT:
|
|
@@ -30490,14 +30561,16 @@ const getLinkedRemedidationFormFields = (accFormsAndFields, field) => {
|
|
|
30490
30561
|
return;
|
|
30491
30562
|
}
|
|
30492
30563
|
};
|
|
30493
|
-
const getRemediationsWithFormsAndFields = (remediatingActions, entityType) => {
|
|
30564
|
+
const getRemediationsWithFormsAndFields = (remediatingActions, entityType, country, isExperimentEnabled) => {
|
|
30494
30565
|
const mappedRemediations = remediatingActions.reduce(
|
|
30495
30566
|
(acc, { code: remediationCode }) => {
|
|
30496
30567
|
const apiFieldPathToRemediate = invalidInputRemediationActionMappings[remediationCode];
|
|
30497
30568
|
if (!apiFieldPathToRemediate) {
|
|
30498
30569
|
return acc;
|
|
30499
30570
|
}
|
|
30500
|
-
const mappedCompFields = apiFieldPathToRemediate.map(
|
|
30571
|
+
const mappedCompFields = apiFieldPathToRemediate.map(
|
|
30572
|
+
(context) => getComponentMappingFromLEFieldPath(context, entityType, country, isExperimentEnabled)
|
|
30573
|
+
).filter(Boolean);
|
|
30501
30574
|
if (!mappedCompFields) {
|
|
30502
30575
|
return acc;
|
|
30503
30576
|
}
|
|
@@ -30532,7 +30605,7 @@ const getRemediationsWithFormsAndFields = (remediatingActions, entityType) => {
|
|
|
30532
30605
|
};
|
|
30533
30606
|
};
|
|
30534
30607
|
const isUnRelatedErrorCode = (error) => UNRELATED_DATA_MISSING_ERROR_CODES.includes(error == null ? void 0 : error.code) || UNRELATED_INVALID_INPUT_ERROR_CODES.includes(error == null ? void 0 : error.code);
|
|
30535
|
-
const getInvalidInputError = (parentVerificationError, entityType) => {
|
|
30608
|
+
const getInvalidInputError = (parentVerificationError, entityType, country, isExperimentEnabled) => {
|
|
30536
30609
|
const { allForms, childErrorsWithRemActions } = (parentVerificationError.subErrors ?? []).reduce(
|
|
30537
30610
|
(acc, { code: errorCode, remediatingActions }) => {
|
|
30538
30611
|
if (!(remediatingActions == null ? void 0 : remediatingActions.length)) {
|
|
@@ -30540,7 +30613,9 @@ const getInvalidInputError = (parentVerificationError, entityType) => {
|
|
|
30540
30613
|
}
|
|
30541
30614
|
const { forms, remediationsWithFormsAndFields } = getRemediationsWithFormsAndFields(
|
|
30542
30615
|
remediatingActions,
|
|
30543
|
-
entityType
|
|
30616
|
+
entityType,
|
|
30617
|
+
country,
|
|
30618
|
+
isExperimentEnabled
|
|
30544
30619
|
);
|
|
30545
30620
|
acc.childErrorsWithRemActions[errorCode] = remediationsWithFormsAndFields;
|
|
30546
30621
|
forms.forEach((formId) => acc.allForms.add(formId));
|
|
@@ -30600,13 +30675,13 @@ function getPriorityStatus(entityProblems, newStatusWithReason) {
|
|
|
30600
30675
|
function getMissingDataError(verificationError, entityProblems) {
|
|
30601
30676
|
return entityProblems.missingData ? [...entityProblems.missingData, verificationError] : [verificationError];
|
|
30602
30677
|
}
|
|
30603
|
-
function getEntityProblems(verificationErrors, entityType) {
|
|
30678
|
+
function getEntityProblems(verificationErrors, entityType, country, isExperimentEnabled) {
|
|
30604
30679
|
return verificationErrors.reduce((entityProblems, verificationError) => {
|
|
30605
30680
|
const currEntityProblems = cloneObject(entityProblems);
|
|
30606
30681
|
switch (verificationError.type) {
|
|
30607
30682
|
case VerificationErrorType.INVALID_INPUT: {
|
|
30608
30683
|
if (!isUnRelatedErrorCode(verificationError) && verificationError.subErrors) {
|
|
30609
|
-
const { verificationErrors: newVerificationErrors, remediationActions } = getInvalidInputError(verificationError, entityType);
|
|
30684
|
+
const { verificationErrors: newVerificationErrors, remediationActions } = getInvalidInputError(verificationError, entityType, country, isExperimentEnabled);
|
|
30610
30685
|
currEntityProblems.verificationErrors = mergeFormLevelErrors(
|
|
30611
30686
|
currEntityProblems.verificationErrors,
|
|
30612
30687
|
newVerificationErrors
|
|
@@ -30699,7 +30774,7 @@ const overrideVerificationErrors = (verificationErrors, country) => verification
|
|
|
30699
30774
|
}
|
|
30700
30775
|
return verificationError;
|
|
30701
30776
|
});
|
|
30702
|
-
function getCapabilityProblems(entity, country) {
|
|
30777
|
+
function getCapabilityProblems(entity, country, isExperimentEnabled) {
|
|
30703
30778
|
const problems = (entity == null ? void 0 : entity.problems) ?? [];
|
|
30704
30779
|
const aggregatedErrorsByEntity = aggregateProblemsByEntity(problems, entity);
|
|
30705
30780
|
return entriesOf(aggregatedErrorsByEntity).reduce(
|
|
@@ -30709,7 +30784,9 @@ function getCapabilityProblems(entity, country) {
|
|
|
30709
30784
|
...capabilityProblems[baseEntityType],
|
|
30710
30785
|
[entityId]: getEntityProblems(
|
|
30711
30786
|
overrideVerificationErrors(verificationErrors, country),
|
|
30712
|
-
exactEntityType
|
|
30787
|
+
exactEntityType,
|
|
30788
|
+
country,
|
|
30789
|
+
isExperimentEnabled
|
|
30713
30790
|
)
|
|
30714
30791
|
}
|
|
30715
30792
|
}),
|
|
@@ -31473,7 +31550,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
31473
31550
|
};
|
|
31474
31551
|
};
|
|
31475
31552
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
31476
|
-
const sdkVersion = "3.75.
|
|
31553
|
+
const sdkVersion = "3.75.2";
|
|
31477
31554
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
31478
31555
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
31479
31556
|
useEffect(() => {
|
|
@@ -31513,7 +31590,7 @@ const AnalyticsProvider = ({
|
|
|
31513
31590
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
31514
31591
|
const onboardingVersion = isLoading ? void 0 : isError ? 1 : versionData == null ? void 0 : versionData.version;
|
|
31515
31592
|
const sessionData = {
|
|
31516
|
-
sdkVersion: "3.75.
|
|
31593
|
+
sdkVersion: "3.75.2",
|
|
31517
31594
|
componentName,
|
|
31518
31595
|
userAgent: navigator.userAgent,
|
|
31519
31596
|
legalEntityId: rootLegalEntityId,
|
|
@@ -31898,7 +31975,7 @@ function StateProvider({
|
|
|
31898
31975
|
);
|
|
31899
31976
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children });
|
|
31900
31977
|
}
|
|
31901
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
31978
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-Bs62FRHL.js").then((n) => n.D)).DebugModal);
|
|
31902
31979
|
const DebugListener = () => {
|
|
31903
31980
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
31904
31981
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -32021,7 +32098,7 @@ export {
|
|
|
32021
32098
|
Field as ay,
|
|
32022
32099
|
MultiSelectList as az,
|
|
32023
32100
|
useI18nContext as b,
|
|
32024
|
-
|
|
32101
|
+
useGlobalDataSlice as b$,
|
|
32025
32102
|
datasetUtilities as b0,
|
|
32026
32103
|
getCapabilityProblems as b1,
|
|
32027
32104
|
Modal as b2,
|
|
@@ -32032,33 +32109,33 @@ export {
|
|
|
32032
32109
|
Spacer as b7,
|
|
32033
32110
|
Confirm as b8,
|
|
32034
32111
|
mapTransferInstrumentToPayoutAccount as b9,
|
|
32035
|
-
|
|
32036
|
-
|
|
32037
|
-
|
|
32038
|
-
|
|
32039
|
-
|
|
32040
|
-
|
|
32041
|
-
|
|
32042
|
-
|
|
32043
|
-
|
|
32044
|
-
|
|
32045
|
-
|
|
32046
|
-
|
|
32047
|
-
|
|
32048
|
-
|
|
32049
|
-
|
|
32050
|
-
|
|
32051
|
-
|
|
32052
|
-
|
|
32053
|
-
|
|
32054
|
-
|
|
32055
|
-
|
|
32056
|
-
|
|
32057
|
-
|
|
32058
|
-
|
|
32059
|
-
|
|
32060
|
-
|
|
32061
|
-
|
|
32112
|
+
getOwnDecisionMakers as bA,
|
|
32113
|
+
getAvailableDecisionMakerRoleTypes as bB,
|
|
32114
|
+
getAllowedDecisionMakerRoles as bC,
|
|
32115
|
+
DecisionMakerType as bD,
|
|
32116
|
+
defaultFieldMetadata$1 as bE,
|
|
32117
|
+
fieldConfig as bF,
|
|
32118
|
+
getAsyncPhoneValidationRules as bG,
|
|
32119
|
+
ContactDetails as bH,
|
|
32120
|
+
Checkbox as bI,
|
|
32121
|
+
MaybeModal as bJ,
|
|
32122
|
+
Select as bK,
|
|
32123
|
+
useFormContext as bL,
|
|
32124
|
+
getFormProps as bM,
|
|
32125
|
+
isEmpty as bN,
|
|
32126
|
+
getRequiredForms as bO,
|
|
32127
|
+
addValidityToForms as bP,
|
|
32128
|
+
useFormComposer as bQ,
|
|
32129
|
+
reverseMapping as bR,
|
|
32130
|
+
formatObject as bS,
|
|
32131
|
+
isEeaCountry as bT,
|
|
32132
|
+
getProp as bU,
|
|
32133
|
+
Link as bV,
|
|
32134
|
+
InputNumber as bW,
|
|
32135
|
+
InputDate as bX,
|
|
32136
|
+
Currency as bY,
|
|
32137
|
+
CURRENCY_FIELD as bZ,
|
|
32138
|
+
InputCurrency as b_,
|
|
32062
32139
|
cloneObject as ba,
|
|
32063
32140
|
currencyByCountry as bb,
|
|
32064
32141
|
entriesOf as bc,
|
|
@@ -32068,185 +32145,190 @@ export {
|
|
|
32068
32145
|
httpDelete as bg,
|
|
32069
32146
|
httpPost as bh,
|
|
32070
32147
|
getProblemsForEntity as bi,
|
|
32071
|
-
|
|
32072
|
-
|
|
32073
|
-
|
|
32074
|
-
|
|
32075
|
-
|
|
32076
|
-
|
|
32077
|
-
|
|
32078
|
-
|
|
32079
|
-
|
|
32080
|
-
|
|
32081
|
-
|
|
32082
|
-
|
|
32083
|
-
|
|
32084
|
-
|
|
32085
|
-
|
|
32086
|
-
|
|
32087
|
-
|
|
32148
|
+
isOnfidoAutofillFlowEnabled as bj,
|
|
32149
|
+
individualComponentsKeyMapping as bk,
|
|
32150
|
+
businessDetailsComponentsKeyMapping as bl,
|
|
32151
|
+
Svg as bm,
|
|
32152
|
+
useQueryClient as bn,
|
|
32153
|
+
PayoutDetailsDropin as bo,
|
|
32154
|
+
refreshSession as bp,
|
|
32155
|
+
InputText as bq,
|
|
32156
|
+
splitTaskIdentifier as br,
|
|
32157
|
+
listToRecord as bs,
|
|
32158
|
+
valuesOf as bt,
|
|
32159
|
+
ExperimentNames as bu,
|
|
32160
|
+
KEYBOARD_KEYS as bv,
|
|
32161
|
+
getTranslationKeysByPrefix as bw,
|
|
32162
|
+
StepProgressIndicator as bx,
|
|
32163
|
+
getCapabilities as by,
|
|
32164
|
+
EntityTypeRadioGroupCard as bz,
|
|
32088
32165
|
useDataset as c,
|
|
32089
|
-
|
|
32090
|
-
|
|
32091
|
-
|
|
32092
|
-
|
|
32093
|
-
|
|
32094
|
-
|
|
32095
|
-
|
|
32096
|
-
|
|
32097
|
-
|
|
32098
|
-
|
|
32099
|
-
|
|
32100
|
-
|
|
32101
|
-
|
|
32102
|
-
|
|
32103
|
-
|
|
32104
|
-
|
|
32105
|
-
|
|
32106
|
-
|
|
32107
|
-
|
|
32108
|
-
|
|
32109
|
-
|
|
32110
|
-
|
|
32111
|
-
|
|
32112
|
-
|
|
32113
|
-
|
|
32114
|
-
|
|
32115
|
-
|
|
32116
|
-
|
|
32117
|
-
|
|
32118
|
-
|
|
32119
|
-
|
|
32120
|
-
|
|
32121
|
-
|
|
32122
|
-
|
|
32123
|
-
|
|
32124
|
-
|
|
32125
|
-
|
|
32126
|
-
|
|
32127
|
-
|
|
32128
|
-
|
|
32129
|
-
|
|
32130
|
-
|
|
32131
|
-
|
|
32132
|
-
|
|
32133
|
-
|
|
32134
|
-
|
|
32135
|
-
|
|
32136
|
-
|
|
32137
|
-
|
|
32138
|
-
|
|
32139
|
-
|
|
32140
|
-
|
|
32141
|
-
|
|
32142
|
-
|
|
32143
|
-
|
|
32144
|
-
|
|
32145
|
-
|
|
32146
|
-
|
|
32147
|
-
|
|
32148
|
-
|
|
32149
|
-
|
|
32150
|
-
|
|
32151
|
-
|
|
32152
|
-
|
|
32166
|
+
idVerificationProviderId as c$,
|
|
32167
|
+
useGlobalData as c0,
|
|
32168
|
+
getAddressSchemaForCountry as c1,
|
|
32169
|
+
COUNTRIES_WITH_STATES_DATASET as c2,
|
|
32170
|
+
Address as c3,
|
|
32171
|
+
getAddressSchemaLabelsByCountry as c4,
|
|
32172
|
+
useScenarioConfiguration as c5,
|
|
32173
|
+
getPropsFromConfigurations as c6,
|
|
32174
|
+
useStateContext as c7,
|
|
32175
|
+
getAssociatedLeAnalyticsPayload as c8,
|
|
32176
|
+
FormWrapper as c9,
|
|
32177
|
+
getPageName as cA,
|
|
32178
|
+
getLocalizedIdDocumentTypeOptions as cB,
|
|
32179
|
+
getPage as cC,
|
|
32180
|
+
createDocumentRequest as cD,
|
|
32181
|
+
individualApiKeyMapping as cE,
|
|
32182
|
+
getNomineeFromAssociation as cF,
|
|
32183
|
+
documentApiUtils as cG,
|
|
32184
|
+
useProviderStatus as cH,
|
|
32185
|
+
addressValidators as cI,
|
|
32186
|
+
getAsyncIdNumberValidationRule as cJ,
|
|
32187
|
+
addressFormatters as cK,
|
|
32188
|
+
useScenarios as cL,
|
|
32189
|
+
setHasMotionCaptureScenario as cM,
|
|
32190
|
+
individualForms as cN,
|
|
32191
|
+
showIndividualMotionCapture as cO,
|
|
32192
|
+
Individual as cP,
|
|
32193
|
+
omitObscuredFieldsIfUnchanged as cQ,
|
|
32194
|
+
filterOutUnwantedAssociationsIfRootLE as cR,
|
|
32195
|
+
mapAddressLabels as cS,
|
|
32196
|
+
individualDocumentForms as cT,
|
|
32197
|
+
individualDocumentMapping as cU,
|
|
32198
|
+
individualObscuredFields as cV,
|
|
32199
|
+
drop as cW,
|
|
32200
|
+
mergeAttachments as cX,
|
|
32201
|
+
getFileExtention as cY,
|
|
32202
|
+
hasNomineesChanged as cZ,
|
|
32203
|
+
attachNomineeToRole as c_,
|
|
32204
|
+
composePerScenarioFormConfigurations as ca,
|
|
32205
|
+
trackNavigation as cb,
|
|
32206
|
+
isValidationError as cc,
|
|
32207
|
+
processValidationErrors as cd,
|
|
32208
|
+
isMaintenanceModeError as ce,
|
|
32209
|
+
matchesRegex as cf,
|
|
32210
|
+
trimValWithOneSpace as cg,
|
|
32211
|
+
NO_ALPHABET_REGEX as ch,
|
|
32212
|
+
EMOJI_REGEX as ci,
|
|
32213
|
+
hasRepeatedCharacters as cj,
|
|
32214
|
+
isInvalidName as ck,
|
|
32215
|
+
INDIVIDUAL_VALID_CHAR_REGEX as cl,
|
|
32216
|
+
getFormattingRegEx as cm,
|
|
32217
|
+
SPECIAL_CHARS as cn,
|
|
32218
|
+
standardKatakanaValidator as co,
|
|
32219
|
+
standardKanjiValidator as cp,
|
|
32220
|
+
getSSNType as cq,
|
|
32221
|
+
defaultFieldMetadata as cr,
|
|
32222
|
+
defaultFieldConfig as cs,
|
|
32223
|
+
defaultFieldMetadata$5 as ct,
|
|
32224
|
+
defaultFieldConfig$4 as cu,
|
|
32225
|
+
getAgeToday as cv,
|
|
32226
|
+
euCountries as cw,
|
|
32227
|
+
getIdDocument as cx,
|
|
32228
|
+
getDocument as cy,
|
|
32229
|
+
mapExistingFile as cz,
|
|
32153
32230
|
datasetIdentifier as d,
|
|
32154
|
-
|
|
32155
|
-
|
|
32156
|
-
|
|
32157
|
-
|
|
32158
|
-
|
|
32159
|
-
|
|
32160
|
-
|
|
32161
|
-
|
|
32162
|
-
|
|
32163
|
-
|
|
32164
|
-
|
|
32165
|
-
|
|
32166
|
-
|
|
32167
|
-
|
|
32168
|
-
|
|
32169
|
-
|
|
32170
|
-
|
|
32171
|
-
|
|
32172
|
-
|
|
32173
|
-
|
|
32174
|
-
|
|
32175
|
-
|
|
32176
|
-
|
|
32177
|
-
|
|
32178
|
-
|
|
32179
|
-
|
|
32180
|
-
|
|
32181
|
-
|
|
32182
|
-
|
|
32183
|
-
|
|
32184
|
-
|
|
32185
|
-
|
|
32186
|
-
|
|
32187
|
-
|
|
32188
|
-
|
|
32189
|
-
|
|
32190
|
-
|
|
32191
|
-
|
|
32192
|
-
|
|
32193
|
-
|
|
32194
|
-
|
|
32195
|
-
|
|
32196
|
-
|
|
32197
|
-
|
|
32198
|
-
|
|
32199
|
-
|
|
32200
|
-
|
|
32201
|
-
|
|
32202
|
-
|
|
32203
|
-
|
|
32204
|
-
|
|
32205
|
-
|
|
32206
|
-
|
|
32207
|
-
|
|
32208
|
-
|
|
32209
|
-
|
|
32210
|
-
|
|
32211
|
-
|
|
32212
|
-
|
|
32213
|
-
|
|
32214
|
-
|
|
32215
|
-
|
|
32216
|
-
|
|
32231
|
+
COUNTRIES_USING_COMPANY_SEARCH as d$,
|
|
32232
|
+
doArraysMatch as d0,
|
|
32233
|
+
createFormRules as d1,
|
|
32234
|
+
allowedCountriesForNominee as d2,
|
|
32235
|
+
Scenarios as d3,
|
|
32236
|
+
isLowRiskCountry as d4,
|
|
32237
|
+
isTruthyValidator as d5,
|
|
32238
|
+
licenseCardNumberDefaultMetadata as d6,
|
|
32239
|
+
licenseCardNumberDefaultConfig as d7,
|
|
32240
|
+
idNumberFields as d8,
|
|
32241
|
+
IdentityNumber as d9,
|
|
32242
|
+
hasMotionCaptureScenario as dA,
|
|
32243
|
+
setShowIndividualMotionCapture as dB,
|
|
32244
|
+
shouldShowMotionCapture as dC,
|
|
32245
|
+
MemoizedProofOfRelationship as dD,
|
|
32246
|
+
MemoizedDocumentUpload as dE,
|
|
32247
|
+
MemoizedProofOfResidencyUpload as dF,
|
|
32248
|
+
individualOnfidoApiKeyMapping as dG,
|
|
32249
|
+
individualOnfidoBaseMapping as dH,
|
|
32250
|
+
individualOnfidoDocumentMapping as dI,
|
|
32251
|
+
individualOnfidoObscuredFields as dJ,
|
|
32252
|
+
emailPattern as dK,
|
|
32253
|
+
FormContext as dL,
|
|
32254
|
+
FormRouterContextProvider as dM,
|
|
32255
|
+
ValidationResult as dN,
|
|
32256
|
+
isNotEmptyValidator as dO,
|
|
32257
|
+
getNestedPropertyKeys as dP,
|
|
32258
|
+
useId as dQ,
|
|
32259
|
+
ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES as dR,
|
|
32260
|
+
KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS as dS,
|
|
32261
|
+
getForms as dT,
|
|
32262
|
+
BasicInformation as dU,
|
|
32263
|
+
CompanyStructure as dV,
|
|
32264
|
+
AdditionalInformation as dW,
|
|
32265
|
+
MemoizedConstitutionalDocument as dX,
|
|
32266
|
+
FinancialInformation as dY,
|
|
32267
|
+
solePropBusinessDetailsKeyMapping as dZ,
|
|
32268
|
+
operationalAddressIsSameIds as d_,
|
|
32269
|
+
additionallIdNumberOptions as da,
|
|
32270
|
+
MaskedInput as db,
|
|
32271
|
+
formatDateObj as dc,
|
|
32272
|
+
DriversLicense as dd,
|
|
32273
|
+
addressFields as de,
|
|
32274
|
+
getDefaultTaxIdNumberType as df,
|
|
32275
|
+
getAgeRangeForLegalRepresentative as dg,
|
|
32276
|
+
IndividualIdNumberTypeSelector as dh,
|
|
32277
|
+
TaxInformationField as di,
|
|
32278
|
+
PatriotActDisclosure as dj,
|
|
32279
|
+
isLegalRepresentativeNeeded as dk,
|
|
32280
|
+
decisionMakerRoleFields as dl,
|
|
32281
|
+
nomineeFields as dm,
|
|
32282
|
+
contactDetailFields as dn,
|
|
32283
|
+
DecisionMakerRole as dp,
|
|
32284
|
+
NomineeDecisionMakerRole as dq,
|
|
32285
|
+
keysOf as dr,
|
|
32286
|
+
RadioWithLabel as ds,
|
|
32287
|
+
pick as dt,
|
|
32288
|
+
IdVerification as du,
|
|
32289
|
+
isPersonUnderAge as dv,
|
|
32290
|
+
IdDocumentManualUpload as dw,
|
|
32291
|
+
idDocumentUploadFields as dx,
|
|
32292
|
+
useFormRouterContext as dy,
|
|
32293
|
+
useCapabilities as dz,
|
|
32217
32294
|
uuidv4 as e,
|
|
32218
|
-
|
|
32219
|
-
|
|
32220
|
-
|
|
32221
|
-
|
|
32222
|
-
|
|
32223
|
-
|
|
32224
|
-
|
|
32225
|
-
|
|
32226
|
-
|
|
32227
|
-
|
|
32228
|
-
|
|
32229
|
-
|
|
32230
|
-
|
|
32231
|
-
|
|
32232
|
-
|
|
32233
|
-
|
|
32234
|
-
|
|
32235
|
-
|
|
32236
|
-
|
|
32237
|
-
|
|
32238
|
-
|
|
32239
|
-
|
|
32240
|
-
|
|
32241
|
-
|
|
32242
|
-
|
|
32243
|
-
|
|
32244
|
-
|
|
32245
|
-
|
|
32246
|
-
|
|
32247
|
-
|
|
32248
|
-
|
|
32249
|
-
|
|
32295
|
+
FIELDS_NEEDED_FOR_COMPANY_SEARCH as e0,
|
|
32296
|
+
solePropBusinessDetailsApiKeyMapping as e1,
|
|
32297
|
+
businessDetailsApiKeyMapping as e2,
|
|
32298
|
+
COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as e3,
|
|
32299
|
+
augmentWithCountryConfigs as e4,
|
|
32300
|
+
companyTypeMetadata as e5,
|
|
32301
|
+
documentFormsIds as e6,
|
|
32302
|
+
defaultFieldMetadata$6 as e7,
|
|
32303
|
+
inferCompanyRegistrationNumberType as e8,
|
|
32304
|
+
getCompanyRegistrationNumberOptions as e9,
|
|
32305
|
+
PayoutDetailsPage$1 as eA,
|
|
32306
|
+
defaultFieldConfig$5 as ea,
|
|
32307
|
+
countryToTaxInfoTypeMap as eb,
|
|
32308
|
+
getKeyForField as ec,
|
|
32309
|
+
verifiedBusiness as ed,
|
|
32310
|
+
setIsBankAccountRequestedForOrganization as ee,
|
|
32311
|
+
rules as ef,
|
|
32312
|
+
useCompanySelection as eg,
|
|
32313
|
+
useVerifyTin as eh,
|
|
32314
|
+
setVerifiedBusiness as ei,
|
|
32315
|
+
solePropBusinessDetailsDocumentMapping as ej,
|
|
32316
|
+
businessDetailsDocumentMapping as ek,
|
|
32317
|
+
UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL as el,
|
|
32318
|
+
UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED as em,
|
|
32319
|
+
UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL as en,
|
|
32320
|
+
UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED as eo,
|
|
32321
|
+
UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL as ep,
|
|
32322
|
+
trustComponentsKeyMapping as eq,
|
|
32323
|
+
trustApiKeyMapping as er,
|
|
32324
|
+
trustForms as es,
|
|
32325
|
+
Trust as et,
|
|
32326
|
+
trustDocumentMapping as eu,
|
|
32327
|
+
trustConstitutionalDocumentFormId as ev,
|
|
32328
|
+
Currencies as ew,
|
|
32329
|
+
InputGroup as ex,
|
|
32330
|
+
Dropzone as ey,
|
|
32331
|
+
useLegalEntities as ez,
|
|
32250
32332
|
ApiProvider as f,
|
|
32251
32333
|
getLegalEntityCountry as g,
|
|
32252
32334
|
StoreProvider as h,
|