import { APIResource } from "../core/resource.js"; import * as Shared from "./shared.js"; import { APIPromise } from "../core/api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; /** * AccountService manages account-level operations. * Accounts are the top-level organizational unit in the system. * All operations are scoped to the authenticated account determined by the JWT token. * * Authentication: Bearer token (JWT) * Scope: Account-level operations */ export declare class AccountResource extends APIResource { /** * Retrieves the current account for the token accessing the API. Useful to check * if the credentials are valid. */ retrieve(options?: RequestOptions): APIPromise; } export interface Account { /** * AccountResourceMetadata is used to represent a resource that is associated to an * account but not to a workspace. */ metadata: Shared.AccountResourceMetadata; spec: Account.Spec; } export declare namespace Account { interface Spec { billingEmail?: string; description?: string; domain?: string; workspaces?: Array; } } export declare namespace AccountResource { export { type Account as Account }; } //# sourceMappingURL=account.d.ts.map