@adyen/kyc-components 4.25.0-beta.0 → 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 (256) hide show
  1. package/dist/{AcceptTermsOfServiceWorkflow-DVUes-ba.js → AcceptTermsOfServiceWorkflow-BKWCrZdZ.js} +4 -4
  2. package/dist/{Accordion-Dgdxfe-d.js → Accordion-D_DOaWj2.js} +1 -1
  3. package/dist/{AccountSetupRejected-B19onnyG.js → AccountSetupRejected-BtcxtVKO.js} +2 -2
  4. package/dist/{AdaptiveWorkflow-q5TVr4ET.js → AdaptiveWorkflow-2EE8iiMD.js} +2 -2
  5. package/dist/{AdaptiveWorkflowComponent-CBxlKnJq.js → AdaptiveWorkflowComponent-C4Q6NVtv.js} +3 -3
  6. package/dist/{AddressFields-DR4xhVNv.js → AddressFields-CFG2_P0x.js} +8 -7
  7. package/dist/{Alert-Bv9M3wLb.js → Alert-BqbbDRYR.js} +3 -3
  8. package/dist/{Avatar-oTPu6Ejy.js → Avatar-k5lNd5KG.js} +1 -1
  9. package/dist/{BusinessFinancingDropin-B71xoa3g.js → BusinessFinancingDropin-BjTnxk__.js} +16 -16
  10. package/dist/{BusinessFinancingPage-DlttycNJ.js → BusinessFinancingPage-C4dAslMp.js} +2 -2
  11. package/dist/{BusinessRegistrationNumberField-CpRV1Keg.js → BusinessRegistrationNumberField-Dz1uGvRQ.js} +3 -3
  12. package/dist/{BusinessRegistrationNumberFieldGroup-BBOUoIDC.js → BusinessRegistrationNumberFieldGroup-BFPrFa1_.js} +4 -4
  13. package/dist/{BusinessTypeSelectionPage-DiZhzyXz.js → BusinessTypeSelectionPage-DeWD37jR.js} +4 -4
  14. package/dist/{Button-DpPFIUJx.js → Button-BxdC8cVB.js} +1 -1
  15. package/dist/{ComponentGroup-BcVd3jTE.js → ComponentGroup-S6c3rVoX.js} +3 -3
  16. package/dist/{Confirm-D8WH4e1L.js → Confirm-DjFpxSzC.js} +2 -2
  17. package/dist/{ConstitutionalDocument-BBXjyAH3.js → ConstitutionalDocument-CNNhKkzD.js} +7 -7
  18. package/dist/{ContactDetails-e8rkZO7f.js → ContactDetails-_HCOKj3-.js} +5 -5
  19. package/dist/{ContextGuidance-DPPaigJE.js → ContextGuidance-v-d9RQuo.js} +1 -1
  20. package/dist/{CountryField-C7eHHmYk.js → CountryField-CMOB4yz4.js} +2 -2
  21. package/dist/{Currency-BEr0RDjy.js → Currency-3Z9i_AhY.js} +5 -5
  22. package/dist/{CustomerSupport-DVMEfZdZ.js → CustomerSupport-B0UJHtAq.js} +5 -5
  23. package/dist/{DataConflictsModal-BqfTUq4v.js → DataConflictsModal-8Nnj7_UD.js} +4 -4
  24. package/dist/{DebugModal-CGPSu2md.js → DebugModal-BxebnUyQ.js} +8 -8
  25. package/dist/{DecisionMakerDetails-mi5oGeCi.js → DecisionMakerDetails-RF9BoMYF.js} +12 -12
  26. package/dist/{DecisionMakerDetailsPage-BUvvs6i9.js → DecisionMakerDetailsPage-CGOs2Ubt.js} +4 -4
  27. package/dist/{DecisionMakers-B2dpzHQ-.js → DecisionMakers-qRoXooYA.js} +12 -12
  28. package/dist/{Dropzone-DAKOThpd.js → Dropzone-cewfCgXt.js} +4 -4
  29. package/dist/{EmbeddedStatus-CYd2p4sP.js → EmbeddedStatus-Keg7UojY.js} +4 -4
  30. package/dist/{EndStateLayout-BOdEeTDy.js → EndStateLayout-GHEYl82p.js} +2 -2
  31. package/dist/{EntityAssociation-ty8DqPkJ.js → EntityAssociation-BPtrqdQR.js} +5 -5
  32. package/dist/{ErrorPanel-D1ygAX21.js → ErrorPanel-PefRq1M4.js} +2 -2
  33. package/dist/{Field-CBvXkDKh.js → Field-Df7ajJE2.js} +1 -1
  34. package/dist/{GlobalEntryModal-DLC7METR.js → GlobalEntryModal-CTGSdkW7.js} +20 -20
  35. package/dist/{GlobalEntryPage-C2vMcR6i.js → GlobalEntryPage-CdGXV-QZ.js} +4 -4
  36. package/dist/{Header-DVLlJ6we.js → Header-DvifUz7-.js} +1 -1
  37. package/dist/{Icon-4XR6gZzk.js → Icon-DFQgr7dy.js} +1 -1
  38. package/dist/{IdentityNumber-DhO403_T.js → IdentityNumber-Cz6-4YcM.js} +2 -2
  39. package/dist/{IdentityNumberFieldGroup-CqAj0moi.js → IdentityNumberFieldGroup-D2PV_4A5.js} +2 -2
  40. package/dist/{IdentityScreeningWorkflow-Dm2p1_2e.js → IdentityScreeningWorkflow-mbcaIctn.js} +9 -9
  41. package/dist/{IndividualDropin-CKnMrjDj.js → IndividualDropin-D1UOavsw.js} +65 -42
  42. package/dist/{IndustryCodeFieldGroup-DEYxiu_j.js → IndustryCodeFieldGroup-DmOqxPIg.js} +3 -3
  43. package/dist/{Introduction-CTVUoae1.js → Introduction-DFW6EaLG.js} +3 -3
  44. package/dist/{InvitedDecisionMakerComponent-XVUjKp4X.js → InvitedDecisionMakerComponent-hdQc0T7D.js} +6 -6
  45. package/dist/{JpAddressFields-DWDTt4lQ.js → JpAddressFields-CzGnXBMk.js} +3 -3
  46. package/dist/{LegalCompanyNameField-C3zITaw1.js → LegalCompanyNameField-CV2EgRCw.js} +1 -1
  47. package/dist/{LegalName-DsYl9ReT.js → LegalName-BYQ12uWc.js} +1 -1
  48. package/dist/{LegalRepresentativeDetailsPage-CYHPpiXJ.js → LegalRepresentativeDetailsPage-BiAfoErR.js} +2 -2
  49. package/dist/{Link-CvYhseSD.js → Link-C3dYYTm_.js} +1 -1
  50. package/dist/{ListItem-CYTpdOMa.js → ListItem-CHGVbHhB.js} +2 -2
  51. package/dist/{MaskedInput-W1FzWAVl.js → MaskedInput-CkDwzLxe.js} +2 -2
  52. package/dist/{MaybeModal-DJ-s5rk2.js → MaybeModal-Dfm1rIUG.js} +2 -2
  53. package/dist/{Modal-DeXa4MBg.js → Modal-Dq44ZUNN.js} +1 -1
  54. package/dist/{Name-C1GAvkWn.js → Name-BfQr3et_.js} +1 -1
  55. package/dist/{NewSummary-C9CV9wJk.js → NewSummary-DYLlnpwx.js} +3 -3
  56. package/dist/{NodeRenderer-CnaWNStD.js → NodeRenderer-Z10yF5MV.js} +16 -16
  57. package/dist/{PatriotActDisclosure-CnVpPsAg.js → PatriotActDisclosure-BNAsJXEL.js} +6 -6
  58. package/dist/{PayoutDetailsDropin-BPms6ZOq.js → PayoutDetailsDropin-NyizAaYy.js} +25 -24
  59. package/dist/{PayoutDetailsPage-BTBHMzw7.js → PayoutDetailsPage-NM0Eqf4K.js} +3 -3
  60. package/dist/{Review-CGI0RQO6.js → Review-CzgmjDcZ.js} +3 -3
  61. package/dist/{RootBusinessDetailsPage-BswHBSIN.js → RootBusinessDetailsPage-B1a0hu8F.js} +2 -2
  62. package/dist/{RootBusinessLinesPage-BQxhfHmx.js → RootBusinessLinesPage-Dv1uT7OS.js} +15 -15
  63. package/dist/{RootIndividualDetailsPage-CFxtnnY4.js → RootIndividualDetailsPage-vkjzmyF7.js} +3 -3
  64. package/dist/{SignPCIComponent-B1kmyOe5.js → SignPCIComponent-CIkdVNH2.js} +6 -6
  65. package/dist/{SingpassSelection-GiZOYWUI.js → SingpassSelection-B6NONcr4.js} +3 -3
  66. package/dist/{SoleProprietorshipPage-D84M0iEW.js → SoleProprietorshipPage-BmNs557C.js} +2 -2
  67. package/dist/{SourceOfFundsPage-B0SzrryD.js → SourceOfFundsPage-B5nZ3MjN.js} +17 -17
  68. package/dist/{SourceOfFundsWorkflow-j-GhdsMt.js → SourceOfFundsWorkflow-IkLZG9JI.js} +4 -4
  69. package/dist/{StateField-BYoE_vV0.js → StateField-BiNI3dm9.js} +2 -2
  70. package/dist/{Step-BWQnXZ9F.js → Step-BJh4XZae.js} +3 -3
  71. package/dist/{Summary-BxGf1dI5.js → Summary-BTDbRMfh.js} +5 -5
  72. package/dist/{Task-B5aOUY4b.js → Task-yQcY16x1.js} +6 -6
  73. package/dist/{TaskGroup-DJXCb94w.js → TaskGroup-C9iFHpux.js} +3 -3
  74. package/dist/{TaskListItem-0-jRJAy9.js → TaskListItem-ChlmCIfF.js} +7 -7
  75. package/dist/{TaskStepperContextProvider-DdcsqXT7.js → TaskStepperContextProvider-I7talGDO.js} +1 -1
  76. package/dist/{TaskVerificationStatus-DEXk_ndE.js → TaskVerificationStatus-Bd5Eftf2.js} +1 -1
  77. package/dist/{TaxInformationField-DUjQEF-s.js → TaxInformationField--Uhp0zLv.js} +3 -3
  78. package/dist/{TaxInformationFieldGroup-CrTl9kqF.js → TaxInformationFieldGroup-Dq0J9rBU.js} +4 -4
  79. package/dist/{TaxReportingDropin-DAdIs3_N.js → TaxReportingDropin-Cq3gBWtp.js} +8 -8
  80. package/dist/{TaxReportingWorkflow-P9mRynVj.js → TaxReportingWorkflow-flQPRAPy.js} +4 -4
  81. package/dist/{TermsOfServiceManagement-BnyyCgPN.js → TermsOfServiceManagement-BM5K4cpw.js} +7 -7
  82. package/dist/{TileGroup-DKwpyGqw.js → TileGroup-BFcSgQ1l.js} +1 -1
  83. package/dist/{ToastContextProvider-D2doAiSZ.js → ToastContextProvider-BSQ1Upl_.js} +2 -2
  84. package/dist/{TrustDetailsPage-CfjP1Q7K.js → TrustDetailsPage-z7s9FxVC.js} +20 -20
  85. package/dist/{TrustMemberCompanyPage-taBHdjIB.js → TrustMemberCompanyPage-tU2HTiDG.js} +3 -3
  86. package/dist/{TrustMemberIndividualPage-DdwlWwLJ.js → TrustMemberIndividualPage-BLBtnoSq.js} +2 -2
  87. package/dist/{TrustMemberRoleAndTypePage-DAeIxczv.js → TrustMemberRoleAndTypePage-DIwrtOWr.js} +13 -13
  88. package/dist/{TrustMembersOverview-Bb_rf907.js → TrustMembersOverview-CowTgfIb.js} +14 -14
  89. package/dist/{UboTaskItem-RFRcZeJr.js → UboTaskItem-CZLDzQil.js} +6 -6
  90. package/dist/{UnincorporatedPartnershipIndividualPage-lWGiysru.js → UnincorporatedPartnershipIndividualPage-BT0j54-O.js} +2 -2
  91. package/dist/{UnincorporatedPartnershipMemberCompanyPage-oo1cNUHe.js → UnincorporatedPartnershipMemberCompanyPage-DFOoV0wQ.js} +3 -3
  92. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Cqus5hkL.js → UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js} +7 -7
  93. package/dist/{UnincorporatedPartnershipMembersOverview-hzs-FlQ0.js → UnincorporatedPartnershipMembersOverview-5w1BrDMI.js} +7 -7
  94. package/dist/{VerificationErrorAlert-B-WILibe.js → VerificationErrorAlert-B6HmAZ0g.js} +1 -1
  95. package/dist/{Workflow-CymBPsE3.js → Workflow-CF-HUIjR.js} +5 -5
  96. package/dist/adyen-business-financing.js +4 -4
  97. package/dist/adyen-individual-configuration.js +3 -3
  98. package/dist/adyen-individual-status.js +4 -4
  99. package/dist/adyen-invited-decision-maker.js +3 -3
  100. package/dist/adyen-onboarding.js +18 -18
  101. package/dist/adyen-terms-of-service-management.js +3 -3
  102. package/dist/adyen-terms-of-service-status.js +3 -3
  103. package/dist/adyen-transfer-instrument-configuration.js +3 -3
  104. package/dist/adyen-transfer-instrument-management.js +10 -10
  105. package/dist/adyen-verification-status.js +5 -5
  106. package/dist/{bafinUtils-DDrD6bfK.js → bafinUtils-RXELXyTR.js} +3 -3
  107. package/dist/{businessRegistrationNumberPatterns-Bd2bazr4.js → businessRegistrationNumberPatterns-pbrCVTTp.js} +1 -1
  108. package/dist/{constants-C7-xFqmm.js → constants-DAb_IqC6.js} +2 -2
  109. package/dist/{decision-maker-type-NR4GFAeT.js → decisionMaker-CR0qaGWQ.js} +1 -1
  110. package/dist/{decisionMakerRoles-C6LMC4mh.js → decisionMakerRoles-JEb0ON4e.js} +3 -3
  111. package/dist/{validate-D8sQbtil.js → documentUtils-CxjFpoJB.js} +9 -180
  112. package/dist/{dropinUtils-DaA6mmQp.js → dropinUtils-OsMsnnYG.js} +5 -5
  113. package/dist/{error-CQMSa-H_.js → error-DrzrPjvf.js} +1 -1
  114. package/dist/{getDefaultRegistrationNumberType-BzOpwR5x.js → getDefaultRegistrationNumberType-BNO2BcfK.js} +3 -3
  115. package/dist/{globalStore-WASei98w.js → globalStore--_np-9ON.js} +4 -4
  116. package/dist/{mapExistingFile-BrDc9SLg.js → mapExistingFile-RrS8dCpX.js} +1 -1
  117. package/dist/{mapLegalEntityToIndividualSchema-Cs24QJ_x.js → mapLegalEntityToIndividualSchema-DtT3pcZJ.js} +17 -13
  118. package/dist/{view-verification-status-XSQs02td.js → onboardingStatus-B8UCsL8G.js} +1 -1
  119. package/dist/{processValidationErrors-DsZ6_OXy.js → processValidationErrors-CFU1x_1n.js} +1 -1
  120. package/dist/{resolveEnvironment-g21Gu4Y_.js → resolveEnvironment-CcCbs90B.js} +12 -12
  121. package/dist/{roleMetadata-CQeuOFRE.js → roleMetadata-CbgaYaH8.js} +4 -4
  122. package/dist/{get-scenarios-Bb-paHmJ.js → scenarios-nibtmpSb.js} +1 -1
  123. package/dist/{trustMemberGuidance-CgdU2v0j.js → trustMemberGuidance-BpeDHAJP.js} +1 -1
  124. package/dist/{trustUtil-5cyXiJnX.js → trustUtil-BG17fZ56.js} +2 -2
  125. package/dist/types/api/address/address.types.d.ts +3 -13
  126. package/dist/types/api/address/useAddressCleanse.d.ts +1 -2
  127. package/dist/types/api/address/useSearchAddress.d.ts +1 -9
  128. package/dist/types/api/businessLines/businessLines.types.d.ts +6 -1
  129. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +3 -15
  130. package/dist/types/api/check/useCheck.d.ts +1 -1
  131. package/dist/types/api/idVerificationProviders/idVerificationProviders.types.d.ts +22 -1
  132. package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +1 -1
  133. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +5 -2
  134. package/dist/types/api/legalEntity/legalEntity.types.d.ts +3 -0
  135. package/dist/types/api/onboardingStatus/onboardingStatus.types.d.ts +1 -1
  136. package/dist/types/api/openId/openId.types.d.ts +2 -0
  137. package/dist/types/api/taxClassification/taxClassification.types.d.ts +4 -0
  138. package/dist/types/api/termsOfService/termsOfService.types.d.ts +10 -1
  139. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +8 -1
  140. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -2
  141. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
  142. package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +3 -11
  143. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -1
  144. package/dist/types/components/BankAccount/hooks/useAsyncAccountDetailsValidationRules.d.ts +1 -1
  145. package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +1 -1
  146. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +0 -2145
  147. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +1 -1
  148. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -1
  149. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +1 -2
  150. package/dist/types/components/Business/utils/utils.d.ts +2 -3
  151. package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +5 -1
  152. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
  153. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
  154. package/dist/types/components/EFP/mapping/mapSourceOfFundToSourceOfFundsSchema.d.ts +2 -3
  155. package/dist/types/components/EFP/mapping/sourceOfFundsKeyMappings.d.ts +2 -3
  156. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +3 -3
  157. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +3 -4
  158. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.d.ts +2 -3
  159. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +2 -2
  160. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +2 -2
  161. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +22 -9
  162. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +13 -14
  163. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -2
  164. package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +1 -1
  165. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +1 -2
  166. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
  167. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +1 -1
  168. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/types.d.ts +1 -1
  169. package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +2 -2
  170. package/dist/types/components/Individual/forms/IdVerificationMethod/individualConflictsSchema.d.ts +1 -1
  171. package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
  172. package/dist/types/components/Individual/forms/Individual.types.d.ts +4 -5
  173. package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +1 -1
  174. package/dist/types/components/Individual/forms/InviteDetails/utils.d.ts +1 -1
  175. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +1 -1
  176. package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
  177. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +5 -5
  178. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +1 -1
  179. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +1 -1
  180. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -1
  181. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +1 -1
  182. package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +2 -2
  183. package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +1 -1
  184. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +6 -1
  185. package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -2
  186. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -2
  187. package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +1 -1
  188. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/getAvailableRoles.d.ts +1 -1
  189. package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -1
  190. package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +1 -1
  191. package/dist/types/components/Trust/utils/trustMemberRequirements.d.ts +1 -1
  192. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
  193. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +1 -1
  194. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +1 -1
  195. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
  196. package/dist/types/components/ui/molecules/EmbeddedStatus/types.d.ts +1 -1
  197. package/dist/types/core/process-field-configurations.d.ts +1 -1
  198. package/dist/types/core/services/agnostic/get-dataset.d.ts +1 -1
  199. package/dist/types/core/user-events.d.ts +1 -1
  200. package/dist/types/datasets/generators/loadCountries.d.ts +1 -1
  201. package/dist/types/datasets/generators/loadStatesDataset.d.ts +1 -1
  202. package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +1 -1
  203. package/dist/types/hooks/useDataset.d.ts +1 -1
  204. package/dist/types/hooks/useForm/types.d.ts +1 -1
  205. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +1 -2
  206. package/dist/types/stores/globalStore/globalStore.d.ts +1 -2
  207. package/dist/types/types/form-configuration.d.ts +1 -1
  208. package/dist/types/types/form-rules.d.ts +1 -1
  209. package/dist/types/{core/models/api/get-scenarios.d.ts → types/scenarios.d.ts} +1 -1
  210. package/dist/types/{core/models/api/verification-status.d.ts → types/verificationStatus.d.ts} +2 -1
  211. package/dist/types/utils/accountHolderUtils.d.ts +1 -2
  212. package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -1
  213. package/dist/types/utils/api/documentUtils.d.ts +1 -0
  214. package/dist/types/utils/api/processCapabilities.d.ts +1 -2
  215. package/dist/types/utils/api/useCapabilities.d.ts +2 -2
  216. package/dist/types/utils/datasetUtil.d.ts +1 -1
  217. package/dist/types/utils/decisionMaker.d.ts +2 -2
  218. package/dist/types/utils/decisionMakerRoles.d.ts +2 -2
  219. package/dist/types/utils/entityAssociationUtil.d.ts +7 -1
  220. package/dist/types/utils/entityStatusUtil.d.ts +2 -2
  221. package/dist/types/utils/mapScriptLocalization.d.ts +9 -1
  222. package/dist/types/utils/roleMetadata.d.ts +1 -1
  223. package/dist/types/utils/validatorUtils.d.ts +1 -1
  224. package/dist/{types-BA3bcGAv.js → types-D6p5FQF-.js} +1 -1
  225. package/dist/{unincorporated-partnership-DNTK5Y_5.js → unincorporatedPartnership-BbNowjM2.js} +1 -1
  226. package/dist/{useBusinessDetailsData-FHWhosZj.js → useBusinessDetailsData-dsYTeDom.js} +37 -37
  227. package/dist/{useCanSeeIntroduction-X0L-NhMZ.js → useCanSeeIntroduction-BLGY7sE-.js} +1 -1
  228. package/dist/{useDataset-BMitsLFp.js → useDataset-K19TDoyR.js} +1 -1
  229. package/dist/{useHideTaskStepper-Dk7ZQ3U8.js → useHideTaskStepper-C_w6iUY-.js} +1 -1
  230. package/dist/{useNavigate-BqrdWTzq.js → useNavigate-J0sRAAoI.js} +32 -32
  231. package/dist/{useScenarios-BfYE0clW.js → useScenarios-DV2TeNvN.js} +2 -2
  232. package/dist/{useTrustMembers-CurK1nMF.js → useTrustMembers-uhgi2qfN.js} +1 -1
  233. package/dist/{useUnincorporatedPartnershipMembers-DLGY4jqB.js → useUnincorporatedPartnershipMembers-DVEWj1is.js} +2 -2
  234. package/dist/{utils-Dnwr-Kc0.js → utils-BLBh0VEd.js} +3 -3
  235. package/dist/{validate-C1ZPhUgV.js → validate-BBVJuFm5.js} +4 -4
  236. package/dist/validate-Bkpa-y5Q.js +180 -0
  237. package/dist/{validate-k6dACmjX.js → validate-Dmdw3pYn.js} +1 -1
  238. package/dist/{validateExtractionResult-D41PgEa-.js → validateExtractionResult-qkFkcrwl.js} +2 -2
  239. package/dist/{validationError-CLDQ0Qwt.js → validationError-DUn2rT0n.js} +1 -1
  240. package/package.json +1 -1
  241. package/dist/types/core/models/api/capability.d.ts +0 -59
  242. package/dist/types/core/models/api/contracts.d.ts +0 -44
  243. package/dist/types/core/models/api/instant-id-verification.d.ts +0 -36
  244. package/dist/types/core/models/api/legal-entity-association.d.ts +0 -8
  245. package/dist/types/core/models/api/openid-initiate.d.ts +0 -3
  246. package/dist/types/core/models/api/phone.d.ts +0 -6
  247. package/dist/types/core/models/api/scriptLocalization.d.ts +0 -9
  248. package/dist/types/core/models/api/source-of-funds.d.ts +0 -53
  249. package/dist/types/core/models/api/supporting-entity-capability.d.ts +0 -29
  250. package/dist/types/core/models/api/tax-reporting-classification.d.ts +0 -15
  251. /package/dist/types/{core/models/api/accountIdentification.d.ts → api/transferInstruments/accountIdentification.types.d.ts} +0 -0
  252. /package/dist/types/{core/models/api/data-set.d.ts → types/dataset.d.ts} +0 -0
  253. /package/dist/types/{core/models/api/decision-maker-type.d.ts → types/decisionMaker.d.ts} +0 -0
  254. /package/dist/types/{core/models/api/view-verification-status.d.ts → types/onboardingStatus.d.ts} +0 -0
  255. /package/dist/types/{core/models/api/trust-member-type.d.ts → types/trustMemberType.d.ts} +0 -0
  256. /package/dist/types/{core/models/api/unincorporated-partnership.d.ts → types/unincorporatedPartnership.d.ts} +0 -0
