@adyen/kyc-components 4.25.0-beta.1 → 4.25.0-beta.2

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 (195) hide show
  1. package/dist/{AcceptTermsOfServiceWorkflow-By3zYCUj.js → AcceptTermsOfServiceWorkflow-BKWCrZdZ.js} +1 -1
  2. package/dist/{AdaptiveWorkflow-DrpRgnH4.js → AdaptiveWorkflow-2EE8iiMD.js} +1 -1
  3. package/dist/{AdaptiveWorkflowComponent-BSA30A9-.js → AdaptiveWorkflowComponent-C4Q6NVtv.js} +2 -2
  4. package/dist/{AddressFields-CN4TQzn9.js → AddressFields-CFG2_P0x.js} +4 -3
  5. package/dist/{BusinessFinancingDropin-CYeMgVkI.js → BusinessFinancingDropin-BjTnxk__.js} +3 -3
  6. package/dist/{BusinessFinancingPage-wQ3Stqaq.js → BusinessFinancingPage-C4dAslMp.js} +1 -1
  7. package/dist/{ComponentGroup-saOBzveb.js → ComponentGroup-S6c3rVoX.js} +1 -1
  8. package/dist/{ConstitutionalDocument-BHd6kfdt.js → ConstitutionalDocument-CNNhKkzD.js} +1 -1
  9. package/dist/{DebugModal-COMc67OA.js → DebugModal-BxebnUyQ.js} +3 -3
  10. package/dist/{DecisionMakerDetails-GMvYZFTK.js → DecisionMakerDetails-RF9BoMYF.js} +6 -6
  11. package/dist/{DecisionMakerDetailsPage-BZdFtyd5.js → DecisionMakerDetailsPage-CGOs2Ubt.js} +3 -3
  12. package/dist/{DecisionMakers-CcFvSGqi.js → DecisionMakers-qRoXooYA.js} +6 -6
  13. package/dist/{EmbeddedStatus-DVFyksA8.js → EmbeddedStatus-Keg7UojY.js} +2 -2
  14. package/dist/{EntityAssociation-BC75VCms.js → EntityAssociation-BPtrqdQR.js} +2 -2
  15. package/dist/{GlobalEntryModal-CypAt3X_.js → GlobalEntryModal-CTGSdkW7.js} +2 -2
  16. package/dist/{GlobalEntryPage-DZusuIqe.js → GlobalEntryPage-CdGXV-QZ.js} +1 -1
  17. package/dist/{IndividualDropin-BFS4N7OF.js → IndividualDropin-D1UOavsw.js} +33 -11
  18. package/dist/{Introduction-Cz0LnMCN.js → Introduction-DFW6EaLG.js} +1 -1
  19. package/dist/{InvitedDecisionMakerComponent-llOIdClO.js → InvitedDecisionMakerComponent-hdQc0T7D.js} +2 -2
  20. package/dist/{LegalRepresentativeDetailsPage-_u14iANL.js → LegalRepresentativeDetailsPage-BiAfoErR.js} +1 -1
  21. package/dist/{NewSummary-Bn1_xnRZ.js → NewSummary-DYLlnpwx.js} +1 -1
  22. package/dist/{NodeRenderer-DHBYMc2e.js → NodeRenderer-Z10yF5MV.js} +9 -9
  23. package/dist/{PayoutDetailsDropin-D8RUK-Ay.js → PayoutDetailsDropin-NyizAaYy.js} +6 -6
  24. package/dist/{PayoutDetailsPage-Dw9Z6keH.js → PayoutDetailsPage-NM0Eqf4K.js} +2 -2
  25. package/dist/{RootBusinessDetailsPage-BZzgcJDi.js → RootBusinessDetailsPage-B1a0hu8F.js} +1 -1
  26. package/dist/{RootBusinessLinesPage-Bon-72KE.js → RootBusinessLinesPage-Dv1uT7OS.js} +4 -4
  27. package/dist/{RootIndividualDetailsPage-BDe7rnHs.js → RootIndividualDetailsPage-vkjzmyF7.js} +2 -2
  28. package/dist/{SignPCIComponent-LLZf2TeN.js → SignPCIComponent-CIkdVNH2.js} +1 -1
  29. package/dist/{SingpassSelection-C_g9IkU2.js → SingpassSelection-B6NONcr4.js} +1 -1
  30. package/dist/{SoleProprietorshipPage-BIJoqI3I.js → SoleProprietorshipPage-BmNs557C.js} +1 -1
  31. package/dist/{SourceOfFundsPage-tIp7dhQc.js → SourceOfFundsPage-B5nZ3MjN.js} +1 -1
  32. package/dist/{SourceOfFundsWorkflow-C2h09Cpx.js → SourceOfFundsWorkflow-IkLZG9JI.js} +1 -1
  33. package/dist/{Step-BXiyoYgM.js → Step-BJh4XZae.js} +1 -1
  34. package/dist/{Summary-DAL_HF4K.js → Summary-BTDbRMfh.js} +1 -1
  35. package/dist/{Task-DdWTxPyj.js → Task-yQcY16x1.js} +1 -1
  36. package/dist/{TaskGroup-CwGCHRH5.js → TaskGroup-C9iFHpux.js} +1 -1
  37. package/dist/{TaxReportingDropin-C9fGOzkW.js → TaxReportingDropin-Cq3gBWtp.js} +1 -1
  38. package/dist/{TaxReportingWorkflow-IBn7x7Xb.js → TaxReportingWorkflow-flQPRAPy.js} +1 -1
  39. package/dist/{TermsOfServiceManagement-DT2dwCi_.js → TermsOfServiceManagement-BM5K4cpw.js} +1 -1
  40. package/dist/{TrustDetailsPage-CoXbmmTn.js → TrustDetailsPage-z7s9FxVC.js} +6 -6
  41. package/dist/{TrustMemberCompanyPage-Dx-d3qCd.js → TrustMemberCompanyPage-tU2HTiDG.js} +2 -2
  42. package/dist/{TrustMemberIndividualPage-D894Db-6.js → TrustMemberIndividualPage-BLBtnoSq.js} +1 -1
  43. package/dist/{TrustMemberRoleAndTypePage-BDqjSmrc.js → TrustMemberRoleAndTypePage-DIwrtOWr.js} +4 -4
  44. package/dist/{TrustMembersOverview-DtWUGzgb.js → TrustMembersOverview-CowTgfIb.js} +9 -9
  45. package/dist/{UboTaskItem-VUdGfBnx.js → UboTaskItem-CZLDzQil.js} +1 -1
  46. package/dist/{UnincorporatedPartnershipIndividualPage-VbufyyKR.js → UnincorporatedPartnershipIndividualPage-BT0j54-O.js} +1 -1
  47. package/dist/{UnincorporatedPartnershipMemberCompanyPage-CiQGKuDs.js → UnincorporatedPartnershipMemberCompanyPage-DFOoV0wQ.js} +2 -2
  48. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DZhy16m1.js → UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js} +3 -3
  49. package/dist/{UnincorporatedPartnershipMembersOverview-Dm49I4-5.js → UnincorporatedPartnershipMembersOverview-5w1BrDMI.js} +3 -3
  50. package/dist/{Workflow-fHd3L40U.js → Workflow-CF-HUIjR.js} +1 -1
  51. package/dist/adyen-business-financing.js +2 -2
  52. package/dist/adyen-individual-configuration.js +2 -2
  53. package/dist/adyen-individual-status.js +4 -4
  54. package/dist/adyen-invited-decision-maker.js +2 -2
  55. package/dist/adyen-onboarding.js +12 -12
  56. package/dist/adyen-terms-of-service-management.js +2 -2
  57. package/dist/adyen-terms-of-service-status.js +3 -3
  58. package/dist/adyen-transfer-instrument-configuration.js +2 -2
  59. package/dist/adyen-transfer-instrument-management.js +3 -3
  60. package/dist/adyen-verification-status.js +3 -3
  61. package/dist/{bafinUtils-DDrD6bfK.js → bafinUtils-RXELXyTR.js} +3 -3
  62. package/dist/{decision-maker-type-NR4GFAeT.js → decisionMaker-CR0qaGWQ.js} +1 -1
  63. package/dist/{decisionMakerRoles-C6LMC4mh.js → decisionMakerRoles-JEb0ON4e.js} +3 -3
  64. package/dist/{dropinUtils-DFjjUh12.js → dropinUtils-OsMsnnYG.js} +1 -1
  65. package/dist/{globalStore-WASei98w.js → globalStore--_np-9ON.js} +4 -4
  66. package/dist/{mapExistingFile-BrDc9SLg.js → mapExistingFile-RrS8dCpX.js} +1 -1
  67. package/dist/{mapLegalEntityToIndividualSchema-Dq6pO0qh.js → mapLegalEntityToIndividualSchema-DtT3pcZJ.js} +2 -2
  68. package/dist/{view-verification-status-XSQs02td.js → onboardingStatus-B8UCsL8G.js} +1 -1
  69. package/dist/{resolveEnvironment-RJre7ht-.js → resolveEnvironment-CcCbs90B.js} +6 -6
  70. package/dist/{roleMetadata-CQeuOFRE.js → roleMetadata-CbgaYaH8.js} +4 -4
  71. package/dist/{get-scenarios-Bb-paHmJ.js → scenarios-nibtmpSb.js} +1 -1
  72. package/dist/{trustMemberGuidance-CgdU2v0j.js → trustMemberGuidance-BpeDHAJP.js} +1 -1
  73. package/dist/{trustUtil-5cyXiJnX.js → trustUtil-BG17fZ56.js} +2 -2
  74. package/dist/types/api/address/address.types.d.ts +3 -13
  75. package/dist/types/api/address/useAddressCleanse.d.ts +1 -2
  76. package/dist/types/api/address/useSearchAddress.d.ts +1 -9
  77. package/dist/types/api/businessLines/businessLines.types.d.ts +6 -1
  78. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +3 -15
  79. package/dist/types/api/check/useCheck.d.ts +1 -1
  80. package/dist/types/api/idVerificationProviders/idVerificationProviders.types.d.ts +22 -1
  81. package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +1 -1
  82. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +5 -2
  83. package/dist/types/api/legalEntity/legalEntity.types.d.ts +3 -0
  84. package/dist/types/api/onboardingStatus/onboardingStatus.types.d.ts +1 -1
  85. package/dist/types/api/openId/openId.types.d.ts +2 -0
  86. package/dist/types/api/taxClassification/taxClassification.types.d.ts +4 -0
  87. package/dist/types/api/termsOfService/termsOfService.types.d.ts +10 -1
  88. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +8 -1
  89. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -2
  90. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
  91. package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +3 -11
  92. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -1
  93. package/dist/types/components/BankAccount/hooks/useAsyncAccountDetailsValidationRules.d.ts +1 -1
  94. package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +1 -1
  95. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +0 -2145
  96. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +1 -1
  97. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -1
  98. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +1 -2
  99. package/dist/types/components/Business/utils/utils.d.ts +2 -3
  100. package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +5 -1
  101. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
  102. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
  103. package/dist/types/components/EFP/mapping/mapSourceOfFundToSourceOfFundsSchema.d.ts +2 -3
  104. package/dist/types/components/EFP/mapping/sourceOfFundsKeyMappings.d.ts +2 -3
  105. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +3 -3
  106. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +3 -4
  107. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.d.ts +2 -3
  108. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +2 -2
  109. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +2 -2
  110. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +22 -9
  111. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +13 -14
  112. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -2
  113. package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +1 -1
  114. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +1 -2
  115. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
  116. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +1 -1
  117. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/types.d.ts +1 -1
  118. package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +2 -2
  119. package/dist/types/components/Individual/forms/IdVerificationMethod/individualConflictsSchema.d.ts +1 -1
  120. package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
  121. package/dist/types/components/Individual/forms/Individual.types.d.ts +4 -5
  122. package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +1 -1
  123. package/dist/types/components/Individual/forms/InviteDetails/utils.d.ts +1 -1
  124. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +1 -1
  125. package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
  126. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +5 -5
  127. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +1 -1
  128. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +1 -1
  129. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -1
  130. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +1 -1
  131. package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +2 -2
  132. package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +1 -1
  133. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +6 -1
  134. package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -2
  135. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -2
  136. package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +1 -1
  137. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/getAvailableRoles.d.ts +1 -1
  138. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -1
  139. package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +1 -1
  140. package/dist/types/components/Trust/utils/trustMemberRequirements.d.ts +1 -1
  141. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
  142. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +1 -1
  143. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +1 -1
  144. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
  145. package/dist/types/components/ui/molecules/EmbeddedStatus/types.d.ts +1 -1
  146. package/dist/types/core/process-field-configurations.d.ts +1 -1
  147. package/dist/types/core/services/agnostic/get-dataset.d.ts +1 -1
  148. package/dist/types/core/user-events.d.ts +1 -1
  149. package/dist/types/datasets/generators/loadCountries.d.ts +1 -1
  150. package/dist/types/datasets/generators/loadStatesDataset.d.ts +1 -1
  151. package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +1 -1
  152. package/dist/types/hooks/useDataset.d.ts +1 -1
  153. package/dist/types/hooks/useForm/types.d.ts +1 -1
  154. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +1 -2
  155. package/dist/types/stores/globalStore/globalStore.d.ts +1 -2
  156. package/dist/types/types/form-configuration.d.ts +1 -1
  157. package/dist/types/types/form-rules.d.ts +1 -1
  158. package/dist/types/{core/models/api/get-scenarios.d.ts → types/scenarios.d.ts} +1 -1
  159. package/dist/types/{core/models/api/verification-status.d.ts → types/verificationStatus.d.ts} +2 -1
  160. package/dist/types/utils/accountHolderUtils.d.ts +1 -2
  161. package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -1
  162. package/dist/types/utils/api/processCapabilities.d.ts +1 -2
  163. package/dist/types/utils/api/useCapabilities.d.ts +2 -2
  164. package/dist/types/utils/datasetUtil.d.ts +1 -1
  165. package/dist/types/utils/decisionMaker.d.ts +2 -2
  166. package/dist/types/utils/decisionMakerRoles.d.ts +2 -2
  167. package/dist/types/utils/entityAssociationUtil.d.ts +7 -1
  168. package/dist/types/utils/entityStatusUtil.d.ts +2 -2
  169. package/dist/types/utils/mapScriptLocalization.d.ts +9 -1
  170. package/dist/types/utils/roleMetadata.d.ts +1 -1
  171. package/dist/types/utils/validatorUtils.d.ts +1 -1
  172. package/dist/{unincorporated-partnership-DNTK5Y_5.js → unincorporatedPartnership-BbNowjM2.js} +1 -1
  173. package/dist/{useBusinessDetailsData-BeKBwFXJ.js → useBusinessDetailsData-dsYTeDom.js} +9 -9
  174. package/dist/{useCanSeeIntroduction-X0L-NhMZ.js → useCanSeeIntroduction-BLGY7sE-.js} +1 -1
  175. package/dist/{useNavigate-Dyy9vu2x.js → useNavigate-J0sRAAoI.js} +27 -27
  176. package/dist/{useScenarios-BfYE0clW.js → useScenarios-DV2TeNvN.js} +2 -2
  177. package/dist/{useTrustMembers-CurK1nMF.js → useTrustMembers-uhgi2qfN.js} +1 -1
  178. package/dist/{useUnincorporatedPartnershipMembers-DLGY4jqB.js → useUnincorporatedPartnershipMembers-DVEWj1is.js} +2 -2
  179. package/package.json +1 -1
  180. package/dist/types/core/models/api/capability.d.ts +0 -59
  181. package/dist/types/core/models/api/contracts.d.ts +0 -44
  182. package/dist/types/core/models/api/instant-id-verification.d.ts +0 -36
  183. package/dist/types/core/models/api/legal-entity-association.d.ts +0 -8
  184. package/dist/types/core/models/api/openid-initiate.d.ts +0 -3
  185. package/dist/types/core/models/api/phone.d.ts +0 -6
  186. package/dist/types/core/models/api/scriptLocalization.d.ts +0 -9
  187. package/dist/types/core/models/api/source-of-funds.d.ts +0 -53
  188. package/dist/types/core/models/api/supporting-entity-capability.d.ts +0 -29
  189. package/dist/types/core/models/api/tax-reporting-classification.d.ts +0 -15
  190. /package/dist/types/{core/models/api/accountIdentification.d.ts → api/transferInstruments/accountIdentification.types.d.ts} +0 -0
  191. /package/dist/types/{core/models/api/data-set.d.ts → types/dataset.d.ts} +0 -0
  192. /package/dist/types/{core/models/api/decision-maker-type.d.ts → types/decisionMaker.d.ts} +0 -0
  193. /package/dist/types/{core/models/api/view-verification-status.d.ts → types/onboardingStatus.d.ts} +0 -0
  194. /package/dist/types/{core/models/api/trust-member-type.d.ts → types/trustMemberType.d.ts} +0 -0
  195. /package/dist/types/{core/models/api/unincorporated-partnership.d.ts → types/unincorporatedPartnership.d.ts} +0 -0
