polyv-live-cli
Version:
CLI tool for managing PolyV live streaming services.
76 lines • 3.36 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GroupServiceSdk = void 0;
const sdk_1 = require("../sdk");
class GroupServiceSdk {
constructor(authConfig, config) {
this.authConfig = authConfig;
this.config = config;
}
async listAllocateLog(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.group.listAllocateLog(params);
}
async setConcurrences(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.group.setConcurrences(params);
}
async setFlow(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.group.setFlow(params);
}
async setLiveDurations(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.group.setLiveDurations(params);
}
async setSpace(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.group.setSpace(params);
}
async createGroupUser(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4Group.createGroupUser(params);
}
async listGroupUserPackages(params = {}) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4Group.listGroupUserPackages(params);
}
async updateGroupUserPackage(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4Group.updateGroupUserPackage(params);
}
async listBillingDaily(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4Group.listBillingDaily(params);
}
async listGroupUserBillingDaily(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4Group.listGroupUserBillingDaily(params);
}
async listAllocationLogs(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4Group.listAllocationLogs(params);
}
async healthCheck() {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.other.healthCheck();
}
async createIsolation(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.other.createIsolation(params);
}
async getPackageValidityList(params = {}) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.other.getPackageValidityList(params);
}
async updatePackageValidity(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.other.updatePackageValidity(params);
}
async resetAppSecret(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.other.resetAppSecret(params);
}
}
exports.GroupServiceSdk = GroupServiceSdk;
//# sourceMappingURL=group-service.js.map