@taxbit/react-sdk 0.1.0 → 0.2.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.
Files changed (129) hide show
  1. package/README.md +79 -243
  2. package/dist/App.d.ts +1 -1
  3. package/dist/basic.css +1 -1
  4. package/dist/components/ErrorMessage/ErrorMessage.d.ts +2 -2
  5. package/dist/components/Form/Form.d.ts +8 -0
  6. package/dist/components/Form/index.d.ts +1 -0
  7. package/dist/components/Notification/Notification.d.ts +2 -2
  8. package/dist/components/Row/Row.d.ts +2 -2
  9. package/dist/components/index.d.ts +7 -7
  10. package/dist/contexts/FormUI/index.d.ts +3 -3
  11. package/dist/contexts/FormUI/useFormUI.d.ts +17 -117
  12. package/dist/contexts/FormUI/useFormUIContext.d.ts +30 -626
  13. package/dist/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +6 -4
  14. package/dist/contexts/TaxDocumentation/useTaxDocumentation.d.ts +11 -10
  15. package/dist/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +194 -110
  16. package/dist/entry/index.d.ts +5 -5
  17. package/dist/hooks/useTaxBit/useTaxBit.d.ts +108 -4
  18. package/dist/i18n/locales/bg-bg.d.ts +1 -1
  19. package/dist/i18n/locales/cs-cz.d.ts +1 -1
  20. package/dist/i18n/locales/da-dk.d.ts +2 -0
  21. package/dist/i18n/locales/de-at.d.ts +2 -0
  22. package/dist/i18n/locales/de-de.d.ts +1 -1
  23. package/dist/i18n/locales/el-cy.d.ts +2 -0
  24. package/dist/i18n/locales/el-gr.d.ts +1 -1
  25. package/dist/i18n/locales/en-gb.d.ts +1 -1
  26. package/dist/i18n/locales/en-us.d.ts +1 -1
  27. package/dist/i18n/locales/es-es.d.ts +1 -1
  28. package/dist/i18n/locales/et-ee.d.ts +1 -1
  29. package/dist/i18n/locales/fi-fi.d.ts +2 -0
  30. package/dist/i18n/locales/fr-fr.d.ts +1 -1
  31. package/dist/i18n/locales/fr-lu.d.ts +2 -0
  32. package/dist/i18n/locales/ga-ie.d.ts +2 -0
  33. package/dist/i18n/locales/hr-hr.d.ts +2 -0
  34. package/dist/i18n/locales/hu-hu.d.ts +1 -1
  35. package/dist/i18n/locales/index.d.ts +18 -7
  36. package/dist/i18n/locales/it-it.d.ts +1 -1
  37. package/dist/i18n/locales/lt-lt.d.ts +2 -0
  38. package/dist/i18n/locales/lv-lv.d.ts +2 -0
  39. package/dist/i18n/locales/mt-mt.d.ts +1 -1
  40. package/dist/i18n/locales/nl-be.d.ts +2 -0
  41. package/dist/i18n/locales/nl-nl.d.ts +1 -1
  42. package/dist/i18n/locales/no-no.d.ts +1 -1
  43. package/dist/i18n/locales/pl-pl.d.ts +2 -0
  44. package/dist/i18n/locales/pt-pt.d.ts +1 -1
  45. package/dist/i18n/locales/ro-ro.d.ts +1 -1
  46. package/dist/i18n/locales/sk-sk.d.ts +1 -1
  47. package/dist/i18n/locales/sl-si.d.ts +1 -1
  48. package/dist/i18n/locales/sv-se.d.ts +1 -1
  49. package/dist/i18n/types/LocalizationKey.d.ts +10 -11
  50. package/dist/inline.css +1 -1
  51. package/dist/lookups/toOptions.d.ts +3 -0
  52. package/dist/services/api.d.ts +3 -2
  53. package/dist/taxbit-react-sdk.es.js +16961 -10199
  54. package/dist/taxbit-react-sdk.umd.js +10 -10
  55. package/dist/test/Wrapper.d.ts +7 -0
  56. package/dist/test/getWrapper.d.ts +4 -0
  57. package/dist/test/index.d.ts +2 -0
  58. package/dist/types/Locale.d.ts +1 -1
  59. package/dist/types/TaxDocumentation.d.ts +8 -4
  60. package/dist/types/client/index.d.ts +6 -0
  61. package/dist/types/{external → server}/ComprehensiveTaxDocumentation.d.ts +3 -14
  62. package/dist/types/server/TaxDocumentationStatus.d.ts +9 -0
  63. package/dist/types/server/enums.d.ts +13 -0
  64. package/dist/types/server/index.d.ts +3 -0
  65. package/dist/ui/DateOfBirthInput/DateOfBirthInput.d.ts +1 -2
  66. package/dist/ui/DateOfBirthInput/__tests__/useDateOfBirthInput.test.d.ts +1 -0
  67. package/dist/ui/DateOfBirthInput/useDateOfBirthInput.d.ts +20 -0
  68. package/dist/ui/Password/Password.d.ts +2 -3
  69. package/dist/ui/RadioButtons/RadioButtons.d.ts +3 -3
  70. package/dist/ui/RadioButtons/__tests__/RadioButtons.test.d.ts +0 -0
  71. package/dist/utils/getFieldsState.d.ts +4 -3
  72. package/dist/utils/getHintKeyMap.d.ts +4 -2
  73. package/dist/utils/getPromptKeyMap.d.ts +6 -4
  74. package/dist/utils/index.d.ts +10 -15
  75. package/dist/utils/kebabCase.d.ts +1 -0
  76. package/dist/utils/{getForeignAccountType.d.ts → transformInbound/getForeignAccountType.d.ts} +1 -1
  77. package/dist/utils/{getForeignOtherClassification.d.ts → transformInbound/getForeignOtherClassification.d.ts} +1 -1
  78. package/dist/utils/{getForeignTrustClassification.d.ts → transformInbound/getForeignTrustClassification.d.ts} +1 -1
  79. package/dist/utils/{getLLCClassification.d.ts → transformInbound/getLLCClassification.d.ts} +1 -1
  80. package/dist/utils/{getUsAccountType.d.ts → transformInbound/getUsAccountType.d.ts} +1 -1
  81. package/dist/utils/transformInbound/index.d.ts +6 -0
  82. package/dist/utils/transformInbound/transformInbound.d.ts +3 -0
  83. package/dist/utils/transformOutbound/index.d.ts +6 -0
  84. package/dist/utils/transformOutbound/transformOutbound.d.ts +2 -2
  85. package/dist/utils/transformOutbound/transformToOutboundAccoutHolder.d.ts +3 -3
  86. package/dist/utils/transformOutbound/transformToOutboundAddress.d.ts +2 -2
  87. package/dist/utils/transformOutbound/transformToOutboundRegardedOwner.d.ts +2 -2
  88. package/dist/utils/transformOutbound/transformToOutboundTaxResidenceFields.d.ts +3 -4
  89. package/dist/validations/getInvalidFields.d.ts +3 -0
  90. package/dist/validations/getNotifiedFields.d.ts +10 -0
  91. package/dist/validations/getRequiredFields.d.ts +3 -0
  92. package/dist/validations/getSubmittableFields.d.ts +3 -0
  93. package/dist/{utils → validations}/getSupportedFields.d.ts +1 -1
  94. package/dist/validations/getVisibleFields.d.ts +3 -0
  95. package/dist/validations/index.d.ts +7 -2
  96. package/dist/validations/invalidFieldRules.d.ts +7 -0
  97. package/dist/validations/{requiredFields.d.ts → requiredFieldRules.d.ts} +3 -3
  98. package/dist/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +4 -11
  99. package/dist/widgets/TaxBitForm/TaxBitForm.d.ts +7 -6
  100. package/dist/wizard/AddressInput/AddressInput.d.ts +3 -3
  101. package/dist/wizard/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +1 -1
  102. package/dist/wizard/ResidenceInput/ResidenceInput.d.ts +3 -3
  103. package/dist/wizard/RowInput/ErrorRow/ErrorRow.d.ts +6 -0
  104. package/dist/wizard/RowInput/ErrorRow/index.d.ts +1 -0
  105. package/dist/wizard/RowInput/VisibleRow/VisibleRow.d.ts +2 -2
  106. package/dist/wizard/RowInput/index.d.ts +7 -6
  107. package/dist/wizard/TaxBitFormUI/AccountHolderClassification/AccountHolderClassification.d.ts +1 -1
  108. package/dist/wizard/TaxBitFormUI/AccountHolderContact/AccountHolderContact.d.ts +1 -1
  109. package/dist/wizard/TaxBitFormUI/AccountHolderTax/AccountHolderTax.d.ts +1 -1
  110. package/dist/wizard/TaxBitFormUI/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +1 -1
  111. package/dist/wizard/TaxBitFormUI/Exemptions/Exemptions.d.ts +1 -1
  112. package/dist/wizard/TaxBitFormUI/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +1 -1
  113. package/dist/wizard/TaxBitFormUI/RegardedOwnerContact/RegardedOwnerContact.d.ts +1 -1
  114. package/dist/wizard/TaxBitFormUI/RegardedOwnerTax/RegardedOwnerTax.d.ts +1 -1
  115. package/dist/wizard/TaxBitFormUI/Summary/Recap.d.ts +1 -1
  116. package/dist/wizard/TaxBitFormUI/Summary/Summary.d.ts +1 -1
  117. package/dist/wizard/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +3 -9
  118. package/dist/wizard/TaxBitFormUI/TaxBitFormUI.d.ts +6 -6
  119. package/package.json +17 -10
  120. package/dist/components/Page/Page.d.ts +0 -8
  121. package/dist/components/Page/index.d.ts +0 -1
  122. package/dist/types/external/index.d.ts +0 -1
  123. package/dist/utils/getNotifications.d.ts +0 -10
  124. package/dist/utils/getRequiredFields.d.ts +0 -103
  125. package/dist/utils/getValidationMessages.d.ts +0 -104
  126. package/dist/utils/getVisibleQuestions.d.ts +0 -6
  127. package/dist/utils/transformInbound.d.ts +0 -3
  128. package/dist/validations/validations.d.ts +0 -7
  129. /package/dist/{taxbit-react-sdk.es.d.ts → index.d.ts} +0 -0
