@taxbit/react-sdk 0.6.2 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -61
- package/dist/src/components/Address/Address.d.ts +1 -2
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +1 -2
- package/dist/src/components/Form/Form.d.ts +2 -1
- package/dist/src/components/Form/index.d.ts +1 -1
- package/dist/src/contexts/QuestionnaireUI/QuestionnaireUIProvider.d.ts +6 -0
- package/dist/src/contexts/QuestionnaireUI/getLocal.d.ts +19 -0
- package/dist/src/contexts/{FormUI → QuestionnaireUI}/index.d.ts +3 -3
- package/dist/src/contexts/{FormUI/useFormUI.d.ts → QuestionnaireUI/useQuestionnaireUI.d.ts} +6 -6
- package/dist/src/contexts/{FormUI/useFormUIContext.d.ts → QuestionnaireUI/useQuestionnaireUIContext.d.ts} +18 -18
- package/dist/src/contexts/TaxDocumentation/TaxbitQuestionnaireProvider.d.ts +7 -0
- package/dist/src/contexts/TaxDocumentation/index.d.ts +1 -1
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +13 -15
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +24 -30
- package/dist/src/contexts/index.d.ts +2 -2
- package/dist/src/entry/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +9 -0
- package/dist/src/entry/TaxbitQuestionnaire/index.d.ts +1 -0
- package/dist/src/entry/index.d.ts +4 -6
- package/dist/src/hooks/index.d.ts +1 -1
- package/dist/src/hooks/useTaxbit/__tests__/clientTaxDocumentation.d.ts +2 -0
- package/dist/src/hooks/{useTaxBit → useTaxbit}/__tests__/serverTaxDocumentation.d.ts +1 -1
- package/dist/src/hooks/useTaxbit/index.d.ts +1 -0
- package/dist/src/hooks/useTaxbit/useTaxbit.d.ts +9 -0
- package/dist/src/hooks/useTaxbit/useTaxbitConnect.d.ts +8 -0
- package/dist/src/hooks/useTaxbit/useTaxbitStatus.d.ts +8 -0
- package/dist/src/i18n/index.d.ts +1 -1
- package/dist/src/i18n/locales/bg.d.ts +1 -0
- package/dist/src/i18n/locales/cs.d.ts +1 -0
- package/dist/src/i18n/locales/da.d.ts +1 -0
- package/dist/src/i18n/locales/de-at.d.ts +1 -2
- package/dist/src/i18n/locales/de.d.ts +3 -0
- package/dist/src/i18n/locales/el-cy.d.ts +3 -2
- package/dist/src/i18n/locales/el.d.ts +3 -0
- package/dist/src/i18n/locales/{bg-bg.d.ts → en-nz.d.ts} +1 -1
- package/dist/src/i18n/locales/{cs-cz.d.ts → en.d.ts} +1 -1
- package/dist/src/i18n/locales/{da-dk.d.ts → es.d.ts} +1 -1
- package/dist/src/i18n/locales/et.d.ts +1 -0
- package/dist/src/i18n/locales/fi.d.ts +1 -0
- package/dist/src/i18n/locales/{de-de.d.ts → fr-ca.d.ts} +1 -1
- package/dist/src/i18n/locales/fr-lu.d.ts +1 -2
- package/dist/src/i18n/locales/fr.d.ts +2 -0
- package/dist/src/i18n/locales/ga.d.ts +2 -0
- package/dist/src/i18n/locales/hr.d.ts +1 -0
- package/dist/src/i18n/locales/hu.d.ts +1 -0
- package/dist/src/i18n/locales/index.d.ts +33 -30
- package/dist/src/i18n/locales/it.d.ts +1 -0
- package/dist/src/i18n/locales/lt.d.ts +3 -0
- package/dist/src/i18n/locales/lv.d.ts +1 -0
- package/dist/src/i18n/locales/mergePropertyFiles.d.ts +6 -0
- package/dist/src/i18n/locales/mt.d.ts +1 -0
- package/dist/src/i18n/locales/nl-be.d.ts +3 -2
- package/dist/src/i18n/locales/nl.d.ts +1 -0
- package/dist/src/i18n/locales/no.d.ts +1 -0
- package/dist/src/i18n/locales/pl.d.ts +3 -0
- package/dist/src/i18n/locales/pt.d.ts +1 -0
- package/dist/src/i18n/locales/ro.d.ts +1 -0
- package/dist/src/i18n/locales/sk.d.ts +1 -0
- package/dist/src/i18n/locales/sl.d.ts +1 -0
- package/dist/src/i18n/locales/sv.d.ts +1 -0
- package/dist/src/i18n/locales/translation-missing.d.ts +5 -0
- package/dist/src/i18n/localizationFileMap.d.ts +7 -0
- package/dist/src/i18n/types/LocalizationKey.d.ts +8 -8
- package/dist/src/i18n/types/PropertyFile.d.ts +23 -19
- package/dist/src/i18n/utils/getText.d.ts +2 -9
- package/dist/src/lookups/countryOptions.d.ts +1 -7
- package/dist/src/lookups/dayOptions.d.ts +1 -1
- package/dist/src/lookups/fatcaCodeOptions.d.ts +2 -2
- package/dist/src/lookups/foreignAccountHolderAccountTypeOptions.d.ts +3 -15
- package/dist/src/lookups/foreignOtherClassificationOptions.d.ts +3 -17
- package/dist/src/lookups/foreignRegardedOwnerAccountTypeOptions.d.ts +3 -11
- package/dist/src/lookups/foreignTrustClassificationOptions.d.ts +3 -9
- package/dist/src/lookups/index.d.ts +13 -16
- package/dist/src/lookups/localeOptions.d.ts +5 -1
- package/dist/src/lookups/payeeCodeOptions.d.ts +2 -2
- package/dist/src/lookups/toOptions.d.ts +1 -1
- package/dist/src/lookups/usAccountHolderAccountTypeOptions.d.ts +3 -23
- package/dist/src/lookups/usLlcAccountTypeOptions.d.ts +3 -9
- package/dist/src/lookups/usRegardedOwnerAccountTypeOptions.d.ts +3 -15
- package/dist/src/services/api.d.ts +7 -2
- package/dist/src/test/Wrapper.d.ts +3 -3
- package/dist/src/test/getWrapper.d.ts +3 -3
- package/dist/src/test/utils/helpers.d.ts +7 -2
- package/dist/src/types/InputStep.d.ts +2 -2
- package/dist/src/types/Locale.d.ts +1 -1
- package/dist/src/types/Questionnaire.d.ts +1 -0
- package/dist/src/types/StepId.d.ts +1 -1
- package/dist/src/types/TaxDocumentation.d.ts +30 -30
- package/dist/src/types/client/ClientTaxDocumentationStatus.d.ts +12 -3
- package/dist/src/types/client/index.d.ts +0 -1
- package/dist/src/types/index.d.ts +1 -6
- package/dist/src/types/server/TaxDocumentationStatus.d.ts +12 -3
- package/dist/src/types/server/index.d.ts +0 -1
- package/dist/src/ui/ActionButton/index.d.ts +1 -1
- package/dist/src/ui/CheckBox/CheckBox.d.ts +2 -1
- package/dist/src/ui/DateOfBirthInput/DateOfBirthInput.d.ts +1 -2
- package/dist/src/ui/DateOfBirthInput/index.d.ts +1 -1
- package/dist/src/ui/DateOfBirthInput/useDateOfBirthInput.d.ts +2 -2
- package/dist/src/ui/FormattedInput/FormattedInput.d.ts +11 -0
- package/dist/src/ui/FormattedInput/index.d.ts +1 -0
- package/dist/src/ui/PasswordInput/PasswordInput.d.ts +9 -0
- package/dist/src/ui/PasswordInput/index.d.ts +1 -0
- package/dist/src/ui/RadioButtons/index.d.ts +1 -1
- package/dist/src/ui/Select/index.d.ts +1 -1
- package/dist/src/ui/{MaskedInput/MaskedInput.d.ts → ShowHideInput/ShowHideInput.d.ts} +2 -3
- package/dist/src/ui/ShowHideInput/index.d.ts +1 -0
- package/dist/src/ui/TextInput/TextInput.d.ts +1 -2
- package/dist/src/ui/TextInput/index.d.ts +1 -1
- package/dist/src/ui/index.d.ts +3 -1
- package/dist/src/utils/formatUsTin.d.ts +5 -0
- package/dist/src/utils/getFieldsState.d.ts +16 -10
- package/dist/src/utils/getMaskedContent.d.ts +1 -0
- package/dist/src/utils/getPromptKeyMap.d.ts +22 -22
- package/dist/src/utils/index.d.ts +3 -2
- package/dist/src/utils/mergeClientTaxDocumentationData.d.ts +1 -1
- package/dist/src/utils/transformForClient/convertYesNoToBoolean.d.ts +1 -1
- package/dist/src/utils/transformForClient/convertYesNoToBooleanOrUndefined.d.ts +2 -0
- package/dist/src/utils/transformForClient/index.d.ts +1 -1
- package/dist/src/utils/transformForClient/transformForClient.d.ts +3 -2
- package/dist/src/utils/transformForClient/transformForClientAccoutHolder.d.ts +1 -53
- package/dist/src/utils/transformForClient/transformForClientRegardedOwner.d.ts +1 -36
- package/dist/src/utils/transformInbound/getForeignAccountType.d.ts +1 -1
- package/dist/src/utils/transformInbound/getForeignOtherClassification.d.ts +1 -1
- package/dist/src/utils/transformInbound/getForeignTrustClassification.d.ts +1 -1
- package/dist/src/utils/transformInbound/getLLCClassification.d.ts +1 -1
- package/dist/src/utils/transformInbound/getUsAccountType.d.ts +1 -1
- package/dist/src/utils/transformInbound/transformInbound.d.ts +3 -3
- package/dist/src/utils/uppercase.d.ts +1 -0
- package/dist/src/validations/getInvalidFields.d.ts +2 -2
- package/dist/src/validations/getRequiredFields.d.ts +2 -2
- package/dist/src/validations/getSupportedFields.d.ts +2 -2
- package/dist/src/validations/getVisibleFields.d.ts +2 -2
- package/dist/src/widgets/TaxbitQuestionnairePersist/TaxbitQuestionnairePersist.d.ts +5 -0
- package/dist/src/widgets/TaxbitQuestionnairePersist/index.d.ts +2 -0
- package/dist/src/widgets/TaxbitQuestionnairePersist/useTaxbitPersist.d.ts +25 -0
- package/dist/src/widgets/index.d.ts +1 -1
- package/dist/src/wizard/AddressInput/AddressInput.d.ts +2 -1
- package/dist/src/wizard/LanguageSelector/LanguageSelector.d.ts +4 -1
- package/dist/src/wizard/ResidenceInput/ResidenceInput.d.ts +1 -2
- package/dist/src/wizard/RowInput/AddressRow/AddressRow.d.ts +2 -1
- package/dist/src/wizard/RowInput/CheckBoxRow/CheckBoxRow.d.ts +4 -3
- package/dist/src/wizard/RowInput/DateOfBirthRow/index.d.ts +1 -1
- package/dist/src/wizard/RowInput/ErrorRow/index.d.ts +1 -1
- package/dist/src/wizard/RowInput/RadioButtonRow/RadioButtonRow.d.ts +2 -2
- package/dist/src/wizard/RowInput/ShowHideInputRow/ShowHideInputRow.d.ts +11 -0
- package/dist/src/wizard/RowInput/ShowHideInputRow/index.d.ts +1 -0
- package/dist/src/wizard/RowInput/TextInputRow/TextInputRow.d.ts +3 -4
- package/dist/src/wizard/RowInput/index.d.ts +1 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderClassification/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderContact/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTax/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTaxClarification/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AppError/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Exemptions/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerContact/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerTax/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/TaxbitQuestionnaireUI.d.ts +6 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/index.d.ts +1 -0
- package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/steps.d.ts +0 -1
- package/dist/src/wizard/index.d.ts +1 -1
- package/dist/taxbit-react-sdk.js +6557 -16802
- package/dist/taxbit-react-sdk.umd.cjs +10 -10
- package/package.json +10 -18
- package/style/basic.css +32 -13
- package/style/inline.css +32 -13
- package/dist/src/contexts/FormUI/FormUIProvider.d.ts +0 -6
- package/dist/src/contexts/FormUI/getLocal.d.ts +0 -20
- package/dist/src/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +0 -7
- package/dist/src/hooks/useTaxBit/__tests__/clientTaxDocumentation.d.ts +0 -2
- package/dist/src/hooks/useTaxBit/index.d.ts +0 -1
- package/dist/src/hooks/useTaxBit/useTaxBit.d.ts +0 -7
- package/dist/src/i18n/i18n.d.ts +0 -7
- package/dist/src/i18n/locales/el-gr.d.ts +0 -2
- package/dist/src/i18n/locales/es-es.d.ts +0 -2
- package/dist/src/i18n/locales/et-ee.d.ts +0 -2
- package/dist/src/i18n/locales/fi-fi.d.ts +0 -2
- package/dist/src/i18n/locales/fr-fr.d.ts +0 -2
- package/dist/src/i18n/locales/ga-ie.d.ts +0 -2
- package/dist/src/i18n/locales/hr-hr.d.ts +0 -2
- package/dist/src/i18n/locales/hu-hu.d.ts +0 -2
- package/dist/src/i18n/locales/it-it.d.ts +0 -2
- package/dist/src/i18n/locales/lt-lt.d.ts +0 -2
- package/dist/src/i18n/locales/lv-lv.d.ts +0 -2
- package/dist/src/i18n/locales/mt-mt.d.ts +0 -2
- package/dist/src/i18n/locales/nl-nl.d.ts +0 -2
- package/dist/src/i18n/locales/no-no.d.ts +0 -2
- package/dist/src/i18n/locales/pl-pl.d.ts +0 -2
- package/dist/src/i18n/locales/pt-pt.d.ts +0 -2
- package/dist/src/i18n/locales/ro-ro.d.ts +0 -2
- package/dist/src/i18n/locales/sk-sk.d.ts +0 -2
- package/dist/src/i18n/locales/sl-si.d.ts +0 -2
- package/dist/src/i18n/locales/sv-se.d.ts +0 -2
- package/dist/src/lookups/caProvinceOptions.d.ts +0 -4
- package/dist/src/lookups/monthOptions.d.ts +0 -4
- package/dist/src/lookups/usStateOptions.d.ts +0 -4
- package/dist/src/types/AccountType.d.ts +0 -6
- package/dist/src/types/CaProvinceCode.d.ts +0 -1
- package/dist/src/types/CountryCode.d.ts +0 -3
- package/dist/src/types/MonthCode.d.ts +0 -1
- package/dist/src/types/TaxForm.d.ts +0 -1
- package/dist/src/types/UsStateCode.d.ts +0 -1
- package/dist/src/types/client/ClientTaxDocumentation.d.ts +0 -84
- package/dist/src/types/server/ComprehensiveTaxDocumentation.d.ts +0 -84
- package/dist/src/ui/MaskedInput/index.d.ts +0 -1
- package/dist/src/ui/Password/Password.d.ts +0 -12
- package/dist/src/ui/Password/index.d.ts +0 -1
- package/dist/src/utils/date.d.ts +0 -4
- package/dist/src/utils/getHintKeyMap.d.ts +0 -113
- package/dist/src/utils/getVerboseDate.d.ts +0 -1
- package/dist/src/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +0 -4
- package/dist/src/widgets/TaxBitForm/TaxBitForm.d.ts +0 -5
- package/dist/src/widgets/TaxBitForm/index.d.ts +0 -2
- package/dist/src/widgets/TaxBitForm/useTaxBitForm.d.ts +0 -22
- package/dist/src/wizard/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +0 -2
- package/dist/src/wizard/PlaceOfBirthInput/index.d.ts +0 -1
- package/dist/src/wizard/RowInput/MaskedInputRow/MaskedInputRow.d.ts +0 -11
- package/dist/src/wizard/RowInput/MaskedInputRow/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/AccountHolderClassification/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/AccountHolderContact/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/AccountHolderTax/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/AppError/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/Exemptions/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +0 -2
- package/dist/src/wizard/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/RegardedOwnerContact/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/RegardedOwnerTax/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/Summary/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +0 -4
- package/dist/src/wizard/TaxBitFormUI/TaxBitFormUI.d.ts +0 -6
- package/dist/src/wizard/TaxBitFormUI/index.d.ts +0 -2
- /package/dist/src/contexts/{FormUI → QuestionnaireUI}/shiftResidence.d.ts +0 -0
- /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitDAC7Form.loaded.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.complete.test.d.ts} +0 -0
- /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitForm.complete.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.loaded.test.d.ts} +0 -0
- /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitForm.loaded.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.loading.test.d.ts} +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderClassification/AccountHolderClassification.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderContact/AccountHolderContact.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderTax/AccountHolderTax.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AppError/AppError.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Confirmation/Confirmation.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Confirmation/index.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Exemptions/Exemptions.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/RegardedOwnerContact/RegardedOwnerContact.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/RegardedOwnerTax/RegardedOwnerTax.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Summary/Recap.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Summary/Summary.d.ts +0 -0
- /package/dist/src/{widgets/TaxBitForm/__tests__/TaxBitForm.loading.test.d.ts → wizard/TaxbitQuestionnaireUI/__tests__/TaxbitDPSQuestionnaireUI.test.d.ts} +0 -0
- /package/dist/src/wizard/{TaxBitFormUI/__tests__/TaxBitDAC7FormUI.test.d.ts → TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.test.d.ts} +0 -0
- /package/dist/src/wizard/{TaxBitFormUI/__tests__/TaxBitFormUI.test.d.ts → TaxbitQuestionnaireUI/__tests__/TaxbitWFormQuestionnaireUI.test.d.ts} +0 -0
package/dist/src/utils/date.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const isValidAge: (birthday: string) => boolean;
|
|
2
|
-
export declare const isAboveMinimumAge: (birthday: string, minAge?: number) => boolean;
|
|
3
|
-
export declare const isValidDateFormat: (dateString: string) => boolean;
|
|
4
|
-
export declare const isValidDateString: (birthday: string) => boolean;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { TaxDocumentationKey } from "types/TaxDocumentation";
|
|
2
|
-
import { HintKey } from "i18n/types";
|
|
3
|
-
export declare const getHintKeyMap: () => {
|
|
4
|
-
signature?: "dateOfBirth" | undefined;
|
|
5
|
-
source?: "dateOfBirth" | undefined;
|
|
6
|
-
exemptFatcaCode?: "dateOfBirth" | undefined;
|
|
7
|
-
exemptPayeeCode?: "dateOfBirth" | undefined;
|
|
8
|
-
iAcknowlegeESignIsOk?: "dateOfBirth" | undefined;
|
|
9
|
-
iAmACitizenOfTheUs?: "dateOfBirth" | undefined;
|
|
10
|
-
iAmExemptFromFatcaReporting?: "dateOfBirth" | undefined;
|
|
11
|
-
iAmNotSubjectToBackupWithholding?: "dateOfBirth" | undefined;
|
|
12
|
-
iAuthorizeWithholdingAgent?: "dateOfBirth" | undefined;
|
|
13
|
-
iCertifyToAll?: "dateOfBirth" | undefined;
|
|
14
|
-
iConfirmIncomeIsNonUs?: "dateOfBirth" | undefined;
|
|
15
|
-
iConfirmTheBeneficialOwnerIsExempt?: "dateOfBirth" | undefined;
|
|
16
|
-
iConfirmTheInformationIsCorrectComplete?: "dateOfBirth" | undefined;
|
|
17
|
-
iConfirmTheEntityIsNotAUsPerson?: "dateOfBirth" | undefined;
|
|
18
|
-
iConfirmTheEntityIsTheBeneficialOwner?: "dateOfBirth" | undefined;
|
|
19
|
-
iConfirmTheTaxIdIsCorrect?: "dateOfBirth" | undefined;
|
|
20
|
-
iHaveLegalCapacityToSign?: "dateOfBirth" | undefined;
|
|
21
|
-
regardedOwnerUsPerson?: "dateOfBirth" | undefined;
|
|
22
|
-
accountHolderAddressCity?: "dateOfBirth" | undefined;
|
|
23
|
-
accountHolderAddressCountry?: "dateOfBirth" | undefined;
|
|
24
|
-
accountHolderAddressState?: "dateOfBirth" | undefined;
|
|
25
|
-
accountHolderAddressStreet2?: "dateOfBirth" | undefined;
|
|
26
|
-
accountHolderAddressStreet?: "dateOfBirth" | undefined;
|
|
27
|
-
accountHolderAddressZip?: "dateOfBirth" | undefined;
|
|
28
|
-
accountHolderCityOfBirth?: "dateOfBirth" | undefined;
|
|
29
|
-
accountHolderCountryOfBirth?: "dateOfBirth" | undefined;
|
|
30
|
-
accountHolderCountryOfCitizenship?: "dateOfBirth" | undefined;
|
|
31
|
-
accountHolderDateOfBirth?: "dateOfBirth" | undefined;
|
|
32
|
-
accountHolderDbaName?: "dateOfBirth" | undefined;
|
|
33
|
-
accountHolderMailingAddressCity?: "dateOfBirth" | undefined;
|
|
34
|
-
accountHolderMailingAddressCountry?: "dateOfBirth" | undefined;
|
|
35
|
-
accountHolderMailingAddressIsDifferent?: "dateOfBirth" | undefined;
|
|
36
|
-
accountHolderMailingAddressState?: "dateOfBirth" | undefined;
|
|
37
|
-
accountHolderMailingAddressStreet2?: "dateOfBirth" | undefined;
|
|
38
|
-
accountHolderMailingAddressStreet?: "dateOfBirth" | undefined;
|
|
39
|
-
accountHolderMailingAddressZip?: "dateOfBirth" | undefined;
|
|
40
|
-
accountHolderName?: "dateOfBirth" | undefined;
|
|
41
|
-
accountHolderFinancialAccountIdentifier?: "dateOfBirth" | undefined;
|
|
42
|
-
accountHolderFinancialAccountName?: "dateOfBirth" | undefined;
|
|
43
|
-
accountHolderForeignTin?: "dateOfBirth" | undefined;
|
|
44
|
-
accountHolderForeignTinIsNotRequired?: "dateOfBirth" | undefined;
|
|
45
|
-
accountHolderTaxResidenceCountry1?: "dateOfBirth" | undefined;
|
|
46
|
-
accountHolderTaxResidenceForeignTin1?: "dateOfBirth" | undefined;
|
|
47
|
-
accountHolderTaxResidenceForeignTin1IsNotRequired?: "dateOfBirth" | undefined;
|
|
48
|
-
accountHolderTaxResidenceCountry2?: "dateOfBirth" | undefined;
|
|
49
|
-
accountHolderTaxResidenceForeignTin2?: "dateOfBirth" | undefined;
|
|
50
|
-
accountHolderTaxResidenceForeignTin2IsNotRequired?: "dateOfBirth" | undefined;
|
|
51
|
-
accountHolderTaxResidenceCountry3?: "dateOfBirth" | undefined;
|
|
52
|
-
accountHolderTaxResidenceForeignTin3?: "dateOfBirth" | undefined;
|
|
53
|
-
accountHolderTaxResidenceForeignTin3IsNotRequired?: "dateOfBirth" | undefined;
|
|
54
|
-
accountHolderTaxResidenceCountry4?: "dateOfBirth" | undefined;
|
|
55
|
-
accountHolderTaxResidenceForeignTin4?: "dateOfBirth" | undefined;
|
|
56
|
-
accountHolderTaxResidenceForeignTin4IsNotRequired?: "dateOfBirth" | undefined;
|
|
57
|
-
accountHolderTaxResidenceCountry5?: "dateOfBirth" | undefined;
|
|
58
|
-
accountHolderTaxResidenceForeignTin5?: "dateOfBirth" | undefined;
|
|
59
|
-
accountHolderTaxResidenceForeignTin5IsNotRequired?: "dateOfBirth" | undefined;
|
|
60
|
-
accountHolderShowTaxResidence2?: "dateOfBirth" | undefined;
|
|
61
|
-
accountHolderShowTaxResidence3?: "dateOfBirth" | undefined;
|
|
62
|
-
accountHolderShowTaxResidence4?: "dateOfBirth" | undefined;
|
|
63
|
-
accountHolderShowTaxResidence5?: "dateOfBirth" | undefined;
|
|
64
|
-
accountHolderUsTin?: "dateOfBirth" | undefined;
|
|
65
|
-
accountHolderVatIdentificationNumber?: "dateOfBirth" | undefined;
|
|
66
|
-
accountHolderVatIsNotRequired?: "dateOfBirth" | undefined;
|
|
67
|
-
accountHolderVatCountry?: "dateOfBirth" | undefined;
|
|
68
|
-
accountHolderBusinessRegistrationNumber?: "dateOfBirth" | undefined;
|
|
69
|
-
accountHolderBusinessRegistrationCountry?: "dateOfBirth" | undefined;
|
|
70
|
-
accountHolderIsIndividual?: "dateOfBirth" | undefined;
|
|
71
|
-
accountHolderIsEuResident?: "dateOfBirth" | undefined;
|
|
72
|
-
accountHolderUsPerson?: "dateOfBirth" | undefined;
|
|
73
|
-
accountHolderUsAccountType?: "dateOfBirth" | undefined;
|
|
74
|
-
accountHolderUsSmllcElection?: "dateOfBirth" | undefined;
|
|
75
|
-
accountHolderUsLlcClassification?: "dateOfBirth" | undefined;
|
|
76
|
-
accountHolderUsOtherClassification?: "dateOfBirth" | undefined;
|
|
77
|
-
accountHolderUsTrustEstateEin?: "dateOfBirth" | undefined;
|
|
78
|
-
accountHolderForeignAccountType?: "dateOfBirth" | undefined;
|
|
79
|
-
accountHolderForeignTrustClassification?: "dateOfBirth" | undefined;
|
|
80
|
-
accountHolderForeignOtherClassification?: "dateOfBirth" | undefined;
|
|
81
|
-
regardedOwnerAddressCity?: "dateOfBirth" | undefined;
|
|
82
|
-
regardedOwnerAddressCountry?: "dateOfBirth" | undefined;
|
|
83
|
-
regardedOwnerAddressState?: "dateOfBirth" | undefined;
|
|
84
|
-
regardedOwnerAddressStreet2?: "dateOfBirth" | undefined;
|
|
85
|
-
regardedOwnerAddressStreet?: "dateOfBirth" | undefined;
|
|
86
|
-
regardedOwnerAddressZip?: "dateOfBirth" | undefined;
|
|
87
|
-
regardedOwnerCountryOfCitizenship?: "dateOfBirth" | undefined;
|
|
88
|
-
regardedOwnerDateOfBirth?: "dateOfBirth" | undefined;
|
|
89
|
-
regardedOwnerDbaName?: "dateOfBirth" | undefined;
|
|
90
|
-
regardedOwnerMailingAddressCity?: "dateOfBirth" | undefined;
|
|
91
|
-
regardedOwnerMailingAddressCountry?: "dateOfBirth" | undefined;
|
|
92
|
-
regardedOwnerMailingAddressIsDifferent?: "dateOfBirth" | undefined;
|
|
93
|
-
regardedOwnerMailingAddressState?: "dateOfBirth" | undefined;
|
|
94
|
-
regardedOwnerMailingAddressStreet2?: "dateOfBirth" | undefined;
|
|
95
|
-
regardedOwnerMailingAddressStreet?: "dateOfBirth" | undefined;
|
|
96
|
-
regardedOwnerMailingAddressZip?: "dateOfBirth" | undefined;
|
|
97
|
-
regardedOwnerName?: "dateOfBirth" | undefined;
|
|
98
|
-
regardedOwnerUsAccountType?: "dateOfBirth" | undefined;
|
|
99
|
-
regardedOwnerUsLlcClassification?: "dateOfBirth" | undefined;
|
|
100
|
-
regardedOwnerUsOtherClassification?: "dateOfBirth" | undefined;
|
|
101
|
-
regardedOwnerUsTrustEstateEin?: "dateOfBirth" | undefined;
|
|
102
|
-
regardedOwnerForeignAccountType?: "dateOfBirth" | undefined;
|
|
103
|
-
regardedOwnerForeignTrustClassification?: "dateOfBirth" | undefined;
|
|
104
|
-
regardedOwnerForeignOtherClassification?: "dateOfBirth" | undefined;
|
|
105
|
-
regardedOwnerForeignTin?: "dateOfBirth" | undefined;
|
|
106
|
-
regardedOwnerForeignTinIsNotRequired?: "dateOfBirth" | undefined;
|
|
107
|
-
regardedOwnerUsTin?: "dateOfBirth" | undefined;
|
|
108
|
-
accountHolderTaxResidences?: "dateOfBirth" | undefined;
|
|
109
|
-
accountHolderAddress?: "dateOfBirth" | undefined;
|
|
110
|
-
accountHolderMailingAddress?: "dateOfBirth" | undefined;
|
|
111
|
-
regardedOwnerAddress?: "dateOfBirth" | undefined;
|
|
112
|
-
regardedOwnerMailingAddress?: "dateOfBirth" | undefined;
|
|
113
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getVerboseDate: (dateString: string) => string;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TaxBitFormProps } from './TaxBitForm';
|
|
3
|
-
export type TaxBitDAC7FormProps = Omit<TaxBitFormProps, 'taxForms'>;
|
|
4
|
-
export declare const TaxBitDAC7Form: ({ data, staging, bearerToken, language, onSubmit, onProgress, onSuccess, onError, onSettled, }: TaxBitDAC7FormProps) => React.JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { UseTaxDocumentationProps } from 'contexts';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { UseTaxBitFormProps } from 'widgets/TaxBitForm/useTaxBitForm';
|
|
4
|
-
export type TaxBitFormProps = Omit<UseTaxDocumentationProps, 'onSubmit'> & UseTaxBitFormProps;
|
|
5
|
-
export declare const TaxBitForm: ({ staging, data, bearerToken, language, taxForms, onProgress, onSubmit, onSettled, onSuccess, onError, }: TaxBitFormProps) => React.JSX.Element;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ClientTaxDocumentation, ExternalValidations } from 'types/client';
|
|
2
|
-
type TaxBitResponseError = {
|
|
3
|
-
message: string;
|
|
4
|
-
response: Response;
|
|
5
|
-
};
|
|
6
|
-
export type UseTaxBitFormProps = {
|
|
7
|
-
data?: ClientTaxDocumentation;
|
|
8
|
-
staging?: boolean;
|
|
9
|
-
bearerToken: string;
|
|
10
|
-
onSuccess?: (data?: ClientTaxDocumentation) => void | Promise<void>;
|
|
11
|
-
onSettled?: (data?: ClientTaxDocumentation) => void | Promise<void>;
|
|
12
|
-
onError?: (error?: TaxBitResponseError) => void | Promise<void>;
|
|
13
|
-
onSubmit: (data?: ClientTaxDocumentation) => void | Promise<void>;
|
|
14
|
-
};
|
|
15
|
-
export declare const useTaxBitForm: ({ bearerToken, data, onSubmit, onSuccess, onSettled, onError, staging, }: UseTaxBitFormProps) => {
|
|
16
|
-
handleOnSubmit: (data: ClientTaxDocumentation) => Promise<void>;
|
|
17
|
-
externalValidations: ExternalValidations;
|
|
18
|
-
formData: ClientTaxDocumentation;
|
|
19
|
-
isComplete: boolean;
|
|
20
|
-
isLoading: boolean;
|
|
21
|
-
};
|
|
22
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./PlaceOfBirthInput";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MaskedInputProps } from 'ui';
|
|
3
|
-
type MaskedInputRowProps = {
|
|
4
|
-
label?: true;
|
|
5
|
-
subLabel?: true;
|
|
6
|
-
hint?: true;
|
|
7
|
-
onChange?: (val: string) => string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const MaskedInputRow: ({ name, label, hint, subLabel, onChange, disabled, }: MaskedInputProps & MaskedInputRowProps) => React.JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./MaskedInputRow";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./AccountHolderClassification";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./AccountHolderContact";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./AccountHolderTax";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./AccountHolderTaxClarification";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AppError.tsx';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Exemptions";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./RegardedOwnerClassification";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./RegardedOwnerContact";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./RegardedOwnerTax";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Summary";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TaxBitFormUIProps } from './TaxBitFormUI';
|
|
3
|
-
export type TaxBitDAC7FormUIProps = Omit<TaxBitFormUIProps, 'taxForms'>;
|
|
4
|
-
export declare const TaxBitDAC7FormUI: ({ data, onSubmit, onProgress, language, complete, }: TaxBitDAC7FormUIProps) => React.JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { UseTaxDocumentationProps } from 'contexts';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export type TaxBitFormUIProps = Omit<UseTaxDocumentationProps, 'step' | 'config'> & {
|
|
4
|
-
complete?: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare const TaxBitFormUI: ({ data, onSubmit, language, taxForms, complete, onProgress, externalValidations, }: TaxBitFormUIProps) => React.JSX.Element;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Confirmation/Confirmation.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|