@shipengine/js-api 4.16.0 → 4.16.2
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/account-addons/api.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ export declare class AccountAddonsAPI {
|
|
|
11
11
|
* The `list` method retrieves a list of all available addons, also includes
|
|
12
12
|
* if its avaiable for the current user
|
|
13
13
|
*/
|
|
14
|
-
list: () => Promise<import("axios").AxiosResponse<
|
|
14
|
+
list: () => Promise<import("axios").AxiosResponse<{
|
|
15
|
+
addons: Addon[];
|
|
16
|
+
}, any>>;
|
|
15
17
|
}
|
package/auctane-pay/types.d.ts
CHANGED
|
@@ -144,7 +144,7 @@ export interface PaymentMethod {
|
|
|
144
144
|
* The PaymentMethod from the Update response
|
|
145
145
|
*/
|
|
146
146
|
export type UpdatePaymentMethodResponse = Omit<PaymentMethod, "sourceAccountId" | "paymentMethodType" | "institutionName">;
|
|
147
|
-
export type IdentityProvider = "
|
|
147
|
+
export type IdentityProvider = "plaid";
|
|
148
148
|
export type IdentityVerificationResponse = {
|
|
149
149
|
/** Provider used for the identity verification */
|
|
150
150
|
identityProvider: IdentityProvider;
|
|
@@ -152,8 +152,8 @@ export type IdentityVerificationResponse = {
|
|
|
152
152
|
/** URL of the provider to start the identity verification */
|
|
153
153
|
verificationUrl: string;
|
|
154
154
|
};
|
|
155
|
-
export type PaymentAccountTrustLevel = "
|
|
156
|
-
export type PaymentAccountEnrollmentStatus = "
|
|
155
|
+
export type PaymentAccountTrustLevel = "new" | "trusted" | "restricted" | "grandfathered";
|
|
156
|
+
export type PaymentAccountEnrollmentStatus = "no_set" | "enrolled" | "prohibited" | "opted_out";
|
|
157
157
|
export type PaymentAccountResponse = {
|
|
158
158
|
/** Boolean to know if there is a IDV in progress */
|
|
159
159
|
isVerificationRequested: boolean;
|