@adyen/kyc-components 2.2.2 → 2.2.4
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/package.json +1 -1
- package/dist/es/adyen-kyc-components.es.js +0 -27146
- package/dist/es/package.json +0 -3
- package/dist/mockServiceWorker.js +0 -302
- package/dist/style.css +0 -97918
- package/dist/types/components/AutoResizer.d.ts +0 -6
- package/dist/types/components/BankVerification/BankVerification.d.ts +0 -8
- package/dist/types/components/BankVerification/types.d.ts +0 -50
- package/dist/types/components/BankVerification/verification/widget/component/BankVerificationWidget.d.ts +0 -24
- package/dist/types/components/BankVerification/verification/widget/iframeWidget.d.ts +0 -38
- package/dist/types/components/BankVerification/verification/widget/index.d.ts +0 -1
- package/dist/types/components/BaseElement.d.ts +0 -43
- package/dist/types/components/Company/component/CompanyComponent.d.ts +0 -40
- package/dist/types/components/Company/rules.d.ts +0 -9
- package/dist/types/components/Company/types.d.ts +0 -37
- package/dist/types/components/CompanyDetails/component/CompanyDetailsComponent.d.ts +0 -5
- package/dist/types/components/CompanyDetails/types.d.ts +0 -17
- package/dist/types/components/CompanyDetails/validate.d.ts +0 -3
- package/dist/types/components/CompanyNameAndCountry/component/CompanyNameAndCountryComponent.d.ts +0 -4
- package/dist/types/components/CompanyNameAndCountry/types.d.ts +0 -10
- package/dist/types/components/CompanyNameAndCountry/validate.d.ts +0 -3
- package/dist/types/components/CompanyType/component/CompanyTypeComponent.d.ts +0 -5
- package/dist/types/components/CompanyType/types.d.ts +0 -10
- package/dist/types/components/CompanyType/validate.d.ts +0 -3
- package/dist/types/components/ConstitutionalDocument/ConstitutionalDocumentComponent.d.ts +0 -10
- package/dist/types/components/ConstitutionalDocument/types.d.ts +0 -11
- package/dist/types/components/ContactDetails/component/ContactDetailsComponent.d.ts +0 -4
- package/dist/types/components/ContactDetails/types.d.ts +0 -9
- package/dist/types/components/ContactDetails/validate.d.ts +0 -3
- package/dist/types/components/DecisionMakers/component/DecisionMakersComponent.d.ts +0 -4
- package/dist/types/components/DecisionMakers/types.d.ts +0 -11
- package/dist/types/components/DocumentUpload/DocumentUpload.d.ts +0 -4
- package/dist/types/components/DocumentUpload/types.d.ts +0 -20
- package/dist/types/components/Dropins/CompanyDropin/components/CompanyDropinComponent.d.ts +0 -2
- package/dist/types/components/Dropins/CompanyDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/DropinComposer/components/DropinComposerComponent.d.ts +0 -2
- package/dist/types/components/Dropins/DropinComposer/index.d.ts +0 -1
- package/dist/types/components/Dropins/DropinLayout/ActionBar/ActionBar.d.ts +0 -4
- package/dist/types/components/Dropins/DropinLayout/ActionBar/index.d.ts +0 -1
- package/dist/types/components/Dropins/DropinLayout/ActionBar/type.d.ts +0 -11
- package/dist/types/components/Dropins/DropinLayout/DropinLayout.d.ts +0 -3
- package/dist/types/components/Dropins/DropinLayout/types.d.ts +0 -6
- package/dist/types/components/Dropins/FormComposer/FormComposer.d.ts +0 -34
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/FormNavigation.d.ts +0 -4
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/FormNavigationItem.d.ts +0 -3
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/index.d.ts +0 -1
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/types.d.ts +0 -24
- package/dist/types/components/Dropins/FormComposer/types.d.ts +0 -22
- package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +0 -39
- package/dist/types/components/Dropins/IndividualDropin/components/IndividualDropinComponent.d.ts +0 -2
- package/dist/types/components/Dropins/IndividualDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/PayoutDetailsDropin/components/PayoutDetailsDropinComponent.d.ts +0 -4
- package/dist/types/components/Dropins/PayoutDetailsDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/PciDropin/components/PciDropinComponent.d.ts +0 -2
- package/dist/types/components/Dropins/PciDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/PciDropin/types.d.ts +0 -14
- package/dist/types/components/Dropins/PciDropin/validate.d.ts +0 -3
- package/dist/types/components/Dropins/RoleAndTypeDropin/components/RoleAndTypeDropinComponent.d.ts +0 -2
- package/dist/types/components/Dropins/RoleAndTypeDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/RoleAndTypeDropin/types.d.ts +0 -18
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/components/ServiceAgreementDropinComponent.d.ts +0 -2
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/components/useServiceAgreement.d.ts +0 -22
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/index.d.ts +0 -1
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/types.d.ts +0 -25
- package/dist/types/components/Dropins/ServiceAgreementDropinComponent/validate.d.ts +0 -3
- package/dist/types/components/Dropins/SolePropDropin/components/SolePropDropinComponent.d.ts +0 -2
- package/dist/types/components/Dropins/SolePropDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/TrustDropin/components/TrustDropinComponent.d.ts +0 -2
- package/dist/types/components/Dropins/TrustDropin/index.d.ts +0 -1
- package/dist/types/components/Dropins/types.d.ts +0 -63
- package/dist/types/components/EventEmitter.d.ts +0 -20
- package/dist/types/components/IdDocumentUpload/component/IdDocumentAlreadyUpload.d.ts +0 -3
- package/dist/types/components/IdDocumentUpload/component/IdDocumentInstantVerificationComponent.d.ts +0 -5
- package/dist/types/components/IdDocumentUpload/component/IdDocumentManualUpload.d.ts +0 -6
- package/dist/types/components/IdDocumentUpload/component/IdDocumentUploadComponent.d.ts +0 -4
- package/dist/types/components/IdDocumentUpload/types.d.ts +0 -50
- package/dist/types/components/IdVerification/component/IdVerificationComponent.d.ts +0 -3
- package/dist/types/components/IdVerification/types.d.ts +0 -13
- package/dist/types/components/IdVerificationMethod/IdVerificationMethodComponent.d.ts +0 -5
- package/dist/types/components/IdVerificationMethod/idVerificationMethodMetadata.d.ts +0 -14
- package/dist/types/components/IdVerificationMethod/index.d.ts +0 -1
- package/dist/types/components/IdVerificationMethod/types.d.ts +0 -13
- package/dist/types/components/IdentityAu/additionalIdentityInfoSchema.d.ts +0 -8
- package/dist/types/components/IdentityAu/component/DriversLicense.d.ts +0 -21
- package/dist/types/components/IdentityAu/component/IdentityAuComponent.d.ts +0 -2
- package/dist/types/components/IdentityAu/component/PassportNumber.d.ts +0 -15
- package/dist/types/components/IdentityAu/component/ProofOfIdentityCard.d.ts +0 -15
- package/dist/types/components/IdentityAu/component/TypeOfIdentity.d.ts +0 -12
- package/dist/types/components/IdentityAu/types.d.ts +0 -10
- package/dist/types/components/IdentityAu/validate.d.ts +0 -3
- package/dist/types/components/IdentityNumber/component/IdentityNumberComponent.d.ts +0 -4
- package/dist/types/components/IdentityNumber/formats.d.ts +0 -15
- package/dist/types/components/IdentityNumber/type.d.ts +0 -12
- package/dist/types/components/IdentityNumber/validate.d.ts +0 -40
- package/dist/types/components/IdentityNumber/validate.helper.d.ts +0 -5
- package/dist/types/components/Individual/component/IndividualComponent.d.ts +0 -7
- package/dist/types/components/Individual/rules.d.ts +0 -10
- package/dist/types/components/Individual/types.d.ts +0 -48
- package/dist/types/components/LegalEntityTypeSwitcher/LegalEntityTypeSwitcher.d.ts +0 -2
- package/dist/types/components/LegalEntityTypeSwitcher/type.d.ts +0 -6
- package/dist/types/components/PatriotActDisclosure.d.ts +0 -1
- package/dist/types/components/PayoutAccount/component/PayoutAccountComponent.d.ts +0 -6
- package/dist/types/components/PayoutAccount/types.d.ts +0 -30
- package/dist/types/components/PayoutBankStatement/component/BankDocumentRequirements.d.ts +0 -7
- package/dist/types/components/PayoutBankStatement/component/PayoutBankStatementComponent.d.ts +0 -6
- package/dist/types/components/PayoutBankStatement/types.d.ts +0 -31
- package/dist/types/components/PayoutDetails/component/PayoutDetailsComponent.d.ts +0 -28
- package/dist/types/components/PayoutDetails/rules.d.ts +0 -13
- package/dist/types/components/PayoutDetails/types.d.ts +0 -42
- package/dist/types/components/PayoutVerificationMethod/allowedBankCountriesPerCountry.d.ts +0 -2
- package/dist/types/components/PayoutVerificationMethod/component/PayoutVerificationMethod.d.ts +0 -5
- package/dist/types/components/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +0 -14
- package/dist/types/components/PayoutVerificationMethod/types.d.ts +0 -18
- package/dist/types/components/PersonalDetails/component/PersonalDetailsComponent.d.ts +0 -4
- package/dist/types/components/PersonalDetails/types.d.ts +0 -27
- package/dist/types/components/PersonalDetails/validate.d.ts +0 -3
- package/dist/types/components/ProofOfResidency/ProofOfResidencyComponent.d.ts +0 -4
- package/dist/types/components/ProofOfResidency/types.d.ts +0 -39
- package/dist/types/components/RegistrationAddress/component/RegistrationAddressComponent.d.ts +0 -6
- package/dist/types/components/RegistrationAddress/types.d.ts +0 -26
- package/dist/types/components/RegistrationAddress/validate.d.ts +0 -3
- package/dist/types/components/Review/component/ReviewComponent.d.ts +0 -3
- package/dist/types/components/Review/types.d.ts +0 -6
- package/dist/types/components/SoleProp/component/SolePropComponent.d.ts +0 -6
- package/dist/types/components/SoleProp/labels.d.ts +0 -5
- package/dist/types/components/SoleProp/types.d.ts +0 -31
- package/dist/types/components/TaskList/component/PayoutAccountTaskListItem.d.ts +0 -11
- package/dist/types/components/TaskList/component/TaskItemStatus.d.ts +0 -3
- package/dist/types/components/TaskList/component/TaskListComponent.d.ts +0 -4
- package/dist/types/components/TaskList/component/TaskListGroup.d.ts +0 -5
- package/dist/types/components/TaskList/component/TaskListItem.d.ts +0 -5
- package/dist/types/components/TaskList/types.d.ts +0 -73
- package/dist/types/components/Trust/component/TrustComponent.d.ts +0 -7
- package/dist/types/components/Trust/types.d.ts +0 -27
- package/dist/types/components/TrustMembers/component/TrustMembersComponent.d.ts +0 -4
- package/dist/types/components/TrustMembers/component/UndefinedBeneficiaries.d.ts +0 -8
- package/dist/types/components/TrustMembers/types.d.ts +0 -22
- package/dist/types/components/TrustRegistrationDetails/component/TrustRegistrationDetailsComponent.d.ts +0 -4
- package/dist/types/components/TrustRegistrationDetails/types.d.ts +0 -16
- package/dist/types/components/TrustRegistrationDetails/validate.d.ts +0 -3
- package/dist/types/components/TrustRoleAndEntityType/component/TrustRoleAndEntityTypeComponent.d.ts +0 -3
- package/dist/types/components/TrustRoleAndEntityType/getAvailableRoles.d.ts +0 -2
- package/dist/types/components/TrustRoleAndEntityType/types.d.ts +0 -23
- package/dist/types/components/TrustRoleAndEntityType/validate.d.ts +0 -3
- package/dist/types/components/UIElement.d.ts +0 -19
- package/dist/types/components/identityUS/component/IdentityUSComponent.d.ts +0 -4
- package/dist/types/components/index.d.ts +0 -29
- package/dist/types/components/internal/Accordion/Accordion.d.ts +0 -3
- package/dist/types/components/internal/Accordion/AccordionContext.d.ts +0 -2
- package/dist/types/components/internal/Accordion/index.d.ts +0 -1
- package/dist/types/components/internal/Accordion/types.d.ts +0 -22
- package/dist/types/components/internal/AccordionItem/AccordionItem.d.ts +0 -3
- package/dist/types/components/internal/AccordionItem/index.d.ts +0 -1
- package/dist/types/components/internal/AccordionItem/types.d.ts +0 -13
- package/dist/types/components/internal/AccordionItem/useAccordionContext.d.ts +0 -3
- package/dist/types/components/internal/AccountHolder/AccountHolder.d.ts +0 -3
- package/dist/types/components/internal/AccountHolder/index.d.ts +0 -1
- package/dist/types/components/internal/AccountHolder/types.d.ts +0 -11
- package/dist/types/components/internal/AccountHolder/validate.d.ts +0 -3
- package/dist/types/components/internal/Address/Address.d.ts +0 -12
- package/dist/types/components/internal/Address/components/CountryField.d.ts +0 -2
- package/dist/types/components/internal/Address/components/FieldContainer.d.ts +0 -8
- package/dist/types/components/internal/Address/components/SearchAddress.d.ts +0 -4
- package/dist/types/components/internal/Address/components/StateField.d.ts +0 -2
- package/dist/types/components/internal/Address/constants.d.ts +0 -7
- package/dist/types/components/internal/Address/types.d.ts +0 -96
- package/dist/types/components/internal/Address/utils.d.ts +0 -21
- package/dist/types/components/internal/Address/validate.d.ts +0 -3
- package/dist/types/components/internal/Address/validate.formats.d.ts +0 -4
- package/dist/types/components/internal/Alert/Alert.d.ts +0 -6
- package/dist/types/components/internal/Alert/components/ReviewAlert.d.ts +0 -2
- package/dist/types/components/internal/Alert/components/VerificationErrorAlert.d.ts +0 -3
- package/dist/types/components/internal/Alert/index.d.ts +0 -1
- package/dist/types/components/internal/Alert/types.d.ts +0 -22
- package/dist/types/components/internal/BankAccountFormat/BankAccountFormat.d.ts +0 -2
- package/dist/types/components/internal/BankAccountFormat/types.d.ts +0 -5
- package/dist/types/components/internal/BankAccountNumber/BankAccountNumber.d.ts +0 -3
- package/dist/types/components/internal/BankAccountNumber/index.d.ts +0 -1
- package/dist/types/components/internal/BankAccountNumber/types.d.ts +0 -5
- package/dist/types/components/internal/BankCity/BankCity.d.ts +0 -3
- package/dist/types/components/internal/BankCity/index.d.ts +0 -1
- package/dist/types/components/internal/BankCity/types.d.ts +0 -5
- package/dist/types/components/internal/BankCode/BankCode.d.ts +0 -3
- package/dist/types/components/internal/BankCode/index.d.ts +0 -1
- package/dist/types/components/internal/BankCode/types.d.ts +0 -5
- package/dist/types/components/internal/BankName/BankName.d.ts +0 -3
- package/dist/types/components/internal/BankName/index.d.ts +0 -1
- package/dist/types/components/internal/BankName/types.d.ts +0 -5
- package/dist/types/components/internal/BranchCode/BranchCode.d.ts +0 -3
- package/dist/types/components/internal/BranchCode/index.d.ts +0 -1
- package/dist/types/components/internal/BranchCode/types.d.ts +0 -5
- package/dist/types/components/internal/BusinessRegistrationNumber/BusinessRegistrationNumber.d.ts +0 -3
- package/dist/types/components/internal/BusinessRegistrationNumber/formatters.d.ts +0 -4
- package/dist/types/components/internal/BusinessRegistrationNumber/index.d.ts +0 -1
- package/dist/types/components/internal/BusinessRegistrationNumber/types.d.ts +0 -11
- package/dist/types/components/internal/BusinessRegistrationNumber/validate.d.ts +0 -19
- package/dist/types/components/internal/Button/Button.d.ts +0 -6
- package/dist/types/components/internal/Button/index.d.ts +0 -1
- package/dist/types/components/internal/Button/types.d.ts +0 -25
- package/dist/types/components/internal/Card/Card.d.ts +0 -4
- package/dist/types/components/internal/Card/CardGroup.d.ts +0 -3
- package/dist/types/components/internal/Card/types.d.ts +0 -16
- package/dist/types/components/internal/CollapsibleContainer/CollapsibleContainer.d.ts +0 -3
- package/dist/types/components/internal/CollapsibleContainer/index.d.ts +0 -1
- package/dist/types/components/internal/CollapsibleContainer/types.d.ts +0 -6
- package/dist/types/components/internal/ContextGuidance/ContextGuidance.d.ts +0 -2
- package/dist/types/components/internal/ContextGuidance/index.d.ts +0 -1
- package/dist/types/components/internal/ContextGuidance/types.d.ts +0 -10
- package/dist/types/components/internal/ContextHelper/ContextHelper.d.ts +0 -6
- package/dist/types/components/internal/ContractViewer/ContractViewer.d.ts +0 -3
- package/dist/types/components/internal/ContractViewer/components/Chapter/Chapter.d.ts +0 -2
- package/dist/types/components/internal/ContractViewer/components/ContentElements/ContentElements.d.ts +0 -2
- package/dist/types/components/internal/ContractViewer/components/InternalReference/InternalReference.d.ts +0 -2
- package/dist/types/components/internal/ContractViewer/components/List/List.d.ts +0 -2
- package/dist/types/components/internal/ContractViewer/components/Paragraph/Paragraph.d.ts +0 -3
- package/dist/types/components/internal/ContractViewer/components/Section/Section.d.ts +0 -3
- package/dist/types/components/internal/ContractViewer/components/Table/Table.d.ts +0 -3
- package/dist/types/components/internal/ContractViewer/components/Text/Text.d.ts +0 -3
- package/dist/types/components/internal/ContractViewer/components/Weblink/Weblink.d.ts +0 -3
- package/dist/types/components/internal/ContractViewer/index.d.ts +0 -1
- package/dist/types/components/internal/ContractViewer/types.d.ts +0 -85
- package/dist/types/components/internal/Currency/Currency.d.ts +0 -5
- package/dist/types/components/internal/Currency/index.d.ts +0 -1
- package/dist/types/components/internal/Currency/types.d.ts +0 -10
- package/dist/types/components/internal/DecisionMakerRole/DecisionMakerRoleComponent.d.ts +0 -3
- package/dist/types/components/internal/DecisionMakerRole/index.d.ts +0 -2
- package/dist/types/components/internal/DecisionMakerRole/types.d.ts +0 -10
- package/dist/types/components/internal/DecisionMakerRole/validate.d.ts +0 -3
- package/dist/types/components/internal/Disclaimer/Disclaimer.d.ts +0 -8
- package/dist/types/components/internal/DocumentGuidance/DocumentGuidance.d.ts +0 -4
- package/dist/types/components/internal/DocumentGuidance/type.d.ts +0 -5
- package/dist/types/components/internal/EntityAssociation/EntityAssociation.d.ts +0 -4
- package/dist/types/components/internal/EntityAssociation/types.d.ts +0 -27
- package/dist/types/components/internal/EntityGuidanceStatus/component/EntityGuidanceLegend.d.ts +0 -3
- package/dist/types/components/internal/EntityGuidanceStatus/component/EntityGuidanceStatus.d.ts +0 -4
- package/dist/types/components/internal/EntityGuidanceStatus/component/EntityStatusIcon.d.ts +0 -3
- package/dist/types/components/internal/EntityGuidanceStatus/index.d.ts +0 -3
- package/dist/types/components/internal/EntityGuidanceStatus/types.d.ts +0 -14
- package/dist/types/components/internal/ErrorPanel/ErrorPanel.d.ts +0 -13
- package/dist/types/components/internal/ErrorPanel/components/NavigateToFieldLink.d.ts +0 -5
- package/dist/types/components/internal/ErrorPanel/components/ServerValidationErrors.d.ts +0 -2
- package/dist/types/components/internal/ErrorPanel/components/VerificationErrors.d.ts +0 -2
- package/dist/types/components/internal/ErrorPanel/constants.d.ts +0 -1
- package/dist/types/components/internal/ErrorPanel/types.d.ts +0 -27
- package/dist/types/components/internal/FormFields/Checkbox/Checkbox.d.ts +0 -17
- package/dist/types/components/internal/FormFields/Checkbox/index.d.ts +0 -1
- package/dist/types/components/internal/FormFields/Dropzone/Dropzone.d.ts +0 -3
- package/dist/types/components/internal/FormFields/Dropzone/FilePicker.d.ts +0 -14
- package/dist/types/components/internal/FormFields/Dropzone/components/DropzoneFile.d.ts +0 -3
- package/dist/types/components/internal/FormFields/Dropzone/types.d.ts +0 -26
- package/dist/types/components/internal/FormFields/Dropzone/validate.d.ts +0 -9
- package/dist/types/components/internal/FormFields/Field/Field.d.ts +0 -11
- package/dist/types/components/internal/FormFields/Field/index.d.ts +0 -1
- package/dist/types/components/internal/FormFields/Field/types.d.ts +0 -33
- package/dist/types/components/internal/FormFields/InputBase.d.ts +0 -25
- package/dist/types/components/internal/FormFields/InputDate/InputDate.d.ts +0 -7
- package/dist/types/components/internal/FormFields/InputDate/index.d.ts +0 -1
- package/dist/types/components/internal/FormFields/InputDate/utils.d.ts +0 -22
- package/dist/types/components/internal/FormFields/InputEmail.d.ts +0 -1
- package/dist/types/components/internal/FormFields/InputRadio/InputRadio.d.ts +0 -6
- package/dist/types/components/internal/FormFields/InputTelephone.d.ts +0 -1
- package/dist/types/components/internal/FormFields/InputText.d.ts +0 -8
- package/dist/types/components/internal/FormFields/MultiSelectList/MultiSelectList.d.ts +0 -9
- package/dist/types/components/internal/FormFields/MultiSelectList/index.d.ts +0 -1
- package/dist/types/components/internal/FormFields/RadioGroup/RadioGroup.d.ts +0 -10
- package/dist/types/components/internal/FormFields/RadioGroup/index.d.ts +0 -1
- package/dist/types/components/internal/FormFields/RadioGroup/types.d.ts +0 -18
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioCard.d.ts +0 -3
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioCardSelect.d.ts +0 -22
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioGroupCard.d.ts +0 -3
- package/dist/types/components/internal/FormFields/RadioGroupCard/index.d.ts +0 -3
- package/dist/types/components/internal/FormFields/RadioGroupCard/types.d.ts +0 -40
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +0 -5
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts +0 -3
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts +0 -3
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +0 -3
- package/dist/types/components/internal/FormFields/Select/index.d.ts +0 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +0 -127
- package/dist/types/components/internal/FormFields/TextArea.d.ts +0 -1
- package/dist/types/components/internal/FormFields/utils.d.ts +0 -2
- package/dist/types/components/internal/FormHeader/FormHeader.d.ts +0 -3
- package/dist/types/components/internal/FormHeader/type.d.ts +0 -8
- package/dist/types/components/internal/Heading/Heading.d.ts +0 -10
- package/dist/types/components/internal/Iban/Iban.d.ts +0 -3
- package/dist/types/components/internal/Iban/ibanValidator.d.ts +0 -4
- package/dist/types/components/internal/Iban/index.d.ts +0 -1
- package/dist/types/components/internal/Iban/types.d.ts +0 -7
- package/dist/types/components/internal/Icon/Icon.d.ts +0 -8
- package/dist/types/components/internal/Icon/index.d.ts +0 -1
- package/dist/types/components/internal/LegalCompanyName/LegalCompanyName.d.ts +0 -3
- package/dist/types/components/internal/LegalCompanyName/index.d.ts +0 -1
- package/dist/types/components/internal/LegalCompanyName/types.d.ts +0 -8
- package/dist/types/components/internal/LegalCompanyName/validate.d.ts +0 -3
- package/dist/types/components/internal/Link/Link.d.ts +0 -5
- package/dist/types/components/internal/Link/index.d.ts +0 -1
- package/dist/types/components/internal/Link/types.d.ts +0 -14
- package/dist/types/components/internal/List/List.d.ts +0 -4
- package/dist/types/components/internal/List/ListItem.d.ts +0 -3
- package/dist/types/components/internal/List/types.d.ts +0 -13
- package/dist/types/components/internal/Loader/Loader.d.ts +0 -22
- package/dist/types/components/internal/Loader/index.d.ts +0 -2
- package/dist/types/components/internal/LoaderWrapper/LoaderWrapper.d.ts +0 -13
- package/dist/types/components/internal/LoaderWrapper/constants.d.ts +0 -1
- package/dist/types/components/internal/LoaderWrapper/index.d.ts +0 -1
- package/dist/types/components/internal/Menu/ActionsMenu.d.ts +0 -14
- package/dist/types/components/internal/Name/Name.d.ts +0 -4
- package/dist/types/components/internal/Name/index.d.ts +0 -1
- package/dist/types/components/internal/Name/types.d.ts +0 -6
- package/dist/types/components/internal/Name/validate.d.ts +0 -4
- package/dist/types/components/internal/PhoneInput/PhoneInput.d.ts +0 -10
- package/dist/types/components/internal/PhoneInput/index.d.ts +0 -1
- package/dist/types/components/internal/PhoneInput/types.d.ts +0 -12
- package/dist/types/components/internal/PhoneInput/validate.d.ts +0 -8
- package/dist/types/components/internal/Shimmer/Shimmer.d.ts +0 -2
- package/dist/types/components/internal/Spinner/Spinner.d.ts +0 -17
- package/dist/types/components/internal/Spinner/index.d.ts +0 -1
- package/dist/types/components/internal/Status/Status.d.ts +0 -4
- package/dist/types/components/internal/Status/types.d.ts +0 -6
- package/dist/types/components/internal/Summary/Summary.d.ts +0 -8
- package/dist/types/components/internal/Summary/types.d.ts +0 -16
- package/dist/types/components/internal/SwiftCode/SwiftCode.d.ts +0 -3
- package/dist/types/components/internal/SwiftCode/index.d.ts +0 -1
- package/dist/types/components/internal/SwiftCode/types.d.ts +0 -5
- package/dist/types/components/internal/Tag/Tag.d.ts +0 -9
- package/dist/types/components/internal/Tag/index.d.ts +0 -1
- package/dist/types/components/internal/TaxId/TaxId.d.ts +0 -3
- package/dist/types/components/internal/TaxId/index.d.ts +0 -1
- package/dist/types/components/internal/TaxId/rules.d.ts +0 -2
- package/dist/types/components/internal/TaxId/taxIdValidation.d.ts +0 -1
- package/dist/types/components/internal/TaxId/types.d.ts +0 -16
- package/dist/types/components/internal/TaxId/validate.d.ts +0 -4
- package/dist/types/components/internal/Toast/Toast.d.ts +0 -3
- package/dist/types/components/internal/Toast/index.d.ts +0 -2
- package/dist/types/components/internal/Toast/types.d.ts +0 -16
- package/dist/types/components/internal/VatNumber/VatNumber.d.ts +0 -3
- package/dist/types/components/internal/VatNumber/index.d.ts +0 -1
- package/dist/types/components/internal/VatNumber/types.d.ts +0 -19
- package/dist/types/components/internal/VatNumber/validate.d.ts +0 -4
- package/dist/types/components/internal/VatNumber/vatNumberValidation.d.ts +0 -5
- package/dist/types/core/Context/CoreContext.d.ts +0 -20
- package/dist/types/core/Context/CoreProvider.d.ts +0 -35
- package/dist/types/core/Context/ExperimentContext/ExperimentsContext.d.ts +0 -2
- package/dist/types/core/Context/ExperimentContext/ExperimentsContextProvider.d.ts +0 -8
- package/dist/types/core/Context/ExperimentContext/types.d.ts +0 -12
- package/dist/types/core/Context/ExperimentContext/useExperimentsContext.d.ts +0 -1
- package/dist/types/core/Context/FormRouterContext/FormRouterContext.d.ts +0 -4
- package/dist/types/core/Context/FormRouterContext/FormRouterContextProvider.d.ts +0 -2
- package/dist/types/core/Context/FormRouterContext/types.d.ts +0 -9
- package/dist/types/core/Context/FormRouterContext/useFormRouterContext.d.ts +0 -4
- package/dist/types/core/Context/SettingsContext/SettingsContext.d.ts +0 -2
- package/dist/types/core/Context/SettingsContext/SettingsContextProvider.d.ts +0 -8
- package/dist/types/core/Context/SettingsContext/types.d.ts +0 -12
- package/dist/types/core/Context/SettingsContext/useSettingsContext.d.ts +0 -1
- package/dist/types/core/Context/StateContext/StateContext.d.ts +0 -2
- package/dist/types/core/Context/StateContext/StateContextSetter.d.ts +0 -2
- package/dist/types/core/Context/StateContext/StateContextWatcher.d.ts +0 -2
- package/dist/types/core/Context/StateContext/StateProvider.d.ts +0 -4
- package/dist/types/core/Context/StateContext/StateReducer.d.ts +0 -11
- package/dist/types/core/Context/StateContext/hasDataChanged.d.ts +0 -1
- package/dist/types/core/Context/StateContext/types.d.ts +0 -76
- package/dist/types/core/Context/StateContext/useGlobalData.d.ts +0 -8
- package/dist/types/core/Context/StateContext/useStateContext.d.ts +0 -2
- package/dist/types/core/Context/ToastContext/ToastContext.d.ts +0 -6
- package/dist/types/core/Context/ToastContext/ToastContextProvider.d.ts +0 -4
- package/dist/types/core/Context/ToastContext/useToastContext.d.ts +0 -2
- package/dist/types/core/Context/useCoreContext.d.ts +0 -1
- package/dist/types/core/Environment/normalizeEnvironment.d.ts +0 -1
- package/dist/types/core/SDKValidation/index.d.ts +0 -4
- package/dist/types/core/SDKValidation/schemas.d.ts +0 -2
- package/dist/types/core/SDKValidation/types.d.ts +0 -19
- package/dist/types/core/Services/get-account-format.d.ts +0 -4
- package/dist/types/core/Services/get-allowed-countries.d.ts +0 -3
- package/dist/types/core/Services/get-allowed-locales.d.ts +0 -3
- package/dist/types/core/Services/get-configuration.d.ts +0 -3
- package/dist/types/core/Services/get-dataset.d.ts +0 -3
- package/dist/types/core/Services/get-fonts.d.ts +0 -16
- package/dist/types/core/Services/get-images.d.ts +0 -2
- package/dist/types/core/Services/http.d.ts +0 -4
- package/dist/types/core/Services/types.d.ts +0 -16
- package/dist/types/core/Services/utils.d.ts +0 -5
- package/dist/types/core/Services/validate-phone-number.d.ts +0 -3
- package/dist/types/core/Services/verify-id-number.d.ts +0 -3
- package/dist/types/core/constants.d.ts +0 -11
- package/dist/types/core/core.d.ts +0 -26
- package/dist/types/core/error.d.ts +0 -4
- package/dist/types/core/hooks/useAsyncValidator.d.ts +0 -11
- package/dist/types/core/hooks/useClickAwayListener.d.ts +0 -9
- package/dist/types/core/hooks/useDataset.d.ts +0 -5
- package/dist/types/core/hooks/useForm/index.d.ts +0 -3
- package/dist/types/core/hooks/useForm/reducer.d.ts +0 -38
- package/dist/types/core/hooks/useForm/types.d.ts +0 -87
- package/dist/types/core/hooks/useForm/useForm.d.ts +0 -13
- package/dist/types/core/hooks/useForm/utils.d.ts +0 -2
- package/dist/types/core/hooks/useFormComposer.d.ts +0 -22
- package/dist/types/core/hooks/useIdVerificationToken.d.ts +0 -11
- package/dist/types/core/hooks/useKycExternalApi.d.ts +0 -23
- package/dist/types/core/hooks/useScenarioConfiguration.d.ts +0 -25
- package/dist/types/core/hooks/useStaticValidator/index.d.ts +0 -1
- package/dist/types/core/hooks/useStaticValidator/useStaticValidator.d.ts +0 -7
- package/dist/types/core/models/api/address-search.d.ts +0 -28
- package/dist/types/core/models/api/address.d.ts +0 -9
- package/dist/types/core/models/api/attachment.d.ts +0 -5
- package/dist/types/core/models/api/capability.d.ts +0 -30
- package/dist/types/core/models/api/company-types-value.d.ts +0 -10
- package/dist/types/core/models/api/contracts.d.ts +0 -57
- package/dist/types/core/models/api/data-set.d.ts +0 -5
- package/dist/types/core/models/api/decision-maker-type.d.ts +0 -6
- package/dist/types/core/models/api/document.d.ts +0 -29
- package/dist/types/core/models/api/documentDetail.d.ts +0 -9
- package/dist/types/core/models/api/entity-type.d.ts +0 -4
- package/dist/types/core/models/api/get-account-format.d.ts +0 -5
- package/dist/types/core/models/api/get-allowed-countries.d.ts +0 -4
- package/dist/types/core/models/api/get-allowed-locales.d.ts +0 -3
- package/dist/types/core/models/api/get-configuration.d.ts +0 -62
- package/dist/types/core/models/api/individual.d.ts +0 -23
- package/dist/types/core/models/api/instant-id-verification.d.ts +0 -34
- package/dist/types/core/models/api/legal-entity-association.d.ts +0 -14
- package/dist/types/core/models/api/legal-entity-type.d.ts +0 -6
- package/dist/types/core/models/api/legal-entity.d.ts +0 -30
- package/dist/types/core/models/api/organization.d.ts +0 -30
- package/dist/types/core/models/api/phone.d.ts +0 -5
- package/dist/types/core/models/api/problem.d.ts +0 -13
- package/dist/types/core/models/api/remediating-action.d.ts +0 -4
- package/dist/types/core/models/api/review.d.ts +0 -3
- package/dist/types/core/models/api/soleProprietor.d.ts +0 -13
- package/dist/types/core/models/api/transfer-instrument.d.ts +0 -37
- package/dist/types/core/models/api/trust-member-type.d.ts +0 -8
- package/dist/types/core/models/api/trust-types-value.d.ts +0 -17
- package/dist/types/core/models/api/trust.d.ts +0 -20
- package/dist/types/core/models/api/verification-error.d.ts +0 -15
- package/dist/types/core/models/api/verification-status.d.ts +0 -6
- package/dist/types/core/models/api/verify-id-number.d.ts +0 -14
- package/dist/types/core/models/company.d.ts +0 -19
- package/dist/types/core/models/country-code.d.ts +0 -249
- package/dist/types/core/models/country-config.d.ts +0 -9
- package/dist/types/core/models/currency.d.ts +0 -19
- package/dist/types/core/models/decision-maker.d.ts +0 -55
- package/dist/types/core/models/errors/capability-problems.d.ts +0 -7
- package/dist/types/core/models/errors/entity-problems.d.ts +0 -21
- package/dist/types/core/models/errors/error-message.d.ts +0 -7
- package/dist/types/core/models/errors/form-verification-errors.d.ts +0 -3
- package/dist/types/core/models/errors/maintenance-mode-error.d.ts +0 -7
- package/dist/types/core/models/errors/remediation-action-context.d.ts +0 -4
- package/dist/types/core/models/errors/remediation.d.ts +0 -8
- package/dist/types/core/models/errors/validation-error.d.ts +0 -19
- package/dist/types/core/models/field-configurations.d.ts +0 -8
- package/dist/types/core/models/form-labels.d.ts +0 -5
- package/dist/types/core/models/form-rules.d.ts +0 -15
- package/dist/types/core/models/form.d.ts +0 -18
- package/dist/types/core/models/id-verification-status.d.ts +0 -7
- package/dist/types/core/models/identity.d.ts +0 -41
- package/dist/types/core/models/payout-account.d.ts +0 -11
- package/dist/types/core/models/scenario-fields.d.ts +0 -11
- package/dist/types/core/models/sole-prop.d.ts +0 -10
- package/dist/types/core/models/trust.d.ts +0 -25
- package/dist/types/core/process-field-configurations.d.ts +0 -67
- package/dist/types/core/remediationActionMapping.d.ts +0 -3
- package/dist/types/core/types.d.ts +0 -21
- package/dist/types/core/user-events.d.ts +0 -62
- package/dist/types/core/utils.d.ts +0 -30
- package/dist/types/index.d.ts +0 -2
- package/dist/types/language/Language.d.ts +0 -47
- package/dist/types/language/config.d.ts +0 -982
- package/dist/types/language/index.d.ts +0 -1
- package/dist/types/language/types.d.ts +0 -9
- package/dist/types/language/utils.d.ts +0 -59
- package/dist/types/types/index.d.ts +0 -9
- package/dist/types/utils/LoadedValue.d.ts +0 -2
- package/dist/types/utils/accountHolderUtils.d.ts +0 -7
- package/dist/types/utils/addLinkedFields.d.ts +0 -2
- package/dist/types/utils/api/documentUtils.d.ts +0 -21
- package/dist/types/utils/api/processCapabilitites.d.ts +0 -54
- package/dist/types/utils/api/processValidationErrors.d.ts +0 -9
- package/dist/types/utils/bankVerification/animation.d.ts +0 -2
- package/dist/types/utils/bankVerification/dom.d.ts +0 -1
- package/dist/types/utils/bytesToSize.d.ts +0 -1
- package/dist/types/utils/company-util.d.ts +0 -9
- package/dist/types/utils/datasetUtil.d.ts +0 -17
- package/dist/types/utils/decision-maker-roles.d.ts +0 -22
- package/dist/types/utils/dropin-utils.d.ts +0 -18
- package/dist/types/utils/entity-association-util.d.ts +0 -24
- package/dist/types/utils/entity-status-util.d.ts +0 -9
- package/dist/types/utils/entriesOf.d.ts +0 -2
- package/dist/types/utils/escapeHtml.d.ts +0 -3
- package/dist/types/utils/eventHandlers/handleKeys.d.ts +0 -5
- package/dist/types/utils/file.d.ts +0 -9
- package/dist/types/utils/formUtils.d.ts +0 -22
- package/dist/types/utils/formatting/stripCountryIdFormat.d.ts +0 -2
- package/dist/types/utils/genUtils.d.ts +0 -55
- package/dist/types/utils/get-name.d.ts +0 -8
- package/dist/types/utils/get-props.d.ts +0 -3
- package/dist/types/utils/get-task-status.d.ts +0 -8
- package/dist/types/utils/getFieldsWithExistingData.d.ts +0 -8
- package/dist/types/utils/getNestedPropertyKeys.d.ts +0 -14
- package/dist/types/utils/hasDuplicates.d.ts +0 -1
- package/dist/types/utils/idGenerator.d.ts +0 -1
- package/dist/types/utils/logger.d.ts +0 -15
- package/dist/types/utils/mapping/componentApiMapping.d.ts +0 -152
- package/dist/types/utils/mapping/documentGuidanceMap.d.ts +0 -5
- package/dist/types/utils/mapping/mapEntityAssociationsToUniqueTrustMembers.d.ts +0 -12
- package/dist/types/utils/mapping/mapping.d.ts +0 -117
- package/dist/types/utils/payout-account-util.d.ts +0 -6
- package/dist/types/utils/payout-account.d.ts +0 -2
- package/dist/types/utils/recordWithDefault.d.ts +0 -3
- package/dist/types/utils/regex/basePatterns.d.ts +0 -3
- package/dist/types/utils/regex/businessRegistrationNumberPatterns.d.ts +0 -2
- package/dist/types/utils/regex/countryIdNumberPatterns.d.ts +0 -13
- package/dist/types/utils/regex/index.d.ts +0 -5
- package/dist/types/utils/regex/types.d.ts +0 -25
- package/dist/types/utils/regex/vatNumberPatterns.d.ts +0 -17
- package/dist/types/utils/remove-object-empty-values.d.ts +0 -1
- package/dist/types/utils/scroll.d.ts +0 -1
- package/dist/types/utils/trackNavigation.d.ts +0 -10
- package/dist/types/utils/trust-util.d.ts +0 -44
- package/dist/types/utils/useForwardRef.d.ts +0 -2
- package/dist/types/utils/useStateFromProp.d.ts +0 -9
- package/dist/types/utils/uuid.d.ts +0 -1
- package/dist/types/utils/validation/ValidationResult.d.ts +0 -13
- package/dist/types/utils/validation/commonValidators.d.ts +0 -3
- package/dist/types/utils/validation/types.d.ts +0 -61
- package/dist/types/utils/validatorUtils.d.ts +0 -27
- package/dist/types/utils/verification/helpers/verify-id-number-helper.d.ts +0 -3
- package/dist/types/utils/verification/verificationUtils.d.ts +0 -7
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import type { CountryBankVerificationVendors } from '../../../components/BankVerification/types';
|
|
2
|
-
import type { TaskTypes } from '../../../components/TaskList/types';
|
|
3
|
-
import type { CountryCode } from '../country-code';
|
|
4
|
-
import type { LegalEntityType } from './legal-entity-type';
|
|
5
|
-
type LengthSpecifier = `:${number}`;
|
|
6
|
-
type Optional<T extends string> = T | '';
|
|
7
|
-
type IbanRule = `iban${LengthSpecifier}${Optional<LengthSpecifier>}`;
|
|
8
|
-
type DigitsRule = `digits${LengthSpecifier}${Optional<LengthSpecifier>}`;
|
|
9
|
-
type BicRule = 'bic_either8or11';
|
|
10
|
-
type NotImplementedRule = `${string} not implemented`;
|
|
11
|
-
export type ValidationName = 'iban' | 'digits' | 'bic_either8or11';
|
|
12
|
-
export type ValidationRule = IbanRule | DigitsRule | BicRule | NotImplementedRule;
|
|
13
|
-
interface RequiredField {
|
|
14
|
-
Field: {
|
|
15
|
-
fieldName: string;
|
|
16
|
-
validationRule?: ValidationRule;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export interface PayoutRequiredFields {
|
|
20
|
-
currency?: string;
|
|
21
|
-
bankStatementRequirement: 'OPTIONAL' | 'REQUIRED';
|
|
22
|
-
fields: RequiredField[];
|
|
23
|
-
}
|
|
24
|
-
export interface PayoutFormatOptions {
|
|
25
|
-
iban?: PayoutRequiredFields;
|
|
26
|
-
local?: PayoutRequiredFields;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @description These are the available scenarios matching the API
|
|
30
|
-
* kycexternalapi/src/main/java/com/adyen/services/kycexternalapi/entity/Scenario.java
|
|
31
|
-
*/
|
|
32
|
-
export declare const enum Scenarios {
|
|
33
|
-
L = "L",
|
|
34
|
-
L0 = "L0",
|
|
35
|
-
L1 = "L1",
|
|
36
|
-
L1_ID = "L1_ID",
|
|
37
|
-
L1_IDO = " L1_IDO",
|
|
38
|
-
L1_NAT = "L1_NAT",
|
|
39
|
-
L1_IDDOC = "L1_IDDOC",
|
|
40
|
-
L_REGDOC = "L_REGDOC",
|
|
41
|
-
L_TAXDOC = "L_TAXDOC",
|
|
42
|
-
L_PROOFOFADDRESS = "L_PROOFOFADDRESS"
|
|
43
|
-
}
|
|
44
|
-
export type Scenario = `${Scenarios}`;
|
|
45
|
-
export type IndividualScenario = `${Scenarios.L0}` | `${Scenarios.L1}` | `${Scenarios.L1_ID}` | `${Scenarios.L1_IDO}` | `${Scenarios.L1_NAT}` | `${Scenarios.L1_IDDOC}`;
|
|
46
|
-
export type OrganizationScenario = `${Scenarios.L0}` | `${Scenarios.L1}` | `${Scenarios.L}` | `${Scenarios.L_REGDOC}` | `${Scenarios.L_TAXDOC}` | `${Scenarios.L_PROOFOFADDRESS}`;
|
|
47
|
-
export interface GetConfigurationRequest {
|
|
48
|
-
country: CountryCode;
|
|
49
|
-
capabilities: string[];
|
|
50
|
-
legalEntityType: LegalEntityType;
|
|
51
|
-
}
|
|
52
|
-
export interface GetConfigurationResponse {
|
|
53
|
-
matchingScenario?: {
|
|
54
|
-
individual?: IndividualScenario[];
|
|
55
|
-
organization?: OrganizationScenario[];
|
|
56
|
-
trust?: Scenario[];
|
|
57
|
-
soleProprietorship?: Scenario[];
|
|
58
|
-
};
|
|
59
|
-
taskList?: TaskTypes[];
|
|
60
|
-
bankVerificationProviders?: CountryBankVerificationVendors;
|
|
61
|
-
}
|
|
62
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Address } from './address';
|
|
2
|
-
import { Phone } from './phone';
|
|
3
|
-
export interface Individual {
|
|
4
|
-
birthData?: {
|
|
5
|
-
dateOfBirth: string;
|
|
6
|
-
};
|
|
7
|
-
email?: string;
|
|
8
|
-
identificationData?: {
|
|
9
|
-
issuerState?: string;
|
|
10
|
-
nationalIdExempt: boolean;
|
|
11
|
-
number?: string;
|
|
12
|
-
type?: string;
|
|
13
|
-
cardNumber?: string;
|
|
14
|
-
};
|
|
15
|
-
name: {
|
|
16
|
-
firstName: string;
|
|
17
|
-
infix?: string;
|
|
18
|
-
lastName: string;
|
|
19
|
-
};
|
|
20
|
-
nationality?: string;
|
|
21
|
-
phone?: Phone;
|
|
22
|
-
residentialAddress: Address;
|
|
23
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { OnfidoCaptureSchema } from '../../../components/IdDocumentUpload/types';
|
|
2
|
-
type OnfidoConsentType = 'privacy_notices_read';
|
|
3
|
-
interface OnfidoConsent {
|
|
4
|
-
name: OnfidoConsentType;
|
|
5
|
-
granted: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface InstantIdVerificationTokenRequest {
|
|
8
|
-
name: {
|
|
9
|
-
firstName: string;
|
|
10
|
-
lastName: string;
|
|
11
|
-
};
|
|
12
|
-
country: string;
|
|
13
|
-
origin: string;
|
|
14
|
-
consents: OnfidoConsent[];
|
|
15
|
-
}
|
|
16
|
-
export interface InstantIdVerificationTokenResponse {
|
|
17
|
-
id: string;
|
|
18
|
-
operationStatus: {
|
|
19
|
-
status: string;
|
|
20
|
-
};
|
|
21
|
-
sdkToken: string;
|
|
22
|
-
}
|
|
23
|
-
export interface InstantIdVerificationStartCheckRequest {
|
|
24
|
-
legalEntityId: string;
|
|
25
|
-
captureMetadata: OnfidoCaptureSchema;
|
|
26
|
-
}
|
|
27
|
-
export interface InstantIdVerificationStartCheckResponse {
|
|
28
|
-
checkId: string;
|
|
29
|
-
operationStatus: {
|
|
30
|
-
status: string;
|
|
31
|
-
};
|
|
32
|
-
reference: string;
|
|
33
|
-
}
|
|
34
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SettlorExemptionReason } from '../../../components/TrustRoleAndEntityType/types';
|
|
2
|
-
import { DecisionMakerType } from './decision-maker-type';
|
|
3
|
-
import { LegalEntityType } from './legal-entity-type';
|
|
4
|
-
import { TrustMemberType } from './trust-member-type';
|
|
5
|
-
export type LegalEntityAssociationType = DecisionMakerType | TrustMemberType | LegalEntityType.TRUST | LegalEntityType.SOLE_PROPRIETORSHIP;
|
|
6
|
-
export interface LegalEntityAssociation {
|
|
7
|
-
jobTitle?: string;
|
|
8
|
-
legalEntityId?: string;
|
|
9
|
-
type: LegalEntityAssociationType;
|
|
10
|
-
name?: string;
|
|
11
|
-
entityType?: LegalEntityType;
|
|
12
|
-
associatorId?: string;
|
|
13
|
-
settlorExemptionReason?: SettlorExemptionReason[];
|
|
14
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { PartialDeep } from 'type-fest';
|
|
2
|
-
import { Capability, CapabilityType } from './capability';
|
|
3
|
-
import { DocumentDetail } from './documentDetail';
|
|
4
|
-
import { Individual } from './individual';
|
|
5
|
-
import { LegalEntityAssociation } from './legal-entity-association';
|
|
6
|
-
import { LegalEntityType } from './legal-entity-type';
|
|
7
|
-
import { Organization } from './organization';
|
|
8
|
-
import { SoleProprietor } from './soleProprietor';
|
|
9
|
-
import { TransferInstrumentOverview } from './transfer-instrument';
|
|
10
|
-
import { Trust } from './trust';
|
|
11
|
-
export interface LegalEntity {
|
|
12
|
-
id?: string;
|
|
13
|
-
documentDetails?: DocumentDetail[];
|
|
14
|
-
entityAssociations?: LegalEntityAssociation[];
|
|
15
|
-
individual?: Individual;
|
|
16
|
-
organization?: Organization;
|
|
17
|
-
soleProprietorship?: SoleProprietor;
|
|
18
|
-
trust?: Trust;
|
|
19
|
-
type?: LegalEntityType;
|
|
20
|
-
capabilities?: {
|
|
21
|
-
[key in CapabilityType]?: Capability;
|
|
22
|
-
};
|
|
23
|
-
transferInstruments?: TransferInstrumentOverview[];
|
|
24
|
-
}
|
|
25
|
-
export type PatchLegalEntity = Omit<PartialDeep<LegalEntity, {
|
|
26
|
-
recurseIntoArrays: true;
|
|
27
|
-
}>, 'id'>;
|
|
28
|
-
export interface ExistingLegalEntity extends LegalEntity {
|
|
29
|
-
id: string;
|
|
30
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Address } from './address';
|
|
2
|
-
import { CompanyTypesValue } from './company-types-value';
|
|
3
|
-
import { Phone } from './phone';
|
|
4
|
-
export interface Organization {
|
|
5
|
-
description?: string;
|
|
6
|
-
doingBusinessAs?: string;
|
|
7
|
-
email?: string;
|
|
8
|
-
legalName: string;
|
|
9
|
-
phone?: Phone;
|
|
10
|
-
principalPlaceOfBusiness?: Address;
|
|
11
|
-
registeredAddress: Address;
|
|
12
|
-
registrationNumber?: string;
|
|
13
|
-
stockData?: {
|
|
14
|
-
marketIdentifier: string;
|
|
15
|
-
stockNumber: string;
|
|
16
|
-
tickerSymbol: string;
|
|
17
|
-
};
|
|
18
|
-
taxInformation?: TaxInformation[];
|
|
19
|
-
vatNumber?: string;
|
|
20
|
-
vatAbsenceReason?: VatAbsenceReason;
|
|
21
|
-
type?: CompanyTypesValue;
|
|
22
|
-
}
|
|
23
|
-
export declare const vatAbsenceReasons: readonly ["industryExemption", "belowTaxThreshold"];
|
|
24
|
-
export type VatAbsenceReason = (typeof vatAbsenceReasons)[number];
|
|
25
|
-
export type TaxInformation = {
|
|
26
|
-
country: string;
|
|
27
|
-
number: string;
|
|
28
|
-
type: TaxInformationType;
|
|
29
|
-
};
|
|
30
|
-
export type TaxInformationType = 'SSN' | 'EIN' | 'ITIN' | 'ABN';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EntityType } from './entity-type';
|
|
2
|
-
import { VerificationError } from './verification-error';
|
|
3
|
-
export interface Problem {
|
|
4
|
-
entity: {
|
|
5
|
-
id: string;
|
|
6
|
-
type: EntityType;
|
|
7
|
-
owner?: {
|
|
8
|
-
id: string;
|
|
9
|
-
type: EntityType;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
verificationErrors: VerificationError[];
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Address } from './address';
|
|
2
|
-
import { TaxInformation, VatAbsenceReason } from './organization';
|
|
3
|
-
export interface SoleProprietor {
|
|
4
|
-
name: string;
|
|
5
|
-
doingBusinessAs: string;
|
|
6
|
-
countryOfGoverningLaw: string;
|
|
7
|
-
taxInformation: TaxInformation[];
|
|
8
|
-
vatNumber: string;
|
|
9
|
-
vatAbsenceReason: VatAbsenceReason;
|
|
10
|
-
registrationNumber: string;
|
|
11
|
-
registeredAddress: Address;
|
|
12
|
-
principalPlaceOfBusiness: Address;
|
|
13
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { DocumentDetail } from './documentDetail';
|
|
2
|
-
export interface BankAccount {
|
|
3
|
-
accountNumber: string;
|
|
4
|
-
accountType: string;
|
|
5
|
-
bankBicSwift: string;
|
|
6
|
-
bankCode?: string;
|
|
7
|
-
bankName: string;
|
|
8
|
-
branchCode: string;
|
|
9
|
-
checkCode?: string;
|
|
10
|
-
bankCity?: string;
|
|
11
|
-
countryCode: string;
|
|
12
|
-
currencyCode: string;
|
|
13
|
-
iban?: string;
|
|
14
|
-
realLastFour?: string;
|
|
15
|
-
virtualAccountNumber?: boolean;
|
|
16
|
-
trustedSource?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface TransferInstrumentOverview {
|
|
19
|
-
id: string;
|
|
20
|
-
accountIdentifier: string;
|
|
21
|
-
realLastFour?: string;
|
|
22
|
-
trustedSource?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface TransferInstrument {
|
|
25
|
-
id: string;
|
|
26
|
-
legalEntityId: string;
|
|
27
|
-
bankAccount: BankAccount;
|
|
28
|
-
type: TransferInstrumentType;
|
|
29
|
-
documentDetails?: DocumentDetail[];
|
|
30
|
-
}
|
|
31
|
-
export declare enum TransferInstrumentType {
|
|
32
|
-
BANK_ACCOUNT = "bankAccount",
|
|
33
|
-
RECURRING_DETAIL = "recurringDetail"
|
|
34
|
-
}
|
|
35
|
-
export declare function isTransferInstrument(account: TransferInstrument | TransferInstrumentOverview): account is TransferInstrument;
|
|
36
|
-
export declare const isInstantVerifiedAccount: (account: TransferInstrument | TransferInstrumentOverview) => boolean;
|
|
37
|
-
export declare const getMaskedAccountNumber: ({ accountIdentifier, realLastFour, }: TransferInstrumentOverview) => string;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare enum TrustTypes {
|
|
2
|
-
CASH_MANAGEMENT_TRUST = "cashManagementTrust",
|
|
3
|
-
CORPORATE_UNIT_TRUST = "corporateUnitTrust",
|
|
4
|
-
DECEASED_ESTATE = "deceasedEstate",
|
|
5
|
-
DISCRETIONARY_INVESTMENT_TRUST = "discretionaryInvestmentTrust",
|
|
6
|
-
DISCRETIONARY_SERVICES_MANAGEMENT_TRUST = "discretionaryServicesManagementTrust",
|
|
7
|
-
DISCRETIONARY_TRADING_TRUST = "discretionaryTradingTrust",
|
|
8
|
-
FIRST_HOME_SAVER_ACCOUNTS_TRUST = "firstHomeSaverAccountsTrust",
|
|
9
|
-
FIXED_TRUST = "fixedTrust",
|
|
10
|
-
FIXED_UNIT_TRUST = "fixedUnitTrust",
|
|
11
|
-
HYBRID_TRUST = "hybridTrust",
|
|
12
|
-
LISTED_PUBLIC_UNIT_TRUST = "listedPublicUnitTrust",
|
|
13
|
-
OTHER_TRUST = "otherTrust",
|
|
14
|
-
POOLED_SUPERANNUATION_TRUST = "pooledSuperannuationTrust",
|
|
15
|
-
PUBLIC_TRADING_TRUST = "publicTradingTrust",
|
|
16
|
-
UNLISTED_PUBLIC_UNIT_TRUST = "unlistedPublicUnitTrust"
|
|
17
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Address } from './address';
|
|
2
|
-
import { TaxInformation, VatAbsenceReason } from './organization';
|
|
3
|
-
import { TrustTypes } from './trust-types-value';
|
|
4
|
-
export interface Trust {
|
|
5
|
-
name: string;
|
|
6
|
-
doingBusinessAs?: string;
|
|
7
|
-
type?: TrustTypes;
|
|
8
|
-
countryOfGoverningLaw: string;
|
|
9
|
-
vatNumber?: string;
|
|
10
|
-
vatAbsenceReason?: VatAbsenceReason;
|
|
11
|
-
taxInformation?: TaxInformation[];
|
|
12
|
-
registrationNumber?: string;
|
|
13
|
-
registeredAddress: Address;
|
|
14
|
-
principalPlaceOfBusiness?: Address;
|
|
15
|
-
undefinedBeneficiaryInfo?: UndefinedBeneficiaryInfo[];
|
|
16
|
-
}
|
|
17
|
-
export interface UndefinedBeneficiaryInfo {
|
|
18
|
-
description: string;
|
|
19
|
-
reference: string;
|
|
20
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ErrorCode } from '../errors/error-message';
|
|
2
|
-
import { RemediatingAction } from './remediating-action';
|
|
3
|
-
export declare enum VerificationErrorType {
|
|
4
|
-
DATA_MISSING = "dataMissing",
|
|
5
|
-
INVALID_INPUT = "invalidInput",
|
|
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[];
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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,19 +0,0 @@
|
|
|
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';
|
|
5
|
-
interface CompanyTypeModel {
|
|
6
|
-
id: CompanyTypesValue;
|
|
7
|
-
name: TranslationKey;
|
|
8
|
-
description: TranslationKey;
|
|
9
|
-
}
|
|
10
|
-
export declare const companyBase: {
|
|
11
|
-
[key: string]: ScenarioFieldSettings;
|
|
12
|
-
};
|
|
13
|
-
export declare const taxIdBase: {
|
|
14
|
-
[key: string]: ScenarioFieldSettings;
|
|
15
|
-
};
|
|
16
|
-
export declare const companyTypes: readonly CompanyTypeModel[];
|
|
17
|
-
export declare const fieldsPerScenario: ScenarioFields<typeof companyBase>;
|
|
18
|
-
export declare const countryConfig: CountryConfig;
|
|
19
|
-
export {};
|
|
@@ -1,249 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
import { TranslationKey } from '../../language/types';
|
|
2
|
-
import { CountryCode } from './country-code';
|
|
3
|
-
export type CountryConfig = Partial<Record<CountryCode, {
|
|
4
|
-
[field: string]: CountryFieldConfig;
|
|
5
|
-
}>>;
|
|
6
|
-
export interface CountryFieldConfig {
|
|
7
|
-
label?: TranslationKey;
|
|
8
|
-
placeholder?: TranslationKey;
|
|
9
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare enum Currency {
|
|
2
|
-
AUD = "AUD",
|
|
3
|
-
BGN = "BGN",
|
|
4
|
-
BRL = "BRL",
|
|
5
|
-
CAD = "CAD",
|
|
6
|
-
CHF = "CHF",
|
|
7
|
-
CZK = "CZK",
|
|
8
|
-
DKK = "DKK",
|
|
9
|
-
EUR = "EUR",
|
|
10
|
-
GBP = "GBP",
|
|
11
|
-
HUF = "HUF",
|
|
12
|
-
HRK = "HRK",
|
|
13
|
-
PLN = "PLN",
|
|
14
|
-
NOK = "NOK",
|
|
15
|
-
RON = "RON",
|
|
16
|
-
SGD = "SGD",
|
|
17
|
-
SEK = "SEK",
|
|
18
|
-
USD = "USD"
|
|
19
|
-
}
|