@taxbit/react-sdk 0.2.3 → 0.3.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.
Files changed (52) hide show
  1. package/dist/basic.css +26 -20
  2. package/dist/contexts/FormUI/useFormUI.d.ts +4 -3
  3. package/dist/contexts/FormUI/useFormUIContext.d.ts +20 -18
  4. package/dist/contexts/TaxDocumentation/useTaxDocumentation.d.ts +1 -1
  5. package/dist/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +2 -2
  6. package/dist/hooks/useTaxBit/__tests__/clientTaxDocumentation.d.ts +2 -0
  7. package/dist/hooks/useTaxBit/__tests__/serverTaxDocumentation.d.ts +2 -0
  8. package/dist/i18n/index.d.ts +1 -1
  9. package/dist/i18n/types/LocalizationKey.d.ts +4 -4
  10. package/dist/i18n/types/PropertyFile.d.ts +6 -6
  11. package/dist/i18n/utils/getText.d.ts +6 -6
  12. package/dist/inline.css +26 -21
  13. package/dist/lookups/countryOptions.d.ts +2 -1
  14. package/dist/lookups/foreignAccountHolderAccountTypeOptions.d.ts +1 -1
  15. package/dist/lookups/foreignOtherClassificationOptions.d.ts +1 -1
  16. package/dist/lookups/usAccountHolderAccountTypeOptions.d.ts +1 -1
  17. package/dist/{taxbit-react-sdk.es.js → taxbit-react-sdk.js} +2105 -1912
  18. package/dist/taxbit-react-sdk.umd.cjs +27 -0
  19. package/dist/types/CamelCaseKeys.d.ts +1 -2
  20. package/dist/types/TaxDocumentation.d.ts +5 -2
  21. package/dist/types/client/ClientTaxDocumentation.d.ts +19 -15
  22. package/dist/types/server/ComprehensiveTaxDocumentation.d.ts +4 -1
  23. package/dist/ui/Actions/Actions.d.ts +1 -1
  24. package/dist/ui/CheckBox/CheckBox.d.ts +4 -3
  25. package/dist/ui/MaskedContent/MaskedContent.d.ts +1 -1
  26. package/dist/ui/MaskedInput/MaskedInput.d.ts +4 -3
  27. package/dist/ui/Password/Password.d.ts +2 -1
  28. package/dist/ui/Select/Select.d.ts +9 -8
  29. package/dist/utils/camelCaseKeys.d.ts +2 -1
  30. package/dist/utils/getFieldsState.d.ts +2 -2
  31. package/dist/utils/getHintKeyMap.d.ts +5 -2
  32. package/dist/utils/getPromptKeyMap.d.ts +5 -2
  33. package/dist/utils/index.d.ts +0 -1
  34. package/dist/utils/{transformOutbound → transformForClient}/convertYesNoToBoolean.d.ts +1 -1
  35. package/dist/utils/transformForClient/transformForClientAccoutHolder.d.ts +54 -0
  36. package/dist/utils/transformForClient/transformForClientAddress.d.ts +33 -0
  37. package/dist/utils/transformForClient/transformForClientRegardedOwner.d.ts +37 -0
  38. package/dist/utils/transformForClient/transformForClientTaxResidenceFields.d.ts +6 -0
  39. package/dist/validations/getSupportedFields.d.ts +1 -1
  40. package/dist/validations/getVisibleFields.d.ts +2 -2
  41. package/dist/wizard/ResidenceInput/ResidenceInput.d.ts +2 -1
  42. package/dist/wizard/RowInput/ErrorRow/ErrorRow.d.ts +3 -2
  43. package/dist/wizard/RowInput/MaskedInputRow/MaskedInputRow.d.ts +4 -3
  44. package/dist/wizard/RowInput/SelectRow/SelectRow.d.ts +4 -3
  45. package/package.json +7 -8
  46. package/dist/taxbit-react-sdk.umd.js +0 -27
  47. package/dist/utils/transformOutbound/index.d.ts +0 -6
  48. package/dist/utils/transformOutbound/transformOutbound.d.ts +0 -3
  49. package/dist/utils/transformOutbound/transformToOutboundAccoutHolder.d.ts +0 -3
  50. package/dist/utils/transformOutbound/transformToOutboundAddress.d.ts +0 -6
  51. package/dist/utils/transformOutbound/transformToOutboundRegardedOwner.d.ts +0 -3
  52. package/dist/utils/transformOutbound/transformToOutboundTaxResidenceFields.d.ts +0 -3
package/dist/basic.css CHANGED
@@ -3,7 +3,7 @@
3
3
  line-height: 24px;
4
4
  font-weight: 400;
5
5
 
6
- color: #12263F;
6
+ color: #12263f;
7
7
  font-synthesis: none;
8
8
  text-rendering: optimizeLegibility;
9
9
  -webkit-font-smoothing: antialiased;
