@adyen/kyc-components 3.68.0 → 3.68.1
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/{AcceptTermsOfServiceComponent-yutCVhdr.js → AcceptTermsOfServiceComponent-CU2alc91.js} +8 -14
- package/dist/{AccountSetupRejected-Bp9MbaZF.js → AccountSetupRejected-CJ-_A3Ny.js} +2 -2
- package/dist/{BusinessTypeSelection-Bda3HjOy.js → BusinessTypeSelection-8O8S1NJQ.js} +3 -3
- package/dist/{CXEL7IU7-DIlmKme0.js → CXEL7IU7-BJwGAGi_.js} +2 -2
- package/dist/{CreateIndividualComponent-wIMjaodd.js → CreateIndividualComponent-CbKLS3lw.js} +13 -8
- package/dist/{CustomerSupport-BBpiWDZu.js → CustomerSupport-DwHNm45d.js} +2 -2
- package/dist/{DebugModal-Chl6VeCw.js → DebugModal-Bl6alyPp.js} +8 -8
- package/dist/{DecisionMakers-91Uxeb4Z.js → DecisionMakers-D35kGGBp.js} +3 -3
- package/dist/{EmbedShell-BgnrqkKO.js → EmbedShell-uQMA3IsQ.js} +3 -3
- package/dist/{EventEmitter-MB52FRnR.js → EventEmitter-BCgWoSHk.js} +38 -30
- package/dist/{HASRA6WW-CYutWFzS.js → HASRA6WW-bymne0OX.js} +1 -1
- package/dist/{I3HPI4QX-h-J4eisw.js → I3HPI4QX-BjDbFXav.js} +2 -2
- package/dist/{Introduction-Cn5uh084.js → Introduction-C0NQbS7T.js} +2 -2
- package/dist/{Review-BITkfvbx.js → Review-dqxqat30.js} +4 -3
- package/dist/{SingpassSelection-BPrfSrSw.js → SingpassSelection-Dkxz3a-V.js} +1 -1
- package/dist/{TaxReportingDropin-DZLUs3Hb.js → TaxReportingDropin-E8B4As4p.js} +5 -5
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-DnQST_lN.js → core-PYXN6HpB.js} +72 -72
- package/dist/{css-ChtZI8YA.js → css-w3W1DNq3.js} +1 -1
- package/dist/individual.js +2 -2
- package/dist/{json-CY-QM445.js → json-BVkPD1GZ.js} +1 -1
- package/dist/{listToRecord-CogvyLiD.js → listToRecord-CBVflh7a.js} +1 -1
- package/dist/{plaintext-BzvCXlZZ.js → plaintext-Bgjkv8j9.js} +1 -1
- package/dist/terms-of-service.js +2 -2
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -0
- package/dist/types/api/address/useRetrieveAddress.d.ts +5 -0
- package/dist/types/api/address/useSearchAddress.d.ts +1 -0
- package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -0
- package/dist/types/api/check/useCheck.d.ts +2 -0
- package/dist/types/api/configurations/useScenarios.d.ts +1 -0
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -0
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -0
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -4
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -0
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -0
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -0
- package/dist/types/api/documents/{useGetDocument.d.ts → useDocument.d.ts} +6 -1
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +5 -0
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -0
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -0
- package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +1 -0
- package/dist/types/api/pciTemplate/usePciStatus.d.ts +1 -0
- package/dist/types/api/pciTemplate/usePciTemplate.d.ts +1 -0
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -0
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +1 -0
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -0
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +9 -0
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -0
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -0
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +1 -0
- package/dist/types/api/transferInstruments/{useGetBankVerificationProviders.d.ts → useBankVerificationProviders.d.ts} +5 -1
- package/dist/types/api/transferInstruments/{useGetTransferInstrument.d.ts → useTransferInstrument.d.ts} +6 -1
- package/dist/types/api/transferInstruments/{useGetTransferInstruments.d.ts → useTransferInstruments.d.ts} +2 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +5 -0
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -1
- package/dist/types/components/ui/atoms/Checkbox/Checkbox.d.ts +5 -1
- package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.d.ts +1 -1
- package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.types.d.ts +1 -0
- package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -1
- package/dist/{yaml-CFgf8XoZ.js → yaml-Jyq-xpmw.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { QueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ExistingDocument } from '../../core/models/api/document';
|
|
3
3
|
import type { ComponentApiRequestContext } from '../../core/services/types';
|
|
4
|
+
/**
|
|
5
|
+
* Variables:
|
|
6
|
+
* * `documentId`
|
|
7
|
+
*/
|
|
8
|
+
export type QueryKeyDocument = ['document', string];
|
|
4
9
|
export declare const getDocument: (context: ComponentApiRequestContext, documentId: string) => Promise<ExistingDocument>;
|
|
5
|
-
export declare const
|
|
10
|
+
export declare const useDocument: (documentId: string, options?: QueryOptions<ExistingDocument>) => import("@tanstack/react-query").UseQueryResult<ExistingDocument, Error>;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
|
|
2
2
|
import type { QueryOptions } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Variables:
|
|
5
|
+
* * `legalEntityId`
|
|
6
|
+
*/
|
|
7
|
+
export type QueryKeyLegalEntity = ['legalEntity', string];
|
|
3
8
|
/**
|
|
4
9
|
* Without id, this returns the root legal entity
|
|
5
10
|
* With id it will return a child of the root (unless root is passed in)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { OnboardingStatusResponse } from '../../core/models/api/view-verification-status';
|
|
2
2
|
import type { QueryOptions } from '../types';
|
|
3
|
+
export type QueryKeyOnboardingStatus = ['onboardingStatus'];
|
|
3
4
|
export declare const useOnboardingStatus: (options?: QueryOptions<OnboardingStatusResponse>) => import("@tanstack/react-query").UseQueryResult<OnboardingStatusResponse, Error>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { QueryOptions } from '../../../types';
|
|
2
2
|
import type { SingpassLinkResponse } from '../../components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
3
|
+
export type QueryKeyOpenIdAuthorizationLink = ['openIdAuthorizationLink'];
|
|
3
4
|
export declare const useOpenIdAuthorizationLink: (options?: QueryOptions<SingpassLinkResponse>) => import("@tanstack/react-query").UseQueryResult<SingpassLinkResponse, Error>;
|
|
4
5
|
export declare const getOpenIdAuthorizationLink: (legalEntityId: string, url: string) => Promise<SingpassLinkResponse>;
|
|
@@ -3,6 +3,7 @@ import type { components, paths } from './pci.contract';
|
|
|
3
3
|
type PciEndpoint = EndpointFromPaths<keyof paths>;
|
|
4
4
|
export type PciQuestionnaireListEndpoint = Extract<PciEndpoint, `legalEntities/${string}/pci/questionnaires`>;
|
|
5
5
|
export type SuccessResponse = components['schemas']['PciQuestionnairesResponse'];
|
|
6
|
+
export type QueryKeyPciQuestionnaireList = ['pciQuestionnaireList'];
|
|
6
7
|
/**
|
|
7
8
|
* Returns a list of questionnaires for the legalEntity
|
|
8
9
|
*/
|
|
@@ -4,6 +4,7 @@ type PciEndpoint = EndpointFromPaths<keyof paths>;
|
|
|
4
4
|
export type PciStatusEndpoint = Extract<PciEndpoint, `legalEntities/${string}/pci/signingRequired`>;
|
|
5
5
|
export type SuccessResponse = components['schemas']['PciSigningStatusResponse'];
|
|
6
6
|
type Request = components['schemas']['PciSigningStatusRequest'];
|
|
7
|
+
export type QueryKeyPciStatus = ['pciStatus', Request];
|
|
7
8
|
export declare const usePciStatus: (data: Request, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
|
|
8
9
|
signingRequired?: boolean;
|
|
9
10
|
}, Error>;
|
|
@@ -5,6 +5,7 @@ export type PciTemplateEndpoint = Extract<PciEndpoint, `legalEntities/${string}/
|
|
|
5
5
|
type SuccessResponse = components['schemas']['GeneratePciDescriptionResponse'];
|
|
6
6
|
type Request = components['schemas']['GeneratePciDescriptionRequest'];
|
|
7
7
|
type ModifiedSuccessResponse = Required<SuccessResponse>;
|
|
8
|
+
export type QueryKeyPciTemplate = ['pciTemplate', Request];
|
|
8
9
|
export declare const usePciTemplate: (data: Request, options?: QueryOptions<ModifiedSuccessResponse>) => import("@tanstack/react-query").UseQueryResult<Required<{
|
|
9
10
|
content?: string;
|
|
10
11
|
language?: string;
|
|
@@ -9,6 +9,7 @@ type Request = components['schemas']['ProvidersStatusesRequest'];
|
|
|
9
9
|
type CorrectedRequest = Request & {
|
|
10
10
|
providers: Provider[];
|
|
11
11
|
};
|
|
12
|
+
export type QueryKeyProvidersStatus = ['providersStatus', CorrectedRequest];
|
|
12
13
|
/**
|
|
13
14
|
* Asks the backend if 3rd party providers like Loqate and Onfido are available.
|
|
14
15
|
*
|
|
@@ -3,6 +3,7 @@ import type { TaskStatusApiResponse } from '../../stores/globalStore/taskStatus'
|
|
|
3
3
|
import type { components } from './taskStatus.contract';
|
|
4
4
|
export type ApiTaskStatus = components['schemas']['TaskStatus'];
|
|
5
5
|
export type TaskStatusEntry = components['schemas']['TaskStatusEntryDto'];
|
|
6
|
+
export type QueryKeyTaskStatus = ['taskStatus'];
|
|
6
7
|
/**
|
|
7
8
|
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
|
|
8
9
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { QueryOptions } from '../types';
|
|
2
2
|
import type { components } from './taxClassification.contract';
|
|
3
3
|
export type TaxClassificationSuccessResponse = components['schemas']['TaxReportingClassification'];
|
|
4
|
+
export type QueryKeyTaxClassification = ['taxClassification'];
|
|
4
5
|
/**
|
|
5
6
|
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
|
|
6
7
|
*/
|
|
@@ -4,6 +4,15 @@ import type { components, paths } from './termsOfService.contract';
|
|
|
4
4
|
type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
|
|
5
5
|
export type TermsOfServiceAcceptedEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/acceptedTermsOfServiceDocument/${string}`>;
|
|
6
6
|
export type SuccessResponse = components['schemas']['GetAcceptedTermsOfServiceDocumentResponse'];
|
|
7
|
+
/**
|
|
8
|
+
* Variables:
|
|
9
|
+
* * `termsOfServiceAcceptanceReference`
|
|
10
|
+
*/
|
|
11
|
+
export type QueryKeyAcceptedTermsOfService = [
|
|
12
|
+
'acceptedTermsOfService',
|
|
13
|
+
string | undefined,
|
|
14
|
+
TermsOfServiceDocumentFormat
|
|
15
|
+
];
|
|
7
16
|
export declare const getAcceptedTermsOfService: (legalEntityId: string, url: string, termsOfServiceAcceptanceReference: string, documentFormat: TermsOfServiceDocumentFormat) => Promise<SuccessResponse>;
|
|
8
17
|
export declare const useAcceptedTermsOfService: (termsOfServiceAcceptanceReference: string | undefined, documentFormat: TermsOfServiceDocumentFormat, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
|
|
9
18
|
document?: string;
|
|
@@ -4,6 +4,7 @@ export type Request = components['schemas']['TermsOfServiceDocumentRequest'];
|
|
|
4
4
|
export type SuccessResponse = components['schemas']['TermsOfServiceDocumentResponse'];
|
|
5
5
|
type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
|
|
6
6
|
export type TermsOfServiceEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService`>;
|
|
7
|
+
export type QueryKeyTermsOfService = ['termsOfService', Request];
|
|
7
8
|
export declare const getTermsOfService: (legalEntityId: string, url: string, data: Request) => Promise<SuccessResponse>;
|
|
8
9
|
export declare const useTermsOfService: (data: Request, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
|
|
9
10
|
document?: string;
|
|
@@ -4,5 +4,6 @@ import type { paths } from './termsOfService.contract';
|
|
|
4
4
|
type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
|
|
5
5
|
export type TermsOfServiceAcceptanceInfoEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/termsOfServiceAcceptanceInfos`>;
|
|
6
6
|
type SuccessResponse = ServiceAgreementAcceptanceInfos;
|
|
7
|
+
export type QueryKeyTermsOfServiceAcceptanceInfos = ['termsOfServiceAcceptanceInfos'];
|
|
7
8
|
export declare const useTermsOfServiceAcceptanceInfos: (options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<ServiceAgreementAcceptanceInfos, Error>;
|
|
8
9
|
export {};
|
|
@@ -3,6 +3,7 @@ import type { components, paths } from './termsOfService.contract';
|
|
|
3
3
|
export type SuccessResponse = components['schemas']['TermsOfServiceStatusResponse'];
|
|
4
4
|
type TermsOfServiceEndpoints = EndpointFromPaths<keyof paths>;
|
|
5
5
|
export type TermsOfServiceStatusEndpoint = Extract<TermsOfServiceEndpoints, `legalEntities/${string}/termsOfService/termsOfServiceStatus`>;
|
|
6
|
+
export type QueryKeyTermsOfServiceStatus = ['termsOfServiceStatus'];
|
|
6
7
|
export declare const useTermsOfServiceStatus: (options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
|
|
7
8
|
termsOfServiceTypes?: components["schemas"]["TermsOfServiceType"][];
|
|
8
9
|
}, Error>;
|
|
@@ -8,11 +8,15 @@ export type GetBankVerificationQueryParams = operations['getBankVerificationProv
|
|
|
8
8
|
country: CountryCode;
|
|
9
9
|
locale: Language['locale'];
|
|
10
10
|
};
|
|
11
|
+
export type QueryKeyBankVerificationProviders = [
|
|
12
|
+
'bankVerificationProviders',
|
|
13
|
+
GetBankVerificationQueryParams
|
|
14
|
+
];
|
|
11
15
|
/**
|
|
12
16
|
* Retrieves the list of bank verification providers and their respective urls.
|
|
13
17
|
* Bank verification providers are used to instantly verify payout accounts.
|
|
14
18
|
* @param queryParams the relevant country, locale, and configId
|
|
15
19
|
* @param options additional options passed to Tanstack Query, eg; onSuccess
|
|
16
20
|
*/
|
|
17
|
-
export declare const
|
|
21
|
+
export declare const useBankVerificationProviders: (queryParams: GetBankVerificationQueryParams, options?: QueryOptions<GetBankVerificationProviderResponse>) => import("@tanstack/react-query").UseQueryResult<GetBankVerificationProviderResponse, Error>;
|
|
18
22
|
export {};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import type { ExistingTransferInstrument } from '../../core/models/api/transfer-instrument';
|
|
2
2
|
import type { QueryOptions } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Variables:
|
|
5
|
+
* * `transferInstrumentId`
|
|
6
|
+
*/
|
|
7
|
+
export type QueryKeyTransferInstrument = ['transferInstrument', string];
|
|
3
8
|
/**
|
|
4
9
|
* Gets a single transfer instrument associated with a legal entity
|
|
5
10
|
* @param transferInstrumentId ID of transfer instrument
|
|
6
11
|
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
|
|
7
12
|
*/
|
|
8
|
-
export declare const
|
|
13
|
+
export declare const useTransferInstrument: (transferInstrumentId?: string | undefined, options?: QueryOptions<ExistingTransferInstrument>) => import("@tanstack/react-query").UseQueryResult<ExistingTransferInstrument, Error>;
|
|
@@ -8,8 +8,9 @@ export type TransferInstrumentReferenceWithStatusId = Omit<TransferInstrumentRef
|
|
|
8
8
|
id: string;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
+
export type QueryKeyTransferInstruments = ['transferInstruments'];
|
|
11
12
|
/**
|
|
12
13
|
* Gets a list of transfer instruments associated with a legal entity
|
|
13
14
|
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
|
|
14
15
|
*/
|
|
15
|
-
export declare const
|
|
16
|
+
export declare const useTransferInstruments: (options?: QueryOptions<GetTransferInstrumentResponse>) => import("@tanstack/react-query").UseQueryResult<GetTransferInstrumentResponse, Error>;
|
|
@@ -12,5 +12,10 @@ export interface SessionData {
|
|
|
12
12
|
legalEntityId: string;
|
|
13
13
|
userData?: Record<string, MixpanelProperty>;
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Variables:
|
|
17
|
+
* * `onboardingVersion`
|
|
18
|
+
*/
|
|
19
|
+
export type QueryKeyAnalyticsSession = ['analyticsSession', number | undefined];
|
|
15
20
|
export declare const useAnalyticsSession: (sessionData: SessionData, onboardingVersion: number | undefined, options?: QueryOptions<CorrectedSuccessReponse>) => import("@tanstack/react-query").UseQueryResult<CorrectedSuccessReponse, Error>;
|
|
16
21
|
export {};
|
|
@@ -2,6 +2,7 @@ import type { QueryOptions } from '../../../types';
|
|
|
2
2
|
import type { components } from './validation.contract';
|
|
3
3
|
type PhoneNumberValidationRequest = components['schemas']['PhoneNumberValidationRequest'];
|
|
4
4
|
type ValidationResponse = components['schemas']['ValidationResponse'];
|
|
5
|
+
export type QueryKeyValidatePhoneNumber = ['validatePhoneNumber', PhoneNumberValidationRequest];
|
|
5
6
|
export declare const useValidatePhoneNumber: (data: PhoneNumberValidationRequest, options?: QueryOptions<ValidationResponse>) => import("@tanstack/react-query").UseQueryResult<{
|
|
6
7
|
invalidFields: components["schemas"]["InvalidField"][];
|
|
7
8
|
valid: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
2
|
import type { components } from '#api/transferInstruments/transferInstruments.contract';
|
|
3
|
-
import type { BankVerificationVendor } from '../../../../api/transferInstruments/
|
|
3
|
+
import type { BankVerificationVendor } from '../../../../api/transferInstruments/useBankVerificationProviders';
|
|
4
4
|
import type { CountryCode } from '../../../../core/models/country-code';
|
|
5
5
|
import type { Currency } from '../../../../core/models/currency';
|
|
6
6
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
+
import type { BankVerificationVendor } from '../../../../api/transferInstruments/useBankVerificationProviders';
|
|
2
3
|
import type { CreateTrustedTransferInstrumentResponse } from '../../../../api/transferInstruments/useCreateTrustedTransferInstrument';
|
|
3
|
-
import type { BankVerificationVendor } from '../../../../api/transferInstruments/useGetBankVerificationProviders';
|
|
4
4
|
import type { CapabilityName } from '../../../../core/models/api/capability';
|
|
5
5
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
6
6
|
import type { CountryCode } from '../../../../core/models/country-code';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Dispatch, type StateUpdater } from 'preact/hooks';
|
|
2
|
-
import type { BankVerificationVendor } from '../../../../../api/transferInstruments/
|
|
2
|
+
import type { BankVerificationVendor } from '../../../../../api/transferInstruments/useBankVerificationProviders';
|
|
3
3
|
import type { LoadingStatus } from '../../../../ui/atoms/LoaderWrapper/constants';
|
|
4
4
|
import type { ValidatorMode } from '../../../../../utils/validation/types';
|
|
5
5
|
import type { InstantVerificationErrorNotification } from '../../BankVerification/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
-
import type { BankVerificationVendor } from '../../../../api/transferInstruments/
|
|
2
|
+
import type { BankVerificationVendor } from '../../../../api/transferInstruments/useBankVerificationProviders';
|
|
3
3
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
4
4
|
import type { CountryCode } from '../../../../core/models/country-code';
|
|
5
5
|
import type { FormModel } from '../../../../core/models/form';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './ManageTransferInstrumentOverview.scss';
|
|
2
|
-
import type { GetTransferInstrumentResponse } from '../../../../api/transferInstruments/
|
|
2
|
+
import type { GetTransferInstrumentResponse } from '../../../../api/transferInstruments/useTransferInstruments';
|
|
3
3
|
import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
|
|
4
4
|
interface ManageTransferInstrumentOverviewProps {
|
|
5
5
|
transferInstrumentReferences?: GetTransferInstrumentResponse;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/
|
|
1
|
+
import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/useTransferInstruments';
|
|
2
2
|
import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
|
|
3
3
|
interface ManageTransferInstrumentOverviewItemProps {
|
|
4
4
|
transferInstrumentReference: TransferInstrumentReferenceWithStatusId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './ManageTransferInstrumentOverviewItemModal.scss';
|
|
2
|
-
import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/
|
|
2
|
+
import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/useTransferInstruments';
|
|
3
3
|
import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
|
|
4
4
|
export interface ManageTransferInstrumentOverviewItemModalProps {
|
|
5
5
|
status: TransferInstrumentReferenceWithStatusId['status'];
|
|
@@ -2,6 +2,7 @@ import './Checkbox.scss';
|
|
|
2
2
|
import type { ComponentChild } from 'preact';
|
|
3
3
|
import type { FieldChildProps } from '../Field/Field.types';
|
|
4
4
|
interface CheckboxProps extends Partial<FieldChildProps> {
|
|
5
|
+
id: string;
|
|
5
6
|
checked: boolean;
|
|
6
7
|
onChange: (isChecked: boolean) => void;
|
|
7
8
|
classNameModifiers?: string[];
|
|
@@ -13,6 +14,9 @@ interface CheckboxProps extends Partial<FieldChildProps> {
|
|
|
13
14
|
readonly?: boolean;
|
|
14
15
|
disabled?: boolean;
|
|
15
16
|
enableTracking?: boolean;
|
|
17
|
+
'aria-required'?: boolean;
|
|
18
|
+
'aria-invalid'?: boolean;
|
|
19
|
+
'aria-describedby'?: string;
|
|
16
20
|
}
|
|
17
|
-
export declare function Checkbox({ classNameModifiers, label, isInvalid, onChange, helper, checked, disabled, enableTracking,
|
|
21
|
+
export declare function Checkbox({ id, name, value, className, classNameModifiers, label, isInvalid, onChange, helper, checked, readonly, disabled, enableTracking, 'aria-required': ariaRequired, 'aria-invalid': ariaInvalid, 'aria-describedby': ariaDescribedBy, }: Readonly<CheckboxProps>): import("preact/jsx-runtime").JSX.Element;
|
|
18
22
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '../Select/SelectGeneric.scss';
|
|
2
2
|
import type { SelectItemProps } from './SelectListItem.types';
|
|
3
|
-
export declare const SelectListItem: ({ item, selected, isMulti, isSearch, children, onSelect, onKeyDown, onFocus, className, }: SelectItemProps) => import("preact/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const SelectListItem: ({ id, item, selected, isMulti, isSearch, children, onSelect, onKeyDown, onFocus, className, }: SelectItemProps) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ComponentChild, JSX } from 'preact';
|
|
2
2
|
import type { SelectItem } from '../Select/Select.types';
|
|
3
3
|
export interface SelectItemProps {
|
|
4
|
+
id: string;
|
|
4
5
|
item: SelectItem;
|
|
5
6
|
selected: boolean;
|
|
6
7
|
onKeyDown: (e: JSX.TargetedKeyboardEvent<HTMLLIElement>) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
2
|
import type { Scenario } from '../api/configurations/useScenarios';
|
|
3
|
-
import type { BankVerificationVendor } from '../api/transferInstruments/
|
|
3
|
+
import type { BankVerificationVendor } from '../api/transferInstruments/useBankVerificationProviders';
|
|
4
4
|
import type { LoadingStatus } from '../components/ui/atoms/LoaderWrapper/constants';
|
|
5
5
|
import type { TopLevelDataSchema } from '../context/StateContext/types';
|
|
6
6
|
import type { AccountFormatRequirements, PayoutAccountFormats } from '../datasets/generators/getAccountFormatForCountry';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-Bl6alyPp.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|