UNPKG

@hyperbrowser/sdk

Version:

Node SDK for Hyperbrowser API

25 lines (24 loc) 842 B
import { BaseService } from "./base"; import { ProfileResponse, CreateProfileResponse, ProfileListParams, ProfileListResponse } from "../types/profile"; import { BasicResponse } from "../types"; export declare class ProfilesService extends BaseService { /** * Create a new profile */ create(): Promise<CreateProfileResponse>; /** * Get details of an existing profile * @param id The ID of the profile to get */ get(id: string): Promise<ProfileResponse>; /** * Delete an existing profile * @param id The ID of the profile to delete */ delete(id: string): Promise<BasicResponse>; /** * List all profiles with optional pagination * @param params Optional parameters to filter the profiles */ list(params?: ProfileListParams): Promise<ProfileListResponse>; }