@taxbit/react-sdk 0.2.4 → 0.3.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 (252) hide show
  1. package/README.md +36 -7
  2. package/dist/basic.css +26 -20
  3. package/dist/index.d.ts +1 -1
  4. package/dist/inline.css +26 -21
  5. package/dist/src/contexts/FormUI/shiftResidence.d.ts +2 -0
  6. package/dist/{contexts → src/contexts}/FormUI/useFormUI.d.ts +4 -4
  7. package/dist/{contexts → src/contexts}/FormUI/useFormUIContext.d.ts +20 -20
  8. package/dist/{contexts → src/contexts}/TaxDocumentation/useTaxDocumentation.d.ts +1 -1
  9. package/dist/{contexts → src/contexts}/TaxDocumentation/useTaxDocumentationContext.d.ts +2 -2
  10. package/dist/src/hooks/useTaxBit/__tests__/clientTaxDocumentation.d.ts +2 -0
  11. package/dist/src/hooks/useTaxBit/__tests__/serverTaxDocumentation.d.ts +2 -0
  12. package/dist/{i18n → src/i18n}/index.d.ts +1 -1
  13. package/dist/src/i18n/types/LocalizationKey.d.ts +10 -0
  14. package/dist/{i18n → src/i18n}/types/PropertyFile.d.ts +6 -6
  15. package/dist/{i18n → src/i18n}/utils/getText.d.ts +6 -6
  16. package/dist/{lookups → src/lookups}/countryOptions.d.ts +2 -1
  17. package/dist/{lookups → src/lookups}/foreignAccountHolderAccountTypeOptions.d.ts +1 -1
  18. package/dist/{lookups → src/lookups}/foreignOtherClassificationOptions.d.ts +1 -1
  19. package/dist/{lookups → src/lookups}/usAccountHolderAccountTypeOptions.d.ts +1 -1
  20. package/dist/{types → src/types}/CamelCaseKeys.d.ts +1 -2
  21. package/dist/{types → src/types}/TaxDocumentation.d.ts +5 -2
  22. package/dist/{types → src/types}/client/ClientTaxDocumentation.d.ts +19 -15
  23. package/dist/{types → src/types}/server/ComprehensiveTaxDocumentation.d.ts +4 -1
  24. package/dist/{ui → src/ui}/Actions/Actions.d.ts +1 -1
  25. package/dist/{ui → src/ui}/CheckBox/CheckBox.d.ts +4 -3
  26. package/dist/{ui → src/ui}/MaskedContent/MaskedContent.d.ts +1 -1
  27. package/dist/{ui → src/ui}/MaskedInput/MaskedInput.d.ts +4 -3
  28. package/dist/{ui → src/ui}/Password/Password.d.ts +2 -1
  29. package/dist/{ui → src/ui}/Select/Select.d.ts +9 -8
  30. package/dist/src/utils/camelCaseKeys.d.ts +2 -0
  31. package/dist/{utils → src/utils}/getFieldsState.d.ts +3 -2
  32. package/dist/{utils → src/utils}/getHintKeyMap.d.ts +5 -2
  33. package/dist/{utils → src/utils}/getPromptKeyMap.d.ts +5 -2
  34. package/dist/{utils → src/utils}/index.d.ts +0 -1
  35. package/dist/{utils/transformOutbound → src/utils/transformForClient}/convertYesNoToBoolean.d.ts +1 -1
  36. package/dist/src/utils/transformForClient/transformForClientAccoutHolder.d.ts +54 -0
  37. package/dist/src/utils/transformForClient/transformForClientAddress.d.ts +33 -0
  38. package/dist/src/utils/transformForClient/transformForClientRegardedOwner.d.ts +37 -0
  39. package/dist/src/utils/transformForClient/transformForClientTaxResidenceFields.d.ts +6 -0
  40. package/dist/{validations → src/validations}/getSupportedFields.d.ts +1 -1
  41. package/dist/src/validations/getVisibleFields.d.ts +3 -0
  42. package/dist/{validations → src/validations}/index.d.ts +0 -1
  43. package/dist/{wizard → src/wizard}/ResidenceInput/ResidenceInput.d.ts +2 -1
  44. package/dist/src/wizard/RowInput/ErrorRow/ErrorRow.d.ts +7 -0
  45. package/dist/{wizard → src/wizard}/RowInput/MaskedInputRow/MaskedInputRow.d.ts +4 -3
  46. package/dist/src/wizard/RowInput/SelectRow/SelectRow.d.ts +10 -0
  47. package/dist/src/wizard/TaxBitFormUI/__tests__/TaxBitFormUI.test.d.ts +0 -0
  48. package/dist/src/wizard/TaxBitFormUI/steps.d.ts +9 -0
  49. package/dist/taxbit-react-sdk.js +2240 -2037
  50. package/dist/taxbit-react-sdk.umd.cjs +10 -10
  51. package/package.json +3 -4
  52. package/dist/i18n/types/LocalizationKey.d.ts +0 -10
  53. package/dist/utils/camelCaseKeys.d.ts +0 -1
  54. package/dist/utils/transformOutbound/index.d.ts +0 -6
  55. package/dist/utils/transformOutbound/transformOutbound.d.ts +0 -3
  56. package/dist/utils/transformOutbound/transformToOutboundAccoutHolder.d.ts +0 -3
  57. package/dist/utils/transformOutbound/transformToOutboundAddress.d.ts +0 -6
  58. package/dist/utils/transformOutbound/transformToOutboundRegardedOwner.d.ts +0 -3
  59. package/dist/utils/transformOutbound/transformToOutboundTaxResidenceFields.d.ts +0 -3
  60. package/dist/validations/getSubmittableFields.d.ts +0 -3
  61. package/dist/validations/getVisibleFields.d.ts +0 -3
  62. package/dist/wizard/RowInput/ErrorRow/ErrorRow.d.ts +0 -6
  63. package/dist/wizard/RowInput/SelectRow/SelectRow.d.ts +0 -9
  64. package/dist/wizard/TaxBitFormUI/steps.d.ts +0 -8
  65. /package/dist/{App.d.ts → src/App.d.ts} +0 -0
  66. /package/dist/{components → src/components}/Address/Address.d.ts +0 -0
  67. /package/dist/{components → src/components}/Address/index.d.ts +0 -0
  68. /package/dist/{components → src/components}/ErrorMessage/ErrorMessage.d.ts +0 -0
  69. /package/dist/{components → src/components}/ErrorMessage/index.d.ts +0 -0
  70. /package/dist/{components → src/components}/Form/Form.d.ts +0 -0
  71. /package/dist/{components → src/components}/Form/index.d.ts +0 -0
  72. /package/dist/{components → src/components}/InputStatus/InputStatus.d.ts +0 -0
  73. /package/dist/{components → src/components}/InputStatus/index.d.ts +0 -0
  74. /package/dist/{components → src/components}/Notification/Notification.d.ts +0 -0
  75. /package/dist/{components → src/components}/Notification/index.d.ts +0 -0
  76. /package/dist/{components → src/components}/Row/Row.d.ts +0 -0
  77. /package/dist/{components → src/components}/Row/index.d.ts +0 -0
  78. /package/dist/{components → src/components}/Section/Section.d.ts +0 -0
  79. /package/dist/{components → src/components}/Section/index.d.ts +0 -0
  80. /package/dist/{components → src/components}/index.d.ts +0 -0
  81. /package/dist/{contexts → src/contexts}/FormUI/FormUIProvider.d.ts +0 -0
  82. /package/dist/{contexts → src/contexts}/FormUI/index.d.ts +0 -0
  83. /package/dist/{contexts → src/contexts}/TaxDocumentation/TaxBitFormProvider.d.ts +0 -0
  84. /package/dist/{contexts → src/contexts}/TaxDocumentation/index.d.ts +0 -0
  85. /package/dist/{contexts → src/contexts}/createCtx.d.ts +0 -0
  86. /package/dist/{contexts → src/contexts}/index.d.ts +0 -0
  87. /package/dist/{entry → src/entry}/index.d.ts +0 -0
  88. /package/dist/{hooks → src/hooks}/index.d.ts +0 -0
  89. /package/dist/{hooks → src/hooks}/useTaxBit/index.d.ts +0 -0
  90. /package/dist/{hooks → src/hooks}/useTaxBit/useTaxBit.d.ts +0 -0
  91. /package/dist/{i18n → src/i18n}/i18n.d.ts +0 -0
  92. /package/dist/{i18n → src/i18n}/locales/bg-bg.d.ts +0 -0
  93. /package/dist/{i18n → src/i18n}/locales/cs-cz.d.ts +0 -0
  94. /package/dist/{i18n → src/i18n}/locales/da-dk.d.ts +0 -0
  95. /package/dist/{i18n → src/i18n}/locales/de-at.d.ts +0 -0
  96. /package/dist/{i18n → src/i18n}/locales/de-de.d.ts +0 -0
  97. /package/dist/{i18n → src/i18n}/locales/el-cy.d.ts +0 -0
  98. /package/dist/{i18n → src/i18n}/locales/el-gr.d.ts +0 -0
  99. /package/dist/{i18n → src/i18n}/locales/en-gb.d.ts +0 -0
  100. /package/dist/{i18n → src/i18n}/locales/en-us.d.ts +0 -0
  101. /package/dist/{i18n → src/i18n}/locales/es-es.d.ts +0 -0
  102. /package/dist/{i18n → src/i18n}/locales/et-ee.d.ts +0 -0
  103. /package/dist/{i18n → src/i18n}/locales/fi-fi.d.ts +0 -0
  104. /package/dist/{i18n → src/i18n}/locales/fr-fr.d.ts +0 -0
  105. /package/dist/{i18n → src/i18n}/locales/fr-lu.d.ts +0 -0
  106. /package/dist/{i18n → src/i18n}/locales/ga-ie.d.ts +0 -0
  107. /package/dist/{i18n → src/i18n}/locales/hr-hr.d.ts +0 -0
  108. /package/dist/{i18n → src/i18n}/locales/hu-hu.d.ts +0 -0
  109. /package/dist/{i18n → src/i18n}/locales/index.d.ts +0 -0
  110. /package/dist/{i18n → src/i18n}/locales/it-it.d.ts +0 -0
  111. /package/dist/{i18n → src/i18n}/locales/lt-lt.d.ts +0 -0
  112. /package/dist/{i18n → src/i18n}/locales/lv-lv.d.ts +0 -0
  113. /package/dist/{i18n → src/i18n}/locales/mt-mt.d.ts +0 -0
  114. /package/dist/{i18n → src/i18n}/locales/nl-be.d.ts +0 -0
  115. /package/dist/{i18n → src/i18n}/locales/nl-nl.d.ts +0 -0
  116. /package/dist/{i18n → src/i18n}/locales/no-no.d.ts +0 -0
  117. /package/dist/{i18n → src/i18n}/locales/pl-pl.d.ts +0 -0
  118. /package/dist/{i18n → src/i18n}/locales/pt-pt.d.ts +0 -0
  119. /package/dist/{i18n → src/i18n}/locales/ro-ro.d.ts +0 -0
  120. /package/dist/{i18n → src/i18n}/locales/sk-sk.d.ts +0 -0
  121. /package/dist/{i18n → src/i18n}/locales/sl-si.d.ts +0 -0
  122. /package/dist/{i18n → src/i18n}/locales/sv-se.d.ts +0 -0
  123. /package/dist/{i18n → src/i18n}/types/index.d.ts +0 -0
  124. /package/dist/{i18n → src/i18n}/utils/index.d.ts +0 -0
  125. /package/dist/{lookups → src/lookups}/caProvinceOptions.d.ts +0 -0
  126. /package/dist/{lookups → src/lookups}/dayOptions.d.ts +0 -0
  127. /package/dist/{lookups → src/lookups}/fatcaCodeOptions.d.ts +0 -0
  128. /package/dist/{lookups → src/lookups}/foreignRegardedOwnerAccountTypeOptions.d.ts +0 -0
  129. /package/dist/{lookups → src/lookups}/foreignTrustClassificationOptions.d.ts +0 -0
  130. /package/dist/{lookups → src/lookups}/index.d.ts +0 -0
  131. /package/dist/{lookups → src/lookups}/localeOptions.d.ts +0 -0
  132. /package/dist/{lookups → src/lookups}/monthOptions.d.ts +0 -0
  133. /package/dist/{lookups → src/lookups}/payeeCodeOptions.d.ts +0 -0
  134. /package/dist/{lookups → src/lookups}/toOptions.d.ts +0 -0
  135. /package/dist/{lookups → src/lookups}/usLlcAccountTypeOptions.d.ts +0 -0
  136. /package/dist/{lookups → src/lookups}/usRegardedOwnerAccountTypeOptions.d.ts +0 -0
  137. /package/dist/{lookups → src/lookups}/usStateOptions.d.ts +0 -0
  138. /package/dist/{lookups → src/lookups}/yearOptions.d.ts +0 -0
  139. /package/dist/{main.d.ts → src/main.d.ts} +0 -0
  140. /package/dist/{services → src/services}/api.d.ts +0 -0
  141. /package/dist/{test → src/test}/Wrapper.d.ts +0 -0
  142. /package/dist/{test → src/test}/getWrapper.d.ts +0 -0
  143. /package/dist/{test → src/test}/index.d.ts +0 -0
  144. /package/dist/{types → src/types}/AccountType.d.ts +0 -0
  145. /package/dist/{types → src/types}/CaProvinceCode.d.ts +0 -0
  146. /package/dist/{types → src/types}/CountryCode.d.ts +0 -0
  147. /package/dist/{types → src/types}/Locale.d.ts +0 -0
  148. /package/dist/{types → src/types}/MonthCode.d.ts +0 -0
  149. /package/dist/{types → src/types}/TaxForm.d.ts +0 -0
  150. /package/dist/{types → src/types}/UsStateCode.d.ts +0 -0
  151. /package/dist/{types → src/types}/Utilities.d.ts +0 -0
  152. /package/dist/{types → src/types}/Yes.d.ts +0 -0
  153. /package/dist/{types → src/types}/YesNo.d.ts +0 -0
  154. /package/dist/{types → src/types}/client/ClientTaxDocumentationStatus.d.ts +0 -0
  155. /package/dist/{types → src/types}/client/index.d.ts +0 -0
  156. /package/dist/{types → src/types}/index.d.ts +0 -0
  157. /package/dist/{types → src/types}/server/TaxDocumentationStatus.d.ts +0 -0
  158. /package/dist/{types → src/types}/server/enums.d.ts +0 -0
  159. /package/dist/{types → src/types}/server/index.d.ts +0 -0
  160. /package/dist/{ui → src/ui}/ActionButton/ActionButton.d.ts +0 -0
  161. /package/dist/{ui → src/ui}/ActionButton/index.d.ts +0 -0
  162. /package/dist/{ui → src/ui}/Actions/index.d.ts +0 -0
  163. /package/dist/{ui → src/ui}/CheckBox/index.d.ts +0 -0
  164. /package/dist/{ui → src/ui}/DateOfBirthInput/DateOfBirthInput.d.ts +0 -0
  165. /package/dist/{ui → src/ui}/DateOfBirthInput/__tests__/useDateOfBirthInput.test.d.ts +0 -0
  166. /package/dist/{ui → src/ui}/DateOfBirthInput/index.d.ts +0 -0
  167. /package/dist/{ui → src/ui}/DateOfBirthInput/useDateOfBirthInput.d.ts +0 -0
  168. /package/dist/{ui → src/ui}/HideShowButton/HideShowButton.d.ts +0 -0
  169. /package/dist/{ui → src/ui}/HideShowButton/index.d.ts +0 -0
  170. /package/dist/{ui → src/ui}/MaskedContent/index.d.ts +0 -0
  171. /package/dist/{ui → src/ui}/MaskedInput/index.d.ts +0 -0
  172. /package/dist/{ui → src/ui}/Password/index.d.ts +0 -0
  173. /package/dist/{ui → src/ui}/RadioButtons/RadioButtons.d.ts +0 -0
  174. /package/dist/{ui → src/ui}/RadioButtons/__tests__/RadioButtons.test.d.ts +0 -0
  175. /package/dist/{ui → src/ui}/RadioButtons/index.d.ts +0 -0
  176. /package/dist/{ui → src/ui}/Select/index.d.ts +0 -0
  177. /package/dist/{ui → src/ui}/TextInput/TextInput.d.ts +0 -0
  178. /package/dist/{ui → src/ui}/TextInput/index.d.ts +0 -0
  179. /package/dist/{ui → src/ui}/ToggleButton/ToggleButton.d.ts +0 -0
  180. /package/dist/{ui → src/ui}/ToggleButton/index.d.ts +0 -0
  181. /package/dist/{ui → src/ui}/index.d.ts +0 -0
  182. /package/dist/{utils → src/utils}/cx.d.ts +0 -0
  183. /package/dist/{utils → src/utils}/date.d.ts +0 -0
  184. /package/dist/{utils → src/utils}/getMonthlyDayCount.d.ts +0 -0
  185. /package/dist/{utils → src/utils}/getVerboseDate.d.ts +0 -0
  186. /package/dist/{utils → src/utils}/isBlank.d.ts +0 -0
  187. /package/dist/{utils → src/utils}/kebabCase.d.ts +0 -0
  188. /package/dist/{utils → src/utils}/snakeCaseKeys.d.ts +0 -0
  189. /package/dist/{utils → src/utils}/transformForClient/index.d.ts +0 -0
  190. /package/dist/{utils → src/utils}/transformForClient/transformForClient.d.ts +0 -0
  191. /package/dist/{utils → src/utils}/transformInbound/getForeignAccountType.d.ts +0 -0
  192. /package/dist/{utils → src/utils}/transformInbound/getForeignOtherClassification.d.ts +0 -0
  193. /package/dist/{utils → src/utils}/transformInbound/getForeignTrustClassification.d.ts +0 -0
  194. /package/dist/{utils → src/utils}/transformInbound/getLLCClassification.d.ts +0 -0
  195. /package/dist/{utils → src/utils}/transformInbound/getUsAccountType.d.ts +0 -0
  196. /package/dist/{utils → src/utils}/transformInbound/index.d.ts +0 -0
  197. /package/dist/{utils → src/utils}/transformInbound/transformInbound.d.ts +0 -0
  198. /package/dist/{validations → src/validations}/getInvalidFields.d.ts +0 -0
  199. /package/dist/{validations → src/validations}/getNotifiedFields.d.ts +0 -0
  200. /package/dist/{validations → src/validations}/getRequiredFields.d.ts +0 -0
  201. /package/dist/{validations → src/validations}/invalidFieldRules.d.ts +0 -0
  202. /package/dist/{validations → src/validations}/requiredFieldRules.d.ts +0 -0
  203. /package/dist/{widgets → src/widgets}/TaxBitForm/TaxBitDAC7Form.d.ts +0 -0
  204. /package/dist/{widgets → src/widgets}/TaxBitForm/TaxBitForm.d.ts +0 -0
  205. /package/dist/{widgets → src/widgets}/TaxBitForm/index.d.ts +0 -0
  206. /package/dist/{widgets → src/widgets}/index.d.ts +0 -0
  207. /package/dist/{wizard → src/wizard}/AddressInput/AddressInput.d.ts +0 -0
  208. /package/dist/{wizard → src/wizard}/AddressInput/index.d.ts +0 -0
  209. /package/dist/{wizard → src/wizard}/LanguageSelector/LanguageSelector.d.ts +0 -0
  210. /package/dist/{wizard → src/wizard}/LanguageSelector/index.d.ts +0 -0
  211. /package/dist/{wizard → src/wizard}/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +0 -0
  212. /package/dist/{wizard → src/wizard}/PlaceOfBirthInput/index.d.ts +0 -0
  213. /package/dist/{wizard → src/wizard}/ResidenceInput/index.d.ts +0 -0
  214. /package/dist/{wizard → src/wizard}/RowInput/CheckBoxRow/CheckBoxRow.d.ts +0 -0
  215. /package/dist/{wizard → src/wizard}/RowInput/CheckBoxRow/index.d.ts +0 -0
  216. /package/dist/{wizard → src/wizard}/RowInput/DateOfBirthRow/DateOfBirthRow.d.ts +0 -0
  217. /package/dist/{wizard → src/wizard}/RowInput/DateOfBirthRow/index.d.ts +0 -0
  218. /package/dist/{wizard → src/wizard}/RowInput/ErrorRow/index.d.ts +0 -0
  219. /package/dist/{wizard → src/wizard}/RowInput/MaskedInputRow/index.d.ts +0 -0
  220. /package/dist/{wizard → src/wizard}/RowInput/RadioButtonRow/RadioButtonRow.d.ts +0 -0
  221. /package/dist/{wizard → src/wizard}/RowInput/RadioButtonRow/index.d.ts +0 -0
  222. /package/dist/{wizard → src/wizard}/RowInput/SelectRow/index.d.ts +0 -0
  223. /package/dist/{wizard → src/wizard}/RowInput/TextInputRow/TextInputRow.d.ts +0 -0
  224. /package/dist/{wizard → src/wizard}/RowInput/TextInputRow/index.d.ts +0 -0
  225. /package/dist/{wizard → src/wizard}/RowInput/ToggleButtonRow/ToggleButtonRow.d.ts +0 -0
  226. /package/dist/{wizard → src/wizard}/RowInput/ToggleButtonRow/index.d.ts +0 -0
  227. /package/dist/{wizard → src/wizard}/RowInput/VisibleRow/VisibleRow.d.ts +0 -0
  228. /package/dist/{wizard → src/wizard}/RowInput/VisibleRow/index.d.ts +0 -0
  229. /package/dist/{wizard → src/wizard}/RowInput/index.d.ts +0 -0
  230. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderClassification/AccountHolderClassification.d.ts +0 -0
  231. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderClassification/index.d.ts +0 -0
  232. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderContact/AccountHolderContact.d.ts +0 -0
  233. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderContact/index.d.ts +0 -0
  234. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTax/AccountHolderTax.d.ts +0 -0
  235. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTax/index.d.ts +0 -0
  236. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -0
  237. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +0 -0
  238. /package/dist/{wizard → src/wizard}/TaxBitFormUI/Exemptions/Exemptions.d.ts +0 -0
  239. /package/dist/{wizard → src/wizard}/TaxBitFormUI/Exemptions/index.d.ts +0 -0
  240. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +0 -0
  241. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +0 -0
  242. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerContact/RegardedOwnerContact.d.ts +0 -0
  243. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerContact/index.d.ts +0 -0
  244. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerTax/RegardedOwnerTax.d.ts +0 -0
  245. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerTax/index.d.ts +0 -0
  246. /package/dist/{wizard → src/wizard}/TaxBitFormUI/Summary/Recap.d.ts +0 -0
  247. /package/dist/{wizard → src/wizard}/TaxBitFormUI/Summary/Summary.d.ts +0 -0
  248. /package/dist/{wizard → src/wizard}/TaxBitFormUI/Summary/index.d.ts +0 -0
  249. /package/dist/{wizard → src/wizard}/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +0 -0
  250. /package/dist/{wizard → src/wizard}/TaxBitFormUI/TaxBitFormUI.d.ts +0 -0
  251. /package/dist/{wizard → src/wizard}/TaxBitFormUI/index.d.ts +0 -0
  252. /package/dist/{wizard → src/wizard}/index.d.ts +0 -0