@@ -1,666 +1,70 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useFormUIContext: () => {
3
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
- errors: {
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
- accountHolderVatIdentificationNumberIsNotRequired: import("../../i18n/types").ErrorKey;
67
- accountHolderVatCountry: import("../../i18n/types").ErrorKey;
68
- accountHolderIsIndividual: import("../../i18n/types").ErrorKey;
69
- accountHolderIsEuResident: import("../../i18n/types").ErrorKey;
70
- accountHolderUsPerson: import("../../i18n/types").ErrorKey;
71
- accountHolderUsAccountType: import("../../i18n/types").ErrorKey;
72
- accountHolderUsSmllcElection: import("../../i18n/types").ErrorKey;
73
- accountHolderUsLlcClassification: import("../../i18n/types").ErrorKey;
74
- accountHolderUsOtherClassification: import("../../i18n/types").ErrorKey;
75
- accountHolderUsTrustEstateEin: import("../../i18n/types").ErrorKey;
76
- accountHolderForeignAccountType: import("../../i18n/types").ErrorKey;
77
- accountHolderForeignTrustClassification: import("../../i18n/types").ErrorKey;
78
- accountHolderForeignOtherClassification: import("../../i18n/types").ErrorKey;
79
- regardedOwnerAddressCity: import("../../i18n/types").ErrorKey;
80
- regardedOwnerAddressCountry: import("../../i18n/types").ErrorKey;
81
- regardedOwnerAddressState: import("../../i18n/types").ErrorKey;
82
- regardedOwnerAddressStreet2: import("../../i18n/types").ErrorKey;
83
- regardedOwnerAddressStreet: import("../../i18n/types").ErrorKey;
84
- regardedOwnerAddressZip: import("../../i18n/types").ErrorKey;
85
- regardedOwnerCountryOfCitizenship: import("../../i18n/types").ErrorKey;
86
- regardedOwnerDateOfBirth: import("../../i18n/types").ErrorKey;
87
- regardedOwnerDbaName: import("../../i18n/types").ErrorKey;
88
- regardedOwnerMailingAddressCity: import("../../i18n/types").ErrorKey;
89
- regardedOwnerMailingAddressCountry: import("../../i18n/types").ErrorKey;
90
- regardedOwnerMailingAddressIsDifferent: import("../../i18n/types").ErrorKey;
91
- regardedOwnerMailingAddressState: import("../../i18n/types").ErrorKey;
92
- regardedOwnerMailingAddressStreet2: import("../../i18n/types").ErrorKey;
93
- regardedOwnerMailingAddressStreet: import("../../i18n/types").ErrorKey;
94
- regardedOwnerMailingAddressZip: import("../../i18n/types").ErrorKey;
95
- regardedOwnerName: import("../../i18n/types").ErrorKey;
96
- regardedOwnerUsAccountType: import("../../i18n/types").ErrorKey;
97
- regardedOwnerUsLlcClassification: import("../../i18n/types").ErrorKey;
98
- regardedOwnerUsOtherClassification: import("../../i18n/types").ErrorKey;
99
- regardedOwnerUsTrustEstateEin: import("../../i18n/types").ErrorKey;
100
- regardedOwnerForeignAccountType: import("../../i18n/types").ErrorKey;
101
- regardedOwnerForeignTrustClassification: import("../../i18n/types").ErrorKey;
102
- regardedOwnerForeignOtherClassification: import("../../i18n/types").ErrorKey;
103
- regardedOwnerForeignTin: import("../../i18n/types").ErrorKey;
104
- regardedOwnerForeignTinIsNotRequired: import("../../i18n/types").ErrorKey;
105
- regardedOwnerUsTin: import("../../i18n/types").ErrorKey;
106
- };
107
- notifications: import("../../utils/getNotifications").Notifications;
4
+ setFields: import("react").Dispatch<import("react").SetStateAction<import("../../types").TaxDocumentation>>;
5
+ 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 | "accountHolderCountryIsResidence", value: string | undefined) => void;
108
6
  isErrorFree: boolean;
