UNPKG

anchorbrowser

Version:

The official TypeScript library for the Anchorbrowser API

32 lines 959 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.All = void 0; const resource_1 = require("../../core/resource.js"); class All extends resource_1.APIResource { /** * Terminates all active browser sessions associated with the provided API key. * * @example * ```ts * const successResponse = await client.sessions.all.delete(); * ``` */ delete(options) { return this._client.delete('/v1/sessions/all', options); } /** * Retrieves status information for all browser sessions associated with the API * key. * * @example * ```ts * const response = await client.sessions.all.status(); * ``` */ status(options) { return this._client.get('/v1/sessions/all/status', options); } } exports.All = All; //# sourceMappingURL=all.js.map