polyv-live-cli
Version:
CLI tool for managing PolyV live streaming services.
32 lines • 1.34 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InviteSalesServiceSdk = void 0;
const sdk_1 = require("../sdk");
class InviteSalesServiceSdk {
constructor(authConfig, config) {
this.authConfig = authConfig;
this.config = config;
}
async listInviteSales(params = {}) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4User.listInviteSales(params);
}
async addInviteSale(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4User.addInviteSale(params);
}
async updateInviteSale(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4User.updateInviteSale(params);
}
async removeInviteSale(params) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4User.removeInviteSale(params);
}
async listFollowViewers(params = {}) {
const client = (0, sdk_1.createSdkClient)(this.authConfig, this.config.baseUrl);
return client.v4User.listFollowViewers(params);
}
}
exports.InviteSalesServiceSdk = InviteSalesServiceSdk;
//# sourceMappingURL=invite-sales-service.js.map