@adyen/kyc-components 1.6.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -50
- package/dist/es/adyen-kyc-components.es.js +26368 -0
- package/dist/es/package.json +3 -0
- package/dist/mockServiceWorker.js +302 -0
- package/dist/style.css +97917 -0
- package/dist/types/components/AutoResizer.d.ts +6 -0
- package/dist/types/components/BankVerification/BankVerification.d.ts +1 -1
- package/dist/types/components/BankVerification/types.d.ts +12 -4
- package/dist/types/components/BankVerification/verification/widget/component/BankVerificationWidget.d.ts +8 -8
- package/dist/types/components/BankVerification/verification/widget/iframeWidget.d.ts +12 -5
- package/dist/types/components/BaseElement.d.ts +12 -33
- package/dist/types/components/Company/component/CompanyComponent.d.ts +1 -1
- package/dist/types/components/Company/labels.d.ts +3 -2
- package/dist/types/components/Company/rules.d.ts +7 -1
- package/dist/types/components/Company/types.d.ts +17 -16
- package/dist/types/components/CompanyDetails/component/CompanyDetailsComponent.d.ts +1 -1
- package/dist/types/components/CompanyDetails/types.d.ts +6 -5
- package/dist/types/components/CompanyDetails/validate.d.ts +1 -1
- package/dist/types/components/CompanyNameAndCountry/types.d.ts +5 -3
- package/dist/types/components/CompanyNameAndCountry/validate.d.ts +1 -1
- package/dist/types/components/CompanyType/component/CompanyTypeComponent.d.ts +1 -1
- package/dist/types/components/CompanyType/types.d.ts +6 -4
- package/dist/types/components/CompanyType/validate.d.ts +1 -1
- package/dist/types/components/ConstitutionalDocument/ConstitutionalDocumentComponent.d.ts +7 -11
- package/dist/types/components/ConstitutionalDocument/types.d.ts +1 -1
- package/dist/types/components/ContactDetails/types.d.ts +3 -2
- package/dist/types/components/ContactDetails/validate.d.ts +1 -1
- package/dist/types/components/DecisionMakers/component/DecisionMakersComponent.d.ts +2 -3
- package/dist/types/components/DecisionMakers/types.d.ts +4 -4
- package/dist/types/components/DocumentUpload/types.d.ts +5 -5
- package/dist/types/components/Dropins/CompanyDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/DropinLayout/ActionBar/ActionBar.d.ts +1 -1
- package/dist/types/components/Dropins/DropinLayout/ActionBar/type.d.ts +1 -1
- package/dist/types/components/Dropins/FormComposer/FormComposer.d.ts +20 -21
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/FormNavigation.d.ts +1 -1
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/components/FormNavigationItem/FormNavigationItem.d.ts +1 -1
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/types.d.ts +7 -7
- package/dist/types/components/Dropins/FormComposer/types.d.ts +2 -2
- package/dist/types/components/Dropins/IndividualDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/PayoutDetailsDropin/components/PayoutDetailsDropinComponent.d.ts +2 -2
- package/dist/types/components/Dropins/PciDropin/components/PciDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/PciDropin/types.d.ts +1 -1
- package/dist/types/components/Dropins/PciDropin/validate.d.ts +3 -0
- package/dist/types/components/Dropins/RoleAndTypeDropin/components/RoleAndTypeComponent.d.ts +0 -2
- package/dist/types/components/Dropins/RoleAndTypeDropin/types.d.ts +13 -4
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/components/ServiceAgreementDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/components/useServiceAgreement.d.ts +22 -0
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/types.d.ts +16 -5
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/validate.d.ts +3 -0
- package/dist/types/components/Dropins/SolePropDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/TrustDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/types.d.ts +30 -19
- package/dist/types/components/EventEmitter.d.ts +17 -4
- package/dist/types/components/IdDocumentUpload/component/IdDocumentAlreadyUpload.d.ts +3 -0
- package/dist/types/components/IdDocumentUpload/component/IdDocumentInstantVerificationComponent.d.ts +5 -0
- package/dist/types/components/IdDocumentUpload/component/IdDocumentManualUpload.d.ts +6 -0
- package/dist/types/components/IdDocumentUpload/component/IdDocumentUploadComponent.d.ts +2 -4
- package/dist/types/components/IdDocumentUpload/types.d.ts +22 -19
- package/dist/types/components/IdVerification/component/IdVerificationComponent.d.ts +1 -2
- package/dist/types/components/IdVerification/types.d.ts +4 -16
- package/dist/types/components/IdVerificationMethod/IdVerificationMethodComponent.d.ts +3 -2
- package/dist/types/components/IdVerificationMethod/idVerificationMethodMetadata.d.ts +14 -0
- package/dist/types/components/IdVerificationMethod/types.d.ts +7 -3
- package/dist/types/components/IdentityAu/additionalIdentityInfoSchema.d.ts +2 -2
- package/dist/types/components/IdentityAu/component/DriversLicense.d.ts +3 -3
- package/dist/types/components/IdentityAu/component/IdentityAuComponent.d.ts +1 -1
- package/dist/types/components/IdentityAu/component/PassportNumber.d.ts +3 -3
- package/dist/types/components/IdentityAu/component/ProofOfIdentityCard.d.ts +2 -2
- package/dist/types/components/IdentityAu/component/TypeOfIdentity.d.ts +5 -5
- package/dist/types/components/IdentityAu/types.d.ts +10 -0
- package/dist/types/components/IdentityAu/validate.d.ts +2 -2
- package/dist/types/components/IdentityNumber/component/IdentityNumberComponent.d.ts +2 -3
- package/dist/types/components/IdentityNumber/formats.d.ts +9 -6
- package/dist/types/components/IdentityNumber/type.d.ts +7 -7
- package/dist/types/components/IdentityNumber/validate.d.ts +17 -6
- package/dist/types/components/Individual/component/IndividualComponent.d.ts +1 -1
- package/dist/types/components/Individual/rules.d.ts +6 -4
- package/dist/types/components/Individual/types.d.ts +18 -20
- package/dist/types/components/LegalEntityTypeSwitcher/LegalEntityTypeSwitcher.d.ts +1 -1
- package/dist/types/components/PayoutAccount/types.d.ts +12 -10
- package/dist/types/components/PayoutBankStatement/component/BankDocumentRequirements.d.ts +7 -0
- package/dist/types/components/PayoutBankStatement/types.d.ts +15 -5
- package/dist/types/components/PayoutDetails/component/PayoutDetailsComponent.d.ts +24 -2
- package/dist/types/components/PayoutDetails/rules.d.ts +6 -5
- package/dist/types/components/PayoutDetails/types.d.ts +22 -17
- package/dist/types/components/PayoutVerificationMethod/allowedBankCountriesPerCountry.d.ts +2 -0
- package/dist/types/components/PayoutVerificationMethod/component/PayoutVerificationMethod.d.ts +3 -3
- package/dist/types/components/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +14 -0
- package/dist/types/components/PayoutVerificationMethod/types.d.ts +14 -11
- package/dist/types/components/PersonalDetails/types.d.ts +16 -10
- package/dist/types/components/PersonalDetails/validate.d.ts +1 -1
- package/dist/types/components/ProofOfResidency/ProofOfResidencyComponent.d.ts +2 -2
- package/dist/types/components/ProofOfResidency/types.d.ts +4 -0
- package/dist/types/components/RegistrationAddress/component/RegistrationAddressComponent.d.ts +1 -1
- package/dist/types/components/RegistrationAddress/types.d.ts +12 -10
- package/dist/types/components/RegistrationAddress/validate.d.ts +1 -1
- package/dist/types/components/Review/component/ReviewComponent.d.ts +3 -0
- package/dist/types/components/Review/types.d.ts +6 -0
- package/dist/types/components/SoleProp/labels.d.ts +5 -0
- package/dist/types/components/SoleProp/types.d.ts +16 -13
- package/dist/types/components/TaskList/component/PayoutAccountTaskListItem.d.ts +11 -0
- package/dist/types/components/TaskList/component/TaskListComponent.d.ts +1 -1
- package/dist/types/components/TaskList/component/TaskListGroup.d.ts +1 -1
- package/dist/types/components/TaskList/component/TaskListItem.d.ts +3 -2
- package/dist/types/components/TaskList/types.d.ts +52 -41
- package/dist/types/components/Trust/component/TrustComponent.d.ts +2 -1
- package/dist/types/components/Trust/types.d.ts +15 -10
- package/dist/types/components/TrustMembers/component/TrustMembersComponent.d.ts +2 -3
- package/dist/types/components/TrustMembers/component/UndefinedBeneficiaries.d.ts +8 -0
- package/dist/types/components/TrustMembers/types.d.ts +9 -6
- package/dist/types/components/TrustRegistrationDetails/types.d.ts +6 -6
- package/dist/types/components/TrustRegistrationDetails/validate.d.ts +1 -1
- package/dist/types/components/TrustRoleAndEntityType/getAvailableRoles.d.ts +2 -0
- package/dist/types/components/TrustRoleAndEntityType/types.d.ts +9 -13
- package/dist/types/components/TrustRoleAndEntityType/validate.d.ts +1 -1
- package/dist/types/components/UIElement.d.ts +17 -32
- package/dist/types/components/identityUS/component/IdentityUSComponent.d.ts +1 -2
- package/dist/types/components/index.d.ts +24 -23
- package/dist/types/components/internal/Accordion/Accordion.d.ts +2 -2
- package/dist/types/components/internal/Accordion/types.d.ts +4 -4
- package/dist/types/components/internal/AccordionItem/AccordionItem.d.ts +2 -2
- package/dist/types/components/internal/AccountHolder/index.d.ts +1 -1
- package/dist/types/components/internal/AccountHolder/types.d.ts +5 -11
- package/dist/types/components/internal/AccountHolder/validate.d.ts +1 -1
- package/dist/types/components/internal/Address/Address.d.ts +3 -4
- package/dist/types/components/internal/Address/components/CountryField.d.ts +1 -2
- package/dist/types/components/internal/Address/components/FieldContainer.d.ts +1 -2
- package/dist/types/components/internal/Address/components/SearchAddress.d.ts +2 -1
- package/dist/types/components/internal/Address/components/StateField.d.ts +1 -1
- package/dist/types/components/internal/Address/constants.d.ts +3 -2
- package/dist/types/components/internal/Address/types.d.ts +42 -27
- package/dist/types/components/internal/Address/utils.d.ts +6 -4
- package/dist/types/components/internal/Address/validate.d.ts +1 -1
- package/dist/types/components/internal/Address/validate.formats.d.ts +1 -1
- package/dist/types/components/internal/Alert/Alert.d.ts +1 -1
- package/dist/types/components/internal/Alert/types.d.ts +1 -1
- package/dist/types/components/internal/BankAccountFormat/BankAccountFormat.d.ts +2 -0
- package/dist/types/components/internal/BankAccountFormat/types.d.ts +5 -0
- package/dist/types/components/internal/BankAccountNumber/index.d.ts +1 -1
- package/dist/types/components/internal/BankAccountNumber/types.d.ts +2 -2
- package/dist/types/components/internal/BankCity/index.d.ts +1 -1
- package/dist/types/components/internal/BankCity/types.d.ts +2 -2
- package/dist/types/components/internal/BankCode/index.d.ts +1 -1
- package/dist/types/components/internal/BankCode/types.d.ts +2 -2
- package/dist/types/components/internal/BankName/index.d.ts +1 -1
- package/dist/types/components/internal/BankName/types.d.ts +2 -2
- package/dist/types/components/internal/BranchCode/index.d.ts +1 -1
- package/dist/types/components/internal/BranchCode/types.d.ts +2 -2
- package/dist/types/components/internal/BusinessRegistrationNumber/formatters.d.ts +4 -0
- package/dist/types/components/internal/BusinessRegistrationNumber/index.d.ts +1 -1
- package/dist/types/components/internal/BusinessRegistrationNumber/types.d.ts +7 -6
- package/dist/types/components/internal/BusinessRegistrationNumber/validate.d.ts +16 -11
- package/dist/types/components/internal/Button/Button.d.ts +3 -14
- package/dist/types/components/internal/Button/types.d.ts +6 -6
- package/dist/types/components/internal/Card/Card.d.ts +3 -2
- package/dist/types/components/internal/Card/CardGroup.d.ts +1 -1
- package/dist/types/components/internal/Card/types.d.ts +2 -2
- package/dist/types/components/internal/CollapsibleContainer/CollapsibleContainer.d.ts +2 -2
- package/dist/types/components/internal/ContextGuidance/ContextGuidance.d.ts +1 -1
- package/dist/types/components/internal/ContextGuidance/types.d.ts +3 -3
- package/dist/types/components/internal/ContextHelper/ContextHelper.d.ts +6 -0
- package/dist/types/components/internal/ContractViewer/ContractViewer.d.ts +2 -2
- package/dist/types/components/internal/ContractViewer/components/ContentElements/ContentElements.d.ts +1 -1
- package/dist/types/components/internal/ContractViewer/components/InternalReference/InternalReference.d.ts +1 -1
- package/dist/types/components/internal/ContractViewer/components/Paragraph/Paragraph.d.ts +1 -1
- package/dist/types/components/internal/ContractViewer/components/Section/Section.d.ts +1 -1
- package/dist/types/components/internal/ContractViewer/components/Table/Table.d.ts +1 -1
- package/dist/types/components/internal/ContractViewer/components/Text/Text.d.ts +1 -1
- package/dist/types/components/internal/ContractViewer/types.d.ts +27 -24
- package/dist/types/components/internal/Currency/Currency.d.ts +1 -1
- package/dist/types/components/internal/Currency/index.d.ts +1 -1
- package/dist/types/components/internal/Currency/types.d.ts +6 -7
- package/dist/types/components/internal/DecisionMakerRole/DecisionMakerRoleComponent.d.ts +3 -0
- package/dist/types/components/internal/DecisionMakerRole/index.d.ts +2 -0
- package/dist/types/components/internal/DecisionMakerRole/types.d.ts +10 -0
- package/dist/types/components/internal/DecisionMakerRole/validate.d.ts +3 -0
- package/dist/types/components/internal/Disclaimer/Disclaimer.d.ts +1 -1
- package/dist/types/components/internal/EntityAssociation/EntityAssociation.d.ts +2 -1
- package/dist/types/components/internal/EntityAssociation/types.d.ts +5 -4
- package/dist/types/components/internal/EntityGuidanceStatus/component/EntityGuidanceLegend.d.ts +3 -0
- package/dist/types/components/internal/EntityGuidanceStatus/component/EntityGuidanceStatus.d.ts +4 -0
- package/dist/types/components/internal/EntityGuidanceStatus/component/EntityStatusIcon.d.ts +3 -0
- package/dist/types/components/internal/EntityGuidanceStatus/index.d.ts +3 -0
- package/dist/types/components/internal/EntityGuidanceStatus/types.d.ts +14 -0
- package/dist/types/components/internal/ErrorPanel/ErrorPanel.d.ts +1 -1
- package/dist/types/components/internal/ErrorPanel/components/ServerValidationErrors.d.ts +1 -2
- package/dist/types/components/internal/ErrorPanel/components/VerificationErrors.d.ts +1 -2
- package/dist/types/components/internal/ErrorPanel/types.d.ts +7 -13
- package/dist/types/components/internal/FormFields/Checkbox/Checkbox.d.ts +7 -11
- package/dist/types/components/internal/FormFields/Dropzone/Dropzone.d.ts +1 -15
- package/dist/types/components/internal/FormFields/Dropzone/FilePicker.d.ts +14 -0
- package/dist/types/components/internal/FormFields/Dropzone/types.d.ts +4 -6
- package/dist/types/components/internal/FormFields/Dropzone/validate.d.ts +9 -3
- package/dist/types/components/internal/FormFields/Field/Field.d.ts +9 -39
- package/dist/types/components/internal/FormFields/Field/types.d.ts +21 -17
- package/dist/types/components/internal/FormFields/InputBase.d.ts +2 -2
- package/dist/types/components/internal/FormFields/InputDate/InputDate.d.ts +5 -3
- package/dist/types/components/internal/FormFields/InputDate/utils.d.ts +1 -1
- package/dist/types/components/internal/FormFields/InputRadio/InputRadio.d.ts +4 -1
- package/dist/types/components/internal/FormFields/MultiSelectList/MultiSelectList.d.ts +9 -0
- package/dist/types/components/internal/FormFields/MultiSelectList/index.d.ts +1 -0
- package/dist/types/components/internal/FormFields/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioCard.d.ts +2 -2
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioCardSelect.d.ts +22 -0
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioGroupCard.d.ts +1 -8
- package/dist/types/components/internal/FormFields/RadioGroupCard/index.d.ts +3 -1
- package/dist/types/components/internal/FormFields/RadioGroupCard/types.d.ts +23 -15
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +3 -2
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +19 -22
- package/dist/types/components/internal/FormHeader/FormHeader.d.ts +1 -1
- package/dist/types/components/internal/Heading/Heading.d.ts +6 -4
- package/dist/types/components/internal/Iban/ibanValidator.d.ts +4 -1
- package/dist/types/components/internal/Iban/types.d.ts +4 -4
- package/dist/types/components/internal/Icon/Icon.d.ts +2 -1
- package/dist/types/components/internal/LegalCompanyName/types.d.ts +5 -2
- package/dist/types/components/internal/LegalCompanyName/validate.d.ts +1 -1
- package/dist/types/components/internal/Link/Link.d.ts +1 -2
- package/dist/types/components/internal/Link/types.d.ts +3 -1
- package/dist/types/components/internal/Loader/Loader.d.ts +1 -1
- package/dist/types/components/internal/Loader/index.d.ts +1 -1
- package/dist/types/components/internal/LoaderWrapper/LoaderWrapper.d.ts +3 -2
- package/dist/types/components/internal/LoaderWrapper/constants.d.ts +1 -6
- package/dist/types/components/internal/Menu/ActionsMenu.d.ts +14 -0
- package/dist/types/components/internal/Name/types.d.ts +2 -2
- package/dist/types/components/internal/Name/validate.d.ts +1 -1
- package/dist/types/components/internal/PhoneInput/types.d.ts +6 -6
- package/dist/types/components/internal/PhoneInput/validate.d.ts +6 -2
- package/dist/types/components/internal/Status/Status.d.ts +1 -1
- package/dist/types/components/internal/Summary/Summary.d.ts +5 -3
- package/dist/types/components/internal/Summary/types.d.ts +6 -8
- package/dist/types/components/internal/SwiftCode/types.d.ts +2 -2
- package/dist/types/components/internal/Tag/Tag.d.ts +1 -1
- package/dist/types/components/internal/TaxId/types.d.ts +4 -4
- package/dist/types/components/internal/TaxId/validate.d.ts +1 -1
- package/dist/types/components/internal/Toast/Toast.d.ts +2 -8
- package/dist/types/components/internal/Toast/index.d.ts +2 -1
- package/dist/types/components/internal/Toast/types.d.ts +6 -4
- package/dist/types/components/internal/VatNumber/types.d.ts +9 -15
- package/dist/types/components/internal/VatNumber/validate.d.ts +1 -1
- package/dist/types/components/internal/VatNumber/vatNumberValidation.d.ts +2 -1
- package/dist/types/core/Context/CoreContext.d.ts +14 -13
- package/dist/types/core/Context/CoreProvider.d.ts +18 -29
- package/dist/types/core/Context/ExperimentContext/ExperimentsContext.d.ts +2 -0
- package/dist/types/core/Context/ExperimentContext/ExperimentsContextProvider.d.ts +8 -0
- package/dist/types/core/Context/ExperimentContext/types.d.ts +12 -0
- package/dist/types/core/Context/ExperimentContext/useExperimentsContext.d.ts +1 -0
- package/dist/types/core/Context/FormRouterContext/FormRouterContext.d.ts +4 -1
- package/dist/types/core/Context/FormRouterContext/FormRouterContextProvider.d.ts +1 -2
- package/dist/types/core/Context/FormRouterContext/types.d.ts +4 -2
- package/dist/types/core/Context/FormRouterContext/useFormRouterContext.d.ts +4 -2
- package/dist/types/core/Context/SettingsContext/SettingsContext.d.ts +2 -4
- package/dist/types/core/Context/SettingsContext/SettingsContextProvider.d.ts +7 -2
- package/dist/types/core/Context/SettingsContext/types.d.ts +5 -2
- package/dist/types/core/Context/SettingsContext/useSettingsContext.d.ts +1 -4
- package/dist/types/core/Context/StateContext/StateContext.d.ts +1 -1
- package/dist/types/core/Context/StateContext/StateProvider.d.ts +1 -2
- package/dist/types/core/Context/StateContext/StateReducer.d.ts +1 -1
- package/dist/types/core/Context/StateContext/types.d.ts +14 -9
- package/dist/types/core/Context/StateContext/useGlobalData.d.ts +8 -0
- package/dist/types/core/Context/StateContext/useStateContext.d.ts +1 -2
- package/dist/types/core/Context/ToastContext/ToastContext.d.ts +6 -1
- package/dist/types/core/Context/ToastContext/ToastContextProvider.d.ts +3 -3
- package/dist/types/core/Context/ToastContext/useToastContext.d.ts +2 -2
- package/dist/types/core/Context/useCoreContext.d.ts +1 -18
- package/dist/types/core/SDKValidation/index.d.ts +3 -4
- package/dist/types/core/SDKValidation/types.d.ts +17 -12
- package/dist/types/core/Services/get-account-format.d.ts +4 -0
- package/dist/types/core/Services/get-allowed-countries.d.ts +3 -0
- package/dist/types/core/Services/get-allowed-locales.d.ts +3 -0
- package/dist/types/core/Services/get-configuration.d.ts +3 -0
- package/dist/types/core/Services/get-dataset.d.ts +2 -1
- package/dist/types/core/Services/get-images.d.ts +2 -3
- package/dist/types/core/Services/http.d.ts +4 -16
- package/dist/types/core/Services/types.d.ts +16 -0
- package/dist/types/core/Services/utils.d.ts +5 -0
- package/dist/types/core/Services/validate-phone-number.d.ts +3 -0
- package/dist/types/core/Services/verify-id-number.d.ts +3 -2
- package/dist/types/core/constants.d.ts +8 -7
- package/dist/types/core/core.d.ts +9 -32
- package/dist/types/core/error.d.ts +1 -1
- package/dist/types/core/errorMapping.d.ts +2 -1
- package/dist/types/core/hooks/useAsyncValidator.d.ts +11 -0
- package/dist/types/core/hooks/useClickAwayListener.d.ts +9 -0
- package/dist/types/core/hooks/useForm/index.d.ts +3 -0
- package/dist/types/core/hooks/useForm/reducer.d.ts +6 -0
- package/dist/types/{utils → core/hooks}/useForm/types.d.ts +60 -30
- package/dist/types/core/hooks/useForm/useForm.d.ts +13 -0
- package/dist/types/core/hooks/useIdVerificationToken.d.ts +11 -0
- package/dist/types/core/hooks/useKycExternalApi.d.ts +23 -0
- package/dist/types/core/hooks/useScenarioConfiguration.d.ts +25 -0
- package/dist/types/core/models/api/address-search.d.ts +28 -0
- package/dist/types/core/models/api/address.d.ts +3 -12
- package/dist/types/core/models/api/attachment.d.ts +1 -1
- package/dist/types/core/models/api/capability.d.ts +23 -2
- package/dist/types/core/models/api/contracts.d.ts +11 -32
- package/dist/types/core/models/api/data-set.d.ts +1 -1
- package/dist/types/core/models/api/document.d.ts +8 -4
- package/dist/types/core/models/api/documentDetail.d.ts +9 -0
- package/dist/types/core/models/api/entity-type.d.ts +1 -2
- package/dist/types/core/models/api/get-account-format.d.ts +5 -0
- package/dist/types/core/models/api/get-allowed-countries.d.ts +4 -0
- package/dist/types/core/models/api/get-allowed-locales.d.ts +3 -0
- package/dist/types/core/models/api/get-configuration.d.ts +62 -0
- package/dist/types/core/models/api/individual.d.ts +3 -3
- package/dist/types/core/models/api/instant-id-verification.d.ts +7 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +3 -3
- package/dist/types/core/models/api/legal-entity.d.ts +19 -14
- package/dist/types/core/models/api/organization.d.ts +6 -6
- package/dist/types/core/models/api/phone.d.ts +1 -1
- package/dist/types/core/models/api/problem.d.ts +1 -1
- package/dist/types/core/models/api/review.d.ts +3 -0
- package/dist/types/core/models/api/soleProprietor.d.ts +3 -3
- package/dist/types/core/models/api/transfer-instrument.d.ts +30 -18
- package/dist/types/core/models/api/trust-member-type.d.ts +5 -4
- package/dist/types/core/models/api/trust.d.ts +15 -9
- package/dist/types/core/models/api/verification-error.d.ts +12 -10
- package/dist/types/core/models/api/verify-id-number.d.ts +14 -0
- package/dist/types/core/models/company.d.ts +5 -4
- package/dist/types/core/models/country-code.d.ts +249 -0
- package/dist/types/core/models/country-config.d.ts +4 -5
- package/dist/types/core/models/decision-maker.d.ts +6 -2
- package/dist/types/core/models/errors/capability-problems.d.ts +1 -1
- package/dist/types/core/models/errors/entity-problems.d.ts +7 -3
- package/dist/types/core/models/errors/error-message.d.ts +2 -2
- package/dist/types/core/models/errors/field-errors.d.ts +1 -1
- package/dist/types/core/models/errors/form-verification-errors.d.ts +2 -2
- package/dist/types/core/models/errors/maintenance-mode-error.d.ts +7 -0
- package/dist/types/core/models/errors/remediation-action-context.d.ts +1 -1
- package/dist/types/core/models/errors/remediation.d.ts +2 -2
- package/dist/types/core/models/errors/validation-error.d.ts +5 -0
- package/dist/types/core/models/field-configurations.d.ts +3 -3
- package/dist/types/core/models/form-labels.d.ts +1 -1
- package/dist/types/core/models/form-rules.d.ts +8 -10
- package/dist/types/core/models/form.d.ts +3 -5
- package/dist/types/core/models/id-verification-status.d.ts +3 -3
- package/dist/types/core/models/identity.d.ts +2 -2
- package/dist/types/core/models/payout-account.d.ts +7 -3
- package/dist/types/core/models/scenario-fields.d.ts +5 -4
- package/dist/types/core/models/sole-prop.d.ts +1 -1
- package/dist/types/core/models/trust.d.ts +19 -1
- package/dist/types/core/process-field-configurations.d.ts +6 -6
- package/dist/types/core/types.d.ts +4 -3
- package/dist/types/core/user-events.d.ts +5 -8
- package/dist/types/core/utils.d.ts +5 -5
- package/dist/types/index.d.ts +2 -1
- package/dist/types/language/Language.d.ts +4 -4
- package/dist/types/language/config.d.ts +138 -42
- package/dist/types/language/types.d.ts +4 -3
- package/dist/types/language/utils.d.ts +6 -4
- package/dist/types/types/index.d.ts +3 -3
- package/dist/types/utils/LoadedValue.d.ts +2 -0
- package/dist/types/utils/accountHolderUtils.d.ts +5 -37
- package/dist/types/utils/api/documentUtils.d.ts +8 -7
- package/dist/types/utils/api/processCapabilitites.d.ts +5 -4
- package/dist/types/utils/company-util.d.ts +4 -3
- package/dist/types/utils/datasetUtil.d.ts +12 -10
- package/dist/types/utils/decision-maker-roles.d.ts +11 -16
- package/dist/types/utils/entity-association-util.d.ts +17 -15
- package/dist/types/utils/entity-status-util.d.ts +9 -0
- package/dist/types/utils/escapeHtml.d.ts +3 -0
- package/dist/types/utils/eventHandlers/handleKeys.d.ts +5 -0
- package/dist/types/utils/formUtils.d.ts +12 -17
- package/dist/types/utils/formatting/stripCountryIdFormat.d.ts +2 -0
- package/dist/types/utils/genUtils.d.ts +2 -2
- package/dist/types/utils/get-name.d.ts +8 -1
- package/dist/types/utils/get-props.d.ts +2 -2
- package/dist/types/utils/get-task-status.d.ts +3 -3
- package/dist/types/utils/getNestedPropertyKeys.d.ts +4 -4
- package/dist/types/utils/hasDuplicates.d.ts +1 -0
- package/dist/types/utils/logger.d.ts +15 -0
- package/dist/types/utils/mapping/componentApiMapping.d.ts +43 -35
- package/dist/types/utils/mapping/mapping.d.ts +12 -11
- package/dist/types/utils/payout-account-util.d.ts +6 -0
- package/dist/types/utils/payout-account.d.ts +1 -1
- package/dist/types/utils/recordWithDefault.d.ts +3 -0
- package/dist/types/utils/regex/basePatterns.d.ts +3 -0
- package/dist/types/utils/regex/businessRegistrationNumberPatterns.d.ts +2 -0
- package/dist/types/utils/regex/countryIdNumberPatterns.d.ts +13 -0
- package/dist/types/utils/regex/index.d.ts +5 -0
- package/dist/types/utils/regex/types.d.ts +25 -0
- package/dist/types/utils/regex/vatNumberPatterns.d.ts +17 -0
- package/dist/types/utils/trust-util.d.ts +30 -17
- package/dist/types/utils/useForwardRef.d.ts +2 -0
- package/dist/types/utils/useStateFromProp.d.ts +9 -0
- package/dist/types/utils/validation/ValidationResult.d.ts +13 -0
- package/dist/types/utils/validation/Validator.d.ts +15 -0
- package/dist/types/utils/validation/commonValidators.d.ts +3 -0
- package/dist/types/utils/validation/types.d.ts +61 -0
- package/dist/types/utils/validatorUtils.d.ts +4 -4
- package/dist/types/utils/verification/helpers/verify-id-number-helper.d.ts +3 -0
- package/dist/types/utils/verification/verificationUtils.d.ts +5 -5
- package/package.json +132 -109
- package/dist/adyen-kyc-components.cjs.css +0 -65
- package/dist/adyen-kyc-components.cjs.js +0 -1
- package/dist/adyen-kyc-components.esm.css +0 -65
- package/dist/adyen-kyc-components.esm.js +0 -1
- package/dist/types/components/Address/Address.d.ts +0 -7
- package/dist/types/components/Address/index.d.ts +0 -1
- package/dist/types/components/Company/Company.d.ts +0 -5
- package/dist/types/components/Company/index.d.ts +0 -1
- package/dist/types/components/CompanyDetails/CompanyDetails.d.ts +0 -5
- package/dist/types/components/CompanyDetails/index.d.ts +0 -1
- package/dist/types/components/CompanyNameAndCountry/CompanyNameAndCountry.d.ts +0 -5
- package/dist/types/components/CompanyNameAndCountry/index.d.ts +0 -1
- package/dist/types/components/CompanyType/CompanyType.d.ts +0 -5
- package/dist/types/components/CompanyType/index.d.ts +0 -1
- package/dist/types/components/ContactDetails/ContactDetails.d.ts +0 -5
- package/dist/types/components/ContactDetails/index.d.ts +0 -1
- package/dist/types/components/DecisionMakers/DecisionMakers.d.ts +0 -5
- package/dist/types/components/DecisionMakers/component/DecisionMakerTypeGuidance.d.ts +0 -7
- package/dist/types/components/DecisionMakers/index.d.ts +0 -1
- package/dist/types/components/Dropins/CompanyDropin/CompanyDropin.d.ts +0 -6
- package/dist/types/components/Dropins/Dropin.d.ts +0 -25
- package/dist/types/components/Dropins/DropinComposer/DropinComposer.d.ts +0 -6
- package/dist/types/components/Dropins/FormComposer/components/StepProgressIndicator/StepProgressIndicator.d.ts +0 -6
- package/dist/types/components/Dropins/FormComposer/components/StepProgressIndicator/index.d.ts +0 -1
- package/dist/types/components/Dropins/IndividualDropin/IndividualDropin.d.ts +0 -6
- package/dist/types/components/Dropins/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +0 -6
- package/dist/types/components/Dropins/RoleAndTypeDropin/RoleAndTypeDropin.d.ts +0 -6
- package/dist/types/components/Dropins/SolePropDropin/SolePropDropin.d.ts +0 -6
- package/dist/types/components/Dropins/TrustDropin/TrustDropin.d.ts +0 -6
- package/dist/types/components/Dropins/index.d.ts +0 -1
- package/dist/types/components/IdDocumentUpload/IdDocumentUpload.d.ts +0 -5
- package/dist/types/components/IdDocumentUpload/component/index.d.ts +0 -1
- package/dist/types/components/IdDocumentUpload/index.d.ts +0 -1
- package/dist/types/components/IdVerification/IdVerification.d.ts +0 -6
- package/dist/types/components/IdVerification/component/index.d.ts +0 -1
- package/dist/types/components/IdVerification/index.d.ts +0 -1
- package/dist/types/components/IdVerificationMethod/constants.d.ts +0 -17
- package/dist/types/components/IdentityAu/IdentityAu.d.ts +0 -16
- package/dist/types/components/IdentityAu/index.d.ts +0 -1
- package/dist/types/components/IdentityNumber/IdentityNumber.d.ts +0 -5
- package/dist/types/components/IdentityNumber/index.d.ts +0 -1
- package/dist/types/components/Individual/Individual.d.ts +0 -5
- package/dist/types/components/Individual/index.d.ts +0 -1
- package/dist/types/components/PayoutAccount/PayoutAccount.d.ts +0 -5
- package/dist/types/components/PayoutAccount/index.d.ts +0 -1
- package/dist/types/components/PayoutBankStatement/PayoutBankStatement.d.ts +0 -5
- package/dist/types/components/PayoutBankStatement/index.d.ts +0 -1
- package/dist/types/components/PayoutDetails/PayoutDetails.d.ts +0 -5
- package/dist/types/components/PayoutDetails/index.d.ts +0 -1
- package/dist/types/components/PersonalDetails/PersonalDetails.d.ts +0 -5
- package/dist/types/components/PersonalDetails/index.d.ts +0 -1
- package/dist/types/components/RegistrationAddress/RegistrationAddress.d.ts +0 -5
- package/dist/types/components/RegistrationAddress/index.d.ts +0 -1
- package/dist/types/components/SoleProp/SoleProp.d.ts +0 -5
- package/dist/types/components/SoleProp/index.d.ts +0 -1
- package/dist/types/components/TaskList/TaskList.d.ts +0 -5
- package/dist/types/components/TaskList/index.d.ts +0 -1
- package/dist/types/components/Trust/Trust.d.ts +0 -5
- package/dist/types/components/Trust/index.d.ts +0 -1
- package/dist/types/components/TrustDocumentUpload/TrustDocumentUpload.d.ts +0 -5
- package/dist/types/components/TrustDocumentUpload/component/TrustDocumentUploadComponent.d.ts +0 -6
- package/dist/types/components/TrustDocumentUpload/index.d.ts +0 -1
- package/dist/types/components/TrustDocumentUpload/types.d.ts +0 -5
- package/dist/types/components/TrustMembers/TrustMembers.d.ts +0 -5
- package/dist/types/components/TrustMembers/index.d.ts +0 -1
- package/dist/types/components/TrustRegistrationDetails/TrustRegistrationDetails.d.ts +0 -5
- package/dist/types/components/TrustRegistrationDetails/index.d.ts +0 -1
- package/dist/types/components/TrustRoleAndEntityType/TrustRoleAndEntityType.d.ts +0 -5
- package/dist/types/components/TrustRoleAndEntityType/index.d.ts +0 -1
- package/dist/types/components/internal/Address/components/ReadOnlyAddress.d.ts +0 -3
- package/dist/types/components/internal/Address/index.d.ts +0 -1
- package/dist/types/components/internal/BusinessRegistrationNumber/registrationNoValidator.d.ts +0 -369
- package/dist/types/components/internal/CardLayout/CardLayout.d.ts +0 -3
- package/dist/types/components/internal/CardLayout/index.d.ts +0 -1
- package/dist/types/components/internal/Currency/validate.d.ts +0 -5
- package/dist/types/components/internal/FormFields/ConsentCheckbox/ConsentCheckbox.d.ts +0 -6
- package/dist/types/components/internal/FormFields/ConsentCheckbox/index.d.ts +0 -1
- package/dist/types/components/internal/FormFields/Fieldset/Fieldset.d.ts +0 -11
- package/dist/types/components/internal/FormFields/Fieldset/index.d.ts +0 -1
- package/dist/types/components/internal/FormFields/InputFile.d.ts +0 -1
- package/dist/types/components/internal/FormFields/index.d.ts +0 -3
- package/dist/types/components/internal/Modal/Modal.d.ts +0 -17
- package/dist/types/components/internal/PartOfTrust/PartOfTrust.d.ts +0 -3
- package/dist/types/components/internal/PartOfTrust/index.d.ts +0 -1
- package/dist/types/components/internal/PartOfTrust/types.d.ts +0 -21
- package/dist/types/components/internal/Role/Role.d.ts +0 -3
- package/dist/types/components/internal/Role/index.d.ts +0 -1
- package/dist/types/components/internal/Role/types.d.ts +0 -11
- package/dist/types/components/internal/Role/validate.d.ts +0 -3
- package/dist/types/components/internal/Summary/index.d.ts +0 -1
- package/dist/types/components/internal/VatNumber/rules.d.ts +0 -181
- package/dist/types/core/Context/StateContext/useGlobalStateSlice.d.ts +0 -5
- package/dist/types/core/Services/fetch.d.ts +0 -2
- package/dist/types/core/Services/get-configuration-data.d.ts +0 -20
- package/dist/types/core/models/api/configuration.d.ts +0 -17
- package/dist/types/core/models/api/id-verification-data.d.ts +0 -5
- package/dist/types/debug/progress-indicator.d.ts +0 -4
- package/dist/types/utils/Script.d.ts +0 -22
- package/dist/types/utils/Validator/Validator.d.ts +0 -34
- package/dist/types/utils/Validator/commonValidators.d.ts +0 -3
- package/dist/types/utils/Validator/defaultRules.d.ts +0 -10
- package/dist/types/utils/Validator/index.d.ts +0 -1
- package/dist/types/utils/Validator/types.d.ts +0 -53
- package/dist/types/utils/bankVerification/function.d.ts +0 -1
- package/dist/types/utils/debounce.d.ts +0 -1
- package/dist/types/utils/get-image.d.ts +0 -11
- package/dist/types/utils/regex.d.ts +0 -8
- package/dist/types/utils/typeUtils.d.ts +0 -1
- package/dist/types/utils/useForm/index.d.ts +0 -1
- package/dist/types/utils/useForm/reducer.d.ts +0 -18
- package/dist/types/utils/useForm/useForm.d.ts +0 -12
- package/dist/types/utils/verification/helpers/verifyIDNumber.d.ts +0 -17
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
message: string;
|
|
5
|
-
type: VeriificationErrorType;
|
|
6
|
-
subErrors?: VerificationError[];
|
|
7
|
-
remediatingActions?: VerificationError[];
|
|
8
|
-
}
|
|
9
|
-
export declare enum VeriificationErrorType {
|
|
1
|
+
import { ErrorCode } from '../errors/error-message';
|
|
2
|
+
import { RemediatingAction } from './remediating-action';
|
|
3
|
+
export declare enum VerificationErrorType {
|
|
10
4
|
DATA_MISSING = "dataMissing",
|
|
11
5
|
INVALID_INPUT = "invalidInput",
|
|
12
|
-
PENDING_STATUS = "pendingStatus"
|
|
6
|
+
PENDING_STATUS = "pendingStatus",
|
|
7
|
+
DATA_REVIEW = "dataReview"
|
|
8
|
+
}
|
|
9
|
+
export interface VerificationError {
|
|
10
|
+
code: ErrorCode;
|
|
11
|
+
message: string;
|
|
12
|
+
type: VerificationErrorType;
|
|
13
|
+
subErrors?: VerificationError[];
|
|
14
|
+
remediatingActions?: RemediatingAction[];
|
|
13
15
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CountryCode } from '../country-code';
|
|
2
|
+
export interface VerifyIdNumberRequest {
|
|
3
|
+
name: {
|
|
4
|
+
firstName: string;
|
|
5
|
+
lastName: string;
|
|
6
|
+
};
|
|
7
|
+
countryCode: CountryCode;
|
|
8
|
+
idNumber: string;
|
|
9
|
+
}
|
|
10
|
+
export interface VerifyIdNumberResponse {
|
|
11
|
+
status: number;
|
|
12
|
+
verified: string;
|
|
13
|
+
errorCode: string;
|
|
14
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ScenarioFields, ScenarioFieldSettings } from './scenario-fields';
|
|
2
|
-
import { CountryConfig } from './country-config';
|
|
3
1
|
import { TranslationKey } from '../../language/types';
|
|
2
|
+
import { CompanyTypesValue } from './api/company-types-value';
|
|
3
|
+
import { CountryConfig } from './country-config';
|
|
4
|
+
import { ScenarioFields, ScenarioFieldSettings } from './scenario-fields';
|
|
4
5
|
interface CompanyTypeModel {
|
|
5
|
-
id:
|
|
6
|
+
id: CompanyTypesValue;
|
|
6
7
|
name: TranslationKey;
|
|
7
|
-
description:
|
|
8
|
+
description: TranslationKey;
|
|
8
9
|
}
|
|
9
10
|
export declare const companyBase: {
|
|
10
11
|
[key: string]: ScenarioFieldSettings;
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
export declare const enum CountryCodes {
|
|
2
|
+
Afghanistan = "AF",
|
|
3
|
+
AlandIslands = "AX",
|
|
4
|
+
Albania = "AL",
|
|
5
|
+
Algeria = "DZ",
|
|
6
|
+
AmericanSamoa = "AS",
|
|
7
|
+
Andorra = "AD",
|
|
8
|
+
Angola = "AO",
|
|
9
|
+
Anguilla = "AI",
|
|
10
|
+
Antarctica = "AQ",
|
|
11
|
+
AntiguaAndBarbuda = "AG",
|
|
12
|
+
Argentina = "AR",
|
|
13
|
+
Armenia = "AM",
|
|
14
|
+
Aruba = "AW",
|
|
15
|
+
Australia = "AU",
|
|
16
|
+
Austria = "AT",
|
|
17
|
+
Azerbaijan = "AZ",
|
|
18
|
+
Bahamas = "BS",
|
|
19
|
+
Bahrain = "BH",
|
|
20
|
+
Bangladesh = "BD",
|
|
21
|
+
Barbados = "BB",
|
|
22
|
+
Belarus = "BY",
|
|
23
|
+
Belgium = "BE",
|
|
24
|
+
Belize = "BZ",
|
|
25
|
+
Benin = "BJ",
|
|
26
|
+
Bermuda = "BM",
|
|
27
|
+
Bhutan = "BT",
|
|
28
|
+
Bolivia = "BO",
|
|
29
|
+
BonaireSintEustatiusSaba = "BQ",
|
|
30
|
+
BosniaAndHerzegovina = "BA",
|
|
31
|
+
Botswana = "BW",
|
|
32
|
+
BouvetIsland = "BV",
|
|
33
|
+
Brazil = "BR",
|
|
34
|
+
BritishIndianOceanTerritory = "IO",
|
|
35
|
+
BruneiDarussalam = "BN",
|
|
36
|
+
Bulgaria = "BG",
|
|
37
|
+
BurkinaFaso = "BF",
|
|
38
|
+
Burundi = "BI",
|
|
39
|
+
Cambodia = "KH",
|
|
40
|
+
Cameroon = "CM",
|
|
41
|
+
Canada = "CA",
|
|
42
|
+
CapeVerde = "CV",
|
|
43
|
+
CaymanIslands = "KY",
|
|
44
|
+
CentralAfricanRepublic = "CF",
|
|
45
|
+
Chad = "TD",
|
|
46
|
+
Chile = "CL",
|
|
47
|
+
China = "CN",
|
|
48
|
+
ChristmasIsland = "CX",
|
|
49
|
+
CocosKeelingIslands = "CC",
|
|
50
|
+
Colombia = "CO",
|
|
51
|
+
Comoros = "KM",
|
|
52
|
+
Congo = "CG",
|
|
53
|
+
CongoDemocraticRepublic = "CD",
|
|
54
|
+
CookIslands = "CK",
|
|
55
|
+
CostaRica = "CR",
|
|
56
|
+
CoteDIvoire = "CI",
|
|
57
|
+
Croatia = "HR",
|
|
58
|
+
Cuba = "CU",
|
|
59
|
+
Curacao = "CW",
|
|
60
|
+
Cyprus = "CY",
|
|
61
|
+
CzechRepublic = "CZ",
|
|
62
|
+
Denmark = "DK",
|
|
63
|
+
Djibouti = "DJ",
|
|
64
|
+
Dominica = "DM",
|
|
65
|
+
DominicanRepublic = "DO",
|
|
66
|
+
Ecuador = "EC",
|
|
67
|
+
Egypt = "EG",
|
|
68
|
+
ElSalvador = "SV",
|
|
69
|
+
EquatorialGuinea = "GQ",
|
|
70
|
+
Eritrea = "ER",
|
|
71
|
+
Estonia = "EE",
|
|
72
|
+
Ethiopia = "ET",
|
|
73
|
+
FalklandIslands = "FK",
|
|
74
|
+
FaroeIslands = "FO",
|
|
75
|
+
Fiji = "FJ",
|
|
76
|
+
Finland = "FI",
|
|
77
|
+
France = "FR",
|
|
78
|
+
FrenchGuiana = "GF",
|
|
79
|
+
FrenchPolynesia = "PF",
|
|
80
|
+
FrenchSouthernTerritories = "TF",
|
|
81
|
+
Gabon = "GA",
|
|
82
|
+
Gambia = "GM",
|
|
83
|
+
Georgia = "GE",
|
|
84
|
+
Germany = "DE",
|
|
85
|
+
Ghana = "GH",
|
|
86
|
+
Gibraltar = "GI",
|
|
87
|
+
Greece = "GR",
|
|
88
|
+
Greece_ISO_639_1 = "EL",
|
|
89
|
+
Greenland = "GL",
|
|
90
|
+
Grenada = "GD",
|
|
91
|
+
Guadeloupe = "GP",
|
|
92
|
+
Guam = "GU",
|
|
93
|
+
Guatemala = "GT",
|
|
94
|
+
Guernsey = "GG",
|
|
95
|
+
Guinea = "GN",
|
|
96
|
+
GuineaBissau = "GW",
|
|
97
|
+
Guyana = "GY",
|
|
98
|
+
Haiti = "HT",
|
|
99
|
+
HeardIslandMcdonaldIslands = "HM",
|
|
100
|
+
HolySeeVaticanCityState = "VA",
|
|
101
|
+
Honduras = "HN",
|
|
102
|
+
HongKong = "HK",
|
|
103
|
+
Hungary = "HU",
|
|
104
|
+
Iceland = "IS",
|
|
105
|
+
India = "IN",
|
|
106
|
+
Indonesia = "ID",
|
|
107
|
+
Iran = "IR",
|
|
108
|
+
Iraq = "IQ",
|
|
109
|
+
Ireland = "IE",
|
|
110
|
+
IsleOfMan = "IM",
|
|
111
|
+
Israel = "IL",
|
|
112
|
+
Italy = "IT",
|
|
113
|
+
Jamaica = "JM",
|
|
114
|
+
Japan = "JP",
|
|
115
|
+
Jersey = "JE",
|
|
116
|
+
Jordan = "JO",
|
|
117
|
+
Kazakhstan = "KZ",
|
|
118
|
+
Kenya = "KE",
|
|
119
|
+
Kiribati = "KI",
|
|
120
|
+
Korea = "KR",
|
|
121
|
+
KoreaDemocraticPeoplesRepublic = "KP",
|
|
122
|
+
Kuwait = "KW",
|
|
123
|
+
Kyrgyzstan = "KG",
|
|
124
|
+
LaoPeoplesDemocraticRepublic = "LA",
|
|
125
|
+
Latvia = "LV",
|
|
126
|
+
Lebanon = "LB",
|
|
127
|
+
Lesotho = "LS",
|
|
128
|
+
Liberia = "LR",
|
|
129
|
+
LibyanArabJamahiriya = "LY",
|
|
130
|
+
Liechtenstein = "LI",
|
|
131
|
+
Lithuania = "LT",
|
|
132
|
+
Luxembourg = "LU",
|
|
133
|
+
Macao = "MO",
|
|
134
|
+
Macedonia = "MK",
|
|
135
|
+
Madagascar = "MG",
|
|
136
|
+
Malawi = "MW",
|
|
137
|
+
Malaysia = "MY",
|
|
138
|
+
Maldives = "MV",
|
|
139
|
+
Mali = "ML",
|
|
140
|
+
Malta = "MT",
|
|
141
|
+
MarshallIslands = "MH",
|
|
142
|
+
Martinique = "MQ",
|
|
143
|
+
Mauritania = "MR",
|
|
144
|
+
Mauritius = "MU",
|
|
145
|
+
Mayotte = "YT",
|
|
146
|
+
Mexico = "MX",
|
|
147
|
+
Micronesia = "FM",
|
|
148
|
+
Moldova = "MD",
|
|
149
|
+
Monaco = "MC",
|
|
150
|
+
Mongolia = "MN",
|
|
151
|
+
Montenegro = "ME",
|
|
152
|
+
Montserrat = "MS",
|
|
153
|
+
Morocco = "MA",
|
|
154
|
+
Mozambique = "MZ",
|
|
155
|
+
Myanmar = "MM",
|
|
156
|
+
Namibia = "NA",
|
|
157
|
+
Nauru = "NR",
|
|
158
|
+
Nepal = "NP",
|
|
159
|
+
Netherlands = "NL",
|
|
160
|
+
NewCaledonia = "NC",
|
|
161
|
+
NewZealand = "NZ",
|
|
162
|
+
Nicaragua = "NI",
|
|
163
|
+
Niger = "NE",
|
|
164
|
+
Nigeria = "NG",
|
|
165
|
+
Niue = "NU",
|
|
166
|
+
NorfolkIsland = "NF",
|
|
167
|
+
NorthernMarianaIslands = "MP",
|
|
168
|
+
Norway = "NO",
|
|
169
|
+
Oman = "OM",
|
|
170
|
+
Pakistan = "PK",
|
|
171
|
+
Palau = "PW",
|
|
172
|
+
PalestinianTerritory = "PS",
|
|
173
|
+
Panama = "PA",
|
|
174
|
+
PapuaNewGuinea = "PG",
|
|
175
|
+
Paraguay = "PY",
|
|
176
|
+
Peru = "PE",
|
|
177
|
+
Philippines = "PH",
|
|
178
|
+
Pitcairn = "PN",
|
|
179
|
+
Poland = "PL",
|
|
180
|
+
Portugal = "PT",
|
|
181
|
+
PuertoRico = "PR",
|
|
182
|
+
Qatar = "QA",
|
|
183
|
+
Reunion = "RE",
|
|
184
|
+
Romania = "RO",
|
|
185
|
+
RussianFederation = "RU",
|
|
186
|
+
Rwanda = "RW",
|
|
187
|
+
SaintHelena = "SH",
|
|
188
|
+
SaintKittsAndNevis = "KN",
|
|
189
|
+
SaintLucia = "LC",
|
|
190
|
+
SaintPierreAndMiquelon = "PM",
|
|
191
|
+
SaintVincentAndGrenadines = "VC",
|
|
192
|
+
Samoa = "WS",
|
|
193
|
+
SanMarino = "SM",
|
|
194
|
+
SaoTomeAndPrincipe = "ST",
|
|
195
|
+
SaudiArabia = "SA",
|
|
196
|
+
Senegal = "SN",
|
|
197
|
+
Serbia = "RS",
|
|
198
|
+
Seychelles = "SC",
|
|
199
|
+
SierraLeone = "SL",
|
|
200
|
+
Singapore = "SG",
|
|
201
|
+
Slovakia = "SK",
|
|
202
|
+
Slovenia = "SI",
|
|
203
|
+
SolomonIslands = "SB",
|
|
204
|
+
Somalia = "SO",
|
|
205
|
+
SouthAfrica = "ZA",
|
|
206
|
+
SouthGeorgiaAndSandwichIsl = "GS",
|
|
207
|
+
Spain = "ES",
|
|
208
|
+
SriLanka = "LK",
|
|
209
|
+
Sudan = "SD",
|
|
210
|
+
Suriname = "SR",
|
|
211
|
+
SvalbardAndJanMayen = "SJ",
|
|
212
|
+
Swaziland = "SZ",
|
|
213
|
+
Sweden = "SE",
|
|
214
|
+
Switzerland = "CH",
|
|
215
|
+
SyrianArabRepublic = "SY",
|
|
216
|
+
Taiwan = "TW",
|
|
217
|
+
Tajikistan = "TJ",
|
|
218
|
+
Tanzania = "TZ",
|
|
219
|
+
Thailand = "TH",
|
|
220
|
+
TimorLeste = "TL",
|
|
221
|
+
Togo = "TG",
|
|
222
|
+
Tokelau = "TK",
|
|
223
|
+
Tonga = "TO",
|
|
224
|
+
TrinidadAndTobago = "TT",
|
|
225
|
+
Tunisia = "TN",
|
|
226
|
+
Turkey = "TR",
|
|
227
|
+
Turkmenistan = "TM",
|
|
228
|
+
TurksAndCaicosIslands = "TC",
|
|
229
|
+
Tuvalu = "TV",
|
|
230
|
+
Uganda = "UG",
|
|
231
|
+
Ukraine = "UA",
|
|
232
|
+
UnitedArabEmirates = "AE",
|
|
233
|
+
UnitedKingdom = "GB",
|
|
234
|
+
UnitedStates = "US",
|
|
235
|
+
UnitedStatesOutlyingIslands = "UM",
|
|
236
|
+
Uruguay = "UY",
|
|
237
|
+
Uzbekistan = "UZ",
|
|
238
|
+
Vanuatu = "VU",
|
|
239
|
+
Venezuela = "VE",
|
|
240
|
+
Vietnam = "VN",
|
|
241
|
+
VirginIslandsBritish = "VG",
|
|
242
|
+
VirginIslandsUS = "VI",
|
|
243
|
+
WallisAndFutuna = "WF",
|
|
244
|
+
WesternSahara = "EH",
|
|
245
|
+
Yemen = "YE",
|
|
246
|
+
Zambia = "ZM",
|
|
247
|
+
Zimbabwe = "ZW"
|
|
248
|
+
}
|
|
249
|
+
export type CountryCode = `${CountryCodes}`;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TranslationKey } from '../../language/types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
2
|
+
import { CountryCode } from './country-code';
|
|
3
|
+
export type CountryConfig = Partial<Record<CountryCode, {
|
|
4
|
+
[field: string]: CountryFieldConfig;
|
|
5
|
+
}>>;
|
|
7
6
|
export interface CountryFieldConfig {
|
|
8
7
|
label?: TranslationKey;
|
|
9
8
|
placeholder?: TranslationKey;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DecisionMakerType } from './api/decision-maker-type';
|
|
2
1
|
import { TranslationKey } from '../../language/types';
|
|
2
|
+
import { DecisionMakerType } from './api/decision-maker-type';
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
5
5
|
* When providing DECISION_MAKER_REQUIREMENTS per country - keep in mind that you need to specify rules for each role individually even if you have a mixed rule between them.
|
|
@@ -47,5 +47,9 @@ export interface DecisionMakerRequirement {
|
|
|
47
47
|
max: number;
|
|
48
48
|
}
|
|
49
49
|
export declare const getDecisionMakerRequirements: (country: string) => readonly DecisionMakerRequirement[];
|
|
50
|
-
export declare function getAvailableDecisionMakerRoleTypes(country: string):
|
|
50
|
+
export declare function getAvailableDecisionMakerRoleTypes(country: string): {
|
|
51
|
+
roleType: DecisionMakerType;
|
|
52
|
+
min: number;
|
|
53
|
+
max: number;
|
|
54
|
+
}[];
|
|
51
55
|
export declare const getDecisionMakerDescriptionMap: (country: string) => Record<DecisionMakerType, TranslationKey>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { TaskStatus } from '../../../components/TaskList/types';
|
|
2
|
+
import { EntityType } from '../api/entity-type';
|
|
3
|
+
import { LegalEntityType } from '../api/legal-entity-type';
|
|
4
|
+
import { VerificationError } from '../api/verification-error';
|
|
1
5
|
import { FormVerificationErrors } from './form-verification-errors';
|
|
2
6
|
import { Remediation, RemediationCode } from './remediation';
|
|
3
|
-
|
|
4
|
-
import VerificationError from '../api/verification-error';
|
|
5
|
-
export declare type EntityProblems = {
|
|
7
|
+
export type EntityProblems = {
|
|
6
8
|
verificationErrors: {
|
|
7
9
|
[formId: string]: FormVerificationErrors;
|
|
8
10
|
};
|
|
@@ -14,4 +16,6 @@ export declare type EntityProblems = {
|
|
|
14
16
|
[fieldName: string]: any;
|
|
15
17
|
};
|
|
16
18
|
};
|
|
19
|
+
entityType?: LegalEntityType | EntityType.BANK_ACCOUNT;
|
|
20
|
+
isReviewRequired?: boolean;
|
|
17
21
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TranslationKey } from '../../../language/types';
|
|
2
|
-
export
|
|
2
|
+
export type ErrorCode = Extract<TranslationKey, `errorMessage_${string}`> extends `errorMessage_${infer R}` ? R : never;
|
|
3
3
|
export interface ErrorMessage {
|
|
4
4
|
code: ErrorCode;
|
|
5
5
|
errorMessage: string;
|
|
6
|
-
remediationMessages?:
|
|
6
|
+
remediationMessages?: string[];
|
|
7
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Remediation } from './remediation';
|
|
2
1
|
import { ErrorCode } from './error-message';
|
|
3
|
-
|
|
2
|
+
import { Remediation } from './remediation';
|
|
3
|
+
export type FormVerificationErrors = Partial<Record<ErrorCode, Partial<Record<ErrorCode, Remediation[]>>>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TranslationKey } from '../../../language/types';
|
|
2
|
-
export
|
|
2
|
+
export type RemediationCode = Extract<TranslationKey, `remediationMessage_${string}`> extends `remediationMessage_${infer R}` ? R : never;
|
|
3
3
|
export interface Remediation {
|
|
4
4
|
code: RemediationCode;
|
|
5
5
|
forms: string[];
|
|
6
|
-
fields
|
|
6
|
+
fields?: string[];
|
|
7
7
|
}
|
|
@@ -12,3 +12,8 @@ export interface ValidationError {
|
|
|
12
12
|
invalidFields: InvalidField[];
|
|
13
13
|
errorCode: string;
|
|
14
14
|
}
|
|
15
|
+
export declare const isValidationError: (error: Error | undefined) => boolean;
|
|
16
|
+
export interface ValidationResponse {
|
|
17
|
+
invalidFields: InvalidField[];
|
|
18
|
+
valid: boolean;
|
|
19
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ScenarioFieldSettings } from './scenario-fields';
|
|
2
1
|
import { CountryFieldConfig } from './country-config';
|
|
2
|
+
import { ScenarioFieldSettings } from './scenario-fields';
|
|
3
3
|
interface FieldConfiguration<FieldType> extends ScenarioFieldSettings<FieldType>, CountryFieldConfig {
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
export type FieldConfigurations<FormSchema> = {
|
|
6
6
|
[key in keyof FormSchema]: FieldConfiguration<FormSchema[key]>;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export {};
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import { TaskTypes } from '../../components/TaskList/types';
|
|
2
2
|
import { SettingName } from '../Context/SettingsContext/types';
|
|
3
3
|
import { TopLevelDataSchema } from '../Context/StateContext/types';
|
|
4
|
-
|
|
4
|
+
import { CountryCode } from './country-code';
|
|
5
|
+
export interface FormRulesParams<TLDS extends TopLevelDataSchema> {
|
|
5
6
|
data: TLDS;
|
|
6
|
-
country:
|
|
7
|
+
country: CountryCode;
|
|
7
8
|
taskType: TaskTypes;
|
|
8
9
|
isSettingEnabled: (setting: SettingName) => boolean;
|
|
9
10
|
requiredFields: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
fields: [];
|
|
14
|
-
};
|
|
11
|
+
currency?: string;
|
|
12
|
+
bankStatementRequirement?: 'OPTIONAL' | 'REQUIRED';
|
|
13
|
+
fields?: [];
|
|
15
14
|
};
|
|
16
15
|
}
|
|
17
|
-
export
|
|
18
|
-
[ruleName: string]: () => string |
|
|
16
|
+
export type FormRules<TLDS extends TopLevelDataSchema> = (params: FormRulesParams<TLDS>) => {
|
|
17
|
+
[ruleName: string]: () => string | boolean | undefined;
|
|
19
18
|
};
|
|
20
|
-
export {};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { TranslationKey } from '../../language/types';
|
|
2
|
-
export interface
|
|
2
|
+
export interface FormModel {
|
|
3
3
|
formId: string;
|
|
4
4
|
formName: TranslationKey;
|
|
5
|
-
fields?:
|
|
5
|
+
fields?: any[];
|
|
6
6
|
isValid?: boolean;
|
|
7
7
|
hideNavigation?: boolean;
|
|
8
8
|
hideActionBar?: boolean;
|
|
9
9
|
hasServerValidationErrors?: boolean;
|
|
10
10
|
verifyForm?(formId?: string): Promise<any>;
|
|
11
11
|
triggerValidation?(): void;
|
|
12
|
-
triggerCurrentFormValidation?(): void;
|
|
13
|
-
isCurrentFormValid?(): boolean;
|
|
14
12
|
customNavigationHandler?(): void;
|
|
15
13
|
}
|
|
16
14
|
export interface FormList {
|
|
17
|
-
[field: string]:
|
|
15
|
+
[field: string]: FormModel;
|
|
18
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { VerifyIdNumberResponse } from './api/verify-id-number';
|
|
2
|
+
export interface IdVerificationStatus {
|
|
3
3
|
status: string;
|
|
4
|
-
data:
|
|
4
|
+
data: VerifyIdNumberResponse;
|
|
5
5
|
fieldName: string;
|
|
6
6
|
translationKey?: string;
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ScenarioFieldSettings } from './scenario-fields';
|
|
2
|
-
import { CountryConfig } from './country-config';
|
|
3
1
|
import { AdditionalIdentityInfoSchema } from '../../components/IdentityAu/additionalIdentityInfoSchema';
|
|
2
|
+
import { CountryConfig } from './country-config';
|
|
3
|
+
import { ScenarioFieldSettings } from './scenario-fields';
|
|
4
4
|
export declare const identityBase: {
|
|
5
5
|
[key: string]: ScenarioFieldSettings;
|
|
6
6
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ValidatorRule } from '../../utils/Validator/types';
|
|
1
|
+
import { BankAccountFormatType } from '../../components/internal/BankAccountFormat/types';
|
|
3
2
|
import { PayoutAccountSchema } from '../../components/PayoutAccount/types';
|
|
3
|
+
import { ValidatorRule } from '../../utils/validation/types';
|
|
4
|
+
import { ValidationRule } from './api/get-configuration';
|
|
5
|
+
import { CountryCode } from './country-code';
|
|
6
|
+
import { CountryConfig } from './country-config';
|
|
4
7
|
export declare const payoutFieldsMapping: Record<string, keyof PayoutAccountSchema>;
|
|
5
8
|
export declare const maskedPayoutFields: Array<keyof PayoutAccountSchema>;
|
|
6
9
|
export declare const countryConfig: CountryConfig;
|
|
7
|
-
export declare const getValidatorRules: (
|
|
10
|
+
export declare const getValidatorRules: (validationRule: ValidationRule) => ValidatorRule<string, PayoutAccountSchema> | undefined;
|
|
11
|
+
export declare const defaultPayoutAccountFormat: Partial<Record<CountryCode, BankAccountFormatType>>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ValidatorRule } from '../../utils/
|
|
2
|
-
export
|
|
1
|
+
import { ValidatorRule } from '../../utils/validation/types';
|
|
2
|
+
export type ScenarioFields<Schema> = Record<string, {
|
|
3
3
|
[key in keyof Schema]: ScenarioFieldSettings<Schema[key]>;
|
|
4
4
|
}>;
|
|
5
5
|
export interface ScenarioFieldSettings<FieldType = unknown> {
|
|
6
|
+
masked?: boolean;
|
|
6
7
|
rule?: string;
|
|
8
|
+
rules?: string[];
|
|
7
9
|
verify?: string | boolean;
|
|
8
|
-
validators?: ValidatorRule<FieldType
|
|
9
|
-
masked?: boolean;
|
|
10
|
+
validators?: Array<ValidatorRule<FieldType, any>>;
|
|
10
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ScenarioFields, ScenarioFieldSettings } from './scenario-fields';
|
|
2
1
|
import { CountryConfig } from './country-config';
|
|
2
|
+
import { ScenarioFields, ScenarioFieldSettings } from './scenario-fields';
|
|
3
3
|
export declare const solePropBase: {
|
|
4
4
|
[key: string]: ScenarioFieldSettings;
|
|
5
5
|
};
|
|
@@ -1,7 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TranslationKey } from '../../language/types';
|
|
2
|
+
import { TrustMemberType } from './api/trust-member-type';
|
|
3
|
+
import { CountryCode } from './country-code';
|
|
2
4
|
import { CountryConfig } from './country-config';
|
|
5
|
+
import { ScenarioFields, ScenarioFieldSettings } from './scenario-fields';
|
|
6
|
+
export declare enum TrustMemberGuidanceLabel {
|
|
7
|
+
BENEFICIARY = "beneficiary",
|
|
8
|
+
PROTECTOR = "protector",
|
|
9
|
+
TRUSTEE = "trustee",
|
|
10
|
+
SETTLOR = "settlor"
|
|
11
|
+
}
|
|
12
|
+
export interface TrustMemberRequirement {
|
|
13
|
+
roleTypes: readonly TrustMemberType[];
|
|
14
|
+
min: number;
|
|
15
|
+
max: number;
|
|
16
|
+
label: TrustMemberGuidanceLabel;
|
|
17
|
+
}
|
|
18
|
+
export declare const TRUST_COUNTRIES: CountryCode[];
|
|
3
19
|
export declare const trustBase: {
|
|
4
20
|
[key: string]: ScenarioFieldSettings;
|
|
5
21
|
};
|
|
6
22
|
export declare const fieldsPerScenario: ScenarioFields<typeof trustBase>;
|
|
7
23
|
export declare const countryConfig: CountryConfig;
|
|
24
|
+
export declare const DEFAULT_TRUST_MEMBER_REQUIREMENTS: readonly TrustMemberRequirement[];
|
|
25
|
+
export declare const TRUST_DEFAULT_DESCRIPTIONS_MAP: Record<TrustMemberGuidanceLabel, TranslationKey>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import { PayoutAccountSchema } from '../components/PayoutAccount/types';
|
|
2
|
+
import { SolePropSchema } from '../components/SoleProp/types';
|
|
3
|
+
import { VerificationError } from './models/api/verification-error';
|
|
1
4
|
import { Remediation } from './models/errors/remediation';
|
|
2
|
-
import FieldConfigurations from './models/field-configurations';
|
|
5
|
+
import { FieldConfigurations } from './models/field-configurations';
|
|
3
6
|
import { FormList } from './models/form';
|
|
4
|
-
import { SolePropSchema } from '../components/SoleProp/types';
|
|
5
|
-
import { PayoutAccountSchema } from '../components/PayoutAccount/types';
|
|
6
7
|
export declare function parseIndividualScenarios<FormSchema>(scenario: any, country: any): FieldConfigurations<FormSchema>;
|
|
7
8
|
export declare function parseCompanyScenarios<FormSchema>(scenario: any, country: any): FieldConfigurations<FormSchema>;
|
|
8
9
|
export declare function parseTrustScenarios<FormSchema>(scenario: any, country: any): FieldConfigurations<FormSchema>;
|
|
9
10
|
export declare function parseSolePropScenarios(scenario: any, country: any): FieldConfigurations<SolePropSchema>;
|
|
10
|
-
export declare function parsePayoutScenarios({ requiredFields, country,
|
|
11
|
+
export declare function parsePayoutScenarios({ requiredFields, country, bankVerificationAvailable, }: {
|
|
11
12
|
requiredFields: any;
|
|
12
13
|
country: any;
|
|
13
|
-
bankStatementRequirement: any;
|
|
14
14
|
bankVerificationAvailable: any;
|
|
15
15
|
}): Partial<FieldConfigurations<PayoutAccountSchema>>;
|
|
16
16
|
/**
|
|
@@ -53,7 +53,7 @@ export declare function parsePayoutScenarios({ requiredFields, country, bankStat
|
|
|
53
53
|
* }
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
|
-
export declare function getPropsFromConfigurations<FormSchema>(scenarioConfiguration: FieldConfigurations<FormSchema>,
|
|
56
|
+
export declare function getPropsFromConfigurations<FormSchema>(scenarioConfiguration: FieldConfigurations<FormSchema>, forms: FormList, remediationActions: Remediation[], dataMissingErrors: VerificationError[], customRules?: {}, customLabels?: {}): {
|
|
57
57
|
verifyFields: {
|
|
58
58
|
[field in keyof FormSchema]: FormSchema[field];
|
|
59
59
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { CustomTranslations
|
|
1
|
+
import { CustomTranslations } from '../language/types';
|
|
2
|
+
import { CountryCode } from './models/country-code';
|
|
2
3
|
export interface CoreOptions {
|
|
3
4
|
/**
|
|
4
5
|
* The URL of the KYC external API. This will be used to fetch static resources and configurations.
|
|
@@ -11,10 +12,10 @@ export interface CoreOptions {
|
|
|
11
12
|
/**
|
|
12
13
|
* @defaultValue 'en-US'
|
|
13
14
|
*/
|
|
14
|
-
locale:
|
|
15
|
+
locale: string;
|
|
15
16
|
/**
|
|
16
17
|
* Custom translations and localizations
|
|
17
18
|
*/
|
|
18
19
|
translations?: CustomTranslations;
|
|
19
|
-
country:
|
|
20
|
+
country: CountryCode;
|
|
20
21
|
}
|