|
@@ -97,6 +97,19 @@ export interface IdsUser {
|
|
|
icon_url?: string;
|
|
|
source: string;
|
|
|
}
|
|
|
+export interface IdsLogin {
|
|
|
+ open_type?: string;
|
|
|
+ weixin_code?: string;
|
|
|
+ weibo_token?: string;
|
|
|
+ login_name?: string;
|
|
|
+ email?: string;
|
|
|
+ mobile?: string;
|
|
|
+ password?: string;
|
|
|
+ captcha?: string;
|
|
|
+ client_id?: string;
|
|
|
+ xAPP?: string;
|
|
|
+ xVersion?: string;
|
|
|
+}
|
|
|
export declare const randomtail: () => string;
|
|
|
export declare class Ids {
|
|
|
config: IdsConfig;
|
|
@@ -111,5 +124,5 @@ export declare class Ids {
|
|
|
putProvider(data: IdsProvider, config?: RequestConfig): Promise<any>;
|
|
|
putSolution(data: IdsSolution, config?: RequestConfig): Promise<any>;
|
|
|
createUser(data: IdsUser, config?: RequestConfig): Promise<any>;
|
|
|
- login(data: IdsUser, config?: RequestConfig): Promise<any>;
|
|
|
+ login(data: IdsLogin, config?: RequestConfig): Promise<any>;
|
|
|
}
|