@taxbit/react-sdk 3.2.0-beta.0 → 3.3.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 (104) hide show
  1. package/README.md +8 -0
  2. package/dist/src/contexts/TaxDocumentation/TaxbitQuestionnaireProvider.d.ts +1 -1
  3. package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +3 -2
  4. package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +2 -2
  5. package/dist/src/hooks/useTaxbit/useTaxbit.d.ts +5 -2
  6. package/dist/src/hooks/useTaxbit/useTaxbitStatus.d.ts +2 -1
  7. package/dist/src/hooks/useUsTinVerification/useUsTinValidation.d.ts +2 -1
  8. package/dist/src/i18n/json/de.json.d.ts +26 -26
  9. package/dist/src/i18n/json/en.json.d.ts +26 -26
  10. package/dist/src/i18n/json/enDPS.d.ts +1 -0
  11. package/dist/src/i18n/json/es.json.d.ts +26 -26
  12. package/dist/src/i18n/json/fr.json.d.ts +26 -26
  13. package/dist/src/i18n/json/id.json.d.ts +26 -26
  14. package/dist/src/i18n/json/it.json.d.ts +26 -26
  15. package/dist/src/i18n/json/ja.json.d.ts +26 -26
  16. package/dist/src/i18n/json/ko.json.d.ts +26 -26
  17. package/dist/src/i18n/json/ms.json.d.ts +26 -26
  18. package/dist/src/i18n/json/nl.json.d.ts +26 -26
  19. package/dist/src/i18n/json/pl.json.d.ts +26 -26
  20. package/dist/src/i18n/json/pt.json.d.ts +26 -26
  21. package/dist/src/i18n/json/ro.json.d.ts +26 -26
  22. package/dist/src/i18n/json/ru.json.d.ts +26 -26
  23. package/dist/src/i18n/json/th.json.d.ts +26 -26
  24. package/dist/src/i18n/json/tr.json.d.ts +26 -26
  25. package/dist/src/i18n/json/vi.json.d.ts +26 -26
  26. package/dist/src/i18n/json/zh-TW.json.d.ts +26 -26
  27. package/dist/src/i18n/json/zh.json.d.ts +26 -26
  28. package/dist/src/i18n/locales/bg.d.ts +2 -1
  29. package/dist/src/i18n/locales/cs.d.ts +2 -1
  30. package/dist/src/i18n/locales/da.d.ts +2 -1
  31. package/dist/src/i18n/locales/de-at.d.ts +2 -1
  32. package/dist/src/i18n/locales/de-de.d.ts +2 -2
  33. package/dist/src/i18n/locales/de.d.ts +2 -2
  34. package/dist/src/i18n/locales/el-cy.d.ts +2 -1
  35. package/dist/src/i18n/locales/el-el.d.ts +2 -1
  36. package/dist/src/i18n/locales/el.d.ts +2 -1
  37. package/dist/src/i18n/locales/en-dps.d.ts +2 -2
  38. package/dist/src/i18n/locales/en-gb.d.ts +2 -1
  39. package/dist/src/i18n/locales/en-nz.d.ts +2 -1
  40. package/dist/src/i18n/locales/en-us.d.ts +2 -1
  41. package/dist/src/i18n/locales/en.d.ts +2 -2
  42. package/dist/src/i18n/locales/es-es.d.ts +2 -496
  43. package/dist/src/i18n/locales/es-mx.d.ts +2 -1
  44. package/dist/src/i18n/locales/es.d.ts +2 -2
  45. package/dist/src/i18n/locales/et.d.ts +2 -1
  46. package/dist/src/i18n/locales/fi.d.ts +2 -1
  47. package/dist/src/i18n/locales/fr-ca.d.ts +2 -1
  48. package/dist/src/i18n/locales/fr-fr.d.ts +2 -496
  49. package/dist/src/i18n/locales/fr-lu.d.ts +2 -1
  50. package/dist/src/i18n/locales/fr.d.ts +2 -2
  51. package/dist/src/i18n/locales/ga.d.ts +2 -1
  52. package/dist/src/i18n/locales/hr.d.ts +2 -1
  53. package/dist/src/i18n/locales/hu.d.ts +2 -1
  54. package/dist/src/i18n/locales/id.d.ts +2 -2
  55. package/dist/src/i18n/locales/it.d.ts +2 -2
  56. package/dist/src/i18n/locales/ja.d.ts +2 -2
  57. package/dist/src/i18n/locales/ko.d.ts +2 -2
  58. package/dist/src/i18n/locales/lt.d.ts +2 -1
  59. package/dist/src/i18n/locales/lv.d.ts +2 -1
  60. package/dist/src/i18n/locales/mergeLanguages.d.ts +7 -0
  61. package/dist/src/i18n/locales/ms.d.ts +2 -2
  62. package/dist/src/i18n/locales/mt.d.ts +2 -1
  63. package/dist/src/i18n/locales/nl-be.d.ts +2 -1
  64. package/dist/src/i18n/locales/nl-nl.d.ts +2 -1
  65. package/dist/src/i18n/locales/nl.d.ts +2 -2
  66. package/dist/src/i18n/locales/no.d.ts +2 -1
  67. package/dist/src/i18n/locales/pl.d.ts +2 -2
  68. package/dist/src/i18n/locales/pt-br.d.ts +2 -1
  69. package/dist/src/i18n/locales/pt-pt.d.ts +2 -496
  70. package/dist/src/i18n/locales/pt.d.ts +2 -2
  71. package/dist/src/i18n/locales/ro.d.ts +2 -2
  72. package/dist/src/i18n/locales/ru.d.ts +2 -2
  73. package/dist/src/i18n/locales/sk.d.ts +2 -1
  74. package/dist/src/i18n/locales/sl.d.ts +2 -1
  75. package/dist/src/i18n/locales/sv.d.ts +2 -1
  76. package/dist/src/i18n/locales/th.d.ts +2 -2
  77. package/dist/src/i18n/locales/tr.d.ts +2 -2
  78. package/dist/src/i18n/locales/translation-missing.d.ts +2 -2
  79. package/dist/src/i18n/locales/uk.d.ts +2 -1
  80. package/dist/src/i18n/locales/vi.d.ts +2 -496
  81. package/dist/src/i18n/locales/zh-cn.d.ts +2 -496
  82. package/dist/src/i18n/locales/zh-tw.d.ts +2 -496
  83. package/dist/src/i18n/locales/zh.d.ts +2 -496
  84. package/dist/src/i18n/localizationFileMap.d.ts +2 -2
  85. package/dist/src/i18n/types/Language.d.ts +60 -0
  86. package/dist/src/types/TaxDocumentation.d.ts +1 -1
  87. package/dist/src/types/props.d.ts +5 -0
  88. package/dist/src/utils/getDataFields.d.ts +1 -1
  89. package/dist/src/utils/getHeaders.d.ts +3 -1
  90. package/dist/src/utils/normalizeHeaders.d.ts +1 -0
  91. package/dist/src/utils/transformInbound/transformInboundControllingPersons.d.ts +1 -1
  92. package/dist/src/validations/invalidFields/invalidFieldRules.d.ts +2 -2
  93. package/dist/src/widgets/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +7 -3
  94. package/dist/src/widgets/TaxbitQuestionnairePersist/TaxbitQuestionnairePersist.d.ts +1 -1
  95. package/dist/src/widgets/TaxbitQuestionnairePersist/useTaxbitPersist.d.ts +2 -1
  96. package/dist/src/wizard/LanguageSelector/LanguageSelector.d.ts +1 -1
  97. package/dist/src/wizard/TaxbitQuestionnaireUI/TaxbitQuestionnaireUI.d.ts +1 -1
  98. package/dist/taxbit-react-sdk.js +5753 -5582
  99. package/dist/taxbit-react-sdk.umd.cjs +1 -1
  100. package/package.json +2 -2
  101. package/style/basic.css +5 -5
  102. package/style/inline.css +6 -6
  103. package/dist/src/i18n/locales/mergePropertyFiles.d.ts +0 -7
  104. package/dist/src/i18n/types/PropertyFile.d.ts +0 -63
