@adyen/kyc-components 3.50.1 → 3.51.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 (226) hide show
  1. package/dist/es/{B4MFY5CR-C09zwQsp.js → B4MFY5CR-HldG4P4R.js} +2 -2
  2. package/dist/es/{HO4MOOFI-DkcbvWhF.js → HO4MOOFI-B0LIhOPC.js} +2 -2
  3. package/dist/es/{HUY7CZI3-BpLsA4ow.js → HUY7CZI3-B3UlKGgb.js} +2 -2
  4. package/dist/es/adyen-kyc-components.es.js +1 -1
  5. package/dist/es/{index-Cb_V47vX.js → index-CsxVaeY_.js} +21977 -20782
  6. package/dist/style.css +564 -413
  7. package/dist/types/api/serviceAgreement/useServiceAgreement.d.ts +7 -0
  8. package/dist/types/components/Address/Address.d.ts +1 -1
  9. package/dist/types/components/Address/utils.d.ts +1 -1
  10. package/dist/types/components/Address/validate.d.ts +6 -0
  11. package/dist/types/components/{BankAccountNumber → BankAccount/fields/BankAccountNumber}/fieldConfig.d.ts +2 -2
  12. package/dist/types/components/{BankAccountNumber → BankAccount/fields/BankAccountNumber}/types.d.ts +2 -2
  13. package/dist/types/components/{BankCity → BankAccount/fields/BankCity}/types.d.ts +1 -1
  14. package/dist/types/components/{BankCode → BankAccount/fields/BankCode}/fieldConfig.d.ts +2 -2
  15. package/dist/types/components/{BankCode → BankAccount/fields/BankCode}/types.d.ts +2 -2
  16. package/dist/types/components/{BankName → BankAccount/fields/BankName}/types.d.ts +1 -1
  17. package/dist/types/components/{BranchCode → BankAccount/fields/BranchCode}/fieldConfig.d.ts +2 -2
  18. package/dist/types/components/{BranchCode → BankAccount/fields/BranchCode}/types.d.ts +2 -2
  19. package/dist/types/components/{Iban → BankAccount/fields/Iban}/fieldConfig.d.ts +2 -2
  20. package/dist/types/components/BankAccount/fields/Iban/ibanValidator.d.ts +3 -0
  21. package/dist/types/components/{Iban → BankAccount/fields/Iban}/types.d.ts +2 -2
  22. package/dist/types/components/{SwiftCode → BankAccount/fields/SwiftCode}/fieldConfig.d.ts +1 -1
  23. package/dist/types/components/{SwiftCode → BankAccount/fields/SwiftCode}/types.d.ts +1 -1
  24. package/dist/types/components/{BankDocument → BankAccount/forms/BankDocument}/BankDocumentRequirements.d.ts +1 -1
  25. package/dist/types/components/{BankDocument → BankAccount/forms/BankDocument}/types.d.ts +6 -6
  26. package/dist/types/components/{BankDocument → BankAccount/forms/BankDocument}/validate.d.ts +1 -1
  27. package/dist/types/components/{BankVerification → BankAccount/forms/BankVerification}/types.d.ts +3 -3
  28. package/dist/types/components/{BankVerification → BankAccount/forms/BankVerification}/validate.d.ts +1 -1
  29. package/dist/types/components/{PayoutAccount → BankAccount/forms/PayoutAccount}/helpers/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -3
  30. package/dist/types/components/{PayoutAccount → BankAccount/forms/PayoutAccount}/types.d.ts +5 -5
  31. package/dist/types/components/{PayoutDetails → BankAccount/forms/PayoutDetails}/rules.d.ts +1 -1
  32. package/dist/types/components/{PayoutDetails → BankAccount/forms/PayoutDetails}/types.d.ts +13 -13
  33. package/dist/types/components/{PayoutVerificationMethod → BankAccount/forms/PayoutVerificationMethod}/AccountHolderDescriptionFragment.d.ts +1 -1
  34. package/dist/types/components/{PayoutVerificationMethod → BankAccount/forms/PayoutVerificationMethod}/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +4 -4
  35. package/dist/types/components/{PayoutVerificationMethod → BankAccount/forms/PayoutVerificationMethod}/allowedBankCountriesPerCountry.d.ts +1 -1
  36. package/dist/types/components/{PayoutVerificationMethod → BankAccount/forms/PayoutVerificationMethod}/payoutVerificationMethodMetadata.d.ts +2 -2
  37. package/dist/types/components/{PayoutVerificationMethod → BankAccount/forms/PayoutVerificationMethod}/types.d.ts +5 -5
  38. package/dist/types/{core → components/BankAccount}/hooks/useAsyncAccountDetailsValidationRules.d.ts +2 -2
  39. package/dist/types/components/{Dropins → BankAccount/tasks}/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  40. package/dist/types/{utils → components/BankAccount/utils}/payoutAccountUtil.d.ts +6 -6
  41. package/dist/types/components/{AdditionalInformation → Business/forms/AdditionalInformation}/VerifiedBusinessCard.d.ts +2 -2
  42. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +26 -0
  43. package/dist/types/components/{AdditionalInformation → Business/forms/AdditionalInformation}/utils.d.ts +3 -3
  44. package/dist/types/components/{BasicInformation → Business/forms/BasicInformation}/types.d.ts +11 -13
  45. package/dist/types/components/{BusinessDetails → Business/forms/BusinessDetails}/forms.d.ts +3 -3
  46. package/dist/types/components/{BusinessDetails → Business/forms/BusinessDetails}/types.d.ts +8 -10
  47. package/dist/types/components/{BusinessSelection → Business/forms/BusinessSelection}/BusinessInformationCard.d.ts +2 -2
  48. package/dist/types/components/{BusinessSelection → Business/forms/BusinessSelection}/types.d.ts +3 -3
  49. package/dist/types/components/{Company → Business/forms/Company}/Company.d.ts +2 -2
  50. package/dist/types/components/{Company → Business/forms/Company}/rules.d.ts +3 -3
  51. package/dist/types/components/{Company → Business/forms/Company}/types.d.ts +10 -10
  52. package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +12 -0
  53. package/dist/types/components/{CompanyStructure → Business/forms/CompanyStructure}/validate.d.ts +1 -1
  54. package/dist/types/components/Business/forms/CompanyType/types.d.ts +9 -0
  55. package/dist/types/components/{CompanyType → Business/forms/CompanyType}/validate.d.ts +1 -1
  56. package/dist/types/components/{TaxDocument → Business/forms/TaxDocument}/config.d.ts +1 -1
  57. package/dist/types/components/{TaxDocument → Business/forms/TaxDocument}/types.d.ts +4 -4
  58. package/dist/types/{core → components/Business}/hooks/useBusinessData/constants.d.ts +1 -1
  59. package/dist/types/{core → components/Business}/hooks/useBusinessData/types.d.ts +5 -5
  60. package/dist/types/components/{Dropins → Business/tasks}/BusinessDetailsDropin/types.d.ts +16 -16
  61. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +15 -0
  62. package/dist/types/components/Business/tasks/CompanyDropin/types.d.ts +10 -0
  63. package/dist/types/{utils → components/Business/utils}/companyUtil.d.ts +6 -6
  64. package/dist/types/components/ContactDetails/ContactDetails.d.ts +0 -1
  65. package/dist/types/components/ContactDetails/types.d.ts +2 -2
  66. package/dist/types/components/ContextGuidance/ContextGuidance.d.ts +2 -2
  67. package/dist/types/components/ContextGuidance/types.d.ts +3 -4
  68. package/dist/types/components/CustomerSupport/types.d.ts +0 -1
  69. package/dist/types/components/DocumentUpload/DocumentUpload.d.ts +1 -1
  70. package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +3 -3
  71. package/dist/types/components/Dropins/IndividualDropin/IndividualDropin.d.ts +1 -1
  72. package/dist/types/components/Dropins/SourceOfFundsDropin/sofStore.d.ts +3 -0
  73. package/dist/types/components/Dropins/SourceOfFundsDropin/utils.d.ts +1 -0
  74. package/dist/types/components/Dropins/types.d.ts +2 -5
  75. package/dist/types/components/EmbeddedDropins/CreateTransferInstrumentComponent/CreateTransferInstrumentComponent.d.ts +1 -1
  76. package/dist/types/components/IdDocumentUpload/IdDocumentInstantVerification.d.ts +1 -3
  77. package/dist/types/components/IdDocumentUpload/IdDocumentManualUpload.d.ts +1 -3
  78. package/dist/types/components/IdDocumentUpload/types.d.ts +0 -1
  79. package/dist/types/components/IdentityNumber/fieldConfig.d.ts +4 -0
  80. package/dist/types/components/IdentityNumber/type.d.ts +0 -2
  81. package/dist/types/components/Individual/IndividualExperimentWrapper.d.ts +4 -0
  82. package/dist/types/components/Individual/rules.d.ts +0 -1
  83. package/dist/types/components/Individual/types.d.ts +1 -3
  84. package/dist/types/components/IndividualOnfido/Individual.d.ts +1 -0
  85. package/dist/types/components/Name/Name.d.ts +1 -3
  86. package/dist/types/components/PersonalDetails/Identity/IdentityAu/DriversLicense.d.ts +1 -3
  87. package/dist/types/components/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +1 -1
  88. package/dist/types/components/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +1 -1
  89. package/dist/types/components/PersonalDetails/Identity/IdentityNZ/DriversLicense.d.ts +1 -3
  90. package/dist/types/components/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +1 -1
  91. package/dist/types/components/PersonalDetails/types.d.ts +1 -0
  92. package/dist/types/components/PersonalDetails/validate.d.ts +19 -2
  93. package/dist/types/components/PhoneField/PhoneField.d.ts +4 -1
  94. package/dist/types/components/PhoneField/fieldConfig.d.ts +2 -1
  95. package/dist/types/components/PhoneField/types.d.ts +0 -1
  96. package/dist/types/components/RegistrationAddress/types.d.ts +0 -2
  97. package/dist/types/components/{SoleProp → SoleProprietorship/forms/SoleProp}/SoleProp.d.ts +2 -2
  98. package/dist/types/components/{SoleProp → SoleProprietorship/forms/SoleProp}/types.d.ts +11 -11
  99. package/dist/types/{core → components/SoleProprietorship}/hooks/useExemptSettlor.d.ts +2 -2
  100. package/dist/types/components/{Dropins → SoleProprietorship/tasks}/SolePropDropin/SolePropDropin.d.ts +1 -1
  101. package/dist/types/components/Trust/{Trust.d.ts → forms/Trust/Trust.d.ts} +1 -1
  102. package/dist/types/components/Trust/{rules.d.ts → forms/Trust/rules.d.ts} +1 -1
  103. package/dist/types/components/Trust/{types.d.ts → forms/Trust/types.d.ts} +8 -8
  104. package/dist/types/components/{TrustRegistrationDetails → Trust/forms/TrustRegistrationDetails}/types.d.ts +7 -7
  105. package/dist/types/components/{TrustRegistrationDetails → Trust/forms/TrustRegistrationDetails}/validate.d.ts +1 -1
  106. package/dist/types/components/{TrustRoleAndEntityType → Trust/forms/TrustRoleAndEntityType}/convertExistingTrustMember.d.ts +1 -1
  107. package/dist/types/components/{TrustRoleAndEntityType → Trust/forms/TrustRoleAndEntityType}/getAvailableRoles.d.ts +2 -2
  108. package/dist/types/components/{TrustRoleAndEntityType → Trust/forms/TrustRoleAndEntityType}/types.d.ts +8 -8
  109. package/dist/types/components/{TrustRoleAndEntityType → Trust/forms/TrustRoleAndEntityType}/validate.d.ts +1 -1
  110. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +5 -0
  111. package/dist/types/components/{Dropins → Trust/tasks}/RoleAndTypeDropin/types.d.ts +4 -4
  112. package/dist/types/components/{Dropins → Trust/tasks}/TrustDropin/TrustDropin.d.ts +1 -1
  113. package/dist/types/components/{TrustMembers → Trust/tasks/TrustMembers}/CompanyTrustMemberTaskItem.d.ts +1 -1
  114. package/dist/types/components/{TrustMembers → Trust/tasks/TrustMembers}/ExemptSettlorTaskItem.d.ts +1 -1
  115. package/dist/types/components/{TrustMembers → Trust/tasks/TrustMembers}/RegularTrustMemberTaskItem.d.ts +1 -1
  116. package/dist/types/components/{TrustMembers → Trust/tasks/TrustMembers}/RootTrusteeTaskItem.d.ts +1 -1
  117. package/dist/types/components/{TrustMembers → Trust/tasks/TrustMembers}/types.d.ts +5 -5
  118. package/dist/types/{utils/trustMembers/handlers → components/Trust/utils}/addOrUpdateAssociatedTrustMember.d.ts +2 -2
  119. package/dist/types/{utils/trustMembers/handlers → components/Trust/utils}/addOrUpdateUndefinedBeneficiary.d.ts +2 -2
  120. package/dist/types/{utils/trustMembers/handlers → components/Trust/utils}/createExemptSettlor.d.ts +2 -2
  121. package/dist/types/{utils/trustMembers/handlers → components/Trust/utils}/deleteAssociatedTrustMember.d.ts +2 -2
  122. package/dist/types/{utils/trustMembers/handlers → components/Trust/utils}/deleteUndefinedBeneficiary.d.ts +2 -2
  123. package/dist/types/{utils → components/Trust/utils}/trustUtil.d.ts +7 -7
  124. package/dist/types/{utils/trustMembers/handlers → components/Trust/utils}/updateExemptSettlorName.d.ts +2 -2
  125. package/dist/types/components/index.d.ts +5 -5
  126. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +2 -2
  127. package/dist/types/components/ui/molecules/Dropzone/types.d.ts +4 -0
  128. package/dist/types/core/analytics.d.ts +3 -6
  129. package/dist/types/core/context/ConfigurationApiContext/ConfigurationApiContext.d.ts +2 -2
  130. package/dist/types/core/context/CoreContext.d.ts +1 -1
  131. package/dist/types/core/context/ExperimentContext/types.d.ts +5 -2
  132. package/dist/types/core/context/FormContext/FormContext.d.ts +2 -0
  133. package/dist/types/core/context/FormContext/FormContextProvider.d.ts +3 -0
  134. package/dist/types/core/context/FormContext/types.d.ts +10 -0
  135. package/dist/types/core/context/FormContext/useFormContext.d.ts +3 -0
  136. package/dist/types/core/context/StateContext/types.d.ts +10 -10
  137. package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +1 -1
  138. package/dist/types/core/hooks/useComponentApi.d.ts +0 -1
  139. package/dist/types/core/hooks/useFormComposer.d.ts +6 -3
  140. package/dist/types/core/hooks/useMultiForm/reducer.d.ts +89 -0
  141. package/dist/types/core/hooks/useMultiForm/types.d.ts +151 -0
  142. package/dist/types/core/hooks/useMultiForm/useMultiForm.d.ts +2 -0
  143. package/dist/types/core/hooks/useMultiForm/useMultiFormAsyncValidator.d.ts +16 -0
  144. package/dist/types/core/hooks/useMultiForm/useMultiFormStaticValidator.d.ts +8 -0
  145. package/dist/types/core/hooks/useMultiForm/utils.d.ts +13 -0
  146. package/dist/types/core/hooks/useScenarioConfiguration.d.ts +1 -1
  147. package/dist/types/core/models/api/get-bankVerification-providers.d.ts +1 -1
  148. package/dist/types/core/models/api/get-configuration.d.ts +1 -1
  149. package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
  150. package/dist/types/core/models/api/source-of-funds.d.ts +4 -0
  151. package/dist/types/core/models/api/trusted-transferInstrument.d.ts +1 -1
  152. package/dist/types/core/models/payout-account.d.ts +2 -2
  153. package/dist/types/core/process-field-configurations.d.ts +9 -10
  154. package/dist/types/core/services/componentApi/update-source-of-funds.d.ts +2 -2
  155. package/dist/types/core/user-events.d.ts +5 -0
  156. package/dist/types/datasets/accountFormats/getAccountFormatForCountry.d.ts +2 -2
  157. package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +1 -1
  158. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +1 -1
  159. package/dist/types/stores/globalStore/globalStore.d.ts +1 -1
  160. package/dist/types/utils/api/documentUtils.d.ts +1 -1
  161. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  162. package/dist/types/utils/getFieldsWithExistingData.d.ts +4 -4
  163. package/dist/types/utils/getSSNType.d.ts +2 -0
  164. package/dist/types/utils/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -1
  165. package/dist/types/utils/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
  166. package/dist/types/utils/mapping/componentApiMapping.d.ts +33 -33
  167. package/dist/types/utils/mapping/mapping.d.ts +6 -6
  168. package/dist/types/utils/mapping/trustMembers/getTrustMembers.d.ts +1 -1
  169. package/dist/types/utils/mapping/trustMembers/mapEntityAssociationsToTrustMembers.d.ts +1 -1
  170. package/dist/types/utils/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +1 -1
  171. package/dist/types/utils/mapping/trustMembers/mapUndefinedBeneficiaryInfoToTrustMembers.d.ts +1 -1
  172. package/dist/types/utils/trackNavigation.d.ts +2 -2
  173. package/dist/types/utils/validation/types.d.ts +1 -1
  174. package/dist/types/utils/validation/validationResult.d.ts +2 -0
  175. package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +9 -2
  176. package/package.json +3 -1
  177. package/dist/types/components/AdditionalInformation/types.d.ts +0 -26
  178. package/dist/types/components/AutoResizer/AutoResizer.d.ts +0 -56
  179. package/dist/types/components/CompanyStructure/types.d.ts +0 -12
  180. package/dist/types/components/CompanyType/types.d.ts +0 -9
  181. package/dist/types/components/Dropins/BusinessDetailsDropin/utils.d.ts +0 -15
  182. package/dist/types/components/Dropins/CompanyDropin/types.d.ts +0 -10
  183. package/dist/types/components/Dropins/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +0 -5
  184. package/dist/types/components/Iban/ibanValidator.d.ts +0 -3
  185. package/dist/types/components/Individual/validators.d.ts +0 -16
  186. package/dist/types/components/PhoneField/PhoneFieldExperimentWrapper.d.ts +0 -8
  187. package/dist/types/components/PhoneInput/PhoneInput.d.ts +0 -8
  188. package/dist/types/components/PhoneInput/PhoneInput.types.d.ts +0 -8
  189. package/dist/types/components/PhoneInput/validate.d.ts +0 -6
  190. package/dist/types/core/services/componentApi/get-onboarding-status.d.ts +0 -4
  191. package/dist/types/utils/verification/verificationUtils.d.ts +0 -17
  192. package/dist/types/components/{BankAccountFormat → BankAccount/fields/BankAccountFormat}/BankAccountFormat.d.ts +0 -0
  193. package/dist/types/components/{BankAccountFormat → BankAccount/fields/BankAccountFormat}/types.d.ts +0 -0
  194. package/dist/types/components/{BankAccountNumber → BankAccount/fields/BankAccountNumber}/BankAccountNumber.d.ts +0 -0
  195. package/dist/types/components/{BankCity → BankAccount/fields/BankCity}/BankCity.d.ts +0 -0
  196. package/dist/types/components/{BankCode → BankAccount/fields/BankCode}/BankCode.d.ts +0 -0
  197. package/dist/types/components/{BankName → BankAccount/fields/BankName}/BankName.d.ts +0 -0
  198. package/dist/types/components/{BranchCode → BankAccount/fields/BranchCode}/BranchCode.d.ts +0 -0
  199. package/dist/types/components/{Iban → BankAccount/fields/Iban}/Iban.d.ts +0 -0
  200. package/dist/types/components/{SwiftCode → BankAccount/fields/SwiftCode}/SwiftCode.d.ts +0 -0
  201. package/dist/types/components/{BankDocument → BankAccount/forms/BankDocument}/BankDocument.d.ts +0 -0
  202. package/dist/types/components/{BankVerification → BankAccount/forms/BankVerification}/BankVerification.d.ts +0 -0
  203. package/dist/types/components/{BankVerification → BankAccount/forms/BankVerification}/verification/widget/BankVerificationWidget.d.ts +0 -0
  204. package/dist/types/components/{BankVerification → BankAccount/forms/BankVerification}/verification/widget/iframeWidget.d.ts +0 -0
  205. package/dist/types/components/{BankVerification → BankAccount/forms/BankVerification}/verification/widget/types.d.ts +0 -0
  206. package/dist/types/components/{PayoutAccount → BankAccount/forms/PayoutAccount}/CheckGuidance/CheckGuidance.d.ts +0 -0
  207. package/dist/types/components/{PayoutAccount → BankAccount/forms/PayoutAccount}/PayoutAccount.d.ts +0 -0
  208. package/dist/types/components/{PayoutDetails → BankAccount/forms/PayoutDetails}/PayoutDetails.d.ts +0 -0
  209. package/dist/types/components/{PayoutDetails → BankAccount/forms/PayoutDetails}/utils.d.ts +0 -0
  210. package/dist/types/components/{PayoutVerificationMethod → BankAccount/forms/PayoutVerificationMethod}/PayoutVerificationMethod.d.ts +1 -1
  211. /package/dist/types/components/{AdditionalInformation → Business/forms/AdditionalInformation}/AdditionalInformation.d.ts +0 -0
  212. /package/dist/types/components/{BasicInformation → Business/forms/BasicInformation}/BasicInformation.d.ts +0 -0
  213. /package/dist/types/components/{BusinessDetails → Business/forms/BusinessDetails}/BusinessDetails.d.ts +0 -0
  214. /package/dist/types/components/{BusinessMismatchModal → Business/forms/BusinessMismatchModal}/BusinessMismatchModal.d.ts +0 -0
  215. /package/dist/types/components/{BusinessSelection → Business/forms/BusinessSelection}/BusinessSelection.d.ts +0 -0
  216. /package/dist/types/components/{CompanyStructure → Business/forms/CompanyStructure}/CompanyStructure.d.ts +0 -0
  217. /package/dist/types/components/{CompanyType → Business/forms/CompanyType}/CompanyType.d.ts +0 -0
  218. /package/dist/types/components/{TaxDocument → Business/forms/TaxDocument}/TaxDocument.d.ts +0 -0
  219. /package/dist/types/{core → components/Business}/hooks/useBusinessData/useBusinessData.d.ts +0 -0
  220. /package/dist/types/components/{Dropins → Business/tasks}/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +0 -0
  221. /package/dist/types/components/{Dropins → Business/tasks}/CompanyDropin/CompanyDropin.d.ts +0 -0
  222. /package/dist/types/components/{TrustRegistrationDetails → Trust/forms/TrustRegistrationDetails}/TrustRegistrationDetails.d.ts +0 -0
  223. /package/dist/types/components/{TrustRoleAndEntityType → Trust/forms/TrustRoleAndEntityType}/TrustRoleAndEntityType.d.ts +0 -0
  224. /package/dist/types/components/{Dropins → Trust/tasks}/RoleAndTypeDropin/RoleAndTypeDropin.d.ts +0 -0
  225. /package/dist/types/components/{TrustMembers → Trust/tasks/TrustMembers}/TrustMembersOverview.d.ts +0 -0
  226. /package/dist/types/components/{TrustMembers → Trust/tasks/TrustMembers}/UndefinedBeneficiaryTaskItem.d.ts +0 -0
