@adyen/kyc-components 3.53.2 → 3.54.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.
Files changed (198) hide show
  1. package/dist/es/{B4MFY5CR-BoL9jlIT.js → B4MFY5CR-DDQAMInY.js} +1 -1
  2. package/dist/es/{HO4MOOFI-Cj7-DqRm.js → HO4MOOFI-UEN7mrZI.js} +2 -2
  3. package/dist/es/{HUY7CZI3-n6-nghz1.js → HUY7CZI3-C_axCv_G.js} +2 -2
  4. package/dist/es/adyen-kyc-components.es.js +1 -1
  5. package/dist/es/{bg-BG-DsUc0kup.js → bg-BG-C6dXuS6i.js} +50 -6
  6. package/dist/es/{cs-CZ-NpGjMJK8.js → cs-CZ-DTgiPcBZ.js} +50 -6
  7. package/dist/es/{da-DK-BRGhS3bB.js → da-DK-CwytgMXu.js} +50 -6
  8. package/dist/es/{de-DE-D9nZLQ7_.js → de-DE-CpeEfnmu.js} +50 -6
  9. package/dist/es/{el-GR-DMqNszvM.js → el-GR-D-o2oS4y.js} +50 -6
  10. package/dist/es/{es-ES-B2jnQ9gD.js → es-ES-DsZofunn.js} +52 -8
  11. package/dist/es/{et-EE-Dvv6jO9G.js → et-EE-C-XOI2Dk.js} +50 -6
  12. package/dist/es/{fi-FI-Dzbf9H8A.js → fi-FI-Cm0qkK7s.js} +50 -6
  13. package/dist/es/{fr-FR-odEoEWuS.js → fr-FR-Kx0Ugr8E.js} +50 -6
  14. package/dist/es/{hr-HR-CuytP6oL.js → hr-HR-DAym4ihz.js} +50 -6
  15. package/dist/es/{hu-HU-D4i2k96R.js → hu-HU-DEG7Sv6k.js} +50 -6
  16. package/dist/es/{index-DENuK0_N.js → index-DPsf1lQH.js} +18394 -17374
  17. package/dist/es/{it-IT-DbQib6EJ.js → it-IT-DFmXNpqy.js} +50 -6
  18. package/dist/es/{lt-LT-VjpHHZTz.js → lt-LT-DnJsgnDm.js} +50 -6
  19. package/dist/es/{lv-LV-H3bljn19.js → lv-LV-CLN3SjTi.js} +50 -6
  20. package/dist/es/{nl-NL-Df6Qaluo.js → nl-NL-Cp0Comlx.js} +50 -6
  21. package/dist/es/{no-NO-CnmJV2vm.js → no-NO-D5-hSFt4.js} +50 -6
  22. package/dist/es/{pl-PL-fRr9JmiA.js → pl-PL-XEE8HUq0.js} +50 -6
  23. package/dist/es/{pt-PT-h9NgXWgy.js → pt-PT-DGhgkS82.js} +50 -6
  24. package/dist/es/{ro-RO-37YDJPYt.js → ro-RO-DngmASTX.js} +50 -6
  25. package/dist/es/{sk-SK-DwgJLguO.js → sk-SK-CGweTnMy.js} +50 -6
  26. package/dist/es/{sl-SI-F0jZuNCm.js → sl-SI-DoETuyIR.js} +50 -6
  27. package/dist/es/{sv-SE-qitGfWdY.js → sv-SE-QSvsBy9i.js} +50 -6
  28. package/dist/style.css +118 -0
  29. package/dist/types/api/{useLegalEntity.d.ts → legalEntity/useLegalEntity.d.ts} +2 -2
  30. package/dist/types/api/{useOnboardingStatus.d.ts → onboardingStatus/useOnboardingStatus.d.ts} +2 -2
  31. package/dist/types/api/{usePciStatus.d.ts → pciTemplate/usePciStatus.d.ts} +2 -2
  32. package/dist/types/api/pciTemplate/usePciTemplate.d.ts +1 -2
  33. package/dist/types/api/pciTemplate/useSignPci.d.ts +1 -2
  34. package/dist/types/api/termsOfService/useServiceAgreementAcceptanceInfos.d.ts +1 -2
  35. package/dist/types/api/termsOfService/useServiceAgreementStatus.d.ts +1 -1
  36. package/dist/types/api/useAddressCleanse.d.ts +4 -0
  37. package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +1 -1
  38. package/dist/types/components/BankAccount/forms/BankVerification/validate.d.ts +1 -1
  39. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -1
  40. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +1 -1
  41. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +2 -1
  42. package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +0 -2
  43. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
  44. package/dist/types/components/Business/forms/Company/rules.d.ts +0 -12
  45. package/dist/types/components/Business/forms/CompanyStructure/validate.d.ts +1 -1
  46. package/dist/types/components/Business/forms/CompanyType/validate.d.ts +1 -1
  47. package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +2 -1
  48. package/dist/types/components/Business/forms/TaxDocument/types.d.ts +2 -1
  49. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +5 -4
  50. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +0 -3
  51. package/dist/types/components/Contract/tasks/PciDropin/validate.d.ts +1 -1
  52. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/useServiceAgreement.d.ts +1 -1
  53. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/validate.d.ts +1 -1
  54. package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureDropin.d.ts +0 -1
  55. package/dist/types/components/EFP/tasks/HighExposureDropin/types.d.ts +3 -3
  56. package/dist/types/components/EFP/tasks/HighExposureDropin/validate.d.ts +1 -1
  57. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataOriginatorLegalEntity.d.ts +2 -1
  58. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.d.ts +1 -2
  59. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +1 -1
  60. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +1 -1
  61. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +4 -3
  62. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +0 -2
  63. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/validate.d.ts +1 -1
  64. package/dist/types/components/EmbeddedDropins/ManagePCIComponent/ManagePCIComponent.d.ts +2 -1
  65. package/dist/types/components/EmbeddedDropins/ManageTermsOfServiceComponent/ManageTermsOfServiceComponent.d.ts +2 -1
  66. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +2 -1
  67. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +2 -1
  68. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.d.ts +2 -1
  69. package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/utils.d.ts +1 -1
  70. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +2 -1
  71. package/dist/types/components/Individual/fields/DecisionMakerRole/validate.d.ts +2 -3
  72. package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +1 -1
  73. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +2 -1
  74. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +1 -1
  75. package/dist/types/components/Individual/forms/Individual/IndividualExperimentWrapper.d.ts +3 -4
  76. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/DriversLicense.d.ts +1 -1
  77. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/validate.d.ts +1 -1
  78. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/validate.d.ts +1 -1
  79. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/DriversLicense.d.ts +1 -1
  80. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/validate.d.ts +1 -1
  81. package/dist/types/components/Individual/forms/Individual/PersonalDetails/PersonalDetails.d.ts +0 -6
  82. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +1 -6
  83. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +1 -1
  84. package/dist/types/components/Individual/forms/Individual/rules.d.ts +0 -9
  85. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.d.ts +0 -2
  86. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -6
  87. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/IdentityHK/validate.d.ts +1 -1
  88. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +19 -0
  89. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.d.ts +3 -0
  90. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +26 -0
  91. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/ConfirmManualFlowModal/ConfirmManualFlowModal.d.ts +5 -0
  92. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/DeleteDocumentModal/DeleteDocumentModal.d.ts +5 -0
  93. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationDisclaimer/IdVerificationDisclaimer.d.ts +1 -0
  94. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationHeader/IdVerificationHeader.d.ts +1 -0
  95. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.d.ts +2 -0
  96. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +1 -2
  97. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +7 -0
  98. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/UploadedDocument/UploadedDocument.d.ts +7 -0
  99. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +1 -1
  100. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +9 -6
  101. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +2 -0
  102. package/dist/types/components/Shared/FormNavigation/types.d.ts +1 -1
  103. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -1
  104. package/dist/types/components/Shared/Introduction/Introduction.d.ts +2 -1
  105. package/dist/types/components/Shared/SingpassSelection/SingpassSelection.d.ts +1 -13
  106. package/dist/types/components/Shared/Summary/types.d.ts +1 -1
  107. package/dist/types/components/Shared/devex/DebugWrapper/DebugTaskStatuses.d.ts +0 -5
  108. package/dist/types/components/Shared/fields/CountryField/CountryField.d.ts +1 -1
  109. package/dist/types/components/Shared/fields/CountryField/validate.d.ts +1 -1
  110. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/validate.d.ts +1 -1
  111. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -8
  112. package/dist/types/components/Shared/fields/Name/validate.d.ts +1 -1
  113. package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +0 -3
  114. package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +1 -1
  115. package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
  116. package/dist/types/components/Shared/forms/Address/FieldContainer.d.ts +1 -1
  117. package/dist/types/components/Shared/forms/Address/types.d.ts +4 -7
  118. package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
  119. package/dist/types/components/Shared/forms/Address/validate.d.ts +6 -5
  120. package/dist/types/components/Shared/forms/Address/validate.formats.d.ts +1 -1
  121. package/dist/types/components/Shared/forms/BusinessTypeSelection/BusinessTypeSelection.d.ts +1 -11
  122. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -6
  123. package/dist/types/components/Shared/forms/CompanyNameAndCountry/CompanyNameAndCountry.d.ts +0 -1
  124. package/dist/types/components/Shared/forms/CompanyNameAndCountry/validate.d.ts +1 -1
  125. package/dist/types/components/Shared/forms/ContactDetails/validate.d.ts +1 -1
  126. package/dist/types/components/Shared/forms/FinancialInformation/validate.d.ts +1 -1
  127. package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddress.d.ts +0 -2
  128. package/dist/types/components/Shared/forms/RegistrationAddress/validate.d.ts +1 -1
  129. package/dist/types/components/Trust/forms/TrustRegistrationDetails/validate.d.ts +1 -1
  130. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +0 -1
  131. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/validate.d.ts +1 -1
  132. package/dist/types/components/Trust/tasks/TrustMembers/UndefinedBeneficiaryTaskItem.d.ts +2 -1
  133. package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +1 -1
  134. package/dist/types/components/index.d.ts +4 -1
  135. package/dist/types/components/ui/atoms/MaskedInput/MaskedInput.d.ts +1 -1
  136. package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
  137. package/dist/types/components/ui/atoms/Select/Select.types.d.ts +2 -0
  138. package/dist/types/components/ui/atoms/SelectButton/SelectButton.d.ts +1 -1
  139. package/dist/types/components/ui/atoms/SelectButton/SelectButton.types.d.ts +1 -0
  140. package/dist/types/components/ui/molecules/Dropzone/validate.d.ts +1 -1
  141. package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +1 -1
  142. package/dist/types/core/EventEmitter.d.ts +1 -1
  143. package/dist/types/core/analytics.d.ts +1 -1
  144. package/dist/types/core/constants.d.ts +2 -1
  145. package/dist/types/core/context/ConfigurationApiContext/ConfigurationApiContext.d.ts +1 -1
  146. package/dist/types/core/context/ExpiryContext/ExpiryContext.d.ts +0 -1
  147. package/dist/types/core/context/StateContext/types.d.ts +5 -3
  148. package/dist/types/core/hooks/introduction/useHasSeenIntroduction.d.ts +2 -1
  149. package/dist/types/core/hooks/introduction/useIntroductionScreens.d.ts +1 -1
  150. package/dist/types/core/hooks/singpass/useSingpassMyInfoLogin.d.ts +0 -4
  151. package/dist/types/core/hooks/useAsyncValidator.d.ts +2 -2
  152. package/dist/types/core/hooks/useClickAwayListener.d.ts +0 -2
  153. package/dist/types/core/hooks/useDataMissingRemediations.d.ts +1 -1
  154. package/dist/types/core/hooks/useDataset.d.ts +1 -1
  155. package/dist/types/core/hooks/useForm/reducer.d.ts +1 -1
  156. package/dist/types/core/hooks/useForm/types.d.ts +3 -2
  157. package/dist/types/core/hooks/useForm/useForm.d.ts +1 -1
  158. package/dist/types/core/hooks/useMultiForm/reducer.d.ts +2 -2
  159. package/dist/types/core/hooks/useMultiForm/types.d.ts +3 -3
  160. package/dist/types/core/hooks/useMultiForm/useMultiFormAsyncValidator.d.ts +2 -2
  161. package/dist/types/core/hooks/useMultiForm/useMultiFormStaticValidator.d.ts +2 -2
  162. package/dist/types/core/hooks/useMultiForm/utils.d.ts +0 -11
  163. package/dist/types/core/hooks/useScenarioConfiguration.d.ts +2 -1
  164. package/dist/types/core/hooks/useStaticValidator/useStaticValidator.d.ts +2 -2
  165. package/dist/types/core/models/api/contracts.d.ts +6 -1
  166. package/dist/types/core/models/api/get-configuration.d.ts +1 -1
  167. package/dist/types/core/models/api/transfer-instrument-reference.d.ts +1 -1
  168. package/dist/types/core/models/company.d.ts +2 -2
  169. package/dist/types/core/models/country-config.d.ts +1 -1
  170. package/dist/types/core/models/errors/validation-error.d.ts +0 -3
  171. package/dist/types/core/models/field-configurations.d.ts +1 -1
  172. package/dist/types/core/models/file.d.ts +0 -1
  173. package/dist/types/core/models/form-rules.d.ts +1 -1
  174. package/dist/types/core/models/identity.d.ts +0 -17
  175. package/dist/types/core/models/province-code.d.ts +3 -3
  176. package/dist/types/core/models/scenario-fields.d.ts +1 -1
  177. package/dist/types/core/models/trust.d.ts +3 -2
  178. package/dist/types/core/process-field-configurations.d.ts +2 -2
  179. package/dist/types/core/services/agnostic/get-dataset.d.ts +1 -1
  180. package/dist/types/core/services/http.d.ts +0 -1
  181. package/dist/types/core/services/utils.d.ts +0 -7
  182. package/dist/types/datasets/generators/getBusinessTypeExamplesForCountry.d.ts +0 -1
  183. package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +0 -1
  184. package/dist/types/datasets/generators/getLegalArrangementTypeExamplesForCountry.d.ts +0 -1
  185. package/dist/types/stores/globalStore/get-task-status.d.ts +0 -3
  186. package/dist/types/utils/accountHolderUtils.d.ts +0 -2
  187. package/dist/types/utils/api/processValidationErrors.d.ts +1 -1
  188. package/dist/types/utils/birthDateUtils.d.ts +1 -10
  189. package/dist/types/utils/decisionMakerRoles.d.ts +1 -4
  190. package/dist/types/utils/entityAssociationUtil.d.ts +2 -3
  191. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  192. package/dist/types/utils/file.d.ts +0 -8
  193. package/dist/types/utils/mapping/componentApiMapping.d.ts +1 -2
  194. package/dist/types/utils/mapping/mapping.d.ts +1 -3
  195. package/dist/types/utils/masking/shiftRight.d.ts +0 -4
  196. package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +2 -9
  197. package/package.json +17 -4
  198. package/dist/types/stores/legalEntity/legalEntity.d.ts +0 -5
