/** * @author songxiwen * @date 2020/12/07 17:29 */ export declare type ThirdPartyPlatformRequestType = { name: string; limit: number; cycle: string; authFields: object; }; export declare type ThirdPartyApiKeyRequestType = { thirdPartyPlatformId: string; key: any; isPaid: boolean; }; export declare type ThirdPartyPlatformResponseType = { id: string; name: string; limit: number; cycle: string; authFields: object; isEnabled: boolean; createdAt: Date; updatedAt: Date; }; export declare type ThirdPartyApiKeyResponseType = { id: string; thirdPartyPlatform: ThirdPartyPlatformResponseType; key: any; isEnabled: boolean; isPaid: boolean; remainingCount: number; resetAt: Date; createdAt: Date; updatedAt: Date; }; export declare type ThirdPartyApiKeyListFilterRequestType = { pageIndex: number; pageSize: number; thirdPartyPlatformId?: string; order: { [key: string]: number; } | {}; }; export declare type ThirdPartyPlatformListFilterRequestType = { pageIndex: number; pageSize: number; order: { [key: string]: number; } | {}; }; export declare type GettingUsableApiKeySuccessType = { code: number; data: { thirdPartyApiKeyId: string; key: T; }; }; export declare type GettingUsableApiKeyErrorType = { code: number; message: string; };