109
7
  showErrors: boolean;
110
8
  exposeErrors: () => void;
111
9
  hideErrors: () => void;
112
- required: {
113
- exemptPayeeCode?: boolean | undefined;
114
- exemptFatcaCode?: boolean | undefined;
115
- iAcknowlegeESignIsOk?: boolean | undefined;
116
- iAmACitizenOfTheUs?: boolean | undefined;
117
- iAmExemptFromFatcaReporting?: boolean | undefined;
118
- iAmNotSubjectToBackupWithholding?: boolean | undefined;
119
- iAuthorizeWithholdingAgent?: boolean | undefined;
120
- iCertifyToAll?: boolean | undefined;
121
- iConfirmIncomeIsNonUs?: boolean | undefined;
122
- iConfirmTheBeneficialOwnerIsExempt?: boolean | undefined;
123
- iConfirmTheEntityIsNotAUsPerson?: boolean | undefined;
124
- iConfirmTheEntityIsTheBeneficialOwner?: boolean | undefined;
125
- iConfirmTheTaxIdIsCorrect?: boolean | undefined;
126
- iHaveLegalCapacityToSign?: boolean | undefined;
127
- regardedOwnerUsPerson?: boolean | undefined;
128
- signature?: boolean | undefined;
129
- accountHolderAddressCity?: boolean | undefined;
130
- accountHolderAddressCountry?: boolean | undefined;
131
- accountHolderAddressState?: boolean | undefined;
132
- accountHolderAddressStreet2?: boolean | undefined;
133
- accountHolderAddressStreet?: boolean | undefined;
134
- accountHolderAddressZip?: boolean | undefined;
135
- accountHolderCityOfBirth?: boolean | undefined;
136
- accountHolderCountryOfBirth?: boolean | undefined;
137
- accountHolderCountryOfCitizenship?: boolean | undefined;
138
- accountHolderDateOfBirth?: boolean | undefined;
139
- accountHolderDbaName?: boolean | undefined;
140
- accountHolderMailingAddressCity?: boolean | undefined;
141
- accountHolderMailingAddressCountry?: boolean | undefined;
142
- accountHolderMailingAddressIsDifferent?: boolean | undefined;
143
- accountHolderMailingAddressState?: boolean | undefined;
144
- accountHolderMailingAddressStreet2?: boolean | undefined;
145
- accountHolderMailingAddressStreet?: boolean | undefined;
146
- accountHolderMailingAddressZip?: boolean | undefined;
147
- accountHolderName?: boolean | undefined;
148
- accountHolderFinancialAccountIdentifier?: boolean | undefined;
149
- accountHolderFinancialAccountName?: boolean | undefined;
150
- accountHolderForeignTin?: boolean | undefined;
151
- accountHolderForeignTinIsNotRequired?: boolean | undefined;
152
- accountHolderTaxResidenceCountry1?: boolean | undefined;
153
- accountHolderTaxResidenceForeignTin1?: boolean | undefined;
154
- accountHolderTaxResidenceForeignTin1IsNotRequired?: boolean | undefined;
155
- accountHolderTaxResidenceCountry2?: boolean | undefined;
156
- accountHolderTaxResidenceForeignTin2?: boolean | undefined;
157
- accountHolderTaxResidenceForeignTin2IsNotRequired?: boolean | undefined;
158
- accountHolderTaxResidenceCountry3?: boolean | undefined;
159
- accountHolderTaxResidenceForeignTin3?: boolean | undefined;
160
- accountHolderTaxResidenceForeignTin3IsNotRequired?: boolean | undefined;
161
- accountHolderTaxResidenceCountry4?: boolean | undefined;
162
- accountHolderTaxResidenceForeignTin4?: boolean | undefined;
163
- accountHolderTaxResidenceForeignTin4IsNotRequired?: boolean | undefined;
164
- accountHolderTaxResidenceCountry5?: boolean | undefined;
165
- accountHolderTaxResidenceForeignTin5?: boolean | undefined;
166
- accountHolderTaxResidenceForeignTin5IsNotRequired?: boolean | undefined;
167
- accountHolderShowTaxResidence2?: boolean | undefined;
168
- accountHolderShowTaxResidence3?: boolean | undefined;
169
- accountHolderShowTaxResidence4?: boolean | undefined;
170
- accountHolderShowTaxResidence5?: boolean | undefined;
171
- accountHolderUsTin?: boolean | undefined;
172
- accountHolderVatIdentificationNumber?: boolean | undefined;
173
- accountHolderVatIdentificationNumberIsNotRequired?: boolean | undefined;
174
- accountHolderVatCountry?: boolean | undefined;
175
- accountHolderIsIndividual?: boolean | undefined;
176
- accountHolderIsEuResident?: boolean | undefined;
177
- accountHolderUsPerson?: boolean | undefined;
178
- accountHolderUsAccountType?: boolean | undefined;
179
- accountHolderUsSmllcElection?: boolean | undefined;
180
- accountHolderUsLlcClassification?: boolean | undefined;
181
- accountHolderUsOtherClassification?: boolean | undefined;
182
- accountHolderUsTrustEstateEin?: boolean | undefined;
183
- accountHolderForeignAccountType?: boolean | undefined;
184
- accountHolderForeignTrustClassification?: boolean | undefined;
185
- accountHolderForeignOtherClassification?: boolean | undefined;
186
- regardedOwnerAddressCity?: boolean | undefined;
187
- regardedOwnerAddressCountry?: boolean | undefined;
188
- regardedOwnerAddressState?: boolean | undefined;
189
- regardedOwnerAddressStreet2?: boolean | undefined;
190
- regardedOwnerAddressStreet?: boolean | undefined;
191
- regardedOwnerAddressZip?: boolean | undefined;
192
- regardedOwnerCountryOfCitizenship?: boolean | undefined;
193
- regardedOwnerDateOfBirth?: boolean | undefined;
194
- regardedOwnerDbaName?: boolean | undefined;
195
- regardedOwnerMailingAddressCity?: boolean | undefined;
196
- regardedOwnerMailingAddressCountry?: boolean | undefined;
197
- regardedOwnerMailingAddressIsDifferent?: boolean | undefined;
198
- regardedOwnerMailingAddressState?: boolean | undefined;
199
- regardedOwnerMailingAddressStreet2?: boolean | undefined;
200
- regardedOwnerMailingAddressStreet?: boolean | undefined;
201
- regardedOwnerMailingAddressZip?: boolean | undefined;
202
- regardedOwnerName?: boolean | undefined;
203
- regardedOwnerUsAccountType?: boolean | undefined;
204
- regardedOwnerUsLlcClassification?: boolean | undefined;
205
- regardedOwnerUsOtherClassification?: boolean | undefined;
206
- regardedOwnerUsTrustEstateEin?: boolean | undefined;
207
- regardedOwnerForeignAccountType?: boolean | undefined;
208
- regardedOwnerForeignTrustClassification?: boolean | undefined;
209
- regardedOwnerForeignOtherClassification?: boolean | undefined;
210
- regardedOwnerForeignTin?: boolean | undefined;
211
- regardedOwnerForeignTinIsNotRequired?: boolean | undefined;
212
- regardedOwnerUsTin?: boolean | undefined;
213
- };
214
10
  getLocalButton: (key: import("../../i18n/types").ButtonKey) => string;
