@adyen/kyc-components 3.36.1 → 3.37.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.
- package/dist/es/adyen-kyc-components.es.js +182 -117
- package/dist/style.css +4 -1
- package/dist/types/components/Individual/types.d.ts +1 -1
- package/dist/types/components/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +4 -2
- package/dist/types/core/Context/ExperimentContext/types.d.ts +1 -1
- package/dist/types/utils/mapping/componentApiMapping.d.ts +323 -4
- package/dist/types/utils/mapping/mapping.d.ts +1 -1
- package/package.json +8 -6
|
@@ -494,6 +494,7 @@ const defaultTrans = {
|
|
|
494
494
|
errorMessage_1_3062: "The name and 4 digit SSN couldn't be verified.",
|
|
495
495
|
errorMessage_1_3072: "We found the following issues:\n- The name and nationality couldn't be verified.\nReview the information below and correct any mistakes, or upload an id document then resubmit.",
|
|
496
496
|
errorMessage_1_3073: "We found the following issues:\n- The ID document didn't show the nationality.\nReview the information below and correct any mistakes, or upload an id document then resubmit.",
|
|
497
|
+
errorMessage_1_3083: "Individual details didn't match the ID document",
|
|
497
498
|
errorMessage_1_31: "ID document is needed",
|
|
498
499
|
errorMessage_1_32: "ID document couldn't be processed",
|
|
499
500
|
errorMessage_1_33: "ID document didn't meet requirements",
|
|
@@ -1095,7 +1096,7 @@ const defaultTrans = {
|
|
|
1095
1096
|
proofOfNationalId: "Proof of national ID",
|
|
1096
1097
|
proofOfNationality: "Proof of nationality",
|
|
1097
1098
|
proofOfRelationship: "Proof of relationship",
|
|
1098
|
-
|
|
1099
|
+
proofOfResidency: "Proof of residency",
|
|
1099
1100
|
proofOfResidenceDocumentTypeLabel: "Upload a document as proof of address for %{name}. We need to see this document so we can more accurately verify their identity.",
|
|
1100
1101
|
protector: "Protector",
|
|
1101
1102
|
protectorGuideDescription: "<strong>Protector</strong> is the natural person appointed to direct the trustees in relation to their administration of the trust.",
|
|
@@ -1165,6 +1166,8 @@ const defaultTrans = {
|
|
|
1165
1166
|
remediationMessage_1_308: "Upload a different proof of national ID number",
|
|
1166
1167
|
remediationMessage_1_309: "Upload a different image of the proof of national ID number",
|
|
1167
1168
|
remediationMessage_1_316: "Provide complete 9-digits Social Security Number number or upload an ID document if you don't have SSN.",
|
|
1169
|
+
remediationMessage_1_319: "Update individual details",
|
|
1170
|
+
remediationMessage_1_320: "Upload proof of residency",
|
|
1168
1171
|
remediationMessage_1_500: "Update organization details",
|
|
1169
1172
|
remediationMessage_1_501: "Upload a registration document",
|
|
1170
1173
|
remediationMessage_1_502: "Upload a different registration document",
|
|
@@ -2909,7 +2912,7 @@ var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
|
2909
2912
|
ExperimentNames2["EnablePreferInstantVerificationFlow"] = "EnablePreferInstantVerificationFlow";
|
|
2910
2913
|
ExperimentNames2["EnableFinancialInformationComponentV4"] = "EnableFinancialInformationComponentV4";
|
|
2911
2914
|
ExperimentNames2["StrictNameAndAddressValidationV4"] = "StrictNameAndAddressValidationV4";
|
|
2912
|
-
ExperimentNames2["
|
|
2915
|
+
ExperimentNames2["EnableDoingBusinessAsNameV4"] = "EnableDoingBusinessAsNameV4";
|
|
2913
2916
|
ExperimentNames2["EnablePhoneFieldScenario"] = "EnablePhoneFieldScenario";
|
|
2914
2917
|
ExperimentNames2["EnableAUIncorporatedPartnershipSkipRegistrationNumber"] = "EnableAUIncorporatedPartnershipSkipRegistrationNumber";
|
|
2915
2918
|
ExperimentNames2["EnableCompanyTrusteeSkipABN"] = "EnableCompanyTrusteeSkipABN";
|
|
@@ -8228,7 +8231,9 @@ function DBANameField({
|
|
|
8228
8231
|
}) {
|
|
8229
8232
|
const { i18n } = useI18nContext();
|
|
8230
8233
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
8231
|
-
const
|
|
8234
|
+
const isDoingBusinessAsNameV4Enabled = isExperimentEnabled(
|
|
8235
|
+
ExperimentNames.EnableDoingBusinessAsNameV4
|
|
8236
|
+
);
|
|
8232
8237
|
const selection = useMemo(() => {
|
|
8233
8238
|
if (typeof data.hasDba === "undefined") return;
|
|
8234
8239
|
if (!data.hasDba) setErrors == null ? void 0 : setErrors("dbaName", null);
|
|
@@ -8238,7 +8243,7 @@ function DBANameField({
|
|
|
8238
8243
|
const isYes = selectedValue === "yes";
|
|
8239
8244
|
const isNo = selectedValue === "no";
|
|
8240
8245
|
handleChangeFor("hasDba")(isYes);
|
|
8241
|
-
if (
|
|
8246
|
+
if (isDoingBusinessAsNameV4Enabled) {
|
|
8242
8247
|
handleChangeFor("doingBusinessAbsent")(isNo);
|
|
8243
8248
|
if (isNo) {
|
|
8244
8249
|
handleChangeFor("dbaName")(legalCompanyName);
|
|
@@ -10064,7 +10069,9 @@ function CompanyRegistrationDetailsComponent(props) {
|
|
|
10064
10069
|
const COMPANY_REGISTRATION_DETAILS = mergedProps.id ?? "companyRegistrationDetails";
|
|
10065
10070
|
const { i18n } = useI18nContext();
|
|
10066
10071
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
10067
|
-
const
|
|
10072
|
+
const isDoingBusinessAsNameV4Enabled = isExperimentEnabled(
|
|
10073
|
+
ExperimentNames.EnableDoingBusinessAsNameV4
|
|
10074
|
+
);
|
|
10068
10075
|
const { companyNameAndCountry } = useGlobalData();
|
|
10069
10076
|
const { updateStateSlice } = useGlobalDataSlice(COMPANY_REGISTRATION_DETAILS);
|
|
10070
10077
|
const country = (companyNameAndCountry == null ? void 0 : companyNameAndCountry.country) ?? mergedProps.country;
|
|
@@ -10233,7 +10240,7 @@ function CompanyRegistrationDetailsComponent(props) {
|
|
|
10233
10240
|
}
|
|
10234
10241
|
),
|
|
10235
10242
|
/* @__PURE__ */ jsxs("fieldset", { form: COMPANY_REGISTRATION_DETAILS, children: [
|
|
10236
|
-
!
|
|
10243
|
+
!isDoingBusinessAsNameV4Enabled && formUtils.isRequiredField("tradingName") && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-field-wrapper", children: /* @__PURE__ */ jsx(
|
|
10237
10244
|
TradingNameField,
|
|
10238
10245
|
{
|
|
10239
10246
|
data: formUtils.getFieldData(data, TRADING_NAME_FIELD),
|
|
@@ -10245,7 +10252,7 @@ function CompanyRegistrationDetailsComponent(props) {
|
|
|
10245
10252
|
legalCompanyName
|
|
10246
10253
|
}
|
|
10247
10254
|
) }),
|
|
10248
|
-
|
|
10255
|
+
isDoingBusinessAsNameV4Enabled && formUtils.isRequiredField("dbaName") && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-field-wrapper", children: /* @__PURE__ */ jsx(
|
|
10249
10256
|
DBANameField,
|
|
10250
10257
|
{
|
|
10251
10258
|
data: formUtils.getFieldData(data, DBA_NAME_FIELD),
|
|
@@ -10416,9 +10423,9 @@ const companyBase = {
|
|
|
10416
10423
|
stockExchangeMIC: { rule: "ifPubliclyTradedCompany" },
|
|
10417
10424
|
stockISIN: { rule: "ifPubliclyTradedCompany" },
|
|
10418
10425
|
stockTickerSymbol: { rule: "ifPubliclyTradedCompany" },
|
|
10419
|
-
tradingName: { rule: "
|
|
10420
|
-
dbaName: { rule: "
|
|
10421
|
-
hasDba: { rule: "
|
|
10426
|
+
tradingName: { rule: "isDoingBusinessAsNameV4Disabled" },
|
|
10427
|
+
dbaName: { rule: "isDoingBusinessAsNameV4Enabled" },
|
|
10428
|
+
hasDba: { rule: "isDoingBusinessAsNameV4Enabled" },
|
|
10422
10429
|
dateOfIncorporation: { rule: "countryRequiresDateOfIncorporationForCompanies" },
|
|
10423
10430
|
exemptedFromRegistrationNumber: { rule: "companyRegistrationNumberExemptionAllowed" },
|
|
10424
10431
|
registrationNumber: { rule: "countryRequiresRegistrationNumberForCompanies" },
|
|
@@ -14434,13 +14441,13 @@ const rules$3 = ({
|
|
|
14434
14441
|
return "REQUIRED";
|
|
14435
14442
|
}
|
|
14436
14443
|
},
|
|
14437
|
-
|
|
14438
|
-
if (isExperimentEnabled("
|
|
14444
|
+
isDoingBusinessAsNameV4Enabled: () => {
|
|
14445
|
+
if (isExperimentEnabled("EnableDoingBusinessAsNameV4")) {
|
|
14439
14446
|
return "REQUIRED";
|
|
14440
14447
|
}
|
|
14441
14448
|
},
|
|
14442
|
-
|
|
14443
|
-
if (!isExperimentEnabled("
|
|
14449
|
+
isDoingBusinessAsNameV4Disabled: () => {
|
|
14450
|
+
if (!isExperimentEnabled("EnableDoingBusinessAsNameV4")) {
|
|
14444
14451
|
return "REQUIRED";
|
|
14445
14452
|
}
|
|
14446
14453
|
}
|
|
@@ -14785,9 +14792,9 @@ const companyApiKeyMapping = {
|
|
|
14785
14792
|
const payoutComponentKeyMapping = {
|
|
14786
14793
|
...payoutBaseMapping
|
|
14787
14794
|
};
|
|
14788
|
-
|
|
14795
|
+
({
|
|
14789
14796
|
...reverseObject(payoutBaseMapping)
|
|
14790
|
-
};
|
|
14797
|
+
});
|
|
14791
14798
|
const trustComponentsKeyMapping = {
|
|
14792
14799
|
...trustBaseMapping
|
|
14793
14800
|
};
|
|
@@ -14829,13 +14836,13 @@ const remediationIndividualApiKeyMapping = {
|
|
|
14829
14836
|
"individual.residentialAddress": "address.address",
|
|
14830
14837
|
"document.attachment.attachment.content": "idDocument.idDocument",
|
|
14831
14838
|
[DocumentType.PASSPORT]: "idDocument.idDocument",
|
|
14832
|
-
[DocumentType.PROOF_OF_RESIDENCY]: "
|
|
14839
|
+
[DocumentType.PROOF_OF_RESIDENCY]: "proofOfResidency.proofOfResidency",
|
|
14833
14840
|
[DocumentType.PROOF_OF_NATIONAL_ID_NUMBER]: "proofOfNationalId.proofOfNationalId",
|
|
14834
14841
|
[DocumentType.PROOF_OF_RELATIONSHIP]: "proofOfRelationship.proofOfRelationship"
|
|
14835
14842
|
};
|
|
14836
14843
|
const remediationPayoutApiKeyMapping = {
|
|
14837
14844
|
bankAccount: "payoutAccountDetails",
|
|
14838
|
-
...
|
|
14845
|
+
...payoutComponentKeyMapping,
|
|
14839
14846
|
[DocumentType.BANK_STATEMENT]: "payoutAccountDocuments.bankStatementDocument"
|
|
14840
14847
|
};
|
|
14841
14848
|
const remediationTrustKeyMapping = {
|
|
@@ -14849,7 +14856,7 @@ const remediationSolePropKeyMapping = {
|
|
|
14849
14856
|
const legalEntityDocumentToFieldMapping = {
|
|
14850
14857
|
[LegalEntityType.INDIVIDUAL]: {
|
|
14851
14858
|
[DocumentType.PASSPORT]: "idDocument.idDocument",
|
|
14852
|
-
[DocumentType.PROOF_OF_RESIDENCY]: "
|
|
14859
|
+
[DocumentType.PROOF_OF_RESIDENCY]: "proofOfResidency.proofOfResidency",
|
|
14853
14860
|
[DocumentType.PROOF_OF_NATIONAL_ID_NUMBER]: "proofOfNationalId.proofOfNationalId"
|
|
14854
14861
|
},
|
|
14855
14862
|
[LegalEntityType.ORGANIZATION]: {
|
|
@@ -15265,7 +15272,7 @@ const getPageName = (document2, pageType) => getPage(document2, pageType).pageNa
|
|
|
15265
15272
|
const mapIndividualDocumentToApiDocument = async (data, entityId) => {
|
|
15266
15273
|
var _a, _b, _c, _d, _e;
|
|
15267
15274
|
if (data) {
|
|
15268
|
-
const { idDocument: idDocument2, proofOfNationalId,
|
|
15275
|
+
const { idDocument: idDocument2, proofOfNationalId, proofOfResidency, proofOfRelationship } = data;
|
|
15269
15276
|
const entityType = "legalEntity";
|
|
15270
15277
|
const documents = await Promise.all([
|
|
15271
15278
|
createDocumentRequest({
|
|
@@ -15285,7 +15292,7 @@ const mapIndividualDocumentToApiDocument = async (data, entityId) => {
|
|
|
15285
15292
|
entityId,
|
|
15286
15293
|
entityType,
|
|
15287
15294
|
documentType: DocumentType.PROOF_OF_RESIDENCY,
|
|
15288
|
-
page1: (_d =
|
|
15295
|
+
page1: (_d = proofOfResidency == null ? void 0 : proofOfResidency.proofOfResidency) == null ? void 0 : _d[0]
|
|
15289
15296
|
}),
|
|
15290
15297
|
createDocumentRequest({
|
|
15291
15298
|
entityId,
|
|
@@ -15320,12 +15327,12 @@ const mapApiIdDocumentToSchema = (idDocument2) => {
|
|
|
15320
15327
|
};
|
|
15321
15328
|
const mapApiDocumentToIndividualDocuments = (entityId) => {
|
|
15322
15329
|
const idDocument2 = getIdDocument(entityId) || null;
|
|
15323
|
-
const
|
|
15330
|
+
const proofOfResidency = getDocument$1(entityId, DocumentType.PROOF_OF_RESIDENCY) || null;
|
|
15324
15331
|
const proofOfNationalId = getDocument$1(entityId, DocumentType.PROOF_OF_NATIONAL_ID_NUMBER) || null;
|
|
15325
15332
|
const proofOfRelationship = getDocument$1(entityId, DocumentType.PROOF_OF_RELATIONSHIP) || null;
|
|
15326
15333
|
return {
|
|
15327
15334
|
idDocument: idDocument2 ? mapApiIdDocumentToSchema(idDocument2) : null,
|
|
15328
|
-
|
|
15335
|
+
proofOfResidency: proofOfResidency ? { proofOfResidency: [mapExistingFile(getPageName(proofOfResidency))] } : null,
|
|
15329
15336
|
proofOfNationalId: proofOfNationalId ? { proofOfNationalId: [mapExistingFile(getPageName(proofOfNationalId))] } : null,
|
|
15330
15337
|
proofOfRelationship: proofOfRelationship ? { proofOfRelationship: [mapExistingFile(getPageName(proofOfRelationship))] } : null
|
|
15331
15338
|
};
|
|
@@ -17157,8 +17164,8 @@ const trustBase = {
|
|
|
17157
17164
|
legalName: {
|
|
17158
17165
|
rule: "REQUIRED"
|
|
17159
17166
|
},
|
|
17160
|
-
dbaName: { rule: "
|
|
17161
|
-
hasDba: { rule: "
|
|
17167
|
+
dbaName: { rule: "isDoingBusinessAsNameV4Enabled" },
|
|
17168
|
+
hasDba: { rule: "isDoingBusinessAsNameV4Enabled" },
|
|
17162
17169
|
country: {
|
|
17163
17170
|
rule: "REQUIRED"
|
|
17164
17171
|
},
|
|
@@ -18354,6 +18361,7 @@ function PersonalDetailsComponent(props) {
|
|
|
18354
18361
|
const canChangeEntityType = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange);
|
|
18355
18362
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
18356
18363
|
const isAgeVerificationEnabled = isExperimentEnabled("EnableAgeVerification");
|
|
18364
|
+
const isLegalAgeEnforced = isSettingEnabled(SettingNames.EnforceLegalAge);
|
|
18357
18365
|
const {
|
|
18358
18366
|
id: PERSONAL_DETAILS,
|
|
18359
18367
|
trustedRoles,
|
|
@@ -18469,7 +18477,7 @@ function PersonalDetailsComponent(props) {
|
|
|
18469
18477
|
data,
|
|
18470
18478
|
taskType: props.taskType
|
|
18471
18479
|
});
|
|
18472
|
-
if (translatableWarningMessage) {
|
|
18480
|
+
if (!isLegalAgeEnforced && translatableWarningMessage) {
|
|
18473
18481
|
return {
|
|
18474
18482
|
title: i18n.get(translatableWarningMessage.title),
|
|
18475
18483
|
variant: "warning",
|
|
@@ -18801,9 +18809,9 @@ function ProofOfResidencyComponent({ id, ...props }) {
|
|
|
18801
18809
|
DocumentUpload,
|
|
18802
18810
|
{
|
|
18803
18811
|
...props,
|
|
18804
|
-
documentField: "
|
|
18812
|
+
documentField: "proofOfResidency",
|
|
18805
18813
|
documentType: DocumentType.PROOF_OF_RESIDENCY,
|
|
18806
|
-
heading: i18n.get("
|
|
18814
|
+
heading: i18n.get("proofOfResidency"),
|
|
18807
18815
|
guidanceHeader: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-document-upload__subtitle adyen-kyc-u-margin-bottom-16", children: i18n.get("proofOfResidenceDocumentTypeLabel", { values: { name: props.name } }) }),
|
|
18808
18816
|
documentTypeSelect: {
|
|
18809
18817
|
selectedType: proofOfResidenceDocumentType,
|
|
@@ -18840,10 +18848,10 @@ const individualForms = {
|
|
|
18840
18848
|
formName: "idDocument",
|
|
18841
18849
|
fields: [...idDocumentUploadFields]
|
|
18842
18850
|
},
|
|
18843
|
-
|
|
18844
|
-
formId: "
|
|
18845
|
-
formName: "
|
|
18846
|
-
fields: ["
|
|
18851
|
+
proofOfResidency: {
|
|
18852
|
+
formId: "proofOfResidency",
|
|
18853
|
+
formName: "proofOfResidency",
|
|
18854
|
+
fields: ["proofOfResidency"]
|
|
18847
18855
|
},
|
|
18848
18856
|
proofOfNationalId: {
|
|
18849
18857
|
formId: "proofOfNationalId",
|
|
@@ -18860,7 +18868,7 @@ const personalDetailsFormID = individualForms.personalDetails.formId;
|
|
|
18860
18868
|
const addressFormID = individualForms.address.formId;
|
|
18861
18869
|
const idDocumentFormID = individualForms.idDocument.formId;
|
|
18862
18870
|
const idVerificationMethodFormID = individualForms.idVerificationMethod.formId;
|
|
18863
|
-
const proofOfResidencyFormID = individualForms.
|
|
18871
|
+
const proofOfResidencyFormID = individualForms.proofOfResidency.formId;
|
|
18864
18872
|
const proofOfNationalIdFormID = individualForms.proofOfNationalId.formId;
|
|
18865
18873
|
const proofOfRelationshipFormID = individualForms.proofOfRelationship.formId;
|
|
18866
18874
|
const individualDocumentForms = [
|
|
@@ -21604,7 +21612,6 @@ const PayoutAccount = memo(
|
|
|
21604
21612
|
PayoutAccountComponent,
|
|
21605
21613
|
(prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.country === nextProps.country && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.arePayoutAccountDetailsInvalid === nextProps.arePayoutAccountDetailsInvalid && prevProps.invalidFieldNames === nextProps.invalidFieldNames
|
|
21606
21614
|
);
|
|
21607
|
-
const toCapitalized = (s) => `${s[0].toUpperCase()}${s.slice(1).toLowerCase()}`;
|
|
21608
21615
|
const eeaCountries = [
|
|
21609
21616
|
CountryCodes.Austria,
|
|
21610
21617
|
CountryCodes.Belgium,
|
|
@@ -21648,27 +21655,37 @@ const regions = {
|
|
|
21648
21655
|
const getAllowedBankCountries = (country) => Object.values(regions).find((countriesInARegion) => countriesInARegion.includes(country)) ?? [
|
|
21649
21656
|
country
|
|
21650
21657
|
];
|
|
21651
|
-
const
|
|
21652
|
-
|
|
21653
|
-
|
|
21654
|
-
|
|
21655
|
-
|
|
21656
|
-
|
|
21657
|
-
|
|
21658
|
-
|
|
21659
|
-
|
|
21660
|
-
|
|
21661
|
-
|
|
21662
|
-
|
|
21663
|
-
},
|
|
21664
|
-
manualVerification: {
|
|
21665
|
-
name: "uploadABankStatement",
|
|
21666
|
-
subtitle: "mayTakeAFewDays",
|
|
21667
|
-
description: "manualVerificationDescription",
|
|
21668
|
-
svgName: "payout-verification-manual"
|
|
21669
|
-
}
|
|
21670
|
-
};
|
|
21658
|
+
const getProviderName = (providerName) => providerName === "PayWithMyBank" ? "Trustly" : providerName;
|
|
21659
|
+
const getProviderIconName = (providerName) => {
|
|
21660
|
+
switch (providerName == null ? void 0 : providerName.toLowerCase()) {
|
|
21661
|
+
case "tink":
|
|
21662
|
+
return "tink-logo";
|
|
21663
|
+
case "paywithmybank":
|
|
21664
|
+
return "trustly-logo";
|
|
21665
|
+
case "plaid":
|
|
21666
|
+
return "plaid-logo";
|
|
21667
|
+
default:
|
|
21668
|
+
return void 0;
|
|
21669
|
+
}
|
|
21671
21670
|
};
|
|
21671
|
+
const makePayoutVerificationMethodsMetadata = (instantVerificationProviderName) => ({
|
|
21672
|
+
instantVerification: {
|
|
21673
|
+
name: "verifyViaMobileBankingAppOrWebsite",
|
|
21674
|
+
subtitle: "instant",
|
|
21675
|
+
description: "instantVerificationDescription",
|
|
21676
|
+
svgName: "payout-verification-instant",
|
|
21677
|
+
provider: instantVerificationProviderName ? {
|
|
21678
|
+
name: instantVerificationProviderName,
|
|
21679
|
+
svgName: getProviderIconName(instantVerificationProviderName)
|
|
21680
|
+
} : void 0
|
|
21681
|
+
},
|
|
21682
|
+
manualVerification: {
|
|
21683
|
+
name: "uploadABankStatement",
|
|
21684
|
+
subtitle: "mayTakeAFewDays",
|
|
21685
|
+
description: "manualVerificationDescription",
|
|
21686
|
+
svgName: "payout-verification-manual"
|
|
21687
|
+
}
|
|
21688
|
+
});
|
|
21672
21689
|
const payoutVerificationMethods = ["instantVerification", "manualVerification"];
|
|
21673
21690
|
function Card({
|
|
21674
21691
|
className,
|
|
@@ -21815,18 +21832,6 @@ const styles$4 = {
|
|
|
21815
21832
|
"prefer-instant-verification-method-manual-button-darker": "adyen-kyc-prefer-instant-verification-method-manual-button-darker",
|
|
21816
21833
|
preferInstantVerificationMethodManualButtonDarker
|
|
21817
21834
|
};
|
|
21818
|
-
const getProviderIconName = (providerName) => {
|
|
21819
|
-
switch (providerName) {
|
|
21820
|
-
case "tink":
|
|
21821
|
-
return "tink-logo";
|
|
21822
|
-
case "trustly":
|
|
21823
|
-
return "trustly-logo";
|
|
21824
|
-
case "plaid":
|
|
21825
|
-
return "plaid-logo";
|
|
21826
|
-
default:
|
|
21827
|
-
return void 0;
|
|
21828
|
-
}
|
|
21829
|
-
};
|
|
21830
21835
|
const PreferInstantVerificationMethod = ({
|
|
21831
21836
|
loadingStatus,
|
|
21832
21837
|
provider,
|
|
@@ -21841,9 +21846,8 @@ const PreferInstantVerificationMethod = ({
|
|
|
21841
21846
|
handleChangeFor,
|
|
21842
21847
|
triggerValidation
|
|
21843
21848
|
}) => {
|
|
21844
|
-
var _a;
|
|
21845
21849
|
const { i18n } = useI18nContext();
|
|
21846
|
-
const iconName = getProviderIconName(
|
|
21850
|
+
const iconName = getProviderIconName(provider == null ? void 0 : provider.name);
|
|
21847
21851
|
const showVerificationWidget = isProviderPlaidEmbedded(provider == null ? void 0 : provider.redirectUrl);
|
|
21848
21852
|
const [verificationComplete, setVerificationComplete] = useState(false);
|
|
21849
21853
|
const retrieveBankAccountInfo = async ({
|
|
@@ -21928,14 +21932,14 @@ const PayoutVerificationMethodOptionFooter = ({
|
|
|
21928
21932
|
const { provider } = methodsMetadata[method];
|
|
21929
21933
|
return provider ? /* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "adyen-kyc-field-verification-methods__footer", children: [
|
|
21930
21934
|
i18n.get("poweredBy"),
|
|
21931
|
-
/* @__PURE__ */ jsx(
|
|
21935
|
+
provider.svgName ? /* @__PURE__ */ jsx(
|
|
21932
21936
|
Icon,
|
|
21933
21937
|
{
|
|
21934
21938
|
className: "adyen-kyc-field-verification-methods__logo",
|
|
21935
21939
|
name: provider.svgName,
|
|
21936
21940
|
alt: provider.name
|
|
21937
21941
|
}
|
|
21938
|
-
)
|
|
21942
|
+
) : provider.name
|
|
21939
21943
|
] }) : null;
|
|
21940
21944
|
};
|
|
21941
21945
|
const payoutVerificationMethodFields = ["payoutVerificationMethod", "bankCountry", ...accountVerificationFields];
|
|
@@ -21988,6 +21992,7 @@ function PayoutVerificationMethod(props) {
|
|
|
21988
21992
|
SettingNames.AllowIntraRegionCrossBorderPayout
|
|
21989
21993
|
);
|
|
21990
21994
|
const [hasSelectedMethod, setHasSelectedMethod] = useState(false);
|
|
21995
|
+
const providerName = getProviderName(provider == null ? void 0 : provider.name);
|
|
21991
21996
|
const { handleChangeFor, data, valid, errors, fieldProblems, triggerValidation } = useForm({
|
|
21992
21997
|
...props,
|
|
21993
21998
|
schema: payoutVerificationMethodFields,
|
|
@@ -22181,18 +22186,18 @@ function PayoutVerificationMethod(props) {
|
|
|
22181
22186
|
id: "ariaErrorField"
|
|
22182
22187
|
}
|
|
22183
22188
|
),
|
|
22184
|
-
!enablePreferInstantVerificationMethodFlow &&
|
|
22189
|
+
!enablePreferInstantVerificationMethodFlow && providerName && bankVendorsLoadingStatus === "success" ? /* @__PURE__ */ jsx(
|
|
22185
22190
|
ContextGuidance,
|
|
22186
22191
|
{
|
|
22187
22192
|
page: "Instant verification with partner",
|
|
22188
22193
|
titleId: "howDoesVerificationWithOurPartnerWorks",
|
|
22189
22194
|
contentId: "bankVerificationWithPartnerSteps",
|
|
22190
22195
|
title: i18n.get("howDoesVerificationWithOurPartnerWorks", {
|
|
22191
|
-
values: { provider:
|
|
22196
|
+
values: { provider: providerName }
|
|
22192
22197
|
}),
|
|
22193
22198
|
content: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
22194
22199
|
/* @__PURE__ */ jsx(Typography, { children: i18n.get("isOurTrustedPartnerHelpingSpeedUpSetup", {
|
|
22195
|
-
values: { provider:
|
|
22200
|
+
values: { provider: providerName }
|
|
22196
22201
|
}) }),
|
|
22197
22202
|
/* @__PURE__ */ jsxs(List, { children: [
|
|
22198
22203
|
/* @__PURE__ */ jsx(ListItem, { children: i18n.get("selectTheBankToReceivePayouts") }),
|
|
@@ -23326,7 +23331,9 @@ function TrustRegistrationDetailsComponent(props) {
|
|
|
23326
23331
|
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(
|
|
23327
23332
|
ExperimentNames.StrictNameAndAddressValidationV4
|
|
23328
23333
|
);
|
|
23329
|
-
const
|
|
23334
|
+
const isDoingBusinessAsNameV4Enabled = isExperimentEnabled(
|
|
23335
|
+
ExperimentNames.EnableDoingBusinessAsNameV4
|
|
23336
|
+
);
|
|
23330
23337
|
const TRUST_REGISTRATION_DETAILS = props.id || trustForms.trustRegistrationDetails.formId;
|
|
23331
23338
|
const stateRef = useRef({ setState: null });
|
|
23332
23339
|
const requiredFieldsByTask = trustRegistrationDetailsFields;
|
|
@@ -23432,7 +23439,7 @@ function TrustRegistrationDetailsComponent(props) {
|
|
|
23432
23439
|
)
|
|
23433
23440
|
}
|
|
23434
23441
|
),
|
|
23435
|
-
|
|
23442
|
+
isDoingBusinessAsNameV4Enabled && formUtils.isRequiredField("dbaName") && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-field-wrapper", children: /* @__PURE__ */ jsx(
|
|
23436
23443
|
DBANameField,
|
|
23437
23444
|
{
|
|
23438
23445
|
data: formUtils.getFieldData(data, DBA_NAME_FIELD),
|
|
@@ -23634,6 +23641,8 @@ const invalidInputRemediationActionMappings = {
|
|
|
23634
23641
|
"1_314": [{ key: "proofOfIndividualTaxId" }],
|
|
23635
23642
|
"1_315": [{ key: "proofOfIndividualTaxId" }],
|
|
23636
23643
|
"1_316": [{ key: "individual.identificationData.number" }],
|
|
23644
|
+
"1_319": [{ key: "individual.residentialAddress" }],
|
|
23645
|
+
"1_320": [{ key: DocumentType.PROOF_OF_RESIDENCY }],
|
|
23637
23646
|
"1_500": [
|
|
23638
23647
|
{ key: "organization.legalName" },
|
|
23639
23648
|
{ key: "organization.registrationNumber" },
|
|
@@ -23666,7 +23675,8 @@ const invalidInputRemediationActionMappings = {
|
|
|
23666
23675
|
"1_704": [{ key: DocumentType.BANK_STATEMENT }],
|
|
23667
23676
|
"1_705": [{ key: DocumentType.BANK_STATEMENT }],
|
|
23668
23677
|
"1_803": [{ key: DocumentType.PROOF_OF_DIRECTOR }],
|
|
23669
|
-
"1_804": [{ key: DocumentType.PROOF_OF_DIRECTOR }]
|
|
23678
|
+
"1_804": [{ key: DocumentType.PROOF_OF_DIRECTOR }],
|
|
23679
|
+
"1_3083": [{ key: DocumentType.PROOF_OF_RESIDENCY }]
|
|
23670
23680
|
};
|
|
23671
23681
|
const dataMissingRemediationsToFieldsMap = {
|
|
23672
23682
|
"1_501": [DocumentType.REGISTRATION_DOCUMENT],
|
|
@@ -23691,6 +23701,14 @@ const OVERRIDE_REMEDIATION_CODE = {
|
|
|
23691
23701
|
"1_502": { code: "1_504", message: "Upload a different tax document" }
|
|
23692
23702
|
};
|
|
23693
23703
|
const OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS = {
|
|
23704
|
+
"1_3083": [
|
|
23705
|
+
{ code: "1_319", message: "Update individual details" },
|
|
23706
|
+
{ code: "1_320", message: "Upload proof of residency" }
|
|
23707
|
+
],
|
|
23708
|
+
"1_3072": [
|
|
23709
|
+
{ code: "1_300", message: "Update individual details" },
|
|
23710
|
+
{ code: "1_302", message: "Upload a different ID document" }
|
|
23711
|
+
],
|
|
23694
23712
|
"1_5012": [
|
|
23695
23713
|
...[OVERRIDE_REMEDIATION_CODE["1_501"]],
|
|
23696
23714
|
{ code: "1_500", message: "Update organization details" }
|
|
@@ -23721,6 +23739,12 @@ const OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS = {
|
|
|
23721
23739
|
};
|
|
23722
23740
|
const OVERRIDE_SUB_ERROR = {
|
|
23723
23741
|
// 1_5012: The submitted company type didn't match the one on the registry
|
|
23742
|
+
"1_3083": {
|
|
23743
|
+
code: "1_3083",
|
|
23744
|
+
message: "The name or residential address couldn't be verified.",
|
|
23745
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
23746
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_3083"]
|
|
23747
|
+
},
|
|
23724
23748
|
"1_5012": {
|
|
23725
23749
|
code: "1_5012",
|
|
23726
23750
|
message: "The submitted company type didn't match the one on the registry",
|
|
@@ -23791,6 +23815,19 @@ const OVERRIDE_DATA_MISSING_ERROR = {
|
|
|
23791
23815
|
message: "'proofOfOrganizationTaxInfo' was missing",
|
|
23792
23816
|
type: VerificationErrorType.DATA_MISSING,
|
|
23793
23817
|
remediatingActions: [OVERRIDE_REMEDIATION_CODE["1_501"]]
|
|
23818
|
+
},
|
|
23819
|
+
"1_3083": {
|
|
23820
|
+
code: "1_3083",
|
|
23821
|
+
message: "The name or residential address couldn't be verified.",
|
|
23822
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
23823
|
+
subErrors: [
|
|
23824
|
+
{
|
|
23825
|
+
code: "1_3083",
|
|
23826
|
+
message: "Individual details didn't match the ID document",
|
|
23827
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
23828
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_3083"]
|
|
23829
|
+
}
|
|
23830
|
+
]
|
|
23794
23831
|
}
|
|
23795
23832
|
};
|
|
23796
23833
|
const overrideError = (verificationError) => {
|
|
@@ -23800,6 +23837,11 @@ const overrideError = (verificationError) => {
|
|
|
23800
23837
|
switch (verificationError.code) {
|
|
23801
23838
|
case "2_8141":
|
|
23802
23839
|
return OVERRIDE_DATA_MISSING_ERROR["2_8141"];
|
|
23840
|
+
case "1_3083":
|
|
23841
|
+
return {
|
|
23842
|
+
...OVERRIDE_DATA_MISSING_ERROR["1_3083"],
|
|
23843
|
+
subErrors: [OVERRIDE_SUB_ERROR["1_3083"]]
|
|
23844
|
+
};
|
|
23803
23845
|
default:
|
|
23804
23846
|
return verificationError;
|
|
23805
23847
|
}
|
|
@@ -24061,7 +24103,7 @@ const aggregateProblemsByEntity = (problems, entity) => problems.reduce(
|
|
|
24061
24103
|
{}
|
|
24062
24104
|
);
|
|
24063
24105
|
const overrideVerificationErrors = (verificationErrors, country) => verificationErrors.map((verificationError) => {
|
|
24064
|
-
if (country === "US") {
|
|
24106
|
+
if (country === "US" || verificationError.code === "1_3083") {
|
|
24065
24107
|
return overrideError(verificationError);
|
|
24066
24108
|
}
|
|
24067
24109
|
return verificationError;
|
|
@@ -24087,7 +24129,7 @@ function getCapabilityProblems(entity, country, isExperimentEnabled) {
|
|
|
24087
24129
|
const remediationHasFileUploadField = (remediation) => {
|
|
24088
24130
|
var _a;
|
|
24089
24131
|
return (_a = remediation == null ? void 0 : remediation.forms) == null ? void 0 : _a.some(
|
|
24090
|
-
(form) => form === individualForms.idVerificationMethod.formId || form === individualForms.idDocument.formId || form === individualForms.
|
|
24132
|
+
(form) => form === individualForms.idVerificationMethod.formId || form === individualForms.idDocument.formId || form === individualForms.proofOfResidency.formId || form === individualForms.proofOfNationalId.formId || form === companyForms.companyRegistrationDocument.formId || form === companyForms.companyTaxDocument.formId || form === payoutSteps.payoutAccountDocuments.formId || form === solePropForms.solePropConstitutionalDocument.formId || form === trustForms.trustConstitutionalDocument.formId
|
|
24091
24133
|
);
|
|
24092
24134
|
};
|
|
24093
24135
|
const getEntityType = (baseEntityType, legalEntity, legalEntityId) => {
|
|
@@ -24725,8 +24767,8 @@ const identityBase = {
|
|
|
24725
24767
|
residencyCountry: {
|
|
24726
24768
|
rule: "REQUIRED"
|
|
24727
24769
|
},
|
|
24728
|
-
|
|
24729
|
-
rule: "
|
|
24770
|
+
proofOfResidency: {
|
|
24771
|
+
rule: "isProofOfResidencyRequired"
|
|
24730
24772
|
},
|
|
24731
24773
|
proofOfNationalId: {
|
|
24732
24774
|
rule: "isProofOfNationalIdRequired"
|
|
@@ -24816,9 +24858,9 @@ const solePropBase = {
|
|
|
24816
24858
|
stockExchangeMIC: { rule: "ifPubliclyTradedCompany" },
|
|
24817
24859
|
stockISIN: { rule: "ifPubliclyTradedCompany" },
|
|
24818
24860
|
stockTickerSymbol: { rule: "ifPubliclyTradedCompany" },
|
|
24819
|
-
tradingName: { rule: "
|
|
24820
|
-
dbaName: { rule: "
|
|
24821
|
-
hasDba: { rule: "
|
|
24861
|
+
tradingName: { rule: "isDoingBusinessAsNameV4Disabled" },
|
|
24862
|
+
dbaName: { rule: "isDoingBusinessAsNameV4Enabled" },
|
|
24863
|
+
hasDba: { rule: "isDoingBusinessAsNameV4Enabled" },
|
|
24822
24864
|
dateOfIncorporation: { rule: "countryRequiresDateOfIncorporationForCompanies" },
|
|
24823
24865
|
exemptedFromRegistrationNumber: { rule: "countryHasRegistrationExemptionsForSomeSoleProps" },
|
|
24824
24866
|
registrationNumber: { rule: "countryRequiresRegistrationNumberForSoleProps" },
|
|
@@ -27358,9 +27400,9 @@ const rules$1 = ({
|
|
|
27358
27400
|
return REQUIRED;
|
|
27359
27401
|
}
|
|
27360
27402
|
},
|
|
27361
|
-
|
|
27403
|
+
isProofOfResidencyRequired: () => {
|
|
27362
27404
|
var _a, _b;
|
|
27363
|
-
if ((_b = (_a = data.
|
|
27405
|
+
if ((_b = (_a = data.proofOfResidency) == null ? void 0 : _a.proofOfResidency) == null ? void 0 : _b.length) {
|
|
27364
27406
|
return REQUIRED;
|
|
27365
27407
|
}
|
|
27366
27408
|
},
|
|
@@ -28148,16 +28190,19 @@ const FormWrapper = ({
|
|
|
28148
28190
|
}
|
|
28149
28191
|
),
|
|
28150
28192
|
right: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
28151
|
-
!hideBackButton && /* @__PURE__ */
|
|
28152
|
-
Button,
|
|
28153
|
-
|
|
28154
|
-
|
|
28155
|
-
|
|
28156
|
-
|
|
28157
|
-
|
|
28158
|
-
|
|
28159
|
-
|
|
28160
|
-
|
|
28193
|
+
!hideBackButton && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
28194
|
+
!asModal && handleBackClick && /* @__PURE__ */ jsx(Button, { label: i18n.get("back"), onClick: handleBackClick, secondary: true }),
|
|
28195
|
+
/* @__PURE__ */ jsx(
|
|
28196
|
+
Button,
|
|
28197
|
+
{
|
|
28198
|
+
label: "Finish Later",
|
|
28199
|
+
secondary: true,
|
|
28200
|
+
icon: "save",
|
|
28201
|
+
onClick: handleFinishLater,
|
|
28202
|
+
loading: finishLaterLoading
|
|
28203
|
+
}
|
|
28204
|
+
)
|
|
28205
|
+
] }),
|
|
28161
28206
|
!hideNextButton && /* @__PURE__ */ jsx(Button, { label: nextButtonLabel, onClick: handleNextClick })
|
|
28162
28207
|
] })
|
|
28163
28208
|
}
|
|
@@ -31454,6 +31499,7 @@ const useIntroductionScreens = ({ legalEntity, tasks }) => {
|
|
|
31454
31499
|
);
|
|
31455
31500
|
return canSeeIntroduction && (introductionScreens == null ? void 0 : introductionScreens.length) > 0 ? [IntroductionScreens.PROLOGUE, ...introductionScreens, IntroductionScreens.EPILOGUE] : void 0;
|
|
31456
31501
|
};
|
|
31502
|
+
const toCapitalized = (s) => `${s[0].toUpperCase()}${s.slice(1).toLowerCase()}`;
|
|
31457
31503
|
const toPascalCase = (s) => s.split(/[^A-Za-z]/).map((word) => toCapitalized(word)).join("");
|
|
31458
31504
|
var IntroductionScreenTranslationKeyElements = /* @__PURE__ */ ((IntroductionScreenTranslationKeyElements2) => {
|
|
31459
31505
|
IntroductionScreenTranslationKeyElements2["ListItem"] = "LI";
|
|
@@ -33335,11 +33381,11 @@ function IndividualDropinComponent({
|
|
|
33335
33381
|
const formatFileSummaryData2 = ({
|
|
33336
33382
|
idDocument: idDocument2,
|
|
33337
33383
|
proofOfNationalId,
|
|
33338
|
-
|
|
33384
|
+
proofOfResidency
|
|
33339
33385
|
}) => {
|
|
33340
33386
|
var _a2, _b2;
|
|
33341
33387
|
const proofOfNationalIdFile = (_a2 = proofOfNationalId == null ? void 0 : proofOfNationalId.proofOfNationalId) == null ? void 0 : _a2[0];
|
|
33342
|
-
const
|
|
33388
|
+
const proofOfResidencyFile = (_b2 = proofOfResidency == null ? void 0 : proofOfResidency.proofOfResidency) == null ? void 0 : _b2[0];
|
|
33343
33389
|
return {
|
|
33344
33390
|
...((idDocument2 == null ? void 0 : idDocument2.idDocumentType) || (idDocument2 == null ? void 0 : idDocument2.instantIdVerificationData)) && {
|
|
33345
33391
|
idDocument: formatIdDocument(idDocument2)
|
|
@@ -33349,9 +33395,9 @@ function IndividualDropinComponent({
|
|
|
33349
33395
|
fileName: proofOfNationalIdFile.name
|
|
33350
33396
|
}
|
|
33351
33397
|
},
|
|
33352
|
-
...
|
|
33353
|
-
|
|
33354
|
-
fileName:
|
|
33398
|
+
...proofOfResidencyFile && {
|
|
33399
|
+
proofOfResidency: {
|
|
33400
|
+
fileName: proofOfResidencyFile.name
|
|
33355
33401
|
}
|
|
33356
33402
|
}
|
|
33357
33403
|
};
|
|
@@ -33601,7 +33647,7 @@ function PayoutDetailsDropinComponent({
|
|
|
33601
33647
|
const defaultPayoutCountry = getLegalEntityCountry(legalEntityResponse);
|
|
33602
33648
|
const existingPayoutDetails = transferInstrument ? mapTransferInstrumentToPayoutAccount(transferInstrument) : void 0;
|
|
33603
33649
|
const [documents, setDocuments] = useState();
|
|
33604
|
-
const [useFreshProviderRedirectUrl, setUseFreshProviderRedirectUrl] = useState(
|
|
33650
|
+
const [useFreshProviderRedirectUrl, setUseFreshProviderRedirectUrl] = useState(false);
|
|
33605
33651
|
const fallbackCurrency = (_a = currencyByCountry[defaultPayoutCountry]) == null ? void 0 : _a[0];
|
|
33606
33652
|
const accountHolderName = accountHolder || getLegalEntityNameBasedOnType(legalEntityResponse);
|
|
33607
33653
|
const instantVerificationEnabled = Boolean(
|
|
@@ -35462,8 +35508,15 @@ function ServiceAgreementDropinComponent({
|
|
|
35462
35508
|
thick: true
|
|
35463
35509
|
}
|
|
35464
35510
|
),
|
|
35465
|
-
right: (
|
|
35466
|
-
|
|
35511
|
+
right: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
35512
|
+
!asModal && /* @__PURE__ */ jsx(
|
|
35513
|
+
Button,
|
|
35514
|
+
{
|
|
35515
|
+
label: i18n.get("back"),
|
|
35516
|
+
onClick: () => gotoForm(activeFormIndex - 1),
|
|
35517
|
+
secondary: true
|
|
35518
|
+
}
|
|
35519
|
+
),
|
|
35467
35520
|
/* @__PURE__ */ jsx(
|
|
35468
35521
|
Button,
|
|
35469
35522
|
{
|
|
@@ -35472,7 +35525,7 @@ function ServiceAgreementDropinComponent({
|
|
|
35472
35525
|
onClick: handleClick
|
|
35473
35526
|
}
|
|
35474
35527
|
)
|
|
35475
|
-
)
|
|
35528
|
+
] })
|
|
35476
35529
|
}
|
|
35477
35530
|
);
|
|
35478
35531
|
const endScreen = hasFinished && /* @__PURE__ */ jsx(
|
|
@@ -35862,8 +35915,8 @@ const rules = ({
|
|
|
35862
35915
|
return "REQUIRED";
|
|
35863
35916
|
}
|
|
35864
35917
|
},
|
|
35865
|
-
|
|
35866
|
-
if (isExperimentEnabled("
|
|
35918
|
+
isDoingBusinessAsNameV4Enabled: () => {
|
|
35919
|
+
if (isExperimentEnabled("EnableDoingBusinessAsNameV4")) {
|
|
35867
35920
|
return "REQUIRED";
|
|
35868
35921
|
}
|
|
35869
35922
|
}
|
|
@@ -38176,6 +38229,7 @@ function CreateIndividualComponent({
|
|
|
38176
38229
|
idVerificationStartCheck,
|
|
38177
38230
|
getProviderStatus: getProviderStatus2
|
|
38178
38231
|
} = useComponentApi(legalEntityId ?? parentLegalEntityId);
|
|
38232
|
+
const [isLoading, setIsLoading] = useState(true);
|
|
38179
38233
|
const [legalEntity, setLegalEntity] = useState();
|
|
38180
38234
|
const [parentLegalEntity, setParentLegalEntity] = useState();
|
|
38181
38235
|
const [isIdDocumentEnabled, setIsIdDocumentEnabled] = useState(true);
|
|
@@ -38202,7 +38256,9 @@ function CreateIndividualComponent({
|
|
|
38202
38256
|
}
|
|
38203
38257
|
}, [parentLegalEntityId, legalEntityId, getLegalEntity2]);
|
|
38204
38258
|
useEffect(() => {
|
|
38205
|
-
fetchLegalEntity().catch(logger$i.error)
|
|
38259
|
+
fetchLegalEntity().catch(logger$i.error).finally(() => {
|
|
38260
|
+
setIsLoading(false);
|
|
38261
|
+
});
|
|
38206
38262
|
}, [fetchLegalEntity]);
|
|
38207
38263
|
const country = ((_a = legalEntity == null ? void 0 : legalEntity.individual) == null ? void 0 : _a.residentialAddress.country) ?? contextCountry;
|
|
38208
38264
|
const onSubmit = (d) => {
|
|
@@ -38222,7 +38278,7 @@ function CreateIndividualComponent({
|
|
|
38222
38278
|
useEffect(() => {
|
|
38223
38279
|
fetchProviderStatus().catch(logger$i.error);
|
|
38224
38280
|
}, [fetchProviderStatus]);
|
|
38225
|
-
return /* @__PURE__ */ jsx(
|
|
38281
|
+
return isLoading || !legalEntity ? /* @__PURE__ */ jsx(Loader, { size: "medium" }) : /* @__PURE__ */ jsx(
|
|
38226
38282
|
IndividualDropinComponent,
|
|
38227
38283
|
{
|
|
38228
38284
|
parentLegalEntity,
|
|
@@ -38290,6 +38346,10 @@ function CreateTransferInstrumentComponent({
|
|
|
38290
38346
|
setLoadingStatus("success");
|
|
38291
38347
|
});
|
|
38292
38348
|
}, [transferInstrumentId, fetchLegalEntity, getTransferInstrument2]);
|
|
38349
|
+
const handleGetBankVerificationVendors = useCallback(
|
|
38350
|
+
(country) => getBankVerificationVendor2(country, openBankingPartnerConfigId, i18n.locale),
|
|
38351
|
+
[getBankVerificationVendor2, openBankingPartnerConfigId, i18n.locale]
|
|
38352
|
+
);
|
|
38293
38353
|
return loadingStatus === "loading" || !legalEntity ? /* @__PURE__ */ jsx(Loader, { size: "medium" }) : /* @__PURE__ */ jsx(
|
|
38294
38354
|
PayoutDetailsDropinComponent,
|
|
38295
38355
|
{
|
|
@@ -38297,7 +38357,7 @@ function CreateTransferInstrumentComponent({
|
|
|
38297
38357
|
setTransferInstrument,
|
|
38298
38358
|
legalEntityResponse: legalEntity,
|
|
38299
38359
|
associatedLegalArrangement,
|
|
38300
|
-
handleGetBankVerificationVendors
|
|
38360
|
+
handleGetBankVerificationVendors,
|
|
38301
38361
|
handleGetDocument: getDocument2,
|
|
38302
38362
|
handleCreateDocument: createDocument2,
|
|
38303
38363
|
handleUpdateDocument: updateDocument2,
|
|
@@ -39270,7 +39330,7 @@ const entityHasUltimateParentCompany = (data) => {
|
|
|
39270
39330
|
return ((_a = data.company) == null ? void 0 : _a.isParentOwnedByAnotherCompany) && ((_b = data.company) == null ? void 0 : _b.isParentOwnedByAnotherCompany) === "Yes";
|
|
39271
39331
|
};
|
|
39272
39332
|
const prepareExposureSubmitData = (exposureIndex, data, rootLegalEntity) => {
|
|
39273
|
-
var _a;
|
|
39333
|
+
var _a, _b, _c;
|
|
39274
39334
|
const exposureData = data[exposureIndex];
|
|
39275
39335
|
if (!exposureData) return null;
|
|
39276
39336
|
if (exposureIndex === HighExposureIndex.PARENT_COMPANY && !entityHasParentCompany(data)) {
|
|
@@ -39281,7 +39341,7 @@ const prepareExposureSubmitData = (exposureIndex, data, rootLegalEntity) => {
|
|
|
39281
39341
|
}
|
|
39282
39342
|
const exposureDetails = mapHighExposureToLegalEntity(exposureData);
|
|
39283
39343
|
if (!exposureDetails.organization) return null;
|
|
39284
|
-
const exposureCountry = (_a = exposureDetails.organization.registeredAddress) == null ? void 0 : _a.country;
|
|
39344
|
+
const exposureCountry = ((_a = exposureDetails.organization.registeredAddress) == null ? void 0 : _a.country) || ((_c = (_b = rootLegalEntity == null ? void 0 : rootLegalEntity.organization) == null ? void 0 : _b.registeredAddress) == null ? void 0 : _c.country);
|
|
39285
39345
|
if (exposureDetails.organization.financialReports && isEeaCountry(exposureCountry)) {
|
|
39286
39346
|
const exposureFinancialReports = {
|
|
39287
39347
|
employeeCount: exposureData.numberOfEmployees,
|
|
@@ -39893,12 +39953,17 @@ function HighExposureFinancialInformation({
|
|
|
39893
39953
|
country,
|
|
39894
39954
|
sectionHeading
|
|
39895
39955
|
}) {
|
|
39896
|
-
var _a
|
|
39956
|
+
var _a;
|
|
39897
39957
|
const { i18n } = useI18nContext();
|
|
39898
39958
|
const financialData = data;
|
|
39899
39959
|
const financialErrors = errors;
|
|
39900
39960
|
const isFinancialDataValid = valid;
|
|
39901
|
-
const
|
|
39961
|
+
const currenciesForCurrCountry = currencyByCountry[country] ?? [];
|
|
39962
|
+
const [firstCurrency] = currenciesForCurrCountry;
|
|
39963
|
+
const defaultCurrency = firstCurrency ?? "EUR";
|
|
39964
|
+
if ((currenciesForCurrCountry == null ? void 0 : currenciesForCurrCountry.length) === 1) {
|
|
39965
|
+
financialData.currency = firstCurrency;
|
|
39966
|
+
}
|
|
39902
39967
|
return /* @__PURE__ */ jsxs("section", { children: [
|
|
39903
39968
|
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: i18n.get(sectionHeading || "financialInformation") }),
|
|
39904
39969
|
/* @__PURE__ */ jsx(
|
|
@@ -39955,7 +40020,7 @@ function HighExposureFinancialInformation({
|
|
|
39955
40020
|
/* @__PURE__ */ jsx(
|
|
39956
40021
|
Currency,
|
|
39957
40022
|
{
|
|
39958
|
-
country: ((
|
|
40023
|
+
country: ((_a = data == null ? void 0 : data.registrationAddress) == null ? void 0 : _a.country) ?? country,
|
|
39959
40024
|
data: formUtils.getFieldData(financialData, CURRENCY_FIELD),
|
|
39960
40025
|
errors: formUtils.getFieldErrors(financialErrors, fieldProblems, CURRENCY_FIELD),
|
|
39961
40026
|
handleChangeFor,
|
|
@@ -41838,7 +41903,7 @@ const ConfigurationApiProvider = ({
|
|
|
41838
41903
|
}) => {
|
|
41839
41904
|
const authContext = useAuthContext();
|
|
41840
41905
|
const { isEmbeddedDropin, loadingContext } = authContext;
|
|
41841
|
-
const sdkVersion = "3.
|
|
41906
|
+
const sdkVersion = "3.37.1";
|
|
41842
41907
|
useAnalytics({
|
|
41843
41908
|
onUserEvent,
|
|
41844
41909
|
legalEntityId: rootLegalEntityId,
|
|
@@ -42509,7 +42574,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
42509
42574
|
};
|
|
42510
42575
|
const copyToClipboard = async () => {
|
|
42511
42576
|
const toCopy = {
|
|
42512
|
-
sdkVersion: "3.
|
|
42577
|
+
sdkVersion: "3.37.1",
|
|
42513
42578
|
experiments: Object.fromEntries(allExperimentsWithValues),
|
|
42514
42579
|
settings: Object.fromEntries(allSettingsWithValues)
|
|
42515
42580
|
};
|
|
@@ -42574,7 +42639,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
42574
42639
|
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
|
|
42575
42640
|
/* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
|
|
42576
42641
|
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
|
|
42577
|
-
/* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "3.
|
|
42642
|
+
/* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "3.37.1" })
|
|
42578
42643
|
] }) }),
|
|
42579
42644
|
/* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
|
|
42580
42645
|
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "rootLegalEntityId" }),
|
package/dist/style.css
CHANGED
|
@@ -285,6 +285,9 @@ button[disabled]:hover {
|
|
|
285
285
|
display: inline-flex;
|
|
286
286
|
vertical-align: baseline;
|
|
287
287
|
}
|
|
288
|
+
.adyen-kyc-icon svg {
|
|
289
|
+
height: 100%;
|
|
290
|
+
}
|
|
288
291
|
.adyen-kyc-icon svg path {
|
|
289
292
|
fill: currentColor;
|
|
290
293
|
}
|
|
@@ -3883,7 +3886,7 @@ fieldset {
|
|
|
3883
3886
|
place-items: center;
|
|
3884
3887
|
}
|
|
3885
3888
|
.adyen-kyc-high-exposure-financials .adyen-kyc-helper-text__above {
|
|
3886
|
-
height:
|
|
3889
|
+
height: var(--adyen-sdk-spacer-120, 48px);
|
|
3887
3890
|
}/* #region Borders */
|
|
3888
3891
|
/* #endregion */
|
|
3889
3892
|
/* #region Z-index */
|
|
@@ -22,7 +22,7 @@ export interface IndividualSchema {
|
|
|
22
22
|
address?: AddressSchema;
|
|
23
23
|
contactDetails?: ContactDetailsSchema;
|
|
24
24
|
idDocument?: IdDocumentUploadSchema;
|
|
25
|
-
|
|
25
|
+
proofOfResidency?: DocumentUploadSchema;
|
|
26
26
|
proofOfNationalId?: DocumentUploadSchema;
|
|
27
27
|
proofOfRelationship?: DocumentUploadSchema;
|
|
28
28
|
idVerificationMethod?: IdVerificationMethodSchema;
|
package/dist/types/components/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts
CHANGED
|
@@ -8,7 +8,9 @@ export interface PayoutVerificationMethodMetadata {
|
|
|
8
8
|
svgName: SvgName;
|
|
9
9
|
provider?: {
|
|
10
10
|
name: string;
|
|
11
|
-
svgName
|
|
11
|
+
svgName?: SvgName;
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const getProviderName: (providerName?: string) => string;
|
|
15
|
+
export declare const getProviderIconName: (providerName?: string) => SvgName | undefined;
|
|
16
|
+
export declare const makePayoutVerificationMethodsMetadata: (instantVerificationProviderName?: string) => Record<VerificationMethod, PayoutVerificationMethodMetadata>;
|
|
@@ -24,7 +24,7 @@ export declare enum ExperimentNames {
|
|
|
24
24
|
EnablePreferInstantVerificationFlow = "EnablePreferInstantVerificationFlow",
|
|
25
25
|
EnableFinancialInformationComponentV4 = "EnableFinancialInformationComponentV4",
|
|
26
26
|
StrictNameAndAddressValidationV4 = "StrictNameAndAddressValidationV4",
|
|
27
|
-
|
|
27
|
+
EnableDoingBusinessAsNameV4 = "EnableDoingBusinessAsNameV4",
|
|
28
28
|
EnablePhoneFieldScenario = "EnablePhoneFieldScenario",
|
|
29
29
|
EnableAUIncorporatedPartnershipSkipRegistrationNumber = "EnableAUIncorporatedPartnershipSkipRegistrationNumber",
|
|
30
30
|
EnableCompanyTrusteeSkipABN = "EnableCompanyTrusteeSkipABN"
|
|
@@ -718,10 +718,329 @@ export declare const remediationBusinessDetailsApiKeyMapping: Record<string, str
|
|
|
718
718
|
export declare const remediationIndividualApiKeyMapping: Record<string, string>;
|
|
719
719
|
export declare const remediationPayoutApiKeyMapping: {
|
|
720
720
|
bankStatement: string;
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
721
|
+
type?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
722
|
+
id?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
723
|
+
documentDetails?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
724
|
+
problems?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
725
|
+
legalEntityId?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
726
|
+
"capabilities.processing.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
727
|
+
"capabilities.processing.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
728
|
+
"capabilities.processing.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
729
|
+
"capabilities.processing.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
730
|
+
"capabilities.processing.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
731
|
+
"capabilities.processing.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
732
|
+
"capabilities.acceptExternalFunding.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
733
|
+
"capabilities.acceptExternalFunding.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
734
|
+
"capabilities.acceptExternalFunding.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
735
|
+
"capabilities.acceptExternalFunding.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
736
|
+
"capabilities.acceptExternalFunding.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
737
|
+
"capabilities.acceptExternalFunding.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
738
|
+
"capabilities.acceptPspFunding.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
739
|
+
"capabilities.acceptPspFunding.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
740
|
+
"capabilities.acceptPspFunding.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
741
|
+
"capabilities.acceptPspFunding.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
742
|
+
"capabilities.acceptPspFunding.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
743
|
+
"capabilities.acceptPspFunding.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
744
|
+
"capabilities.acceptTransactionInRestrictedCountries.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
745
|
+
"capabilities.acceptTransactionInRestrictedCountries.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
746
|
+
"capabilities.acceptTransactionInRestrictedCountries.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
747
|
+
"capabilities.acceptTransactionInRestrictedCountries.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
748
|
+
"capabilities.acceptTransactionInRestrictedCountries.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
749
|
+
"capabilities.acceptTransactionInRestrictedCountries.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
750
|
+
"capabilities.acceptTransactionInRestrictedCountriesCommercial.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
751
|
+
"capabilities.acceptTransactionInRestrictedCountriesCommercial.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
752
|
+
"capabilities.acceptTransactionInRestrictedCountriesCommercial.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
753
|
+
"capabilities.acceptTransactionInRestrictedCountriesCommercial.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
754
|
+
"capabilities.acceptTransactionInRestrictedCountriesCommercial.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
755
|
+
"capabilities.acceptTransactionInRestrictedCountriesCommercial.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
756
|
+
"capabilities.acceptTransactionInRestrictedCountriesConsumer.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
757
|
+
"capabilities.acceptTransactionInRestrictedCountriesConsumer.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
758
|
+
"capabilities.acceptTransactionInRestrictedCountriesConsumer.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
759
|
+
"capabilities.acceptTransactionInRestrictedCountriesConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
760
|
+
"capabilities.acceptTransactionInRestrictedCountriesConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
761
|
+
"capabilities.acceptTransactionInRestrictedCountriesConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
762
|
+
"capabilities.acceptTransactionInRestrictedIndustries.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
763
|
+
"capabilities.acceptTransactionInRestrictedIndustries.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
764
|
+
"capabilities.acceptTransactionInRestrictedIndustries.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
765
|
+
"capabilities.acceptTransactionInRestrictedIndustries.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
766
|
+
"capabilities.acceptTransactionInRestrictedIndustries.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
767
|
+
"capabilities.acceptTransactionInRestrictedIndustries.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
768
|
+
"capabilities.acceptTransactionInRestrictedIndustriesCommercial.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
769
|
+
"capabilities.acceptTransactionInRestrictedIndustriesCommercial.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
770
|
+
"capabilities.acceptTransactionInRestrictedIndustriesCommercial.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
771
|
+
"capabilities.acceptTransactionInRestrictedIndustriesCommercial.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
772
|
+
"capabilities.acceptTransactionInRestrictedIndustriesCommercial.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
773
|
+
"capabilities.acceptTransactionInRestrictedIndustriesCommercial.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
774
|
+
"capabilities.acceptTransactionInRestrictedIndustriesConsumer.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
775
|
+
"capabilities.acceptTransactionInRestrictedIndustriesConsumer.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
776
|
+
"capabilities.acceptTransactionInRestrictedIndustriesConsumer.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
777
|
+
"capabilities.acceptTransactionInRestrictedIndustriesConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
778
|
+
"capabilities.acceptTransactionInRestrictedIndustriesConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
779
|
+
"capabilities.acceptTransactionInRestrictedIndustriesConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
780
|
+
"capabilities.acquiring.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
781
|
+
"capabilities.acquiring.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
782
|
+
"capabilities.acquiring.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
783
|
+
"capabilities.acquiring.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
784
|
+
"capabilities.acquiring.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
785
|
+
"capabilities.acquiring.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
786
|
+
"capabilities.atmWithdrawal.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
787
|
+
"capabilities.atmWithdrawal.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
788
|
+
"capabilities.atmWithdrawal.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
789
|
+
"capabilities.atmWithdrawal.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
790
|
+
"capabilities.atmWithdrawal.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
791
|
+
"capabilities.atmWithdrawal.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
792
|
+
"capabilities.atmWithdrawalCommercial.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
793
|
+
"capabilities.atmWithdrawalCommercial.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
794
|
+
"capabilities.atmWithdrawalCommercial.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
795
|
+
"capabilities.atmWithdrawalCommercial.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
796
|
+
"capabilities.atmWithdrawalCommercial.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
797
|
+
"capabilities.atmWithdrawalCommercial.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
798
|
+
"capabilities.atmWithdrawalConsumer.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
799
|
+
"capabilities.atmWithdrawalConsumer.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
800
|
+
"capabilities.atmWithdrawalConsumer.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
801
|
+
"capabilities.atmWithdrawalConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
802
|
+
"capabilities.atmWithdrawalConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
803
|
+
"capabilities.atmWithdrawalConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
804
|
+
"capabilities.atmWithdrawalInRestrictedCountries.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
805
|
+
"capabilities.atmWithdrawalInRestrictedCountries.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
806
|
+
"capabilities.atmWithdrawalInRestrictedCountries.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
807
|
+
"capabilities.atmWithdrawalInRestrictedCountries.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
808
|
+
"capabilities.atmWithdrawalInRestrictedCountries.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
809
|
+
"capabilities.atmWithdrawalInRestrictedCountries.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
810
|
+
"capabilities.atmWithdrawalInRestrictedCountriesCommercial.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
811
|
+
"capabilities.atmWithdrawalInRestrictedCountriesCommercial.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
812
|
+
"capabilities.atmWithdrawalInRestrictedCountriesCommercial.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
813
|
+
"capabilities.atmWithdrawalInRestrictedCountriesCommercial.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
814
|
+
"capabilities.atmWithdrawalInRestrictedCountriesCommercial.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
815
|
+
"capabilities.atmWithdrawalInRestrictedCountriesCommercial.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
816
|
+
"capabilities.atmWithdrawalInRestrictedCountriesConsumer.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
817
|
+
"capabilities.atmWithdrawalInRestrictedCountriesConsumer.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
818
|
+
"capabilities.atmWithdrawalInRestrictedCountriesConsumer.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
819
|
+
"capabilities.atmWithdrawalInRestrictedCountriesConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
820
|
+
"capabilities.atmWithdrawalInRestrictedCountriesConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
821
|
+
"capabilities.atmWithdrawalInRestrictedCountriesConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
822
|
+
"capabilities.authorisedPaymentInstrumentUser.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
823
|
+
"capabilities.authorisedPaymentInstrumentUser.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
824
|
+
"capabilities.authorisedPaymentInstrumentUser.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
825
|
+
"capabilities.authorisedPaymentInstrumentUser.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
826
|
+
"capabilities.authorisedPaymentInstrumentUser.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
827
|
+
"capabilities.authorisedPaymentInstrumentUser.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
828
|
+
"capabilities.getGrantOffers.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
829
|
+
"capabilities.getGrantOffers.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
830
|
+
"capabilities.getGrantOffers.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
831
|
+
"capabilities.getGrantOffers.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
832
|
+
"capabilities.getGrantOffers.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
833
|
+
"capabilities.getGrantOffers.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
834
|
+
"capabilities.issueBankAccount.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
835
|
+
"capabilities.issueBankAccount.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
836
|
+
"capabilities.issueBankAccount.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
837
|
+
"capabilities.issueBankAccount.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
838
|
+
"capabilities.issueBankAccount.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
839
|
+
"capabilities.issueBankAccount.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
840
|
+
"capabilities.issueCard.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
841
|
+
"capabilities.issueCard.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
842
|
+
"capabilities.issueCard.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
843
|
+
"capabilities.issueCard.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
844
|
+
"capabilities.issueCard.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
845
|
+
"capabilities.issueCard.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
846
|
+
"capabilities.issueCardCommercial.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
847
|
+
"capabilities.issueCardCommercial.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
848
|
+
"capabilities.issueCardCommercial.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
849
|
+
"capabilities.issueCardCommercial.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
850
|
+
"capabilities.issueCardCommercial.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
851
|
+
"capabilities.issueCardCommercial.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
852
|
+
"capabilities.issueCardConsumer.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
853
|
+
"capabilities.issueCardConsumer.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
854
|
+
"capabilities.issueCardConsumer.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
855
|
+
"capabilities.issueCardConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
856
|
+
"capabilities.issueCardConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
857
|
+
"capabilities.issueCardConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
858
|
+
"capabilities.localAcceptance.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
859
|
+
"capabilities.localAcceptance.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
860
|
+
"capabilities.localAcceptance.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
861
|
+
"capabilities.localAcceptance.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
862
|
+
"capabilities.localAcceptance.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
863
|
+
"capabilities.localAcceptance.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
864
|
+
"capabilities.payout.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
865
|
+
"capabilities.payout.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
866
|
+
"capabilities.payout.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
867
|
+
"capabilities.payout.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
868
|
+
"capabilities.payout.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
869
|
+
"capabilities.payout.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
870
|
+
"capabilities.payoutToTransferInstrument.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
871
|
+
"capabilities.payoutToTransferInstrument.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
872
|
+
"capabilities.payoutToTransferInstrument.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
873
|
+
"capabilities.payoutToTransferInstrument.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
874
|
+
"capabilities.payoutToTransferInstrument.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
875
|
+
"capabilities.payoutToTransferInstrument.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
876
|
+
"capabilities.receiveFromBalanceAccount.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
877
|
+
"capabilities.receiveFromBalanceAccount.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
878
|
+
"capabilities.receiveFromBalanceAccount.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
879
|
+
"capabilities.receiveFromBalanceAccount.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
880
|
+
"capabilities.receiveFromBalanceAccount.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
881
|
+
"capabilities.receiveFromBalanceAccount.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
882
|
+
"capabilities.receiveFromPlatformPayments.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
883
|
+
"capabilities.receiveFromPlatformPayments.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
884
|
+
"capabilities.receiveFromPlatformPayments.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
885
|
+
"capabilities.receiveFromPlatformPayments.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
886
|
+
"capabilities.receiveFromPlatformPayments.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
887
|
+
"capabilities.receiveFromPlatformPayments.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
888
|
+
"capabilities.receiveFromThirdParty.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
889
|
+
"capabilities.receiveFromThirdParty.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
890
|
+
"capabilities.receiveFromThirdParty.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
891
|
+
"capabilities.receiveFromThirdParty.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
892
|
+
"capabilities.receiveFromThirdParty.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
893
|
+
"capabilities.receiveFromThirdParty.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
894
|
+
"capabilities.receiveFromTransferInstrument.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
895
|
+
"capabilities.receiveFromTransferInstrument.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
896
|
+
"capabilities.receiveFromTransferInstrument.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
897
|
+
"capabilities.receiveFromTransferInstrument.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
898
|
+
"capabilities.receiveFromTransferInstrument.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
899
|
+
"capabilities.receiveFromTransferInstrument.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
900
|
+
"capabilities.receiveGrants.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
901
|
+
"capabilities.receiveGrants.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
902
|
+
"capabilities.receiveGrants.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
903
|
+
"capabilities.receiveGrants.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
904
|
+
"capabilities.receiveGrants.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
905
|
+
"capabilities.receiveGrants.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
906
|
+
"capabilities.receivePayments.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
907
|
+
"capabilities.receivePayments.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
908
|
+
"capabilities.receivePayments.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
909
|
+
"capabilities.receivePayments.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
910
|
+
"capabilities.receivePayments.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
911
|
+
"capabilities.receivePayments.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
912
|
+
"capabilities.sendToBalanceAccount.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
913
|
+
"capabilities.sendToBalanceAccount.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
914
|
+
"capabilities.sendToBalanceAccount.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
915
|
+
"capabilities.sendToBalanceAccount.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
916
|
+
"capabilities.sendToBalanceAccount.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
917
|
+
"capabilities.sendToBalanceAccount.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
918
|
+
"capabilities.sendToThirdParty.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
919
|
+
"capabilities.sendToThirdParty.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
920
|
+
"capabilities.sendToThirdParty.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
921
|
+
"capabilities.sendToThirdParty.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
922
|
+
"capabilities.sendToThirdParty.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
923
|
+
"capabilities.sendToThirdParty.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
924
|
+
"capabilities.sendToTransferInstrument.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
925
|
+
"capabilities.sendToTransferInstrument.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
926
|
+
"capabilities.sendToTransferInstrument.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
927
|
+
"capabilities.sendToTransferInstrument.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
928
|
+
"capabilities.sendToTransferInstrument.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
929
|
+
"capabilities.sendToTransferInstrument.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
930
|
+
"capabilities.thirdPartyFunding.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
931
|
+
"capabilities.thirdPartyFunding.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
932
|
+
"capabilities.thirdPartyFunding.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
933
|
+
"capabilities.thirdPartyFunding.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
934
|
+
"capabilities.thirdPartyFunding.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
935
|
+
"capabilities.thirdPartyFunding.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
936
|
+
"capabilities.useCard.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
937
|
+
"capabilities.useCard.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
938
|
+
"capabilities.useCard.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
939
|
+
"capabilities.useCard.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
940
|
+
"capabilities.useCard.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
941
|
+
"capabilities.useCard.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
942
|
+
"capabilities.useCardCommercial.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
943
|
+
"capabilities.useCardCommercial.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
944
|
+
"capabilities.useCardCommercial.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
945
|
+
"capabilities.useCardCommercial.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
946
|
+
"capabilities.useCardCommercial.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
947
|
+
"capabilities.useCardCommercial.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
948
|
+
"capabilities.useCardConsumer.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
949
|
+
"capabilities.useCardConsumer.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
950
|
+
"capabilities.useCardConsumer.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
951
|
+
"capabilities.useCardConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
952
|
+
"capabilities.useCardConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
953
|
+
"capabilities.useCardConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
954
|
+
"capabilities.useCardInRestrictedCountries.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
955
|
+
"capabilities.useCardInRestrictedCountries.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
956
|
+
"capabilities.useCardInRestrictedCountries.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
957
|
+
"capabilities.useCardInRestrictedCountries.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
958
|
+
"capabilities.useCardInRestrictedCountries.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
959
|
+
"capabilities.useCardInRestrictedCountries.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
960
|
+
"capabilities.useCardInRestrictedCountriesCommercial.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
961
|
+
"capabilities.useCardInRestrictedCountriesCommercial.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
962
|
+
"capabilities.useCardInRestrictedCountriesCommercial.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
963
|
+
"capabilities.useCardInRestrictedCountriesCommercial.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
964
|
+
"capabilities.useCardInRestrictedCountriesCommercial.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
965
|
+
"capabilities.useCardInRestrictedCountriesCommercial.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
966
|
+
"capabilities.useCardInRestrictedCountriesConsumer.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
967
|
+
"capabilities.useCardInRestrictedCountriesConsumer.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
968
|
+
"capabilities.useCardInRestrictedCountriesConsumer.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
969
|
+
"capabilities.useCardInRestrictedCountriesConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
970
|
+
"capabilities.useCardInRestrictedCountriesConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
971
|
+
"capabilities.useCardInRestrictedCountriesConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
972
|
+
"capabilities.useCardInRestrictedIndustries.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
973
|
+
"capabilities.useCardInRestrictedIndustries.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
974
|
+
"capabilities.useCardInRestrictedIndustries.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
975
|
+
"capabilities.useCardInRestrictedIndustries.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
976
|
+
"capabilities.useCardInRestrictedIndustries.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
977
|
+
"capabilities.useCardInRestrictedIndustries.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
978
|
+
"capabilities.useCardInRestrictedIndustriesCommercial.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
979
|
+
"capabilities.useCardInRestrictedIndustriesCommercial.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
980
|
+
"capabilities.useCardInRestrictedIndustriesCommercial.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
981
|
+
"capabilities.useCardInRestrictedIndustriesCommercial.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
982
|
+
"capabilities.useCardInRestrictedIndustriesCommercial.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
983
|
+
"capabilities.useCardInRestrictedIndustriesCommercial.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
984
|
+
"capabilities.useCardInRestrictedIndustriesConsumer.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
985
|
+
"capabilities.useCardInRestrictedIndustriesConsumer.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
986
|
+
"capabilities.useCardInRestrictedIndustriesConsumer.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
987
|
+
"capabilities.useCardInRestrictedIndustriesConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
988
|
+
"capabilities.useCardInRestrictedIndustriesConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
989
|
+
"capabilities.useCardInRestrictedIndustriesConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
990
|
+
"capabilities.withdrawFromAtm.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
991
|
+
"capabilities.withdrawFromAtm.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
992
|
+
"capabilities.withdrawFromAtm.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
993
|
+
"capabilities.withdrawFromAtm.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
994
|
+
"capabilities.withdrawFromAtm.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
995
|
+
"capabilities.withdrawFromAtm.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
996
|
+
"capabilities.withdrawFromAtmCommercial.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
997
|
+
"capabilities.withdrawFromAtmCommercial.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
998
|
+
"capabilities.withdrawFromAtmCommercial.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
999
|
+
"capabilities.withdrawFromAtmCommercial.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1000
|
+
"capabilities.withdrawFromAtmCommercial.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1001
|
+
"capabilities.withdrawFromAtmCommercial.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1002
|
+
"capabilities.withdrawFromAtmConsumer.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1003
|
+
"capabilities.withdrawFromAtmConsumer.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1004
|
+
"capabilities.withdrawFromAtmConsumer.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1005
|
+
"capabilities.withdrawFromAtmConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1006
|
+
"capabilities.withdrawFromAtmConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1007
|
+
"capabilities.withdrawFromAtmConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1008
|
+
"capabilities.withdrawFromAtmInRestrictedCountries.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1009
|
+
"capabilities.withdrawFromAtmInRestrictedCountries.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1010
|
+
"capabilities.withdrawFromAtmInRestrictedCountries.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1011
|
+
"capabilities.withdrawFromAtmInRestrictedCountries.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1012
|
+
"capabilities.withdrawFromAtmInRestrictedCountries.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1013
|
+
"capabilities.withdrawFromAtmInRestrictedCountries.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1014
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesCommercial.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1015
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesCommercial.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1016
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesCommercial.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1017
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesCommercial.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1018
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesCommercial.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1019
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesCommercial.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1020
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1021
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1022
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1023
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1024
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1025
|
+
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1026
|
+
"bankAccount.bankName"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1027
|
+
"bankAccount.countryCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1028
|
+
"bankAccount.accountIdentification.type"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1029
|
+
"bankAccount.accountIdentification.iban"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1030
|
+
"bankAccount.accountIdentification.accountNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1031
|
+
"bankAccount.accountIdentification.bic"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1032
|
+
"bankAccount.accountIdentification.additionalBankIdentification.type"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1033
|
+
"bankAccount.accountIdentification.additionalBankIdentification.code"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1034
|
+
"bankAccount.accountIdentification.bsbCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1035
|
+
"bankAccount.accountIdentification.institutionNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1036
|
+
"bankAccount.accountIdentification.transitNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1037
|
+
"bankAccount.accountIdentification.accountType"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1038
|
+
"bankAccount.accountIdentification.bankCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1039
|
+
"bankAccount.accountIdentification.clearingCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1040
|
+
"bankAccount.accountIdentification.clearingNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1041
|
+
"bankAccount.accountIdentification.sortCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1042
|
+
"bankAccount.accountIdentification.routingNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
1043
|
+
"bankAccount.trustedSource"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
725
1044
|
bankAccount: string;
|
|
726
1045
|
};
|
|
727
1046
|
export declare const remediationTrustKeyMapping: Record<string, string>;
|
|
@@ -38,7 +38,7 @@ export declare const mapLegalEntityToHighExposure: (legalEntity: LegalEntity) =>
|
|
|
38
38
|
export declare const mapHighExposureToLegalEntity: (data: HighExposureSchema) => LegalEntity;
|
|
39
39
|
export declare const mapLegalEntityToSoleProp: (legalEntity: LegalEntity) => SolePropSchema;
|
|
40
40
|
export declare const mapSolePropToLegalEntity: (data: SolePropSchema) => LegalEntity;
|
|
41
|
-
export type IndividualDocumentFields = Pick<IndividualSchema, 'idDocument' | '
|
|
41
|
+
export type IndividualDocumentFields = Pick<IndividualSchema, 'idDocument' | 'proofOfResidency' | 'proofOfNationalId' | 'proofOfRelationship'>;
|
|
42
42
|
export declare const getPage: ({ attachments }: Document, pageType?: PageType) => Attachment;
|
|
43
43
|
export declare const getPageName: (document: Document, pageType?: PageType) => string;
|
|
44
44
|
export declare const mapIndividualDocumentToApiDocument: (data: IndividualSchema, entityId: string) => Promise<Document[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.37.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -33,11 +33,12 @@
|
|
|
33
33
|
},
|
|
34
34
|
"type": "module",
|
|
35
35
|
"scripts": {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"build:
|
|
39
|
-
"build:
|
|
40
|
-
"build:
|
|
36
|
+
"analyze:bundle:npm": "rollup-plugin-visualizer bundle-stats/report-npm.json --filename bundle-stats/report-npm.html --template sunburst --open",
|
|
37
|
+
"analyze:bundle:cdn": "rollup-plugin-visualizer bundle-stats/report-cdn.json --filename bundle-stats/report-cdn.html --template sunburst --open",
|
|
38
|
+
"build:npm": "rm -rf dist && vite build --mode production && npm run types:build",
|
|
39
|
+
"build:demo": "rm -rf .demo && vite build --mode demo",
|
|
40
|
+
"build:cdn": "rm -rf dist-cdn && vite build --mode production-cdn",
|
|
41
|
+
"build:watch": "npm run build:npm -- --watch",
|
|
41
42
|
"check:all": "concurrently \"npm run types:check\" \"npm run lint:quiet\" \"npm run lint:scss\" \"npm run prettier\" -n tsc,eslint,stylelint,prettier -c cyan,magenta,yellow,blue",
|
|
42
43
|
"check:commits": "commitlint --from",
|
|
43
44
|
"check:commits:since-main": "npm run check:commits -- main",
|
|
@@ -137,6 +138,7 @@
|
|
|
137
138
|
"phone": "^3.1.40",
|
|
138
139
|
"postcss": "^8.4.29",
|
|
139
140
|
"prettier": "^2.8.8",
|
|
141
|
+
"rollup-plugin-visualizer": "^5.12.0",
|
|
140
142
|
"sass": "^1.66.1",
|
|
141
143
|
"stylelint": "^15.9.0",
|
|
142
144
|
"stylelint-config-recommended-scss": "^11.0.0",
|