@@ -11,5 +11,5 @@ export declare const foreignAccountHolderAccountTypeOptions: readonly [{
11
11
  }, {
12
12
  readonly value: "disregardedEntity";
13
13
  }];
14
- export declare const foreignAccountHolderAccountTypes: ("individual" | "corporation" | "partnership" | "trust" | "other" | "disregardedEntity")[];
14
+ export declare const foreignAccountHolderAccountTypes: ("individual" | "other" | "trust" | "corporation" | "partnership" | "disregardedEntity")[];
15
15
  export type ForeignAccountHolderAccountType = (typeof foreignAccountHolderAccountTypeOptions)[number]["value"];
@@ -13,5 +13,5 @@ export declare const foreignOtherClassificationOptions: readonly [{
13
13
  }, {
14
14
  readonly value: "estate";
15
15
  }];
16
- export declare const foreignOtherClassifications: ("taxExemptOrganization" | "privateFoundation" | "internationalOrganization" | "centralBankOfIssue" | "foreignGovernmentControlledEntity" | "foreignGovernmentIntegralPart" | "estate")[];
16
+ export declare const foreignOtherClassifications: ("estate" | "taxExemptOrganization" | "privateFoundation" | "internationalOrganization" | "centralBankOfIssue" | "foreignGovernmentControlledEntity" | "foreignGovernmentIntegralPart")[];
17
17
  export type ForeignOtherClassification = (typeof foreignOtherClassificationOptions)[number]["value"];
