@adyen/kyc-components 2.3.2 → 2.4.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/adyen-kyc-components.es.js +789 -464
- package/dist/types/components/Company/types.d.ts +2 -2
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/FormNavigation.d.ts +1 -1
- package/dist/types/components/Dropins/FormComposer/components/FormNavigation/types.d.ts +4 -1
- package/dist/types/components/Dropins/IndividualDropin/components/IndividualDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/RoleAndTypeDropin/components/RoleAndTypeDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/RoleAndTypeDropin/types.d.ts +7 -14
- package/dist/types/components/Individual/types.d.ts +2 -2
- package/dist/types/components/TrustMembers/component/CompanyTrustMemberTaskItem.d.ts +12 -0
- package/dist/types/components/TrustMembers/component/ExemptSettlorTaskItem.d.ts +10 -0
- package/dist/types/components/TrustMembers/component/RegularTrustMemberTaskItem.d.ts +10 -0
- package/dist/types/components/TrustMembers/component/RootTrusteeTaskItem.d.ts +8 -0
- package/dist/types/components/TrustMembers/component/TrustMembersOverview.d.ts +12 -0
- package/dist/types/components/TrustMembers/component/UndefinedBeneficiaryTaskItem.d.ts +7 -0
- package/dist/types/components/TrustMembers/types.d.ts +62 -19
- package/dist/types/components/TrustRoleAndEntityType/component/TrustRoleAndEntityType.d.ts +2 -0
- package/dist/types/components/TrustRoleAndEntityType/convertExistingTrustMember.d.ts +3 -0
- package/dist/types/components/TrustRoleAndEntityType/types.d.ts +7 -6
- package/dist/types/components/internal/Address/utils.d.ts +1 -1
- package/dist/types/components/internal/EntityAssociation/types.d.ts +6 -2
- package/dist/types/core/Context/StateContext/StateContextWatcher.d.ts +2 -2
- package/dist/types/core/Context/StateContext/types.d.ts +3 -5
- package/dist/types/core/hooks/useExemptSettlor.d.ts +8 -0
- package/dist/types/core/models/api/trust-member-type.d.ts +1 -1
- package/dist/types/language/config.d.ts +4 -0
- package/dist/types/utils/decision-maker-roles.d.ts +1 -1
- package/dist/types/utils/entity-status-util.d.ts +2 -2
- package/dist/types/utils/mapping/trustMembers/getTrustMembers.d.ts +3 -0
- package/dist/types/utils/mapping/trustMembers/mapEntityAssociationsToTrustMembers.d.ts +10 -0
- package/dist/types/utils/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +3 -0
- package/dist/types/utils/mapping/trustMembers/mapUndefinedBeneficiaryInfoToTrustMembers.d.ts +3 -0
- package/dist/types/utils/splitAtFirstOccurrence.d.ts +1 -0
- package/dist/types/utils/trust-util.d.ts +2 -15
- package/dist/types/utils/trustMembers/handlers/addOrUpdateAssociatedTrustMember.d.ts +8 -0
- package/dist/types/utils/trustMembers/handlers/addOrUpdateUndefinedBeneficiary.d.ts +8 -0
- package/dist/types/utils/trustMembers/handlers/createExemptSettlor.d.ts +8 -0
- package/dist/types/utils/trustMembers/handlers/deleteAssociatedTrustMember.d.ts +8 -0
- package/dist/types/utils/trustMembers/handlers/deleteUndefinedBeneficiary.d.ts +12 -0
- package/dist/types/utils/trustMembers/handlers/updateExemptSettlorName.d.ts +8 -0
- package/package.json +1 -1
- package/dist/types/components/TrustMembers/component/TrustMembersComponent.d.ts +0 -4
- package/dist/types/components/TrustMembers/component/UndefinedBeneficiaries.d.ts +0 -8
- package/dist/types/components/TrustRoleAndEntityType/component/TrustRoleAndEntityTypeComponent.d.ts +0 -3
- package/dist/types/utils/mapping/mapEntityAssociationsToUniqueTrustMembers.d.ts +0 -12
|
@@ -9,7 +9,7 @@ import { CompanyTypeSchema } from '../CompanyType/types';
|
|
|
9
9
|
import { DocumentUploadSchema } from '../DocumentUpload/types';
|
|
10
10
|
import { DropinAPIHandlers, DropinProps } from '../Dropins/types';
|
|
11
11
|
import { RegistrationAddressSchema as CompanyRegistrationDetailsSchema } from '../RegistrationAddress/types';
|
|
12
|
-
import {
|
|
12
|
+
import { TrustMember } from '../TrustMembers/types';
|
|
13
13
|
export interface CompanySchema {
|
|
14
14
|
companyDetails?: CompanyDetailsSchema;
|
|
15
15
|
companyType?: CompanyTypeSchema;
|
|
@@ -32,6 +32,6 @@ export interface CompanyProps extends BaseOuterFormProps<CompanySchema> {
|
|
|
32
32
|
export interface CompanyDropinProps extends CompanyProps, DropinAPIHandlers, DropinProps {
|
|
33
33
|
legalEntity?: LegalEntity;
|
|
34
34
|
parentLegalEntity?: LegalEntity;
|
|
35
|
-
associationDetail?:
|
|
35
|
+
associationDetail?: TrustMember;
|
|
36
36
|
isTargetLegalEntityType?: boolean;
|
|
37
37
|
}
|
package/dist/types/components/Dropins/FormComposer/components/FormNavigation/FormNavigation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './FormNavigation.scss';
|
|
2
2
|
import { FormNavigationProps } from './types';
|
|
3
|
-
declare function FormNavigation({ forms, activeForm, gotoForm, validateForm, className, taskName,
|
|
3
|
+
declare function FormNavigation({ forms, activeForm, gotoForm, validateForm, className, taskName, verificationErrors, trackNavigation, }: FormNavigationProps): import("preact").JSX.Element;
|
|
4
4
|
export default FormNavigation;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EntityProblems } from '../../../../../core/models/errors/entity-problems';
|
|
2
|
+
import { FormVerificationErrors } from '../../../../../core/models/errors/form-verification-errors';
|
|
2
3
|
import { FormModel, FormModelWithValidity } from '../../../../../core/models/form';
|
|
3
4
|
import { TranslationKey } from '../../../../../language/types';
|
|
4
5
|
export interface FormNavigationProps {
|
|
@@ -9,7 +10,9 @@ export interface FormNavigationProps {
|
|
|
9
10
|
problems?: EntityProblems;
|
|
10
11
|
className?: string;
|
|
11
12
|
taskName: TranslationKey;
|
|
12
|
-
|
|
13
|
+
verificationErrors?: {
|
|
14
|
+
[formId: string]: FormVerificationErrors;
|
|
15
|
+
};
|
|
13
16
|
trackNavigation?: (props: {
|
|
14
17
|
fromForm: FormModel;
|
|
15
18
|
toForm: FormModel;
|
package/dist/types/components/Dropins/IndividualDropin/components/IndividualDropinComponent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IndividualDropinProps } from '../../../Individual/types';
|
|
2
|
-
export declare function IndividualDropinComponent({ handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleGetIdVerificationStartCheck, taskType, trackingConfig, parentLegalEntity, legalEntityResponse, taskName, eventEmitter, handleHomeClick, homeButtonLabel, isTargetLegalEntityType, country: parentCountry, handleCreateLegalEntity, capabilities, onChange, problems: propProblems, handleUpdateLegalEntity,
|
|
2
|
+
export declare function IndividualDropinComponent({ handleCreateDocument, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleGetIdVerificationToken, handleGetIdVerificationStartCheck, taskType, trackingConfig, parentLegalEntity, legalEntityResponse, taskName, eventEmitter, handleHomeClick, homeButtonLabel, isTargetLegalEntityType, country: parentCountry, handleCreateLegalEntity, capabilities, onChange, problems: propProblems, handleUpdateLegalEntity, trustMember, onSubmit: externalOnSubmit, onTypeSwitch, }: IndividualDropinProps): import("preact").JSX.Element;
|
package/dist/types/components/Dropins/RoleAndTypeDropin/components/RoleAndTypeDropinComponent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RoleAndTypeDropinProps } from '../types';
|
|
2
|
-
export declare function RoleAndTypeDropinComponent(
|
|
2
|
+
export declare function RoleAndTypeDropinComponent({ existingTrustMember, navigateToFullDropinFor, navigateBack, addOrUpdateTrustMember, }: RoleAndTypeDropinProps): import("preact").JSX.Element;
|
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export interface RoleAndTypeDropinProps extends TrustRoleAndEntityTypeProps, DropinAPIHandlers {
|
|
7
|
-
trust: ExistingLegalEntity;
|
|
8
|
-
navigateNext(trustMember: Partial<UniqueTrustMember>): void;
|
|
1
|
+
import { CompanyTrustMember, RegularTrustMember, TrustMember } from '../../TrustMembers/types';
|
|
2
|
+
import { TrustRoleAndEntityTypeSchema } from '../../TrustRoleAndEntityType/types';
|
|
3
|
+
export interface RoleAndTypeDropinProps {
|
|
4
|
+
existingTrustMember?: TrustMember;
|
|
5
|
+
navigateToFullDropinFor(trustMember: RegularTrustMember | CompanyTrustMember): void;
|
|
9
6
|
navigateBack(): void;
|
|
10
|
-
|
|
7
|
+
addOrUpdateTrustMember: (newOrUpdated: TrustMember) => void;
|
|
11
8
|
}
|
|
12
9
|
export interface TrustMemberSchema {
|
|
13
|
-
roleAndEntityType:
|
|
14
|
-
role: string;
|
|
15
|
-
entityType?: LegalEntityType;
|
|
16
|
-
descriptionUndefinedBeneficiary?: string;
|
|
17
|
-
};
|
|
10
|
+
roleAndEntityType: TrustRoleAndEntityTypeSchema;
|
|
18
11
|
}
|
|
@@ -14,7 +14,7 @@ import { IdDocumentUploadSchema } from '../IdDocumentUpload/types';
|
|
|
14
14
|
import { IdVerificationMethodSchema } from '../IdVerificationMethod/types';
|
|
15
15
|
import { PersonalDetailsSchema } from '../PersonalDetails/types';
|
|
16
16
|
import type { TaskTypes } from '../TaskList/types';
|
|
17
|
-
import type {
|
|
17
|
+
import type { TrustMember } from '../TrustMembers/types';
|
|
18
18
|
export interface IndividualSchema {
|
|
19
19
|
personalDetails?: PersonalDetailsSchema;
|
|
20
20
|
address?: AddressSchema;
|
|
@@ -42,7 +42,7 @@ export interface IndividualProps extends BaseOuterFormProps<IndividualSchema> {
|
|
|
42
42
|
}
|
|
43
43
|
export interface IndividualDropinProps extends IndividualProps, DropinAPIHandlers, DropinProps {
|
|
44
44
|
parentLegalEntity?: LegalEntity;
|
|
45
|
-
|
|
45
|
+
trustMember?: TrustMember;
|
|
46
46
|
isTargetLegalEntityType?: boolean;
|
|
47
47
|
onSubmit(dataSubmitted: any): void;
|
|
48
48
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TaskStatus } from '../../TaskList/types';
|
|
2
|
+
import { CompanyTrustMember } from '../types';
|
|
3
|
+
interface CompanyTrustMemberTaskItemProps {
|
|
4
|
+
companyTrustMember: CompanyTrustMember;
|
|
5
|
+
taskStatus: TaskStatus;
|
|
6
|
+
onEdit: () => void;
|
|
7
|
+
onDelete: () => void;
|
|
8
|
+
onEditOwner: () => void;
|
|
9
|
+
onAddOwner: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const CompanyTrustMemberTaskItem: ({ companyTrustMember, taskStatus, onEditOwner, onAddOwner, onEdit, onDelete, }: CompanyTrustMemberTaskItemProps) => import("preact").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TaskStatus } from '../../TaskList/types';
|
|
2
|
+
import { ExemptSettlor } from '../types';
|
|
3
|
+
interface ExemptSettlorTaskItemProps {
|
|
4
|
+
exemptSettlor: ExemptSettlor;
|
|
5
|
+
taskStatus: TaskStatus;
|
|
6
|
+
onEdit: () => void;
|
|
7
|
+
onDelete: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const ExemptSettlorTaskItem: ({ exemptSettlor, taskStatus, onEdit, onDelete, }: ExemptSettlorTaskItemProps) => import("preact").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TaskStatus } from '../../TaskList/types';
|
|
2
|
+
import { RegularTrustMember } from '../types';
|
|
3
|
+
interface RegularTrustMemberTaskItemProps {
|
|
4
|
+
trustMember: RegularTrustMember;
|
|
5
|
+
taskStatus: TaskStatus;
|
|
6
|
+
onEdit: () => void;
|
|
7
|
+
onDelete: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const RegularTrustMemberTaskItem: ({ trustMember, taskStatus, onEdit, onDelete, }: RegularTrustMemberTaskItemProps) => import("preact").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TaskStatus } from '../../TaskList/types';
|
|
2
|
+
import { RootTrustee } from '../types';
|
|
3
|
+
interface RootTrusteeTaskItemProps {
|
|
4
|
+
rootTrustee: RootTrustee;
|
|
5
|
+
taskStatus: TaskStatus;
|
|
6
|
+
}
|
|
7
|
+
export declare const RootTrusteeTaskItem: ({ rootTrustee, taskStatus }: RootTrusteeTaskItemProps) => import("preact").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '../TrustMembersOverview.scss';
|
|
2
|
+
import { TaskStatus } from '../../TaskList/types';
|
|
3
|
+
import { TrustMember } from '../types';
|
|
4
|
+
export interface TrustMembersOverviewProps {
|
|
5
|
+
trustMembers: TrustMember[];
|
|
6
|
+
getTrustMemberTaskStatus: (trustMember: TrustMember) => TaskStatus;
|
|
7
|
+
navigateBackToTaskList(): void;
|
|
8
|
+
navigateToEditTrustMember(trustMember: TrustMember | 'new'): void;
|
|
9
|
+
navigateToEditTrustMemberOwner(trustMemberOwnerId: string, trustMemberId: string): void;
|
|
10
|
+
deleteTrustMember(trustMember: TrustMember): void;
|
|
11
|
+
}
|
|
12
|
+
export declare const TrustMembersOverview: ({ trustMembers, navigateBackToTaskList, navigateToEditTrustMember, navigateToEditTrustMemberOwner, deleteTrustMember, getTrustMemberTaskStatus, }: TrustMembersOverviewProps) => import("preact").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UndefinedBeneficiary } from '../types';
|
|
2
|
+
export interface UndefinedBeneficiaryProps {
|
|
3
|
+
undefinedBeneficiary: UndefinedBeneficiary;
|
|
4
|
+
onEdit: () => void;
|
|
5
|
+
onDelete: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const UndefinedBeneficiaryTaskItem: ({ undefinedBeneficiary, onEdit, onDelete, }: UndefinedBeneficiaryProps) => import("preact").JSX.Element;
|
|
@@ -1,22 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TrustMemberType } from '../../core/models/api/trust-member-type';
|
|
3
|
-
import { CapabilityProblems } from '../../core/models/errors/capability-problems';
|
|
4
|
-
import { DropinAPIHandlers } from '../Dropins/types';
|
|
5
|
-
import { UniqueEntityAssociation } from '../internal/EntityAssociation/types';
|
|
1
|
+
import { LegalEntityType } from '../../core/models/api/legal-entity-type';
|
|
2
|
+
import { TrustMemberType, TrustMemberTypes } from '../../core/models/api/trust-member-type';
|
|
6
3
|
import { SettlorExemptionReason, TrustMemberLegalEntityType } from '../TrustRoleAndEntityType/types';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
/**
|
|
5
|
+
* The top level legal entity that the trust LE is associated to.
|
|
6
|
+
*/
|
|
7
|
+
export interface RootTrustee {
|
|
8
|
+
trustMemberType: 'rootTrustee';
|
|
9
|
+
roles: [TrustMemberTypes.TRUSTEE];
|
|
10
|
+
legalEntityType: TrustMemberLegalEntityType;
|
|
11
|
+
legalEntityId: string;
|
|
12
|
+
name: string;
|
|
16
13
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Normal individual LEs linked via {@link LegalEntity.entityAssociations}.
|
|
16
|
+
* They can hold a combination of roles.
|
|
17
|
+
*/
|
|
18
|
+
export interface RegularTrustMember {
|
|
19
|
+
trustMemberType: 'regular';
|
|
20
|
+
roles: TrustMemberType[];
|
|
21
|
+
legalEntityType: LegalEntityType.INDIVIDUAL;
|
|
22
|
+
legalEntityId: string;
|
|
23
|
+
name: string;
|
|
22
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Normal organization LEs linked via {@link LegalEntity.entityAssociations}.
|
|
27
|
+
* They can hold a combination of roles.
|
|
28
|
+
* The UBOs of the company are associated with the trust also.
|
|
29
|
+
*/
|
|
30
|
+
export interface CompanyTrustMember {
|
|
31
|
+
trustMemberType: 'company';
|
|
32
|
+
roles: TrustMemberType[];
|
|
33
|
+
legalEntityType: LegalEntityType.ORGANIZATION;
|
|
34
|
+
legalEntityId: string;
|
|
35
|
+
name: string;
|
|
36
|
+
ownerId?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Exempt settlors are bare-bones individual LEs also linked via {@link LegalEntity.entityAssociations}, but their association contains some special fields.
|
|
40
|
+
* There can exist only one exempt settlor per trust, and that is their only role (otherwise they become a {@link RegularTrustMember}).
|
|
41
|
+
*/
|
|
42
|
+
export interface ExemptSettlor {
|
|
43
|
+
trustMemberType: 'exemptSettlor';
|
|
44
|
+
roles: [TrustMemberTypes.SETTLOR];
|
|
45
|
+
legalEntityType: LegalEntityType.INDIVIDUAL;
|
|
46
|
+
legalEntityId: string;
|
|
47
|
+
settlorExemptionReason: SettlorExemptionReason[];
|
|
48
|
+
exemptSettlorName: {
|
|
49
|
+
firstName: string;
|
|
50
|
+
lastName: string;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Undefined beneficiaries are not LEs, and are instead found in {@link LegalEntity.trust.undefinedBeneficiaryInfo}, *not* in {@link LegalEntity.entityAssociations}.
|
|
55
|
+
*/
|
|
56
|
+
export interface UndefinedBeneficiary {
|
|
57
|
+
trustMemberType: 'undefinedBeneficiary';
|
|
58
|
+
roles: [TrustMemberTypes.UNDEFINED_BENEFICIARY];
|
|
59
|
+
reference: string;
|
|
60
|
+
description: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* A standardised shape for trust members, no matter where they are located on the LE.
|
|
64
|
+
*/
|
|
65
|
+
export type TrustMember = RootTrustee | RegularTrustMember | CompanyTrustMember | ExemptSettlor | UndefinedBeneficiary;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import type { BaseInnerFormProps } from '../../core/hooks/useForm';
|
|
2
2
|
import { LegalEntityType } from '../../core/models/api/legal-entity-type';
|
|
3
3
|
import { TrustMemberType } from '../../core/models/api/trust-member-type';
|
|
4
|
-
import
|
|
4
|
+
import { NameSchema } from '../internal/Name/types';
|
|
5
|
+
import { TrustMember } from '../TrustMembers/types';
|
|
5
6
|
export declare const trustMemberLegalEntityTypes: readonly [LegalEntityType.INDIVIDUAL, LegalEntityType.ORGANIZATION];
|
|
6
7
|
export type TrustMemberLegalEntityType = (typeof trustMemberLegalEntityTypes)[number];
|
|
7
8
|
export declare const settlorExemptionReasons: readonly ["contributionBelowThreshold", "professionalServiceProvider", "deceased"];
|
|
8
9
|
export type SettlorExemptionReason = (typeof settlorExemptionReasons)[number];
|
|
9
10
|
export declare const settlorExemptionReasonWithNoneOfTheAbove: readonly ["contributionBelowThreshold", "professionalServiceProvider", "deceased", "noneOfTheAbove"];
|
|
10
11
|
export type SettlorExemptionReasonWithNoneOfTheAbove = (typeof settlorExemptionReasonWithNoneOfTheAbove)[number];
|
|
11
|
-
export interface TrustRoleAndEntityTypeSchema {
|
|
12
|
+
export interface TrustRoleAndEntityTypeSchema extends NameSchema {
|
|
12
13
|
role?: TrustMemberType[];
|
|
13
|
-
entityType
|
|
14
|
+
entityType?: TrustMemberLegalEntityType;
|
|
14
15
|
descriptionUndefinedBeneficiary?: string;
|
|
15
16
|
settlorExemptionReason?: SettlorExemptionReasonWithNoneOfTheAbove[];
|
|
16
17
|
}
|
|
17
18
|
export interface TrustRoleAndEntityTypeProps extends BaseInnerFormProps<TrustRoleAndEntityTypeSchema> {
|
|
18
|
-
|
|
19
|
+
existingTrustMember?: TrustMember;
|
|
19
20
|
}
|
|
20
|
-
export declare const couldBeExemptSettlor: (data:
|
|
21
|
-
export declare const isExemptSettlor: (data:
|
|
21
|
+
export declare const couldBeExemptSettlor: (data: TrustRoleAndEntityTypeSchema) => boolean;
|
|
22
|
+
export declare const isExemptSettlor: (data: TrustRoleAndEntityTypeSchema) => data is TrustRoleAndEntityTypeSchema & {
|
|
22
23
|
settlorExemptionReason: SettlorExemptionReason[];
|
|
23
24
|
};
|
|
@@ -6,7 +6,7 @@ import { DatasetUtil } from '../../../utils/datasetUtil';
|
|
|
6
6
|
* @param fieldName - The data to pre-fill the address fields
|
|
7
7
|
* @param country - The selected country
|
|
8
8
|
*/
|
|
9
|
-
export declare const getKeyForField: (fieldName: string, country: CountryCode) => "SST" | "RFC" | "CNPJ" | "CVR-nummer" | "close" | "individual" | "payoutAccount" | "payinAccount" | "firstName" | "lastName" | "country" | "street" | "houseNumber" | "houseNumberOptional" | "houseNumberOrName" | "postalCode" | "city" | "cityTown" | "state" | "provinceOrTerritory" | "selectProvinceOrTerritory" | "zipCode" | "apartmentSuite" | "apartmentSuiteOptional" | "phoneNumber" | "email" | "birthdate" | "code" | "invalidEmail" | "pleaseEnterAPhoneNumberPrefixedWithCountryCode" | "invalidPhoneNumber" | "birthDate" | "idNumber" | "selectState" | "selectCountry" | "search" | "noOptionsFound" | "SSNFormatUS" | "SSNFormatUS9Digits" | "SINFormatCA" | "invalidFormat" | "fieldIsRequired" | "tooManyFiles" | "duplicatedFiles" | "unsupportedFiletype" | "maximumFileSizeExceeded" | "personalDetails" | "invalidBirthDate" | "address" | "contactDetails" | "uploadDocument" | "individualDetails" | "socialSecurityNumber" | "socialSecurityNumber9Digits" | "codiceFiscale" | "personnummer" | "dni" | "peselNumber" | "detCentralePersonregister" | "codNumericPersonal" | "cadastroDePessoasFisicas" | "invalidFormatExpects" | "invalidFormatForAuPassportNumber" | "invalidFormatForAuDriversLicenseNumber" | "invalidFormatForAuDriversLicenseCardNumber" | "invalidFormatForAuProofOfIdentityCardNumber" | "invalidFormatIdentityNumberBR" | "invalidFormatIdentityNumberDK" | "invalidFormatIdentityNumberCA" | "invalidFormatIdentityNumberIT" | "invalidFormatIdentityNumberPL" | "invalidFormatIdentityNumberRO" | "invalidFormatIdentityNumberES" | "invalidFormatIdentityNumberSE" | "invalidFormatIdentityNumberUS" | "invalidFormatIdentityNumberUS9" | "invalidFormatIdentityNumberSG" | "invalidFormatBankStatementDescription" | "residencyCountry" | "stateOrProvince" | "selectStateOrProvince" | "dragYourFilesHereOr" | "browse" | "supports" | "complete" | "summary" | "selectDocument" | "passport" | "passportNumber" | "id" | "driversLicense" | "issuerState" | "licenseNumber" | "licenseCardNumber" | "documents" | "idDocument" | "documentType" | "frontPage" | "backPage" | "fileName" | "nationality" | "dateOfIncorporation" | "proofOfNationality" | "uploadDocumentForSsn" | "uploadDocumentForNric" | "operationalAddressHeader" | "operationalAddressHeaderDescription" | "operationalAddressIsSame" | "operationalAddressIsSameItemName" | "operationalAddressIsNotSameItemName" | "verifyPrefilledInfoIsCorrect" | "legalStructureHeader" | "whatTypeOfCompanyDoYouHave" | "privateCompanyTitle" | "privateCompanyDescription" | "publicCompanyTitle" | "publicCompanyDescription" | "incorporatedPartnershipTitle" | "incorporatedPartnershipDescription" | "nonProfitOrCharitableOrgTitle" | "nonProfitOrCharitableOrgDescription" | "governmentalOrganizationTitle" | "governmentalOrganizationDescription" | "associationIncorporatedTitle" | "associationIncorporatedDescription" | "jobTitle" | "legalStructure" | "entityType" | "registrationDetails" | "registeredAddress" | "registrationAddress" | "registeredAddressHeaderDescription" | "registeredAddressHeaderDescription__US" | "registeredAddressTrustHeaderDescription" | "operationalAddress" | "provideRegistrationDetails" | "companyStructure" | "providePersonalAddress" | "provideContactDetails" | "correctErrorsResubmit" | "registrationDocument" | "taxDocument" | "companyDetails" | "invalidRegistrationNumber" | "tradingName" | "chamberOfCommerceRegistrationNumber" | "taxId" | "exemptedFromTax" | "doNotHaveTaxIdNumber" | "doNotHaveFirmenbuchnummer" | "doNotHaveOrganisationsnummer" | "doNotHaveYTunnus" | "doNotHaveLtRegistrationNumber" | "doNotHaveLuRegistrationNumber" | "doNotHaveChRegistrationNumber" | "doNotHaveHandelsregisternummer" | "doNotHaveRegonKrsNumber" | "taxIdAbsenceReason" | "vatNumberExempted" | "vatNumberAbsenceReason" | "belowTaxThreshold" | "industryExemption" | "validationPleaseEnterAValidRegistrationNumber" | "validationPleaseEnterAValidRegistrationNumberWithFormat" | "validationPleaseEnterAValidVatNumber" | "validationPleaseEnterAValidVatNumberWithFormat" | "validationPleaseEnterAValidTaxIdNumberWithFormat" | "aValidAbnShouldBe11Digits" | "aValidUenOrGstShouldBe9To10Characters" | "validationPleaseEnterAValidUen" | "validationPleaseEnterAValidIban" | "yourIbanShouldBeginWith_" | "validation8Or11Characters" | "validationCharacters" | "validationDigitsBetween" | "validationDigits" | "enterValidRegistrationNumber" | "stockExchangeMIC" | "stockExchangeMICHelper" | "stockISINHelper" | "stockISIN" | "validationPleaseEnterAValidMarketIdentifier" | "validationPleaseEnterAValidStockISIN" | "shareholderDocument" | "role" | "selectAllTheRolesThatThisDecisionMakerHolds" | "selectTheApplicableRoles" | "back" | "next" | "submit" | "submitSuccessful" | "submitFailed" | "submitReviewOfYourData" | "completeReview" | "submitReview" | "pleaseNote" | "byClickingSubmitReview" | "nameAndCountry" | "companyCountry" | "legalCompanyName" | "legalCompanyNameHelper" | "legalCompanyNameHelper__AU" | "legalCompanyNameHelper__US" | "legalCompanyNameHelper__SG" | "accountDetailsDescription" | "provideDetails" | "payoutAccountsDescription" | "payoutAccountsDescriptionReview" | "payinAccountsDescription" | "addExtraPayoutAccount" | "addExtraPayinAccount" | "payoutDetails" | "payinDetails" | "addPayoutAccount" | "addPayinAccount" | "failedToFetchPayoutAccount" | "failedToDeletePayoutAccount" | "transferInstrumentDeleted" | "toCompleteProcessReviewAndSignOfficialDocumentation" | "sign" | "signer" | "selectSigner" | "pciSignedSuccessfully" | "pciSignFailed" | "byClickingSignIAcknowledgeAndAgree" | "acknowledgePciRequirements" | "basedOnTheAboveSignatory" | "failedToGetPciStatus" | "failedToGetPciTemplate" | "failedToGetPciTemplateInSelectedLanguageFallbackToEn" | "failedToDownloadPci" | "signServiceAgreement" | "signedDocuments" | "paymentProcessingTerms" | "accountHolderTerms" | "capitalUserTerms" | "businessAccountTerms" | "cardUserTerms" | "franchiseesTAndCs" | "pciDssQuestionnaire" | "serviceAgreementSignedSuccessfully" | "serviceAgreementSignFailed" | "failedToGetServiceAgreementStatus" | "failedToGetServiceAgreement" | "failedToGetServiceAgreementInSelectedLanguageFallbackToEn" | "iHaveReadAndIAcceptTheseTerms" | "verified" | "signed" | "invalidRole" | "unableToVerifyTheIdNumber" | "download" | "accountHolder" | "accountHolderDescriptionCompany" | "accountHolderDescriptionIndividual" | "accountHolderDescriptionSoleProp" | "bankAccountToHaveSameNameAsTrust" | "bankCountry" | "bankAccountCountry" | "currency" | "currencyCode" | "currencyPlaceholder" | "bankAccountNumber" | "iban" | "swiftCode" | "bic" | "bsbNumber" | "branchCode" | "transitNumber" | "listitemVoidedChequeBankLetterBankStatementOnline" | "instructionNumber" | "institutionNumber" | "sortCode" | "bankCityTown" | "clearingCode" | "bankCode" | "bankName" | "achRoutingNumber" | "decisionMaker" | "decisionMakerDescription" | "owner" | "ownerDescription" | "controllingPerson" | "controllingPersonDescription" | "signatory" | "signatoryDescription" | "director" | "directorDescription" | "provideAllDirectors" | "addDecisionMaker" | "decisionMakers" | "goToOverview" | "saveAndGoToOverview" | "pleaseEnsureTheFollowing" | "edit" | "remove" | "toggleAssociationMenu" | "editDecisionMakerDetails" | "removeDecisionMaker" | "verifyDecisionMakerDetails" | "goToMenu" | "confirm" | "goToDecisionMakers" | "theSubmitWasSuccessful" | "thereWasAnErrorTryAgain" | "proofOfIdentityCard" | "proofOfIdentityCardNumber" | "proofOfResidence" | "proofOfNationalId" | "backToTaskList" | "proofOfResidenceDocumentTypeLabel" | "utilityBill" | "governmentIssuedCorrespondence" | "taxationDocument" | "extractFromMunicipalPersonalRecordsDatabase" | "salarySlip" | "mortgageStatement" | "certificateOfVoterRegistration" | "businessAccountDetailsDescription" | "businessAccountDetailsDescriptionReview" | "documentAddressedToName" | "showAddressStateCountry" | "dateOnDocumentNoOlderThanXMonths" | "fullDocumentVisibleWithReadableText" | "documentCannotBeDamaged" | "verify" | "add" | "idUploadDocumentSubtitle" | "documentNotExpiredOrDamaged" | "weAccept" | "includeFrontAndBack" | "fullDocumentVisible" | "imagesInColor" | "datePlaceholder" | "onlyEnterNormalCharacters" | "verifyCompanyInfoIsUpToDate" | "failedToFetchRelevantDocuments" | "failedToFetchRelevantAccounts" | "processing" | "inReview" | "unsuccessful" | "invalidDateOfBirth" | "invalidDateOfIncorporation" | "successfullyUpdatedDetails" | "failedToUpdateDetails" | "successfullyVerifiedIdNumber" | "failedFetchingDecisionMaker" | "fileUpload" | "bankStatement" | "bankStatementOptional" | "bankAccountVerification" | "bankStatementDocument" | "bankStatementDocumentTypeLabel" | "requirements" | "accountHolderNameMatchesWithBusinessOrTradingName" | "accountNumberOrIbanVisible" | "accountNumberVisible" | "routingNumberVisible" | "showsCountryOfBankAccount" | "hasToBeOfficialDocumentFromBank" | "ifDocumentMoreThan12months" | "whyDoINeedToFillInThisInformation" | "reasonForFillingCompanyRegistrationDetails" | "reasonForFillingCompanyAddressDetails" | "reasonForFillingIndividualPersonalDetails" | "reasonForFillingIndividualAddressDetails" | "reasonForFillingPayoutAccountDetails" | "reasonForFillingPayoutDetails" | "whatIsTheDifferenceBetweenTheseRoles" | "ownerGuideDescription" | "controllingPersonGuideDescription" | "signatoryGuideDescription" | "directorGuideDescription" | "someoneAppointedToManageACompanysBusinessAndAffairs" | "whatIfDocumentIsMoreThan12MonthsOld" | "descriptionHelper" | "depositTicket" | "screenshotOfOnlineBankingEnviroment" | "officialEmailOrALetterFromYourBank" | "cheques" | "releveDidentiteBancaire" | "successFullyRemovedDecisionMaker" | "failedToRemoveDecisionMaker" | "chamberOfCommerceExtract" | "taxNumberCorporateNumber" | "companyLegalName" | "companyName" | "companyType" | "taxReferenceNumber" | "companyProfile" | "companyNumber" | "RfcDocument" | "companyRegistrationDocument" | "businessName" | "typeOfCompany" | "typeOfIdentity" | "typeOfIdentitySubtitle" | "businessNumber" | "doingBusinessAs" | "taxIdentificationNumber" | "irdDocument" | "irdNumber" | "australianBusinessNumberAbn" | "australianBusinessNumberAcn" | "enterpriseNumber" | "NIP" | "NIPC" | "numerodeIVA" | "NIF" | "uen" | "nric" | "NIFdeIVA" | "partitaIVA" | "organisationsnummer" | "momsregistreringsnummer" | "codiceFiscaleOrCCIAA" | "UST-ID" | "DIC" | "ICO" | "USt-IdNr" | "handelsregisternummer" | "NumeroDeTVA" | "organisasjonsnummer" | "skattenummer" | "verificationErrorMessage" | "remediationFormErrorMessage" | "youHaveUnsavedChanges" | "areYouSureToLeave" | "cancel" | "save&Leave" | "leave" | "taxIdNumber" | "companyRegistrationNumber" | "euVatNumber" | "vatNumber" | "regonKrsNumber" | "registrationNumber" | "registrationNumber__nonProfit__FR" | "registrationNumber__FR" | "registrationNumber__PR" | "charityNumber" | "firmenbuchnummer" | "firmenbuchnummerOrZVR" | "stepsX/YofForm" | "no" | "yes" | "informationCouldNotBeSubmitted" | "fieldHasUnsupportedFormats" | "updateTheInformation" | "andResubmit" | "someFieldsHaveUnsupportedFormatedUpdateInfoAndResubmit" | "trustType" | "cashManagementTrust" | "corporateUnitTrust" | "deceasedEstate" | "discretionaryInvestmentTrust" | "discretionaryServicesManagementTrust" | "discretionaryTradingTrust" | "firstHomeSaverAccountsTrust" | "fixedTrust" | "fixedUnitTrust" | "hybridTrust" | "listedPublicUnitTrust" | "otherTrust" | "pooledSuperannuationTrust" | "publicTradingTrust" | "unlistedPublicUnitTrust" | "countryOfEstablishment" | "nameOfTrustAgreement" | "typeOfTrustAgreement" | "weFoundTheFollowingIssues" | "reviewTheInformationBelowAndCorrectMistakesOr" | "uploadTheRequestedDocuments" | "uploadTheFollowingDocuments" | "uploadDocumentAndDocument" | "thenResubmit" | "isTrustOperationAddressSame" | "trustDetails" | "trustDetailsDescription" | "trustDocumentDescription" | "nameOfTrust" | "fullLegalNamesOfAnyAppointers" | "dateDeedWasSigned" | "settlerDetailsIncl" | "trusteeDetailsIncl" | "beneficiariesDetailsIncl" | "trustMembers" | "trustMembersDescription" | "trustee" | "obligatory" | "requiredIfApplicable" | "provideAtLeastOneSettlor" | "provideAtLeastOneProtector" | "provideAllBeneficiaries" | "provideAllTrustees" | "provideAllControllingPersons" | "settlorGuideDescription" | "trusteeGuideDescription" | "protectorGuideDescription" | "beneficiaryGuideDescription" | "uboThroughControlGuideDescription" | "uboThroughOwnershipGuideDescription" | "beneficiary" | "protector" | "settlor" | "ultimateBeneficialOwner" | "addTrustMember" | "personAppointmentUnderTrustInstrument" | "legalOwnerOfProperty" | "entityEstablishingTrust" | "entityOwning25OrMoreOfTrust" | "controllingPersonOfTrust" | "failedToFetchTrustDetails" | "failedToFetchTrustMemberDetails" | "failedToFetchLegalEntityDetails" | "editTrustMember" | "removeTrustMember" | "successFullyRemovedTrustMember" | "failedToRemoveTrustMember" | "editEntityDetails" | "editOwnerOfTrustMember" | "editEntityOwner" | "addEntityOwner" | "addOwnerToTrustMember" | "whatTypeOfYourMembersEntity" | "naturalPersonTitle" | "naturalPersonDescription" | "businessEntityTitle" | "businessEntityDescription" | "roleAndEntityType" | "helpUsVerifyCompany" | "providePersonalDetailsOfOwner" | "memberDetails" | "good" | "notCutOff" | "notBlurry" | "notExpired" | "noGlare" | "selectDocumentType" | "registrationDocumentSubTitle" | "documentIssuedByGovernmentAuthority" | "uploadTaxationDocument" | "containsNameOfCompany" | "documentShowsTaxIdOfCompany" | "issuedByTheTaxAuthority" | "providePageWithPhotoAndCode" | "constitutionalDocument" | "solePropDetails" | "soleProprietorDetails" | "selectAccountHolder" | "nameOfBankAccountHolder" | "myName" | "myNameDescription" | "mySoleTraderName" | "mySoleTraderNameDescription" | "theCompanyIWorkFor" | "theCompanyIWorkForDescription" | "aTrust" | "aTrustDescription" | "aPartnership" | "aPartnershipDescription" | "anAssociation" | "anAssociationDescription" | "legalNameOfSoleProprietor" | "failedToFetchSoleProp" | "uniqueIdentificationCode" | "identifikacionenNomerDDS" | "MBS" | "PDVIdBrojOIB" | "cyRegistrationNumber" | "arithmosEngraphes" | "momsregistreringsnummerOrStamregister" | "registrikood" | "kaibemaksukohustuslaseNumber" | "YTunnus" | "arvonlisaveronumeroMervardesskattenummer" | "GEMI-number" | "grTaxId" | "huRegistrationNumber" | "huTaxId" | "valueAddedTaxIdentificationNumber" | "lvRegistrationNumber" | "lvTaxId" | "ltRegistrationNumber" | "mcRegistrationNumberSoleProp" | "PVMmoketojoKodas" | "luRegistrationNumber" | "numeroDIdentificationALATaxe" | "numarOrdineRegistrulComertului" | "codulDeIdentificareFiscala" | "skRegistrationNumber" | "skTaxId" | "siRegistrationNumber" | "siTaxId" | "chRegistrationNumber" | "mcRegistrationNumber" | "liRegistrationNumber" | "Mehrwertsteuernummer" | "Xdigits" | "upToXdigits" | "XtoYdigits" | "XorYdigits" | "Xcharacters" | "XtoYcharacters" | "XdigitsAndYcharacters" | "1character5to7digits" | "1char8digits" | "1charXalphanumeric" | "2characters6or7digits" | "7or8or12characters" | "2digits1to3letters5digits" | "Cchar5digits" | "characterPlusXToYDigitsWithOptionalSpace" | "cop1to8digits" | "8digitsOptional-" | "provideAllOwners" | "ifNoOwnersSpecifyControllingPersons" | "provideAtLeastOneSignatory" | "provideOneControllingPerson" | "textToVerifyAccount" | "theBankAccountHolderMustHaveTheSameNameAsYourCompany_" | "theBankAccountHolderMustBeInYourName_" | "weDoNotYetSupportInstantVerificationForBankAccountsIn_" | "youCanOnlyUseABankAccountInTheCountryWhereYourCompanyIsRegistered" | "youCanOnlyUseABankAccountInTheCountryWhereYouLive" | "mobileApplication" | "onOnlineBankingEnvironment" | "dontHaveAccessOnlineBanking" | "confirmPayoutManually" | "noteManualTakesLonger" | "accountVerification" | "verifyWith" | "documentVerification" | "youHaveSuccessfullyProvidedTheIdDocument" | "submitIdDocumentsAgain" | "madeAMistake" | "canNotCompleteInstantVerification" | "goBackAndProvideDocumentScans" | "identityCard" | "uploadOneOfTheFollowing" | "documentIssuedWithinLastYear" | "learnMore" | "doingBusinessAsNameFiling" | "taxFiling" | "continueAsCompany" | "continueAsIndividual" | "indicatedPayoutToCompany" | "continueSigningUpAsCompany" | "indicatedPayoutToPersonalAccount" | "continueSigningUpAsIndividual" | "continue" | "noGoBack" | "continueCompany" | "continueIndividual" | "addManually" | "searchAddress" | "startTypingTheAddress" | "addresses" | "loading" | "businessIncorporationNumber" | "doNotHaveBusinessIncorporationNumber" | "socialInsuranceNumber" | "verificationMethod" | "verifyViaMobileBankAppOrBankWebsite" | "provideAccountDetailsAndUploadBankStatement" | "instantVerificationDescription" | "couldNotEstablishBankConnection" | "sorryAnErrorOccurred" | "ranIntoTechnicalError" | "failedInitializeInstantVerification" | "couldNotCompleteAccountCheck" | "tryAgainOrManualAccountDetails" | "manualVerificationDescription" | "poweredBy" | "youSuccessfullyVerifiedAccount" | "verifyBankAccountAgain" | "accountName" | "mayTakeAFewHoursOrDays" | "instant" | "isOurTrustedPartnerHelpingSpeedUpSetup" | "howDoesVerificationWithOurPartnerWorks" | "selectTheBankToReceivePayouts" | "bankAccountFormat" | "ibanFormat" | "localFormat" | "payoutInOnly_" | "payoutIn_Or_" | "loginIntoYourBankingEnvironment" | "yourBankWillConfirmYourAccountDetails" | "adyenWillOnlyGetTemporaryAccess" | "instantVerification" | "xCharactersLeft" | "goBack" | "businessRegistrationNumber" | "doNotHaveBusinessNumber" | "UEN/GST" | "IRD/GST" | "enterNameExactlyAsAppearInID" | "enterLastNameExactlyAsAppearInID" | "takePhotoOriginalDocumentWithPhone" | "instantIDVerificationDescription" | "manualIDVerificationDescription" | "uploadScanOriginalIDDocument" | "takesLonger" | "howVerificationWithOnfidoWork" | "onfidoIsOurTrustedPartner" | "usePhoneToScanId" | "onfidoWillGiveFeedbackInRealTime" | "theIdCheckWillBeAutomaticallyValidated" | "adyenKeepsDataAsLongAsLegallyRequired" | "requiresSignatory" | "requiresDecisionMakers" | "definedBeneficiary" | "definedBeneficiaryDescription" | "undefinedBeneficiary" | "undefinedBeneficiaryDescription" | "description" | "descriptionOptional" | "describeWhoIsABeneficiaryInYourTrust" | "descriptionUndefinedBeneficiary" | "undefinedBeneficiaryGuideDescription" | "identityCardBack" | "identityCardFront" | "drivinglicenseBack" | "drivinglicenseFront" | "passportPhotoPage" | "residencePermitBack" | "residencePermitFront" | "manualUpload" | "errorMessage_1_10" | "errorMessage_1_11" | "errorMessage_1_12" | "errorMessage_1_30" | "errorMessage_1_31" | "errorMessage_1_32" | "errorMessage_1_33" | "errorMessage_1_34" | "errorMessage_1_35" | "errorMessage_1_36" | "errorMessage_1_37" | "errorMessage_1_38" | "errorMessage_1_39" | "errorMessage_1_40" | "errorMessage_1_41" | "errorMessage_1_50" | "errorMessage_1_51" | "errorMessage_1_52" | "errorMessage_1_53" | "errorMessage_1_54" | "errorMessage_1_55" | "errorMessage_1_56" | "errorMessage_1_57" | "errorMessage_1_60" | "errorMessage_1_61" | "errorMessage_1_62" | "errorMessage_1_70" | "errorMessage_1_71" | "errorMessage_1_72" | "errorMessage_1_73" | "errorMessage_1_74" | "errorMessage_1_75" | "errorMessage_1_76" | "errorMessage_1_1000" | "errorMessage_1_1001" | "errorMessage_1_1002" | "errorMessage_1_1003" | "errorMessage_1_3000" | "errorMessage_1_3001" | "errorMessage_1_3002" | "errorMessage_1_3003" | "errorMessage_1_3004" | "errorMessage_1_3005" | "errorMessage_1_3006" | "errorMessage_1_3007" | "errorMessage_1_3008" | "errorMessage_1_3009" | "errorMessage_1_3010" | "errorMessage_1_3011" | "errorMessage_1_3012" | "errorMessage_1_3013" | "errorMessage_1_3014" | "errorMessage_1_3015" | "errorMessage_1_3016" | "errorMessage_1_3017" | "errorMessage_1_3018" | "errorMessage_1_3019" | "errorMessage_1_3020" | "errorMessage_1_3021" | "errorMessage_1_3022" | "errorMessage_1_3023" | "errorMessage_1_3024" | "errorMessage_1_3025" | "errorMessage_1_3026" | "errorMessage_1_3027" | "errorMessage_1_3028" | "errorMessage_1_3029" | "errorMessage_1_3030" | "errorMessage_1_3031" | "errorMessage_1_3032" | "errorMessage_1_3033" | "errorMessage_1_3034" | "errorMessage_1_3035" | "errorMessage_1_3036" | "errorMessage_1_3037" | "errorMessage_1_3038" | "errorMessage_1_3039" | "errorMessage_1_3040" | "errorMessage_1_3041" | "errorMessage_1_3042" | "errorMessage_1_3043" | "errorMessage_1_3044" | "errorMessage_1_3045" | "errorMessage_1_3046" | "errorMessage_1_3047" | "errorMessage_1_3048" | "errorMessage_1_3049" | "errorMessage_1_3050" | "errorMessage_1_3051" | "errorMessage_1_3062" | "errorMessage_1_5000" | "errorMessage_1_5001" | "errorMessage_1_5002" | "errorMessage_1_5003" | "errorMessage_1_5004" | "errorMessage_1_5005" | "errorMessage_1_5006" | "errorMessage_1_5007" | "errorMessage_1_5008" | "errorMessage_1_5009" | "errorMessage_1_5010" | "errorMessage_1_5011" | "errorMessage_1_5012" | "errorMessage_1_5013" | "errorMessage_1_5014" | "errorMessage_1_5015" | "errorMessage_1_5016" | "errorMessage_1_5017" | "errorMessage_1_5018" | "errorMessage_1_5019" | "errorMessage_1_5020" | "errorMessage_1_5021" | "errorMessage_1_5022" | "errorMessage_1_5023" | "errorMessage_1_5024" | "errorMessage_1_5025" | "errorMessage_1_5026" | "errorMessage_1_5027" | "errorMessage_1_5028" | "errorMessage_1_5029" | "errorMessage_1_5030" | "errorMessage_1_5031" | "errorMessage_1_5032" | "errorMessage_1_5033" | "errorMessage_1_5034" | "errorMessage_1_5035" | "errorMessage_1_5036" | "errorMessage_1_5037" | "errorMessage_1_5038" | "errorMessage_1_5039" | "errorMessage_1_5040" | "errorMessage_1_5041" | "errorMessage_1_5042" | "errorMessage_1_5043" | "errorMessage_1_5044" | "errorMessage_1_5045" | "errorMessage_1_5046" | "errorMessage_1_5047" | "errorMessage_1_5048" | "errorMessage_1_5049" | "errorMessage_1_5050" | "errorMessage_1_5051" | "errorMessage_1_5052" | "errorMessage_1_5053" | "errorMessage_1_6000" | "errorMessage_1_6001" | "errorMessage_1_6002" | "errorMessage_1_6003" | "errorMessage_1_6004" | "errorMessage_1_6005" | "errorMessage_1_6006" | "errorMessage_1_6007" | "errorMessage_1_6008" | "errorMessage_1_6009" | "errorMessage_1_6010" | "errorMessage_1_6011" | "errorMessage_1_6022" | "errorMessage_1_6027" | "errorMessage_1_7000" | "errorMessage_1_7001" | "errorMessage_1_7002" | "errorMessage_1_7003" | "errorMessage_1_7004" | "errorMessage_1_7005" | "errorMessage_1_7006" | "errorMessage_1_7007" | "errorMessage_1_7008" | "errorMessage_1_7009" | "errorMessage_1_7010" | "errorMessage_1_7011" | "errorMessage_1_7012" | "errorMessage_1_7013" | "errorMessage_1_7014" | "errorMessage_1_7015" | "errorMessage_1_7016" | "errorMessage_1_7017" | "errorMessage_1_7018" | "errorMessage_1_7019" | "errorMessage_1_7020" | "errorMessage_1_7021" | "errorMessage_1_7022" | "errorMessage_3_10" | "remediationMessage_1_100" | "remediationMessage_1_101" | "remediationMessage_1_102" | "remediationMessage_2_158" | "remediationMessage_1_300" | "remediationMessage_1_301" | "remediationMessage_1_302" | "remediationMessage_1_303" | "remediationMessage_1_304" | "remediationMessage_1_305" | "remediationMessage_1_306" | "remediationMessage_1_307" | "remediationMessage_1_308" | "remediationMessage_1_309" | "remediationMessage_1_316" | "remediationMessage_1_500" | "remediationMessage_1_501" | "remediationMessage_1_502" | "remediationMessage_1_503" | "remediationMessage_1_504" | "remediationMessage_1_505" | "remediationMessage_1_506" | "remediationMessage_1_507" | "remediationMessage_1_508" | "remediationMessage_1_509" | "remediationMessage_1_510" | "remediationMessage_1_511" | "remediationMessage_1_600" | "remediationMessage_1_601" | "remediationMessage_1_602" | "remediationMessage_1_700" | "remediationMessage_1_701" | "remediationMessage_1_702" | "remediationMessage_1_703" | "remediationMessage_1_704" | "remediationMessage_1_705" | "remediationMessage_3_100" | "sameNameAsLegalName" | "whereCanIFindTheseNumbersOnMyDriversLicense" | "whereToFindNumbersOnDriversLicense" | "iStillCantFindIt" | "patriotActDisclosureTitle" | "patriotActDisclosureTextParagraph1" | "patriotActDisclosureTextParagraph2" | "trusteeAsTrusteeForTrust" | "trustDeed" | "trustInstrument" | "makeSureToHaveYourTrustDeed" | "maintenanceModeMessage" | "individualTrusteeDetails" | "companyTrusteeDetails" | "trusteePersonalDetails" | "byProceedingToTheNextStepYouConfirmThatYouHaveReadUnderstandAndAcceptTheTerms" | "whichOfTheseApplyToTheSettlor" | "contributionBelowThreshold" | "professionalServiceProvider" | "deceased" | "noneOfTheAbove" | "settlorExemptionReason" | "otherInformation";
|
|
9
|
+
export declare const getKeyForField: (fieldName: string, country: CountryCode) => "SST" | "RFC" | "CNPJ" | "CVR-nummer" | "close" | "individual" | "payoutAccount" | "payinAccount" | "firstName" | "lastName" | "country" | "street" | "houseNumber" | "houseNumberOptional" | "houseNumberOrName" | "postalCode" | "city" | "cityTown" | "state" | "provinceOrTerritory" | "selectProvinceOrTerritory" | "zipCode" | "apartmentSuite" | "apartmentSuiteOptional" | "phoneNumber" | "email" | "birthdate" | "code" | "invalidEmail" | "pleaseEnterAPhoneNumberPrefixedWithCountryCode" | "invalidPhoneNumber" | "birthDate" | "idNumber" | "selectState" | "selectCountry" | "search" | "noOptionsFound" | "SSNFormatUS" | "SSNFormatUS9Digits" | "SINFormatCA" | "invalidFormat" | "fieldIsRequired" | "tooManyFiles" | "duplicatedFiles" | "unsupportedFiletype" | "maximumFileSizeExceeded" | "personalDetails" | "invalidBirthDate" | "address" | "contactDetails" | "uploadDocument" | "individualDetails" | "socialSecurityNumber" | "socialSecurityNumber9Digits" | "codiceFiscale" | "personnummer" | "dni" | "peselNumber" | "detCentralePersonregister" | "codNumericPersonal" | "cadastroDePessoasFisicas" | "invalidFormatExpects" | "invalidFormatForAuPassportNumber" | "invalidFormatForAuDriversLicenseNumber" | "invalidFormatForAuDriversLicenseCardNumber" | "invalidFormatForAuProofOfIdentityCardNumber" | "invalidFormatIdentityNumberBR" | "invalidFormatIdentityNumberDK" | "invalidFormatIdentityNumberCA" | "invalidFormatIdentityNumberIT" | "invalidFormatIdentityNumberPL" | "invalidFormatIdentityNumberRO" | "invalidFormatIdentityNumberES" | "invalidFormatIdentityNumberSE" | "invalidFormatIdentityNumberUS" | "invalidFormatIdentityNumberUS9" | "invalidFormatIdentityNumberSG" | "invalidFormatBankStatementDescription" | "residencyCountry" | "stateOrProvince" | "selectStateOrProvince" | "dragYourFilesHereOr" | "browse" | "supports" | "complete" | "summary" | "selectDocument" | "passport" | "passportNumber" | "id" | "driversLicense" | "issuerState" | "licenseNumber" | "licenseCardNumber" | "documents" | "idDocument" | "documentType" | "frontPage" | "backPage" | "fileName" | "nationality" | "dateOfIncorporation" | "proofOfNationality" | "uploadDocumentForSsn" | "uploadDocumentForNric" | "operationalAddressHeader" | "operationalAddressHeaderDescription" | "operationalAddressIsSame" | "operationalAddressIsSameItemName" | "operationalAddressIsNotSameItemName" | "verifyPrefilledInfoIsCorrect" | "legalStructureHeader" | "whatTypeOfCompanyDoYouHave" | "privateCompanyTitle" | "privateCompanyDescription" | "publicCompanyTitle" | "publicCompanyDescription" | "incorporatedPartnershipTitle" | "incorporatedPartnershipDescription" | "nonProfitOrCharitableOrgTitle" | "nonProfitOrCharitableOrgDescription" | "governmentalOrganizationTitle" | "governmentalOrganizationDescription" | "associationIncorporatedTitle" | "associationIncorporatedDescription" | "jobTitle" | "legalStructure" | "entityType" | "registrationDetails" | "registeredAddress" | "registrationAddress" | "registeredAddressHeaderDescription" | "registeredAddressHeaderDescription__US" | "registeredAddressTrustHeaderDescription" | "operationalAddress" | "provideRegistrationDetails" | "companyStructure" | "providePersonalAddress" | "provideContactDetails" | "correctErrorsResubmit" | "registrationDocument" | "taxDocument" | "companyDetails" | "invalidRegistrationNumber" | "tradingName" | "chamberOfCommerceRegistrationNumber" | "taxId" | "exemptedFromTax" | "doNotHaveTaxIdNumber" | "doNotHaveFirmenbuchnummer" | "doNotHaveOrganisationsnummer" | "doNotHaveYTunnus" | "doNotHaveLtRegistrationNumber" | "doNotHaveLuRegistrationNumber" | "doNotHaveChRegistrationNumber" | "doNotHaveHandelsregisternummer" | "doNotHaveRegonKrsNumber" | "taxIdAbsenceReason" | "vatNumberExempted" | "vatNumberAbsenceReason" | "belowTaxThreshold" | "industryExemption" | "validationPleaseEnterAValidRegistrationNumber" | "validationPleaseEnterAValidRegistrationNumberWithFormat" | "validationPleaseEnterAValidVatNumber" | "validationPleaseEnterAValidVatNumberWithFormat" | "validationPleaseEnterAValidTaxIdNumberWithFormat" | "aValidAbnShouldBe11Digits" | "aValidUenOrGstShouldBe9To10Characters" | "validationPleaseEnterAValidUen" | "validationPleaseEnterAValidIban" | "yourIbanShouldBeginWith_" | "validation8Or11Characters" | "validationCharacters" | "validationDigitsBetween" | "validationDigits" | "enterValidRegistrationNumber" | "stockExchangeMIC" | "stockExchangeMICHelper" | "stockISINHelper" | "stockISIN" | "validationPleaseEnterAValidMarketIdentifier" | "validationPleaseEnterAValidStockISIN" | "shareholderDocument" | "role" | "selectAllTheRolesThatThisDecisionMakerHolds" | "selectTheApplicableRoles" | "back" | "next" | "submit" | "submitSuccessful" | "submitFailed" | "submitReviewOfYourData" | "completeReview" | "submitReview" | "pleaseNote" | "byClickingSubmitReview" | "nameAndCountry" | "companyCountry" | "legalCompanyName" | "legalCompanyNameHelper" | "legalCompanyNameHelper__AU" | "legalCompanyNameHelper__US" | "legalCompanyNameHelper__SG" | "accountDetailsDescription" | "provideDetails" | "payoutAccountsDescription" | "payoutAccountsDescriptionReview" | "payinAccountsDescription" | "addExtraPayoutAccount" | "addExtraPayinAccount" | "payoutDetails" | "payinDetails" | "addPayoutAccount" | "addPayinAccount" | "failedToFetchPayoutAccount" | "failedToDeletePayoutAccount" | "transferInstrumentDeleted" | "toCompleteProcessReviewAndSignOfficialDocumentation" | "sign" | "signer" | "selectSigner" | "pciSignedSuccessfully" | "pciSignFailed" | "byClickingSignIAcknowledgeAndAgree" | "acknowledgePciRequirements" | "basedOnTheAboveSignatory" | "failedToGetPciStatus" | "failedToGetPciTemplate" | "failedToGetPciTemplateInSelectedLanguageFallbackToEn" | "failedToDownloadPci" | "signServiceAgreement" | "signedDocuments" | "paymentProcessingTerms" | "accountHolderTerms" | "capitalUserTerms" | "businessAccountTerms" | "cardUserTerms" | "franchiseesTAndCs" | "pciDssQuestionnaire" | "serviceAgreementSignedSuccessfully" | "serviceAgreementSignFailed" | "failedToGetServiceAgreementStatus" | "failedToGetServiceAgreement" | "failedToGetServiceAgreementInSelectedLanguageFallbackToEn" | "iHaveReadAndIAcceptTheseTerms" | "verified" | "signed" | "invalidRole" | "unableToVerifyTheIdNumber" | "download" | "accountHolder" | "accountHolderDescriptionCompany" | "accountHolderDescriptionIndividual" | "accountHolderDescriptionSoleProp" | "bankAccountToHaveSameNameAsTrust" | "bankCountry" | "bankAccountCountry" | "currency" | "currencyCode" | "currencyPlaceholder" | "bankAccountNumber" | "iban" | "swiftCode" | "bic" | "bsbNumber" | "branchCode" | "transitNumber" | "listitemVoidedChequeBankLetterBankStatementOnline" | "instructionNumber" | "institutionNumber" | "sortCode" | "bankCityTown" | "clearingCode" | "bankCode" | "bankName" | "achRoutingNumber" | "decisionMaker" | "decisionMakerDescription" | "owner" | "ownerDescription" | "controllingPerson" | "controllingPersonDescription" | "signatory" | "signatoryDescription" | "director" | "directorDescription" | "provideAllDirectors" | "addDecisionMaker" | "decisionMakers" | "goToOverview" | "saveAndGoToOverview" | "pleaseEnsureTheFollowing" | "edit" | "remove" | "toggleAssociationMenu" | "editDecisionMakerDetails" | "removeDecisionMaker" | "verifyDecisionMakerDetails" | "goToMenu" | "confirm" | "goToDecisionMakers" | "theSubmitWasSuccessful" | "thereWasAnErrorTryAgain" | "proofOfIdentityCard" | "proofOfIdentityCardNumber" | "proofOfResidence" | "proofOfNationalId" | "backToTaskList" | "proofOfResidenceDocumentTypeLabel" | "utilityBill" | "governmentIssuedCorrespondence" | "taxationDocument" | "extractFromMunicipalPersonalRecordsDatabase" | "salarySlip" | "mortgageStatement" | "certificateOfVoterRegistration" | "businessAccountDetailsDescription" | "businessAccountDetailsDescriptionReview" | "documentAddressedToName" | "showAddressStateCountry" | "dateOnDocumentNoOlderThanXMonths" | "fullDocumentVisibleWithReadableText" | "documentCannotBeDamaged" | "verify" | "add" | "idUploadDocumentSubtitle" | "documentNotExpiredOrDamaged" | "weAccept" | "includeFrontAndBack" | "fullDocumentVisible" | "imagesInColor" | "datePlaceholder" | "onlyEnterNormalCharacters" | "verifyCompanyInfoIsUpToDate" | "failedToFetchRelevantDocuments" | "failedToFetchRelevantAccounts" | "processing" | "inReview" | "unsuccessful" | "invalidDateOfBirth" | "invalidDateOfIncorporation" | "successfullyUpdatedDetails" | "failedToUpdateDetails" | "successfullyVerifiedIdNumber" | "failedFetchingDecisionMaker" | "fileUpload" | "bankStatement" | "bankStatementOptional" | "bankAccountVerification" | "bankStatementDocument" | "bankStatementDocumentTypeLabel" | "requirements" | "accountHolderNameMatchesWithBusinessOrTradingName" | "accountNumberOrIbanVisible" | "accountNumberVisible" | "routingNumberVisible" | "showsCountryOfBankAccount" | "hasToBeOfficialDocumentFromBank" | "ifDocumentMoreThan12months" | "whyDoINeedToFillInThisInformation" | "reasonForFillingCompanyRegistrationDetails" | "reasonForFillingCompanyAddressDetails" | "reasonForFillingIndividualPersonalDetails" | "reasonForFillingIndividualAddressDetails" | "reasonForFillingPayoutAccountDetails" | "reasonForFillingPayoutDetails" | "whatIsTheDifferenceBetweenTheseRoles" | "ownerGuideDescription" | "controllingPersonGuideDescription" | "signatoryGuideDescription" | "directorGuideDescription" | "someoneAppointedToManageACompanysBusinessAndAffairs" | "whatIfDocumentIsMoreThan12MonthsOld" | "descriptionHelper" | "depositTicket" | "screenshotOfOnlineBankingEnviroment" | "officialEmailOrALetterFromYourBank" | "cheques" | "releveDidentiteBancaire" | "successFullyRemovedDecisionMaker" | "failedToRemoveDecisionMaker" | "chamberOfCommerceExtract" | "taxNumberCorporateNumber" | "companyLegalName" | "companyName" | "companyType" | "taxReferenceNumber" | "companyProfile" | "companyNumber" | "RfcDocument" | "companyRegistrationDocument" | "businessName" | "typeOfCompany" | "typeOfIdentity" | "typeOfIdentitySubtitle" | "businessNumber" | "doingBusinessAs" | "taxIdentificationNumber" | "irdDocument" | "irdNumber" | "australianBusinessNumberAbn" | "australianBusinessNumberAcn" | "enterpriseNumber" | "NIP" | "NIPC" | "numerodeIVA" | "NIF" | "uen" | "nric" | "NIFdeIVA" | "partitaIVA" | "organisationsnummer" | "momsregistreringsnummer" | "codiceFiscaleOrCCIAA" | "UST-ID" | "DIC" | "ICO" | "USt-IdNr" | "handelsregisternummer" | "NumeroDeTVA" | "organisasjonsnummer" | "skattenummer" | "verificationErrorMessage" | "remediationFormErrorMessage" | "youHaveUnsavedChanges" | "areYouSureToLeave" | "cancel" | "save&Leave" | "leave" | "taxIdNumber" | "companyRegistrationNumber" | "euVatNumber" | "vatNumber" | "regonKrsNumber" | "registrationNumber" | "registrationNumber__nonProfit__FR" | "registrationNumber__FR" | "registrationNumber__PR" | "charityNumber" | "firmenbuchnummer" | "firmenbuchnummerOrZVR" | "stepsX/YofForm" | "no" | "yes" | "informationCouldNotBeSubmitted" | "fieldHasUnsupportedFormats" | "updateTheInformation" | "andResubmit" | "someFieldsHaveUnsupportedFormatedUpdateInfoAndResubmit" | "trustType" | "cashManagementTrust" | "corporateUnitTrust" | "deceasedEstate" | "discretionaryInvestmentTrust" | "discretionaryServicesManagementTrust" | "discretionaryTradingTrust" | "firstHomeSaverAccountsTrust" | "fixedTrust" | "fixedUnitTrust" | "hybridTrust" | "listedPublicUnitTrust" | "otherTrust" | "pooledSuperannuationTrust" | "publicTradingTrust" | "unlistedPublicUnitTrust" | "countryOfEstablishment" | "nameOfTrustAgreement" | "typeOfTrustAgreement" | "weFoundTheFollowingIssues" | "reviewTheInformationBelowAndCorrectMistakesOr" | "uploadTheRequestedDocuments" | "uploadTheFollowingDocuments" | "uploadDocumentAndDocument" | "thenResubmit" | "isTrustOperationAddressSame" | "trustDetails" | "trustDetailsDescription" | "trustDocumentDescription" | "nameOfTrust" | "fullLegalNamesOfAnyAppointers" | "dateDeedWasSigned" | "settlerDetailsIncl" | "trusteeDetailsIncl" | "beneficiariesDetailsIncl" | "trustMembers" | "trustMembersDescription" | "trustee" | "obligatory" | "requiredIfApplicable" | "provideAtLeastOneSettlor" | "provideAtLeastOneProtector" | "provideAllBeneficiaries" | "provideAllTrustees" | "provideAllControllingPersons" | "settlorGuideDescription" | "trusteeGuideDescription" | "protectorGuideDescription" | "beneficiaryGuideDescription" | "uboThroughControlGuideDescription" | "uboThroughOwnershipGuideDescription" | "beneficiary" | "protector" | "settlor" | "ultimateBeneficialOwner" | "addTrustMember" | "personAppointmentUnderTrustInstrument" | "legalOwnerOfProperty" | "entityEstablishingTrust" | "entityOwning25OrMoreOfTrust" | "controllingPersonOfTrust" | "failedToFetchTrustDetails" | "failedToFetchTrustMemberDetails" | "failedToFetchLegalEntityDetails" | "editTrustMember" | "removeTrustMember" | "successFullyRemovedTrustMember" | "failedToRemoveTrustMember" | "editEntityDetails" | "editOwnerOfTrustMember" | "editEntityOwner" | "addEntityOwner" | "addOwnerToTrustMember" | "whatTypeOfYourMembersEntity" | "naturalPersonTitle" | "naturalPersonDescription" | "businessEntityTitle" | "businessEntityDescription" | "roleAndEntityType" | "helpUsVerifyCompany" | "providePersonalDetailsOfOwner" | "memberDetails" | "good" | "notCutOff" | "notBlurry" | "notExpired" | "noGlare" | "selectDocumentType" | "registrationDocumentSubTitle" | "documentIssuedByGovernmentAuthority" | "uploadTaxationDocument" | "containsNameOfCompany" | "documentShowsTaxIdOfCompany" | "issuedByTheTaxAuthority" | "providePageWithPhotoAndCode" | "constitutionalDocument" | "solePropDetails" | "soleProprietorDetails" | "selectAccountHolder" | "nameOfBankAccountHolder" | "myName" | "myNameDescription" | "mySoleTraderName" | "mySoleTraderNameDescription" | "theCompanyIWorkFor" | "theCompanyIWorkForDescription" | "aTrust" | "aTrustDescription" | "aPartnership" | "aPartnershipDescription" | "anAssociation" | "anAssociationDescription" | "legalNameOfSoleProprietor" | "failedToFetchSoleProp" | "uniqueIdentificationCode" | "identifikacionenNomerDDS" | "MBS" | "PDVIdBrojOIB" | "cyRegistrationNumber" | "arithmosEngraphes" | "momsregistreringsnummerOrStamregister" | "registrikood" | "kaibemaksukohustuslaseNumber" | "YTunnus" | "arvonlisaveronumeroMervardesskattenummer" | "GEMI-number" | "grTaxId" | "huRegistrationNumber" | "huTaxId" | "valueAddedTaxIdentificationNumber" | "lvRegistrationNumber" | "lvTaxId" | "ltRegistrationNumber" | "mcRegistrationNumberSoleProp" | "PVMmoketojoKodas" | "luRegistrationNumber" | "numeroDIdentificationALATaxe" | "numarOrdineRegistrulComertului" | "codulDeIdentificareFiscala" | "skRegistrationNumber" | "skTaxId" | "siRegistrationNumber" | "siTaxId" | "chRegistrationNumber" | "mcRegistrationNumber" | "liRegistrationNumber" | "Mehrwertsteuernummer" | "Xdigits" | "upToXdigits" | "XtoYdigits" | "XorYdigits" | "Xcharacters" | "XtoYcharacters" | "XdigitsAndYcharacters" | "1character5to7digits" | "1char8digits" | "1charXalphanumeric" | "2characters6or7digits" | "7or8or12characters" | "2digits1to3letters5digits" | "Cchar5digits" | "characterPlusXToYDigitsWithOptionalSpace" | "cop1to8digits" | "8digitsOptional-" | "provideAllOwners" | "ifNoOwnersSpecifyControllingPersons" | "provideAtLeastOneSignatory" | "provideOneControllingPerson" | "textToVerifyAccount" | "theBankAccountHolderMustHaveTheSameNameAsYourCompany_" | "theBankAccountHolderMustBeInYourName_" | "weDoNotYetSupportInstantVerificationForBankAccountsIn_" | "youCanOnlyUseABankAccountInTheCountryWhereYourCompanyIsRegistered" | "youCanOnlyUseABankAccountInTheCountryWhereYouLive" | "mobileApplication" | "onOnlineBankingEnvironment" | "dontHaveAccessOnlineBanking" | "confirmPayoutManually" | "noteManualTakesLonger" | "accountVerification" | "verifyWith" | "documentVerification" | "youHaveSuccessfullyProvidedTheIdDocument" | "submitIdDocumentsAgain" | "madeAMistake" | "canNotCompleteInstantVerification" | "goBackAndProvideDocumentScans" | "identityCard" | "uploadOneOfTheFollowing" | "documentIssuedWithinLastYear" | "learnMore" | "doingBusinessAsNameFiling" | "taxFiling" | "continueAsCompany" | "continueAsIndividual" | "indicatedPayoutToCompany" | "continueSigningUpAsCompany" | "indicatedPayoutToPersonalAccount" | "continueSigningUpAsIndividual" | "continue" | "noGoBack" | "continueCompany" | "continueIndividual" | "addManually" | "searchAddress" | "startTypingTheAddress" | "addresses" | "loading" | "businessIncorporationNumber" | "doNotHaveBusinessIncorporationNumber" | "socialInsuranceNumber" | "verificationMethod" | "verifyViaMobileBankAppOrBankWebsite" | "provideAccountDetailsAndUploadBankStatement" | "instantVerificationDescription" | "couldNotEstablishBankConnection" | "sorryAnErrorOccurred" | "ranIntoTechnicalError" | "failedInitializeInstantVerification" | "couldNotCompleteAccountCheck" | "tryAgainOrManualAccountDetails" | "manualVerificationDescription" | "poweredBy" | "youSuccessfullyVerifiedAccount" | "verifyBankAccountAgain" | "accountName" | "mayTakeAFewHoursOrDays" | "instant" | "isOurTrustedPartnerHelpingSpeedUpSetup" | "howDoesVerificationWithOurPartnerWorks" | "selectTheBankToReceivePayouts" | "bankAccountFormat" | "ibanFormat" | "localFormat" | "payoutInOnly_" | "payoutIn_Or_" | "loginIntoYourBankingEnvironment" | "yourBankWillConfirmYourAccountDetails" | "adyenWillOnlyGetTemporaryAccess" | "instantVerification" | "xCharactersLeft" | "goBack" | "businessRegistrationNumber" | "doNotHaveBusinessNumber" | "UEN/GST" | "IRD/GST" | "enterNameExactlyAsAppearInID" | "enterLastNameExactlyAsAppearInID" | "takePhotoOriginalDocumentWithPhone" | "instantIDVerificationDescription" | "manualIDVerificationDescription" | "uploadScanOriginalIDDocument" | "takesLonger" | "howVerificationWithOnfidoWork" | "onfidoIsOurTrustedPartner" | "usePhoneToScanId" | "onfidoWillGiveFeedbackInRealTime" | "theIdCheckWillBeAutomaticallyValidated" | "adyenKeepsDataAsLongAsLegallyRequired" | "requiresSignatory" | "requiresDecisionMakers" | "definedBeneficiary" | "definedBeneficiaryDescription" | "undefinedBeneficiary" | "undefinedBeneficiaryDescription" | "description" | "descriptionOptional" | "describeWhoIsABeneficiaryInYourTrust" | "descriptionUndefinedBeneficiary" | "undefinedBeneficiaryGuideDescription" | "identityCardBack" | "identityCardFront" | "drivinglicenseBack" | "drivinglicenseFront" | "passportPhotoPage" | "residencePermitBack" | "residencePermitFront" | "manualUpload" | "errorMessage_1_10" | "errorMessage_1_11" | "errorMessage_1_12" | "errorMessage_1_30" | "errorMessage_1_31" | "errorMessage_1_32" | "errorMessage_1_33" | "errorMessage_1_34" | "errorMessage_1_35" | "errorMessage_1_36" | "errorMessage_1_37" | "errorMessage_1_38" | "errorMessage_1_39" | "errorMessage_1_40" | "errorMessage_1_41" | "errorMessage_1_50" | "errorMessage_1_51" | "errorMessage_1_52" | "errorMessage_1_53" | "errorMessage_1_54" | "errorMessage_1_55" | "errorMessage_1_56" | "errorMessage_1_57" | "errorMessage_1_60" | "errorMessage_1_61" | "errorMessage_1_62" | "errorMessage_1_70" | "errorMessage_1_71" | "errorMessage_1_72" | "errorMessage_1_73" | "errorMessage_1_74" | "errorMessage_1_75" | "errorMessage_1_76" | "errorMessage_1_1000" | "errorMessage_1_1001" | "errorMessage_1_1002" | "errorMessage_1_1003" | "errorMessage_1_3000" | "errorMessage_1_3001" | "errorMessage_1_3002" | "errorMessage_1_3003" | "errorMessage_1_3004" | "errorMessage_1_3005" | "errorMessage_1_3006" | "errorMessage_1_3007" | "errorMessage_1_3008" | "errorMessage_1_3009" | "errorMessage_1_3010" | "errorMessage_1_3011" | "errorMessage_1_3012" | "errorMessage_1_3013" | "errorMessage_1_3014" | "errorMessage_1_3015" | "errorMessage_1_3016" | "errorMessage_1_3017" | "errorMessage_1_3018" | "errorMessage_1_3019" | "errorMessage_1_3020" | "errorMessage_1_3021" | "errorMessage_1_3022" | "errorMessage_1_3023" | "errorMessage_1_3024" | "errorMessage_1_3025" | "errorMessage_1_3026" | "errorMessage_1_3027" | "errorMessage_1_3028" | "errorMessage_1_3029" | "errorMessage_1_3030" | "errorMessage_1_3031" | "errorMessage_1_3032" | "errorMessage_1_3033" | "errorMessage_1_3034" | "errorMessage_1_3035" | "errorMessage_1_3036" | "errorMessage_1_3037" | "errorMessage_1_3038" | "errorMessage_1_3039" | "errorMessage_1_3040" | "errorMessage_1_3041" | "errorMessage_1_3042" | "errorMessage_1_3043" | "errorMessage_1_3044" | "errorMessage_1_3045" | "errorMessage_1_3046" | "errorMessage_1_3047" | "errorMessage_1_3048" | "errorMessage_1_3049" | "errorMessage_1_3050" | "errorMessage_1_3051" | "errorMessage_1_3062" | "errorMessage_1_5000" | "errorMessage_1_5001" | "errorMessage_1_5002" | "errorMessage_1_5003" | "errorMessage_1_5004" | "errorMessage_1_5005" | "errorMessage_1_5006" | "errorMessage_1_5007" | "errorMessage_1_5008" | "errorMessage_1_5009" | "errorMessage_1_5010" | "errorMessage_1_5011" | "errorMessage_1_5012" | "errorMessage_1_5013" | "errorMessage_1_5014" | "errorMessage_1_5015" | "errorMessage_1_5016" | "errorMessage_1_5017" | "errorMessage_1_5018" | "errorMessage_1_5019" | "errorMessage_1_5020" | "errorMessage_1_5021" | "errorMessage_1_5022" | "errorMessage_1_5023" | "errorMessage_1_5024" | "errorMessage_1_5025" | "errorMessage_1_5026" | "errorMessage_1_5027" | "errorMessage_1_5028" | "errorMessage_1_5029" | "errorMessage_1_5030" | "errorMessage_1_5031" | "errorMessage_1_5032" | "errorMessage_1_5033" | "errorMessage_1_5034" | "errorMessage_1_5035" | "errorMessage_1_5036" | "errorMessage_1_5037" | "errorMessage_1_5038" | "errorMessage_1_5039" | "errorMessage_1_5040" | "errorMessage_1_5041" | "errorMessage_1_5042" | "errorMessage_1_5043" | "errorMessage_1_5044" | "errorMessage_1_5045" | "errorMessage_1_5046" | "errorMessage_1_5047" | "errorMessage_1_5048" | "errorMessage_1_5049" | "errorMessage_1_5050" | "errorMessage_1_5051" | "errorMessage_1_5052" | "errorMessage_1_5053" | "errorMessage_1_6000" | "errorMessage_1_6001" | "errorMessage_1_6002" | "errorMessage_1_6003" | "errorMessage_1_6004" | "errorMessage_1_6005" | "errorMessage_1_6006" | "errorMessage_1_6007" | "errorMessage_1_6008" | "errorMessage_1_6009" | "errorMessage_1_6010" | "errorMessage_1_6011" | "errorMessage_1_6022" | "errorMessage_1_6027" | "errorMessage_1_7000" | "errorMessage_1_7001" | "errorMessage_1_7002" | "errorMessage_1_7003" | "errorMessage_1_7004" | "errorMessage_1_7005" | "errorMessage_1_7006" | "errorMessage_1_7007" | "errorMessage_1_7008" | "errorMessage_1_7009" | "errorMessage_1_7010" | "errorMessage_1_7011" | "errorMessage_1_7012" | "errorMessage_1_7013" | "errorMessage_1_7014" | "errorMessage_1_7015" | "errorMessage_1_7016" | "errorMessage_1_7017" | "errorMessage_1_7018" | "errorMessage_1_7019" | "errorMessage_1_7020" | "errorMessage_1_7021" | "errorMessage_1_7022" | "errorMessage_3_10" | "remediationMessage_1_100" | "remediationMessage_1_101" | "remediationMessage_1_102" | "remediationMessage_2_158" | "remediationMessage_1_300" | "remediationMessage_1_301" | "remediationMessage_1_302" | "remediationMessage_1_303" | "remediationMessage_1_304" | "remediationMessage_1_305" | "remediationMessage_1_306" | "remediationMessage_1_307" | "remediationMessage_1_308" | "remediationMessage_1_309" | "remediationMessage_1_316" | "remediationMessage_1_500" | "remediationMessage_1_501" | "remediationMessage_1_502" | "remediationMessage_1_503" | "remediationMessage_1_504" | "remediationMessage_1_505" | "remediationMessage_1_506" | "remediationMessage_1_507" | "remediationMessage_1_508" | "remediationMessage_1_509" | "remediationMessage_1_510" | "remediationMessage_1_511" | "remediationMessage_1_600" | "remediationMessage_1_601" | "remediationMessage_1_602" | "remediationMessage_1_700" | "remediationMessage_1_701" | "remediationMessage_1_702" | "remediationMessage_1_703" | "remediationMessage_1_704" | "remediationMessage_1_705" | "remediationMessage_3_100" | "sameNameAsLegalName" | "whereCanIFindTheseNumbersOnMyDriversLicense" | "whereToFindNumbersOnDriversLicense" | "iStillCantFindIt" | "patriotActDisclosureTitle" | "patriotActDisclosureTextParagraph1" | "patriotActDisclosureTextParagraph2" | "trusteeAsTrusteeForTrust" | "trustDeed" | "trustInstrument" | "makeSureToHaveYourTrustDeed" | "maintenanceModeMessage" | "individualTrusteeDetails" | "companyTrusteeDetails" | "trusteePersonalDetails" | "byProceedingToTheNextStepYouConfirmThatYouHaveReadUnderstandAndAcceptTheTerms" | "whichOfTheseApplyToTheSettlor" | "contributionBelowThreshold" | "professionalServiceProvider" | "deceased" | "noneOfTheAbove" | "settlorExemptionReason" | "otherInformation" | "firstNameOfSettlor" | "lastNameOfSettlor" | "enterSettlorsFirstNameExactlyAsItAppearsInID" | "enterSettlorsLastNameExactlyAsItAppearsInID";
|
|
10
10
|
/**
|
|
11
11
|
* Returns the address schema of the selected country or the default address schema.
|
|
12
12
|
* @param country - The selected country
|
|
@@ -4,10 +4,14 @@ import { LegalEntityType } from '../../../core/models/api/legal-entity-type';
|
|
|
4
4
|
import { EntityProblems } from '../../../core/models/errors/entity-problems';
|
|
5
5
|
import { TaskStatus } from '../../TaskList/types';
|
|
6
6
|
import { ActionsMenuOption } from '../Menu/ActionsMenu';
|
|
7
|
-
export interface EntityAssociationProps
|
|
8
|
-
|
|
7
|
+
export interface EntityAssociationProps {
|
|
8
|
+
name: string;
|
|
9
|
+
types: Array<LegalEntityAssociation['type']>;
|
|
10
|
+
status: TaskStatus;
|
|
9
11
|
actions?: ActionsMenuOption[];
|
|
10
12
|
infoContent?: ComponentChild;
|
|
13
|
+
problems?: EntityProblems;
|
|
14
|
+
onNavigateToEntity?: () => void;
|
|
11
15
|
}
|
|
12
16
|
export interface UniqueEntityAssociation {
|
|
13
17
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SCWatcher } from './types';
|
|
2
|
-
export declare function StateContextWatcher({ onChange }: SCWatcher): import("preact").JSX.Element;
|
|
1
|
+
import { SCWatcher, TopLevelDataSchema } from './types';
|
|
2
|
+
export declare function StateContextWatcher<TLDS extends TopLevelDataSchema>({ onChange, }: SCWatcher<TLDS>): import("preact").JSX.Element;
|
|
@@ -30,11 +30,9 @@ export interface StateContextBase {
|
|
|
30
30
|
export interface SCSetter extends StateContextBase {
|
|
31
31
|
stateRef: StateContextRef;
|
|
32
32
|
}
|
|
33
|
-
export interface SCWatcher extends StateContextBase {
|
|
34
|
-
onChange: ({ currentState, prevState, changeInitiatedBy }: {
|
|
35
|
-
|
|
36
|
-
prevState: any;
|
|
37
|
-
changeInitiatedBy: any;
|
|
33
|
+
export interface SCWatcher<TLDS extends TopLevelDataSchema> extends StateContextBase {
|
|
34
|
+
onChange: ({ currentState, prevState, changeInitiatedBy, }: StateModel<TLDS>['state'] & {
|
|
35
|
+
changeInitiatedBy?: string;
|
|
38
36
|
}) => void;
|
|
39
37
|
}
|
|
40
38
|
export type StateModel<TLDS extends TopLevelDataSchema = TopLevelDataSchema> = {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DropinAPIHandlers } from '../../components/Dropins/types';
|
|
2
|
+
import { ExistingLegalEntity } from '../models/api/legal-entity';
|
|
3
|
+
interface UseExemptSettlorArgs {
|
|
4
|
+
trust: ExistingLegalEntity;
|
|
5
|
+
handleGetLegalEntity: NonNullable<DropinAPIHandlers['handleGetLegalEntity']>;
|
|
6
|
+
}
|
|
7
|
+
export declare const useExemptSettlor: ({ trust, handleGetLegalEntity, }: UseExemptSettlorArgs) => ExistingLegalEntity | undefined;
|
|
8
|
+
export {};
|
|
@@ -2,7 +2,7 @@ export declare enum TrustMemberTypes {
|
|
|
2
2
|
DEFINED_BENEFICIARY = "definedBeneficiary",
|
|
3
3
|
UNDEFINED_BENEFICIARY = "undefinedBeneficiary",
|
|
4
4
|
PROTECTOR = "protector",
|
|
5
|
-
TRUSTEE = "
|
|
5
|
+
TRUSTEE = "secondaryTrustee",
|
|
6
6
|
SETTLOR = "settlor"
|
|
7
7
|
}
|
|
8
8
|
export type TrustMemberType = `${TrustMemberTypes}`;
|
|
@@ -975,4 +975,8 @@ export declare const defaultTranslation: {
|
|
|
975
975
|
noneOfTheAbove: string;
|
|
976
976
|
settlorExemptionReason: string;
|
|
977
977
|
otherInformation: string;
|
|
978
|
+
firstNameOfSettlor: string;
|
|
979
|
+
lastNameOfSettlor: string;
|
|
980
|
+
enterSettlorsFirstNameExactlyAsItAppearsInID: string;
|
|
981
|
+
enterSettlorsLastNameExactlyAsItAppearsInID: string;
|
|
978
982
|
};
|