@taxbit/react-sdk 2.2.0-beta.2 → 2.4.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/README.md +44 -25
  2. package/dist/src/components/Section/Section.d.ts +1 -1
  3. package/dist/src/contexts/QuestionnaireStep/QuestionnaireStepProvider.d.ts +2 -2
  4. package/dist/src/contexts/QuestionnaireStep/getLocal.d.ts +3 -3
  5. package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStep.d.ts +3 -3
  6. package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStepContext.d.ts +4 -4
  7. package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +3 -1
  8. package/dist/src/hooks/useTaxbit/useTaxbit.d.ts +10 -1
  9. package/dist/src/hooks/useTaxbit/useTaxbitStatus.d.ts +3 -1
  10. package/dist/src/hooks/useUsTinVerification/useUsTinValidation.d.ts +3 -1
  11. package/dist/src/i18n/json/bg.json.d.ts +5 -6
  12. package/dist/src/i18n/json/cs.json.d.ts +6 -7
  13. package/dist/src/i18n/json/da.json.d.ts +6 -7
  14. package/dist/src/i18n/json/de-AT.json.d.ts +1 -3
  15. package/dist/src/i18n/json/de.json.d.ts +5 -6
  16. package/dist/src/i18n/json/el-CY.json.d.ts +0 -1
  17. package/dist/src/i18n/json/el.json.d.ts +5 -6
  18. package/dist/src/i18n/json/en.json.d.ts +12 -13
  19. package/dist/src/i18n/json/es.json.d.ts +9 -10
  20. package/dist/src/i18n/json/et.json.d.ts +5 -6
  21. package/dist/src/i18n/json/fi.json.d.ts +5 -6
  22. package/dist/src/i18n/json/fr-LU.json.d.ts +0 -1
  23. package/dist/src/i18n/json/fr.json.d.ts +8 -9
  24. package/dist/src/i18n/json/ga.json.d.ts +5 -6
  25. package/dist/src/i18n/json/hr.json.d.ts +5 -6
  26. package/dist/src/i18n/json/hu.json.d.ts +6 -7
  27. package/dist/src/i18n/json/it.json.d.ts +5 -6
  28. package/dist/src/i18n/json/lt.json.d.ts +6 -7
  29. package/dist/src/i18n/json/lv.json.d.ts +6 -7
  30. package/dist/src/i18n/json/mt.json.d.ts +6 -7
  31. package/dist/src/i18n/json/nl.json.d.ts +6 -7
  32. package/dist/src/i18n/json/no.json.d.ts +5 -6
  33. package/dist/src/i18n/json/pl.json.d.ts +6 -7
  34. package/dist/src/i18n/json/pt.json.d.ts +5 -6
  35. package/dist/src/i18n/json/ro.json.d.ts +6 -7
  36. package/dist/src/i18n/json/sk.json.d.ts +7 -8
  37. package/dist/src/i18n/json/sl.json.d.ts +7 -8
  38. package/dist/src/i18n/json/sv.json.d.ts +6 -7
  39. package/dist/src/i18n/types/LocalizationKey.d.ts +3 -3
  40. package/dist/src/i18n/types/PropertyFile.d.ts +3 -3
  41. package/dist/src/i18n/utils/getText.d.ts +3 -3
  42. package/dist/src/services/api.d.ts +9 -6
  43. package/dist/src/services/msw.d.ts +1 -0
  44. package/dist/src/test/utils/helpers.d.ts +2 -0
  45. package/dist/src/types/TaxDocumentation.d.ts +5 -4
  46. package/dist/src/ui/CheckBox/CheckBox.d.ts +2 -1
  47. package/dist/src/ui/useAriaAttributes.d.ts +1 -0
  48. package/dist/src/utils/getDataFields.d.ts +489 -0
  49. package/dist/src/utils/index.d.ts +1 -0
  50. package/dist/src/utils/transformInbound/transformInboundControllingPersons.d.ts +2 -3
  51. package/dist/src/widgets/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +21 -6
  52. package/dist/src/widgets/TaxbitQuestionnairePersist/TaxbitQuestionnairePersist.d.ts +1 -1
  53. package/dist/src/widgets/TaxbitQuestionnairePersist/useTaxbitPersist.d.ts +3 -1
  54. package/dist/src/wizard/RowInput/CheckBoxRow/CheckBoxRow.d.ts +2 -1
  55. package/dist/src/wizard/RowInput/HiddenInputRow/HiddenInputRow.d.ts +1 -1
  56. package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.WForm.test.d.ts +1 -0
  57. package/dist/taxbit-react-sdk.js +4655 -4640
  58. package/dist/taxbit-react-sdk.umd.cjs +1 -1
  59. package/package.json +2 -2
  60. package/style/basic.css +3 -0
  61. package/style/inline.css +3 -0
  62. /package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/{TaxbitWFormQuestionnaireUI.test.d.ts → TaxbitQuestionnaireUI.WForm.Summary.test.d.ts} +0 -0
  63. /package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/{TaxbitWFormQuestionnaireUI.treatyClaims.test.d.ts → TaxbitQuestionnaireUI.WForm.TreatyClaims.test.d.ts} +0 -0
