@adyen/kyc-components 4.5.0 → 4.6.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/README.md +31 -43
  2. package/dist/{AcceptTermsOfServiceComponent-Bo8nB0Eb.js → AcceptTermsOfServiceComponent-DTURkN9O.js} +17 -20
  3. package/dist/{AccountSetupRejected-DQcFbIXL.js → AccountSetupRejected-D7yqqcm_.js} +2 -2
  4. package/dist/{ActionBar-Bj1Km-LP.js → ActionBar-CdFYb-7S.js} +2 -2
  5. package/dist/{Address-C0rbmhQL.js → Address-BkeFTMl-.js} +16 -16
  6. package/dist/{Avatar-Cl1-jo6c.js → Avatar-BpQFX0rJ.js} +2 -2
  7. package/dist/{BusinessFinancingComponent-Bk0PbC9m.js → BusinessFinancingComponent-CshEgNjO.js} +5 -5
  8. package/dist/{BusinessFinancingDropin-BAYyFYt9.js → BusinessFinancingDropin-B2kKDCNB.js} +31 -34
  9. package/dist/{BusinessFinancingPage-Cc--qt48.js → BusinessFinancingPage-96zTF7BJ.js} +4 -4
  10. package/dist/{BusinessTypeSelectionPage-C63ujxOo.js → BusinessTypeSelectionPage-BVucjw8H.js} +9 -14
  11. package/dist/{Checkbox-DnP0i74G.js → Checkbox-Dwf4zXgj.js} +2 -2
  12. package/dist/{Confirm-Bf4Pjkty.js → Confirm-DOjzHnlC.js} +3 -3
  13. package/dist/{ConstitutionalDocument-CddO3OSY.js → ConstitutionalDocument-C4HWFtJ-.js} +336 -92
  14. package/dist/{ContactDetails-BZ7dqNuH.js → ContactDetails-ByrH32Jo.js} +12 -7
  15. package/dist/{ContextGuidance-0XKaQ9Ba.js → ContextGuidance-BUczCMV3.js} +2 -2
  16. package/dist/{CountryField-BTwq-LdM.js → CountryField-C9nbUmpe.js} +3 -3
  17. package/dist/{CreateIndividualComponent-B0RfIm2Q.js → CreateIndividualComponent-AOb8RP8N.js} +6 -6
  18. package/dist/{CreateTransferInstrumentComponent-XiVVyTGX.js → CreateTransferInstrumentComponent-BBytn3E3.js} +5 -5
  19. package/dist/{Currency-COs4cPiC.js → Currency-B1ApVUnP.js} +7 -7
  20. package/dist/{CustomerSupport-WsGepkci.js → CustomerSupport-DDtZA5jI.js} +11 -16
  21. package/dist/{DebugModal-BG-xZugG.js → DebugModal-wXFq4cg1.js} +127 -98
  22. package/dist/DecisionMakerDetails-Up9HU_qy.js +275 -0
  23. package/dist/{DecisionMakerDetailsPage-BNDJ4G9u.js → DecisionMakerDetailsPage-OeI7y1aX.js} +10 -10
  24. package/dist/{DecisionMakers-BkgGDV_d.js → DecisionMakers-5bUJ4S4V.js} +22 -259
  25. package/dist/{Dropzone-1307mgIt.js → Dropzone-Bf8v-4iJ.js} +4 -4
  26. package/dist/{EmbeddedStatus-C9Scvouz.js → EmbeddedStatus-DQmqyOzv.js} +3 -3
  27. package/dist/{EndStateLayout-D8bTvH_H.js → EndStateLayout-DZgYKmw6.js} +2 -2
  28. package/dist/{EntityAssociation-CFtBLGS6.js → EntityAssociation-Dc8O6xJv.js} +5 -5
  29. package/dist/{EntityGuidanceStatus-5wNdPvGh.js → EntityGuidanceStatus-DhCqUWGF.js} +4 -4
  30. package/dist/{ErrorPanel-DNuuMh-W.js → ErrorPanel-4HIDH4sr.js} +11 -12
  31. package/dist/{Field-DhgxtDHi.js → Field-CWq5XOh3.js} +2 -2
  32. package/dist/{FormNavigation-CNUCAuSA.js → FormNavigation-CDlQZRNb.js} +3 -3
  33. package/dist/{Individual.rules-BMayKVCw.js → Individual.rules-BhSXCdTl.js} +12 -12
  34. package/dist/{IndividualDropin-CNYG1UJb.js → IndividualDropin-DS8kUrXB.js} +252 -97
  35. package/dist/{InputDate-UU6golKr.js → InputDate-C2NEOpK4.js} +1 -1
  36. package/dist/{InputText-B_Dy6ooB.js → InputText-20pWI3ja.js} +2 -2
  37. package/dist/{Introduction-Dal7p5Mk.js → Introduction-D6x5z2oe.js} +4 -9
  38. package/dist/InvitedDecisionMakerComponent-Bg-DMehe.js +211 -0
  39. package/dist/{JpAddress-DEzR_98l.js → JpAddress-CX4IfNRB.js} +11 -11
  40. package/dist/{LandingLayout-CHRI270t.js → LandingLayout-y-X0NrR1.js} +2 -2
  41. package/dist/{LegalCompanyNameField-BtcoTH2A.js → LegalCompanyNameField-lEerISaT.js} +16 -16
  42. package/dist/{LegalRepresentativeDetailsPage-DkeUe4ta.js → LegalRepresentativeDetailsPage-C6dOsu1g.js} +5 -5
  43. package/dist/{Link-Bl_GjNYw.js → Link-DeFoaStC.js} +2 -2
  44. package/dist/{ListItem-DvSwwjUU.js → ListItem-BFxtRiVb.js} +3 -3
  45. package/dist/{LoaderWrapper-Coambg3s.js → LoaderWrapper-Bh1b67kY.js} +2 -2
  46. package/dist/{ManageIndividualComponent-Cg7imjd5.js → ManageIndividualComponent-DHYNg_KN.js} +5 -5
  47. package/dist/{ManageTermsOfServiceComponent-DIblbnOJ.js → ManageTermsOfServiceComponent-BNzELB7A.js} +4 -4
  48. package/dist/{ManageTransferInstrumentComponent-COucevgP.js → ManageTransferInstrumentComponent-9r84TFsu.js} +11 -11
  49. package/dist/{MaskedInput-CFPRK30D.js → MaskedInput-DPSvsK95.js} +5 -5
  50. package/dist/{MaybeModal-BBBJD1jn.js → MaybeModal-BbrppFfg.js} +3 -3
  51. package/dist/{Modal-DJLTbW4Y.js → Modal-CAVcW_pH.js} +2 -2
  52. package/dist/{Name-Bu38kdOA.js → Name-eQhc9Vta.js} +4 -4
  53. package/dist/{NewSummary-oIcQyhuq.js → NewSummary-B_xfd8vG.js} +5 -5
  54. package/dist/{OnboardingDropinComponent-DqQmqcO8.js → OnboardingDropinComponent-BRZuLCE8.js} +145 -218
  55. package/dist/{PayoutDetailsDropin-D7AR5BSQ.js → PayoutDetailsDropin-B6ZMIVid.js} +183 -1065
  56. package/dist/{PayoutDetailsPage-BCBGGB28.js → PayoutDetailsPage-BSzf6sev.js} +6 -6
  57. package/dist/{RadioGroup-DCmqcl_S.js → RadioGroup-BZ-EfNXM.js} +2 -2
  58. package/dist/{Review-DQA1vIzH.js → Review-BVeMAC7t.js} +6 -6
  59. package/dist/{RootBusinessDetailsPage--bsR-yKt.js → RootBusinessDetailsPage-OlgTozou.js} +6 -6
  60. package/dist/{RootBusinessLinesPage-DIYKqsLt.js → RootBusinessLinesPage-CUwKkzZU.js} +93 -91
  61. package/dist/{RootIndividualDetailsPage-CXKr1vhL.js → RootIndividualDetailsPage-CqP8gdvk.js} +7 -6
  62. package/dist/{Select-CyK-d8L8.js → Select-DSLn5CCG.js} +4 -4
  63. package/dist/{SignPCIComponent-BvAt735T.js → SignPCIComponent-CT6GL442.js} +12 -19
  64. package/dist/{SingpassSelection-Cidszm4a.js → SingpassSelection-BORgM-de.js} +144 -7
  65. package/dist/{SoleProprietorshipPage-CgAHjrJh.js → SoleProprietorshipPage-BylQa2F1.js} +5 -5
  66. package/dist/{SourceOfFundsPage-Rh40Ip6D.js → SourceOfFundsPage-Br-FaeUd.js} +270 -98
  67. package/dist/{StepProgressIndicator-C38x_hKs.js → StepProgressIndicator-ZZsrHrtb.js} +2 -2
  68. package/dist/{StoreProvider-o79GZkUo.js → StoreProvider-lJLpl6iE.js} +155 -148
  69. package/dist/{Summary-DbPdEnQi.js → Summary-DdFh8LL0.js} +25 -22
  70. package/dist/{TaxInformationField-C6DdzDTL.js → TaxInformationField-5nazrzc4.js} +568 -795
  71. package/dist/{TaxReportingDropin-Dc75TUYl.js → TaxReportingDropin-DAeAPOI5.js} +26 -26
  72. package/dist/{TextArea-XLgx9WmG.js → TextArea-D0eJRv8v.js} +2 -2
  73. package/dist/{TileGroup-DsYUn_bt.js → TileGroup-C8YY0Xwv.js} +3 -3
  74. package/dist/{TrustDetailsPage-B_QUEYM5.js → TrustDetailsPage-BHo4SFbD.js} +64 -65
  75. package/dist/{TrustMemberCompanyPage-aBW14Thb.js → TrustMemberCompanyPage-CZMF952c.js} +7 -7
  76. package/dist/{TrustMemberIndividualPage-DNgZI75l.js → TrustMemberIndividualPage-RSIXbPaf.js} +6 -6
  77. package/dist/{TrustMemberRoleAndTypePage-CbOyf3oB.js → TrustMemberRoleAndTypePage-BehlWyo7.js} +27 -27
  78. package/dist/{TrustMembersOverview-7waB6Dud.js → TrustMembersOverview-KI0J7peC.js} +16 -18
  79. package/dist/{UnincorporatedPartnershipIndividualPage-DFvESJUR.js → UnincorporatedPartnershipIndividualPage-CNf-sPP4.js} +5 -5
  80. package/dist/{UnincorporatedPartnershipMemberCompanyPage-j2xmgM94.js → UnincorporatedPartnershipMemberCompanyPage-OyKeY30-.js} +6 -6
  81. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BlJsglW1.js → UnincorporatedPartnershipMemberRoleAndTypePage-Bt21JX-F.js} +11 -11
  82. package/dist/{UnincorporatedPartnershipMembersOverview-1-yK01Ox.js → UnincorporatedPartnershipMembersOverview-DdTGn8QH.js} +7 -7
  83. package/dist/{VerificationErrorAlert-BsJqccUV.js → VerificationErrorAlert-ChGZqC_p.js} +3 -3
  84. package/dist/{ViewVerificationStatusComponent-Bx3tJek7.js → ViewVerificationStatusComponent-9RUetbsi.js} +3 -3
  85. package/dist/adyen-business-financing.js +4 -4
  86. package/dist/adyen-individual-configuration.js +4 -4
  87. package/dist/adyen-individual-status.js +4 -4
  88. package/dist/adyen-invited-decision-maker.js +4 -117
  89. package/dist/adyen-kyc-components.js +17 -17
  90. package/dist/adyen-onboarding.js +4 -4
  91. package/dist/adyen-terms-of-service-management.js +4 -4
  92. package/dist/adyen-terms-of-service-status.js +4 -4
  93. package/dist/adyen-transfer-instrument-configuration.js +4 -4
  94. package/dist/adyen-transfer-instrument-management.js +4 -4
  95. package/dist/adyen-verification-status.js +4 -4
  96. package/dist/{bafinUtils-sfpUKqEq.js → bafinUtils-m56sOqio.js} +2 -2
  97. package/dist/{commonValidators-h59h4U6_.js → commonValidators-cEWuPs2I.js} +1 -1
  98. package/dist/{dropinUtils-C78qUFNH.js → dropinUtils-B-qE8vvG.js} +53 -9
  99. package/dist/en-US-CJDkXFZ6.js +13 -0
  100. package/dist/en-US-CTbVLoNF.js +13 -0
  101. package/dist/en-US-CfazE4ht.js +13 -0
  102. package/dist/{en-US-G607HIyo.js → en-US-DPoDE0uz.js} +7 -7
  103. package/dist/en-US-DrUYyPhF.js +13 -0
  104. package/dist/{formUtils-D9HJXrvu.js → formUtils-DjInEErz.js} +3 -3
  105. package/dist/{getName-C1Pp12yX.js → getName-CzAV6RHp.js} +2 -2
  106. package/dist/{getProblemsForEntity-CyQdh7Lw.js → getProblemsForEntity-CVzYoCCC.js} +2 -2
  107. package/dist/getTrustedFields-BeaCYGD7.js +104 -0
  108. package/dist/{isEmpty-Dxhg5YWQ.js → isEmpty-CRqBruDc.js} +1 -1
  109. package/dist/japanSupportUtils-BK4rTASp.js +16 -0
  110. package/dist/{localizeDateString-ltj3KR-p.js → localizeDateString-BSZiJcEb.js} +2 -2
  111. package/dist/{mapExistingFile-J5xtIyOp.js → mapExistingFile-BcvOzQNH.js} +3 -76
  112. package/dist/{mapJpAddressSchemaToAddressLocalizations-BCTFanCP.js → mapJpAddressSchemaToAddressLocalizations-BgHjkrJG.js} +2 -36
  113. package/dist/{mapLegalEntityToIndividualSchema-fUEX0pyE.js → mapLegalEntityToIndividualSchema-_HlywUjg.js} +4 -4
  114. package/dist/{mapTransferInstrumentToPayoutAccount-BxS7kMUd.js → mapTransferInstrumentToPayoutAccount-69DkBhXm.js} +2 -2
  115. package/dist/omitObscuredFieldsIfUnchanged-tsdNkCyN.js +29 -0
  116. package/dist/{patternValidators-DmtoCjEe.js → patternValidators-DuOaKe_S.js} +2 -2
  117. package/dist/{process-field-configurations-Bo_HZH3p.js → process-field-configurations-DcWH0t4d.js} +2 -2
  118. package/dist/{resolveEnvironment-9pYwfLRr.js → resolveEnvironment-Bs-ygpN1.js} +17 -24
  119. package/dist/{roleMetadata-ZbDuZjur.js → roleMetadata-B-2OBUCV.js} +3 -3
  120. package/dist/style.css +230 -275
  121. package/dist/styles-CLV89_hH.js +230 -275
  122. package/dist/types/api/toggles/useToggles.d.ts +2 -1
  123. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +2 -1
  124. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -29
  125. package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
  126. package/dist/types/components/BankAccount/forms/BankVerification/verification/{widget → overlay}/types.d.ts +4 -14
  127. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
  128. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +4 -5
  129. package/dist/types/components/Business/forms/rules.d.ts +1 -1
  130. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
  131. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsGettingStarted.d.ts +6 -0
  132. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -2
  133. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +7 -5
  134. package/dist/types/components/Business/utils/companyUtil.d.ts +2 -2
  135. package/dist/types/components/Business/utils/formatDataForSummary.d.ts +3 -2
  136. package/dist/types/components/Business/utils/submit.d.ts +1 -1
  137. package/dist/types/components/Business/utils/useCompanySearchFeature.d.ts +5 -0
  138. package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
  139. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
  140. package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
  141. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
  142. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
  143. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
  144. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
  145. package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -3
  146. package/dist/types/components/Individual/forms/IdNowVerificationModal/IFrameWidget.d.ts +9 -0
  147. package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
  148. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
  149. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -2
  150. package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +6 -1
  151. package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +15 -0
  152. package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +14 -0
  153. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  154. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
  155. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -1
  156. package/dist/types/components/Shared/devex/DebugListener/DebugTogglesAndSettings.d.ts +8 -0
  157. package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +2 -1
  158. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +12 -0
  159. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/getDefaultRegistrationNumberType.d.ts +4 -4
  160. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/inferCompanyRegistrationNumberType.d.ts +3 -3
  161. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
  162. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +92 -0
  163. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +8 -1
  164. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +0 -483
  165. package/dist/types/components/Shared/fields/LegalCompanyNameField/LegalCompanyNameField.d.ts +1 -1
  166. package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +2 -2
  167. package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
  168. package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
  169. package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
  170. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
  171. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/TaxIdNumberTypeSelector.d.ts +5 -5
  172. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
  173. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
  174. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -2
  175. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
  176. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +8 -0
  177. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +14 -0
  178. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → VatNumberField/VatNumberTypeSelector}/getDefaultVatNumberType.d.ts +2 -2
  179. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/inferVatNumberType.d.ts +3 -0
  180. package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -2
  181. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +10 -1
  182. package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +149 -0
  183. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
  184. package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
  185. package/dist/types/components/Shared/forms/Address/validate.d.ts +3 -3
  186. package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +2 -2
  187. package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
  188. package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +2 -2
  189. package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +2 -2
  190. package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
  191. package/dist/types/components/index.d.ts +2 -2
  192. package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +5 -0
  193. package/dist/types/context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
  194. package/dist/types/context/FormRouterContext/types.d.ts +1 -0
  195. package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +4 -0
  196. package/dist/types/context/SettingsContext/types.d.ts +2 -0
  197. package/dist/types/context/ToggleContext/ToggleContext.d.ts +2 -0
  198. package/dist/types/context/ToggleContext/ToggleContextProvider.d.ts +9 -0
  199. package/dist/types/context/{ExperimentContext → ToggleContext}/types.d.ts +42 -32
  200. package/dist/types/context/ToggleContext/useToggleContext.d.ts +1 -0
  201. package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -3
  202. package/dist/types/core/UIElement/UIElement.d.ts +3 -2
  203. package/dist/types/core/models/api/organization.d.ts +1 -1
  204. package/dist/types/embeds/baseEmbedProps.d.ts +3 -3
  205. package/dist/types/hooks/useFormComposer.d.ts +1 -0
  206. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
  207. package/dist/types/hooks/useTaskLandedEvent.d.ts +7 -0
  208. package/dist/types/language/types.d.ts +2 -9
  209. package/dist/types/language/utils.d.ts +2 -2
  210. package/dist/types/router/routeConfig.d.ts +1 -0
  211. package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
  212. package/dist/types/types/form-rules.d.ts +2 -2
  213. package/dist/types/utils/api/processCapabilitites.d.ts +1 -1
  214. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  215. package/dist/types/utils/japanSupportUtils.d.ts +2 -2
  216. package/dist/{types-Bbb9XYx7.js → types-C4u-zy-W.js} +2 -2
  217. package/dist/{types-_ugkpUNx.js → types-CTwBMnPB.js} +46 -37
  218. package/dist/{types-Dz6L62GR.js → types-Cop44iUw.js} +2 -2
  219. package/dist/{types-CQ2p58-6.js → types-Dv0COrvY.js} +3 -2
  220. package/dist/{types-C4ieOutZ.js → types-QKgg5_IB.js} +2 -2
  221. package/dist/{unincorporated-partnership-BC2PWEgm.js → unincorporated-partnership-DCtqSVs0.js} +2 -2
  222. package/dist/{useAssociatedLegalEntity-BSvkLl8Y.js → useAssociatedLegalEntity-COa3bZhe.js} +2 -2
  223. package/dist/{useBusinessDetailsData-BMzgGX4d.js → useBusinessDetailsData-DslnLoRz.js} +443 -397
  224. package/dist/{useCreateLegalEntity-i6pKh0i4.js → useCreateLegalEntity-CO7qV3Sc.js} +2 -2
  225. package/dist/{useForm-CdWcC_Oh.js → useForm-F0hPmSqd.js} +3 -3
  226. package/dist/{useFormContext-DGfVqoR2.js → useFormContext-EeYo1zte.js} +17 -8
  227. package/dist/{useGlobalData-B6jCg1Ek.js → useGlobalData-DKxTj6bo.js} +24 -15
  228. package/dist/{useMultiForm-Cmp2wrss.js → useMultiForm-CR9pqYjq.js} +4 -4
  229. package/dist/{useOnboardingStatus-Dm_xuWC2.js → useOnboardingStatus-D2I19RDh.js} +2 -2
  230. package/dist/{useScenarios-ho-q4vGs.js → useScenarios-BvV1t76w.js} +2 -2
  231. package/dist/{useTermsOfServiceStatus-Dof1-HII.js → useTermsOfServiceStatus-C0uqYCFG.js} +2 -2
  232. package/dist/{useToastContext-CflZZ_Su.js → useToastContext-Dl59lP3Q.js} +2 -2
  233. package/dist/{useUnincorporatedPartnershipMembers-rfHqZZWF.js → useUnincorporatedPartnershipMembers-BRQxcrvc.js} +5 -5
  234. package/dist/{useUpdateBusinessLines-vNF2Y_nP.js → useUpdateBusinessLines-FG7FE2l9.js} +6 -6
  235. package/dist/{useUpdateLegalEntity-CtdSLVIW.js → useUpdateLegalEntity-Dr3e1mG2.js} +3 -3
  236. package/dist/{utils-CPWcV5kL.js → utils-2-VlpJvY.js} +2 -2
  237. package/dist/{utils-DHB6YxqA.js → utils-Bmx7w6cI.js} +6 -6
  238. package/dist/{utils-CXn7BO_7.js → utils-CCjjhUUz.js} +53 -6
  239. package/dist/{utils-CF18b8u8.js → utils-CWrDCmo5.js} +22 -2
  240. package/dist/{utils-DXCw1aJK.js → utils-DCXRR-sY.js} +1 -1
  241. package/dist/{validate-DPhS2sGf.js → validate-B--uGfCw.js} +1 -1
  242. package/dist/{validate-BH9M6gvx.js → validate-DdW_lr56.js} +3 -3
  243. package/dist/{validationError-BDDYiyYy.js → validationError-DmyvOY60.js} +2 -2
  244. package/package.json +1 -5
  245. package/dist/RadioGroupCard-nQz2Uhca.js +0 -152
  246. package/dist/en-US--1W760fR.js +0 -13
  247. package/dist/en-US-CKLQU2sJ.js +0 -13
  248. package/dist/en-US-CozY33On.js +0 -13
  249. package/dist/en-US-DLY20x1O.js +0 -13
  250. package/dist/iframeWidget-D-vHGFmR.js +0 -234
  251. package/dist/instant-verification-UrnuHTYn.js +0 -40
  252. package/dist/japanSupportUtils-C5HeKRQ7.js +0 -16
  253. package/dist/manual-verification-BO8zgAYT.js +0 -41
  254. package/dist/types/components/BankAccount/forms/BankDocument/BankDocument.d.ts +0 -5
  255. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +0 -9
  256. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +0 -6
  257. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/BankVerificationWidget.d.ts +0 -3
  258. package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/iframeWidget.d.ts +0 -32
  259. package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
  260. package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +0 -5
  261. package/dist/types/components/Shared/devex/DebugListener/DebugExperimentsAndSettings.d.ts +0 -7
  262. package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +0 -20
  263. package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +0 -21
  264. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +0 -3
  265. package/dist/types/context/ExperimentContext/ExperimentsContext.d.ts +0 -2
  266. package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +0 -8
  267. package/dist/types/context/ExperimentContext/useExperimentsContext.d.ts +0 -1
  268. package/dist/types/utils/bankVerification/dom.d.ts +0 -1