@@ -1,496 +1,2 @@
1
- export declare const zh: {
2
- badge: {
3
- validTin: string;
4
- invalidTin: string;
5
- pendingTin: string;
6
- };
7
- button: {
8
- back: string;
9
- cancel: string;
10
- edit: string;
11
- hide: string;
12
- next: string;
13
- reset: string;
14
- show: string;
15
- submit: string;
16
- };
17
- prompt: {
18
- eligibleForTreatyClaim: string;
19
- treatyCountry: string;
20
- typeOfIncome: string;
21
- withholdingRateArticleParagraph: string;
22
- iMeetRequiredTermsOfTreaty: string;
23
- limitationOnBenefitsProvisions: string;
24
- limitationOnBenefitsSpecifyArticleParagraph: string;
25
- iCertifyBeneficialOwnerIsResident: string;
26
- iCertifyBeneficialOwnerMeetsRequirements: string;
27
- financialInstitutionType: string;
28
- activeNonFinancialEntityType: string;
29
- accountHolderAccountOwnerType: string;
30
- accountHolderIntermediaryAccountType: string;
31
- accountHolderEntityAccountType: string;
32
- addAdditionalResidence: string;
33
- addControllingPerson: string;
34
- removeResidence: string;
35
- removeControllingPerson: string;
36
- address: string;
37
- businessRegistrationNumber: string;
38
- businessRegistrationCountry: string;
39
- city: string;
40
- country: string;
41
- dateOfBirth: string;
42
- day: string;
43
- dbaName: string;
44
- passiveEntityType: string;
45
- managedEntityType: string;
46
- exemptFatcaCode: string;
47
- exemptPayeeCode: string;
48
- foreignAccountType: string;
49
- foreignTin: string;
50
- foreignTinIsNotRequired: string;
51
- investmentEntityManaged: string;
52
- isIndividual: string;
53
- mailingAddress: string;
54
- mailingAddressIsDifferent: string;
55
- name: string;
56
- phoneNumber: string;
57
- phoneNumberCode: string;
58
- phoneNumberNumber: string;
59
- emailAddress: string;
60
- nameOfDisregardedEntity: string;
61
- nameOfEntity: string;
62
- nameOfCCorporation: string;
63
- nameOfCorporation: string;
64
- nameOfIndividual: string;
65
- nameOfIndividualSoleProprietor: string;
66
- nameOfQualifiedIntermediary: string;
67
- nameOfNonqualifiedIntermediary: string;
68
- nameOfTerritoryFinancialInstitution: string;
69
- nameOfUsBranch: string;
70
- nameOfWithholdingForeignPartnership: string;
71
- nameOfWithholdingForeignTrust: string;
72
- nameOfNonwithholdingForeignPartnership: string;
73
- nameOfNonwithholdingForeignSimpleTrust: string;
74
- nameOfNonwithholdingForeignGrantorTrust: string;
75
- nameOfComplexTrust: string;
76
- nameOfTaxExemptOrganization: string;
77
- nameOfPrivateFoundation: string;
78
- nameOfInternationalOrganization: string;
79
- nameOfCentralBankOfIssue: string;
80
- nameOfForeignGovernmentControlledEntity: string;
81
- nameOfForeignGovernmentIntegralPart: string;
82
- nameOfEstate: string;
83
- nameOfLlc: string;
84
- nameOfOrganization: string;
85
- nameOfPartnership: string;
86
- nameOfSCorporation: string;
87
- nameOfSmllc: string;
88
- nameOfSmllcOwner: string;
89
- nameOfSoleProprietor: string;
90
- nameOfTrustEstate: string;
91
- otherRole: string;
92
- otherEquivalentRole: string;
93
- ownershipPercentage: string;
94
- cityOfBirth: string;
95
- countryOfBirth: string;
96
- month: string;
97
- province: string;
98
- referenceNumbers: string;
99
- regardedOwnerUsPerson: string;
100
- regardedOwnerAccountType: string;
101
- regardedOwnerEntityAccountType: string;
102
- regardedOwnerIntermediaryAccountType: string;
103
- relatedCorporation: string;
104
- role: string;
105
- securitiesMarket: string;
106
- signature: string;
107
- signatureCapacity: string;
108
- signatureCapacityOther: string;
109
- smllcElection: string;
110
- smllcOwnerAccountType: string;
111
- smllcOwnerUsPerson: string;
112
- stateProvince: string;
113
- countyRegion: string;
114
- street: string;
115
- street2: string;
116
- taxIdNumber: string;
117
- taxIdNumberIsNotRequired: string;
118
- taxIdNumberIsNotRequiredReason: string;
119
- taxIdNumberIsNotRequiredReasonOther: string;
120
- tin: string;
121
- tinUkEntity: string;
122
- tinUkIndividual: string;
123
- tinAuAbn: string;
124
- type: string;
125
- usAccountType: string;
126
- usEin: string;
127
- usLlcClassification: string;
128
- usOtherClassification: string;
129
- usPerson: string;
130
- usSsn: string;
131
- usTin: string;
132
- usTinIsValid: string;
133
- usTinMatchVerification: string;
134
- usTrustEstateEin: string;
135
- usSoleProprietorEin: string;
136
- vatIdentificationNumber: string;
137
- vatIsNotRequired: string;
138
- vatCountry: string;
139
- year: string;
140
- zip: string;
141
- assumesChapters3And4Responsibility: string;
142
- assumes1099Responsibility: string;
143
- usPersonElection: string;
144
- providesAdditionalDocumentation: string;
145
- isQiCertified: string;
146
- assumesChapters3And4ResponsibilityCertified: string;
147
- assumes1099ResponsibilityCertified: string;
148
- notAssume1099ResponsibilityCertified: string;
149
- meetsQiRegulationsRequirementsCertified: string;
150
- obtainsDocumentationCertified: string;
151
- notActingAsQiCertified: string;
152
- transmitsNqiDocumentationCertified: string;
153
- representsWithholdingStatementsCertified: string;
154
- isFinancialInstitutionCertified: string;
155
- tfiUsPersonElectionCertified: string;
156
- transmitsTfiDocumentationCertified: string;
157
- usbPaymentsCertified: string;
158
- usbUsPersonElectionCertified: string;
159
- transmitsUsbDocumentationCertified: string;
160
- isCompliantCertified: string;
161
- entityPaymentsCertified: string;
162
- providesWithholdingStatementCertified: string;
163
- iWillResubmitIfIncorrect: string;
164
- iAmExemptFromFatcaReporting: string;
165
- iAmNotSubjectToBackupWithholding: string;
166
- iAmACitizenOfTheUs: string;
167
- iAuthorizeWithholdingAgent: string;
168
- iConfirmIncomeIsNonUs: string;
169
- iConfirmTheEntityIsTheBeneficialOwner: string;
170
- iConfirmTheEntityIsNotAUsPerson: string;
171
- iConfirmTheIndividualIsTheBeneficialOwner: string;
172
- iConfirmTheIndividualIsNotAUsPerson: string;
173
- iConfirmTheIndividualIsResidentOfTreatyCountry: string;
174
- iConfirmTheBeneficialOwnerIsExempt: string;
175
- iConfirmTheTaxIdIsCorrect: string;
176
- iUnderstandTheInformationIsCovered: string;
177
- iAcknowledgeTheInformationMayBeProvided: string;
178
- iCertifyIAmAccountHolder: string;
179
- iCertifyIAmAuthorizedToSignForAccountHolder: string;
180
- iDeclareStatementsAreCorrect: string;
181
- iWillNotifyChangeInCircumstance: string;
182
- giin: string;
183
- residenceByInvestmentConfirmed: string;
184
- iConfirmNoOtherResidencies: string;
185
- };
186
- subPrompt: {
187
- eligibleForTreatyClaim: string;
188
- withholdingRateArticleParagraph: string;
189
- iMeetRequiredTermsOfTreaty: string;
190
- limitationOnBenefitsProvisions: string;
191
- isQiCertified: string;
192
- transmitsTfiDocumentationCertified: string;
193
- transmitsUsbDocumentationCertified: string;
194
- entityPaymentsCertified: string;
195
- enterAbnWithResidency: string;
196
- accountHolderTaxResidences: string;
197
- accountHolderPhoneAndEmail: string;
198
- smllcElection: string;
199
- iAmNotSubjectToBackupWithholding: string;
200
- iConfirmIncomeIsNonUs: string;
201
- isIndividual: string;
202
- financialInstitutionType: string;
203
- vatIdentificationNumber: string;
204
- placeOfBirth: string;
205
- referenceNumbers: string;
206
- relatedCorporation: string;
207
- role: string;
208
- securitiesMarket: string;
209
- signature: string;
210
- signatureCapacityOther: string;
211
- streetIsPermanent: string;
212
- usPerson: string;
213
- usTin: string;
214
- usTinMatchVerification: string;
215
- residenceByInvestmentConfirmed: string;
216
- };
217
- title: {
218
- accountHolder: string;
219
- accountHolderCertifications: string;
220
- accountHolderClassification: string;
221
- accountHolderContactInformation: string;
222
- accountHolderTaxInformation: string;
223
- accountHolderAdditionalInfo: string;
224
- accountTypeCertifications: string;
225
- accountHolderTaxResidenciesConfirmation: string;
226
- address: string;
227
- additionalConditions: string;
228
- acknowledge: string;
229
- reviewAndSubmit: string;
230
- certify: string;
231
- carfClassificationDetails: string;
232
- certificationStatements: string;
233
- confirmation: string;
234
- controllingPersonDetails: string;
235
- controllingPerson1TaxResidenciesConfirmation: string;
236
- controllingPerson2TaxResidenciesConfirmation: string;
237
- controllingPerson3TaxResidenciesConfirmation: string;
238
- controllingPerson4TaxResidenciesConfirmation: string;
239
- controllingPerson5TaxResidenciesConfirmation: string;
240
- controllingPersons: string;
241
- controllingPerson1: string;
242
- controllingPerson2: string;
243
- controllingPerson3: string;
244
- controllingPerson4: string;
245
- controllingPerson5: string;
246
- countryOfCitizenship: string;
247
- countryOfIncorporation: string;
248
- exemptions: string;
249
- mailingAddress: string;
250
- primaryAddress: string;
251
- permanentAddress: string;
252
- placeOfBirth: string;
253
- regardedOwner: string;
254
- regardedOwnerCertifications: string;
255
- regardedOwnerClassification: string;
256
- regardedOwnerContactInformation: string;
257
- regardedOwnerTaxInformation: string;
258
- signature: string;
259
- summary: string;
260
- taxResidences: string;
261
- taxResidence1: string;
262
- taxResidence2: string;
263
- taxResidence3: string;
264
- taxResidence4: string;
265
- taxResidence5: string;
266
- accountHolderTreatyClaims: string;
267
- regardedOwnerTreatyClaims: string;
268
- accountHolderUsTinValidation: string;
269
- regardedOwnerUsTinValidation: string;
270
- };
271
- subTitle: {
272
- taxResidences: string;
273
- permanentAddress: string;
274
- taxInformationTreatyClaims: string;
275
- controllingPersonDetails: string;
276
- };
277
- text: {
278
- subjectToBackupWithholding: string;
279
- irsRequiresBackupWithholdingConsent: string;
280
- iCertifyIsCorrectAndHaveCapacity: string;
281
- iCertifyHaveCapacity: string;
282
- iCertifyIsCorrect: string;
283
- eSignActReference: string;
284
- mailingAddressIsSame: string;
285
- notRequired: string;
286
- notRequiredOrNotIssued: string;
287
- interviewIsComplete: string;
288
- penaltyOfPerjury: string;
289
- penaltiesOfPerjury: string;
290
- penaltiesOfPerjuryIAcknowledge: string;
291
- retrievingInterviewStatus: string;
292
- taxDocumentationSaved: string;
293
- };
294
- status: {
295
- countryMustBeAResidenceCountry: string;
296
- formHasErrors: string;
297
- doesNotMatchExpectedFormat: string;
298
- matchesExpectedFormat: string;
299
- countryDoesNotRestrictTinDisclosure: string;
300
- countryDoesNotRequireTinDisclosure: string;
301
- countryDoesNotIssueTin: string;
302
- invalid: string;
303
- invalidDate: string;
304
- invalidVat: string;
305
- mustBeABNFormat: string;
306
- mustBeFiveOrNineDigits: string;
307
- mustBeInDateFormat: string;
308
- mustBeNineDigits: string;
309
- mustBeNinoFormat: string;
310
- mustBeCaPostalCodeFormat: string;
311
- mustBeInVatinFormat: string;
312
- mustBeValidBirthDate: string;
313
- mustBeAtLeast18: string;
314
- mustMatchName: string;
315
- checkFormatIndividualGB: string;
316
- checkFormatEntityGB: string;
317
- checkFormatIndividualDE: string;
318
- checkFormatEntityDE: string;
319
- checkFormatIndividualFR: string;
320
- checkFormatEntityFR: string;
321
- checkFormatIndividualIT: string;
322
- checkFormatEntityIT: string;
323
- checkFormatIndividualES: string;
324
- checkFormatEntityES: string;
325
- checkFormatIndividualNL: string;
326
- checkFormatEntityNL: string;
327
- checkFormatIndividualIE: string;
328
- checkFormatEntityIE: string;
329
- checkFormatIndividualCA: string;
330
- checkFormatEntityCA: string;
331
- checkFormatIndividualAU: string;
332
- checkFormatEntityAU: string;
333
- checkFormatIndividualSG: string;
334
- checkFormatEntitySG: string;
335
- required: string;
336
- residencesMustIncludeVatCountry: string;
337
- residencesMustIncludeAddressCountry: string;
338
- residencesMustIncludeAnEUCountry: string;
339
- residencesMustIncludeBusinessRegistrationCountry: string;
340
- tooLong: string;
341
- tooShort: string;
342
- usTinDoesNotMatchName: string;
343
- };
344
- option: {
345
- eligibleForTreatyClaim_yes: string;
346
- eligibleForTreatyClaim_no: string;
347
- BUSINESS_PROFITS: string;
348
- ROYALTIES_OTHER: string;
349
- SERVICES: string;
350
- GOVERNMENT: string;
351
- TAX_EXEMPT_PENSION: string;
352
- OTHER_TAX_EXEMPT_ORGANIZATION: string;
353
- PUBLICLY_TRADED_CORPORATION: string;
354
- SUBSIDIARY: string;
355
- COMPANY_MEETS_EROSION_TEST: string;
356
- COMPANY_MEETS_DERIVATIVE_TEST: string;
357
- COMPANY_MEETS_BUSINESS_TEST: string;
358
- FAVORABLE_DETERMINATION: string;
359
- NO_LOB_ARTICLE: string;
360
- OTHER_ARTICLE_PARAGRAPH: string;
361
- usTrustEstateEin_yes: string;
362
- usTrustEstateEin_no: string;
363
- usSoleProprietorEin_yes: string;
364
- usSoleProprietorEin_no: string;
365
- accountHolderUsPerson_yes: string;
366
- accountHolderUsPerson_no: string;
367
- regardedOwnerUsPerson_yes: string;
368
- regardedOwnerUsPerson_no: string;
369
- smllcOwnerUsPerson_yes: string;
370
- smllcOwnerUsPerson_no: string;
371
- smllcElection_yes: string;
372
- smllcElection_no: string;
373
- isIndividual_yes: string;
374
- isIndividual_no: string;
375
- investmentEntityManaged_yes: string;
376
- investmentEntityManaged_no: string;
377
- fatca_A: string;
378
- fatca_B: string;
379
- fatca_C: string;
380
- fatca_D: string;
381
- fatca_E: string;
382
- fatca_F: string;
383
- fatca_G: string;
384
- fatca_H: string;
385
- fatca_I: string;
386
- fatca_J: string;
387
- fatca_K: string;
388
- fatca_L: string;
389
- fatca_M: string;
390
- payee_1: string;
391
- payee_2: string;
392
- payee_3: string;
393
- payee_4: string;
394
- payee_5: string;
395
- payee_6: string;
396
- payee_7: string;
397
- payee_8: string;
398
- payee_9: string;
399
- payee_10: string;
400
- payee_11: string;
401
- payee_12: string;
402
- payee_13: string;
403
- no: string;
404
- yes: string;
405
- no_not_applicable: string;
406
- ACTIVE_NON_FINANCIAL_ENTITY: string;
407
- PASSIVE_NON_FINANCIAL_ENTITY: string;
408
- FINANCIAL_INSTITUTION: string;
409
- C_CORPORATION: string;
410
- CENTRAL_BANK_OF_ISSUE: string;
411
- COMPLEX_TRUST: string;
412
- CORPORATION: string;
413
- CUSTODIAL_INSTITUTION: string;
414
- DEPOSITORY_INSTITUTION: string;
415
- DISREGARDED_ENTITY: string;
416
- ESTATE: string;
417
- ENTITY: string;
418
- INTERMEDIARY: string;
419
- QUALIFIED_INTERMEDIARY: string;
420
- NONQUALIFIED_INTERMEDIARY: string;
421
- TERRITORY_FINANCIAL_INSTITUTION: string;
422
- US_BRANCH: string;
423
- WITHHOLDING_FOREIGN_PARTNERSHIP: string;
424
- WITHHOLDING_FOREIGN_TRUST: string;
425
- NONWITHHOLDING_FOREIGN_PARTNERSHIP: string;
426
- NONWITHHOLDING_FOREIGN_SIMPLE_TRUST: string;
427
- NONWITHHOLDING_FOREIGN_GRANTOR_TRUST: string;
428
- FOREIGN_GOVERNMENT_CONTROLLED_ENTITY: string;
429
- FOREIGN_GOVERNMENT_INTEGRAL_PART: string;
430
- NON_REPORTING_FINANCIAL_INSTITUTION: string;
431
- accountHolderActiveNonFinancialEntityType_GOVERNMENT_ENTITY: string;
432
- GRANTOR_TRUST: string;
433
- INDIVIDUAL: string;
434
- INSURANCE_COMPANY: string;
435
- accountHolderActiveNonFinancialEntityType_INTERNATIONAL_ORGANIZATION: string;
436
- INTERNATIONAL_ORGANIZATION: string;
437
- INVESTMENT_ENTITY: string;
438
- LLC: string;
439
- OTHER: string;
440
- accountHolderActiveNonFinancialEntityType_OTHER: string;
441
- PARTNERSHIP: string;
442
- PRIVATE_FOUNDATION: string;
443
- S_CORPORATION: string;
444
- entityType_TRUST: string;
445
- entityType_SIMILAR_TO_TRUST: string;
446
- entityType_OTHER: string;
447
- accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION: string;
448
- SIMPLE_TRUST: string;
449
- SM_LLC: string;
450
- SOLE_PROPRIETOR: string;
451
- TAX_EXEMPT_ORGANIZATION: string;
452
- TRUST: string;
453
- TRUST_ESTATE: string;
454
- controllingPersonRole_SETTLOR: string;
455
- controllingPersonRole_TRUSTEE: string;
456
- controllingPersonRole_PROTECTOR: string;
457
- controllingPersonRole_BENEFICIARY: string;
458
- controllingPersonRole_OTHER: string;
459
- controllingPersonRole_BENEFICIARY_EQUIVALENT: string;
460
- controllingPersonRole_OTHER_EQUIVALENT: string;
461
- controllingPersonRole_PROTECTOR_EQUIVALENT: string;
462
- controllingPersonRole_SETTLOR_EQUIVALENT: string;
463
- controllingPersonRole_TRUSTEE_EQUIVALENT: string;
464
- controllingPersonRole_OWNER: string;
465
- controllingPersonRole_OTHER_MEANS: string;
466
- controllingPersonRole_SENIOR_MANAGING_OFFICIAL: string;
467
- signatureCapacity_EXECUTOR: string;
468
- signatureCapacity_OFFICER: string;
469
- signatureCapacity_OTHER_CAPACITY: string;
470
- missingTinNotRequiredReason_NOT_ISSUED: string;
471
- missingTinNotRequiredReason_OTHER: string;
472
- missingTinNotRequiredReason_NOT_REQUIRED: string;
473
- assumesChapters3And4Responsibility_yes: string;
474
- assumesChapters3And4Responsibility_no: string;
475
- assumes1099Responsibility_yes: string;
476
- assumes1099Responsibility_no: string;
477
- usPersonElection_yes: string;
478
- usPersonElection_no: string;
479
- providesAdditionalDocumentation_yes: string;
480
- providesAdditionalDocumentation_no: string;
481
- };
482
- subOption: {
483
- accountHolderUsAccountType_SOLE_PROPRIETOR: string;
484
- accountHolderUsAccountType_SM_LLC: string;
485
- accountHolderUsAccountType_DISREGARDED_ENTITY: string;
486
- accountHolderActiveNonFinancialEntityType_OTHER: string;
487
- accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION: string;
488
- accountHolderSelfCertificationAccountType_FINANCIAL_INSTITUTION: string;
489
- accountHolderSelfCertificationAccountType_ACTIVE_NON_FINANCIAL_ENTITY: string;
490
- accountHolderSelfCertificationAccountType_PASSIVE_NON_FINANCIAL_ENTITY: string;
491
- accountHolderAccountOwnerType_ENTITY: string;
492
- accountHolderAccountOwnerType_INTERMEDIARY: string;
493
- regardedOwnerAccountOwnerType_ENTITY: string;
494
- regardedOwnerAccountOwnerType_INTERMEDIARY: string;
495
- };
496
- };
1
+ import { LanguageWithProperties } from '../types/Language';
2
+ export declare const zh: LanguageWithProperties;
@@ -1,7 +1,7 @@
1
1
  import { Locale } from 'types';
