tencentcloud-sdk-nodejs-live 4.0.1046 → 4.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -5
- package/es/index.js +1 -0
- package/es/services/index.js +1 -0
- package/es/services/live/index.js +4 -0
- package/es/services/live/v20180801/index.js +6 -0
- package/es/services/live/v20180801/live_client.js +591 -0
- package/es/services/live/v20180801/live_models.js +0 -0
- package/package.json +26 -8
- package/tencentcloud/services/live/v20180801/index.js +2 -1
- package/tencentcloud/services/live/v20180801/live_client.js +2 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +18 -14
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/index.ts +0 -1
- package/src/services/live/index.ts +0 -5
- package/src/services/live/v20180801/index.ts +0 -6
- package/src/services/live/v20180801/live_client.ts +0 -2603
- package/src/services/live/v20180801/live_models.ts +0 -11670
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-live",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "tencentcloud/index.js",
|
|
3
|
+
"version": "4.1.7",
|
|
4
|
+
"description": "腾讯云 API NODEJS SDK",
|
|
5
|
+
"main": "./tencentcloud/index.js",
|
|
6
|
+
"module": "./es/index.js",
|
|
7
|
+
"types": "./tencentcloud/index.d.ts",
|
|
6
8
|
"scripts": {
|
|
7
9
|
"test": "mocha -t 10000",
|
|
8
|
-
"build": "
|
|
9
|
-
"
|
|
10
|
+
"build": "concurrently 'npm:build:cjs' 'npm:build:es'",
|
|
11
|
+
"build:cjs": "tsc -p tsconfig.json",
|
|
12
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
13
|
+
"build:slim": "node ./scripts/build_slim.js",
|
|
14
|
+
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
|
|
15
|
+
"clean": "rimraf tencentcloud es"
|
|
10
16
|
},
|
|
11
17
|
"engines": {
|
|
12
18
|
"node": ">=10"
|
|
13
19
|
},
|
|
20
|
+
"files": [
|
|
21
|
+
"tencentcloud",
|
|
22
|
+
"es"
|
|
23
|
+
],
|
|
14
24
|
"keywords": [
|
|
15
25
|
"tencentcloudapi",
|
|
16
26
|
"tencentcloud",
|
|
@@ -22,7 +32,7 @@
|
|
|
22
32
|
"author": "tencentcloudapi",
|
|
23
33
|
"license": "Apache-2.0",
|
|
24
34
|
"dependencies": {
|
|
25
|
-
"tencentcloud-sdk-nodejs-common": "
|
|
35
|
+
"tencentcloud-sdk-nodejs-common": "*",
|
|
26
36
|
"tslib": "1.13.0"
|
|
27
37
|
},
|
|
28
38
|
"directories": {
|
|
@@ -35,14 +45,22 @@
|
|
|
35
45
|
},
|
|
36
46
|
"devDependencies": {
|
|
37
47
|
"@types/form-data": "^2.5.0",
|
|
48
|
+
"@types/json-bigint": "^1.0.1",
|
|
38
49
|
"@types/node": "^14.0.26",
|
|
39
50
|
"@types/node-fetch": "^2.5.7",
|
|
51
|
+
"@types/uuid": "^9.0.8",
|
|
40
52
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
41
53
|
"@typescript-eslint/parser": "^2.34.0",
|
|
54
|
+
"babel-eslint": "^10.0.2",
|
|
42
55
|
"chai": "^4.2.0",
|
|
56
|
+
"concurrently": "^6.5.1",
|
|
57
|
+
"esbuild": "^0.25.0",
|
|
43
58
|
"eslint": "^6.8.0",
|
|
44
|
-
"
|
|
59
|
+
"eslint-plugin-react": "^7.17.0",
|
|
60
|
+
"mocha": "^8.4.0",
|
|
61
|
+
"prettier": "^2.3.0",
|
|
62
|
+
"rimraf": "^5.0.10",
|
|
45
63
|
"ts-node": "^8.10.2",
|
|
46
64
|
"typescript": "^3.9.7"
|
|
47
65
|
}
|
|
48
|
-
}
|
|
66
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.v20180801 = void 0;
|
|
4
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Models = tslib_1.__importStar(require("./live_models"));
|
|
5
6
|
const live_client_1 = require("./live_client");
|
|
6
7
|
exports.v20180801 = {
|
|
7
8
|
Client: live_client_1.Client,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Client = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
6
|
/*
|
|
6
7
|
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
@@ -18,7 +19,7 @@ exports.Client = void 0;
|
|
|
18
19
|
* specific language governing permissions and limitations
|
|
19
20
|
* under the License.
|
|
20
21
|
*/
|
|
21
|
-
const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
|
|
22
|
+
const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
|
|
22
23
|
/**
|
|
23
24
|
* live client
|
|
24
25
|
* @class
|
|
@@ -2095,11 +2095,15 @@ export interface TaskDurationInfo {
|
|
|
2095
2095
|
/**
|
|
2096
2096
|
* 拉流转推任务的时间点
|
|
2097
2097
|
*/
|
|
2098
|
-
Time
|
|
2098
|
+
Time?: string;
|
|
2099
2099
|
/**
|
|
2100
2100
|
* 拉流转推任务的时长,单位为分钟
|
|
2101
2101
|
*/
|
|
2102
|
-
Duration
|
|
2102
|
+
Duration?: number;
|
|
2103
|
+
/**
|
|
2104
|
+
* 拉流转推任务的时长,单位为秒
|
|
2105
|
+
*/
|
|
2106
|
+
DurationSecond?: number;
|
|
2103
2107
|
}
|
|
2104
2108
|
/**
|
|
2105
2109
|
* 规则信息
|
|
@@ -4825,27 +4829,19 @@ export interface CasterLayoutParam {
|
|
|
4825
4829
|
*/
|
|
4826
4830
|
LayerId: number;
|
|
4827
4831
|
/**
|
|
4828
|
-
*
|
|
4829
|
-
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
|
4830
|
-
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上所占的比例值。
|
|
4832
|
+
* 布局层宽度。单位为百分比,范围[0.0,1.0],表示该层在最终画面上所占的比例值。
|
|
4831
4833
|
*/
|
|
4832
4834
|
LayerWidth: number;
|
|
4833
4835
|
/**
|
|
4834
|
-
*
|
|
4835
|
-
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
|
4836
|
-
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上所占的比例值。
|
|
4836
|
+
* 布局层高度。单位为百分比,范围[0.0,1.0], 表示该层在最终画面上所占的比例值。
|
|
4837
4837
|
*/
|
|
4838
4838
|
LayerHeight: number;
|
|
4839
4839
|
/**
|
|
4840
|
-
* 布局层位置x
|
|
4841
|
-
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
|
4842
|
-
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上x坐标所占的比例值。
|
|
4840
|
+
* 布局层位置x坐标。单位为百分比,范围[0.0,1.0],表示该层在最终画面上x坐标所占的比例值。
|
|
4843
4841
|
*/
|
|
4844
4842
|
LayerLocationX: number;
|
|
4845
4843
|
/**
|
|
4846
|
-
* 布局层位置Y
|
|
4847
|
-
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
|
4848
|
-
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面Y坐标上所占的比例值。
|
|
4844
|
+
* 布局层位置Y坐标。单位为百分比,范围[0.0,1.0], 表示该层在最终画面Y坐标上所占的比例值。
|
|
4849
4845
|
*/
|
|
4850
4846
|
LayerLocationY: number;
|
|
4851
4847
|
/**
|
|
@@ -5447,6 +5443,10 @@ export interface DescribePullTransformPushInfoRequest {
|
|
|
5447
5443
|
默认:查询国内+国外的数据。
|
|
5448
5444
|
*/
|
|
5449
5445
|
MainlandOrOversea?: string;
|
|
5446
|
+
/**
|
|
5447
|
+
* 可选值: PullLivePushLive:拉流源类型为直播 PullVodPushLive:拉流源类型为点播 PullPicPushLive:拉流源类型为图片 默认:查询全部拉流源类型
|
|
5448
|
+
*/
|
|
5449
|
+
SourceType?: string;
|
|
5450
5450
|
}
|
|
5451
5451
|
/**
|
|
5452
5452
|
* DescribeBillBandwidthAndFluxList请求参数结构体
|
|
@@ -7626,6 +7626,10 @@ export interface DescribePullTransformPushInfoResponse {
|
|
|
7626
7626
|
* 拉流转推得总时长
|
|
7627
7627
|
*/
|
|
7628
7628
|
TotalDuration?: number;
|
|
7629
|
+
/**
|
|
7630
|
+
* 拉流转推得总时长(秒)
|
|
7631
|
+
*/
|
|
7632
|
+
TotalDurationSecond?: number;
|
|
7629
7633
|
/**
|
|
7630
7634
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7631
7635
|
*/
|
package/index.d.ts
DELETED
package/index.js
DELETED
package/prettier.config.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// prettier.config.js
|
|
2
|
-
module.exports = {
|
|
3
|
-
// 一行最多 100 字符
|
|
4
|
-
printWidth: 100,
|
|
5
|
-
// 使用 4 个空格缩进
|
|
6
|
-
tabWidth: 2,
|
|
7
|
-
// 不使用缩进符,而使用空格
|
|
8
|
-
useTabs: false,
|
|
9
|
-
// 行尾需要有分号
|
|
10
|
-
semi: false,
|
|
11
|
-
// 使用单引号
|
|
12
|
-
singleQuote: false,
|
|
13
|
-
// 对象的 key 仅在必要时用引号
|
|
14
|
-
quoteProps: "as-needed",
|
|
15
|
-
// jsx 不使用单引号,而使用双引号
|
|
16
|
-
jsxSingleQuote: false,
|
|
17
|
-
// 末尾不需要逗号
|
|
18
|
-
trailingComma: "es5",
|
|
19
|
-
// 大括号内的首尾需要空格
|
|
20
|
-
bracketSpacing: true,
|
|
21
|
-
// jsx 标签的反尖括号需要换行
|
|
22
|
-
jsxBracketSameLine: false,
|
|
23
|
-
// 箭头函数,只有一个参数的时候,也需要括号
|
|
24
|
-
arrowParens: "always",
|
|
25
|
-
// 每个文件格式化的范围是文件的全部内容
|
|
26
|
-
rangeStart: 0,
|
|
27
|
-
rangeEnd: Infinity,
|
|
28
|
-
// 不需要写文件开头的 @prettier
|
|
29
|
-
requirePragma: false,
|
|
30
|
-
// 不需要自动在文件开头插入 @prettier
|
|
31
|
-
insertPragma: false,
|
|
32
|
-
// 使用默认的折行标准
|
|
33
|
-
proseWrap: "preserve",
|
|
34
|
-
// 根据显示样式决定 html 要不要折行
|
|
35
|
-
htmlWhitespaceSensitivity: "css",
|
|
36
|
-
// 换行符使用 lf
|
|
37
|
-
endOfLine: "lf",
|
|
38
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./services"
|
package/src/services/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { live } from "./live"
|