215
11
  getLocalCaProvince: (key: string | undefined) => string;
216
12
  getLocalCountry: (key: string | undefined) => string;
217
13
  getLocalError: (key: import("../../i18n/types").ErrorKey) => string;
218
- 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;
14
+ 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 | "accountHolderCountryIsResidence") => string | undefined;
15
+ getHintKey: (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 | "accountHolderCountryIsResidence") => "dateOfBirth";
219
16
  getLocalLocale: (key: import("../../types").Locale) => string;
220
17
  getLocalNotification: (key: "vatUnexpectedFormat") => string;
221
18
  getLocalOption: (key: string | undefined) => string | undefined;
222
19
  getLocalPrompt: (key: string) => string;
223
- 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;
20
+ getPromptKey: (key: string) => import("../../i18n/types").PromptKey;
21
+ 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 | "accountHolderCountryIsResidence") => string;
22
+ getSubPromptKey: (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 | "accountHolderCountryIsResidence") => import("../../i18n/types").SubPromptKey;
224
23
  getLocalText: (key: import("../../i18n/types").TextKey) => string;
225
24
  getLocalTitle: (key: import("../../i18n/types").TitleKey) => string;
226
25
  getLocalSubTitle: (key: string) => string;
227
26
  getLocalUsState: (key: string | undefined) => string;
228
27
  getLocalMonth: (key: string | undefined) => string;
