UNPKG

stability-ai

Version:
25 lines (24 loc) 576 B
import StabilityAI from '..'; export interface Organizations { id: string; is_default: boolean; name: string; role: string; } export type AccountResponse = { email: string; id: string; organizations: Organizations[]; profile_picture?: string; }; /** * Stability Get Balance (v1/user) */ export declare function account(this: StabilityAI): Promise<AccountResponse>; export type BalanceResponse = { credits: number; }; /** * Stability Get Balance (v1/user) */ export declare function balance(this: StabilityAI): Promise<BalanceResponse>;