@shipengine/js-api 1.12.0 → 1.13.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/funding-sources/types.d.ts +12 -4
- package/package.json +1 -1
|
@@ -61,10 +61,17 @@ export interface Term {
|
|
|
61
61
|
termType: string;
|
|
62
62
|
version: string;
|
|
63
63
|
}
|
|
64
|
-
export
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
export interface MetadataTermLink {
|
|
65
|
+
link: string;
|
|
66
|
+
locale: string;
|
|
67
|
+
title: string;
|
|
68
|
+
}
|
|
69
|
+
export interface MetadataOptionalTerm extends Term {
|
|
70
|
+
links: MetadataTermLink[];
|
|
71
|
+
}
|
|
72
|
+
export interface MetadataRequiredTerm extends Term {
|
|
73
|
+
links: MetadataTermLink[];
|
|
74
|
+
}
|
|
68
75
|
export declare enum MetadataCapability {
|
|
69
76
|
AutoFunding = "auto_funding",
|
|
70
77
|
UpdatePaymentMethod = "update_payment_method",
|
|
@@ -133,6 +140,7 @@ export interface MetadataResponse {
|
|
|
133
140
|
capabilities: MetadataCapability[] | null;
|
|
134
141
|
countryCode: string;
|
|
135
142
|
currencyCode: string;
|
|
143
|
+
optionalTerms: MetadataOptionalTerm[];
|
|
136
144
|
registrationRequirements: MetadataRegistrationRequirement[];
|
|
137
145
|
requiredTerms: MetadataRequiredTerm[];
|
|
138
146
|
};
|