229
- 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;
230
- visibleQuestions: {
231
- exemptPayeeCode: boolean;
232
- exemptFatcaCode: boolean;
233
- iAcknowlegeESignIsOk: boolean;
234
- iAmACitizenOfTheUs: boolean;
235
- iAmExemptFromFatcaReporting: boolean;
236
- iAmNotSubjectToBackupWithholding: boolean;
237
- iAuthorizeWithholdingAgent: boolean;
238
- iCertifyToAll: boolean;
239
- iConfirmIncomeIsNonUs: boolean;
240
- iConfirmTheBeneficialOwnerIsExempt: boolean;
241
- iConfirmTheEntityIsNotAUsPerson: boolean;
242
- iConfirmTheEntityIsTheBeneficialOwner: boolean;
243
- iConfirmTheTaxIdIsCorrect: boolean;
244
- iHaveLegalCapacityToSign: boolean;
245
- regardedOwnerUsPerson: boolean;
246
- signature: boolean;
247
- accountHolderAddressCity: boolean;
248
- accountHolderAddressCountry: boolean;
249
- accountHolderAddressState: boolean;
250
- accountHolderAddressStreet2: boolean;
251
- accountHolderAddressStreet: boolean;
252
- accountHolderAddressZip: boolean;
253
- accountHolderCityOfBirth: boolean;
254
- accountHolderCountryOfBirth: boolean;
255
- accountHolderCountryOfCitizenship: boolean;
256
- accountHolderDateOfBirth: boolean;
257
- accountHolderDbaName: boolean;
258
- accountHolderMailingAddressCity: boolean;
259
- accountHolderMailingAddressCountry: boolean;
260
- accountHolderMailingAddressIsDifferent: boolean;
261
- accountHolderMailingAddressState: boolean;
262
- accountHolderMailingAddressStreet2: boolean;
263
- accountHolderMailingAddressStreet: boolean;
264
- accountHolderMailingAddressZip: boolean;
265
- accountHolderName: boolean;
266
- accountHolderFinancialAccountIdentifier: boolean;
267
- accountHolderFinancialAccountName: boolean;
268
- accountHolderForeignTin: boolean;
269
- accountHolderForeignTinIsNotRequired: boolean;
270
- accountHolderTaxResidenceCountry1: boolean;
271
- accountHolderTaxResidenceForeignTin1: boolean;
272
- accountHolderTaxResidenceForeignTin1IsNotRequired: boolean;
273
- accountHolderTaxResidenceCountry2: boolean;
274
- accountHolderTaxResidenceForeignTin2: boolean;
275
- accountHolderTaxResidenceForeignTin2IsNotRequired: boolean;
276
- accountHolderTaxResidenceCountry3: boolean;
277
- accountHolderTaxResidenceForeignTin3: boolean;
278
- accountHolderTaxResidenceForeignTin3IsNotRequired: boolean;
279
- accountHolderTaxResidenceCountry4: boolean;
280
- accountHolderTaxResidenceForeignTin4: boolean;
281
- accountHolderTaxResidenceForeignTin4IsNotRequired: boolean;
282
- accountHolderTaxResidenceCountry5: boolean;
283
- accountHolderTaxResidenceForeignTin5: boolean;
284
- accountHolderTaxResidenceForeignTin5IsNotRequired: boolean;
285
- accountHolderShowTaxResidence2: boolean;
286
- accountHolderShowTaxResidence3: boolean;
287
- accountHolderShowTaxResidence4: boolean;
288
- accountHolderShowTaxResidence5: boolean;
289
- accountHolderUsTin: boolean;
290
- accountHolderVatIdentificationNumber: boolean;
291
- accountHolderVatIdentificationNumberIsNotRequired: boolean;
292
- accountHolderVatCountry: boolean;
293
- accountHolderIsIndividual: boolean;
294
- accountHolderIsEuResident: boolean;
295
- accountHolderUsPerson: boolean;
296
- accountHolderUsAccountType: boolean;
297
- accountHolderUsSmllcElection: boolean;
298
- accountHolderUsLlcClassification: boolean;
299
- accountHolderUsOtherClassification: boolean;
300
- accountHolderUsTrustEstateEin: boolean;
301
- accountHolderForeignAccountType: boolean;
302
- accountHolderForeignTrustClassification: boolean;
303
- accountHolderForeignOtherClassification: boolean;
304
- regardedOwnerAddressCity: boolean;
305
- regardedOwnerAddressCountry: boolean;
306
- regardedOwnerAddressState: boolean;
307
- regardedOwnerAddressStreet2: boolean;
308
- regardedOwnerAddressStreet: boolean;
309
- regardedOwnerAddressZip: boolean;
310
- regardedOwnerCountryOfCitizenship: boolean;
311
- regardedOwnerDateOfBirth: boolean;
312
- regardedOwnerDbaName: boolean;
313
- regardedOwnerMailingAddressCity: boolean;
314
- regardedOwnerMailingAddressCountry: boolean;
315
- regardedOwnerMailingAddressIsDifferent: boolean;
316
- regardedOwnerMailingAddressState: boolean;
317
- regardedOwnerMailingAddressStreet2: boolean;
318
- regardedOwnerMailingAddressStreet: boolean;
319
- regardedOwnerMailingAddressZip: boolean;
320
- regardedOwnerName: boolean;
321
- regardedOwnerUsAccountType: boolean;
322
- regardedOwnerUsLlcClassification: boolean;
323
- regardedOwnerUsOtherClassification: boolean;
324
- regardedOwnerUsTrustEstateEin: boolean;
325
- regardedOwnerForeignAccountType: boolean;
326
- regardedOwnerForeignTrustClassification: boolean;
327
- regardedOwnerForeignOtherClassification: boolean;
328
- regardedOwnerForeignTin: boolean;
329
- regardedOwnerForeignTinIsNotRequired: boolean;
330
- regardedOwnerUsTin: boolean;
331
- };
332
- 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;
333
- 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;
28
+ 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 | "accountHolderCountryIsResidence") => string;
29
+ notifiedFields: import("../../validations/getNotifiedFields").Notifications;
30
+ invalidFields: import("./useFormUI").TaxDocumentationErrorFile;
31
+ requiredFields: import("./useFormUI").TaxDocumentationPropertyFile;
32
+ submittableFields: import("../../types").TaxDocumentation;
33
+ visibleFields: import("./useFormUI").TaxDocumentationPropertyFile;
34
+ 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 | "accountHolderCountryIsResidence") => void;
35
+ 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 | "accountHolderCountryIsResidence") => void;
334
36
  }, FormUIContextProvider: import("react").Provider<{
335
37
  fields: import("../../types").TaxDocumentation;
336
- 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;
337
- errors: {
338
- exemptPayeeCode: import("../../i18n/types").ErrorKey;
339
- exemptFatcaCode: import("../../i18n/types").ErrorKey;
340
- iAcknowlegeESignIsOk: import("../../i18n/types").ErrorKey;
341
- iAmACitizenOfTheUs: import("../../i18n/types").ErrorKey;
342
- iAmExemptFromFatcaReporting: import("../../i18n/types").ErrorKey;
343
- iAmNotSubjectToBackupWithholding: import("../../i18n/types").ErrorKey;
344
- iAuthorizeWithholdingAgent: import("../../i18n/types").ErrorKey;
345
- iCertifyToAll: import("../../i18n/types").ErrorKey;
346
- iConfirmIncomeIsNonUs: import("../../i18n/types").ErrorKey;
347
- iConfirmTheBeneficialOwnerIsExempt: import("../../i18n/types").ErrorKey;
348
- iConfirmTheEntityIsNotAUsPerson: import("../../i18n/types").ErrorKey;
349
- iConfirmTheEntityIsTheBeneficialOwner: import("../../i18n/types").ErrorKey;
350
- iConfirmTheTaxIdIsCorrect: import("../../i18n/types").ErrorKey;
351
- iHaveLegalCapacityToSign: import("../../i18n/types").ErrorKey;
352
- regardedOwnerUsPerson: import("../../i18n/types").ErrorKey;
353
- signature: import("../../i18n/types").ErrorKey;
354
- accountHolderAddressCity: import("../../i18n/types").ErrorKey;
355
- accountHolderAddressCountry: import("../../i18n/types").ErrorKey;
356
- accountHolderAddressState: import("../../i18n/types").ErrorKey;
357
- accountHolderAddressStreet2: import("../../i18n/types").ErrorKey;
358
- accountHolderAddressStreet: import("../../i18n/types").ErrorKey;
359
- accountHolderAddressZip: import("../../i18n/types").ErrorKey;
360
- accountHolderCityOfBirth: import("../../i18n/types").ErrorKey;
361
- accountHolderCountryOfBirth: import("../../i18n/types").ErrorKey;
362
- accountHolderCountryOfCitizenship: import("../../i18n/types").ErrorKey;
363
- accountHolderDateOfBirth: import("../../i18n/types").ErrorKey;
364
- accountHolderDbaName: import("../../i18n/types").ErrorKey;
365
- accountHolderMailingAddressCity: import("../../i18n/types").ErrorKey;
366
- accountHolderMailingAddressCountry: import("../../i18n/types").ErrorKey;
367
- accountHolderMailingAddressIsDifferent: import("../../i18n/types").ErrorKey;
368
- accountHolderMailingAddressState: import("../../i18n/types").ErrorKey;
369
- accountHolderMailingAddressStreet2: import("../../i18n/types").ErrorKey;
370
- accountHolderMailingAddressStreet: import("../../i18n/types").ErrorKey;
371
- accountHolderMailingAddressZip: import("../../i18n/types").ErrorKey;
372
- accountHolderName: import("../../i18n/types").ErrorKey;
373
- accountHolderFinancialAccountIdentifier: import("../../i18n/types").ErrorKey;
374
- accountHolderFinancialAccountName: import("../../i18n/types").ErrorKey;
375
- accountHolderForeignTin: import("../../i18n/types").ErrorKey;
376
- accountHolderForeignTinIsNotRequired: import("../../i18n/types").ErrorKey;
377
- accountHolderTaxResidenceCountry1: import("../../i18n/types").ErrorKey;
378
- accountHolderTaxResidenceForeignTin1: import("../../i18n/types").ErrorKey;
379
- accountHolderTaxResidenceForeignTin1IsNotRequired: import("../../i18n/types").ErrorKey;
380
- accountHolderTaxResidenceCountry2: import("../../i18n/types").ErrorKey;
381
- accountHolderTaxResidenceForeignTin2: import("../../i18n/types").ErrorKey;
382
- accountHolderTaxResidenceForeignTin2IsNotRequired: import("../../i18n/types").ErrorKey;
383
- accountHolderTaxResidenceCountry3: import("../../i18n/types").ErrorKey;
384
- accountHolderTaxResidenceForeignTin3: import("../../i18n/types").ErrorKey;
385
- accountHolderTaxResidenceForeignTin3IsNotRequired: import("../../i18n/types").ErrorKey;
386
- accountHolderTaxResidenceCountry4: import("../../i18n/types").ErrorKey;
387
- accountHolderTaxResidenceForeignTin4: import("../../i18n/types").ErrorKey;
388
- accountHolderTaxResidenceForeignTin4IsNotRequired: import("../../i18n/types").ErrorKey;
389
- accountHolderTaxResidenceCountry5: import("../../i18n/types").ErrorKey;
390
- accountHolderTaxResidenceForeignTin5: import("../../i18n/types").ErrorKey;
391
- accountHolderTaxResidenceForeignTin5IsNotRequired: import("../../i18n/types").ErrorKey;
392
- accountHolderShowTaxResidence2: import("../../i18n/types").ErrorKey;
393
- accountHolderShowTaxResidence3: import("../../i18n/types").ErrorKey;
394
- accountHolderShowTaxResidence4: import("../../i18n/types").ErrorKey;
395
- accountHolderShowTaxResidence5: import("../../i18n/types").ErrorKey;
396
- accountHolderUsTin: import("../../i18n/types").ErrorKey;
397
- accountHolderVatIdentificationNumber: import("../../i18n/types").ErrorKey;
398
- accountHolderVatIdentificationNumberIsNotRequired: import("../../i18n/types").ErrorKey;
399
- accountHolderVatCountry: import("../../i18n/types").ErrorKey;
400
- accountHolderIsIndividual: import("../../i18n/types").ErrorKey;
401
- accountHolderIsEuResident: import("../../i18n/types").ErrorKey;
402
- accountHolderUsPerson: import("../../i18n/types").ErrorKey;
403
- accountHolderUsAccountType: import("../../i18n/types").ErrorKey;
404
- accountHolderUsSmllcElection: import("../../i18n/types").ErrorKey;
405
- accountHolderUsLlcClassification: import("../../i18n/types").ErrorKey;
406
- accountHolderUsOtherClassification: import("../../i18n/types").ErrorKey;
407
- accountHolderUsTrustEstateEin: import("../../i18n/types").ErrorKey;
408
- accountHolderForeignAccountType: import("../../i18n/types").ErrorKey;
409
- accountHolderForeignTrustClassification: import("../../i18n/types").ErrorKey;
410
- accountHolderForeignOtherClassification: import("../../i18n/types").ErrorKey;
411
- regardedOwnerAddressCity: import("../../i18n/types").ErrorKey;
412
- regardedOwnerAddressCountry: import("../../i18n/types").ErrorKey;
413
- regardedOwnerAddressState: import("../../i18n/types").ErrorKey;
414
- regardedOwnerAddressStreet2: import("../../i18n/types").ErrorKey;
415
- regardedOwnerAddressStreet: import("../../i18n/types").ErrorKey;
416
- regardedOwnerAddressZip: import("../../i18n/types").ErrorKey;
417
- regardedOwnerCountryOfCitizenship: import("../../i18n/types").ErrorKey;
418
- regardedOwnerDateOfBirth: import("../../i18n/types").ErrorKey;
419
- regardedOwnerDbaName: import("../../i18n/types").ErrorKey;
420
- regardedOwnerMailingAddressCity: import("../../i18n/types").ErrorKey;
421
- regardedOwnerMailingAddressCountry: import("../../i18n/types").ErrorKey;
422
- regardedOwnerMailingAddressIsDifferent: import("../../i18n/types").ErrorKey;
423
- regardedOwnerMailingAddressState: import("../../i18n/types").ErrorKey;
424
- regardedOwnerMailingAddressStreet2: import("../../i18n/types").ErrorKey;
425
- regardedOwnerMailingAddressStreet: import("../../i18n/types").ErrorKey;
426
- regardedOwnerMailingAddressZip: import("../../i18n/types").ErrorKey;
427
- regardedOwnerName: import("../../i18n/types").ErrorKey;
428
- regardedOwnerUsAccountType: import("../../i18n/types").ErrorKey;
429
- regardedOwnerUsLlcClassification: import("../../i18n/types").ErrorKey;
430
- regardedOwnerUsOtherClassification: import("../../i18n/types").ErrorKey;
431
- regardedOwnerUsTrustEstateEin: import("../../i18n/types").ErrorKey;
432
- regardedOwnerForeignAccountType: import("../../i18n/types").ErrorKey;
433
- regardedOwnerForeignTrustClassification: import("../../i18n/types").ErrorKey;
434
- regardedOwnerForeignOtherClassification: import("../../i18n/types").ErrorKey;
435
- regardedOwnerForeignTin: import("../../i18n/types").ErrorKey;
436
- regardedOwnerForeignTinIsNotRequired: import("../../i18n/types").ErrorKey;
437
- regardedOwnerUsTin: import("../../i18n/types").ErrorKey;
438
- };
439
- notifications: import("../../utils/getNotifications").Notifications;
38
+ setFields: import("react").Dispatch<import("react").SetStateAction<import("../../types").TaxDocumentation>>;
39
+ 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 | "accountHolderCountryIsResidence", value: string | undefined) => void;
440
40
  isErrorFree: boolean;