@@ -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 }) => {
@@ -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] = "ffea9fa9-6576-4614-a25b-1212831d3280", e._sentryDebugIdIdentifier = "sentry-dbid-ffea9fa9-6576-4614-a25b-1212831d3280");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2076f5c2-fa25-4b05-92f8-0c3e6240cfd1", e._sentryDebugIdIdentifier = "sentry-dbid-2076f5c2-fa25-4b05-92f8-0c3e6240cfd1");
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";
@@ -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] = "b4ee181c-83d0-452c-8d6d-eb2940d50ca6", e._sentryDebugIdIdentifier = "sentry-dbid-b4ee181c-83d0-452c-8d6d-eb2940d50ca6");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e52d00ec-8eb3-47fd-af67-981d1961a904", e._sentryDebugIdIdentifier = "sentry-dbid-e52d00ec-8eb3-47fd-af67-981d1961a904");
4
4
  } catch (e) {}
5
5
  import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
6
6
  import { useRef } from "preact/hooks";
@@ -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] = "c5e98955-1bf2-4032-aa03-ebd853d96cde", e._sentryDebugIdIdentifier = "sentry-dbid-c5e98955-1bf2-4032-aa03-ebd853d96cde");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fbf8ff8b-7ae8-489b-9b09-54c5c11010b5", e._sentryDebugIdIdentifier = "sentry-dbid-fbf8ff8b-7ae8-489b-9b09-54c5c11010b5");
4
4
  } catch (e) {}