@@ -1,5 +1,4 @@
1
1
  import type { OuterFormLabels } from '../../../../core/hooks/useForm/types';
2
- import type { ParseConfiguration } from '../../../../core/hooks/useScenarioConfiguration';
3
2
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
4
3
  import type { FormModelWithValidity } from '../../../../core/models/form';
5
4
  import type { Language } from '../../../../language/Language';
@@ -7,9 +6,7 @@ import type { BasicInformationSchema } from '../../forms/BasicInformation/types'
7
6
  import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
8
7
  import type { ExperimentName } from '../../../../core/context/ExperimentContext/types';
9
8
  import type { SubmitOrgProps, SubmitSolePropProps } from './types';
10
- export declare const parseConfiguration: ParseConfiguration;
11
9
  export declare const canSubmit: (data: BusinessDetailsSchema) => boolean;
12
- export declare const isDocumentsRequired: (forms: FormModelWithValidity[]) => boolean;
13
10
  export declare const removeConditionalForms: (forms: FormModelWithValidity[], isSkippingCompanyStructure: boolean) => FormModelWithValidity[];
14
11
  export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], labels: OuterFormLabels<BusinessDetailsSchema>, i18n: Language, isExperimentEnabled: (key: ExperimentName) => boolean) => {};
15
12
  export declare function submitOrg({ data, legalEntityResponse, additionalTrackingParams, forms, problems, documentUtils, i18n, setLoadingStatus, setProblems, showToast, clearToasts, handleUpdateLegalEntity, onExternalSubmit, accountHolder, isExperimentEnabled, }: SubmitOrgProps): Promise<void>;