@@ -19,5 +19,5 @@ export declare const usAccountHolderAccountTypeOptions: readonly [{
19
19
  }, {
20
20
  readonly value: "disregardedEntity";
21
21
  }];
22
- export declare const usAccountHolderAccountTypes: ("individual" | "partnership" | "other" | "disregardedEntity" | "soleProprietor" | "llc" | "smllc" | "cCorporation" | "sCorporation" | "trustEstate")[];
22
+ export declare const usAccountHolderAccountTypes: ("individual" | "smllc" | "llc" | "other" | "partnership" | "disregardedEntity" | "soleProprietor" | "cCorporation" | "sCorporation" | "trustEstate")[];
23
23
  export type UsAccountHolderAccountType = (typeof usAccountHolderAccountTypeOptions)[number]["value"];
@@ -1,7 +1,6 @@
1
- type CamelCase<S extends string> = S extends `${infer T}_${infer U}` ? `${T}${Capitalize<CamelCase<U>>}` : S;
1
+ export type CamelCase<S extends string> = S extends `${infer T}_${infer U}` ? `${T}${Capitalize<CamelCase<U>>}` : S;
2
2
  export type CamelCaseKeys<T> = T extends object ? T extends (infer U)[] ? U extends object ? {
3
3
  [K in keyof U as CamelCase<K & string>]: CamelCaseKeys<U[K]>;
4
4
  }[] : T : {
5
5
  [K in keyof T as CamelCase<K & string>]: CamelCaseKeys<T[K]>;
6
6
  } : T;
