@adyen/kyc-components 4.18.0 → 4.18.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/{AccountSetupRejected-BBkIzStE.js → AccountSetupRejected-PhOe1B-n.js} +1 -1
- package/dist/{AdaptiveWorkflow-BeNeSJmr.js → AdaptiveWorkflow-CXpNjZCn.js} +12 -12
- package/dist/{AdaptiveWorkflowComponent-vGohaG9V.js → AdaptiveWorkflowComponent-dPpu76rs.js} +2 -2
- package/dist/{Address-pRy7yAyT.js → Address-3-_aLbjP.js} +3 -3
- package/dist/{AddressField-D5VvYpTn.js → AddressField-CPPPFBvl.js} +3 -3
- package/dist/{BusinessFinancingDropin-BVJmBiV-.js → BusinessFinancingDropin-BR51jlH2.js} +13 -13
- package/dist/{BusinessFinancingPage-D6Ltqocq.js → BusinessFinancingPage-B3Ov1kac.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-COGrE8in.js → BusinessTypeSelectionPage-D4vw6aNU.js} +5 -5
- package/dist/{CompanyRegistrationNumberTypeSelector-Cse5eWmF.js → CompanyRegistrationNumberTypeSelector-6xHWLs1p.js} +3 -3
- package/dist/{ContactDetails-Bg6E-Qdo.js → ContactDetails-YmwbTqND.js} +2 -2
- package/dist/{ContextGuidance-OW20JTmA.js → ContextGuidance-5E-t22kR.js} +1 -1
- package/dist/{CountryField-B4jNKNdQ.js → CountryField-CMQ5_moy.js} +1 -1
- package/dist/{Currency-BB-aCS9R.js → Currency-BO39M1ox.js} +1 -1
- package/dist/{CustomerSupport-CxLYgFMf.js → CustomerSupport-DQzE9mMY.js} +6 -6
- package/dist/{DataConflictsModal-Din0HvnQ.js → DataConflictsModal-4y4dA4sI.js} +1 -1
- package/dist/{DebugModal-CCmbbYz8.js → DebugModal-CVQozZAM.js} +3 -3
- package/dist/{DecisionMakerDetails-CfQw5zLh.js → DecisionMakerDetails-DV6Iee3-.js} +2 -2
- package/dist/{DecisionMakerDetailsPage-DKdZRCWu.js → DecisionMakerDetailsPage-BxT3qKxe.js} +2 -2
- package/dist/{DecisionMakers-SZrdoYjV.js → DecisionMakers-CVJTMrVX.js} +4 -4
- package/dist/{Dropzone-VbRNXGWC.js → Dropzone-DZNPVw36.js} +2 -2
- package/dist/{EntityAssociation-zNH_hlni.js → EntityAssociation-CN9ol7v2.js} +1 -1
- package/dist/{ErrorPanel-BUnSs30r.js → ErrorPanel-ax7k2mv_.js} +1 -1
- package/dist/{GlobalEntryModal-CjuK78f0.js → GlobalEntryModal-D61Hc3LY.js} +1 -1
- package/dist/{GlobalEntryPage-DRvb0gLz.js → GlobalEntryPage-DWg2N_pv.js} +2 -2
- package/dist/{IndividualDropin-dtWJoFtm.js → IndividualDropin-BBr2IB14.js} +21 -21
- package/dist/{Introduction-D_hA5jmK.js → Introduction-C8TItyVA.js} +2 -2
- package/dist/{InvitedDecisionMakerComponent-UOdB2Gdf.js → InvitedDecisionMakerComponent-DWiwWubd.js} +3 -3
- package/dist/{JpAddress-Bzh05zSM.js → JpAddress-CKVMqpT-.js} +4 -4
- package/dist/{JpAddressFields-BcNA2qQ-.js → JpAddressFields-Cu7qWdqH.js} +1 -1
- package/dist/{LegalCompanyNameField-B4tZnTsz.js → LegalCompanyNameField-JYzmeM_X.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-BJdt2arC.js → LegalRepresentativeDetailsPage-DIsZS1kl.js} +2 -2
- package/dist/{MaskedInput-fg7rPWNN.js → MaskedInput-C4s4LV8L.js} +1 -1
- package/dist/{MaybeModal-evIPP9Uh.js → MaybeModal-BSkLRwI2.js} +1 -1
- package/dist/{NewSummary-01MQcP8O.js → NewSummary-BaN8B8zh.js} +2 -2
- package/dist/{PatriotActDisclosure-EIRUow5b.js → PatriotActDisclosure-DPd_hY4F.js} +6 -6
- package/dist/{PayoutDetailsDropin-Ba7MTkCv.js → PayoutDetailsDropin-CEfr5YRq.js} +13 -13
- package/dist/{PayoutDetailsPage-rpkLlwhy.js → PayoutDetailsPage-RPNP-k15.js} +3 -3
- package/dist/{Review-CgR-Yydj.js → Review-CB-4-2Hj.js} +2 -2
- package/dist/{RootBusinessDetailsPage-D-aCSPPF.js → RootBusinessDetailsPage-CUio3PpO.js} +2 -2
- package/dist/{RootBusinessLinesPage-BMT3gr2J.js → RootBusinessLinesPage-oB7EXos0.js} +9 -9
- package/dist/{RootIndividualDetailsPage-D3Hm7OrC.js → RootIndividualDetailsPage-_ii9YD6S.js} +2 -2
- package/dist/{SignPCIComponent-g8v3tteD.js → SignPCIComponent-ByROwVCw.js} +4 -4
- package/dist/{SingpassSelection-Bx4GOfIq.js → SingpassSelection-OXKZwOga.js} +1 -1
- package/dist/{SoleProprietorshipPage-CG51YTEA.js → SoleProprietorshipPage-CZs5zpAu.js} +2 -2
- package/dist/{SourceOfFundsPage-BJKj0z9v.js → SourceOfFundsPage-BQvkDxha.js} +10 -10
- package/dist/{Summary-DPMBCqZT.js → Summary-DiBuR9QD.js} +2 -2
- package/dist/{TaskListItem-D54ulnyc.js → TaskListItem-x1xsj1Bn.js} +2 -2
- package/dist/{TaxReportingDropin-DgB6Uo-8.js → TaxReportingDropin-CK2T7wb2.js} +5 -5
- package/dist/{TermsOfServiceManagement-B73EAUQT.js → TermsOfServiceManagement-dE1jAodi.js} +4 -4
- package/dist/{TrustDetailsPage-DbRZo3eo.js → TrustDetailsPage-DGZBVOHn.js} +18 -18
- package/dist/{TrustMemberCompanyPage-fjaHnVnu.js → TrustMemberCompanyPage-CUKl1KJI.js} +3 -3
- package/dist/{TrustMemberIndividualPage-ChdfyypX.js → TrustMemberIndividualPage-BsNLXF2o.js} +2 -2
- package/dist/{TrustMemberRoleAndTypePage-4FiocM2Q.js → TrustMemberRoleAndTypePage-CXNAMink.js} +9 -9
- package/dist/{TrustMembersOverview-BfW7xcig.js → TrustMembersOverview-njl6GYCL.js} +6 -6
- package/dist/{UnincorporatedPartnershipIndividualPage-CoxFU8hC.js → UnincorporatedPartnershipIndividualPage-DkCrdK7_.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-qtLLtEBZ.js → UnincorporatedPartnershipMemberCompanyPage-CamEVaxx.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CcrbCZHP.js → UnincorporatedPartnershipMemberRoleAndTypePage-JxnZz1cS.js} +2 -2
- package/dist/{UnincorporatedPartnershipMembersOverview-BcIX_dew.js → UnincorporatedPartnershipMembersOverview-D7of0-eU.js} +3 -3
- package/dist/{VerificationErrorAlert-CBkiCj7f.js → VerificationErrorAlert-CYQVK3Yc.js} +2 -2
- package/dist/{accountHolderUtils-BRcGuXPg.js → accountHolderUtils-CwYzrNX6.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-C3Jgup22.js} +1 -1
- package/dist/{invalidateRootLegalEntity-CNKlzaEg.js → invalidateRootLegalEntity-CI3oWmKW.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-B8KqUjNk.js → omitObscuredFieldsIfUnchanged-DETtemfp.js} +1 -1
- package/dist/{patternValidators-DxkAZhsA.js → patternValidators-DVuOyW9t.js} +1 -1
- package/dist/{processValidationErrors-D9l2eO9k.js → processValidationErrors-CBt5e49b.js} +1 -1
- package/dist/{resolveEnvironment-DoST1OsT.js → resolveEnvironment-t5oalzfF.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-CU0nteh0.js} +28 -49
- package/dist/{useCanSeeIntroduction-BV78oSLN.js → useCanSeeIntroduction--o2DZz_r.js} +1 -1
- package/dist/{useForm-CV0UezXM.js → useForm-i6sGgDd7.js} +1 -1
- package/dist/{useFormContext-BWw5svgR.js → useFormContext-C7TMXwWg.js} +3 -3
- package/dist/{useMultiForm-DysFfqIA.js → useMultiForm-DmRII_NM.js} +1 -1
- package/dist/{useNavigate-C32tng3x.js → useNavigate-C5pijQS-.js} +32 -32
- package/dist/{useTrustMembers-DsHD7BN-.js → useTrustMembers-BdC-skoy.js} +1 -1
- package/dist/{useUpdateLegalEntity-Bk3h9Ga3.js → useUpdateLegalEntity-BzJEGtlf.js} +1 -1
- package/dist/{utils-UMZuwGLj.js → utils-BQKCRnHy.js} +1 -1
- package/dist/{utils-C_W1-emm.js → utils-DL1Gw7UQ.js} +2 -2
- package/dist/{utils-Cjauzs_k.js → utils-DO746J4_.js} +6 -6
- package/dist/{validate-DZs3J_LS.js → validate-DXDTOfCD.js} +1 -1
- package/dist/{validateExtractionResult-BkzUg6_Q.js → validateExtractionResult-vWa9ixyo.js} +2 -2
- package/dist/{validationError-B33RQfsy.js → validationError-ChwCFXwH.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] = "13b0c317-fc82-47e4-9cac-2292e672e6b1", e._sentryDebugIdIdentifier = "sentry-dbid-13b0c317-fc82-47e4-9cac-2292e672e6b1");
|
|
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-t5oalzfF.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-CI3oWmKW.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-BzJEGtlf.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-CPPPFBvl.js";
|
|
36
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-C7TMXwWg.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-ax7k2mv_.js";
|
|
40
|
+
import { n as summaryStep, r as Summary_module_default } from "./Summary-DiBuR9QD.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-DmRII_NM.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-C4s4LV8L.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-CBt5e49b.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-DPd_hY4F.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-ChwCFXwH.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-DVuOyW9t.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-DL1Gw7UQ.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-CMQ5_moy.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-4y4dA4sI.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-BO39M1ox.js";
|
|
78
|
+
import { n as SummarySection, t as NewSummary } from "./NewSummary-BaN8B8zh.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-6xHWLs1p.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-DO746J4_.js";
|
|
85
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-C3Jgup22.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-JYzmeM_X.js";
|
|
87
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-BQKCRnHy.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,7 @@ 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;
|
|
2901
2902
|
if (registrationNumber) {
|
|
2902
2903
|
entityObject.registrationNumber = registrationNumber;
|
|
2903
2904
|
if (canSaveRegNumberAbsentState && requestObj.organization) requestObj.organization.registrationNumberAbsent = false;
|
|
@@ -3413,28 +3414,6 @@ function LegalArrangementModal({ onCancel }) {
|
|
|
3413
3414
|
});
|
|
3414
3415
|
}
|
|
3415
3416
|
//#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
3417
|
//#region src/components/Business/modals/RegistrationNumberMismatchModal.tsx
|
|
3439
3418
|
function RegistrationNumberMismatchModal({ companySearchStateModel, registrationNumberMismatchModalOpen, confirmDataSelection }) {
|
|
3440
3419
|
const { t } = useTranslation(["common", "business"]);
|
|
@@ -3450,7 +3429,7 @@ function RegistrationNumberMismatchModal({ companySearchStateModel, registration
|
|
|
3450
3429
|
const detectedRegistrationNumber = selectedCompany?.registrationNumber;
|
|
3451
3430
|
return {
|
|
3452
3431
|
registrationNumber: detectedRegistrationNumber,
|
|
3453
|
-
registrationNumberType: detectedRegistrationNumber ? inferCompanyRegistrationNumberType(detectedRegistrationNumber, country,
|
|
3432
|
+
registrationNumberType: detectedRegistrationNumber ? inferCompanyRegistrationNumberType(detectedRegistrationNumber, country, selectedCompany?.companyType) : void 0
|
|
3454
3433
|
};
|
|
3455
3434
|
});
|
|
3456
3435
|
const registrationNumberType = data?.exemptedFromRegistrationNumber ? "exempted" : data?.registrationNumberType;
|
|
@@ -3825,7 +3804,7 @@ var applyVerifiedBusinessData = (form, country, verifiedData, resolvedData) => {
|
|
|
3825
3804
|
if (resolvedData?.registrationNumberType) form.handleChangeFor("basicInformation", "registrationNumberType")(resolvedData.registrationNumberType);
|
|
3826
3805
|
}
|
|
3827
3806
|
if (form.defaultData?.additionalInformation?.registrationAddressStreet || form.defaultData?.additionalInformation?.operationalAddressStreet) return;
|
|
3828
|
-
form.handleChangeFor("companyStructure", "entityType")(
|
|
3807
|
+
form.handleChangeFor("companyStructure", "entityType")(verifiedData.companyType);
|
|
3829
3808
|
if (verifiedData.principalPlaceOfBusinessAddress) form.handleChangeFor("additionalInformation", "operationalAddressIsSame", "input")(false);
|
|
3830
3809
|
const applyVerifiedAddress = (prefix, address) => {
|
|
3831
3810
|
const flatAddress = flattenAddressSchema(prefix, {
|
|
@@ -4560,7 +4539,7 @@ function VerifiedBusinessCard({ verifiedBusiness, verifiedAddress }) {
|
|
|
4560
4539
|
}
|
|
4561
4540
|
//#endregion
|
|
4562
4541
|
//#region src/components/Business/forms/AdditionalInformation/AdditionalInformation.tsx
|
|
4563
|
-
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-
|
|
4542
|
+
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-Cu7qWdqH.js")).JpAddressFields);
|
|
4564
4543
|
var ADDITIONAL_INFORMATION_FIELDS = [
|
|
4565
4544
|
...DBA_NAME_FIELD,
|
|
4566
4545
|
...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-t5oalzfF.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-t5oalzfF.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-ax7k2mv_.js";
|
|
12
|
+
import { i as trackNavigation, n as summaryStep, t as Summary } from "./Summary-DiBuR9QD.js";
|
|
13
|
+
import { t as MaybeModal } from "./MaybeModal-BSkLRwI2.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-t5oalzfF.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-t5oalzfF.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-C8TItyVA.js")).Introduction);
|
|
30
|
+
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-CXpNjZCn.js")).AdaptiveWorkflow);
|
|
31
|
+
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-D4vw6aNU.js")).BusinessTypeSelectionPage);
|
|
32
|
+
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-DWg2N_pv.js")).GlobalEntryPage);
|
|
33
|
+
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-OXKZwOga.js")).SingpassSelection);
|
|
34
|
+
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-PhOe1B-n.js")).AccountSetupRejected);
|
|
35
|
+
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-CVJTMrVX.js")).DecisionMakers);
|
|
36
|
+
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-DQzE9mMY.js")).CustomerSupport);
|
|
37
|
+
var Review = lazy(async () => (await import("./Review-CB-4-2Hj.js")).Review);
|
|
38
|
+
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-ByROwVCw.js").then((n) => n.n)).SignPCIComponent);
|
|
39
|
+
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-dE1jAodi.js").then((n) => n.n)).TermsOfServiceManagement);
|
|
40
|
+
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-CK2T7wb2.js").then((n) => n.n)).TaxReportingDropin);
|
|
41
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-RPNP-k15.js")).PayoutDetailsPage);
|
|
42
|
+
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-CUio3PpO.js")).RootBusinessDetailsPage);
|
|
43
|
+
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-oB7EXos0.js")).RootBusinessLinesPage);
|
|
44
|
+
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-CZs5zpAu.js")).SoleProprietorshipPage);
|
|
45
|
+
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-CUKl1KJI.js")).TrustMemberCompanyPage);
|
|
46
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-BsNLXF2o.js")).TrustMemberIndividualPage);
|
|
47
|
+
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-CXNAMink.js")).TrustMemberRoleAndTypePage);
|
|
48
|
+
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-njl6GYCL.js")).TrustMembersOverview);
|
|
49
|
+
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-CamEVaxx.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
50
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-DkCrdK7_.js")).UnincorporatedPartnershipIndividualPage);
|
|
51
|
+
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-JxnZz1cS.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
52
|
+
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-D7of0-eU.js")).UnincorporatedPartnershipMembersOverview);
|
|
53
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-B3Ov1kac.js")).BusinessFinancingPage);
|
|
54
|
+
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-DGZBVOHn.js")).TrustDetailsPage);
|
|
55
|
+
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-BQvkDxha.js").then((n) => n.n)).SourceOfFundsPage);
|
|
56
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-_ii9YD6S.js")).RootIndividualDetailsPage);
|
|
57
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-DIsZS1kl.js")).LegalRepresentativeDetailsPage);
|
|
58
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BxT3qKxe.js")).DecisionMakerDetailsPage);
|
|
59
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-DWiwWubd.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-t5oalzfF.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-CI3oWmKW.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) => {
|
|
@@ -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-CwYzrNX6.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
|
|
@@ -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-C4s4LV8L.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-DVuOyW9t.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";
|
|
@@ -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-t5oalzfF.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-C4s4LV8L.js";
|
|
14
|
+
import { i as MemoizedDocumentUpload } from "./PatriotActDisclosure-DPd_hY4F.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-DVuOyW9t.js";
|
|
17
|
+
import { a as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, b as REGISTRATION_NUMBER_EXEMPTION_RULES, f as COUNTRIES_USING_COMPANY_SEARCH } from "./utils-DL1Gw7UQ.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-6xHWLs1p.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";
|
|
@@ -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-t5oalzfF.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-C4s4LV8L.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-DVuOyW9t.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-ax7k2mv_.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';
|