@adyen/kyc-components 3.54.2 → 3.55.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/es/{B4MFY5CR-BuYu03kz.js → B4MFY5CR-BnabZiPw.js} +1 -1
- package/dist/es/{HO4MOOFI-2gy36lPR.js → HO4MOOFI-CbQXxCI7.js} +2 -2
- package/dist/es/{HUY7CZI3-CHko2UyX.js → HUY7CZI3-C5Xiww-6.js} +2 -2
- package/dist/es/adyen-kyc-components.es.js +1 -1
- package/dist/es/{index-DQEdl1Ya.js → index-ejaIsAw5.js} +47041 -53314
- package/dist/style.css +2437 -2441
- package/dist/types/api/address/useAddressCleanse.d.ts +4 -0
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +1 -1
- package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +12 -0
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/pciTemplate/usePciStatus.d.ts +1 -1
- package/dist/types/api/useSourceOfFunds.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/types.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BranchCode/fieldConfig.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BranchCode/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/SwiftCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +3 -3
- package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/BankVerification/validate.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutAccount/helpers/mapPayoutAccountSchemaToApiBankAccount.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +3 -3
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +10 -10
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PayoutVerificationMethod.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +4 -4
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +3 -3
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +3 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard.d.ts +1 -1
- package/dist/types/components/Business/forms/Company/rules.d.ts +1 -1
- package/dist/types/components/Business/forms/Company/types.d.ts +2 -2
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/config.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +2 -2
- package/dist/types/components/Business/hooks/useBusinessData/types.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +7 -7
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/tasks/CompanyDropin/types.d.ts +2 -2
- package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/useServiceAgreement.d.ts +1 -1
- package/dist/types/components/EFP/fields/LegalFormField/types.d.ts +2 -2
- package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +2 -2
- package/dist/types/components/EFP/hooks/useSourceOfFundsTaskStatus.d.ts +1 -1
- package/dist/types/components/EFP/tasks/HighExposureDropin/types.d.ts +5 -4
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +6 -5
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +2 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +10 -10
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +8 -9
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/validate.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +0 -2
- package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/utils.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +5 -1
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +1 -1
- package/dist/types/components/Individual/fields/DecisionMakerRole/validate.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -4
- package/dist/types/components/Individual/fields/IdentityNumber/type.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +2 -1
- package/dist/types/components/Individual/forms/Individual/IndividualExperimentWrapper.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/DriversLicense.d.ts +5 -4
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/validate.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/validate.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/DriversLicense.d.ts +4 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +10 -10
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/types.d.ts +14 -14
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +7 -5
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/Identity.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +6 -6
- package/dist/types/components/Individual/hooks/useShowMotionCapture.d.ts +13 -0
- package/dist/types/components/Shared/DropinLayout/types.d.ts +3 -4
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -2
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +2 -2
- package/dist/types/components/Shared/FormNavigation/types.d.ts +1 -1
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Shared/SingpassSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/LegalCompanyNameField/LegalCompanyNameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/FieldContainer.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/validate.d.ts +2 -2
- package/dist/types/components/Shared/forms/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/FinancialInformation/ReportedValue.d.ts +3 -3
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +5 -5
- package/dist/types/components/SoleProprietorship/forms/SoleProp/types.d.ts +1 -1
- package/dist/types/components/SoleProprietorship/hooks/useExemptSettlor.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -2
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +1 -1
- package/dist/types/components/Trust/utils/addOrUpdateAssociatedTrustMember.d.ts +1 -1
- package/dist/types/components/Trust/utils/addOrUpdateUndefinedBeneficiary.d.ts +1 -1
- package/dist/types/components/Trust/utils/createExemptSettlor.d.ts +1 -1
- package/dist/types/components/Trust/utils/deleteAssociatedTrustMember.d.ts +1 -1
- package/dist/types/components/Trust/utils/deleteUndefinedBeneficiary.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustUtil.d.ts +2 -2
- package/dist/types/components/Trust/utils/updateExemptSettlorName.d.ts +1 -1
- package/dist/types/components/index.d.ts +7 -7
- package/dist/types/components/ui/atoms/Accordion/Accordion.d.ts +1 -1
- package/dist/types/components/ui/atoms/Field/Field.d.ts +1 -1
- package/dist/types/components/ui/atoms/Field/Field.types.d.ts +3 -2
- package/dist/types/components/ui/atoms/List/List.d.ts +9 -3
- package/dist/types/components/ui/atoms/MaskedInput/MaskedInput.d.ts +3 -2
- package/dist/types/components/ui/atoms/SelectList/SelectList.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +2 -2
- package/dist/types/components/ui/molecules/DocumentGuidance/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/validate.d.ts +1 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +1 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
- package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/FormEndState/types.d.ts +1 -1
- package/dist/types/core/UIElement/UIElement.d.ts +3 -3
- package/dist/types/core/analytics.d.ts +1 -5
- package/dist/types/core/context/ApiContext/ApiProvider.d.ts +6 -4
- package/dist/types/core/context/ConfigurationApiContext/ConfigurationApiContext.d.ts +1 -1
- package/dist/types/core/context/CoreContext/CoreContext.d.ts +2 -2
- package/dist/types/core/context/ExperimentContext/types.d.ts +1 -2
- package/dist/types/core/context/FormContext/FormContextProvider.d.ts +1 -1
- package/dist/types/core/context/FormContext/types.d.ts +1 -1
- package/dist/types/core/context/FormContext/useFormContext.d.ts +1 -1
- package/dist/types/core/context/I18nProvider/I18nProvider.d.ts +1 -1
- package/dist/types/core/context/StateContext/types.d.ts +6 -6
- package/dist/types/core/core.d.ts +1 -1
- package/dist/types/core/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -2
- package/dist/types/core/hooks/useAnalytics.d.ts +1 -1
- package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +1 -1
- package/dist/types/core/hooks/useBusinessSetup.d.ts +1 -1
- package/dist/types/core/hooks/useComponentApi.d.ts +0 -1
- package/dist/types/core/hooks/useForm/types.d.ts +2 -2
- package/dist/types/core/hooks/useFormComposer.d.ts +1 -1
- package/dist/types/core/hooks/useMultiForm/reducer.d.ts +1 -1
- package/dist/types/core/hooks/useMultiForm/types.d.ts +1 -1
- package/dist/types/core/hooks/useScenarioConfiguration.d.ts +1 -1
- package/dist/types/core/models/api/get-configuration.d.ts +1 -1
- package/dist/types/core/models/api/source-of-funds.d.ts +2 -2
- package/dist/types/core/models/api/view-verification-status.d.ts +2 -8
- package/dist/types/core/models/country-config.d.ts +1 -1
- package/dist/types/core/models/errors/entity-problems.d.ts +1 -1
- package/dist/types/core/models/form-rules.d.ts +2 -2
- package/dist/types/core/models/payout-account.d.ts +2 -2
- package/dist/types/core/process-field-configurations.d.ts +7 -7
- package/dist/types/core/services/componentApi/open-singpass-authorization-link.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +2 -2
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +1 -1
- package/dist/types/datasets/generators/getLegalArrangementTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/stores/globalStore/StoreProvider.d.ts +1 -1
- package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +4 -4
- package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +7 -5
- package/dist/types/stores/globalStore/globalStore.d.ts +8 -8
- package/dist/types/utils/accountHolderUtils.d.ts +1 -1
- package/dist/types/utils/api/processValidationErrors.d.ts +1 -1
- package/dist/types/utils/birthDateUtils.d.ts +2 -2
- package/dist/types/utils/decisionMakerRoles.d.ts +1 -1
- package/dist/types/utils/entityAssociationUtil.d.ts +3 -3
- package/dist/types/utils/entityStatusUtil.d.ts +2 -2
- package/dist/types/utils/formUtils.d.ts +3 -3
- package/dist/types/utils/getFieldsWithExistingData.d.ts +1 -1
- package/dist/types/utils/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -1
- package/dist/types/utils/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
- package/dist/types/utils/mapping/componentApiMapping.d.ts +36 -30
- package/dist/types/utils/mapping/customerSupport/mapCustomerSupportSchemaToCustomerSupportType.d.ts +1 -1
- package/dist/types/utils/mapping/mapping.d.ts +8 -8
- package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +1 -1
- package/package.json +6 -15
- package/dist/types/api/useAddressCleanse.d.ts +0 -4
- package/dist/types/components/ui/atoms/List/List.types.d.ts +0 -8
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +0 -2
- package/dist/types/components/ui/atoms/ListItem/ListItem.types.d.ts +0 -6
- package/dist/types/core/services/componentApi/generate-onboarding-link.d.ts +0 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseInnerFormProps, FieldData, MaskSettings } from '../core/hooks/useForm/types';
|
|
2
2
|
import type { FieldMetadata } from '../core/models/country-config';
|
|
3
3
|
import type { Language } from '../language/Language';
|
|
4
|
-
import type { TranslationKey } from '../language/types';
|
|
4
|
+
import type { Translatable, TranslationKey } from '../language/types';
|
|
5
5
|
import type { ValidationRuleResult, ValidationRuleResults } from './validation/types';
|
|
6
6
|
export type FormUtils<Schema> = {
|
|
7
7
|
getLabel: (field: keyof Schema | string, fallbackLabelKey?: TranslationKey) => string;
|
|
@@ -15,12 +15,12 @@ export type FormUtils<Schema> = {
|
|
|
15
15
|
isVisibleField: (field: keyof Schema, showIfNotInRequiredFields?: boolean) => boolean;
|
|
16
16
|
isReadOnly: (field: keyof Schema) => boolean;
|
|
17
17
|
isTrusted: (field: keyof Schema) => boolean;
|
|
18
|
-
getErrorMessage: (field: keyof Schema, errors: ValidationRuleResults<Schema> | null | undefined, fieldProblems: Partial<Record<keyof Schema, boolean>> | undefined) =>
|
|
18
|
+
getErrorMessage: (field: keyof Schema, errors: ValidationRuleResults<Schema> | null | undefined, fieldProblems: Partial<Record<keyof Schema, boolean>> | undefined) => Translatable | boolean;
|
|
19
19
|
getFieldData: <Fields extends Array<keyof Schema>, FieldSchema extends {
|
|
20
20
|
[field in keyof Schema]: Schema[field];
|
|
21
21
|
}>(formData: Schema, fieldKeys: Fields) => FieldData<FieldSchema>;
|
|
22
22
|
getFieldValid: (formValid: Partial<Record<keyof Schema, boolean>>, fieldKeys: Array<keyof Schema>) => Record<keyof Schema, boolean>;
|
|
23
|
-
getFieldErrors: (formErrors: Partial<Record<keyof Schema, ValidationRuleResult | null>>, fieldProblems: Partial<Record<keyof Schema, boolean>> | undefined, fieldKeys: Array<keyof Schema>) => Record<keyof Schema,
|
|
23
|
+
getFieldErrors: (formErrors: Partial<Record<keyof Schema, ValidationRuleResult | null>>, fieldProblems: Partial<Record<keyof Schema, boolean>> | undefined, fieldKeys: Array<keyof Schema>) => Record<keyof Schema, Translatable | boolean>;
|
|
24
24
|
getFieldLabels: (fieldKeys: Array<keyof Schema>, fallbackLabelKeys?: Partial<Record<keyof Schema, TranslationKey>>) => Partial<Record<keyof Schema, string>>;
|
|
25
25
|
getFieldPlaceholders: (fieldKeys: Array<keyof Schema>, fallbackPlaceholderKeys?: Partial<Record<keyof Schema, TranslationKey>>) => Partial<Record<keyof Schema, string>>;
|
|
26
26
|
getFieldHelperText: (fieldKeys: Array<keyof Schema>, fallbackHelperTextKeys?: Partial<Record<keyof Schema, TranslationKey>>) => Partial<Record<keyof Schema, string>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { BusinessDetailsSchema } from '../components/Business/forms/BusinessDetails/types';
|
|
2
2
|
import type { CompanySchema } from '../components/Business/forms/Company/types';
|
|
3
|
+
import type { IndividualSchema } from '../components/Individual/forms/Individual/types';
|
|
3
4
|
import type { SolePropSchema } from '../components/SoleProprietorship/forms/SoleProp/types';
|
|
4
5
|
import type { TrustSchema } from '../components/Trust/forms/Trust/types';
|
|
5
6
|
import type { ExperimentName } from '../core/context/ExperimentContext/types';
|
|
6
7
|
import type { ExistingLegalEntity } from '../core/models/api/legal-entity';
|
|
7
8
|
import type { RecursiveKeyOf } from './getNestedPropertyKeys';
|
|
8
|
-
import type { IndividualSchema } from '../components/Individual/forms/Individual/types';
|
|
9
9
|
export type AnyTLDSFieldName = RecursiveKeyOf<IndividualSchema> | RecursiveKeyOf<CompanySchema> | RecursiveKeyOf<BusinessDetailsSchema> | RecursiveKeyOf<SolePropSchema> | RecursiveKeyOf<TrustSchema>;
|
|
10
10
|
export declare const getFieldsWithExistingData: (legalEntity: ExistingLegalEntity, isExperimentEnabled?: (key: ExperimentName) => boolean) => AnyTLDSFieldName[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BusinessDetailsSchema } from '../../../components/Business/forms/BusinessDetails/types';
|
|
2
|
+
import type { ExperimentName } from '../../../core/context/ExperimentContext/types';
|
|
2
3
|
import type { Document } from '../../../core/models/api/document';
|
|
3
4
|
import type { LegalEntity } from '../../../core/models/api/legal-entity';
|
|
4
|
-
import type { ExperimentName } from '../../../core/context/ExperimentContext/types';
|
|
5
5
|
export declare const mapBusinessDetailsDocumentToApiDocument: (data: BusinessDetailsSchema, entityId: string) => Promise<Document[]>;
|
|
6
6
|
export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, isExperimentEnabled: (key: ExperimentName) => boolean) => LegalEntity;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DBANameFieldSchema } from '../../../components/Shared/fields/DBANameField/types';
|
|
2
1
|
import type { BusinessDetailsSchema } from '../../../components/Business/forms/BusinessDetails/types';
|
|
2
|
+
import type { DBANameFieldSchema } from '../../../components/Shared/fields/DBANameField/types';
|
|
3
3
|
import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
|
|
4
4
|
export declare const mapApiDocumentToBusinessDetailsDocuments: (entityId: string) => BusinessDetailsSchema;
|
|
5
5
|
export declare const mapApiDocumentToBusinessDetailsForSolePropDocuments: (entityId: string) => BusinessDetailsSchema;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { PayoutDetailsSchema } from '../../components/BankAccount/forms/PayoutDetails/types';
|
|
1
2
|
import type { BusinessDetailsSchema } from '../../components/Business/forms/BusinessDetails/types';
|
|
2
3
|
import type { CompanySchema } from '../../components/Business/forms/Company/types';
|
|
3
4
|
import type { HighExposureSchema } from '../../components/EFP/tasks/HighExposureDropin/types';
|
|
5
|
+
import type { IndividualSchema } from '../../components/Individual/forms/Individual/types';
|
|
4
6
|
import type { SolePropSchema } from '../../components/SoleProprietorship/forms/SoleProp/types';
|
|
5
7
|
import type { TrustSchema } from '../../components/Trust/forms/Trust/types';
|
|
6
8
|
import { DocumentType } from '../../core/models/api/document';
|
|
@@ -9,9 +11,7 @@ import { LegalEntityType } from '../../core/models/api/legal-entity-type';
|
|
|
9
11
|
import type { ExistingTransferInstrument } from '../../core/models/api/transfer-instrument';
|
|
10
12
|
import type { AnyTLDSFieldName } from '../getFieldsWithExistingData';
|
|
11
13
|
import type { RecursiveKeyOf } from '../getNestedPropertyKeys';
|
|
12
|
-
|
|
13
|
-
import type { IndividualSchema } from '../../components/Individual/forms/Individual/types';
|
|
14
|
-
type MappingRecord<SourceSchema extends object, TargetSchema extends object> = Partial<Record<RecursiveKeyOf<SourceSchema>, RecursiveKeyOf<TargetSchema>>>;
|
|
14
|
+
export type MappingRecord<SourceSchema extends object, TargetSchema extends object> = Partial<Record<RecursiveKeyOf<SourceSchema>, RecursiveKeyOf<TargetSchema>>>;
|
|
15
15
|
type DocumentMappingRecord<TargetSchema extends object> = Partial<Record<DocumentType, RecursiveKeyOf<TargetSchema>>>;
|
|
16
16
|
export type AnyComponentMappingRecord = MappingRecord<IndividualSchema, Pick<LegalEntity, 'individual'>> | MappingRecord<BusinessDetailsSchema, Pick<LegalEntity, 'organization'>> | MappingRecord<CompanySchema, Pick<LegalEntity, 'organization'>> | MappingRecord<SolePropSchema, Pick<LegalEntity, 'soleProprietorship'>> | MappingRecord<TrustSchema, Pick<LegalEntity, 'trust'>>;
|
|
17
17
|
export declare const mandatoryApiFields: {
|
|
@@ -28,7 +28,13 @@ export declare const individualObscuredFields: Array<RecursiveKeyOf<IndividualSc
|
|
|
28
28
|
* **ComponentsKeyMapping -> Use it in formatObject function to create componentSchema object from API object
|
|
29
29
|
* **ApiKeyMapping -> Use it in formatObject function to create API Schema object from component data
|
|
30
30
|
*/
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated Use /src/components/Individual/mapping/IndividualToLegalEntity.mapper
|
|
33
|
+
*/
|
|
31
34
|
export declare const individualComponentsKeyMapping: MappingRecord<IndividualSchema, Pick<LegalEntity, 'individual'>>;
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated Use /src/components/Individual/mapping/IndividualToLegalEntity.mapper
|
|
37
|
+
*/
|
|
32
38
|
export declare const individualApiKeyMapping: MappingRecord<Pick<LegalEntity, 'individual'>, IndividualSchema>;
|
|
33
39
|
export declare const businessDetailsComponentsKeyMapping: MappingRecord<Omit<BusinessDetailsSchema, 'companyRegistrationDocument' | 'companyTaxDocument' | 'companyProofOfDirectorDocument' | 'companyConstitutionalDocument'>, Pick<LegalEntity, 'organization'>>;
|
|
34
40
|
export declare const solePropBusinessDetailsComponentsKeyMapping: MappingRecord<Omit<BusinessDetailsSchema, 'companyRegistrationDocument' | 'companyTaxDocument' | 'companyProofOfDirectorDocument'>, Pick<LegalEntity, 'soleProprietorship'>>;
|
|
@@ -70,6 +76,33 @@ export declare const remediationPayoutApiKeyMapping: {
|
|
|
70
76
|
documentDetails?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
71
77
|
problems?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
72
78
|
legalEntityId?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
79
|
+
"bankAccount.bankName"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
80
|
+
"bankAccount.countryCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
81
|
+
"bankAccount.accountIdentification.type"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
82
|
+
"bankAccount.accountIdentification.iban"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
83
|
+
"bankAccount.accountIdentification.accountNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
84
|
+
"bankAccount.accountIdentification.bic"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
85
|
+
"bankAccount.accountIdentification.additionalBankIdentification.type"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
86
|
+
"bankAccount.accountIdentification.additionalBankIdentification.code"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
87
|
+
"bankAccount.accountIdentification.bsbCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
88
|
+
"bankAccount.accountIdentification.bankName"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
89
|
+
"bankAccount.accountIdentification.branchCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
90
|
+
"bankAccount.accountIdentification.ispbCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
91
|
+
"bankAccount.accountIdentification.institutionNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
92
|
+
"bankAccount.accountIdentification.transitNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
93
|
+
"bankAccount.accountIdentification.accountType"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
94
|
+
"bankAccount.accountIdentification.bankCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
95
|
+
"bankAccount.accountIdentification.clearingCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
96
|
+
"bankAccount.accountIdentification.clearingNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
97
|
+
"bankAccount.accountIdentification.sortCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
98
|
+
"bankAccount.accountIdentification.routingNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
99
|
+
"bankAccount.trustedSource"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
100
|
+
"capabilities.processing.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
101
|
+
"capabilities.processing.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
102
|
+
"capabilities.processing.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
103
|
+
"capabilities.processing.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
104
|
+
"capabilities.processing.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
105
|
+
"capabilities.processing.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
73
106
|
"capabilities.acceptExternalFunding.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
74
107
|
"capabilities.acceptExternalFunding.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
75
108
|
"capabilities.acceptExternalFunding.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
@@ -220,12 +253,6 @@ export declare const remediationPayoutApiKeyMapping: {
|
|
|
220
253
|
"capabilities.payoutToTransferInstrument.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
221
254
|
"capabilities.payoutToTransferInstrument.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
222
255
|
"capabilities.payoutToTransferInstrument.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
223
|
-
"capabilities.processing.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
224
|
-
"capabilities.processing.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
225
|
-
"capabilities.processing.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
226
|
-
"capabilities.processing.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
227
|
-
"capabilities.processing.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
228
|
-
"capabilities.processing.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
229
256
|
"capabilities.receiveFromBalanceAccount.allowed"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
230
257
|
"capabilities.receiveFromBalanceAccount.requested"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
231
258
|
"capabilities.receiveFromBalanceAccount.verificationStatus"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
@@ -376,27 +403,6 @@ export declare const remediationPayoutApiKeyMapping: {
|
|
|
376
403
|
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.transferInstruments.length"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
377
404
|
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.allowedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
378
405
|
"capabilities.withdrawFromAtmInRestrictedCountriesConsumer.requestedLevel"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
379
|
-
"bankAccount.bankName"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
380
|
-
"bankAccount.countryCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
381
|
-
"bankAccount.accountIdentification.type"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
382
|
-
"bankAccount.accountIdentification.iban"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
383
|
-
"bankAccount.accountIdentification.accountNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
384
|
-
"bankAccount.accountIdentification.bic"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
385
|
-
"bankAccount.accountIdentification.additionalBankIdentification.type"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
386
|
-
"bankAccount.accountIdentification.additionalBankIdentification.code"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
387
|
-
"bankAccount.accountIdentification.bsbCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
388
|
-
"bankAccount.accountIdentification.bankName"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
389
|
-
"bankAccount.accountIdentification.branchCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
390
|
-
"bankAccount.accountIdentification.ispbCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
391
|
-
"bankAccount.accountIdentification.institutionNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
392
|
-
"bankAccount.accountIdentification.transitNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
393
|
-
"bankAccount.accountIdentification.accountType"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
394
|
-
"bankAccount.accountIdentification.bankCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
395
|
-
"bankAccount.accountIdentification.clearingCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
396
|
-
"bankAccount.accountIdentification.clearingNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
397
|
-
"bankAccount.accountIdentification.sortCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
398
|
-
"bankAccount.accountIdentification.routingNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
399
|
-
"bankAccount.trustedSource"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
400
406
|
BankAccount: string;
|
|
401
407
|
};
|
|
402
408
|
export declare const remediationTrustKeyMapping: MappingRecord<Pick<LegalEntity, 'trust'>, TrustSchema> & DocumentMappingRecord<TrustSchema>;
|
package/dist/types/utils/mapping/customerSupport/mapCustomerSupportSchemaToCustomerSupportType.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CustomerSupport } from '../../../core/models/api/customerSupport';
|
|
2
1
|
import type { CustomerSupportSchema } from '../../../components/Shared/tasks/CustomerSupport/types';
|
|
2
|
+
import type { CustomerSupport } from '../../../core/models/api/customerSupport';
|
|
3
3
|
export declare const mapCustomerSupportSchemaToCustomerSupportType: (customerSupport: CustomerSupportSchema) => CustomerSupport;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
+
import type { BankDocumentSchema } from '../../components/BankAccount/forms/BankDocument/types';
|
|
2
|
+
import type { PayoutDetailsSchema } from '../../components/BankAccount/forms/PayoutDetails/types';
|
|
3
|
+
import type { BusinessDetailsSchema } from '../../components/Business/forms/BusinessDetails/types';
|
|
1
4
|
import type { CompanySchema } from '../../components/Business/forms/Company/types';
|
|
2
5
|
import type { HighExposureSchema } from '../../components/EFP/tasks/HighExposureDropin/types';
|
|
6
|
+
import type { SourceOfFundsSchema } from '../../components/EFP/tasks/SourceOfFundsDropin/types';
|
|
7
|
+
import type { PersonalDetailsSchema } from '../../components/Individual/forms/Individual/PersonalDetails/types';
|
|
8
|
+
import type { IndividualSchema } from '../../components/Individual/forms/Individual/types';
|
|
3
9
|
import type { FinancialInformationSchema } from '../../components/Shared/forms/FinancialInformation/types';
|
|
4
10
|
import type { SolePropSchema } from '../../components/SoleProprietorship/forms/SoleProp/types';
|
|
5
11
|
import type { TrustSchema } from '../../components/Trust/forms/Trust/types';
|
|
12
|
+
import type { ExperimentName } from '../../core/context/ExperimentContext/types';
|
|
6
13
|
import type { PageType } from '../../core/models/api/attachment';
|
|
7
14
|
import type { Document } from '../../core/models/api/document';
|
|
8
15
|
import type { FinancialReport } from '../../core/models/api/financialReport';
|
|
9
16
|
import type { Individual } from '../../core/models/api/individual';
|
|
10
17
|
import type { ExistingLegalEntity, LegalEntity } from '../../core/models/api/legal-entity';
|
|
18
|
+
import type { BusinessLinesType } from '../../core/models/api/source-of-funds';
|
|
11
19
|
import type { ExistingTransferInstrument, TransferInstrument } from '../../core/models/api/transfer-instrument';
|
|
12
20
|
import type { FileSchema } from '../../core/models/file';
|
|
13
|
-
import type { SourceOfFundsSchema } from '../../components/EFP/tasks/SourceOfFundsDropin/types';
|
|
14
|
-
import type { BusinessLinesType } from '../../core/models/api/source-of-funds';
|
|
15
|
-
import type { PayoutDetailsSchema } from '../../components/BankAccount/forms/PayoutDetails/types';
|
|
16
|
-
import type { BankDocumentSchema } from '../../components/BankAccount/forms/BankDocument/types';
|
|
17
|
-
import type { PersonalDetailsSchema } from '../../components/Individual/forms/Individual/PersonalDetails/types';
|
|
18
|
-
import type { IndividualSchema } from '../../components/Individual/forms/Individual/types';
|
|
19
|
-
import type { BusinessDetailsSchema } from '../../components/Business/forms/BusinessDetails/types';
|
|
20
|
-
import type { ExperimentName } from '../../core/context/ExperimentContext/types';
|
|
21
21
|
export declare const adjustIdentificationData: (data: PersonalDetailsSchema, apiData: Individual["identificationData"]) => Individual["identificationData"];
|
|
22
22
|
/**
|
|
23
23
|
* Easy to use function for mapping transferInstrument response to payout account details component data
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ConfigurationApi } from '../../../core/context/ConfigurationApiContext/ConfigurationApiContext';
|
|
2
1
|
import type { PersonalDetailsSchema } from '../../../components/Individual/forms/Individual/PersonalDetails/types';
|
|
2
|
+
import type { ConfigurationApi } from '../../../core/context/ConfigurationApiContext/ConfigurationApiContext';
|
|
3
3
|
type Verification = {
|
|
4
4
|
field: string;
|
|
5
5
|
isVerified: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.55.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -26,19 +26,6 @@
|
|
|
26
26
|
},
|
|
27
27
|
"./styles.css": "./dist/style.css"
|
|
28
28
|
},
|
|
29
|
-
"imports": {
|
|
30
|
-
"#*": [
|
|
31
|
-
"./src/*",
|
|
32
|
-
"./src/*.ts",
|
|
33
|
-
"./src/*.tsx",
|
|
34
|
-
"./src/*.js",
|
|
35
|
-
"./src/*.jsx",
|
|
36
|
-
"./src/*/index.ts",
|
|
37
|
-
"./src/*/index.tsx",
|
|
38
|
-
"./src/*/index.js",
|
|
39
|
-
"./src/*/index.jsx"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
29
|
"types": "./dist/types/index.d.ts",
|
|
43
30
|
"repository": {
|
|
44
31
|
"type": "git",
|
|
@@ -102,6 +89,7 @@
|
|
|
102
89
|
"classnames": "^2.5.1",
|
|
103
90
|
"container-query-polyfill": "^1.0.2",
|
|
104
91
|
"isomorphic-dompurify": "^2.17.0",
|
|
92
|
+
"lodash-es": "^4.17.21",
|
|
105
93
|
"named-slots": "^0.3.1",
|
|
106
94
|
"onfido-sdk-ui": "14.38.0",
|
|
107
95
|
"preact": "^10.25.4",
|
|
@@ -126,9 +114,11 @@
|
|
|
126
114
|
"@storybook/addon-storysource": "^7.6.20",
|
|
127
115
|
"@storybook/core-server": "^8.4.0",
|
|
128
116
|
"@storybook/experimental-addon-test": "^8.4.0",
|
|
117
|
+
"@storybook/manager-api": "^8.4.0",
|
|
129
118
|
"@storybook/preact": "^8.4.0",
|
|
130
119
|
"@storybook/preact-vite": "^8.4.0",
|
|
131
120
|
"@storybook/test": "^8.4.0",
|
|
121
|
+
"@storybook/theming": "^8.4.0",
|
|
132
122
|
"@tanstack/eslint-plugin-query": "^5.62.1",
|
|
133
123
|
"@testing-library/jest-dom": "^6.5.0",
|
|
134
124
|
"@testing-library/preact": "^3.2.3",
|
|
@@ -151,6 +141,7 @@
|
|
|
151
141
|
"eslint-plugin-check-file": "^2.8.0",
|
|
152
142
|
"eslint-plugin-import": "^2.31.0",
|
|
153
143
|
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
144
|
+
"eslint-plugin-paths": "^1.1.0",
|
|
154
145
|
"eslint-plugin-prettier": "^5.2.1",
|
|
155
146
|
"eslint-plugin-react": "^7.36.1",
|
|
156
147
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
@@ -159,7 +150,6 @@
|
|
|
159
150
|
"happy-dom": "^17.4.4",
|
|
160
151
|
"inquirer": "^11.1.0",
|
|
161
152
|
"jsonc-eslint-parser": "^2.4.0",
|
|
162
|
-
"lodash-es": "^4.17.21",
|
|
163
153
|
"msw": "^2.7.3",
|
|
164
154
|
"msw-storybook-addon": "^2.0.2",
|
|
165
155
|
"phone": "^3.1.40",
|
|
@@ -180,6 +170,7 @@
|
|
|
180
170
|
"vite": "^5.4.16",
|
|
181
171
|
"vite-node": "^2.1.6",
|
|
182
172
|
"vite-plugin-svgr": "^4.3.0",
|
|
173
|
+
"vite-tsconfig-paths": "^4.2.3",
|
|
183
174
|
"vitest": "^2.1.9"
|
|
184
175
|
},
|
|
185
176
|
"overrides": {
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { QueryOptions } from './types';
|
|
2
|
-
import type { CleanseAPIRequestPayload } from '../core/models/api/contracts';
|
|
3
|
-
import type { LoqateAddress } from '../core/models/api/address-search';
|
|
4
|
-
export declare const useAddressCleanse: (data: CleanseAPIRequestPayload | undefined, options?: QueryOptions<LoqateAddress>) => import("@tanstack/react-query").UseQueryResult<LoqateAddress, Error>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { OnboardingLinkConfig, OnboardingLinkResponse } from '../../models/api/view-verification-status';
|
|
2
|
-
import type { ComponentApiRequestContext } from '../types';
|
|
3
|
-
export declare const generateOnboardingLink: (context: ComponentApiRequestContext, config: OnboardingLinkConfig) => Promise<OnboardingLinkResponse>;
|