@@ -1,8 +1,8 @@
1
1
  import type { ValidatePhoneNumber } from '../../../../api/validation/useValidatePhoneNumber';
2
+ import type { PhoneFieldSchema } from '../../fields/PhoneField/types';
2
3
  import type { CountryCode } from '../../../../types/datasets/country-code';
3
4
  import type { FieldMetadata, PerCountryFieldConfig } from '../../../../utils/fieldConfigurations';
4
5
  import type { AsyncValidatorRules } from '../../../../utils/validation/types';
5
- import type { PhoneFieldSchema } from './types';
6
6
  export declare const getAsyncPhoneValidationRules: (validatePhoneNumber: ValidatePhoneNumber) => AsyncValidatorRules<PhoneFieldSchema>;
7
7
  export declare const defaultFieldMetadata: FieldMetadata<PhoneFieldSchema, 'phoneNumber'>;
8
8
  export declare const fieldConfig: PerCountryFieldConfig<PhoneFieldSchema, 'phoneNumber', any>;
@@ -1,6 +1,11 @@
1
- import type { Phone } from '../../../../core/models/api/phone';
2
1
  import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
3
2
  import type { CountryCode } from '../../../../types/datasets/country-code';
3
+ /** Form model requiring number/type and narrowing country code/type beyond PhoneNumberDto. */
4
+ export interface Phone {
5
+ number: string;
6
+ phoneCountryCode?: CountryCode;
7
+ type: 'mobile' | 'landline' | 'sip' | 'fax';
8
+ }
4
9
  export interface PhoneFieldSchema {
5
10
  phoneNumber?: Phone;
6
11
  }
