@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
|
@@ -10,7 +10,115 @@
|
|
|
10
10
|
* Search for it in the url/package above, add the entry below changing
|
|
11
11
|
* the object key and the svg filename.
|
|
12
12
|
*/
|
|
13
|
+
export declare const icons: {
|
|
14
|
+
'arrow-left': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
15
|
+
'arrow-right': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
16
|
+
bank: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
17
|
+
bin: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
18
|
+
check: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
19
|
+
checkmark: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
20
|
+
'checkmark-circle-fill': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
21
|
+
'checkmark-small': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
22
|
+
'chevron-down': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
23
|
+
'chevron-right': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
24
|
+
'chevron-left': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
25
|
+
'chevron-up': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
26
|
+
circle: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
27
|
+
company: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
28
|
+
'company-2': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
29
|
+
contract: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
30
|
+
'controlling-person': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
31
|
+
cross: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
32
|
+
'decision-maker': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
33
|
+
document: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
34
|
+
download: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
35
|
+
edit: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
36
|
+
'field-error': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
37
|
+
hide: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
38
|
+
'info-circle': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
39
|
+
image: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
40
|
+
'light-bulb': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
41
|
+
location: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
42
|
+
'more-horiz': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
43
|
+
'new-document': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
44
|
+
payout: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
45
|
+
pci: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
46
|
+
plus: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
47
|
+
'plus-small': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
48
|
+
remove: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
49
|
+
save: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
50
|
+
search: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
51
|
+
show: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
52
|
+
store: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
53
|
+
trust: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
54
|
+
user: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
55
|
+
'user-business': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
56
|
+
upload: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
57
|
+
'users-3': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
58
|
+
warning: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
59
|
+
webinar: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
60
|
+
};
|
|
61
|
+
export declare const customIcons: {
|
|
62
|
+
review: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
63
|
+
};
|
|
64
|
+
export declare const images: {
|
|
65
|
+
'document-blurred': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
66
|
+
'document-cutoff': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
67
|
+
'document-expired': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
68
|
+
'document-front': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
69
|
+
'us-check': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
70
|
+
'us-check-routing-number': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
71
|
+
'us-check-account-number': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
72
|
+
'id-blurred': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
73
|
+
'id-cutoff': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
74
|
+
'id-front': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
75
|
+
'id-glare': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
76
|
+
'passport-blurred': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
77
|
+
'passport-cutoff': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
78
|
+
'passport-front': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
79
|
+
'passport-glare': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
80
|
+
'instant-verification-method': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
81
|
+
'id-verification-instant': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
82
|
+
'id-verification-manual': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
83
|
+
'payout-verification-instant': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
84
|
+
'payout-verification-manual': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
85
|
+
'singpass-verification-instant': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
86
|
+
'singpass-verification-manual': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
87
|
+
'onfido-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
88
|
+
'tink-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
89
|
+
'singpass-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
90
|
+
'plaid-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
91
|
+
'trustly-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
92
|
+
};
|
|
13
93
|
export declare const svgs: {
|
|
94
|
+
readonly 'document-blurred': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
95
|
+
readonly 'document-cutoff': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
96
|
+
readonly 'document-expired': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
97
|
+
readonly 'document-front': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
98
|
+
readonly 'us-check': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
99
|
+
readonly 'us-check-routing-number': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
100
|
+
readonly 'us-check-account-number': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
101
|
+
readonly 'id-blurred': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
102
|
+
readonly 'id-cutoff': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
103
|
+
readonly 'id-front': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
104
|
+
readonly 'id-glare': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
105
|
+
readonly 'passport-blurred': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
106
|
+
readonly 'passport-cutoff': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
107
|
+
readonly 'passport-front': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
108
|
+
readonly 'passport-glare': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
109
|
+
readonly 'instant-verification-method': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
110
|
+
readonly 'id-verification-instant': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
111
|
+
readonly 'id-verification-manual': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
112
|
+
readonly 'payout-verification-instant': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
113
|
+
readonly 'payout-verification-manual': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
114
|
+
readonly 'singpass-verification-instant': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
115
|
+
readonly 'singpass-verification-manual': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
116
|
+
readonly 'onfido-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
117
|
+
readonly 'tink-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
118
|
+
readonly 'singpass-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
119
|
+
readonly 'plaid-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
120
|
+
readonly 'trustly-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
121
|
+
readonly review: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
14
122
|
readonly 'arrow-left': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
15
123
|
readonly 'arrow-right': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
16
124
|
readonly bank: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
@@ -56,33 +164,6 @@ export declare const svgs: {
|
|
|
56
164
|
readonly upload: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
57
165
|
readonly 'users-3': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
58
166
|
readonly warning: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
59
|
-
readonly
|
|
60
|
-
readonly 'document-cutoff': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
61
|
-
readonly 'document-expired': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
62
|
-
readonly 'document-front': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
63
|
-
readonly 'us-check': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
64
|
-
readonly 'us-check-routing-number': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
65
|
-
readonly 'us-check-account-number': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
66
|
-
readonly 'id-blurred': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
67
|
-
readonly 'id-cutoff': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
68
|
-
readonly 'id-front': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
69
|
-
readonly 'id-glare': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
70
|
-
readonly 'passport-blurred': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
71
|
-
readonly 'passport-cutoff': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
72
|
-
readonly 'passport-front': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
73
|
-
readonly 'passport-glare': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
74
|
-
readonly 'instant-verification-method': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
75
|
-
readonly 'id-verification-instant': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
76
|
-
readonly 'id-verification-manual': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
77
|
-
readonly 'payout-verification-instant': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
78
|
-
readonly 'payout-verification-manual': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
79
|
-
readonly 'singpass-verification-instant': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
80
|
-
readonly 'singpass-verification-manual': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
81
|
-
readonly review: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
82
|
-
readonly 'onfido-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
83
|
-
readonly 'tink-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
84
|
-
readonly 'singpass-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
85
|
-
readonly 'plaid-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
86
|
-
readonly 'trustly-logo': import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
167
|
+
readonly webinar: import("preact").FunctionComponent<import("preact").JSX.SVGAttributes<SVGSVGElement>>;
|
|
87
168
|
};
|
|
88
169
|
export declare const unscalableIconNames: string[];
|
|
@@ -7,12 +7,13 @@ export declare enum ExperimentNames {
|
|
|
7
7
|
EnableNewBusinessDetailsFlow = "EnableNewBusinessDetailsFlow",
|
|
8
8
|
EnableKompanySearchByRegistrationNumber = "EnableKompanySearchByRegistrationNumber",
|
|
9
9
|
EnableNewAddressComponent = "EnableNewAddressComponent",
|
|
10
|
-
|
|
10
|
+
EnableNewPhoneField = "EnableNewPhoneField",
|
|
11
11
|
AllowMoreRolesForMainRootTrustee = "AllowMoreRolesForMainRootTrustee",
|
|
12
12
|
ShowUnsupportedEntityType = "ShowUnsupportedEntityType",
|
|
13
13
|
ShowSingPassButtonForCompanies = "ShowSingPassButtonForCompanies",
|
|
14
14
|
ShowSingPassButtonForIndividuals = "ShowSingPassButtonForIndividuals",
|
|
15
15
|
ShowExtraTaxExemptionReasons = "ShowExtraTaxExemptionReasons",
|
|
16
|
+
EnableEInvoicingCodeField = "EnableEInvoicingCodeField",
|
|
16
17
|
EnableCountryOfGoverningLawForUKCompanies = "EnableCountryOfGoverningLawForUKCompanies",
|
|
17
18
|
HidePayoutAccountTask = "HidePayoutAccountTask",
|
|
18
19
|
HidePciTask = "HidePciTask",
|
|
@@ -27,7 +28,8 @@ export declare enum ExperimentNames {
|
|
|
27
28
|
EnableDoingBusinessAsNameV4 = "EnableDoingBusinessAsNameV4",
|
|
28
29
|
EnablePhoneFieldScenario = "EnablePhoneFieldScenario",
|
|
29
30
|
EnableAUIncorporatedPartnershipSkipRegistrationNumber = "EnableAUIncorporatedPartnershipSkipRegistrationNumber",
|
|
30
|
-
EnableCompanyTrusteeSkipABN = "EnableCompanyTrusteeSkipABN"
|
|
31
|
+
EnableCompanyTrusteeSkipABN = "EnableCompanyTrusteeSkipABN",
|
|
32
|
+
ShowCustomerSupportV4 = "ShowCustomerSupportV4"
|
|
31
33
|
}
|
|
32
34
|
export type ExperimentName = `${ExperimentNames}`;
|
|
33
35
|
export type Experiments = {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BusinessDetailsSchema } from '../../../components/BusinessDetails/types';
|
|
2
2
|
import type { CompanySchema } from '../../../components/Company/types';
|
|
3
|
+
import type { CustomerSupportSchema } from '../../../components/CustomerSupport/types';
|
|
3
4
|
import type { HighExposureSchema } from '../../../components/Dropins/HighExposureDropin/types';
|
|
4
5
|
import type { TrustMemberSchema } from '../../../components/Dropins/RoleAndTypeDropin/types';
|
|
5
6
|
import type { IndividualSchema } from '../../../components/Individual/types';
|
|
@@ -48,7 +49,7 @@ export type StateModel<TLDS extends TopLevelDataSchema = TopLevelDataSchema> = {
|
|
|
48
49
|
prevState?: State<TLDS>;
|
|
49
50
|
};
|
|
50
51
|
};
|
|
51
|
-
export type TopLevelDataSchema = IndividualSchema | BusinessDetailsSchema | CompanySchema | PayoutDetailsSchema | TrustSchema | TrustMemberSchema | SolePropSchema | HighExposureSchema;
|
|
52
|
+
export type TopLevelDataSchema = IndividualSchema | BusinessDetailsSchema | CompanySchema | CustomerSupportSchema | PayoutDetailsSchema | TrustSchema | TrustMemberSchema | SolePropSchema | HighExposureSchema;
|
|
52
53
|
export type AnyFormIdOfTLDS = keyof IndividualSchema | keyof BusinessDetailsSchema | keyof CompanySchema | keyof PayoutDetailsSchema | keyof TrustSchema | keyof TrustMemberSchema | keyof SolePropSchema;
|
|
53
54
|
export interface State<TLDS extends TopLevelDataSchema> {
|
|
54
55
|
data: TLDS;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ComponentMap } from '../../components';
|
|
2
2
|
import type { EventData, EventQueueItem, EventType, UserEventCallback } from '../user-events';
|
|
3
|
+
import type { EmbeddedAnalyticsSessionRequest } from '../models/api/analytics';
|
|
3
4
|
export type UseAnalyticsProps = {
|
|
4
5
|
legalEntityId: string;
|
|
5
6
|
onUserEvent?: UserEventCallback;
|
|
@@ -11,6 +12,6 @@ type EmbeddedEventItem = {
|
|
|
11
12
|
eventName: string;
|
|
12
13
|
eventData: EventData;
|
|
13
14
|
};
|
|
14
|
-
export declare const convertToEmbeddedEvent: (eventQueueItem: EventQueueItem) => EmbeddedEventItem;
|
|
15
|
-
export declare const useAnalytics: ({ onUserEvent, legalEntityId, sdkVersion, componentName, }: UseAnalyticsProps) =>
|
|
15
|
+
export declare const convertToEmbeddedEvent: (eventQueueItem: EventQueueItem, sessionData: EmbeddedAnalyticsSessionRequest) => EmbeddedEventItem & EmbeddedAnalyticsSessionRequest;
|
|
16
|
+
export declare const useAnalytics: ({ onUserEvent, legalEntityId, sdkVersion, componentName, }: UseAnalyticsProps) => void;
|
|
16
17
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ServiceAgreementAcceptanceInfo, ServiceAgreementType } from '../../../components/Dropins/
|
|
1
|
+
import type { ServiceAgreementAcceptanceInfo, ServiceAgreementType } from '../../../components/Dropins/ServiceAgreementDropin/types';
|
|
2
2
|
export interface PciTemplateRequest {
|
|
3
3
|
language: string;
|
|
4
4
|
additionalSalesChannels?: string[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Phone } from './phone';
|
|
2
|
+
/**
|
|
3
|
+
* Represents customer support contact details.
|
|
4
|
+
*
|
|
5
|
+
* This interface defines the ways customers can reach out for questions or concerns.
|
|
6
|
+
* These details may also appear on shopper bank statements.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export interface CustomerSupport {
|
|
10
|
+
phone: Phone;
|
|
11
|
+
email: string;
|
|
12
|
+
}
|
|
@@ -2,8 +2,8 @@ import type { Currency } from '../currency';
|
|
|
2
2
|
export interface FinancialReport {
|
|
3
3
|
currencyOfFinancialData: Currency;
|
|
4
4
|
dateOfFinancialData: string;
|
|
5
|
-
employeeCount:
|
|
6
|
-
balanceSheetTotal?:
|
|
7
|
-
netAssets?:
|
|
8
|
-
annualTurnover?:
|
|
5
|
+
employeeCount: string;
|
|
6
|
+
balanceSheetTotal?: string;
|
|
7
|
+
netAssets?: string;
|
|
8
|
+
annualTurnover?: string;
|
|
9
9
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Address } from './address';
|
|
2
|
+
import type { CustomerSupport } from './customerSupport';
|
|
2
3
|
import type { Phone } from './phone';
|
|
3
4
|
export interface Individual {
|
|
4
5
|
birthData?: {
|
|
@@ -13,6 +14,7 @@ export interface Individual {
|
|
|
13
14
|
cardNumber?: string;
|
|
14
15
|
expiryDate?: string;
|
|
15
16
|
};
|
|
17
|
+
jobTitle?: string;
|
|
16
18
|
name: {
|
|
17
19
|
firstName: string;
|
|
18
20
|
infix?: string;
|
|
@@ -21,5 +23,5 @@ export interface Individual {
|
|
|
21
23
|
nationality?: string;
|
|
22
24
|
phone?: Phone;
|
|
23
25
|
residentialAddress: Address;
|
|
24
|
-
|
|
26
|
+
support?: CustomerSupport;
|
|
25
27
|
}
|
|
@@ -8,6 +8,8 @@ export interface LegalArrangement {
|
|
|
8
8
|
registeredAddress: Address;
|
|
9
9
|
description?: string;
|
|
10
10
|
doingBusinessAs?: string;
|
|
11
|
+
doingBusinessAsAbsent?: string;
|
|
12
|
+
dateOfIncorporation?: string;
|
|
11
13
|
taxInformation?: TaxInformation[];
|
|
12
14
|
taxAbsent?: boolean;
|
|
13
15
|
vatNumber?: string;
|
|
@@ -13,4 +13,9 @@ export interface LegalEntityAssociation {
|
|
|
13
13
|
associatorId?: string;
|
|
14
14
|
settlorExemptionReason?: SettlorExemptionReason[];
|
|
15
15
|
relationship?: LegalRepresentativeRelationshipType;
|
|
16
|
+
nominee?: boolean;
|
|
16
17
|
}
|
|
18
|
+
export type NomineeType = {
|
|
19
|
+
nomineeShareholder?: string;
|
|
20
|
+
nomineeDirector?: string;
|
|
21
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { CountryCode } from '../country-code';
|
|
2
2
|
import type { Address } from './address';
|
|
3
3
|
import type { CompanyTypesValue } from './company-types-value';
|
|
4
|
+
import type { CustomerSupport } from './customerSupport';
|
|
4
5
|
import type { FinancialReport } from './financialReport';
|
|
5
6
|
import type { Phone } from './phone';
|
|
6
7
|
/**
|
|
@@ -12,6 +13,7 @@ export interface Organization {
|
|
|
12
13
|
countryOfGoverningLaw?: CountryCode;
|
|
13
14
|
description?: string;
|
|
14
15
|
doingBusinessAs?: string;
|
|
16
|
+
doingBusinessAsAbsent?: string;
|
|
15
17
|
email?: string;
|
|
16
18
|
headOfficeIndicator?: boolean;
|
|
17
19
|
legalFormDescription?: string;
|
|
@@ -30,9 +32,12 @@ export interface Organization {
|
|
|
30
32
|
financialReports?: FinancialReport[];
|
|
31
33
|
statusOfLegalProceeding?: string;
|
|
32
34
|
dateOfInitiationOfLegalProceeding?: string;
|
|
35
|
+
dateOfIncorporation?: string;
|
|
33
36
|
economicSector?: string;
|
|
34
37
|
legalForm?: string;
|
|
35
38
|
globalLegalEntityIdentifier?: string;
|
|
39
|
+
eInvoicingCode?: string;
|
|
40
|
+
support?: CustomerSupport;
|
|
36
41
|
}
|
|
37
42
|
export declare enum VatAbsenceReason {
|
|
38
43
|
IndustryExemption = "industryExemption",
|
|
@@ -13,7 +13,8 @@ export declare const companyBase: {
|
|
|
13
13
|
export declare const businessDetailsBase: {
|
|
14
14
|
[key: string]: ScenarioFieldSettings;
|
|
15
15
|
};
|
|
16
|
-
export declare const
|
|
16
|
+
export declare const companyTypeMetadata: Partial<Record<CompanyTypesValue, CompanyTypeModel>>;
|
|
17
|
+
export declare const companyTypeOptions: CompanyTypesValue[];
|
|
17
18
|
export declare const fieldsPerScenario: ScenarioFields<typeof companyBase>;
|
|
18
19
|
export declare const businessDetailsFieldsPerScenario: ScenarioFields<typeof businessDetailsBase>;
|
|
19
20
|
export declare const countryConfig: CountryConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AdditionalIdentityInfoSchema } from '../../components/PersonalDetails/
|
|
1
|
+
import type { AdditionalIdentityInfoSchema } from '../../components/PersonalDetails/Identity/types';
|
|
2
2
|
import type { ScenarioFieldSettings } from './scenario-fields';
|
|
3
3
|
export declare const identityBase: {
|
|
4
4
|
[key: string]: ScenarioFieldSettings;
|
|
@@ -17,9 +17,9 @@ export declare const phoneNumberBase: {
|
|
|
17
17
|
[key: string]: ScenarioFieldSettings;
|
|
18
18
|
};
|
|
19
19
|
export declare const fieldsPerScenario: {
|
|
20
|
-
L0: {
|
|
20
|
+
L0: Omit<{
|
|
21
21
|
[key: string]: ScenarioFieldSettings<unknown>;
|
|
22
|
-
}
|
|
22
|
+
}, "address" | "birthDate">;
|
|
23
23
|
L1: {
|
|
24
24
|
[key: string]: ScenarioFieldSettings<unknown>;
|
|
25
25
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TaskTypes } from '../components/TaskList/types';
|
|
2
|
+
import type { TopLevelDataSchema } from './Context/StateContext/types';
|
|
2
3
|
import type { LegalEntity } from './models/api/legal-entity';
|
|
3
4
|
import type { LegalEntityType } from './models/api/legal-entity-type';
|
|
4
5
|
type BaseTrackingPayloadParams = {
|
|
@@ -21,10 +22,15 @@ export type BaseTrackingPayload = {
|
|
|
21
22
|
};
|
|
22
23
|
export declare function getBaseTrackingPayload({ trackingConfig, parentLegalEntity, legalEntity, task, }: BaseTrackingPayloadParams): BaseTrackingPayload;
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
25
|
+
* Set fields on the schema which have been removed to the appropriate "deleted" value.
|
|
26
|
+
*
|
|
27
|
+
* E.g. removed `string` fields are set to `""`, removed `number`s to `null`.
|
|
28
|
+
*
|
|
29
|
+
* Doesn't mutate the original object.
|
|
30
|
+
*
|
|
31
|
+
* @param newData - actual form data submitted from the frontend
|
|
32
|
+
* @param existingData - `Schema`-fied version of the existing LE data we got from the BE
|
|
27
33
|
* @returns filtered data
|
|
28
34
|
*/
|
|
29
|
-
export declare const
|
|
35
|
+
export declare const setRemovedFieldsOnSchemaToDeletedValue: <Schema extends TopLevelDataSchema>(newData: Schema, existingData: Schema) => Schema;
|
|
30
36
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DropinAPIHandlers } from '../../components/Dropins/types';
|
|
2
|
+
import type { Attachment } from '../../core/models/api/attachment';
|
|
2
3
|
import type { Document, DocumentEntityType, DocumentType, ExistingDocument } from '../../core/models/api/document';
|
|
3
4
|
import type { FileSchema } from '../../core/models/file';
|
|
4
5
|
export type DocumentApiUtils = {
|
|
@@ -20,4 +21,14 @@ export interface CreateDocumentRequestProps {
|
|
|
20
21
|
}
|
|
21
22
|
export declare const createDocumentRequest: ({ entityId, entityType, documentType, page1, page2, description, existingDocument, }: CreateDocumentRequestProps) => Promise<Document | undefined>;
|
|
22
23
|
export declare const getFileExtention: (fileName: string) => string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Merges existing attachments from API with newly added attachments in UI
|
|
26
|
+
* making sure new ones override only corresponding ones based on pageType (front<->front)
|
|
27
|
+
* Eg: user selects new front of ID, we keep the back already saved in DB, override front
|
|
28
|
+
*
|
|
29
|
+
* @param existing Attachments copied from API response
|
|
30
|
+
* @param incoming New attachments
|
|
31
|
+
* @returns merged attachments with deduped pageTypes
|
|
32
|
+
*/
|
|
33
|
+
export declare const mergeAttachments: (existing: Attachment[], incoming: Attachment[]) => Attachment[];
|
|
23
34
|
export default documentApiUtils;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { AccountHolderOption } from '../components/internal/AccountHolder/types';
|
|
2
|
+
import type { PersonalDetailsSchema } from '../components/PersonalDetails/types';
|
|
2
3
|
import { TaskTypes } from '../components/TaskList/types';
|
|
3
4
|
import type { ExistingLegalEntity, LegalEntity } from '../core/models/api/legal-entity';
|
|
4
|
-
import type { LegalEntityAssociation } from '../core/models/api/legal-entity-association';
|
|
5
|
+
import type { LegalEntityAssociation, NomineeType } from '../core/models/api/legal-entity-association';
|
|
5
6
|
import { LegalEntityType } from '../core/models/api/legal-entity-type';
|
|
7
|
+
import { CountryCodes } from '../core/models/country-code';
|
|
6
8
|
import type { CapabilityProblems } from '../core/models/errors/capability-problems';
|
|
7
9
|
import type { EntityProblems } from '../core/models/errors/entity-problems';
|
|
8
10
|
/**
|
|
@@ -22,3 +24,7 @@ export declare const removeEntityAssociationByType: (type: LegalEntityType, enti
|
|
|
22
24
|
export declare const isRootLegalEntity: (legalEntity: LegalEntity, taskType: TaskTypes) => boolean;
|
|
23
25
|
export declare const filterOutUnwantedAssociationsIfRootLE: (taskType: TaskTypes, legalEntity: ExistingLegalEntity | undefined, accountHolder: AccountHolderOption | undefined) => LegalEntityAssociation[] | undefined;
|
|
24
26
|
export declare const getLegalRepresentative: (legalEntityResponse: ExistingLegalEntity) => LegalEntityAssociation;
|
|
27
|
+
export declare const allowedCountriesForNominee: CountryCodes[];
|
|
28
|
+
export declare const attachNomineeToRole: (existingEntityAssociation: LegalEntityAssociation, country: CountryCodes, nominee?: NomineeType) => LegalEntityAssociation;
|
|
29
|
+
export declare const getNomineeFromAssociation: (entityAssociations: LegalEntityAssociation[], personalDetails?: PersonalDetailsSchema) => PersonalDetailsSchema | undefined;
|
|
30
|
+
export declare const hasNomineesChanged: (personalDetails?: PersonalDetailsSchema, nomineesSubmitted?: NomineeType) => boolean;
|
|
@@ -23,8 +23,8 @@ export declare const pick: (...propertiesToKeep: (string | number | symbol)[]) =
|
|
|
23
23
|
* @example const strippedObj = drop('permittedLengths', 'pattern', 'startingRules').from(cardObject);
|
|
24
24
|
* @example const strippedObj = drop(['permittedLengths', 'pattern', 'startingRules']).from(cardObject);
|
|
25
25
|
*/
|
|
26
|
-
export declare const drop: (...propertiesToDrop:
|
|
27
|
-
from: <T extends
|
|
26
|
+
export declare const drop: <Property extends string>(...propertiesToDrop: Property[]) => {
|
|
27
|
+
from: <T extends Partial<Record<Property, any>>>(obj: T) => Omit<T, Property>;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Compares 2 arrays of (primitive) values to see if they are the same
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param dateString - A date in string format
|
|
4
|
+
* @param locale - A string depicting the locale
|
|
5
|
+
* @returns A localized date
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* localizeDateString('1970-01-01', 'en-US')
|
|
9
|
+
* // 'January 01, 1970'
|
|
10
|
+
*/
|
|
11
|
+
export declare const localizeDateString: (dateString: string, locale: string) => string | undefined;
|
|
@@ -4,6 +4,6 @@ import type { OrganizationType } from '../../../core/models/api/organization-typ
|
|
|
4
4
|
* This is a mapping from our Adyen internal organization type values in KYC to our SDK and LEM company type values
|
|
5
5
|
*
|
|
6
6
|
* @param organizationType - Organization type value from KYC
|
|
7
|
-
* @returns CompanyTypesValue
|
|
7
|
+
* @returns CompanyTypesValue
|
|
8
8
|
*/
|
|
9
|
-
export declare const mapOrganizationTypeToCompanyType: (organizationType: OrganizationType | undefined | null) => CompanyTypesValue
|
|
9
|
+
export declare const mapOrganizationTypeToCompanyType: (organizationType: OrganizationType | undefined | null) => CompanyTypesValue;
|