5
5
  import { n as FeatureNames } from "./types-CZAHRt31.js";
6
6
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
@@ -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-CTVUoae1.js")).Introduction);
30
- var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-q5TVr4ET.js")).AdaptiveWorkflow);
31
- var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-DiZhzyXz.js")).BusinessTypeSelectionPage);
32
- var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-C2vMcR6i.js")).GlobalEntryPage);
33
- var SingpassSelection = lazy(async () => (await import("./SingpassSelection-GiZOYWUI.js")).SingpassSelection);
34
- var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-B19onnyG.js")).AccountSetupRejected);
35
- var DecisionMakers = lazy(async () => (await import("./DecisionMakers-B2dpzHQ-.js")).DecisionMakers);
36
- var CustomerSupport = lazy(async () => (await import("./CustomerSupport-DVMEfZdZ.js")).CustomerSupport);
37
- var Review = lazy(async () => (await import("./Review-CGI0RQO6.js")).Review);
38
- var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-B1kmyOe5.js").then((n) => n.n)).SignPCIComponent);
39
- var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-BnyyCgPN.js").then((n) => n.n)).TermsOfServiceManagement);
40
- var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-DAdIs3_N.js")).TaxReportingDropin);
41
- var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-BTBHMzw7.js")).PayoutDetailsPage);
42
- var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-BswHBSIN.js")).RootBusinessDetailsPage);
43
- var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-BQxhfHmx.js")).RootBusinessLinesPage);
44
- var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-D84M0iEW.js")).SoleProprietorshipPage);
45
- var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-taBHdjIB.js")).TrustMemberCompanyPage);
46
- var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-DdwlWwLJ.js")).TrustMemberIndividualPage);
47
- var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-DAeIxczv.js")).TrustMemberRoleAndTypePage);
48
- var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-Bb_rf907.js")).TrustMembersOverview);
49
- var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-oo1cNUHe.js")).UnincorporatedPartnershipMemberCompanyPage);
50
- var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-lWGiysru.js")).UnincorporatedPartnershipIndividualPage);
51
- var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-Cqus5hkL.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
- var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-hzs-FlQ0.js")).UnincorporatedPartnershipMembersOverview);
53
- var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-DlttycNJ.js")).BusinessFinancingPage);
54
- var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-CfjP1Q7K.js")).TrustDetailsPage);
55
- var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-B0SzrryD.js")).SourceOfFundsPage);
56
- var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-CFxtnnY4.js")).RootIndividualDetailsPage);
57
- var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-CYHPpiXJ.js")).LegalRepresentativeDetailsPage);
58
- var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BUvvs6i9.js")).DecisionMakerDetailsPage);
59
- lazy(async () => (await import("./InvitedDecisionMakerComponent-XVUjKp4X.js").then((n) => n.n)).InvitedDecisionMakerComponent);
29
+ var Introduction = lazy(async () => (await import("./Introduction-DFW6EaLG.js")).Introduction);
30
+ var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-2EE8iiMD.js")).AdaptiveWorkflow);
31
+ var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-DeWD37jR.js")).BusinessTypeSelectionPage);
32
+ var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-CdGXV-QZ.js")).GlobalEntryPage);
33
+ var SingpassSelection = lazy(async () => (await import("./SingpassSelection-B6NONcr4.js")).SingpassSelection);
34
+ var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-BtcxtVKO.js")).AccountSetupRejected);
35
+ var DecisionMakers = lazy(async () => (await import("./DecisionMakers-qRoXooYA.js")).DecisionMakers);
36
+ var CustomerSupport = lazy(async () => (await import("./CustomerSupport-B0UJHtAq.js")).CustomerSupport);
37
+ var Review = lazy(async () => (await import("./Review-CzgmjDcZ.js")).Review);
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";
@@ -1,11 +1,11 @@
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] = "679465e5-77d0-4c0d-b71c-9b4f7defb156", e._sentryDebugIdIdentifier = "sentry-dbid-679465e5-77d0-4c0d-b71c-9b4f7defb156");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6ad2dcd0-961f-43c9-b92b-4a0d97c2b11c", e._sentryDebugIdIdentifier = "sentry-dbid-6ad2dcd0-961f-43c9-b92b-4a0d97c2b11c");
4
4
  } catch (e) {}