441
41
  showErrors: boolean;
442
42
  exposeErrors: () => void;
443
43
  hideErrors: () => void;
444
- required: {
445
- exemptPayeeCode?: boolean | undefined;
446
- exemptFatcaCode?: boolean | undefined;
447
- iAcknowlegeESignIsOk?: boolean | undefined;
448
- iAmACitizenOfTheUs?: boolean | undefined;
449
- iAmExemptFromFatcaReporting?: boolean | undefined;
450
- iAmNotSubjectToBackupWithholding?: boolean | undefined;
451
- iAuthorizeWithholdingAgent?: boolean | undefined;
452
- iCertifyToAll?: boolean | undefined;
453
- iConfirmIncomeIsNonUs?: boolean | undefined;
454
- iConfirmTheBeneficialOwnerIsExempt?: boolean | undefined;
455
- iConfirmTheEntityIsNotAUsPerson?: boolean | undefined;
456
- iConfirmTheEntityIsTheBeneficialOwner?: boolean | undefined;
457
- iConfirmTheTaxIdIsCorrect?: boolean | undefined;
458
- iHaveLegalCapacityToSign?: boolean | undefined;
459
- regardedOwnerUsPerson?: boolean | undefined;
460
- signature?: boolean | undefined;
461
- accountHolderAddressCity?: boolean | undefined;
462
- accountHolderAddressCountry?: boolean | undefined;
463
- accountHolderAddressState?: boolean | undefined;
464
- accountHolderAddressStreet2?: boolean | undefined;
465
- accountHolderAddressStreet?: boolean | undefined;
466
- accountHolderAddressZip?: boolean | undefined;
467
- accountHolderCityOfBirth?: boolean | undefined;
468
- accountHolderCountryOfBirth?: boolean | undefined;
469
- accountHolderCountryOfCitizenship?: boolean | undefined;
470
- accountHolderDateOfBirth?: boolean | undefined;
471
- accountHolderDbaName?: boolean | undefined;
472
- accountHolderMailingAddressCity?: boolean | undefined;
473
- accountHolderMailingAddressCountry?: boolean | undefined;
474
- accountHolderMailingAddressIsDifferent?: boolean | undefined;
475
- accountHolderMailingAddressState?: boolean | undefined;
476
- accountHolderMailingAddressStreet2?: boolean | undefined;
477
- accountHolderMailingAddressStreet?: boolean | undefined;
478
- accountHolderMailingAddressZip?: boolean | undefined;
479
- accountHolderName?: boolean | undefined;
480
- accountHolderFinancialAccountIdentifier?: boolean | undefined;
481
- accountHolderFinancialAccountName?: boolean | undefined;
482
- accountHolderForeignTin?: boolean | undefined;
483
- accountHolderForeignTinIsNotRequired?: boolean | undefined;
484
- accountHolderTaxResidenceCountry1?: boolean | undefined;
485
- accountHolderTaxResidenceForeignTin1?: boolean | undefined;
486
- accountHolderTaxResidenceForeignTin1IsNotRequired?: boolean | undefined;
487
- accountHolderTaxResidenceCountry2?: boolean | undefined;
488
- accountHolderTaxResidenceForeignTin2?: boolean | undefined;
489
- accountHolderTaxResidenceForeignTin2IsNotRequired?: boolean | undefined;
490
- accountHolderTaxResidenceCountry3?: boolean | undefined;
491
- accountHolderTaxResidenceForeignTin3?: boolean | undefined;
492
- accountHolderTaxResidenceForeignTin3IsNotRequired?: boolean | undefined;
493
- accountHolderTaxResidenceCountry4?: boolean | undefined;
494
- accountHolderTaxResidenceForeignTin4?: boolean | undefined;
495
- accountHolderTaxResidenceForeignTin4IsNotRequired?: boolean | undefined;
496
- accountHolderTaxResidenceCountry5?: boolean | undefined;
497
- accountHolderTaxResidenceForeignTin5?: boolean | undefined;
498
- accountHolderTaxResidenceForeignTin5IsNotRequired?: boolean | undefined;
499
- accountHolderShowTaxResidence2?: boolean | undefined;
500
- accountHolderShowTaxResidence3?: boolean | undefined;
501
- accountHolderShowTaxResidence4?: boolean | undefined;
502
- accountHolderShowTaxResidence5?: boolean | undefined;
503
- accountHolderUsTin?: boolean | undefined;
504
- accountHolderVatIdentificationNumber?: boolean | undefined;
505
- accountHolderVatIdentificationNumberIsNotRequired?: boolean | undefined;
506
- accountHolderVatCountry?: boolean | undefined;
507
- accountHolderIsIndividual?: boolean | undefined;
508
- accountHolderIsEuResident?: boolean | undefined;
509
- accountHolderUsPerson?: boolean | undefined;
510
- accountHolderUsAccountType?: boolean | undefined;
511
- accountHolderUsSmllcElection?: boolean | undefined;
512
- accountHolderUsLlcClassification?: boolean | undefined;
513
- accountHolderUsOtherClassification?: boolean | undefined;
514
- accountHolderUsTrustEstateEin?: boolean | undefined;
515
- accountHolderForeignAccountType?: boolean | undefined;
516
- accountHolderForeignTrustClassification?: boolean | undefined;
517
- accountHolderForeignOtherClassification?: boolean | undefined;
518
- regardedOwnerAddressCity?: boolean | undefined;
519
- regardedOwnerAddressCountry?: boolean | undefined;
520
- regardedOwnerAddressState?: boolean | undefined;
521
- regardedOwnerAddressStreet2?: boolean | undefined;
522
- regardedOwnerAddressStreet?: boolean | undefined;
523
- regardedOwnerAddressZip?: boolean | undefined;
524
- regardedOwnerCountryOfCitizenship?: boolean | undefined;
525
- regardedOwnerDateOfBirth?: boolean | undefined;
526
- regardedOwnerDbaName?: boolean | undefined;
527
- regardedOwnerMailingAddressCity?: boolean | undefined;
528
- regardedOwnerMailingAddressCountry?: boolean | undefined;
529
- regardedOwnerMailingAddressIsDifferent?: boolean | undefined;
530
- regardedOwnerMailingAddressState?: boolean | undefined;
531
- regardedOwnerMailingAddressStreet2?: boolean | undefined;
532
- regardedOwnerMailingAddressStreet?: boolean | undefined;
533
- regardedOwnerMailingAddressZip?: boolean | undefined;
534
- regardedOwnerName?: boolean | undefined;
535
- regardedOwnerUsAccountType?: boolean | undefined;
536
- regardedOwnerUsLlcClassification?: boolean | undefined;
537
- regardedOwnerUsOtherClassification?: boolean | undefined;
538
- regardedOwnerUsTrustEstateEin?: boolean | undefined;
539
- regardedOwnerForeignAccountType?: boolean | undefined;
540
- regardedOwnerForeignTrustClassification?: boolean | undefined;
541
- regardedOwnerForeignOtherClassification?: boolean | undefined;
542
- regardedOwnerForeignTin?: boolean | undefined;
543
- regardedOwnerForeignTinIsNotRequired?: boolean | undefined;
544
- regardedOwnerUsTin?: boolean | undefined;
545
- };
546
44
  getLocalButton: (key: import("../../i18n/types").ButtonKey) => string;
