UNPKG

tencentcloud-sdk-nodejs

Version:
236 lines (235 loc) 7.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Client = void 0; /* eslint-disable @typescript-eslint/no-unused-vars */ /* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ const abstract_client_1 = require("../../../common/abstract_client"); /** * vcube client * @class */ class Client extends abstract_client_1.AbstractClient { constructor(clientConfig) { super("vcube.tencentcloudapi.com", "2022-04-10", clientConfig); } /** * 续期测试license */ async ModifyTrialLicense(req, cb) { return this.request("ModifyTrialLicense", req, cb); } /** * 续期测试版优图美视 */ async RenewTestXMagic(req, cb) { return this.request("RenewTestXMagic", req, cb); } /** * 查询视立方 license 资源,所有的资源包 */ async DescribeVcubeResources(req, cb) { return this.request("DescribeVcubeResources", req, cb); } /** * 创建应用并绑定license或者XMagic */ async CreateApplicationAndBindLicense(req, cb) { return this.request("CreateApplicationAndBindLicense", req, cb); } /** * 创建 web 播放器基础版 */ async CreateApplicationAndWebPlayerLicense(req, cb) { return this.request("CreateApplicationAndWebPlayerLicense", req, cb); } /** * 用途美视资源包用于开通正式优图美视 */ async DescribeXMagicResource(req, cb) { return this.request("DescribeXMagicResource", req, cb); } /** * 更改测试包名信息 */ async ModifyApplication(req, cb) { return this.request("ModifyApplication", req, cb); } /** * 修改正式应用的包名称 */ async ModifyFormalApplication(req, cb) { return this.request("ModifyFormalApplication", req, cb); } /** * 查询用户个性配置 */ async DescribeUserConfig(req, cb) { return this.request("DescribeUserConfig", req, cb); } /** * 获取临时秘钥,用于图片,特效包上传 */ async DescribeSTS(req, cb) { return this.request("DescribeSTS", req, cb); } /** * 修改内置应用包名 */ async ModifyPresetApplication(req, cb) { return this.request("ModifyPresetApplication", req, cb); } /** * 查询视立方 license 资源,包括资源包赠送和直接购买的资源 */ async DescribeVcubeResourcesList(req, cb) { return this.request("DescribeVcubeResourcesList", req, cb); } /** * 开通测试license */ async CreateTrialLicense(req, cb) { return this.request("CreateTrialLicense", req, cb); } /** * 正式license 升降配,点播精简版、基础版 */ async ModifyLicense(req, cb) { return this.request("ModifyLicense", req, cb); } /** * 查询用户license, 按照应用分类 */ async DescribeVcubeApplicationAndLicense(req, cb) { return this.request("DescribeVcubeApplicationAndLicense", req, cb); } /** * 将测试xmagic升级到正式版 */ async UpdateTestXMagic(req, cb) { return this.request("UpdateTestXMagic", req, cb); } /** * 更新优图美视的申请信息 Status 为2,3的时候可用 */ async UpdateXMagic(req, cb) { return this.request("UpdateXMagic", req, cb); } /** * 测试 license 升级为正式 license */ async UpdateTrialLicense(req, cb) { return this.request("UpdateTrialLicense", req, cb); } /** * 查询用户优图license, 按照应用分类 */ async DescribeVcubeApplicationAndXMagicList(req, cb) { return this.request("DescribeVcubeApplicationAndXMagicList", req, cb); } /** * 查询用户点播直播等license, 按照应用分类,国际站专用 */ async DescribeVcubeApplicationAndPlayList(req, cb) { return this.request("DescribeVcubeApplicationAndPlayList", req, cb); } /** * 总览页查询临期License列表,和统计数据 */ async DescribeLicenseList(req, cb) { return this.request("DescribeLicenseList", req, cb); } /** * 创建活动license */ async CreateActivityLicense(req, cb) { return this.request("CreateActivityLicense", req, cb); } /** * 绑定license */ async CreateLicense(req, cb) { return this.request("CreateLicense", req, cb); } /** * 申请开通测试版腾讯特效 */ async CreateTestXMagic(req, cb) { return this.request("CreateTestXMagic", req, cb); } /** * 续期国际站视频播放功能和中国站web基础版 */ async RenewVideo(req, cb) { return this.request("RenewVideo", req, cb); } /** * 正式license 续期与变更有效期 */ async RenewLicense(req, cb) { return this.request("RenewLicense", req, cb); } /** * 创建测试应用并开通测试 license */ async CreateTrialApplicationAndLicense(req, cb) { return this.request("CreateTrialApplicationAndLicense", req, cb); } /** * 用于优图美视资源列表展示 */ async DescribeXMagicResourceList(req, cb) { return this.request("DescribeXMagicResourceList", req, cb); } /** * 查询测试应用可以开通的功能 */ async DescribeTrialFeature(req, cb) { return this.request("DescribeTrialFeature", req, cb); } /** * x08开通正式版优图美视功能,针对已经有Application的情况 */ async CreateXMagic(req, cb) { return this.request("CreateXMagic", req, cb); } /** * 创建应用和视频播放license 目前只有国际站可以用 */ async CreateApplicationAndVideo(req, cb) { return this.request("CreateApplicationAndVideo", req, cb); } /** * 查询功能列表 */ async DescribeFeatureList(req, cb) { return this.request("DescribeFeatureList", req, cb); } /** * 查询产品动态 */ async DescribeNews(req, cb) { return this.request("DescribeNews", req, cb); } /** * 使用一个腾讯特效资源,更新现在的腾讯特效license,license功能和到期时间会以新的资源为准,老资源会被替换下来 */ async ModifyXMagic(req, cb) { return this.request("ModifyXMagic", req, cb); } } exports.Client = Client;