/** * @author songxiwen * @date 2020/12/07 17:29 */ import { GettingUsableApiKeyErrorType, GettingUsableApiKeySuccessType, ThirdPartyApiKeyListFilterRequestType, ThirdPartyApiKeyRequestType, ThirdPartyApiKeyResponseType, ThirdPartyPlatformListFilterRequestType, ThirdPartyPlatformRequestType, ThirdPartyPlatformResponseType } from './type'; export declare enum ApiKeyMicroserviceFunction { CreateThirdPartyApiKey = "ThirdPartyApiKeyService:createThirdPartyApiKey", GetThirdPartyPlatformById = "ThirdPartyApiKeyService:getThirdPartyPlatformById", GetUsableTinyApiKey = "ThirdPartyApiKeyService:getUsableTinyApiKey", GetThirdPartyApiKeyList = "ThirdPartyApiKeyService:getThirdPartyApiKeyList", GetThirdPartyApiKeyPageList = "ThirdPartyApiKeyService:getThirdPartyApiKeyPageList", GetThirdPartyApiKeyCount = "ThirdPartyApiKeyService:getThirdPartyApiKeyCount", CreateThirdPartyPlatform = "ThirdPartyApiKeyService:createThirdPartyPlatform", ChangeThirdPartyPlatformStatus = "ThirdPartyApiKeyService:changeThirdPartyPlatformStatus", GetThirdPartyPlatformList = "ThirdPartyApiKeyService:getThirdPartyPlatformList", GetThirdPartyPlatformPageList = "ThirdPartyApiKeyService:getThirdPartyPlatformPageList", GetThirdPartyPlatformCount = "ThirdPartyApiKeyService:getThirdPartyPlatformCount", UpdateTinyApiKeyRemainingCount = "ThirdPartyApiKeyService:updateTinyApiKeyRemainingCount" } export declare class ApiKeyMicroserviceHandler { static createThirdPartyApiKey(requestBody: ThirdPartyApiKeyRequestType): Promise; static getUsableTinyApiKey(): Promise | GettingUsableApiKeyErrorType>; static updateTinyApiKeyRemainingCount(requestBody: { thirdPartyApiKeyId: string; thirdPartyPlatformName: string; callerId: string; callerRole: string; }): Promise; static getThirdPartyPlatformById(requestBody: { id: string; }): Promise; static getThirdPartyApiKeyList(): Promise; static getThirdPartyApiKeyPageList(requestBody: ThirdPartyApiKeyListFilterRequestType): Promise; static getThirdPartyApiKeyCount(requestBody: ThirdPartyApiKeyListFilterRequestType): Promise; static createThirdPartyPlatform(requestBody: ThirdPartyPlatformRequestType): Promise; static changeThirdPartyPlatformStatus(requestBody: { id: string; isEnabled: boolean; }): Promise; static getThirdPartyPlatformList(): Promise; static getThirdPartyPlatformPageList(requestBody: ThirdPartyPlatformListFilterRequestType): Promise; static getThirdPartyPlatformCount(requestBody: ThirdPartyPlatformListFilterRequestType): Promise; }