@adyen/kyc-components 3.38.1 → 3.39.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/dist/es/adyen-kyc-components.es.js +4679 -1172
- package/dist/es/{bg-BG-DSGcxUqd.js → bg-BG-CLc3Itip.js} +0 -97
- package/dist/es/{cs-CZ-DAS2jbyW.js → cs-CZ-egy1O9QR.js} +0 -97
- package/dist/es/{da-DK-CH9-Y2_h.js → da-DK-Dv9rPHto.js} +0 -97
- package/dist/es/{de-DE-Cvre4fQ7.js → de-DE-Qp3ZTbvh.js} +1 -98
- package/dist/es/{el-GR-BLJi6VdO.js → el-GR-D0zWM9HP.js} +0 -97
- package/dist/es/{es-ES-BfHjS5Hb.js → es-ES-xC1Sc-Sk.js} +0 -97
- package/dist/es/{et-EE-DG5Cjsj_.js → et-EE-D8diwwod.js} +0 -97
- package/dist/es/{fi-FI-RdmcbEt_.js → fi-FI-BrX-GPPR.js} +0 -97
- package/dist/es/{fr-FR-Cuu7ywoh.js → fr-FR-CTr4D8vs.js} +0 -97
- package/dist/es/{hr-HR-CwRw-oEW.js → hr-HR-BEjlz2M0.js} +0 -97
- package/dist/es/{hu-HU-PO0jI1sW.js → hu-HU-CLBVDHtE.js} +0 -97
- package/dist/es/{it-IT-RXBJv4US.js → it-IT-B-WY98i1.js} +0 -97
- package/dist/es/{lt-LT-BCLEVKxe.js → lt-LT-DkYLw3F1.js} +0 -97
- package/dist/es/{lv-LV-DfWQ_6E9.js → lv-LV-BTcpmzWG.js} +0 -97
- package/dist/es/{nl-NL-2CzcCtiM.js → nl-NL-DFRDUuVO.js} +0 -97
- package/dist/es/{no-NO-r9q3S-TP.js → no-NO-nr74oJGp.js} +0 -97
- package/dist/es/{pl-PL-Nix6oaTv.js → pl-PL-BKDEM-sF.js} +0 -97
- package/dist/es/{pt-PT-CGVej1Ae.js → pt-PT-BEOsVyuS.js} +0 -97
- package/dist/es/{ro-RO-DhJK0CPN.js → ro-RO-5OE4sez9.js} +0 -97
- package/dist/es/{sk-SK-Akja9ejH.js → sk-SK-DZnXAokm.js} +0 -97
- package/dist/es/{sl-SI-Bq22qBey.js → sl-SI-ySYCo3IF.js} +0 -97
- package/dist/es/{sv-SE-2gCnkRkv.js → sv-SE-BNCCTGyd.js} +0 -97
- package/dist/es/webinar-DgBtUiyw.js +13 -0
- package/dist/style.css +112 -22
- package/dist/types/components/AdditionalInformation/{component/AdditionalInformationComponent.d.ts → AdditionalInformation.d.ts} +3 -3
- package/dist/types/components/AdditionalInformation/types.d.ts +2 -1
- package/dist/types/components/BankDocument/{component/BankDocumentComponent.d.ts → BankDocument.d.ts} +2 -2
- package/dist/types/components/BankDocument/{component/BankDocumentRequirements.d.ts → BankDocumentRequirements.d.ts} +3 -3
- package/dist/types/components/BankDocument/validate.d.ts +3 -0
- package/dist/types/components/BankVerification/verification/widget/BankVerificationWidget.d.ts +3 -0
- package/dist/types/components/BankVerification/verification/widget/types.d.ts +43 -0
- package/dist/types/components/BasicInformation/{component/BasicInformationComponent.d.ts → BasicInformation.d.ts} +3 -3
- package/dist/types/components/BusinessDetails/{component/BusinessDetailsComponent.d.ts → BusinessDetails.d.ts} +2 -2
- package/dist/types/components/BusinessDetails/forms.d.ts +2 -2
- package/dist/types/components/BusinessDetails/types.d.ts +2 -0
- package/dist/types/components/BusinessSelection/{component/BusinessSelectionComponent.d.ts → BusinessSelection.d.ts} +2 -2
- package/dist/types/components/BusinessTypeSelection/{component/BusinessTypeSelection.d.ts → BusinessTypeSelection.d.ts} +3 -3
- package/dist/types/components/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +11 -0
- package/dist/types/components/BusinessTypeSelection/types.d.ts +3 -1
- package/dist/types/components/BusinessTypeSelection/utils.d.ts +12 -5
- package/dist/types/components/Company/{component/CompanyComponent.d.ts → Company.d.ts} +5 -5
- package/dist/types/components/Company/rules.d.ts +1 -0
- package/dist/types/components/CompanyNameAndCountry/{component/CompanyNameAndCountryComponent.d.ts → CompanyNameAndCountry.d.ts} +1 -1
- package/dist/types/components/CompanyRegistrationDetails/{component/CompanyRegistrationDetailsComponent.d.ts → CompanyRegistrationDetails.d.ts} +2 -2
- package/dist/types/components/CompanyRegistrationDetails/types.d.ts +2 -1
- package/dist/types/components/CompanyStructure/{component/CompanyStructureComponent.d.ts → CompanyStructure.d.ts} +3 -3
- package/dist/types/components/CompanyType/{component/CompanyTypeComponent.d.ts → CompanyType.d.ts} +2 -2
- package/dist/types/components/ContactDetails/{component/ContactDetailsComponent.d.ts → ContactDetails.d.ts} +1 -1
- package/dist/types/components/ContactDetails/types.d.ts +4 -3
- package/dist/types/components/CustomerSupport/CustomerSupport.d.ts +2 -0
- package/dist/types/components/CustomerSupport/types.d.ts +19 -0
- package/dist/types/components/DebugWrapper/DebugWrapper.d.ts +1 -2
- package/dist/types/components/DecisionMakers/{component/DecisionMakersComponent.d.ts → DecisionMakers.d.ts} +2 -2
- package/dist/types/components/Dropins/BusinessDetailsDropin/{components/BusinessDetailsDropinComponent.d.ts → BusinessDetailsDropin.d.ts} +1 -1
- package/dist/types/components/Dropins/CompanyDropin/{components/CompanyDropinComponent.d.ts → CompanyDropin.d.ts} +1 -1
- package/dist/types/components/Dropins/DropinComposer/DropinComposer.d.ts +2 -0
- package/dist/types/components/Dropins/DropinComposer/{components/useNavigation.d.ts → useNavigation.d.ts} +3 -3
- package/dist/types/components/Dropins/HighExposureDropin/{components/AdditionalFieldsForHighExposureCompany.d.ts → AdditionalFieldsForHighExposureCompany.d.ts} +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/{components/AdditionalFieldsForHighExposureParentCompany.d.ts → AdditionalFieldsForHighExposureParentCompany.d.ts} +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/{components/AdditionalFieldsForHighExposureUltimateParentCompany.d.ts → AdditionalFieldsForHighExposureUltimateParentCompany.d.ts} +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/{components/HighExposureBasicCompanyInformation.d.ts → HighExposureBasicCompanyInformation.d.ts} +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/{components/HighExposureBusinessInformation.d.ts → HighExposureBusinessInformation.d.ts} +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/{components/HighExposureDropinComponent.d.ts → HighExposureDropin.d.ts} +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/{components/HighExposureFinancialInformation.d.ts → HighExposureFinancialInformation.d.ts} +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/{components/HighExposureLegalInformation.d.ts → HighExposureLegalInformation.d.ts} +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/{components/HighExposureOwnershipStructure.d.ts → HighExposureOwnershipStructure.d.ts} +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/{components/HighExposureRegisteredAddress.d.ts → HighExposureRegisteredAddress.d.ts} +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/types.d.ts +4 -3
- package/dist/types/components/Dropins/HighExposureDropin/utils.d.ts +0 -1
- package/dist/types/components/Dropins/IndividualDropin/{components/IndividualDropinComponent.d.ts → IndividualDropin.d.ts} +1 -1
- package/dist/types/components/Dropins/PayoutDetailsDropin/{components/PayoutDetailsDropinComponent.d.ts → PayoutDetailsDropin.d.ts} +1 -1
- package/dist/types/components/Dropins/PciDropin/{components/PciDropinComponent.d.ts → PciDropin.d.ts} +1 -1
- package/dist/types/components/Dropins/RoleAndTypeDropin/{components/RoleAndTypeDropinComponent.d.ts → RoleAndTypeDropin.d.ts} +1 -1
- package/dist/types/components/Dropins/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +5 -0
- package/dist/types/components/Dropins/{ServiceAgreementDropinComponent/components/ServiceAgreementDropinComponent.d.ts → ServiceAgreementDropin/ServiceAgreementDropin.d.ts} +2 -2
- package/dist/types/components/Dropins/{ServiceAgreementDropinComponent → ServiceAgreementDropin}/types.d.ts +1 -4
- package/dist/types/components/Dropins/{ServiceAgreementDropinComponent/components → ServiceAgreementDropin}/useServiceAgreement.d.ts +4 -4
- package/dist/types/components/Dropins/SolePropDropin/{components/SolePropDropinComponent.d.ts → SolePropDropin.d.ts} +1 -1
- package/dist/types/components/Dropins/TrustDropin/{components/TrustDropinComponent.d.ts → TrustDropin.d.ts} +1 -1
- package/dist/types/components/EmbeddedDropins/AcceptTermsOfServiceComponent/AcceptTermsOfServiceComponent.d.ts +1 -1
- package/dist/types/components/FinancialInformation/{component/FinancialInformation.d.ts → FinancialInformation.d.ts} +1 -1
- package/dist/types/components/FinancialInformation/{component/ReportedValue.d.ts → ReportedValue.d.ts} +3 -2
- package/dist/types/components/IdDocumentUpload/{component/IdDocumentAlreadyUpload.d.ts → IdDocumentAlreadyUpload.d.ts} +1 -1
- package/dist/types/components/IdDocumentUpload/{component/IdDocumentInstantVerificationComponent.d.ts → IdDocumentInstantVerification.d.ts} +2 -2
- package/dist/types/components/IdDocumentUpload/{component/IdDocumentManualUpload.d.ts → IdDocumentManualUpload.d.ts} +2 -2
- package/dist/types/components/IdDocumentUpload/{component/IdDocumentUploadComponent.d.ts → IdDocumentUpload.d.ts} +2 -2
- package/dist/types/components/IdVerification/{component/IdVerificationComponent.d.ts → IdVerification.d.ts} +2 -2
- package/dist/types/components/IdentityNumber/{component/IdentityNumberComponent.d.ts → IdentityNumber.d.ts} +2 -2
- package/dist/types/components/IdentityNumber/fieldConfig.d.ts +1 -1
- package/dist/types/components/Individual/{component/IndividualComponent.d.ts → Individual.d.ts} +3 -3
- package/dist/types/components/Individual/types.d.ts +2 -0
- package/dist/types/components/PayoutAccount/{component/PayoutAccountComponent.d.ts → PayoutAccount.d.ts} +1 -1
- package/dist/types/components/PayoutDetails/{component/PayoutDetailsComponent.d.ts → PayoutDetails.d.ts} +5 -5
- package/dist/types/components/PayoutVerificationMethod/{component/AccountHolderDescriptionFragment.d.ts → AccountHolderDescriptionFragment.d.ts} +1 -1
- package/dist/types/components/PayoutVerificationMethod/{component/PayoutVerificationMethod.d.ts → PayoutVerificationMethod.d.ts} +3 -3
- package/dist/types/components/PayoutVerificationMethod/{component/PreferInstantVerificationMethod → PreferInstantVerificationMethod}/PreferInstantVerificationMethod.d.ts +7 -7
- package/dist/types/components/PersonalDetails/{component/IdentityComponent/IdentityComponent.d.ts → Identity/Identity.d.ts} +1 -1
- package/dist/types/components/PersonalDetails/{component/IdentityComponent/IdentityAu/component → Identity/IdentityAu}/DriversLicense.d.ts +4 -4
- package/dist/types/components/PersonalDetails/{component/IdentityComponent/IdentityAu/component/IdentityAuComponent.d.ts → Identity/IdentityAu/IdentityAu.d.ts} +1 -1
- package/dist/types/components/PersonalDetails/{component/IdentityComponent → Identity}/IdentityAu/validate.d.ts +1 -1
- package/dist/types/components/PersonalDetails/{component/IdentityComponent/IdentityHK/component/IdentityHKComponent.d.ts → Identity/IdentityHK/IdentityHK.d.ts} +1 -1
- package/dist/types/components/PersonalDetails/{component/IdentityComponent → Identity}/IdentityHK/validate.d.ts +1 -1
- package/dist/types/components/PersonalDetails/{component/IdentityComponent/IdentityNZ/component → Identity/IdentityNZ}/DriversLicense.d.ts +3 -3
- package/dist/types/components/PersonalDetails/{component/IdentityComponent/IdentityNZ/component/IdentityNZComponent.d.ts → Identity/IdentityNZ/IdentityNZ.d.ts} +1 -1
- package/dist/types/components/PersonalDetails/{component/IdentityComponent → Identity}/IdentityNZ/validate.d.ts +1 -1
- package/dist/types/components/PersonalDetails/{component/IdentityComponent → Identity}/TypeOfIdentity/index.d.ts +1 -1
- package/dist/types/components/PersonalDetails/{component/IdentityComponent/identityUS/component/IdentityUSComponent.d.ts → Identity/identityUS/IdentityUS.d.ts} +1 -1
- package/dist/types/components/PersonalDetails/{component/IdentityComponent → Identity}/types.d.ts +3 -3
- package/dist/types/components/PersonalDetails/{component/PersonalDetailsComponent.d.ts → PersonalDetails.d.ts} +3 -3
- package/dist/types/components/PersonalDetails/types.d.ts +3 -3
- package/dist/types/components/RegistrationAddress/{component/RegistrationAddressComponent.d.ts → RegistrationAddress.d.ts} +2 -2
- package/dist/types/components/Review/{component/ReviewComponent.d.ts → Review.d.ts} +1 -1
- package/dist/types/components/SoleProp/{component/SolePropComponent.d.ts → SoleProp.d.ts} +4 -4
- package/dist/types/components/TaskList/{component/PayoutAccountTaskListItem.d.ts → PayoutAccountTaskListItem.d.ts} +3 -3
- package/dist/types/components/TaskList/{component/TaskItemStatus.d.ts → TaskItemStatus.d.ts} +1 -1
- package/dist/types/components/TaskList/{component/TaskListComponent.d.ts → TaskList.d.ts} +2 -2
- package/dist/types/components/TaskList/{component/TaskListGroup.d.ts → TaskListGroup.d.ts} +2 -2
- package/dist/types/components/TaskList/{component/TaskListItem.d.ts → TaskListItem.d.ts} +2 -2
- package/dist/types/components/TaskList/types.d.ts +2 -1
- package/dist/types/components/Trust/{component/TrustComponent.d.ts → Trust.d.ts} +3 -3
- package/dist/types/components/TrustMembers/{component/CompanyTrustMemberTaskItem.d.ts → CompanyTrustMemberTaskItem.d.ts} +2 -2
- package/dist/types/components/TrustMembers/{component/ExemptSettlorTaskItem.d.ts → ExemptSettlorTaskItem.d.ts} +2 -2
- package/dist/types/components/TrustMembers/{component/RegularTrustMemberTaskItem.d.ts → RegularTrustMemberTaskItem.d.ts} +2 -2
- package/dist/types/components/TrustMembers/{component/RootTrusteeTaskItem.d.ts → RootTrusteeTaskItem.d.ts} +2 -2
- package/dist/types/components/TrustMembers/{component/TrustMembersOverview.d.ts → TrustMembersOverview.d.ts} +3 -3
- package/dist/types/components/TrustMembers/{component/UndefinedBeneficiaryTaskItem.d.ts → UndefinedBeneficiaryTaskItem.d.ts} +1 -1
- package/dist/types/components/TrustRegistrationDetails/{component/TrustRegistrationDetailsComponent.d.ts → TrustRegistrationDetails.d.ts} +1 -1
- package/dist/types/components/TrustRoleAndEntityType/{component/TrustRoleAndEntityType.d.ts → TrustRoleAndEntityType.d.ts} +1 -1
- package/dist/types/components/TrustRoleAndEntityType/types.d.ts +2 -1
- package/dist/types/components/index.d.ts +8 -8
- package/dist/types/components/internal/Address/Address.d.ts +2 -11
- package/dist/types/components/internal/Address/AddressForm.d.ts +12 -0
- package/dist/types/components/internal/Address/{components/FieldContainerComponent.d.ts → FieldContainer.d.ts} +2 -2
- package/dist/types/components/internal/Address/{components/FieldContainer.d.ts → FieldWrapper.d.ts} +2 -2
- package/dist/types/components/internal/Address/{components/SearchAddress.d.ts → SearchAddress.d.ts} +1 -1
- package/dist/types/components/internal/Alert/{components/VerificationErrorAlert.d.ts → VerificationErrorAlert.d.ts} +1 -1
- package/dist/types/components/internal/DebugTable/DebugTable.d.ts +5 -0
- package/dist/types/components/internal/DebugTable/types.d.ts +5 -0
- package/dist/types/components/internal/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +4 -0
- package/dist/types/components/internal/DecisionMakerRole/types.d.ts +11 -0
- package/dist/types/components/internal/DecisionMakerRole/validate.d.ts +2 -1
- package/dist/types/components/internal/EInvoicingCodeField/EInvoicingCodeField.d.ts +3 -0
- package/dist/types/components/internal/EInvoicingCodeField/fieldConfig.d.ts +3 -0
- package/dist/types/components/internal/EInvoicingCodeField/types.d.ts +5 -0
- package/dist/types/components/internal/EntityGuidanceStatus/{component/EntityGuidanceStatus.d.ts → EntityGuidanceStatus.d.ts} +2 -2
- package/dist/types/components/internal/EntityGuidanceStatus/{component/EntityStatusIcon.d.ts → EntityStatusIcon.d.ts} +1 -1
- package/dist/types/components/internal/ErrorPanel/{components/ServerValidationErrors.d.ts → ServerValidationErrors.d.ts} +1 -1
- package/dist/types/components/internal/ErrorPanel/{components/VerificationErrors.d.ts → VerificationErrors.d.ts} +1 -1
- package/dist/types/components/internal/FormFields/Dropzone/{components/DropzoneFile.d.ts → DropzoneFile.d.ts} +1 -1
- package/dist/types/components/internal/FormFields/Field/Field.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Field/types.d.ts +3 -2
- package/dist/types/components/internal/FormFields/InputBase.d.ts +2 -1
- package/dist/types/components/internal/FormFields/InputCurrency.d.ts +1 -1
- package/dist/types/components/internal/FormFields/InputEmail.d.ts +6 -1
- package/dist/types/components/internal/FormFields/InputGroup/InputGroup.d.ts +10 -0
- package/dist/types/components/internal/FormFields/InputTelephone.d.ts +6 -1
- package/dist/types/components/internal/FormFields/InputText.d.ts +2 -3
- package/dist/types/components/internal/FormFields/{MaskedInputText/MaskedInputText.d.ts → MaskedInput/MaskedInput.d.ts} +6 -4
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioGroupCard.d.ts +22 -2
- package/dist/types/components/internal/FormFields/Select/{components/SelectButton.d.ts → SelectButton.d.ts} +2 -2
- package/dist/types/components/internal/FormFields/Select/{components/SelectList.d.ts → SelectList.d.ts} +2 -2
- package/dist/types/components/internal/FormFields/Select/{components/SelectListItem.d.ts → SelectListItem.d.ts} +2 -2
- package/dist/types/components/internal/PhoneField/PhoneField.d.ts +4 -0
- package/dist/types/components/internal/PhoneField/PhoneFieldExperimentWrapper.d.ts +8 -0
- package/dist/types/components/internal/PhoneField/fieldConfig.d.ts +7 -0
- package/dist/types/components/internal/PhoneField/types.d.ts +9 -0
- package/dist/types/components/internal/PhoneInput/PhoneInput.d.ts +1 -0
- package/dist/types/components/internal/Svg/Svg.d.ts +2 -2
- package/dist/types/components/internal/Svg/svgs.d.ts +109 -28
- package/dist/types/core/Context/ExperimentContext/types.d.ts +4 -2
- package/dist/types/core/Context/StateContext/types.d.ts +2 -1
- package/dist/types/core/hooks/useAnalytics.d.ts +3 -2
- package/dist/types/core/models/api/contracts.d.ts +1 -1
- package/dist/types/core/models/api/customerSupport.d.ts +12 -0
- package/dist/types/core/models/api/financialReport.d.ts +4 -4
- package/dist/types/core/models/api/individual.d.ts +3 -1
- package/dist/types/core/models/api/legal-arrangement.d.ts +2 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +5 -0
- package/dist/types/core/models/api/organization.d.ts +5 -0
- package/dist/types/core/models/api/phone.d.ts +2 -0
- package/dist/types/core/models/company.d.ts +2 -1
- package/dist/types/core/models/identity.d.ts +3 -3
- package/dist/types/core/utils.d.ts +10 -4
- package/dist/types/utils/api/documentUtils.d.ts +11 -0
- package/dist/types/utils/entity-association-util.d.ts +7 -1
- package/dist/types/utils/genUtils.d.ts +2 -2
- package/dist/types/utils/localizeDateString.d.ts +11 -0
- package/dist/types/utils/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +2 -2
- package/dist/types/utils/mapping/componentApiMapping.d.ts +34 -679
- package/dist/types/utils/mapping/mapping.d.ts +7 -0
- package/dist/types/utils/mapping/utils.d.ts +2 -2
- package/package.json +16 -13
- package/dist/types/components/BankDocument/component/validate.d.ts +0 -3
- package/dist/types/components/BankVerification/verification/widget/component/BankVerificationWidget.d.ts +0 -16
- package/dist/types/components/BusinessTypeSelection/component/EntityTypeRadioGroupCard.d.ts +0 -11
- package/dist/types/components/Dropins/DropinComposer/components/DropinComposerComponent.d.ts +0 -2
- package/dist/types/components/Dropins/RoleAndTypeDropin/components/formatRoleAndEntityTypeSummary.d.ts +0 -5
- package/dist/types/components/internal/Address/AddressComponent.d.ts +0 -3
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioCardSelect.d.ts +0 -23
- /package/dist/types/components/AccountSetupRejected/{component/AccountSetupRejected.d.ts → AccountSetupRejected.d.ts} +0 -0
- /package/dist/types/components/ConstitutionalDocument/{ConstitutionalDocumentComponent.d.ts → ConstitutionalDocument.d.ts} +0 -0
- /package/dist/types/components/Dropins/{ServiceAgreementDropinComponent → ServiceAgreementDropin}/validate.d.ts +0 -0
- /package/dist/types/components/IdVerificationMethod/{IdVerificationMethodComponent.d.ts → IdVerificationMethod.d.ts} +0 -0
- /package/dist/types/components/PayoutAccount/{component/CheckGuidance → CheckGuidance}/CheckGuidance.d.ts +0 -0
- /package/dist/types/components/ProofOfResidency/{ProofOfResidencyComponent.d.ts → ProofOfResidency.d.ts} +0 -0
- /package/dist/types/components/RegistrationDocument/{RegistrationDocumentComponent.d.ts → RegistrationDocument.d.ts} +0 -0
- /package/dist/types/components/TaxDocument/{TaxDocumentComponent.d.ts → TaxDocument.d.ts} +0 -0
- /package/dist/types/components/internal/DecisionMakerRole/{DecisionMakerRoleComponent.d.ts → DecisionMakerRole.d.ts} +0 -0
- /package/dist/types/components/internal/ErrorPanel/{components/NavigateToFieldLink.d.ts → NavigateToFieldLink.d.ts} +0 -0
package/dist/style.css
CHANGED
|
@@ -620,6 +620,18 @@ button[disabled]:hover {
|
|
|
620
620
|
position: relative;
|
|
621
621
|
}
|
|
622
622
|
|
|
623
|
+
.adyen-kyc-guidance-text {
|
|
624
|
+
align-items: center;
|
|
625
|
+
color: var(--adyen-sdk-color-label-secondary, #5c687c);
|
|
626
|
+
display: flex;
|
|
627
|
+
font-size: var(--adyen-sdk-text-caption-font-size, 12px);
|
|
628
|
+
font-family: var(--adyen-sdk-text-caption-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
629
|
+
font-weight: var(--adyen-sdk-text-caption-font-weight, 400);
|
|
630
|
+
line-height: var(--adyen-sdk-text-caption-line-height, 18px);
|
|
631
|
+
margin-top: var(--adyen-sdk-spacer-020, 4px);
|
|
632
|
+
position: relative;
|
|
633
|
+
}
|
|
634
|
+
|
|
623
635
|
.adyen-kyc-upload-field__guidance {
|
|
624
636
|
display: flex;
|
|
625
637
|
flex-direction: column;
|
|
@@ -1976,6 +1988,75 @@ fieldset {
|
|
|
1976
1988
|
color: var(--adyen-sdk-color-label-secondary, #5c687c);
|
|
1977
1989
|
font-size: var(--adyen-sdk-text-body-font-size, 14px);
|
|
1978
1990
|
margin-bottom: var(--adyen-sdk-spacer-040, 8px);
|
|
1991
|
+
}/* #region Borders */
|
|
1992
|
+
/* #endregion */
|
|
1993
|
+
/* #region Z-index */
|
|
1994
|
+
/* #endregion */
|
|
1995
|
+
/* #region Timing functions */
|
|
1996
|
+
/* #endregion */
|
|
1997
|
+
/* #region Inline components */
|
|
1998
|
+
/* #endregion */
|
|
1999
|
+
.adyen-kyc-input-group {
|
|
2000
|
+
height: 40px;
|
|
2001
|
+
line-height: 40px;
|
|
2002
|
+
min-height: 40px;
|
|
2003
|
+
padding-bottom: var(--adyen-sdk-spacer-000, 0px);
|
|
2004
|
+
padding-top: var(--adyen-sdk-spacer-000, 0px);
|
|
2005
|
+
display: flex;
|
|
2006
|
+
padding: var(--adyen-sdk-spacer-020, 4px);
|
|
2007
|
+
background: var(--adyen-sdk-color-background-primary, #ffffff);
|
|
2008
|
+
border: var(--adyen-sdk-border-width-s, 1px) solid var(--adyen-sdk-color-outline-tertiary, #8d95a3);
|
|
2009
|
+
border-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
2010
|
+
caret-color: var(--adyen-sdk-color-label-highlight, #0070f5);
|
|
2011
|
+
color: var(--adyen-sdk-color-label-primary, #00112c);
|
|
2012
|
+
font-family: inherit;
|
|
2013
|
+
font-size: var(--adyen-sdk-text-body-font-size, 14px);
|
|
2014
|
+
outline: none;
|
|
2015
|
+
transition: border 0.2s ease-out, box-shadow 0.2s ease-out;
|
|
2016
|
+
}
|
|
2017
|
+
.adyen-kyc-input-group:hover {
|
|
2018
|
+
border-color: var(--adyen-sdk-color-outline-tertiary-hover, #6d7789);
|
|
2019
|
+
}
|
|
2020
|
+
.adyen-kyc-input-group--invalid {
|
|
2021
|
+
padding-right: var(--adyen-sdk-spacer-120, 48px);
|
|
2022
|
+
border-color: var(--adyen-sdk-color-outline-critical, #e22d2d);
|
|
2023
|
+
}
|
|
2024
|
+
.adyen-kyc-input-group--focused {
|
|
2025
|
+
border-color: var(--adyen-sdk-color-outline-tertiary-active, #00112c);
|
|
2026
|
+
outline: var(--adyen-sdk-border-width-s, 1px) solid var(--adyen-sdk-color-outline-tertiary-active, #00112c);
|
|
2027
|
+
}
|
|
2028
|
+
.adyen-kyc-input-group--focused:hover {
|
|
2029
|
+
border-color: var(--adyen-sdk-color-outline-tertiary-active, #00112c);
|
|
2030
|
+
}
|
|
2031
|
+
.adyen-kyc-input-group .adyen-kyc-dropdown {
|
|
2032
|
+
max-width: 120px;
|
|
2033
|
+
}
|
|
2034
|
+
.adyen-kyc-input-group .adyen-kyc-dropdown-button {
|
|
2035
|
+
min-height: unset;
|
|
2036
|
+
height: 100%;
|
|
2037
|
+
background: var(--adyen-sdk-color-background-secondary, #f7f7f8);
|
|
2038
|
+
border: none;
|
|
2039
|
+
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
2040
|
+
}
|
|
2041
|
+
.adyen-kyc-input-group .adyen-kyc-dropdown-list--active {
|
|
2042
|
+
width: 200px;
|
|
2043
|
+
}
|
|
2044
|
+
.adyen-kyc-input-group .adyen-kyc-dropdown-button__text--placeholder {
|
|
2045
|
+
color: var(--adyen-sdk-color-label-secondary, #5c687c);
|
|
2046
|
+
}
|
|
2047
|
+
.adyen-kyc-input-group .adyen-kyc-filter-input {
|
|
2048
|
+
background: var(--adyen-sdk-color-background-secondary, #f7f7f8);
|
|
2049
|
+
}
|
|
2050
|
+
.adyen-kyc-input-group .adyen-kyc-input {
|
|
2051
|
+
height: unset;
|
|
2052
|
+
min-height: unset;
|
|
2053
|
+
position: unset;
|
|
2054
|
+
border: none;
|
|
2055
|
+
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
2056
|
+
}
|
|
2057
|
+
.adyen-kyc-input-group .adyen-kyc-input:is(:active, :focus, :hover, :active:hover, :focus:hover, --focus) {
|
|
2058
|
+
outline: none;
|
|
2059
|
+
border: none;
|
|
1979
2060
|
}.adyen-kyc-field--idNumberWithExempt .adyen-kyc-input--text {
|
|
1980
2061
|
margin-bottom: var(--adyen-sdk-spacer-040, 8px);
|
|
1981
2062
|
}
|
|
@@ -2006,6 +2087,10 @@ fieldset {
|
|
|
2006
2087
|
}
|
|
2007
2088
|
.adyen-kyc-multi-select-list-item--with-description .adyen-kyc-checkbox__label {
|
|
2008
2089
|
font-weight: var(--adyen-sdk-text-body-strongest-font-weight, 600);
|
|
2090
|
+
}.adyen-kyc-field--nominee .adyen-kyc-radio-group {
|
|
2091
|
+
display: grid;
|
|
2092
|
+
grid-template-columns: repeat(auto-fit, minmax(120px, 170px));
|
|
2093
|
+
column-gap: var(--adyen-sdk-spacer-100, 32px);
|
|
2009
2094
|
}.adyen-kyc-bank-statement-upload__subtitle {
|
|
2010
2095
|
margin: var(--adyen-sdk-spacer-070, 16px) var(--adyen-sdk-spacer-000, 0px) var(--adyen-sdk-spacer-040, 8px);
|
|
2011
2096
|
}
|
|
@@ -2091,7 +2176,15 @@ fieldset {
|
|
|
2091
2176
|
|
|
2092
2177
|
.adyen-action-bar__button {
|
|
2093
2178
|
flex: 1;
|
|
2094
|
-
}
|
|
2179
|
+
}/* #region Borders */
|
|
2180
|
+
/* #endregion */
|
|
2181
|
+
/* #region Z-index */
|
|
2182
|
+
/* #endregion */
|
|
2183
|
+
/* #region Timing functions */
|
|
2184
|
+
/* #endregion */
|
|
2185
|
+
/* #region Inline components */
|
|
2186
|
+
/* #endregion */
|
|
2187
|
+
.adyen-kyc-bank-verification-widget {
|
|
2095
2188
|
border: 0 transparent;
|
|
2096
2189
|
height: 100%;
|
|
2097
2190
|
width: 100%;
|
|
@@ -2099,6 +2192,15 @@ fieldset {
|
|
|
2099
2192
|
.adyen-kyc-bank-verification-widget-container {
|
|
2100
2193
|
height: 650px;
|
|
2101
2194
|
}
|
|
2195
|
+
.adyen-kyc-bank-verification-widget-container--plaid-institutions {
|
|
2196
|
+
height: 365px;
|
|
2197
|
+
}
|
|
2198
|
+
.adyen-kyc-bank-verification-widget-container--plaid-modal {
|
|
2199
|
+
height: 650px;
|
|
2200
|
+
}
|
|
2201
|
+
.adyen-layout-xs-only .adyen-kyc-bank-verification-widget-container--plaid-modal {
|
|
2202
|
+
height: 500px;
|
|
2203
|
+
}
|
|
2102
2204
|
.adyen-kyc-bank-verification-widget-container .adyen-open-banking-sdk-widget {
|
|
2103
2205
|
border: 0 transparent;
|
|
2104
2206
|
height: 100%;
|
|
@@ -2191,27 +2293,8 @@ fieldset {
|
|
|
2191
2293
|
height: 125px;
|
|
2192
2294
|
}
|
|
2193
2295
|
|
|
2194
|
-
.adyen-kyc-instant-verification-error
|
|
2195
|
-
|
|
2196
|
-
.adyen-kyc-instant-verification-error .adyen-kyc-alert__title {
|
|
2197
|
-
display: block;
|
|
2198
|
-
}
|
|
2199
|
-
.adyen-kyc-instant-verification-error > * {
|
|
2200
|
-
left: 16px;
|
|
2201
|
-
margin: var(--adyen-sdk-spacer-000, 0px) var(--adyen-sdk-spacer-070, 16px);
|
|
2202
|
-
position: relative;
|
|
2203
|
-
}
|
|
2204
|
-
.adyen-kyc-instant-verification-error > *:not(.adyen-kyc-alert__header) {
|
|
2205
|
-
color: var(--adyen-sdk-color-label-secondary, #5c687c);
|
|
2206
|
-
font-size: var(--adyen-sdk-text-body-font-size, 14px);
|
|
2207
|
-
}
|
|
2208
|
-
.adyen-kyc-instant-verification-error .adyen-kyc-alert__title {
|
|
2209
|
-
line-height: var(--adyen-sdk-text-title-line-height, 26px);
|
|
2210
|
-
margin: var(--adyen-sdk-spacer-000, 0px) var(--adyen-sdk-spacer-000, 0px) var(--adyen-sdk-spacer-020, 4px);
|
|
2211
|
-
}
|
|
2212
|
-
.adyen-kyc-instant-verification-error .adyen-kyc-alert__icon {
|
|
2213
|
-
left: -28px;
|
|
2214
|
-
position: absolute;
|
|
2296
|
+
.adyen-kyc-instant-verification-error {
|
|
2297
|
+
margin-bottom: var(--adyen-sdk-spacer-080, 20px);
|
|
2215
2298
|
}/* #region Borders */
|
|
2216
2299
|
/* #endregion */
|
|
2217
2300
|
/* #region Z-index */
|
|
@@ -2347,6 +2430,9 @@ fieldset {
|
|
|
2347
2430
|
width: 50%;
|
|
2348
2431
|
margin-bottom: var(--adyen-sdk-spacer-090, 24px);
|
|
2349
2432
|
}
|
|
2433
|
+
.adyen-kyc-prefer-instant-verification-method-text {
|
|
2434
|
+
text-align: center;
|
|
2435
|
+
}
|
|
2350
2436
|
.adyen-kyc-prefer-instant-verification-method-instant-button {
|
|
2351
2437
|
margin-top: var(--adyen-sdk-spacer-070, 16px);
|
|
2352
2438
|
}
|
|
@@ -4711,6 +4797,10 @@ fieldset {
|
|
|
4711
4797
|
margin-right: 1em;
|
|
4712
4798
|
}
|
|
4713
4799
|
|
|
4800
|
+
.adyen-kyc-debug-modal__table-label {
|
|
4801
|
+
margin-right: 4px;
|
|
4802
|
+
}
|
|
4803
|
+
|
|
4714
4804
|
.adyen-kyc-debug-modal__content {
|
|
4715
4805
|
display: flex;
|
|
4716
4806
|
flex-direction: column;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import type { BusinessDetailsSchema } from '
|
|
3
|
-
import type { AdditionalInformationProps, AdditionalInformationSchema } from '
|
|
1
|
+
import './AdditionalInformation.scss';
|
|
2
|
+
import type { BusinessDetailsSchema } from '../BusinessDetails/types';
|
|
3
|
+
import type { AdditionalInformationProps, AdditionalInformationSchema } from './types';
|
|
4
4
|
export declare const ADDITIONAL_INFORMATION_FORM_ID: keyof BusinessDetailsSchema;
|
|
5
5
|
export declare const ADDITIONAL_INFORMATION_FIELDS: Array<keyof AdditionalInformationSchema>;
|
|
6
6
|
export declare function AdditionalInformationComponent({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, verifiedBusiness, showCompanyStructure, handleAddressSearch, handleFindAddress, }: AdditionalInformationProps): import("preact").JSX.Element;
|
|
@@ -6,6 +6,7 @@ import type { DropinAPIHandlers } from '../Dropins/types';
|
|
|
6
6
|
import type { BusinessRegistrationNumberFieldSchema } from '../internal/BusinessRegistrationNumberField/types';
|
|
7
7
|
import type { DateOfIncorporationFieldSchema } from '../internal/DateOfIncorporationField/types';
|
|
8
8
|
import type { DBANameFieldSchema } from '../internal/DBANameField/types';
|
|
9
|
+
import type { EInvoicingCodeFieldSchema } from '../internal/EInvoicingCodeField/types';
|
|
9
10
|
import type { LegalCompanyNameFieldSchema } from '../internal/LegalCompanyNameField/types';
|
|
10
11
|
import type { StockExchangeMICFieldSchema } from '../internal/StockExchangeMICField/types';
|
|
11
12
|
import type { StockISINFieldSchema } from '../internal/StockISINField/types';
|
|
@@ -13,7 +14,7 @@ import type { StockTickerSymbolFieldSchema } from '../internal/StockTickerSymbol
|
|
|
13
14
|
import type { TaxInformationFieldSchema } from '../internal/TaxInformationField/types';
|
|
14
15
|
import type { VatNumberFieldSchema } from '../internal/VatNumberField/types';
|
|
15
16
|
import type { RegistrationAddressSchema } from '../RegistrationAddress/types';
|
|
16
|
-
export interface AdditionalInformationSchema extends LegalCompanyNameFieldSchema, DBANameFieldSchema, VatNumberFieldSchema, TaxInformationFieldSchema, BusinessRegistrationNumberFieldSchema, DateOfIncorporationFieldSchema, StockISINFieldSchema, StockExchangeMICFieldSchema, StockTickerSymbolFieldSchema, RegistrationAddressSchema {
|
|
17
|
+
export interface AdditionalInformationSchema extends LegalCompanyNameFieldSchema, DBANameFieldSchema, VatNumberFieldSchema, TaxInformationFieldSchema, BusinessRegistrationNumberFieldSchema, DateOfIncorporationFieldSchema, StockISINFieldSchema, StockExchangeMICFieldSchema, StockTickerSymbolFieldSchema, RegistrationAddressSchema, EInvoicingCodeFieldSchema {
|
|
17
18
|
legalFormDescription?: string;
|
|
18
19
|
}
|
|
19
20
|
export interface AdditionalInformationProps extends BaseInnerFormProps<AdditionalInformationSchema> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import type { BankDocumentProps, BankDocumentSchema } from '
|
|
1
|
+
import './BankDocument.scss';
|
|
2
|
+
import type { BankDocumentProps, BankDocumentSchema } from './types';
|
|
3
3
|
export declare const bankDocumentFields: Array<keyof BankDocumentSchema>;
|
|
4
4
|
declare function BankDocument(props: BankDocumentProps): import("preact").JSX.Element;
|
|
5
5
|
export declare const BankDocumentComponent: typeof BankDocument;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './BankDocumentRequirements.scss';
|
|
2
|
-
import { type CountryCode } from '
|
|
3
|
-
import type { DocumentsModifiers } from '
|
|
4
|
-
import { BankDocumentTypes } from '
|
|
2
|
+
import { type CountryCode } from '../../core/models/country-code';
|
|
3
|
+
import type { DocumentsModifiers } from './types';
|
|
4
|
+
import { BankDocumentTypes } from './types';
|
|
5
5
|
interface BankDocumentRequirementsProps {
|
|
6
6
|
country: CountryCode;
|
|
7
7
|
documentType: BankDocumentTypes;
|
package/dist/types/components/BankVerification/verification/widget/BankVerificationWidget.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import './BankVerificationWidget.scss';
|
|
2
|
+
import { type BankVerificationWidgetProps } from './types';
|
|
3
|
+
export declare function BankVerificationWidget({ url, vendor, setBankVerificationError, setHideVerificationWidget, onBack, retrieveBankAccountInfo, createTrustedTransferInstrument, handleBankVerificationError, }: BankVerificationWidgetProps): import("preact").JSX.Element;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
+
import type { AccountVerificationResponse, InstantVerificationErrorNotification } from '../../types';
|
|
3
|
+
import type { AccountVerificationCallbackErrorObject } from './iframeWidget';
|
|
4
|
+
import type { PayoutDetailsProps } from '../../../PayoutDetails/types';
|
|
5
|
+
import type { BankVerificationErrorResponse } from '../../../../core/models/api/trusted-transferInstrument';
|
|
6
|
+
export declare enum VerificationWidgetCallbackAction {
|
|
7
|
+
HANDLE_EXCEPTION = "handle_exception",
|
|
8
|
+
VERIFICATION_SUCCESS = "verification_success",
|
|
9
|
+
RETRY_VERIFICATION = "retry_verification",
|
|
10
|
+
HANDLE_EVENT = "handle_event"
|
|
11
|
+
}
|
|
12
|
+
type SuccessPayload = {
|
|
13
|
+
action: VerificationWidgetCallbackAction.VERIFICATION_SUCCESS;
|
|
14
|
+
result: {
|
|
15
|
+
accounts: AccountVerificationResponse[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type ExceptionPayload = {
|
|
19
|
+
action: VerificationWidgetCallbackAction.HANDLE_EXCEPTION;
|
|
20
|
+
err: Error | AccountVerificationCallbackErrorObject | undefined;
|
|
21
|
+
};
|
|
22
|
+
type EventPayload = {
|
|
23
|
+
action: VerificationWidgetCallbackAction.HANDLE_EVENT;
|
|
24
|
+
event: {
|
|
25
|
+
name: string;
|
|
26
|
+
provider: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type RetryPayload = {
|
|
30
|
+
action: VerificationWidgetCallbackAction.RETRY_VERIFICATION;
|
|
31
|
+
};
|
|
32
|
+
export type VerificationWidgetCallback = (payload: SuccessPayload | ExceptionPayload | RetryPayload | EventPayload) => void;
|
|
33
|
+
export type BankVerificationWidgetProps = {
|
|
34
|
+
url: string;
|
|
35
|
+
vendor: string;
|
|
36
|
+
setBankVerificationError: Dispatch<StateUpdater<InstantVerificationErrorNotification | null>>;
|
|
37
|
+
setHideVerificationWidget: Dispatch<StateUpdater<boolean>>;
|
|
38
|
+
onBack?: () => void;
|
|
39
|
+
retrieveBankAccountInfo: (res: AccountVerificationResponse) => void;
|
|
40
|
+
createTrustedTransferInstrument: PayoutDetailsProps['createTrustedTransferInstrument'];
|
|
41
|
+
handleBankVerificationError?: (errorCode: string, errorMessage: string, state: string, metadata?: Map<string, string>) => Promise<BankVerificationErrorResponse>;
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import type { BusinessDetailsSchema } from '
|
|
3
|
-
import type { BasicInformationProps, BasicInformationSchema } from '
|
|
1
|
+
import './BasicInformation.scss';
|
|
2
|
+
import type { BusinessDetailsSchema } from '../BusinessDetails/types';
|
|
3
|
+
import type { BasicInformationProps, BasicInformationSchema } from './types';
|
|
4
4
|
export declare const BASIC_INFORMATION_FORM_ID: keyof BusinessDetailsSchema;
|
|
5
5
|
export declare const BASIC_INFORMATION_FIELDS: Array<keyof BasicInformationSchema>;
|
|
6
6
|
export declare function BasicInformationComponent({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, isTopLevelEntity, className, showBusinessSelection, showCompanyStructure, isActiveForm, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, verifiedBusiness, fetchBusinessData, verifyBusinessData, proceedToManualDataEntry, handleNextClick, setShowBusinessSelection, setShowCompanyStructure, resetTinVerification, }: BasicInformationProps): import("preact").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import type { BusinessDetailsProps } from '
|
|
1
|
+
import './BusinessDetails.scss';
|
|
2
|
+
import type { BusinessDetailsProps } from './types';
|
|
3
3
|
export declare function BusinessDetailsComponent(props: BusinessDetailsProps): import("preact").JSX.Element;
|
|
@@ -37,8 +37,8 @@ export declare const getForms: (country: CountryCode) => {
|
|
|
37
37
|
readonly formDescription: "companyTaxDocumentFormDescription";
|
|
38
38
|
readonly fields: readonly ["taxDocument"];
|
|
39
39
|
};
|
|
40
|
-
readonly
|
|
41
|
-
readonly formId: "
|
|
40
|
+
readonly companyFinancialInformation: {
|
|
41
|
+
readonly formId: "companyFinancialInformation";
|
|
42
42
|
readonly formName: "financialInformation";
|
|
43
43
|
readonly formHeading: "companyFinancialInformationFormHeading";
|
|
44
44
|
readonly formDescription: "companyFinancialInformationFormDescription";
|
|
@@ -10,12 +10,14 @@ import type { BasicInformationSchema } from '../BasicInformation/types';
|
|
|
10
10
|
import type { CompanyStructureSchema } from '../CompanyStructure/types';
|
|
11
11
|
import type { DocumentUploadSchema } from '../DocumentUpload/types';
|
|
12
12
|
import type { DropinAPIHandlers } from '../Dropins/types';
|
|
13
|
+
import type { FinancialInformationSchema } from '../FinancialInformation/types';
|
|
13
14
|
export interface BusinessDetailsSchema {
|
|
14
15
|
basicInformation?: BasicInformationSchema;
|
|
15
16
|
companyStructure?: CompanyStructureSchema;
|
|
16
17
|
additionalInformation?: AdditionalInformationSchema;
|
|
17
18
|
companyRegistrationDocument?: DocumentUploadSchema;
|
|
18
19
|
companyTaxDocument?: DocumentUploadSchema;
|
|
20
|
+
companyFinancialInformation?: FinancialInformationSchema;
|
|
19
21
|
}
|
|
20
22
|
export interface BusinessDetailsProps extends BaseOuterFormProps<BusinessDetailsSchema> {
|
|
21
23
|
country: CountryCode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import type { BusinessSelectionProps } from '
|
|
1
|
+
import './BusinessSelection.scss';
|
|
2
|
+
import type { BusinessSelectionProps } from './types';
|
|
3
3
|
export declare function BusinessSelectionComponent({ showCompanyStructure, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, fetchBusinessData, verifyBusinessData, resetTinVerification, proceedToManualDataEntry, handleNextClick, setIsBusinessSelection, setShowCompanyStructure, }: BusinessSelectionProps): import("preact").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './_business-type-selection.component.scss';
|
|
2
2
|
import type { JSX } from 'preact';
|
|
3
|
-
import type { TranslationKey } from '
|
|
4
|
-
import type { ValidatorRules } from '
|
|
5
|
-
import type { BusinessTypeSelectionProps, BusinessTypeSelectionSchema } from '
|
|
3
|
+
import type { TranslationKey } from '../../language/types';
|
|
4
|
+
import type { ValidatorRules } from '../../utils/validation/types';
|
|
5
|
+
import type { BusinessTypeSelectionProps, BusinessTypeSelectionSchema } from './types';
|
|
6
6
|
export declare const businessTypeSelectionValidationRules: ValidatorRules<BusinessTypeSelectionSchema>;
|
|
7
7
|
export declare enum BusinessTypeSelectionStep {
|
|
8
8
|
BUSINESS_TYPE_SELECTION = 0,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './EntityTypeRadioGroupCard.scss';
|
|
2
|
+
import type { CompanyTypeExamples } from '../../datasets/localized/companyTypeExamples/getCompanyTypeExamplesForCountry';
|
|
3
|
+
import type { LegalArrangementTypeExamples } from '../../datasets/localized/legalArrangementTypeExamples/getLegalArrangementTypeExamplesForCountry';
|
|
4
|
+
import type { BusinessTypeExamples } from '../../datasets/localized/legalEntityTypeExamples/getBusinessTypeExamplesForCountry';
|
|
5
|
+
import { type RadioGroupCardProps } from '../internal/FormFields/RadioGroupCard/RadioGroupCard';
|
|
6
|
+
type Examples = BusinessTypeExamples | CompanyTypeExamples | LegalArrangementTypeExamples;
|
|
7
|
+
interface EntityTypeSelectionRadioGroupCardProps<OptionType, T> extends RadioGroupCardProps<OptionType> {
|
|
8
|
+
examples?: T;
|
|
9
|
+
}
|
|
10
|
+
export declare const EntityTypeRadioGroupCard: <OptionType, T extends Examples>({ examples, optionDescription, ...baseProps }: EntityTypeSelectionRadioGroupCardProps<OptionType, T>) => import("preact").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -13,6 +13,7 @@ export interface BusinessTypeSelectionSchema {
|
|
|
13
13
|
legalArrangement?: LegalArrangementModel;
|
|
14
14
|
trusteeType?: TrusteeTypeModel;
|
|
15
15
|
}
|
|
16
|
+
export type BusinessTypeMetadata = Record<BusinessType, BusinessTypeModel>;
|
|
16
17
|
export type BusinessType = 'individual' | 'soleProprietorship' | 'company' | 'legalArrangement';
|
|
17
18
|
export interface BusinessTypeModel {
|
|
18
19
|
id: BusinessType;
|
|
@@ -26,7 +27,8 @@ export interface LegalArrangementModel {
|
|
|
26
27
|
name: TranslationKey;
|
|
27
28
|
description: TranslationKey;
|
|
28
29
|
}
|
|
29
|
-
export
|
|
30
|
+
export declare const trusteeTypes: readonly ["individual", "company"];
|
|
31
|
+
export type TrusteeType = (typeof trusteeTypes)[number];
|
|
30
32
|
export interface TrusteeTypeModel {
|
|
31
33
|
id: TrusteeType;
|
|
32
34
|
name: TranslationKey;
|
|
@@ -5,7 +5,7 @@ import { LegalEntityType } from '../../core/models/api/legal-entity-type';
|
|
|
5
5
|
import type { CountryCode } from '../../core/models/country-code';
|
|
6
6
|
import type { AccountHolderOption, LegalArrangementOption } from '../internal/AccountHolder/types';
|
|
7
7
|
import type { IconName } from '../internal/Icon/Icon';
|
|
8
|
-
import type { BusinessType, BusinessTypeModel, LegalArrangementModel, TrusteeType } from './types';
|
|
8
|
+
import type { BusinessType, BusinessTypeMetadata, BusinessTypeModel, LegalArrangementModel, TrusteeType } from './types';
|
|
9
9
|
/**
|
|
10
10
|
* this is messy business logic
|
|
11
11
|
* we determine the legal entity type by the account holder
|
|
@@ -20,12 +20,19 @@ import type { BusinessType, BusinessTypeModel, LegalArrangementModel, TrusteeTyp
|
|
|
20
20
|
* @param companyTypesValue - the subtype of an organization see CompanyValuesType
|
|
21
21
|
*/
|
|
22
22
|
export declare const organizationTypesToSkipCompanyStructureForm: string[];
|
|
23
|
-
export declare const getBusinessType: (businessTypeItems:
|
|
24
|
-
export declare const
|
|
23
|
+
export declare const getBusinessType: (businessTypeItems: BusinessTypeMetadata, country: CountryCode, accountHolder: AccountHolderOption | null, legalEntityType?: LegalEntityType, companyTypesValue?: CompanyTypesValue | "", capabilities?: CapabilityName[]) => BusinessTypeModel | undefined;
|
|
24
|
+
export declare const businessTypeMetadata: BusinessTypeMetadata;
|
|
25
25
|
export declare const businessTypeIcons: Record<BusinessType, IconName>;
|
|
26
|
+
export declare const legalArrangementMetadata: Record<LegalArrangementOption, LegalArrangementModel>;
|
|
26
27
|
export declare const useSelectionOptions: (legalEntityResponse: ExistingLegalEntity) => {
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
allowedBusinessTypeOptions: BusinessType[];
|
|
29
|
+
adjustedBusinessTypeMetadata: {
|
|
30
|
+
legalArrangement: BusinessTypeModel;
|
|
31
|
+
company: BusinessTypeModel;
|
|
32
|
+
individual: BusinessTypeModel;
|
|
33
|
+
soleProprietorship: BusinessTypeModel;
|
|
34
|
+
};
|
|
35
|
+
legalArrangementOptions: LegalArrangementOption[];
|
|
29
36
|
};
|
|
30
37
|
/**
|
|
31
38
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import type { FinancialInformationSchema } from '
|
|
3
|
-
import type { CompanyProps } from '
|
|
1
|
+
import './Company.scss';
|
|
2
|
+
import type { FinancialInformationSchema } from '../FinancialInformation/types';
|
|
3
|
+
import type { CompanyProps } from './types';
|
|
4
4
|
export declare const companyForms: {
|
|
5
5
|
readonly companyNameAndCountry: {
|
|
6
6
|
readonly formId: "companyNameAndCountry";
|
|
7
7
|
readonly formName: "basicInformation";
|
|
8
|
-
readonly fields: ("country" | "legalCompanyName" | keyof import("
|
|
8
|
+
readonly fields: ("country" | "legalCompanyName" | keyof import("../internal/CountryOfGoverningLawField/types").CountryOfGoverningLawFieldSchema)[];
|
|
9
9
|
};
|
|
10
10
|
readonly companyType: {
|
|
11
11
|
readonly formId: "companyType";
|
|
@@ -15,7 +15,7 @@ export declare const companyForms: {
|
|
|
15
15
|
readonly companyRegistrationDetails: {
|
|
16
16
|
readonly formId: "companyRegistrationDetails";
|
|
17
17
|
readonly formName: "registrationDetails";
|
|
18
|
-
readonly fields: ("dateOfIncorporation" | "stockExchangeMIC" | "stockISIN" | "stockTickerSymbol" | keyof import("
|
|
18
|
+
readonly fields: ("dateOfIncorporation" | "eInvoicingCode" | "stockExchangeMIC" | "stockISIN" | "stockTickerSymbol" | keyof import("../internal/BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../internal/DBANameField/types").DBANameFieldSchema | keyof import("../internal/VatNumberField/types").VatNumberFieldSchema | keyof import("../internal/TaxInformationField/types").TaxInformationFieldSchema | keyof import("../internal/TradingNameField/types").TradingNameFieldSchema)[];
|
|
19
19
|
};
|
|
20
20
|
readonly companyRegistrationAddress: {
|
|
21
21
|
readonly formId: "companyRegistrationAddress";
|
|
@@ -23,4 +23,5 @@ export declare const COUNTRIES_THAT_USES_UEN_OR_GST: CountryCode[];
|
|
|
23
23
|
*/
|
|
24
24
|
export declare const COUNTRIES_USING_COMPANY_SEARCH: readonly CountryCode[];
|
|
25
25
|
export declare const COUNTRIES_REQUIRING_FINANCIAL_INFORMATION: readonly CountryCode[];
|
|
26
|
+
export declare const COUNTRIES_REQUIRING_E_INVOICING_CODE: readonly CountryCode[];
|
|
26
27
|
export declare const rules: FormRules<CompanySchema | SolePropSchema | BusinessDetailsSchema>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CompanyNameAndCountryProps, CompanyNameAndCountrySchema } from '
|
|
1
|
+
import type { CompanyNameAndCountryProps, CompanyNameAndCountrySchema } from './types';
|
|
2
2
|
export declare const countryWithGoverningLawFields: Array<keyof CompanyNameAndCountrySchema>;
|
|
3
3
|
export declare const companyNameAndCountryFields: Array<keyof CompanyNameAndCountrySchema>;
|
|
4
4
|
declare function CompanyNameAndCountry(props: CompanyNameAndCountryProps): import("preact").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import type { CompanyRegistrationDetailsProps, CompanyRegistrationDetailsSchema } from '
|
|
1
|
+
import './CompanyRegistrationDetails.scss';
|
|
2
|
+
import type { CompanyRegistrationDetailsProps, CompanyRegistrationDetailsSchema } from './types';
|
|
3
3
|
export declare const companyRegistrationDetailsFields: Array<keyof CompanyRegistrationDetailsSchema>;
|
|
4
4
|
export declare function CompanyRegistrationDetailsComponent(props: CompanyRegistrationDetailsProps): import("preact").JSX.Element;
|
|
@@ -4,13 +4,14 @@ import type { CountryCode } from '../../core/models/country-code';
|
|
|
4
4
|
import type { BusinessRegistrationNumberFieldSchema } from '../internal/BusinessRegistrationNumberField/types';
|
|
5
5
|
import type { DateOfIncorporationFieldSchema } from '../internal/DateOfIncorporationField/types';
|
|
6
6
|
import type { DBANameFieldSchema } from '../internal/DBANameField/types';
|
|
7
|
+
import type { EInvoicingCodeFieldSchema } from '../internal/EInvoicingCodeField/types';
|
|
7
8
|
import type { StockExchangeMICFieldSchema } from '../internal/StockExchangeMICField/types';
|
|
8
9
|
import type { StockISINFieldSchema } from '../internal/StockISINField/types';
|
|
9
10
|
import type { StockTickerSymbolFieldSchema } from '../internal/StockTickerSymbol/types';
|
|
10
11
|
import type { TaxInformationFieldSchema } from '../internal/TaxInformationField/types';
|
|
11
12
|
import type { TradingNameFieldSchema } from '../internal/TradingNameField/types';
|
|
12
13
|
import type { VatNumberFieldSchema } from '../internal/VatNumberField/types';
|
|
13
|
-
export type CompanyRegistrationDetailsSchema = TradingNameFieldSchema & DBANameFieldSchema & BusinessRegistrationNumberFieldSchema & TaxInformationFieldSchema & VatNumberFieldSchema & StockExchangeMICFieldSchema & StockISINFieldSchema & StockTickerSymbolFieldSchema & DateOfIncorporationFieldSchema;
|
|
14
|
+
export type CompanyRegistrationDetailsSchema = TradingNameFieldSchema & DBANameFieldSchema & BusinessRegistrationNumberFieldSchema & TaxInformationFieldSchema & VatNumberFieldSchema & StockExchangeMICFieldSchema & StockISINFieldSchema & StockTickerSymbolFieldSchema & DateOfIncorporationFieldSchema & EInvoicingCodeFieldSchema;
|
|
14
15
|
export interface CompanyRegistrationDetailsProps extends BaseInnerFormProps<CompanyRegistrationDetailsSchema> {
|
|
15
16
|
companyType?: CompanyTypesValue;
|
|
16
17
|
country?: CountryCode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import type { BusinessDetailsSchema } from '
|
|
3
|
-
import type { CompanyStructureProps, CompanyStructureSchema } from '
|
|
1
|
+
import './CompanyStructure.scss';
|
|
2
|
+
import type { BusinessDetailsSchema } from '../BusinessDetails/types';
|
|
3
|
+
import type { CompanyStructureProps, CompanyStructureSchema } from './types';
|
|
4
4
|
export declare const COMPANY_STRUCTURE_FORM_ID: keyof BusinessDetailsSchema;
|
|
5
5
|
export declare const companyStructureFields: Array<keyof CompanyStructureSchema>;
|
|
6
6
|
export declare function CompanyStructureComponent({ data, labels, heading, description, formVerificationErrors, fieldValidationErrors, requiredFields, country, verifiedBusiness, showCompanyStructure, shouldValidate, }: CompanyStructureProps): import("preact").JSX.Element;
|
package/dist/types/components/CompanyType/{component/CompanyTypeComponent.d.ts → CompanyType.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import type { CompanyTypeProps, CompanyTypeSchema } from '
|
|
1
|
+
import './CompanyType.scss';
|
|
2
|
+
import type { CompanyTypeProps, CompanyTypeSchema } from './types';
|
|
3
3
|
export declare const companyTypeFields: Array<keyof CompanyTypeSchema>;
|
|
4
4
|
declare function CompanyTypeComponent(props: CompanyTypeProps): import("preact").JSX.Element;
|
|
5
5
|
export default CompanyTypeComponent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ContactDetailsProps, ContactDetailsSchema } from '
|
|
1
|
+
import type { ContactDetailsProps, ContactDetailsSchema } from './types';
|
|
2
2
|
export declare const contactDetailFields: Array<keyof ContactDetailsSchema>;
|
|
3
3
|
declare function ContactDetailsComponent(props: ContactDetailsProps): import("preact").JSX.Element;
|
|
4
4
|
declare namespace ContactDetailsComponent {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
|
|
2
2
|
import type { CountryCode } from '../../core/models/country-code';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import type { PhoneFieldSchema } from '../internal/PhoneField/types';
|
|
4
|
+
import type { PhoneInputSchema } from '../internal/PhoneInput/types';
|
|
5
|
+
export type ContactDetailsSchema = PhoneFieldSchema & PhoneInputSchema & {
|
|
5
6
|
email?: string;
|
|
6
|
-
}
|
|
7
|
+
};
|
|
7
8
|
export interface ContactDetailsProps extends BaseInnerFormProps<ContactDetailsSchema> {
|
|
8
9
|
country: CountryCode;
|
|
9
10
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
|
|
2
|
+
import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
|
|
3
|
+
import type { Phone } from '../../core/models/api/phone';
|
|
4
|
+
import type { CountryCode } from '../../core/models/country-code';
|
|
5
|
+
import type { DropinAPIHandlers } from '../Dropins/types';
|
|
6
|
+
export interface CustomerSupportSchema {
|
|
7
|
+
customerSupport: {
|
|
8
|
+
phoneNumber?: string;
|
|
9
|
+
phone?: Phone;
|
|
10
|
+
email?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface CustomerSupportProps extends BaseInnerFormProps<CustomerSupportSchema> {
|
|
14
|
+
country: CountryCode;
|
|
15
|
+
legalEntityResponse: ExistingLegalEntity;
|
|
16
|
+
onNavigateBack(): void;
|
|
17
|
+
onSubmit(): void;
|
|
18
|
+
handleUpdateLegalEntity: DropinAPIHandlers['handleUpdateLegalEntity'];
|
|
19
|
+
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { ComponentChildren } from 'preact';
|
|
2
2
|
import type { DropinAPIHandlers } from '../Dropins/types';
|
|
3
|
-
interface DebugWrapperProps {
|
|
3
|
+
export interface DebugWrapperProps {
|
|
4
4
|
rootLegalEntityId: string;
|
|
5
5
|
handleGetLegalEntity: DropinAPIHandlers['handleGetLegalEntity'];
|
|
6
6
|
children?: ComponentChildren;
|
|
7
7
|
}
|
|
8
8
|
export declare const DebugWrapper: ({ rootLegalEntityId, handleGetLegalEntity, children, }: DebugWrapperProps) => import("preact").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import type { DecisionMakersProps } from '
|
|
1
|
+
import './DecisionMakers.scss';
|
|
2
|
+
import type { DecisionMakersProps } from './types';
|
|
3
3
|
declare const DecisionMakersComponent: ({ trackingConfig, parentLegalEntity, legalEntityResponse, capabilityProblems, onNavigateToIndividual, handleUpdateLegalEntity, navigateBackToTaskList, onDecisionMakerDelete, trustedEntityAssociations, }: DecisionMakersProps) => import("preact").JSX.Element;
|
|
4
4
|
export default DecisionMakersComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type BusinessDetailsDropinProps } from '
|
|
1
|
+
import { type BusinessDetailsDropinProps } from './types';
|
|
2
2
|
export declare function BusinessDetailsDropinComponent({ country, problems, legalEntityResponse, isTargetLegalEntityType, parentLegalEntity, trackingConfig, capabilities, taskName, hideDropinLayout, homeButtonLabel, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, handleClearCompanyData, }: BusinessDetailsDropinProps): import("preact").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CompanyDropinProps } from '
|
|
1
|
+
import type { CompanyDropinProps } from './types';
|
|
2
2
|
export declare function CompanyDropinComponent({ country: parentCountry, problems: propProblems, hideDropinLayout, taskName, capabilities, homeButtonLabel, taskType, trackingConfig, associationDetail, parentLegalEntity, legalEntityResponse, onSubmit: onExternalSubmit, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleCreateLegalEntity, handleUpdateLegalEntity, handleHomeClick, onTypeSwitch, onChange, trustedFields, }: CompanyDropinProps): import("preact").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ExistingLegalEntity } from '
|
|
2
|
-
import { TaskTypes } from '
|
|
3
|
-
import type { DropinAPIHandlers } from '
|
|
1
|
+
import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
|
|
2
|
+
import { TaskTypes } from '../../TaskList/types';
|
|
3
|
+
import type { DropinAPIHandlers } from '../types';
|
|
4
4
|
interface UseNavigationOptions {
|
|
5
5
|
legalEntity: ExistingLegalEntity;
|
|
6
6
|
onNavigate?: (task: TaskTypes) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { HighExposureCompanyDetailsProps } from '
|
|
1
|
+
import type { HighExposureCompanyDetailsProps } from './types';
|
|
2
2
|
declare function AdditionalFieldsForHighExposureCompany(props: HighExposureCompanyDetailsProps): import("preact").JSX.Element;
|
|
3
3
|
export default AdditionalFieldsForHighExposureCompany;
|