UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

24 lines 923 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RobotServiceSdk = void 0; const sdk_1 = require("../sdk"); class RobotServiceSdk { constructor(authConfig, config) { this.authConfig = authConfig; this.config = config; } async listRobots(params = {}) { const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl); return client.v4Robot.listRobots(params); } async batchSaveRobots(params) { const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl); return client.v4Robot.batchSaveRobots(params); } async batchDeleteRobots(params) { const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl); return client.v4Robot.batchDeleteRobots(params); } } exports.RobotServiceSdk = RobotServiceSdk; //# sourceMappingURL=robot-service.js.map