547
45
  getLocalCaProvince: (key: string | undefined) => string;
548
46
  getLocalCountry: (key: string | undefined) => string;
549
47
  getLocalError: (key: import("../../i18n/types").ErrorKey) => string;
550
- 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;
48
+ 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 | "accountHolderCountryIsResidence") => string | undefined;
49
+ getHintKey: (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 | "accountHolderCountryIsResidence") => "dateOfBirth";
551
50
  getLocalLocale: (key: import("../../types").Locale) => string;
552
51
  getLocalNotification: (key: "vatUnexpectedFormat") => string;
553
52
  getLocalOption: (key: string | undefined) => string | undefined;
554
53
  getLocalPrompt: (key: string) => string;
555
- 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;
54
+ getPromptKey: (key: string) => import("../../i18n/types").PromptKey;
55
+ 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 | "accountHolderCountryIsResidence") => string;
56
+ getSubPromptKey: (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 | "accountHolderCountryIsResidence") => import("../../i18n/types").SubPromptKey;
556
57
  getLocalText: (key: import("../../i18n/types").TextKey) => string;
557
58
  getLocalTitle: (key: import("../../i18n/types").TitleKey) => string;
558
59
  getLocalSubTitle: (key: string) => string;
559
60
  getLocalUsState: (key: string | undefined) => string;
