@taxbit/react-sdk 0.6.2 → 1.0.0-beta.1

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 (250) hide show
  1. package/README.md +65 -61
  2. package/dist/src/components/Address/Address.d.ts +1 -2
  3. package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +1 -2
  4. package/dist/src/components/Form/Form.d.ts +2 -1
  5. package/dist/src/components/Form/index.d.ts +1 -1
  6. package/dist/src/contexts/QuestionnaireUI/QuestionnaireUIProvider.d.ts +6 -0
  7. package/dist/src/contexts/QuestionnaireUI/getLocal.d.ts +19 -0
  8. package/dist/src/contexts/{FormUI → QuestionnaireUI}/index.d.ts +3 -3
  9. package/dist/src/contexts/{FormUI/useFormUI.d.ts → QuestionnaireUI/useQuestionnaireUI.d.ts} +6 -6
  10. package/dist/src/contexts/{FormUI/useFormUIContext.d.ts → QuestionnaireUI/useQuestionnaireUIContext.d.ts} +18 -18
  11. package/dist/src/contexts/TaxDocumentation/TaxbitQuestionnaireProvider.d.ts +7 -0
  12. package/dist/src/contexts/TaxDocumentation/index.d.ts +1 -1
  13. package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +13 -15
  14. package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +24 -30
  15. package/dist/src/contexts/index.d.ts +2 -2
  16. package/dist/src/entry/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +9 -0
  17. package/dist/src/entry/TaxbitQuestionnaire/index.d.ts +1 -0
  18. package/dist/src/entry/index.d.ts +4 -6
  19. package/dist/src/hooks/index.d.ts +1 -1
  20. package/dist/src/hooks/useTaxbit/__tests__/clientTaxDocumentation.d.ts +2 -0
  21. package/dist/src/hooks/{useTaxBit → useTaxbit}/__tests__/serverTaxDocumentation.d.ts +1 -1
  22. package/dist/src/hooks/useTaxbit/index.d.ts +1 -0
  23. package/dist/src/hooks/useTaxbit/useTaxbit.d.ts +9 -0
  24. package/dist/src/hooks/useTaxbit/useTaxbitConnect.d.ts +8 -0
  25. package/dist/src/hooks/useTaxbit/useTaxbitStatus.d.ts +8 -0
  26. package/dist/src/i18n/index.d.ts +1 -1
  27. package/dist/src/i18n/locales/bg.d.ts +1 -0
  28. package/dist/src/i18n/locales/cs.d.ts +1 -0
  29. package/dist/src/i18n/locales/da.d.ts +1 -0
  30. package/dist/src/i18n/locales/de-at.d.ts +1 -2
  31. package/dist/src/i18n/locales/de.d.ts +3 -0
  32. package/dist/src/i18n/locales/el-cy.d.ts +3 -2
  33. package/dist/src/i18n/locales/el.d.ts +3 -0
  34. package/dist/src/i18n/locales/{bg-bg.d.ts → en-nz.d.ts} +1 -1
  35. package/dist/src/i18n/locales/{cs-cz.d.ts → en.d.ts} +1 -1
  36. package/dist/src/i18n/locales/{da-dk.d.ts → es.d.ts} +1 -1
  37. package/dist/src/i18n/locales/et.d.ts +1 -0
  38. package/dist/src/i18n/locales/fi.d.ts +1 -0
  39. package/dist/src/i18n/locales/{de-de.d.ts → fr-ca.d.ts} +1 -1
  40. package/dist/src/i18n/locales/fr-lu.d.ts +1 -2
  41. package/dist/src/i18n/locales/fr.d.ts +2 -0
  42. package/dist/src/i18n/locales/ga.d.ts +2 -0
  43. package/dist/src/i18n/locales/hr.d.ts +1 -0
  44. package/dist/src/i18n/locales/hu.d.ts +1 -0
  45. package/dist/src/i18n/locales/index.d.ts +33 -30
  46. package/dist/src/i18n/locales/it.d.ts +1 -0
  47. package/dist/src/i18n/locales/lt.d.ts +3 -0
  48. package/dist/src/i18n/locales/lv.d.ts +1 -0
  49. package/dist/src/i18n/locales/mergePropertyFiles.d.ts +6 -0
  50. package/dist/src/i18n/locales/mt.d.ts +1 -0
  51. package/dist/src/i18n/locales/nl-be.d.ts +3 -2
  52. package/dist/src/i18n/locales/nl.d.ts +1 -0
  53. package/dist/src/i18n/locales/no.d.ts +1 -0
  54. package/dist/src/i18n/locales/pl.d.ts +3 -0
  55. package/dist/src/i18n/locales/pt.d.ts +1 -0
  56. package/dist/src/i18n/locales/ro.d.ts +1 -0
  57. package/dist/src/i18n/locales/sk.d.ts +1 -0
  58. package/dist/src/i18n/locales/sl.d.ts +1 -0
  59. package/dist/src/i18n/locales/sv.d.ts +1 -0
  60. package/dist/src/i18n/locales/translation-missing.d.ts +5 -0
  61. package/dist/src/i18n/localizationFileMap.d.ts +7 -0
  62. package/dist/src/i18n/types/LocalizationKey.d.ts +8 -8
  63. package/dist/src/i18n/types/PropertyFile.d.ts +23 -19
  64. package/dist/src/i18n/utils/getText.d.ts +2 -9
  65. package/dist/src/lookups/countryOptions.d.ts +1 -7
  66. package/dist/src/lookups/dayOptions.d.ts +1 -1
  67. package/dist/src/lookups/fatcaCodeOptions.d.ts +2 -2
  68. package/dist/src/lookups/foreignAccountHolderAccountTypeOptions.d.ts +3 -15
  69. package/dist/src/lookups/foreignOtherClassificationOptions.d.ts +3 -17
  70. package/dist/src/lookups/foreignRegardedOwnerAccountTypeOptions.d.ts +3 -11
  71. package/dist/src/lookups/foreignTrustClassificationOptions.d.ts +3 -9
  72. package/dist/src/lookups/index.d.ts +13 -16
  73. package/dist/src/lookups/localeOptions.d.ts +5 -1
  74. package/dist/src/lookups/payeeCodeOptions.d.ts +2 -2
  75. package/dist/src/lookups/toOptions.d.ts +1 -1
  76. package/dist/src/lookups/usAccountHolderAccountTypeOptions.d.ts +3 -23
  77. package/dist/src/lookups/usLlcAccountTypeOptions.d.ts +3 -9
  78. package/dist/src/lookups/usRegardedOwnerAccountTypeOptions.d.ts +3 -15
  79. package/dist/src/services/api.d.ts +7 -2
  80. package/dist/src/test/Wrapper.d.ts +3 -3
  81. package/dist/src/test/getWrapper.d.ts +3 -3
  82. package/dist/src/test/utils/helpers.d.ts +7 -2
  83. package/dist/src/types/InputStep.d.ts +2 -2
  84. package/dist/src/types/Locale.d.ts +1 -1
  85. package/dist/src/types/Questionnaire.d.ts +1 -0
  86. package/dist/src/types/StepId.d.ts +1 -1
  87. package/dist/src/types/TaxDocumentation.d.ts +30 -30
  88. package/dist/src/types/client/ClientTaxDocumentationStatus.d.ts +12 -3
  89. package/dist/src/types/client/index.d.ts +0 -1
  90. package/dist/src/types/index.d.ts +1 -6
  91. package/dist/src/types/server/TaxDocumentationStatus.d.ts +12 -3
  92. package/dist/src/types/server/index.d.ts +0 -1
  93. package/dist/src/ui/ActionButton/index.d.ts +1 -1
  94. package/dist/src/ui/CheckBox/CheckBox.d.ts +2 -1
  95. package/dist/src/ui/DateOfBirthInput/DateOfBirthInput.d.ts +1 -2
  96. package/dist/src/ui/DateOfBirthInput/index.d.ts +1 -1
  97. package/dist/src/ui/DateOfBirthInput/useDateOfBirthInput.d.ts +2 -2
  98. package/dist/src/ui/FormattedInput/FormattedInput.d.ts +11 -0
  99. package/dist/src/ui/FormattedInput/index.d.ts +1 -0
  100. package/dist/src/ui/PasswordInput/PasswordInput.d.ts +9 -0
  101. package/dist/src/ui/PasswordInput/index.d.ts +1 -0
  102. package/dist/src/ui/RadioButtons/index.d.ts +1 -1
  103. package/dist/src/ui/Select/index.d.ts +1 -1
  104. package/dist/src/ui/{MaskedInput/MaskedInput.d.ts → ShowHideInput/ShowHideInput.d.ts} +2 -3
  105. package/dist/src/ui/ShowHideInput/index.d.ts +1 -0
  106. package/dist/src/ui/TextInput/TextInput.d.ts +1 -2
  107. package/dist/src/ui/TextInput/index.d.ts +1 -1
  108. package/dist/src/ui/index.d.ts +3 -1
  109. package/dist/src/utils/formatUsTin.d.ts +5 -0
  110. package/dist/src/utils/getFieldsState.d.ts +16 -10
  111. package/dist/src/utils/getMaskedContent.d.ts +1 -0
  112. package/dist/src/utils/getPromptKeyMap.d.ts +22 -22
  113. package/dist/src/utils/index.d.ts +3 -2
  114. package/dist/src/utils/mergeClientTaxDocumentationData.d.ts +1 -1
  115. package/dist/src/utils/transformForClient/convertYesNoToBoolean.d.ts +1 -1
  116. package/dist/src/utils/transformForClient/convertYesNoToBooleanOrUndefined.d.ts +2 -0
  117. package/dist/src/utils/transformForClient/index.d.ts +1 -1
  118. package/dist/src/utils/transformForClient/transformForClient.d.ts +3 -2
  119. package/dist/src/utils/transformForClient/transformForClientAccoutHolder.d.ts +1 -53
  120. package/dist/src/utils/transformForClient/transformForClientRegardedOwner.d.ts +1 -36
  121. package/dist/src/utils/transformInbound/getForeignAccountType.d.ts +1 -1
  122. package/dist/src/utils/transformInbound/getForeignOtherClassification.d.ts +1 -1
  123. package/dist/src/utils/transformInbound/getForeignTrustClassification.d.ts +1 -1
  124. package/dist/src/utils/transformInbound/getLLCClassification.d.ts +1 -1
  125. package/dist/src/utils/transformInbound/getUsAccountType.d.ts +1 -1
  126. package/dist/src/utils/transformInbound/transformInbound.d.ts +3 -3
  127. package/dist/src/utils/uppercase.d.ts +1 -0
  128. package/dist/src/validations/getInvalidFields.d.ts +2 -2
  129. package/dist/src/validations/getRequiredFields.d.ts +2 -2
  130. package/dist/src/validations/getSupportedFields.d.ts +2 -2
  131. package/dist/src/validations/getVisibleFields.d.ts +2 -2
  132. package/dist/src/widgets/TaxbitQuestionnairePersist/TaxbitQuestionnairePersist.d.ts +5 -0
  133. package/dist/src/widgets/TaxbitQuestionnairePersist/index.d.ts +2 -0
  134. package/dist/src/widgets/TaxbitQuestionnairePersist/useTaxbitPersist.d.ts +25 -0
  135. package/dist/src/widgets/index.d.ts +1 -1
  136. package/dist/src/wizard/AddressInput/AddressInput.d.ts +2 -1
  137. package/dist/src/wizard/LanguageSelector/LanguageSelector.d.ts +4 -1
  138. package/dist/src/wizard/ResidenceInput/ResidenceInput.d.ts +1 -2
  139. package/dist/src/wizard/RowInput/AddressRow/AddressRow.d.ts +2 -1
  140. package/dist/src/wizard/RowInput/CheckBoxRow/CheckBoxRow.d.ts +4 -3
  141. package/dist/src/wizard/RowInput/DateOfBirthRow/index.d.ts +1 -1
  142. package/dist/src/wizard/RowInput/ErrorRow/index.d.ts +1 -1
  143. package/dist/src/wizard/RowInput/RadioButtonRow/RadioButtonRow.d.ts +2 -2
  144. package/dist/src/wizard/RowInput/ShowHideInputRow/ShowHideInputRow.d.ts +11 -0
  145. package/dist/src/wizard/RowInput/ShowHideInputRow/index.d.ts +1 -0
  146. package/dist/src/wizard/RowInput/TextInputRow/TextInputRow.d.ts +3 -4
  147. package/dist/src/wizard/RowInput/index.d.ts +1 -1
  148. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderClassification/index.d.ts +1 -0
  149. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderContact/index.d.ts +1 -0
  150. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTax/index.d.ts +1 -0
  151. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTaxClarification/index.d.ts +1 -0
  152. package/dist/src/wizard/TaxbitQuestionnaireUI/AppError/index.d.ts +1 -0
  153. package/dist/src/wizard/TaxbitQuestionnaireUI/Exemptions/index.d.ts +1 -0
  154. package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerContact/index.d.ts +1 -0
  155. package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerTax/index.d.ts +1 -0
  156. package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/index.d.ts +1 -0
  157. package/dist/src/wizard/TaxbitQuestionnaireUI/TaxbitQuestionnaireUI.d.ts +6 -0
  158. package/dist/src/wizard/TaxbitQuestionnaireUI/index.d.ts +1 -0
  159. package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/steps.d.ts +0 -1
  160. package/dist/src/wizard/index.d.ts +1 -1
  161. package/dist/taxbit-react-sdk.js +6557 -16802
  162. package/dist/taxbit-react-sdk.umd.cjs +10 -10
  163. package/package.json +10 -18
  164. package/style/basic.css +32 -13
  165. package/style/inline.css +32 -13
  166. package/dist/src/contexts/FormUI/FormUIProvider.d.ts +0 -6
  167. package/dist/src/contexts/FormUI/getLocal.d.ts +0 -20
  168. package/dist/src/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +0 -7
  169. package/dist/src/hooks/useTaxBit/__tests__/clientTaxDocumentation.d.ts +0 -2
  170. package/dist/src/hooks/useTaxBit/index.d.ts +0 -1
  171. package/dist/src/hooks/useTaxBit/useTaxBit.d.ts +0 -7
  172. package/dist/src/i18n/i18n.d.ts +0 -7
  173. package/dist/src/i18n/locales/el-gr.d.ts +0 -2
  174. package/dist/src/i18n/locales/es-es.d.ts +0 -2
  175. package/dist/src/i18n/locales/et-ee.d.ts +0 -2
  176. package/dist/src/i18n/locales/fi-fi.d.ts +0 -2
  177. package/dist/src/i18n/locales/fr-fr.d.ts +0 -2
  178. package/dist/src/i18n/locales/ga-ie.d.ts +0 -2
  179. package/dist/src/i18n/locales/hr-hr.d.ts +0 -2
  180. package/dist/src/i18n/locales/hu-hu.d.ts +0 -2
  181. package/dist/src/i18n/locales/it-it.d.ts +0 -2
  182. package/dist/src/i18n/locales/lt-lt.d.ts +0 -2
  183. package/dist/src/i18n/locales/lv-lv.d.ts +0 -2
  184. package/dist/src/i18n/locales/mt-mt.d.ts +0 -2
  185. package/dist/src/i18n/locales/nl-nl.d.ts +0 -2
  186. package/dist/src/i18n/locales/no-no.d.ts +0 -2
  187. package/dist/src/i18n/locales/pl-pl.d.ts +0 -2
  188. package/dist/src/i18n/locales/pt-pt.d.ts +0 -2
  189. package/dist/src/i18n/locales/ro-ro.d.ts +0 -2
  190. package/dist/src/i18n/locales/sk-sk.d.ts +0 -2
  191. package/dist/src/i18n/locales/sl-si.d.ts +0 -2
  192. package/dist/src/i18n/locales/sv-se.d.ts +0 -2
  193. package/dist/src/lookups/caProvinceOptions.d.ts +0 -4
  194. package/dist/src/lookups/monthOptions.d.ts +0 -4
  195. package/dist/src/lookups/usStateOptions.d.ts +0 -4
  196. package/dist/src/types/AccountType.d.ts +0 -6
  197. package/dist/src/types/CaProvinceCode.d.ts +0 -1
  198. package/dist/src/types/CountryCode.d.ts +0 -3
  199. package/dist/src/types/MonthCode.d.ts +0 -1
  200. package/dist/src/types/TaxForm.d.ts +0 -1
  201. package/dist/src/types/UsStateCode.d.ts +0 -1
  202. package/dist/src/types/client/ClientTaxDocumentation.d.ts +0 -84
  203. package/dist/src/types/server/ComprehensiveTaxDocumentation.d.ts +0 -84
  204. package/dist/src/ui/MaskedInput/index.d.ts +0 -1
  205. package/dist/src/ui/Password/Password.d.ts +0 -12
  206. package/dist/src/ui/Password/index.d.ts +0 -1
  207. package/dist/src/utils/date.d.ts +0 -4
  208. package/dist/src/utils/getHintKeyMap.d.ts +0 -113
  209. package/dist/src/utils/getVerboseDate.d.ts +0 -1
  210. package/dist/src/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +0 -4
  211. package/dist/src/widgets/TaxBitForm/TaxBitForm.d.ts +0 -5
  212. package/dist/src/widgets/TaxBitForm/index.d.ts +0 -2
  213. package/dist/src/widgets/TaxBitForm/useTaxBitForm.d.ts +0 -22
  214. package/dist/src/wizard/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +0 -2
  215. package/dist/src/wizard/PlaceOfBirthInput/index.d.ts +0 -1
  216. package/dist/src/wizard/RowInput/MaskedInputRow/MaskedInputRow.d.ts +0 -11
  217. package/dist/src/wizard/RowInput/MaskedInputRow/index.d.ts +0 -1
  218. package/dist/src/wizard/TaxBitFormUI/AccountHolderClassification/index.d.ts +0 -1
  219. package/dist/src/wizard/TaxBitFormUI/AccountHolderContact/index.d.ts +0 -1
  220. package/dist/src/wizard/TaxBitFormUI/AccountHolderTax/index.d.ts +0 -1
  221. package/dist/src/wizard/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +0 -1
  222. package/dist/src/wizard/TaxBitFormUI/AppError/index.d.ts +0 -1
  223. package/dist/src/wizard/TaxBitFormUI/Exemptions/index.d.ts +0 -1
  224. package/dist/src/wizard/TaxBitFormUI/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +0 -2
  225. package/dist/src/wizard/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +0 -1
  226. package/dist/src/wizard/TaxBitFormUI/RegardedOwnerContact/index.d.ts +0 -1
  227. package/dist/src/wizard/TaxBitFormUI/RegardedOwnerTax/index.d.ts +0 -1
  228. package/dist/src/wizard/TaxBitFormUI/Summary/index.d.ts +0 -1
  229. package/dist/src/wizard/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +0 -4
  230. package/dist/src/wizard/TaxBitFormUI/TaxBitFormUI.d.ts +0 -6
  231. package/dist/src/wizard/TaxBitFormUI/index.d.ts +0 -2
  232. /package/dist/src/contexts/{FormUI → QuestionnaireUI}/shiftResidence.d.ts +0 -0
  233. /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitDAC7Form.loaded.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.complete.test.d.ts} +0 -0
  234. /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitForm.complete.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.loaded.test.d.ts} +0 -0
  235. /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitForm.loaded.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.loading.test.d.ts} +0 -0
  236. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderClassification/AccountHolderClassification.d.ts +0 -0
  237. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderContact/AccountHolderContact.d.ts +0 -0
  238. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderTax/AccountHolderTax.d.ts +0 -0
  239. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -0
  240. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AppError/AppError.d.ts +0 -0
  241. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Confirmation/Confirmation.d.ts +0 -0
  242. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Confirmation/index.d.ts +0 -0
  243. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Exemptions/Exemptions.d.ts +0 -0
  244. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/RegardedOwnerContact/RegardedOwnerContact.d.ts +0 -0
  245. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/RegardedOwnerTax/RegardedOwnerTax.d.ts +0 -0
  246. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Summary/Recap.d.ts +0 -0
  247. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Summary/Summary.d.ts +0 -0
  248. /package/dist/src/{widgets/TaxBitForm/__tests__/TaxBitForm.loading.test.d.ts → wizard/TaxbitQuestionnaireUI/__tests__/TaxbitDPSQuestionnaireUI.test.d.ts} +0 -0
  249. /package/dist/src/wizard/{TaxBitFormUI/__tests__/TaxBitDAC7FormUI.test.d.ts → TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.test.d.ts} +0 -0
  250. /package/dist/src/wizard/{TaxBitFormUI/__tests__/TaxBitFormUI.test.d.ts → TaxbitQuestionnaireUI/__tests__/TaxbitWFormQuestionnaireUI.test.d.ts} +0 -0