@@ -0,0 +1,489 @@
1
+ import { TaxDocumentation } from '../types';
2
+
3
+ export declare const getDataFields: (fields: TaxDocumentation) => {
4
+ iConfirmTheTaxIdIsCorrect: undefined;
5
+ iAmNotSubjectToBackupWithholding: undefined;
6
+ iAmACitizenOfTheUs: undefined;
7
+ iAmExemptFromFatcaReporting: undefined;
8
+ iConfirmTheBeneficialOwner: undefined;
9
+ iConfirmNotAUsPerson: undefined;
10
+ iConfirmIncomeIsNonUs: undefined;
11
+ iConfirmTheIndividualIsResidentOfTreatyCountry: undefined;
12
+ iConfirmTheBeneficialOwnerIsExempt: undefined;
13
+ iAuthorizeWithholdingAgent: undefined;
14
+ iWillResubmitIfIncorrect: undefined;
15
+ iUnderstandTheInformationIsCovered: undefined;
16
+ iAcknowledgeTheInformationMayBeProvided: undefined;
17
+ iCertifyIAmAccountHolder: undefined;
18
+ iDeclareStatementsAreCorrect: undefined;
19
+ iWillNotifyChangeInCircumstance: undefined;
20
+ accountHolderAddress?: string;
21
+ accountHolderAddressCity?: string | undefined;
22
+ accountHolderAddressCountry?: string | undefined;
23
+ accountHolderAddressState?: string | undefined;
24
+ accountHolderAddressStreet2?: string | undefined;
25
+ accountHolderAddressStreet?: string | undefined;
26
+ accountHolderAddressZip?: string | undefined;
27
+ accountHolderMailingAddress?: string;
28
+ accountHolderMailingAddressCity?: string | undefined;
29
+ accountHolderMailingAddressCountry?: string | undefined;
30
+ accountHolderMailingAddressState?: string | undefined;
31
+ accountHolderMailingAddressStreet2?: string | undefined;
32
+ accountHolderMailingAddressStreet?: string | undefined;
33
+ accountHolderMailingAddressZip?: string | undefined;
34
+ accountHolderCityOfBirth?: string;
35
+ accountHolderCountryOfBirth?: string;
36
+ accountHolderOptionalCityOfBirth?: string;
37
+ accountHolderOptionalCountryOfBirth?: string;
38
+ accountHolderCountryOfCitizenship?: string;
39
+ accountHolderDateOfBirth?: string;
40
+ accountHolderDbaName?: string;
41
+ accountHolderMailingAddressIsDifferent?: import('../types').Yes;
42
+ accountHolderName?: string;
43
+ accountHolderPhoneNumber?: string;
44
+ accountHolderPhoneNumberCode?: string;
45
+ accountHolderPhoneNumberNumber?: string;
46
+ accountHolderEmailAddress?: string;
47
+ accountHolderAssumesChapters3And4Responsibility?: import('../types').YesNo;
48
+ accountHolderAssumes1099Responsibility?: import('../types').YesNo;
49
+ accountHolderUsPersonElection?: import('../types').YesNo;
50
+ accountHolderProvidesAdditionalDocumentation?: import('../types').YesNo;
51
+ accountHolderIsQiCertified?: import('../types').Yes;
52
+ accountHolderAssumesChapters3And4ResponsibilityCertified?: import('../types').Yes;
53
+ accountHolderAssumes1099ResponsibilityCertified?: import('../types').Yes;
54
+ accountHolderNotAssume1099ResponsibilityCertified?: import('../types').Yes;
55
+ accountHolderMeetsQiRegulationsRequirementsCertified?: import('../types').Yes;
56
+ accountHolderObtainsDocumentationCertified?: import('../types').Yes;
57
+ accountHolderNotActingAsQiCertified?: import('../types').Yes;
58
+ accountHolderTransmitsNqiDocumentationCertified?: import('../types').Yes;
59
+ accountHolderRepresentsWithholdingStatementsCertified?: import('../types').Yes;
60
+ accountHolderIsFinancialInstitutionCertified?: import('../types').Yes;
61
+ accountHolderTfiUsPersonElectionCertified?: import('../types').Yes;
62
+ accountHolderTransmitsTfiDocumentationCertified?: import('../types').Yes;
63
+ accountHolderUsbPaymentsCertified?: import('../types').Yes;
64
+ accountHolderUsbUsPersonElectionCertified?: import('../types').Yes;
65
+ accountHolderTransmitsUsbDocumentationCertified?: import('../types').Yes;
66
+ accountHolderIsCompliantCertified?: import('../types').Yes;
67
+ accountHolderEntityPaymentsCertified?: import('../types').Yes;
68
+ accountHolderProvidesWithholdingStatementCertified?: import('../types').Yes;
69
+ accountHolderTaxResidences?: import('../types').YesNo;
70
+ accountHolderTaxResidenceCountry1?: string | undefined;
71
+ accountHolderTaxResidenceCountry2?: string | undefined;
72
+ accountHolderTaxResidenceCountry3?: string | undefined;
73
+ accountHolderTaxResidenceCountry4?: string | undefined;
74
+ accountHolderTaxResidenceCountry5?: string | undefined;
75
+ accountHolderTaxResidenceTin1?: string | undefined;
76
+ accountHolderTaxResidenceTin2?: string | undefined;
77
+ accountHolderTaxResidenceTin3?: string | undefined;
78
+ accountHolderTaxResidenceTin4?: string | undefined;
79
+ accountHolderTaxResidenceTin5?: string | undefined;
80
+ accountHolderTaxResidenceTinIsNotRequired1?: "yes" | undefined;
81
+ accountHolderTaxResidenceTinIsNotRequired2?: "yes" | undefined;
82
+ accountHolderTaxResidenceTinIsNotRequired3?: "yes" | undefined;
83
+ accountHolderTaxResidenceTinIsNotRequired4?: "yes" | undefined;
84
+ accountHolderTaxResidenceTinIsNotRequired5?: "yes" | undefined;
85
+ accountHolderTaxResidenceTinIsNotRequiredReason1?: string | undefined;
86
+ accountHolderTaxResidenceTinIsNotRequiredReason2?: string | undefined;
87
+ accountHolderTaxResidenceTinIsNotRequiredReason3?: string | undefined;
88
+ accountHolderTaxResidenceTinIsNotRequiredReason4?: string | undefined;
89
+ accountHolderTaxResidenceTinIsNotRequiredReason5?: string | undefined;
90
+ accountHolderTaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
91
+ accountHolderTaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
92
+ accountHolderTaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
93
+ accountHolderTaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
94
+ accountHolderTaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
95
+ accountHolderShowTaxResidence1?: "no" | "yes" | undefined;
96
+ accountHolderShowTaxResidence2?: "no" | "yes" | undefined;
97
+ accountHolderShowTaxResidence3?: "no" | "yes" | undefined;
98
+ accountHolderShowTaxResidence4?: "no" | "yes" | undefined;
99
+ accountHolderShowTaxResidence5?: "no" | "yes" | undefined;
100
+ accountHolderForeignTin?: string;
101
+ accountHolderForeignTinIsNotRequired?: import('../types').Yes;
102
+ accountHolderUsTin?: string;
103
+ accountHolderUsTinIsValid?: import('../types').Yes;
104
+ accountHolderUsTinMatchVerification?: import('../types').YesNo;
105
+ accountHolderVatIdentificationNumber?: string;
106
+ accountHolderVatIsNotRequired?: import('../types').Yes;
107
+ accountHolderVatCountry?: string;
108
+ accountHolderBusinessRegistrationNumber?: string;
109
+ accountHolderBusinessRegistrationCountry?: string;
110
+ accountHolderSelfCertificationAccountType?: import('@taxbit/utilities').SelfCertificationAccountType;
111
+ accountHolderActiveNonFinancialEntityType?: import('@taxbit/utilities').ActiveNonFinancialEntityType;
112
+ accountHolderFinancialInstitutionType?: import('@taxbit/utilities').FinancialInstitutionType;
113
+ accountHolderInvestmentEntityManaged?: import('../types').YesNo;
114
+ accountHolderEntityType?: import('@taxbit/utilities').EntityType;
115
+ accountHolderSecuritiesMarket?: string;
116
+ accountHolderRelatedCorporation?: string;
117
+ accountHolderIsIndividual?: import('../types').YesNo;
118
+ accountHolderUsPerson?: import('../types').YesNo;
119
+ accountHolderAccountOwnerType?: import('@taxbit/utilities').AccountOwnerType;
120
+ accountHolderUsAccountType?: import('@taxbit/utilities').UsAccountHolderAccountType;
121
+ accountHolderUsSmllcElection?: import('../types').YesNo;
122
+ accountHolderUsLlcClassification?: import('@taxbit/utilities').UsLLCAccountType;
123
+ accountHolderUsOtherClassification?: string;
124
+ accountHolderUsTrustEstateEin?: import('../types').YesNo;
125
+ accountHolderUsSoleProprietorEin?: import('../types').YesNo;
126
+ accountHolderEntityAccountType?: import('@taxbit/utilities').EntityAccountHolderAccountType;
127
+ accountHolderIntermediaryAccountType?: import('@taxbit/utilities').IntermediaryAccountType;
128
+ regardedOwnerAssumesChapters3And4Responsibility?: import('../types').YesNo;
129
+ regardedOwnerAssumes1099Responsibility?: import('../types').YesNo;
130
+ regardedOwnerUsPersonElection?: import('../types').YesNo;
131
+ regardedOwnerProvidesAdditionalDocumentation?: import('../types').YesNo;
132
+ regardedOwnerIsQiCertified?: import('../types').Yes;
133
+ regardedOwnerAssumesChapters3And4ResponsibilityCertified?: import('../types').Yes;
134
+ regardedOwnerAssumes1099ResponsibilityCertified?: import('../types').Yes;
135
+ regardedOwnerNotAssume1099ResponsibilityCertified?: import('../types').Yes;
136
+ regardedOwnerMeetsQiRegulationsRequirementsCertified?: import('../types').Yes;
137
+ regardedOwnerObtainsDocumentationCertified?: import('../types').Yes;
138
+ regardedOwnerNotActingAsQiCertified?: import('../types').Yes;
139
+ regardedOwnerTransmitsNqiDocumentationCertified?: import('../types').Yes;
140
+ regardedOwnerRepresentsWithholdingStatementsCertified?: import('../types').Yes;
141
+ regardedOwnerIsFinancialInstitutionCertified?: import('../types').Yes;
142
+ regardedOwnerTfiUsPersonElectionCertified?: import('../types').Yes;
143
+ regardedOwnerTransmitsTfiDocumentationCertified?: import('../types').Yes;
144
+ regardedOwnerUsbPaymentsCertified?: import('../types').Yes;
145
+ regardedOwnerUsbUsPersonElectionCertified?: import('../types').Yes;
146
+ regardedOwnerTransmitsUsbDocumentationCertified?: import('../types').Yes;
147
+ regardedOwnerIsCompliantCertified?: import('../types').Yes;
148
+ regardedOwnerEntityPaymentsCertified?: import('../types').Yes;
149
+ regardedOwnerProvidesWithholdingStatementCertified?: import('../types').Yes;
150
+ regardedOwnerCountryOfCitizenship?: string;
151
+ regardedOwnerDateOfBirth?: string;
152
+ regardedOwnerDbaName?: string;
153
+ regardedOwnerMailingAddressIsDifferent?: import('../types').Yes;
154
+ regardedOwnerName?: string;
155
+ regardedOwnerAddress?: string;
156
+ regardedOwnerAddressCity?: string | undefined;
157
+ regardedOwnerAddressCountry?: string | undefined;
158
+ regardedOwnerAddressState?: string | undefined;
159
+ regardedOwnerAddressStreet2?: string | undefined;
160
+ regardedOwnerAddressStreet?: string | undefined;
161
+ regardedOwnerAddressZip?: string | undefined;
162
+ regardedOwnerMailingAddress?: string;
163
+ regardedOwnerMailingAddressCity?: string | undefined;
164
+ regardedOwnerMailingAddressCountry?: string | undefined;
165
+ regardedOwnerMailingAddressState?: string | undefined;
166
+ regardedOwnerMailingAddressStreet2?: string | undefined;
167
+ regardedOwnerMailingAddressStreet?: string | undefined;
168
+ regardedOwnerMailingAddressZip?: string | undefined;
169
+ regardedOwnerUsPerson?: import('../types').YesNo;
170
+ regardedOwnerUsAccountType?: import('@taxbit/utilities').UsRegardedOwnerAccountType;
171
+ regardedOwnerUsLlcClassification?: import('@taxbit/utilities').UsLLCAccountType;
172
+ regardedOwnerUsOtherClassification?: string;
173
+ regardedOwnerAccountOwnerType?: import('@taxbit/utilities').AccountOwnerType;
174
+ regardedOwnerIntermediaryAccountType?: import('@taxbit/utilities').IntermediaryAccountType;
175
+ regardedOwnerEntityAccountType?: import('@taxbit/utilities').EntityRegardedOwnerAccountType;
176
+ regardedOwnerForeignTin?: string;
177
+ regardedOwnerForeignTinIsNotRequired?: import('../types').Yes;
178
+ regardedOwnerUsTin?: string;
179
+ regardedOwnerUsTinIsValid?: import('../types').Yes;
180
+ regardedOwnerUsTinMatchVerification?: import('../types').YesNo;
181
+ exemptFatcaCode?: string;
182
+ exemptPayeeCode?: string;
183
+ iConfirmTheInformationIsCorrectComplete?: import('../types').Yes;
184
+ iHaveCapacityToSign?: import('../types').Yes;
185
+ signature?: string;
186
+ signatureCapacity?: string;
187
+ signatureCapacityOther?: string;
188
+ source?: string;
189
+ accountHolderTreatyClaimIsEligible?: import('../types').YesNo;
190
+ accountHolderTreatyClaimCountry?: string;
191
+ accountHolderTreatyClaimICertifyResident?: import('../types').Yes;
192
+ accountHolderTreatyClaimICertifyRequirements?: import('../types').Yes;
193
+ accountHolderTreatyClaimLimitationOnBenefits?: string;
194
+ accountHolderTreatyClaimLimitationOnBenefitsOtherArticleParagraph?: string;
195
+ accountHolderTreatyClaimTypeOfIncome?: string;
196
+ accountHolderTreatyClaimWithholding?: string;
197
+ accountHolderTreatyClaimHasAdditionalConditions?: import('../types').Yes;
198
+ regardedOwnerTreatyClaimIsEligible?: import('../types').YesNo;
199
+ regardedOwnerTreatyClaimCountry?: string;
200
+ regardedOwnerTreatyClaimICertifyResident?: import('../types').Yes;
201
+ regardedOwnerTreatyClaimICertifyRequirements?: import('../types').Yes;
202
+ regardedOwnerTreatyClaimLimitationOnBenefits?: string;
203
+ regardedOwnerTreatyClaimLimitationOnBenefitsOtherArticleParagraph?: string;
204
+ regardedOwnerTreatyClaimTypeOfIncome?: string;
205
+ regardedOwnerTreatyClaimWithholding?: string;
206
+ regardedOwnerTreatyClaimHasAdditionalConditions?: import('../types').Yes;
207
+ controllingPerson1TaxResidences?: "no" | "yes" | undefined;
208
+ controllingPerson2TaxResidences?: "no" | "yes" | undefined;
209
+ controllingPerson3TaxResidences?: "no" | "yes" | undefined;
210
+ controllingPerson4TaxResidences?: "no" | "yes" | undefined;
211
+ controllingPerson5TaxResidences?: "no" | "yes" | undefined;
212
+ controllingPerson1TaxResidenceCountry1?: string | undefined;
213
+ controllingPerson2TaxResidenceCountry1?: string | undefined;
214
+ controllingPerson3TaxResidenceCountry1?: string | undefined;
215
+ controllingPerson4TaxResidenceCountry1?: string | undefined;
216
+ controllingPerson5TaxResidenceCountry1?: string | undefined;
217
+ controllingPerson1TaxResidenceCountry2?: string | undefined;
218
+ controllingPerson2TaxResidenceCountry2?: string | undefined;
219
+ controllingPerson3TaxResidenceCountry2?: string | undefined;
220
+ controllingPerson4TaxResidenceCountry2?: string | undefined;
221
+ controllingPerson5TaxResidenceCountry2?: string | undefined;
222
+ controllingPerson1TaxResidenceCountry3?: string | undefined;
223
+ controllingPerson2TaxResidenceCountry3?: string | undefined;
224
+ controllingPerson3TaxResidenceCountry3?: string | undefined;
225
+ controllingPerson4TaxResidenceCountry3?: string | undefined;
226
+ controllingPerson5TaxResidenceCountry3?: string | undefined;
227
+ controllingPerson1TaxResidenceCountry4?: string | undefined;
228
+ controllingPerson2TaxResidenceCountry4?: string | undefined;
229
+ controllingPerson3TaxResidenceCountry4?: string | undefined;
230
+ controllingPerson4TaxResidenceCountry4?: string | undefined;
231
+ controllingPerson5TaxResidenceCountry4?: string | undefined;
232
+ controllingPerson1TaxResidenceCountry5?: string | undefined;
233
+ controllingPerson2TaxResidenceCountry5?: string | undefined;
234
+ controllingPerson3TaxResidenceCountry5?: string | undefined;
235
+ controllingPerson4TaxResidenceCountry5?: string | undefined;
236
+ controllingPerson5TaxResidenceCountry5?: string | undefined;
237
+ controllingPerson1TaxResidenceTin1?: string | undefined;
238
+ controllingPerson2TaxResidenceTin1?: string | undefined;
239
+ controllingPerson3TaxResidenceTin1?: string | undefined;
240
+ controllingPerson4TaxResidenceTin1?: string | undefined;
241
+ controllingPerson5TaxResidenceTin1?: string | undefined;
242
+ controllingPerson1TaxResidenceTin2?: string | undefined;
243
+ controllingPerson2TaxResidenceTin2?: string | undefined;
244
+ controllingPerson3TaxResidenceTin2?: string | undefined;
245
+ controllingPerson4TaxResidenceTin2?: string | undefined;
246
+ controllingPerson5TaxResidenceTin2?: string | undefined;
247
+ controllingPerson1TaxResidenceTin3?: string | undefined;
248
+ controllingPerson2TaxResidenceTin3?: string | undefined;
249
+ controllingPerson3TaxResidenceTin3?: string | undefined;
250
+ controllingPerson4TaxResidenceTin3?: string | undefined;
251
+ controllingPerson5TaxResidenceTin3?: string | undefined;
252
+ controllingPerson1TaxResidenceTin4?: string | undefined;
253
+ controllingPerson2TaxResidenceTin4?: string | undefined;
254
+ controllingPerson3TaxResidenceTin4?: string | undefined;
255
+ controllingPerson4TaxResidenceTin4?: string | undefined;
256
+ controllingPerson5TaxResidenceTin4?: string | undefined;
257
+ controllingPerson1TaxResidenceTin5?: string | undefined;
258
+ controllingPerson2TaxResidenceTin5?: string | undefined;
259
+ controllingPerson3TaxResidenceTin5?: string | undefined;
260
+ controllingPerson4TaxResidenceTin5?: string | undefined;
261
+ controllingPerson5TaxResidenceTin5?: string | undefined;
262
+ controllingPerson1TaxResidenceTinIsNotRequired1?: "yes" | undefined;
263
+ controllingPerson2TaxResidenceTinIsNotRequired1?: "yes" | undefined;
264
+ controllingPerson3TaxResidenceTinIsNotRequired1?: "yes" | undefined;
265
+ controllingPerson4TaxResidenceTinIsNotRequired1?: "yes" | undefined;
266
+ controllingPerson5TaxResidenceTinIsNotRequired1?: "yes" | undefined;
267
+ controllingPerson1TaxResidenceTinIsNotRequired2?: "yes" | undefined;
268
+ controllingPerson2TaxResidenceTinIsNotRequired2?: "yes" | undefined;
269
+ controllingPerson3TaxResidenceTinIsNotRequired2?: "yes" | undefined;
270
+ controllingPerson4TaxResidenceTinIsNotRequired2?: "yes" | undefined;
271
+ controllingPerson5TaxResidenceTinIsNotRequired2?: "yes" | undefined;
272
+ controllingPerson1TaxResidenceTinIsNotRequired3?: "yes" | undefined;
273
+ controllingPerson2TaxResidenceTinIsNotRequired3?: "yes" | undefined;
274
+ controllingPerson3TaxResidenceTinIsNotRequired3?: "yes" | undefined;
275
+ controllingPerson4TaxResidenceTinIsNotRequired3?: "yes" | undefined;
276
+ controllingPerson5TaxResidenceTinIsNotRequired3?: "yes" | undefined;
277
+ controllingPerson1TaxResidenceTinIsNotRequired4?: "yes" | undefined;
278
+ controllingPerson2TaxResidenceTinIsNotRequired4?: "yes" | undefined;
279
+ controllingPerson3TaxResidenceTinIsNotRequired4?: "yes" | undefined;
280
+ controllingPerson4TaxResidenceTinIsNotRequired4?: "yes" | undefined;
281
+ controllingPerson5TaxResidenceTinIsNotRequired4?: "yes" | undefined;
282
+ controllingPerson1TaxResidenceTinIsNotRequired5?: "yes" | undefined;
283
+ controllingPerson2TaxResidenceTinIsNotRequired5?: "yes" | undefined;
284
+ controllingPerson3TaxResidenceTinIsNotRequired5?: "yes" | undefined;
285
+ controllingPerson4TaxResidenceTinIsNotRequired5?: "yes" | undefined;
286
+ controllingPerson5TaxResidenceTinIsNotRequired5?: "yes" | undefined;
287
+ controllingPerson1TaxResidenceTinIsNotRequiredReason1?: string | undefined;
288
+ controllingPerson2TaxResidenceTinIsNotRequiredReason1?: string | undefined;
289
+ controllingPerson3TaxResidenceTinIsNotRequiredReason1?: string | undefined;
290
+ controllingPerson4TaxResidenceTinIsNotRequiredReason1?: string | undefined;
291
+ controllingPerson5TaxResidenceTinIsNotRequiredReason1?: string | undefined;
292
+ controllingPerson1TaxResidenceTinIsNotRequiredReason2?: string | undefined;
293
+ controllingPerson2TaxResidenceTinIsNotRequiredReason2?: string | undefined;
294
+ controllingPerson3TaxResidenceTinIsNotRequiredReason2?: string | undefined;
295
+ controllingPerson4TaxResidenceTinIsNotRequiredReason2?: string | undefined;
296
+ controllingPerson5TaxResidenceTinIsNotRequiredReason2?: string | undefined;
297
+ controllingPerson1TaxResidenceTinIsNotRequiredReason3?: string | undefined;
298
+ controllingPerson2TaxResidenceTinIsNotRequiredReason3?: string | undefined;
299
+ controllingPerson3TaxResidenceTinIsNotRequiredReason3?: string | undefined;
300
+ controllingPerson4TaxResidenceTinIsNotRequiredReason3?: string | undefined;
301
+ controllingPerson5TaxResidenceTinIsNotRequiredReason3?: string | undefined;
302
+ controllingPerson1TaxResidenceTinIsNotRequiredReason4?: string | undefined;
303
+ controllingPerson2TaxResidenceTinIsNotRequiredReason4?: string | undefined;
304
+ controllingPerson3TaxResidenceTinIsNotRequiredReason4?: string | undefined;
305
+ controllingPerson4TaxResidenceTinIsNotRequiredReason4?: string | undefined;
306
+ controllingPerson5TaxResidenceTinIsNotRequiredReason4?: string | undefined;
307
+ controllingPerson1TaxResidenceTinIsNotRequiredReason5?: string | undefined;
308
+ controllingPerson2TaxResidenceTinIsNotRequiredReason5?: string | undefined;
309
+ controllingPerson3TaxResidenceTinIsNotRequiredReason5?: string | undefined;
310
+ controllingPerson4TaxResidenceTinIsNotRequiredReason5?: string | undefined;
311
+ controllingPerson5TaxResidenceTinIsNotRequiredReason5?: string | undefined;
312
+ controllingPerson1TaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
313
+ controllingPerson2TaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
314
+ controllingPerson3TaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
315
+ controllingPerson4TaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
316
+ controllingPerson5TaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
317
+ controllingPerson1TaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
318
+ controllingPerson2TaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
319
+ controllingPerson3TaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
320
+ controllingPerson4TaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
321
+ controllingPerson5TaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
322
+ controllingPerson1TaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
323
+ controllingPerson2TaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
324
+ controllingPerson3TaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
325
+ controllingPerson4TaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
326
+ controllingPerson5TaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
327
+ controllingPerson1TaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
328
+ controllingPerson2TaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
329
+ controllingPerson3TaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
330
+ controllingPerson4TaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
331
+ controllingPerson5TaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
332
+ controllingPerson1TaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
333
+ controllingPerson2TaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
334
+ controllingPerson3TaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
335
+ controllingPerson4TaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
336
+ controllingPerson5TaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
337
+ controllingPerson1ShowTaxResidence1?: "no" | "yes" | undefined;
338
+ controllingPerson2ShowTaxResidence1?: "no" | "yes" | undefined;
339
+ controllingPerson3ShowTaxResidence1?: "no" | "yes" | undefined;
340
+ controllingPerson4ShowTaxResidence1?: "no" | "yes" | undefined;
341
+ controllingPerson5ShowTaxResidence1?: "no" | "yes" | undefined;
342
+ controllingPerson1ShowTaxResidence2?: "no" | "yes" | undefined;
343
+ controllingPerson2ShowTaxResidence2?: "no" | "yes" | undefined;
344
+ controllingPerson3ShowTaxResidence2?: "no" | "yes" | undefined;
345
+ controllingPerson4ShowTaxResidence2?: "no" | "yes" | undefined;
346
+ controllingPerson5ShowTaxResidence2?: "no" | "yes" | undefined;
347
+ controllingPerson1ShowTaxResidence3?: "no" | "yes" | undefined;
348
+ controllingPerson2ShowTaxResidence3?: "no" | "yes" | undefined;
349
+ controllingPerson3ShowTaxResidence3?: "no" | "yes" | undefined;
350
+ controllingPerson4ShowTaxResidence3?: "no" | "yes" | undefined;
351
+ controllingPerson5ShowTaxResidence3?: "no" | "yes" | undefined;
352
+ controllingPerson1ShowTaxResidence4?: "no" | "yes" | undefined;
353
+ controllingPerson2ShowTaxResidence4?: "no" | "yes" | undefined;
354
+ controllingPerson3ShowTaxResidence4?: "no" | "yes" | undefined;
355
+ controllingPerson4ShowTaxResidence4?: "no" | "yes" | undefined;
356
+ controllingPerson5ShowTaxResidence4?: "no" | "yes" | undefined;
357
+ controllingPerson1ShowTaxResidence5?: "no" | "yes" | undefined;
358
+ controllingPerson2ShowTaxResidence5?: "no" | "yes" | undefined;
359
+ controllingPerson3ShowTaxResidence5?: "no" | "yes" | undefined;
360
+ controllingPerson4ShowTaxResidence5?: "no" | "yes" | undefined;
361
+ controllingPerson5ShowTaxResidence5?: "no" | "yes" | undefined;
362
+ controllingPerson1ShowFields?: "yes" | undefined;
363
+ controllingPerson2ShowFields?: "yes" | undefined;
364
+ controllingPerson3ShowFields?: "yes" | undefined;
365
+ controllingPerson4ShowFields?: "yes" | undefined;
366
+ controllingPerson5ShowFields?: "yes" | undefined;
367
+ controllingPerson1Name?: string | undefined;
368
+ controllingPerson2Name?: string | undefined;
369
+ controllingPerson3Name?: string | undefined;
370
+ controllingPerson4Name?: string | undefined;
371
+ controllingPerson5Name?: string | undefined;
372
+ controllingPerson1Role?: string | undefined;
373
+ controllingPerson2Role?: string | undefined;
374
+ controllingPerson3Role?: string | undefined;
375
+ controllingPerson4Role?: string | undefined;
376
+ controllingPerson5Role?: string | undefined;
377
+ controllingPerson1RoleOther?: string | undefined;
378
+ controllingPerson2RoleOther?: string | undefined;
379
+ controllingPerson3RoleOther?: string | undefined;
380
+ controllingPerson4RoleOther?: string | undefined;
381
+ controllingPerson5RoleOther?: string | undefined;
382
+ controllingPerson1RoleOtherEquivalent?: string | undefined;
383
+ controllingPerson2RoleOtherEquivalent?: string | undefined;
384
+ controllingPerson3RoleOtherEquivalent?: string | undefined;
385
+ controllingPerson4RoleOtherEquivalent?: string | undefined;
386
+ controllingPerson5RoleOtherEquivalent?: string | undefined;
387
+ controllingPerson1OwnershipPercentage?: string | undefined;
388
+ controllingPerson2OwnershipPercentage?: string | undefined;
389
+ controllingPerson3OwnershipPercentage?: string | undefined;
390
+ controllingPerson4OwnershipPercentage?: string | undefined;
391
+ controllingPerson5OwnershipPercentage?: string | undefined;
392
+ controllingPerson1DateOfBirth?: string | undefined;
393
+ controllingPerson2DateOfBirth?: string | undefined;
394
+ controllingPerson3DateOfBirth?: string | undefined;
395
+ controllingPerson4DateOfBirth?: string | undefined;
396
+ controllingPerson5DateOfBirth?: string | undefined;
397
+ controllingPerson1CityOfBirth?: string | undefined;
398
+ controllingPerson2CityOfBirth?: string | undefined;
399
+ controllingPerson3CityOfBirth?: string | undefined;
400
+ controllingPerson4CityOfBirth?: string | undefined;
401
+ controllingPerson5CityOfBirth?: string | undefined;
402
+ controllingPerson1CountryOfBirth?: string | undefined;
403
+ controllingPerson2CountryOfBirth?: string | undefined;
404
+ controllingPerson3CountryOfBirth?: string | undefined;
405
+ controllingPerson4CountryOfBirth?: string | undefined;
406
+ controllingPerson5CountryOfBirth?: string | undefined;
407
+ controllingPerson1CountryOfCitizenship?: string | undefined;
408
+ controllingPerson2CountryOfCitizenship?: string | undefined;
409
+ controllingPerson3CountryOfCitizenship?: string | undefined;
410
+ controllingPerson4CountryOfCitizenship?: string | undefined;
411
+ controllingPerson5CountryOfCitizenship?: string | undefined;
412
+ controllingPerson1MailingAddressIsDifferent?: "yes" | undefined;
413
+ controllingPerson2MailingAddressIsDifferent?: "yes" | undefined;
414
+ controllingPerson3MailingAddressIsDifferent?: "yes" | undefined;
415
+ controllingPerson4MailingAddressIsDifferent?: "yes" | undefined;
416
+ controllingPerson5MailingAddressIsDifferent?: "yes" | undefined;
417
+ controllingPerson1Address?: string | undefined;
418
+ controllingPerson2Address?: string | undefined;
419
+ controllingPerson3Address?: string | undefined;
420
+ controllingPerson4Address?: string | undefined;
421
+ controllingPerson5Address?: string | undefined;
422
+ controllingPerson1AddressCity?: string | undefined;
423
+ controllingPerson2AddressCity?: string | undefined;
424
+ controllingPerson3AddressCity?: string | undefined;
425
+ controllingPerson4AddressCity?: string | undefined;
426
+ controllingPerson5AddressCity?: string | undefined;
427
+ controllingPerson1AddressCountry?: string | undefined;
428
+ controllingPerson2AddressCountry?: string | undefined;
429
+ controllingPerson3AddressCountry?: string | undefined;
430
+ controllingPerson4AddressCountry?: string | undefined;
431
+ controllingPerson5AddressCountry?: string | undefined;
432
+ controllingPerson1AddressState?: string | undefined;
433
+ controllingPerson2AddressState?: string | undefined;
434
+ controllingPerson3AddressState?: string | undefined;
435
+ controllingPerson4AddressState?: string | undefined;
436
+ controllingPerson5AddressState?: string | undefined;
437
+ controllingPerson1AddressStreet2?: string | undefined;
438
+ controllingPerson2AddressStreet2?: string | undefined;
439
+ controllingPerson3AddressStreet2?: string | undefined;
440
+ controllingPerson4AddressStreet2?: string | undefined;
441
+ controllingPerson5AddressStreet2?: string | undefined;
442
+ controllingPerson1AddressStreet?: string | undefined;
443
+ controllingPerson2AddressStreet?: string | undefined;
444
+ controllingPerson3AddressStreet?: string | undefined;
445
+ controllingPerson4AddressStreet?: string | undefined;
446
+ controllingPerson5AddressStreet?: string | undefined;
447
+ controllingPerson1AddressZip?: string | undefined;
448
+ controllingPerson2AddressZip?: string | undefined;
449
+ controllingPerson3AddressZip?: string | undefined;
450
+ controllingPerson4AddressZip?: string | undefined;
451
+ controllingPerson5AddressZip?: string | undefined;
452
+ controllingPerson1MailingAddress?: string | undefined;
453
+ controllingPerson2MailingAddress?: string | undefined;
454
+ controllingPerson3MailingAddress?: string | undefined;
455
+ controllingPerson4MailingAddress?: string | undefined;
456
+ controllingPerson5MailingAddress?: string | undefined;
457
+ controllingPerson1MailingAddressCity?: string | undefined;
458
+ controllingPerson2MailingAddressCity?: string | undefined;
459
+ controllingPerson3MailingAddressCity?: string | undefined;
460
+ controllingPerson4MailingAddressCity?: string | undefined;
461
+ controllingPerson5MailingAddressCity?: string | undefined;
462
+ controllingPerson1MailingAddressCountry?: string | undefined;
463
+ controllingPerson2MailingAddressCountry?: string | undefined;
464
+ controllingPerson3MailingAddressCountry?: string | undefined;
465
+ controllingPerson4MailingAddressCountry?: string | undefined;
466
+ controllingPerson5MailingAddressCountry?: string | undefined;
467
+ controllingPerson1MailingAddressState?: string | undefined;
468
+ controllingPerson2MailingAddressState?: string | undefined;
469
+ controllingPerson3MailingAddressState?: string | undefined;
470
+ controllingPerson4MailingAddressState?: string | undefined;
471
+ controllingPerson5MailingAddressState?: string | undefined;
472
+ controllingPerson1MailingAddressStreet2?: string | undefined;
473
+ controllingPerson2MailingAddressStreet2?: string | undefined;
474
+ controllingPerson3MailingAddressStreet2?: string | undefined;
475
+ controllingPerson4MailingAddressStreet2?: string | undefined;
476
+ controllingPerson5MailingAddressStreet2?: string | undefined;
477
+ controllingPerson1MailingAddressStreet?: string | undefined;
478
+ controllingPerson2MailingAddressStreet?: string | undefined;
479
+ controllingPerson3MailingAddressStreet?: string | undefined;
480
+ controllingPerson4MailingAddressStreet?: string | undefined;
481
+ controllingPerson5MailingAddressStreet?: string | undefined;
482
+ controllingPerson1MailingAddressZip?: string | undefined;
483
+ controllingPerson2MailingAddressZip?: string | undefined;
484
+ controllingPerson3MailingAddressZip?: string | undefined;
485
+ controllingPerson4MailingAddressZip?: string | undefined;
486
+ controllingPerson5MailingAddressZip?: string | undefined;
487
+ subjectToBackupWithholding?: undefined;
488
+ irsRequiresBackupWithholdingConsent?: undefined;
489
+ };
@@ -1,6 +1,7 @@
1
1
  export * from './bearerTokenIsRequiredError';