5
5
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
6
6
  import { s as getOwnEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
7
7
  import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BdcoiUby.js";
8
- import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DNTK5Y_5.js";
8
+ import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-BbNowjM2.js";
9
9
  import { n as getLegalEntityNameBasedOnType } from "./getName-DgxRqagk.js";
10
10
  import { useMemo } from "preact/hooks";
11
11
  //#region src/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.ts
@@ -5,13 +5,13 @@ try {
5
5
  import { r as useTranslation } from "./translation-DbATp_35.js";
6
6
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
7
7
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
8
- import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-W1FzWAVl.js";
9
- import { n as businessRegistrationNumberMasks, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-Bd2bazr4.js";
8
+ import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-CkDwzLxe.js";
9
+ import { n as businessRegistrationNumberMasks, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-pbrCVTTp.js";
10
10
  import { t as uppercase } from "./uppercase-DvjwUM0n.js";
11
11
  import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
12
12
  import { n as mapSchemaFieldsToApiScriptLocalization, t as mapApiScriptLocalizationToSchemaFields } from "./mapScriptLocalization-BCfkZo1y.js";
13
13
  import { t as isEmpty } from "./isEmpty-Uewyl-r6.js";
14
- import { t as Field } from "./Field-CBvXkDKh.js";
14
+ import { t as Field } from "./Field-Df7ajJE2.js";
15
15
  import { t as RadioGroup } from "./RadioGroup-CY33MT83.js";
16
16
  import { useCallback, useEffect, useMemo } from "preact/hooks";
17
17
  import { jsx } from "preact/jsx-runtime";
@@ -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] = "aac4038d-edab-4963-863d-b1139ce0087a", e._sentryDebugIdIdentifier = "sentry-dbid-aac4038d-edab-4963-863d-b1139ce0087a");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e4b7f316-4ac8-4c0b-9c70-447bfddebcd1", e._sentryDebugIdIdentifier = "sentry-dbid-e4b7f316-4ac8-4c0b-9c70-447bfddebcd1");
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";
@@ -11,11 +11,11 @@ import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
11
11
  import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
12
12
  import { t as KEYBOARD_KEYS } from "./keys-Ce8YnRP2.js";
13
13
  import { n as validateJaKanaLegalCompanyName, t as validateJaHaniLegalCompanyName } from "./patternValidators-DsrZkuOO.js";
14
- import { n as CountryField } from "./CountryField-C7eHHmYk.js";
15
- import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-C3zITaw1.js";
14
+ import { n as CountryField } from "./CountryField-CMOB4yz4.js";
15
+ import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-CV2EgRCw.js";
16
16
  import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
17
17
  import { t as convertFullToHalf } from "./formFieldsUtils-CnDkgahc.js";
18
- import { r as isJapanLocalizationEnabled } from "./TaxInformationField-DUjQEF-s.js";
18
+ import { r as isJapanLocalizationEnabled } from "./TaxInformationField--Uhp0zLv.js";
19
19
  import { t as toFullWidth } from "./toFullWidth-Dgy4X4i8.js";
20
20
  import { useEffect, useState } from "preact/hooks";
21
21
  import { jsx } from "preact/jsx-runtime";
@@ -0,0 +1,180 @@
1
+ try {
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] = "bc0353b6-035b-4208-bce6-3055a6f3d099", e._sentryDebugIdIdentifier = "sentry-dbid-bc0353b6-035b-4208-bce6-3055a6f3d099");
4
+ } catch (e) {}
5
+ import { r as useTranslation } from "./translation-DbATp_35.js";
6
+ import { t as Icon } from "./Icon-DFQgr7dy.js";
7
+ import { t as Typography } from "./Typography-CAc_f5Iq.js";
8
+ import { t as Loader } from "./Loader-BVtlpTeo.js";
9
+ import { n as IconButton } from "./Button-BxdC8cVB.js";
10
+ import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
11
+ import { d as isNewlyUploadedFile } from "./documentUtils-CxjFpoJB.js";
12
+ import { useEffect } from "preact/hooks";
13
+ import cx from "classnames";
14
+ import { jsx, jsxs } from "preact/jsx-runtime";
15
+ //#region src/utils/bytesToSize.ts
16
+ function bytesToSize(bytes) {
17
+ const sizes = [
18
+ "Bytes",
19
+ "KB",
20
+ "MB",
21
+ "GB",
22
+ "TB"
23
+ ];
24
+ if (bytes === 0) return "n/a";
25
+ const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
26
+ if (i === 0) return `${bytes} ${sizes[i]}`;
27
+ return `${(bytes / 1024 ** i).toFixed()} ${sizes[i]}`;
28
+ }
29
+ var DropzoneFile_module_default = {
30
+ "dropzone-file": "_dropzone-file_1hbeu_1",
31
+ dropzoneFile: "_dropzone-file_1hbeu_1",
32
+ "dropzone-file-error": "_dropzone-file-error_1hbeu_13",
33
+ dropzoneFileError: "_dropzone-file-error_1hbeu_13",
34
+ "dropzone-file-icon": "_dropzone-file-icon_1hbeu_16",
35
+ dropzoneFileIcon: "_dropzone-file-icon_1hbeu_16",
36
+ "dropzone-file-labels": "_dropzone-file-labels_1hbeu_30",
37
+ dropzoneFileLabels: "_dropzone-file-labels_1hbeu_30",
38
+ "dropzone-file-name": "_dropzone-file-name_1hbeu_36",
39
+ dropzoneFileName: "_dropzone-file-name_1hbeu_36",
40
+ "dropzone-file-size": "_dropzone-file-size_1hbeu_43",
41
+ dropzoneFileSize: "_dropzone-file-size_1hbeu_43",
42
+ "dropzone-file-error-message": "_dropzone-file-error-message_1hbeu_47",
43
+ dropzoneFileErrorMessage: "_dropzone-file-error-message_1hbeu_47"
44
+ };
45
+ //#endregion
46
+ //#region src/components/ui/molecules/Dropzone/DropzoneFile.tsx
47
+ function DropzoneFile(props) {
48
+ const { file, errorMessage, onDelete, loading } = props;
49
+ const { t } = useTranslation("common");
50
+ const userEvents = useAnalyticsContext();
51
+ let documentIcon;
52
+ const formatSize = (bytes) => {
53
+ const sizes = [
54
+ "Bytes",
55
+ "KB",
56
+ "MB",
57
+ "GB",
58
+ "TB"
59
+ ];
60
+ if (!bytes || bytes === 0) return "n/a";
61
+ const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
62
+ if (i === 0) return `${bytes} ${sizes[i]}`;
63
+ return `${(bytes / 1024 ** i).toFixed(1)} ${sizes[i]}`;
64
+ };
65
+ switch (file.type?.split("/")[0]) {
66
+ case "image":
67
+ documentIcon = "image";
68
+ break;
69
+ default: documentIcon = "document";
70
+ }
71
+ useEffect(() => {
72
+ if (!errorMessage) return;
73
+ userEvents.addFieldEvent("Encountered error", {
74
+ actionType: "change",
75
+ field: "dropzone file",
76
+ returnType: "validation",
77
+ returnValue: errorMessage
78
+ });
79
+ }, [errorMessage, userEvents]);
80
+ return /* @__PURE__ */ jsxs("div", {
81
+ className: cx(DropzoneFile_module_default.dropzoneFile, { [DropzoneFile_module_default.dropzoneFileError]: errorMessage }),
82
+ children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("div", {
83
+ className: DropzoneFile_module_default.dropzoneFileLabels,
84
+ children: [
85
+ errorMessage ? /* @__PURE__ */ jsx(Icon, {
86
+ testId: "document-invalid",
87
+ name: "warning",
88
+ className: DropzoneFile_module_default.dropzoneFileIcon
89
+ }) : /* @__PURE__ */ jsx(Icon, {
90
+ testId: "document-valid",
91
+ name: documentIcon,
92
+ className: DropzoneFile_module_default.dropzoneFileIcon
93
+ }),
94
+ /* @__PURE__ */ jsx(Typography, {
95
+ variant: "body-stronger",
96
+ className: DropzoneFile_module_default.dropzoneFileName,
97
+ children: file.name
98
+ }),
99
+ /* @__PURE__ */ jsx(Typography, {
100
+ className: DropzoneFile_module_default.dropzoneFileSize,
101
+ children: isNewlyUploadedFile(file) && formatSize(file.size)
102
+ })
103
+ ]
104
+ }), errorMessage && /* @__PURE__ */ jsx("div", {
105
+ className: DropzoneFile_module_default.dropzoneFileErrorMessage,
106
+ children: t(($) => $[errorMessage])
107
+ })] }), loading ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Loader, { size: "medium" }) }) : errorMessage ? /* @__PURE__ */ jsx(IconButton, {
108
+ ariaLabel: t(($) => $["close"]),
109
+ icon: "cross",
110
+ variant: "tertiary",
111
+ onClick: onDelete
112
+ }) : /* @__PURE__ */ jsx(IconButton, {
113
+ ariaLabel: t(($) => $["deleteDocument"]),
114
+ icon: "bin",
115
+ variant: "tertiary",
116
+ onClick: onDelete
117
+ })]
118
+ });
119
+ }
120
+ //#endregion
121
+ //#region src/utils/hasDuplicates.ts
122
+ var hasDuplicates = (arr) => arr.some((item, currIndex) => arr.indexOf(item) !== currIndex);
123
+ //#endregion
124
+ //#region src/components/ui/molecules/Dropzone/validate.ts
125
+ var defaultFileValidationOptions = {
126
+ allowedFileTypes: [
127
+ "JPG",
128
+ "JPEG",
129
+ "PNG",
130
+ "PDF"
131
+ ],
132
+ maxNumberOfFiles: 1,
133
+ maxSize: 4194304,
134
+ isOptional: false
135
+ };
136
+ var filterOnlyNewlyUploadedFiles = (files) => files.filter(isNewlyUploadedFile);
137
+ var fileValidationRules = ({ allowedFileTypes, maxNumberOfFiles, maxSize, isOptional }) => [
138
+ {
139
+ validate: (files) => {
140
+ if (isOptional && (!files || files.length === 0)) return true;
141
+ return Boolean(files && files.length > 0);
142
+ },
143
+ errorMessage: "fieldIsRequired",
144
+ modes: ["blur", "input"]
145
+ },
146
+ {
147
+ validate: (files) => {
148
+ if (!files) return true;
149
+ return files.length <= maxNumberOfFiles;
150
+ },
151
+ errorMessage: "tooManyFiles",
152
+ modes: ["blur", "input"]
153
+ },
154
+ {
155
+ validate: (files) => {
156
+ if (!files) return true;
157
+ return !hasDuplicates(files.map((file) => file.name));
158
+ },
159
+ errorMessage: "duplicatedFiles",
160
+ modes: ["blur", "input"]
161
+ },
162
+ {
163
+ validate: (files) => {
164
+ if (!files) return true;
165
+ return filterOnlyNewlyUploadedFiles(files).every((file) => allowedFileTypes.some((filetype) => file.name.toLowerCase().endsWith(filetype.toLowerCase())));
166
+ },
167
+ errorMessage: "unsupportedFiletype",
168
+ modes: ["blur", "input"]
169
+ },
170
+ {
171
+ validate: (files) => {
172
+ if (!files) return true;
173
+ return filterOnlyNewlyUploadedFiles(files).every((file) => !file.size || file.size < maxSize);
174
+ },
175
+ errorMessage: "maximumFileSizeExceeded",
176
+ modes: ["blur", "input"]
177
+ }
178
+ ];
179
+ //#endregion
180
+ export { bytesToSize as i, fileValidationRules as n, DropzoneFile as r, defaultFileValidationOptions as t };
@@ -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] = "e084e83c-717b-4824-9a3e-0397123245c7", e._sentryDebugIdIdentifier = "sentry-dbid-e084e83c-717b-4824-9a3e-0397123245c7");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6eb7172a-5729-4ba8-9338-488fe8f43853", e._sentryDebugIdIdentifier = "sentry-dbid-6eb7172a-5729-4ba8-9338-488fe8f43853");
4
4
  } catch (e) {}