@@ -1,41 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "870baa05-940d-41fe-91a8-8f4714c8995c", e._sentryDebugIdIdentifier = "sentry-dbid-870baa05-940d-41fe-91a8-8f4714c8995c");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { jsxs, jsx } from "preact/jsx-runtime";
11
- const SvgManualVerification = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 200 160", role: "img", ...props, children: [
12
- /* @__PURE__ */ jsx("path", { fill: "#fff", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M137.7 12.5H54.3a2.8 2.8 0 0 0-2.8 2.79V124.4a2.8 2.8 0 0 0 2.8 2.79h83.4a2.8 2.8 0 0 0 2.8-2.79V15.29a2.8 2.8 0 0 0-2.8-2.79" }),
13
- /* @__PURE__ */ jsx("path", { fill: "#CEE0F2", stroke: "#CEE0F2", strokeLinecap: "round", strokeLinejoin: "round", d: "M70.11 115.2a7.44 7.44 0 1 0 0-14.88 7.44 7.44 0 0 0 0 14.88" }),
14
- /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M83.84 39.56H62.66v5.08h21.18z" }),
15
- /* @__PURE__ */ jsx("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M82.55 65.63H62.66v2.54h19.89z" }),
16
- /* @__PURE__ */ jsx("path", { fill: "#A0BEE6", stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M122.98 39.56H88.64v5.08h34.34z" }),
17
- /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M62.66 31.65h14.69m-14.69-4.39h25.98" }),
18
- /* @__PURE__ */ jsx("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M62.66 60.26h24.4" }),
19
- /* @__PURE__ */ jsx("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M82.55 82.97H62.66v2.54h19.89z" }),
20
- /* @__PURE__ */ jsx("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M62.66 77.61h24.4" }),
21
- /* @__PURE__ */ jsx("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M112.94 65.63H93.05v2.54h19.89z" }),
22
- /* @__PURE__ */ jsx("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M93.05 60.26h24.39" }),
23
- /* @__PURE__ */ jsx("path", { fill: "#6F7988", stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M112.94 82.97H93.05v2.54h19.89z" }),
24
- /* @__PURE__ */ jsx("path", { stroke: "#A0BEE6", strokeLinecap: "round", strokeLinejoin: "round", d: "M93.05 77.61h24.39" }),
25
- /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M83.75 105.86h12.19m-12.19 4.52h12.19" }),
26
- /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M169.39 101.51q-1.51-2.52-3.59-4.6l-19.86-22.35a8 8 0 0 0-5.62-2.33l-10.27 2.89q-1.94 0-3.77.61l-7.38 2.46a4 4 0 0 0-2.72 3.77v1.11h19.42c1.51 0 2.88.85 3.56 2.2l4.87 9.73h-7.95l-16.68 23.87s12.23 8.62 14.84 12.63c2.91 4.47 8.56 12.8 17.26 15.38" }),
27
- /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M169.39 101.51q-1.51-2.52-3.59-4.6l-19.86-22.35a8 8 0 0 0-5.62-2.33l-10.27 2.89q-1.94 0-3.77.61l-7.38 2.46a4 4 0 0 0-2.72 3.77v1.11h19.42c1.51 0 2.88.85 3.56 2.2l4.87 9.73h-7.95l-16.68 23.87s12.23 8.62 14.84 12.63c2.91 4.47 8.56 12.8 17.26 15.38" }),
28
- /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "m140.03 102.97 3.11-6.22a12 12 0 0 1 2.24-3.1l2.61-2.61m-4.87-9.74-1.95 1.95a4 4 0 0 0-.75 4.59l2.23 4.46m-12.56-13.2v1.99c0 1.1.89 1.99 1.99 1.99h1.99m19.88 17.9-2.3 4.6a4 4 0 0 1-4.55 2.07l-9.06-2.34" }),
29
- /* @__PURE__ */ jsx("path", { fill: "#fff", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M105.24 98a4.87 4.87 0 0 0-6.63 7.13l10.21 9.5a4.87 4.87 0 1 0 6.64-7.13zm1.72-17.6a4.87 4.87 0 0 0-6.63 7.13l10.21 9.5a4.87 4.87 0 1 0 6.63-7.14zm4.1-15.48a4.87 4.87 0 0 0-7.38 6.36l9.1 10.57a4.87 4.87 0 0 0 7.38-6.36z" }),
30
- /* @__PURE__ */ jsx("path", { fill: "#00112C", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M140.86 34.23h-28.49a7.1 7.1 0 0 0-7.12 7.12v71.23a7.1 7.1 0 0 0 7.12 7.12h28.49a7.1 7.1 0 0 0 7.12-7.12V41.35a7.1 7.1 0 0 0-7.12-7.12" }),
31
- /* @__PURE__ */ jsx("path", { fill: "#EEF0F3", stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M146.21 41.35a5.34 5.34 0 0 0-5.34-5.34h-28.49a5.34 5.34 0 0 0-5.34 5.34v62.32h39.17z" }),
32
- /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M126.62 114.35a3.56 3.56 0 1 0 0-7.12 3.56 3.56 0 0 0 0 7.12" }),
33
- /* @__PURE__ */ jsx("path", { stroke: "#6F7988", strokeLinecap: "round", strokeLinejoin: "round", d: "M107.03 103.67v8.9a5.34 5.34 0 0 0 5.34 5.34h28.49a5.34 5.34 0 0 0 5.34-5.34v-8.9" }),
34
- /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M162.18 111.54 129.09 103a4.65 4.65 0 0 0-3.45 8.56l12.6 7.12a12 12 0 0 1 5.25 6.07l2.81 7.25a29 29 0 0 0 3.49 6.47c4 5.53 8.15 8.78 12.37 9.99" }),
35
- /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M162.18 111.54 129.09 103a4.65 4.65 0 0 0-3.45 8.56l12.6 7.12a12 12 0 0 1 5.25 6.07l2.81 7.25a29 29 0 0 0 3.49 6.47c4 5.53 8.15 8.78 12.37 9.99" }),
36
- /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M137.73 51.88H115.2a2.27 2.27 0 0 0-2.27 2.27v31.04a2.27 2.27 0 0 0 2.27 2.27h22.53a2.27 2.27 0 0 0 2.27-2.27V54.15a2.27 2.27 0 0 0-2.27-2.27" }),
37
- /* @__PURE__ */ jsx("path", { stroke: "#00112C", strokeLinecap: "round", strokeLinejoin: "round", d: "M136.67 60.57v-4.06c0-.58-.47-1.05-1.05-1.05h-3.85m0 28.07h3.85c.58 0 1.05-.47 1.05-1.05v-4.06m-20.1-.01v4.06c0 .58.47 1.05 1.05 1.05h3.85m0-28.06h-3.85c-.58 0-1.05.47-1.05 1.05v4.06" })
38
- ] });
39
- export {
40
- SvgManualVerification as default
41
- };
@@ -1,5 +0,0 @@
1
- import type { BankDocumentProps, BankDocumentSchema } from './types';
2
- export declare const bankDocumentFields: Array<keyof BankDocumentSchema>;
3
- declare function BankDocument(props: BankDocumentProps): import("preact/jsx-runtime").JSX.Element;
4
- export declare const MemoizedBankDocument: typeof BankDocument;
5
- export {};
@@ -1,9 +0,0 @@
1
- import type { CountryCode } from '../../../../types/datasets/country-code';
2
- import type { BankDocumentType, DocumentsModifiers } from './types';
3
- interface BankDocumentRequirementsProps {
4
- country: CountryCode;
5
- documentType: BankDocumentType;
6
- documentModifiers: DocumentsModifiers;
7
- }
8
- export declare const BankDocumentRequirements: ({ country, documentType, documentModifiers, }: BankDocumentRequirementsProps) => import("preact/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,6 +0,0 @@
1
- interface BankDocumentRequirementsModalProps {
2
- isOpen: boolean;
3
- onClose: () => void;
4
- }
5
- export declare function BankDocumentRequirementsModal({ isOpen, onClose, }: BankDocumentRequirementsModalProps): import("preact/jsx-runtime").JSX.Element | null;
6
- export {};
@@ -1,3 +0,0 @@
1
- import './BankVerificationWidget.scss';
2
- import { type BankVerificationWidgetProps } from './types';
3
- export declare function BankVerificationWidget({ url, vendor, setBankVerificationError, setHideVerificationWidget, onBack, retrieveBankAccountInfo, createTrustedTransferInstrument, fullscreen, }: BankVerificationWidgetProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,32 +0,0 @@
1
- import type { AccountVerificationResponse } from '../../types';
2
- export type AccountVerificationErrorObject = {
3
- status: string;
4
- message: string;
5
- reason: string;
6
- trackingId: string;
7
- type: string;
8
- };
9
- export type AccountVerificationCallbackErrorObject<T extends string = string> = {
10
- error: T;
11
- message: string;
12
- };
13
- export type VerifiedAccounts = {
14
- accounts: AccountVerificationResponse[];
15
- };
16
- export declare class IFrameWidget {
17
- private readonly vendor;
18
- private readonly iframeUrl;
19
- private readonly iframeElement;
20
- private readonly iframeWindow;
21
- private listener;
22
- private mountInProgress;
23
- private sdkToken;
24
- private iframeUrlState;
25
- constructor(iframeElement: HTMLIFrameElement, url: string, vendor: string, sdkToken: string | undefined);
26
- removeMessageEventListener(): void;
27
- private handleMessage;
28
- unmount(): void;
29
- private mount;
30
- private waitForResponse;
31
- mountAndWaitForResponse(): Promise<VerifiedAccounts>;
32
- }
@@ -1,4 +0,0 @@
1
- import type { SummaryOf } from '../../../Shared/Summary/types';
2
- import type { CountryCode } from '../../../../types/datasets/country-code';
3
- import type { FinancialInformationSchema } from './types';
4
- export declare const formatFinancialInformationSummary: (data: FinancialInformationSchema | undefined, language: string, country: CountryCode | undefined, dateOfIncorporation?: string) => SummaryOf<FinancialInformationSchema> | undefined;
@@ -1,5 +0,0 @@
1
- interface CompanySearchExperiments {
2
- isAgnosticEndpointEnabled: boolean;
3
- }
4
- export declare function useCompanySearchExperiments(): CompanySearchExperiments;
5
- export {};
@@ -1,7 +0,0 @@
1
- import type { DebugInfo } from './debugInfo';
2
- interface DebugExperimentsAndSettingsProps {
3
- experiments: DebugInfo['experiments'];
4
- settings: DebugInfo['settings'];
5
- }
6
- export declare const DebugExperimentsAndSettings: ({ experiments, settings, }: DebugExperimentsAndSettingsProps) => import("preact/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,20 +0,0 @@
1
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
- import type { NsTranslationKey } from '../../../../../types';
3
- import type { CountryCode } from '../../../../types/datasets/country-code';
4
- import type { CompanyRegistrationNumberType } from './countryIdNumberTypes';
5
- interface PropsWithNoExemption {
6
- exemptedOption?: false;
7
- selected: CompanyRegistrationNumberType | undefined;
8
- setSelected: (type: CompanyRegistrationNumberType) => void;
9
- }
10
- interface PropsWithExemption {
11
- exemptedOption: NsTranslationKey<'common'>;
12
- selected: CompanyRegistrationNumberType | 'exempted' | undefined;
13
- setSelected: (type: CompanyRegistrationNumberType | 'exempted') => void;
14
- }
15
- type CompanyRegistrationNumberTypeSelectorProps = {
16
- country: CountryCode;
17
- companyType: CompanyTypesValue | 'trust' | undefined;
18
- } & (PropsWithNoExemption | PropsWithExemption);
19
- export declare function CompanyRegistrationNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, }: CompanyRegistrationNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element | null;
20
- export {};
@@ -1,21 +0,0 @@
1
- import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
2
- import type { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
3
- import type { NsTranslationKey } from '../../../../../types';
4
- import type { CountryCode } from '../../../../types/datasets/country-code';
5
- import type { VatNumberType } from './countryIdNumberTypes';
6
- interface PropsWithNoExemption {
7
- exemptedOption?: false;
8
- selected: VatNumberType | undefined;
9
- setSelected: (type: VatNumberType) => void;
10
- }
11
- interface PropsWithVatNumberExemption {
12
- exemptedOption: NsTranslationKey<'common'>;
13
- selected: VatNumberType | 'exempted' | undefined;
14
- setSelected: (type: VatNumberType | 'exempted', exemptValue: boolean) => void;
15
- }
16
- type VatNumberTypeSelectorProps = {
17
- country: CountryCode;
18
- companyType?: CompanyTypesValue | typeof LegalEntityTypes.TRUST;
19
- } & (PropsWithNoExemption | PropsWithVatNumberExemption);
20
- export declare function VatNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, }: VatNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element | null;
21
- export {};
@@ -1,3 +0,0 @@
1
- import type { CountryCode } from '../../../../types/datasets/country-code';
2
- import type { VatNumberType } from './countryIdNumberTypes';
3
- export declare const inferVatNumberType: (vatNumber: string, country: CountryCode) => VatNumberType | undefined;
@@ -1,2 +0,0 @@
1
- import type { ExperimentsContextValue } from './types';
2
- export declare const ExperimentsContext: import("preact").Context<ExperimentsContextValue>;
@@ -1,8 +0,0 @@
1
- import type { ExperimentsProps } from './types';
2
- /**
3
- * To manage accessing experimental / non-production-ready features of SDK.
4
- * Consumers can enable these experimental features if they choose to.
5
- * @param children - components rendered
6
- * @param experiments - dictionary of type Experiments
7
- */
8
- export declare function ExperimentsContextProvider({ children, experiments: propExperiments, refreshExperiments, }: Readonly<ExperimentsProps>): import("preact/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function useExperimentsContext(): import("./types").ExperimentsContextValue;
@@ -1 +0,0 @@
1
- export declare const removeElementSiblings: (element: HTMLElement) => void;