@@ -1,7 +1,6 @@
1
- import type { RetrieveAddressSuccessResponse } from '../../../../api/address/address.types';
1
+ import type { CleanseAPIRequestPayload, RetrieveAddressSuccessResponse } from '../../../../api/address/address.types';
2
2
  import type { FeatureName } from '../../../../context/ToggleContext/types';
3
3
  import type { TFunction } from '../../../../../types';
4
- import type { CleanseAPIRequestPayload } from '../../../../core/models/api/contracts';
5
4
  import type { CountryCode } from '../../../../types/datasets/country-code';
6
5
  import type { AsyncValidatorRules, ValidatorRules } from '../../../../utils/validation/types';
7
6
  import type { AddressSchema } from './types';
@@ -1,6 +1,5 @@
1
- import type { CompanyType, ExistingLegalEntity, LegalEntityType } from '../../../../api/legalEntity/legalEntity.types';
1
+ import type { CapabilityName, CompanyType, ExistingLegalEntity, LegalEntityType } from '../../../../api/legalEntity/legalEntity.types';
2
2
  import type { IconName } from '../../../ui/atoms/Icon/Icon';
3
- import type { CapabilityName } from '../../../../core/models/api/capability';
4
3
  import type { AccountHolderOption, LegalArrangementOption } from '../../../../types/accountHolder';
5
4
  import type { CountryCode } from '../../../../types/datasets/country-code';
6
5
  import type { BusinessType, BusinessTypeMetadata, BusinessTypeModel, LegalArrangementModel, TrusteeType } from './types';
@@ -1,4 +1,4 @@
1
- import type { Phone } from '../../../../core/models/api/phone';
1
+ import type { Phone } from '../../fields/PhoneField/types';
2
2
  import type { CountryCode } from '../../../../types/datasets/country-code';