5
5
  import { t as addressValidators } from "./validate-t6pT7AaZ.js";
6
6
  import { t as capitalize } from "./getProps-DVqK7eRw.js";
@@ -1,11 +1,11 @@
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] = "e075901b-cb90-4da2-bd60-889908851ab3", e._sentryDebugIdIdentifier = "sentry-dbid-e075901b-cb90-4da2-bd60-889908851ab3");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "810dfa8f-db43-409b-ad36-798245ef41d7", e._sentryDebugIdIdentifier = "sentry-dbid-810dfa8f-db43-409b-ad36-798245ef41d7");
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";
7
7
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
8
- import { n as IconButton, t as Button } from "./Button-DpPFIUJx.js";
8
+ import { n as IconButton, t as Button } from "./Button-BxdC8cVB.js";
9
9
  import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
10
10
  import { a as objectsDeepEqual, c as valuesOf, s as keysOf } from "./genUtils-nphCwt1A.js";
11
11
  import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
@@ -2,7 +2,7 @@ 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
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d9e0f9b7-28dd-440a-8093-aa0a3981149d", e._sentryDebugIdIdentifier = "sentry-dbid-d9e0f9b7-28dd-440a-8093-aa0a3981149d");
4
4
  } catch (e) {}
5
- import { i as getFieldNameFromPath } from "./ErrorPanel-D1ygAX21.js";
5
+ import { i as getFieldNameFromPath } from "./ErrorPanel-PefRq1M4.js";
6
6
  //#region src/utils/validationError.ts