2
2
  export * from './cx';
3
3
  export * from './formatTin';
4
+ export * from './getDataFields';
4
5
  export * from './getErrorMessageId';
5
6
  export * from './getFieldsState';
6
7
  export * from './getFormStatus';
@@ -164,12 +164,10 @@ export declare const transformInboundControllingPersons: (controllingPersons: Ar
164
164
  regardedOwnerUsTinMatchVerification?: import('../../types/YesNo.ts').YesNo;
165
165
  exemptFatcaCode?: string;
166
166
  exemptPayeeCode?: string;
167
- iAcknowledgeESignIsOk?: import('../../types/Yes.ts').Yes;
168
167
  iAmACitizenOfTheUs?: import('../../types/Yes.ts').Yes;
169
168
  iAmExemptFromFatcaReporting?: import('../../types/Yes.ts').Yes;
170
169
  iAmNotSubjectToBackupWithholding?: import('../../types/Yes.ts').Yes;
171
170
  iAuthorizeWithholdingAgent?: import('../../types/Yes.ts').Yes;
172
- iCertifyToAll?: import('../../types/Yes.ts').Yes;
173
171
  iConfirmIncomeIsNonUs?: import('../../types/Yes.ts').Yes;
174
172
  iConfirmTheBeneficialOwnerIsExempt?: import('../../types/Yes.ts').Yes;
175
173
  iConfirmNotAUsPerson?: import('../../types/Yes.ts').Yes;
@@ -182,7 +180,6 @@ export declare const transformInboundControllingPersons: (controllingPersons: Ar
182
180
  iUnderstandTheInformationIsCovered?: import('../../types/Yes.ts').Yes;
183
181
  iAcknowledgeTheInformationMayBeProvided?: import('../../types/Yes.ts').Yes;
184
182
  iCertifyIAmAccountHolder?: import('../../types/Yes.ts').Yes;
185
- iCertifyIWillNotifyPersons?: import('../../types/Yes.ts').Yes;
186
183
  iDeclareStatementsAreCorrect?: import('../../types/Yes.ts').Yes;
187
184
  iWillNotifyChangeInCircumstance?: import('../../types/Yes.ts').Yes;
188
185
  signature?: string;
@@ -487,4 +484,6 @@ export declare const transformInboundControllingPersons: (controllingPersons: Ar
487
484
  controllingPerson3MailingAddressZip?: string | undefined;
488
485
  controllingPerson4MailingAddressZip?: string | undefined;
489
486
  controllingPerson5MailingAddressZip?: string | undefined;
487
+ subjectToBackupWithholding?: undefined;
488
+ irsRequiresBackupWithholdingConsent?: undefined;
490
489
  };
@@ -3,7 +3,7 @@ import { default as React } from 'react';
3
3
  import { Locale, QuestionnaireProp } from '../../types';
4
4
  import { TaxbitQuestionnairePersistProps } from '../TaxbitQuestionnairePersist';
5
5
 
6
- export type TaxbitQuestionnaireProps = {
6
+ type BaseProps = {
7
7
  data?: ClientTaxDocumentation;
8
8
  language?: Locale;
9
9
  questionnaire: QuestionnaireProp;
@@ -12,7 +12,8 @@ export type TaxbitQuestionnaireProps = {
12
12
  onSubmit?: TaxbitQuestionnairePersistProps['onSubmit'];
13
13
  dateFormat?: TaxbitQuestionnairePersistProps['dateFormat'];
14
14
  realTimeTinValidation?: TaxbitQuestionnairePersistProps['realTimeTinValidation'];
15
- } & ({
15
+ };
16
+ type DemoProps = {
16
17
  demoMode: true;
17
18
  bearerToken?: never;
18
19
  onError?: never;
@@ -20,13 +21,27 @@ export type TaxbitQuestionnaireProps = {
20
21
  onSettled?: never;
21
22
  onSuccess?: never;
22
23
  staging?: never;
23
- } | {
24
- demoMode?: false | undefined;
24
+ region?: never;
25
+ proxyDomain?: never;
26
+ };
27
+ type AuthenticatedBase = {
28
+ demoMode?: false;
25
29
  bearerToken: TaxbitQuestionnairePersistProps['bearerToken'];
26
30
  onError?: TaxbitQuestionnairePersistProps['onError'];
27
31
  loadingComponent?: TaxbitQuestionnairePersistProps['loadingComponent'];
28
32
  onSettled?: TaxbitQuestionnairePersistProps['onSettled'];
29
33
  onSuccess?: TaxbitQuestionnairePersistProps['onSuccess'];
34
+ };
35
+ type RegionMode = {
36
+ region?: TaxbitQuestionnairePersistProps['region'];
37
+ proxyDomain?: never;
30
38
  staging?: TaxbitQuestionnairePersistProps['staging'];
31
- });
32
- export declare const TaxbitQuestionnaire: ({ bearerToken, data, demoMode, language, onError, loadingComponent, onProgress, onSettled, onSubmit, onSuccess, questionnaire, staging, treatyClaims, dateFormat, realTimeTinValidation, }: TaxbitQuestionnaireProps) => React.JSX.Element;
39
+ };
40
+ type ProxyMode = {
41
+ proxyDomain: TaxbitQuestionnairePersistProps['proxyDomain'];
42
+ region?: never;
43
+ staging?: never;
44
+ };
45
+ export type TaxbitQuestionnaireProps = (BaseProps & DemoProps) | (BaseProps & AuthenticatedBase & RegionMode) | (BaseProps & AuthenticatedBase & ProxyMode);
46
+ export declare const TaxbitQuestionnaire: ({ bearerToken, data, demoMode, language, onError, loadingComponent, onProgress, onSettled, onSubmit, onSuccess, questionnaire, staging, treatyClaims, dateFormat, realTimeTinValidation, region, proxyDomain, }: TaxbitQuestionnaireProps) => React.JSX.Element;
47
+ export {};
@@ -6,4 +6,4 @@ export type TaxbitQuestionnairePersistProps = UseTaxDocumentationProps & UseTaxb
6
6
  loadingComponent?: React.ReactNode;
7
7
  treatyClaims?: boolean;
8
8
  };
9
- export declare const TaxbitQuestionnairePersist: ({ staging, data, bearerToken, language, questionnaire, loadingComponent, onProgress, onSubmit, onSettled, onSuccess, onError, treatyClaims, dateFormat, realTimeTinValidation, }: TaxbitQuestionnairePersistProps) => string | number | bigint | true | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element;
9
+ export declare const TaxbitQuestionnairePersist: ({ staging, data, bearerToken, language, questionnaire, loadingComponent, onProgress, onSubmit, onSettled, onSuccess, onError, treatyClaims, dateFormat, realTimeTinValidation, region, proxyDomain, }: TaxbitQuestionnairePersistProps) => string | number | bigint | true | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element;
@@ -11,8 +11,10 @@ export type UseTaxbitPersistProps = {
11
11
  onSettled?: (data: ClientTaxDocumentation) => void | Promise<void>;
12
12
  onError?: (error: Error) => void | Promise<void>;
13
13
  onSubmit?: (data: ClientTaxDocumentation) => void | Promise<void>;
14
+ region?: 'US' | 'EU' | string;
15
+ proxyDomain?: string;
14
16
  };
15
- export declare const useTaxbitPersist: ({ bearerToken, data, onError, onSettled, onSubmit, onSuccess, questionnaire, staging, }: UseTaxbitPersistProps) => {
17
+ export declare const useTaxbitPersist: ({ bearerToken, data, onError, onSettled, onSubmit, onSuccess, questionnaire, staging, region, proxyDomain, }: UseTaxbitPersistProps) => {
16
18
  handleOnSubmit: (data: SignedClientTaxDocumentation) => Promise<void>;
17
19
  externalValidations: ExternalValidations;
18
20
  formData: ClientTaxDocumentation;
@@ -6,6 +6,7 @@ type CheckBoxRowProps = {
6
6
  subLabel?: boolean;
7
7
  disabled?: boolean;
8
8
  header?: string;
9
+ defaultChecked?: boolean;
9
10
  };
10
- export declare const CheckBoxRow: ({ name, label, header, subLabel, onClick, disabled, }: CheckBoxProps & CheckBoxRowProps) => React.JSX.Element;
11
+ export declare const CheckBoxRow: ({ name, label, header, subLabel, onClick, disabled, defaultChecked, }: CheckBoxProps & CheckBoxRowProps) => React.JSX.Element;
11
12
  export {};
@@ -2,5 +2,5 @@ import { TaxDocumentationKey } from '../../../types';
2
2
 
3
3
  export declare const HiddenInputRow: ({ name, defaultValue, }: {
4
4
  name: TaxDocumentationKey;
5
- defaultValue: string;
5
+ defaultValue: string | undefined;
6
6
  }) => null;