7
- export {};
@@ -61,8 +61,10 @@ export type AccountHolderTaxData = {
61
61
  accountHolderShowTaxResidence5?: YesNo;
62
62
  accountHolderUsTin?: string;
63
63
  accountHolderVatIdentificationNumber?: string;
64
- accountHolderVatIdentificationNumberIsNotRequired?: Yes;
64
+ accountHolderVatIsNotRequired?: Yes;
65
65
  accountHolderVatCountry?: string;
66
+ accountHolderBusinessRegistrationNumber?: string;
67
+ accountHolderBusinessRegistrationCountry?: string;
66
68
  };
67
69
  export type RegardedOwnerClassificationData = {
68
70
  regardedOwnerUsPerson?: YesNo;
@@ -111,13 +113,14 @@ export type SummaryData = {
111
113
  iConfirmTheBeneficialOwnerIsExempt?: Yes;
112
114
  iConfirmTheEntityIsNotAUsPerson?: Yes;
113
115
  iConfirmTheEntityIsTheBeneficialOwner?: Yes;
116
+ iConfirmTheInformationIsCorrectComplete?: Yes;
114
117
  iConfirmTheTaxIdIsCorrect?: Yes;
115
118
  iHaveLegalCapacityToSign?: Yes;
116
119
  signature?: string;
117
120
  source?: string;
118
121
  };
119
122
  export type CalculatedData = {
120
- accountHolderCountryIsResidence?: YesNo;
123
+ accountHolderTaxResidences?: YesNo;
121
124
  };
122
125
  export type TaxDocumentation = AccountHolderContactData & AccountHolderTaxData & AccountHolderClassificationData & RegardedOwnerContactData & RegardedOwnerClassificationData & RegardedOwnerTaxData & SummaryData & CalculatedData;
123
126
  export type TaxDocumentationKey = keyof TaxDocumentation;
@@ -1,4 +1,4 @@
1
- type Address = {
1
+ type ClientAddress = {
2
2
  city?: string;
3
3
  country?: string;
4
4
  stateOrProvince?: string;
@@ -6,12 +6,17 @@ type Address = {
6
6
  secondLine?: string;
7
7
  postalCode?: string;
8
8
  };
9
- type AccountHolderTaxDocumentation = {
10
- address?: Address;
9
+ type ClientTaxResidence = {
10
+ country?: string;
11
+ tin?: string;
12
+ tinNotRequired?: boolean;
13
+ };
14
+ type ClientAccountHolderTaxDocumentation = {
15
+ address?: ClientAddress;
11
16
  countryOfCitizenship?: string;
12
17
  dateOfBirth?: string;
13
18
  dbaName?: string;
14
- mailingAddress?: Address;
19
+ mailingAddress?: ClientAddress;
15
20
  mailingAddressIsDifferent?: boolean;
16
21
  name?: string;
17
22
  cityOfBirth?: string;
@@ -20,15 +25,13 @@ type AccountHolderTaxDocumentation = {
20
25
  financialAccountName?: string;
21
26
  ftin?: string;
22
27
  ftinNotLegallyRequired?: boolean;
23
- taxResidences?: Array<{
24
- country?: string;
25
- tin?: string;
26
- tinNotRequired?: boolean;
27
- }>;
28
+ taxResidences?: Array<ClientTaxResidence>;
28
29
  tin?: string;
29
30
  vatin?: string;
30
31
  vatinCountry?: string;
31
32
  vatinNotRequired?: boolean;
33
+ businessRegistrationNumber?: string;
34
+ businessRegistrationCountry?: string;
32
35
  exemptFatcaCode?: string;
33
36
  exemptPayeeCode?: string;
34
37
  isIndividual?: boolean;
@@ -43,12 +46,12 @@ type AccountHolderTaxDocumentation = {
43
46
  foreignTrustClassification?: string;
44
47
  foreignOtherClassification?: string;
45
48
  };
46
- type RegardedOwnerTaxDocumentation = {
47
- address?: Address;
49
+ type ClientRegardedOwnerTaxDocumentation = {
50
+ address?: ClientAddress;
48
51
  countryOfCitizenship?: string;
49
52
  dateOfBirth?: string;
50
53
  dbaName?: string;
51
- mailingAddress?: Address;
54
+ mailingAddress?: ClientAddress;
52
55
  mailingAddressIsDifferent?: boolean;
53
56
  name?: string;
54
57
  ftin?: string;
@@ -66,15 +69,16 @@ type RegardedOwnerTaxDocumentation = {
66
69
  foreignOtherClassification?: string;
67
70
  };
68
71
  export type ClientTaxDocumentation = {
69
- accountHolder?: AccountHolderTaxDocumentation;
72
+ accountHolder?: ClientAccountHolderTaxDocumentation;
70
73
  } & {
71
- regardedOwner?: RegardedOwnerTaxDocumentation;
74
+ regardedOwner?: ClientRegardedOwnerTaxDocumentation;
72
75
  } & {
73
76
  hasCertified?: boolean;
74
77
  isNotSubjectBackupWithholding?: boolean;
78
+ isConfirmedCorrectComplete?: boolean;
75
79
  signature?: string;
76
80
  documentType?: 'COMPREHENSIVE';
77
81
  source?: string;
78
- signatureTimestamp?: string;
82
+ signatureDate?: string;
79
83
  };
80
84
  export {};
@@ -29,6 +29,8 @@ export type AccountHolderTaxDocumentation = {
29
29
  vatin?: string;
30
30
  vatin_country?: string;
31
31
  vatin_not_required?: boolean;
32
+ business_registration_number?: string;
33
+ business_registration_country?: string;
32
34
  exempt_fatca_code?: string;
33
35
  exempt_payee_code?: string;
34
36
  is_individual?: boolean;
@@ -72,10 +74,11 @@ export type SignedComprehensiveTaxDocumentation = {
72
74
  } & {
73
75
  has_certified?: boolean;
74
76
  is_not_subject_backup_withholding?: boolean;
77
+ is_confirmed_correct_complete?: boolean;
75
78
  signature?: string;
76
79
  document_type?: 'COMPREHENSIVE';
77
80
  source?: string;
78
81
  };
79
82
  export type SignedDatedComprehensiveTaxDocumentation = SignedComprehensiveTaxDocumentation & {
80
- signature_timestamp?: string;
83
+ signature_date?: string;
81
84
  };
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  type ActionsProps = {
3
3
  onBack?: (data: unknown) => void;
4
4
  onCancel?: (data: unknown) => void;
@@ -1,9 +1,10 @@
1
- import React from "react";
2
- import { TaxDocumentationKey } from "types/TaxDocumentation";
1
+ import React from 'react';
2
+ import { TaxDocumentationKey } from 'types/TaxDocumentation';
3
+ import { Yes } from 'types/Yes';
3
4
  export type CheckBoxProps = {
4
5
  label: boolean;
5
6
  subLabel?: boolean;
6
7
  name: TaxDocumentationKey;
7
- onClick?: (val: string | undefined) => void;
8
+ onClick?: (val: Yes | undefined) => void;
8
9
  };
9
10
  export declare const CheckBox: ({ label, subLabel, name, onClick }: CheckBoxProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export declare const MaskedContent: ({ text }: {
3
3
  text: string | undefined;
4
4
  }) => React.JSX.Element;
@@ -1,10 +1,11 @@
1
- import React from "react";
2
- import { TaxDocumentationKey } from "types/TaxDocumentation";
1
+ import React from 'react';
2
+ import { TaxDocumentationKey } from 'types/TaxDocumentation';
3
3
  export type MaskedInputProps = {
4
4
  name: TaxDocumentationKey;
5
5
  className?: string;
6
6
  onChange?: (val: string) => string;
7
7
  hint?: true;
8
8
  children?: React.ReactNode;
9
+ disabled?: boolean;
9
10
  };
10
- export declare const MaskedInput: ({ name, className, onChange, hint, children, }: MaskedInputProps) => React.JSX.Element;
11
+ export declare const MaskedInput: ({ name, className, onChange, hint, children, disabled, }: MaskedInputProps) => React.JSX.Element;
@@ -5,6 +5,7 @@ type PasswordProps = {
5
5
  onChange?: (val: string) => void;
6
6
  show?: boolean;
7
7
  className?: string;
8
+ disabled?: boolean;
8
9
  };
9
- export declare const Password: ({ value, mask, onChange, show, ...inputProps }: PasswordProps) => React.JSX.Element;
10
+ export declare const Password: ({ value, mask, onChange, disabled, show, ...inputProps }: PasswordProps) => React.JSX.Element;
10
11
  export {};
@@ -1,10 +1,10 @@
1
- import React from "react";
2
- import { TaxDocumentationKey } from "types/TaxDocumentation";
3
- import { OptionKey } from "i18n/types";
4
- import type { CountryCode } from "types/CountryCode";
5
- import type { UsStateCode } from "types/UsStateCode";
6
- import type { CaProvinceCode } from "types/CaProvinceCode";
7
- import { FatcaCode, PayeeCode } from "lookups";
1
+ import { OptionKey } from 'i18n/types';
2
+ import { FatcaCode, PayeeCode } from 'lookups';
3
+ import React from 'react';
4
+ import type { CaProvinceCode } from 'types/CaProvinceCode';
5
+ import type { CountryCode } from 'types/CountryCode';
6
+ import { TaxDocumentationKey } from 'types/TaxDocumentation';
7
+ import type { UsStateCode } from 'types/UsStateCode';
8
8
  type FatcaSelectOption = {
9
9
  value: FatcaCode;
10
10
  };
@@ -22,6 +22,7 @@ export type SelectProps = {
22
22
  addBlank?: boolean;
23
23
  className?: string;
24
24
  onChange?: () => void;
25
+ disabled?: boolean;
25
26
  };
26
- export declare const Select: <T extends OptionKey>({ name, options, addBlank, className, onChange, }: SelectProps) => React.JSX.Element;
27
+ export declare const Select: <T extends OptionKey>({ name, options, addBlank, className, onChange, disabled, }: SelectProps) => React.JSX.Element;
27
28
  export {};
@@ -0,0 +1,2 @@
1
+ import { CamelCaseKeys } from '../types';
2
+ export declare const camelCaseKeys: <T, U>(item: T) => CamelCaseKeys<T>;
@@ -2,8 +2,9 @@ import { TaxDocumentation } from 'types/TaxDocumentation';
2
2
  import { TaxForm } from '../types';
3
3
  export declare const getFieldsState: (fields: TaxDocumentation, supportedForms?: TaxForm[]) => {
4
4
  accountHolderIsDisregarded: boolean;
5
- hasNoTaxId: boolean;
6
- isDac7: boolean | undefined;
5
+ hasNoEUTaxId: boolean;
6
+ hasTaxResidence: boolean;
7
+ isDac7: boolean;
7
8
  isW9: boolean;
8
9
  isW8: boolean;
9
10
  isW8Ben: boolean;
@@ -13,6 +13,7 @@ export declare const getHintKeyMap: () => {
13
13
  iCertifyToAll?: "dateOfBirth" | undefined;
14
14
  iConfirmIncomeIsNonUs?: "dateOfBirth" | undefined;
15
15
  iConfirmTheBeneficialOwnerIsExempt?: "dateOfBirth" | undefined;
16
+ iConfirmTheInformationIsCorrectComplete?: "dateOfBirth" | undefined;
16
17
  iConfirmTheEntityIsNotAUsPerson?: "dateOfBirth" | undefined;
17
18
  iConfirmTheEntityIsTheBeneficialOwner?: "dateOfBirth" | undefined;
18
19
  iConfirmTheTaxIdIsCorrect?: "dateOfBirth" | undefined;
@@ -62,8 +63,10 @@ export declare const getHintKeyMap: () => {
62
63
  accountHolderShowTaxResidence5?: "dateOfBirth" | undefined;
63
64
  accountHolderUsTin?: "dateOfBirth" | undefined;
64
65
  accountHolderVatIdentificationNumber?: "dateOfBirth" | undefined;
65
- accountHolderVatIdentificationNumberIsNotRequired?: "dateOfBirth" | undefined;
66
+ accountHolderVatIsNotRequired?: "dateOfBirth" | undefined;
66
67
  accountHolderVatCountry?: "dateOfBirth" | undefined;
68
+ accountHolderBusinessRegistrationNumber?: "dateOfBirth" | undefined;
69
+ accountHolderBusinessRegistrationCountry?: "dateOfBirth" | undefined;
67
70
  accountHolderIsIndividual?: "dateOfBirth" | undefined;
68
71
  accountHolderIsEuResident?: "dateOfBirth" | undefined;
69
72
  accountHolderUsPerson?: "dateOfBirth" | undefined;
@@ -102,5 +105,5 @@ export declare const getHintKeyMap: () => {
102
105
  regardedOwnerForeignTin?: "dateOfBirth" | undefined;
103
106
  regardedOwnerForeignTinIsNotRequired?: "dateOfBirth" | undefined;
104
107
  regardedOwnerUsTin?: "dateOfBirth" | undefined;
105
- accountHolderCountryIsResidence?: "dateOfBirth" | undefined;
108
+ accountHolderTaxResidences?: "dateOfBirth" | undefined;
106
109
  };
@@ -13,6 +13,7 @@ export declare const getPromptKeyMap: (data: TaxDocumentation) => {
13
13
  iCertifyToAll?: PromptKey | undefined;
14
14
  iConfirmIncomeIsNonUs?: PromptKey | undefined;
15
15
  iConfirmTheBeneficialOwnerIsExempt?: PromptKey | undefined;
16
+ iConfirmTheInformationIsCorrectComplete?: PromptKey | undefined;
16
17
  iConfirmTheEntityIsNotAUsPerson?: PromptKey | undefined;
17
18
  iConfirmTheEntityIsTheBeneficialOwner?: PromptKey | undefined;
18
19
  iConfirmTheTaxIdIsCorrect?: PromptKey | undefined;
@@ -62,8 +63,10 @@ export declare const getPromptKeyMap: (data: TaxDocumentation) => {
62
63
  accountHolderShowTaxResidence5?: PromptKey | undefined;
63
64
  accountHolderUsTin?: PromptKey | undefined;
64
65
  accountHolderVatIdentificationNumber?: PromptKey | undefined;
65
- accountHolderVatIdentificationNumberIsNotRequired?: PromptKey | undefined;
66
+ accountHolderVatIsNotRequired?: PromptKey | undefined;
66
67
  accountHolderVatCountry?: PromptKey | undefined;
68
+ accountHolderBusinessRegistrationNumber?: PromptKey | undefined;
69
+ accountHolderBusinessRegistrationCountry?: PromptKey | undefined;
67
70
  accountHolderIsIndividual?: PromptKey | undefined;
68
71
  accountHolderIsEuResident?: PromptKey | undefined;
69
72
  accountHolderUsPerson?: PromptKey | undefined;
@@ -102,5 +105,5 @@ export declare const getPromptKeyMap: (data: TaxDocumentation) => {
102
105
  regardedOwnerForeignTin?: PromptKey | undefined;
103
106
  regardedOwnerForeignTinIsNotRequired?: PromptKey | undefined;
104
107
  regardedOwnerUsTin?: PromptKey | undefined;
105
- accountHolderCountryIsResidence?: PromptKey | undefined;
108
+ accountHolderTaxResidences?: PromptKey | undefined;
106
109
  };
@@ -10,4 +10,3 @@ export * from './kebabCase';
10
10
  export * from './snakeCaseKeys';
11
11
  export * from './transformForClient';
12
12
  export * from './transformInbound';
13
- export * from './transformOutbound';
@@ -1,2 +1,2 @@
1
- import { YesNo } from "types";
1
+ import { YesNo } from 'types';
2
2
  export declare const convertYesNoToBoolean: (val: YesNo | undefined) => boolean | undefined;
@@ -0,0 +1,54 @@
1
+ import { TaxDocumentation } from 'types';
2
+ export declare const transformForClientAccountHolder: (data: TaxDocumentation) => {
3
+ address?: {
4
+ city?: string | undefined;
5
+ country?: string | undefined;
6
+ stateOrProvince?: string | undefined;
7
+ firstLine?: string | undefined;
8
+ secondLine?: string | undefined;
9
+ postalCode?: string | undefined;
10
+ } | undefined;
11
+ countryOfCitizenship?: string | undefined;
12
+ dateOfBirth?: string | undefined;
13
+ dbaName?: string | undefined;
14
+ mailingAddress?: {
15
+ city?: string | undefined;
16
+ country?: string | undefined;
17
+ stateOrProvince?: string | undefined;
18
+ firstLine?: string | undefined;
19
+ secondLine?: string | undefined;
20
+ postalCode?: string | undefined;
21
+ } | undefined;
22
+ mailingAddressIsDifferent?: boolean | undefined;
23
+ name?: string | undefined;
24
+ cityOfBirth?: string | undefined;
25
+ countryOfBirth?: string | undefined;
26
+ financialAccountIdentifier?: string | undefined;
27
+ financialAccountName?: string | undefined;
28
+ ftin?: string | undefined;
29
+ ftinNotLegallyRequired?: boolean | undefined;
30
+ taxResidences?: {
31
+ country?: string | undefined;
32
+ tin?: string | undefined;
33
+ tinNotRequired?: boolean | undefined;
34
+ }[] | undefined;
35
+ tin?: string | undefined;
36
+ vatin?: string | undefined;
37
+ vatinCountry?: string | undefined;
38
+ vatinNotRequired?: boolean | undefined;
39
+ businessRegistrationNumber?: string | undefined;
40
+ businessRegistrationCountry?: string | undefined;
41
+ exemptFatcaCode?: string | undefined;
42
+ exemptPayeeCode?: string | undefined;
43
+ isIndividual?: boolean | undefined;
44
+ isEuResident?: boolean | undefined;
45
+ isUsPerson?: boolean | undefined;
46
+ usAccountType?: string | undefined;
47
+ usSmllcElection?: boolean | undefined;
48
+ usLlcClassification?: string | undefined;
49
+ usOtherClassification?: string | undefined;
50
+ usTrustEstateEin?: boolean | undefined;
51
+ foreignAccountType?: string | undefined;
52
+ foreignTrustClassification?: string | undefined;
53
+ foreignOtherClassification?: string | undefined;
54
+ } | undefined;
@@ -0,0 +1,33 @@
1
+ import { TaxDocumentation } from 'types';
2
+ export declare const transformForClientAccountHolderAddress: (data: TaxDocumentation) => {
3
+ city?: string | undefined;
4
+ country?: string | undefined;
5
+ stateOrProvince?: string | undefined;
6
+ firstLine?: string | undefined;
7
+ secondLine?: string | undefined;
8
+ postalCode?: string | undefined;
9
+ } | undefined;
10
+ export declare const transformForClientRegardedOwnerAddress: (data: TaxDocumentation) => {
11
+ city?: string | undefined;
12
+ country?: string | undefined;
13
+ stateOrProvince?: string | undefined;
14
+ firstLine?: string | undefined;
15
+ secondLine?: string | undefined;
16
+ postalCode?: string | undefined;
17
+ } | undefined;
18
+ export declare const transformForClientAccountHolderMailingAddress: (data: TaxDocumentation) => {
19
+ city?: string | undefined;
20
+ country?: string | undefined;
21
+ stateOrProvince?: string | undefined;
22
+ firstLine?: string | undefined;
23
+ secondLine?: string | undefined;
24
+ postalCode?: string | undefined;
25
+ } | undefined;
26
+ export declare const transformForClientRegardedOwnerMailingAddress: (data: TaxDocumentation) => {
27
+ city?: string | undefined;
28
+ country?: string | undefined;
29
+ stateOrProvince?: string | undefined;
30
+ firstLine?: string | undefined;
31
+ secondLine?: string | undefined;
32
+ postalCode?: string | undefined;
33
+ } | undefined;
@@ -0,0 +1,37 @@
1
+ import { TaxDocumentation } from 'types';
2
+ export declare const transformForClientRegardedOwner: (data: TaxDocumentation) => {
3
+ address?: {
4
+ city?: string | undefined;
5
+ country?: string | undefined;
6
+ stateOrProvince?: string | undefined;
7
+ firstLine?: string | undefined;
8
+ secondLine?: string | undefined;
9
+ postalCode?: string | undefined;
10
+ } | undefined;
11
+ countryOfCitizenship?: string | undefined;
12
+ dateOfBirth?: string | undefined;
13
+ dbaName?: string | undefined;
14
+ mailingAddress?: {
15
+ city?: string | undefined;
16
+ country?: string | undefined;
17
+ stateOrProvince?: string | undefined;
18
+ firstLine?: string | undefined;
19
+ secondLine?: string | undefined;
20
+ postalCode?: string | undefined;
21
+ } | undefined;
22
+ mailingAddressIsDifferent?: boolean | undefined;
23
+ name?: string | undefined;
24
+ ftin?: string | undefined;
25
+ ftinNotLegallyRequired?: boolean | undefined;
26
+ tin?: string | undefined;
27
+ exemptFatcaCode?: string | undefined;
28
+ exemptPayeeCode?: string | undefined;
29
+ isUsPerson?: boolean | undefined;
30
+ usAccountType?: string | undefined;
31
+ usLlcClassification?: string | undefined;
32
+ usOtherClassification?: string | undefined;
33
+ usTrustEstateEin?: boolean | undefined;
34
+ foreignAccountType?: string | undefined;
35
+ foreignTrustClassification?: string | undefined;
36
+ foreignOtherClassification?: string | undefined;
37
+ } | undefined;
@@ -0,0 +1,6 @@
1
+ import { TaxDocumentation } from 'types';
2
+ export declare const transformForClientAccountHolderTaxResidences: (data: TaxDocumentation) => {
3
+ country?: string | undefined;
4
+ tin?: string | undefined;
5
+ tinNotRequired?: boolean | undefined;
6
+ }[] | undefined;
@@ -2,5 +2,5 @@ import type { TaxDocumentationKey, TaxForm } from 'types';
2
2
  type TaxDocumentationPropertyFile = {
3
3
  [key in TaxDocumentationKey]: boolean;
4
4
  };
5
- export declare const getSupportedFields: (taxForms: TaxForm[]) => TaxDocumentationPropertyFile;
5
+ export declare const getSupportedFields: (taxForms: Array<TaxForm>) => TaxDocumentationPropertyFile;
6
6
  export {};
@@ -0,0 +1,3 @@
1
+ import type { TaxDocumentation } from 'types';
2
+ import { TaxDocumentationPropertyFile } from '../contexts';
3
+ export declare const getVisibleFields: (fields: TaxDocumentation | undefined, supportedFields: TaxDocumentationPropertyFile) => TaxDocumentationPropertyFile;
@@ -1,6 +1,5 @@
1
1
  export * from './getInvalidFields';
2
2
  export * from './getRequiredFields';
3
- export * from './getSubmittableFields';
4
3
  export * from './getSupportedFields';
5
4
  export * from './getVisibleFields';
6
5
  export * from './invalidFieldRules.ts';
@@ -4,10 +4,11 @@ type AddressProps = {
4
4
  index: 1 | 2 | 3 | 4 | 5;
5
5
  showIf?: boolean;
6
6
  more?: true;
7
+ onShow?: () => void;
7
8
  countryOptions: ReadonlyArray<{
8
9
  value: CountryCode;
9
10
  label: string;
10
11
  }>;
11
12
  };
12
- export declare const ResidenceInput: ({ index, showIf, more, countryOptions, }: AddressProps) => React.JSX.Element | null;
13
+ export declare const ResidenceInput: ({ index, showIf, onShow, more, countryOptions, }: AddressProps) => React.JSX.Element | null;
13
14
  export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { TaxDocumentationKey } from 'types';
3
+ export declare const ErrorRow: ({ label, subLabel, name, }: {
4
+ label?: boolean | undefined;
5
+ subLabel?: boolean | undefined;
6
+ name: TaxDocumentationKey;
7
+ }) => React.JSX.Element;
@@ -1,10 +1,11 @@
1
- import React from "react";
2
- import { MaskedInputProps } from "ui";
1
+ import React from 'react';
2
+ import { MaskedInputProps } from 'ui';
3
3
  type MaskedInputRowProps = {
4
4
  label?: true;
5
5
  subLabel?: true;
6
6
  hint?: true;
7
7
  onChange?: (val: string) => string;
8
+ disabled?: boolean;
8
9
  };
9
- export declare const MaskedInputRow: ({ name, label, hint, subLabel, onChange, }: MaskedInputProps & MaskedInputRowProps) => React.JSX.Element;
10
+ export declare const MaskedInputRow: ({ name, label, hint, subLabel, onChange, disabled, }: MaskedInputProps & MaskedInputRowProps) => React.JSX.Element;
10
11
  export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { SelectProps } from 'ui';
3
+ type SelectRowProps = {
4
+ label?: true;
5
+ subLabel?: true;
6
+ onChange?: () => void;
7
+ disabled?: boolean;
8
+ };
9
+ export declare const SelectRow: ({ name, label, options, subLabel, addBlank, onChange, disabled, }: SelectProps & SelectRowProps) => React.JSX.Element;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ export * from './AccountHolderClassification';
2
+ export * from './AccountHolderContact';
3
+ export * from './AccountHolderTax';
4
+ export * from './AccountHolderTaxClarification';
5
+ export * from './Exemptions';
6
+ export * from './RegardedOwnerClassification';
7
+ export * from './RegardedOwnerContact';
8
+ export * from './RegardedOwnerTax';
9
+ export * from './Summary';