7
7
  var API_VALIDATION_ERROR_CODE = "30_102";
8
8
  var ID_DOCUMENT_UPLOAD_ERROR_CODE = "30_105";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "4.25.0-beta.0",
3
+ "version": "4.25.0-beta.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-for-platforms",
@@ -1,59 +0,0 @@
1
- import type { SupportingEntityCapability } from './supporting-entity-capability';
2
- import type { VerificationStatus } from './verification-status';
3
- export type CapabilityName = 'acceptExternalFunding' | 'acceptPspFunding' | 'acceptTransactionInRestrictedCountries' | 'acceptTransactionInRestrictedCountriesCommercial' | 'acceptTransactionInRestrictedCountriesConsumer' | 'acceptTransactionInRestrictedIndustries' | 'acceptTransactionInRestrictedIndustriesCommercial' | 'acceptTransactionInRestrictedIndustriesConsumer' | 'acquiring' | 'atmWithdrawal' | 'atmWithdrawalCommercial' | 'atmWithdrawalConsumer' | 'atmWithdrawalInRestrictedCountries' | 'atmWithdrawalInRestrictedCountriesCommercial' | 'atmWithdrawalInRestrictedCountriesConsumer' | 'authorisedPaymentInstrumentUser' | 'getGrantOffers' | 'issueBankAccount' | 'banking' | 'issueCard' | 'issueCardCommercial' | 'issueCardConsumer' | 'issueChargeCard' | 'issueChargeCardCommercial' | 'localAcceptance' | 'payout' | 'payoutToTransferInstrument' | 'processing' | 'receiveFromBalanceAccount' | 'receiveFromPlatformPayments' | 'receiveFromThirdParty' | 'receiveFromTransferInstrument' | 'receiveGrants' | 'receivePayments' | 'sendToBalanceAccount' | 'sendToThirdParty' | 'sendToTransferInstrument' | 'thirdPartyFunding' | 'useCard' | 'useCardCommercial' | 'useCardConsumer' | 'useChargeCard' | 'useChargeCardCommercial' | 'useCardInRestrictedCountries' | 'useCardInRestrictedCountriesCommercial' | 'useCardInRestrictedCountriesConsumer' | 'useCardInRestrictedIndustries' | 'useCardInRestrictedIndustriesCommercial' | 'useCardInRestrictedIndustriesConsumer' | 'withdrawFromAtm' | 'withdrawFromAtmCommercial' | 'withdrawFromAtmConsumer' | 'withdrawFromAtmInRestrictedCountries' | 'withdrawFromAtmInRestrictedCountriesCommercial' | 'withdrawFromAtmInRestrictedCountriesConsumer';
4
- interface Amount {
5
- /** @description The type of currency. Must be EUR (or EUR equivalent) */
6
- currency?: string;
7
- /** @description Total value of amount. Must be >= 0 */
8
- value?: number;
9
- }
10
- export interface Capability {
11
- /** @description Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful */
12
- allowed?: boolean;
13
- /**
14
- * @description The capability level that is allowed for the legal entity.
15
- *
16
- * Possible values: **notApplicable**, **low**, **medium**, **high**.
17
- * @enum {string}
18
- */
19
- allowedLevel?: 'high' | 'low' | 'medium' | 'notApplicable';
20
- /** @description Indicates whether the capability is requested. To check whether the Legal Entity is permitted to use the capability, */
21
- requested?: boolean;
22
- /**
23
- * @description The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring.
24
- *
25
- * Possible values: **notApplicable**, **low**, **medium**, **high**.
26
- * @enum {string}
27
- */
28
- requestedLevel?: 'high' | 'low' | 'medium' | 'notApplicable';
29
- /** @description The settings that are requested for the legal entity */
30
- requestedSettings?: {
31
- /** @description The maximum amount a card holder can spend per industry */
32
- amountPerIndustry?: Record<string, Amount>;
33
- /** @description The number of card holders who can use the card */
34
- authorizedCardUsers?: boolean;
35
- /** @description The funding source of the card, for example debit */
36
- fundingSource?: string[];
37
- /** @description The period when the rule conditions apply */
38
- interval?: string;
39
- /** @description The maximum amount a card holder can withdraw per day */
40
- maxAmount?: Amount;
41
- };
42
- /** @description Capability status for transfer instruments associated with legal entity */
43
- transferInstruments?: readonly SupportingEntityCapability[];
44
- /**
45
- * @description The status of the verification checks for the capability.
46
- *
47
- * Possible values:
48
- *
49
- * * **pending**: Adyen is running the verification.
50
- *
51
- * * **invalid**: The verification failed. Check if the `errors` array contains more information.
52
- *
53
- * * **valid**: The verification has been successfully completed.
54
- *
55
- * * **rejected**: Adyen has verified the information, but found reasons to not allow the capability.
56
- */
57
- verificationStatus?: VerificationStatus;
58
- }
59
- export {};
@@ -1,44 +0,0 @@
1
- import type { ServiceAgreementAcceptanceInfo, ServiceAgreementType } from '../../../components/Contract/tasks/ServiceAgreementDropin/types';
2
- interface PciTemplateRequest {
3
- language: string;
4
- additionalSalesChannels?: string[];
5
- }
6
- export interface PciTemplateResponse extends PciTemplateRequest {
7
- pciTemplateReferences: PciTemplateReferences;
8
- content: string;
9
- }
10
- export interface SignedBy {
11
- signedBy: string;
12
- pciTemplateReferences: PciTemplateReferences;
13
- }
14
- type PciTemplateReferences = string[];
15
- export interface PciStatus {
16
- signingRequired: string | boolean;
17
- }
18
- export type TermsOfServiceDocumentFormat = 'PDF' | 'JSON';
19
- export interface ServiceAgreementRequest {
20
- type: ServiceAgreementType;
21
- language: string;
22
- }
23
- export interface ServiceAgreementResponse extends ServiceAgreementRequest {
24
- id: string;
25
- termsOfServiceDocumentId: string;
26
- document: string | undefined;
27
- }
28
- export interface ServiceAgreementSignRequest {
29
- acceptedBy: string;
30
- }
31
- export interface ServiceAgreementSignResponse extends ServiceAgreementSignRequest {
32
- id: string;
33
- language: string;
34
- termsOfServiceDocumentId: string;
35
- type: ServiceAgreementType;
36
- }
37
- export interface ServiceAgreementAcceptanceInfos {
38
- data: ServiceAgreementAcceptanceInfo[];
39
- }
40
- export interface CleanseAPIRequestPayload {
41
- text: string;
42
- country: string;
43
- }
44
- export {};
@@ -1,36 +0,0 @@
1
- import type { OnfidoCaptureSchema } from '../../../components/Individual/forms/IdDocumentUpload/types';
2
- type OnfidoConsentType = 'privacy_notices_read';
3
- interface OnfidoConsent {
4
- name: OnfidoConsentType;
5
- granted: boolean;
6
- }
7
- export interface InstantIdVerificationTokenRequest {
8
- name: {
9
- firstName: string;
10
- lastName: string;
11
- };
12
- country: string;
13
- origin: string;
14
- legalEntityId?: string | undefined;
15
- consents: OnfidoConsent[];
16
- }
17
- export interface InstantIdVerificationTokenResponse {
18
- id: string;
19
- operationStatus: {
20
- status: string;
21
- };
22
- sdkToken: string;
23
- }
24
- export interface InstantIdVerificationStartCheckRequest {
25
- providerId: string;
26
- legalEntityId: string;
27
- captureMetadata: OnfidoCaptureSchema;
28
- }
29
- export interface InstantIdVerificationStartCheckResponse {
30
- checkId: string;
31
- operationStatus: {
32
- status: string;
33
- };
34
- reference: string;
35
- }
36
- export {};
@@ -1,8 +0,0 @@
1
- import type { GuidanceQuestionValue } from '../../../components/Individual/forms/GuidanceQuestion/GuidanceQuestion';
2
- export type LegalRepresentativeRelationshipType = 'parent' | 'guardian';
3
- export type NomineeType = {
4
- nomineeShareholder?: string;
5
- nomineeDirector?: string;
6
- isNomineeDirector?: GuidanceQuestionValue | null;
7
- isNomineeShareholder?: GuidanceQuestionValue | null;
8
- };
@@ -1,3 +0,0 @@
1
- export interface OpenIdInitiateResponse {
2
- authUrl: string;
3
- }
@@ -1,6 +0,0 @@
1
- import type { CountryCode } from '../../../types/datasets/country-code';
2
- export interface Phone {
3
- number: string;
4
- phoneCountryCode?: CountryCode;
5
- type: 'mobile' | 'landline' | 'sip' | 'fax';
6
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * Data for some fields localized for a given script, e.g. `ja-Kana`.
3
- */
4
- export type ScriptLocalization<T, Script extends string> = {
5
- script: Script;
6
- fields: {
7
- [K in keyof T]?: T[K];
8
- };
9
- };