/** @format */
/* eslint-disable */

declare namespace API {
	type PhoneRegisterRequest = {
		phone?: string;
		userName?: string;
		password?: string;
		confirmPassword?: string;
		activeCode?: string;
	};
	type LoginRequest = {
		userName?: string;
		password?: string;
		token: string;
		deg: number;
	};
	type LoginByPhoneRequest = {
		phone?: string;
		activeCode?: string;
		token: string;
		deg: number;
	};
	type findPasswordRequest = {
		phone?: string;
		password?: string;
		confirmPassword?: string;
		activeCode?: string;
		token: string;
		deg: number;
	};
	type AliOSSConfigRequest = {
		userId?:number;
		endpoint?:string;
		accessKeyId?:string;
		accessKeySecret?:string;
	}
	type MinioOSSConfigRequest = {
		userId?:number;
		endpoint?:string;
		accessKey?:string;
		secretKey?:string;
	}
	type QiniuOSSConfigRequest = {
		userId?:number;
		endpoint?:string;
		accessKey?:string;
		secretKey?:string;
		region?:string;
	}
	type TencentOSSConfigRequest = {
		userId?:number;
		appId?:string;
		secretKey?:string;
		region?:string;
	}
}
