@taxbit/react-sdk 0.0.10 → 0.0.12
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/contexts/FormUI/useFormUIContext.d.ts +222 -222
- package/dist/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +3 -3
- package/dist/contexts/TaxDocumentation/useTaxDocumentation.d.ts +7 -7
- package/dist/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +14 -14
- package/dist/hooks/useTaxBit/useTaxBit.d.ts +3 -3
- package/dist/i18n/i18n.d.ts +2 -2
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/locales/fr-fr.d.ts +1 -1
- package/dist/i18n/locales/index.d.ts +9 -9
- package/dist/i18n/types/Locale.d.ts +1 -0
- package/dist/i18n/types/PropertyFile.d.ts +1 -1
- package/dist/i18n/types/index.d.ts +1 -1
- package/dist/i18n/utils/getText.d.ts +1 -1
- package/dist/i18n/utils/index.d.ts +1 -1
- package/dist/paths/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +3 -3
- package/dist/paths/TaxBitFormUI/TaxBitFormUI.d.ts +5 -5
- package/dist/taxbit-react-sdk.es.js +570 -573
- package/dist/taxbit-react-sdk.umd.js +8 -8
- package/dist/types/TaxForm.d.ts +1 -0
- package/dist/types/external/index.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/getSupportedFields.d.ts +2 -2
- package/dist/utils/getVisibleQuestions.d.ts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/dist/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +4 -4
- package/dist/widgets/TaxBitForm/TaxBitForm.d.ts +5 -5
- package/package.json +2 -3
- package/dist/types/Form.d.ts +0 -1
|
@@ -1,107 +1,107 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const useFormUIContext: () => {
|
|
3
|
-
fields: import("../../types
|
|
4
|
-
setValue: (key: keyof import("../../types
|
|
3
|
+
fields: import("../../types").TaxDocumentation;
|
|
4
|
+
setValue: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData, value: string | undefined) => void;
|
|
5
5
|
errors: {
|
|
6
|
-
exemptPayeeCode: import("../../i18n/types
|
|
7
|
-
exemptFatcaCode: import("../../i18n/types
|
|
8
|
-
iAcknowlegeESignIsOk: import("../../i18n/types
|
|
9
|
-
iAmACitizenOfTheUs: import("../../i18n/types
|
|
10
|
-
iAmExemptFromFatcaReporting: import("../../i18n/types
|
|
11
|
-
iAmNotSubjectToBackupWithholding: import("../../i18n/types
|
|
12
|
-
iAuthorizeWithholdingAgent: import("../../i18n/types
|
|
13
|
-
iCertifyToAll: import("../../i18n/types
|
|
14
|
-
iConfirmIncomeIsNonUs: import("../../i18n/types
|
|
15
|
-
iConfirmTheBeneficialOwnerIsExempt: import("../../i18n/types
|
|
16
|
-
iConfirmTheEntityIsNotAUsPerson: import("../../i18n/types
|
|
17
|
-
iConfirmTheEntityIsTheBeneficialOwner: import("../../i18n/types
|
|
18
|
-
iConfirmTheTaxIdIsCorrect: import("../../i18n/types
|
|
19
|
-
iHaveLegalCapacityToSign: import("../../i18n/types
|
|
20
|
-
regardedOwnerUsPerson: import("../../i18n/types
|
|
21
|
-
signature: import("../../i18n/types
|
|
22
|
-
accountHolderAddressCity: import("../../i18n/types
|
|
23
|
-
accountHolderAddressCountry: import("../../i18n/types
|
|
24
|
-
accountHolderAddressState: import("../../i18n/types
|
|
25
|
-
accountHolderAddressStreet2: import("../../i18n/types
|
|
26
|
-
accountHolderAddressStreet: import("../../i18n/types
|
|
27
|
-
accountHolderAddressZip: import("../../i18n/types
|
|
28
|
-
accountHolderCityOfBirth: import("../../i18n/types
|
|
29
|
-
accountHolderCountryOfBirth: import("../../i18n/types
|
|
30
|
-
accountHolderCountryOfCitizenship: import("../../i18n/types
|
|
31
|
-
accountHolderDateOfBirth: import("../../i18n/types
|
|
32
|
-
accountHolderDbaName: import("../../i18n/types
|
|
33
|
-
accountHolderMailingAddressCity: import("../../i18n/types
|
|
34
|
-
accountHolderMailingAddressCountry: import("../../i18n/types
|
|
35
|
-
accountHolderMailingAddressIsDifferent: import("../../i18n/types
|
|
36
|
-
accountHolderMailingAddressState: import("../../i18n/types
|
|
37
|
-
accountHolderMailingAddressStreet2: import("../../i18n/types
|
|
38
|
-
accountHolderMailingAddressStreet: import("../../i18n/types
|
|
39
|
-
accountHolderMailingAddressZip: import("../../i18n/types
|
|
40
|
-
accountHolderName: import("../../i18n/types
|
|
41
|
-
accountHolderFinancialAccountIdentifier: import("../../i18n/types
|
|
42
|
-
accountHolderFinancialAccountName: import("../../i18n/types
|
|
43
|
-
accountHolderForeignTin: import("../../i18n/types
|
|
44
|
-
accountHolderForeignTinIsNotRequired: import("../../i18n/types
|
|
45
|
-
accountHolderTaxResidenceCountry1: import("../../i18n/types
|
|
46
|
-
accountHolderTaxResidenceForeignTin1: import("../../i18n/types
|
|
47
|
-
accountHolderTaxResidenceForeignTin1IsNotRequired: import("../../i18n/types
|
|
48
|
-
accountHolderTaxResidenceCountry2: import("../../i18n/types
|
|
49
|
-
accountHolderTaxResidenceForeignTin2: import("../../i18n/types
|
|
50
|
-
accountHolderTaxResidenceForeignTin2IsNotRequired: import("../../i18n/types
|
|
51
|
-
accountHolderTaxResidenceCountry3: import("../../i18n/types
|
|
52
|
-
accountHolderTaxResidenceForeignTin3: import("../../i18n/types
|
|
53
|
-
accountHolderTaxResidenceForeignTin3IsNotRequired: import("../../i18n/types
|
|
54
|
-
accountHolderTaxResidenceCountry4: import("../../i18n/types
|
|
55
|
-
accountHolderTaxResidenceForeignTin4: import("../../i18n/types
|
|
56
|
-
accountHolderTaxResidenceForeignTin4IsNotRequired: import("../../i18n/types
|
|
57
|
-
accountHolderTaxResidenceCountry5: import("../../i18n/types
|
|
58
|
-
accountHolderTaxResidenceForeignTin5: import("../../i18n/types
|
|
59
|
-
accountHolderTaxResidenceForeignTin5IsNotRequired: import("../../i18n/types
|
|
60
|
-
accountHolderShowTaxResidence2: import("../../i18n/types
|
|
61
|
-
accountHolderShowTaxResidence3: import("../../i18n/types
|
|
62
|
-
accountHolderShowTaxResidence4: import("../../i18n/types
|
|
63
|
-
accountHolderShowTaxResidence5: import("../../i18n/types
|
|
64
|
-
accountHolderUsTin: import("../../i18n/types
|
|
65
|
-
accountHolderVatIdentificationNumber: import("../../i18n/types
|
|
66
|
-
accountHolderVatCountry: import("../../i18n/types
|
|
67
|
-
accountHolderIsIndividual: import("../../i18n/types
|
|
68
|
-
accountHolderIsEuResident: import("../../i18n/types
|
|
69
|
-
accountHolderUsPerson: import("../../i18n/types
|
|
70
|
-
accountHolderUsAccountType: import("../../i18n/types
|
|
71
|
-
accountHolderUsSmllcElection: import("../../i18n/types
|
|
72
|
-
accountHolderUsLlcClassification: import("../../i18n/types
|
|
73
|
-
accountHolderUsOtherClassification: import("../../i18n/types
|
|
74
|
-
accountHolderUsTrustEstateEin: import("../../i18n/types
|
|
75
|
-
accountHolderForeignAccountType: import("../../i18n/types
|
|
76
|
-
accountHolderForeignTrustClassification: import("../../i18n/types
|
|
77
|
-
accountHolderForeignOtherClassification: import("../../i18n/types
|
|
78
|
-
regardedOwnerAddressCity: import("../../i18n/types
|
|
79
|
-
regardedOwnerAddressCountry: import("../../i18n/types
|
|
80
|
-
regardedOwnerAddressState: import("../../i18n/types
|
|
81
|
-
regardedOwnerAddressStreet2: import("../../i18n/types
|
|
82
|
-
regardedOwnerAddressStreet: import("../../i18n/types
|
|
83
|
-
regardedOwnerAddressZip: import("../../i18n/types
|
|
84
|
-
regardedOwnerCountryOfCitizenship: import("../../i18n/types
|
|
85
|
-
regardedOwnerDateOfBirth: import("../../i18n/types
|
|
86
|
-
regardedOwnerDbaName: import("../../i18n/types
|
|
87
|
-
regardedOwnerMailingAddressCity: import("../../i18n/types
|
|
88
|
-
regardedOwnerMailingAddressCountry: import("../../i18n/types
|
|
89
|
-
regardedOwnerMailingAddressIsDifferent: import("../../i18n/types
|
|
90
|
-
regardedOwnerMailingAddressState: import("../../i18n/types
|
|
91
|
-
regardedOwnerMailingAddressStreet2: import("../../i18n/types
|
|
92
|
-
regardedOwnerMailingAddressStreet: import("../../i18n/types
|
|
93
|
-
regardedOwnerMailingAddressZip: import("../../i18n/types
|
|
94
|
-
regardedOwnerName: import("../../i18n/types
|
|
95
|
-
regardedOwnerUsAccountType: import("../../i18n/types
|
|
96
|
-
regardedOwnerUsLlcClassification: import("../../i18n/types
|
|
97
|
-
regardedOwnerUsOtherClassification: import("../../i18n/types
|
|
98
|
-
regardedOwnerUsTrustEstateEin: import("../../i18n/types
|
|
99
|
-
regardedOwnerForeignAccountType: import("../../i18n/types
|
|
100
|
-
regardedOwnerForeignTrustClassification: import("../../i18n/types
|
|
101
|
-
regardedOwnerForeignOtherClassification: import("../../i18n/types
|
|
102
|
-
regardedOwnerForeignTin: import("../../i18n/types
|
|
103
|
-
regardedOwnerForeignTinIsNotRequired: import("../../i18n/types
|
|
104
|
-
regardedOwnerUsTin: import("../../i18n/types
|
|
6
|
+
exemptPayeeCode: import("../../i18n/types").ErrorKey;
|
|
7
|
+
exemptFatcaCode: import("../../i18n/types").ErrorKey;
|
|
8
|
+
iAcknowlegeESignIsOk: import("../../i18n/types").ErrorKey;
|
|
9
|
+
iAmACitizenOfTheUs: import("../../i18n/types").ErrorKey;
|
|
10
|
+
iAmExemptFromFatcaReporting: import("../../i18n/types").ErrorKey;
|
|
11
|
+
iAmNotSubjectToBackupWithholding: import("../../i18n/types").ErrorKey;
|
|
12
|
+
iAuthorizeWithholdingAgent: import("../../i18n/types").ErrorKey;
|
|
13
|
+
iCertifyToAll: import("../../i18n/types").ErrorKey;
|
|
14
|
+
iConfirmIncomeIsNonUs: import("../../i18n/types").ErrorKey;
|
|
15
|
+
iConfirmTheBeneficialOwnerIsExempt: import("../../i18n/types").ErrorKey;
|
|
16
|
+
iConfirmTheEntityIsNotAUsPerson: import("../../i18n/types").ErrorKey;
|
|
17
|
+
iConfirmTheEntityIsTheBeneficialOwner: import("../../i18n/types").ErrorKey;
|
|
18
|
+
iConfirmTheTaxIdIsCorrect: import("../../i18n/types").ErrorKey;
|
|
19
|
+
iHaveLegalCapacityToSign: import("../../i18n/types").ErrorKey;
|
|
20
|
+
regardedOwnerUsPerson: import("../../i18n/types").ErrorKey;
|
|
21
|
+
signature: import("../../i18n/types").ErrorKey;
|
|
22
|
+
accountHolderAddressCity: import("../../i18n/types").ErrorKey;
|
|
23
|
+
accountHolderAddressCountry: import("../../i18n/types").ErrorKey;
|
|
24
|
+
accountHolderAddressState: import("../../i18n/types").ErrorKey;
|
|
25
|
+
accountHolderAddressStreet2: import("../../i18n/types").ErrorKey;
|
|
26
|
+
accountHolderAddressStreet: import("../../i18n/types").ErrorKey;
|
|
27
|
+
accountHolderAddressZip: import("../../i18n/types").ErrorKey;
|
|
28
|
+
accountHolderCityOfBirth: import("../../i18n/types").ErrorKey;
|
|
29
|
+
accountHolderCountryOfBirth: import("../../i18n/types").ErrorKey;
|
|
30
|
+
accountHolderCountryOfCitizenship: import("../../i18n/types").ErrorKey;
|
|
31
|
+
accountHolderDateOfBirth: import("../../i18n/types").ErrorKey;
|
|
32
|
+
accountHolderDbaName: import("../../i18n/types").ErrorKey;
|
|
33
|
+
accountHolderMailingAddressCity: import("../../i18n/types").ErrorKey;
|
|
34
|
+
accountHolderMailingAddressCountry: import("../../i18n/types").ErrorKey;
|
|
35
|
+
accountHolderMailingAddressIsDifferent: import("../../i18n/types").ErrorKey;
|
|
36
|
+
accountHolderMailingAddressState: import("../../i18n/types").ErrorKey;
|
|
37
|
+
accountHolderMailingAddressStreet2: import("../../i18n/types").ErrorKey;
|
|
38
|
+
accountHolderMailingAddressStreet: import("../../i18n/types").ErrorKey;
|
|
39
|
+
accountHolderMailingAddressZip: import("../../i18n/types").ErrorKey;
|
|
40
|
+
accountHolderName: import("../../i18n/types").ErrorKey;
|
|
41
|
+
accountHolderFinancialAccountIdentifier: import("../../i18n/types").ErrorKey;
|
|
42
|
+
accountHolderFinancialAccountName: import("../../i18n/types").ErrorKey;
|
|
43
|
+
accountHolderForeignTin: import("../../i18n/types").ErrorKey;
|
|
44
|
+
accountHolderForeignTinIsNotRequired: import("../../i18n/types").ErrorKey;
|
|
45
|
+
accountHolderTaxResidenceCountry1: import("../../i18n/types").ErrorKey;
|
|
46
|
+
accountHolderTaxResidenceForeignTin1: import("../../i18n/types").ErrorKey;
|
|
47
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired: import("../../i18n/types").ErrorKey;
|
|
48
|
+
accountHolderTaxResidenceCountry2: import("../../i18n/types").ErrorKey;
|
|
49
|
+
accountHolderTaxResidenceForeignTin2: import("../../i18n/types").ErrorKey;
|
|
50
|
+
accountHolderTaxResidenceForeignTin2IsNotRequired: import("../../i18n/types").ErrorKey;
|
|
51
|
+
accountHolderTaxResidenceCountry3: import("../../i18n/types").ErrorKey;
|
|
52
|
+
accountHolderTaxResidenceForeignTin3: import("../../i18n/types").ErrorKey;
|
|
53
|
+
accountHolderTaxResidenceForeignTin3IsNotRequired: import("../../i18n/types").ErrorKey;
|
|
54
|
+
accountHolderTaxResidenceCountry4: import("../../i18n/types").ErrorKey;
|
|
55
|
+
accountHolderTaxResidenceForeignTin4: import("../../i18n/types").ErrorKey;
|
|
56
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired: import("../../i18n/types").ErrorKey;
|
|
57
|
+
accountHolderTaxResidenceCountry5: import("../../i18n/types").ErrorKey;
|
|
58
|
+
accountHolderTaxResidenceForeignTin5: import("../../i18n/types").ErrorKey;
|
|
59
|
+
accountHolderTaxResidenceForeignTin5IsNotRequired: import("../../i18n/types").ErrorKey;
|
|
60
|
+
accountHolderShowTaxResidence2: import("../../i18n/types").ErrorKey;
|
|
61
|
+
accountHolderShowTaxResidence3: import("../../i18n/types").ErrorKey;
|
|
62
|
+
accountHolderShowTaxResidence4: import("../../i18n/types").ErrorKey;
|
|
63
|
+
accountHolderShowTaxResidence5: import("../../i18n/types").ErrorKey;
|
|
64
|
+
accountHolderUsTin: import("../../i18n/types").ErrorKey;
|
|
65
|
+
accountHolderVatIdentificationNumber: import("../../i18n/types").ErrorKey;
|
|
66
|
+
accountHolderVatCountry: import("../../i18n/types").ErrorKey;
|
|
67
|
+
accountHolderIsIndividual: import("../../i18n/types").ErrorKey;
|
|
68
|
+
accountHolderIsEuResident: import("../../i18n/types").ErrorKey;
|
|
69
|
+
accountHolderUsPerson: import("../../i18n/types").ErrorKey;
|
|
70
|
+
accountHolderUsAccountType: import("../../i18n/types").ErrorKey;
|
|
71
|
+
accountHolderUsSmllcElection: import("../../i18n/types").ErrorKey;
|
|
72
|
+
accountHolderUsLlcClassification: import("../../i18n/types").ErrorKey;
|
|
73
|
+
accountHolderUsOtherClassification: import("../../i18n/types").ErrorKey;
|
|
74
|
+
accountHolderUsTrustEstateEin: import("../../i18n/types").ErrorKey;
|
|
75
|
+
accountHolderForeignAccountType: import("../../i18n/types").ErrorKey;
|
|
76
|
+
accountHolderForeignTrustClassification: import("../../i18n/types").ErrorKey;
|
|
77
|
+
accountHolderForeignOtherClassification: import("../../i18n/types").ErrorKey;
|
|
78
|
+
regardedOwnerAddressCity: import("../../i18n/types").ErrorKey;
|
|
79
|
+
regardedOwnerAddressCountry: import("../../i18n/types").ErrorKey;
|
|
80
|
+
regardedOwnerAddressState: import("../../i18n/types").ErrorKey;
|
|
81
|
+
regardedOwnerAddressStreet2: import("../../i18n/types").ErrorKey;
|
|
82
|
+
regardedOwnerAddressStreet: import("../../i18n/types").ErrorKey;
|
|
83
|
+
regardedOwnerAddressZip: import("../../i18n/types").ErrorKey;
|
|
84
|
+
regardedOwnerCountryOfCitizenship: import("../../i18n/types").ErrorKey;
|
|
85
|
+
regardedOwnerDateOfBirth: import("../../i18n/types").ErrorKey;
|
|
86
|
+
regardedOwnerDbaName: import("../../i18n/types").ErrorKey;
|
|
87
|
+
regardedOwnerMailingAddressCity: import("../../i18n/types").ErrorKey;
|
|
88
|
+
regardedOwnerMailingAddressCountry: import("../../i18n/types").ErrorKey;
|
|
89
|
+
regardedOwnerMailingAddressIsDifferent: import("../../i18n/types").ErrorKey;
|
|
90
|
+
regardedOwnerMailingAddressState: import("../../i18n/types").ErrorKey;
|
|
91
|
+
regardedOwnerMailingAddressStreet2: import("../../i18n/types").ErrorKey;
|
|
92
|
+
regardedOwnerMailingAddressStreet: import("../../i18n/types").ErrorKey;
|
|
93
|
+
regardedOwnerMailingAddressZip: import("../../i18n/types").ErrorKey;
|
|
94
|
+
regardedOwnerName: import("../../i18n/types").ErrorKey;
|
|
95
|
+
regardedOwnerUsAccountType: import("../../i18n/types").ErrorKey;
|
|
96
|
+
regardedOwnerUsLlcClassification: import("../../i18n/types").ErrorKey;
|
|
97
|
+
regardedOwnerUsOtherClassification: import("../../i18n/types").ErrorKey;
|
|
98
|
+
regardedOwnerUsTrustEstateEin: import("../../i18n/types").ErrorKey;
|
|
99
|
+
regardedOwnerForeignAccountType: import("../../i18n/types").ErrorKey;
|
|
100
|
+
regardedOwnerForeignTrustClassification: import("../../i18n/types").ErrorKey;
|
|
101
|
+
regardedOwnerForeignOtherClassification: import("../../i18n/types").ErrorKey;
|
|
102
|
+
regardedOwnerForeignTin: import("../../i18n/types").ErrorKey;
|
|
103
|
+
regardedOwnerForeignTinIsNotRequired: import("../../i18n/types").ErrorKey;
|
|
104
|
+
regardedOwnerUsTin: import("../../i18n/types").ErrorKey;
|
|
105
105
|
};
|
|
106
106
|
isErrorFree: boolean;
|
|
107
107
|
showErrors: boolean;
|
|
@@ -208,18 +208,18 @@ export declare const useFormUIContext: () => {
|
|
|
208
208
|
regardedOwnerForeignTinIsNotRequired?: boolean | undefined;
|
|
209
209
|
regardedOwnerUsTin?: boolean | undefined;
|
|
210
210
|
};
|
|
211
|
-
getLocalButton: (key: import("../../i18n/types
|
|
211
|
+
getLocalButton: (key: import("../../i18n/types").ButtonKey) => string;
|
|
212
212
|
getLocalCaProvince: (key: string | undefined) => string;
|
|
213
213
|
getLocalCountry: (key: string | undefined) => string;
|
|
214
|
-
getLocalError: (key: import("../../i18n/types
|
|
215
|
-
getLocalHint: (key: keyof import("../../types
|
|
214
|
+
getLocalError: (key: import("../../i18n/types").ErrorKey) => string;
|
|
215
|
+
getLocalHint: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => string | undefined;
|
|
216
216
|
getLocalOption: (key: string | undefined) => string | undefined;
|
|
217
|
-
getLocalPrompt: (key: keyof import("../../types
|
|
218
|
-
getLocalSubPrompt: (key: keyof import("../../types
|
|
219
|
-
getLocalText: (key: import("../../i18n/types
|
|
220
|
-
getLocalTitle: (key: import("../../i18n/types
|
|
217
|
+
getLocalPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => string;
|
|
218
|
+
getLocalSubPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => string;
|
|
219
|
+
getLocalText: (key: import("../../i18n/types").TextKey) => string;
|
|
220
|
+
getLocalTitle: (key: import("../../i18n/types").TitleKey) => string;
|
|
221
221
|
getLocalUsState: (key: string | undefined) => string;
|
|
222
|
-
getRequiredLocalPrompt: (key: keyof import("../../types
|
|
222
|
+
getRequiredLocalPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => string;
|
|
223
223
|
visibleQuestions: {
|
|
224
224
|
exemptPayeeCode: boolean;
|
|
225
225
|
exemptFatcaCode: boolean;
|
|
@@ -321,111 +321,111 @@ export declare const useFormUIContext: () => {
|
|
|
321
321
|
regardedOwnerForeignTinIsNotRequired: boolean;
|
|
322
322
|
regardedOwnerUsTin: boolean;
|
|
323
323
|
};
|
|
324
|
-
hideField: (key: keyof import("../../types
|
|
325
|
-
showField: (key: keyof import("../../types
|
|
324
|
+
hideField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => void;
|
|
325
|
+
showField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => void;
|
|
326
326
|
}, FormUIContextProvider: import("react").Provider<{
|
|
327
|
-
fields: import("../../types
|
|
328
|
-
setValue: (key: keyof import("../../types
|
|
327
|
+
fields: import("../../types").TaxDocumentation;
|
|
328
|
+
setValue: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData, value: string | undefined) => void;
|
|
329
329
|
errors: {
|
|
330
|
-
exemptPayeeCode: import("../../i18n/types
|
|
331
|
-
exemptFatcaCode: import("../../i18n/types
|
|
332
|
-
iAcknowlegeESignIsOk: import("../../i18n/types
|
|
333
|
-
iAmACitizenOfTheUs: import("../../i18n/types
|
|
334
|
-
iAmExemptFromFatcaReporting: import("../../i18n/types
|
|
335
|
-
iAmNotSubjectToBackupWithholding: import("../../i18n/types
|
|
336
|
-
iAuthorizeWithholdingAgent: import("../../i18n/types
|
|
337
|
-
iCertifyToAll: import("../../i18n/types
|
|
338
|
-
iConfirmIncomeIsNonUs: import("../../i18n/types
|
|
339
|
-
iConfirmTheBeneficialOwnerIsExempt: import("../../i18n/types
|
|
340
|
-
iConfirmTheEntityIsNotAUsPerson: import("../../i18n/types
|
|
341
|
-
iConfirmTheEntityIsTheBeneficialOwner: import("../../i18n/types
|
|
342
|
-
iConfirmTheTaxIdIsCorrect: import("../../i18n/types
|
|
343
|
-
iHaveLegalCapacityToSign: import("../../i18n/types
|
|
344
|
-
regardedOwnerUsPerson: import("../../i18n/types
|
|
345
|
-
signature: import("../../i18n/types
|
|
346
|
-
accountHolderAddressCity: import("../../i18n/types
|
|
347
|
-
accountHolderAddressCountry: import("../../i18n/types
|
|
348
|
-
accountHolderAddressState: import("../../i18n/types
|
|
349
|
-
accountHolderAddressStreet2: import("../../i18n/types
|
|
350
|
-
accountHolderAddressStreet: import("../../i18n/types
|
|
351
|
-
accountHolderAddressZip: import("../../i18n/types
|
|
352
|
-
accountHolderCityOfBirth: import("../../i18n/types
|
|
353
|
-
accountHolderCountryOfBirth: import("../../i18n/types
|
|
354
|
-
accountHolderCountryOfCitizenship: import("../../i18n/types
|
|
355
|
-
accountHolderDateOfBirth: import("../../i18n/types
|
|
356
|
-
accountHolderDbaName: import("../../i18n/types
|
|
357
|
-
accountHolderMailingAddressCity: import("../../i18n/types
|
|
358
|
-
accountHolderMailingAddressCountry: import("../../i18n/types
|
|
359
|
-
accountHolderMailingAddressIsDifferent: import("../../i18n/types
|
|
360
|
-
accountHolderMailingAddressState: import("../../i18n/types
|
|
361
|
-
accountHolderMailingAddressStreet2: import("../../i18n/types
|
|
362
|
-
accountHolderMailingAddressStreet: import("../../i18n/types
|
|
363
|
-
accountHolderMailingAddressZip: import("../../i18n/types
|
|
364
|
-
accountHolderName: import("../../i18n/types
|
|
365
|
-
accountHolderFinancialAccountIdentifier: import("../../i18n/types
|
|
366
|
-
accountHolderFinancialAccountName: import("../../i18n/types
|
|
367
|
-
accountHolderForeignTin: import("../../i18n/types
|
|
368
|
-
accountHolderForeignTinIsNotRequired: import("../../i18n/types
|
|
369
|
-
accountHolderTaxResidenceCountry1: import("../../i18n/types
|
|
370
|
-
accountHolderTaxResidenceForeignTin1: import("../../i18n/types
|
|
371
|
-
accountHolderTaxResidenceForeignTin1IsNotRequired: import("../../i18n/types
|
|
372
|
-
accountHolderTaxResidenceCountry2: import("../../i18n/types
|
|
373
|
-
accountHolderTaxResidenceForeignTin2: import("../../i18n/types
|
|
374
|
-
accountHolderTaxResidenceForeignTin2IsNotRequired: import("../../i18n/types
|
|
375
|
-
accountHolderTaxResidenceCountry3: import("../../i18n/types
|
|
376
|
-
accountHolderTaxResidenceForeignTin3: import("../../i18n/types
|
|
377
|
-
accountHolderTaxResidenceForeignTin3IsNotRequired: import("../../i18n/types
|
|
378
|
-
accountHolderTaxResidenceCountry4: import("../../i18n/types
|
|
379
|
-
accountHolderTaxResidenceForeignTin4: import("../../i18n/types
|
|
380
|
-
accountHolderTaxResidenceForeignTin4IsNotRequired: import("../../i18n/types
|
|
381
|
-
accountHolderTaxResidenceCountry5: import("../../i18n/types
|
|
382
|
-
accountHolderTaxResidenceForeignTin5: import("../../i18n/types
|
|
383
|
-
accountHolderTaxResidenceForeignTin5IsNotRequired: import("../../i18n/types
|
|
384
|
-
accountHolderShowTaxResidence2: import("../../i18n/types
|
|
385
|
-
accountHolderShowTaxResidence3: import("../../i18n/types
|
|
386
|
-
accountHolderShowTaxResidence4: import("../../i18n/types
|
|
387
|
-
accountHolderShowTaxResidence5: import("../../i18n/types
|
|
388
|
-
accountHolderUsTin: import("../../i18n/types
|
|
389
|
-
accountHolderVatIdentificationNumber: import("../../i18n/types
|
|
390
|
-
accountHolderVatCountry: import("../../i18n/types
|
|
391
|
-
accountHolderIsIndividual: import("../../i18n/types
|
|
392
|
-
accountHolderIsEuResident: import("../../i18n/types
|
|
393
|
-
accountHolderUsPerson: import("../../i18n/types
|
|
394
|
-
accountHolderUsAccountType: import("../../i18n/types
|
|
395
|
-
accountHolderUsSmllcElection: import("../../i18n/types
|
|
396
|
-
accountHolderUsLlcClassification: import("../../i18n/types
|
|
397
|
-
accountHolderUsOtherClassification: import("../../i18n/types
|
|
398
|
-
accountHolderUsTrustEstateEin: import("../../i18n/types
|
|
399
|
-
accountHolderForeignAccountType: import("../../i18n/types
|
|
400
|
-
accountHolderForeignTrustClassification: import("../../i18n/types
|
|
401
|
-
accountHolderForeignOtherClassification: import("../../i18n/types
|
|
402
|
-
regardedOwnerAddressCity: import("../../i18n/types
|
|
403
|
-
regardedOwnerAddressCountry: import("../../i18n/types
|
|
404
|
-
regardedOwnerAddressState: import("../../i18n/types
|
|
405
|
-
regardedOwnerAddressStreet2: import("../../i18n/types
|
|
406
|
-
regardedOwnerAddressStreet: import("../../i18n/types
|
|
407
|
-
regardedOwnerAddressZip: import("../../i18n/types
|
|
408
|
-
regardedOwnerCountryOfCitizenship: import("../../i18n/types
|
|
409
|
-
regardedOwnerDateOfBirth: import("../../i18n/types
|
|
410
|
-
regardedOwnerDbaName: import("../../i18n/types
|
|
411
|
-
regardedOwnerMailingAddressCity: import("../../i18n/types
|
|
412
|
-
regardedOwnerMailingAddressCountry: import("../../i18n/types
|
|
413
|
-
regardedOwnerMailingAddressIsDifferent: import("../../i18n/types
|
|
414
|
-
regardedOwnerMailingAddressState: import("../../i18n/types
|
|
415
|
-
regardedOwnerMailingAddressStreet2: import("../../i18n/types
|
|
416
|
-
regardedOwnerMailingAddressStreet: import("../../i18n/types
|
|
417
|
-
regardedOwnerMailingAddressZip: import("../../i18n/types
|
|
418
|
-
regardedOwnerName: import("../../i18n/types
|
|
419
|
-
regardedOwnerUsAccountType: import("../../i18n/types
|
|
420
|
-
regardedOwnerUsLlcClassification: import("../../i18n/types
|
|
421
|
-
regardedOwnerUsOtherClassification: import("../../i18n/types
|
|
422
|
-
regardedOwnerUsTrustEstateEin: import("../../i18n/types
|
|
423
|
-
regardedOwnerForeignAccountType: import("../../i18n/types
|
|
424
|
-
regardedOwnerForeignTrustClassification: import("../../i18n/types
|
|
425
|
-
regardedOwnerForeignOtherClassification: import("../../i18n/types
|
|
426
|
-
regardedOwnerForeignTin: import("../../i18n/types
|
|
427
|
-
regardedOwnerForeignTinIsNotRequired: import("../../i18n/types
|
|
428
|
-
regardedOwnerUsTin: import("../../i18n/types
|
|
330
|
+
exemptPayeeCode: import("../../i18n/types").ErrorKey;
|
|
331
|
+
exemptFatcaCode: import("../../i18n/types").ErrorKey;
|
|
332
|
+
iAcknowlegeESignIsOk: import("../../i18n/types").ErrorKey;
|
|
333
|
+
iAmACitizenOfTheUs: import("../../i18n/types").ErrorKey;
|
|
334
|
+
iAmExemptFromFatcaReporting: import("../../i18n/types").ErrorKey;
|
|
335
|
+
iAmNotSubjectToBackupWithholding: import("../../i18n/types").ErrorKey;
|
|
336
|
+
iAuthorizeWithholdingAgent: import("../../i18n/types").ErrorKey;
|
|
337
|
+
iCertifyToAll: import("../../i18n/types").ErrorKey;
|
|
338
|
+
iConfirmIncomeIsNonUs: import("../../i18n/types").ErrorKey;
|
|
339
|
+
iConfirmTheBeneficialOwnerIsExempt: import("../../i18n/types").ErrorKey;
|
|
340
|
+
iConfirmTheEntityIsNotAUsPerson: import("../../i18n/types").ErrorKey;
|
|
341
|
+
iConfirmTheEntityIsTheBeneficialOwner: import("../../i18n/types").ErrorKey;
|
|
342
|
+
iConfirmTheTaxIdIsCorrect: import("../../i18n/types").ErrorKey;
|
|
343
|
+
iHaveLegalCapacityToSign: import("../../i18n/types").ErrorKey;
|
|
344
|
+
regardedOwnerUsPerson: import("../../i18n/types").ErrorKey;
|
|
345
|
+
signature: import("../../i18n/types").ErrorKey;
|
|
346
|
+
accountHolderAddressCity: import("../../i18n/types").ErrorKey;
|
|
347
|
+
accountHolderAddressCountry: import("../../i18n/types").ErrorKey;
|
|
348
|
+
accountHolderAddressState: import("../../i18n/types").ErrorKey;
|
|
349
|
+
accountHolderAddressStreet2: import("../../i18n/types").ErrorKey;
|
|
350
|
+
accountHolderAddressStreet: import("../../i18n/types").ErrorKey;
|
|
351
|
+
accountHolderAddressZip: import("../../i18n/types").ErrorKey;
|
|
352
|
+
accountHolderCityOfBirth: import("../../i18n/types").ErrorKey;
|
|
353
|
+
accountHolderCountryOfBirth: import("../../i18n/types").ErrorKey;
|
|
354
|
+
accountHolderCountryOfCitizenship: import("../../i18n/types").ErrorKey;
|
|
355
|
+
accountHolderDateOfBirth: import("../../i18n/types").ErrorKey;
|
|
356
|
+
accountHolderDbaName: import("../../i18n/types").ErrorKey;
|
|
357
|
+
accountHolderMailingAddressCity: import("../../i18n/types").ErrorKey;
|
|
358
|
+
accountHolderMailingAddressCountry: import("../../i18n/types").ErrorKey;
|
|
359
|
+
accountHolderMailingAddressIsDifferent: import("../../i18n/types").ErrorKey;
|
|
360
|
+
accountHolderMailingAddressState: import("../../i18n/types").ErrorKey;
|
|
361
|
+
accountHolderMailingAddressStreet2: import("../../i18n/types").ErrorKey;
|
|
362
|
+
accountHolderMailingAddressStreet: import("../../i18n/types").ErrorKey;
|
|
363
|
+
accountHolderMailingAddressZip: import("../../i18n/types").ErrorKey;
|
|
364
|
+
accountHolderName: import("../../i18n/types").ErrorKey;
|
|
365
|
+
accountHolderFinancialAccountIdentifier: import("../../i18n/types").ErrorKey;
|
|
366
|
+
accountHolderFinancialAccountName: import("../../i18n/types").ErrorKey;
|
|
367
|
+
accountHolderForeignTin: import("../../i18n/types").ErrorKey;
|
|
368
|
+
accountHolderForeignTinIsNotRequired: import("../../i18n/types").ErrorKey;
|
|
369
|
+
accountHolderTaxResidenceCountry1: import("../../i18n/types").ErrorKey;
|
|
370
|
+
accountHolderTaxResidenceForeignTin1: import("../../i18n/types").ErrorKey;
|
|
371
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired: import("../../i18n/types").ErrorKey;
|
|
372
|
+
accountHolderTaxResidenceCountry2: import("../../i18n/types").ErrorKey;
|
|
373
|
+
accountHolderTaxResidenceForeignTin2: import("../../i18n/types").ErrorKey;
|
|
374
|
+
accountHolderTaxResidenceForeignTin2IsNotRequired: import("../../i18n/types").ErrorKey;
|
|
375
|
+
accountHolderTaxResidenceCountry3: import("../../i18n/types").ErrorKey;
|
|
376
|
+
accountHolderTaxResidenceForeignTin3: import("../../i18n/types").ErrorKey;
|
|
377
|
+
accountHolderTaxResidenceForeignTin3IsNotRequired: import("../../i18n/types").ErrorKey;
|
|
378
|
+
accountHolderTaxResidenceCountry4: import("../../i18n/types").ErrorKey;
|
|
379
|
+
accountHolderTaxResidenceForeignTin4: import("../../i18n/types").ErrorKey;
|
|
380
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired: import("../../i18n/types").ErrorKey;
|
|
381
|
+
accountHolderTaxResidenceCountry5: import("../../i18n/types").ErrorKey;
|
|
382
|
+
accountHolderTaxResidenceForeignTin5: import("../../i18n/types").ErrorKey;
|
|
383
|
+
accountHolderTaxResidenceForeignTin5IsNotRequired: import("../../i18n/types").ErrorKey;
|
|
384
|
+
accountHolderShowTaxResidence2: import("../../i18n/types").ErrorKey;
|
|
385
|
+
accountHolderShowTaxResidence3: import("../../i18n/types").ErrorKey;
|
|
386
|
+
accountHolderShowTaxResidence4: import("../../i18n/types").ErrorKey;
|
|
387
|
+
accountHolderShowTaxResidence5: import("../../i18n/types").ErrorKey;
|
|
388
|
+
accountHolderUsTin: import("../../i18n/types").ErrorKey;
|
|
389
|
+
accountHolderVatIdentificationNumber: import("../../i18n/types").ErrorKey;
|
|
390
|
+
accountHolderVatCountry: import("../../i18n/types").ErrorKey;
|
|
391
|
+
accountHolderIsIndividual: import("../../i18n/types").ErrorKey;
|
|
392
|
+
accountHolderIsEuResident: import("../../i18n/types").ErrorKey;
|
|
393
|
+
accountHolderUsPerson: import("../../i18n/types").ErrorKey;
|
|
394
|
+
accountHolderUsAccountType: import("../../i18n/types").ErrorKey;
|
|
395
|
+
accountHolderUsSmllcElection: import("../../i18n/types").ErrorKey;
|
|
396
|
+
accountHolderUsLlcClassification: import("../../i18n/types").ErrorKey;
|
|
397
|
+
accountHolderUsOtherClassification: import("../../i18n/types").ErrorKey;
|
|
398
|
+
accountHolderUsTrustEstateEin: import("../../i18n/types").ErrorKey;
|
|
399
|
+
accountHolderForeignAccountType: import("../../i18n/types").ErrorKey;
|
|
400
|
+
accountHolderForeignTrustClassification: import("../../i18n/types").ErrorKey;
|
|
401
|
+
accountHolderForeignOtherClassification: import("../../i18n/types").ErrorKey;
|
|
402
|
+
regardedOwnerAddressCity: import("../../i18n/types").ErrorKey;
|
|
403
|
+
regardedOwnerAddressCountry: import("../../i18n/types").ErrorKey;
|
|
404
|
+
regardedOwnerAddressState: import("../../i18n/types").ErrorKey;
|
|
405
|
+
regardedOwnerAddressStreet2: import("../../i18n/types").ErrorKey;
|
|
406
|
+
regardedOwnerAddressStreet: import("../../i18n/types").ErrorKey;
|
|
407
|
+
regardedOwnerAddressZip: import("../../i18n/types").ErrorKey;
|
|
408
|
+
regardedOwnerCountryOfCitizenship: import("../../i18n/types").ErrorKey;
|
|
409
|
+
regardedOwnerDateOfBirth: import("../../i18n/types").ErrorKey;
|
|
410
|
+
regardedOwnerDbaName: import("../../i18n/types").ErrorKey;
|
|
411
|
+
regardedOwnerMailingAddressCity: import("../../i18n/types").ErrorKey;
|
|
412
|
+
regardedOwnerMailingAddressCountry: import("../../i18n/types").ErrorKey;
|
|
413
|
+
regardedOwnerMailingAddressIsDifferent: import("../../i18n/types").ErrorKey;
|
|
414
|
+
regardedOwnerMailingAddressState: import("../../i18n/types").ErrorKey;
|
|
415
|
+
regardedOwnerMailingAddressStreet2: import("../../i18n/types").ErrorKey;
|
|
416
|
+
regardedOwnerMailingAddressStreet: import("../../i18n/types").ErrorKey;
|
|
417
|
+
regardedOwnerMailingAddressZip: import("../../i18n/types").ErrorKey;
|
|
418
|
+
regardedOwnerName: import("../../i18n/types").ErrorKey;
|
|
419
|
+
regardedOwnerUsAccountType: import("../../i18n/types").ErrorKey;
|
|
420
|
+
regardedOwnerUsLlcClassification: import("../../i18n/types").ErrorKey;
|
|
421
|
+
regardedOwnerUsOtherClassification: import("../../i18n/types").ErrorKey;
|
|
422
|
+
regardedOwnerUsTrustEstateEin: import("../../i18n/types").ErrorKey;
|
|
423
|
+
regardedOwnerForeignAccountType: import("../../i18n/types").ErrorKey;
|
|
424
|
+
regardedOwnerForeignTrustClassification: import("../../i18n/types").ErrorKey;
|
|
425
|
+
regardedOwnerForeignOtherClassification: import("../../i18n/types").ErrorKey;
|
|
426
|
+
regardedOwnerForeignTin: import("../../i18n/types").ErrorKey;
|
|
427
|
+
regardedOwnerForeignTinIsNotRequired: import("../../i18n/types").ErrorKey;
|
|
428
|
+
regardedOwnerUsTin: import("../../i18n/types").ErrorKey;
|
|
429
429
|
};
|
|
430
430
|
isErrorFree: boolean;
|
|
431
431
|
showErrors: boolean;
|
|
@@ -532,18 +532,18 @@ export declare const useFormUIContext: () => {
|
|
|
532
532
|
regardedOwnerForeignTinIsNotRequired?: boolean | undefined;
|
|
533
533
|
regardedOwnerUsTin?: boolean | undefined;
|
|
534
534
|
};
|
|
535
|
-
getLocalButton: (key: import("../../i18n/types
|
|
535
|
+
getLocalButton: (key: import("../../i18n/types").ButtonKey) => string;
|
|
536
536
|
getLocalCaProvince: (key: string | undefined) => string;
|
|
537
537
|
getLocalCountry: (key: string | undefined) => string;
|
|
538
|
-
getLocalError: (key: import("../../i18n/types
|
|
539
|
-
getLocalHint: (key: keyof import("../../types
|
|
538
|
+
getLocalError: (key: import("../../i18n/types").ErrorKey) => string;
|
|
539
|
+
getLocalHint: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => string | undefined;
|
|
540
540
|
getLocalOption: (key: string | undefined) => string | undefined;
|
|
541
|
-
getLocalPrompt: (key: keyof import("../../types
|
|
542
|
-
getLocalSubPrompt: (key: keyof import("../../types
|
|
543
|
-
getLocalText: (key: import("../../i18n/types
|
|
544
|
-
getLocalTitle: (key: import("../../i18n/types
|
|
541
|
+
getLocalPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => string;
|
|
542
|
+
getLocalSubPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => string;
|
|
543
|
+
getLocalText: (key: import("../../i18n/types").TextKey) => string;
|
|
544
|
+
getLocalTitle: (key: import("../../i18n/types").TitleKey) => string;
|
|
545
545
|
getLocalUsState: (key: string | undefined) => string;
|
|
546
|
-
getRequiredLocalPrompt: (key: keyof import("../../types
|
|
546
|
+
getRequiredLocalPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => string;
|
|
547
547
|
visibleQuestions: {
|
|
548
548
|
exemptPayeeCode: boolean;
|
|
549
549
|
exemptFatcaCode: boolean;
|
|
@@ -645,6 +645,6 @@ export declare const useFormUIContext: () => {
|
|
|
645
645
|
regardedOwnerForeignTinIsNotRequired: boolean;
|
|
646
646
|
regardedOwnerUsTin: boolean;
|
|
647
647
|
};
|
|
648
|
-
hideField: (key: keyof import("../../types
|
|
649
|
-
showField: (key: keyof import("../../types
|
|
648
|
+
hideField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => void;
|
|
649
|
+
showField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData) => void;
|
|
650
650
|
} | undefined>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { Locale } from "i18n";
|
|
3
|
-
import type {
|
|
3
|
+
import type { TaxForm } from "types/TaxForm";
|
|
4
4
|
import type { TaxDocumentation } from "types";
|
|
5
5
|
type TaxDocumentationProviderProps = {
|
|
6
6
|
data?: TaxDocumentation;
|
|
7
7
|
onSubmit: (data: TaxDocumentation) => void;
|
|
8
8
|
language?: Locale;
|
|
9
9
|
children: React.ReactNode;
|
|
10
|
-
|
|
10
|
+
taxForms?: TaxForm[];
|
|
11
11
|
};
|
|
12
|
-
export declare const TaxBitFormProvider: ({ data, onSubmit, language,
|
|
12
|
+
export declare const TaxBitFormProvider: ({ data, onSubmit, language, taxForms, children, }: TaxDocumentationProviderProps) => React.JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type {
|
|
2
|
+
import type { TaxForm, TaxDocumentation } from "types";
|
|
3
3
|
import { Locale } from "i18n";
|
|
4
4
|
type InputStep = "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "Exemptions" | "RegardedOwnerClassification" | "RegardedOwnerContact" | "RegardedOwnerTax" | "Summary";
|
|
5
5
|
type UseTaxDocumentationProps = {
|
|
6
|
-
|
|
6
|
+
data: TaxDocumentation;
|
|
7
7
|
onSubmit: (transformedData: TaxDocumentation) => void;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
language?: Locale;
|
|
9
|
+
taxForms?: TaxForm[];
|
|
10
10
|
};
|
|
11
|
-
export declare const useTaxDocumentation: ({ initialData, onSubmit, initialLanguage, supportedForms, }: UseTaxDocumentationProps) => {
|
|
11
|
+
export declare const useTaxDocumentation: ({ data: initialData, onSubmit, language: initialLanguage, taxForms: supportedForms, }: UseTaxDocumentationProps) => {
|
|
12
12
|
isW9: boolean;
|
|
13
13
|
isW8: boolean;
|
|
14
14
|
isW8Ben: boolean;
|
|
@@ -27,7 +27,7 @@ export declare const useTaxDocumentation: ({ initialData, onSubmit, initialLangu
|
|
|
27
27
|
data: TaxDocumentation;
|
|
28
28
|
setLanguage: import("react").Dispatch<import("react").SetStateAction<"en-us" | "de-de" | "en-gb" | "it-it" | "nl-nl" | "no-no" | "sv-se" | "fr-fr" | "es-es">>;
|
|
29
29
|
language: "en-us" | "de-de" | "en-gb" | "it-it" | "nl-nl" | "no-no" | "sv-se" | "fr-fr" | "es-es";
|
|
30
|
-
supportedForms:
|
|
31
|
-
setSupportedForms: import("react").Dispatch<import("react").SetStateAction<
|
|
30
|
+
supportedForms: TaxForm[];
|
|
31
|
+
setSupportedForms: import("react").Dispatch<import("react").SetStateAction<TaxForm[]>>;
|
|
32
32
|
};
|
|
33
33
|
export {};
|