3
3
  export interface CustomerSupportSchema {
4
4
  customerSupport: {
@@ -1,4 +1,4 @@
1
- import type { TrustMemberType } from '../../../../core/models/api/trust-member-type';
1
+ import type { TrustMemberType } from '../../../../types/trustMemberType';
2
2
  import type { RootTrustee } from '../../tasks/TrustMembers/types';
3
3
  export declare const getAvailableRolesByTrustMemberTypeAndLegalEntityType: (currentRoles: TrustMemberType[] | undefined, trustMember: RootTrustee) => readonly TrustMemberType[];
4
4
  export declare const getAvailableRoles: (currentRoles: TrustMemberType[] | undefined) => readonly TrustMemberType[];
@@ -1,8 +1,8 @@
1
- import type { TrustMemberType } from '../../../../core/models/api/trust-member-type';
2
1
  import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
3
2
  import type { NameSchema } from '../../../Shared/fields/Name/types';
4
3
  import type { CompanyNameAndCountrySchema } from '../../../Shared/forms/CompanyNameAndCountry/types';
5
4
  import type { CountryCode } from '../../../../types/datasets/country-code';
5
+ import type { TrustMemberType } from '../../../../types/trustMemberType';
6
6
  import type { TrustMember } from '../../tasks/TrustMembers/types';
7
7
  export declare const trustMemberLegalEntityTypes: readonly ["individual", "organization"];
8
8
  export type TrustMemberLegalEntityType = (typeof trustMemberLegalEntityTypes)[number];
@@ -1,5 +1,5 @@
1
- import type { TrustMemberType, TrustMemberTypes } from '../../../../core/models/api/trust-member-type';
2
1
  import type { CountryCode } from '../../../../types/datasets/country-code';
2
+ import type { TrustMemberType, TrustMemberTypes } from '../../../../types/trustMemberType';
3
3
  import type { IsNewEntity } from '../../../../utils/isNewEntity';
4
4
  import type { SettlorExemptionReason, TrustMemberLegalEntityType } from '../../forms/TrustRoleAndEntityType/types';
5
5
  /**
@@ -1,4 +1,4 @@
1
- import type { TrustMemberType } from '../../../core/models/api/trust-member-type';
1
+ import type { TrustMemberType } from '../../../types/trustMemberType';
2
2
  import { type TrustMemberGuidanceLabel } from './trustMemberGuidance';
3
3
  interface TrustMemberRequirement {
4
4
  roleTypes: readonly TrustMemberType[];
@@ -1,5 +1,5 @@
1
- import { type UnincorporatedPartnershipMemberType } from '../../../core/models/api/unincorporated-partnership';
2
1
  import { type TaskType } from '../../../stores/globalStore/taskTypes';
2
+ import { type UnincorporatedPartnershipMemberType } from '../../../types/unincorporatedPartnership';
3
3
  import type { UnincorporatedPartnershipMember } from '../tasks/UnincorporatedPartnershipMembers/types';
4
4
  type AvailableEntityTypes = 'organization' | 'individual';
5
5
  export interface NavigateToMemberProps {
@@ -1,5 +1,5 @@
1
- import { type UnincorporatedPartnershipMemberType } from '../../../../core/models/api/unincorporated-partnership';
2
1
  import type { NsTranslationKey } from '../../../../../types';
2
+ import { type UnincorporatedPartnershipMemberType } from '../../../../types/unincorporatedPartnership';
3
3
  export interface UnincorporatedPartnershipMember {
4
4
  memberType: UnincorporatedPartnershipMemberType;
5
5
  roles: UnincorporatedPartnershipMemberType[];
@@ -1,5 +1,5 @@
1
1
  import type { FieldErrorMessage } from '../../../ui/atoms/Field/Field.types';
2
- import { type UnincorporatedPartnershipMemberType } from '../../../../core/models/api/unincorporated-partnership';
2
+ import { type UnincorporatedPartnershipMemberType } from '../../../../types/unincorporatedPartnership';
3
3
  import type { ValidatorMode } from '../../../../utils/validation/types';
4
4
  import type { UnincorporatedPartnershipRoleAndEntityTypeSchema } from './types';
5
5
  export interface UnincorporatedPartnershipRadioGroupProps {
@@ -1,7 +1,7 @@
1
1
  import type { TagVariant } from '../../atoms/Tag/Tag';
2
- import { type OnboardingStatus } from '../../../../core/models/api/view-verification-status';
3
2
  import type { TFunction } from '../../../../../types';
4
3
  import { type TaskStatus } from '../../../../stores/globalStore/taskStatus';
4
+ import { type OnboardingStatus } from '../../../../types/onboardingStatus';
5
5
  /**
6
6
  * Maps a Status to Tag-compatible props
7
7
  * Similar to TaskItemStatus (without the css class overrides),
@@ -1,7 +1,7 @@
1
1
  import type { IconName } from '../../atoms/Icon/Icon';
2
2
  import type { TagVariant } from '../../atoms/Tag/Tag';
3
- import type { OnboardingStatus } from '../../../../core/models/api/view-verification-status';
4
3
  import type { TaskStatus } from '../../../../stores/globalStore/taskStatus';
4
+ import type { OnboardingStatus } from '../../../../types/onboardingStatus';
5
5
  export interface EmbeddedStatusProps {
6
6
  title?: string;
7
7
  subtitle?: string;
@@ -1,11 +1,11 @@
1
1
  import type { LegalEntityType, TrustedFieldsDto, VerificationErrorDto } from '../api/legalEntity/legalEntity.types';
2
2
  import type { TopLevelDataSchema } from '../context/StateContext/types';
3
3
  import type { BaseOuterFormProps } from '../hooks/useForm/types';
4
- import type { Scenario } from './models/api/get-scenarios';
5
4
  import type { Remediation } from '../types/errors/remediation';
6
5
  import type { FormList } from '../types/form';
7
6
  import type { FieldSettings, FormConfiguration, FormConfigurationWithoutRules, PerScenarioFormConfiguration } from '../types/form-configuration';
8
7
  import type { FormRules } from '../types/form-rules';
8
+ import type { Scenario } from '../types/scenarios';
9
9
  import type { AnyTLDSFieldName } from '../utils/getFieldsWithExistingData';
10
10
  export declare const composePerScenarioFormConfigurations: <TLDS extends TopLevelDataSchema>(scenarios: Scenario[] | undefined, configurations: PerScenarioFormConfiguration<TLDS, string>) => FormConfiguration<TLDS, string>;
11
11
  export declare const augmentWithCountryConfigs: <OuterFormSchema extends TopLevelDataSchema>(countrySpecificConfig: FormConfigurationWithoutRules<OuterFormSchema> | undefined, baseFormConfig: FormConfiguration<OuterFormSchema, string>) => FormConfiguration<OuterFormSchema, string>;
@@ -1,3 +1,3 @@
1
- import type { DataSet } from '../../models/api/data-set';
1
+ import type { DataSet } from '../../../types/dataset';
2
2
  import type { DatasetIdentifier } from '../../../utils/datasetUtil';
3
3
  export declare const getDataset: (identifier: DatasetIdentifier, locale: string) => Promise<DataSet>;
@@ -1,7 +1,7 @@
1
1
  import type { SetOptional } from 'type-fest';
2
2
  import type { CompanyType, LegalEntityAssociationDto, LegalEntityAssociationType, LegalEntityType } from '../api/legalEntity/legalEntity.types';
3
- import type { DecisionMakerType } from './models/api/decision-maker-type';
4
3
  import type { TaskIdentifier } from '../stores/globalStore/globalStore';
4
+ import type { DecisionMakerType } from '../types/decisionMaker';
5
5
  /**
6
6
  * A recursive type representing any valid Mixpanel property value.
7
7
  * This can be a primitive, a nested object, or an array of properties.
@@ -1,3 +1,3 @@
1
- import type { DataSet } from '../../core/models/api/data-set';
1
+ import type { DataSet } from '../../types/dataset';
2
2
  import type { CountryCode } from '../../types/datasets/country-code';
3
3
  export declare const loadCountriesDataset: (locale: string) => Promise<DataSet<CountryCode>>;
@@ -1,3 +1,3 @@
1
- import type { DataSet } from '../../core/models/api/data-set';
1
+ import type { DataSet } from '../../types/dataset';
2
2
  import type { CountryCode } from '../../types/datasets/country-code';
3
3
  export declare const loadStatesDataset: (country: CountryCode, locale: string) => Promise<DataSet>;
@@ -1,6 +1,6 @@
1
1
  import type { DOMAttributes } from 'react';
2
2
  import type { DefineComponent } from 'vue';
3
- import type { OnboardingStatus } from '../../core/models/api/view-verification-status';
3
+ import type { OnboardingStatus } from '../../types/onboardingStatus';
4
4
  import type { ErrorEntity, OnboardingRedirectConfig } from '../../components/EmbeddedDropins/ViewVerificationStatus/types';
5
5
  import type { BaseEmbedProps } from '../baseEmbedProps';
6
6
  /**
@@ -1,4 +1,4 @@
1
- import type { DataSet } from '../core/models/api/data-set';
1
+ import type { DataSet } from '../types/dataset';
2
2
  import type { DatasetIdentifier } from '../utils/datasetUtil';
3
3
  export declare function useDataset<T extends string = string>(datasetIdentifier: DatasetIdentifier, skip?: boolean): {
4
4
  dataset: DataSet<T>;
@@ -1,7 +1,7 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
+ import type { CapabilityName } from '../../api/legalEntity/legalEntity.types';
2
3
  import type { FieldErrorMessage } from '../../components/ui/atoms/Field/Field.types';
3
4
  import type { NsTranslationKey } from '../../../types';
4
- import type { CapabilityName } from '../../core/models/api/capability';
5
5
  import type { CountryCode } from '../../types/datasets/country-code';
6
6
  import type { EntityProblems } from '../../types/errors/entity-problems';
7
7
  import type { FormVerificationErrors } from '../../types/errors/form-verification-errors';
@@ -1,5 +1,4 @@
1
- import type { ExistingLegalEntity, LegalEntityAssociationDto, TransferInstrumentReferenceDto } from '../../api/legalEntity/legalEntity.types';
2
- import type { CapabilityName } from '../../core/models/api/capability';
1
+ import type { CapabilityName, ExistingLegalEntity, LegalEntityAssociationDto, TransferInstrumentReferenceDto } from '../../api/legalEntity/legalEntity.types';
3
2
  import type { AccountHolderOption } from '../../types/accountHolder';
4
3
  import type { CapabilityProblems } from '../../types/errors/capability-problems';
5
4
  import type { TrustMember } from '../../components/Trust/tasks/TrustMembers/types';
@@ -1,6 +1,5 @@
1
1
  import type { ReadonlySignal } from '@preact/signals';
2
- import type { ExistingLegalEntity, LegalEntityAssociationDto, TransferInstrumentReferenceDto } from '../../api/legalEntity/legalEntity.types';
3
- import type { CapabilityName } from '../../core/models/api/capability';
2
+ import type { CapabilityName, ExistingLegalEntity, LegalEntityAssociationDto, TransferInstrumentReferenceDto } from '../../api/legalEntity/legalEntity.types';
4
3
  import type { AccountHolderOption } from '../../types/accountHolder';
5
4
  import type { CountryCode } from '../../types/datasets/country-code';
6
5
  import type { CapabilityProblems } from '../../types/errors/capability-problems';
@@ -1,7 +1,7 @@
1
1
  import type { AllUnionFields, ValueOf } from 'type-fest';
2
2
  import type { TopLevelDataSchema } from '../context/StateContext/types';
3
3
  import type { NsTranslationKey } from '../../types';
4
- import type { Scenario } from '../core/models/api/get-scenarios';
4
+ import type { Scenario } from './scenarios';
5
5
  import type { PerCountry } from '../utils/perCountry';
6
6
  export interface FieldSettings<RuleName extends string> {
7
7
  obscured?: boolean;
@@ -2,11 +2,11 @@ import type { ExistingLegalEntity } from '../api/legalEntity/legalEntity.types';
2
2
  import type { BooleanSettingName, SettingName, Settings } from '../context/SettingsContext/types';
3
3
  import type { TopLevelDataSchema } from '../context/StateContext/types';
4
4
  import type { ExperimentName, FeatureName } from '../context/ToggleContext/types';
5
- import type { Scenario } from '../core/models/api/get-scenarios';
6
5
  import type { TaskType } from '../stores/globalStore/taskTypes';
7
6
  import type { AccountHolderOption } from './accountHolder';
8
7
  import type { CountryCode } from './datasets/country-code';
9
8
  import type { EntityProblems } from './errors/entity-problems';
9
+ import type { Scenario } from './scenarios';
10
10
  export interface FormRulesParams<TLDS extends TopLevelDataSchema> {
11
11
  matchingScenario?: Scenario[];
12
12
  data: TLDS;
@@ -1,4 +1,4 @@
1
- import type { Scenario as ApiScenario } from '../../../api/configurations/configurations.types';
1
+ import type { Scenario as ApiScenario } from '../api/configurations/configurations.types';
2
2
  /**
3
3
  * @description The available scenarios matching the API. Scenarios are a way of defining
4
4
  * when certain fields must be provided by default. For an example of how they are used,
@@ -1,7 +1,8 @@
1
- export type VerificationStatus = (typeof VerificationStatuses)[keyof typeof VerificationStatuses];
1
+ import type { VerificationStatus } from '../api/legalEntity/legalEntity.types';
2
2
  export declare const VerificationStatuses: {
3
3
  readonly VALID: "valid";
4
4
  readonly PENDING: "pending";
5
5
  readonly INVALID: "invalid";
6
6
  readonly REJECTED: "rejected";
7
7
  };
8
+ export type { VerificationStatus };
@@ -1,5 +1,4 @@
1
- import type { ExistingLegalEntity } from '../api/legalEntity/legalEntity.types';
2
- import type { CapabilityName } from '../core/models/api/capability';
1
+ import type { CapabilityName, ExistingLegalEntity } from '../api/legalEntity/legalEntity.types';
3
2
  import type { AccountHolderOption } from '../types/accountHolder';
4
3
  /**
5
4
  ** Account holder option is not stored in backend as it does not effect any check evaluations.
@@ -22,7 +22,7 @@ export declare const debouncedInputEvent: (userEvents: UserEvents, properties: {
22
22
  usedAdditionalAddress?: boolean | undefined;
23
23
  industryCode?: string | undefined;
24
24
  countryOfRegistration?: string | undefined;
25
- roles?: import("../../core/models/api/decision-maker-type").DecisionMakerType[] | import("../../api/legalEntity/legalEntity.types").LegalEntityAssociationType[] | undefined;
25
+ roles?: import("../../types/decisionMaker").DecisionMakerType[] | import("../../api/legalEntity/legalEntity.types").LegalEntityAssociationType[] | undefined;
26
26
  noOfDecisionMakers?: number | undefined;
27
27
  remainingDecisionMakers?: import("../../api/legalEntity/legalEntity.types").LegalEntityAssociationDto[] | undefined;
28
28
  actionLevel?: ("task" | "field" | "page" | "journey") | undefined;
@@ -1,6 +1,5 @@
1
- import type { ExistingLegalEntity, VerificationErrorDto } from '../../api/legalEntity/legalEntity.types';
1
+ import type { CapabilityName, ExistingLegalEntity, VerificationErrorDto } from '../../api/legalEntity/legalEntity.types';
2
2
  import type { ExistingTransferInstrument } from '../../api/transferInstruments/transferInstruments.types';
3
- import type { CapabilityName } from '../../core/models/api/capability';
4
3
  import type { CountryCode } from '../../types/datasets/country-code';
5
4
  import type { CapabilityProblems } from '../../types/errors/capability-problems';
6
5
  import type { EntityProblems } from '../../types/errors/entity-problems';
@@ -1,2 +1,2 @@
1
- import type { Capability, CapabilityName } from '../../core/models/api/capability';
2
- export declare const useCapabilities: () => Partial<Record<CapabilityName, Capability>> | undefined;
1
+ import type { CapabilitiesDto } from '../../api/legalEntity/legalEntity.types';
2
+ export declare const useCapabilities: () => CapabilitiesDto | undefined;
@@ -1,4 +1,4 @@
1
- import type { DataSet } from '../core/models/api/data-set';
1
+ import type { DataSet } from '../types/dataset';
2
2
  import type { CountryCode } from '../types/datasets/country-code';
3
3
  import type { StateCode } from '../types/datasets/state-code';
4
4
  export type DatasetIdentifier = 'countries' | `states/${CountryCode}`;
@@ -1,6 +1,6 @@
1
1
  import type { NsTranslationKey } from '../../types';
2
- import { type DecisionMakerType } from '../core/models/api/decision-maker-type';
3
- import { type Scenario } from '../core/models/api/get-scenarios';
2
+ import { type DecisionMakerType } from '../types/decisionMaker';
3
+ import { type Scenario } from '../types/scenarios';
4
4
  /**
5
5
  *
6
6
  * When providing DECISION_MAKER_REQUIREMENTS per country - keep in mind that you need to specify rules for each role individually even if you have a mixed rule between them.
@@ -1,7 +1,7 @@
1
1
  import type { ExistingLegalEntity, LegalEntityAssociationDto } from '../api/legalEntity/legalEntity.types';
2
- import { type DecisionMakerType } from '../core/models/api/decision-maker-type';
3
- import type { Scenario } from '../core/models/api/get-scenarios';
4
2
  import { type TaskType } from '../stores/globalStore/taskTypes';
3
+ import { type DecisionMakerType } from '../types/decisionMaker';
4
+ import type { Scenario } from '../types/scenarios';
5
5
  export declare const getOwnDecisionMakers: (rootLegalEntity: ExistingLegalEntity) => LegalEntityAssociationDto[];
6
6
  export declare const getDecisionMakers: (rootLegalEntity: ExistingLegalEntity, companyLegalEntityId: string) => LegalEntityAssociationDto[];
7
7
  export declare const getOwnSignatories: (rootLegalEntity: ExistingLegalEntity) => LegalEntityAssociationDto[];
@@ -1,11 +1,17 @@
1
1
  import type { ExistingLegalEntity, LegalEntityAssociationDto, LegalEntityType } from '../api/legalEntity/legalEntity.types';
2
- import type { NomineeType } from '../core/models/api/legal-entity-association';
3
2
  import { type TaskType } from '../stores/globalStore/taskTypes';
4
3
  import type { AccountHolderOption } from '../types/accountHolder';
5
4
  import type { CountryCode } from '../types/datasets/country-code';
6
5
  import type { CapabilityProblems } from '../types/errors/capability-problems';
7
6
  import type { EntityProblems } from '../types/errors/entity-problems';
8
7
  import type { BasicDetailsSchema } from '../components/Individual/forms/BasicDetails/BasicDetails.types';
8
+ import type { GuidanceQuestionValue } from '../components/Individual/forms/GuidanceQuestion/GuidanceQuestion';
9
+ export type NomineeType = {
10
+ nomineeShareholder?: string;
11
+ nomineeDirector?: string;
12
+ isNomineeDirector?: GuidanceQuestionValue | null;
13
+ isNomineeShareholder?: GuidanceQuestionValue | null;
14
+ };
9
15
  /**
10
16
  * Returns the entity associations from the root LE which have a {@link LegalEntityAssociationDto.associatorId} matching the given `legalEntityId`.
11
17
  * Can be used to find members of a trust, or decision makers of a trustee company.
@@ -1,8 +1,8 @@
1
- import type { DecisionMakerType } from '../core/models/api/decision-maker-type';
2
- import type { UnincorporatedPartnershipMemberType } from '../core/models/api/unincorporated-partnership';
3
1
  import type { EntityStatus } from '../components/Shared/EntityGuidanceStatus/types';
4
2
  import { type TaskType } from '../stores/globalStore/taskTypes';
5
3
  import type { CountryCode } from '../types/datasets/country-code';
4
+ import type { DecisionMakerType } from '../types/decisionMaker';
5
+ import type { UnincorporatedPartnershipMemberType } from '../types/unincorporatedPartnership';
6
6
  import type { TrustMemberGuidanceLabel } from '../components/Trust/utils/trustMemberGuidance';
7
7
  /**
8
8
  * Determines the status of an entity based on the current and minimum values.
@@ -1,6 +1,14 @@
1
1
  import type { CamelCase } from 'type-fest';
2
- import type { ScriptLocalization } from '../core/models/api/scriptLocalization';
3
2
  import type { LocalizedScriptSchema } from '../types/localizedScriptSchema';
3
+ /**
4
+ * Data for some fields localized for a given script, e.g. `ja-Kana`.
5
+ */
6
+ export type ScriptLocalization<T, Script extends string> = {
7
+ script: Script;
8
+ fields: {
9
+ [K in keyof T]?: T[K];
10
+ };
11
+ };
4
12
  /**
5
13
  * Takes a {@link ScriptLocalization} and converts it into a schema with matching field names.
6
14
  *
@@ -1,7 +1,7 @@
1
1
  import type { LegalEntityAssociationType } from '../api/legalEntity/legalEntity.types';
2
2
  import type { TagVariant } from '../components/ui/atoms/Tag/Tag';
3
- import { type UnincorporatedPartnershipMemberType } from '../core/models/api/unincorporated-partnership';
4
3
  import type { NsTranslationKey } from '../../types';
4
+ import { type UnincorporatedPartnershipMemberType } from '../types/unincorporatedPartnership';
5
5
  import { type TrustMemberGuidanceLabel } from '../components/Trust/utils/trustMemberGuidance';
6
6
  export type Role = `${LegalEntityAssociationType | TrustMemberGuidanceLabel | UnincorporatedPartnershipMemberType}`;
7
7
  type RoleMetadata<R extends Role> = Record<R, {
@@ -1,4 +1,4 @@
1
- import type { AccountIdentification } from '../core/models/api/accountIdentification';
1
+ import type { AccountIdentification } from '../api/transferInstruments/accountIdentification.types';
2
2
  import type { CountryCode } from '../types/datasets/country-code';
3
3
  import type { CountryFormatRules } from './validation/types';
4
4
  export declare const getMaxLengthByFieldAndCountry: <FormSchema extends object>(formattingRules: CountryFormatRules<FormSchema>, field: keyof FormSchema, country: CountryCode | undefined, ignoreIfFormatterExists: boolean) => number | undefined;
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "135300e1-23ef-40aa-a2e8-e43a2af8691f", e._sentryDebugIdIdentifier = "sentry-dbid-135300e1-23ef-40aa-a2e8-e43a2af8691f");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9723cf93-874a-4450-aa37-c2e305e6cf60", e._sentryDebugIdIdentifier = "sentry-dbid-9723cf93-874a-4450-aa37-c2e305e6cf60");
4
4
  } catch (e) {}
5
5
  var UnincorporatedPartnershipMemberTypes = {
6
6
  SECONDARY_PARTNER: "secondaryPartner",
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9f3a309b-c265-4c71-98a0-160f5ab66516", e._sentryDebugIdIdentifier = "sentry-dbid-9f3a309b-c265-4c71-98a0-160f5ab66516");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "08d8408e-9565-472b-8183-c7703ab2b270", e._sentryDebugIdIdentifier = "sentry-dbid-08d8408e-9565-472b-8183-c7703ab2b270");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-DbATp_35.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
@@ -25,7 +25,7 @@ import { t as Alert } from "./Alert-BqbbDRYR.js";
25
25
  import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-CWE5UFt8.js";
26
26
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
27
27
  import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
28
- import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
28
+ import { t as Scenarios } from "./scenarios-nibtmpSb.js";
29
29
  import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
30
30
  import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
31
31
  import { t as SettingNames } from "./types-B28r2lAW.js";
@@ -40,12 +40,12 @@ import { t as Confirm } from "./Confirm-DjFpxSzC.js";
40
40
  import { a as CountryOfGoverningLawField, c as useCompanyTypeExamples, d as companySearchQueryOptions, f as useCompanySearch, i as COUNTRY_OF_GOVERNING_LAW_FIELD, l as useCompanySelection, m as useClearCompanyData, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as useLegalCompanyNameField, p as trackPerformance, r as isNormalizedStringMatch, s as localizedLegalCompanyNameFieldConfig, t as CountryOfGoverningLawFieldValidation, u as verifyTinQueryOptions } from "./validate-BBVJuFm5.js";
41
41
  import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CYZd_62a.js";
42
42
  import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B7LRg8m0.js";
43
- import { a as useFormComposer, i as FormFlow, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-DFjjUh12.js";
43
+ import { a as useFormComposer, i as FormFlow, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-OsMsnnYG.js";
44
44
  import { i as getPropsFromConfigurations, r as composePerScenarioFormConfigurations, t as createFormRules } from "./form-rules-DhuNdiqF.js";
45
45
  import { t as Image } from "./Image-Bn_Yyuof.js";
46
46
  import { t as StructuredList } from "./StructuredList-BHUmeWeh.js";
47
47
  import { t as ErrorPanel } from "./ErrorPanel-PefRq1M4.js";
48
- import { n as summaryStep, r as Summary_module_default } from "./Summary-DAL_HF4K.js";
48
+ import { n as summaryStep, r as Summary_module_default } from "./Summary-BTDbRMfh.js";
49
49
  import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DAKrWwgL.js";
50
50
  import { t as useMultiForm } from "./useMultiForm-CM3lpilP.js";
51
51
  import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-CkDwzLxe.js";
@@ -73,9 +73,9 @@ import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER
73
73
  import { n as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-C68JdH6I.js";
74
74
  import { t as DataConflictsModal } from "./DataConflictsModal-8Nnj7_UD.js";
75
75
  import { r as formatObject } from "./utils-DdHbAadK.js";
76
- import { t as useScenarios } from "./useScenarios-BfYE0clW.js";
77
- import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-CN4TQzn9.js";
78
- import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BrDc9SLg.js";
76
+ import { t as useScenarios } from "./useScenarios-DV2TeNvN.js";
77
+ import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-CFG2_P0x.js";
78
+ import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-RrS8dCpX.js";
79
79
  import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
80
80
  import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-wwD6Rp3Q.js";
81
81
  import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-CFU1x_1n.js";
@@ -89,14 +89,14 @@ import { t as formatValidationError } from "./formatValidationError-z2D5oU1e.js"
89
89
  import { t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js";
90
90
  import { t as currencyByCountry } from "./types-D6p5FQF-.js";
91
91
  import { t as Divider } from "./Divider-BENvVRnz.js";
92
- import { n as SummarySection, t as NewSummary } from "./NewSummary-Bn1_xnRZ.js";
92
+ import { n as SummarySection, t as NewSummary } from "./NewSummary-DYLlnpwx.js";
93
93
  import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
94
94
  import { a as LegalFormField, c as legalEntityIdentifierFieldMetadata, d as isDateOlderThanAYear, f as mapAddressData, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-3Z9i_AhY.js";
95
95
  import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
96
96
  import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
97
97
  import { n as formatCurrency } from "./formatCurrency-BetgkQKi.js";
98
98
  import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-DCKYTzxd.js";
99
- import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-BHd6kfdt.js";
99
+ import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-CNNhKkzD.js";
100
100
  import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-DAb_IqC6.js";
101
101
  import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-D8pwjFm5.js";
102
102
  import { lazy } from "preact/compat";
@@ -4,7 +4,7 @@ try {
4
4
  } catch (e) {}
5
5
  import { t as useSettingsContext } from "./useSettingsContext-9O3Aqpfq.js";
6
6
  import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-CY0grcyH.js";
7
- import { o as isPartOfTrustFromLegalEntity } from "./trustUtil-5cyXiJnX.js";
7
+ import { o as isPartOfTrustFromLegalEntity } from "./trustUtil-BG17fZ56.js";
8
8
  import { t as SettingNames } from "./types-B28r2lAW.js";
9
9
  //#region src/hooks/useLegalEntityType.ts
10
10
  var useLegalEntityType = ({ legalEntity }) => {
@@ -26,37 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
26
26
  };
27
27
  //#endregion
28
28
  //#region src/router/routeConfig.ts
29
- var Introduction = lazy(async () => (await import("./Introduction-Cz0LnMCN.js")).Introduction);
30
- var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-DrpRgnH4.js")).AdaptiveWorkflow);
29
+ var Introduction = lazy(async () => (await import("./Introduction-DFW6EaLG.js")).Introduction);
30
+ var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-2EE8iiMD.js")).AdaptiveWorkflow);
31
31
  var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-DeWD37jR.js")).BusinessTypeSelectionPage);
32
- var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-DZusuIqe.js")).GlobalEntryPage);
33
- var SingpassSelection = lazy(async () => (await import("./SingpassSelection-C_g9IkU2.js")).SingpassSelection);
32
+ var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-CdGXV-QZ.js")).GlobalEntryPage);
33
+ var SingpassSelection = lazy(async () => (await import("./SingpassSelection-B6NONcr4.js")).SingpassSelection);
34
34
  var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-BtcxtVKO.js")).AccountSetupRejected);
35
- var DecisionMakers = lazy(async () => (await import("./DecisionMakers-CcFvSGqi.js")).DecisionMakers);
35
+ var DecisionMakers = lazy(async () => (await import("./DecisionMakers-qRoXooYA.js")).DecisionMakers);
36
36
  var CustomerSupport = lazy(async () => (await import("./CustomerSupport-B0UJHtAq.js")).CustomerSupport);
37
37
  var Review = lazy(async () => (await import("./Review-CzgmjDcZ.js")).Review);
38
- var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-LLZf2TeN.js").then((n) => n.n)).SignPCIComponent);
39
- var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-DT2dwCi_.js").then((n) => n.n)).TermsOfServiceManagement);
40
- var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-C9fGOzkW.js")).TaxReportingDropin);
41
- var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-Dw9Z6keH.js")).PayoutDetailsPage);
42
- var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-BZzgcJDi.js")).RootBusinessDetailsPage);
43
- var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Bon-72KE.js")).RootBusinessLinesPage);
44
- var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-BIJoqI3I.js")).SoleProprietorshipPage);
45
- var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-Dx-d3qCd.js")).TrustMemberCompanyPage);
46
- var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-D894Db-6.js")).TrustMemberIndividualPage);
47
- var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-BDqjSmrc.js")).TrustMemberRoleAndTypePage);
48
- var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-DtWUGzgb.js")).TrustMembersOverview);
49
- var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-CiQGKuDs.js")).UnincorporatedPartnershipMemberCompanyPage);
50
- var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-VbufyyKR.js")).UnincorporatedPartnershipIndividualPage);
51
- var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-DZhy16m1.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
- var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-Dm49I4-5.js")).UnincorporatedPartnershipMembersOverview);
53
- var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-wQ3Stqaq.js")).BusinessFinancingPage);
54
- var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-CoXbmmTn.js")).TrustDetailsPage);
55
- var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-tIp7dhQc.js")).SourceOfFundsPage);
56
- var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-BDe7rnHs.js")).RootIndividualDetailsPage);
57
- var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-_u14iANL.js")).LegalRepresentativeDetailsPage);
58
- var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BZdFtyd5.js")).DecisionMakerDetailsPage);
59
- lazy(async () => (await import("./InvitedDecisionMakerComponent-llOIdClO.js").then((n) => n.n)).InvitedDecisionMakerComponent);
38
+ var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-CIkdVNH2.js").then((n) => n.n)).SignPCIComponent);
39
+ var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-BM5K4cpw.js").then((n) => n.n)).TermsOfServiceManagement);
40
+ var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-Cq3gBWtp.js")).TaxReportingDropin);
41
+ var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-NM0Eqf4K.js")).PayoutDetailsPage);
42
+ var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-B1a0hu8F.js")).RootBusinessDetailsPage);
43
+ var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Dv1uT7OS.js")).RootBusinessLinesPage);
44
+ var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-BmNs557C.js")).SoleProprietorshipPage);
45
+ var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-tU2HTiDG.js")).TrustMemberCompanyPage);
46
+ var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-BLBtnoSq.js")).TrustMemberIndividualPage);
47
+ var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-DIwrtOWr.js")).TrustMemberRoleAndTypePage);
48
+ var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-CowTgfIb.js")).TrustMembersOverview);
49
+ var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-DFOoV0wQ.js")).UnincorporatedPartnershipMemberCompanyPage);
50
+ var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BT0j54-O.js")).UnincorporatedPartnershipIndividualPage);
51
+ var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
+ var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-5w1BrDMI.js")).UnincorporatedPartnershipMembersOverview);
53
+ var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-C4dAslMp.js")).BusinessFinancingPage);
54
+ var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-z7s9FxVC.js")).TrustDetailsPage);
55
+ var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-B5nZ3MjN.js")).SourceOfFundsPage);
56
+ var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-vkjzmyF7.js")).RootIndividualDetailsPage);
57
+ var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-BiAfoErR.js")).LegalRepresentativeDetailsPage);
58
+ var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-CGOs2Ubt.js")).DecisionMakerDetailsPage);
59
+ lazy(async () => (await import("./InvitedDecisionMakerComponent-hdQc0T7D.js").then((n) => n.n)).InvitedDecisionMakerComponent);
60
60
  var ROUTE_CONFIG = {
61
61
  [TaskTypes.ADAPTIVE]: {
62
62
  path: "/adaptive",
@@ -1,10 +1,10 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "02345c77-e5bc-4ca5-bb29-85b36bbbd9c9", e._sentryDebugIdIdentifier = "sentry-dbid-02345c77-e5bc-4ca5-bb29-85b36bbbd9c9");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "966549a6-6c0a-4a68-9c1e-159f6e1b2b0d", e._sentryDebugIdIdentifier = "sentry-dbid-966549a6-6c0a-4a68-9c1e-159f6e1b2b0d");
4
4
  } catch (e) {}
5
5
  import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
6
6
  import { o as entriesOf } from "./genUtils-nphCwt1A.js";
7
- import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
7
+ import { t as Scenarios } from "./scenarios-nibtmpSb.js";
8
8
  import { skipToken, useQuery } from "@tanstack/preact-query";
9
9
  //#region src/api/configurations/useScenarios.ts
10
10
  var getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
@@ -5,7 +5,7 @@ try {
5
5
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
6
6
  import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
7
7
  import { s as getOwnEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
8
- import { r as TrustMemberTypes } from "./trustMemberGuidance-CgdU2v0j.js";
8
+ import { r as TrustMemberTypes } from "./trustMemberGuidance-BpeDHAJP.js";
9
9
  import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BdcoiUby.js";
10
10
  import { n as getLegalEntityNameBasedOnType } from "./getName-DgxRqagk.js";
11
11
  import { useMemo } from "preact/hooks";