@taxbit/react-sdk 1.1.0-beta.1 → 1.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -4
- package/dist/src/contexts/QuestionnaireStep/getLocal.d.ts +4 -3
- package/dist/src/contexts/QuestionnaireStep/shiftControllingPerson.d.ts +3 -0
- package/dist/src/contexts/QuestionnaireStep/shiftResidence.d.ts +1 -1
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStep.d.ts +2 -1
- package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStepContext.d.ts +4 -2
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +5 -5
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +6 -6
- package/dist/src/hooks/useTaxbit/useTaxbit.d.ts +2 -2
- package/dist/src/hooks/useTaxbit/useTaxbitStatus.d.ts +2 -2
- package/dist/src/i18n/locales/de.d.ts +2 -2
- package/dist/src/i18n/locales/el.d.ts +2 -2
- package/dist/src/i18n/locales/ga.d.ts +1 -3
- package/dist/src/i18n/locales/lt.d.ts +2 -2
- package/dist/src/i18n/locales/pl.d.ts +2 -2
- package/dist/src/i18n/types/LocalizationKey.d.ts +6 -6
- package/dist/src/i18n/types/PropertyFile.d.ts +15 -14
- package/dist/src/index.d.ts +2 -2
- package/dist/src/lookups/activeNonFinancialEntityTypeOptions.d.ts +3 -0
- package/dist/src/lookups/controllingPersonRoleOptions.d.ts +3 -0
- package/dist/src/lookups/entityTypeOptions.d.ts +3 -0
- package/dist/src/lookups/financialInstitutionTypeOptions.d.ts +3 -0
- package/dist/src/lookups/index.d.ts +7 -0
- package/dist/src/lookups/payeeCodeOptions.d.ts +1 -1
- package/dist/src/lookups/selfCertificationAccountTypeOptions.d.ts +3 -0
- package/dist/src/lookups/signatureCapacityOptions.d.ts +3 -0
- package/dist/src/lookups/tinNotRequiredReasonOptions.d.ts +3 -0
- package/dist/src/services/api.d.ts +5 -2
- package/dist/src/services/msw.d.ts +33 -0
- package/dist/src/test/Wrapper.d.ts +2 -2
- package/dist/src/test/getWrapper.d.ts +2 -2
- package/dist/src/test/utils/helpers.d.ts +10 -0
- package/dist/src/types/InputStep.d.ts +1 -1
- package/dist/src/types/QuestionnaireProp.d.ts +1 -0
- package/dist/src/types/StepId.d.ts +1 -1
- package/dist/src/types/TaxDocumentation.d.ts +87 -50
- package/dist/src/types/client/ClientTaxDocumentationStatus.d.ts +4 -0
- package/dist/src/types/index.d.ts +1 -1
- package/dist/src/types/server/TaxDocumentationStatus.d.ts +4 -0
- package/dist/src/ui/InputValue/InputValue.d.ts +2 -1
- package/dist/src/ui/Select/Select.d.ts +0 -1
- package/dist/src/utils/getFieldsState.d.ts +7 -2
- package/dist/src/utils/getFormStatus.d.ts +2 -1
- package/dist/src/utils/getLanguage.d.ts +2 -2
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/promptKeyMapping/getAddressPromptKeyMap.d.ts +6 -0
- package/dist/src/utils/promptKeyMapping/getControllingPersonPromptKeyMap.d.ts +4 -0
- package/dist/src/utils/promptKeyMapping/getTaxResidencesPromptKeyMap.d.ts +6 -0
- package/dist/src/utils/transformForClient/transformForClient.d.ts +2 -2
- package/dist/src/utils/transformForClient/transformForClientAddress.d.ts +4 -32
- package/dist/src/utils/transformForClient/transformForClientTaxResidences.d.ts +11 -0
- package/dist/src/utils/transformForClient/transformForControllingPersons.d.ts +4 -0
- package/dist/src/utils/transformInbound/getActiveNonFinancialEntityType.d.ts +3 -0
- package/dist/src/utils/transformInbound/getCountryCode.d.ts +1 -0
- package/dist/src/utils/transformInbound/getEntityType.d.ts +3 -0
- package/dist/src/utils/transformInbound/getFinancialInstitutionType.d.ts +3 -0
- package/dist/src/utils/transformInbound/getSelfCertificationAccountType.d.ts +3 -0
- package/dist/src/utils/transformInbound/transformInbound.d.ts +2 -2
- package/dist/src/utils/transformInbound/transformInboundAddress.d.ts +6 -0
- package/dist/src/utils/transformInbound/transformInboundControllingPersons.d.ts +440 -0
- package/dist/src/utils/transformInbound/transformInboundTaxResidencies.d.ts +7 -0
- package/dist/src/validations/getSteps.d.ts +2 -2
- package/dist/src/validations/index.d.ts +5 -5
- package/dist/src/validations/invalidFields/getInvalidAddressFields.d.ts +5 -0
- package/dist/src/validations/invalidFields/getInvalidControllingPersonsFields.d.ts +3 -0
- package/dist/src/validations/invalidFields/getInvalidFields.d.ts +5 -0
- package/dist/src/validations/invalidFields/getInvalidTaxResidencyFields.d.ts +5 -0
- package/dist/src/validations/{invalidFieldRules.d.ts → invalidFields/invalidFieldRules.d.ts} +1 -1
- package/dist/src/validations/requiredFields/getRequiredAddressFields.d.ts +7 -0
- package/dist/src/validations/requiredFields/getRequiredControllingPersonFields.d.ts +4 -0
- package/dist/src/validations/requiredFields/getRequiredFields.d.ts +4 -0
- package/dist/src/validations/requiredFields/getRequiredTaxResidenceFields.d.ts +7 -0
- package/dist/src/validations/supportedFields/__tests__/generateStrings.d.ts +5 -0
- package/dist/src/validations/supportedFields/getSupportedAddressFields.d.ts +8 -0
- package/dist/src/validations/supportedFields/getSupportedControllingPersonFields.d.ts +7 -0
- package/dist/src/validations/supportedFields/getSupportedFields.d.ts +4 -0
- package/dist/src/validations/supportedFields/getSupportedTaxResidenceFields.d.ts +8 -0
- package/dist/src/validations/supportedFields/getSupportedTreatyClaimFields.d.ts +3 -0
- package/dist/src/validations/visibleFields/getVisibleAddressFields.d.ts +5 -0
- package/dist/src/validations/visibleFields/getVisibleControllingPersonFields.d.ts +4 -0
- package/dist/src/validations/visibleFields/getVisibleFields.d.ts +4 -0
- package/dist/src/validations/visibleFields/getVisibleTaxResidenceFields.d.ts +9 -0
- package/dist/src/{entry → widgets}/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +3 -3
- package/dist/src/widgets/TaxbitQuestionnairePersist/useTaxbitPersist.d.ts +2 -2
- package/dist/src/wizard/AddressInput/AddressInput.d.ts +1 -1
- package/dist/src/wizard/ControllingPersonInput/ControllingPersonInput.d.ts +11 -0
- package/dist/src/wizard/ControllingPersonInput/index.d.ts +1 -0
- package/dist/src/wizard/LanguageSelector/LanguageSelector.d.ts +2 -2
- package/dist/src/wizard/ResidenceInput/ResidenceInput.d.ts +2 -1
- package/dist/src/wizard/RowInput/AddressRow/AddressRow.d.ts +1 -1
- package/dist/src/wizard/RowInput/PercentInputRow/PercentInputRow.d.ts +9 -0
- package/dist/src/wizard/RowInput/PercentInputRow/index.d.ts +1 -0
- package/dist/src/wizard/RowInput/SelectRow/SelectRow.d.ts +2 -1
- package/dist/src/wizard/RowInput/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/ControllingPersonDetails/ControllingPersonDetails.d.ts +7 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/ControllingPersonDetails/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/AccountHolder/AccountHolderClassificationSummary.d.ts +3 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/AccountHolder/AccountHolderForeignClassificationSummary.d.ts +6 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/AccountHolder/AccountHolderSelfCertificationClassificationSummary.d.ts +6 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/AccountHolder/AccountHolderUsClassificationSummary.d.ts +6 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/ControllingPerson/ControllingPersonRoleInputValue.d.ts +7 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/ControllingPerson/ControllingPersonSummary.d.ts +7 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/ControllingPerson/ControllingPersonTypeSummary.d.ts +7 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/RegardedOwner/RegardedOwnerClassificationSummary.d.ts +3 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/RegardedOwner/RegardedOwnerForeignClassificationSummary.d.ts +6 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/RegardedOwner/RegardedOwnerUsClassificationSummary.d.ts +6 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/TaxResidency/TaxResidenciesSummary.d.ts +11 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.SelfCert.AccountClassification.test.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.SelfCert.ControllingPerson.test.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.SelfCert.NameAndAddress.test.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.SelfCert.Summary.test.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.SelfCert.TaxResidencies.test.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/steps.d.ts +1 -0
- package/dist/taxbit-react-sdk.js +7466 -4608
- package/dist/taxbit-react-sdk.umd.cjs +1 -1
- package/package.json +7 -6
- package/style/basic.css +4 -0
- package/style/inline.css +1 -0
- package/dist/src/types/Questionnaire.d.ts +0 -1
- package/dist/src/utils/transformForClient/transformForClientTaxResidenceFields.d.ts +0 -7
- package/dist/src/validations/getInvalidFields.d.ts +0 -5
- package/dist/src/validations/getRequiredFields.d.ts +0 -4
- package/dist/src/validations/getSupportedFields.d.ts +0 -7
- package/dist/src/validations/getVisibleFields.d.ts +0 -4
- /package/dist/src/utils/{getPromptKeyMap.d.ts → promptKeyMapping/getPromptKeyMap.d.ts} +0 -0
- /package/dist/src/{entry → widgets}/TaxbitQuestionnaire/index.d.ts +0 -0
|
@@ -0,0 +1,440 @@
|
|
|
1
|
+
import { ControllingPerson } from '@taxbit/utilities';
|
|
2
|
+
|
|
3
|
+
export declare const transformInboundControllingPersons: (controllingPersons: Array<ControllingPerson> | undefined) => {
|
|
4
|
+
accountHolderAddress?: string;
|
|
5
|
+
accountHolderAddressCity?: string | undefined;
|
|
6
|
+
accountHolderAddressCountry?: string | undefined;
|
|
7
|
+
accountHolderAddressState?: string | undefined;
|
|
8
|
+
accountHolderAddressStreet2?: string | undefined;
|
|
9
|
+
accountHolderAddressStreet?: string | undefined;
|
|
10
|
+
accountHolderAddressZip?: string | undefined;
|
|
11
|
+
accountHolderMailingAddress?: string;
|
|
12
|
+
accountHolderMailingAddressCity?: string | undefined;
|
|
13
|
+
accountHolderMailingAddressCountry?: string | undefined;
|
|
14
|
+
accountHolderMailingAddressState?: string | undefined;
|
|
15
|
+
accountHolderMailingAddressStreet2?: string | undefined;
|
|
16
|
+
accountHolderMailingAddressStreet?: string | undefined;
|
|
17
|
+
accountHolderMailingAddressZip?: string | undefined;
|
|
18
|
+
accountHolderCityOfBirth?: string;
|
|
19
|
+
accountHolderCountryOfBirth?: string;
|
|
20
|
+
accountHolderOptionalCityOfBirth?: string;
|
|
21
|
+
accountHolderOptionalCountryOfBirth?: string;
|
|
22
|
+
accountHolderCountryOfCitizenship?: string;
|
|
23
|
+
accountHolderDateOfBirth?: string;
|
|
24
|
+
accountHolderDbaName?: string;
|
|
25
|
+
accountHolderMailingAddressIsDifferent?: import('../../types/Yes.ts').Yes;
|
|
26
|
+
accountHolderName?: string;
|
|
27
|
+
accountHolderTaxResidences?: import('../../types/YesNo.ts').YesNo;
|
|
28
|
+
accountHolderTaxResidenceCountry1?: string | undefined;
|
|
29
|
+
accountHolderTaxResidenceCountry2?: string | undefined;
|
|
30
|
+
accountHolderTaxResidenceCountry3?: string | undefined;
|
|
31
|
+
accountHolderTaxResidenceCountry4?: string | undefined;
|
|
32
|
+
accountHolderTaxResidenceCountry5?: string | undefined;
|
|
33
|
+
accountHolderTaxResidenceTin1?: string | undefined;
|
|
34
|
+
accountHolderTaxResidenceTin2?: string | undefined;
|
|
35
|
+
accountHolderTaxResidenceTin3?: string | undefined;
|
|
36
|
+
accountHolderTaxResidenceTin4?: string | undefined;
|
|
37
|
+
accountHolderTaxResidenceTin5?: string | undefined;
|
|
38
|
+
accountHolderTaxResidenceTinIsNotRequired1?: "yes" | undefined;
|
|
39
|
+
accountHolderTaxResidenceTinIsNotRequired2?: "yes" | undefined;
|
|
40
|
+
accountHolderTaxResidenceTinIsNotRequired3?: "yes" | undefined;
|
|
41
|
+
accountHolderTaxResidenceTinIsNotRequired4?: "yes" | undefined;
|
|
42
|
+
accountHolderTaxResidenceTinIsNotRequired5?: "yes" | undefined;
|
|
43
|
+
accountHolderTaxResidenceTinIsNotRequiredReason1?: string | undefined;
|
|
44
|
+
accountHolderTaxResidenceTinIsNotRequiredReason2?: string | undefined;
|
|
45
|
+
accountHolderTaxResidenceTinIsNotRequiredReason3?: string | undefined;
|
|
46
|
+
accountHolderTaxResidenceTinIsNotRequiredReason4?: string | undefined;
|
|
47
|
+
accountHolderTaxResidenceTinIsNotRequiredReason5?: string | undefined;
|
|
48
|
+
accountHolderTaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
|
|
49
|
+
accountHolderTaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
|
|
50
|
+
accountHolderTaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
|
|
51
|
+
accountHolderTaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
|
|
52
|
+
accountHolderTaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
|
|
53
|
+
accountHolderShowTaxResidence1?: "no" | "yes" | undefined;
|
|
54
|
+
accountHolderShowTaxResidence2?: "no" | "yes" | undefined;
|
|
55
|
+
accountHolderShowTaxResidence3?: "no" | "yes" | undefined;
|
|
56
|
+
accountHolderShowTaxResidence4?: "no" | "yes" | undefined;
|
|
57
|
+
accountHolderShowTaxResidence5?: "no" | "yes" | undefined;
|
|
58
|
+
accountHolderForeignTin?: string;
|
|
59
|
+
accountHolderForeignTinIsNotRequired?: import('../../types/Yes.ts').Yes;
|
|
60
|
+
accountHolderUsTin?: string;
|
|
61
|
+
accountHolderFinancialAccountIdentifier?: string;
|
|
62
|
+
accountHolderFinancialAccountName?: string;
|
|
63
|
+
accountHolderVatIdentificationNumber?: string;
|
|
64
|
+
accountHolderVatIsNotRequired?: import('../../types/Yes.ts').Yes;
|
|
65
|
+
accountHolderVatCountry?: string;
|
|
66
|
+
accountHolderBusinessRegistrationNumber?: string;
|
|
67
|
+
accountHolderBusinessRegistrationCountry?: string;
|
|
68
|
+
accountHolderSelfCertificationAccountType?: import('@taxbit/utilities').SelfCertificationAccountType;
|
|
69
|
+
accountHolderActiveNonFinancialEntityType?: import('@taxbit/utilities').ActiveNonFinancialEntityType;
|
|
70
|
+
accountHolderFinancialInstitutionType?: import('@taxbit/utilities').FinancialInstitutionType;
|
|
71
|
+
accountHolderInvestmentEntityManaged?: import('../../types/YesNo.ts').YesNo;
|
|
72
|
+
accountHolderEntityType?: import('@taxbit/utilities').EntityType;
|
|
73
|
+
accountHolderSecuritiesMarket?: string;
|
|
74
|
+
accountHolderRelatedCorporation?: string;
|
|
75
|
+
accountHolderIsIndividual?: import('../../types/YesNo.ts').YesNo;
|
|
76
|
+
accountHolderUsPerson?: import('../../types/YesNo.ts').YesNo;
|
|
77
|
+
accountHolderUsAccountType?: import('@taxbit/utilities').UsAccountHolderAccountType;
|
|
78
|
+
accountHolderUsSmllcElection?: import('../../types/YesNo.ts').YesNo;
|
|
79
|
+
accountHolderUsLlcClassification?: import('@taxbit/utilities').UsLLCAccountType;
|
|
80
|
+
accountHolderUsOtherClassification?: string;
|
|
81
|
+
accountHolderUsTrustEstateEin?: import('../../types/YesNo.ts').YesNo;
|
|
82
|
+
accountHolderUsSoleProprietorEin?: import('../../types/YesNo.ts').YesNo;
|
|
83
|
+
accountHolderForeignAccountType?: import('@taxbit/utilities').ForeignAccountHolderAccountType;
|
|
84
|
+
accountHolderForeignTrustClassification?: import('@taxbit/utilities').ForeignTrustClassification;
|
|
85
|
+
accountHolderForeignOtherClassification?: import('@taxbit/utilities').ForeignOtherClassification;
|
|
86
|
+
regardedOwnerCountryOfCitizenship?: string;
|
|
87
|
+
regardedOwnerDateOfBirth?: string;
|
|
88
|
+
regardedOwnerDbaName?: string;
|
|
89
|
+
regardedOwnerMailingAddressIsDifferent?: import('../../types/Yes.ts').Yes;
|
|
90
|
+
regardedOwnerName?: string;
|
|
91
|
+
regardedOwnerAddress?: string;
|
|
92
|
+
regardedOwnerAddressCity?: string | undefined;
|
|
93
|
+
regardedOwnerAddressCountry?: string | undefined;
|
|
94
|
+
regardedOwnerAddressState?: string | undefined;
|
|
95
|
+
regardedOwnerAddressStreet2?: string | undefined;
|
|
96
|
+
regardedOwnerAddressStreet?: string | undefined;
|
|
97
|
+
regardedOwnerAddressZip?: string | undefined;
|
|
98
|
+
regardedOwnerMailingAddress?: string;
|
|
99
|
+
regardedOwnerMailingAddressCity?: string | undefined;
|
|
100
|
+
regardedOwnerMailingAddressCountry?: string | undefined;
|
|
101
|
+
regardedOwnerMailingAddressState?: string | undefined;
|
|
102
|
+
regardedOwnerMailingAddressStreet2?: string | undefined;
|
|
103
|
+
regardedOwnerMailingAddressStreet?: string | undefined;
|
|
104
|
+
regardedOwnerMailingAddressZip?: string | undefined;
|
|
105
|
+
regardedOwnerUsPerson?: import('../../types/YesNo.ts').YesNo;
|
|
106
|
+
regardedOwnerUsAccountType?: import('@taxbit/utilities').UsRegardedOwnerAccountType;
|
|
107
|
+
regardedOwnerUsLlcClassification?: import('@taxbit/utilities').UsLLCAccountType;
|
|
108
|
+
regardedOwnerUsOtherClassification?: string;
|
|
109
|
+
regardedOwnerForeignAccountType?: import('@taxbit/utilities').ForeignRegardedOwnerAccountType;
|
|
110
|
+
regardedOwnerForeignTrustClassification?: import('@taxbit/utilities').ForeignTrustClassification;
|
|
111
|
+
regardedOwnerForeignOtherClassification?: import('@taxbit/utilities').ForeignOtherClassification;
|
|
112
|
+
regardedOwnerForeignTin?: string;
|
|
113
|
+
regardedOwnerForeignTinIsNotRequired?: import('../../types/Yes.ts').Yes;
|
|
114
|
+
regardedOwnerUsTin?: string;
|
|
115
|
+
exemptFatcaCode?: string;
|
|
116
|
+
exemptPayeeCode?: string;
|
|
117
|
+
iAcknowledgeESignIsOk?: import('../../types/Yes.ts').Yes;
|
|
118
|
+
iAmACitizenOfTheUs?: import('../../types/Yes.ts').Yes;
|
|
119
|
+
iAmExemptFromFatcaReporting?: import('../../types/Yes.ts').Yes;
|
|
120
|
+
iAmNotSubjectToBackupWithholding?: import('../../types/Yes.ts').Yes;
|
|
121
|
+
iAuthorizeWithholdingAgent?: import('../../types/Yes.ts').Yes;
|
|
122
|
+
iCertifyToAll?: import('../../types/Yes.ts').Yes;
|
|
123
|
+
iConfirmIncomeIsNonUs?: import('../../types/Yes.ts').Yes;
|
|
124
|
+
iConfirmTheBeneficialOwnerIsExempt?: import('../../types/Yes.ts').Yes;
|
|
125
|
+
iConfirmNotAUsPerson?: import('../../types/Yes.ts').Yes;
|
|
126
|
+
iConfirmTheBeneficialOwner?: import('../../types/Yes.ts').Yes;
|
|
127
|
+
iConfirmTheIndividualIsResidentOfTreatyCountry?: import('../../types/Yes.ts').Yes;
|
|
128
|
+
iConfirmTheInformationIsCorrectComplete?: import('../../types/Yes.ts').Yes;
|
|
129
|
+
iConfirmTheTaxIdIsCorrect?: import('../../types/Yes.ts').Yes;
|
|
130
|
+
iHaveCapacityToSign?: import('../../types/Yes.ts').Yes;
|
|
131
|
+
iWillResubmitIfIncorrect?: import('../../types/Yes.ts').Yes;
|
|
132
|
+
iUnderstandTheInformationIsCovered?: import('../../types/Yes.ts').Yes;
|
|
133
|
+
iAcknowledgeTheInformationMayBeProvided?: import('../../types/Yes.ts').Yes;
|
|
134
|
+
iCertifyIAmAccountHolder?: import('../../types/Yes.ts').Yes;
|
|
135
|
+
iCertifyIWillNotifyPersons?: import('../../types/Yes.ts').Yes;
|
|
136
|
+
iDeclareStatementsAreCorrect?: import('../../types/Yes.ts').Yes;
|
|
137
|
+
iWillNotifyChangeInCircumstance?: import('../../types/Yes.ts').Yes;
|
|
138
|
+
signature?: string;
|
|
139
|
+
signatureCapacity?: string;
|
|
140
|
+
signatureCapacityOther?: string;
|
|
141
|
+
source?: string;
|
|
142
|
+
accountHolderTreatyClaimIsEligible?: import('../../types/YesNo.ts').YesNo;
|
|
143
|
+
accountHolderTreatyClaimCountry?: string;
|
|
144
|
+
accountHolderTreatyClaimICertifyResident?: import('../../types/Yes.ts').Yes;
|
|
145
|
+
accountHolderTreatyClaimICertifyRequirements?: import('../../types/Yes.ts').Yes;
|
|
146
|
+
accountHolderTreatyClaimLimitationOnBenefits?: string;
|
|
147
|
+
accountHolderTreatyClaimLimitationOnBenefitsOtherArticleParagraph?: string;
|
|
148
|
+
accountHolderTreatyClaimTypeOfIncome?: string;
|
|
149
|
+
accountHolderTreatyClaimWithholding?: string;
|
|
150
|
+
accountHolderTreatyClaimHasAdditionalConditions?: import('../../types/Yes.ts').Yes;
|
|
151
|
+
regardedOwnerTreatyClaimIsEligible?: import('../../types/YesNo.ts').YesNo;
|
|
152
|
+
regardedOwnerTreatyClaimCountry?: string;
|
|
153
|
+
regardedOwnerTreatyClaimICertifyResident?: import('../../types/Yes.ts').Yes;
|
|
154
|
+
regardedOwnerTreatyClaimICertifyRequirements?: import('../../types/Yes.ts').Yes;
|
|
155
|
+
regardedOwnerTreatyClaimLimitationOnBenefits?: string;
|
|
156
|
+
regardedOwnerTreatyClaimLimitationOnBenefitsOtherArticleParagraph?: string;
|
|
157
|
+
regardedOwnerTreatyClaimTypeOfIncome?: string;
|
|
158
|
+
regardedOwnerTreatyClaimWithholding?: string;
|
|
159
|
+
regardedOwnerTreatyClaimHasAdditionalConditions?: import('../../types/Yes.ts').Yes;
|
|
160
|
+
controllingPerson1TaxResidences?: "no" | "yes" | undefined;
|
|
161
|
+
controllingPerson2TaxResidences?: "no" | "yes" | undefined;
|
|
162
|
+
controllingPerson3TaxResidences?: "no" | "yes" | undefined;
|
|
163
|
+
controllingPerson4TaxResidences?: "no" | "yes" | undefined;
|
|
164
|
+
controllingPerson5TaxResidences?: "no" | "yes" | undefined;
|
|
165
|
+
controllingPerson1TaxResidenceCountry1?: string | undefined;
|
|
166
|
+
controllingPerson2TaxResidenceCountry1?: string | undefined;
|
|
167
|
+
controllingPerson3TaxResidenceCountry1?: string | undefined;
|
|
168
|
+
controllingPerson4TaxResidenceCountry1?: string | undefined;
|
|
169
|
+
controllingPerson5TaxResidenceCountry1?: string | undefined;
|
|
170
|
+
controllingPerson1TaxResidenceCountry2?: string | undefined;
|
|
171
|
+
controllingPerson2TaxResidenceCountry2?: string | undefined;
|
|
172
|
+
controllingPerson3TaxResidenceCountry2?: string | undefined;
|
|
173
|
+
controllingPerson4TaxResidenceCountry2?: string | undefined;
|
|
174
|
+
controllingPerson5TaxResidenceCountry2?: string | undefined;
|
|
175
|
+
controllingPerson1TaxResidenceCountry3?: string | undefined;
|
|
176
|
+
controllingPerson2TaxResidenceCountry3?: string | undefined;
|
|
177
|
+
controllingPerson3TaxResidenceCountry3?: string | undefined;
|
|
178
|
+
controllingPerson4TaxResidenceCountry3?: string | undefined;
|
|
179
|
+
controllingPerson5TaxResidenceCountry3?: string | undefined;
|
|
180
|
+
controllingPerson1TaxResidenceCountry4?: string | undefined;
|
|
181
|
+
controllingPerson2TaxResidenceCountry4?: string | undefined;
|
|
182
|
+
controllingPerson3TaxResidenceCountry4?: string | undefined;
|
|
183
|
+
controllingPerson4TaxResidenceCountry4?: string | undefined;
|
|
184
|
+
controllingPerson5TaxResidenceCountry4?: string | undefined;
|
|
185
|
+
controllingPerson1TaxResidenceCountry5?: string | undefined;
|
|
186
|
+
controllingPerson2TaxResidenceCountry5?: string | undefined;
|
|
187
|
+
controllingPerson3TaxResidenceCountry5?: string | undefined;
|
|
188
|
+
controllingPerson4TaxResidenceCountry5?: string | undefined;
|
|
189
|
+
controllingPerson5TaxResidenceCountry5?: string | undefined;
|
|
190
|
+
controllingPerson1TaxResidenceTin1?: string | undefined;
|
|
191
|
+
controllingPerson2TaxResidenceTin1?: string | undefined;
|
|
192
|
+
controllingPerson3TaxResidenceTin1?: string | undefined;
|
|
193
|
+
controllingPerson4TaxResidenceTin1?: string | undefined;
|
|
194
|
+
controllingPerson5TaxResidenceTin1?: string | undefined;
|
|
195
|
+
controllingPerson1TaxResidenceTin2?: string | undefined;
|
|
196
|
+
controllingPerson2TaxResidenceTin2?: string | undefined;
|
|
197
|
+
controllingPerson3TaxResidenceTin2?: string | undefined;
|
|
198
|
+
controllingPerson4TaxResidenceTin2?: string | undefined;
|
|
199
|
+
controllingPerson5TaxResidenceTin2?: string | undefined;
|
|
200
|
+
controllingPerson1TaxResidenceTin3?: string | undefined;
|
|
201
|
+
controllingPerson2TaxResidenceTin3?: string | undefined;
|
|
202
|
+
controllingPerson3TaxResidenceTin3?: string | undefined;
|
|
203
|
+
controllingPerson4TaxResidenceTin3?: string | undefined;
|
|
204
|
+
controllingPerson5TaxResidenceTin3?: string | undefined;
|
|
205
|
+
controllingPerson1TaxResidenceTin4?: string | undefined;
|
|
206
|
+
controllingPerson2TaxResidenceTin4?: string | undefined;
|
|
207
|
+
controllingPerson3TaxResidenceTin4?: string | undefined;
|
|
208
|
+
controllingPerson4TaxResidenceTin4?: string | undefined;
|
|
209
|
+
controllingPerson5TaxResidenceTin4?: string | undefined;
|
|
210
|
+
controllingPerson1TaxResidenceTin5?: string | undefined;
|
|
211
|
+
controllingPerson2TaxResidenceTin5?: string | undefined;
|
|
212
|
+
controllingPerson3TaxResidenceTin5?: string | undefined;
|
|
213
|
+
controllingPerson4TaxResidenceTin5?: string | undefined;
|
|
214
|
+
controllingPerson5TaxResidenceTin5?: string | undefined;
|
|
215
|
+
controllingPerson1TaxResidenceTinIsNotRequired1?: "yes" | undefined;
|
|
216
|
+
controllingPerson2TaxResidenceTinIsNotRequired1?: "yes" | undefined;
|
|
217
|
+
controllingPerson3TaxResidenceTinIsNotRequired1?: "yes" | undefined;
|
|
218
|
+
controllingPerson4TaxResidenceTinIsNotRequired1?: "yes" | undefined;
|
|
219
|
+
controllingPerson5TaxResidenceTinIsNotRequired1?: "yes" | undefined;
|
|
220
|
+
controllingPerson1TaxResidenceTinIsNotRequired2?: "yes" | undefined;
|
|
221
|
+
controllingPerson2TaxResidenceTinIsNotRequired2?: "yes" | undefined;
|
|
222
|
+
controllingPerson3TaxResidenceTinIsNotRequired2?: "yes" | undefined;
|
|
223
|
+
controllingPerson4TaxResidenceTinIsNotRequired2?: "yes" | undefined;
|
|
224
|
+
controllingPerson5TaxResidenceTinIsNotRequired2?: "yes" | undefined;
|
|
225
|
+
controllingPerson1TaxResidenceTinIsNotRequired3?: "yes" | undefined;
|
|
226
|
+
controllingPerson2TaxResidenceTinIsNotRequired3?: "yes" | undefined;
|
|
227
|
+
controllingPerson3TaxResidenceTinIsNotRequired3?: "yes" | undefined;
|
|
228
|
+
controllingPerson4TaxResidenceTinIsNotRequired3?: "yes" | undefined;
|
|
229
|
+
controllingPerson5TaxResidenceTinIsNotRequired3?: "yes" | undefined;
|
|
230
|
+
controllingPerson1TaxResidenceTinIsNotRequired4?: "yes" | undefined;
|
|
231
|
+
controllingPerson2TaxResidenceTinIsNotRequired4?: "yes" | undefined;
|
|
232
|
+
controllingPerson3TaxResidenceTinIsNotRequired4?: "yes" | undefined;
|
|
233
|
+
controllingPerson4TaxResidenceTinIsNotRequired4?: "yes" | undefined;
|
|
234
|
+
controllingPerson5TaxResidenceTinIsNotRequired4?: "yes" | undefined;
|
|
235
|
+
controllingPerson1TaxResidenceTinIsNotRequired5?: "yes" | undefined;
|
|
236
|
+
controllingPerson2TaxResidenceTinIsNotRequired5?: "yes" | undefined;
|
|
237
|
+
controllingPerson3TaxResidenceTinIsNotRequired5?: "yes" | undefined;
|
|
238
|
+
controllingPerson4TaxResidenceTinIsNotRequired5?: "yes" | undefined;
|
|
239
|
+
controllingPerson5TaxResidenceTinIsNotRequired5?: "yes" | undefined;
|
|
240
|
+
controllingPerson1TaxResidenceTinIsNotRequiredReason1?: string | undefined;
|
|
241
|
+
controllingPerson2TaxResidenceTinIsNotRequiredReason1?: string | undefined;
|
|
242
|
+
controllingPerson3TaxResidenceTinIsNotRequiredReason1?: string | undefined;
|
|
243
|
+
controllingPerson4TaxResidenceTinIsNotRequiredReason1?: string | undefined;
|
|
244
|
+
controllingPerson5TaxResidenceTinIsNotRequiredReason1?: string | undefined;
|
|
245
|
+
controllingPerson1TaxResidenceTinIsNotRequiredReason2?: string | undefined;
|
|
246
|
+
controllingPerson2TaxResidenceTinIsNotRequiredReason2?: string | undefined;
|
|
247
|
+
controllingPerson3TaxResidenceTinIsNotRequiredReason2?: string | undefined;
|
|
248
|
+
controllingPerson4TaxResidenceTinIsNotRequiredReason2?: string | undefined;
|
|
249
|
+
controllingPerson5TaxResidenceTinIsNotRequiredReason2?: string | undefined;
|
|
250
|
+
controllingPerson1TaxResidenceTinIsNotRequiredReason3?: string | undefined;
|
|
251
|
+
controllingPerson2TaxResidenceTinIsNotRequiredReason3?: string | undefined;
|
|
252
|
+
controllingPerson3TaxResidenceTinIsNotRequiredReason3?: string | undefined;
|
|
253
|
+
controllingPerson4TaxResidenceTinIsNotRequiredReason3?: string | undefined;
|
|
254
|
+
controllingPerson5TaxResidenceTinIsNotRequiredReason3?: string | undefined;
|
|
255
|
+
controllingPerson1TaxResidenceTinIsNotRequiredReason4?: string | undefined;
|
|
256
|
+
controllingPerson2TaxResidenceTinIsNotRequiredReason4?: string | undefined;
|
|
257
|
+
controllingPerson3TaxResidenceTinIsNotRequiredReason4?: string | undefined;
|
|
258
|
+
controllingPerson4TaxResidenceTinIsNotRequiredReason4?: string | undefined;
|
|
259
|
+
controllingPerson5TaxResidenceTinIsNotRequiredReason4?: string | undefined;
|
|
260
|
+
controllingPerson1TaxResidenceTinIsNotRequiredReason5?: string | undefined;
|
|
261
|
+
controllingPerson2TaxResidenceTinIsNotRequiredReason5?: string | undefined;
|
|
262
|
+
controllingPerson3TaxResidenceTinIsNotRequiredReason5?: string | undefined;
|
|
263
|
+
controllingPerson4TaxResidenceTinIsNotRequiredReason5?: string | undefined;
|
|
264
|
+
controllingPerson5TaxResidenceTinIsNotRequiredReason5?: string | undefined;
|
|
265
|
+
controllingPerson1TaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
|
|
266
|
+
controllingPerson2TaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
|
|
267
|
+
controllingPerson3TaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
|
|
268
|
+
controllingPerson4TaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
|
|
269
|
+
controllingPerson5TaxResidenceTinIsNotRequiredReasonOther1?: string | undefined;
|
|
270
|
+
controllingPerson1TaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
|
|
271
|
+
controllingPerson2TaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
|
|
272
|
+
controllingPerson3TaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
|
|
273
|
+
controllingPerson4TaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
|
|
274
|
+
controllingPerson5TaxResidenceTinIsNotRequiredReasonOther2?: string | undefined;
|
|
275
|
+
controllingPerson1TaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
|
|
276
|
+
controllingPerson2TaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
|
|
277
|
+
controllingPerson3TaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
|
|
278
|
+
controllingPerson4TaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
|
|
279
|
+
controllingPerson5TaxResidenceTinIsNotRequiredReasonOther3?: string | undefined;
|
|
280
|
+
controllingPerson1TaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
|
|
281
|
+
controllingPerson2TaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
|
|
282
|
+
controllingPerson3TaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
|
|
283
|
+
controllingPerson4TaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
|
|
284
|
+
controllingPerson5TaxResidenceTinIsNotRequiredReasonOther4?: string | undefined;
|
|
285
|
+
controllingPerson1TaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
|
|
286
|
+
controllingPerson2TaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
|
|
287
|
+
controllingPerson3TaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
|
|
288
|
+
controllingPerson4TaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
|
|
289
|
+
controllingPerson5TaxResidenceTinIsNotRequiredReasonOther5?: string | undefined;
|
|
290
|
+
controllingPerson1ShowTaxResidence1?: "no" | "yes" | undefined;
|
|
291
|
+
controllingPerson2ShowTaxResidence1?: "no" | "yes" | undefined;
|
|
292
|
+
controllingPerson3ShowTaxResidence1?: "no" | "yes" | undefined;
|
|
293
|
+
controllingPerson4ShowTaxResidence1?: "no" | "yes" | undefined;
|
|
294
|
+
controllingPerson5ShowTaxResidence1?: "no" | "yes" | undefined;
|
|
295
|
+
controllingPerson1ShowTaxResidence2?: "no" | "yes" | undefined;
|
|
296
|
+
controllingPerson2ShowTaxResidence2?: "no" | "yes" | undefined;
|
|
297
|
+
controllingPerson3ShowTaxResidence2?: "no" | "yes" | undefined;
|
|
298
|
+
controllingPerson4ShowTaxResidence2?: "no" | "yes" | undefined;
|
|
299
|
+
controllingPerson5ShowTaxResidence2?: "no" | "yes" | undefined;
|
|
300
|
+
controllingPerson1ShowTaxResidence3?: "no" | "yes" | undefined;
|
|
301
|
+
controllingPerson2ShowTaxResidence3?: "no" | "yes" | undefined;
|
|
302
|
+
controllingPerson3ShowTaxResidence3?: "no" | "yes" | undefined;
|
|
303
|
+
controllingPerson4ShowTaxResidence3?: "no" | "yes" | undefined;
|
|
304
|
+
controllingPerson5ShowTaxResidence3?: "no" | "yes" | undefined;
|
|
305
|
+
controllingPerson1ShowTaxResidence4?: "no" | "yes" | undefined;
|
|
306
|
+
controllingPerson2ShowTaxResidence4?: "no" | "yes" | undefined;
|
|
307
|
+
controllingPerson3ShowTaxResidence4?: "no" | "yes" | undefined;
|
|
308
|
+
controllingPerson4ShowTaxResidence4?: "no" | "yes" | undefined;
|
|
309
|
+
controllingPerson5ShowTaxResidence4?: "no" | "yes" | undefined;
|
|
310
|
+
controllingPerson1ShowTaxResidence5?: "no" | "yes" | undefined;
|
|
311
|
+
controllingPerson2ShowTaxResidence5?: "no" | "yes" | undefined;
|
|
312
|
+
controllingPerson3ShowTaxResidence5?: "no" | "yes" | undefined;
|
|
313
|
+
controllingPerson4ShowTaxResidence5?: "no" | "yes" | undefined;
|
|
314
|
+
controllingPerson5ShowTaxResidence5?: "no" | "yes" | undefined;
|
|
315
|
+
controllingPerson1ShowFields?: "yes" | undefined;
|
|
316
|
+
controllingPerson2ShowFields?: "yes" | undefined;
|
|
317
|
+
controllingPerson3ShowFields?: "yes" | undefined;
|
|
318
|
+
controllingPerson4ShowFields?: "yes" | undefined;
|
|
319
|
+
controllingPerson5ShowFields?: "yes" | undefined;
|
|
320
|
+
controllingPerson1Name?: string | undefined;
|
|
321
|
+
controllingPerson2Name?: string | undefined;
|
|
322
|
+
controllingPerson3Name?: string | undefined;
|
|
323
|
+
controllingPerson4Name?: string | undefined;
|
|
324
|
+
controllingPerson5Name?: string | undefined;
|
|
325
|
+
controllingPerson1Role?: string | undefined;
|
|
326
|
+
controllingPerson2Role?: string | undefined;
|
|
327
|
+
controllingPerson3Role?: string | undefined;
|
|
328
|
+
controllingPerson4Role?: string | undefined;
|
|
329
|
+
controllingPerson5Role?: string | undefined;
|
|
330
|
+
controllingPerson1RoleOther?: string | undefined;
|
|
331
|
+
controllingPerson2RoleOther?: string | undefined;
|
|
332
|
+
controllingPerson3RoleOther?: string | undefined;
|
|
333
|
+
controllingPerson4RoleOther?: string | undefined;
|
|
334
|
+
controllingPerson5RoleOther?: string | undefined;
|
|
335
|
+
controllingPerson1RoleOtherEquivalent?: string | undefined;
|
|
336
|
+
controllingPerson2RoleOtherEquivalent?: string | undefined;
|
|
337
|
+
controllingPerson3RoleOtherEquivalent?: string | undefined;
|
|
338
|
+
controllingPerson4RoleOtherEquivalent?: string | undefined;
|
|
339
|
+
controllingPerson5RoleOtherEquivalent?: string | undefined;
|
|
340
|
+
controllingPerson1OwnershipPercentage?: string | undefined;
|
|
341
|
+
controllingPerson2OwnershipPercentage?: string | undefined;
|
|
342
|
+
controllingPerson3OwnershipPercentage?: string | undefined;
|
|
343
|
+
controllingPerson4OwnershipPercentage?: string | undefined;
|
|
344
|
+
controllingPerson5OwnershipPercentage?: string | undefined;
|
|
345
|
+
controllingPerson1DateOfBirth?: string | undefined;
|
|
346
|
+
controllingPerson2DateOfBirth?: string | undefined;
|
|
347
|
+
controllingPerson3DateOfBirth?: string | undefined;
|
|
348
|
+
controllingPerson4DateOfBirth?: string | undefined;
|
|
349
|
+
controllingPerson5DateOfBirth?: string | undefined;
|
|
350
|
+
controllingPerson1CityOfBirth?: string | undefined;
|
|
351
|
+
controllingPerson2CityOfBirth?: string | undefined;
|
|
352
|
+
controllingPerson3CityOfBirth?: string | undefined;
|
|
353
|
+
controllingPerson4CityOfBirth?: string | undefined;
|
|
354
|
+
controllingPerson5CityOfBirth?: string | undefined;
|
|
355
|
+
controllingPerson1CountryOfBirth?: string | undefined;
|
|
356
|
+
controllingPerson2CountryOfBirth?: string | undefined;
|
|
357
|
+
controllingPerson3CountryOfBirth?: string | undefined;
|
|
358
|
+
controllingPerson4CountryOfBirth?: string | undefined;
|
|
359
|
+
controllingPerson5CountryOfBirth?: string | undefined;
|
|
360
|
+
controllingPerson1CountryOfCitizenship?: string | undefined;
|
|
361
|
+
controllingPerson2CountryOfCitizenship?: string | undefined;
|
|
362
|
+
controllingPerson3CountryOfCitizenship?: string | undefined;
|
|
363
|
+
controllingPerson4CountryOfCitizenship?: string | undefined;
|
|
364
|
+
controllingPerson5CountryOfCitizenship?: string | undefined;
|
|
365
|
+
controllingPerson1MailingAddressIsDifferent?: "yes" | undefined;
|
|
366
|
+
controllingPerson2MailingAddressIsDifferent?: "yes" | undefined;
|
|
367
|
+
controllingPerson3MailingAddressIsDifferent?: "yes" | undefined;
|
|
368
|
+
controllingPerson4MailingAddressIsDifferent?: "yes" | undefined;
|
|
369
|
+
controllingPerson5MailingAddressIsDifferent?: "yes" | undefined;
|
|
370
|
+
controllingPerson1Address?: string | undefined;
|
|
371
|
+
controllingPerson2Address?: string | undefined;
|
|
372
|
+
controllingPerson3Address?: string | undefined;
|
|
373
|
+
controllingPerson4Address?: string | undefined;
|
|
374
|
+
controllingPerson5Address?: string | undefined;
|
|
375
|
+
controllingPerson1AddressCity?: string | undefined;
|
|
376
|
+
controllingPerson2AddressCity?: string | undefined;
|
|
377
|
+
controllingPerson3AddressCity?: string | undefined;
|
|
378
|
+
controllingPerson4AddressCity?: string | undefined;
|
|
379
|
+
controllingPerson5AddressCity?: string | undefined;
|
|
380
|
+
controllingPerson1AddressCountry?: string | undefined;
|
|
381
|
+
controllingPerson2AddressCountry?: string | undefined;
|
|
382
|
+
controllingPerson3AddressCountry?: string | undefined;
|
|
383
|
+
controllingPerson4AddressCountry?: string | undefined;
|
|
384
|
+
controllingPerson5AddressCountry?: string | undefined;
|
|
385
|
+
controllingPerson1AddressState?: string | undefined;
|
|
386
|
+
controllingPerson2AddressState?: string | undefined;
|
|
387
|
+
controllingPerson3AddressState?: string | undefined;
|
|
388
|
+
controllingPerson4AddressState?: string | undefined;
|
|
389
|
+
controllingPerson5AddressState?: string | undefined;
|
|
390
|
+
controllingPerson1AddressStreet2?: string | undefined;
|
|
391
|
+
controllingPerson2AddressStreet2?: string | undefined;
|
|
392
|
+
controllingPerson3AddressStreet2?: string | undefined;
|
|
393
|
+
controllingPerson4AddressStreet2?: string | undefined;
|
|
394
|
+
controllingPerson5AddressStreet2?: string | undefined;
|
|
395
|
+
controllingPerson1AddressStreet?: string | undefined;
|
|
396
|
+
controllingPerson2AddressStreet?: string | undefined;
|
|
397
|
+
controllingPerson3AddressStreet?: string | undefined;
|
|
398
|
+
controllingPerson4AddressStreet?: string | undefined;
|
|
399
|
+
controllingPerson5AddressStreet?: string | undefined;
|
|
400
|
+
controllingPerson1AddressZip?: string | undefined;
|
|
401
|
+
controllingPerson2AddressZip?: string | undefined;
|
|
402
|
+
controllingPerson3AddressZip?: string | undefined;
|
|
403
|
+
controllingPerson4AddressZip?: string | undefined;
|
|
404
|
+
controllingPerson5AddressZip?: string | undefined;
|
|
405
|
+
controllingPerson1MailingAddress?: string | undefined;
|
|
406
|
+
controllingPerson2MailingAddress?: string | undefined;
|
|
407
|
+
controllingPerson3MailingAddress?: string | undefined;
|
|
408
|
+
controllingPerson4MailingAddress?: string | undefined;
|
|
409
|
+
controllingPerson5MailingAddress?: string | undefined;
|
|
410
|
+
controllingPerson1MailingAddressCity?: string | undefined;
|
|
411
|
+
controllingPerson2MailingAddressCity?: string | undefined;
|
|
412
|
+
controllingPerson3MailingAddressCity?: string | undefined;
|
|
413
|
+
controllingPerson4MailingAddressCity?: string | undefined;
|
|
414
|
+
controllingPerson5MailingAddressCity?: string | undefined;
|
|
415
|
+
controllingPerson1MailingAddressCountry?: string | undefined;
|
|
416
|
+
controllingPerson2MailingAddressCountry?: string | undefined;
|
|
417
|
+
controllingPerson3MailingAddressCountry?: string | undefined;
|
|
418
|
+
controllingPerson4MailingAddressCountry?: string | undefined;
|
|
419
|
+
controllingPerson5MailingAddressCountry?: string | undefined;
|
|
420
|
+
controllingPerson1MailingAddressState?: string | undefined;
|
|
421
|
+
controllingPerson2MailingAddressState?: string | undefined;
|
|
422
|
+
controllingPerson3MailingAddressState?: string | undefined;
|
|
423
|
+
controllingPerson4MailingAddressState?: string | undefined;
|
|
424
|
+
controllingPerson5MailingAddressState?: string | undefined;
|
|
425
|
+
controllingPerson1MailingAddressStreet2?: string | undefined;
|
|
426
|
+
controllingPerson2MailingAddressStreet2?: string | undefined;
|
|
427
|
+
controllingPerson3MailingAddressStreet2?: string | undefined;
|
|
428
|
+
controllingPerson4MailingAddressStreet2?: string | undefined;
|
|
429
|
+
controllingPerson5MailingAddressStreet2?: string | undefined;
|
|
430
|
+
controllingPerson1MailingAddressStreet?: string | undefined;
|
|
431
|
+
controllingPerson2MailingAddressStreet?: string | undefined;
|
|
432
|
+
controllingPerson3MailingAddressStreet?: string | undefined;
|
|
433
|
+
controllingPerson4MailingAddressStreet?: string | undefined;
|
|
434
|
+
controllingPerson5MailingAddressStreet?: string | undefined;
|
|
435
|
+
controllingPerson1MailingAddressZip?: string | undefined;
|
|
436
|
+
controllingPerson2MailingAddressZip?: string | undefined;
|
|
437
|
+
controllingPerson3MailingAddressZip?: string | undefined;
|
|
438
|
+
controllingPerson4MailingAddressZip?: string | undefined;
|
|
439
|
+
controllingPerson5MailingAddressZip?: string | undefined;
|
|
440
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ClientTaxResidence } from '@taxbit/utilities';
|
|
2
|
+
|
|
3
|
+
type Prefix = 'accountHolder' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5';
|
|
4
|
+
export declare const transformInboundTaxResidencies: (taxResidences: Array<ClientTaxResidence> | undefined, prefix: Prefix) => {
|
|
5
|
+
[x: string]: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TaxDocumentation } from '../types';
|
|
1
|
+
import { QuestionnaireProp, TaxDocumentation } from '../types';
|
|
2
2
|
|
|
3
|
-
export declare const getSteps: (data: TaxDocumentation, treatyClaims
|
|
3
|
+
export declare const getSteps: (data: TaxDocumentation, treatyClaims: boolean | undefined, questionnaire: QuestionnaireProp) => ("AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "AccountHolderTreatyClaims" | "ControllingPersonDetails1" | "ControllingPersonDetails2" | "ControllingPersonDetails3" | "ControllingPersonDetails4" | "ControllingPersonDetails5" | "Exemptions" | "RegardedOwnerContact" | "RegardedOwnerTax" | "RegardedOwnerTreatyClaims" | "Summary" | "W8imyInstructions")[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './getInvalidFields';
|
|
2
|
-
export * from './getRequiredFields';
|
|
3
1
|
export * from './getSteps';
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
2
|
+
export * from './invalidFields/getInvalidFields.ts';
|
|
3
|
+
export * from './invalidFields/invalidFieldRules.ts';
|
|
4
|
+
export * from './requiredFields/getRequiredFields.ts';
|
|
5
|
+
export * from './supportedFields/getSupportedFields.ts';
|
|
6
|
+
export * from './visibleFields/getVisibleFields.ts';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FormUIValidations } from './invalidFieldRules.ts';
|
|
2
|
+
|
|
3
|
+
type Prefix = 'accountHolder' | 'accountHolderMailing' | 'regardedOwner' | 'regardedOwnerMailing' | 'controllingPerson1' | 'controllingPerson1Mailing' | 'controllingPerson2' | 'controllingPerson2Mailing' | 'controllingPerson3' | 'controllingPerson3Mailing' | 'controllingPerson4' | 'controllingPerson4Mailing' | 'controllingPerson5' | 'controllingPerson5Mailing';
|
|
4
|
+
export declare const getInvalidAddressRules: (prefix: Prefix) => FormUIValidations;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TaxDocumentationErrorFile } from '../../contexts';
|
|
2
|
+
import { QuestionnaireProp, TaxDocumentation } from '../../types';
|
|
3
|
+
import { ExternalValidations } from '../../types/client';
|
|
4
|
+
|
|
5
|
+
export declare const getInvalidFields: (fields: TaxDocumentation, questionnaire: QuestionnaireProp, externalValidations?: ExternalValidations) => TaxDocumentationErrorFile;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FormUIValidations } from './invalidFieldRules.ts';
|
|
2
|
+
|
|
3
|
+
type Prefix = 'accountHolder' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5';
|
|
4
|
+
export declare const getInvalidTaxResidencyFields: (prefix: Prefix) => FormUIValidations;
|
|
5
|
+
export {};
|
package/dist/src/validations/{invalidFieldRules.d.ts → invalidFields/invalidFieldRules.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ErrorKey } from 'i18n/types';
|
|
2
2
|
import { TaxDocumentation, TaxDocumentationKey } from 'types/TaxDocumentation';
|
|
3
|
-
import { ExternalValidations } from '
|
|
3
|
+
import { ExternalValidations } from '../../types/client';
|
|
4
4
|
|
|
5
5
|
export type FormUIValidation = (fields: TaxDocumentation, externalValidations?: ExternalValidations) => ErrorKey[] | undefined;
|
|
6
6
|
export type FormUIValidations = {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TaxDocumentation } from '../../types';
|
|
2
|
+
|
|
3
|
+
type Prefix = 'accountHolder' | 'accountHolderMailing' | 'regardedOwner' | 'regardedOwnerMailing' | 'controllingPerson1' | 'controllingPerson1Mailing' | 'controllingPerson2' | 'controllingPerson2Mailing' | 'controllingPerson3' | 'controllingPerson3Mailing' | 'controllingPerson4' | 'controllingPerson4Mailing' | 'controllingPerson5' | 'controllingPerson5Mailing';
|
|
4
|
+
export declare const getRequiredAddressFields: (prefix: `${Prefix}Address`, fields: TaxDocumentation, isAddressRequired: boolean) => {
|
|
5
|
+
[x: string]: boolean;
|
|
6
|
+
};
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TaxDocumentation } from '../../types';
|
|
2
|
+
|
|
3
|
+
type Prefix = 'accountHolder' | 'controllingPerson1' | 'controllingPerson2' | 'controllingPerson3' | 'controllingPerson4' | 'controllingPerson5';
|
|
4
|
+
export declare const getRequiredTaxResidenceFields: (prefix: Prefix, fields: TaxDocumentation) => {
|
|
5
|
+
[x: string]: boolean;
|
|
6
|
+
};
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type Index = '1' | '2' | '3' | '4' | '5';
|
|
2
|
+
export declare const generateStrings: <T extends string>(prefix: T) => Array<`${T}${Index}`>;
|
|
3
|
+
export declare const generateStringSandwich: <T extends string, U extends string>(prefix: T, postfix: U) => Array<`${T}${Index}${U}`>;
|
|
4
|
+
export declare const generate2DStrings: <T extends string, U extends string>(prefix: T, postfix: U) => Array<`${T}${Index}${U}${Index}`>;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TaxDocumentationPropertyFile } from '../../contexts';
|
|
2
|
+
|
|
3
|
+
declare const iterate5: readonly ["1", "2", "3", "4", "5"];
|
|
4
|
+
type Iterate5 = (typeof iterate5)[number];
|
|
5
|
+
type ControllingPersonPrefix = `controllingPerson${Iterate5}`;
|
|
6
|
+
type AddressPrefix = 'accountHolder' | 'accountHolderMailing' | 'regardedOwner' | 'regardedOwnerMailing' | ControllingPersonPrefix | `${ControllingPersonPrefix}Mailing`;
|
|
7
|
+
export declare const getSupportedAddressFields: (prefix: AddressPrefix, isSupported: boolean) => Partial<TaxDocumentationPropertyFile>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TaxDocumentationPropertyFile } from '../../contexts';
|
|
2
|
+
|
|
3
|
+
declare const iterate5: readonly ["1", "2", "3", "4", "5"];
|
|
4
|
+
type Iterate5 = (typeof iterate5)[number];
|
|
5
|
+
type ControllingPersonPrefix = `controllingPerson${Iterate5}`;
|
|
6
|
+
export declare const getSupportedControllingPersonFields: (prefix: ControllingPersonPrefix, isSupported: boolean) => Partial<TaxDocumentationPropertyFile>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TaxDocumentationPropertyFile } from '../../contexts';
|
|
2
|
+
|
|
3
|
+
declare const iterate5: readonly ["1", "2", "3", "4", "5"];
|
|
4
|
+
type Iterate5 = (typeof iterate5)[number];
|
|
5
|
+
type ControllingPersonPrefix = `controllingPerson${Iterate5}`;
|
|
6
|
+
type ResidencePrefix = 'accountHolder' | ControllingPersonPrefix;
|
|
7
|
+
export declare const getSupportedTaxResidenceFields: (prefix: ResidencePrefix, isSupported: boolean, hasReason?: boolean) => Partial<TaxDocumentationPropertyFile>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TaxDocumentationPropertyFile } from '../../contexts';
|
|
2
|
+
|
|
3
|
+
type Prefix = 'accountHolderAddress' | 'accountHolderMailingAddress' | 'regardedOwnerAddress' | 'regardedOwnerMailingAddress' | 'controllingPerson1Address' | 'controllingPerson2Address' | 'controllingPerson3Address' | 'controllingPerson4Address' | 'controllingPerson5Address' | 'controllingPerson1MailingAddress' | 'controllingPerson2MailingAddress' | 'controllingPerson3MailingAddress' | 'controllingPerson4MailingAddress' | 'controllingPerson5MailingAddress';
|
|
4
|
+
export declare const getVisibleAddressFields: (prefix: Prefix, showFields: boolean) => Partial<TaxDocumentationPropertyFile>;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { QuestionnaireProp, TaxDocumentation } from 'types';
|
|
2
|
+
import { TaxDocumentationPropertyFile } from '../../contexts';
|
|
3
|
+
|
|
4
|
+
export declare const getVisibleFields: (fields: TaxDocumentation | undefined, questionnaire: QuestionnaireProp, treatyClaims?: boolean) => TaxDocumentationPropertyFile;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TaxDocumentation } from '../../types';
|
|
2
|
+
|
|
3
|
+
declare const iterate5: readonly ["1", "2", "3", "4", "5"];
|
|
4
|
+
type Iterate5 = (typeof iterate5)[number];
|
|
5
|
+
type ControllingPersonPrefix = `controllingPerson${Iterate5}`;
|
|
6
|
+
export declare const getVisibleTaxResidenceFields: (prefix: "accountHolder" | ControllingPersonPrefix, fields: TaxDocumentation) => {
|
|
7
|
+
[x: string]: boolean;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ClientTaxDocumentation } from '@taxbit/utilities';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
-
import { Locale,
|
|
4
|
-
import { TaxbitQuestionnairePersistProps } from '
|
|
3
|
+
import { Locale, QuestionnaireProp } from '../../types';
|
|
4
|
+
import { TaxbitQuestionnairePersistProps } from '../TaxbitQuestionnairePersist';
|
|
5
5
|
|
|
6
6
|
export type TaxbitQuestionnaireProps = {
|
|
7
7
|
data?: ClientTaxDocumentation;
|
|
8
8
|
language?: Locale;
|
|
9
|
-
questionnaire:
|
|
9
|
+
questionnaire: QuestionnaireProp;
|
|
10
10
|
treatyClaims?: TaxbitQuestionnairePersistProps['treatyClaims'];
|
|
11
11
|
onProgress?: TaxbitQuestionnairePersistProps['onProgress'];
|
|
12
12
|
onSubmit?: TaxbitQuestionnairePersistProps['onSubmit'];
|