@adyen/kyc-components 4.18.0 → 4.18.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/{AccountSetupRejected-BBkIzStE.js → AccountSetupRejected-B6rOhmSg.js} +1 -1
- package/dist/{AdaptiveWorkflow-BeNeSJmr.js → AdaptiveWorkflow-CSeJQ_mD.js} +12 -12
- package/dist/{AdaptiveWorkflowComponent-vGohaG9V.js → AdaptiveWorkflowComponent-CdZoKwt1.js} +2 -2
- package/dist/{Address-pRy7yAyT.js → Address-B2TlgCSz.js} +3 -3
- package/dist/{AddressField-D5VvYpTn.js → AddressField-Ca-iKTwI.js} +3 -3
- package/dist/{BusinessFinancingDropin-BVJmBiV-.js → BusinessFinancingDropin-4Aw55hci.js} +13 -13
- package/dist/{BusinessFinancingPage-D6Ltqocq.js → BusinessFinancingPage-BWodOUox.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-COGrE8in.js → BusinessTypeSelectionPage-BPuRymMs.js} +5 -5
- package/dist/{CompanyRegistrationNumberTypeSelector-Cse5eWmF.js → CompanyRegistrationNumberTypeSelector-CHNevP7y.js} +3 -3
- package/dist/{ContactDetails-Bg6E-Qdo.js → ContactDetails-D76QLnrT.js} +2 -2
- package/dist/{ContextGuidance-OW20JTmA.js → ContextGuidance-Djs4Zuy2.js} +1 -1
- package/dist/{CountryField-B4jNKNdQ.js → CountryField-DlG-xXqh.js} +1 -1
- package/dist/{Currency-BB-aCS9R.js → Currency-C58t1F_-.js} +1 -1
- package/dist/{CustomerSupport-CxLYgFMf.js → CustomerSupport-Dcddje03.js} +6 -6
- package/dist/{DataConflictsModal-Din0HvnQ.js → DataConflictsModal-Ct8QOrFe.js} +1 -1
- package/dist/{DebugModal-CCmbbYz8.js → DebugModal-CuluFe1Q.js} +3 -3
- package/dist/{DecisionMakerDetails-CfQw5zLh.js → DecisionMakerDetails-CM-yX2TJ.js} +2 -2
- package/dist/{DecisionMakerDetailsPage-DKdZRCWu.js → DecisionMakerDetailsPage-BlQAeJKb.js} +2 -2
- package/dist/{DecisionMakers-SZrdoYjV.js → DecisionMakers-DWGB83fo.js} +4 -4
- package/dist/{Dropzone-VbRNXGWC.js → Dropzone-DMlJKsY5.js} +2 -2
- package/dist/{EntityAssociation-zNH_hlni.js → EntityAssociation-DRZDZWWp.js} +1 -1
- package/dist/{ErrorPanel-BUnSs30r.js → ErrorPanel-DhH20Pzm.js} +1 -1
- package/dist/{GlobalEntryModal-CjuK78f0.js → GlobalEntryModal-BBgRmk-V.js} +1 -1
- package/dist/{GlobalEntryPage-DRvb0gLz.js → GlobalEntryPage-CH3puDC3.js} +2 -2
- package/dist/{IndividualDropin-dtWJoFtm.js → IndividualDropin-r0kWDmPO.js} +21 -21
- package/dist/{Introduction-D_hA5jmK.js → Introduction-CIB6KMmP.js} +2 -2
- package/dist/{InvitedDecisionMakerComponent-UOdB2Gdf.js → InvitedDecisionMakerComponent-B49QY0Os.js} +3 -3
- package/dist/{JpAddress-Bzh05zSM.js → JpAddress-CgqN1rYT.js} +4 -4
- package/dist/{JpAddressFields-BcNA2qQ-.js → JpAddressFields-CswH_EXC.js} +1 -1
- package/dist/{LegalCompanyNameField-B4tZnTsz.js → LegalCompanyNameField-BtDELEY7.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-BJdt2arC.js → LegalRepresentativeDetailsPage-BiSPX4iH.js} +2 -2
- package/dist/{MaskedInput-fg7rPWNN.js → MaskedInput-CgYpBH9K.js} +1 -1
- package/dist/{MaybeModal-evIPP9Uh.js → MaybeModal-zaov1y_m.js} +1 -1
- package/dist/{NewSummary-01MQcP8O.js → NewSummary-B0MEm_OA.js} +2 -2
- package/dist/{PatriotActDisclosure-EIRUow5b.js → PatriotActDisclosure-BfUxRHA_.js} +6 -6
- package/dist/{PayoutDetailsDropin-Ba7MTkCv.js → PayoutDetailsDropin-C3lyJ2Ib.js} +13 -13
- package/dist/{PayoutDetailsPage-rpkLlwhy.js → PayoutDetailsPage-C6jUrhic.js} +3 -3
- package/dist/{Review-CgR-Yydj.js → Review-CSBwDYSr.js} +2 -2
- package/dist/{RootBusinessDetailsPage-D-aCSPPF.js → RootBusinessDetailsPage-Co5GBjvo.js} +2 -2
- package/dist/{RootBusinessLinesPage-BMT3gr2J.js → RootBusinessLinesPage-nHtYw9kj.js} +9 -9
- package/dist/{RootIndividualDetailsPage-D3Hm7OrC.js → RootIndividualDetailsPage-DWzmRFmu.js} +2 -2
- package/dist/{SignPCIComponent-g8v3tteD.js → SignPCIComponent-CyiuGzV8.js} +4 -4
- package/dist/{SingpassSelection-Bx4GOfIq.js → SingpassSelection-CAFomhnj.js} +1 -1
- package/dist/{SoleProprietorshipPage-CG51YTEA.js → SoleProprietorshipPage-DY6xzy9Q.js} +2 -2
- package/dist/{SourceOfFundsPage-BJKj0z9v.js → SourceOfFundsPage-qyv1vdl6.js} +10 -10
- package/dist/{Summary-DPMBCqZT.js → Summary-5KWejLq6.js} +2 -2
- package/dist/{TaskListItem-D54ulnyc.js → TaskListItem-CGx26MIQ.js} +2 -2
- package/dist/{TaxReportingDropin-DgB6Uo-8.js → TaxReportingDropin-DJK9moKh.js} +5 -5
- package/dist/{TermsOfServiceManagement-B73EAUQT.js → TermsOfServiceManagement-8sFuWzek.js} +4 -4
- package/dist/{TrustDetailsPage-DbRZo3eo.js → TrustDetailsPage-BzGiLJ-E.js} +18 -18
- package/dist/{TrustMemberCompanyPage-fjaHnVnu.js → TrustMemberCompanyPage-DOicFHUm.js} +3 -3
- package/dist/{TrustMemberIndividualPage-ChdfyypX.js → TrustMemberIndividualPage-BM9uKEhn.js} +2 -2
- package/dist/{TrustMemberRoleAndTypePage-4FiocM2Q.js → TrustMemberRoleAndTypePage-CR9rKcZL.js} +9 -9
- package/dist/{TrustMembersOverview-BfW7xcig.js → TrustMembersOverview-DgqijE9I.js} +6 -6
- package/dist/{UnincorporatedPartnershipIndividualPage-CoxFU8hC.js → UnincorporatedPartnershipIndividualPage-Dhkyc4Tl.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-qtLLtEBZ.js → UnincorporatedPartnershipMemberCompanyPage-Bn8NF2pt.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CcrbCZHP.js → UnincorporatedPartnershipMemberRoleAndTypePage-CnKXU7vl.js} +2 -2
- package/dist/{UnincorporatedPartnershipMembersOverview-BcIX_dew.js → UnincorporatedPartnershipMembersOverview-BU1vE0R-.js} +3 -3
- package/dist/{VerificationErrorAlert-CBkiCj7f.js → VerificationErrorAlert-CfcI8EO-.js} +2 -2
- package/dist/{accountHolderUtils-BRcGuXPg.js → accountHolderUtils-DpnxGhnV.js} +1 -1
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +1 -1
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +10 -10
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +1 -1
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{constants-4O_2-mb6.js → constants-Dz60YHgK.js} +1 -1
- package/dist/{invalidateRootLegalEntity-CNKlzaEg.js → invalidateRootLegalEntity-Cy6YaZ3m.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-B8KqUjNk.js → omitObscuredFieldsIfUnchanged-BFPSltHx.js} +1 -1
- package/dist/{patternValidators-DxkAZhsA.js → patternValidators-D6UVMGKp.js} +1 -1
- package/dist/{processValidationErrors-D9l2eO9k.js → processValidationErrors-rsvEv4rY.js} +1 -1
- package/dist/{resolveEnvironment-DoST1OsT.js → resolveEnvironment-DJ7Zuta7.js} +5 -5
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +1 -3
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/{useBusinessDetailsData-ZmBKQqoD.js → useBusinessDetailsData-BKyLH0mT.js} +29 -49
- package/dist/{useCanSeeIntroduction-BV78oSLN.js → useCanSeeIntroduction-C_GgFyLU.js} +1 -1
- package/dist/{useForm-CV0UezXM.js → useForm-BLCKH-Dp.js} +1 -1
- package/dist/{useFormContext-BWw5svgR.js → useFormContext-Byc7C9Oa.js} +3 -3
- package/dist/{useMultiForm-DysFfqIA.js → useMultiForm-Bqf8_wG-.js} +1 -1
- package/dist/{useNavigate-C32tng3x.js → useNavigate-CBScjbD2.js} +32 -32
- package/dist/{useTrustMembers-DsHD7BN-.js → useTrustMembers-Blzz7VCE.js} +1 -1
- package/dist/{useUpdateLegalEntity-Bk3h9Ga3.js → useUpdateLegalEntity-BufVM-tU.js} +1 -1
- package/dist/{utils-Cjauzs_k.js → utils-05XwndQL.js} +6 -6
- package/dist/{utils-C_W1-emm.js → utils-DJsxge-U.js} +2 -2
- package/dist/{utils-UMZuwGLj.js → utils-Do1qwrUB.js} +1 -1
- package/dist/{validate-DZs3J_LS.js → validate-DdNW1hN1.js} +1 -1
- package/dist/{validateExtractionResult-BkzUg6_Q.js → validateExtractionResult-Blg9-yGG.js} +2 -2
- package/dist/{validationError-B33RQfsy.js → validationError-C7sVb_Tw.js} +1 -1
- package/package.json +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +0 -9
- package/dist/types/core/models/api/organization-type.d.ts +0 -5
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import type { OrganizationType } from '../../core/models/api/organization-type';
|
|
2
1
|
import type { Currency } from '../../types/datasets/currency';
|
|
3
2
|
import type { components } from './companyDataset.contract';
|
|
4
3
|
export type CompanyDatasetRequest = components['schemas']['ProviderAgnosticCompanyDataSetRequest'];
|
|
5
|
-
export type CompanyDatasetResponse = Omit<components['schemas']['ProviderAgnosticCompanyDataSetResponse'], '
|
|
6
|
-
companyType: OrganizationType | null;
|
|
4
|
+
export type CompanyDatasetResponse = Omit<components['schemas']['ProviderAgnosticCompanyDataSetResponse'], 'currency'> & {
|
|
7
5
|
currency?: Currency;
|
|
8
6
|
};
|
|
9
7
|
export type CompanyDatasetResponseAddress = components['schemas']['ProviderAgnosticAddress'];
|
|
@@ -50,7 +50,7 @@ export interface Organization {
|
|
|
50
50
|
taxReportingClassification?: TaxReportingClassification;
|
|
51
51
|
branchAllocation?: BranchAllocation;
|
|
52
52
|
}
|
|
53
|
-
export type VatAbsenceReason = 'industryExemption' | 'belowTaxThreshold' | 'countryWithoutVatOrGstSystem';
|
|
53
|
+
export type VatAbsenceReason = 'industryExemption' | 'belowTaxThreshold' | 'countryWithoutVatOrGstSystem' | '';
|
|
54
54
|
export type TaxInformation = {
|
|
55
55
|
country: CountryCode;
|
|
56
56
|
number?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "599d02a1-942f-414f-be7c-344080abf81c", e._sentryDebugIdIdentifier = "sentry-dbid-599d02a1-942f-414f-be7c-344080abf81c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
-
import { E as useAllowedCountries, T as datasetUtilities, X as getMaxLengthByFieldAndCountry, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { E as useAllowedCountries, T as datasetUtilities, X as getMaxLengthByFieldAndCountry, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-DJ7Zuta7.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
@@ -24,36 +24,36 @@ import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
|
24
24
|
import { t as LandingLayout } from "./LandingLayout-iZpW1Vsx.js";
|
|
25
25
|
import { t as useBusinessLines } from "./useBusinessLines-BFsRoAAj.js";
|
|
26
26
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
27
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
27
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-Cy6YaZ3m.js";
|
|
28
28
|
import { c as CompanyTypesValues } from "./bafinUtils-CbfyDBkh.js";
|
|
29
29
|
import { r as LoaderWrapper } from "./utils-C1buyvRw.js";
|
|
30
30
|
import { t as Confirm } from "./Confirm-DcqMV7rd.js";
|
|
31
31
|
import { n as Image } from "./unincorporated-partnership-nnTW3FnG.js";
|
|
32
32
|
import { t as useScenarios } from "./useScenarios-DeLWDtIg.js";
|
|
33
33
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CoBr-K0N.js";
|
|
34
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
35
|
-
import { a as defaultFieldMetadata, c as addressValidators, d as countrySpecificFormatters, f as formatAddressForCleanse, i as defaultFieldConfig, m as useAddressCleanseImperatively, n as STATE_FIELD, p as useAddressCleanse, r as StateField, t as AddressField } from "./AddressField-
|
|
36
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-
|
|
34
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-BufVM-tU.js";
|
|
35
|
+
import { a as defaultFieldMetadata, c as addressValidators, d as countrySpecificFormatters, f as formatAddressForCleanse, i as defaultFieldConfig, m as useAddressCleanseImperatively, n as STATE_FIELD, p as useAddressCleanse, r as StateField, t as AddressField } from "./AddressField-Ca-iKTwI.js";
|
|
36
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-Byc7C9Oa.js";
|
|
37
37
|
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations } from "./process-field-configurations-DBtjrbif.js";
|
|
38
38
|
import { t as StructuredList } from "./StructuredList-Ci4Ut4E5.js";
|
|
39
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
40
|
-
import { n as summaryStep, r as Summary_module_default } from "./Summary-
|
|
39
|
+
import { t as ErrorPanel } from "./ErrorPanel-DhH20Pzm.js";
|
|
40
|
+
import { n as summaryStep, r as Summary_module_default } from "./Summary-5KWejLq6.js";
|
|
41
41
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-BrLGUOLK.js";
|
|
42
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
42
|
+
import { t as useMultiForm } from "./useMultiForm-Bqf8_wG-.js";
|
|
43
43
|
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BvFf01k6.js";
|
|
44
44
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BiIxm8IU.js";
|
|
45
|
-
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-
|
|
45
|
+
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-CgYpBH9K.js";
|
|
46
46
|
import { a as JP_ADDRESS_REQUIRED_FIELDS, i as mapJpAddressSummaryNewSummary, n as toFullWidth, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-DHL5chu8.js";
|
|
47
47
|
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, l as addressFields, n as getAddressSchemaLabelsByCountry, o as CONDENSED_ADDRESS_FIELDS, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-BIsRIG8_.js";
|
|
48
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
48
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-rsvEv4rY.js";
|
|
49
49
|
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-CMxq61UU.js";
|
|
50
50
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
51
|
-
import { i as MemoizedDocumentUpload, n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
51
|
+
import { i as MemoizedDocumentUpload, n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-BfUxRHA_.js";
|
|
52
52
|
import { a as isJapanLocalizationEnabled } from "./Individual.rules-Caf9UMUo.js";
|
|
53
|
-
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-
|
|
53
|
+
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-C7sVb_Tw.js";
|
|
54
54
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
55
|
-
import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
56
|
-
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, O as getTaxInformationPlaceholderText, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, d as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, g as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, h as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, i as COUNTRIES_REQUIRING_E_INVOICING_CODE, k as taxInformationDefaultFieldConfig, l as COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION, m as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, o as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, p as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, s as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, u as COUNTRIES_THAT_USES_UEN_OR_GST, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, w as getValidCompanyTypesForTaxIdNumberType, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./utils-
|
|
55
|
+
import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-D6UVMGKp.js";
|
|
56
|
+
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, O as getTaxInformationPlaceholderText, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, d as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, g as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, h as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, i as COUNTRIES_REQUIRING_E_INVOICING_CODE, k as taxInformationDefaultFieldConfig, l as COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION, m as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, o as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, p as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, s as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, u as COUNTRIES_THAT_USES_UEN_OR_GST, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, w as getValidCompanyTypesForTaxIdNumberType, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./utils-DJsxge-U.js";
|
|
57
57
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
58
58
|
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
59
59
|
import { t as TileGroup } from "./TileGroup-PzJay6GP.js";
|
|
@@ -64,27 +64,27 @@ import { i as getPrefixedFieldProps, t as capitalize } from "./getProps-DVqK7eRw
|
|
|
64
64
|
import { t as Link } from "./Link-JFzfaUOa.js";
|
|
65
65
|
import { t as InputText } from "./InputText-CQcWyZ8_.js";
|
|
66
66
|
import { n as formatDateObj, t as InputDate } from "./InputDate-CxzAaaCm.js";
|
|
67
|
-
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-
|
|
67
|
+
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-DlG-xXqh.js";
|
|
68
68
|
import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
|
|
69
69
|
import { t as createFormRules } from "./form-rules-CUUQGacJ.js";
|
|
70
70
|
import { t as isEmpty$1 } from "./isEmpty-MyMko24J.js";
|
|
71
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
71
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-Ct8QOrFe.js";
|
|
72
72
|
import { n as mapApiScriptLocalizationToSchemaFields, r as mapSchemaFieldsToApiScriptLocalization, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
73
73
|
import { t as currencyByCountry } from "./types-KjTYEnAG.js";
|
|
74
74
|
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
75
75
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
76
76
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
77
|
-
import { a as LegalFormField, c as ALL_ADDRESS_FIELDS, d as getPrefixedAddressFieldNames, f as isDateOlderThanAYear, i as InputCurrency, l as flattenAddressSchema, m as nestAddressSchema, n as Currency, o as mapFinancialReportsToFinancialInformation, p as mapAddressData, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD, u as getNestedTrustedFields } from "./Currency-
|
|
78
|
-
import { n as SummarySection, t as NewSummary } from "./NewSummary-
|
|
77
|
+
import { a as LegalFormField, c as ALL_ADDRESS_FIELDS, d as getPrefixedAddressFieldNames, f as isDateOlderThanAYear, i as InputCurrency, l as flattenAddressSchema, m as nestAddressSchema, n as Currency, o as mapFinancialReportsToFinancialInformation, p as mapAddressData, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD, u as getNestedTrustedFields } from "./Currency-C58t1F_-.js";
|
|
78
|
+
import { n as SummarySection, t as NewSummary } from "./NewSummary-B0MEm_OA.js";
|
|
79
79
|
import { t as useTaskStatus } from "./useTaskStatus-wrAxqtIR.js";
|
|
80
80
|
import { t as ListItem } from "./ListItem-BnVTcObB.js";
|
|
81
|
-
import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
81
|
+
import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-CHNevP7y.js";
|
|
82
82
|
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-Cncate8L.js";
|
|
83
83
|
import { n as formatCurrency } from "./formatCurrency-Cq3WFpdZ.js";
|
|
84
|
-
import { _ as doingBusinessAsFieldMetadata, a as isRegistrationNumberAbsentStateV4Scenario, c as BusinessRegistrationNumberField, d as VatNumberField, f as getDefaultVatNumberType, g as doingBusinessAsAbsentFieldMetadata, h as vatAbsenceReasonMetadata, i as isRegistrationExemptionAllowed, l as MemoizedConstitutionalDocument, m as defaultFieldMetadata$1, n as getCountryOfGoverningLaw, o as isUsingCompanySearch, p as defaultFieldConfig$1, r as isFinancialInformationRequired, s as BUSINESS_REGISTRATION_NUMBER_FIELD, t as countryToTaxInfoTypeMap, u as VAT_NUMBER_FIELD, v as DBANameField, y as DBA_NAME_FIELD } from "./utils-
|
|
85
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
86
|
-
import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
87
|
-
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
84
|
+
import { _ as doingBusinessAsFieldMetadata, a as isRegistrationNumberAbsentStateV4Scenario, c as BusinessRegistrationNumberField, d as VatNumberField, f as getDefaultVatNumberType, g as doingBusinessAsAbsentFieldMetadata, h as vatAbsenceReasonMetadata, i as isRegistrationExemptionAllowed, l as MemoizedConstitutionalDocument, m as defaultFieldMetadata$1, n as getCountryOfGoverningLaw, o as isUsingCompanySearch, p as defaultFieldConfig$1, r as isFinancialInformationRequired, s as BUSINESS_REGISTRATION_NUMBER_FIELD, t as countryToTaxInfoTypeMap, u as VAT_NUMBER_FIELD, v as DBANameField, y as DBA_NAME_FIELD } from "./utils-05XwndQL.js";
|
|
85
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-Dz60YHgK.js";
|
|
86
|
+
import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BtDELEY7.js";
|
|
87
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-Do1qwrUB.js";
|
|
88
88
|
import { Suspense, lazy } from "preact/compat";
|
|
89
89
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
90
90
|
import cx from "classnames";
|
|
@@ -2898,6 +2898,8 @@ var mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isFeatureEnabl
|
|
|
2898
2898
|
}];
|
|
2899
2899
|
}
|
|
2900
2900
|
if (!!requestObj.soleProprietorship && !!data.basicInformation?.country) requestObj.soleProprietorship.countryOfGoverningLaw = data.basicInformation.country;
|
|
2901
|
+
if (requestObj.soleProprietorship && requestObj.soleProprietorship.vatAbsenceReason === "") requestObj.soleProprietorship.vatAbsenceReason = null;
|
|
2902
|
+
if ((taskType === TaskTypes.TRUST_MEMBER_COMPANY || taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY) && requestObj.organization?.vatAbsenceReason === "") requestObj.organization.vatAbsenceReason = null;
|
|
2901
2903
|
if (registrationNumber) {
|
|
2902
2904
|
entityObject.registrationNumber = registrationNumber;
|
|
2903
2905
|
if (canSaveRegNumberAbsentState && requestObj.organization) requestObj.organization.registrationNumberAbsent = false;
|
|
@@ -3413,28 +3415,6 @@ function LegalArrangementModal({ onCancel }) {
|
|
|
3413
3415
|
});
|
|
3414
3416
|
}
|
|
3415
3417
|
//#endregion
|
|
3416
|
-
//#region src/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.ts
|
|
3417
|
-
/**
|
|
3418
|
-
* This is a mapping from our Adyen internal organization type values in KYC to our SDK and LEM company type values
|
|
3419
|
-
*
|
|
3420
|
-
* @param organizationType - Organization type value from KYC
|
|
3421
|
-
* @returns CompanyTypesValue
|
|
3422
|
-
*/
|
|
3423
|
-
var mapOrganizationTypeToCompanyType = (organizationType) => {
|
|
3424
|
-
switch (organizationType) {
|
|
3425
|
-
case "BUSINESS": return CompanyTypesValues.PRIVATE_COMPANY;
|
|
3426
|
-
case "NON_PROFIT": return CompanyTypesValues.NON_PROFIT_OR_CHARITABLE;
|
|
3427
|
-
case "PUBLIC_COMPANY":
|
|
3428
|
-
case "LISTED_PUBLIC_COMPANY": return CompanyTypesValues.PUBLIC_COMPANY;
|
|
3429
|
-
case "UNLISTED_PUBLIC_COMPANY": return CompanyTypesValues.UNLISTED_PUBLIC_COMPANY;
|
|
3430
|
-
case "GOVERNMENTAL_ORGANIZATION": return CompanyTypesValues.GOVERNMENTAL_ORGANIZATION;
|
|
3431
|
-
case "SOLE_PROPRIETOR": return CompanyTypesValues.SOLE_PROPRIETORSHIP;
|
|
3432
|
-
case "PARTNERSHIP_INCORPORATED": return CompanyTypesValues.INCORPORATED_PARTNERSHIP;
|
|
3433
|
-
case "ASSOCIATION_INCORPORATED": return CompanyTypesValues.INCORPORATED_ASSOCIATION;
|
|
3434
|
-
default: return CompanyTypesValues.PRIVATE_COMPANY;
|
|
3435
|
-
}
|
|
3436
|
-
};
|
|
3437
|
-
//#endregion
|
|
3438
3418
|
//#region src/components/Business/modals/RegistrationNumberMismatchModal.tsx
|
|
3439
3419
|
function RegistrationNumberMismatchModal({ companySearchStateModel, registrationNumberMismatchModalOpen, confirmDataSelection }) {
|
|
3440
3420
|
const { t } = useTranslation(["common", "business"]);
|
|
@@ -3450,7 +3430,7 @@ function RegistrationNumberMismatchModal({ companySearchStateModel, registration
|
|
|
3450
3430
|
const detectedRegistrationNumber = selectedCompany?.registrationNumber;
|
|
3451
3431
|
return {
|
|
3452
3432
|
registrationNumber: detectedRegistrationNumber,
|
|
3453
|
-
registrationNumberType: detectedRegistrationNumber ? inferCompanyRegistrationNumberType(detectedRegistrationNumber, country,
|
|
3433
|
+
registrationNumberType: detectedRegistrationNumber ? inferCompanyRegistrationNumberType(detectedRegistrationNumber, country, selectedCompany?.companyType) : void 0
|
|
3454
3434
|
};
|
|
3455
3435
|
});
|
|
3456
3436
|
const registrationNumberType = data?.exemptedFromRegistrationNumber ? "exempted" : data?.registrationNumberType;
|
|
@@ -3825,7 +3805,7 @@ var applyVerifiedBusinessData = (form, country, verifiedData, resolvedData) => {
|
|
|
3825
3805
|
if (resolvedData?.registrationNumberType) form.handleChangeFor("basicInformation", "registrationNumberType")(resolvedData.registrationNumberType);
|
|
3826
3806
|
}
|
|
3827
3807
|
if (form.defaultData?.additionalInformation?.registrationAddressStreet || form.defaultData?.additionalInformation?.operationalAddressStreet) return;
|
|
3828
|
-
form.handleChangeFor("companyStructure", "entityType")(
|
|
3808
|
+
form.handleChangeFor("companyStructure", "entityType")(verifiedData.companyType);
|
|
3829
3809
|
if (verifiedData.principalPlaceOfBusinessAddress) form.handleChangeFor("additionalInformation", "operationalAddressIsSame", "input")(false);
|
|
3830
3810
|
const applyVerifiedAddress = (prefix, address) => {
|
|
3831
3811
|
const flatAddress = flattenAddressSchema(prefix, {
|
|
@@ -4560,7 +4540,7 @@ function VerifiedBusinessCard({ verifiedBusiness, verifiedAddress }) {
|
|
|
4560
4540
|
}
|
|
4561
4541
|
//#endregion
|
|
4562
4542
|
//#region src/components/Business/forms/AdditionalInformation/AdditionalInformation.tsx
|
|
4563
|
-
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-
|
|
4543
|
+
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-CswH_EXC.js")).JpAddressFields);
|
|
4564
4544
|
var ADDITIONAL_INFORMATION_FIELDS = [
|
|
4565
4545
|
...DBA_NAME_FIELD,
|
|
4566
4546
|
...VAT_NUMBER_FIELD,
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5a568aa3-0f85-441f-8a06-165333eac2d5", e._sentryDebugIdIdentifier = "sentry-dbid-5a568aa3-0f85-441f-8a06-165333eac2d5");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-
|
|
5
|
+
import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-DJ7Zuta7.js";
|
|
6
6
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
7
7
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
8
8
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-DLXInibJ.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "80ff20d7-e14e-4a6c-b100-8a6bd91e8325", e._sentryDebugIdIdentifier = "sentry-dbid-80ff20d7-e14e-4a6c-b100-8a6bd91e8325");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger } from "./translation-BYvhW5zA.js";
|
|
6
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
6
|
+
import { nt as isEmpty } from "./resolveEnvironment-DJ7Zuta7.js";
|
|
7
7
|
import { r as doArraysMatch } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
8
8
|
import { i as omitKeys, n as addKeys, t as ValidationResult } from "./validationResult-Dzvfkukj.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
@@ -8,9 +8,9 @@ import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
|
8
8
|
import { r as LoaderWrapper } from "./utils-C1buyvRw.js";
|
|
9
9
|
import { t as Confirm } from "./Confirm-DcqMV7rd.js";
|
|
10
10
|
import { t as formDebugInfo } from "./debugStore-Dwn1FXrh.js";
|
|
11
|
-
import { r as FormRouterContext } from "./ErrorPanel-
|
|
12
|
-
import { i as trackNavigation, n as summaryStep, t as Summary } from "./Summary-
|
|
13
|
-
import { t as MaybeModal } from "./MaybeModal-
|
|
11
|
+
import { r as FormRouterContext } from "./ErrorPanel-DhH20Pzm.js";
|
|
12
|
+
import { i as trackNavigation, n as summaryStep, t as Summary } from "./Summary-5KWejLq6.js";
|
|
13
|
+
import { t as MaybeModal } from "./MaybeModal-zaov1y_m.js";
|
|
14
14
|
import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
|
|
15
15
|
import { useCallback, useContext, useMemo, useRef, useState } from "preact/hooks";
|
|
16
16
|
import cx from "classnames";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "11d9c062-fe38-4ed8-b4ea-7f59b42fa498", e._sentryDebugIdIdentifier = "sentry-dbid-11d9c062-fe38-4ed8-b4ea-7f59b42fa498");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger } from "./translation-BYvhW5zA.js";
|
|
6
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
6
|
+
import { nt as isEmpty } from "./resolveEnvironment-DJ7Zuta7.js";
|
|
7
7
|
import { o as objectsDeepEqual } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
8
8
|
import { i as omitKeys, n as addKeys, t as ValidationResult } from "./validationResult-Dzvfkukj.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer } from "preact/hooks";
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1f3caaec-8d83-408b-b2c5-b3e40c6876af", e._sentryDebugIdIdentifier = "sentry-dbid-1f3caaec-8d83-408b-b2c5-b3e40c6876af");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { N as FeatureNames } from "./resolveEnvironment-
|
|
5
|
+
import { N as FeatureNames } from "./resolveEnvironment-DJ7Zuta7.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
7
7
|
import { lazy } from "preact/compat";
|
|
8
8
|
import { useLocation } from "wouter-preact";
|
|
@@ -26,37 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/router/routeConfig.ts
|
|
29
|
-
var Introduction = lazy(async () => (await import("./Introduction-
|
|
30
|
-
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-
|
|
31
|
-
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-
|
|
32
|
-
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-
|
|
33
|
-
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-
|
|
34
|
-
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-
|
|
35
|
-
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-
|
|
36
|
-
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-
|
|
37
|
-
var Review = lazy(async () => (await import("./Review-
|
|
38
|
-
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-
|
|
39
|
-
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-
|
|
40
|
-
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-
|
|
41
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
42
|
-
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-
|
|
43
|
-
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-
|
|
44
|
-
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-
|
|
45
|
-
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-
|
|
46
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
47
|
-
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-
|
|
48
|
-
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-
|
|
49
|
-
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
50
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
51
|
-
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
52
|
-
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
53
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
54
|
-
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-
|
|
55
|
-
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-
|
|
56
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
57
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
58
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
59
|
-
lazy(async () => (await import("./InvitedDecisionMakerComponent-
|
|
29
|
+
var Introduction = lazy(async () => (await import("./Introduction-CIB6KMmP.js")).Introduction);
|
|
30
|
+
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-CSeJQ_mD.js")).AdaptiveWorkflow);
|
|
31
|
+
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-BPuRymMs.js")).BusinessTypeSelectionPage);
|
|
32
|
+
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-CH3puDC3.js")).GlobalEntryPage);
|
|
33
|
+
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-CAFomhnj.js")).SingpassSelection);
|
|
34
|
+
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-B6rOhmSg.js")).AccountSetupRejected);
|
|
35
|
+
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-DWGB83fo.js")).DecisionMakers);
|
|
36
|
+
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-Dcddje03.js")).CustomerSupport);
|
|
37
|
+
var Review = lazy(async () => (await import("./Review-CSBwDYSr.js")).Review);
|
|
38
|
+
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-CyiuGzV8.js").then((n) => n.n)).SignPCIComponent);
|
|
39
|
+
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-8sFuWzek.js").then((n) => n.n)).TermsOfServiceManagement);
|
|
40
|
+
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-DJK9moKh.js").then((n) => n.n)).TaxReportingDropin);
|
|
41
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-C6jUrhic.js")).PayoutDetailsPage);
|
|
42
|
+
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-Co5GBjvo.js")).RootBusinessDetailsPage);
|
|
43
|
+
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-nHtYw9kj.js")).RootBusinessLinesPage);
|
|
44
|
+
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-DY6xzy9Q.js")).SoleProprietorshipPage);
|
|
45
|
+
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-DOicFHUm.js")).TrustMemberCompanyPage);
|
|
46
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-BM9uKEhn.js")).TrustMemberIndividualPage);
|
|
47
|
+
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-CR9rKcZL.js")).TrustMemberRoleAndTypePage);
|
|
48
|
+
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-DgqijE9I.js")).TrustMembersOverview);
|
|
49
|
+
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-Bn8NF2pt.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
50
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-Dhkyc4Tl.js")).UnincorporatedPartnershipIndividualPage);
|
|
51
|
+
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-CnKXU7vl.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
52
|
+
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-BU1vE0R-.js")).UnincorporatedPartnershipMembersOverview);
|
|
53
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-BWodOUox.js")).BusinessFinancingPage);
|
|
54
|
+
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-BzGiLJ-E.js")).TrustDetailsPage);
|
|
55
|
+
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-qyv1vdl6.js").then((n) => n.n)).SourceOfFundsPage);
|
|
56
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-DWzmRFmu.js")).RootIndividualDetailsPage);
|
|
57
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-BiSPX4iH.js")).LegalRepresentativeDetailsPage);
|
|
58
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BlQAeJKb.js")).DecisionMakerDetailsPage);
|
|
59
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-B49QY0Os.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
60
60
|
var ROUTE_CONFIG = {
|
|
61
61
|
[TaskTypes.ADAPTIVE]: {
|
|
62
62
|
path: "/adaptive",
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "80a0dd1c-db2b-44ad-b152-c796c583753b", e._sentryDebugIdIdentifier = "sentry-dbid-80a0dd1c-db2b-44ad-b152-c796c583753b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { j as useToggleContext } from "./resolveEnvironment-
|
|
5
|
+
import { j as useToggleContext } from "./resolveEnvironment-DJ7Zuta7.js";
|
|
6
6
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
7
7
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
8
8
|
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-DLXInibJ.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "91f64ef9-3fbf-4966-9bca-02b4f28e7548", e._sentryDebugIdIdentifier = "sentry-dbid-91f64ef9-3fbf-4966-9bca-02b4f28e7548");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
6
|
-
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
6
|
+
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-Cy6YaZ3m.js";
|
|
7
7
|
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
8
8
|
//#region src/api/legalEntity/useUpdateLegalEntity.ts
|
|
9
9
|
var updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
@@ -3,24 +3,24 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ab5b4f78-2bfc-4db7-812d-20f17ecdf15e", e._sentryDebugIdIdentifier = "sentry-dbid-ab5b4f78-2bfc-4db7-812d-20f17ecdf15e");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
-
import { j as useToggleContext } from "./resolveEnvironment-
|
|
6
|
+
import { j as useToggleContext } from "./resolveEnvironment-DJ7Zuta7.js";
|
|
7
7
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
8
8
|
import { c as keysOf, o as objectsDeepEqual } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
10
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
11
11
|
import { c as CompanyTypesValues } from "./bafinUtils-CbfyDBkh.js";
|
|
12
12
|
import { n as translateTranslatable } from "./utils-C1buyvRw.js";
|
|
13
|
-
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-
|
|
14
|
-
import { i as MemoizedDocumentUpload } from "./PatriotActDisclosure-
|
|
13
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-CgYpBH9K.js";
|
|
14
|
+
import { i as MemoizedDocumentUpload } from "./PatriotActDisclosure-BfUxRHA_.js";
|
|
15
15
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
16
|
-
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-
|
|
17
|
-
import { a as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, b as REGISTRATION_NUMBER_EXEMPTION_RULES, f as COUNTRIES_USING_COMPANY_SEARCH } from "./utils-
|
|
16
|
+
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-D6UVMGKp.js";
|
|
17
|
+
import { a as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, b as REGISTRATION_NUMBER_EXEMPTION_RULES, f as COUNTRIES_USING_COMPANY_SEARCH } from "./utils-DJsxge-U.js";
|
|
18
18
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
19
19
|
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
20
20
|
import { t as Checkbox } from "./Checkbox-DdEBnXOB.js";
|
|
21
21
|
import { t as InputText } from "./InputText-CQcWyZ8_.js";
|
|
22
22
|
import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
|
|
23
|
-
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
23
|
+
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-CHNevP7y.js";
|
|
24
24
|
import { memo } from "preact/compat";
|
|
25
25
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1 } from "preact/hooks";
|
|
26
26
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -6,9 +6,9 @@ import { r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
|
6
6
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
7
7
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
8
8
|
import { c as CompanyTypesValues } from "./bafinUtils-CbfyDBkh.js";
|
|
9
|
-
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-
|
|
9
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-CgYpBH9K.js";
|
|
10
10
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
11
|
-
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-
|
|
11
|
+
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-D6UVMGKp.js";
|
|
12
12
|
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
13
13
|
import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
|
|
14
14
|
import { useCallback, useEffect, useMemo } from "preact/hooks";
|
|
@@ -8,7 +8,7 @@ import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
|
8
8
|
import { t as getCapabilities } from "./processCapabilities-C2kMryYn.js";
|
|
9
9
|
import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-DLXInibJ.js";
|
|
10
10
|
import { c as CompanyTypesValues } from "./bafinUtils-CbfyDBkh.js";
|
|
11
|
-
import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-
|
|
11
|
+
import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-DpnxGhnV.js";
|
|
12
12
|
import { r as SOLE_PROP_COUNTRIES } from "./Individual.rules-Caf9UMUo.js";
|
|
13
13
|
import { t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Bm4RGrSI.js";
|
|
14
14
|
//#region src/components/Shared/forms/BusinessTypeSelection/utils.ts
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b4090f8e-28bc-4fb5-b819-6f34ed21e35e", e._sentryDebugIdIdentifier = "sentry-dbid-b4090f8e-28bc-4fb5-b819-6f34ed21e35e");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { et as hasText } from "./resolveEnvironment-
|
|
5
|
+
import { et as hasText } from "./resolveEnvironment-DJ7Zuta7.js";
|
|
6
6
|
//#region src/components/EFP/tasks/BusinessFinancingDropin/validate.ts
|
|
7
7
|
var validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
8
8
|
if (!legalEntityIdentifier) return true;
|
|
@@ -9,10 +9,10 @@ import { c as keysOf, l as valuesOf, o as objectsDeepEqual } from "./AnalyticsCo
|
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
10
|
import { n as translateTranslatable } from "./utils-C1buyvRw.js";
|
|
11
11
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-BrLGUOLK.js";
|
|
12
|
-
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-
|
|
12
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-CgYpBH9K.js";
|
|
13
13
|
import { t as localizeDateString } from "./localizeDateString-Bmx3yBcR.js";
|
|
14
14
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
15
|
-
import { o as validatePatternOnBlur } from "./patternValidators-
|
|
15
|
+
import { o as validatePatternOnBlur } from "./patternValidators-D6UVMGKp.js";
|
|
16
16
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
17
17
|
import { t as Field } from "./Field-Dg-2A6bG.js";
|
|
18
18
|
import { t as Checkbox } from "./Checkbox-DdEBnXOB.js";
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "52b34461-546a-4f0f-bfbb-f1103c9d0075", e._sentryDebugIdIdentifier = "sentry-dbid-52b34461-546a-4f0f-bfbb-f1103c9d0075");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as getFieldNameFromPath } from "./ErrorPanel-
|
|
5
|
+
import { i as getFieldNameFromPath } from "./ErrorPanel-DhH20Pzm.js";
|
|
6
6
|
//#region src/utils/validationError.ts
|
|
7
7
|
var API_VALIDATION_ERROR_CODE = "30_102";
|
|
8
8
|
var ID_DOCUMENT_UPLOAD_ERROR_CODE = "30_105";
|
package/package.json
CHANGED
package/dist/types/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
|
-
import type { OrganizationType } from '../../../../core/models/api/organization-type';
|
|
3
|
-
/**
|
|
4
|
-
* This is a mapping from our Adyen internal organization type values in KYC to our SDK and LEM company type values
|
|
5
|
-
*
|
|
6
|
-
* @param organizationType - Organization type value from KYC
|
|
7
|
-
* @returns CompanyTypesValue
|
|
8
|
-
*/
|
|
9
|
-
export declare const mapOrganizationTypeToCompanyType: (organizationType: OrganizationType | undefined | null) => CompanyTypesValue;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* These are the organization types present in our Adyen internal KYC engine. These do differ from the
|
|
3
|
-
* types present in LEM (See {@link CompanyTypesValue} for LEM types)
|
|
4
|
-
*/
|
|
5
|
-
export type OrganizationType = 'BUSINESS' | 'NON_PROFIT' | 'PUBLIC_COMPANY' | 'PARTNERSHIP' | 'LISTED_PUBLIC_COMPANY' | 'UNLISTED_PUBLIC_COMPANY' | 'GOVERNMENTAL_ORGANIZATION' | 'OTHER' | 'PARTNERSHIP_INCORPORATED' | 'ASSOCIATION_INCORPORATED' | 'SOLE_PROPRIETOR';
|