2
- import { PropertyFile } from './types/PropertyFile';
2
+ import { LanguageWithProperties } from './types/Language';
3
3
  type LocalizationFile = {
4
- [locale in Locale]: PropertyFile;
4
+ [locale in Locale]: LanguageWithProperties;
5
5
  };
6
6
  export declare const localizationFileMap: LocalizationFile;
7
7
  export {};
@@ -0,0 +1,60 @@
1
+ import { BadgeKey, ButtonKey, OptionKey, PromptKey, StatusKey, SubOptionKey, SubPromptKey, SubTitleKey, TextKey, TitleKey } from './LocalizationKey';
2
+ export type Language = {
3
+ button: {
4
+ [key in ButtonKey]: string;
5
+ };
6
+ badge: {
7
+ [key in BadgeKey]: string;
8
+ };
9
+ status: {
10
+ [key in StatusKey]: string;
11
+ };
12
+ prompt: {
13
+ [key in PromptKey]: string;
14
+ };
15
+ subPrompt: {
16
+ [key in SubPromptKey]: string;
17
+ };
18
+ title: {
19
+ [key in TitleKey]: string;
20
+ };
21
+ subTitle: {
22
+ [key in SubTitleKey]: string;
23
+ };
24
+ option: {
25
+ [key in OptionKey]: string;
26
+ };
27
+ subOption: {
28
+ [key in SubOptionKey]: string;
29
+ };
30
+ text: {
31
+ [key in TextKey]: string;
32
+ };
33
+ };
34
+ export type LanguageWithProperties = Language & {
35
+ properties: {
36
+ nameInEnglish: string;
37
+ label: string;
38
+ direction?: 'ltr' | 'rtl';
39
+ };
40
+ };
41
+ type Index = 1 | 2 | 3 | 4 | 5;
42
+ type ExpandedStatusKey = `controllingPerson${Index}ResidencesMustIncludeAddressCountry` | 'accountHolderResidencesMustIncludeAddressCountry' | 'accountHolderResidencesMustIncludeVatCountry' | 'accountHolderResidencesMustIncludeBusinessRegistrationCountry';
43
+ type ExpandedLanguageFields = {
44
+ status: Language['status'] & {
45
+ [key in ExpandedStatusKey]: string;
46
+ };
47
+ };
48
+ export type ExpandedLanguage = Language & ExpandedLanguageFields;
49
+ export type ForeignLanguage = {
50
+ button: Language['button'];
51
+ prompt: Pick<Language['prompt'], 'addAdditionalResidence' | 'addControllingPerson' | 'foreignAccountType' | 'financialInstitutionType' | 'activeNonFinancialEntityType' | 'passiveEntityType' | 'managedEntityType' | 'investmentEntityManaged' | 'iUnderstandTheInformationIsCovered' | 'iAcknowledgeTheInformationMayBeProvided' | 'iCertifyIAmAccountHolder' | 'iCertifyIAmAuthorizedToSignForAccountHolder' | 'iConfirmNoOtherResidencies' | 'iDeclareStatementsAreCorrect' | 'iWillNotifyChangeInCircumstance' | 'otherRole' | 'otherEquivalentRole' | 'ownershipPercentage' | 'relatedCorporation' | 'removeControllingPerson' | 'role' | 'securitiesMarket' | 'taxIdNumberIsNotRequiredReason' | 'taxIdNumberIsNotRequiredReasonOther' | 'address' | 'mailingAddressIsDifferent' | 'businessRegistrationCountry' | 'businessRegistrationNumber' | 'city' | 'cityOfBirth' | 'country' | 'countryOfBirth' | 'dateOfBirth' | 'day' | 'emailAddress' | 'isIndividual' | 'month' | 'name' | 'nameOfEntity' | 'nameOfIndividual' | 'phoneNumber' | 'phoneNumberCode' | 'phoneNumberNumber' | 'province' | 'removeResidence' | 'countyRegion' | 'stateProvince' | 'street' | 'street2' | 'signature' | 'signatureCapacity' | 'signatureCapacityOther' | 'residenceByInvestmentConfirmed' | 'giin' | 'taxIdNumber' | 'taxIdNumberIsNotRequired' | 'tin' | 'tinUkEntity' | 'tinUkIndividual' | 'type' | 'usTin' | 'vatCountry' | 'vatIdentificationNumber' | 'vatIsNotRequired' | 'year' | 'zip'>;
52
+ subPrompt: Pick<Language['subPrompt'], 'financialInstitutionType' | 'isIndividual' | 'placeOfBirth' | 'relatedCorporation' | 'role' | 'securitiesMarket' | 'signatureCapacityOther' | 'streetIsPermanent' | 'vatIdentificationNumber' | 'residenceByInvestmentConfirmed'>;
53
+ subTitle: Pick<Language['subTitle'], 'taxResidences' | 'controllingPersonDetails' | 'permanentAddress'>;
54
+ title: Pick<Language['title'], 'certify' | 'carfClassificationDetails' | 'controllingPersonDetails' | 'controllingPersons' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5' | 'accountHolder' | 'accountHolderClassification' | 'accountHolderContactInformation' | 'accountHolderTaxInformation' | 'accountHolderAdditionalInfo' | 'address' | 'confirmation' | 'countryOfCitizenship' | 'countryOfIncorporation' | 'placeOfBirth' | 'mailingAddress' | 'permanentAddress' | 'primaryAddress' | 'summary' | 'taxResidences' | 'taxResidence1' | 'taxResidence2' | 'taxResidence3' | 'taxResidence4' | 'taxResidence5' | 'accountHolderTaxResidenciesConfirmation' | 'controllingPerson1TaxResidenciesConfirmation' | 'controllingPerson2TaxResidenciesConfirmation' | 'controllingPerson3TaxResidenciesConfirmation' | 'controllingPerson4TaxResidenciesConfirmation' | 'controllingPerson5TaxResidenciesConfirmation'>;
55
+ text: Pick<Language['text'], 'interviewIsComplete' | 'notRequired' | 'notRequiredOrNotIssued' | 'retrievingInterviewStatus' | 'taxDocumentationSaved' | 'iCertifyIsCorrect' | 'iCertifyHaveCapacity'>;
56
+ status: Pick<Language['status'], 'countryDoesNotRestrictTinDisclosure' | 'countryDoesNotRequireTinDisclosure' | 'countryDoesNotIssueTin' | 'countryMustBeAResidenceCountry' | 'formHasErrors' | 'invalid' | 'invalidDate' | 'invalidVat' | 'mustBeABNFormat' | 'mustBeAtLeast18' | 'mustBeFiveOrNineDigits' | 'mustBeInDateFormat' | 'mustBeInVatinFormat' | 'mustBeNineDigits' | 'mustBeNinoFormat' | 'mustBeCaPostalCodeFormat' | 'mustBeValidBirthDate' | 'required' | 'residencesMustIncludeAddressCountry' | 'residencesMustIncludeAnEUCountry' | 'residencesMustIncludeVatCountry' | 'residencesMustIncludeBusinessRegistrationCountry' | 'tooLong' | 'tooShort'>;
57
+ option: Pick<Language['option'], 'no' | 'yes' | 'isIndividual_yes' | 'isIndividual_no' | 'investmentEntityManaged_yes' | 'investmentEntityManaged_no' | 'ACTIVE_NON_FINANCIAL_ENTITY' | 'PASSIVE_NON_FINANCIAL_ENTITY' | 'CUSTODIAL_INSTITUTION' | 'accountHolderActiveNonFinancialEntityType_GOVERNMENT_ENTITY' | 'INSURANCE_COMPANY' | 'INVESTMENT_ENTITY' | 'entityType_TRUST' | 'entityType_SIMILAR_TO_TRUST' | 'entityType_OTHER' | 'accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION' | 'accountHolderActiveNonFinancialEntityType_OTHER' | 'accountHolderActiveNonFinancialEntityType_INTERNATIONAL_ORGANIZATION' | 'signatureCapacity_EXECUTOR' | 'signatureCapacity_OFFICER' | 'signatureCapacity_OTHER_CAPACITY' | 'DEPOSITORY_INSTITUTION' | 'NON_REPORTING_FINANCIAL_INSTITUTION' | 'FINANCIAL_INSTITUTION' | 'controllingPersonRole_SETTLOR' | 'controllingPersonRole_TRUSTEE' | 'controllingPersonRole_PROTECTOR' | 'controllingPersonRole_BENEFICIARY' | 'controllingPersonRole_OTHER' | 'controllingPersonRole_SETTLOR_EQUIVALENT' | 'controllingPersonRole_TRUSTEE_EQUIVALENT' | 'controllingPersonRole_PROTECTOR_EQUIVALENT' | 'controllingPersonRole_BENEFICIARY_EQUIVALENT' | 'controllingPersonRole_OTHER_EQUIVALENT' | 'controllingPersonRole_OWNER' | 'controllingPersonRole_OTHER_MEANS' | 'controllingPersonRole_SENIOR_MANAGING_OFFICIAL' | 'missingTinNotRequiredReason_NOT_ISSUED' | 'missingTinNotRequiredReason_NOT_REQUIRED' | 'missingTinNotRequiredReason_OTHER'>;
58
+ subOption: Pick<Language['subOption'], 'accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION' | 'accountHolderActiveNonFinancialEntityType_OTHER' | 'accountHolderSelfCertificationAccountType_FINANCIAL_INSTITUTION' | 'accountHolderSelfCertificationAccountType_ACTIVE_NON_FINANCIAL_ENTITY' | 'accountHolderSelfCertificationAccountType_PASSIVE_NON_FINANCIAL_ENTITY'>;
59
+ };
60
+ export {};
@@ -214,7 +214,7 @@ export type SummaryData = {
214
214
  exemptPayeeCode?: string;
215
215
  iAmACitizenOfTheUs?: Yes;
216
216
  iAmExemptFromFatcaReporting?: Yes;
217
- iAmNotSubjectToBackupWithholding?: Yes;
217
+ iAmNotSubjectToBackupWithholding?: YesNo;
218
218
  iAuthorizeWithholdingAgent?: Yes;
219
219
  iConfirmIncomeIsNonUs?: Yes;
220
220
  iConfirmTheBeneficialOwnerIsExempt?: Yes;
@@ -0,0 +1,5 @@
1
+ export type AdaptiveMode = 'full' | 'skipEdit' | 'skipLock';
2
+ export type ForbiddenHeaderKeys = 'authorization' | 'content-type';
3
+ export type SafeProxyHeaders<T extends Record<string, string>> = T & {
4
+ [K in keyof T as K extends string ? Lowercase<K> extends ForbiddenHeaderKeys ? K : never : never]?: never;
5
+ };
@@ -1,7 +1,6 @@
1
1
  import { TaxDocumentation } from '../types';
2
2
  export declare const getDataFields: (fields: TaxDocumentation) => {
3
3
  iConfirmTheTaxIdIsCorrect: undefined;
4
- iAmNotSubjectToBackupWithholding: undefined;
5
4
  iAmACitizenOfTheUs: undefined;
6
5
  iAmExemptFromFatcaReporting: undefined;
7
6
  iConfirmTheBeneficialOwner: undefined;
@@ -182,6 +181,7 @@ export declare const getDataFields: (fields: TaxDocumentation) => {
182
181
  regardedOwnerUsTinMatchVerification?: import('../types').YesNo;
183
182
  exemptFatcaCode?: string;
184
183
  exemptPayeeCode?: string;
184
+ iAmNotSubjectToBackupWithholding?: import('../types').YesNo;
185
185
  iConfirmTheInformationIsCorrectComplete?: import('../types').Yes;
186
186
  iHaveCapacityToSign?: import('../types').Yes;
187
187
  signature?: string;
@@ -1,3 +1,5 @@
1
- export declare const getHeaders: ({ bearerToken }: {
1
+ import { SafeProxyHeaders } from '../types/props';
2
+ export declare const getHeaders: <TProxyHeaders extends Record<string, string>>({ bearerToken, customHeaders, }: {
2
3
  bearerToken: string;
4
+ customHeaders: SafeProxyHeaders<TProxyHeaders> | undefined;
3
5
  }) => Headers;
@@ -0,0 +1 @@
1
+ export declare const normalizeHeaders: (proxyHeaders: Record<string, string> | undefined) => Record<string, string> | undefined;
@@ -168,7 +168,7 @@ export declare const transformInboundControllingPersons: (controllingPersons: Ar
168
168
  exemptPayeeCode?: string;
169
169
  iAmACitizenOfTheUs?: import('../../types/Yes.ts').Yes;
170
170
  iAmExemptFromFatcaReporting?: import('../../types/Yes.ts').Yes;
171
- iAmNotSubjectToBackupWithholding?: import('../../types/Yes.ts').Yes;
171
+ iAmNotSubjectToBackupWithholding?: import('../../types/YesNo.ts').YesNo;
172
172
  iAuthorizeWithholdingAgent?: import('../../types/Yes.ts').Yes;
173
173
  iConfirmIncomeIsNonUs?: import('../../types/Yes.ts').Yes;
174
174
  iConfirmTheBeneficialOwnerIsExempt?: import('../../types/Yes.ts').Yes;
@@ -1,5 +1,5 @@
1
1
  import { TaxDocumentation, TaxDocumentationKey } from 'types/TaxDocumentation';
2
- import { ExpandedPropertyFile } from '../../i18n/types/PropertyFile';
2
+ import { ExpandedLanguage } from '../../i18n/types/Language';
3
3
  import { QuestionnaireProp } from '../../types';
4
4
  import { ExternalValidations } from '../../types/client';
5
5
  type Options = {
@@ -8,7 +8,7 @@ type Options = {
8
8
  externalValidations?: ExternalValidations;
9
9
  questionnaire?: QuestionnaireProp;
10
10
  };
11
- type ExpandedStatusKey = keyof ExpandedPropertyFile['status'];
11
+ type ExpandedStatusKey = keyof ExpandedLanguage['status'];
12
12
  export type FormUIValidation = (fields: TaxDocumentation, questionnaire?: QuestionnaireProp, options?: Options) => ExpandedStatusKey[] | undefined;
13
13
  export type QuestionnaireValidations = {
14
14
  [key in TaxDocumentationKey]?: FormUIValidation;