@taxbit/react-sdk 0.0.15 → 0.1.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 +309 -10
- package/dist/basic.css +52 -7
- package/dist/components/Notification/Notification.d.ts +5 -0
- package/dist/components/Notification/index.d.ts +1 -0
- package/dist/components/Page/Page.d.ts +3 -1
- package/dist/components/Section/Section.d.ts +2 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/contexts/FormUI/useFormUI.d.ts +11 -3
- package/dist/contexts/FormUI/useFormUIContext.d.ts +20 -4
- package/dist/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +3 -3
- package/dist/contexts/TaxDocumentation/useTaxDocumentation.d.ts +6 -5
- package/dist/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +114 -12
- package/dist/entry/index.d.ts +3 -3
- package/dist/i18n/i18n.d.ts +1 -1
- package/dist/i18n/index.d.ts +1 -2
- package/dist/i18n/locales/bg-bg.d.ts +2 -0
- package/dist/i18n/locales/cs-cz.d.ts +2 -0
- package/dist/i18n/locales/el-gr.d.ts +2 -0
- package/dist/i18n/locales/et-ee.d.ts +2 -0
- package/dist/i18n/locales/hu-hu.d.ts +2 -0
- package/dist/i18n/locales/index.d.ts +10 -0
- package/dist/i18n/locales/mt-mt.d.ts +2 -0
- package/dist/i18n/locales/pt-pt.d.ts +2 -0
- package/dist/i18n/locales/ro-ro.d.ts +2 -0
- package/dist/i18n/locales/sk-sk.d.ts +2 -0
- package/dist/i18n/locales/sl-si.d.ts +2 -0
- package/dist/i18n/types/LocalizationKey.d.ts +9 -6
- package/dist/i18n/types/PropertyFile.d.ts +16 -2
- package/dist/i18n/types/index.d.ts +0 -1
- package/dist/i18n/utils/getText.d.ts +17 -13
- package/dist/index.css +4 -0
- package/dist/inline.css +53 -8
- package/dist/lookups/dayOptions.d.ts +3 -0
- package/dist/lookups/foreignAccountHolderAccountTypeOptions.d.ts +2 -0
- package/dist/lookups/foreignOtherClassificationOptions.d.ts +17 -0
- package/dist/lookups/foreignTrustClassificationOptions.d.ts +9 -0
- package/dist/lookups/index.d.ts +6 -2
- package/dist/lookups/localeOptions.d.ts +4 -0
- package/dist/lookups/monthOptions.d.ts +4 -0
- package/dist/lookups/usAccountHolderAccountTypeOptions.d.ts +2 -0
- package/dist/lookups/usLlcAccountTypeOptions.d.ts +2 -0
- package/dist/lookups/yearOptions.d.ts +4 -0
- package/dist/minimal.css +3 -1
- package/dist/taxbit-react-sdk.es.js +13131 -6599
- package/dist/taxbit-react-sdk.umd.js +10 -10
- package/dist/types/AccountType.d.ts +3 -3
- package/dist/types/Locale.d.ts +1 -0
- package/dist/types/MonthCode.d.ts +1 -0
- package/dist/types/TaxDocumentation.d.ts +1 -0
- package/dist/types/external/ComprehensiveTaxDocumentation.d.ts +78 -65
- package/dist/types/index.d.ts +2 -0
- package/dist/ui/ActionButton/ActionButton.d.ts +7 -0
- package/dist/ui/ActionButton/index.d.ts +1 -0
- package/dist/ui/CheckBox/CheckBox.d.ts +2 -1
- package/dist/ui/DateOfBirthInput/DateOfBirthInput.d.ts +9 -0
- package/dist/ui/DateOfBirthInput/index.d.ts +1 -0
- package/dist/ui/HideShowButton/HideShowButton.d.ts +5 -0
- package/dist/ui/HideShowButton/index.d.ts +1 -0
- package/dist/ui/MaskedContent/MaskedContent.d.ts +4 -0
- package/dist/ui/MaskedContent/index.d.ts +1 -0
- package/dist/ui/MaskedInput/MaskedInput.d.ts +10 -0
- package/dist/ui/MaskedInput/index.d.ts +1 -0
- package/dist/ui/Password/Password.d.ts +11 -0
- package/dist/ui/Password/index.d.ts +1 -0
- package/dist/ui/TextInput/TextInput.d.ts +4 -1
- package/dist/ui/index.d.ts +4 -0
- package/dist/utils/getForeignAccountType.d.ts +2 -0
- package/dist/utils/getForeignOtherClassification.d.ts +2 -0
- package/dist/utils/getForeignTrustClassification.d.ts +2 -0
- package/dist/utils/getHintKeyMap.d.ts +1 -0
- package/dist/utils/getLLCClassification.d.ts +2 -0
- package/dist/utils/getMonthlyDayCount.d.ts +1 -0
- package/dist/utils/getNotifications.d.ts +10 -0
- package/dist/utils/getPromptKeyMap.d.ts +1 -0
- package/dist/utils/getRequiredFields.d.ts +103 -0
- package/dist/utils/getUsAccountType.d.ts +2 -0
- package/dist/utils/getValidationMessages.d.ts +104 -0
- package/dist/utils/index.d.ts +8 -2
- package/dist/utils/isBlank.d.ts +2 -2
- package/dist/utils/transformInbound.d.ts +2 -1
- package/dist/utils/transformOutbound/convertYesNoToBoolean.d.ts +2 -0
- package/dist/utils/transformOutbound/transformOutbound.d.ts +3 -0
- package/dist/utils/transformOutbound/transformToOutboundAccoutHolder.d.ts +3 -0
- package/dist/utils/transformOutbound/transformToOutboundAddress.d.ts +6 -0
- package/dist/utils/transformOutbound/transformToOutboundRegardedOwner.d.ts +3 -0
- package/dist/utils/transformOutbound/transformToOutboundTaxResidenceFields.d.ts +4 -0
- package/dist/validations/index.d.ts +1 -0
- package/dist/validations/requiredFields.d.ts +7 -0
- package/dist/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +3 -3
- package/dist/widgets/TaxBitForm/TaxBitForm.d.ts +3 -3
- package/dist/wizard/LanguageSelector/LanguageSelector.d.ts +2 -0
- package/dist/wizard/LanguageSelector/index.d.ts +1 -0
- package/dist/{paths → wizard}/ResidenceInput/ResidenceInput.d.ts +5 -2
- package/dist/wizard/RowInput/CheckBoxRow/CheckBoxRow.d.ts +8 -0
- package/dist/wizard/RowInput/DateOfBirthRow/DateOfBirthRow.d.ts +10 -0
- package/dist/wizard/RowInput/DateOfBirthRow/index.d.ts +1 -0
- package/dist/wizard/RowInput/MaskedInputRow/MaskedInputRow.d.ts +10 -0
- package/dist/wizard/RowInput/MaskedInputRow/index.d.ts +1 -0
- package/dist/{paths → wizard}/RowInput/TextInputRow/TextInputRow.d.ts +3 -1
- package/dist/{paths → wizard}/RowInput/VisibleRow/VisibleRow.d.ts +2 -1
- package/dist/{paths → wizard}/RowInput/index.d.ts +1 -1
- package/dist/{paths → wizard}/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +3 -3
- package/dist/{paths → wizard}/TaxBitFormUI/TaxBitFormUI.d.ts +3 -3
- package/package.json +4 -2
- package/dist/components/Title/Title.d.ts +0 -5
- package/dist/components/Title/index.d.ts +0 -1
- package/dist/i18n/types/Locale.d.ts +0 -1
- package/dist/lookups/foreignOtherAccountTypeOptions.d.ts +0 -15
- package/dist/lookups/foreignTrustAccountTypeOptions.d.ts +0 -7
- package/dist/paths/FinancialAccountInput/FinancialAccountInput.d.ts +0 -6
- package/dist/paths/FinancialAccountInput/index.d.ts +0 -1
- package/dist/paths/RowInput/CheckBoxRow/CheckBoxRow.d.ts +0 -8
- package/dist/paths/RowInput/ErrorRow/ErrorRow.d.ts +0 -2
- package/dist/paths/RowInput/ErrorRow/index.d.ts +0 -1
- package/dist/paths/VatInput/VatInput.d.ts +0 -8
- package/dist/paths/VatInput/index.d.ts +0 -1
- package/dist/utils/transformOutbound.d.ts +0 -3
- /package/dist/{paths → wizard}/AddressInput/AddressInput.d.ts +0 -0
- /package/dist/{paths → wizard}/AddressInput/index.d.ts +0 -0
- /package/dist/{paths → wizard}/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +0 -0
- /package/dist/{paths → wizard}/PlaceOfBirthInput/index.d.ts +0 -0
- /package/dist/{paths → wizard}/ResidenceInput/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/CheckBoxRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/RadioButtonRow/RadioButtonRow.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/RadioButtonRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/SelectRow/SelectRow.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/SelectRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/TextInputRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/ToggleButtonRow/ToggleButtonRow.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/ToggleButtonRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/VisibleRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderClassification/AccountHolderClassification.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderClassification/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderContact/AccountHolderContact.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderContact/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderTax/AccountHolderTax.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderTax/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/Exemptions/Exemptions.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/Exemptions/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerContact/RegardedOwnerContact.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerContact/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerTax/RegardedOwnerTax.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerTax/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/Summary/Recap.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/Summary/Summary.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/Summary/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/steps.d.ts +0 -0
- /package/dist/{paths → wizard}/index.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { usAccountHolderAccountTypeOptions, usLlcAccountTypeOptions, foreignAccountHolderAccountTypeOptions,
|
|
1
|
+
import { usAccountHolderAccountTypeOptions, usLlcAccountTypeOptions, foreignAccountHolderAccountTypeOptions, foreignTrustClassificationOptions, foreignOtherClassificationOptions } from "lookups";
|
|
2
2
|
export type UsAccountType = (typeof usAccountHolderAccountTypeOptions)[number]["value"];
|
|
3
3
|
export type UsLlcAccountType = (typeof usLlcAccountTypeOptions)[number]["value"];
|
|
4
4
|
export type ForeignAccountType = (typeof foreignAccountHolderAccountTypeOptions)[number]["value"];
|
|
5
|
-
export type ForeignTrustAccountType = (typeof
|
|
6
|
-
export type ForeignOtherAccountType = (typeof
|
|
5
|
+
export type ForeignTrustAccountType = (typeof foreignTrustClassificationOptions)[number]["value"];
|
|
6
|
+
export type ForeignOtherAccountType = (typeof foreignOtherClassificationOptions)[number]["value"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Locale = "bg-bg" | "cs-cz" | "de-de" | "el-gr" | "en-gb" | "en-us" | "es-es" | "et-ee" | "fr-fr" | "hu-hu" | "it-it" | "mt-mt" | "nl-nl" | "no-no" | "pt-pt" | "ro-ro" | "sk-sk" | "sl-si" | "sv-se";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MonthCode = "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12";
|
|
@@ -61,6 +61,7 @@ export type AccountHolderTaxData = {
|
|
|
61
61
|
accountHolderShowTaxResidence5?: YesNo;
|
|
62
62
|
accountHolderUsTin?: string;
|
|
63
63
|
accountHolderVatIdentificationNumber?: string;
|
|
64
|
+
accountHolderVatIdentificationNumberIsNotRequired?: Yes;
|
|
64
65
|
accountHolderVatCountry?: string;
|
|
65
66
|
};
|
|
66
67
|
export type RegardedOwnerClassificationData = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
type
|
|
1
|
+
import type { CamelCasedPropertiesDeep } from "type-fest";
|
|
2
|
+
export type Address = {
|
|
2
3
|
city?: string;
|
|
3
4
|
country?: string;
|
|
4
5
|
state_or_province?: string;
|
|
@@ -6,71 +7,83 @@ type Address = {
|
|
|
6
7
|
second_line?: string;
|
|
7
8
|
postal_code?: string;
|
|
8
9
|
};
|
|
9
|
-
export type
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
tax_residences: {
|
|
26
|
-
country?: string;
|
|
27
|
-
tin?: string;
|
|
28
|
-
tin_not_required?: boolean;
|
|
29
|
-
}[];
|
|
30
|
-
show_tax_residence?: boolean[];
|
|
10
|
+
export type AccountHolderTaxDocumentation = {
|
|
11
|
+
address?: Address;
|
|
12
|
+
country_of_citizenship?: string;
|
|
13
|
+
date_of_birth?: string;
|
|
14
|
+
dba_name?: string;
|
|
15
|
+
mailing_address?: Address;
|
|
16
|
+
mailing_address_is_different?: boolean;
|
|
17
|
+
name?: string;
|
|
18
|
+
city_of_birth?: string;
|
|
19
|
+
country_of_birth?: string;
|
|
20
|
+
financial_account_identifier?: string;
|
|
21
|
+
financial_account_name?: string;
|
|
22
|
+
ftin?: string;
|
|
23
|
+
ftin_not_legally_required?: boolean;
|
|
24
|
+
tax_residences?: {
|
|
25
|
+
country?: string;
|
|
31
26
|
tin?: string;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
27
|
+
tin_not_required?: boolean;
|
|
28
|
+
}[];
|
|
29
|
+
show_tax_residence?: boolean[];
|
|
30
|
+
tin?: string;
|
|
31
|
+
vatin?: string;
|
|
32
|
+
vatin_country?: string;
|
|
33
|
+
vatin_not_required?: boolean;
|
|
34
|
+
exempt_fatca_code?: string;
|
|
35
|
+
exempt_payee_code?: string;
|
|
36
|
+
is_individual?: boolean;
|
|
37
|
+
is_eu_resident?: boolean;
|
|
38
|
+
is_us_person?: boolean;
|
|
39
|
+
us_account_type?: string;
|
|
40
|
+
us_smllc_election?: boolean;
|
|
41
|
+
us_llc_classification?: string;
|
|
42
|
+
us_other_classification?: string;
|
|
43
|
+
us_trust_estate_ein?: boolean;
|
|
44
|
+
foreign_account_type?: string;
|
|
45
|
+
foreign_trust_classification?: string;
|
|
46
|
+
foreign_other_classification?: string;
|
|
47
|
+
};
|
|
48
|
+
export type RegardedOwnerTaxDocumentation = {
|
|
49
|
+
address?: Address;
|
|
50
|
+
country_of_citizenship?: string;
|
|
51
|
+
date_of_birth?: string;
|
|
52
|
+
dba_name?: string;
|
|
53
|
+
mailing_address?: Address;
|
|
54
|
+
mailing_address_is_different?: boolean;
|
|
55
|
+
name?: string;
|
|
56
|
+
ftin?: string;
|
|
57
|
+
ftin_not_legally_required?: boolean;
|
|
58
|
+
tin?: string;
|
|
59
|
+
exempt_fatca_code?: string;
|
|
60
|
+
exempt_payee_code?: string;
|
|
61
|
+
is_us_person?: boolean;
|
|
62
|
+
us_account_type?: string;
|
|
63
|
+
us_llc_classification?: string;
|
|
64
|
+
other_classification?: string;
|
|
65
|
+
us_trust_estate_ein?: boolean;
|
|
66
|
+
foreign_account_type?: string;
|
|
67
|
+
foreign_trust_classification?: string;
|
|
68
|
+
foreign_other_classification?: string;
|
|
69
|
+
};
|
|
70
|
+
export type SignedComprehensiveTaxDocumentation = {
|
|
71
|
+
account_holder?: AccountHolderTaxDocumentation;
|
|
72
|
+
} & {
|
|
73
|
+
regarded_owner?: RegardedOwnerTaxDocumentation;
|
|
74
|
+
} & {
|
|
73
75
|
has_certified?: boolean;
|
|
74
76
|
is_not_subject_backup_withholding?: boolean;
|
|
77
|
+
signature?: string;
|
|
78
|
+
document_type: "COMPREHENSIVE";
|
|
75
79
|
};
|
|
76
|
-
export {
|
|
80
|
+
export declare enum ComprehensiveStatus {
|
|
81
|
+
Undocumented = "UNDOCUMENTED",
|
|
82
|
+
Undetermined = "UNDETERMINED"
|
|
83
|
+
}
|
|
84
|
+
export declare enum ComprehensiveFormStatus {
|
|
85
|
+
Collected = "COLLECTED",
|
|
86
|
+
NotCollected = "NOT_COLLECTED",
|
|
87
|
+
PartiallyCollected = "PARTIALLY_COLLECTED"
|
|
88
|
+
}
|
|
89
|
+
export type ClientTaxDocumentation = CamelCasedPropertiesDeep<AccountHolderTaxDocumentation>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TaxDocumentationKey } from "types/TaxDocumentation";
|
|
3
|
+
export type ActionButtonProps = {
|
|
4
|
+
name: TaxDocumentationKey;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const ActionButton: ({ name, onClick }: ActionButtonProps) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ActionButton.tsx";
|
|
@@ -4,5 +4,6 @@ export type CheckBoxProps = {
|
|
|
4
4
|
label: boolean;
|
|
5
5
|
subLabel?: boolean;
|
|
6
6
|
name: TaxDocumentationKey;
|
|
7
|
+
onClick?: (val: string | undefined) => void;
|
|
7
8
|
};
|
|
8
|
-
export declare const CheckBox: ({ label, subLabel, name }: CheckBoxProps) => React.JSX.Element;
|
|
9
|
+
export declare const CheckBox: ({ label, subLabel, name, onClick }: CheckBoxProps) => React.JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TaxDocumentationKey } from "types/TaxDocumentation";
|
|
3
|
+
export type DateOfBirthInputProps = {
|
|
4
|
+
name: TaxDocumentationKey;
|
|
5
|
+
className?: string;
|
|
6
|
+
hint?: true;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export declare const DateOfBirthInput: ({ name, className, hint, children, }: DateOfBirthInputProps) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./DateOfBirthInput.tsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./HideShowButton";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./MaskedContent";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TaxDocumentationKey } from "types/TaxDocumentation";
|
|
3
|
+
export type MaskedInputProps = {
|
|
4
|
+
name: TaxDocumentationKey;
|
|
5
|
+
className?: string;
|
|
6
|
+
onChange?: (val: string) => string;
|
|
7
|
+
hint?: true;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export declare const MaskedInput: ({ name, className, onChange, hint, children, }: MaskedInputProps) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./MaskedInput.tsx";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type PasswordProps = {
|
|
3
|
+
value?: string;
|
|
4
|
+
mask?: string;
|
|
5
|
+
timeout?: number;
|
|
6
|
+
onChange?: (val: string) => void;
|
|
7
|
+
show?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const Password: ({ value, mask, timeout, onChange, show, ...inputProps }: PasswordProps) => React.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Password";
|
|
@@ -5,5 +5,8 @@ export type TextInputProps = {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
onChange?: (val: string) => string;
|
|
7
7
|
hint?: true;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
syncName?: TaxDocumentationKey;
|
|
8
11
|
};
|
|
9
|
-
export declare const TextInput: ({ name, className, onChange, hint, }: TextInputProps) => React.JSX.Element;
|
|
12
|
+
export declare const TextInput: ({ name, className, onChange, hint, children, disabled, syncName, }: TextInputProps) => React.JSX.Element;
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export * from "./Actions";
|
|
2
|
+
export * from "./ActionButton";
|
|
2
3
|
export * from "./CheckBox";
|
|
4
|
+
export * from "./DateOfBirthInput";
|
|
3
5
|
export * from "./RadioButtons";
|
|
4
6
|
export * from "./Select";
|
|
5
7
|
export * from "./TextInput";
|
|
6
8
|
export * from "./ToggleButton";
|
|
9
|
+
export * from "./HideShowButton";
|
|
10
|
+
export * from "./MaskedInput";
|
|
@@ -61,6 +61,7 @@ export declare const getHintKeyMap: () => {
|
|
|
61
61
|
accountHolderShowTaxResidence5?: "dateOfBirth" | undefined;
|
|
62
62
|
accountHolderUsTin?: "dateOfBirth" | undefined;
|
|
63
63
|
accountHolderVatIdentificationNumber?: "dateOfBirth" | undefined;
|
|
64
|
+
accountHolderVatIdentificationNumberIsNotRequired?: "dateOfBirth" | undefined;
|
|
64
65
|
accountHolderVatCountry?: "dateOfBirth" | undefined;
|
|
65
66
|
accountHolderIsIndividual?: "dateOfBirth" | undefined;
|
|
66
67
|
accountHolderIsEuResident?: "dateOfBirth" | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getMonthlyDayCount: (month: number, year?: number) => number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TaxDocumentation, TaxDocumentationKey } from "../types";
|
|
2
|
+
import { NotificationKey } from "../i18n/types";
|
|
3
|
+
export type NotificationRule = ((value: string | undefined, fields: TaxDocumentation) => NotificationKey | undefined) | ((value: string | undefined) => NotificationKey | undefined);
|
|
4
|
+
export type Notifications = {
|
|
5
|
+
[key in TaxDocumentationKey]?: NotificationKey;
|
|
6
|
+
};
|
|
7
|
+
export type NotificationRules = {
|
|
8
|
+
[key in TaxDocumentationKey]?: NotificationRule;
|
|
9
|
+
};
|
|
10
|
+
export declare const getNotifications: (shownFields: Set<TaxDocumentationKey>, fields: TaxDocumentation) => Notifications;
|
|
@@ -61,6 +61,7 @@ export declare const getPromptKeyMap: (data: TaxDocumentation) => {
|
|
|
61
61
|
accountHolderShowTaxResidence5?: PromptKey | undefined;
|
|
62
62
|
accountHolderUsTin?: PromptKey | undefined;
|
|
63
63
|
accountHolderVatIdentificationNumber?: PromptKey | undefined;
|
|
64
|
+
accountHolderVatIdentificationNumberIsNotRequired?: PromptKey | undefined;
|
|
64
65
|
accountHolderVatCountry?: PromptKey | undefined;
|
|
65
66
|
accountHolderIsIndividual?: PromptKey | undefined;
|
|
66
67
|
accountHolderIsEuResident?: PromptKey | undefined;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { TaxDocumentation, TaxDocumentationKey } from "../types";
|
|
2
|
+
export declare const getRequiredFields: (fields: TaxDocumentation) => {
|
|
3
|
+
exemptPayeeCode: boolean | undefined;
|
|
4
|
+
exemptFatcaCode: boolean | undefined;
|
|
5
|
+
iAcknowlegeESignIsOk: boolean | undefined;
|
|
6
|
+
iAmACitizenOfTheUs: boolean | undefined;
|
|
7
|
+
iAmExemptFromFatcaReporting: boolean | undefined;
|
|
8
|
+
iAmNotSubjectToBackupWithholding: boolean | undefined;
|
|
9
|
+
iAuthorizeWithholdingAgent: boolean | undefined;
|
|
10
|
+
iCertifyToAll: boolean | undefined;
|
|
11
|
+
iConfirmIncomeIsNonUs: boolean | undefined;
|
|
12
|
+
iConfirmTheBeneficialOwnerIsExempt: boolean | undefined;
|
|
13
|
+
iConfirmTheEntityIsNotAUsPerson: boolean | undefined;
|
|
14
|
+
iConfirmTheEntityIsTheBeneficialOwner: boolean | undefined;
|
|
15
|
+
iConfirmTheTaxIdIsCorrect: boolean | undefined;
|
|
16
|
+
iHaveLegalCapacityToSign: boolean | undefined;
|
|
17
|
+
regardedOwnerUsPerson: boolean | undefined;
|
|
18
|
+
signature: boolean | undefined;
|
|
19
|
+
accountHolderAddressCity: boolean | undefined;
|
|
20
|
+
accountHolderAddressCountry: boolean | undefined;
|
|
21
|
+
accountHolderAddressState: boolean | undefined;
|
|
22
|
+
accountHolderAddressStreet2: boolean | undefined;
|
|
23
|
+
accountHolderAddressStreet: boolean | undefined;
|
|
24
|
+
accountHolderAddressZip: boolean | undefined;
|
|
25
|
+
accountHolderCityOfBirth: boolean | undefined;
|
|
26
|
+
accountHolderCountryOfBirth: boolean | undefined;
|
|
27
|
+
accountHolderCountryOfCitizenship: boolean | undefined;
|
|
28
|
+
accountHolderDateOfBirth: boolean | undefined;
|
|
29
|
+
accountHolderDbaName: boolean | undefined;
|
|
30
|
+
accountHolderMailingAddressCity: boolean | undefined;
|
|
31
|
+
accountHolderMailingAddressCountry: boolean | undefined;
|
|
32
|
+
accountHolderMailingAddressIsDifferent: boolean | undefined;
|
|
33
|
+
accountHolderMailingAddressState: boolean | undefined;
|
|
34
|
+
accountHolderMailingAddressStreet2: boolean | undefined;
|
|
35
|
+
accountHolderMailingAddressStreet: boolean | undefined;
|
|
36
|
+
accountHolderMailingAddressZip: boolean | undefined;
|
|
37
|
+
accountHolderName: boolean | undefined;
|
|
38
|
+
accountHolderFinancialAccountIdentifier: boolean | undefined;
|
|
39
|
+
accountHolderFinancialAccountName: boolean | undefined;
|
|
40
|
+
accountHolderForeignTin: boolean | undefined;
|
|
41
|
+
accountHolderForeignTinIsNotRequired: boolean | undefined;
|
|
42
|
+
accountHolderTaxResidenceCountry1: boolean | undefined;
|
|
43
|
+
accountHolderTaxResidenceForeignTin1: boolean | undefined;
|
|
44
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired: boolean | undefined;
|
|
45
|
+
accountHolderTaxResidenceCountry2: boolean | undefined;
|
|
46
|
+
accountHolderTaxResidenceForeignTin2: boolean | undefined;
|
|
47
|
+
accountHolderTaxResidenceForeignTin2IsNotRequired: boolean | undefined;
|
|
48
|
+
accountHolderTaxResidenceCountry3: boolean | undefined;
|
|
49
|
+
accountHolderTaxResidenceForeignTin3: boolean | undefined;
|
|
50
|
+
accountHolderTaxResidenceForeignTin3IsNotRequired: boolean | undefined;
|
|
51
|
+
accountHolderTaxResidenceCountry4: boolean | undefined;
|
|
52
|
+
accountHolderTaxResidenceForeignTin4: boolean | undefined;
|
|
53
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired: boolean | undefined;
|
|
54
|
+
accountHolderTaxResidenceCountry5: boolean | undefined;
|
|
55
|
+
accountHolderTaxResidenceForeignTin5: boolean | undefined;
|
|
56
|
+
accountHolderTaxResidenceForeignTin5IsNotRequired: boolean | undefined;
|
|
57
|
+
accountHolderShowTaxResidence2: boolean | undefined;
|
|
58
|
+
accountHolderShowTaxResidence3: boolean | undefined;
|
|
59
|
+
accountHolderShowTaxResidence4: boolean | undefined;
|
|
60
|
+
accountHolderShowTaxResidence5: boolean | undefined;
|
|
61
|
+
accountHolderUsTin: boolean | undefined;
|
|
62
|
+
accountHolderVatIdentificationNumber: boolean | undefined;
|
|
63
|
+
accountHolderVatIdentificationNumberIsNotRequired: boolean | undefined;
|
|
64
|
+
accountHolderVatCountry: boolean | undefined;
|
|
65
|
+
accountHolderIsIndividual: boolean | undefined;
|
|
66
|
+
accountHolderIsEuResident: boolean | undefined;
|
|
67
|
+
accountHolderUsPerson: boolean | undefined;
|
|
68
|
+
accountHolderUsAccountType: boolean | undefined;
|
|
69
|
+
accountHolderUsSmllcElection: boolean | undefined;
|
|
70
|
+
accountHolderUsLlcClassification: boolean | undefined;
|
|
71
|
+
accountHolderUsOtherClassification: boolean | undefined;
|
|
72
|
+
accountHolderUsTrustEstateEin: boolean | undefined;
|
|
73
|
+
accountHolderForeignAccountType: boolean | undefined;
|
|
74
|
+
accountHolderForeignTrustClassification: boolean | undefined;
|
|
75
|
+
accountHolderForeignOtherClassification: boolean | undefined;
|
|
76
|
+
regardedOwnerAddressCity: boolean | undefined;
|
|
77
|
+
regardedOwnerAddressCountry: boolean | undefined;
|
|
78
|
+
regardedOwnerAddressState: boolean | undefined;
|
|
79
|
+
regardedOwnerAddressStreet2: boolean | undefined;
|
|
80
|
+
regardedOwnerAddressStreet: boolean | undefined;
|
|
81
|
+
regardedOwnerAddressZip: boolean | undefined;
|
|
82
|
+
regardedOwnerCountryOfCitizenship: boolean | undefined;
|
|
83
|
+
regardedOwnerDateOfBirth: boolean | undefined;
|
|
84
|
+
regardedOwnerDbaName: boolean | undefined;
|
|
85
|
+
regardedOwnerMailingAddressCity: boolean | undefined;
|
|
86
|
+
regardedOwnerMailingAddressCountry: boolean | undefined;
|
|
87
|
+
regardedOwnerMailingAddressIsDifferent: boolean | undefined;
|
|
88
|
+
regardedOwnerMailingAddressState: boolean | undefined;
|
|
89
|
+
regardedOwnerMailingAddressStreet2: boolean | undefined;
|
|
90
|
+
regardedOwnerMailingAddressStreet: boolean | undefined;
|
|
91
|
+
regardedOwnerMailingAddressZip: boolean | undefined;
|
|
92
|
+
regardedOwnerName: boolean | undefined;
|
|
93
|
+
regardedOwnerUsAccountType: boolean | undefined;
|
|
94
|
+
regardedOwnerUsLlcClassification: boolean | undefined;
|
|
95
|
+
regardedOwnerUsOtherClassification: boolean | undefined;
|
|
96
|
+
regardedOwnerUsTrustEstateEin: boolean | undefined;
|
|
97
|
+
regardedOwnerForeignAccountType: boolean | undefined;
|
|
98
|
+
regardedOwnerForeignTrustClassification: boolean | undefined;
|
|
99
|
+
regardedOwnerForeignOtherClassification: boolean | undefined;
|
|
100
|
+
regardedOwnerForeignTin: boolean | undefined;
|
|
101
|
+
regardedOwnerForeignTinIsNotRequired: boolean | undefined;
|
|
102
|
+
regardedOwnerUsTin: boolean | undefined;
|
|
103
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { TaxDocumentation, TaxDocumentationKey } from "../types";
|
|
2
|
+
import { ErrorKey } from "../i18n/types";
|
|
3
|
+
export declare const getValidationMessages: (fields: TaxDocumentation) => {
|
|
4
|
+
exemptPayeeCode: ErrorKey | undefined;
|
|
5
|
+
exemptFatcaCode: ErrorKey | undefined;
|
|
6
|
+
iAcknowlegeESignIsOk: ErrorKey | undefined;
|
|
7
|
+
iAmACitizenOfTheUs: ErrorKey | undefined;
|
|
8
|
+
iAmExemptFromFatcaReporting: ErrorKey | undefined;
|
|
9
|
+
iAmNotSubjectToBackupWithholding: ErrorKey | undefined;
|
|
10
|
+
iAuthorizeWithholdingAgent: ErrorKey | undefined;
|
|
11
|
+
iCertifyToAll: ErrorKey | undefined;
|
|
12
|
+
iConfirmIncomeIsNonUs: ErrorKey | undefined;
|
|
13
|
+
iConfirmTheBeneficialOwnerIsExempt: ErrorKey | undefined;
|
|
14
|
+
iConfirmTheEntityIsNotAUsPerson: ErrorKey | undefined;
|
|
15
|
+
iConfirmTheEntityIsTheBeneficialOwner: ErrorKey | undefined;
|
|
16
|
+
iConfirmTheTaxIdIsCorrect: ErrorKey | undefined;
|
|
17
|
+
iHaveLegalCapacityToSign: ErrorKey | undefined;
|
|
18
|
+
regardedOwnerUsPerson: ErrorKey | undefined;
|
|
19
|
+
signature: ErrorKey | undefined;
|
|
20
|
+
accountHolderAddressCity: ErrorKey | undefined;
|
|
21
|
+
accountHolderAddressCountry: ErrorKey | undefined;
|
|
22
|
+
accountHolderAddressState: ErrorKey | undefined;
|
|
23
|
+
accountHolderAddressStreet2: ErrorKey | undefined;
|
|
24
|
+
accountHolderAddressStreet: ErrorKey | undefined;
|
|
25
|
+
accountHolderAddressZip: ErrorKey | undefined;
|
|
26
|
+
accountHolderCityOfBirth: ErrorKey | undefined;
|
|
27
|
+
accountHolderCountryOfBirth: ErrorKey | undefined;
|
|
28
|
+
accountHolderCountryOfCitizenship: ErrorKey | undefined;
|
|
29
|
+
accountHolderDateOfBirth: ErrorKey | undefined;
|
|
30
|
+
accountHolderDbaName: ErrorKey | undefined;
|
|
31
|
+
accountHolderMailingAddressCity: ErrorKey | undefined;
|
|
32
|
+
accountHolderMailingAddressCountry: ErrorKey | undefined;
|
|
33
|
+
accountHolderMailingAddressIsDifferent: ErrorKey | undefined;
|
|
34
|
+
accountHolderMailingAddressState: ErrorKey | undefined;
|
|
35
|
+
accountHolderMailingAddressStreet2: ErrorKey | undefined;
|
|
36
|
+
accountHolderMailingAddressStreet: ErrorKey | undefined;
|
|
37
|
+
accountHolderMailingAddressZip: ErrorKey | undefined;
|
|
38
|
+
accountHolderName: ErrorKey | undefined;
|
|
39
|
+
accountHolderFinancialAccountIdentifier: ErrorKey | undefined;
|
|
40
|
+
accountHolderFinancialAccountName: ErrorKey | undefined;
|
|
41
|
+
accountHolderForeignTin: ErrorKey | undefined;
|
|
42
|
+
accountHolderForeignTinIsNotRequired: ErrorKey | undefined;
|
|
43
|
+
accountHolderTaxResidenceCountry1: ErrorKey | undefined;
|
|
44
|
+
accountHolderTaxResidenceForeignTin1: ErrorKey | undefined;
|
|
45
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired: ErrorKey | undefined;
|
|
46
|
+
accountHolderTaxResidenceCountry2: ErrorKey | undefined;
|
|
47
|
+
accountHolderTaxResidenceForeignTin2: ErrorKey | undefined;
|
|
48
|
+
accountHolderTaxResidenceForeignTin2IsNotRequired: ErrorKey | undefined;
|
|
49
|
+
accountHolderTaxResidenceCountry3: ErrorKey | undefined;
|
|
50
|
+
accountHolderTaxResidenceForeignTin3: ErrorKey | undefined;
|
|
51
|
+
accountHolderTaxResidenceForeignTin3IsNotRequired: ErrorKey | undefined;
|
|
52
|
+
accountHolderTaxResidenceCountry4: ErrorKey | undefined;
|
|
53
|
+
accountHolderTaxResidenceForeignTin4: ErrorKey | undefined;
|
|
54
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired: ErrorKey | undefined;
|
|
55
|
+
accountHolderTaxResidenceCountry5: ErrorKey | undefined;
|
|
56
|
+
accountHolderTaxResidenceForeignTin5: ErrorKey | undefined;
|
|
57
|
+
accountHolderTaxResidenceForeignTin5IsNotRequired: ErrorKey | undefined;
|
|
58
|
+
accountHolderShowTaxResidence2: ErrorKey | undefined;
|
|
59
|
+
accountHolderShowTaxResidence3: ErrorKey | undefined;
|
|
60
|
+
accountHolderShowTaxResidence4: ErrorKey | undefined;
|
|
61
|
+
accountHolderShowTaxResidence5: ErrorKey | undefined;
|
|
62
|
+
accountHolderUsTin: ErrorKey | undefined;
|
|
63
|
+
accountHolderVatIdentificationNumber: ErrorKey | undefined;
|
|
64
|
+
accountHolderVatIdentificationNumberIsNotRequired: ErrorKey | undefined;
|
|
65
|
+
accountHolderVatCountry: ErrorKey | undefined;
|
|
66
|
+
accountHolderIsIndividual: ErrorKey | undefined;
|
|
67
|
+
accountHolderIsEuResident: ErrorKey | undefined;
|
|
68
|
+
accountHolderUsPerson: ErrorKey | undefined;
|
|
69
|
+
accountHolderUsAccountType: ErrorKey | undefined;
|
|
70
|
+
accountHolderUsSmllcElection: ErrorKey | undefined;
|
|
71
|
+
accountHolderUsLlcClassification: ErrorKey | undefined;
|
|
72
|
+
accountHolderUsOtherClassification: ErrorKey | undefined;
|
|
73
|
+
accountHolderUsTrustEstateEin: ErrorKey | undefined;
|
|
74
|
+
accountHolderForeignAccountType: ErrorKey | undefined;
|
|
75
|
+
accountHolderForeignTrustClassification: ErrorKey | undefined;
|
|
76
|
+
accountHolderForeignOtherClassification: ErrorKey | undefined;
|
|
77
|
+
regardedOwnerAddressCity: ErrorKey | undefined;
|
|
78
|
+
regardedOwnerAddressCountry: ErrorKey | undefined;
|
|
79
|
+
regardedOwnerAddressState: ErrorKey | undefined;
|
|
80
|
+
regardedOwnerAddressStreet2: ErrorKey | undefined;
|
|
81
|
+
regardedOwnerAddressStreet: ErrorKey | undefined;
|
|
82
|
+
regardedOwnerAddressZip: ErrorKey | undefined;
|
|
83
|
+
regardedOwnerCountryOfCitizenship: ErrorKey | undefined;
|
|
84
|
+
regardedOwnerDateOfBirth: ErrorKey | undefined;
|
|
85
|
+
regardedOwnerDbaName: ErrorKey | undefined;
|
|
86
|
+
regardedOwnerMailingAddressCity: ErrorKey | undefined;
|
|
87
|
+
regardedOwnerMailingAddressCountry: ErrorKey | undefined;
|
|
88
|
+
regardedOwnerMailingAddressIsDifferent: ErrorKey | undefined;
|
|
89
|
+
regardedOwnerMailingAddressState: ErrorKey | undefined;
|
|
90
|
+
regardedOwnerMailingAddressStreet2: ErrorKey | undefined;
|
|
91
|
+
regardedOwnerMailingAddressStreet: ErrorKey | undefined;
|
|
92
|
+
regardedOwnerMailingAddressZip: ErrorKey | undefined;
|
|
93
|
+
regardedOwnerName: ErrorKey | undefined;
|
|
94
|
+
regardedOwnerUsAccountType: ErrorKey | undefined;
|
|
95
|
+
regardedOwnerUsLlcClassification: ErrorKey | undefined;
|
|
96
|
+
regardedOwnerUsOtherClassification: ErrorKey | undefined;
|
|
97
|
+
regardedOwnerUsTrustEstateEin: ErrorKey | undefined;
|
|
98
|
+
regardedOwnerForeignAccountType: ErrorKey | undefined;
|
|
99
|
+
regardedOwnerForeignTrustClassification: ErrorKey | undefined;
|
|
100
|
+
regardedOwnerForeignOtherClassification: ErrorKey | undefined;
|
|
101
|
+
regardedOwnerForeignTin: ErrorKey | undefined;
|
|
102
|
+
regardedOwnerForeignTinIsNotRequired: ErrorKey | undefined;
|
|
103
|
+
regardedOwnerUsTin: ErrorKey | undefined;
|
|
104
|
+
};
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
export * from "./cx";
|
|
2
2
|
export * from "./date";
|
|
3
|
-
export * from "./isBlank";
|
|
4
3
|
export * from "./getFieldsState";
|
|
4
|
+
export * from "./getForeignAccountType";
|
|
5
|
+
export * from "./getForeignOtherClassification";
|
|
6
|
+
export * from "./getForeignTrustClassification";
|
|
7
|
+
export * from "./getLLCClassification.ts";
|
|
5
8
|
export * from "./getPromptKeyMap";
|
|
6
9
|
export * from "./getSupportedFields";
|
|
10
|
+
export * from "./getUsAccountType";
|
|
7
11
|
export * from "./getVisibleQuestions";
|
|
12
|
+
export * from "./isBlank";
|
|
8
13
|
export * from "./transformInbound";
|
|
9
|
-
export * from "./transformOutbound";
|
|
14
|
+
export * from "./transformOutbound/transformOutbound.ts";
|
|
15
|
+
export * from "./getMonthlyDayCount.ts";
|
package/dist/utils/isBlank.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const isBlank: (value: string | undefined) =>
|
|
2
|
-
export declare const isPresent: (value: string | undefined) =>
|
|
1
|
+
export declare const isBlank: (value: string | undefined) => value is undefined;
|
|
2
|
+
export declare const isPresent: (value: string | undefined) => value is string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { TaxDocumentation } from "types";
|
|
2
|
-
|
|
2
|
+
import { ClientTaxDocumentation } from "../types/external";
|
|
3
|
+
export declare const transformInbound: (data: ClientTaxDocumentation) => TaxDocumentation;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TaxDocumentation } from "types";
|
|
2
|
+
import { Address } from "types/external";
|
|
3
|
+
export declare const transformToOutboundAccountHolderAddress: (data: TaxDocumentation) => Address | undefined;
|
|
4
|
+
export declare const transformToOutboundRegardedOwnerAddress: (data: TaxDocumentation) => Address | undefined;
|
|
5
|
+
export declare const transformToOutboundAccountHolderMailingAddress: (data: TaxDocumentation) => Address | undefined;
|
|
6
|
+
export declare const transformToOutboundRegardedOwnerMailingAddress: (data: TaxDocumentation) => Address | undefined;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TaxDocumentation } from "types";
|
|
2
|
+
import { AccountHolderTaxDocumentation } from "types/external";
|
|
3
|
+
export declare const transformToOutboundAccountHolderTaxResidences: (data: TaxDocumentation) => AccountHolderTaxDocumentation["tax_residences"] | undefined;
|
|
4
|
+
export declare const transformToOutboundAccountHolderShowTaxResidence: (data: TaxDocumentation) => AccountHolderTaxDocumentation["show_tax_residence"] | undefined;
|