@adyen/kyc-components 3.61.3 → 3.62.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.
- package/dist/{CPIOZS5X-cBVcxn3m.js → CPIOZS5X-CoGawlGF.js} +2 -2
- package/dist/{DebugModal-C4bdcbNH.js → DebugModal-KucAOxDA.js} +6 -6
- package/dist/{Introduction-BYkxpFLZ.js → Introduction-CAtgshlo.js} +1 -1
- package/dist/{OKF6E45R-uSvZqNWv.js → OKF6E45R-y_woKRvw.js} +2 -2
- package/dist/{WXAWMS3D-D2tl7FvI.js → WXAWMS3D-rHHQe1Gs.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +8 -2
- package/dist/{bg-BG-DvxNrUuQ.js → bg-BG-JQoXeKqz.js} +53 -6
- package/dist/{core-DXKGtvMY.js → core-D3K2vwJw.js} +21322 -21646
- package/dist/{cs-CZ-Ho9dbS1C.js → cs-CZ-vaBozTTA.js} +54 -7
- package/dist/{css-CT4RTTOU.js → css-BznTSLiE.js} +1 -1
- package/dist/{da-DK-CAzZXDTT.js → da-DK-fw4eNQ2y.js} +52 -5
- package/dist/{de-DE-CCZbFa-W.js → de-DE-BSBrq8Ub.js} +53 -6
- package/dist/{el-GR-C2LqiurW.js → el-GR-DHEcN6ZM.js} +54 -7
- package/dist/{es-ES-CR3VDFE0.js → es-ES-OGi9SCih.js} +55 -8
- package/dist/{et-EE-B2hN2aT2.js → et-EE-D1J4FVpl.js} +54 -7
- package/dist/{fi-FI-D8Y7fKm3.js → fi-FI-BC5y9DRV.js} +54 -7
- package/dist/{fr-FR-I5n3_w9O.js → fr-FR-CiWdJsuO.js} +53 -6
- package/dist/{hr-HR-ChZK22Ck.js → hr-HR-BDWRpmqB.js} +52 -5
- package/dist/{hu-HU-CvqWsLq2.js → hu-HU-Bd9QMhfv.js} +54 -7
- package/dist/{it-IT-BscN-dth.js → it-IT-BKly13Bd.js} +52 -5
- package/dist/{json-Zs_gNV8L.js → json-2yoHWGYu.js} +1 -1
- package/dist/{lt-LT-DjqN3v49.js → lt-LT-BZJ3rRip.js} +53 -6
- package/dist/{lv-LV-Bl7tx-dy.js → lv-LV-C76tFRyD.js} +54 -7
- package/dist/{nl-NL-U9PfH9yT.js → nl-NL-Cq9nayE6.js} +53 -6
- package/dist/{no-NO-ClNo2Pet.js → no-NO-BHhjhys2.js} +52 -5
- package/dist/{pl-PL-DO6WW3PC.js → pl-PL-SdjV6jyu.js} +51 -4
- package/dist/{plaintext-DXIvo2q0.js → plaintext-DTBQdpo_.js} +1 -1
- package/dist/{pt-PT-BrGHsiO8.js → pt-PT-BDSj1IJC.js} +54 -7
- package/dist/reporting-BvzRvEDn.js +8 -0
- package/dist/{ro-RO-nD0d6r_W.js → ro-RO-BaWuNSMq.js} +52 -5
- package/dist/{sk-SK-BPOfBJsL.js → sk-SK-DqQsBZrj.js} +53 -6
- package/dist/{sl-SI-3YqPVJ3_.js → sl-SI-DXGkd146.js} +51 -4
- package/dist/style.css +24 -36
- package/dist/{sv-SE-BK-9tJD6.js → sv-SE-C9Ku-HpT.js} +52 -5
- package/dist/tax-reporting-graph-CRaNSOtM.js +577 -0
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +18 -0
- package/dist/types/api/check/useCheck.d.ts +16 -0
- package/dist/types/api/configurations/useSupportedCountries.d.ts +9 -0
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +16 -0
- package/dist/types/api/datasets/useLegalForms.d.ts +9 -0
- package/dist/types/api/datasets/useNaceCodes.d.ts +3 -0
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +3 -0
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +11 -0
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +16 -0
- package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +17 -0
- package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +1 -2
- package/dist/types/components/BankAccount/fields/BankCode/fieldConfig.d.ts +1 -2
- package/dist/types/components/BankAccount/fields/BranchCode/fieldConfig.d.ts +1 -2
- package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +1 -2
- package/dist/types/components/BankAccount/fields/SwiftCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +3 -8
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +9 -2
- package/dist/types/components/BankAccount/mapping/mapApiDocumentToPayoutDocuments.d.ts +2 -0
- package/dist/types/components/BankAccount/{forms/PayoutAccount/helpers → mapping}/mapPayoutAccountSchemaToApiBankAccount.d.ts +4 -4
- package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +12 -0
- package/dist/types/components/BankAccount/mapping/mapPayoutDocumentsToApiDocuments.d.ts +3 -0
- package/dist/types/components/BankAccount/mapping/mapTransferInstrumentToPayoutAccount.d.ts +8 -0
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1925 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/formatAccountVerificationSummary.d.ts +7 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +5 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +8 -0
- package/dist/types/components/BankAccount/utils/defaultPayoutAccountFormat.d.ts +3 -0
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +4 -4
- package/dist/types/components/Business/forms/Company/rules.d.ts +22 -2
- package/dist/types/components/Business/forms/Company/types.d.ts +3 -3
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +11 -0
- package/dist/types/{utils → components/Business}/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +3 -3
- package/dist/types/{utils → components/Business}/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +5 -5
- package/dist/types/{utils → components/Business}/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +2 -2
- package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +6 -0
- package/dist/types/components/Business/mapping/companyKeyMappings.d.ts +7 -0
- package/dist/types/components/Business/mapping/mapApiDocumentToCompanyDocuments.d.ts +2 -0
- package/dist/types/components/Business/mapping/mapCompanyDocumentToApiDocument.d.ts +3 -0
- package/dist/types/components/Business/mapping/mapCompanyToLegalEntity.d.ts +4 -0
- package/dist/types/components/Business/mapping/mapLegalEntityToCompany.d.ts +4 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsFormConfig.d.ts +5 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/mandatoryFields.d.ts +3 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -0
- package/dist/types/components/Business/tasks/CompanyDropin/companyFormConfig.d.ts +7 -0
- package/dist/types/components/Business/tasks/CompanyDropin/mandatoryFields.d.ts +3 -0
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +9 -0
- package/dist/types/components/EFP/mapping/highExposureKeyMappings.d.ts +26 -0
- package/dist/types/components/EFP/mapping/mapHighExposureToLegalEntity.d.ts +3 -0
- package/dist/types/components/EFP/mapping/mapLegalEntityToHighExposure.d.ts +3 -0
- package/dist/types/components/EFP/mapping/mapSourceOfFundToSourceOfFundsSchema.d.ts +3 -0
- package/dist/types/components/EFP/mapping/sourceOfFundsKeyMappings.d.ts +4 -0
- package/dist/types/components/EFP/tasks/HighExposureDropin/mandatoryFields.d.ts +3 -0
- package/dist/types/components/EFP/tasks/TaxReportingDropin/TaxReportingDropin.d.ts +2 -0
- package/dist/types/components/EFP/tasks/TaxReportingDropin/TaxReportingGettingStarted.d.ts +9 -0
- package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +18 -0
- package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +7 -0
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +5 -5
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +5 -5
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +3 -3
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +2 -5
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +1 -2
- package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/ProofOfResidency/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +32 -2
- package/dist/types/components/Individual/forms/Individual/types.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/validate.d.ts +4 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +33 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +3 -3
- package/dist/types/components/Individual/mapping/adjustIdentificationData.d.ts +3 -0
- package/dist/types/components/Individual/mapping/getIdentityTypeToApiIdentityTypeMap.d.ts +3 -0
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +14 -0
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +7 -0
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +3 -0
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +4 -0
- package/dist/types/components/Individual/mapping/mapIndividualOnfidoSchemaToLegalEntity.d.ts +3 -0
- package/dist/types/components/Individual/mapping/mapIndividualToLegalEntity.d.ts +3 -0
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividual.d.ts +3 -0
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualOnfidoSchema.d.ts +3 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +4 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/mandatoryFields.d.ts +5 -0
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +4 -0
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/mandatoryFields.d.ts +5 -0
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +1 -1
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -1
- package/dist/types/components/Shared/Summary/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/DBANameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/StockExchangeMICField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/TradingNameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +5 -6
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/DocumentUpload.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +7 -5
- package/dist/types/components/Shared/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +3 -0
- package/dist/types/components/Shared/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +3 -0
- package/dist/types/{utils/mapping/customerSupport → components/Shared/tasks/CustomerSupport/mapping}/mapCustomerSupportSchemaToCustomerSupportType.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -0
- package/dist/types/components/SoleProprietorship/forms/SoleProp/types.d.ts +1 -1
- package/dist/types/components/SoleProprietorship/mapping/mapApiDocumentToSolePropDocuments.d.ts +2 -0
- package/dist/types/components/SoleProprietorship/mapping/mapLegalEntityToSoleProp.d.ts +4 -0
- package/dist/types/components/SoleProprietorship/mapping/mapSolePropDocumentToApiDocument.d.ts +3 -0
- package/dist/types/components/SoleProprietorship/mapping/mapSolePropToLegalEntity.d.ts +4 -0
- package/dist/types/components/SoleProprietorship/mapping/solePropKeyMappings.d.ts +7 -0
- package/dist/types/components/SoleProprietorship/tasks/SolePropDropin/mandatoryFields.d.ts +3 -0
- package/dist/types/components/SoleProprietorship/tasks/SolePropDropin/solePropFormConfig.d.ts +5 -0
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +8 -2
- package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -1
- package/dist/types/components/Trust/mapping/mapApiDocumentToTrustDocument.d.ts +2 -0
- package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +4 -0
- package/dist/types/components/Trust/mapping/mapTrustDocumentToApiDocument.d.ts +3 -0
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +4 -0
- package/dist/types/components/Trust/mapping/trustKeyMappings.d.ts +7 -0
- package/dist/types/{utils → components/Trust}/mapping/trustMembers/getTrustMembers.d.ts +2 -2
- package/dist/types/{utils → components/Trust}/mapping/trustMembers/mapEntityAssociationsToTrustMembers.d.ts +3 -3
- package/dist/types/components/Trust/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +3 -0
- package/dist/types/components/Trust/mapping/trustMembers/mapUndefinedBeneficiaryInfoToTrustMembers.d.ts +3 -0
- package/dist/types/components/Trust/tasks/TrustDropin/mandatoryFields.d.ts +3 -0
- package/dist/types/components/Trust/tasks/TrustDropin/trustFormConfig.d.ts +5 -0
- package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +8 -0
- package/dist/types/components/Trust/utils/trustMemberRequirements.d.ts +10 -0
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +9 -4
- package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +4 -0
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +4 -0
- package/dist/types/components/UnincorporatedPartnership/mapping/unincorporatedPartnershipKeyMappings.d.ts +6 -0
- package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.d.ts +7 -0
- package/dist/types/components/index.d.ts +3 -4
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +4 -0
- package/dist/types/context/AnalyticsContext/AnalyticsProvider.d.ts +6 -3
- package/dist/types/context/ApiContext/ApiProvider.d.ts +1 -2
- package/dist/types/context/ConfigurationApiContext/ConfigurationApiContext.d.ts +0 -9
- package/dist/types/context/ExperimentContext/types.d.ts +0 -4
- package/dist/types/context/StateContext/types.d.ts +2 -1
- package/dist/types/core/UIElement/UIElement.d.ts +5 -4
- package/dist/types/core/models/api/analytics.d.ts +2 -0
- package/dist/types/core/models/api/check.d.ts +4 -0
- package/dist/types/core/models/api/document.d.ts +5 -1
- package/dist/types/core/models/api/get-scenarios.d.ts +3 -1
- package/dist/types/core/models/api/individual.d.ts +1 -1
- package/dist/types/core/models/api/organization.d.ts +2 -0
- package/dist/types/core/models/api/tax-reporting-classification.d.ts +15 -0
- package/dist/types/core/models/field-configurations.d.ts +11 -7
- package/dist/types/core/models/form-configuration.d.ts +36 -0
- package/dist/types/core/models/form-rules.d.ts +7 -4
- package/dist/types/core/process-field-configurations.d.ts +8 -26
- package/dist/types/core/services/types.d.ts +2 -2
- package/dist/types/core/types.d.ts +3 -2
- package/dist/types/core/user-events.d.ts +2 -1
- package/dist/types/hooks/useAnalytics.d.ts +4 -7
- package/dist/types/hooks/useBankConfigurationHandlers.d.ts +0 -1
- package/dist/types/hooks/useComponentApi.d.ts +0 -5
- package/dist/types/hooks/useForm/types.d.ts +1 -1
- package/dist/types/hooks/useScenarioConfiguration.d.ts +9 -8
- package/dist/types/hooks/{useVersionConfiguration.d.ts → useVersion.d.ts} +2 -2
- package/dist/types/stores/globalStore/StoreProvider.d.ts +1 -1
- package/dist/types/stores/globalStore/taskTypes.d.ts +2 -1
- package/dist/types/utils/entityAssociationUtil.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +2 -2
- package/dist/types/utils/formUtils.d.ts +1 -1
- package/dist/types/utils/genUtils.d.ts +0 -10
- package/dist/types/utils/getFieldsWithExistingData.d.ts +8 -4
- package/dist/types/utils/getNestedPropertyKeys.d.ts +10 -5
- package/dist/types/utils/mapping/documentGuidanceMap.d.ts +1 -1
- package/dist/types/utils/mapping/getPage.d.ts +4 -0
- package/dist/types/utils/mapping/mapExistingFile.d.ts +2 -0
- package/dist/types/utils/mapping/mappingRecord.d.ts +34 -0
- package/dist/types/utils/mapping/reverseMapping.d.ts +11 -0
- package/dist/types/utils/mapping/utils.d.ts +13 -0
- package/dist/types/utils/omitObscuredFieldsIfUnchanged.d.ts +2 -2
- package/dist/types/utils/roleMetadata.d.ts +1 -1
- package/dist/{yaml-D9YvkDTA.js → yaml-Dx578IXG.js} +1 -1
- package/package.json +3 -3
- package/dist/types/api/checkAsAService/useCheckAsAService.d.ts +0 -16
- package/dist/types/components/Individual/mapping/IndividualToLegalEntity.mapper.d.ts +0 -8
- package/dist/types/context/AuthContext/AuthContext.d.ts +0 -13
- package/dist/types/context/AuthContext/AuthProvider.d.ts +0 -16
- package/dist/types/context/AuthContext/useAuthContext.d.ts +0 -3
- package/dist/types/context/ConfigurationApiContext/getKycExternalApi.d.ts +0 -5
- package/dist/types/context/ExpiryContext/ExpiredBanner.d.ts +0 -1
- package/dist/types/core/models/api/check-as-a-service.d.ts +0 -29
- package/dist/types/core/models/api/get-allowed-countries.d.ts +0 -4
- package/dist/types/core/models/api/transfer-instrument-reference.d.ts +0 -9
- package/dist/types/core/models/api/version-configuration.d.ts +0 -5
- package/dist/types/core/models/company.d.ts +0 -21
- package/dist/types/core/models/country-config.d.ts +0 -15
- package/dist/types/core/models/form-labels.d.ts +0 -5
- package/dist/types/core/models/identity.d.ts +0 -33
- package/dist/types/core/models/identityOnfido.d.ts +0 -33
- package/dist/types/core/models/payout-account.d.ts +0 -7
- package/dist/types/core/models/scenario-fields.d.ts +0 -11
- package/dist/types/core/models/sole-prop.d.ts +0 -8
- package/dist/types/core/models/trust.d.ts +0 -26
- package/dist/types/core/services/componentApi/get-analytics-session.d.ts +0 -2
- package/dist/types/core/services/componentApi/get-business-lines.d.ts +0 -2
- package/dist/types/core/services/componentApi/get-legal-forms.d.ts +0 -3
- package/dist/types/core/services/componentApi/get-nace-codes.d.ts +0 -2
- package/dist/types/core/services/componentApi/get-pci-status.d.ts +0 -4
- package/dist/types/core/services/componentApi/get-pci-template.d.ts +0 -3
- package/dist/types/core/services/componentApi/get-source-of-funds-types.d.ts +0 -2
- package/dist/types/core/services/componentApi/get-supported-countries.d.ts +0 -3
- package/dist/types/core/services/componentApi/get-transfer-instruments.d.ts +0 -3
- package/dist/types/core/services/componentApi/get-version-configuration.d.ts +0 -4
- package/dist/types/core/services/componentApi/push-events.d.ts +0 -1
- package/dist/types/core/services/componentApi/sign-pci.d.ts +0 -3
- package/dist/types/core/services/componentApi/update-source-of-funds.d.ts +0 -2
- package/dist/types/core/services/kycExternalApi/get-allowed-countries.d.ts +0 -3
- package/dist/types/core/services/kycExternalApi/get-configuration.d.ts +0 -3
- package/dist/types/core/services/kycExternalApi/validate-account-identification.d.ts +0 -4
- package/dist/types/core/services/kycExternalApi/validate-phone-number.d.ts +0 -3
- package/dist/types/core/services/kycExternalApi/verify-id-number.d.ts +0 -3
- package/dist/types/hooks/useInterval.d.ts +0 -3
- package/dist/types/utils/mapping/componentApiMapping.d.ts +0 -444
- package/dist/types/utils/mapping/mapping.d.ts +0 -64
- package/dist/types/utils/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +0 -3
- package/dist/types/utils/mapping/trustMembers/mapUndefinedBeneficiaryInfoToTrustMembers.d.ts +0 -3
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
2
|
+
import type { QueryOptions } from '../types';
|
|
3
|
+
import type { components } from './configurations.contract';
|
|
4
|
+
type SuccessResponse = components['schemas']['CountriesResponse'];
|
|
5
|
+
interface CorrectSuccessReponse extends SuccessResponse {
|
|
6
|
+
countries: CountryCode[];
|
|
7
|
+
}
|
|
8
|
+
export declare const useSupportedCountries: (options?: QueryOptions<CorrectSuccessReponse>) => import("@tanstack/react-query").UseQueryResult<CorrectSuccessReponse, Error>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { QueryOptions } from '../types';
|
|
2
|
+
import type { components } from './configurations.contract';
|
|
3
|
+
type SuccessResponse = components['schemas']['VersionResponse'];
|
|
4
|
+
/**
|
|
5
|
+
* Retrieves from the backend information about the version and features/experiments
|
|
6
|
+
* linked to the legalEntityId
|
|
7
|
+
*
|
|
8
|
+
* @param id legalEntityId
|
|
9
|
+
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
|
|
10
|
+
*/
|
|
11
|
+
export declare const getVersionConfiguration: (legalEntityId: string, url: string) => Promise<SuccessResponse>;
|
|
12
|
+
export declare const useVersionConfiguration: (options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
|
|
13
|
+
features?: string[];
|
|
14
|
+
version?: number;
|
|
15
|
+
}, Error>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CountryCode } from '#models/country-code';
|
|
2
|
+
import type { QueryOptions } from '../types';
|
|
3
|
+
import type { components } from './datasets.contract';
|
|
4
|
+
export type DataSetSuccessResponse = components['schemas']['LocalizedDataSet'];
|
|
5
|
+
export type DataSetsWithId = Omit<DataSetSuccessResponse, 'id' | 'name'> & {
|
|
6
|
+
id: NonNullable<components['schemas']['LocalizedDataSet']['id']>;
|
|
7
|
+
name: NonNullable<components['schemas']['LocalizedDataSet']['name']>;
|
|
8
|
+
};
|
|
9
|
+
export declare const useLegalForms: (countryCode: CountryCode, options?: QueryOptions<DataSetsWithId[]>) => import("@tanstack/react-query").UseQueryResult<DataSetsWithId[], Error>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { DataSetsWithId } from '#api/datasets/useLegalForms';
|
|
2
|
+
import type { QueryOptions } from '../types';
|
|
3
|
+
export declare const useSourceOfFundsTypes: (options?: QueryOptions<DataSetsWithId[]>) => import("@tanstack/react-query").UseQueryResult<DataSetsWithId[], Error>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { QueryOptions } from '../types';
|
|
2
|
+
import type { components } from './transferInstruments.contract';
|
|
3
|
+
export type GetTransferInstrumentResponse = components['schemas']['TransferInstrumentOverview'][];
|
|
4
|
+
export type TransferInstrumentReference = components['schemas']['TransferInstrumentOverview'];
|
|
5
|
+
export type TransferInstrumentReferenceWithStatusId = Omit<TransferInstrumentReference, 'transferInstrument' | 'status'> & {
|
|
6
|
+
status: NonNullable<components['schemas']['TransferInstrumentOverview']['status']>;
|
|
7
|
+
transferInstrument: Omit<components['schemas']['TransferInstrumentReferenceDto'], 'id'> & {
|
|
8
|
+
id: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const useTransferInstruments: (options?: QueryOptions<GetTransferInstrumentResponse>) => import("@tanstack/react-query").UseQueryResult<GetTransferInstrumentResponse, Error>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type QueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { MixpanelProperty } from '#core/user-events';
|
|
3
|
+
import type { components } from './analytics.contract';
|
|
4
|
+
type SuccessResponse = components['schemas']['InitSessionResponse'];
|
|
5
|
+
interface CorrectSuccessReponse extends SuccessResponse {
|
|
6
|
+
id: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SessionData {
|
|
9
|
+
sdkVersion: string;
|
|
10
|
+
componentName: string;
|
|
11
|
+
userAgent: string;
|
|
12
|
+
legalEntityId: string;
|
|
13
|
+
userData?: Record<string, MixpanelProperty>;
|
|
14
|
+
}
|
|
15
|
+
export declare const useAnalyticsSession: (sessionData: SessionData, onboardingVersion: number | undefined, options?: QueryOptions<CorrectSuccessReponse>) => import("@tanstack/react-query").UseQueryResult<CorrectSuccessReponse, Error>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type MutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { components } from './analytics.contract';
|
|
3
|
+
type SuccessResponse = components['schemas']['JsonNode'];
|
|
4
|
+
type Request = components['schemas']['LogAnalyticRequest'];
|
|
5
|
+
export declare const usePushAnalyticEvent: (sessionId: string, options?: Omit<MutationOptions<SuccessResponse, unknown, Request>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<Record<string, never>, unknown, {
|
|
6
|
+
componentName: string;
|
|
7
|
+
eventData?: {
|
|
8
|
+
[key: string]: components["schemas"]["JsonNode"];
|
|
9
|
+
};
|
|
10
|
+
eventName: string;
|
|
11
|
+
eventType: string;
|
|
12
|
+
legalEntityId: string;
|
|
13
|
+
locale?: string;
|
|
14
|
+
sdkVersion: string;
|
|
15
|
+
userAgent: string;
|
|
16
|
+
}, unknown>;
|
|
17
|
+
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { FieldMetadata } from '#core/models/
|
|
2
|
-
import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
1
|
+
import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
3
2
|
import type { BankAccountNumberSchema } from './types';
|
|
4
3
|
export declare const defaultFieldMetadata: FieldMetadata<BankAccountNumberSchema, 'bankAccountNumber'>;
|
|
5
4
|
export declare const defaultFieldConfig: PerCountryFieldConfig<BankAccountNumberSchema, 'bankAccountNumber', NoParams>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { FieldMetadata } from '#core/models/
|
|
2
|
-
import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
1
|
+
import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
3
2
|
import type { BankCodeSchema } from './types';
|
|
4
3
|
export declare const defaultFieldMetadata: FieldMetadata<BankCodeSchema, 'bankCode'>;
|
|
5
4
|
export declare const defaultFieldConfig: PerCountryFieldConfig<BankCodeSchema, 'bankCode', NoParams>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { FieldMetadata } from '#core/models/
|
|
2
|
-
import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
1
|
+
import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
3
2
|
import type { BranchCodeSchema } from './types';
|
|
4
3
|
export declare const defaultFieldMetadata: FieldMetadata<BranchCodeSchema, 'branchCode'>;
|
|
5
4
|
export declare const defaultFieldConfig: PerCountryFieldConfig<BranchCodeSchema, 'branchCode', NoParams>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { FieldMetadata } from '#core/models/
|
|
2
|
-
import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
1
|
+
import type { FieldMetadata, NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
3
2
|
import type { IbanSchema } from './types';
|
|
4
3
|
export declare const defaultFieldMetadata: FieldMetadata<IbanSchema, 'iban'>;
|
|
5
4
|
export declare const defaultFieldConfig: PerCountryFieldConfig<IbanSchema, 'iban', NoParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FieldMetadata } from '#
|
|
1
|
+
import type { FieldMetadata } from '#models/field-configurations';
|
|
2
2
|
import type { SwiftCodeSchema } from './types';
|
|
3
3
|
export declare const swiftCodeFieldMetadata: FieldMetadata<SwiftCodeSchema, 'swiftCode'>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './BankDocumentRequirements.scss';
|
|
2
|
+
import { DocumentType } from '#core/models/api/document';
|
|
2
3
|
import type { CountryCode } from '#core/models/country-code';
|
|
3
4
|
import type { DocumentsModifiers } from './types';
|
|
4
|
-
import { BankDocumentTypes } from './types';
|
|
5
5
|
interface BankDocumentRequirementsProps {
|
|
6
6
|
country: CountryCode;
|
|
7
|
-
documentType:
|
|
7
|
+
documentType: DocumentType;
|
|
8
8
|
documentModifiers: DocumentsModifiers;
|
|
9
9
|
}
|
|
10
10
|
export declare const BankDocumentRequirements: ({ country, documentType, documentModifiers, }: BankDocumentRequirementsProps) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DocumentType } from '#core/models/api/document';
|
|
1
2
|
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
2
3
|
import type { LegalEntityType } from '#core/models/api/legal-entity-type';
|
|
3
4
|
import type { CountryCode } from '#core/models/country-code';
|
|
@@ -5,6 +6,7 @@ import type { FileSchema } from '#core/models/file';
|
|
|
5
6
|
import type { BaseInnerFormProps } from '#hooks/useForm/types';
|
|
6
7
|
import type { TranslationKey } from '#language/types';
|
|
7
8
|
export interface BankDocumentSchema {
|
|
9
|
+
documentType?: DocumentType;
|
|
8
10
|
bankStatementDocument?: FileSchema[];
|
|
9
11
|
description?: string;
|
|
10
12
|
}
|
|
@@ -13,13 +15,6 @@ export interface BankDocumentProps extends BaseInnerFormProps<BankDocumentSchema
|
|
|
13
15
|
associatedLegalArrangement?: ExistingLegalEntity;
|
|
14
16
|
country?: CountryCode;
|
|
15
17
|
}
|
|
16
|
-
export declare enum BankDocumentTypes {
|
|
17
|
-
BANK_STATEMENT = "bankStatement",
|
|
18
|
-
DEPOSIT_SLIP = "depositSlip",
|
|
19
|
-
SCREENSHOT_OF_BANK = "screenshotOfOnlineBankingEnviroment",
|
|
20
|
-
A_LETTER_FROM_YOUR_BANK = "aLetterFromYourBank",
|
|
21
|
-
CHECK = "check"
|
|
22
|
-
}
|
|
23
18
|
export interface DocumentsModifiers {
|
|
24
19
|
rootEntityType: LegalEntityType;
|
|
25
20
|
rootEntityLegalName: string;
|
|
@@ -28,7 +23,7 @@ export interface DocumentsModifiers {
|
|
|
28
23
|
associatedEntityTradingName?: string | undefined;
|
|
29
24
|
}
|
|
30
25
|
export declare const bankDocumentOptions: Array<{
|
|
31
|
-
id:
|
|
26
|
+
id: DocumentType;
|
|
32
27
|
name: TranslationKey;
|
|
33
28
|
}>;
|
|
34
29
|
export declare enum BankDocumentRequirement {
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FormRulesParams } from '#core/models/form-rules';
|
|
2
2
|
import type { PayoutDetailsSchema } from './types';
|
|
3
|
-
export declare const rules:
|
|
3
|
+
export declare const rules: ({ data, requiredFields, isExperimentEnabled, }: FormRulesParams<PayoutDetailsSchema>) => {
|
|
4
|
+
whenUsingManualVerification: () => "REQUIRED";
|
|
5
|
+
whenUsingInstantVerification: () => "REQUIRED";
|
|
6
|
+
verifiedBankAccountNumber: () => "REQUIRED";
|
|
7
|
+
bankStatementRequirement: () => "OPTIONAL" | "REQUIRED";
|
|
8
|
+
bankStatementDescription: () => "OPTIONAL";
|
|
9
|
+
};
|
|
10
|
+
export type PayoutRules = ReturnType<typeof rules>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AccountIdentification } from '#
|
|
2
|
-
import type { BankAccount } from '#
|
|
3
|
-
import type { CountryCode } from '#
|
|
4
|
-
import type { PayoutAccountSchema } from '../types';
|
|
1
|
+
import type { AccountIdentification } from '#models/api/accountIdentification';
|
|
2
|
+
import type { BankAccount } from '#models/api/transfer-instrument';
|
|
3
|
+
import type { CountryCode } from '#models/country-code';
|
|
4
|
+
import type { PayoutAccountSchema } from '../forms/PayoutAccount/types';
|
|
5
5
|
export declare const getAccountIdentificationFromPayoutAccountSchema: (payoutAccount: PayoutAccountSchema, bankCountry: CountryCode) => AccountIdentification;
|
|
6
6
|
export declare const mapPayoutAccountSchemaToApiBankAccount: (payoutAccount: PayoutAccountSchema, bankCountry: CountryCode) => BankAccount;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ExistingLegalEntity } from '#models/api/legal-entity';
|
|
2
|
+
import type { TransferInstrument } from '#models/api/transfer-instrument';
|
|
3
|
+
import type { PayoutDetailsSchema } from '../forms/PayoutDetails/types';
|
|
4
|
+
/**
|
|
5
|
+
* Easy to use function for mapping payout account details component data to transferInstrument
|
|
6
|
+
* @param payoutDetails - Details person data
|
|
7
|
+
* @returns transferInstrument - a transferInstrument the same as found in API response
|
|
8
|
+
*/
|
|
9
|
+
export declare const mapPayoutDetailsToTransferInstrument: ({ data, legalEntity, }: {
|
|
10
|
+
data: PayoutDetailsSchema;
|
|
11
|
+
legalEntity: ExistingLegalEntity;
|
|
12
|
+
}) => TransferInstrument;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ExistingTransferInstrument } from '#models/api/transfer-instrument';
|
|
2
|
+
import type { PayoutDetailsSchema } from '../forms/PayoutDetails/types';
|
|
3
|
+
/**
|
|
4
|
+
* Easy to use function for mapping transferInstrument response to payout account details component data
|
|
5
|
+
* @param transferInstrument - a transferInstrument the same as found in API response
|
|
6
|
+
* @returns a Payout Details person data
|
|
7
|
+
*/
|
|
8
|
+
export declare const mapTransferInstrumentToPayoutAccount: (transferInstrument: ExistingTransferInstrument) => PayoutDetailsSchema;
|