diff --git a/main.d.ts b/main.d.ts index ee79550c4048540b712cb369fa8b1f2039791950..2d615bbe339d215b0a8a0147391e971f06532a3d 100644 --- a/main.d.ts +++ b/main.d.ts @@ -1,4 +1,4 @@ -export * from './interface' +// export * from './interface' import { ActivateInitProfileRequestConfig, AlbumRequestConfig, @@ -182,13 +182,14 @@ import { APIBaseResponse, } from './interface' // Start -export interface Response { +// export interface Response { +interface Response { status: number // The Http Response Code body: T // API Response body cookie: string[] } -interface SDKInstance { +interface APIInstance { activate_init_profile: ( params: ActivateInitProfileRequestConfig, ) => Promise> @@ -669,7 +670,8 @@ interface SDKInstance { ) => Promise> weblog: (params: WeblogRequestConfig) => Promise> } - +interface SDKInstance extends APIInstance { + default: APIInstance +} declare const SDK: SDKInstance - -export default SDK +export = SDK