@taxbit/react-sdk 3.1.0-beta.0 → 3.2.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.
- package/README.md +13 -0
- package/dist/index.d.ts +2 -1
- package/dist/src/App.d.ts +0 -1
- package/dist/src/components/Address/Address.d.ts +0 -1
- package/dist/src/components/ErrorAlert/ErrorAlert.d.ts +0 -1
- package/dist/src/components/ErrorBoundary/ErrorBoundary.d.ts +0 -1
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +0 -1
- package/dist/src/components/ErrorMessage/__tests__/ErrorMessage.test.d.ts +0 -1
- package/dist/src/components/Form/Form.d.ts +0 -1
- package/dist/src/components/InputStatus/InputStatus.d.ts +0 -1
- package/dist/src/components/JsxFromString/JsxFromString.d.ts +0 -1
- package/dist/src/components/ProgressStatus/ProgressStatus.d.ts +0 -1
- package/dist/src/components/Row/Row.d.ts +0 -1
- package/dist/src/components/Section/Section.d.ts +0 -1
- package/dist/src/components/StatusMessage/StatusMessage.d.ts +0 -1
- package/dist/src/contexts/QuestionnaireStep/QuestionnaireStepProvider.d.ts +0 -1
- package/dist/src/contexts/QuestionnaireStep/getLocal.d.ts +0 -1
- package/dist/src/contexts/QuestionnaireStep/index.d.ts +0 -1
- package/dist/src/contexts/QuestionnaireStep/shiftControllingPerson.d.ts +0 -1
- package/dist/src/contexts/QuestionnaireStep/shiftResidence.d.ts +0 -1
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStep.d.ts +1 -4
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStepContext.d.ts +2 -7
- package/dist/src/contexts/TaxDocumentation/TaxbitQuestionnaireProvider.d.ts +0 -1
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +4 -5
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +8 -8
- package/dist/src/hooks/useHandleError.d.ts +0 -1
- package/dist/src/hooks/useTaxbit/__tests__/clientTaxDocumentation.d.ts +0 -1
- package/dist/src/hooks/useTaxbit/__tests__/serverTaxDocumentation.d.ts +0 -1
- package/dist/src/hooks/useTaxbit/types/comprehensive.d.ts +0 -1
- package/dist/src/hooks/useTaxbit/types/v2.d.ts +0 -1
- package/dist/src/hooks/useTaxbit/types/w8.d.ts +0 -1
- package/dist/src/hooks/useTaxbit/types/w9.d.ts +0 -1
- package/dist/src/hooks/useTaxbit/useTaxbit.d.ts +0 -1
- package/dist/src/hooks/useTaxbit/useTaxbitStatus.d.ts +0 -1
- package/dist/src/i18n/json/bg.json.d.ts +16 -6
- package/dist/src/i18n/json/cs.json.d.ts +15 -5
- package/dist/src/i18n/json/da.json.d.ts +15 -5
- package/dist/src/i18n/json/de-AT.json.d.ts +2 -2
- package/dist/src/i18n/json/de.json.d.ts +15 -2
- package/dist/src/i18n/json/el.json.d.ts +15 -5
- package/dist/src/i18n/json/en.json.d.ts +15 -2
- package/dist/src/i18n/json/es.json.d.ts +15 -2
- package/dist/src/i18n/json/et.json.d.ts +15 -5
- package/dist/src/i18n/json/fi.json.d.ts +15 -5
- package/dist/src/i18n/json/fr-LU.json.d.ts +2 -2
- package/dist/src/i18n/json/fr.json.d.ts +16 -3
- package/dist/src/i18n/json/ga.json.d.ts +15 -5
- package/dist/src/i18n/json/hr.json.d.ts +15 -5
- package/dist/src/i18n/json/hu.json.d.ts +15 -5
- package/dist/src/i18n/json/id.json.d.ts +14 -4
- package/dist/src/i18n/json/index.d.ts +10 -12
- package/dist/src/i18n/json/it.json.d.ts +15 -2
- package/dist/src/i18n/json/ja.json.d.ts +15 -2
- package/dist/src/i18n/json/ko.json.d.ts +15 -2
- package/dist/src/i18n/json/lt.json.d.ts +15 -5
- package/dist/src/i18n/json/lv.json.d.ts +15 -5
- package/dist/src/i18n/json/ms.json.d.ts +15 -2
- package/dist/src/i18n/json/mt.json.d.ts +15 -5
- package/dist/src/i18n/json/nl-BE.json.d.ts +2 -2
- package/dist/src/i18n/json/nl.json.d.ts +16 -3
- package/dist/src/i18n/json/no.json.d.ts +15 -5
- package/dist/src/i18n/json/pl.json.d.ts +15 -2
- package/dist/src/i18n/json/pt.json.d.ts +15 -2
- package/dist/src/i18n/json/ro.json.d.ts +16 -3
- package/dist/src/i18n/json/ru.json.d.ts +15 -2
- package/dist/src/i18n/json/sk.json.d.ts +15 -5
- package/dist/src/i18n/json/sl.json.d.ts +15 -5
- package/dist/src/i18n/json/sv.json.d.ts +15 -5
- package/dist/src/i18n/json/th.json.d.ts +15 -2
- package/dist/src/i18n/json/tr.json.d.ts +15 -2
- package/dist/src/i18n/json/uk.json.d.ts +15 -5
- package/dist/src/i18n/json/vi.json.d.ts +15 -2
- package/dist/src/i18n/json/zh-TW.json.d.ts +15 -2
- package/dist/src/i18n/json/zh.json.d.ts +406 -148
- package/dist/src/i18n/locales/bg.d.ts +1 -3
- package/dist/src/i18n/locales/cs.d.ts +1 -1
- package/dist/src/i18n/locales/da.d.ts +1 -1
- package/dist/src/i18n/locales/de-at.d.ts +1 -1
- package/dist/src/i18n/locales/de-de.d.ts +2 -0
- package/dist/src/i18n/locales/de.d.ts +2 -1
- package/dist/src/i18n/locales/el-cy.d.ts +1 -1
- package/dist/src/i18n/locales/el-el.d.ts +1 -0
- package/dist/src/i18n/locales/el.d.ts +1 -1
- package/dist/src/i18n/locales/en-dps.d.ts +2 -0
- package/dist/src/i18n/locales/en-gb.d.ts +1 -3
- package/dist/src/i18n/locales/en-nz.d.ts +1 -3
- package/dist/src/i18n/locales/en-us.d.ts +1 -3
- package/dist/src/i18n/locales/en.d.ts +2 -3
- package/dist/src/i18n/locales/es-es.d.ts +496 -0
- package/dist/src/i18n/locales/es-mx.d.ts +1 -3
- package/dist/src/i18n/locales/es.d.ts +2 -3
- package/dist/src/i18n/locales/et.d.ts +1 -1
- package/dist/src/i18n/locales/fi.d.ts +1 -1
- package/dist/src/i18n/locales/fr-ca.d.ts +1 -3
- package/dist/src/i18n/locales/fr-fr.d.ts +496 -0
- package/dist/src/i18n/locales/fr-lu.d.ts +1 -1
- package/dist/src/i18n/locales/fr.d.ts +2 -3
- package/dist/src/i18n/locales/ga.d.ts +1 -1
- package/dist/src/i18n/locales/hr.d.ts +1 -1
- package/dist/src/i18n/locales/hu.d.ts +1 -1
- package/dist/src/i18n/locales/id.d.ts +2 -3
- package/dist/src/i18n/locales/index.d.ts +5 -0
- package/dist/src/i18n/locales/it.d.ts +2 -1
- package/dist/src/i18n/locales/ja.d.ts +2 -3
- package/dist/src/i18n/locales/ko.d.ts +2 -3
- package/dist/src/i18n/locales/lt.d.ts +1 -1
- package/dist/src/i18n/locales/lv.d.ts +1 -1
- package/dist/src/i18n/locales/mergePropertyFiles.d.ts +2 -2
- package/dist/src/i18n/locales/ms.d.ts +2 -1
- package/dist/src/i18n/locales/mt.d.ts +1 -1
- package/dist/src/i18n/locales/nl-be.d.ts +1 -1
- package/dist/src/i18n/locales/nl-nl.d.ts +1 -0
- package/dist/src/i18n/locales/nl.d.ts +2 -1
- package/dist/src/i18n/locales/no.d.ts +1 -1
- package/dist/src/i18n/locales/pl.d.ts +2 -1
- package/dist/src/i18n/locales/pt-br.d.ts +1 -3
- package/dist/src/i18n/locales/pt-pt.d.ts +496 -0
- package/dist/src/i18n/locales/pt.d.ts +2 -1
- package/dist/src/i18n/locales/ro.d.ts +2 -1
- package/dist/src/i18n/locales/ru.d.ts +2 -3
- package/dist/src/i18n/locales/sk.d.ts +1 -1
- package/dist/src/i18n/locales/sl.d.ts +1 -1
- package/dist/src/i18n/locales/sv.d.ts +1 -1
- package/dist/src/i18n/locales/th.d.ts +2 -3
- package/dist/src/i18n/locales/tr.d.ts +2 -3
- package/dist/src/i18n/locales/translation-missing.d.ts +0 -1
- package/dist/src/i18n/locales/uk.d.ts +1 -3
- package/dist/src/i18n/locales/vi.d.ts +496 -3
- package/dist/src/i18n/locales/zh-cn.d.ts +496 -1
- package/dist/src/i18n/locales/zh-tw.d.ts +496 -1
- package/dist/src/i18n/locales/zh.d.ts +496 -3
- package/dist/src/i18n/localizationFileMap.d.ts +2 -3
- package/dist/src/i18n/types/LocalizationKey.d.ts +6 -6
- package/dist/src/i18n/types/PropertyFile.d.ts +15 -7
- package/dist/src/i18n/utils/getText.d.ts +1 -2
- package/dist/src/index.d.ts +0 -1
- package/dist/src/lookups/accountHolderEntityAccountTypeOptions.d.ts +1 -1
- package/dist/src/lookups/accountOwnerTypeOptions.d.ts +1 -1
- package/dist/src/lookups/activeNonFinancialEntityTypeOptions.d.ts +1 -1
- package/dist/src/lookups/controllingPersonRoleOptions.d.ts +1 -1
- package/dist/src/lookups/dayOptions.d.ts +1 -1
- package/dist/src/lookups/entityTypeOptions.d.ts +1 -1
- package/dist/src/lookups/fatcaCodeOptions.d.ts +1 -1
- package/dist/src/lookups/financialInstitutionTypeOptions.d.ts +1 -1
- package/dist/src/lookups/foreignRegardedOwnerAccountTypeOptions.d.ts +1 -1
- package/dist/src/lookups/getTreatyCountryLimitationOnBenefitOptions.d.ts +0 -1
- package/dist/src/lookups/intermediaryAccountTypeOptions.d.ts +1 -1
- package/dist/src/lookups/localeOptions.d.ts +0 -1
- package/dist/src/lookups/payeeCodeOptions.d.ts +1 -1
- package/dist/src/lookups/regardedOwnerEntityAccountTypeOptions.d.ts +1 -1
- package/dist/src/lookups/selfCertificationAccountTypeOptions.d.ts +1 -1
- package/dist/src/lookups/signatureCapacityOptions.d.ts +1 -1
- package/dist/src/lookups/tinNotRequiredReasonOptions.d.ts +1 -1
- package/dist/src/lookups/usAccountHolderAccountTypeOptions.d.ts +1 -1
- package/dist/src/lookups/usLlcAccountTypeOptions.d.ts +1 -1
- package/dist/src/lookups/usRegardedOwnerAccountTypeOptions.d.ts +1 -1
- package/dist/src/services/api.d.ts +0 -1
- package/dist/src/svg/Spinner.d.ts +0 -1
- package/dist/src/test/StepWrapper.d.ts +0 -1
- package/dist/src/test/Wrapper.d.ts +0 -1
- package/dist/src/test/getWrapper.d.ts +0 -1
- package/dist/src/test/renderWithWrapper.d.ts +0 -1
- package/dist/src/test/utils/helpers.d.ts +4 -2
- package/dist/src/types/InputStep.d.ts +1 -1
- package/dist/src/types/Locale.d.ts +1 -1
- package/dist/src/types/Progress.d.ts +0 -1
- package/dist/src/types/SchemaVersion.d.ts +2 -0
- package/dist/src/types/StepId.d.ts +1 -1
- package/dist/src/types/TaxDocumentation.d.ts +8 -4
- package/dist/src/types/client/ClientTaxDocumentationStatus.d.ts +1 -1
- package/dist/src/types/index.d.ts +1 -0
- package/dist/src/types/server/TaxDocumentationStatus.d.ts +1 -1
- package/dist/src/ui/Actions/Actions.d.ts +0 -1
- package/dist/src/ui/CheckBox/CheckBox.d.ts +0 -1
- package/dist/src/ui/CheckBox/__tests__/CheckBox.test.d.ts +0 -1
- package/dist/src/ui/DateOfBirthInput/DateOfBirthInput.d.ts +0 -1
- package/dist/src/ui/DateOfBirthInput/__tests__/DateOfBirthInput.test.d.ts +0 -1
- package/dist/src/ui/DateOfBirthInput/useDateOfBirthInput.d.ts +1 -2
- package/dist/src/ui/FormattedInput/FormattedInput.d.ts +0 -1
- package/dist/src/ui/FormattedInput/__tests__/FormattedInput.test.d.ts +0 -1
- package/dist/src/ui/HideShowButton/HideShowButton.d.ts +0 -1
- package/dist/src/ui/InputValue/InputValue.d.ts +0 -1
- package/dist/src/ui/MaskedContent/MaskedContent.d.ts +0 -1
- package/dist/src/ui/PasswordInput/PasswordInput.d.ts +0 -1
- package/dist/src/ui/PasswordInput/__tests__/PasswordInput.test.d.ts +0 -1
- package/dist/src/ui/PhoneNumberInput/PhoneNumberInput.d.ts +0 -1
- package/dist/src/ui/PhoneNumberInput/__tests__/PhoneNumberInput.test.d.ts +0 -1
- package/dist/src/ui/RadioButtons/RadioButtons.d.ts +0 -1
- package/dist/src/ui/RadioButtons/__tests__/RadioButtons.test.d.ts +0 -1
- package/dist/src/ui/Select/Select.d.ts +0 -1
- package/dist/src/ui/Select/__tests__/Select.test.d.ts +0 -1
- package/dist/src/ui/ShowHideInput/ShowHideInput.d.ts +0 -1
- package/dist/src/ui/TextArea/TextArea.d.ts +0 -1
- package/dist/src/ui/TextArea/__tests__/TextArea.test.d.ts +0 -1
- package/dist/src/ui/TextInput/TextInput.d.ts +0 -1
- package/dist/src/ui/TextInput/__tests__/TextInput.test.d.ts +0 -1
- package/dist/src/ui/ToggleButton/ToggleButton.d.ts +0 -1
- package/dist/src/ui/WithholdingInput/WithholdingInput.d.ts +0 -1
- package/dist/src/ui/useAriaAttributes.d.ts +0 -1
- package/dist/src/utils/getDataFields.d.ts +13 -1
- package/dist/src/utils/getErrorMessageId.d.ts +0 -1
- package/dist/src/utils/getFieldsState.d.ts +1 -1
- package/dist/src/utils/getFormStatus.d.ts +0 -1
- package/dist/src/utils/getLanguage.d.ts +0 -1
- package/dist/src/utils/mergeClientTaxDocumentationData.d.ts +0 -1
- package/dist/src/utils/promptKeyMapping/getAddressPromptKeyMap.d.ts +0 -1
- package/dist/src/utils/promptKeyMapping/getControllingPersonPromptKeyMap.d.ts +0 -1
- package/dist/src/utils/promptKeyMapping/getPromptKeyMap.d.ts +0 -1
- package/dist/src/utils/promptKeyMapping/getTaxResidencesPromptKeyMap.d.ts +0 -1
- package/dist/src/utils/stepIds.d.ts +0 -1
- package/dist/src/utils/transformForClient/convertYesNoToBoolean.d.ts +0 -1
- package/dist/src/utils/transformForClient/convertYesNoToBooleanOrUndefined.d.ts +0 -1
- package/dist/src/utils/transformForClient/transformCertifications.d.ts +0 -1
- package/dist/src/utils/transformForClient/transformForClient.d.ts +0 -1
- package/dist/src/utils/transformForClient/transformForClientAccountHolder.d.ts +0 -1
- package/dist/src/utils/transformForClient/transformForClientAddress.d.ts +0 -1
- package/dist/src/utils/transformForClient/transformForClientRegardedOwner.d.ts +0 -1
- package/dist/src/utils/transformForClient/transformForClientTaxResidences.d.ts +0 -1
- package/dist/src/utils/transformForClient/transformForControllingPersons.d.ts +0 -1
- package/dist/src/utils/transformInbound/getAccountOwnerType.d.ts +0 -1
- package/dist/src/utils/transformInbound/getActiveNonFinancialEntityType.d.ts +0 -1
- package/dist/src/utils/transformInbound/getEntityAccountType.d.ts +0 -1
- package/dist/src/utils/transformInbound/getEntityType.d.ts +0 -1
- package/dist/src/utils/transformInbound/getFinancialInstitutionType.d.ts +0 -1
- package/dist/src/utils/transformInbound/getIntermediaryAccountType.d.ts +0 -1
- package/dist/src/utils/transformInbound/getLLCClassification.d.ts +0 -1
- package/dist/src/utils/transformInbound/getSelfCertificationAccountType.d.ts +0 -1
- package/dist/src/utils/transformInbound/getSignatureCapacity.d.ts +2 -0
- package/dist/src/utils/transformInbound/getUsAccountType.d.ts +0 -1
- package/dist/src/utils/transformInbound/transformInbound.d.ts +0 -1
- package/dist/src/utils/transformInbound/transformInboundAddress.d.ts +0 -1
- package/dist/src/utils/transformInbound/transformInboundControllingPersons.d.ts +13 -1
- package/dist/src/utils/transformInbound/transformInboundTaxResidencies.d.ts +0 -1
- package/dist/src/validations/getEditFields.d.ts +1 -2
- package/dist/src/validations/getSkipFields.d.ts +1 -2
- package/dist/src/validations/getSkipSteps.d.ts +0 -1
- package/dist/src/validations/getSteps.d.ts +1 -2
- package/dist/src/validations/invalidFields/getInvalidAddressFields.d.ts +0 -1
- package/dist/src/validations/invalidFields/getInvalidControllingPersonsFields.d.ts +0 -1
- package/dist/src/validations/invalidFields/getInvalidFields.d.ts +0 -1
- package/dist/src/validations/invalidFields/getInvalidTaxResidencyFields.d.ts +0 -1
- package/dist/src/validations/invalidFields/invalidFieldRules.d.ts +3 -3
- package/dist/src/validations/requiredFields/getRequiredAddressFields.d.ts +0 -1
- package/dist/src/validations/requiredFields/getRequiredControllingPersonFields.d.ts +0 -1
- package/dist/src/validations/requiredFields/getRequiredFields.d.ts +0 -1
- package/dist/src/validations/requiredFields/getRequiredTaxResidenceFields.d.ts +0 -1
- package/dist/src/validations/statusFields/getStatusFields.d.ts +0 -1
- package/dist/src/validations/statusFields/statusFieldRules.d.ts +0 -1
- package/dist/src/validations/supportedFields/getSupportedAddressFields.d.ts +0 -1
- package/dist/src/validations/supportedFields/getSupportedControllingPersonFields.d.ts +0 -1
- package/dist/src/validations/supportedFields/getSupportedFields.d.ts +0 -1
- package/dist/src/validations/supportedFields/getSupportedTaxResidenceFields.d.ts +0 -1
- package/dist/src/validations/visibleFields/__tests__/utils.d.ts +0 -1
- package/dist/src/validations/visibleFields/getVisibleAddressFields.d.ts +0 -1
- package/dist/src/validations/visibleFields/getVisibleControllingPersonFields.d.ts +2 -3
- package/dist/src/validations/visibleFields/getVisibleFields.d.ts +2 -4
- package/dist/src/validations/visibleFields/getVisibleTaxResidenceFields.d.ts +2 -3
- package/dist/src/widgets/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +0 -1
- package/dist/src/widgets/TaxbitQuestionnairePersist/TaxbitQuestionnairePersist.d.ts +0 -1
- package/dist/src/widgets/TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.complete.test.d.ts +0 -1
- package/dist/src/widgets/TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.error.test.d.ts +0 -1
- package/dist/src/widgets/TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.loaded.test.d.ts +0 -1
- package/dist/src/widgets/TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.loading.test.d.ts +0 -1
- package/dist/src/widgets/TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.missingBearerToken.test.d.ts +0 -1
- package/dist/src/widgets/TaxbitQuestionnairePersist/useTaxbitPersist.d.ts +0 -1
- package/dist/src/wizard/AddressInput/AddressInput.d.ts +0 -1
- package/dist/src/wizard/ControllingPersonInput/ControllingPersonInput.d.ts +0 -1
- package/dist/src/wizard/LanguageSelector/LanguageSelector.d.ts +0 -1
- package/dist/src/wizard/LanguageSelector/__tests__/LanguageSelector.test.d.ts +0 -0
- package/dist/src/wizard/ResidenceInput/ResidenceInput.d.ts +0 -1
- package/dist/src/wizard/RowInput/AddressRow/AddressRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/CheckBoxRow/CheckBoxRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/DateOfBirthRow/DateOfBirthRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/ErrorRow/ErrorRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/ErrorRow/__tests__/ErrorRow.test.d.ts +0 -1
- package/dist/src/wizard/RowInput/HiddenInputRow/HiddenInputRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/PercentInputRow/PercentInputRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/PhoneNumberRow/PhoneNumberRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/RadioButtonRow/RadioButtonRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/SelectRow/SelectRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/ShowHideInputRow/ShowHideInputRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/TextAreaRow/TextAreaRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/TextInputRow/TextInputRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/TinInputRow/TinInputRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/ToggleButtonRow/ToggleButtonRow.d.ts +0 -1
- package/dist/src/wizard/RowInput/VisibleRow/VisibleRow.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderAdditionalInfo/AccountHolderAdditionalInfo.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderCertifications/AccountHolderCertifications.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderClassification/AccountHolderClassification.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderContact/AccountHolderContact.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTax/AccountHolderTax.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTaxResidenciesConfirmation/AccountHolderTaxResidenciesConfirmation.d.ts +2 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTaxResidenciesConfirmation/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTreatyClaims/AccountHolderTreatyClaims.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderUsTinValidation/AccountHolderUsTinValidation.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AppError/AppError.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/ControllingPersonDetails/ControllingPersonDetails.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/ControllingPersonTaxResidenciesConfirmation/ControllingPersonTaxResidenciesConfirmation.d.ts +9 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/ControllingPersonTaxResidenciesConfirmation/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Exemptions/Exemptions.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerCertifications/RegardedOwnerCertifications.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerContact/RegardedOwnerContact.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerTax/RegardedOwnerTax.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerTreatyClaims/RegardedOwnerTreatyClaims.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerUsTinValidation/RegardedOwnerUsTinValidation.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/AccountHolder/AccountHolderClassificationSummary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/AccountHolder/AccountHolderForeignClassificationSummary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/AccountHolder/AccountHolderSelfCertificationClassificationSummary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/AccountHolder/AccountHolderUsClassificationSummary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/ControllingPerson/ControllingPersonRoleInputValue.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/ControllingPerson/ControllingPersonSummary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/ControllingPerson/ControllingPersonTypeSummary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/Recap.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/RegardedOwner/RegardedOwnerClassificationSummary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/RegardedOwner/RegardedOwnerForeignClassificationSummary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/RegardedOwner/RegardedOwnerUsClassificationSummary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/Summary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/TaxResidency/TaxResidenciesSummary.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/TaxbitQuestionnaireUI.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.DPS.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.DepthFirst.DPS.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.DepthFirst.SelfCert.Entity.test.d.ts +0 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.DepthFirst.SelfCert.Individual.test.d.ts +0 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.DepthFirst.W8.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.DepthFirst.W9.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.LanguageSelector.test.d.ts +0 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.SelfCert.AccountClassification.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.SelfCert.ControllingPerson.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.SelfCert.NameAndAddress.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.SelfCert.Summary.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.SelfCert.TaxResidencies.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.Skip.DPS.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.Skip.SelfCert.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.Skip.WForm.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.WForm.Summary.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.WForm.TreatyClaims.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.WForm.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.test.d.ts +0 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/steps.d.ts +2 -0
- package/dist/taxbit-react-sdk.js +5177 -20226
- package/dist/taxbit-react-sdk.umd.cjs +1 -1
- package/package.json +5 -5
- package/dist/src/i18n/json/zh-CN.json.d.ts +0 -486
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.DepthFirst.SelfCert.test.d.ts +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PromptKey } from '../../i18n/types';
|
|
2
2
|
import { TaxDocumentation, TaxDocumentationKey } from '../../types';
|
|
3
|
-
|
|
4
3
|
type Prefix = 'accountHolder' | 'accountHolderMailing' | 'regardedOwner' | 'regardedOwnerMailing' | 'controllingPerson1' | 'controllingPerson1Mailing' | 'controllingPerson2' | 'controllingPerson2Mailing' | 'controllingPerson3' | 'controllingPerson3Mailing' | 'controllingPerson4' | 'controllingPerson4Mailing' | 'controllingPerson5' | 'controllingPerson5Mailing';
|
|
5
4
|
export declare const getAddressPromptKeyMap: (prefix: Prefix, data: TaxDocumentation) => { [key in TaxDocumentationKey]?: PromptKey; };
|
|
6
5
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PromptKey } from '../../i18n/types';
|
|
2
2
|
import { TaxDocumentation, TaxDocumentationKey } from '../../types';
|
|
3
|
-
|
|
4
3
|
type Prefix = 'accountHolder' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5';
|
|
5
4
|
export declare const getTaxResidencesPromptKeyMap: (data: TaxDocumentation, prefix: Prefix) => { [key in TaxDocumentationKey]?: PromptKey; };
|
|
6
5
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ClientTaxDocumentation, SignedClientTaxDocumentation } from '@taxbit/utilities';
|
|
2
2
|
import { QuestionnaireProp, TaxDocumentation } from '../../types';
|
|
3
|
-
|
|
4
3
|
export declare const transformForClient: (data: TaxDocumentation) => ClientTaxDocumentation;
|
|
5
4
|
export declare const transformForSignedClient: (data: TaxDocumentation, questionnaireUI: QuestionnaireProp) => SignedClientTaxDocumentation;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TaxDocumentation } from 'types';
|
|
2
|
-
|
|
3
2
|
export declare const transformForClientAccountHolderAddress: (data: TaxDocumentation) => import('@taxbit/utilities').ClientAddress | undefined;
|
|
4
3
|
export declare const transformForClientRegardedOwnerAddress: (data: TaxDocumentation) => import('@taxbit/utilities').ClientAddress | undefined;
|
|
5
4
|
export declare const transformForClientAccountHolderMailingAddress: (data: TaxDocumentation) => import('@taxbit/utilities').ClientAddress | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TaxDocumentation } from 'types';
|
|
2
|
-
|
|
3
2
|
type Prefix = 'accountHolder' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5';
|
|
4
3
|
export declare const transformForClientTaxResidences: (data: TaxDocumentation, prefix: Prefix) => {
|
|
5
4
|
country: string | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { EntityAccountHolderAccountType, EntityRegardedOwnerAccountType } from '@taxbit/utilities';
|
|
2
|
-
|
|
3
2
|
export declare const getAccountHolderEntityAccountType: (accountType: string | undefined) => EntityAccountHolderAccountType | undefined;
|
|
4
3
|
export declare const getRegardedOwnerEntityAccountType: (accountType: string | undefined) => EntityRegardedOwnerAccountType | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { UsRegardedOwnerAccountType, UsAccountHolderAccountType } from '@taxbit/utilities';
|
|
2
|
-
|
|
3
2
|
export declare const getAccountHolderUsAccountType: (accountType: string | undefined) => UsAccountHolderAccountType | undefined;
|
|
4
3
|
export declare const getRegardedOwnerUsAccountType: (accountType: string | undefined) => UsRegardedOwnerAccountType | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ClientAddress } from '@taxbit/utilities';
|
|
2
2
|
import { TaxDocumentation } from '../../types';
|
|
3
|
-
|
|
4
3
|
type Prefix = 'accountHolder' | 'accountHolderMailing' | 'regardedOwner' | 'regardedOwnerMailing' | 'controllingPerson1' | 'controllingPerson1Mailing' | 'controllingPerson2' | 'controllingPerson2Mailing' | 'controllingPerson3' | 'controllingPerson3Mailing' | 'controllingPerson4' | 'controllingPerson4Mailing' | 'controllingPerson5' | 'controllingPerson5Mailing';
|
|
5
4
|
export declare const transformInboundAddress: (prefix: Prefix, address: ClientAddress | undefined, isDifferent?: boolean) => Partial<TaxDocumentation>;
|
|
6
5
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ControllingPerson } from '@taxbit/utilities';
|
|
2
|
-
|
|
3
2
|
export declare const transformInboundControllingPersons: (controllingPersons: Array<ControllingPerson> | undefined) => {
|
|
4
3
|
accountHolderAddress?: string;
|
|
5
4
|
accountHolderAddressCity?: string | undefined;
|
|
@@ -50,6 +49,7 @@ export declare const transformInboundControllingPersons: (controllingPersons: Ar
|
|
|
50
49
|
accountHolderIsCompliantCertified?: import('../../types/Yes.ts').Yes;
|
|
51
50
|
accountHolderEntityPaymentsCertified?: import('../../types/Yes.ts').Yes;
|
|
52
51
|
accountHolderProvidesWithholdingStatementCertified?: import('../../types/Yes.ts').Yes;
|
|
52
|
+
accountHolderIConfirmNoOtherTaxResidencies?: "yes" | undefined;
|
|
53
53
|
accountHolderTaxResidences?: import('../../types/YesNo.ts').YesNo;
|
|
54
54
|
accountHolderTaxResidenceCountry1?: string | undefined;
|
|
55
55
|
accountHolderTaxResidenceCountry2?: string | undefined;
|
|
@@ -98,6 +98,8 @@ export declare const transformInboundControllingPersons: (controllingPersons: Ar
|
|
|
98
98
|
accountHolderEntityType?: import('@taxbit/utilities').EntityType;
|
|
99
99
|
accountHolderSecuritiesMarket?: string;
|
|
100
100
|
accountHolderRelatedCorporation?: string;
|
|
101
|
+
accountHolderResidenceByInvestmentConfirmed?: import('../../types/Yes.ts').Yes;
|
|
102
|
+
accountHolderGiin?: string;
|
|
101
103
|
accountHolderIsIndividual?: import('../../types/YesNo.ts').YesNo;
|
|
102
104
|
accountHolderUsPerson?: import('../../types/YesNo.ts').YesNo;
|
|
103
105
|
accountHolderAccountOwnerType?: import('@taxbit/utilities').AccountOwnerType;
|
|
@@ -204,6 +206,11 @@ export declare const transformInboundControllingPersons: (controllingPersons: Ar
|
|
|
204
206
|
regardedOwnerTreatyClaimTypeOfIncome?: string;
|
|
205
207
|
regardedOwnerTreatyClaimWithholding?: string;
|
|
206
208
|
regardedOwnerTreatyClaimHasAdditionalConditions?: import('../../types/Yes.ts').Yes;
|
|
209
|
+
controllingPerson1IConfirmNoOtherTaxResidencies?: "yes" | undefined;
|
|
210
|
+
controllingPerson2IConfirmNoOtherTaxResidencies?: "yes" | undefined;
|
|
211
|
+
controllingPerson3IConfirmNoOtherTaxResidencies?: "yes" | undefined;
|
|
212
|
+
controllingPerson4IConfirmNoOtherTaxResidencies?: "yes" | undefined;
|
|
213
|
+
controllingPerson5IConfirmNoOtherTaxResidencies?: "yes" | undefined;
|
|
207
214
|
controllingPerson1TaxResidences?: "no" | "yes" | undefined;
|
|
208
215
|
controllingPerson2TaxResidences?: "no" | "yes" | undefined;
|
|
209
216
|
controllingPerson3TaxResidences?: "no" | "yes" | undefined;
|
|
@@ -484,6 +491,11 @@ export declare const transformInboundControllingPersons: (controllingPersons: Ar
|
|
|
484
491
|
controllingPerson3MailingAddressZip?: string | undefined;
|
|
485
492
|
controllingPerson4MailingAddressZip?: string | undefined;
|
|
486
493
|
controllingPerson5MailingAddressZip?: string | undefined;
|
|
494
|
+
controllingPerson1ResidenceByInvestmentConfirmed?: "yes" | undefined;
|
|
495
|
+
controllingPerson2ResidenceByInvestmentConfirmed?: "yes" | undefined;
|
|
496
|
+
controllingPerson3ResidenceByInvestmentConfirmed?: "yes" | undefined;
|
|
497
|
+
controllingPerson4ResidenceByInvestmentConfirmed?: "yes" | undefined;
|
|
498
|
+
controllingPerson5ResidenceByInvestmentConfirmed?: "yes" | undefined;
|
|
487
499
|
subjectToBackupWithholding?: undefined;
|
|
488
500
|
irsRequiresBackupWithholdingConsent?: undefined;
|
|
489
501
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ClientTaxResidence } from '@taxbit/utilities';
|
|
2
|
-
|
|
3
2
|
type Prefix = 'accountHolder' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5';
|
|
4
3
|
export declare const transformInboundTaxResidencies: (taxResidences: Array<ClientTaxResidence> | undefined, prefix: Prefix) => {
|
|
5
4
|
[x: string]: string | undefined;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { ClientTaxDocumentation } from '@taxbit/utilities';
|
|
2
|
-
|
|
3
|
-
export declare const getEditFields: (data: ClientTaxDocumentation | undefined) => Partial<Record<"accountHolderAddressCity" | "accountHolderAddressCountry" | "accountHolderAddressState" | "accountHolderAddressStreet2" | "accountHolderAddressStreet" | "accountHolderAddressZip" | "accountHolderMailingAddressCity" | "accountHolderMailingAddressCountry" | "accountHolderMailingAddressState" | "accountHolderMailingAddressStreet2" | "accountHolderMailingAddressStreet" | "accountHolderMailingAddressZip" | "accountHolderTaxResidenceCountry1" | "accountHolderTaxResidenceCountry2" | "accountHolderTaxResidenceCountry3" | "accountHolderTaxResidenceCountry4" | "accountHolderTaxResidenceCountry5" | "accountHolderTaxResidenceTin1" | "accountHolderTaxResidenceTin2" | "accountHolderTaxResidenceTin3" | "accountHolderTaxResidenceTin4" | "accountHolderTaxResidenceTin5" | "accountHolderTaxResidenceTinIsNotRequired1" | "accountHolderTaxResidenceTinIsNotRequired2" | "accountHolderTaxResidenceTinIsNotRequired3" | "accountHolderTaxResidenceTinIsNotRequired4" | "accountHolderTaxResidenceTinIsNotRequired5" | "accountHolderTaxResidenceTinIsNotRequiredReason1" | "accountHolderTaxResidenceTinIsNotRequiredReason2" | "accountHolderTaxResidenceTinIsNotRequiredReason3" | "accountHolderTaxResidenceTinIsNotRequiredReason4" | "accountHolderTaxResidenceTinIsNotRequiredReason5" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther1" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther2" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther3" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther4" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther5" | "accountHolderShowTaxResidence1" | "accountHolderShowTaxResidence2" | "accountHolderShowTaxResidence3" | "accountHolderShowTaxResidence4" | "accountHolderShowTaxResidence5" | "controllingPerson1ShowFields" | "controllingPerson2ShowFields" | "controllingPerson3ShowFields" | "controllingPerson4ShowFields" | "controllingPerson5ShowFields" | "controllingPerson1Name" | "controllingPerson2Name" | "controllingPerson3Name" | "controllingPerson4Name" | "controllingPerson5Name" | "controllingPerson1Role" | "controllingPerson2Role" | "controllingPerson3Role" | "controllingPerson4Role" | "controllingPerson5Role" | "controllingPerson1RoleOther" | "controllingPerson2RoleOther" | "controllingPerson3RoleOther" | "controllingPerson4RoleOther" | "controllingPerson5RoleOther" | "controllingPerson1RoleOtherEquivalent" | "controllingPerson2RoleOtherEquivalent" | "controllingPerson3RoleOtherEquivalent" | "controllingPerson4RoleOtherEquivalent" | "controllingPerson5RoleOtherEquivalent" | "controllingPerson1OwnershipPercentage" | "controllingPerson2OwnershipPercentage" | "controllingPerson3OwnershipPercentage" | "controllingPerson4OwnershipPercentage" | "controllingPerson5OwnershipPercentage" | "controllingPerson1DateOfBirth" | "controllingPerson2DateOfBirth" | "controllingPerson3DateOfBirth" | "controllingPerson4DateOfBirth" | "controllingPerson5DateOfBirth" | "controllingPerson1CityOfBirth" | "controllingPerson2CityOfBirth" | "controllingPerson3CityOfBirth" | "controllingPerson4CityOfBirth" | "controllingPerson5CityOfBirth" | "controllingPerson1CountryOfBirth" | "controllingPerson2CountryOfBirth" | "controllingPerson3CountryOfBirth" | "controllingPerson4CountryOfBirth" | "controllingPerson5CountryOfBirth" | "controllingPerson1CountryOfCitizenship" | "controllingPerson2CountryOfCitizenship" | "controllingPerson3CountryOfCitizenship" | "controllingPerson4CountryOfCitizenship" | "controllingPerson5CountryOfCitizenship" | "controllingPerson1MailingAddressIsDifferent" | "controllingPerson2MailingAddressIsDifferent" | "controllingPerson3MailingAddressIsDifferent" | "controllingPerson4MailingAddressIsDifferent" | "controllingPerson5MailingAddressIsDifferent" | "controllingPerson1Address" | "controllingPerson2Address" | "controllingPerson3Address" | "controllingPerson4Address" | "controllingPerson5Address" | "controllingPerson1AddressCity" | "controllingPerson2AddressCity" | "controllingPerson3AddressCity" | "controllingPerson4AddressCity" | "controllingPerson5AddressCity" | "controllingPerson1AddressCountry" | "controllingPerson2AddressCountry" | "controllingPerson3AddressCountry" | "controllingPerson4AddressCountry" | "controllingPerson5AddressCountry" | "controllingPerson1AddressState" | "controllingPerson2AddressState" | "controllingPerson3AddressState" | "controllingPerson4AddressState" | "controllingPerson5AddressState" | "controllingPerson1AddressStreet2" | "controllingPerson2AddressStreet2" | "controllingPerson3AddressStreet2" | "controllingPerson4AddressStreet2" | "controllingPerson5AddressStreet2" | "controllingPerson1AddressStreet" | "controllingPerson2AddressStreet" | "controllingPerson3AddressStreet" | "controllingPerson4AddressStreet" | "controllingPerson5AddressStreet" | "controllingPerson1AddressZip" | "controllingPerson2AddressZip" | "controllingPerson3AddressZip" | "controllingPerson4AddressZip" | "controllingPerson5AddressZip" | "controllingPerson1MailingAddress" | "controllingPerson2MailingAddress" | "controllingPerson3MailingAddress" | "controllingPerson4MailingAddress" | "controllingPerson5MailingAddress" | "controllingPerson1MailingAddressCity" | "controllingPerson2MailingAddressCity" | "controllingPerson3MailingAddressCity" | "controllingPerson4MailingAddressCity" | "controllingPerson5MailingAddressCity" | "controllingPerson1MailingAddressCountry" | "controllingPerson2MailingAddressCountry" | "controllingPerson3MailingAddressCountry" | "controllingPerson4MailingAddressCountry" | "controllingPerson5MailingAddressCountry" | "controllingPerson1MailingAddressState" | "controllingPerson2MailingAddressState" | "controllingPerson3MailingAddressState" | "controllingPerson4MailingAddressState" | "controllingPerson5MailingAddressState" | "controllingPerson1MailingAddressStreet2" | "controllingPerson2MailingAddressStreet2" | "controllingPerson3MailingAddressStreet2" | "controllingPerson4MailingAddressStreet2" | "controllingPerson5MailingAddressStreet2" | "controllingPerson1MailingAddressStreet" | "controllingPerson2MailingAddressStreet" | "controllingPerson3MailingAddressStreet" | "controllingPerson4MailingAddressStreet" | "controllingPerson5MailingAddressStreet" | "controllingPerson1MailingAddressZip" | "controllingPerson2MailingAddressZip" | "controllingPerson3MailingAddressZip" | "controllingPerson4MailingAddressZip" | "controllingPerson5MailingAddressZip" | "controllingPerson1TaxResidences" | "controllingPerson2TaxResidences" | "controllingPerson3TaxResidences" | "controllingPerson4TaxResidences" | "controllingPerson5TaxResidences" | "controllingPerson1TaxResidenceCountry1" | "controllingPerson2TaxResidenceCountry1" | "controllingPerson3TaxResidenceCountry1" | "controllingPerson4TaxResidenceCountry1" | "controllingPerson5TaxResidenceCountry1" | "controllingPerson1TaxResidenceCountry2" | "controllingPerson2TaxResidenceCountry2" | "controllingPerson3TaxResidenceCountry2" | "controllingPerson4TaxResidenceCountry2" | "controllingPerson5TaxResidenceCountry2" | "controllingPerson1TaxResidenceCountry3" | "controllingPerson2TaxResidenceCountry3" | "controllingPerson3TaxResidenceCountry3" | "controllingPerson4TaxResidenceCountry3" | "controllingPerson5TaxResidenceCountry3" | "controllingPerson1TaxResidenceCountry4" | "controllingPerson2TaxResidenceCountry4" | "controllingPerson3TaxResidenceCountry4" | "controllingPerson4TaxResidenceCountry4" | "controllingPerson5TaxResidenceCountry4" | "controllingPerson1TaxResidenceCountry5" | "controllingPerson2TaxResidenceCountry5" | "controllingPerson3TaxResidenceCountry5" | "controllingPerson4TaxResidenceCountry5" | "controllingPerson5TaxResidenceCountry5" | "controllingPerson1TaxResidenceTin1" | "controllingPerson2TaxResidenceTin1" | "controllingPerson3TaxResidenceTin1" | "controllingPerson4TaxResidenceTin1" | "controllingPerson5TaxResidenceTin1" | "controllingPerson1TaxResidenceTin2" | "controllingPerson2TaxResidenceTin2" | "controllingPerson3TaxResidenceTin2" | "controllingPerson4TaxResidenceTin2" | "controllingPerson5TaxResidenceTin2" | "controllingPerson1TaxResidenceTin3" | "controllingPerson2TaxResidenceTin3" | "controllingPerson3TaxResidenceTin3" | "controllingPerson4TaxResidenceTin3" | "controllingPerson5TaxResidenceTin3" | "controllingPerson1TaxResidenceTin4" | "controllingPerson2TaxResidenceTin4" | "controllingPerson3TaxResidenceTin4" | "controllingPerson4TaxResidenceTin4" | "controllingPerson5TaxResidenceTin4" | "controllingPerson1TaxResidenceTin5" | "controllingPerson2TaxResidenceTin5" | "controllingPerson3TaxResidenceTin5" | "controllingPerson4TaxResidenceTin5" | "controllingPerson5TaxResidenceTin5" | "controllingPerson1TaxResidenceTinIsNotRequired1" | "controllingPerson2TaxResidenceTinIsNotRequired1" | "controllingPerson3TaxResidenceTinIsNotRequired1" | "controllingPerson4TaxResidenceTinIsNotRequired1" | "controllingPerson5TaxResidenceTinIsNotRequired1" | "controllingPerson1TaxResidenceTinIsNotRequired2" | "controllingPerson2TaxResidenceTinIsNotRequired2" | "controllingPerson3TaxResidenceTinIsNotRequired2" | "controllingPerson4TaxResidenceTinIsNotRequired2" | "controllingPerson5TaxResidenceTinIsNotRequired2" | "controllingPerson1TaxResidenceTinIsNotRequired3" | "controllingPerson2TaxResidenceTinIsNotRequired3" | "controllingPerson3TaxResidenceTinIsNotRequired3" | "controllingPerson4TaxResidenceTinIsNotRequired3" | "controllingPerson5TaxResidenceTinIsNotRequired3" | "controllingPerson1TaxResidenceTinIsNotRequired4" | "controllingPerson2TaxResidenceTinIsNotRequired4" | "controllingPerson3TaxResidenceTinIsNotRequired4" | "controllingPerson4TaxResidenceTinIsNotRequired4" | "controllingPerson5TaxResidenceTinIsNotRequired4" | "controllingPerson1TaxResidenceTinIsNotRequired5" | "controllingPerson2TaxResidenceTinIsNotRequired5" | "controllingPerson3TaxResidenceTinIsNotRequired5" | "controllingPerson4TaxResidenceTinIsNotRequired5" | "controllingPerson5TaxResidenceTinIsNotRequired5" | "controllingPerson1TaxResidenceTinIsNotRequiredReason1" | "controllingPerson2TaxResidenceTinIsNotRequiredReason1" | "controllingPerson3TaxResidenceTinIsNotRequiredReason1" | "controllingPerson4TaxResidenceTinIsNotRequiredReason1" | "controllingPerson5TaxResidenceTinIsNotRequiredReason1" | "controllingPerson1TaxResidenceTinIsNotRequiredReason2" | "controllingPerson2TaxResidenceTinIsNotRequiredReason2" | "controllingPerson3TaxResidenceTinIsNotRequiredReason2" | "controllingPerson4TaxResidenceTinIsNotRequiredReason2" | "controllingPerson5TaxResidenceTinIsNotRequiredReason2" | "controllingPerson1TaxResidenceTinIsNotRequiredReason3" | "controllingPerson2TaxResidenceTinIsNotRequiredReason3" | "controllingPerson3TaxResidenceTinIsNotRequiredReason3" | "controllingPerson4TaxResidenceTinIsNotRequiredReason3" | "controllingPerson5TaxResidenceTinIsNotRequiredReason3" | "controllingPerson1TaxResidenceTinIsNotRequiredReason4" | "controllingPerson2TaxResidenceTinIsNotRequiredReason4" | "controllingPerson3TaxResidenceTinIsNotRequiredReason4" | "controllingPerson4TaxResidenceTinIsNotRequiredReason4" | "controllingPerson5TaxResidenceTinIsNotRequiredReason4" | "controllingPerson1TaxResidenceTinIsNotRequiredReason5" | "controllingPerson2TaxResidenceTinIsNotRequiredReason5" | "controllingPerson3TaxResidenceTinIsNotRequiredReason5" | "controllingPerson4TaxResidenceTinIsNotRequiredReason5" | "controllingPerson5TaxResidenceTinIsNotRequiredReason5" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson1ShowTaxResidence1" | "controllingPerson2ShowTaxResidence1" | "controllingPerson3ShowTaxResidence1" | "controllingPerson4ShowTaxResidence1" | "controllingPerson5ShowTaxResidence1" | "controllingPerson1ShowTaxResidence2" | "controllingPerson2ShowTaxResidence2" | "controllingPerson3ShowTaxResidence2" | "controllingPerson4ShowTaxResidence2" | "controllingPerson5ShowTaxResidence2" | "controllingPerson1ShowTaxResidence3" | "controllingPerson2ShowTaxResidence3" | "controllingPerson3ShowTaxResidence3" | "controllingPerson4ShowTaxResidence3" | "controllingPerson5ShowTaxResidence3" | "controllingPerson1ShowTaxResidence4" | "controllingPerson2ShowTaxResidence4" | "controllingPerson3ShowTaxResidence4" | "controllingPerson4ShowTaxResidence4" | "controllingPerson5ShowTaxResidence4" | "controllingPerson1ShowTaxResidence5" | "controllingPerson2ShowTaxResidence5" | "controllingPerson3ShowTaxResidence5" | "controllingPerson4ShowTaxResidence5" | "controllingPerson5ShowTaxResidence5" | "regardedOwnerAddressCity" | "regardedOwnerAddressCountry" | "regardedOwnerAddressState" | "regardedOwnerAddressStreet2" | "regardedOwnerAddressStreet" | "regardedOwnerAddressZip" | "regardedOwnerMailingAddressCity" | "regardedOwnerMailingAddressCountry" | "regardedOwnerMailingAddressState" | "regardedOwnerMailingAddressStreet2" | "regardedOwnerMailingAddressStreet" | "regardedOwnerMailingAddressZip" | "accountHolderCityOfBirth" | "accountHolderCountryOfBirth" | "accountHolderOptionalCityOfBirth" | "accountHolderOptionalCountryOfBirth" | "accountHolderCountryOfCitizenship" | "accountHolderDateOfBirth" | "accountHolderDbaName" | "accountHolderMailingAddressIsDifferent" | "accountHolderName" | "accountHolderPhoneNumber" | "accountHolderPhoneNumberCode" | "accountHolderPhoneNumberNumber" | "accountHolderEmailAddress" | keyof import('../types').AccountHolderCertifications | "accountHolderForeignTin" | "accountHolderForeignTinIsNotRequired" | "accountHolderUsTin" | "accountHolderUsTinIsValid" | "accountHolderUsTinMatchVerification" | "accountHolderVatIdentificationNumber" | "accountHolderVatIsNotRequired" | "accountHolderVatCountry" | "accountHolderBusinessRegistrationNumber" | "accountHolderBusinessRegistrationCountry" | "accountHolderSelfCertificationAccountType" | "accountHolderActiveNonFinancialEntityType" | "accountHolderFinancialInstitutionType" | "accountHolderInvestmentEntityManaged" | "accountHolderEntityType" | "accountHolderSecuritiesMarket" | "accountHolderRelatedCorporation" | keyof import('../types').AccountHolderClassificationData | keyof import('../types').RegardedOwnerCertifications | "regardedOwnerCountryOfCitizenship" | "regardedOwnerDateOfBirth" | "regardedOwnerDbaName" | "regardedOwnerMailingAddressIsDifferent" | "regardedOwnerName" | keyof import('../types').RegardedOwnerClassificationData | keyof import('../types').RegardedOwnerTaxData | keyof import('../types').SummaryData | keyof import('../types').CalculatedData | keyof import('../types').AccountHolderTreatyClaimData | keyof import('../types').RegardedOwnerTreatyClaimData | keyof import('../types').InformationalText, boolean>>;
|
|
2
|
+
export declare const getEditFields: (data: ClientTaxDocumentation | undefined) => Partial<Record<"accountHolderAddressCity" | "accountHolderAddressCountry" | "accountHolderAddressState" | "accountHolderAddressStreet2" | "accountHolderAddressStreet" | "accountHolderAddressZip" | "accountHolderMailingAddressCity" | "accountHolderMailingAddressCountry" | "accountHolderMailingAddressState" | "accountHolderMailingAddressStreet2" | "accountHolderMailingAddressStreet" | "accountHolderMailingAddressZip" | "accountHolderIConfirmNoOtherTaxResidencies" | "accountHolderTaxResidenceCountry1" | "accountHolderTaxResidenceCountry2" | "accountHolderTaxResidenceCountry3" | "accountHolderTaxResidenceCountry4" | "accountHolderTaxResidenceCountry5" | "accountHolderTaxResidenceTin1" | "accountHolderTaxResidenceTin2" | "accountHolderTaxResidenceTin3" | "accountHolderTaxResidenceTin4" | "accountHolderTaxResidenceTin5" | "accountHolderTaxResidenceTinIsNotRequired1" | "accountHolderTaxResidenceTinIsNotRequired2" | "accountHolderTaxResidenceTinIsNotRequired3" | "accountHolderTaxResidenceTinIsNotRequired4" | "accountHolderTaxResidenceTinIsNotRequired5" | "accountHolderTaxResidenceTinIsNotRequiredReason1" | "accountHolderTaxResidenceTinIsNotRequiredReason2" | "accountHolderTaxResidenceTinIsNotRequiredReason3" | "accountHolderTaxResidenceTinIsNotRequiredReason4" | "accountHolderTaxResidenceTinIsNotRequiredReason5" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther1" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther2" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther3" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther4" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther5" | "accountHolderShowTaxResidence1" | "accountHolderShowTaxResidence2" | "accountHolderShowTaxResidence3" | "accountHolderShowTaxResidence4" | "accountHolderShowTaxResidence5" | "controllingPerson1ShowFields" | "controllingPerson2ShowFields" | "controllingPerson3ShowFields" | "controllingPerson4ShowFields" | "controllingPerson5ShowFields" | "controllingPerson1Name" | "controllingPerson2Name" | "controllingPerson3Name" | "controllingPerson4Name" | "controllingPerson5Name" | "controllingPerson1Role" | "controllingPerson2Role" | "controllingPerson3Role" | "controllingPerson4Role" | "controllingPerson5Role" | "controllingPerson1RoleOther" | "controllingPerson2RoleOther" | "controllingPerson3RoleOther" | "controllingPerson4RoleOther" | "controllingPerson5RoleOther" | "controllingPerson1RoleOtherEquivalent" | "controllingPerson2RoleOtherEquivalent" | "controllingPerson3RoleOtherEquivalent" | "controllingPerson4RoleOtherEquivalent" | "controllingPerson5RoleOtherEquivalent" | "controllingPerson1OwnershipPercentage" | "controllingPerson2OwnershipPercentage" | "controllingPerson3OwnershipPercentage" | "controllingPerson4OwnershipPercentage" | "controllingPerson5OwnershipPercentage" | "controllingPerson1DateOfBirth" | "controllingPerson2DateOfBirth" | "controllingPerson3DateOfBirth" | "controllingPerson4DateOfBirth" | "controllingPerson5DateOfBirth" | "controllingPerson1CityOfBirth" | "controllingPerson2CityOfBirth" | "controllingPerson3CityOfBirth" | "controllingPerson4CityOfBirth" | "controllingPerson5CityOfBirth" | "controllingPerson1CountryOfBirth" | "controllingPerson2CountryOfBirth" | "controllingPerson3CountryOfBirth" | "controllingPerson4CountryOfBirth" | "controllingPerson5CountryOfBirth" | "controllingPerson1CountryOfCitizenship" | "controllingPerson2CountryOfCitizenship" | "controllingPerson3CountryOfCitizenship" | "controllingPerson4CountryOfCitizenship" | "controllingPerson5CountryOfCitizenship" | "controllingPerson1MailingAddressIsDifferent" | "controllingPerson2MailingAddressIsDifferent" | "controllingPerson3MailingAddressIsDifferent" | "controllingPerson4MailingAddressIsDifferent" | "controllingPerson5MailingAddressIsDifferent" | "controllingPerson1Address" | "controllingPerson2Address" | "controllingPerson3Address" | "controllingPerson4Address" | "controllingPerson5Address" | "controllingPerson1AddressCity" | "controllingPerson2AddressCity" | "controllingPerson3AddressCity" | "controllingPerson4AddressCity" | "controllingPerson5AddressCity" | "controllingPerson1AddressCountry" | "controllingPerson2AddressCountry" | "controllingPerson3AddressCountry" | "controllingPerson4AddressCountry" | "controllingPerson5AddressCountry" | "controllingPerson1AddressState" | "controllingPerson2AddressState" | "controllingPerson3AddressState" | "controllingPerson4AddressState" | "controllingPerson5AddressState" | "controllingPerson1AddressStreet2" | "controllingPerson2AddressStreet2" | "controllingPerson3AddressStreet2" | "controllingPerson4AddressStreet2" | "controllingPerson5AddressStreet2" | "controllingPerson1AddressStreet" | "controllingPerson2AddressStreet" | "controllingPerson3AddressStreet" | "controllingPerson4AddressStreet" | "controllingPerson5AddressStreet" | "controllingPerson1AddressZip" | "controllingPerson2AddressZip" | "controllingPerson3AddressZip" | "controllingPerson4AddressZip" | "controllingPerson5AddressZip" | "controllingPerson1MailingAddress" | "controllingPerson2MailingAddress" | "controllingPerson3MailingAddress" | "controllingPerson4MailingAddress" | "controllingPerson5MailingAddress" | "controllingPerson1MailingAddressCity" | "controllingPerson2MailingAddressCity" | "controllingPerson3MailingAddressCity" | "controllingPerson4MailingAddressCity" | "controllingPerson5MailingAddressCity" | "controllingPerson1MailingAddressCountry" | "controllingPerson2MailingAddressCountry" | "controllingPerson3MailingAddressCountry" | "controllingPerson4MailingAddressCountry" | "controllingPerson5MailingAddressCountry" | "controllingPerson1MailingAddressState" | "controllingPerson2MailingAddressState" | "controllingPerson3MailingAddressState" | "controllingPerson4MailingAddressState" | "controllingPerson5MailingAddressState" | "controllingPerson1MailingAddressStreet2" | "controllingPerson2MailingAddressStreet2" | "controllingPerson3MailingAddressStreet2" | "controllingPerson4MailingAddressStreet2" | "controllingPerson5MailingAddressStreet2" | "controllingPerson1MailingAddressStreet" | "controllingPerson2MailingAddressStreet" | "controllingPerson3MailingAddressStreet" | "controllingPerson4MailingAddressStreet" | "controllingPerson5MailingAddressStreet" | "controllingPerson1MailingAddressZip" | "controllingPerson2MailingAddressZip" | "controllingPerson3MailingAddressZip" | "controllingPerson4MailingAddressZip" | "controllingPerson5MailingAddressZip" | "controllingPerson1ResidenceByInvestmentConfirmed" | "controllingPerson2ResidenceByInvestmentConfirmed" | "controllingPerson3ResidenceByInvestmentConfirmed" | "controllingPerson4ResidenceByInvestmentConfirmed" | "controllingPerson5ResidenceByInvestmentConfirmed" | "controllingPerson1IConfirmNoOtherTaxResidencies" | "controllingPerson2IConfirmNoOtherTaxResidencies" | "controllingPerson3IConfirmNoOtherTaxResidencies" | "controllingPerson4IConfirmNoOtherTaxResidencies" | "controllingPerson5IConfirmNoOtherTaxResidencies" | "controllingPerson1TaxResidences" | "controllingPerson2TaxResidences" | "controllingPerson3TaxResidences" | "controllingPerson4TaxResidences" | "controllingPerson5TaxResidences" | "controllingPerson1TaxResidenceCountry1" | "controllingPerson2TaxResidenceCountry1" | "controllingPerson3TaxResidenceCountry1" | "controllingPerson4TaxResidenceCountry1" | "controllingPerson5TaxResidenceCountry1" | "controllingPerson1TaxResidenceCountry2" | "controllingPerson2TaxResidenceCountry2" | "controllingPerson3TaxResidenceCountry2" | "controllingPerson4TaxResidenceCountry2" | "controllingPerson5TaxResidenceCountry2" | "controllingPerson1TaxResidenceCountry3" | "controllingPerson2TaxResidenceCountry3" | "controllingPerson3TaxResidenceCountry3" | "controllingPerson4TaxResidenceCountry3" | "controllingPerson5TaxResidenceCountry3" | "controllingPerson1TaxResidenceCountry4" | "controllingPerson2TaxResidenceCountry4" | "controllingPerson3TaxResidenceCountry4" | "controllingPerson4TaxResidenceCountry4" | "controllingPerson5TaxResidenceCountry4" | "controllingPerson1TaxResidenceCountry5" | "controllingPerson2TaxResidenceCountry5" | "controllingPerson3TaxResidenceCountry5" | "controllingPerson4TaxResidenceCountry5" | "controllingPerson5TaxResidenceCountry5" | "controllingPerson1TaxResidenceTin1" | "controllingPerson2TaxResidenceTin1" | "controllingPerson3TaxResidenceTin1" | "controllingPerson4TaxResidenceTin1" | "controllingPerson5TaxResidenceTin1" | "controllingPerson1TaxResidenceTin2" | "controllingPerson2TaxResidenceTin2" | "controllingPerson3TaxResidenceTin2" | "controllingPerson4TaxResidenceTin2" | "controllingPerson5TaxResidenceTin2" | "controllingPerson1TaxResidenceTin3" | "controllingPerson2TaxResidenceTin3" | "controllingPerson3TaxResidenceTin3" | "controllingPerson4TaxResidenceTin3" | "controllingPerson5TaxResidenceTin3" | "controllingPerson1TaxResidenceTin4" | "controllingPerson2TaxResidenceTin4" | "controllingPerson3TaxResidenceTin4" | "controllingPerson4TaxResidenceTin4" | "controllingPerson5TaxResidenceTin4" | "controllingPerson1TaxResidenceTin5" | "controllingPerson2TaxResidenceTin5" | "controllingPerson3TaxResidenceTin5" | "controllingPerson4TaxResidenceTin5" | "controllingPerson5TaxResidenceTin5" | "controllingPerson1TaxResidenceTinIsNotRequired1" | "controllingPerson2TaxResidenceTinIsNotRequired1" | "controllingPerson3TaxResidenceTinIsNotRequired1" | "controllingPerson4TaxResidenceTinIsNotRequired1" | "controllingPerson5TaxResidenceTinIsNotRequired1" | "controllingPerson1TaxResidenceTinIsNotRequired2" | "controllingPerson2TaxResidenceTinIsNotRequired2" | "controllingPerson3TaxResidenceTinIsNotRequired2" | "controllingPerson4TaxResidenceTinIsNotRequired2" | "controllingPerson5TaxResidenceTinIsNotRequired2" | "controllingPerson1TaxResidenceTinIsNotRequired3" | "controllingPerson2TaxResidenceTinIsNotRequired3" | "controllingPerson3TaxResidenceTinIsNotRequired3" | "controllingPerson4TaxResidenceTinIsNotRequired3" | "controllingPerson5TaxResidenceTinIsNotRequired3" | "controllingPerson1TaxResidenceTinIsNotRequired4" | "controllingPerson2TaxResidenceTinIsNotRequired4" | "controllingPerson3TaxResidenceTinIsNotRequired4" | "controllingPerson4TaxResidenceTinIsNotRequired4" | "controllingPerson5TaxResidenceTinIsNotRequired4" | "controllingPerson1TaxResidenceTinIsNotRequired5" | "controllingPerson2TaxResidenceTinIsNotRequired5" | "controllingPerson3TaxResidenceTinIsNotRequired5" | "controllingPerson4TaxResidenceTinIsNotRequired5" | "controllingPerson5TaxResidenceTinIsNotRequired5" | "controllingPerson1TaxResidenceTinIsNotRequiredReason1" | "controllingPerson2TaxResidenceTinIsNotRequiredReason1" | "controllingPerson3TaxResidenceTinIsNotRequiredReason1" | "controllingPerson4TaxResidenceTinIsNotRequiredReason1" | "controllingPerson5TaxResidenceTinIsNotRequiredReason1" | "controllingPerson1TaxResidenceTinIsNotRequiredReason2" | "controllingPerson2TaxResidenceTinIsNotRequiredReason2" | "controllingPerson3TaxResidenceTinIsNotRequiredReason2" | "controllingPerson4TaxResidenceTinIsNotRequiredReason2" | "controllingPerson5TaxResidenceTinIsNotRequiredReason2" | "controllingPerson1TaxResidenceTinIsNotRequiredReason3" | "controllingPerson2TaxResidenceTinIsNotRequiredReason3" | "controllingPerson3TaxResidenceTinIsNotRequiredReason3" | "controllingPerson4TaxResidenceTinIsNotRequiredReason3" | "controllingPerson5TaxResidenceTinIsNotRequiredReason3" | "controllingPerson1TaxResidenceTinIsNotRequiredReason4" | "controllingPerson2TaxResidenceTinIsNotRequiredReason4" | "controllingPerson3TaxResidenceTinIsNotRequiredReason4" | "controllingPerson4TaxResidenceTinIsNotRequiredReason4" | "controllingPerson5TaxResidenceTinIsNotRequiredReason4" | "controllingPerson1TaxResidenceTinIsNotRequiredReason5" | "controllingPerson2TaxResidenceTinIsNotRequiredReason5" | "controllingPerson3TaxResidenceTinIsNotRequiredReason5" | "controllingPerson4TaxResidenceTinIsNotRequiredReason5" | "controllingPerson5TaxResidenceTinIsNotRequiredReason5" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson1ShowTaxResidence1" | "controllingPerson2ShowTaxResidence1" | "controllingPerson3ShowTaxResidence1" | "controllingPerson4ShowTaxResidence1" | "controllingPerson5ShowTaxResidence1" | "controllingPerson1ShowTaxResidence2" | "controllingPerson2ShowTaxResidence2" | "controllingPerson3ShowTaxResidence2" | "controllingPerson4ShowTaxResidence2" | "controllingPerson5ShowTaxResidence2" | "controllingPerson1ShowTaxResidence3" | "controllingPerson2ShowTaxResidence3" | "controllingPerson3ShowTaxResidence3" | "controllingPerson4ShowTaxResidence3" | "controllingPerson5ShowTaxResidence3" | "controllingPerson1ShowTaxResidence4" | "controllingPerson2ShowTaxResidence4" | "controllingPerson3ShowTaxResidence4" | "controllingPerson4ShowTaxResidence4" | "controllingPerson5ShowTaxResidence4" | "controllingPerson1ShowTaxResidence5" | "controllingPerson2ShowTaxResidence5" | "controllingPerson3ShowTaxResidence5" | "controllingPerson4ShowTaxResidence5" | "controllingPerson5ShowTaxResidence5" | "regardedOwnerAddressCity" | "regardedOwnerAddressCountry" | "regardedOwnerAddressState" | "regardedOwnerAddressStreet2" | "regardedOwnerAddressStreet" | "regardedOwnerAddressZip" | "regardedOwnerMailingAddressCity" | "regardedOwnerMailingAddressCountry" | "regardedOwnerMailingAddressState" | "regardedOwnerMailingAddressStreet2" | "regardedOwnerMailingAddressStreet" | "regardedOwnerMailingAddressZip" | "accountHolderCityOfBirth" | "accountHolderCountryOfBirth" | "accountHolderOptionalCityOfBirth" | "accountHolderOptionalCountryOfBirth" | "accountHolderCountryOfCitizenship" | "accountHolderDateOfBirth" | "accountHolderDbaName" | "accountHolderMailingAddressIsDifferent" | "accountHolderName" | "accountHolderPhoneNumber" | "accountHolderPhoneNumberCode" | "accountHolderPhoneNumberNumber" | "accountHolderEmailAddress" | keyof import('../types').AccountHolderCertifications | "accountHolderForeignTin" | "accountHolderForeignTinIsNotRequired" | "accountHolderUsTin" | "accountHolderUsTinIsValid" | "accountHolderUsTinMatchVerification" | "accountHolderVatIdentificationNumber" | "accountHolderVatIsNotRequired" | "accountHolderVatCountry" | "accountHolderBusinessRegistrationNumber" | "accountHolderBusinessRegistrationCountry" | "accountHolderSelfCertificationAccountType" | "accountHolderActiveNonFinancialEntityType" | "accountHolderFinancialInstitutionType" | "accountHolderInvestmentEntityManaged" | "accountHolderEntityType" | "accountHolderSecuritiesMarket" | "accountHolderRelatedCorporation" | "accountHolderResidenceByInvestmentConfirmed" | "accountHolderGiin" | keyof import('../types').AccountHolderClassificationData | keyof import('../types').RegardedOwnerCertifications | "regardedOwnerCountryOfCitizenship" | "regardedOwnerDateOfBirth" | "regardedOwnerDbaName" | "regardedOwnerMailingAddressIsDifferent" | "regardedOwnerName" | keyof import('../types').RegardedOwnerClassificationData | keyof import('../types').RegardedOwnerTaxData | keyof import('../types').SummaryData | keyof import('../types').CalculatedData | keyof import('../types').AccountHolderTreatyClaimData | keyof import('../types').RegardedOwnerTreatyClaimData | keyof import('../types').InformationalText, boolean>>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { QuestionnaireProp, TaxDocumentation } from '../types';
|
|
2
|
-
|
|
3
2
|
type Options = {
|
|
4
3
|
treatyClaims?: boolean;
|
|
5
4
|
realTimeTinValidation?: boolean;
|
|
6
5
|
};
|
|
7
|
-
export declare const getSkipFields: (initialData: TaxDocumentation, questionnaire: QuestionnaireProp, collectedData: TaxDocumentation, options: Options) => Partial<Record<"accountHolderAddressCity" | "accountHolderAddressCountry" | "accountHolderAddressState" | "accountHolderAddressStreet2" | "accountHolderAddressStreet" | "accountHolderAddressZip" | "accountHolderMailingAddressCity" | "accountHolderMailingAddressCountry" | "accountHolderMailingAddressState" | "accountHolderMailingAddressStreet2" | "accountHolderMailingAddressStreet" | "accountHolderMailingAddressZip" | "accountHolderTaxResidenceCountry1" | "accountHolderTaxResidenceCountry2" | "accountHolderTaxResidenceCountry3" | "accountHolderTaxResidenceCountry4" | "accountHolderTaxResidenceCountry5" | "accountHolderTaxResidenceTin1" | "accountHolderTaxResidenceTin2" | "accountHolderTaxResidenceTin3" | "accountHolderTaxResidenceTin4" | "accountHolderTaxResidenceTin5" | "accountHolderTaxResidenceTinIsNotRequired1" | "accountHolderTaxResidenceTinIsNotRequired2" | "accountHolderTaxResidenceTinIsNotRequired3" | "accountHolderTaxResidenceTinIsNotRequired4" | "accountHolderTaxResidenceTinIsNotRequired5" | "accountHolderTaxResidenceTinIsNotRequiredReason1" | "accountHolderTaxResidenceTinIsNotRequiredReason2" | "accountHolderTaxResidenceTinIsNotRequiredReason3" | "accountHolderTaxResidenceTinIsNotRequiredReason4" | "accountHolderTaxResidenceTinIsNotRequiredReason5" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther1" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther2" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther3" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther4" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther5" | "accountHolderShowTaxResidence1" | "accountHolderShowTaxResidence2" | "accountHolderShowTaxResidence3" | "accountHolderShowTaxResidence4" | "accountHolderShowTaxResidence5" | "controllingPerson1ShowFields" | "controllingPerson2ShowFields" | "controllingPerson3ShowFields" | "controllingPerson4ShowFields" | "controllingPerson5ShowFields" | "controllingPerson1Name" | "controllingPerson2Name" | "controllingPerson3Name" | "controllingPerson4Name" | "controllingPerson5Name" | "controllingPerson1Role" | "controllingPerson2Role" | "controllingPerson3Role" | "controllingPerson4Role" | "controllingPerson5Role" | "controllingPerson1RoleOther" | "controllingPerson2RoleOther" | "controllingPerson3RoleOther" | "controllingPerson4RoleOther" | "controllingPerson5RoleOther" | "controllingPerson1RoleOtherEquivalent" | "controllingPerson2RoleOtherEquivalent" | "controllingPerson3RoleOtherEquivalent" | "controllingPerson4RoleOtherEquivalent" | "controllingPerson5RoleOtherEquivalent" | "controllingPerson1OwnershipPercentage" | "controllingPerson2OwnershipPercentage" | "controllingPerson3OwnershipPercentage" | "controllingPerson4OwnershipPercentage" | "controllingPerson5OwnershipPercentage" | "controllingPerson1DateOfBirth" | "controllingPerson2DateOfBirth" | "controllingPerson3DateOfBirth" | "controllingPerson4DateOfBirth" | "controllingPerson5DateOfBirth" | "controllingPerson1CityOfBirth" | "controllingPerson2CityOfBirth" | "controllingPerson3CityOfBirth" | "controllingPerson4CityOfBirth" | "controllingPerson5CityOfBirth" | "controllingPerson1CountryOfBirth" | "controllingPerson2CountryOfBirth" | "controllingPerson3CountryOfBirth" | "controllingPerson4CountryOfBirth" | "controllingPerson5CountryOfBirth" | "controllingPerson1CountryOfCitizenship" | "controllingPerson2CountryOfCitizenship" | "controllingPerson3CountryOfCitizenship" | "controllingPerson4CountryOfCitizenship" | "controllingPerson5CountryOfCitizenship" | "controllingPerson1MailingAddressIsDifferent" | "controllingPerson2MailingAddressIsDifferent" | "controllingPerson3MailingAddressIsDifferent" | "controllingPerson4MailingAddressIsDifferent" | "controllingPerson5MailingAddressIsDifferent" | "controllingPerson1Address" | "controllingPerson2Address" | "controllingPerson3Address" | "controllingPerson4Address" | "controllingPerson5Address" | "controllingPerson1AddressCity" | "controllingPerson2AddressCity" | "controllingPerson3AddressCity" | "controllingPerson4AddressCity" | "controllingPerson5AddressCity" | "controllingPerson1AddressCountry" | "controllingPerson2AddressCountry" | "controllingPerson3AddressCountry" | "controllingPerson4AddressCountry" | "controllingPerson5AddressCountry" | "controllingPerson1AddressState" | "controllingPerson2AddressState" | "controllingPerson3AddressState" | "controllingPerson4AddressState" | "controllingPerson5AddressState" | "controllingPerson1AddressStreet2" | "controllingPerson2AddressStreet2" | "controllingPerson3AddressStreet2" | "controllingPerson4AddressStreet2" | "controllingPerson5AddressStreet2" | "controllingPerson1AddressStreet" | "controllingPerson2AddressStreet" | "controllingPerson3AddressStreet" | "controllingPerson4AddressStreet" | "controllingPerson5AddressStreet" | "controllingPerson1AddressZip" | "controllingPerson2AddressZip" | "controllingPerson3AddressZip" | "controllingPerson4AddressZip" | "controllingPerson5AddressZip" | "controllingPerson1MailingAddress" | "controllingPerson2MailingAddress" | "controllingPerson3MailingAddress" | "controllingPerson4MailingAddress" | "controllingPerson5MailingAddress" | "controllingPerson1MailingAddressCity" | "controllingPerson2MailingAddressCity" | "controllingPerson3MailingAddressCity" | "controllingPerson4MailingAddressCity" | "controllingPerson5MailingAddressCity" | "controllingPerson1MailingAddressCountry" | "controllingPerson2MailingAddressCountry" | "controllingPerson3MailingAddressCountry" | "controllingPerson4MailingAddressCountry" | "controllingPerson5MailingAddressCountry" | "controllingPerson1MailingAddressState" | "controllingPerson2MailingAddressState" | "controllingPerson3MailingAddressState" | "controllingPerson4MailingAddressState" | "controllingPerson5MailingAddressState" | "controllingPerson1MailingAddressStreet2" | "controllingPerson2MailingAddressStreet2" | "controllingPerson3MailingAddressStreet2" | "controllingPerson4MailingAddressStreet2" | "controllingPerson5MailingAddressStreet2" | "controllingPerson1MailingAddressStreet" | "controllingPerson2MailingAddressStreet" | "controllingPerson3MailingAddressStreet" | "controllingPerson4MailingAddressStreet" | "controllingPerson5MailingAddressStreet" | "controllingPerson1MailingAddressZip" | "controllingPerson2MailingAddressZip" | "controllingPerson3MailingAddressZip" | "controllingPerson4MailingAddressZip" | "controllingPerson5MailingAddressZip" | "controllingPerson1TaxResidences" | "controllingPerson2TaxResidences" | "controllingPerson3TaxResidences" | "controllingPerson4TaxResidences" | "controllingPerson5TaxResidences" | "controllingPerson1TaxResidenceCountry1" | "controllingPerson2TaxResidenceCountry1" | "controllingPerson3TaxResidenceCountry1" | "controllingPerson4TaxResidenceCountry1" | "controllingPerson5TaxResidenceCountry1" | "controllingPerson1TaxResidenceCountry2" | "controllingPerson2TaxResidenceCountry2" | "controllingPerson3TaxResidenceCountry2" | "controllingPerson4TaxResidenceCountry2" | "controllingPerson5TaxResidenceCountry2" | "controllingPerson1TaxResidenceCountry3" | "controllingPerson2TaxResidenceCountry3" | "controllingPerson3TaxResidenceCountry3" | "controllingPerson4TaxResidenceCountry3" | "controllingPerson5TaxResidenceCountry3" | "controllingPerson1TaxResidenceCountry4" | "controllingPerson2TaxResidenceCountry4" | "controllingPerson3TaxResidenceCountry4" | "controllingPerson4TaxResidenceCountry4" | "controllingPerson5TaxResidenceCountry4" | "controllingPerson1TaxResidenceCountry5" | "controllingPerson2TaxResidenceCountry5" | "controllingPerson3TaxResidenceCountry5" | "controllingPerson4TaxResidenceCountry5" | "controllingPerson5TaxResidenceCountry5" | "controllingPerson1TaxResidenceTin1" | "controllingPerson2TaxResidenceTin1" | "controllingPerson3TaxResidenceTin1" | "controllingPerson4TaxResidenceTin1" | "controllingPerson5TaxResidenceTin1" | "controllingPerson1TaxResidenceTin2" | "controllingPerson2TaxResidenceTin2" | "controllingPerson3TaxResidenceTin2" | "controllingPerson4TaxResidenceTin2" | "controllingPerson5TaxResidenceTin2" | "controllingPerson1TaxResidenceTin3" | "controllingPerson2TaxResidenceTin3" | "controllingPerson3TaxResidenceTin3" | "controllingPerson4TaxResidenceTin3" | "controllingPerson5TaxResidenceTin3" | "controllingPerson1TaxResidenceTin4" | "controllingPerson2TaxResidenceTin4" | "controllingPerson3TaxResidenceTin4" | "controllingPerson4TaxResidenceTin4" | "controllingPerson5TaxResidenceTin4" | "controllingPerson1TaxResidenceTin5" | "controllingPerson2TaxResidenceTin5" | "controllingPerson3TaxResidenceTin5" | "controllingPerson4TaxResidenceTin5" | "controllingPerson5TaxResidenceTin5" | "controllingPerson1TaxResidenceTinIsNotRequired1" | "controllingPerson2TaxResidenceTinIsNotRequired1" | "controllingPerson3TaxResidenceTinIsNotRequired1" | "controllingPerson4TaxResidenceTinIsNotRequired1" | "controllingPerson5TaxResidenceTinIsNotRequired1" | "controllingPerson1TaxResidenceTinIsNotRequired2" | "controllingPerson2TaxResidenceTinIsNotRequired2" | "controllingPerson3TaxResidenceTinIsNotRequired2" | "controllingPerson4TaxResidenceTinIsNotRequired2" | "controllingPerson5TaxResidenceTinIsNotRequired2" | "controllingPerson1TaxResidenceTinIsNotRequired3" | "controllingPerson2TaxResidenceTinIsNotRequired3" | "controllingPerson3TaxResidenceTinIsNotRequired3" | "controllingPerson4TaxResidenceTinIsNotRequired3" | "controllingPerson5TaxResidenceTinIsNotRequired3" | "controllingPerson1TaxResidenceTinIsNotRequired4" | "controllingPerson2TaxResidenceTinIsNotRequired4" | "controllingPerson3TaxResidenceTinIsNotRequired4" | "controllingPerson4TaxResidenceTinIsNotRequired4" | "controllingPerson5TaxResidenceTinIsNotRequired4" | "controllingPerson1TaxResidenceTinIsNotRequired5" | "controllingPerson2TaxResidenceTinIsNotRequired5" | "controllingPerson3TaxResidenceTinIsNotRequired5" | "controllingPerson4TaxResidenceTinIsNotRequired5" | "controllingPerson5TaxResidenceTinIsNotRequired5" | "controllingPerson1TaxResidenceTinIsNotRequiredReason1" | "controllingPerson2TaxResidenceTinIsNotRequiredReason1" | "controllingPerson3TaxResidenceTinIsNotRequiredReason1" | "controllingPerson4TaxResidenceTinIsNotRequiredReason1" | "controllingPerson5TaxResidenceTinIsNotRequiredReason1" | "controllingPerson1TaxResidenceTinIsNotRequiredReason2" | "controllingPerson2TaxResidenceTinIsNotRequiredReason2" | "controllingPerson3TaxResidenceTinIsNotRequiredReason2" | "controllingPerson4TaxResidenceTinIsNotRequiredReason2" | "controllingPerson5TaxResidenceTinIsNotRequiredReason2" | "controllingPerson1TaxResidenceTinIsNotRequiredReason3" | "controllingPerson2TaxResidenceTinIsNotRequiredReason3" | "controllingPerson3TaxResidenceTinIsNotRequiredReason3" | "controllingPerson4TaxResidenceTinIsNotRequiredReason3" | "controllingPerson5TaxResidenceTinIsNotRequiredReason3" | "controllingPerson1TaxResidenceTinIsNotRequiredReason4" | "controllingPerson2TaxResidenceTinIsNotRequiredReason4" | "controllingPerson3TaxResidenceTinIsNotRequiredReason4" | "controllingPerson4TaxResidenceTinIsNotRequiredReason4" | "controllingPerson5TaxResidenceTinIsNotRequiredReason4" | "controllingPerson1TaxResidenceTinIsNotRequiredReason5" | "controllingPerson2TaxResidenceTinIsNotRequiredReason5" | "controllingPerson3TaxResidenceTinIsNotRequiredReason5" | "controllingPerson4TaxResidenceTinIsNotRequiredReason5" | "controllingPerson5TaxResidenceTinIsNotRequiredReason5" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson1ShowTaxResidence1" | "controllingPerson2ShowTaxResidence1" | "controllingPerson3ShowTaxResidence1" | "controllingPerson4ShowTaxResidence1" | "controllingPerson5ShowTaxResidence1" | "controllingPerson1ShowTaxResidence2" | "controllingPerson2ShowTaxResidence2" | "controllingPerson3ShowTaxResidence2" | "controllingPerson4ShowTaxResidence2" | "controllingPerson5ShowTaxResidence2" | "controllingPerson1ShowTaxResidence3" | "controllingPerson2ShowTaxResidence3" | "controllingPerson3ShowTaxResidence3" | "controllingPerson4ShowTaxResidence3" | "controllingPerson5ShowTaxResidence3" | "controllingPerson1ShowTaxResidence4" | "controllingPerson2ShowTaxResidence4" | "controllingPerson3ShowTaxResidence4" | "controllingPerson4ShowTaxResidence4" | "controllingPerson5ShowTaxResidence4" | "controllingPerson1ShowTaxResidence5" | "controllingPerson2ShowTaxResidence5" | "controllingPerson3ShowTaxResidence5" | "controllingPerson4ShowTaxResidence5" | "controllingPerson5ShowTaxResidence5" | "regardedOwnerAddressCity" | "regardedOwnerAddressCountry" | "regardedOwnerAddressState" | "regardedOwnerAddressStreet2" | "regardedOwnerAddressStreet" | "regardedOwnerAddressZip" | "regardedOwnerMailingAddressCity" | "regardedOwnerMailingAddressCountry" | "regardedOwnerMailingAddressState" | "regardedOwnerMailingAddressStreet2" | "regardedOwnerMailingAddressStreet" | "regardedOwnerMailingAddressZip" | "accountHolderCityOfBirth" | "accountHolderCountryOfBirth" | "accountHolderOptionalCityOfBirth" | "accountHolderOptionalCountryOfBirth" | "accountHolderCountryOfCitizenship" | "accountHolderDateOfBirth" | "accountHolderDbaName" | "accountHolderMailingAddressIsDifferent" | "accountHolderName" | "accountHolderPhoneNumber" | "accountHolderPhoneNumberCode" | "accountHolderPhoneNumberNumber" | "accountHolderEmailAddress" | keyof import('../types').AccountHolderCertifications | "accountHolderForeignTin" | "accountHolderForeignTinIsNotRequired" | "accountHolderUsTin" | "accountHolderUsTinIsValid" | "accountHolderUsTinMatchVerification" | "accountHolderVatIdentificationNumber" | "accountHolderVatIsNotRequired" | "accountHolderVatCountry" | "accountHolderBusinessRegistrationNumber" | "accountHolderBusinessRegistrationCountry" | "accountHolderSelfCertificationAccountType" | "accountHolderActiveNonFinancialEntityType" | "accountHolderFinancialInstitutionType" | "accountHolderInvestmentEntityManaged" | "accountHolderEntityType" | "accountHolderSecuritiesMarket" | "accountHolderRelatedCorporation" | keyof import('../types').AccountHolderClassificationData | keyof import('../types').RegardedOwnerCertifications | "regardedOwnerCountryOfCitizenship" | "regardedOwnerDateOfBirth" | "regardedOwnerDbaName" | "regardedOwnerMailingAddressIsDifferent" | "regardedOwnerName" | keyof import('../types').RegardedOwnerClassificationData | keyof import('../types').RegardedOwnerTaxData | keyof import('../types').SummaryData | keyof import('../types').CalculatedData | keyof import('../types').AccountHolderTreatyClaimData | keyof import('../types').RegardedOwnerTreatyClaimData | keyof import('../types').InformationalText, true>>;
|
|
6
|
+
export declare const getSkipFields: (initialData: TaxDocumentation, questionnaire: QuestionnaireProp, collectedData: TaxDocumentation, options: Options) => Partial<Record<"accountHolderAddressCity" | "accountHolderAddressCountry" | "accountHolderAddressState" | "accountHolderAddressStreet2" | "accountHolderAddressStreet" | "accountHolderAddressZip" | "accountHolderMailingAddressCity" | "accountHolderMailingAddressCountry" | "accountHolderMailingAddressState" | "accountHolderMailingAddressStreet2" | "accountHolderMailingAddressStreet" | "accountHolderMailingAddressZip" | "accountHolderIConfirmNoOtherTaxResidencies" | "accountHolderTaxResidenceCountry1" | "accountHolderTaxResidenceCountry2" | "accountHolderTaxResidenceCountry3" | "accountHolderTaxResidenceCountry4" | "accountHolderTaxResidenceCountry5" | "accountHolderTaxResidenceTin1" | "accountHolderTaxResidenceTin2" | "accountHolderTaxResidenceTin3" | "accountHolderTaxResidenceTin4" | "accountHolderTaxResidenceTin5" | "accountHolderTaxResidenceTinIsNotRequired1" | "accountHolderTaxResidenceTinIsNotRequired2" | "accountHolderTaxResidenceTinIsNotRequired3" | "accountHolderTaxResidenceTinIsNotRequired4" | "accountHolderTaxResidenceTinIsNotRequired5" | "accountHolderTaxResidenceTinIsNotRequiredReason1" | "accountHolderTaxResidenceTinIsNotRequiredReason2" | "accountHolderTaxResidenceTinIsNotRequiredReason3" | "accountHolderTaxResidenceTinIsNotRequiredReason4" | "accountHolderTaxResidenceTinIsNotRequiredReason5" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther1" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther2" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther3" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther4" | "accountHolderTaxResidenceTinIsNotRequiredReasonOther5" | "accountHolderShowTaxResidence1" | "accountHolderShowTaxResidence2" | "accountHolderShowTaxResidence3" | "accountHolderShowTaxResidence4" | "accountHolderShowTaxResidence5" | "controllingPerson1ShowFields" | "controllingPerson2ShowFields" | "controllingPerson3ShowFields" | "controllingPerson4ShowFields" | "controllingPerson5ShowFields" | "controllingPerson1Name" | "controllingPerson2Name" | "controllingPerson3Name" | "controllingPerson4Name" | "controllingPerson5Name" | "controllingPerson1Role" | "controllingPerson2Role" | "controllingPerson3Role" | "controllingPerson4Role" | "controllingPerson5Role" | "controllingPerson1RoleOther" | "controllingPerson2RoleOther" | "controllingPerson3RoleOther" | "controllingPerson4RoleOther" | "controllingPerson5RoleOther" | "controllingPerson1RoleOtherEquivalent" | "controllingPerson2RoleOtherEquivalent" | "controllingPerson3RoleOtherEquivalent" | "controllingPerson4RoleOtherEquivalent" | "controllingPerson5RoleOtherEquivalent" | "controllingPerson1OwnershipPercentage" | "controllingPerson2OwnershipPercentage" | "controllingPerson3OwnershipPercentage" | "controllingPerson4OwnershipPercentage" | "controllingPerson5OwnershipPercentage" | "controllingPerson1DateOfBirth" | "controllingPerson2DateOfBirth" | "controllingPerson3DateOfBirth" | "controllingPerson4DateOfBirth" | "controllingPerson5DateOfBirth" | "controllingPerson1CityOfBirth" | "controllingPerson2CityOfBirth" | "controllingPerson3CityOfBirth" | "controllingPerson4CityOfBirth" | "controllingPerson5CityOfBirth" | "controllingPerson1CountryOfBirth" | "controllingPerson2CountryOfBirth" | "controllingPerson3CountryOfBirth" | "controllingPerson4CountryOfBirth" | "controllingPerson5CountryOfBirth" | "controllingPerson1CountryOfCitizenship" | "controllingPerson2CountryOfCitizenship" | "controllingPerson3CountryOfCitizenship" | "controllingPerson4CountryOfCitizenship" | "controllingPerson5CountryOfCitizenship" | "controllingPerson1MailingAddressIsDifferent" | "controllingPerson2MailingAddressIsDifferent" | "controllingPerson3MailingAddressIsDifferent" | "controllingPerson4MailingAddressIsDifferent" | "controllingPerson5MailingAddressIsDifferent" | "controllingPerson1Address" | "controllingPerson2Address" | "controllingPerson3Address" | "controllingPerson4Address" | "controllingPerson5Address" | "controllingPerson1AddressCity" | "controllingPerson2AddressCity" | "controllingPerson3AddressCity" | "controllingPerson4AddressCity" | "controllingPerson5AddressCity" | "controllingPerson1AddressCountry" | "controllingPerson2AddressCountry" | "controllingPerson3AddressCountry" | "controllingPerson4AddressCountry" | "controllingPerson5AddressCountry" | "controllingPerson1AddressState" | "controllingPerson2AddressState" | "controllingPerson3AddressState" | "controllingPerson4AddressState" | "controllingPerson5AddressState" | "controllingPerson1AddressStreet2" | "controllingPerson2AddressStreet2" | "controllingPerson3AddressStreet2" | "controllingPerson4AddressStreet2" | "controllingPerson5AddressStreet2" | "controllingPerson1AddressStreet" | "controllingPerson2AddressStreet" | "controllingPerson3AddressStreet" | "controllingPerson4AddressStreet" | "controllingPerson5AddressStreet" | "controllingPerson1AddressZip" | "controllingPerson2AddressZip" | "controllingPerson3AddressZip" | "controllingPerson4AddressZip" | "controllingPerson5AddressZip" | "controllingPerson1MailingAddress" | "controllingPerson2MailingAddress" | "controllingPerson3MailingAddress" | "controllingPerson4MailingAddress" | "controllingPerson5MailingAddress" | "controllingPerson1MailingAddressCity" | "controllingPerson2MailingAddressCity" | "controllingPerson3MailingAddressCity" | "controllingPerson4MailingAddressCity" | "controllingPerson5MailingAddressCity" | "controllingPerson1MailingAddressCountry" | "controllingPerson2MailingAddressCountry" | "controllingPerson3MailingAddressCountry" | "controllingPerson4MailingAddressCountry" | "controllingPerson5MailingAddressCountry" | "controllingPerson1MailingAddressState" | "controllingPerson2MailingAddressState" | "controllingPerson3MailingAddressState" | "controllingPerson4MailingAddressState" | "controllingPerson5MailingAddressState" | "controllingPerson1MailingAddressStreet2" | "controllingPerson2MailingAddressStreet2" | "controllingPerson3MailingAddressStreet2" | "controllingPerson4MailingAddressStreet2" | "controllingPerson5MailingAddressStreet2" | "controllingPerson1MailingAddressStreet" | "controllingPerson2MailingAddressStreet" | "controllingPerson3MailingAddressStreet" | "controllingPerson4MailingAddressStreet" | "controllingPerson5MailingAddressStreet" | "controllingPerson1MailingAddressZip" | "controllingPerson2MailingAddressZip" | "controllingPerson3MailingAddressZip" | "controllingPerson4MailingAddressZip" | "controllingPerson5MailingAddressZip" | "controllingPerson1ResidenceByInvestmentConfirmed" | "controllingPerson2ResidenceByInvestmentConfirmed" | "controllingPerson3ResidenceByInvestmentConfirmed" | "controllingPerson4ResidenceByInvestmentConfirmed" | "controllingPerson5ResidenceByInvestmentConfirmed" | "controllingPerson1IConfirmNoOtherTaxResidencies" | "controllingPerson2IConfirmNoOtherTaxResidencies" | "controllingPerson3IConfirmNoOtherTaxResidencies" | "controllingPerson4IConfirmNoOtherTaxResidencies" | "controllingPerson5IConfirmNoOtherTaxResidencies" | "controllingPerson1TaxResidences" | "controllingPerson2TaxResidences" | "controllingPerson3TaxResidences" | "controllingPerson4TaxResidences" | "controllingPerson5TaxResidences" | "controllingPerson1TaxResidenceCountry1" | "controllingPerson2TaxResidenceCountry1" | "controllingPerson3TaxResidenceCountry1" | "controllingPerson4TaxResidenceCountry1" | "controllingPerson5TaxResidenceCountry1" | "controllingPerson1TaxResidenceCountry2" | "controllingPerson2TaxResidenceCountry2" | "controllingPerson3TaxResidenceCountry2" | "controllingPerson4TaxResidenceCountry2" | "controllingPerson5TaxResidenceCountry2" | "controllingPerson1TaxResidenceCountry3" | "controllingPerson2TaxResidenceCountry3" | "controllingPerson3TaxResidenceCountry3" | "controllingPerson4TaxResidenceCountry3" | "controllingPerson5TaxResidenceCountry3" | "controllingPerson1TaxResidenceCountry4" | "controllingPerson2TaxResidenceCountry4" | "controllingPerson3TaxResidenceCountry4" | "controllingPerson4TaxResidenceCountry4" | "controllingPerson5TaxResidenceCountry4" | "controllingPerson1TaxResidenceCountry5" | "controllingPerson2TaxResidenceCountry5" | "controllingPerson3TaxResidenceCountry5" | "controllingPerson4TaxResidenceCountry5" | "controllingPerson5TaxResidenceCountry5" | "controllingPerson1TaxResidenceTin1" | "controllingPerson2TaxResidenceTin1" | "controllingPerson3TaxResidenceTin1" | "controllingPerson4TaxResidenceTin1" | "controllingPerson5TaxResidenceTin1" | "controllingPerson1TaxResidenceTin2" | "controllingPerson2TaxResidenceTin2" | "controllingPerson3TaxResidenceTin2" | "controllingPerson4TaxResidenceTin2" | "controllingPerson5TaxResidenceTin2" | "controllingPerson1TaxResidenceTin3" | "controllingPerson2TaxResidenceTin3" | "controllingPerson3TaxResidenceTin3" | "controllingPerson4TaxResidenceTin3" | "controllingPerson5TaxResidenceTin3" | "controllingPerson1TaxResidenceTin4" | "controllingPerson2TaxResidenceTin4" | "controllingPerson3TaxResidenceTin4" | "controllingPerson4TaxResidenceTin4" | "controllingPerson5TaxResidenceTin4" | "controllingPerson1TaxResidenceTin5" | "controllingPerson2TaxResidenceTin5" | "controllingPerson3TaxResidenceTin5" | "controllingPerson4TaxResidenceTin5" | "controllingPerson5TaxResidenceTin5" | "controllingPerson1TaxResidenceTinIsNotRequired1" | "controllingPerson2TaxResidenceTinIsNotRequired1" | "controllingPerson3TaxResidenceTinIsNotRequired1" | "controllingPerson4TaxResidenceTinIsNotRequired1" | "controllingPerson5TaxResidenceTinIsNotRequired1" | "controllingPerson1TaxResidenceTinIsNotRequired2" | "controllingPerson2TaxResidenceTinIsNotRequired2" | "controllingPerson3TaxResidenceTinIsNotRequired2" | "controllingPerson4TaxResidenceTinIsNotRequired2" | "controllingPerson5TaxResidenceTinIsNotRequired2" | "controllingPerson1TaxResidenceTinIsNotRequired3" | "controllingPerson2TaxResidenceTinIsNotRequired3" | "controllingPerson3TaxResidenceTinIsNotRequired3" | "controllingPerson4TaxResidenceTinIsNotRequired3" | "controllingPerson5TaxResidenceTinIsNotRequired3" | "controllingPerson1TaxResidenceTinIsNotRequired4" | "controllingPerson2TaxResidenceTinIsNotRequired4" | "controllingPerson3TaxResidenceTinIsNotRequired4" | "controllingPerson4TaxResidenceTinIsNotRequired4" | "controllingPerson5TaxResidenceTinIsNotRequired4" | "controllingPerson1TaxResidenceTinIsNotRequired5" | "controllingPerson2TaxResidenceTinIsNotRequired5" | "controllingPerson3TaxResidenceTinIsNotRequired5" | "controllingPerson4TaxResidenceTinIsNotRequired5" | "controllingPerson5TaxResidenceTinIsNotRequired5" | "controllingPerson1TaxResidenceTinIsNotRequiredReason1" | "controllingPerson2TaxResidenceTinIsNotRequiredReason1" | "controllingPerson3TaxResidenceTinIsNotRequiredReason1" | "controllingPerson4TaxResidenceTinIsNotRequiredReason1" | "controllingPerson5TaxResidenceTinIsNotRequiredReason1" | "controllingPerson1TaxResidenceTinIsNotRequiredReason2" | "controllingPerson2TaxResidenceTinIsNotRequiredReason2" | "controllingPerson3TaxResidenceTinIsNotRequiredReason2" | "controllingPerson4TaxResidenceTinIsNotRequiredReason2" | "controllingPerson5TaxResidenceTinIsNotRequiredReason2" | "controllingPerson1TaxResidenceTinIsNotRequiredReason3" | "controllingPerson2TaxResidenceTinIsNotRequiredReason3" | "controllingPerson3TaxResidenceTinIsNotRequiredReason3" | "controllingPerson4TaxResidenceTinIsNotRequiredReason3" | "controllingPerson5TaxResidenceTinIsNotRequiredReason3" | "controllingPerson1TaxResidenceTinIsNotRequiredReason4" | "controllingPerson2TaxResidenceTinIsNotRequiredReason4" | "controllingPerson3TaxResidenceTinIsNotRequiredReason4" | "controllingPerson4TaxResidenceTinIsNotRequiredReason4" | "controllingPerson5TaxResidenceTinIsNotRequiredReason4" | "controllingPerson1TaxResidenceTinIsNotRequiredReason5" | "controllingPerson2TaxResidenceTinIsNotRequiredReason5" | "controllingPerson3TaxResidenceTinIsNotRequiredReason5" | "controllingPerson4TaxResidenceTinIsNotRequiredReason5" | "controllingPerson5TaxResidenceTinIsNotRequiredReason5" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther1" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther2" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther3" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther4" | "controllingPerson1TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson2TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson3TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson4TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson5TaxResidenceTinIsNotRequiredReasonOther5" | "controllingPerson1ShowTaxResidence1" | "controllingPerson2ShowTaxResidence1" | "controllingPerson3ShowTaxResidence1" | "controllingPerson4ShowTaxResidence1" | "controllingPerson5ShowTaxResidence1" | "controllingPerson1ShowTaxResidence2" | "controllingPerson2ShowTaxResidence2" | "controllingPerson3ShowTaxResidence2" | "controllingPerson4ShowTaxResidence2" | "controllingPerson5ShowTaxResidence2" | "controllingPerson1ShowTaxResidence3" | "controllingPerson2ShowTaxResidence3" | "controllingPerson3ShowTaxResidence3" | "controllingPerson4ShowTaxResidence3" | "controllingPerson5ShowTaxResidence3" | "controllingPerson1ShowTaxResidence4" | "controllingPerson2ShowTaxResidence4" | "controllingPerson3ShowTaxResidence4" | "controllingPerson4ShowTaxResidence4" | "controllingPerson5ShowTaxResidence4" | "controllingPerson1ShowTaxResidence5" | "controllingPerson2ShowTaxResidence5" | "controllingPerson3ShowTaxResidence5" | "controllingPerson4ShowTaxResidence5" | "controllingPerson5ShowTaxResidence5" | "regardedOwnerAddressCity" | "regardedOwnerAddressCountry" | "regardedOwnerAddressState" | "regardedOwnerAddressStreet2" | "regardedOwnerAddressStreet" | "regardedOwnerAddressZip" | "regardedOwnerMailingAddressCity" | "regardedOwnerMailingAddressCountry" | "regardedOwnerMailingAddressState" | "regardedOwnerMailingAddressStreet2" | "regardedOwnerMailingAddressStreet" | "regardedOwnerMailingAddressZip" | "accountHolderCityOfBirth" | "accountHolderCountryOfBirth" | "accountHolderOptionalCityOfBirth" | "accountHolderOptionalCountryOfBirth" | "accountHolderCountryOfCitizenship" | "accountHolderDateOfBirth" | "accountHolderDbaName" | "accountHolderMailingAddressIsDifferent" | "accountHolderName" | "accountHolderPhoneNumber" | "accountHolderPhoneNumberCode" | "accountHolderPhoneNumberNumber" | "accountHolderEmailAddress" | keyof import('../types').AccountHolderCertifications | "accountHolderForeignTin" | "accountHolderForeignTinIsNotRequired" | "accountHolderUsTin" | "accountHolderUsTinIsValid" | "accountHolderUsTinMatchVerification" | "accountHolderVatIdentificationNumber" | "accountHolderVatIsNotRequired" | "accountHolderVatCountry" | "accountHolderBusinessRegistrationNumber" | "accountHolderBusinessRegistrationCountry" | "accountHolderSelfCertificationAccountType" | "accountHolderActiveNonFinancialEntityType" | "accountHolderFinancialInstitutionType" | "accountHolderInvestmentEntityManaged" | "accountHolderEntityType" | "accountHolderSecuritiesMarket" | "accountHolderRelatedCorporation" | "accountHolderResidenceByInvestmentConfirmed" | "accountHolderGiin" | keyof import('../types').AccountHolderClassificationData | keyof import('../types').RegardedOwnerCertifications | "regardedOwnerCountryOfCitizenship" | "regardedOwnerDateOfBirth" | "regardedOwnerDbaName" | "regardedOwnerMailingAddressIsDifferent" | "regardedOwnerName" | keyof import('../types').RegardedOwnerClassificationData | keyof import('../types').RegardedOwnerTaxData | keyof import('../types').SummaryData | keyof import('../types').CalculatedData | keyof import('../types').AccountHolderTreatyClaimData | keyof import('../types').RegardedOwnerTreatyClaimData | keyof import('../types').InformationalText, true>>;
|
|
8
7
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { UsTinValidationAttempt } from '../hooks';
|
|
2
2
|
import { QuestionnaireProp, StepId, TaxDocumentation } from '../types';
|
|
3
|
-
|
|
4
|
-
export declare const getSteps: (data: TaxDocumentation, treatyClaims: boolean | undefined, questionnaire: QuestionnaireProp, usTinValidations: UsTinValidationAttempt[], skipSteps: Partial<Record<StepId, boolean>>) => ("AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderAdditionalInfo" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary")[];
|
|
3
|
+
export declare const getSteps: (data: TaxDocumentation, treatyClaims: boolean | undefined, questionnaire: QuestionnaireProp, usTinValidations: UsTinValidationAttempt[], skipSteps: Partial<Record<StepId, boolean>>) => ("AccountHolderCertifications" | "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxResidenciesConfirmation" | "AccountHolderAdditionalInfo" | "AccountHolderTreatyClaims" | "AccountHolderUsTinValidation" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "ControllingPerson1TaxResidenciesConfirmation" | "ControllingPerson2TaxResidenciesConfirmation" | "ControllingPerson3TaxResidenciesConfirmation" | "ControllingPerson4TaxResidenciesConfirmation" | "ControllingPerson5TaxResidenciesConfirmation" | "Exemptions" | "RegardedOwnerCertifications" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "RegardedOwnerUsTinValidation" | "Summary")[];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { QuestionnaireValidations } from './invalidFieldRules.ts';
|
|
2
|
-
|
|
3
2
|
type Prefix = 'accountHolder' | 'accountHolderMailing' | 'regardedOwner' | 'regardedOwnerMailing' | 'controllingPerson1' | 'controllingPerson1Mailing' | 'controllingPerson2' | 'controllingPerson2Mailing' | 'controllingPerson3' | 'controllingPerson3Mailing' | 'controllingPerson4' | 'controllingPerson4Mailing' | 'controllingPerson5' | 'controllingPerson5Mailing';
|
|
4
3
|
export declare const getInvalidAddressRules: (prefix: Prefix) => QuestionnaireValidations;
|
|
5
4
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TaxDocumentationErrorMessagesMap } from '../../contexts';
|
|
2
2
|
import { QuestionnaireProp, TaxDocumentation } from '../../types';
|
|
3
3
|
import { ExternalValidations } from '../../types/client';
|
|
4
|
-
|
|
5
4
|
type Options = {
|
|
6
5
|
realTimeTinValidation?: boolean;
|
|
7
6
|
treatyClaims?: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { QuestionnaireValidations } from './invalidFieldRules.ts';
|
|
2
|
-
|
|
3
2
|
type Prefix = 'accountHolder' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5';
|
|
4
3
|
export declare const getInvalidTaxResidencyFields: (prefix: Prefix) => QuestionnaireValidations;
|
|
5
4
|
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { StatusKey } from 'i18n/types';
|
|
2
1
|
import { TaxDocumentation, TaxDocumentationKey } from 'types/TaxDocumentation';
|
|
2
|
+
import { ExpandedPropertyFile } from '../../i18n/types/PropertyFile';
|
|
3
3
|
import { QuestionnaireProp } from '../../types';
|
|
4
4
|
import { ExternalValidations } from '../../types/client';
|
|
5
|
-
|
|
6
5
|
type Options = {
|
|
7
6
|
treatyClaims?: boolean;
|
|
8
7
|
realTimeTinValidation?: boolean;
|
|
9
8
|
externalValidations?: ExternalValidations;
|
|
10
9
|
questionnaire?: QuestionnaireProp;
|
|
11
10
|
};
|
|
12
|
-
|
|
11
|
+
type ExpandedStatusKey = keyof ExpandedPropertyFile['status'];
|
|
12
|
+
export type FormUIValidation = (fields: TaxDocumentation, questionnaire?: QuestionnaireProp, options?: Options) => ExpandedStatusKey[] | undefined;
|
|
13
13
|
export type QuestionnaireValidations = {
|
|
14
14
|
[key in TaxDocumentationKey]?: FormUIValidation;
|
|
15
15
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TaxDocumentation } from '../../types';
|
|
2
|
-
|
|
3
2
|
type Prefix = 'accountHolder' | 'accountHolderMailing' | 'regardedOwner' | 'regardedOwnerMailing' | 'controllingPerson1' | 'controllingPerson1Mailing' | 'controllingPerson2' | 'controllingPerson2Mailing' | 'controllingPerson3' | 'controllingPerson3Mailing' | 'controllingPerson4' | 'controllingPerson4Mailing' | 'controllingPerson5' | 'controllingPerson5Mailing';
|
|
4
3
|
export declare const getRequiredAddressFields: (prefix: `${Prefix}Address`, fields: TaxDocumentation, isAddressRequired: boolean) => {
|
|
5
4
|
[x: string]: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TaxDocumentation } from '../../types';
|
|
2
|
-
|
|
3
2
|
type Prefix = 'accountHolder' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5';
|
|
4
3
|
export declare const getRequiredTaxResidenceFields: (prefix: Prefix, fields: TaxDocumentation) => {
|
|
5
4
|
[x: string]: boolean;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { StatusKey } from '../../i18n/types';
|
|
2
2
|
import { TaxDocumentation, TaxDocumentationKey } from '../../types';
|
|
3
|
-
|
|
4
3
|
export type GetMessageFunction = (fields: TaxDocumentation) => StatusKey[] | undefined;
|
|
5
4
|
export type GetMessageFunctions = {
|
|
6
5
|
[key in TaxDocumentationKey]?: GetMessageFunction;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TaxDocumentationBooleanMap } from '../../contexts';
|
|
2
|
-
|
|
3
2
|
type Prefix = 'accountHolderAddress' | 'accountHolderMailingAddress' | 'regardedOwnerAddress' | 'regardedOwnerMailingAddress' | 'controllingPerson1Address' | 'controllingPerson2Address' | 'controllingPerson3Address' | 'controllingPerson4Address' | 'controllingPerson5Address' | 'controllingPerson1MailingAddress' | 'controllingPerson2MailingAddress' | 'controllingPerson3MailingAddress' | 'controllingPerson4MailingAddress' | 'controllingPerson5MailingAddress';
|
|
4
3
|
export declare const getVisibleAddressFields: (prefix: Prefix, showFields: boolean) => Partial<TaxDocumentationBooleanMap>;
|
|
5
4
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { TaxDocumentationBooleanMap } from '../../contexts';
|
|
2
|
-
import { TaxDocumentation } from '../../types';
|
|
3
|
-
|
|
4
|
-
export declare const getVisibleControllingPersonFields: (fields: TaxDocumentation, isSupported: boolean) => Partial<TaxDocumentationBooleanMap>;
|
|
2
|
+
import { QuestionnaireProp, TaxDocumentation } from '../../types';
|
|
3
|
+
export declare const getVisibleControllingPersonFields: (fields: TaxDocumentation, isSupported: boolean, questionnaire: QuestionnaireProp) => Partial<TaxDocumentationBooleanMap>;
|