@@ -35,7 +35,7 @@ button:focus-visible {
35
35
  display: flex;
36
36
  align-items: center;
37
37
  padding-bottom: 8px;
38
- border-bottom: solid 1px #E4EBF6;
38
+ border-bottom: solid 1px #e4ebf6;
39
39
  margin-bottom: 20px;
40
40
  }
41
41
 
@@ -44,7 +44,7 @@ button:focus-visible {
44
44
  font-size: 1.2em;
45
45
  line-height: 1.1;
46
46
  font-weight: 600;
47
- color: #12263F;
47
+ color: #12263f;
48
48
  flex: 1 1 auto;
49
49
  }
50
50
 
@@ -52,13 +52,13 @@ button:focus-visible {
52
52
  margin: 20px 0;
53
53
  .taxbit-section-title {
54
54
  padding-bottom: 4px;
55
- border-bottom: solid 1px #E4EBF6;
55
+ border-bottom: solid 1px #e4ebf6;
56
56
  margin-bottom: 8px;
57
- opacity: .8;
57
+ opacity: 0.8;
58
58
  }
59
59
  .taxbit-section-sub-title {
60
- font-size: .8em;
61
- opacity: .7;
60
+ font-size: 0.8em;
61
+ opacity: 0.7;
62
62
  font-weight: 400;
63
63
  }
64
64
  }
@@ -71,7 +71,7 @@ button:focus-visible {
71
71
  }
72
72
 
73
73
  .taxbit-select-language:focus {
74
- border-bottom: solid 1px #E4EBF6;
74
+ border-bottom: solid 1px #e4ebf6;
75
75
  opacity: 1;
76
76
  }
77
77
 
@@ -87,15 +87,15 @@ button:focus-visible {
87
87
  }
88
88
  .taxbit-error-message {
89
89
  color: red;
90
- font-size: .8em;
90
+ font-size: 0.8em;
91
91
  }
92
92
  .taxbit-notification {
93
93
  color: blue;
94
- font-size: .8em;
94
+ font-size: 0.8em;
95
95
  }
96
96
  .taxbit-hint {
97
- font-size: .8em;
98
- opacity: .7;
97
+ font-size: 0.8em;
98
+ opacity: 0.7;
99
99
  }
100
100
  }
101
101
 
@@ -105,7 +105,7 @@ button:focus-visible {
105
105
  align-items: center;
106
106
  }
107
107
  .taxbit-row-action-button {
108
- font-size: .8em;
108
+ font-size: 0.8em;
109
109
  padding: 0.2em 1em;
110
110
  flex: 0 0 auto;
111
111
  }
@@ -120,7 +120,8 @@ button:focus-visible {
120
120
  line-height: 1.25em;
121
121
  }
122
122
  }