560
61
  getLocalMonth: (key: string | undefined) => string;
561
- 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;
562
- visibleQuestions: {
563
- exemptPayeeCode: boolean;
564
- exemptFatcaCode: boolean;
565
- iAcknowlegeESignIsOk: boolean;
566
- iAmACitizenOfTheUs: boolean;
567
- iAmExemptFromFatcaReporting: boolean;
568
- iAmNotSubjectToBackupWithholding: boolean;
569
- iAuthorizeWithholdingAgent: boolean;
570
- iCertifyToAll: boolean;
571
- iConfirmIncomeIsNonUs: boolean;
572
- iConfirmTheBeneficialOwnerIsExempt: boolean;
573
- iConfirmTheEntityIsNotAUsPerson: boolean;
574
- iConfirmTheEntityIsTheBeneficialOwner: boolean;
575
- iConfirmTheTaxIdIsCorrect: boolean;
576
- iHaveLegalCapacityToSign: boolean;
577
- regardedOwnerUsPerson: boolean;
578
- signature: boolean;
579
- accountHolderAddressCity: boolean;
580
- accountHolderAddressCountry: boolean;
581
- accountHolderAddressState: boolean;
582
- accountHolderAddressStreet2: boolean;
583
- accountHolderAddressStreet: boolean;
584
- accountHolderAddressZip: boolean;
585
- accountHolderCityOfBirth: boolean;
586
- accountHolderCountryOfBirth: boolean;
587
- accountHolderCountryOfCitizenship: boolean;
588
- accountHolderDateOfBirth: boolean;
589
- accountHolderDbaName: boolean;
590
- accountHolderMailingAddressCity: boolean;
591
- accountHolderMailingAddressCountry: boolean;
592
- accountHolderMailingAddressIsDifferent: boolean;
593
- accountHolderMailingAddressState: boolean;
594
- accountHolderMailingAddressStreet2: boolean;
595
- accountHolderMailingAddressStreet: boolean;
596
- accountHolderMailingAddressZip: boolean;
597
- accountHolderName: boolean;
598
- accountHolderFinancialAccountIdentifier: boolean;
599
- accountHolderFinancialAccountName: boolean;
600
- accountHolderForeignTin: boolean;
601
- accountHolderForeignTinIsNotRequired: boolean;
602
- accountHolderTaxResidenceCountry1: boolean;
603
- accountHolderTaxResidenceForeignTin1: boolean;
604
- accountHolderTaxResidenceForeignTin1IsNotRequired: boolean;
605
- accountHolderTaxResidenceCountry2: boolean;
606
- accountHolderTaxResidenceForeignTin2: boolean;
607
- accountHolderTaxResidenceForeignTin2IsNotRequired: boolean;
608
- accountHolderTaxResidenceCountry3: boolean;
609
- accountHolderTaxResidenceForeignTin3: boolean;
610
- accountHolderTaxResidenceForeignTin3IsNotRequired: boolean;
611
- accountHolderTaxResidenceCountry4: boolean;
612
- accountHolderTaxResidenceForeignTin4: boolean;
613
- accountHolderTaxResidenceForeignTin4IsNotRequired: boolean;
614
- accountHolderTaxResidenceCountry5: boolean;
615
- accountHolderTaxResidenceForeignTin5: boolean;
616
- accountHolderTaxResidenceForeignTin5IsNotRequired: boolean;
617
- accountHolderShowTaxResidence2: boolean;
618
- accountHolderShowTaxResidence3: boolean;
619
- accountHolderShowTaxResidence4: boolean;
620
- accountHolderShowTaxResidence5: boolean;
621
- accountHolderUsTin: boolean;
622
- accountHolderVatIdentificationNumber: boolean;
623
- accountHolderVatIdentificationNumberIsNotRequired: boolean;
624
- accountHolderVatCountry: boolean;
625
- accountHolderIsIndividual: boolean;
626
- accountHolderIsEuResident: boolean;
627
- accountHolderUsPerson: boolean;
628
- accountHolderUsAccountType: boolean;
629
- accountHolderUsSmllcElection: boolean;
630
- accountHolderUsLlcClassification: boolean;
631
- accountHolderUsOtherClassification: boolean;
632
- accountHolderUsTrustEstateEin: boolean;
633
- accountHolderForeignAccountType: boolean;
634
- accountHolderForeignTrustClassification: boolean;
635
- accountHolderForeignOtherClassification: boolean;
636
- regardedOwnerAddressCity: boolean;
637
- regardedOwnerAddressCountry: boolean;
638
- regardedOwnerAddressState: boolean;
639
- regardedOwnerAddressStreet2: boolean;
640
- regardedOwnerAddressStreet: boolean;
641
- regardedOwnerAddressZip: boolean;
642
- regardedOwnerCountryOfCitizenship: boolean;
643
- regardedOwnerDateOfBirth: boolean;
644
- regardedOwnerDbaName: boolean;
645
- regardedOwnerMailingAddressCity: boolean;
646
- regardedOwnerMailingAddressCountry: boolean;
647
- regardedOwnerMailingAddressIsDifferent: boolean;
648
- regardedOwnerMailingAddressState: boolean;
649
- regardedOwnerMailingAddressStreet2: boolean;
650
- regardedOwnerMailingAddressStreet: boolean;
651
- regardedOwnerMailingAddressZip: boolean;
652
- regardedOwnerName: boolean;
653
- regardedOwnerUsAccountType: boolean;
654
- regardedOwnerUsLlcClassification: boolean;
655
- regardedOwnerUsOtherClassification: boolean;
656
- regardedOwnerUsTrustEstateEin: boolean;
657
- regardedOwnerForeignAccountType: boolean;
658
- regardedOwnerForeignTrustClassification: boolean;
659
- regardedOwnerForeignOtherClassification: boolean;
660
- regardedOwnerForeignTin: boolean;
661
- regardedOwnerForeignTinIsNotRequired: boolean;
662
- regardedOwnerUsTin: boolean;
663
- };
664
- 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;
665
- 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;
62
+ 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 | "accountHolderCountryIsResidence") => string;
63
+ notifiedFields: import("../../validations/getNotifiedFields").Notifications;
64
+ invalidFields: import("./useFormUI").TaxDocumentationErrorFile;
65
+ requiredFields: import("./useFormUI").TaxDocumentationPropertyFile;
66
+ submittableFields: import("../../types").TaxDocumentation;
67
+ visibleFields: import("./useFormUI").TaxDocumentationPropertyFile;
68
+ 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 | "accountHolderCountryIsResidence") => void;
69
+ 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 | "accountHolderCountryIsResidence") => void;
666
70
  } | undefined>;