@@ -1,3 +1,3 @@
1
- import type { ValidatorRules } from '../../../../utils/validation/types';
1
+ import type { ValidatorRules } from '#utils/validation/types';
2
2
  import type { PciSchema } from './types';
3
3
  export declare const pciValidationRules: ValidatorRules<PciSchema>;
@@ -3,7 +3,7 @@ import type { ServiceAgreementRequest, ServiceAgreementResponse } from '../../..
3
3
  import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
4
4
  import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
5
5
  import type { ServiceAgreementType } from './types';
6
- export type ServiceAgreement = {
6
+ type ServiceAgreement = {
7
7
  id: string;
8
8
  contract: Document;
9
9
  };
@@ -1,3 +1,3 @@
1
- import type { ValidatorRules } from '../../../../utils/validation/types';
1
+ import type { ValidatorRules } from '#utils/validation/types';
2
2
  import type { ServiceAgreementSchema } from './types';
3
3
  export declare const serviceAgreementValidationRules: ValidatorRules<ServiceAgreementSchema>;
@@ -1,3 +1,2 @@
1
1
  import type { HighExposureDropinProps } from './types';
2
- export declare const highExposureFormsRequiredFields: Record<string, string[]>;
3
2
  export declare function HighExposureDropin(props: HighExposureDropinProps): import("preact").JSX.Element;
@@ -5,8 +5,8 @@ import type { CountryCode } from '../../../../core/models/country-code';
5
5
  import type { Currency } from '../../../../core/models/currency';
6
6
  import type { FormList, FormModel } from '../../../../core/models/form';
7
7
  import type { Translatable, TranslationKey } from '../../../../language/types';
8
- import type { FormUtils } from '../../../../utils/formUtils';
9
- import type { ValidationRuleResult, ValidatorMode } from '../../../../utils/validation/types';
8
+ import type { FormUtils } from '#utils/formUtils';
9
+ import type { ValidationRuleResult, ValidatorMode } from '#utils/validation/types';
10
10
  import type { AddressSchema } from '../../../Shared/forms/Address/types';
11
11
  import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
12
12
  import type { AddressSearchRequest, AddressSearchResponse, LoqateAddress } from '../../../../core/models/api/address-search';
@@ -169,7 +169,7 @@ export type HighExposureBasicCompanyInformationProps = {
169
169
  formUtils: FormUtils<HighExposureParentSchemasCombined>;
170
170
  sectionHeading?: Translatable;
171
171
  };
172
- export declare enum HighExposureRadioIds {
172
+ declare enum HighExposureRadioIds {
173
173
  YES = "Yes",
174
174
  NO = "No"
175
175
  }
@@ -1,4 +1,4 @@
1
- import type { ValidatorRules } from '../../../../utils/validation/types';
1
+ import type { ValidatorRules } from '#utils/validation/types';
2
2
  import type { HighExposureCompanySchema, HighExposureParentCompanySchema, HighExposureUltimateParentCompanySchema } from './types';
3
3
  export declare const validateLegalEntityIdentifier: (legalEntityIdentifier: string | null | undefined) => boolean;
4
4
  export declare const validateDateNotInTheFuture: (selectedDate: string | null | undefined) => boolean;
@@ -1,5 +1,6 @@
1
1
  import type { AdditionalDataProps } from '../types';
2
- export interface AdditionalDataOriginatorLegalEntityProps extends Omit<AdditionalDataProps, 'handleAmountChange' | 'categories'> {
2
+ interface AdditionalDataOriginatorLegalEntityProps extends Omit<AdditionalDataProps, 'handleAmountChange' | 'categories'> {
3
3
  sourceOfFundsType: 'donations' | 'inheritance';
4
4
  }
5
5
  export declare function AdditionalDataOriginatorLegalEntity(props: AdditionalDataOriginatorLegalEntityProps): import("preact").JSX.Element;
6
+ export {};
@@ -1,3 +1,2 @@
1
- import type { SourceOfFundsTypeProps, SourceOfFundsTypeSchema } from './types';
2
- export declare const sourceOfFundsTypeFields: Array<keyof SourceOfFundsTypeSchema>;
1
+ import type { SourceOfFundsTypeProps } from './types';
3
2
  export declare function SourceOfFundsType(props: SourceOfFundsTypeProps): import("preact").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import type { BusinessLinesType } from '../../../../../core/models/api/source-of-funds';
2
- import type { DocumentApiUtils } from '../../../../../utils/api/documentUtils';
2
+ import type { DocumentApiUtils } from '#utils/api/documentUtils';
3
3
  export interface SOFUploadModalProps {
4
4
  handleModalClose: () => void;
5
5
  legalEntityId: string;
@@ -1,5 +1,5 @@
1
1
  import type { BusinessLinesType } from '../../../../../core/models/api/source-of-funds';
2
- import type { DocumentApiUtils } from '../../../../../utils/api/documentUtils';
2
+ import type { DocumentApiUtils } from '#utils/api/documentUtils';
3
3
  import type { ExistingLegalEntity } from '../../../../../core/models/api/legal-entity';
4
4
  export interface SourceOfFundsUploadProps {
5
5
  businessLines: BusinessLinesType[];
@@ -7,8 +7,8 @@ import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
7
7
  import type { CountryCode } from '../../../../core/models/country-code';
8
8
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
9
9
  import type { BusinessLinesType, SourceOfFundsAmount, SourceOfFundsCategoryType, SourceOfFundsFinancierType } from '../../../../core/models/api/source-of-funds';
10
- import type { FormUtils } from '../../../../utils/formUtils';
11
- import type { ValidationRuleResult, ValidatorMode } from '../../../../utils/validation/types';
10
+ import type { FormUtils } from '#utils/formUtils';
11
+ import type { ValidationRuleResult, ValidatorMode } from '#utils/validation/types';
12
12
  import type { DataSet } from '../../../../core/models/api/data-set';
13
13
  import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
14
14
  import type { Individual } from '../../../../core/models/api/individual';
@@ -25,7 +25,7 @@ export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSche
25
25
  onNext?(e: any, callbacks: any, isValid: any): void;
26
26
  onBack?(): void;
27
27
  }
28
- export type SourceOfFundsDropinApiHandlers = Pick<Required<DropinAPIHandlers>, 'handleUpdateLegalEntity' | 'handleCreateDocument' | 'handleDeleteDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleGetLegalEntity' | 'handleCreateLegalEntity'>;
28
+ type SourceOfFundsDropinApiHandlers = Pick<Required<DropinAPIHandlers>, 'handleUpdateLegalEntity' | 'handleCreateDocument' | 'handleDeleteDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleGetLegalEntity' | 'handleCreateLegalEntity'>;
29
29
  export interface SourceOfFundsSchema {
30
30
  sourceOfFundsType?: SourceOfFundsTypeSchema;
31
31
  additionalData?: SourceOfFundsAdditionalDataSchema;
@@ -81,3 +81,4 @@ export interface SOFOriginatorPayload {
81
81
  individual?: Individual;
82
82
  organization?: Organization;
83
83
  }
84
+ export {};
@@ -28,7 +28,6 @@ export declare const sourceOfFundsForms: {
28
28
  };
29
29
  };
30
30
  export declare const sourceOfFundsRequiredFields: Record<string, string[]>;
31
- export declare const typesRequiringAdditionalData: SourceOfFundsCategoryType[];
32
31
  export declare const getSourceOfFundsRequiredForms: (data?: SourceOfFundsTypeSchema) => {
33
32
  [k: string]: {
34
33
  readonly formId: "sourceOfFundsType";
@@ -62,7 +61,6 @@ export declare const formatDateForInput: (isoDateString?: string) => string;
62
61
  export declare const getSofCardDetails: (i18n: Language, sourceOfFunds?: SourceOfFundsType) => string;
63
62
  export declare const ALLOWED_SOF_SERVICES: string[];
64
63
  export declare const SOF_INVALID_INPUT_ERROR_CODES: string[];
65
- export declare const SOF_INVALID_INPUT_SUBERROR_CODES: string[];
66
64
  export declare const SOF_ALL_INVALID_INPUT_ERRORS: string[];
67
65
  export declare const getRelevantErrors: (problems: Problem[] | undefined, targetCodes: string[]) => false | VerificationError[];
68
66
  export declare const getUniqueRemediationActions: (error: VerificationError) => import("../../../../core/models/api/remediating-action").RemediatingAction[];
@@ -1,4 +1,4 @@
1
1
  import type { SourceOfFundsAdditionalDataSchema, SourceOfFundsTypeSchema } from './types';
2
- import type { ValidatorRules } from '../../../../utils/validation/types';
2
+ import type { ValidatorRules } from '#utils/validation/types';
3
3
  export declare const sourceOfFundsTypeValidations: ValidatorRules<SourceOfFundsTypeSchema>;
4
4
  export declare const sourceOfFundsAdditionalDataValidations: ValidatorRules<SourceOfFundsAdditionalDataSchema>;
@@ -1,5 +1,6 @@
1
- export interface ManageTermsOfServiceComponentProps {
1
+ interface ManageTermsOfServiceComponentProps {
2
2
  legalEntityId: string;
3
3
  onClick?(): void;
4
4
  }
5
5
  export declare function ManagePCIComponent({ legalEntityId, onClick }: ManageTermsOfServiceComponentProps): import("preact").JSX.Element;
6
+ export {};
@@ -1,5 +1,6 @@
1
- export interface ManageTermsOfServiceComponentProps {
1
+ interface ManageTermsOfServiceComponentProps {
2
2
  legalEntityId: string;
3
3
  onClick?(): void;
4
4
  }
5
5
  export declare function ManageTermsOfServiceComponent({ legalEntityId, onClick, }: ManageTermsOfServiceComponentProps): import("preact").JSX.Element;
6
+ export {};
@@ -1,7 +1,7 @@
1
1
  import './ManageTransferInstrumentOverview.scss';
2
2
  import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
3
3
  import type { TransferInstrumentReference } from '../../../../core/models/api/transfer-instrument-reference';
4
- export interface ManageTransferInstrumentOverviewProps {
4
+ interface ManageTransferInstrumentOverviewProps {
5
5
  transferInstrumentReferences: TransferInstrumentReference[];
6
6
  legalEntityId: ExistingTransferInstrument['id'];
7
7
  onEdit: (transferInstrumentId: ExistingTransferInstrument['id']) => void;
@@ -10,3 +10,4 @@ export interface ManageTransferInstrumentOverviewProps {
10
10
  onInitiateRemove?(): boolean;
11
11
  }
12
12
  export declare function ManageTransferInstrumentOverview({ transferInstrumentReferences, legalEntityId, onEdit, onAdd, onRemove, onInitiateRemove, }: ManageTransferInstrumentOverviewProps): import("preact").JSX.Element;
13
+ export {};
@@ -1,6 +1,6 @@
1
1
  import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
2
2
  import type { TransferInstrumentReference } from '../../../../core/models/api/transfer-instrument-reference';
3
- export interface ManageTransferInstrumentOverviewItemProps {
3
+ interface ManageTransferInstrumentOverviewItemProps {
4
4
  transferInstrumentReference: TransferInstrumentReference;
5
5
  transferInstrument: ExistingTransferInstrument | undefined;
6
6
  onEdit: (transferInstrumentId: ExistingTransferInstrument['id']) => void;
@@ -9,3 +9,4 @@ export interface ManageTransferInstrumentOverviewItemProps {
9
9
  onInitiateRemove?(): boolean;
10
10
  }
11
11
  export declare function ManageTransferInstrumentOverviewItem({ transferInstrumentReference, transferInstrument, onEdit, onOpen, onRemove, onInitiateRemove, }: ManageTransferInstrumentOverviewItemProps): import("preact").JSX.Element;
12
+ export {};
@@ -1,5 +1,6 @@
1
- export interface OnboardingDropinComponentProps {
1
+ interface OnboardingDropinComponentProps {
2
2
  legalEntityId: string;
3
3
  openBankingPartnerConfigId?: string;
4
4
  }
5
5
  export declare function OnboardingDropinComponent({ legalEntityId, openBankingPartnerConfigId, }: OnboardingDropinComponentProps): import("preact").JSX.Element;
6
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type { HighExposureCustomLabels, HighExposureSchema, HighExposureSummaryType } from '../../EFP/tasks/HighExposureDropin/types';
2
- import type { DatasetUtil } from '../../../utils/datasetUtil';
2
+ import type { DatasetUtil } from '#utils/datasetUtil';
3
3
  import type { Language } from '../../../language/Language';
4
4
  export declare const customLabels: HighExposureCustomLabels;
5
5
  export declare const getTranslatedLegalInsolvency: (i18n: Language, insolvencyData?: string) => string;
@@ -1,7 +1,7 @@
1
1
  import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
2
2
  import { OnboardingStatus } from '../../../core/models/api/view-verification-status';
3
3
  import type { ErrorEntity, OnboardingRedirectConfig } from './types';
4
- export interface ViewVerificationStatusComponentProps {
4
+ interface ViewVerificationStatusComponentProps {
5
5
  legalEntityId: ExistingLegalEntity['id'];
6
6
  hideExplanation?: boolean;
7
7
  returnUrl?: string;
@@ -12,3 +12,4 @@ export interface ViewVerificationStatusComponentProps {
12
12
  onRedirect?: (config: OnboardingRedirectConfig) => void;
13
13
  }
14
14
  export declare function ViewVerificationStatusComponent({ legalEntityId, hideExplanation, returnUrl, redirectTarget, themeId, onStatusChange, onError, onRedirect, }: ViewVerificationStatusComponentProps): import("preact").JSX.Element;
15
+ export {};
@@ -1,4 +1,3 @@
1
- import type { DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema } from './types';
2
- import type { ValidatorRules } from '../../../../utils/validation/types';
3
- export declare const decisionMakerRoleValidationRules: ValidatorRules<DecisionMakerRoleSchema>;
1
+ import type { NomineeDecisionMakerRoleSchema } from './types';
2
+ import type { ValidatorRules } from '#utils/validation/types';
4
3
  export declare const nomineeDecisionMakerRoleValidationRules: ValidatorRules<NomineeDecisionMakerRoleSchema>;
@@ -1,5 +1,5 @@
1
1
  import type { ConfigurationApi } from '../../../../core/context/ConfigurationApiContext/ConfigurationApiContext';
2
- import type { AsyncValidatorRules } from '../../../../utils/validation/types';
2
+ import type { AsyncValidatorRules } from '#utils/validation/types';
3
3
  import type { IdentityNumberSchema } from './type';
4
4
  import type { IndividualIdNumberType } from '../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
5
5
  import type { FieldMetadata } from '../../../../core/models/country-config';
@@ -11,7 +11,7 @@ export interface IdDocumentUploadSchema {
11
11
  idBackPage?: FileSchema[];
12
12
  instantIdVerificationData?: OnfidoCaptureSchema;
13
13
  }
14
- export interface IdDocumentTypeOption {
14
+ interface IdDocumentTypeOption {
15
15
  id: DocumentType;
16
16
  name: TranslationKey;
17
17
  hasBackPage: boolean;
@@ -49,3 +49,4 @@ export declare const onfidoDocumentTypeMapping: IdDocumentTypeOption[];
49
49
  export interface IdDocumentAlreadyUploadProps extends BaseInnerFormProps<IdDocumentUploadSchema> {
50
50
  onClickSubmitDocumentAgain: () => void;
51
51
  }
52
+ export {};
@@ -10,6 +10,6 @@ interface IdVerificationMethodMetadata {
10
10
  svgName: SvgName;
11
11
  };
12
12
  }
13
- export type IdVerificationMethodsMetadata = Record<IdVerificationMethodType, IdVerificationMethodMetadata>;
13
+ type IdVerificationMethodsMetadata = Record<IdVerificationMethodType, IdVerificationMethodMetadata>;
14
14
  export declare const idVerificationMethodsMetadata: IdVerificationMethodsMetadata;
15
15
  export {};
@@ -1,4 +1,3 @@
1
- import type { IndividualProps } from './types';
2
- export declare const IndividualExperimentWrapper: import("preact").FunctionalComponent<import("preact/compat").PropsWithoutRef<IndividualProps> & {
3
- ref?: import("preact").Ref<unknown>;
4
- }>;
1
+ import type { IndividualDropinProps } from './types';
2
+ import type { IndividualOnfidoDropinProps } from '../IndividualOnfido/IndividualOnfido.types';
3
+ export declare const IndividualExperimentWrapper: (props: IndividualDropinProps | IndividualOnfidoDropinProps) => import("preact").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import type { AdditionalIdentityInfoSchema } from '../types';
2
2
  import type { IdentityNumberSchema } from '../../../../../fields/IdentityNumber/type';
3
3
  import type { MultiSelectOnChangeProps, SingleSelectOnChangeProps } from '../../../../../../ui/atoms/Select/Select.types';
4
- import type { FormUtils } from '../../../../../../../utils/formUtils';
4
+ import type { FormUtils } from '#utils/formUtils';
5
5
  interface AuDriversLicenseSchema {
6
6
  idNumber?: IdentityNumberSchema['idNumber'];
7
7
  licenseCardNumber?: AdditionalIdentityInfoSchema['licenseCardNumber'];
@@ -1,3 +1,3 @@
1
1
  import type { IdentitySchema } from '../types';
2
- import type { ValidatorRules } from '../../../../../../../utils/validation/types';
2
+ import type { ValidatorRules } from '#utils/validation/types';
3
3
  export declare const auIdentityValidationRules: ValidatorRules<IdentitySchema>;
@@ -1,3 +1,3 @@
1
1
  import type { IdentitySchema } from '../types';
2
- import type { ValidatorRules } from '../../../../../../../utils/validation/types';
2
+ import type { ValidatorRules } from '#utils/validation/types';
3
3
  export declare const identityValidationRules: ValidatorRules<IdentitySchema>;
@@ -1,6 +1,6 @@
1
1
  import type { AdditionalIdentityInfoSchema } from '../types';
2
2
  import type { IdentityNumberSchema } from '../../../../../fields/IdentityNumber/type';
3
- import type { FormUtils } from '../../../../../../../utils/formUtils';
3
+ import type { FormUtils } from '#utils/formUtils';
4
4
  interface NZDriversLicenseSchema {
5
5
  idNumber?: IdentityNumberSchema['idNumber'];
6
6
  licenseCardNumber?: AdditionalIdentityInfoSchema['licenseCardNumber'];
@@ -1,3 +1,3 @@
1
- import type { ValidatorRules } from '../../../../../../../utils/validation/types';
1
+ import type { ValidatorRules } from '#utils/validation/types';
2
2
  import type { IdentitySchema } from '../types';
3
3
  export declare const nzIdentityValidationRules: ValidatorRules<IdentitySchema>;
@@ -1,9 +1,3 @@
1
1
  import type { PersonalDetailsProps, PersonalDetailsSchema } from './types';
2
- import type { LegalRepresentativeRelationshipType } from '../../../../../core/models/api/legal-entity-association';
3
- import type { TranslationKey } from '../../../../../language/types';
4
2
  export declare const personalDetailsFields: Array<keyof PersonalDetailsSchema>;
5
- export declare const relationshipOptions: Array<{
6
- id: LegalRepresentativeRelationshipType;
7
- name: TranslationKey;
8
- }>;
9
3
  export declare function PersonalDetails(props: PersonalDetailsProps): import("preact").JSX.Element;
@@ -9,7 +9,7 @@ import type { BaseInnerFormProps } from '../../../../../core/hooks/useForm/types
9
9
  import type { TaskTypes } from '../../../../../stores/globalStore/taskTypes';
10
10
  import type { DecisionMakerType } from '../../../../../core/models/api/decision-maker-type';
11
11
  import type { ExistingLegalEntity } from '../../../../../core/models/api/legal-entity';
12
- import type { ValidationRuleResults, ValidatorMode } from '../../../../../utils/validation/types';
12
+ import type { ValidationRuleResults, ValidatorMode } from '#utils/validation/types';
13
13
  import type { IndividualIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
14
14
  import type { TranslationKey } from '../../../../../language/types';
15
15
  export interface PersonalDetailsSchema extends NameSchema, IdentityNumberSchema, AdditionalIdentityInfoSchema, DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema, ContactDetailsSchema {
@@ -26,11 +26,6 @@ export interface PersonalDetailsProps extends BaseInnerFormProps<PersonalDetails
26
26
  parentLegalEntity?: ExistingLegalEntity;
27
27
  trustedRoles?: Array<LegalEntityAssociation['type']>;
28
28
  }
29
- export interface IdSchema {
30
- idNumber: string;
31
- firstName: string;
32
- lastName: string;
33
- }
34
29
  export interface IdentityProps {
35
30
  country: CountryCode;
36
31
  personalDetails: PersonalDetailsProps;
@@ -1,5 +1,5 @@
1
1
  import type { PersonalDetailsSchema } from './types';
2
- import type { ValidatorRules } from '../../../../../utils/validation/types';
2
+ import type { ValidatorRules } from '#utils/validation/types';
3
3
  import type { CountryCode } from '../../../../../core/models/country-code';
4
4
  import type { ExperimentName } from '../../../../../core/context/ExperimentContext/types';
5
5
  import type { BooleanSettingName } from '../../../../../core/context/SettingsContext/types';
@@ -3,14 +3,5 @@ import { DecisionMakerType } from '../../../../core/models/api/decision-maker-ty
3
3
  import type { FormRules } from '../../../../core/models/form-rules';
4
4
  import type { IndividualSchema } from './types';
5
5
  export declare const SOLE_PROP_COUNTRIES: CountryCode[];
6
- export declare const ID_NUMBER_EXEMPT_COUNTRIES: CountryCode[];
7
- export declare const COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES: CountryCode[];
8
- export declare const ID_NUMBER_REQUIRED_FOR_DIRECTOR_COUNTRIES: CountryCode[];
9
- export declare const NATIONALITY_REQUIRED_FOR_COUNTRIES: CountryCode[];
10
- export declare const CONTACTS_REQUIRED_FOR_COUNTRIES: CountryCode[];
11
- export declare const JOB_TITLE_REQUIRED_FOR_COUNTRIES: CountryCode[];
12
- export declare const ISSUER_REQUIRED_FOR_COUNTRIES: CountryCode[];
13
- export declare const EXPIRY_DATE_REQUIRED_FOR_COUNTRIES: CountryCode[];
14
- export declare const LICENSE_CARD_NUMBER_REQUIRED_FOR_COUNTRIES: CountryCode[];
15
6
  export declare const DECISION_MAKER_TYPES_WITH_JOBTITLE: DecisionMakerType[];
16
7
  export declare const rules: FormRules<IndividualSchema>;
@@ -1,5 +1,3 @@
1
- import type { IndividualOnfidoSchema } from '../IndividualOnfido.types';
2
1
  import type { AdditionalPersonalDetailsSchema, AdditionalPersonalDetailsProps } from './AdditionalPersonalDetails.types';
3
- export declare const ADDITIONAL_PERSONAL_DETAILS_FORM_ID: keyof IndividualOnfidoSchema;
4
2
  export declare const additionalPersonalDetailsFields: Array<keyof AdditionalPersonalDetailsSchema>;
5
3
  export declare function AdditionalPersonalDetails(props: Readonly<AdditionalPersonalDetailsProps>): import("preact").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import type { BaseInnerFormProps } from '../../../../../core/hooks/useForm/types';
2
2
  import type { CountryCode } from '../../../../../core/models/country-code';
3
3
  import type { TranslationKey } from '../../../../../language/types';
4
- import type { ValidationRuleResults } from '../../../../../utils/validation/types';
4
+ import type { ValidationRuleResults } from '#utils/validation/types';
5
5
  import type { IdentityNumberSchema } from '../../../fields/IdentityNumber/type';
6
6
  import type { AdditionalIdentityInfoSchema } from './Identity/Identity.types';
7
7
  import type { AddressSchema } from '../../../../Shared/forms/Address/types';
@@ -19,11 +19,6 @@ export interface AdditionalPersonalDetailsProps extends BaseInnerFormProps<Addit
19
19
  handleAddressSearch?: DropinAPIHandlers['handleAddressSearch'];
20
20
  handleFindAddress?: DropinAPIHandlers['handleFindAddress'];
21
21
  }
22
- export interface IdSchema {
23
- idNumber: string;
24
- firstName: string;
25
- lastName: string;
26
- }
27
22
  export interface IdentityProps {
28
23
  country: CountryCode;
29
24
  additionalPersonalDetails: AdditionalPersonalDetailsProps;
@@ -1,3 +1,3 @@
1
- import type { ValidatorRules } from '../../../../../../../utils/validation/types';
1
+ import type { ValidatorRules } from '#utils/validation/types';
2
2
  import type { IdentitySchema } from '../Identity.types';
3
3
  export declare const identityValidationRules: ValidatorRules<IdentitySchema>;
@@ -0,0 +1,19 @@
1
+ import type { ValidatorRules } from '#utils/validation/types';
2
+ import type { CountryCode } from '../../../../../core/models/country-code';
3
+ import type { ExperimentName } from '../../../../../core/context/ExperimentContext/types';
4
+ import type { BooleanSettingName } from '../../../../../core/context/SettingsContext/types';
5
+ import { TaskTypes } from '../../../../../stores/globalStore/taskTypes';
6
+ import type { FormVerificationErrors } from '../../../../../core/models/errors/form-verification-errors';
7
+ import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails.types';
8
+ import type { IndividualIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
9
+ export declare const additionalPersonalDetailsValidators: ({ country, isExperimentEnabled, isSettingEnabled, taskType, idNumberType, idNumberExempt, idNumber, existingIdNumber, formVerificationErrors, }: {
10
+ country: CountryCode;
11
+ isExperimentEnabled?: (experiment: ExperimentName) => boolean;
12
+ isSettingEnabled?: (setting: BooleanSettingName) => boolean;
13
+ taskType?: TaskTypes;
14
+ idNumberType: IndividualIdNumberType | undefined;
15
+ idNumberExempt: boolean | undefined;
16
+ idNumber: string | undefined;
17
+ existingIdNumber: string | undefined;
18
+ formVerificationErrors: FormVerificationErrors | undefined;
19
+ }) => ValidatorRules<AdditionalPersonalDetailsSchema>;
@@ -0,0 +1,3 @@
1
+ import type { BasicDetailsProps, BasicDetailsSchema } from './BasicDetails.types';
2
+ export declare const basicDetailsFields: Array<keyof BasicDetailsSchema>;
3
+ export declare function BasicDetails(props: Readonly<BasicDetailsProps>): import("preact").JSX.Element;
@@ -0,0 +1,26 @@
1
+ import type { BaseInnerFormProps } from '../../../../../core/hooks/useForm/types';
2
+ import type { DecisionMakerType } from '../../../../../core/models/api/decision-maker-type';
3
+ import type { ExistingLegalEntity } from '../../../../../core/models/api/legal-entity';
4
+ import type { LegalEntityAssociation, LegalRepresentativeRelationshipType } from '../../../../../core/models/api/legal-entity-association';
5
+ import type { CountryCode } from '../../../../../core/models/country-code';
6
+ import type { TaskTypes } from '../../../../../stores/globalStore/taskTypes';
7
+ import type { NameSchema } from '../../../../Shared/fields/Name/types';
8
+ import type { ContactDetailsSchema } from '../../../../Shared/forms/ContactDetails/types';
9
+ import type { DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema } from '../../../fields/DecisionMakerRole/types';
10
+ export interface BasicDetailsSchema extends NameSchema, DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema, ContactDetailsSchema {
11
+ jobTitle?: string;
12
+ relationship?: LegalRepresentativeRelationshipType;
13
+ }
14
+ export interface BasicDetailsProps extends BaseInnerFormProps<BasicDetailsSchema> {
15
+ country: CountryCode;
16
+ taskType?: TaskTypes;
17
+ allowedRoles?: DecisionMakerType[];
18
+ onResidencyCountryChange?(country: string): void;
19
+ parentLegalEntity?: ExistingLegalEntity;
20
+ trustedRoles?: Array<LegalEntityAssociation['type']>;
21
+ }
22
+ export interface IdSchema {
23
+ idNumber: string;
24
+ firstName: string;
25
+ lastName: string;
26
+ }
@@ -0,0 +1,5 @@
1
+ export interface ConfirmManualFlowModalProps {
2
+ onCancel: () => void;
3
+ onConfirm: () => void;
4
+ }
5
+ export declare const ConfirmManualFlowModal: ({ onCancel, onConfirm }: ConfirmManualFlowModalProps) => import("preact").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export interface DeleteDocumentModalProps {
2
+ onCancel: () => void;
3
+ onDelete: () => void;
4
+ }
5
+ export declare const DeleteDocumentModal: ({ onCancel, onDelete }: DeleteDocumentModalProps) => import("preact").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const IdVerificationDisclaimer: () => import("preact").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const IdVerificationHeader: () => import("preact").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { IdVerificationMethodProps } from './IdVerificationMethod.types';
2
+ export declare function IdVerificationMethod(props: IdVerificationMethodProps): import("preact").JSX.Element;
@@ -4,8 +4,7 @@ import type { FormVerificationErrors } from '../../../../../core/models/errors/f
4
4
  import type { InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../../../../../core/models/api/instant-id-verification';
5
5
  import type { DocumentDetail } from '../../../../../core/models/api/documentDetail';
6
6
  import type { IdDocumentUploadSchema } from '../../Individual/IdDocumentUpload/types';
7
- export declare const idVerificationMethods: readonly ["instantVerification", "manualVerification"];
8
- export type IdVerificationMethodType = (typeof idVerificationMethods)[number];
7
+ export type IdVerificationMethodType = 'instantVerification' | 'manualVerification';
9
8
  export interface IdVerificationMethodSchema {
10
9
  idVerificationMethod: IdVerificationMethodType;
11
10
  }
@@ -0,0 +1,7 @@
1
+ import type { IdDocumentInstantVerificationProps, OnfidoCaptureSchema } from '../../../Individual/IdDocumentUpload/types';
2
+ export interface OnfidoVerificationModalProps extends IdDocumentInstantVerificationProps {
3
+ closeModal: () => void;
4
+ onError: (error: any) => void;
5
+ onComplete: (onfidoResult: OnfidoCaptureSchema) => void;
6
+ }
7
+ export declare const OnfidoVerificationModal: (props: OnfidoVerificationModalProps) => import("preact").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import type { DocumentDetail } from '../../../../../../core/models/api/documentDetail';
2
+ export interface UploadedDocumentProps {
3
+ onDelete: () => void;
4
+ onUpdate: () => void;
5
+ document: DocumentDetail;
6
+ }
7
+ export declare const UploadedDocument: ({ document, onDelete, onUpdate }: UploadedDocumentProps) => import("preact").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { IndividualOnfidoProps } from './IndividualOnfido.types';
2
1
  import type { FormList } from '../../../../core/models/form';
2
+ import type { IndividualOnfidoProps } from './IndividualOnfido.types';
3
3
  export declare const individualOnfidoForms: FormList;
4
4
  export declare function IndividualOnfido(props: Readonly<IndividualOnfidoProps>): import("preact").JSX.Element;
@@ -2,23 +2,24 @@ import type { BaseOuterFormProps } from '../../../../core/hooks/useForm/types';
2
2
  import type { DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
3
3
  import type { InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../../../../core/models/api/instant-id-verification';
4
4
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
5
+ import type { AccountHolderOption } from '../../../../core/types/AccountHolder.types';
5
6
  import type { LegalEntityAssociation } from '../../../../core/models/api/legal-entity-association';
6
7
  import type { CountryCode } from '../../../../core/models/country-code';
8
+ import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
7
9
  import type { FormModel } from '../../../../core/models/form';
8
- import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
9
10
  import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
10
- import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
11
+ import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
11
12
  import type { NomineeDecisionMakerRoleSchema } from '../../fields/DecisionMakerRole/types';
12
13
  import type { IdDocumentUploadSchema } from '../Individual/IdDocumentUpload/types';
13
- import type { PersonalDetailsSchema } from '../Individual/PersonalDetails/types';
14
- import type { IdVerificationMethodSchema } from './IdVerificationMethod/IdVerificationMethod.types';
15
14
  import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails/AdditionalPersonalDetails.types';
15
+ import type { IdVerificationMethodSchema } from './IdVerificationMethod/IdVerificationMethod.types';
16
+ import type { BasicDetailsSchema } from './BasicDetails/BasicDetails.types';
16
17
  import type { AddressSchema } from '../../../Shared/forms/Address/types';
17
18
  import type { ContactDetailsSchema } from '../../../Shared/forms/ContactDetails/types';
18
19
  import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/types';
19
20
  import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
20
21
  export interface IndividualOnfidoSchema {
21
- personalDetails?: PersonalDetailsSchema;
22
+ basicDetails?: BasicDetailsSchema;
22
23
  address?: AddressSchema;
23
24
  contactDetails?: ContactDetailsSchema;
24
25
  idDocument?: IdDocumentUploadSchema;
@@ -44,6 +45,7 @@ export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfi
44
45
  onNext?(e: any, callbacks: any, isValid: any): void;
45
46
  onBack?(): void;
46
47
  asModal?: boolean;
48
+ accountHolder: AccountHolderOption | undefined;
47
49
  trustedRoles?: Array<LegalEntityAssociation['type']>;
48
50
  }
49
51
  export interface IndividualOnfidoDropinProps extends Omit<IndividualOnfidoProps, 'legalEntityId' | 'accountHolder'>, IndividualOnfidoDropinApiHandlers, DropinProps {
@@ -52,4 +54,5 @@ export interface IndividualOnfidoDropinProps extends Omit<IndividualOnfidoProps,
52
54
  country: CountryCode;
53
55
  onSubmit?(dataSubmitted: IndividualOnfidoSchema): void;
54
56
  }
55
- export type IndividualOnfidoDropinApiHandlers = Pick<Required<DropinAPIHandlers>, 'handleCreateDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleUpdateLegalEntity'> & Pick<DropinAPIHandlers, 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleGetIdVerificationStartCheck' | 'handleCreateLegalEntity' | 'handleOpenSingpassAuthorizationLink'>;
57
+ type IndividualOnfidoDropinApiHandlers = Pick<Required<DropinAPIHandlers>, 'handleCreateDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleUpdateLegalEntity'> & Pick<DropinAPIHandlers, 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleGetIdVerificationStartCheck' | 'handleCreateLegalEntity' | 'handleOpenSingpassAuthorizationLink'>;
58
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { IndividualOnfidoDropinProps } from '../../forms/IndividualOnfido/IndividualOnfido.types';
2
+ export declare function IndividualOnfidoDropin({ handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, taskType, parentLegalEntity, legalEntityResponse, taskName, handleCloseClick, isTargetLegalEntityType, country: parentCountry, capabilities, problems: propProblems, onSubmit: externalOnSubmit, asModal, hideSidebar, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: IndividualOnfidoDropinProps): import("preact").JSX.Element;