@taxbit/react-sdk 2.1.0-beta.1 → 2.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/dist/src/contexts/QuestionnaireStep/getLocal.d.ts +1 -1
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStep.d.ts +1 -1
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStepContext.d.ts +2 -2
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +2 -2
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +4 -4
- package/dist/src/i18n/json/bg.json.d.ts +14 -8
- package/dist/src/i18n/json/cs.json.d.ts +14 -6
- package/dist/src/i18n/json/da.json.d.ts +14 -6
- package/dist/src/i18n/json/de-AT.json.d.ts +6 -2
- package/dist/src/i18n/json/de.json.d.ts +13 -7
- package/dist/src/i18n/json/el-CY.json.d.ts +5 -1
- package/dist/src/i18n/json/el.json.d.ts +14 -8
- package/dist/src/i18n/json/en-GB.json.d.ts +5 -7
- package/dist/src/i18n/json/en-NZ.json.d.ts +8 -1
- package/dist/src/i18n/json/en.json.d.ts +12 -5
- package/dist/src/i18n/json/es-MX.json.d.ts +8 -1
- package/dist/src/i18n/json/es.json.d.ts +13 -6
- package/dist/src/i18n/json/et.json.d.ts +14 -8
- package/dist/src/i18n/json/fi.json.d.ts +14 -4
- package/dist/src/i18n/json/fr-CA.json.d.ts +6 -1
- package/dist/src/i18n/json/fr-LU.json.d.ts +5 -5
- package/dist/src/i18n/json/fr.json.d.ts +12 -1
- package/dist/src/i18n/json/ga.json.d.ts +14 -8
- package/dist/src/i18n/json/hr.json.d.ts +14 -4
- package/dist/src/i18n/json/hu.json.d.ts +14 -8
- package/dist/src/i18n/json/it.json.d.ts +13 -3
- package/dist/src/i18n/json/lt.json.d.ts +14 -8
- package/dist/src/i18n/json/lv.json.d.ts +14 -8
- package/dist/src/i18n/json/mt.json.d.ts +14 -8
- package/dist/src/i18n/json/nl.json.d.ts +14 -4
- package/dist/src/i18n/json/no.json.d.ts +14 -4
- package/dist/src/i18n/json/pl.json.d.ts +13 -3
- package/dist/src/i18n/json/pt.json.d.ts +14 -8
- package/dist/src/i18n/json/ro.json.d.ts +14 -4
- package/dist/src/i18n/json/sk.json.d.ts +13 -5
- package/dist/src/i18n/json/sl.json.d.ts +14 -8
- package/dist/src/i18n/json/sv.json.d.ts +13 -3
- package/dist/src/i18n/types/LocalizationKey.d.ts +4 -4
- package/dist/src/i18n/types/PropertyFile.d.ts +4 -4
- package/dist/src/test/utils/helpers.d.ts +1 -1
- package/dist/src/types/InputStep.d.ts +1 -1
- package/dist/src/types/StepId.d.ts +1 -1
- package/dist/src/types/TaxDocumentation.d.ts +4 -2
- package/dist/src/ui/PhoneNumberInput/PhoneNumberInput.d.ts +7 -0
- package/dist/src/ui/PhoneNumberInput/index.d.ts +1 -0
- package/dist/src/ui/index.d.ts +1 -0
- package/dist/src/utils/{formatUsTin.d.ts → formatTin.d.ts} +3 -1
- package/dist/src/utils/getFieldsState.d.ts +3 -0
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/transformInbound/getCountryCode.d.ts +1 -1
- package/dist/src/utils/transformInbound/getEntityAccountType.d.ts +1 -1
- package/dist/src/utils/transformInbound/transformInboundControllingPersons.d.ts +4 -2
- package/dist/src/validations/getSteps.d.ts +1 -1
- package/dist/src/wizard/RowInput/PhoneNumberRow/PhoneNumberRow.d.ts +11 -0
- package/dist/src/wizard/RowInput/PhoneNumberRow/index.d.ts +1 -0
- package/dist/src/wizard/RowInput/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderAdditionalInfo/AccountHolderAdditionalInfo.d.ts +3 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderAdditionalInfo/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/steps.d.ts +1 -1
- package/dist/taxbit-react-sdk.js +4528 -3779
- package/dist/taxbit-react-sdk.umd.cjs +1 -1
- package/package.json +2 -2
- package/style/basic.css +13 -2
- package/style/inline.css +13 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -3
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTaxClarification/index.d.ts +0 -1
|
@@ -34,12 +34,12 @@ export type PropertyFile = {
|
|
|
34
34
|
};
|
|
35
35
|
export type ForeignPropertyFile = {
|
|
36
36
|
button: PropertyFile['button'];
|
|
37
|
-
prompt: Pick<PropertyFile['prompt'], 'addAdditionalResidence' | 'addControllingPerson' | 'foreignAccountType' | 'financialInstitutionType' | 'activeNonFinancialEntityType' | 'passiveEntityType' | 'managedEntityType' | 'investmentEntityManaged' | 'iUnderstandTheInformationIsCovered' | 'iAcknowledgeTheInformationMayBeProvided' | 'iCertifyIAmAccountHolder' | 'iCertifyIAmAuthorizedToSignForAccountHolder' | 'iCertifyIWillNotifyPersons' | 'iDeclareStatementsAreCorrect' | 'iWillNotifyChangeInCircumstanceForIndividual' | 'iWillNotifyChangeInCircumstanceForAccountHolder' | 'otherRole' | 'otherEquivalentRole' | 'ownershipPercentage' | 'relatedCorporation' | 'removeControllingPerson' | 'role' | 'securitiesMarket' | 'taxIdNumberIsNotRequiredReason' | 'taxIdNumberIsNotRequiredReasonOther' | 'address' | 'mailingAddressIsDifferent' | 'businessRegistrationCountry' | 'businessRegistrationNumber' | 'city' | 'cityOfBirth' | 'country' | 'countryOfBirth' | 'dateOfBirth' | 'day' | '
|
|
38
|
-
subPrompt: Pick<PropertyFile['subPrompt'], '
|
|
37
|
+
prompt: Pick<PropertyFile['prompt'], 'addAdditionalResidence' | 'addControllingPerson' | 'foreignAccountType' | 'financialInstitutionType' | 'activeNonFinancialEntityType' | 'passiveEntityType' | 'managedEntityType' | 'investmentEntityManaged' | 'iUnderstandTheInformationIsCovered' | 'iAcknowledgeTheInformationMayBeProvided' | 'iAcknowledgeESignIsOKForeign' | 'iCertifyIAmAccountHolder' | 'iCertifyIAmAuthorizedToSignForAccountHolder' | 'iCertifyIWillNotifyPersons' | 'iDeclareStatementsAreCorrect' | 'iWillNotifyChangeInCircumstanceForIndividual' | 'iWillNotifyChangeInCircumstanceForAccountHolder' | 'otherRole' | 'otherEquivalentRole' | 'ownershipPercentage' | 'relatedCorporation' | 'removeControllingPerson' | 'role' | 'securitiesMarket' | 'taxIdNumberIsNotRequiredReason' | 'taxIdNumberIsNotRequiredReasonOther' | 'address' | 'mailingAddressIsDifferent' | 'businessRegistrationCountry' | 'businessRegistrationNumber' | 'city' | 'cityOfBirth' | 'country' | 'countryOfBirth' | 'dateOfBirth' | 'day' | 'emailAddress' | 'iCertifyToAll' | 'iConfirmTheInformationIsCorrectComplete' | 'iHaveCapacityToSignForEntity' | 'iHaveCapacityToSignForIndividual' | 'isIndividual' | 'month' | 'name' | 'nameOfEntity' | 'nameOfIndividual' | 'phoneNumber' | 'phoneNumberCode' | 'phoneNumberNumber' | 'province' | 'removeResidence' | 'countyRegion' | 'stateProvince' | 'street' | 'street2' | 'signature' | 'signatureCapacity' | 'signatureCapacityOther' | 'taxIdNumber' | 'taxIdNumberIsNotRequired' | 'tin' | 'tinUkCrn' | 'tinUkNino' | 'type' | 'usTin' | 'vatCountry' | 'vatIdentificationNumber' | 'vatIsNotRequired' | 'year' | 'zip'>;
|
|
38
|
+
subPrompt: Pick<PropertyFile['subPrompt'], 'financialInstitutionType' | 'isIndividual' | 'placeOfBirth' | 'relatedCorporation' | 'role' | 'securitiesMarket' | 'signatureCapacityOther' | 'streetIsPermanent' | 'vatIdentificationNumber'>;
|
|
39
39
|
subTitle: Pick<PropertyFile['subTitle'], 'taxResidences' | 'controllingPersonDetails' | 'permanentAddress'>;
|
|
40
|
-
title: Pick<PropertyFile['title'], 'acknowledge' | 'certify' | 'carfClassificationDetails' | 'controllingPersonDetails' | 'controllingPersons' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5' | 'accountHolder' | 'accountHolderClassification' | 'accountHolderContactInformation' | 'accountHolderTaxInformation' | '
|
|
40
|
+
title: Pick<PropertyFile['title'], 'acknowledge' | 'certify' | 'carfClassificationDetails' | 'controllingPersonDetails' | 'controllingPersons' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5' | 'accountHolder' | 'accountHolderClassification' | 'accountHolderContactInformation' | 'accountHolderTaxInformation' | 'accountHolderAdditionalInfo' | 'address' | 'confirmation' | 'countryOfCitizenship' | 'countryOfIncorporation' | 'placeOfBirth' | 'mailingAddress' | 'permanentAddress' | 'primaryAddress' | 'summary' | 'taxResidences' | 'taxResidence1' | 'taxResidence2' | 'taxResidence3' | 'taxResidence4' | 'taxResidence5'>;
|
|
41
41
|
text: Pick<PropertyFile['text'], 'eSignActReference' | 'interviewIsComplete' | 'notRequired' | 'notRequiredOrNotIssued' | 'retrievingInterviewStatus' | 'taxDocumentationSaved'>;
|
|
42
|
-
error: Pick<PropertyFile['error'], 'countryMustBeAResidenceCountry' | 'formHasErrors' | 'invalid' | 'invalidDate' | 'invalidVat' | 'mustBeAtLeast18' | 'mustBeFiveOrNineDigits' | 'mustBeInDateFormat' | 'mustBeInVatinFormat' | 'mustBeNineDigits' | 'mustBeNinoFormat' | 'mustBeCaPostalCodeFormat' | 'mustBeValidBirthDate' | 'mustNotMatchVatin' | 'required' | 'residencesMustIncludeAddressCountry' | 'residencesMustIncludeAnEUCountry' | 'residencesMustIncludeVatCountry' | 'tooLong' | 'tooShort' | 'vatinMustNotMatchResidencyTin'>;
|
|
42
|
+
error: Pick<PropertyFile['error'], 'countryMustBeAResidenceCountry' | 'formHasErrors' | 'invalid' | 'invalidDate' | 'invalidVat' | 'mustBeABNFormat' | 'mustBeAtLeast18' | 'mustBeFiveOrNineDigits' | 'mustBeInDateFormat' | 'mustBeInVatinFormat' | 'mustBeNineDigits' | 'mustBeNinoFormat' | 'mustBeCaPostalCodeFormat' | 'mustBeValidBirthDate' | 'mustNotMatchVatin' | 'required' | 'residencesMustIncludeAddressCountry' | 'residencesMustIncludeAnEUCountry' | 'residencesMustIncludeVatCountry' | 'residencesMustIncludeBusinessRegistrationCountry' | 'tooLong' | 'tooShort' | 'vatinMustNotMatchResidencyTin'>;
|
|
43
43
|
option: Pick<PropertyFile['option'], 'no' | 'yes' | 'isIndividual_yes' | 'isIndividual_no' | 'investmentEntityManaged_yes' | 'investmentEntityManaged_no' | 'ACTIVE_NON_FINANCIAL_ENTITY' | 'PASSIVE_NON_FINANCIAL_ENTITY' | 'CUSTODIAL_INSTITUTION' | 'accountHolderActiveNonFinancialEntityType_GOVERNMENT_ENTITY' | 'INSURANCE_COMPANY' | 'INVESTMENT_ENTITY' | 'entityType_TRUST' | 'entityType_SIMILAR_TO_TRUST' | 'entityType_OTHER' | 'accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION' | 'accountHolderActiveNonFinancialEntityType_OTHER' | 'accountHolderActiveNonFinancialEntityType_INTERNATIONAL_ORGANIZATION' | 'signatureCapacity_EXECUTOR' | 'signatureCapacity_OFFICER' | 'signatureCapacity_OTHER_CAPACITY' | 'DEPOSITORY_INSTITUTION' | 'FINANCIAL_INSTITUTION' | 'controllingPersonRole_SETTLOR' | 'controllingPersonRole_TRUSTEE' | 'controllingPersonRole_PROTECTOR' | 'controllingPersonRole_BENEFICIARY' | 'controllingPersonRole_OTHER' | 'controllingPersonRole_SETTLOR_EQUIVALENT' | 'controllingPersonRole_TRUSTEE_EQUIVALENT' | 'controllingPersonRole_PROTECTOR_EQUIVALENT' | 'controllingPersonRole_BENEFICIARY_EQUIVALENT' | 'controllingPersonRole_OTHER_EQUIVALENT' | 'controllingPersonRole_OWNER' | 'controllingPersonRole_OTHER_MEANS' | 'controllingPersonRole_SENIOR_MANAGING_OFFICIAL' | 'missingTinNotRequiredReason_NOT_ISSUED' | 'missingTinNotRequiredReason_NOT_REQUIRED' | 'missingTinNotRequiredReason_OTHER'>;
|
|
44
44
|
subOption: Pick<PropertyFile['subOption'], 'accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION' | 'accountHolderActiveNonFinancialEntityType_OTHER' | 'accountHolderSelfCertificationAccountType_FINANCIAL_INSTITUTION' | 'accountHolderSelfCertificationAccountType_ACTIVE_NON_FINANCIAL_ENTITY' | 'accountHolderSelfCertificationAccountType_PASSIVE_NON_FINANCIAL_ENTITY'>;
|
|
45
45
|
};
|
|
@@ -2,7 +2,7 @@ export declare const expectRowError: (prompt: string) => void;
|
|
|
2
2
|
export declare const expectRowErrorText: (prompt: string, text: string) => void;
|
|
3
3
|
export declare const expectNoRowError: (prompt: string) => void;
|
|
4
4
|
export declare const expectQuestionCount: (count: number) => void;
|
|
5
|
-
export declare const expectText: (text: string, length?: number) => void;
|
|
5
|
+
export declare const expectText: (text: string, length?: number, exact?: boolean) => void;
|
|
6
6
|
export declare const expectSummaryFieldText: (field: string, text: string) => void;
|
|
7
7
|
export declare const expectNullInput: (ariaLabel: string) => void;
|
|
8
8
|
export declare const expectVisibleQuestion: (prompt: string) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const inputSteps: readonly ["AccountHolderCertifications", "AccountHolderClassification", "AccountHolderContact", "AccountHolderTax", "
|
|
1
|
+
declare const inputSteps: readonly ["AccountHolderCertifications", "AccountHolderClassification", "AccountHolderContact", "AccountHolderTax", "AccountHolderAdditionalInfo", "AccountHolderTreatyClaims", "AccountHolderUsTinValidation", "ControllingPersonDetails1", "ControllingPersonDetails2", "ControllingPersonDetails3", "ControllingPersonDetails4", "ControllingPersonDetails5", "Exemptions", "RegardedOwnerCertifications", "RegardedOwnerContact", "RegardedOwnerTax", "RegardedOwnerTreatyClaims", "RegardedOwnerUsTinValidation", "Summary"];
|
|
2
2
|
export type InputStep = (typeof inputSteps)[number];
|
|
3
3
|
export declare const isInputStep: (step: string) => step is InputStep;
|
|
4
4
|
export declare const confirmInputStep: (step: string) => InputStep;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type StepId = 'accountHolderCertifications' | 'accountHolderContactInformation' | 'accountHolderTaxInformation' | 'accountHolderClassification' | '
|
|
1
|
+
export type StepId = 'accountHolderCertifications' | 'accountHolderContactInformation' | 'accountHolderTaxInformation' | 'accountHolderClassification' | 'accountHolderAdditionalInfo' | 'accountHolderTreatyClaims' | 'accountHolderUsTinValidation' | 'confirmation' | 'controllingPersonDetails1' | 'controllingPersonDetails2' | 'controllingPersonDetails3' | 'controllingPersonDetails4' | 'controllingPersonDetails5' | 'exemptions' | 'regardedOwnerCertifications' | 'regardedOwnerContactInformation' | 'regardedOwnerTaxInformation' | 'regardedOwnerTreatyClaims' | 'regardedOwnerUsTinValidation' | 'summary';
|
|
@@ -64,6 +64,10 @@ export type AccountHolderContactData = Address<'accountHolder'> & Address<'accou
|
|
|
64
64
|
accountHolderDbaName?: string;
|
|
65
65
|
accountHolderMailingAddressIsDifferent?: Yes;
|
|
66
66
|
accountHolderName?: string;
|
|
67
|
+
accountHolderPhoneNumber?: string;
|
|
68
|
+
accountHolderPhoneNumberCode?: string;
|
|
69
|
+
accountHolderPhoneNumberNumber?: string;
|
|
70
|
+
accountHolderEmailAddress?: string;
|
|
67
71
|
};
|
|
68
72
|
export type AccountHolderTreatyClaimData = {
|
|
69
73
|
accountHolderTreatyClaimIsEligible?: YesNo;
|
|
@@ -116,8 +120,6 @@ export type AccountHolderTaxData = Residences<'accountHolder'> & {
|
|
|
116
120
|
accountHolderUsTin?: string;
|
|
117
121
|
accountHolderUsTinIsValid?: Yes;
|
|
118
122
|
accountHolderUsTinMatchVerification?: YesNo;
|
|
119
|
-
accountHolderFinancialAccountIdentifier?: string;
|
|
120
|
-
accountHolderFinancialAccountName?: string;
|
|
121
123
|
accountHolderVatIdentificationNumber?: string;
|
|
122
124
|
accountHolderVatIsNotRequired?: Yes;
|
|
123
125
|
accountHolderVatCountry?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PhoneNumberInput';
|
package/dist/src/ui/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './HideShowButton';
|
|
|
6
6
|
export * from './InputValue';
|
|
7
7
|
export * from './MaskedContent';
|
|
8
8
|
export * from './PasswordInput';
|
|
9
|
+
export * from './PhoneNumberInput';
|
|
9
10
|
export * from './RadioButtons';
|
|
10
11
|
export * from './Select';
|
|
11
12
|
export * from './ShowHideInput';
|
|
@@ -2,4 +2,6 @@ export declare const formatSSN: (str: string, padChar?: string) => string;
|
|
|
2
2
|
export declare const formatSSNUnpadded: (str: string) => string;
|
|
3
3
|
export declare const formatEIN: (str: string, padChar?: string) => string;
|
|
4
4
|
export declare const formatEINUnpadded: (str: string) => string;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const normalizeDigitsTin: (str: string, length?: number) => string;
|
|
6
|
+
export declare const formatABN: (str: string, padChar?: string) => string;
|
|
7
|
+
export declare const formatABNUnpadded: (str: string) => string;
|
|
@@ -10,6 +10,7 @@ type Options = {
|
|
|
10
10
|
export declare const getFieldsState: (fields: TaxDocumentation, questionnaire?: QuestionnaireProp, options?: Options) => {
|
|
11
11
|
hasNoEuTaxId: boolean;
|
|
12
12
|
hasEuResidence: boolean;
|
|
13
|
+
hasAuResidence: boolean;
|
|
13
14
|
hasControllingPerson1: boolean;
|
|
14
15
|
hasControllingPerson2: boolean;
|
|
15
16
|
hasControllingPerson3: boolean;
|
|
@@ -37,6 +38,8 @@ export declare const getFieldsState: (fields: TaxDocumentation, questionnaire?:
|
|
|
37
38
|
isDre: boolean;
|
|
38
39
|
isIndividual: boolean;
|
|
39
40
|
isMakingTreatyClaim: boolean;
|
|
41
|
+
phoneNumberValue: string | undefined;
|
|
42
|
+
phoneNumberValueFormatted: string | undefined;
|
|
40
43
|
residenceCountryCodes: string[];
|
|
41
44
|
getResidences: (prefix: "accountHolder" | "controllingPerson1" | "controllingPerson2" | "controllingPerson3" | "controllingPerson4" | "controllingPerson5") => {
|
|
42
45
|
country: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getCountryCode: (countryValue: string | undefined) =>
|
|
1
|
+
export declare const getCountryCode: (countryValue: string | undefined) => import('@taxbit/utilities').CountryCode | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityAccountHolderAccountType, EntityRegardedOwnerAccountType } from '@taxbit/utilities';
|
|
2
2
|
|
|
3
3
|
export declare const getAccountHolderEntityAccountType: (accountType: string | undefined) => EntityAccountHolderAccountType | undefined;
|
|
4
4
|
export declare const getRegardedOwnerEntityAccountType: (accountType: string | undefined) => EntityRegardedOwnerAccountType | undefined;
|
|
@@ -24,6 +24,10 @@ export declare const transformInboundControllingPersons: (controllingPersons: Ar
|
|
|
24
24
|
accountHolderDbaName?: string;
|
|
25
25
|
accountHolderMailingAddressIsDifferent?: import('../../types/Yes.ts').Yes;
|
|
26
26
|
accountHolderName?: string;
|
|
27
|
+
accountHolderPhoneNumber?: string;
|
|
28
|
+
accountHolderPhoneNumberCode?: string;
|
|
29
|
+
accountHolderPhoneNumberNumber?: string;
|
|
30
|
+
accountHolderEmailAddress?: string;
|
|
27
31
|
accountHolderAssumesChapters3And4Responsibility?: import('../../types/YesNo.ts').YesNo;
|
|
28
32
|
accountHolderAssumes1099Responsibility?: import('../../types/YesNo.ts').YesNo;
|
|
29
33
|
accountHolderUsPersonElection?: import('../../types/YesNo.ts').YesNo;
|
|
@@ -82,8 +86,6 @@ export declare const transformInboundControllingPersons: (controllingPersons: Ar
|
|
|
82
86
|
accountHolderUsTin?: string;
|
|
83
87
|
accountHolderUsTinIsValid?: import('../../types/Yes.ts').Yes;
|
|
84
88
|
accountHolderUsTinMatchVerification?: import('../../types/YesNo.ts').YesNo;
|
|
85
|
-
accountHolderFinancialAccountIdentifier?: string;
|
|
86
|
-
accountHolderFinancialAccountName?: string;
|
|
87
89
|
accountHolderVatIdentificationNumber?: string;
|
|
88
90
|
accountHolderVatIsNotRequired?: import('../../types/Yes.ts').Yes;
|
|
89
91
|
accountHolderVatCountry?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { UsTinValidationAttempt } from '../hooks';
|
|
2
2
|
import { QuestionnaireProp, TaxDocumentation } from '../types';
|
|
3
3
|
|
|
4
|
-
export declare const getSteps: (data: TaxDocumentation, treatyClaims: boolean | undefined, questionnaire: QuestionnaireProp, usTinValidations: UsTinValidationAttempt[]) => ("AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "
|
|
4
|
+
export declare const getSteps: (data: TaxDocumentation, treatyClaims: boolean | undefined, questionnaire: QuestionnaireProp, usTinValidations: UsTinValidationAttempt[]) => ("AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderAdditionalInfo" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary")[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TaxDocumentationKey } from 'types';
|
|
3
|
+
import { PhoneNumberInputProps } from 'ui';
|
|
4
|
+
|
|
5
|
+
type PhoneNumberRowProps = {
|
|
6
|
+
name: TaxDocumentationKey;
|
|
7
|
+
label?: true;
|
|
8
|
+
subLabel?: true;
|
|
9
|
+
};
|
|
10
|
+
export declare const PhoneNumberRow: ({ name, label, subLabel, }: PhoneNumberRowProps & PhoneNumberInputProps) => React.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PhoneNumberRow.tsx';
|
|
@@ -2,6 +2,7 @@ export * from './AddressRow';
|
|
|
2
2
|
export * from './CheckBoxRow';
|
|
3
3
|
export * from './ErrorRow';
|
|
4
4
|
export * from './PercentInputRow';
|
|
5
|
+
export * from './PhoneNumberRow';
|
|
5
6
|
export * from './RadioButtonRow';
|
|
6
7
|
export * from './SelectRow';
|
|
7
8
|
export * from './ShowHideInputRow';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AccountHolderAdditionalInfo.tsx';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
export * from './AccountHolderAdditionalInfo';
|
|
1
2
|
export * from './AccountHolderCertifications';
|
|
2
3
|
export * from './AccountHolderClassification';
|
|
3
4
|
export * from './AccountHolderContact';
|
|
4
5
|
export * from './AccountHolderTax';
|
|
5
|
-
export * from './AccountHolderTaxClarification';
|
|
6
6
|
export * from './AccountHolderTreatyClaims';
|
|
7
7
|
export * from './AccountHolderUsTinValidation';
|
|
8
8
|
export * from './ControllingPersonDetails';
|