@txgw/payout-components 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +21 -21
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -22,34 +22,34 @@ declare interface BeneficiaryFormCustomizations {
|
|
|
22
22
|
|
|
23
23
|
declare type BeneficiaryFormFinalValues = {
|
|
24
24
|
beneficiary: {
|
|
25
|
-
address
|
|
26
|
-
country
|
|
27
|
-
street_address
|
|
25
|
+
address?: {
|
|
26
|
+
country?: string;
|
|
27
|
+
street_address?: string;
|
|
28
28
|
};
|
|
29
29
|
bank_account?: {
|
|
30
|
-
account_number
|
|
31
|
-
account_routing_type1
|
|
32
|
-
account_routing_value1
|
|
30
|
+
account_number?: string;
|
|
31
|
+
account_routing_type1?: string;
|
|
32
|
+
account_routing_value1?: string;
|
|
33
33
|
bank_country_code: string;
|
|
34
|
-
bank_name
|
|
35
|
-
swift_code
|
|
34
|
+
bank_name?: string;
|
|
35
|
+
swift_code?: string;
|
|
36
36
|
};
|
|
37
37
|
wallet_account?: {
|
|
38
|
-
account_id
|
|
39
|
-
sub_account_id
|
|
40
|
-
wallet_type
|
|
41
|
-
country_code
|
|
42
|
-
account_routing_type1
|
|
43
|
-
account_routing_value1
|
|
38
|
+
account_id?: string;
|
|
39
|
+
sub_account_id?: string;
|
|
40
|
+
wallet_type?: string;
|
|
41
|
+
country_code?: string;
|
|
42
|
+
account_routing_type1?: string;
|
|
43
|
+
account_routing_value1?: string;
|
|
44
44
|
};
|
|
45
|
-
entity_details
|
|
46
|
-
mobile_number
|
|
47
|
-
name
|
|
48
|
-
type
|
|
45
|
+
entity_details?: {
|
|
46
|
+
mobile_number?: string;
|
|
47
|
+
name?: string;
|
|
48
|
+
type?: EntityDetailType;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
payment_method
|
|
52
|
-
receive_currency
|
|
51
|
+
payment_method?: string;
|
|
52
|
+
receive_currency?: string;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
declare type BeneficiaryFormOptions<T extends keyof typeof ElementsMap> = Omit<BeneficiaryFormProps, keyof BaseProps<T>>;
|
|
@@ -96,7 +96,7 @@ declare interface LayoutSection {
|
|
|
96
96
|
declare type Locale = "en";
|
|
97
97
|
|
|
98
98
|
declare interface Props extends BaseProps<"beneficiaryForm"> {
|
|
99
|
-
defaultValues?: BeneficiaryFormFinalValues
|
|
99
|
+
defaultValues?: Partial<BeneficiaryFormFinalValues>;
|
|
100
100
|
customizations?: BeneficiaryFormCustomizations;
|
|
101
101
|
}
|
|
102
102
|
|