@taxbit/react-sdk 3.4.0-beta.0 → 3.6.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 +5 -0
- package/dist/src/contexts/QuestionnaireStep/getLocal.d.ts +1 -0
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStep.d.ts +1 -2
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStepContext.d.ts +2 -2
- package/dist/src/i18n/json/bg.json.d.ts +15 -8
- package/dist/src/i18n/json/cs.json.d.ts +15 -8
- package/dist/src/i18n/json/da.json.d.ts +15 -8
- package/dist/src/i18n/json/de-AT.json.d.ts +7 -1
- package/dist/src/i18n/json/de.json.d.ts +352 -345
- package/dist/src/i18n/json/el-CY.json.d.ts +7 -1
- package/dist/src/i18n/json/el.json.d.ts +15 -8
- package/dist/src/i18n/json/en-GB.json.d.ts +4 -6
- package/dist/src/i18n/json/en-NZ.json.d.ts +3 -7
- package/dist/src/i18n/json/en.json.d.ts +13 -6
- package/dist/src/i18n/json/es-MX.json.d.ts +492 -5
- package/dist/src/i18n/json/es.json.d.ts +10 -3
- package/dist/src/i18n/json/et.json.d.ts +15 -8
- package/dist/src/i18n/json/fi.json.d.ts +15 -8
- package/dist/src/i18n/json/fr-CA.json.d.ts +490 -4
- package/dist/src/i18n/json/fr-LU.json.d.ts +7 -1
- package/dist/src/i18n/json/fr.json.d.ts +10 -3
- package/dist/src/i18n/json/ga.json.d.ts +15 -8
- package/dist/src/i18n/json/hr.json.d.ts +15 -8
- package/dist/src/i18n/json/hu.json.d.ts +15 -8
- package/dist/src/i18n/json/id.json.d.ts +330 -323
- package/dist/src/i18n/json/index.d.ts +2 -2
- package/dist/src/i18n/json/it.json.d.ts +384 -377
- package/dist/src/i18n/json/ja.json.d.ts +375 -368
- package/dist/src/i18n/json/ko.json.d.ts +388 -381
- package/dist/src/i18n/json/lt.json.d.ts +15 -8
- package/dist/src/i18n/json/lv.json.d.ts +15 -8
- package/dist/src/i18n/json/ms.json.d.ts +349 -342
- package/dist/src/i18n/json/mt.json.d.ts +15 -8
- package/dist/src/i18n/json/nl-BE.json.d.ts +4 -9
- package/dist/src/i18n/json/nl.json.d.ts +375 -368
- package/dist/src/i18n/json/no.json.d.ts +15 -8
- package/dist/src/i18n/json/pl.json.d.ts +363 -356
- package/dist/src/i18n/json/pt-BR.json.d.ts +498 -1
- package/dist/src/i18n/json/pt.json.d.ts +15 -8
- package/dist/src/i18n/json/ro.json.d.ts +408 -401
- package/dist/src/i18n/json/ru.json.d.ts +342 -335
- package/dist/src/i18n/json/sk.json.d.ts +15 -8
- package/dist/src/i18n/json/sl.json.d.ts +15 -8
- package/dist/src/i18n/json/sv.json.d.ts +15 -8
- package/dist/src/i18n/json/th.json.d.ts +392 -385
- package/dist/src/i18n/json/tr.json.d.ts +354 -347
- package/dist/src/i18n/json/uk.json.d.ts +141 -134
- package/dist/src/i18n/json/vi.json.d.ts +424 -417
- package/dist/src/i18n/json/zh-CN.json.d.ts +507 -0
- package/dist/src/i18n/json/zh-TW.json.d.ts +383 -376
- package/dist/src/i18n/locales/{el-el.d.ts → el-gr.d.ts} +1 -1
- package/dist/src/i18n/locales/en-dps.d.ts +1 -2
- package/dist/src/i18n/locales/index.d.ts +1 -1
- package/dist/src/i18n/types/Language.d.ts +2 -1
- package/dist/src/i18n/types/LocalizationKey.d.ts +2 -2
- package/dist/src/lookups/activeNonFinancialEntityTypeOptions.d.ts +1 -1
- package/dist/src/types/Locale.d.ts +1 -1
- package/dist/src/types/QuestionnaireProp.d.ts +0 -1
- package/dist/src/types/client/ClientTaxDocumentationStatus.d.ts +1 -0
- package/dist/src/types/server/TaxDocumentationStatus.d.ts +1 -0
- package/dist/src/ui/CheckBox/CheckBox.d.ts +1 -3
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/required.d.ts +1 -0
- package/dist/src/validations/settableFields/getSettableFields.d.ts +4 -0
- package/dist/src/validations/settableFields/index.d.ts +0 -0
- package/dist/src/wizard/ResidenceInput/ResidenceInput.d.ts +2 -1
- package/dist/src/wizard/Residencies/Residencies.d.ts +2 -1
- package/dist/src/wizard/RowInput/CheckBoxRow/CheckBoxRow.d.ts +1 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.LanguageStrings.test.d.ts +0 -0
- package/dist/taxbit-react-sdk.js +4773 -4641
- package/dist/taxbit-react-sdk.umd.cjs +2 -1
- package/package.json +3 -3
- package/dist/src/i18n/json/enDPS.d.ts +0 -1
- package/dist/src/i18n/json/zh.json.d.ts +0 -500
- /package/dist/src/i18n/__tests__/{JsxFromString.test.d.ts → validHtml.test.d.ts} +0 -0
- /package/dist/src/{contexts/QuestionnaireStep → validations/settableFields}/shiftControllingPerson.d.ts +0 -0
- /package/dist/src/{contexts/QuestionnaireStep → validations/settableFields}/shiftResidence.d.ts +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LanguageWithProperties } from '../types/Language';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const elGr: LanguageWithProperties;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const enDPS: ForeignLanguage;
|
|
1
|
+
export {};
|
|
@@ -35,6 +35,7 @@ export type LanguageWithProperties = Language & {
|
|
|
35
35
|
properties: {
|
|
36
36
|
nameInEnglish: string;
|
|
37
37
|
label: string;
|
|
38
|
+
lang: string;
|
|
38
39
|
direction?: 'ltr' | 'rtl';
|
|
39
40
|
};
|
|
40
41
|
};
|
|
@@ -54,7 +55,7 @@ export type ForeignLanguage = {
|
|
|
54
55
|
title: Pick<Language['title'], 'certify' | 'carfClassificationDetails' | 'controllingPersonDetails' | 'controllingPersons' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5' | 'accountHolder' | 'accountHolderClassification' | 'accountHolderContactInformation' | 'accountHolderTaxInformation' | 'accountHolderAdditionalInfo' | 'address' | 'confirmation' | 'placeOfBirth' | 'mailingAddress' | 'permanentAddress' | 'primaryAddress' | 'summary' | 'taxResidences' | 'taxResidence1' | 'taxResidence2' | 'taxResidence3' | 'taxResidence4' | 'taxResidence5' | 'accountHolderTaxResidenciesConfirmation' | 'controllingPerson1TaxResidenciesConfirmation' | 'controllingPerson2TaxResidenciesConfirmation' | 'controllingPerson3TaxResidenciesConfirmation' | 'controllingPerson4TaxResidenciesConfirmation' | 'controllingPerson5TaxResidenciesConfirmation' | 'taxIdentification'>;
|
|
55
56
|
text: Pick<Language['text'], 'interviewIsComplete' | 'notRequired' | 'notRequiredOrNotIssued' | 'retrievingInterviewStatus' | 'taxDocumentationSaved' | 'iCertifyIsCorrect' | 'iCertifyHaveCapacity'>;
|
|
56
57
|
status: Pick<Language['status'], 'countryDoesNotRestrictTinDisclosure' | 'countryDoesNotRequireTinDisclosure' | 'countryDoesNotIssueTin' | 'countryMustBeAResidenceCountry' | 'formHasErrors' | 'invalid' | 'invalidDate' | 'invalidVat' | 'mustBeABNFormat' | 'mustBeAtLeast18' | 'mustBeFiveOrNineDigits' | 'mustBeInDateFormat' | 'mustBeInVatinFormat' | 'mustBeNineDigits' | 'mustBeNinoFormat' | 'mustBeCaPostalCodeFormat' | 'mustBeValidBirthDate' | 'required' | 'residencesMustIncludeAddressCountry' | 'residencesMustIncludeAnEUCountry' | 'residencesMustIncludeVatCountry' | 'residencesMustIncludeBusinessRegistrationCountry' | 'tooLong' | 'tooShort'>;
|
|
57
|
-
option: Pick<Language['option'], 'no' | 'yes' | 'isIndividual_yes' | 'isIndividual_no' | 'investmentEntityManaged_yes' | 'investmentEntityManaged_no' | 'ACTIVE_NON_FINANCIAL_ENTITY' | 'PASSIVE_NON_FINANCIAL_ENTITY' | 'CUSTODIAL_INSTITUTION' | 'accountHolderActiveNonFinancialEntityType_GOVERNMENT_ENTITY' | 'INSURANCE_COMPANY' | 'INVESTMENT_ENTITY' | 'entityType_TRUST' | 'entityType_SIMILAR_TO_TRUST' | 'entityType_OTHER' | 'accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION' | 'accountHolderActiveNonFinancialEntityType_OTHER' | 'accountHolderActiveNonFinancialEntityType_INTERNATIONAL_ORGANIZATION' | 'signatureCapacity_EXECUTOR' | 'signatureCapacity_OFFICER' | 'signatureCapacity_OTHER_CAPACITY' | 'DEPOSITORY_INSTITUTION' | 'NON_REPORTING_FINANCIAL_INSTITUTION' | 'FINANCIAL_INSTITUTION' | 'controllingPersonRole_SETTLOR' | 'controllingPersonRole_TRUSTEE' | 'controllingPersonRole_PROTECTOR' | 'controllingPersonRole_BENEFICIARY' | 'controllingPersonRole_OTHER' | 'controllingPersonRole_SETTLOR_EQUIVALENT' | 'controllingPersonRole_TRUSTEE_EQUIVALENT' | 'controllingPersonRole_PROTECTOR_EQUIVALENT' | 'controllingPersonRole_BENEFICIARY_EQUIVALENT' | 'controllingPersonRole_OTHER_EQUIVALENT' | 'controllingPersonRole_OWNER' | 'controllingPersonRole_OTHER_MEANS' | 'controllingPersonRole_SENIOR_MANAGING_OFFICIAL' | 'missingTinNotRequiredReason_NOT_ISSUED' | 'missingTinNotRequiredReason_NOT_REQUIRED' | 'missingTinNotRequiredReason_OTHER'>;
|
|
58
|
+
option: Pick<Language['option'], 'no' | 'yes' | 'isIndividual_yes' | 'isIndividual_no' | 'investmentEntityManaged_yes' | 'investmentEntityManaged_no' | 'ACTIVE_NON_FINANCIAL_ENTITY' | 'PASSIVE_NON_FINANCIAL_ENTITY' | 'CUSTODIAL_INSTITUTION' | 'accountHolderActiveNonFinancialEntityType_GOVERNMENT_ENTITY' | 'accountHolderActiveNonFinancialEntityType_CENTRAL_BANK' | 'INSURANCE_COMPANY' | 'INVESTMENT_ENTITY' | 'entityType_TRUST' | 'entityType_SIMILAR_TO_TRUST' | 'entityType_OTHER' | 'accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION' | 'accountHolderActiveNonFinancialEntityType_OTHER' | 'accountHolderActiveNonFinancialEntityType_INTERNATIONAL_ORGANIZATION' | 'signatureCapacity_EXECUTOR' | 'signatureCapacity_OFFICER' | 'signatureCapacity_OTHER_CAPACITY' | 'DEPOSITORY_INSTITUTION' | 'NON_REPORTING_FINANCIAL_INSTITUTION' | 'FINANCIAL_INSTITUTION' | 'controllingPersonRole_SETTLOR' | 'controllingPersonRole_TRUSTEE' | 'controllingPersonRole_PROTECTOR' | 'controllingPersonRole_BENEFICIARY' | 'controllingPersonRole_OTHER' | 'controllingPersonRole_SETTLOR_EQUIVALENT' | 'controllingPersonRole_TRUSTEE_EQUIVALENT' | 'controllingPersonRole_PROTECTOR_EQUIVALENT' | 'controllingPersonRole_BENEFICIARY_EQUIVALENT' | 'controllingPersonRole_OTHER_EQUIVALENT' | 'controllingPersonRole_OWNER' | 'controllingPersonRole_OTHER_MEANS' | 'controllingPersonRole_SENIOR_MANAGING_OFFICIAL' | 'missingTinNotRequiredReason_NOT_ISSUED' | 'missingTinNotRequiredReason_NOT_REQUIRED' | 'missingTinNotRequiredReason_OTHER'>;
|
|
58
59
|
subOption: Pick<Language['subOption'], 'accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION' | 'accountHolderActiveNonFinancialEntityType_OTHER' | 'accountHolderSelfCertificationAccountType_FINANCIAL_INSTITUTION' | 'accountHolderSelfCertificationAccountType_ACTIVE_NON_FINANCIAL_ENTITY' | 'accountHolderSelfCertificationAccountType_PASSIVE_NON_FINANCIAL_ENTITY'>;
|
|
59
60
|
};
|
|
60
61
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type ButtonKey = 'edit' | 'back' | 'next' | 'reset' | 'submit' | 'cancel' | 'hide' | 'show';
|
|
2
2
|
export type BadgeKey = 'validTin' | 'invalidTin' | 'pendingTin';
|
|
3
|
-
export type StatusKey = 'countryDoesNotRestrictTinDisclosure' | 'countryDoesNotRequireTinDisclosure' | 'countryDoesNotIssueTin' | 'doesNotMatchExpectedFormat' | 'matchesExpectedFormat' | 'countryMustBeAResidenceCountry' | 'formHasErrors' | 'invalid' | 'invalidDate' | 'invalidVat' | 'mustBeFiveOrNineDigits' | 'mustBeInDateFormat' | 'mustBeNineDigits' | 'mustBeNinoFormat' | 'mustBeABNFormat' | 'mustBeCaPostalCodeFormat' | 'mustBeInVatinFormat' | 'mustBeValidBirthDate' | 'mustBeAtLeast18' | 'mustMatchName' | 'checkFormatEntityAU' | 'checkFormatEntityCA' | 'checkFormatEntityDE' | 'checkFormatEntityES' | 'checkFormatEntityFR' | 'checkFormatEntityGB' | 'checkFormatEntityIE' | 'checkFormatEntityIT' | 'checkFormatEntityNL' | 'checkFormatEntitySG' | 'checkFormatIndividualAU' | 'checkFormatIndividualCA' | 'checkFormatIndividualDE' | 'checkFormatIndividualES' | 'checkFormatIndividualFR' | 'checkFormatIndividualGB' | 'checkFormatIndividualIE' | 'checkFormatIndividualIT' | 'checkFormatIndividualNL' | 'checkFormatIndividualSG' | 'required' | 'residencesMustIncludeAddressCountry' | 'residencesMustIncludeAnEUCountry' | 'residencesMustIncludeVatCountry' | 'residencesMustIncludeBusinessRegistrationCountry' | 'tooLong' | 'tooShort' | 'usTinDoesNotMatchName';
|
|
3
|
+
export type StatusKey = 'countryDoesNotRestrictTinDisclosure' | 'countryDoesNotRequireTinDisclosure' | 'countryDoesNotIssueTin' | 'doesNotMatchExpectedFormat' | 'matchesExpectedFormat' | 'countryMustBeAResidenceCountry' | 'formHasErrors' | 'invalid' | 'invalidDate' | 'invalidVat' | 'mustBeFourDigits' | 'mustBeFiveOrNineDigits' | 'mustBeInDateFormat' | 'mustBeNineDigits' | 'mustBeNinoFormat' | 'mustBeABNFormat' | 'mustBeCaPostalCodeFormat' | 'mustBeInVatinFormat' | 'mustBeValidBirthDate' | 'mustBeAtLeast18' | 'mustContainAlphabeticCharacter' | 'mustMatchName' | 'mustNotContainNumericCharacters' | 'mustNotContainAuStateCode' | 'mustNotStartWithATitle' | 'checkFormatEntityAU' | 'checkFormatEntityCA' | 'checkFormatEntityDE' | 'checkFormatEntityES' | 'checkFormatEntityFR' | 'checkFormatEntityGB' | 'checkFormatEntityIE' | 'checkFormatEntityIT' | 'checkFormatEntityNL' | 'checkFormatEntitySG' | 'checkFormatIndividualAU' | 'checkFormatIndividualCA' | 'checkFormatIndividualDE' | 'checkFormatIndividualES' | 'checkFormatIndividualFR' | 'checkFormatIndividualGB' | 'checkFormatIndividualIE' | 'checkFormatIndividualIT' | 'checkFormatIndividualNL' | 'checkFormatIndividualSG' | 'required' | 'residencesMustIncludeAddressCountry' | 'residencesMustIncludeAnEUCountry' | 'residencesMustIncludeVatCountry' | 'residencesMustIncludeBusinessRegistrationCountry' | 'tooLong' | 'tooShort' | 'usTinDoesNotMatchName';
|
|
4
4
|
export type SubOptionKey = 'accountHolderUsAccountType_SOLE_PROPRIETOR' | 'accountHolderUsAccountType_SM_LLC' | 'accountHolderUsAccountType_DISREGARDED_ENTITY' | 'accountHolderActiveNonFinancialEntityType_OTHER' | 'accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION' | 'accountHolderSelfCertificationAccountType_FINANCIAL_INSTITUTION' | 'accountHolderSelfCertificationAccountType_ACTIVE_NON_FINANCIAL_ENTITY' | 'accountHolderSelfCertificationAccountType_PASSIVE_NON_FINANCIAL_ENTITY' | 'accountHolderAccountOwnerType_ENTITY' | 'accountHolderAccountOwnerType_INTERMEDIARY' | 'regardedOwnerAccountOwnerType_ENTITY' | 'regardedOwnerAccountOwnerType_INTERMEDIARY';
|
|
5
|
-
export type OptionKey = TreatyClaimOption | 'accountHolderUsPerson_yes' | 'accountHolderUsPerson_no' | 'usTrustEstateEin_yes' | 'usTrustEstateEin_no' | 'usSoleProprietorEin_yes' | 'usSoleProprietorEin_no' | 'regardedOwnerUsPerson_yes' | 'regardedOwnerUsPerson_no' | 'smllcOwnerUsPerson_yes' | 'smllcOwnerUsPerson_no' | 'smllcElection_yes' | 'smllcElection_no' | 'isIndividual_yes' | 'isIndividual_no' | 'investmentEntityManaged_yes' | 'investmentEntityManaged_no' | 'assumesChapters3And4Responsibility_yes' | 'assumesChapters3And4Responsibility_no' | 'assumes1099Responsibility_yes' | 'assumes1099Responsibility_no' | 'usPersonElection_yes' | 'usPersonElection_no' | 'providesAdditionalDocumentation_yes' | 'providesAdditionalDocumentation_no' | 'no' | 'yes' | 'fatca_A' | 'fatca_B' | 'fatca_C' | 'fatca_D' | 'fatca_E' | 'fatca_F' | 'fatca_G' | 'fatca_H' | 'fatca_I' | 'fatca_J' | 'fatca_K' | 'fatca_L' | 'fatca_M' | 'payee_1' | 'payee_2' | 'payee_3' | 'payee_4' | 'payee_5' | 'payee_6' | 'payee_7' | 'payee_8' | 'payee_9' | 'payee_10' | 'payee_11' | 'payee_12' | 'payee_13' | 'no_not_applicable' | 'ACTIVE_NON_FINANCIAL_ENTITY' | 'CENTRAL_BANK_OF_ISSUE' | 'COMPLEX_TRUST' | 'CORPORATION' | 'CUSTODIAL_INSTITUTION' | 'C_CORPORATION' | 'DEPOSITORY_INSTITUTION' | 'NON_REPORTING_FINANCIAL_INSTITUTION' | 'DISREGARDED_ENTITY' | 'ENTITY' | 'entityType_TRUST' | 'entityType_SIMILAR_TO_TRUST' | 'entityType_OTHER' | 'ESTATE' | 'FINANCIAL_INSTITUTION' | 'FOREIGN_GOVERNMENT_CONTROLLED_ENTITY' | 'FOREIGN_GOVERNMENT_INTEGRAL_PART' | 'accountHolderActiveNonFinancialEntityType_GOVERNMENT_ENTITY' | 'GRANTOR_TRUST' | 'INDIVIDUAL' | 'INTERMEDIARY' | 'QUALIFIED_INTERMEDIARY' | 'NONQUALIFIED_INTERMEDIARY' | 'TERRITORY_FINANCIAL_INSTITUTION' | 'US_BRANCH' | 'WITHHOLDING_FOREIGN_PARTNERSHIP' | 'WITHHOLDING_FOREIGN_TRUST' | 'NONWITHHOLDING_FOREIGN_PARTNERSHIP' | 'NONWITHHOLDING_FOREIGN_SIMPLE_TRUST' | 'NONWITHHOLDING_FOREIGN_GRANTOR_TRUST' | 'accountHolderActiveNonFinancialEntityType_INTERNATIONAL_ORGANIZATION' | 'INTERNATIONAL_ORGANIZATION' | 'INVESTMENT_ENTITY' | 'INSURANCE_COMPANY' | 'LLC' | 'OTHER' | 'accountHolderActiveNonFinancialEntityType_OTHER' | 'PARTNERSHIP' | 'PASSIVE_NON_FINANCIAL_ENTITY' | 'PRIVATE_FOUNDATION' | 'accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION' | 'signatureCapacity_EXECUTOR' | 'signatureCapacity_OFFICER' | 'signatureCapacity_OTHER_CAPACITY' | 'SIMPLE_TRUST' | 'SM_LLC' | 'SOLE_PROPRIETOR' | 'S_CORPORATION' | 'TAX_EXEMPT_ORGANIZATION' | 'TRUST' | 'TRUST_ESTATE' | 'controllingPersonRole_SETTLOR' | 'controllingPersonRole_TRUSTEE' | 'controllingPersonRole_PROTECTOR' | 'controllingPersonRole_BENEFICIARY' | 'controllingPersonRole_OTHER' | 'controllingPersonRole_SETTLOR_EQUIVALENT' | 'controllingPersonRole_TRUSTEE_EQUIVALENT' | 'controllingPersonRole_PROTECTOR_EQUIVALENT' | 'controllingPersonRole_BENEFICIARY_EQUIVALENT' | 'controllingPersonRole_OTHER_EQUIVALENT' | 'controllingPersonRole_OWNER' | 'controllingPersonRole_OTHER_MEANS' | 'controllingPersonRole_SENIOR_MANAGING_OFFICIAL' | 'missingTinNotRequiredReason_NOT_ISSUED' | 'missingTinNotRequiredReason_NOT_REQUIRED' | 'missingTinNotRequiredReason_OTHER';
|
|
5
|
+
export type OptionKey = TreatyClaimOption | 'accountHolderUsPerson_yes' | 'accountHolderUsPerson_no' | 'usTrustEstateEin_yes' | 'usTrustEstateEin_no' | 'usSoleProprietorEin_yes' | 'usSoleProprietorEin_no' | 'regardedOwnerUsPerson_yes' | 'regardedOwnerUsPerson_no' | 'smllcOwnerUsPerson_yes' | 'smllcOwnerUsPerson_no' | 'smllcElection_yes' | 'smllcElection_no' | 'isIndividual_yes' | 'isIndividual_no' | 'investmentEntityManaged_yes' | 'investmentEntityManaged_no' | 'assumesChapters3And4Responsibility_yes' | 'assumesChapters3And4Responsibility_no' | 'assumes1099Responsibility_yes' | 'assumes1099Responsibility_no' | 'usPersonElection_yes' | 'usPersonElection_no' | 'providesAdditionalDocumentation_yes' | 'providesAdditionalDocumentation_no' | 'no' | 'yes' | 'fatca_A' | 'fatca_B' | 'fatca_C' | 'fatca_D' | 'fatca_E' | 'fatca_F' | 'fatca_G' | 'fatca_H' | 'fatca_I' | 'fatca_J' | 'fatca_K' | 'fatca_L' | 'fatca_M' | 'payee_1' | 'payee_2' | 'payee_3' | 'payee_4' | 'payee_5' | 'payee_6' | 'payee_7' | 'payee_8' | 'payee_9' | 'payee_10' | 'payee_11' | 'payee_12' | 'payee_13' | 'no_not_applicable' | 'ACTIVE_NON_FINANCIAL_ENTITY' | 'CENTRAL_BANK_OF_ISSUE' | 'COMPLEX_TRUST' | 'CORPORATION' | 'CUSTODIAL_INSTITUTION' | 'C_CORPORATION' | 'DEPOSITORY_INSTITUTION' | 'NON_REPORTING_FINANCIAL_INSTITUTION' | 'DISREGARDED_ENTITY' | 'ENTITY' | 'entityType_TRUST' | 'entityType_SIMILAR_TO_TRUST' | 'entityType_OTHER' | 'ESTATE' | 'FINANCIAL_INSTITUTION' | 'FOREIGN_GOVERNMENT_CONTROLLED_ENTITY' | 'FOREIGN_GOVERNMENT_INTEGRAL_PART' | 'accountHolderActiveNonFinancialEntityType_GOVERNMENT_ENTITY' | 'accountHolderActiveNonFinancialEntityType_CENTRAL_BANK' | 'GRANTOR_TRUST' | 'INDIVIDUAL' | 'INTERMEDIARY' | 'QUALIFIED_INTERMEDIARY' | 'NONQUALIFIED_INTERMEDIARY' | 'TERRITORY_FINANCIAL_INSTITUTION' | 'US_BRANCH' | 'WITHHOLDING_FOREIGN_PARTNERSHIP' | 'WITHHOLDING_FOREIGN_TRUST' | 'NONWITHHOLDING_FOREIGN_PARTNERSHIP' | 'NONWITHHOLDING_FOREIGN_SIMPLE_TRUST' | 'NONWITHHOLDING_FOREIGN_GRANTOR_TRUST' | 'accountHolderActiveNonFinancialEntityType_INTERNATIONAL_ORGANIZATION' | 'INTERNATIONAL_ORGANIZATION' | 'INVESTMENT_ENTITY' | 'INSURANCE_COMPANY' | 'LLC' | 'OTHER' | 'accountHolderActiveNonFinancialEntityType_OTHER' | 'PARTNERSHIP' | 'PASSIVE_NON_FINANCIAL_ENTITY' | 'PRIVATE_FOUNDATION' | 'accountHolderActiveNonFinancialEntityType_PUBLIC_CORPORATION' | 'signatureCapacity_EXECUTOR' | 'signatureCapacity_OFFICER' | 'signatureCapacity_OTHER_CAPACITY' | 'SIMPLE_TRUST' | 'SM_LLC' | 'SOLE_PROPRIETOR' | 'S_CORPORATION' | 'TAX_EXEMPT_ORGANIZATION' | 'TRUST' | 'TRUST_ESTATE' | 'controllingPersonRole_SETTLOR' | 'controllingPersonRole_TRUSTEE' | 'controllingPersonRole_PROTECTOR' | 'controllingPersonRole_BENEFICIARY' | 'controllingPersonRole_OTHER' | 'controllingPersonRole_SETTLOR_EQUIVALENT' | 'controllingPersonRole_TRUSTEE_EQUIVALENT' | 'controllingPersonRole_PROTECTOR_EQUIVALENT' | 'controllingPersonRole_BENEFICIARY_EQUIVALENT' | 'controllingPersonRole_OTHER_EQUIVALENT' | 'controllingPersonRole_OWNER' | 'controllingPersonRole_OTHER_MEANS' | 'controllingPersonRole_SENIOR_MANAGING_OFFICIAL' | 'missingTinNotRequiredReason_NOT_ISSUED' | 'missingTinNotRequiredReason_NOT_REQUIRED' | 'missingTinNotRequiredReason_OTHER';
|
|
6
6
|
export type PromptKey = TreatyClaimPrompt | 'accountHolderAccountOwnerType' | 'accountHolderIntermediaryAccountType' | 'accountHolderEntityAccountType' | 'activeNonFinancialEntityType' | 'addAdditionalResidence' | 'addControllingPerson' | 'address' | 'businessRegistrationNumber' | 'businessRegistrationCountry' | 'city' | 'cityOfBirth' | 'country' | 'countryOfBirth' | 'countryOfCitizenship' | 'countryOfIncorporation' | 'dateOfBirth' | 'day' | 'dbaName' | 'emailAddress' | 'exemptPayeeCode' | 'exemptFatcaCode' | 'foreignAccountType' | 'financialInstitutionType' | 'foreignTin' | 'foreignTinIsNotRequired' | 'investmentEntityManaged' | 'isIndividual' | 'iWillResubmitIfIncorrect' | 'iAmACitizenOfTheUs' | 'iAmExemptFromFatcaReporting' | 'iAmNotSubjectToBackupWithholding' | 'iAuthorizeWithholdingAgent' | 'iConfirmIncomeIsNonUs' | 'iConfirmNoOtherResidencies' | 'iConfirmTheBeneficialOwnerIsExempt' | 'iConfirmTheEntityIsNotAUsPerson' | 'iConfirmTheEntityIsTheBeneficialOwner' | 'iConfirmTheIndividualIsNotAUsPerson' | 'iConfirmTheIndividualIsTheBeneficialOwner' | 'iConfirmTheIndividualIsResidentOfTreatyCountry' | 'iConfirmTheTaxIdIsCorrect' | 'iDeclareStatementsAreCorrect' | 'iUnderstandTheInformationIsCovered' | 'iAcknowledgeTheInformationMayBeProvided' | 'iCertifyIAmAccountHolder' | 'iCertifyIAmAuthorizedToSignForAccountHolder' | 'iWillNotifyChangeInCircumstance' | 'mailingAddress' | 'mailingAddressIsDifferent' | 'month' | 'name' | 'nameOfDisregardedEntity' | 'nameOfEntity' | 'nameOfCCorporation' | 'nameOfCorporation' | 'nameOfIndividual' | 'nameOfIndividualSoleProprietor' | 'nameOfLlc' | 'nameOfOrganization' | 'nameOfPartnership' | 'nameOfSCorporation' | 'nameOfSmllc' | 'nameOfSmllcOwner' | 'nameOfSoleProprietor' | 'nameOfTrustEstate' | 'nameOfComplexTrust' | 'nameOfTaxExemptOrganization' | 'nameOfPrivateFoundation' | 'nameOfInternationalOrganization' | 'nameOfCentralBankOfIssue' | 'nameOfForeignGovernmentControlledEntity' | 'nameOfForeignGovernmentIntegralPart' | 'nameOfEstate' | 'nameOfQualifiedIntermediary' | 'nameOfNonqualifiedIntermediary' | 'nameOfTerritoryFinancialInstitution' | 'nameOfUsBranch' | 'nameOfWithholdingForeignPartnership' | 'nameOfWithholdingForeignTrust' | 'nameOfNonwithholdingForeignPartnership' | 'nameOfNonwithholdingForeignSimpleTrust' | 'nameOfNonwithholdingForeignGrantorTrust' | 'otherRole' | 'otherEquivalentRole' | 'ownershipPercentage' | 'managedEntityType' | 'passiveEntityType' | 'phoneNumber' | 'phoneNumberCode' | 'phoneNumberNumber' | 'province' | 'referenceNumbers' | 'regardedOwnerUsPerson' | 'regardedOwnerAccountType' | 'regardedOwnerEntityAccountType' | 'regardedOwnerIntermediaryAccountType' | 'relatedCorporation' | 'removeResidence' | 'removeControllingPerson' | 'role' | 'securitiesMarket' | 'signature' | 'signatureCapacity' | 'signatureCapacityOther' | 'smllcElection' | 'smllcOwnerAccountType' | 'smllcOwnerUsPerson' | 'countyRegion' | 'stateProvince' | 'street' | 'street2' | 'taxIdNumber' | 'taxIdNumberIsNotRequired' | 'taxIdNumberIsNotRequiredReason' | 'taxIdNumberIsNotRequiredReasonOther' | 'tin' | 'tinAuAbn' | 'tinUkEntity' | 'tinUkIndividual' | 'type' | 'usAccountType' | 'usLlcClassification' | 'usOtherClassification' | 'usPerson' | 'usEin' | 'usSoleProprietorEin' | 'usSsn' | 'usTin' | 'usTinIsValid' | 'usTinMatchVerification' | 'usTrustEstateEin' | 'vatIdentificationNumber' | 'vatIsNotRequired' | 'vatCountry' | 'year' | 'zip' | 'isQiCertified' | 'assumesChapters3And4Responsibility' | 'assumes1099Responsibility' | 'usPersonElection' | 'providesAdditionalDocumentation' | 'assumesChapters3And4ResponsibilityCertified' | 'assumes1099ResponsibilityCertified' | 'notAssume1099ResponsibilityCertified' | 'meetsQiRegulationsRequirementsCertified' | 'obtainsDocumentationCertified' | 'notActingAsQiCertified' | 'transmitsNqiDocumentationCertified' | 'representsWithholdingStatementsCertified' | 'isFinancialInstitutionCertified' | 'tfiUsPersonElectionCertified' | 'transmitsTfiDocumentationCertified' | 'usbPaymentsCertified' | 'usbUsPersonElectionCertified' | 'transmitsUsbDocumentationCertified' | 'isCompliantCertified' | 'entityPaymentsCertified' | 'providesWithholdingStatementCertified' | 'residenceByInvestmentConfirmed' | 'giin';
|
|
7
7
|
export type SubPromptKey = TreatyClaimSubPrompt | 'accountHolderTaxResidences' | 'isQiCertified' | 'smllcElection' | 'iAmNotSubjectToBackupWithholding' | 'iConfirmIncomeIsNonUs' | 'isIndividual' | 'transmitsTfiDocumentationCertified' | 'transmitsUsbDocumentationCertified' | 'entityPaymentsCertified' | 'enterAbnWithResidency' | 'financialInstitutionType' | 'vatIdentificationNumber' | 'placeOfBirth' | 'referenceNumbers' | 'relatedCorporation' | 'role' | 'securitiesMarket' | 'signature' | 'signatureCapacityOther' | 'streetIsPermanent' | 'usPerson' | 'usTin' | 'usTinMatchVerification' | 'residenceByInvestmentConfirmed';
|
|
8
8
|
export type TitleKey = 'accountHolder' | 'accountHolderCertifications' | 'accountHolderClassification' | 'accountHolderContactInformation' | 'accountHolderTaxInformation' | 'accountHolderAdditionalInfo' | 'accountHolderTreatyClaims' | 'accountTypeCertifications' | 'accountHolderUsTinValidation' | 'address' | 'additionalConditions' | 'carfClassificationDetails' | 'certificationStatements' | 'certify' | 'confirmation' | 'controllingPersonDetails' | 'controllingPersons' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5' | 'exemptions' | 'mailingAddress' | 'primaryAddress' | 'permanentAddress' | 'placeOfBirth' | 'regardedOwner' | 'regardedOwnerCertifications' | 'regardedOwnerClassification' | 'regardedOwnerContactInformation' | 'regardedOwnerTaxInformation' | 'regardedOwnerTreatyClaims' | 'regardedOwnerUsTinValidation' | 'reviewAndSubmit' | 'signature' | 'summary' | 'taxResidences' | 'taxResidence1' | 'taxResidence2' | 'taxResidence3' | 'taxResidence4' | 'taxResidence5' | 'accountHolderTaxResidenciesConfirmation' | 'controllingPerson1TaxResidenciesConfirmation' | 'controllingPerson2TaxResidenciesConfirmation' | 'controllingPerson3TaxResidenciesConfirmation' | 'controllingPerson4TaxResidenciesConfirmation' | 'controllingPerson5TaxResidenciesConfirmation' | 'taxIdentification';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Locale = 'bg' | 'cs' | 'da' | 'de' | 'de-at' | 'de-de' | 'el' | 'el-cy' | 'el-
|
|
1
|
+
export type Locale = 'bg' | 'cs' | 'da' | 'de' | 'de-at' | 'de-de' | 'el' | 'el-cy' | 'el-gr' | 'en' | 'en-gb' | 'en-nz' | 'en-us' | 'es' | 'es-es' | 'es-mx' | 'et' | 'fi' | 'fr' | 'fr-ca' | 'fr-lu' | 'fr-fr' | 'ga' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'ms' | 'mt' | 'nl' | 'nl-be' | 'nl-nl' | 'no' | 'pl' | 'pt' | 'pt-br' | 'pt-pt' | 'ro' | 'ru' | 'sk' | 'sl' | 'sv' | 'th' | 'tr' | 'uk' | 'vi' | 'zh' | 'zh-cn' | 'zh-tw';
|
|
@@ -13,6 +13,7 @@ export type ClientTaxDocumentationStatus = {
|
|
|
13
13
|
expirationDate?: string;
|
|
14
14
|
vatStatus?: 'PENDING' | 'VALID' | 'INVALID' | 'INSUFFICIENT_DATA' | 'NOT_REQUIRED' | 'NON_EU';
|
|
15
15
|
vatValidationDate?: string;
|
|
16
|
+
needsResubmission?: boolean;
|
|
16
17
|
};
|
|
17
18
|
wFormQuestionnaire?: {
|
|
18
19
|
dataCollectionStatus: 'COMPLETE' | 'INCOMPLETE';
|
|
@@ -13,6 +13,7 @@ export type TaxDocumentationStatus = {
|
|
|
13
13
|
expiration_date?: string;
|
|
14
14
|
vat_status?: 'PENDING' | 'VALID' | 'INVALID' | 'INSUFFICIENT_DATA' | 'NOT_REQUIRED' | 'NON_EU';
|
|
15
15
|
vat_validation_date?: string;
|
|
16
|
+
needs_resubmission?: boolean;
|
|
16
17
|
};
|
|
17
18
|
w_form_questionnaire?: {
|
|
18
19
|
data_collection_status: 'COMPLETE' | 'INCOMPLETE';
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TaxDocumentationKey } from 'types/TaxDocumentation';
|
|
3
|
-
import { Yes } from 'types/Yes';
|
|
4
3
|
export type CheckBoxProps = {
|
|
5
4
|
label: boolean;
|
|
6
5
|
subLabel?: boolean;
|
|
7
6
|
name: TaxDocumentationKey;
|
|
8
|
-
onClick?: (val: Yes | undefined) => void;
|
|
9
7
|
disabled?: boolean;
|
|
10
8
|
indicateRequired?: boolean;
|
|
11
9
|
defaultChecked?: boolean;
|
|
12
10
|
};
|
|
13
|
-
export declare const CheckBox: ({ label, subLabel, name,
|
|
11
|
+
export declare const CheckBox: ({ label, subLabel, name, disabled, indicateRequired, defaultChecked, }: CheckBoxProps) => React.JSX.Element;
|
|
@@ -17,6 +17,7 @@ export * from './isString';
|
|
|
17
17
|
export * from './kebabCase';
|
|
18
18
|
export * from './mergeClientTaxDocumentationData';
|
|
19
19
|
export * from './promptKeyMapping/getPromptKeyMap';
|
|
20
|
+
export * from './required';
|
|
20
21
|
export * from './stepIds';
|
|
21
22
|
export * from './transformForClient';
|
|
22
23
|
export * from './transformInbound';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const REQUIRED = "\u2060*";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TaxDocumentation, TaxDocumentationKey } from '../../types';
|
|
2
|
+
type DispatchFunction = (oldFields: TaxDocumentation) => TaxDocumentation;
|
|
3
|
+
export declare const getSettableFields: (key: TaxDocumentationKey, value: string | undefined) => DispatchFunction;
|
|
4
|
+
export {};
|
|
File without changes
|
|
@@ -10,6 +10,7 @@ type ResidenceInputProps = {
|
|
|
10
10
|
value: string;
|
|
11
11
|
label: string;
|
|
12
12
|
}>;
|
|
13
|
+
lockCountry?: boolean;
|
|
13
14
|
};
|
|
14
|
-
export declare const ResidenceInput: ({ index, prefix, showIf, onShow, more, remove, countryOptions, }: ResidenceInputProps) => React.JSX.Element;
|
|
15
|
+
export declare const ResidenceInput: ({ index, prefix, showIf, onShow, more, remove, countryOptions, lockCountry, }: ResidenceInputProps) => React.JSX.Element;
|
|
15
16
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CountryCode } from '@taxbit/utilities';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
type Prefix = 'accountHolder' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5';
|
|
4
|
-
export declare const Residencies: ({ prefix, defaultCountry, showIf, countryOptions, section, }: {
|
|
4
|
+
export declare const Residencies: ({ prefix, defaultCountry, showIf, countryOptions, section, standalone, }: {
|
|
5
5
|
prefix: Prefix;
|
|
6
6
|
defaultCountry: string | undefined;
|
|
7
7
|
showIf: boolean;
|
|
@@ -10,5 +10,6 @@ export declare const Residencies: ({ prefix, defaultCountry, showIf, countryOpti
|
|
|
10
10
|
label: string;
|
|
11
11
|
}[];
|
|
12
12
|
section?: boolean;
|
|
13
|
+
standalone?: boolean;
|
|
13
14
|
}) => React.JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -7,5 +7,5 @@ type CheckBoxRowProps = {
|
|
|
7
7
|
header?: string;
|
|
8
8
|
defaultChecked?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare const CheckBoxRow: ({ name, label, header, subLabel,
|
|
10
|
+
export declare const CheckBoxRow: ({ name, label, header, subLabel, disabled, defaultChecked, }: CheckBoxProps & CheckBoxRowProps) => React.JSX.Element;
|
|
11
11
|
export {};
|
|
File without changes
|