@@ -1,6 +1,6 @@
1
- import type { TranslationKey } from '../../language/types';
2
- import type { SvgName } from '../ui/atoms/Svg/Svg';
3
1
  import type { VerificationMethod } from './types';
2
+ import type { TranslationKey } from '../../../../language/types';
3
+ import type { SvgName } from '../../../ui/atoms/Svg/Svg';
4
4
  export interface PayoutVerificationMethodMetadata {
5
5
  name: TranslationKey;
6
6
  subtitle: TranslationKey;
@@ -1,10 +1,10 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
3
- import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
4
- import type { CountryCode } from '../../core/models/country-code';
5
- import type { FormModel } from '../../core/models/form';
2
+ import type { CountryCode } from '../../../../core/models/country-code';
6
3
  import type { AccountVerificationSchema, BankVerificationVendor, InstantVerificationErrorNotification } from '../BankVerification/types';
7
- import type { LoadingStatus } from '../ui/atoms/LoaderWrapper/constants';
4
+ import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
5
+ import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
6
+ import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
7
+ import type { FormModel } from '../../../../core/models/form';
8
8
  import type { PayoutDetailsProps } from '../PayoutDetails/types';
9
9
  export declare const payoutVerificationMethods: readonly ["instantVerification", "manualVerification"];
10
10
  export type VerificationMethod = (typeof payoutVerificationMethods)[number];
@@ -1,3 +1,3 @@
1
- import type { AccountIdentification } from '../models/api/accountIdentification';
2
- import type { AccountValidationResponse } from '../models/errors/validation-error';
1
+ import type { AccountIdentification } from '../../../core/models/api/accountIdentification';
2
+ import type { AccountValidationResponse } from '../../../core/models/errors/validation-error';
3
3
  export declare const useAsyncAccountDetailsValidationRules: (payload: AccountIdentification | undefined, hasEmptyFields: boolean, isAccountNumberMasked: boolean) => AccountValidationResponse;
@@ -1,2 +1,2 @@
1
- import type { PayoutDetailsDropinProps } from '../../PayoutDetails/types';
1
+ import type { PayoutDetailsDropinProps } from '../../forms/PayoutDetails/types';
2
2
  export declare function PayoutDetailsDropin({ transferInstrument, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleUpdateTransferInstrument, handleCreateTransferInstrument, handleGetBankVerificationVendors, legalEntityResponse, associatedLegalArrangement, accountHolder, problems: propProblems, onSubmit: externalOnSubmit, onChange, asModal, handleCloseClick, taskType: propTaskType, taskName, capabilities, handleHomeClick, refreshTransferInstrument, setCurrentTransferInstrumentId, navigateBackToTaskList, handleCreateTrustedTransferInstrument, handleBankVerificationError, handleBackClick: externalBackClick, hideSidebar, }: PayoutDetailsDropinProps): import("preact").JSX.Element;
@@ -1,9 +1,9 @@
1
- import type { BankAccountFormatType } from '../components/BankAccountFormat/types';
2
- import type { PayoutAccountSchema } from '../components/PayoutAccount/types';
3
- import type { CountryCode } from '../core/models/country-code';
4
- import type { Currency } from '../core/models/currency';
5
- import type { Language } from '../language/Language';
6
- import type { LegalEntity } from '../core/models/api/legal-entity';
1
+ import type { CountryCode } from '../../../core/models/country-code';
2
+ import type { BankAccountFormatType } from '../fields/BankAccountFormat/types';
3
+ import type { LegalEntity } from '../../../core/models/api/legal-entity';
4
+ import type { Currency } from '../../../core/models/currency';
5
+ import type { Language } from '../../../language/Language';
6
+ import type { PayoutAccountSchema } from '../forms/PayoutAccount/types';
7
7
  export declare const hasPayoutAccount: (legalEntityResponse: LegalEntity) => boolean;
8
8
  export declare const shouldShowCheckGuidance: (country: CountryCode) => boolean;
9
9
  export declare const shouldShowPayoutAccountFormatSelector: (country: CountryCode) => boolean;
@@ -1,6 +1,6 @@
1
1
  import './VerifiedBusinessCard.scss';
2
- import type { CompanyDatasetResponse } from '../../core/models/api/company-search';
3
- import type { AddressSchema } from '../Address/types';
2
+ import type { CompanyDatasetResponse } from '../../../../core/models/api/company-search';
3
+ import type { AddressSchema } from '../../../Address/types';
4
4
  interface VerifiedBusinessDataProps {
5
5
  verifiedBusiness: CompanyDatasetResponse | undefined;
6
6
  verifiedAddress: AddressSchema | undefined;
@@ -0,0 +1,26 @@
1
+ import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
+ import type { CompanyDatasetResponse } from '../../../../core/models/api/company-search';
3
+ import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
4
+ import type { CountryCode } from '../../../../core/models/country-code';
5
+ import type { DropinAPIHandlers } from '../../../Dropins/types';
6
+ import type { BusinessRegistrationNumberFieldSchema } from '../../../BusinessRegistrationNumberField/types';
7
+ import type { DateOfIncorporationFieldSchema } from '../../../DateOfIncorporationField/types';
8
+ import type { DBANameFieldSchema } from '../../../DBANameField/types';
9
+ import type { EInvoicingCodeFieldSchema } from '../../../EInvoicingCodeField/types';
10
+ import type { StockExchangeMICFieldSchema } from '../../../StockExchangeMICField/types';
11
+ import type { StockISINFieldSchema } from '../../../StockISINField/types';
12
+ import type { StockTickerSymbolFieldSchema } from '../../../StockTickerSymbol/types';
13
+ import type { TaxInformationFieldSchema } from '../../../TaxInformationField/types';
14
+ import type { VatNumberFieldSchema } from '../../../VatNumberField/types';
15
+ import type { RegistrationAddressSchema } from '../../../RegistrationAddress/types';
16
+ export interface AdditionalInformationSchema extends DBANameFieldSchema, VatNumberFieldSchema, TaxInformationFieldSchema, BusinessRegistrationNumberFieldSchema, DateOfIncorporationFieldSchema, StockISINFieldSchema, StockExchangeMICFieldSchema, StockTickerSymbolFieldSchema, RegistrationAddressSchema, EInvoicingCodeFieldSchema {
17
+ legalFormDescription?: string;
18
+ }
19
+ export interface AdditionalInformationProps extends BaseInnerFormProps<AdditionalInformationSchema> {
20
+ country: CountryCode;
21
+ companyType: CompanyTypesValue | undefined;
22
+ verifiedBusiness: CompanyDatasetResponse | undefined;
23
+ showCompanyStructure: boolean;
24
+ handleAddressSearch: DropinAPIHandlers['handleAddressSearch'];
25
+ handleFindAddress: DropinAPIHandlers['handleFindAddress'];
26
+ }
@@ -1,6 +1,6 @@
1
- import type { CompanyDatasetResponse } from '../../core/models/api/company-search';
2
- import type { ValidatorMode } from '../../utils/validation/types';
3
- import type { AddressSchema } from '../Address/types';
1
+ import type { CompanyDatasetResponse } from '../../../../core/models/api/company-search';
2
+ import type { ValidatorMode } from '../../../../utils/validation/types';
3
+ import type { AddressSchema } from '../../../Address/types';
4
4
  import type { AdditionalInformationSchema } from './types';
5
5
  /**
6
6
  * Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode']
@@ -1,22 +1,20 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { HookStatus } from '../../core/hooks/types';
3
- import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
4
- import type { CompanyDatasetResponse, CompanySearchResult } from '../../core/models/api/company-search';
5
- import type { CompanyTypesValue } from '../../core/models/api/company-types-value';
6
- import type { CountryCode } from '../../core/models/country-code';
7
- import type { BaseTrackingPayload } from '../../core/analytics';
8
- import type { BusinessRegistrationNumberFieldSchema } from '../BusinessRegistrationNumberField/types';
9
- import type { CountryFieldSchema } from '../CountryField/types';
10
- import type { StateFieldSchema } from '../StateField/types';
11
- import type { TaxInformationFieldSchema } from '../TaxInformationField/types';
12
- import type { CountryOfGoverningLawFieldSchema } from '../CountryOfGoverningLawField/types';
13
- import type { LegalCompanyNameFieldSchema } from '../LegalCompanyNameField/types';
2
+ import type { HookStatus } from '../../../../core/hooks/types';
3
+ import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
4
+ import type { CompanyDatasetResponse, CompanySearchResult } from '../../../../core/models/api/company-search';
5
+ import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
6
+ import type { CountryCode } from '../../../../core/models/country-code';
7
+ import type { BusinessRegistrationNumberFieldSchema } from '../../../BusinessRegistrationNumberField/types';
8
+ import type { CountryFieldSchema } from '../../../CountryField/types';
9
+ import type { StateFieldSchema } from '../../../StateField/types';
10
+ import type { TaxInformationFieldSchema } from '../../../TaxInformationField/types';
11
+ import type { CountryOfGoverningLawFieldSchema } from '../../../CountryOfGoverningLawField/types';
12
+ import type { LegalCompanyNameFieldSchema } from '../../../LegalCompanyNameField/types';
14
13
  export type BasicInformationSchema = CountryFieldSchema & LegalCompanyNameFieldSchema & StateFieldSchema & BusinessRegistrationNumberFieldSchema & TaxInformationFieldSchema & CountryOfGoverningLawFieldSchema;
15
14
  export interface BasicInformationProps extends BaseInnerFormProps<BasicInformationSchema> {
16
15
  country: CountryCode;
17
16
  companyType: CompanyTypesValue | undefined;
18
17
  isTopLevelEntity: boolean;
19
- baseTrackingPayload: BaseTrackingPayload;
20
18
  showBusinessSelection: boolean;
21
19
  showCompanyStructure: boolean;
22
20
  isActiveForm: boolean;
@@ -1,4 +1,4 @@
1
- import type { CountryCode } from '../../core/models/country-code';
1
+ import type { CountryCode } from '../../../../core/models/country-code';
2
2
  import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
3
3
  import type { BasicInformationSchema } from '../BasicInformation/types';
4
4
  export declare const FIELDS_NEEDED_FOR_COMPANY_SEARCH: Array<keyof BasicInformationSchema | keyof AdditionalInformationSchema>;
@@ -8,7 +8,7 @@ export declare const getForms: (country: CountryCode) => {
8
8
  readonly formName: "basicInformationFormName";
9
9
  readonly formHeading: "basicInformationFormHeading";
10
10
  readonly formDescription: "basicInformationFormDescription";
11
- readonly fields: ("country" | "countryOfGoverningLaw" | "legalCompanyName" | "stateOrProvince" | keyof import("../BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../TaxInformationField/types").TaxInformationFieldSchema)[];
11
+ readonly fields: ("country" | "countryOfGoverningLaw" | "legalCompanyName" | "stateOrProvince" | keyof import("../../../BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../../../TaxInformationField/types").TaxInformationFieldSchema)[];
12
12
  };
13
13
  readonly companyStructure: {
14
14
  readonly formId: "companyStructure";
@@ -49,7 +49,7 @@ export declare const getForms: (country: CountryCode) => {
49
49
  readonly formName: "financialInformation";
50
50
  readonly formHeading: "companyFinancialInformationFormHeading";
51
51
  readonly formDescription: "companyFinancialInformationFormDescription";
52
- readonly fields: (keyof import("../FinancialInformation/types").FinancialInformationSchema)[];
52
+ readonly fields: (keyof import("../../../FinancialInformation/types").FinancialInformationSchema)[];
53
53
  };
54
54
  };
55
55
  export declare const documentFormsIds: string[];
@@ -1,16 +1,15 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { HookStatus } from '../../core/hooks/types';
3
- import type { BaseOuterFormProps } from '../../core/hooks/useForm/types';
4
- import type { CompanyDatasetResponse, CompanySearchResult } from '../../core/models/api/company-search';
5
- import type { CountryCode } from '../../core/models/country-code';
6
- import type { FormModel } from '../../core/models/form';
7
- import type { BaseTrackingPayload } from '../../core/analytics';
2
+ import type { HookStatus } from '../../../../core/hooks/types';
3
+ import type { BaseOuterFormProps } from '../../../../core/hooks/useForm/types';
4
+ import type { CompanyDatasetResponse, CompanySearchResult } from '../../../../core/models/api/company-search';
5
+ import type { CountryCode } from '../../../../core/models/country-code';
6
+ import type { FormModel } from '../../../../core/models/form';
8
7
  import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
9
8
  import type { BasicInformationSchema } from '../BasicInformation/types';
10
9
  import type { CompanyStructureSchema } from '../CompanyStructure/types';
11
- import type { DocumentUploadSchema } from '../DocumentUpload/types';
12
- import type { DropinAPIHandlers } from '../Dropins/types';
13
- import type { FinancialInformationSchema } from '../FinancialInformation/types';
10
+ import type { DocumentUploadSchema } from '../../../DocumentUpload/types';
11
+ import type { DropinAPIHandlers } from '../../../Dropins/types';
12
+ import type { FinancialInformationSchema } from '../../../FinancialInformation/types';
14
13
  export interface BusinessDetailsSchema {
15
14
  basicInformation?: BasicInformationSchema;
16
15
  companyStructure?: CompanyStructureSchema;
@@ -23,7 +22,6 @@ export interface BusinessDetailsSchema {
23
22
  export interface BusinessDetailsProps extends BaseOuterFormProps<BusinessDetailsSchema> {
24
23
  country: CountryCode;
25
24
  isTopLevelEntity: boolean;
26
- baseTrackingPayload: BaseTrackingPayload;
27
25
  showCompanyStructure: boolean;
28
26
  showBusinessSelection: boolean;
29
27
  searching: HookStatus;
@@ -1,7 +1,7 @@
1
1
  import './BusinessInformationCard.scss';
2
2
  import { type Dispatch, type StateUpdater } from 'preact/hooks';
3
- import type { HookStatus } from '../../core/hooks/types';
4
- import type { CompanyDatasetResponse, CompanySearchResult } from '../../core/models/api/company-search';
3
+ import type { HookStatus } from '../../../../core/hooks/types';
4
+ import type { CompanyDatasetResponse, CompanySearchResult } from '../../../../core/models/api/company-search';
5
5
  interface BusinessInformationCardProps {
6
6
  result: CompanySearchResult;
7
7
  selectedBusinessId: string | undefined;
@@ -1,7 +1,7 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { HookStatus } from '../../core/hooks/types';
3
- import type { CompanyDatasetResponse, CompanySearchResult } from '../../core/models/api/company-search';
4
- import type { StateCode } from '../../core/models/state-code';
2
+ import type { HookStatus } from '../../../../core/hooks/types';
3
+ import type { CompanyDatasetResponse, CompanySearchResult } from '../../../../core/models/api/company-search';
4
+ import type { StateCode } from '../../../../core/models/state-code';
5
5
  export interface BusinessSelectionProps {
6
6
  showCompanyStructure: boolean;
7
7
  searching: HookStatus;
@@ -1,4 +1,4 @@
1
- import type { FinancialInformationSchema } from '../FinancialInformation/types';
1
+ import type { FinancialInformationSchema } from '../../../FinancialInformation/types';
2
2
  import type { CompanyProps } from './types';
3
3
  export declare const companyForms: {
4
4
  readonly companyNameAndCountry: {
@@ -14,7 +14,7 @@ export declare const companyForms: {
14
14
  readonly companyRegistrationDetails: {
15
15
  readonly formId: "companyRegistrationDetails";
16
16
  readonly formName: "registrationDetails";
17
- readonly fields: ("dateOfIncorporation" | "stockExchangeMIC" | "stockISIN" | "stockTickerSymbol" | keyof import("../TradingNameField/types").TradingNameFieldSchema | keyof import("../DBANameField/types").DBANameFieldSchema | keyof import("../BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../TaxInformationField/types").TaxInformationFieldSchema | keyof import("../VatNumberField/types").VatNumberFieldSchema | keyof import("../EInvoicingCodeField/types").EInvoicingCodeFieldSchema)[];
17
+ readonly fields: ("dateOfIncorporation" | "stockExchangeMIC" | "stockISIN" | "stockTickerSymbol" | keyof import("../../../TradingNameField/types").TradingNameFieldSchema | keyof import("../../../DBANameField/types").DBANameFieldSchema | keyof import("../../../BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../../../TaxInformationField/types").TaxInformationFieldSchema | keyof import("../../../VatNumberField/types").VatNumberFieldSchema | keyof import("../../../EInvoicingCodeField/types").EInvoicingCodeFieldSchema)[];
18
18
  };
19
19
  readonly companyRegistrationAddress: {
20
20
  readonly formId: "companyRegistrationAddress";
@@ -1,7 +1,7 @@
1
- import type { CountryCode } from '../../core/models/country-code';
2
- import type { FormRules } from '../../core/models/form-rules';
1
+ import type { CountryCode } from '../../../../core/models/country-code';
2
+ import type { FormRules } from '../../../../core/models/form-rules';
3
3
  import type { BusinessDetailsSchema } from '../BusinessDetails/types';
4
- import type { SolePropSchema } from '../SoleProp/types';
4
+ import type { SolePropSchema } from '../../../SoleProprietorship/forms/SoleProp/types';
5
5
  import type { CompanySchema } from './types';
6
6
  export declare const COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION: CountryCode[];
7
7
  export declare const COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION: CountryCode[];
@@ -1,14 +1,14 @@
1
- import type { BaseOuterFormProps } from '../../core/hooks/useForm/types';
2
- import type { CapabilityName } from '../../core/models/api/capability';
3
- import type { CountryCode } from '../../core/models/country-code';
4
- import type { FormModel } from '../../core/models/form';
5
- import type { CompanyNameAndCountrySchema } from '../CompanyNameAndCountry/types';
6
- import type { CompanyRegistrationDetailsSchema } from '../CompanyRegistrationDetails/types';
1
+ import type { BaseOuterFormProps } from '../../../../core/hooks/useForm/types';
2
+ import type { CapabilityName } from '../../../../core/models/api/capability';
3
+ import type { CountryCode } from '../../../../core/models/country-code';
4
+ import type { FormModel } from '../../../../core/models/form';
5
+ import type { CompanyNameAndCountrySchema } from '../../../CompanyNameAndCountry/types';
6
+ import type { CompanyRegistrationDetailsSchema } from '../../../CompanyRegistrationDetails/types';
7
7
  import type { CompanyTypeSchema } from '../CompanyType/types';
8
- import type { DocumentUploadSchema } from '../DocumentUpload/types';
9
- import type { DropinAPIHandlers } from '../Dropins/types';
10
- import type { FinancialInformationSchema } from '../FinancialInformation/types';
11
- import type { RegistrationAddressSchema } from '../RegistrationAddress/types';
8
+ import type { DocumentUploadSchema } from '../../../DocumentUpload/types';
9
+ import type { DropinAPIHandlers } from '../../../Dropins/types';
10
+ import type { FinancialInformationSchema } from '../../../FinancialInformation/types';
11
+ import type { RegistrationAddressSchema } from '../../../RegistrationAddress/types';
12
12
  export interface CompanySchema {
13
13
  companyRegistrationDetails?: CompanyRegistrationDetailsSchema;
14
14
  companyType?: CompanyTypeSchema;
@@ -0,0 +1,12 @@
1
+ import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
+ import type { CompanyDatasetResponse } from '../../../../core/models/api/company-search';
3
+ import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
4
+ import type { CountryCode } from '../../../../core/models/country-code';
5
+ export interface CompanyStructureSchema {
6
+ entityType?: CompanyTypesValue;
7
+ }
8
+ export interface CompanyStructureProps extends BaseInnerFormProps<CompanyStructureSchema> {
9
+ country: CountryCode;
10
+ verifiedBusiness?: CompanyDatasetResponse | undefined;
11
+ showCompanyStructure?: boolean;
12
+ }
@@ -1,3 +1,3 @@
1
- import type { ValidatorRules } from '../../utils/validation/types';
1
+ import type { ValidatorRules } from '../../../../utils/validation/types';
2
2
  import type { CompanyStructureSchema } from './types';
3
3
  export declare const CompanyStructureValidation: ValidatorRules<CompanyStructureSchema>;
@@ -0,0 +1,9 @@
1
+ import type { BaseInnerFormProps } from '../../../../core/hooks/useForm/types';
2
+ import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
3
+ import type { CountryCode } from '../../../../core/models/country-code';
4
+ export interface CompanyTypeSchema {
5
+ entityType?: CompanyTypesValue;
6
+ }
7
+ export interface CompanyTypeProps extends BaseInnerFormProps<CompanyTypeSchema> {
8
+ country: CountryCode;
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 { CompanyTypeSchema } from './types';
3
3
  export declare const companyTypeValidationRules: ValidatorRules<CompanyTypeSchema>;
@@ -1,3 +1,3 @@
1
- import { type CountryCode } from '../../core/models/country-code';
1
+ import { type CountryCode } from '../../../../core/models/country-code';
2
2
  import type { AcceptedDocuments } from './types';
3
3
  export declare const ACCEPTED_DOCUMENTS_MAP: Partial<Record<CountryCode, AcceptedDocuments>>;
@@ -1,7 +1,7 @@
1
- import type { CompanyTypesValue } from '../../core/models/api/company-types-value';
2
- import type { CountryCode } from '../../core/models/country-code';
3
- import type { TranslationKey } from '../../language/types';
4
- import type { DocumentUploadProps } from '../DocumentUpload/types';
1
+ import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
+ import type { CountryCode } from '../../../../core/models/country-code';
3
+ import type { TranslationKey } from '../../../../language/types';
4
+ import type { DocumentUploadProps } from '../../../DocumentUpload/types';
5
5
  export interface TaxDocumentProps extends DocumentUploadProps {
6
6
  country: CountryCode;
7
7
  companyType: CompanyTypesValue | undefined;
@@ -1,4 +1,4 @@
1
- import type { StateCode } from '../../models/state-code';
1
+ import type { StateCode } from '../../../../core/models/state-code';
2
2
  export declare const LOW_RISK_COMPANY_DATA_COMPLIANCE_WINDOW = 157766400000;
3
3
  export declare const KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS: Array<StateCode>;
4
4
  export declare const KNOWN_DISALLOWED_INDEX_DATASET_STATES: Array<StateCode>;
@@ -1,8 +1,8 @@
1
- import type { DropinAPIHandlers } from '../../../components/Dropins/types';
2
- import type { CompanyDatasetResponse, CompanySearchResult } from '../../models/api/company-search';
3
- import type { CountryCode } from '../../models/country-code';
4
- import type { StateCode, StateCodeUS } from '../../models/state-code';
5
- import type { HookStatus } from '../types';
1
+ import type { DropinAPIHandlers } from '../../../Dropins/types';
2
+ import type { CompanyDatasetResponse, CompanySearchResult } from '../../../../core/models/api/company-search';
3
+ import type { CountryCode } from '../../../../core/models/country-code';
4
+ import type { StateCode, StateCodeUS } from '../../../../core/models/state-code';
5
+ import type { HookStatus } from '../../../../core/hooks/types';
6
6
  export interface UseBusinessDataOptions {
7
7
  handleCompanyIndexSearch: DropinAPIHandlers['handleCompanyIndexSearch'];
8
8
  handleCompanyDeepSearch: DropinAPIHandlers['handleCompanyDeepSearch'];
@@ -1,17 +1,17 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
- import type { ExistingLegalEntity, LegalEntity } from '../../../core/models/api/legal-entity';
3
- import type { EntityProblems } from '../../../core/models/errors/entity-problems';
4
- import type { FormModelWithValidity } from '../../../core/models/form';
5
- import type { BaseTrackingPayload } from '../../../core/analytics';
6
- import type { Language } from '../../../language/Language';
7
- import type { DocumentApiUtils } from '../../../utils/api/documentUtils';
8
- import type { BusinessDetailsProps, BusinessDetailsSchema } from '../../BusinessDetails/types';
9
- import type { AccountHolderOption } from '../../../core/types/AccountHolder.types';
10
- import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
11
- import type { ToastOptions } from '../../ui/molecules/Toast/Toast.types';
12
- import type { TrustMember } from '../../TrustMembers/types';
13
- import type { DropinAPIHandlers, DropinProps } from '../types';
14
- import type { ExperimentName } from '../../../core/context/ExperimentContext/types';
2
+ import type { ExistingLegalEntity, LegalEntity } from '../../../../core/models/api/legal-entity';
3
+ import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
4
+ import type { FormModelWithValidity } from '../../../../core/models/form';
5
+ import type { Language } from '../../../../language/Language';
6
+ import type { DocumentApiUtils } from '../../../../utils/api/documentUtils';
7
+ import type { BusinessDetailsProps, BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
8
+ import type { AccountHolderOption } from '../../../../core/types/AccountHolder.types';
9
+ import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
10
+ import type { ToastOptions } from '../../../ui/molecules/Toast/Toast.types';
11
+ import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
12
+ import type { DropinAPIHandlers, DropinProps } from '../../../Dropins/types';
13
+ import type { ExperimentName } from '../../../../core/context/ExperimentContext/types';
14
+ import type { AdditionalEventProperties } from '../../../../core/user-events';
15
15
  export type BusinessDetailsDropinApihandler = Required<Pick<DropinAPIHandlers, 'handleCreateDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleUpdateLegalEntity'>> & {
16
16
  handleCompanyIndexSearch?: DropinAPIHandlers['handleCompanyIndexSearch'];
17
17
  handleCompanyDeepSearch?: DropinAPIHandlers['handleCompanyDeepSearch'];
@@ -22,7 +22,7 @@ export type BusinessDetailsDropinApihandler = Required<Pick<DropinAPIHandlers, '
22
22
  handleVerifyTin?: DropinAPIHandlers['handleVerifyTin'];
23
23
  handleClearCompanyData?: DropinAPIHandlers['handleClearCompanyData'];
24
24
  };
25
- export type BusinessDetailsDropin = Omit<BusinessDetailsProps, 'isTopLevelEntity' | 'baseTrackingPayload' | 'handleNextClick' | 'showCompanyStructure' | 'showBusinessSelection' | 'searching' | 'fetching' | 'verifying' | 'resettingTrustedData' | 'searchResults' | 'invalidTin' | 'resetTinVerification' | 'verifiedBusiness' | 'fetchBusinessData' | 'verifyBusinessData' | 'proceedToManualDataEntry' | 'setShowBusinessSelection' | 'setShowCompanyStructure'>;
25
+ export type BusinessDetailsDropin = Omit<BusinessDetailsProps, 'isTopLevelEntity' | 'handleNextClick' | 'showCompanyStructure' | 'showBusinessSelection' | 'searching' | 'fetching' | 'verifying' | 'resettingTrustedData' | 'searchResults' | 'invalidTin' | 'resetTinVerification' | 'verifiedBusiness' | 'fetchBusinessData' | 'verifyBusinessData' | 'proceedToManualDataEntry' | 'setShowBusinessSelection' | 'setShowCompanyStructure'>;
26
26
  export interface BusinessDetailsDropinProps extends BusinessDetailsDropin, BusinessDetailsDropinApihandler, DropinProps {
27
27
  legalEntityResponse: ExistingLegalEntity;
28
28
  isTargetLegalEntityType?: boolean;
@@ -34,13 +34,13 @@ export interface SubmitDocumentsProps {
34
34
  legalEntity: ExistingLegalEntity;
35
35
  forms: FormModelWithValidity[];
36
36
  documentUtils: DocumentApiUtils;
37
- baseTrackingPayload: BaseTrackingPayload;
37
+ additionalTrackingParams: Partial<AdditionalEventProperties>;
38
38
  }
39
39
  export interface SubmitProps {
40
40
  data: BusinessDetailsSchema;
41
41
  legalEntityResponse: ExistingLegalEntity;
42
42
  isTargetLegalEntityType: boolean;
43
- baseTrackingPayload: BaseTrackingPayload;
43
+ additionalTrackingParams: Partial<AdditionalEventProperties>;
44
44
  forms: FormModelWithValidity[];
45
45
  documentUtils: DocumentApiUtils;
46
46
  i18n: Language;
@@ -0,0 +1,15 @@
1
+ import type { OuterFormLabels } from '../../../../core/hooks/useForm/types';
2
+ import type { ParseConfiguration } from '../../../../core/hooks/useScenarioConfiguration';
3
+ import type { FormModelWithValidity } from '../../../../core/models/form';
4
+ import type { Language } from '../../../../language/Language';
5
+ import type { BasicInformationSchema } from '../../forms/BasicInformation/types';
6
+ import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
7
+ import type { SubmitProps } from './types';
8
+ import type { ExperimentName } from '../../../../core/context/ExperimentContext/types';
9
+ export declare const parseConfiguration: ParseConfiguration;
10
+ export declare const canSubmit: (data: BusinessDetailsSchema) => boolean;
11
+ export declare const isDocumentsRequired: (forms: FormModelWithValidity[]) => boolean;
12
+ export declare const removeConditionalForms: (forms: FormModelWithValidity[], isSkippingCompanyStructure: boolean) => FormModelWithValidity[];
13
+ export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], labels: OuterFormLabels<BusinessDetailsSchema>, i18n: Language, isExperimentEnabled: (key: ExperimentName) => boolean) => {};
14
+ export declare function submit({ data, legalEntityResponse, additionalTrackingParams, forms, problems, documentUtils, i18n, setLoadingStatus, setProblems, showToast, clearToasts, handleUpdateLegalEntity, onExternalSubmit, accountHolder, isExperimentEnabled, }: SubmitProps): Promise<void>;
15
+ export declare const getCountryOfGoverningLaw: (isCountryOfGoverningLawEnabled?: boolean, basicData?: BasicInformationSchema) => string | undefined;
@@ -0,0 +1,10 @@
1
+ import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
2
+ import type { CompanyProps, CompanySchema } from '../../forms/Company/types';
3
+ import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
4
+ import type { DropinAPIHandlers, DropinProps } from '../../../Dropins/types';
5
+ export interface CompanyDropinProps extends Omit<CompanyProps, 'isTopLevelEntity'>, DropinAPIHandlers, DropinProps {
6
+ parentLegalEntity?: ExistingLegalEntity;
7
+ associationDetail?: TrustMember;
8
+ isTargetLegalEntityType?: boolean;
9
+ onSubmit?: (company: CompanySchema) => void;
10
+ }
@@ -1,9 +1,9 @@
1
- import type { CompanyNameAndCountrySchema } from '../components/CompanyNameAndCountry/types';
2
- import type { LegalArrangement } from '../core/models/api/legal-arrangement';
3
- import type { Organization, TaxInformationType } from '../core/models/api/organization';
4
- import type { SoleProprietor } from '../core/models/api/sole-proprietor';
5
- import type { Trust } from '../core/models/api/trust';
6
- import type { CountryCode } from '../core/models/country-code';
1
+ import type { CompanyNameAndCountrySchema } from '../../CompanyNameAndCountry/types';
2
+ import type { LegalArrangement } from '../../../core/models/api/legal-arrangement';
3
+ import type { Organization, TaxInformationType } from '../../../core/models/api/organization';
4
+ import type { SoleProprietor } from '../../../core/models/api/sole-proprietor';
5
+ import type { Trust } from '../../../core/models/api/trust';
6
+ import type { CountryCode } from '../../../core/models/country-code';
7
7
  export declare const countryToTaxInfoTypeMap: Record<string, TaxInformationType>;
8
8
  export declare const updateTaxInformation: <T extends Organization | SoleProprietor | Trust>({ taxId, country, exemptedFromTax, isUen, entity, }: {
9
9
  taxId: string;
@@ -1,4 +1,3 @@
1
1
  import type { ContactDetailsProps, ContactDetailsSchema } from './types';
2
2
  export declare const contactDetailFields: Array<keyof ContactDetailsSchema>;
3
3
  export declare function ContactDetails(props: ContactDetailsProps): import("preact").JSX.Element;
4
- export declare const MemoizedContactDetails: typeof ContactDetails;
@@ -1,10 +1,10 @@
1
1
  import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
2
2
  import type { CountryCode } from '../../core/models/country-code';
3
3
  import type { PhoneFieldSchema } from '../PhoneField/types';
4
- import type { PhoneInputSchema } from '../PhoneInput/PhoneInput.types';
5
- export type ContactDetailsSchema = PhoneFieldSchema & PhoneInputSchema & {
4
+ export type ContactDetailsSchema = PhoneFieldSchema & {
6
5
  email?: string;
7
6
  };
8
7
  export interface ContactDetailsProps extends BaseInnerFormProps<ContactDetailsSchema> {
9
8
  country: CountryCode;
9
+ triggerValidation?: (schema?: Array<keyof PhoneFieldSchema>) => void;
10
10
  }
@@ -1,2 +1,2 @@
1
- import type { GuidanceProps } from './types';
2
- export declare function ContextGuidance({ page, title, content, titleId, contentId, baseTrackingPayload, }: GuidanceProps): import("preact").JSX.Element;
1
+ import type { ContextGuidanceProps } from './types';
2
+ export declare function ContextGuidance({ title, content, titleId, contentId, trackingParams, }: ContextGuidanceProps): import("preact").JSX.Element;
@@ -1,12 +1,11 @@
1
1
  import type { ComponentChildren } from 'preact';
2
- import type { BaseTrackingPayload } from '../../core/analytics';
3
- export interface GuidanceProps {
4
- baseTrackingPayload: BaseTrackingPayload;
5
- page: string;
2
+ import type { AdditionalEventProperties } from '../../core/user-events';
3
+ export interface ContextGuidanceProps {
6
4
  title: string;
7
5
  content: ComponentChildren;
8
6
  titleId: string;
9
7
  contentId: string;
8
+ trackingParams?: Partial<AdditionalEventProperties>;
10
9
  onOpen?: () => void;
11
10
  onClose?: () => void;
12
11
  }
@@ -5,7 +5,6 @@ import type { CountryCode } from '../../core/models/country-code';
5
5
  import type { DropinAPIHandlers } from '../Dropins/types';
6
6
  export interface CustomerSupportSchema {
7
7
  customerSupport: {
8
- phoneNumber?: string;
9
8
  phone?: Phone;
10
9
  email?: string;
11
10
  };
@@ -1,4 +1,4 @@
1
1
  import type { DocumentUploadProps } from './types';
2
- declare function DocumentUpload({ documentType, documentField, guidanceHeader, documentTypeSelect, guidanceContent, ...props }: DocumentUploadProps): import("preact").JSX.Element;
2
+ declare function DocumentUpload({ documentType, documentField, guidanceHeader, documentTypeSelect, guidanceContent, handleFieldChange, requiredFields, data: dataProp, valid: validProp, errors: errorProp, fieldValidationErrors: propFieldValidationErrors, ...props }: DocumentUploadProps): import("preact").JSX.Element;
3
3
  export declare const MemoizedDocumentUpload: typeof DocumentUpload;
4
4
  export {};
@@ -2,11 +2,11 @@ import './FormWrapper.scss';
2
2
  import type { ComponentChildren } from 'preact';
3
3
  import type { EntityProblems } from '../../../core/models/errors/entity-problems';
4
4
  import type { FormModelWithValidity } from '../../../core/models/form';
5
- import type { BaseTrackingPayload } from '../../../core/analytics';
6
5
  import type { TranslationKey } from '../../../language/types';
7
6
  import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
8
7
  import type { DropinAPIHandlers } from '../types';
9
8
  import type { Omitted } from '../../Summary/types';
9
+ import { type AdditionalEventProperties } from '../../../core/user-events';
10
10
  export interface FormWrapperProps {
11
11
  summary?: {
12
12
  data?: any;
@@ -25,7 +25,7 @@ export interface FormWrapperProps {
25
25
  forms: FormModelWithValidity[];
26
26
  activeForm: FormModelWithValidity;
27
27
  validateForm(): void;
28
- baseTrackingPayload: BaseTrackingPayload;
28
+ navigationTrackingParams?: Partial<AdditionalEventProperties>;
29
29
  hideSidebar?: boolean;
30
30
  hideFooter?: boolean;
31
31
  asModal?: boolean;
@@ -39,4 +39,4 @@ export interface FormWrapperProps {
39
39
  showBackButton?: boolean;
40
40
  hideNextButton?: boolean;
41
41
  }
42
- export declare const FormWrapper: ({ asModal, summary, taskName, children, handleNextClick, handleBackClick, handleCloseClick, handleHomeClick, loadingStatus, gotoFormByFormIndex, forms, activeForm, handleGetIdVerificationToken, validateForm, baseTrackingPayload, hideSidebar, hideFooter, canSubmit, onSubmit, problems, steps, showBackButton, hideNextButton, }: FormWrapperProps) => import("preact").JSX.Element;
42
+ export declare const FormWrapper: ({ asModal, summary, taskName, children, handleNextClick, handleBackClick, handleCloseClick, handleHomeClick, loadingStatus, gotoFormByFormIndex, forms, activeForm, handleGetIdVerificationToken, validateForm, navigationTrackingParams, hideSidebar, hideFooter, canSubmit, onSubmit, problems, steps, showBackButton, hideNextButton, }: FormWrapperProps) => import("preact").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import type { IndividualDropinProps } from '../../Individual/types';
2
- export declare function IndividualDropin({ handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleGetIdVerificationStartCheck, handleOpenSingpassAuthorizationLink, taskType, parentLegalEntity, legalEntityResponse, taskName, handleCloseClick, isTargetLegalEntityType, country: parentCountry, handleCreateLegalEntity, capabilities, onChange, problems: propProblems, handleUpdateLegalEntity, trustMember, onSubmit: externalOnSubmit, asModal, hideSidebar, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: IndividualDropinProps): import("preact").JSX.Element;
2
+ export declare function IndividualDropin({ handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleGetIdVerificationStartCheck, handleOpenSingpassAuthorizationLink, taskType, parentLegalEntity, legalEntityResponse, taskName, handleCloseClick, isTargetLegalEntityType, country: parentCountry, handleCreateLegalEntity, capabilities, problems: propProblems, handleUpdateLegalEntity, trustMember, onSubmit: externalOnSubmit, asModal, hideSidebar, handleBackClick: externalBackClick, trustedFields, trustedFieldsProvider, trustedRoles, }: IndividualDropinProps): import("preact").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare const sofErrorMessage: import("@preact/signals-core").Signal<string>;
2
+ export declare const setSofErrorMessage: (message: string | undefined) => void;
3
+ export declare const clearSofErrorMessage: () => void;
@@ -57,3 +57,4 @@ export declare const parseOriginatorDetails: (originatorDetails: ExistingLegalEn
57
57
  export declare const getSourceOfFundsPayload: (sofType: SourceOfFundsCategoryType, additionalData?: SourceOfFundsAdditionalDataSchema) => SourceOfFundsPayloadType;
58
58
  export declare const parseSofOriginatorPayload: (additionalData?: SourceOfFundsAdditionalDataSchema) => SOFOriginatorPayload;
59
59
  export declare const formatDateForInput: (isoDateString?: string) => string;
60
+ export declare const ALLOWED_SERVICES: string[];