123
- .taxbit-input, .taxbit-select {
123
+ .taxbit-input,
124
+ .taxbit-select {
124
125
  box-sizing: border-box;
125
126
  height: 33px;
126
127
  width: 100%;
@@ -131,7 +132,8 @@ button:focus-visible {
131
132
  }
132
133
 
133
134
  @media only screen and (max-width: 600px) {
134
- .taxbit-input, .taxbit-select {
135
+ .taxbit-input,
136
+ .taxbit-select {
135
137
  font-size: 100%;
136
138
  }
137
139
  }
@@ -140,6 +142,10 @@ button:focus-visible {
140
142
  color: #aaa;
141
143
  }
142
144
 
145
+ .taxbit-placeholder:focus-within {
146
+ color: inherit;
147
+ }
148
+
143
149
  .taxbit-check-box {
144
150
  margin: 5px;
145
151
  }
@@ -160,7 +166,7 @@ button:focus-visible {
160
166
  }
161
167
 
162
168
  .taxbit-input-status-footer {
163
- margin-top: 5px
169
+ margin-top: 5px;
164
170
  }
165
171
 
166
172
  .taxbit-row-value {
@@ -186,12 +192,11 @@ button:focus-visible {
186
192
  flex: 0 0 40%;
187
193
  }
188
194
 
189
-
190
195
  .taxbit-step-actions {
191
196
  display: flex;
192
197
 
193
198
  padding-top: 8px;
194
- border-top: solid 1px #E4EBF6;
199
+ border-top: solid 1px #e4ebf6;
195
200
  margin-top: 12px;
196
201
 
197
202
  .taxbit-primary-actions {
@@ -228,7 +233,8 @@ button:focus-visible {
228
233
  margin-left: 10px;
229
234
  }
230
235
  }
231
- .taxbit-primary-actions, .taxbit-secondary-actions {
236
+ .taxbit-primary-actions,
237
+ .taxbit-secondary-actions {
232
238
  flex: 1;
233
239
  }
234
- }
240
+ }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { ButtonKey, ErrorKey, HintKey, NotificationKey, PromptKey, SubPromptKey, TextKey, TitleKey } from 'i18n/types';
3
- import { Locale } from 'types';
2
+ import { ButtonKey, ErrorKey, HintKey, NotificationKey, PromptKey, SubPromptKey, SubTitleKey, TextKey, TitleKey } from 'i18n/types';
3
+ import { Locale, Yes } from 'types';
4
4
  import { TaxDocumentation, TaxDocumentationKey } from 'types/TaxDocumentation';
5
5
  export type TaxDocumentationPropertyFile = {
6
6
  [key in TaxDocumentationKey]: boolean;
@@ -9,6 +9,7 @@ export type TaxDocumentationErrorFile = {
9
9
  [key in TaxDocumentationKey]?: ErrorKey;
10
10
  };
11
11
  export declare const useFormUI: () => {
12
+ clearIfNotRequired: (...arg: TaxDocumentationKey[]) => (value: Yes | undefined) => void;
12
13
  fields: TaxDocumentation;
13
14
  setFields: import("react").Dispatch<import("react").SetStateAction<TaxDocumentation>>;
14
15
  setValue: (key: TaxDocumentationKey, value: string | undefined) => void;
@@ -31,7 +32,7 @@ export declare const useFormUI: () => {
31
32
  getSubPromptKey: (key: TaxDocumentationKey) => SubPromptKey;
32
33
  getLocalText: (key: TextKey) => string;
33
34
  getLocalTitle: (key: TitleKey) => string;
34
- getLocalSubTitle: (key: string) => string;
35
+ getLocalSubTitle: (key: SubTitleKey) => string;
35
36
  getLocalUsState: (key: string | undefined) => string;
36
37
  getLocalMonth: (key: string | undefined) => string;
37
38
  getRequiredLocalPrompt: (key: TaxDocumentationKey) => string;
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useFormUIContext: () => {
3
+ clearIfNotRequired: (...arg: (keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences")[]) => (value: "yes" | undefined) => void;
3
4
  fields: import("../../types").TaxDocumentation;
4
5
  setFields: import("react").Dispatch<import("react").SetStateAction<import("../../types").TaxDocumentation>>;
5
- setValue: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence", value: string | undefined) => void;
6
+ setValue: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences", value: string | undefined) => void;
6
7
  isErrorFree: boolean;
7
8
  showErrors: boolean;
8
9
  exposeErrors: () => void;
@@ -11,32 +12,33 @@ export declare const useFormUIContext: () => {
11
12
  getLocalCaProvince: (key: string | undefined) => string;
12
13
  getLocalCountry: (key: string | undefined) => string;
13
14
  getLocalError: (key: import("../../i18n/types").ErrorKey) => string;
14
- getLocalHint: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => string | undefined;
15
- getHintKey: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => "dateOfBirth";
15
+ getLocalHint: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => string | undefined;
16
+ getHintKey: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => "dateOfBirth";
16
17
  getLocalLocale: (key: import("../../types").Locale) => string;
17
18
  getLocalNotification: (key: "vatUnexpectedFormat") => string;
18
19
  getLocalOption: (key: string | undefined) => string | undefined;
19
20
  getLocalPrompt: (key: string) => string;
20
21
  getPromptKey: (key: string) => import("../../i18n/types").PromptKey;
21
- getLocalSubPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => string;
22
- getSubPromptKey: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => import("../../i18n/types").SubPromptKey;
22
+ getLocalSubPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => string;
23
+ getSubPromptKey: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => import("../../i18n/types").SubPromptKey;
23
24
  getLocalText: (key: import("../../i18n/types").TextKey) => string;
24
25
  getLocalTitle: (key: import("../../i18n/types").TitleKey) => string;
25
- getLocalSubTitle: (key: string) => string;
26
+ getLocalSubTitle: (key: "taxResidences") => string;
26
27
  getLocalUsState: (key: string | undefined) => string;
27
28
  getLocalMonth: (key: string | undefined) => string;
28
- getRequiredLocalPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => string;
29
+ getRequiredLocalPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => string;
29
30
  notifiedFields: import("../../validations/getNotifiedFields").Notifications;
30
31
  invalidFields: import("./useFormUI").TaxDocumentationErrorFile;
31
32
  requiredFields: import("./useFormUI").TaxDocumentationPropertyFile;
32
33
  submittableFields: import("../../types").TaxDocumentation;
33
34
  visibleFields: import("./useFormUI").TaxDocumentationPropertyFile;
34
- hideField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => void;
35
- showField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => void;
35
+ hideField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => void;
36
+ showField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => void;
36
37
  }, FormUIContextProvider: import("react").Provider<{
38
+ clearIfNotRequired: (...arg: (keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences")[]) => (value: "yes" | undefined) => void;
37
39
  fields: import("../../types").TaxDocumentation;
38
40
  setFields: import("react").Dispatch<import("react").SetStateAction<import("../../types").TaxDocumentation>>;
39
- setValue: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence", value: string | undefined) => void;
41
+ setValue: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences", value: string | undefined) => void;
40
42
  isErrorFree: boolean;
41
43
  showErrors: boolean;
42
44
  exposeErrors: () => void;
@@ -45,26 +47,26 @@ export declare const useFormUIContext: () => {
45
47
  getLocalCaProvince: (key: string | undefined) => string;
46
48
  getLocalCountry: (key: string | undefined) => string;
47
49
  getLocalError: (key: import("../../i18n/types").ErrorKey) => string;
48
- getLocalHint: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => string | undefined;
49
- getHintKey: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => "dateOfBirth";
50
+ getLocalHint: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => string | undefined;
51
+ getHintKey: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => "dateOfBirth";
50
52
  getLocalLocale: (key: import("../../types").Locale) => string;
51
53
  getLocalNotification: (key: "vatUnexpectedFormat") => string;
52
54
  getLocalOption: (key: string | undefined) => string | undefined;
53
55
  getLocalPrompt: (key: string) => string;
54
56
  getPromptKey: (key: string) => import("../../i18n/types").PromptKey;
55
- getLocalSubPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => string;
56
- getSubPromptKey: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => import("../../i18n/types").SubPromptKey;
57
+ getLocalSubPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => string;
58
+ getSubPromptKey: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => import("../../i18n/types").SubPromptKey;
57
59
  getLocalText: (key: import("../../i18n/types").TextKey) => string;
58
60
  getLocalTitle: (key: import("../../i18n/types").TitleKey) => string;
59
- getLocalSubTitle: (key: string) => string;
61
+ getLocalSubTitle: (key: "taxResidences") => string;
60
62
  getLocalUsState: (key: string | undefined) => string;
61
63
  getLocalMonth: (key: string | undefined) => string;
62
- getRequiredLocalPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => string;
64
+ getRequiredLocalPrompt: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => string;
63
65
  notifiedFields: import("../../validations/getNotifiedFields").Notifications;
64
66
  invalidFields: import("./useFormUI").TaxDocumentationErrorFile;
65
67
  requiredFields: import("./useFormUI").TaxDocumentationPropertyFile;
66
68
  submittableFields: import("../../types").TaxDocumentation;
67
69
  visibleFields: import("./useFormUI").TaxDocumentationPropertyFile;
68
- hideField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => void;
69
- showField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderCountryIsResidence") => void;
70
+ hideField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => void;
71
+ showField: (key: keyof import("../../types").AccountHolderContactData | keyof import("../../types").AccountHolderTaxData | keyof import("../../types").AccountHolderClassificationData | keyof import("../../types").RegardedOwnerContactData | keyof import("../../types").RegardedOwnerClassificationData | keyof import("../../types").RegardedOwnerTaxData | keyof import("../../types").SummaryData | "accountHolderTaxResidences") => void;
70
72
  } | undefined>;
@@ -14,7 +14,7 @@ export declare const useTaxDocumentation: ({ data: initialData, language: initia
14
14
  isW8: boolean;
15
15
  isW8Ben: boolean;
16
16
  isW8BenE: boolean;
17
- isDac7: boolean | undefined;
17
+ isDac7: boolean;
18
18
  onPersistAccountHolderData: (newData: TaxDocumentation) => void;
19
19
  onPersistCollectedData: (newData: TaxDocumentation) => void;
20
20
  onSubmitTaxDocumentation: (submitFields: TaxDocumentation) => void;
@@ -4,7 +4,7 @@ export declare const useTaxDocumentationContext: () => {
4
4
  isW8: boolean;
5
5
  isW8Ben: boolean;
6
6
  isW8BenE: boolean;
7
- isDac7: boolean | undefined;
7
+ isDac7: boolean;
8
8
  onPersistAccountHolderData: (newData: import("../../types").TaxDocumentation) => void;
9
9
  onPersistCollectedData: (newData: import("../../types").TaxDocumentation) => void;
10
10
  onSubmitTaxDocumentation: (submitFields: import("../../types").TaxDocumentation) => void;
@@ -25,7 +25,7 @@ export declare const useTaxDocumentationContext: () => {
25
25
  isW8: boolean;
26
26
  isW8Ben: boolean;
27
27
  isW8BenE: boolean;
28
- isDac7: boolean | undefined;
28
+ isDac7: boolean;
29
29
  onPersistAccountHolderData: (newData: import("../../types").TaxDocumentation) => void;
30
30
  onPersistCollectedData: (newData: import("../../types").TaxDocumentation) => void;
31
31
  onSubmitTaxDocumentation: (submitFields: import("../../types").TaxDocumentation) => void;
@@ -0,0 +1,2 @@
1
+ import { ClientTaxDocumentation } from '../../../types/client';
2
+ export declare const clientTaxDocumentation: ClientTaxDocumentation;
@@ -0,0 +1,2 @@
1
+ import { SignedDatedComprehensiveTaxDocumentation } from '../../../types/server';
2
+ export declare const serverTaxDocumentation: SignedDatedComprehensiveTaxDocumentation;
@@ -1 +1 @@
1
- export { getButtonText, getCaProvinceText, getCountryText, getErrorText, getHintText, getLocaleText, getMonthText, getNotificationText, getOptionText, getPromptText, getSubPromptText, getTitleText, getUsStateText, } from "./utils";
1
+ export { getButtonText, getCaProvinceText, getCountryText, getErrorText, getHintText, getLocaleText, getMonthText, getNotificationText, getOptionText, getPromptText, getSubPromptText, getSubTitleText, getTitleText, getUsStateText, } from './utils';
@@ -1,10 +1,10 @@
1
1
  export type ButtonKey = 'edit' | 'back' | 'next' | 'reset' | 'submit' | 'cancel' | 'hide' | 'show';
2
- export type ErrorKey = 'required' | 'invalid' | 'invalidDate' | 'mustBeSixCharacters' | 'mustBeNineDigits' | 'mustBeFiveOrNineDigits' | 'mustMatchName' | 'mustBeInDateFormat' | 'mustBeValidBirthDate' | 'mustNotMatchVatin' | 'vatCountryMustBeAResidenceCountry' | 'addressCountryMustBeAResidenceCountry';
2
+ export type ErrorKey = 'required' | 'invalid' | 'invalidDate' | 'mustBeSixCharacters' | 'mustBeNineDigits' | 'mustBeFiveOrNineDigits' | 'mustMatchName' | 'mustBeInDateFormat' | 'mustBeValidBirthDate' | 'mustNotMatchVatin' | 'residencesMustIncludeVatCountry' | 'residencesMustIncludeAddressCountry' | 'residencesMustIncludeAnEUCountry';
3
3
  export type NotificationKey = 'vatUnexpectedFormat';
4
4
  export type OptionKey = 'usPerson_yes' | 'usPerson_no' | 'regardedOwnerUsPerson_yes' | 'regardedOwnerUsPerson_no' | 'isIndividual_yes' | 'isIndividual_no' | 'cCorporation' | 'centralBankOfIssue' | 'complexTrust' | 'corporation' | 'disregardedEntity' | 'estate' | 'foreignGovernmentControlledEntity' | 'foreignGovernmentIntegralPart' | 'grantorTrust' | 'individual' | 'internationalOrganization' | 'llc' | 'no' | 'other' | 'partnership' | 'privateFoundation' | 'sCorporation' | 'simpleTrust' | 'smllc' | 'soleProprietor' | 'taxExemptOrganization' | 'trust' | 'trustEstate' | 'yes';
5
- export type PromptKey = 'addAdditional' | 'address' | 'businessRegistrationNumber' | 'businessRegistrationNumberIsNotRequired' | 'city' | 'cityOfBirth' | 'country' | 'countryOfBirth' | 'countryOfCitizenship' | 'dateOfBirth' | 'day' | 'dbaName' | 'exemptPayeeCode' | 'exemptFatcaCode' | 'financialAccountIdentifier' | 'financialAccountName' | 'foreignAccountType' | 'foreignOtherClassification' | 'foreignTin' | 'foreignTinIsNotRequired' | 'foreignTrustClassification' | 'isEuResident' | 'isIndividual' | 'iAcknowlegeESignIsOk' | 'iAmACitizenOfTheUs' | 'iAmExemptFromFatcaReporting' | 'iAmNotSubjectToBackupWithholding' | 'iAuthorizeWithholdingAgent' | 'iCertifyToAll' | 'iConfirmIncomeIsNonUs' | 'iConfirmTheBeneficialOwnerIsExempt' | 'iConfirmTheEntityIsNotAUsPerson' | 'iConfirmTheEntityIsTheBeneficialOwner' | 'iConfirmTheTaxIdIsCorrect' | 'iHaveLegalCapacityToSign' | 'mailingAddress' | 'mailingAddressIsDifferent' | 'month' | 'name' | 'nameOfBusiness' | 'nameOfCCorporation' | 'nameOfCorporation' | 'nameOfIndividual' | 'nameOfLlc' | 'nameOfOrganization' | 'nameOfPartnership' | 'nameOfSCorporation' | 'nameOfSoleProprietor' | 'nameOfTrustEstate' | 'nameOfTrust' | 'province' | 'regardedOwnerUsPerson' | 'removeAdditional' | 'signature' | 'smllcElection' | 'state' | 'stateProvince' | 'street' | 'street2' | 'taxIdNumber' | 'taxIdNumberIsNotRequired' | 'tin' | 'usAccountType' | 'usLlcClassification' | 'usOtherClassification' | 'usPerson' | 'usEin' | 'usSsn' | 'usTin' | 'usTrustEstateEin' | 'vatIdentificationNumber' | 'vatIdentificationNumberIsNotRequired' | 'vatCountry' | 'year' | 'zip';
6
- export type SubPromptKey = 'smllcElection' | 'iConfirmIncomeIsNonUs' | 'isEuResident' | 'financialAccountIdentifier' | 'financialAccountName' | 'vatIdentificationNumber' | 'placeOfBirth';
5
+ export type PromptKey = 'addAdditional' | 'address' | 'businessRegistrationNumber' | 'businessRegistrationCountry' | 'city' | 'cityOfBirth' | 'country' | 'countryOfBirth' | 'countryOfCitizenship' | 'dateOfBirth' | 'day' | 'dbaName' | 'exemptPayeeCode' | 'exemptFatcaCode' | 'financialAccountIdentifier' | 'financialAccountName' | 'foreignAccountType' | 'foreignOtherClassification' | 'foreignTin' | 'foreignTinIsNotRequired' | 'foreignTrustClassification' | 'isEuResident' | 'isIndividual' | 'iAcknowlegeESignIsOk' | 'iAmACitizenOfTheUs' | 'iAmExemptFromFatcaReporting' | 'iAmNotSubjectToBackupWithholding' | 'iAuthorizeWithholdingAgent' | 'iCertifyToAll' | 'iConfirmIncomeIsNonUs' | 'iConfirmTheBeneficialOwnerIsExempt' | 'iConfirmTheInformationIsCorrectComplete' | 'iConfirmTheEntityIsNotAUsPerson' | 'iConfirmTheEntityIsTheBeneficialOwner' | 'iConfirmTheTaxIdIsCorrect' | 'iHaveLegalCapacityToSign' | 'mailingAddress' | 'mailingAddressIsDifferent' | 'month' | 'name' | 'nameOfEntity' | 'nameOfCCorporation' | 'nameOfCorporation' | 'nameOfIndividual' | 'nameOfLlc' | 'nameOfOrganization' | 'nameOfPartnership' | 'nameOfSCorporation' | 'nameOfSoleProprietor' | 'nameOfTrustEstate' | 'nameOfTrust' | 'province' | 'regardedOwnerUsPerson' | 'removeAdditional' | 'signature' | 'smllcElection' | 'state' | 'stateProvince' | 'street' | 'street2' | 'taxIdNumber' | 'taxIdNumberIsNotRequired' | 'tin' | 'usAccountType' | 'usLlcClassification' | 'usOtherClassification' | 'usPerson' | 'usEin' | 'usSsn' | 'usTin' | 'usTrustEstateEin' | 'vatIdentificationNumber' | 'vatIsNotRequired' | 'vatCountry' | 'year' | 'zip';
6
+ export type SubPromptKey = 'smllcElection' | 'iConfirmIncomeIsNonUs' | 'isEuResident' | 'isIndividual' | 'financialAccountIdentifier' | 'financialAccountName' | 'vatIdentificationNumber' | 'placeOfBirth';
7
7
  export type TitleKey = 'accountHolder' | 'accountHolderClassification' | 'accountHolderContactInformation' | 'accountHolderTaxInformation' | 'address' | 'mailingAddress' | 'primaryAddress' | 'placeOfBirth' | 'regardedOwner' | 'regardedOwnerClassification' | 'regardedOwnerContactInformation' | 'regardedOwnerTaxInformation' | 'signature' | 'summary' | 'taxResidences' | 'taxResidence1' | 'taxResidence2' | 'taxResidence3' | 'taxResidence4' | 'taxResidence5';
8
- export type SubTitleKey = 'taxResidence1';
8
+ export type SubTitleKey = 'taxResidences';
9
9
  export type TextKey = 'eSignActReference' | 'notRequired' | 'interviewIsComplete' | 'retrievingInterviewStatus';
10
10
  export type HintKey = 'dateOfBirth';
@@ -1,9 +1,9 @@
1
- import { ButtonKey, ErrorKey, HintKey, NotificationKey, OptionKey, PromptKey, SubPromptKey, SubTitleKey, TextKey, TitleKey } from "./LocalizationKey";
2
- import { CaProvinceCode } from "types/CaProvinceCode";
3
- import { CountryCode } from "types/CountryCode";
4
- import { Locale } from "types/Locale";
5
- import { MonthCode } from "types/MonthCode";
6
- import { UsStateCode } from "types/UsStateCode";
1
+ import { CaProvinceCode } from 'types/CaProvinceCode';
2
+ import { CountryCode } from 'types/CountryCode';
3
+ import { Locale } from 'types/Locale';
4
+ import { MonthCode } from 'types/MonthCode';
5
+ import { UsStateCode } from 'types/UsStateCode';
6
+ import { ButtonKey, ErrorKey, HintKey, NotificationKey, OptionKey, PromptKey, SubPromptKey, SubTitleKey, TextKey, TitleKey } from './LocalizationKey';
7
7
  export type PropertyFile = {
8
8
  button: {
9
9
  [key in ButtonKey]: string;
@@ -1,15 +1,15 @@
1
- import { ButtonKey, ErrorKey, NotificationKey, OptionKey, PromptKey, SubPromptKey, TextKey, TitleKey } from "../types";
2
- import { CountryCode } from "types/CountryCode";
3
- import { UsStateCode } from "types/UsStateCode";
4
- import { CaProvinceCode } from "types/CaProvinceCode";
5
- import { Locale } from "../../types";
1
+ import { CaProvinceCode } from 'types/CaProvinceCode';
2
+ import { CountryCode } from 'types/CountryCode';
3
+ import { UsStateCode } from 'types/UsStateCode';
4
+ import { Locale } from '../../types';
5
+ import { ButtonKey, ErrorKey, NotificationKey, OptionKey, PromptKey, SubPromptKey, SubTitleKey, TextKey, TitleKey } from '../types';
6
6
  export declare const getPromptText: (key: PromptKey, locale: Locale | undefined) => string;
7
7
  export declare const getSubPromptText: (key: SubPromptKey, locale: Locale | undefined) => string;
8
8
  export declare const getErrorText: (key: ErrorKey, locale: Locale | undefined) => string;
9
9
  export declare const getHintText: (key: string | undefined, locale: Locale | undefined) => string | undefined;
10
10
  export declare const getTextText: (key: TextKey, locale: Locale | undefined) => string;
11
11
  export declare const getTitleText: (key: TitleKey, locale: Locale | undefined) => string;
12
- export declare const getSubTitleText: (key: string, locale: Locale | undefined) => string;
12
+ export declare const getSubTitleText: (key: SubTitleKey, locale: Locale | undefined) => string;
13
13
  export declare const getButtonText: (key: ButtonKey, locale: Locale | undefined) => string;
14
14
  export declare const getOptionText: (key: OptionKey | undefined, locale: Locale | undefined) => string;
15
15
  export declare const getNotificationText: (key: NotificationKey | undefined, locale: Locale | undefined) => string;
package/dist/inline.css CHANGED
@@ -3,7 +3,7 @@
3
3
  line-height: 24px;
4
4
  font-weight: 400;
5
5
 
6
- color: #12263F;
6
+ color: #12263f;
7
7
  font-synthesis: none;
8
8
  text-rendering: optimizeLegibility;
9
9
  -webkit-font-smoothing: antialiased;
@@ -35,7 +35,7 @@ button:focus-visible {
35
35
  display: flex;
36
36
  align-items: center;
37
37
  padding-bottom: 8px;
38
- border-bottom: solid 1px #E4EBF6;
38
+ border-bottom: solid 1px #e4ebf6;
39
39
  margin-bottom: 20px;
40
40
  }
41
41
 
@@ -44,22 +44,21 @@ button:focus-visible {
44
44
  font-size: 1.2em;
45
45
  line-height: 1.1;
46
46
  font-weight: 600;
47
- color: #12263F;
47
+ color: #12263f;
48
48
  flex: 1 1 auto;
49
49
  }
50
50
 
51
-
52
51
  .taxbit-section {
53
52
  margin: 20px 0;
54
53
  .taxbit-section-title {
55
54
  padding-bottom: 4px;
56
- border-bottom: solid 1px #E4EBF6;
55
+ border-bottom: solid 1px #e4ebf6;
57
56
  margin-bottom: 8px;
58
- opacity: .8;
57
+ opacity: 0.8;
59
58
  }
60
59
  .taxbit-section-sub-title {
61
- font-size: .8em;
62
- opacity: .7;
60
+ font-size: 0.8em;
61
+ opacity: 0.7;
63
62
  font-weight: 400;
64
63
  }
65
64
  }
@@ -76,15 +75,15 @@ button:focus-visible {
76
75
  }
77
76
  .taxbit-error-message {
78
77
  color: red;
79
- font-size: .8em;
78
+ font-size: 0.8em;
80
79
  }
81
80
  .taxbit-notification {
82
81
  color: blue;
83
- font-size: .8em;
82
+ font-size: 0.8em;
84
83
  }
85
84
  .taxbit-hint {
86
- font-size: .8em;
87
- opacity: .7;
85
+ font-size: 0.8em;
86
+ opacity: 0.7;
88
87
  }
89
88
  }
90
89
 
@@ -94,7 +93,7 @@ button:focus-visible {
94
93
  align-items: center;
95
94
  }
96
95
  .taxbit-row-action-button {
97
- font-size: .8em;
96
+ font-size: 0.8em;
98
97
  padding: 0.2em 1em;
99
98
  }
100
99
 
@@ -106,7 +105,7 @@ button:focus-visible {
106
105
  }
107
106
 
108
107
  .taxbit-select-language:focus {
109
- border-bottom: solid 1px #E4EBF6;
108
+ border-bottom: solid 1px #e4ebf6;
110
109
  opacity: 1;
111
110
  }
112
111
 
@@ -120,7 +119,8 @@ button:focus-visible {
120
119
  line-height: 1.25em;
121
120
  }
122
121
  }
123
- .taxbit-input, .taxbit-select {
122
+ .taxbit-input,
123
+ .taxbit-select {
124
124
  box-sizing: border-box;
125
125
  height: 33px;
126
126
  width: 100%;
@@ -131,7 +131,8 @@ button:focus-visible {
131
131
  }
132
132
 
133
133
  @media only screen and (max-width: 600px) {
134
- .taxbit-input, .taxbit-select {
134
+ .taxbit-input,
135
+ .taxbit-select {
135
136
  font-size: 100%;
136
137
  }
137
138
  }
@@ -159,8 +160,12 @@ button:focus-visible {
159
160
  color: #aaa;
160
161
  }
161
162
 
163
+ .taxbit-placeholder:focus-within {
164
+ color: inherit;
165
+ }
166
+
162
167
  .taxbit-input-status-footer {
163
- margin-top: 5px
168
+ margin-top: 5px;
164
169
  }
165
170
 
166
171
  .taxbit-row-value {
@@ -187,12 +192,11 @@ button:focus-visible {
187
192
  margin-right: 50%;
188
193
  }
189
194
 
190
-
191
195
  .taxbit-step-actions {
192
196
  display: flex;
193
197
 
194
198
  padding-top: 8px;
195
- border-top: solid 1px #E4EBF6;
199
+ border-top: solid 1px #e4ebf6;
196
200
  margin-top: 12px;
197
201
 
198
202
  .taxbit-primary-actions {
@@ -229,7 +233,8 @@ button:focus-visible {
229
233
  margin-left: 10px;
230
234
  }
231
235
  }
232
- .taxbit-primary-actions, .taxbit-secondary-actions {
236
+ .taxbit-primary-actions,
237
+ .taxbit-secondary-actions {
233
238
  flex: 1;
234
239
  }
235
- }
240
+ }
@@ -1,7 +1,8 @@
1
- import { CountryCode } from "types/CountryCode";
1
+ import { CountryCode } from 'types/CountryCode';
2
2
  export declare const countryOptions: {
3
3
  value: CountryCode;
4
4
  }[];
5
5
  export declare const eUCountryOptions: {
6
6
  value: "NL" | "SK" | "AT" | "BE" | "BG" | "CY" | "CZ" | "DE" | "DK" | "EE" | "ES" | "FI" | "FR" | "GR" | "HR" | "HU" | "IE" | "IT" | "LT" | "LU" | "LV" | "MT" | "PL" | "PT" | "RO" | "SE" | "SI";
7
7
  }[];
8
+ export declare const isEuCountryCode: (countryCode: string | undefined) => boolean;
@@ -11,5 +11,5 @@ export declare const foreignAccountHolderAccountTypeOptions: readonly [{
11
11
  }, {
12
12
  readonly value: "disregardedEntity";
13
13
  }];
14
- export declare const foreignAccountHolderAccountTypes: ("individual" | "corporation" | "partnership" | "trust" | "other" | "disregardedEntity")[];
14
+ export declare const foreignAccountHolderAccountTypes: ("individual" | "other" | "trust" | "corporation" | "partnership" | "disregardedEntity")[];
15
15
  export type ForeignAccountHolderAccountType = (typeof foreignAccountHolderAccountTypeOptions)[number]["value"];
@@ -13,5 +13,5 @@ export declare const foreignOtherClassificationOptions: readonly [{
13
13
  }, {
14
14
  readonly value: "estate";
15
15
  }];
16
- export declare const foreignOtherClassifications: ("taxExemptOrganization" | "privateFoundation" | "internationalOrganization" | "centralBankOfIssue" | "foreignGovernmentControlledEntity" | "foreignGovernmentIntegralPart" | "estate")[];
16
+ export declare const foreignOtherClassifications: ("estate" | "taxExemptOrganization" | "privateFoundation" | "internationalOrganization" | "centralBankOfIssue" | "foreignGovernmentControlledEntity" | "foreignGovernmentIntegralPart")[];
17
17
  export type ForeignOtherClassification = (typeof foreignOtherClassificationOptions)[number]["value"];
@@ -19,5 +19,5 @@ export declare const usAccountHolderAccountTypeOptions: readonly [{
19
19
  }, {
20
20
  readonly value: "disregardedEntity";
21
21
  }];
22
- export declare const usAccountHolderAccountTypes: ("individual" | "partnership" | "other" | "disregardedEntity" | "soleProprietor" | "llc" | "smllc" | "cCorporation" | "sCorporation" | "trustEstate")[];
22
+ export declare const usAccountHolderAccountTypes: ("individual" | "smllc" | "llc" | "other" | "partnership" | "disregardedEntity" | "soleProprietor" | "cCorporation" | "sCorporation" | "trustEstate")[];
23
23
  export type UsAccountHolderAccountType = (typeof usAccountHolderAccountTypeOptions)[number]["value"];