@adyen/kyc-components 4.5.0-beta.3 → 4.6.0-beta.0
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/README.md +31 -43
- package/dist/{AcceptTermsOfServiceComponent-DS5lVeS2.js → AcceptTermsOfServiceComponent-DTURkN9O.js} +17 -20
- package/dist/{AccountSetupRejected-CrrkpC_L.js → AccountSetupRejected-D7yqqcm_.js} +2 -2
- package/dist/{ActionBar-DGiAxBQc.js → ActionBar-CdFYb-7S.js} +2 -2
- package/dist/{Address-QUk_DIDw.js → Address-BkeFTMl-.js} +16 -16
- package/dist/{Avatar-Bdr-aKwa.js → Avatar-BpQFX0rJ.js} +2 -2
- package/dist/{BusinessFinancingComponent-GhSoq2f5.js → BusinessFinancingComponent-CshEgNjO.js} +5 -5
- package/dist/{BusinessFinancingDropin-C_WHAPNZ.js → BusinessFinancingDropin-B2kKDCNB.js} +31 -34
- package/dist/{BusinessFinancingPage-D5QF6yGF.js → BusinessFinancingPage-96zTF7BJ.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-SlmZ8W6Z.js → BusinessTypeSelectionPage-BVucjw8H.js} +9 -14
- package/dist/{Checkbox-CVgXHCXa.js → Checkbox-Dwf4zXgj.js} +2 -2
- package/dist/{Confirm-D-PAtCeY.js → Confirm-DOjzHnlC.js} +3 -3
- package/dist/{ConstitutionalDocument-VGt3Ival.js → ConstitutionalDocument-C4HWFtJ-.js} +336 -92
- package/dist/{ContactDetails-BRue4wdA.js → ContactDetails-ByrH32Jo.js} +12 -7
- package/dist/{ContextGuidance-D0ocfR99.js → ContextGuidance-BUczCMV3.js} +2 -2
- package/dist/{CountryField-BLi_qwam.js → CountryField-C9nbUmpe.js} +3 -3
- package/dist/{CreateIndividualComponent-DMv5c_xv.js → CreateIndividualComponent-AOb8RP8N.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-DnpOUL-n.js → CreateTransferInstrumentComponent-BBytn3E3.js} +5 -5
- package/dist/{Currency-BsrDrdBC.js → Currency-B1ApVUnP.js} +7 -7
- package/dist/{CustomerSupport-b_-5G3qJ.js → CustomerSupport-DDtZA5jI.js} +11 -16
- package/dist/{DebugModal-DjpKYjuZ.js → DebugModal-wXFq4cg1.js} +127 -98
- package/dist/DecisionMakerDetails-Up9HU_qy.js +275 -0
- package/dist/{DecisionMakerDetailsPage-BVXHUUbk.js → DecisionMakerDetailsPage-OeI7y1aX.js} +10 -10
- package/dist/{DecisionMakers-DeONgKQi.js → DecisionMakers-5bUJ4S4V.js} +22 -259
- package/dist/{Dropzone-DlNCqoEA.js → Dropzone-Bf8v-4iJ.js} +4 -4
- package/dist/{EmbeddedStatus-CThA9coI.js → EmbeddedStatus-DQmqyOzv.js} +3 -3
- package/dist/{EndStateLayout-B2sgz2qk.js → EndStateLayout-DZgYKmw6.js} +2 -2
- package/dist/{EntityAssociation-55Vdhfnc.js → EntityAssociation-Dc8O6xJv.js} +5 -5
- package/dist/{EntityGuidanceStatus-DvXXWkQm.js → EntityGuidanceStatus-DhCqUWGF.js} +4 -4
- package/dist/{ErrorPanel-fJFieJW5.js → ErrorPanel-4HIDH4sr.js} +11 -12
- package/dist/{Field-DFVyJCnU.js → Field-CWq5XOh3.js} +2 -2
- package/dist/{FormNavigation-BnD7M0ZR.js → FormNavigation-CDlQZRNb.js} +3 -3
- package/dist/{Individual.rules-DhmI9c_H.js → Individual.rules-BhSXCdTl.js} +12 -12
- package/dist/{IndividualDropin-Cd6ibss7.js → IndividualDropin-DS8kUrXB.js} +252 -97
- package/dist/{InputDate-CJd5gtE4.js → InputDate-C2NEOpK4.js} +1 -1
- package/dist/{InputText-DOcjqnWU.js → InputText-20pWI3ja.js} +2 -2
- package/dist/{Introduction-CCiAPEBy.js → Introduction-D6x5z2oe.js} +4 -9
- package/dist/InvitedDecisionMakerComponent-Bg-DMehe.js +211 -0
- package/dist/{JpAddress-CE_XMo18.js → JpAddress-CX4IfNRB.js} +11 -11
- package/dist/{LandingLayout-By2sw7EJ.js → LandingLayout-y-X0NrR1.js} +2 -2
- package/dist/{LegalCompanyNameField-CRuYg5wZ.js → LegalCompanyNameField-lEerISaT.js} +16 -16
- package/dist/{LegalRepresentativeDetailsPage-B-sKbq-f.js → LegalRepresentativeDetailsPage-C6dOsu1g.js} +5 -5
- package/dist/{Link-CuNSyhGM.js → Link-DeFoaStC.js} +2 -2
- package/dist/{ListItem-DDWbswz5.js → ListItem-BFxtRiVb.js} +3 -3
- package/dist/{LoaderWrapper-BRRScJ6L.js → LoaderWrapper-Bh1b67kY.js} +2 -2
- package/dist/{ManageIndividualComponent-C9_75083.js → ManageIndividualComponent-DHYNg_KN.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DG0TORHP.js → ManageTermsOfServiceComponent-BNzELB7A.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-CLNbW9Eu.js → ManageTransferInstrumentComponent-9r84TFsu.js} +11 -11
- package/dist/{MaskedInput-Nc3f0C5E.js → MaskedInput-DPSvsK95.js} +5 -5
- package/dist/{MaybeModal-DIAfZteC.js → MaybeModal-BbrppFfg.js} +3 -3
- package/dist/{Modal-BbOWPzOL.js → Modal-CAVcW_pH.js} +2 -2
- package/dist/{Name-CqLg9Cgl.js → Name-eQhc9Vta.js} +4 -4
- package/dist/{NewSummary-DVAAzuYY.js → NewSummary-B_xfd8vG.js} +5 -5
- package/dist/{OnboardingDropinComponent-CENd8Z2c.js → OnboardingDropinComponent-BRZuLCE8.js} +145 -218
- package/dist/{PayoutDetailsDropin-CFVWwEAj.js → PayoutDetailsDropin-B6ZMIVid.js} +183 -1065
- package/dist/{PayoutDetailsPage-BsedgQRO.js → PayoutDetailsPage-BSzf6sev.js} +6 -6
- package/dist/{RadioGroup-BHWO_9CE.js → RadioGroup-BZ-EfNXM.js} +2 -2
- package/dist/{Review-BOC-9SyM.js → Review-BVeMAC7t.js} +6 -6
- package/dist/{RootBusinessDetailsPage-JJItfLAJ.js → RootBusinessDetailsPage-OlgTozou.js} +6 -6
- package/dist/{RootBusinessLinesPage-I_Kc7SM2.js → RootBusinessLinesPage-CUwKkzZU.js} +93 -91
- package/dist/{RootIndividualDetailsPage-DvVfX3bb.js → RootIndividualDetailsPage-CqP8gdvk.js} +7 -6
- package/dist/{Select-Bzd3eiR-.js → Select-DSLn5CCG.js} +4 -4
- package/dist/{SignPCIComponent-BPnNDL64.js → SignPCIComponent-CT6GL442.js} +12 -19
- package/dist/{SingpassSelection-q8FAS1vx.js → SingpassSelection-BORgM-de.js} +144 -7
- package/dist/{SoleProprietorshipPage-B-FSfnle.js → SoleProprietorshipPage-BylQa2F1.js} +5 -5
- package/dist/{SourceOfFundsPage-DvlFH4gO.js → SourceOfFundsPage-Br-FaeUd.js} +270 -98
- package/dist/{StepProgressIndicator-Dsiw-MP9.js → StepProgressIndicator-ZZsrHrtb.js} +2 -2
- package/dist/{StoreProvider-CXQKtV9j.js → StoreProvider-lJLpl6iE.js} +155 -148
- package/dist/{Summary-BqdWHkYK.js → Summary-DdFh8LL0.js} +25 -22
- package/dist/{TaxInformationField-DjhxUBZp.js → TaxInformationField-5nazrzc4.js} +568 -795
- package/dist/{TaxReportingDropin-DcJMROxc.js → TaxReportingDropin-DAeAPOI5.js} +26 -26
- package/dist/{TextArea-DP6ekXiw.js → TextArea-D0eJRv8v.js} +2 -2
- package/dist/{TileGroup-Dkfun-CR.js → TileGroup-C8YY0Xwv.js} +3 -3
- package/dist/{TrustDetailsPage-BafxOk5q.js → TrustDetailsPage-BHo4SFbD.js} +64 -65
- package/dist/{TrustMemberCompanyPage-BAFB5lPA.js → TrustMemberCompanyPage-CZMF952c.js} +7 -7
- package/dist/{TrustMemberIndividualPage-C8BnbYT6.js → TrustMemberIndividualPage-RSIXbPaf.js} +6 -6
- package/dist/{TrustMemberRoleAndTypePage-CaUsFJV4.js → TrustMemberRoleAndTypePage-BehlWyo7.js} +27 -27
- package/dist/{TrustMembersOverview-CHdhlDZz.js → TrustMembersOverview-KI0J7peC.js} +16 -18
- package/dist/{UnincorporatedPartnershipIndividualPage-Ba-CzecE.js → UnincorporatedPartnershipIndividualPage-CNf-sPP4.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B5d0Xi_A.js → UnincorporatedPartnershipMemberCompanyPage-OyKeY30-.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BkmlxcZO.js → UnincorporatedPartnershipMemberRoleAndTypePage-Bt21JX-F.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-Ce-lMF7X.js → UnincorporatedPartnershipMembersOverview-DdTGn8QH.js} +7 -7
- package/dist/{VerificationErrorAlert-DLtKR4md.js → VerificationErrorAlert-ChGZqC_p.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-BBRWKZ82.js → ViewVerificationStatusComponent-9RUetbsi.js} +3 -3
- package/dist/adyen-business-financing.js +4 -4
- package/dist/adyen-individual-configuration.js +4 -4
- package/dist/adyen-individual-status.js +4 -4
- package/dist/adyen-invited-decision-maker.js +4 -117
- package/dist/adyen-kyc-components.js +17 -17
- package/dist/adyen-onboarding.js +4 -4
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +4 -4
- package/dist/adyen-transfer-instrument-configuration.js +4 -4
- package/dist/adyen-transfer-instrument-management.js +4 -4
- package/dist/adyen-verification-status.js +4 -4
- package/dist/{bafinUtils-XSAIp09_.js → bafinUtils-m56sOqio.js} +2 -2
- package/dist/{commonValidators-CljVBrfq.js → commonValidators-cEWuPs2I.js} +1 -1
- package/dist/{dropinUtils-CH3eNe0c.js → dropinUtils-B-qE8vvG.js} +53 -9
- package/dist/en-US-CJDkXFZ6.js +13 -0
- package/dist/en-US-CTbVLoNF.js +13 -0
- package/dist/en-US-CfazE4ht.js +13 -0
- package/dist/{en-US-G607HIyo.js → en-US-DPoDE0uz.js} +7 -7
- package/dist/en-US-DrUYyPhF.js +13 -0
- package/dist/{formUtils-DB8YKyRe.js → formUtils-DjInEErz.js} +3 -3
- package/dist/{getName-BPMpbqYz.js → getName-CzAV6RHp.js} +2 -2
- package/dist/{getProblemsForEntity-DwUAANdb.js → getProblemsForEntity-CVzYoCCC.js} +2 -2
- package/dist/getTrustedFields-BeaCYGD7.js +104 -0
- package/dist/{isEmpty-dubbfkXA.js → isEmpty-CRqBruDc.js} +1 -1
- package/dist/japanSupportUtils-BK4rTASp.js +16 -0
- package/dist/{localizeDateString-CCdgjvGC.js → localizeDateString-BSZiJcEb.js} +2 -2
- package/dist/{mapExistingFile-B-9zqjaD.js → mapExistingFile-BcvOzQNH.js} +3 -76
- package/dist/{mapJpAddressSchemaToAddressLocalizations-Bw7g_drS.js → mapJpAddressSchemaToAddressLocalizations-BgHjkrJG.js} +2 -36
- package/dist/{mapLegalEntityToIndividualSchema-BYLnHEky.js → mapLegalEntityToIndividualSchema-_HlywUjg.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-C6nCXEDa.js → mapTransferInstrumentToPayoutAccount-69DkBhXm.js} +2 -2
- package/dist/omitObscuredFieldsIfUnchanged-tsdNkCyN.js +29 -0
- package/dist/{patternValidators-7cFwtrvG.js → patternValidators-DuOaKe_S.js} +2 -2
- package/dist/{process-field-configurations-DwVC3S7h.js → process-field-configurations-DcWH0t4d.js} +2 -2
- package/dist/{resolveEnvironment-BBj5_3EK.js → resolveEnvironment-Bs-ygpN1.js} +17 -24
- package/dist/{roleMetadata-DNU8T8lg.js → roleMetadata-B-2OBUCV.js} +3 -3
- package/dist/style.css +230 -275
- package/dist/styles-CLV89_hH.js +230 -275
- package/dist/types/api/toggles/useToggles.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -29
- package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankVerification/verification/{widget → overlay}/types.d.ts +4 -14
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +4 -5
- package/dist/types/components/Business/forms/rules.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsGettingStarted.d.ts +6 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +7 -5
- package/dist/types/components/Business/utils/companyUtil.d.ts +2 -2
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +3 -2
- package/dist/types/components/Business/utils/submit.d.ts +1 -1
- package/dist/types/components/Business/utils/useCompanySearchFeature.d.ts +5 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -3
- package/dist/types/components/Individual/forms/IdNowVerificationModal/IFrameWidget.d.ts +9 -0
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +6 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +15 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +14 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -1
- package/dist/types/components/Shared/devex/DebugListener/DebugTogglesAndSettings.d.ts +8 -0
- package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +2 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +12 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/getDefaultRegistrationNumberType.d.ts +4 -4
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/inferCompanyRegistrationNumberType.d.ts +3 -3
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +92 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +8 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +0 -483
- package/dist/types/components/Shared/fields/LegalCompanyNameField/LegalCompanyNameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/TaxIdNumberTypeSelector.d.ts +5 -5
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +8 -0
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +14 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → VatNumberField/VatNumberTypeSelector}/getDefaultVatNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/inferVatNumberType.d.ts +3 -0
- package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +10 -1
- package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +149 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +3 -3
- package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +2 -2
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +5 -0
- package/dist/types/context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
- package/dist/types/context/FormRouterContext/types.d.ts +1 -0
- package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +4 -0
- package/dist/types/context/SettingsContext/types.d.ts +2 -0
- package/dist/types/context/ToggleContext/ToggleContext.d.ts +2 -0
- package/dist/types/context/ToggleContext/ToggleContextProvider.d.ts +9 -0
- package/dist/types/context/{ExperimentContext → ToggleContext}/types.d.ts +42 -32
- package/dist/types/context/ToggleContext/useToggleContext.d.ts +1 -0
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -3
- package/dist/types/core/UIElement/UIElement.d.ts +3 -2
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/embeds/baseEmbedProps.d.ts +3 -3
- package/dist/types/hooks/useFormComposer.d.ts +1 -0
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
- package/dist/types/hooks/useTaskLandedEvent.d.ts +7 -0
- package/dist/types/language/types.d.ts +2 -9
- package/dist/types/language/utils.d.ts +2 -2
- package/dist/types/router/routeConfig.d.ts +1 -0
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
- package/dist/types/types/form-rules.d.ts +2 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/japanSupportUtils.d.ts +2 -2
- package/dist/{types-DhUlsEM8.js → types-C4u-zy-W.js} +2 -2
- package/dist/{types-_ugkpUNx.js → types-CTwBMnPB.js} +46 -37
- package/dist/{types-WIEVtlxf.js → types-Cop44iUw.js} +2 -2
- package/dist/{types-CQ2p58-6.js → types-Dv0COrvY.js} +3 -2
- package/dist/{types-B1cAeZ6z.js → types-QKgg5_IB.js} +2 -2
- package/dist/{unincorporated-partnership-D_Hvup6D.js → unincorporated-partnership-DCtqSVs0.js} +2 -2
- package/dist/{useAssociatedLegalEntity-xIsKLPgB.js → useAssociatedLegalEntity-COa3bZhe.js} +2 -2
- package/dist/{useBusinessDetailsData-DY3S_sFD.js → useBusinessDetailsData-DslnLoRz.js} +443 -397
- package/dist/{useCreateLegalEntity-nQnGzyxT.js → useCreateLegalEntity-CO7qV3Sc.js} +2 -2
- package/dist/{useForm-z8JOaHhs.js → useForm-F0hPmSqd.js} +3 -3
- package/dist/{useFormContext-RXQcBWa4.js → useFormContext-EeYo1zte.js} +17 -8
- package/dist/{useGlobalData-C7bnGF9w.js → useGlobalData-DKxTj6bo.js} +24 -15
- package/dist/{useMultiForm-B3aQutEh.js → useMultiForm-CR9pqYjq.js} +4 -4
- package/dist/{useOnboardingStatus-BPMSNGFq.js → useOnboardingStatus-D2I19RDh.js} +2 -2
- package/dist/{useScenarios-JLoF0vib.js → useScenarios-BvV1t76w.js} +2 -2
- package/dist/{useTermsOfServiceStatus-CT2uqj2U.js → useTermsOfServiceStatus-C0uqYCFG.js} +2 -2
- package/dist/{useToastContext-uaSXDTxK.js → useToastContext-Dl59lP3Q.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-B072VZ5R.js → useUnincorporatedPartnershipMembers-BRQxcrvc.js} +5 -5
- package/dist/{useUpdateBusinessLines-eQMrdhxL.js → useUpdateBusinessLines-FG7FE2l9.js} +6 -6
- package/dist/{useUpdateLegalEntity-D6zwQLGJ.js → useUpdateLegalEntity-Dr3e1mG2.js} +3 -3
- package/dist/{utils-DWi_0PJi.js → utils-2-VlpJvY.js} +2 -2
- package/dist/{utils-B0FTCznm.js → utils-Bmx7w6cI.js} +6 -6
- package/dist/{utils-BK1GU68X.js → utils-CCjjhUUz.js} +53 -6
- package/dist/{utils-s4hGO4Wy.js → utils-CWrDCmo5.js} +22 -2
- package/dist/{utils-tIVH2DiA.js → utils-DCXRR-sY.js} +1 -1
- package/dist/{validate-DUFJExL5.js → validate-B--uGfCw.js} +1 -1
- package/dist/{validate-BWtZkcVH.js → validate-DdW_lr56.js} +3 -3
- package/dist/{validationError-BJcF0hPm.js → validationError-DmyvOY60.js} +2 -2
- package/package.json +1 -5
- package/dist/RadioGroupCard-DSlb2FZF.js +0 -152
- package/dist/en-US--1W760fR.js +0 -13
- package/dist/en-US-CKLQU2sJ.js +0 -13
- package/dist/en-US-CozY33On.js +0 -13
- package/dist/en-US-DLY20x1O.js +0 -13
- package/dist/iframeWidget-Bt9LHVFD.js +0 -234
- package/dist/instant-verification-UrnuHTYn.js +0 -40
- package/dist/japanSupportUtils-BhpDeLrA.js +0 -16
- package/dist/manual-verification-BO8zgAYT.js +0 -41
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocument.d.ts +0 -5
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +0 -9
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +0 -6
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/BankVerificationWidget.d.ts +0 -3
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/iframeWidget.d.ts +0 -32
- package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
- package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +0 -5
- package/dist/types/components/Shared/devex/DebugListener/DebugExperimentsAndSettings.d.ts +0 -7
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +0 -20
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +0 -21
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +0 -3
- package/dist/types/context/ExperimentContext/ExperimentsContext.d.ts +0 -2
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +0 -8
- package/dist/types/context/ExperimentContext/useExperimentsContext.d.ts +0 -1
- package/dist/types/utils/bankVerification/dom.d.ts +0 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { type CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
|
+
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
3
|
+
import type { CompanyRegistrationNumberOption } from './types';
|
|
4
|
+
export declare const companyRegistrationNumberOptions: {
|
|
5
|
+
readonly AU: readonly [{
|
|
6
|
+
readonly id: "incorporatedAssociationRegistrationNumber";
|
|
7
|
+
readonly name: "incorporatedAssociationRegistrationNumber";
|
|
8
|
+
readonly applicableOnlyFor: readonly ["associationIncorporated"];
|
|
9
|
+
}, {
|
|
10
|
+
readonly id: "australianBusinessNumberAcn";
|
|
11
|
+
readonly name: "australianBusinessNumberAcn";
|
|
12
|
+
readonly applicableOnlyFor: readonly ["privateCompany", "listedPublicCompany", "unlistedPublicCompany", "unincorporatedPartnership", "partnershipIncorporated", "governmentalOrganization", "nonProfit", "soleProprietorship"];
|
|
13
|
+
}];
|
|
14
|
+
readonly AT: readonly [{
|
|
15
|
+
readonly id: "firmenbuchnummer";
|
|
16
|
+
readonly name: "firmenbuchnummer";
|
|
17
|
+
}, {
|
|
18
|
+
readonly id: "ZVR";
|
|
19
|
+
readonly name: "zentralesVereinsregisterId";
|
|
20
|
+
readonly applicableOnlyFor: readonly ["nonProfit", "associationIncorporated"];
|
|
21
|
+
}];
|
|
22
|
+
readonly HR: readonly [{
|
|
23
|
+
readonly id: "MBO";
|
|
24
|
+
readonly name: "MBO";
|
|
25
|
+
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
26
|
+
}, {
|
|
27
|
+
readonly id: "MBS";
|
|
28
|
+
readonly name: "MBS";
|
|
29
|
+
readonly applicableOnlyFor: readonly ["privateCompany", "listedPublicCompany", "unlistedPublicCompany", "unincorporatedPartnership", "partnershipIncorporated", "governmentalOrganization", "nonProfit"];
|
|
30
|
+
}];
|
|
31
|
+
readonly FR: readonly [{
|
|
32
|
+
readonly id: "SIRET";
|
|
33
|
+
readonly name: "siret";
|
|
34
|
+
}, {
|
|
35
|
+
readonly id: "RNA";
|
|
36
|
+
readonly name: "rnaNumber";
|
|
37
|
+
readonly applicableOnlyFor: readonly ["nonProfit"];
|
|
38
|
+
}];
|
|
39
|
+
readonly HU: readonly [{
|
|
40
|
+
readonly id: "nyilvantartasiSzam";
|
|
41
|
+
readonly name: "huRegistrationNumberForSoleProp";
|
|
42
|
+
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
43
|
+
}];
|
|
44
|
+
readonly IT: readonly [{
|
|
45
|
+
readonly id: "partitaIVA";
|
|
46
|
+
readonly name: "codiceFiscalePartitaIVA";
|
|
47
|
+
}, {
|
|
48
|
+
readonly id: "CCIAA";
|
|
49
|
+
readonly name: "CCIAA";
|
|
50
|
+
}];
|
|
51
|
+
readonly MC: readonly [{
|
|
52
|
+
readonly id: "mcRegistrationNumberSoleProp";
|
|
53
|
+
readonly name: "mcRegistrationNumberSoleProp";
|
|
54
|
+
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
55
|
+
}, {
|
|
56
|
+
readonly id: "mcRegistrationNumber";
|
|
57
|
+
readonly name: "mcRegistrationNumber";
|
|
58
|
+
readonly applicableOnlyFor: readonly ["privateCompany", "governmentalOrganization", "associationIncorporated", "partnershipIncorporated", "nonProfit", "unincorporatedPartnership", "unlistedPublicCompany"];
|
|
59
|
+
}];
|
|
60
|
+
readonly NZ: readonly [{
|
|
61
|
+
readonly id: "NZBN";
|
|
62
|
+
readonly name: "NZBN";
|
|
63
|
+
}, {
|
|
64
|
+
readonly id: "companyNumberNZ";
|
|
65
|
+
readonly name: "companyNumberNZ";
|
|
66
|
+
readonly applicableOnlyFor: readonly ["privateCompany", "listedPublicCompany", "unlistedPublicCompany"];
|
|
67
|
+
}];
|
|
68
|
+
readonly RO: readonly [{
|
|
69
|
+
readonly id: "roRegNumberNewFormat";
|
|
70
|
+
readonly name: "roRegNumberNewFormat_label";
|
|
71
|
+
}, {
|
|
72
|
+
readonly id: "roRegNumberOldFormat";
|
|
73
|
+
readonly name: "roRegNumberOldFormat_label";
|
|
74
|
+
}];
|
|
75
|
+
readonly PL: readonly [{
|
|
76
|
+
readonly id: "regon";
|
|
77
|
+
readonly name: "regon";
|
|
78
|
+
}, {
|
|
79
|
+
readonly id: "krsNumber";
|
|
80
|
+
readonly name: "krsNumber";
|
|
81
|
+
}];
|
|
82
|
+
readonly GB: readonly [{
|
|
83
|
+
readonly id: "charity";
|
|
84
|
+
readonly name: "charityNumber";
|
|
85
|
+
readonly applicableOnlyFor: readonly ["nonProfit"];
|
|
86
|
+
}, {
|
|
87
|
+
readonly id: "companyNumber";
|
|
88
|
+
readonly name: "companyNumber";
|
|
89
|
+
readonly applicableOnlyFor: readonly ["privateCompany", "governmentalOrganization", "associationIncorporated", "partnershipIncorporated", "nonProfit", "unincorporatedPartnership", "unlistedPublicCompany", "listedPublicCompany"];
|
|
90
|
+
}];
|
|
91
|
+
};
|
|
92
|
+
export declare const getCompanyRegistrationNumberOptions: (country: CountryCode, companyType: CompanyTypesValue | "trust" | undefined) => readonly CompanyRegistrationNumberOption[] | undefined;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
2
|
import type { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
|
|
3
3
|
import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
|
|
4
|
+
import type { NsTranslationKey } from '../../../../../types';
|
|
4
5
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
6
|
import type { StateCodeUS } from '../../../../types/datasets/state-code';
|
|
6
|
-
import type {
|
|
7
|
+
import type { companyRegistrationNumberOptions } from './registrationNumberTypes';
|
|
8
|
+
export interface CompanyRegistrationNumberOption {
|
|
9
|
+
id: string;
|
|
10
|
+
name: NsTranslationKey<'common'>;
|
|
11
|
+
applicableOnlyFor?: ReadonlyArray<CompanyTypesValue | 'trust'>;
|
|
12
|
+
}
|
|
13
|
+
export type CompanyRegistrationNumberType = (typeof companyRegistrationNumberOptions)[keyof typeof companyRegistrationNumberOptions][number]['id'];
|
|
7
14
|
export interface BusinessRegistrationNumberFieldSchema {
|
|
8
15
|
registrationNumber?: string;
|
|
9
16
|
registrationNumberType?: CompanyRegistrationNumberType;
|
|
@@ -1,116 +1,8 @@
|
|
|
1
|
-
import { type CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
|
-
import { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
|
|
3
1
|
import type { NsTranslationKey } from '../../../../../types';
|
|
4
|
-
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
|
-
export interface CompanyRegistrationNumberOption {
|
|
6
|
-
id: string;
|
|
7
|
-
name: NsTranslationKey<'common'>;
|
|
8
|
-
applicableOnlyFor?: ReadonlyArray<CompanyTypesValue | 'trust'>;
|
|
9
|
-
}
|
|
10
2
|
export interface IndividualIdNumberOption {
|
|
11
3
|
id: string;
|
|
12
4
|
name: NsTranslationKey<'common'>;
|
|
13
5
|
}
|
|
14
|
-
export interface TaxIdNumberOption {
|
|
15
|
-
id: string;
|
|
16
|
-
name: NsTranslationKey<'common'>;
|
|
17
|
-
applicableOnlyFor?: ReadonlyArray<CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL>;
|
|
18
|
-
}
|
|
19
|
-
export interface VatNumberOption {
|
|
20
|
-
id: string;
|
|
21
|
-
name: NsTranslationKey<'common'>;
|
|
22
|
-
applicableOnlyFor?: ReadonlyArray<CompanyTypesValue | typeof LegalEntityTypes.TRUST>;
|
|
23
|
-
}
|
|
24
|
-
export declare const companyRegistrationNumberOptions: {
|
|
25
|
-
readonly AU: readonly [{
|
|
26
|
-
readonly id: "incorporatedAssociationRegistrationNumber";
|
|
27
|
-
readonly name: "incorporatedAssociationRegistrationNumber";
|
|
28
|
-
readonly applicableOnlyFor: readonly ["associationIncorporated"];
|
|
29
|
-
}, {
|
|
30
|
-
readonly id: "australianBusinessNumberAcn";
|
|
31
|
-
readonly name: "australianBusinessNumberAcn";
|
|
32
|
-
readonly applicableOnlyFor: readonly ["privateCompany", "listedPublicCompany", "unlistedPublicCompany", "unincorporatedPartnership", "partnershipIncorporated", "governmentalOrganization", "nonProfit", "soleProprietorship"];
|
|
33
|
-
}];
|
|
34
|
-
readonly AT: readonly [{
|
|
35
|
-
readonly id: "firmenbuchnummer";
|
|
36
|
-
readonly name: "firmenbuchnummer";
|
|
37
|
-
}, {
|
|
38
|
-
readonly id: "ZVR";
|
|
39
|
-
readonly name: "zentralesVereinsregisterId";
|
|
40
|
-
readonly applicableOnlyFor: readonly ["nonProfit", "associationIncorporated"];
|
|
41
|
-
}];
|
|
42
|
-
readonly HR: readonly [{
|
|
43
|
-
readonly id: "MBO";
|
|
44
|
-
readonly name: "MBO";
|
|
45
|
-
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
46
|
-
}, {
|
|
47
|
-
readonly id: "MBS";
|
|
48
|
-
readonly name: "MBS";
|
|
49
|
-
readonly applicableOnlyFor: readonly ["privateCompany", "listedPublicCompany", "unlistedPublicCompany", "unincorporatedPartnership", "partnershipIncorporated", "governmentalOrganization", "nonProfit"];
|
|
50
|
-
}];
|
|
51
|
-
readonly FR: readonly [{
|
|
52
|
-
readonly id: "SIRET";
|
|
53
|
-
readonly name: "siret";
|
|
54
|
-
}, {
|
|
55
|
-
readonly id: "RNA";
|
|
56
|
-
readonly name: "rnaNumber";
|
|
57
|
-
readonly applicableOnlyFor: readonly ["nonProfit"];
|
|
58
|
-
}];
|
|
59
|
-
readonly HU: readonly [{
|
|
60
|
-
readonly id: "nyilvantartasiSzam";
|
|
61
|
-
readonly name: "huRegistrationNumberForSoleProp";
|
|
62
|
-
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
63
|
-
}];
|
|
64
|
-
readonly IT: readonly [{
|
|
65
|
-
readonly id: "partitaIVA";
|
|
66
|
-
readonly name: "codiceFiscalePartitaIVA";
|
|
67
|
-
}, {
|
|
68
|
-
readonly id: "CCIAA";
|
|
69
|
-
readonly name: "CCIAA";
|
|
70
|
-
}];
|
|
71
|
-
readonly MC: readonly [{
|
|
72
|
-
readonly id: "mcRegistrationNumberSoleProp";
|
|
73
|
-
readonly name: "mcRegistrationNumberSoleProp";
|
|
74
|
-
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
75
|
-
}, {
|
|
76
|
-
readonly id: "mcRegistrationNumber";
|
|
77
|
-
readonly name: "mcRegistrationNumber";
|
|
78
|
-
readonly applicableOnlyFor: readonly ["privateCompany", "governmentalOrganization", "associationIncorporated", "partnershipIncorporated", "nonProfit", "unincorporatedPartnership", "unlistedPublicCompany"];
|
|
79
|
-
}];
|
|
80
|
-
readonly NZ: readonly [{
|
|
81
|
-
readonly id: "NZBN";
|
|
82
|
-
readonly name: "NZBN";
|
|
83
|
-
}, {
|
|
84
|
-
readonly id: "companyNumberNZ";
|
|
85
|
-
readonly name: "companyNumberNZ";
|
|
86
|
-
readonly applicableOnlyFor: readonly ["privateCompany", "listedPublicCompany", "unlistedPublicCompany"];
|
|
87
|
-
}];
|
|
88
|
-
readonly RO: readonly [{
|
|
89
|
-
readonly id: "roRegNumberNewFormat";
|
|
90
|
-
readonly name: "roRegNumberNewFormat_label";
|
|
91
|
-
}, {
|
|
92
|
-
readonly id: "roRegNumberOldFormat";
|
|
93
|
-
readonly name: "roRegNumberOldFormat_label";
|
|
94
|
-
}];
|
|
95
|
-
readonly PL: readonly [{
|
|
96
|
-
readonly id: "regon";
|
|
97
|
-
readonly name: "regon";
|
|
98
|
-
}, {
|
|
99
|
-
readonly id: "krsNumber";
|
|
100
|
-
readonly name: "krsNumber";
|
|
101
|
-
}];
|
|
102
|
-
readonly GB: readonly [{
|
|
103
|
-
readonly id: "charity";
|
|
104
|
-
readonly name: "charityNumber";
|
|
105
|
-
readonly applicableOnlyFor: readonly ["nonProfit"];
|
|
106
|
-
}, {
|
|
107
|
-
readonly id: "companyNumber";
|
|
108
|
-
readonly name: "companyNumber";
|
|
109
|
-
readonly applicableOnlyFor: readonly ["privateCompany", "governmentalOrganization", "associationIncorporated", "partnershipIncorporated", "nonProfit", "unincorporatedPartnership", "unlistedPublicCompany", "listedPublicCompany"];
|
|
110
|
-
}];
|
|
111
|
-
};
|
|
112
|
-
export declare const getCompanyRegistrationNumberOptions: (country: CountryCode, companyType: CompanyTypesValue | "trust" | undefined) => readonly CompanyRegistrationNumberOption[] | undefined;
|
|
113
|
-
export type CompanyRegistrationNumberType = (typeof companyRegistrationNumberOptions)[keyof typeof companyRegistrationNumberOptions][number]['id'];
|
|
114
6
|
export declare const individualIdNumberOptions: {
|
|
115
7
|
readonly ES: readonly [{
|
|
116
8
|
readonly id: "dni";
|
|
@@ -147,378 +39,3 @@ export declare const additionallIdNumberOptions: {
|
|
|
147
39
|
}];
|
|
148
40
|
};
|
|
149
41
|
export type IndividualIdNumberType = (typeof individualIdNumberOptions)[keyof typeof individualIdNumberOptions][number]['id'] | (typeof additionallIdNumberOptions)[keyof typeof additionallIdNumberOptions][number]['id'] | 'ssn' | 'ssnLastFour' | 'nationalIdNumber';
|
|
150
|
-
export declare const taxIdNumberOptions: {
|
|
151
|
-
readonly AU: readonly [{
|
|
152
|
-
readonly id: "ABN";
|
|
153
|
-
readonly name: "australianBusinessNumberAbn";
|
|
154
|
-
}];
|
|
155
|
-
readonly AT: readonly [{
|
|
156
|
-
readonly id: "STEUERNUMMER";
|
|
157
|
-
readonly name: "taxInformationNumber__AT";
|
|
158
|
-
}];
|
|
159
|
-
readonly BE: readonly [{
|
|
160
|
-
readonly id: "BUSINESS_NUMMER";
|
|
161
|
-
readonly name: "businessNumber";
|
|
162
|
-
readonly applicableOnlyFor: readonly ["soleProprietorship", "privateCompany", "governmentalOrganization", "associationIncorporated", "partnershipIncorporated", "nonProfit", "unincorporatedPartnership", "unlistedPublicCompany"];
|
|
163
|
-
}, {
|
|
164
|
-
readonly id: "NUMERO_NATIONAL";
|
|
165
|
-
readonly name: "taxInformationNumber__BE_Individual";
|
|
166
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
167
|
-
}];
|
|
168
|
-
readonly BR: readonly [{
|
|
169
|
-
readonly id: "CNPJ";
|
|
170
|
-
readonly name: "CNPJ";
|
|
171
|
-
}];
|
|
172
|
-
readonly CA: readonly [{
|
|
173
|
-
readonly id: "BUSINESS_NUMBER";
|
|
174
|
-
readonly name: "businessNumber";
|
|
175
|
-
}];
|
|
176
|
-
readonly HR: readonly [{
|
|
177
|
-
readonly id: "OIB";
|
|
178
|
-
readonly name: "taxInformationNumber__HR";
|
|
179
|
-
}];
|
|
180
|
-
readonly CY: readonly [{
|
|
181
|
-
readonly id: "TIC";
|
|
182
|
-
readonly name: "taxInformationNumber__CY";
|
|
183
|
-
}];
|
|
184
|
-
readonly EE: readonly [{
|
|
185
|
-
readonly id: "ISIKUKOOD";
|
|
186
|
-
readonly name: "taxInformationNumber__ET_Individual";
|
|
187
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
188
|
-
}, {
|
|
189
|
-
readonly id: "registrikood";
|
|
190
|
-
readonly name: "registrikood";
|
|
191
|
-
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
192
|
-
}];
|
|
193
|
-
readonly FI: readonly [{
|
|
194
|
-
readonly id: "HENKILOTUNNUS";
|
|
195
|
-
readonly name: "taxInformationNumber__FI";
|
|
196
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
197
|
-
}, {
|
|
198
|
-
readonly id: "YTUNNUS";
|
|
199
|
-
readonly name: "YTunnus";
|
|
200
|
-
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
201
|
-
}];
|
|
202
|
-
readonly FR: readonly [{
|
|
203
|
-
readonly id: "SIRET";
|
|
204
|
-
readonly name: "siret";
|
|
205
|
-
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
206
|
-
}];
|
|
207
|
-
readonly DE: readonly [{
|
|
208
|
-
readonly id: "STEUERNUMMER";
|
|
209
|
-
readonly name: "taxInformationNumber__DE";
|
|
210
|
-
readonly applicableOnlyFor: readonly ["soleProprietorship", "privateCompany", "governmentalOrganization", "associationIncorporated", "partnershipIncorporated", "nonProfit", "unincorporatedPartnership", "unlistedPublicCompany"];
|
|
211
|
-
}, {
|
|
212
|
-
readonly id: "IDNR";
|
|
213
|
-
readonly name: "taxInformationNumber__DE_Individual";
|
|
214
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
215
|
-
}];
|
|
216
|
-
readonly GI: readonly [{
|
|
217
|
-
readonly id: "GI_TAXPAYER_REFERENCE_NUMBER";
|
|
218
|
-
readonly name: "taxpayerReferenceNumber";
|
|
219
|
-
}];
|
|
220
|
-
readonly GR: readonly [{
|
|
221
|
-
readonly id: "AFM";
|
|
222
|
-
readonly name: "taxInformationNumber__GR";
|
|
223
|
-
}];
|
|
224
|
-
readonly GG: readonly [{
|
|
225
|
-
readonly id: "GG_REGISTRATION_NUMBER";
|
|
226
|
-
readonly name: "taxInformationNumber";
|
|
227
|
-
}, {
|
|
228
|
-
readonly id: "TIN_GG";
|
|
229
|
-
readonly name: "nationalInsuranceNumber";
|
|
230
|
-
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
231
|
-
}];
|
|
232
|
-
readonly HK: readonly [{
|
|
233
|
-
readonly id: "BRN";
|
|
234
|
-
readonly name: "taxInformationNumber__HK";
|
|
235
|
-
}];
|
|
236
|
-
readonly IE: readonly [{
|
|
237
|
-
readonly id: "TRN";
|
|
238
|
-
readonly name: "trnNumber";
|
|
239
|
-
readonly applicableOnlyFor: readonly ["privateCompany", "unincorporatedPartnership"];
|
|
240
|
-
}, {
|
|
241
|
-
readonly id: "PERSONAL_PUBLIC_SERVICE_NUMBER";
|
|
242
|
-
readonly name: "taxInformationNumber__IE_Individual";
|
|
243
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
244
|
-
}];
|
|
245
|
-
readonly IM: readonly [{
|
|
246
|
-
readonly id: "IM_TAX_REFERENCE_NUMBER";
|
|
247
|
-
readonly name: "taxReferenceNumber";
|
|
248
|
-
}];
|
|
249
|
-
readonly IT: readonly [{
|
|
250
|
-
readonly id: "CODICE_FISCALE";
|
|
251
|
-
readonly name: "taxInformationNumber__IT";
|
|
252
|
-
}];
|
|
253
|
-
readonly JP: readonly [{
|
|
254
|
-
readonly id: "CORPORATE_NUMBER";
|
|
255
|
-
readonly name: "taxInformationNumber";
|
|
256
|
-
}];
|
|
257
|
-
readonly JE: readonly [{
|
|
258
|
-
readonly id: "TIN_JE";
|
|
259
|
-
readonly name: "taxIdentificationNumber";
|
|
260
|
-
}, {
|
|
261
|
-
readonly id: "SSN";
|
|
262
|
-
readonly name: "socialSecurityNumber";
|
|
263
|
-
readonly applicableOnlyFor: readonly ["soleProprietorship"];
|
|
264
|
-
}];
|
|
265
|
-
readonly LV: readonly [{
|
|
266
|
-
readonly id: "PERSONAS_KODS";
|
|
267
|
-
readonly name: "taxInformationNumber__LV";
|
|
268
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
269
|
-
}, {
|
|
270
|
-
readonly id: "REGISTRACIJAS_NUMURS";
|
|
271
|
-
readonly name: "lvRegistrationNumber";
|
|
272
|
-
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
273
|
-
}];
|
|
274
|
-
readonly LT: readonly [{
|
|
275
|
-
readonly id: "ASMENS_KODAS";
|
|
276
|
-
readonly name: "taxInformationNumber__LT";
|
|
277
|
-
}];
|
|
278
|
-
readonly LU: readonly [{
|
|
279
|
-
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
280
|
-
readonly name: "taxInformationNumber__LU_Individual";
|
|
281
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
282
|
-
}, {
|
|
283
|
-
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
284
|
-
readonly name: "taxInformationNumber__LU_Org";
|
|
285
|
-
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
286
|
-
}];
|
|
287
|
-
readonly MT: readonly [{
|
|
288
|
-
readonly id: "NRU";
|
|
289
|
-
readonly name: "taxInformationNumber__MT_NRU_Individual";
|
|
290
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
291
|
-
}, {
|
|
292
|
-
readonly id: "IDENTITY_CARD_NUMBER";
|
|
293
|
-
readonly name: "taxInformationNumber__MT_Individual";
|
|
294
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
295
|
-
}, {
|
|
296
|
-
readonly id: "INCOME_TAX_REGISTRATION_NUMBER";
|
|
297
|
-
readonly name: "taxInformationNumber__MT_Org";
|
|
298
|
-
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
299
|
-
}];
|
|
300
|
-
readonly NL: readonly [{
|
|
301
|
-
readonly id: "RSIN";
|
|
302
|
-
readonly name: "rsinNumber";
|
|
303
|
-
readonly applicableOnlyFor: readonly ["privateCompany", "governmentalOrganization", "associationIncorporated", "partnershipIncorporated", "nonProfit", "unincorporatedPartnership", "unlistedPublicCompany"];
|
|
304
|
-
}, {
|
|
305
|
-
readonly id: "BSN";
|
|
306
|
-
readonly name: "bsnNumber";
|
|
307
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
308
|
-
}];
|
|
309
|
-
readonly NZ: readonly [{
|
|
310
|
-
readonly id: "IRD";
|
|
311
|
-
readonly name: "irdNumber";
|
|
312
|
-
}];
|
|
313
|
-
readonly PT: readonly [{
|
|
314
|
-
readonly id: "NUMERO_ID_CIVIL";
|
|
315
|
-
readonly name: "taxInformationNumber__PT";
|
|
316
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
317
|
-
}, {
|
|
318
|
-
readonly id: "NIPC";
|
|
319
|
-
readonly name: "NIPC";
|
|
320
|
-
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
321
|
-
}];
|
|
322
|
-
readonly PR: readonly [{
|
|
323
|
-
readonly id: "EIN";
|
|
324
|
-
readonly name: "ein";
|
|
325
|
-
}];
|
|
326
|
-
readonly SG: readonly [{
|
|
327
|
-
readonly id: "GST";
|
|
328
|
-
readonly name: "gst";
|
|
329
|
-
}, {
|
|
330
|
-
readonly id: "UEN";
|
|
331
|
-
readonly name: "uen";
|
|
332
|
-
}];
|
|
333
|
-
readonly SK: readonly [{
|
|
334
|
-
readonly id: "RODNE_CISLO";
|
|
335
|
-
readonly name: "taxInformationNumber__SK_Individual";
|
|
336
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
337
|
-
}, {
|
|
338
|
-
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
339
|
-
readonly name: "taxInformationNumber__SK_Org";
|
|
340
|
-
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
341
|
-
}];
|
|
342
|
-
readonly SI: readonly [{
|
|
343
|
-
readonly id: "SI_TAX_NUMBER";
|
|
344
|
-
readonly name: "taxInformationNumber__SI_Individual";
|
|
345
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
346
|
-
}, {
|
|
347
|
-
readonly id: "NATIONAL_IDENTIFICATION_NUMBER";
|
|
348
|
-
readonly name: "taxInformationNumber__SI_Org";
|
|
349
|
-
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
350
|
-
}];
|
|
351
|
-
readonly ES: readonly [{
|
|
352
|
-
readonly id: "dni";
|
|
353
|
-
readonly name: "dni";
|
|
354
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
355
|
-
}, {
|
|
356
|
-
readonly id: "nie";
|
|
357
|
-
readonly name: "nie";
|
|
358
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
359
|
-
}, {
|
|
360
|
-
readonly id: "NIF";
|
|
361
|
-
readonly name: "NIF";
|
|
362
|
-
readonly applicableOnlyFor: readonly ["privateCompany"];
|
|
363
|
-
}];
|
|
364
|
-
readonly GB: readonly [{
|
|
365
|
-
readonly id: "UTR";
|
|
366
|
-
readonly name: "utr";
|
|
367
|
-
}, {
|
|
368
|
-
readonly id: "NINO";
|
|
369
|
-
readonly name: "nationalInsuranceNumber";
|
|
370
|
-
readonly applicableOnlyFor: readonly ["individual"];
|
|
371
|
-
}];
|
|
372
|
-
readonly US: readonly [{
|
|
373
|
-
readonly id: "EIN";
|
|
374
|
-
readonly name: "ein";
|
|
375
|
-
}];
|
|
376
|
-
};
|
|
377
|
-
export declare const vatNumberOptions: {
|
|
378
|
-
readonly AT: readonly [{
|
|
379
|
-
readonly id: "UST-ID";
|
|
380
|
-
readonly name: "UST-ID";
|
|
381
|
-
}];
|
|
382
|
-
readonly BE: readonly [{
|
|
383
|
-
readonly id: "euVatNumber";
|
|
384
|
-
readonly name: "euVatNumber";
|
|
385
|
-
}];
|
|
386
|
-
readonly BG: readonly [{
|
|
387
|
-
readonly id: "identifikacionenNomerDDS";
|
|
388
|
-
readonly name: "identifikacionenNomerDDS";
|
|
389
|
-
}];
|
|
390
|
-
readonly HR: readonly [{
|
|
391
|
-
readonly id: "PDVIdBrojOIB";
|
|
392
|
-
readonly name: "PDVIdBrojOIB";
|
|
393
|
-
}];
|
|
394
|
-
readonly CY: readonly [{
|
|
395
|
-
readonly id: "arithmosEngraphes";
|
|
396
|
-
readonly name: "arithmosEngraphes";
|
|
397
|
-
}];
|
|
398
|
-
readonly CZ: readonly [{
|
|
399
|
-
readonly id: "DIC";
|
|
400
|
-
readonly name: "DIC";
|
|
401
|
-
}];
|
|
402
|
-
readonly DK: readonly [{
|
|
403
|
-
readonly id: "momsregistreringsnummerCVR";
|
|
404
|
-
readonly name: "momsregistreringsnummerCVR";
|
|
405
|
-
}, {
|
|
406
|
-
readonly id: "stamregister";
|
|
407
|
-
readonly name: "stamregister";
|
|
408
|
-
}];
|
|
409
|
-
readonly EE: readonly [{
|
|
410
|
-
readonly id: "kaibemaksukohustuslaseNumber";
|
|
411
|
-
readonly name: "kaibemaksukohustuslaseNumber";
|
|
412
|
-
}];
|
|
413
|
-
readonly FI: readonly [{
|
|
414
|
-
readonly id: "arvonlisaveronumeroMervardesskattenummer";
|
|
415
|
-
readonly name: "arvonlisaveronumeroMervardesskattenummer";
|
|
416
|
-
}];
|
|
417
|
-
readonly FR: readonly [{
|
|
418
|
-
readonly id: "numeroDIdentificationALATaxe";
|
|
419
|
-
readonly name: "numeroDIdentificationALATaxe";
|
|
420
|
-
}, {
|
|
421
|
-
readonly id: "NumeroDeTVA";
|
|
422
|
-
readonly name: "NumeroDeTVA";
|
|
423
|
-
}];
|
|
424
|
-
readonly DE: readonly [{
|
|
425
|
-
readonly id: "USt-IdNr";
|
|
426
|
-
readonly name: "USt-IdNr";
|
|
427
|
-
}];
|
|
428
|
-
readonly GR: readonly [{
|
|
429
|
-
readonly id: "grTaxId";
|
|
430
|
-
readonly name: "grTaxId";
|
|
431
|
-
}];
|
|
432
|
-
readonly HU: readonly [{
|
|
433
|
-
readonly id: "huTaxId";
|
|
434
|
-
readonly name: "huTaxId";
|
|
435
|
-
}];
|
|
436
|
-
readonly IE: readonly [{
|
|
437
|
-
readonly id: "vatNumber";
|
|
438
|
-
readonly name: "vatNumber";
|
|
439
|
-
}];
|
|
440
|
-
readonly IT: readonly [{
|
|
441
|
-
readonly id: "partitaIVA";
|
|
442
|
-
readonly name: "partitaIVA";
|
|
443
|
-
}];
|
|
444
|
-
readonly LV: readonly [{
|
|
445
|
-
readonly id: "lvTaxId";
|
|
446
|
-
readonly name: "lvTaxId";
|
|
447
|
-
}];
|
|
448
|
-
readonly LI: readonly [{
|
|
449
|
-
readonly id: "vatRegistrationNumber";
|
|
450
|
-
readonly name: "vatRegistrationNumber";
|
|
451
|
-
}];
|
|
452
|
-
readonly LT: readonly [{
|
|
453
|
-
readonly id: "PVMmoketojoKodas";
|
|
454
|
-
readonly name: "PVMmoketojoKodas";
|
|
455
|
-
}];
|
|
456
|
-
readonly LU: readonly [{
|
|
457
|
-
readonly id: "numeroDIdentificationALATaxe";
|
|
458
|
-
readonly name: "numeroDIdentificationALATaxe";
|
|
459
|
-
}];
|
|
460
|
-
readonly MY: readonly [{
|
|
461
|
-
readonly id: "SST";
|
|
462
|
-
readonly name: "SST";
|
|
463
|
-
}];
|
|
464
|
-
readonly MT: readonly [{
|
|
465
|
-
readonly id: "vatNumber";
|
|
466
|
-
readonly name: "vatNumber";
|
|
467
|
-
}];
|
|
468
|
-
readonly MC: readonly [{
|
|
469
|
-
readonly id: "numeroDIdentificationALATaxe";
|
|
470
|
-
readonly name: "numeroDIdentificationALATaxe";
|
|
471
|
-
}];
|
|
472
|
-
readonly NL: readonly [{
|
|
473
|
-
readonly id: "btwNummer";
|
|
474
|
-
readonly name: "btwNummer";
|
|
475
|
-
}];
|
|
476
|
-
readonly NO: readonly [{
|
|
477
|
-
readonly id: "mvanummer";
|
|
478
|
-
readonly name: "mvanummer";
|
|
479
|
-
}];
|
|
480
|
-
readonly PL: readonly [{
|
|
481
|
-
readonly id: "NIP";
|
|
482
|
-
readonly name: "NIP";
|
|
483
|
-
}];
|
|
484
|
-
readonly PT: readonly [{
|
|
485
|
-
readonly id: "numerodeIVA";
|
|
486
|
-
readonly name: "numerodeIVA";
|
|
487
|
-
}];
|
|
488
|
-
readonly RO: readonly [{
|
|
489
|
-
readonly id: "codulDeIdentificareFiscala";
|
|
490
|
-
readonly name: "codulDeIdentificareFiscala";
|
|
491
|
-
}];
|
|
492
|
-
readonly SK: readonly [{
|
|
493
|
-
readonly id: "skTaxId";
|
|
494
|
-
readonly name: "skTaxId";
|
|
495
|
-
}];
|
|
496
|
-
readonly SI: readonly [{
|
|
497
|
-
readonly id: "siTaxId";
|
|
498
|
-
readonly name: "siTaxId";
|
|
499
|
-
}];
|
|
500
|
-
readonly ES: readonly [{
|
|
501
|
-
readonly id: "NIFdeIVA";
|
|
502
|
-
readonly name: "NIFdeIVA";
|
|
503
|
-
}];
|
|
504
|
-
readonly SE: readonly [{
|
|
505
|
-
readonly id: "vatNummerMomsregistreringsnummerOrMomsnummer";
|
|
506
|
-
readonly name: "vatNummerMomsregistreringsnummerOrMomsnummer";
|
|
507
|
-
}];
|
|
508
|
-
readonly CH: readonly [{
|
|
509
|
-
readonly id: "Mehrwertsteuernummer";
|
|
510
|
-
readonly name: "Mehrwertsteuernummer";
|
|
511
|
-
}];
|
|
512
|
-
readonly AE: readonly [{
|
|
513
|
-
readonly id: "vatRegistrationNumber";
|
|
514
|
-
readonly name: "vatRegistrationNumber";
|
|
515
|
-
}];
|
|
516
|
-
readonly GB: readonly [{
|
|
517
|
-
readonly id: "vatRegistrationNumber";
|
|
518
|
-
readonly name: "vatRegistrationNumber";
|
|
519
|
-
}];
|
|
520
|
-
};
|
|
521
|
-
export declare const getTaxIdNumberOptions: (country: CountryCode, companyType: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL | undefined) => readonly TaxIdNumberOption[] | undefined;
|
|
522
|
-
export declare const getVatNumberOptions: (country: CountryCode, companyType: CompanyTypesValue | typeof LegalEntityTypes.TRUST | undefined) => readonly VatNumberOption[] | undefined;
|
|
523
|
-
export type TaxIdNumberType = (typeof taxIdNumberOptions)[keyof typeof taxIdNumberOptions][number]['id'];
|
|
524
|
-
export type VatNumberType = (typeof vatNumberOptions)[keyof typeof vatNumberOptions][number]['id'];
|
package/dist/types/components/Shared/fields/LegalCompanyNameField/LegalCompanyNameField.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LegalCompanyNameFieldProps, LegalCompanyNameFieldSchema } from './types';
|
|
2
2
|
export declare const LEGAL_COMPANY_NAME_FIELD: Array<keyof LegalCompanyNameFieldSchema>;
|
|
3
|
-
export declare function LegalCompanyNameField({ data, valid, errors, labels,
|
|
3
|
+
export declare function LegalCompanyNameField({ data, valid, errors, labels, guidance, readonly, handleChangeFor, }: LegalCompanyNameFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -10,7 +10,7 @@ interface HelperTextParams {
|
|
|
10
10
|
country: CountryCode;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* Returns the
|
|
13
|
+
* Returns the guidance text for the legal company name field based on country.
|
|
14
14
|
*/
|
|
15
|
-
export declare const
|
|
15
|
+
export declare const getLegalCompanyNameGuidanceText: (t: TFunction<"business" | "trust">, { country }: HelperTextParams) => string;
|
|
16
16
|
export {};
|
|
@@ -3,5 +3,5 @@ export interface LegalCompanyNameFieldSchema {
|
|
|
3
3
|
legalCompanyName?: string | undefined;
|
|
4
4
|
}
|
|
5
5
|
export type LegalCompanyNameFieldProps = Pick<BaseFormFieldProps<LegalCompanyNameFieldSchema>, 'data' | 'valid' | 'errors' | 'labels' | 'readonly' | 'handleChangeFor'> & {
|
|
6
|
-
|
|
6
|
+
guidance?: string;
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FeatureName } from '../../../../context/ToggleContext/types';
|
|
2
2
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
3
3
|
import type { ValidatorRules } from '../../../../utils/validation/types';
|
|
4
4
|
import type { JaHaniNameSchema, JaKanaNameSchema } from '../../../Individual/fields/NameFields/types';
|
|
5
|
-
export declare const localizedNameValidationRulesV4: (
|
|
5
|
+
export declare const localizedNameValidationRulesV4: (isFeatureEnabled: ((feature: FeatureName) => boolean) | undefined, country: CountryCode) => ValidatorRules<JaHaniNameSchema & JaKanaNameSchema>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { PhoneFieldProps, PhoneFieldSchema } from './types';
|
|
2
2
|
export declare const PHONE_FIELD: Array<keyof PhoneFieldSchema>;
|
|
3
|
-
export declare function PhoneField({ country, name, data, valid, errors, labels, mask, readonly, optional, placeholder, handleChangeFor, }: PhoneFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function PhoneField({ country, name, data, valid, errors, labels, mask, readonly, optional, placeholder, helper, helperPosition, handleChangeFor, }: PhoneFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,6 @@ export interface PhoneFieldSchema {
|
|
|
7
7
|
export interface PhoneFieldProps extends Pick<BaseFormFieldProps<PhoneFieldSchema>, 'name' | 'data' | 'valid' | 'errors' | 'labels' | 'mask' | 'readonly' | 'optional' | 'handleChangeFor'> {
|
|
8
8
|
country: CountryCode;
|
|
9
9
|
placeholder?: string;
|
|
10
|
+
helper?: string;
|
|
11
|
+
helperPosition?: 'above' | 'below';
|
|
10
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { CompanyTypesValue } from '
|
|
2
|
-
import type { LegalEntityTypes } from '
|
|
3
|
-
import type { Translatable } from '
|
|
4
|
-
import type { CountryCode } from '
|
|
5
|
-
import type { TaxIdNumberType } from '
|
|
1
|
+
import type { CompanyTypesValue } from '../../../../../core/models/api/company-types-value';
|
|
2
|
+
import type { LegalEntityTypes } from '../../../../../core/models/api/legal-entity-type';
|
|
3
|
+
import type { Translatable } from '../../../../../../types';
|
|
4
|
+
import type { CountryCode } from '../../../../../types/datasets/country-code';
|
|
5
|
+
import type { TaxIdNumberType } from '../types';
|
|
6
6
|
interface TaxIdNumberTypeSelectorProps {
|
|
7
7
|
country: CountryCode;
|
|
8
8
|
companyType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL;
|