@@ -1,4 +0,0 @@
1
- export declare const isValidAge: (birthday: string) => boolean;
2
- export declare const isAboveMinimumAge: (birthday: string, minAge?: number) => boolean;
3
- export declare const isValidDateFormat: (dateString: string) => boolean;
4
- export declare const isValidDateString: (birthday: string) => boolean;
@@ -1,113 +0,0 @@
1
- import { TaxDocumentationKey } from "types/TaxDocumentation";
2
- import { HintKey } from "i18n/types";
3
- export declare const getHintKeyMap: () => {
4
- signature?: "dateOfBirth" | undefined;
5
- source?: "dateOfBirth" | undefined;
6
- exemptFatcaCode?: "dateOfBirth" | undefined;
7
- exemptPayeeCode?: "dateOfBirth" | undefined;
8
- iAcknowlegeESignIsOk?: "dateOfBirth" | undefined;
9
- iAmACitizenOfTheUs?: "dateOfBirth" | undefined;
10
- iAmExemptFromFatcaReporting?: "dateOfBirth" | undefined;
11
- iAmNotSubjectToBackupWithholding?: "dateOfBirth" | undefined;
12
- iAuthorizeWithholdingAgent?: "dateOfBirth" | undefined;
13
- iCertifyToAll?: "dateOfBirth" | undefined;
14
- iConfirmIncomeIsNonUs?: "dateOfBirth" | undefined;
15
- iConfirmTheBeneficialOwnerIsExempt?: "dateOfBirth" | undefined;
16
- iConfirmTheInformationIsCorrectComplete?: "dateOfBirth" | undefined;
17
- iConfirmTheEntityIsNotAUsPerson?: "dateOfBirth" | undefined;
18
- iConfirmTheEntityIsTheBeneficialOwner?: "dateOfBirth" | undefined;
19
- iConfirmTheTaxIdIsCorrect?: "dateOfBirth" | undefined;
20
- iHaveLegalCapacityToSign?: "dateOfBirth" | undefined;
21
- regardedOwnerUsPerson?: "dateOfBirth" | undefined;
22
- accountHolderAddressCity?: "dateOfBirth" | undefined;
23
- accountHolderAddressCountry?: "dateOfBirth" | undefined;
24
- accountHolderAddressState?: "dateOfBirth" | undefined;
25
- accountHolderAddressStreet2?: "dateOfBirth" | undefined;
26
- accountHolderAddressStreet?: "dateOfBirth" | undefined;
27
- accountHolderAddressZip?: "dateOfBirth" | undefined;
28
- accountHolderCityOfBirth?: "dateOfBirth" | undefined;
29
- accountHolderCountryOfBirth?: "dateOfBirth" | undefined;
30
- accountHolderCountryOfCitizenship?: "dateOfBirth" | undefined;
31
- accountHolderDateOfBirth?: "dateOfBirth" | undefined;
32
- accountHolderDbaName?: "dateOfBirth" | undefined;
33
- accountHolderMailingAddressCity?: "dateOfBirth" | undefined;
34
- accountHolderMailingAddressCountry?: "dateOfBirth" | undefined;
35
- accountHolderMailingAddressIsDifferent?: "dateOfBirth" | undefined;
36
- accountHolderMailingAddressState?: "dateOfBirth" | undefined;
37
- accountHolderMailingAddressStreet2?: "dateOfBirth" | undefined;
38
- accountHolderMailingAddressStreet?: "dateOfBirth" | undefined;
39
- accountHolderMailingAddressZip?: "dateOfBirth" | undefined;
40
- accountHolderName?: "dateOfBirth" | undefined;
41
- accountHolderFinancialAccountIdentifier?: "dateOfBirth" | undefined;
42
- accountHolderFinancialAccountName?: "dateOfBirth" | undefined;
43
- accountHolderForeignTin?: "dateOfBirth" | undefined;
44
- accountHolderForeignTinIsNotRequired?: "dateOfBirth" | undefined;
45
- accountHolderTaxResidenceCountry1?: "dateOfBirth" | undefined;
46
- accountHolderTaxResidenceForeignTin1?: "dateOfBirth" | undefined;
47
- accountHolderTaxResidenceForeignTin1IsNotRequired?: "dateOfBirth" | undefined;
48
- accountHolderTaxResidenceCountry2?: "dateOfBirth" | undefined;
49
- accountHolderTaxResidenceForeignTin2?: "dateOfBirth" | undefined;
50
- accountHolderTaxResidenceForeignTin2IsNotRequired?: "dateOfBirth" | undefined;
51
- accountHolderTaxResidenceCountry3?: "dateOfBirth" | undefined;
52
- accountHolderTaxResidenceForeignTin3?: "dateOfBirth" | undefined;
53
- accountHolderTaxResidenceForeignTin3IsNotRequired?: "dateOfBirth" | undefined;
54
- accountHolderTaxResidenceCountry4?: "dateOfBirth" | undefined;
55
- accountHolderTaxResidenceForeignTin4?: "dateOfBirth" | undefined;
56
- accountHolderTaxResidenceForeignTin4IsNotRequired?: "dateOfBirth" | undefined;
57
- accountHolderTaxResidenceCountry5?: "dateOfBirth" | undefined;
58
- accountHolderTaxResidenceForeignTin5?: "dateOfBirth" | undefined;
59
- accountHolderTaxResidenceForeignTin5IsNotRequired?: "dateOfBirth" | undefined;
60
- accountHolderShowTaxResidence2?: "dateOfBirth" | undefined;
61
- accountHolderShowTaxResidence3?: "dateOfBirth" | undefined;
62
- accountHolderShowTaxResidence4?: "dateOfBirth" | undefined;
63
- accountHolderShowTaxResidence5?: "dateOfBirth" | undefined;
64
- accountHolderUsTin?: "dateOfBirth" | undefined;
65
- accountHolderVatIdentificationNumber?: "dateOfBirth" | undefined;
66
- accountHolderVatIsNotRequired?: "dateOfBirth" | undefined;
67
- accountHolderVatCountry?: "dateOfBirth" | undefined;
68
- accountHolderBusinessRegistrationNumber?: "dateOfBirth" | undefined;
69
- accountHolderBusinessRegistrationCountry?: "dateOfBirth" | undefined;
70
- accountHolderIsIndividual?: "dateOfBirth" | undefined;
71
- accountHolderIsEuResident?: "dateOfBirth" | undefined;
72
- accountHolderUsPerson?: "dateOfBirth" | undefined;
73
- accountHolderUsAccountType?: "dateOfBirth" | undefined;
74
- accountHolderUsSmllcElection?: "dateOfBirth" | undefined;
75
- accountHolderUsLlcClassification?: "dateOfBirth" | undefined;
76
- accountHolderUsOtherClassification?: "dateOfBirth" | undefined;
77
- accountHolderUsTrustEstateEin?: "dateOfBirth" | undefined;
78
- accountHolderForeignAccountType?: "dateOfBirth" | undefined;
79
- accountHolderForeignTrustClassification?: "dateOfBirth" | undefined;
80
- accountHolderForeignOtherClassification?: "dateOfBirth" | undefined;
81
- regardedOwnerAddressCity?: "dateOfBirth" | undefined;
82
- regardedOwnerAddressCountry?: "dateOfBirth" | undefined;
83
- regardedOwnerAddressState?: "dateOfBirth" | undefined;
84
- regardedOwnerAddressStreet2?: "dateOfBirth" | undefined;
85
- regardedOwnerAddressStreet?: "dateOfBirth" | undefined;
86
- regardedOwnerAddressZip?: "dateOfBirth" | undefined;
87
- regardedOwnerCountryOfCitizenship?: "dateOfBirth" | undefined;
88
- regardedOwnerDateOfBirth?: "dateOfBirth" | undefined;
89
- regardedOwnerDbaName?: "dateOfBirth" | undefined;
90
- regardedOwnerMailingAddressCity?: "dateOfBirth" | undefined;
91
- regardedOwnerMailingAddressCountry?: "dateOfBirth" | undefined;
92
- regardedOwnerMailingAddressIsDifferent?: "dateOfBirth" | undefined;
93
- regardedOwnerMailingAddressState?: "dateOfBirth" | undefined;
94
- regardedOwnerMailingAddressStreet2?: "dateOfBirth" | undefined;
95
- regardedOwnerMailingAddressStreet?: "dateOfBirth" | undefined;
96
- regardedOwnerMailingAddressZip?: "dateOfBirth" | undefined;
97
- regardedOwnerName?: "dateOfBirth" | undefined;
98
- regardedOwnerUsAccountType?: "dateOfBirth" | undefined;
99
- regardedOwnerUsLlcClassification?: "dateOfBirth" | undefined;
100
- regardedOwnerUsOtherClassification?: "dateOfBirth" | undefined;
101
- regardedOwnerUsTrustEstateEin?: "dateOfBirth" | undefined;
102
- regardedOwnerForeignAccountType?: "dateOfBirth" | undefined;
103
- regardedOwnerForeignTrustClassification?: "dateOfBirth" | undefined;
104
- regardedOwnerForeignOtherClassification?: "dateOfBirth" | undefined;
105
- regardedOwnerForeignTin?: "dateOfBirth" | undefined;
106
- regardedOwnerForeignTinIsNotRequired?: "dateOfBirth" | undefined;
107
- regardedOwnerUsTin?: "dateOfBirth" | undefined;
108
- accountHolderTaxResidences?: "dateOfBirth" | undefined;
109
- accountHolderAddress?: "dateOfBirth" | undefined;
110
- accountHolderMailingAddress?: "dateOfBirth" | undefined;
111
- regardedOwnerAddress?: "dateOfBirth" | undefined;
112
- regardedOwnerMailingAddress?: "dateOfBirth" | undefined;
113
- };
@@ -1 +0,0 @@
1
- export declare const getVerboseDate: (dateString: string) => string;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { TaxBitFormProps } from './TaxBitForm';
3
- export type TaxBitDAC7FormProps = Omit<TaxBitFormProps, 'taxForms'>;
4
- export declare const TaxBitDAC7Form: ({ data, staging, bearerToken, language, onSubmit, onProgress, onSuccess, onError, onSettled, }: TaxBitDAC7FormProps) => React.JSX.Element;
@@ -1,5 +0,0 @@
1
- import type { UseTaxDocumentationProps } from 'contexts';
2
- import React from 'react';
3
- import { UseTaxBitFormProps } from 'widgets/TaxBitForm/useTaxBitForm';
4
- export type TaxBitFormProps = Omit<UseTaxDocumentationProps, 'onSubmit'> & UseTaxBitFormProps;
5
- export declare const TaxBitForm: ({ staging, data, bearerToken, language, taxForms, onProgress, onSubmit, onSettled, onSuccess, onError, }: TaxBitFormProps) => React.JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from "./TaxBitForm";
2
- export * from "./TaxBitDAC7Form";
@@ -1,22 +0,0 @@
1
- import { ClientTaxDocumentation, ExternalValidations } from 'types/client';
2
- type TaxBitResponseError = {
3
- message: string;
4
- response: Response;
5
- };
6
- export type UseTaxBitFormProps = {
7
- data?: ClientTaxDocumentation;
8
- staging?: boolean;
9
- bearerToken: string;
10
- onSuccess?: (data?: ClientTaxDocumentation) => void | Promise<void>;
11
- onSettled?: (data?: ClientTaxDocumentation) => void | Promise<void>;
12
- onError?: (error?: TaxBitResponseError) => void | Promise<void>;
13
- onSubmit: (data?: ClientTaxDocumentation) => void | Promise<void>;
14
- };
15
- export declare const useTaxBitForm: ({ bearerToken, data, onSubmit, onSuccess, onSettled, onError, staging, }: UseTaxBitFormProps) => {
16
- handleOnSubmit: (data: ClientTaxDocumentation) => Promise<void>;
17
- externalValidations: ExternalValidations;
18
- formData: ClientTaxDocumentation;
19
- isComplete: boolean;
20
- isLoading: boolean;
21
- };
22
- export {};
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const PlaceOfBirthInput: () => React.JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./PlaceOfBirthInput";
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { MaskedInputProps } from 'ui';
3
- type MaskedInputRowProps = {
4
- label?: true;
5
- subLabel?: true;
6
- hint?: true;
7
- onChange?: (val: string) => string;
8
- disabled?: boolean;
9
- };
10
- export declare const MaskedInputRow: ({ name, label, hint, subLabel, onChange, disabled, }: MaskedInputProps & MaskedInputRowProps) => React.JSX.Element;
11
- export {};
@@ -1 +0,0 @@
1
- export * from "./MaskedInputRow";
@@ -1 +0,0 @@
1
- export * from "./AccountHolderClassification";
@@ -1 +0,0 @@
1
- export * from "./AccountHolderContact";
@@ -1 +0,0 @@
1
- export * from "./AccountHolderTax";
@@ -1 +0,0 @@
1
- export * from "./AccountHolderTaxClarification";
@@ -1 +0,0 @@
1
- export * from './AppError.tsx';
@@ -1 +0,0 @@
1
- export * from "./Exemptions";
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const RegardedOwnerClassification: () => React.JSX.Element;
@@ -1 +0,0 @@
1
- export * from "./RegardedOwnerClassification";
@@ -1 +0,0 @@
1
- export * from "./RegardedOwnerContact";
@@ -1 +0,0 @@
1
- export * from "./RegardedOwnerTax";
@@ -1 +0,0 @@
1
- export * from "./Summary";
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { TaxBitFormUIProps } from './TaxBitFormUI';
3
- export type TaxBitDAC7FormUIProps = Omit<TaxBitFormUIProps, 'taxForms'>;
4
- export declare const TaxBitDAC7FormUI: ({ data, onSubmit, onProgress, language, complete, }: TaxBitDAC7FormUIProps) => React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import { UseTaxDocumentationProps } from 'contexts';
2
- import React from 'react';
3
- export type TaxBitFormUIProps = Omit<UseTaxDocumentationProps, 'step' | 'config'> & {
4
- complete?: boolean;
5
- };
6
- export declare const TaxBitFormUI: ({ data, onSubmit, language, taxForms, complete, onProgress, externalValidations, }: TaxBitFormUIProps) => React.JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './TaxBitDAC7FormUI';
2
- export * from './TaxBitFormUI';