UNPKG

@hyperbrowser/sdk

Version:

Node SDK for Hyperbrowser API

26 lines (25 loc) 957 B
import { BaseService } from "./base"; import { CreateProfileParams, ProfileResponse, CreateProfileResponse, ProfileListParams, ProfileListResponse } from "../types/profile"; import { BasicResponse } from "../types"; export declare class ProfilesService extends BaseService { /** * Create a new profile * @param params Configuration parameters for the new profile */ create(params?: CreateProfileParams): 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>; }