tencentcloud-sdk-nodejs-live 4.1.117 → 4.1.135

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 CHANGED
@@ -62,6 +62,8 @@ npm install tencentcloud-sdk-slim-nodejs --save
62
62
 
63
63
  1. clone 代码到本地:
64
64
  ```
65
+ git clone https://cnb.cool/tencent/cloud/api/sdk/tencentcloud-sdk-nodejs
66
+ # 或者
65
67
  git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
66
68
  # 或者
67
69
  git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
@@ -135,7 +137,7 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
135
137
  // ...
136
138
  ```
137
139
 
138
- 实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts)。
140
+ 实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](src/common/interface.ts)。
139
141
 
140
142
  ## Common Client
141
143
 
@@ -143,17 +145,17 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
143
145
 
144
146
  **注意,您必须明确知道您调用的接口所需参数,否则可能会调用失败。**
145
147
 
146
- 详细使用请参阅示例:[使用 Common Client 进行调用](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples/common)
148
+ 详细使用请参阅示例:[使用 Common Client 进行调用](examples/common)
147
149
 
148
150
  ## 更多示例
149
151
 
150
- 请参考 [examples](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples) 目录。
152
+ 请参考 [examples](examples) 目录。
151
153
 
152
154
  # 相关配置
153
155
 
154
156
  ## 代理
155
157
 
156
- 如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
158
+ 如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
157
159
 
158
160
  # 凭证管理
159
161
 
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-live",
3
- "version": "4.1.117",
3
+ "version": "4.1.135",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -12,7 +12,8 @@
12
12
  "build:es": "tsc -p tsconfig.es.json",
13
13
  "build:slim": "node ./scripts/build_slim.js",
14
14
  "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
15
- "clean": "rimraf tencentcloud es"
15
+ "clean": "rimraf tencentcloud es",
16
+ "test:common": "vitest run"
16
17
  },
17
18
  "engines": {
18
19
  "node": ">=10"
@@ -44,9 +45,9 @@
44
45
  "url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
45
46
  },
46
47
  "devDependencies": {
47
- "@types/form-data": "^2.5.0",
48
+ "@types/ini": "^4.1.1",
48
49
  "@types/json-bigint": "^1.0.1",
49
- "@types/node": "^14.0.26",
50
+ "@types/node": "^18.0.0",
50
51
  "@types/node-fetch": "^2.5.7",
51
52
  "@types/uuid": "^9.0.8",
52
53
  "@typescript-eslint/eslint-plugin": "^2.34.0",
@@ -61,6 +62,7 @@
61
62
  "prettier": "^2.3.0",
62
63
  "rimraf": "^5.0.10",
63
64
  "ts-node": "^8.10.2",
64
- "typescript": "^3.9.7"
65
+ "typescript": "^5.9.2",
66
+ "vitest": "2.1.9"
65
67
  }
66
68
  }
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.live = void 0;
3
4
  var live_1 = require("./live");
4
5
  Object.defineProperty(exports, "live", { enumerable: true, get: function () { return live_1.live; } });
@@ -405,7 +405,7 @@ export interface DescribeLiveTranscodeDetailInfoRequest {
405
405
  /**
406
406
  * DescribeLiveSnapshotTemplates请求参数结构体
407
407
  */
408
- export declare type DescribeLiveSnapshotTemplatesRequest = null;
408
+ export type DescribeLiveSnapshotTemplatesRequest = null;
409
409
  /**
410
410
  * CreateLiveWatermarkRule返回参数结构体
411
411
  */
@@ -1049,7 +1049,7 @@ export interface DescribeLiveWatermarksRequest {
1049
1049
  /**
1050
1050
  * DescribeLiveWatermarkRules请求参数结构体
1051
1051
  */
1052
- export declare type DescribeLiveWatermarkRulesRequest = null;
1052
+ export type DescribeLiveWatermarkRulesRequest = null;
1053
1053
  /**
1054
1054
  * EnableOptimalSwitching请求参数结构体
1055
1055
  */
@@ -1281,7 +1281,7 @@ export interface CreatePullStreamConfigRequest {
1281
1281
  /**
1282
1282
  * DescribeLiveCerts请求参数结构体
1283
1283
  */
1284
- export declare type DescribeLiveCertsRequest = null;
1284
+ export type DescribeLiveCertsRequest = null;
1285
1285
  /**
1286
1286
  * DescribeLiveCert返回参数结构体
1287
1287
  */
@@ -3912,7 +3912,7 @@ export interface DescribeBackupStreamListRequest {
3912
3912
  /**
3913
3913
  * DescribeDeliverLogDownList请求参数结构体
3914
3914
  */
3915
- export declare type DescribeDeliverLogDownListRequest = null;
3915
+ export type DescribeDeliverLogDownListRequest = null;
3916
3916
  /**
3917
3917
  * 直播包信息。
3918
3918
  */
@@ -3986,7 +3986,7 @@ export interface LivePackageInfo {
3986
3986
  /**
3987
3987
  * DescribeLiveTimeShiftTemplates请求参数结构体
3988
3988
  */
3989
- export declare type DescribeLiveTimeShiftTemplatesRequest = null;
3989
+ export type DescribeLiveTimeShiftTemplatesRequest = null;
3990
3990
  /**
3991
3991
  * StopLiveStreamMonitor返回参数结构体
3992
3992
  */
@@ -5806,7 +5806,7 @@ export interface DescribeLiveStreamMonitorRequest {
5806
5806
  /**
5807
5807
  * DescribeLiveSnapshotRules请求参数结构体
5808
5808
  */
5809
- export declare type DescribeLiveSnapshotRulesRequest = null;
5809
+ export type DescribeLiveSnapshotRulesRequest = null;
5810
5810
  /**
5811
5811
  * DeleteLiveRecordRule返回参数结构体
5812
5812
  */
@@ -6458,7 +6458,7 @@ export interface DescribeLivePlayAuthKeyResponse {
6458
6458
  /**
6459
6459
  * DescribeLiveCallbackTemplates请求参数结构体
6460
6460
  */
6461
- export declare type DescribeLiveCallbackTemplatesRequest = null;
6461
+ export type DescribeLiveCallbackTemplatesRequest = null;
6462
6462
  /**
6463
6463
  * CreateLivePadRule请求参数结构体
6464
6464
  */
@@ -6887,11 +6887,11 @@ export interface ModifyLiveDomainCertBindingsResponse {
6887
6887
  /**
6888
6888
  * DescribeLiveRecordRules请求参数结构体
6889
6889
  */
6890
- export declare type DescribeLiveRecordRulesRequest = null;
6890
+ export type DescribeLiveRecordRulesRequest = null;
6891
6891
  /**
6892
6892
  * DescribeCasterUserStatus请求参数结构体
6893
6893
  */
6894
- export declare type DescribeCasterUserStatusRequest = null;
6894
+ export type DescribeCasterUserStatusRequest = null;
6895
6895
  /**
6896
6896
  * DescribeLiveStreamMonitor返回参数结构体
6897
6897
  */
@@ -7761,7 +7761,7 @@ export interface CertInfo {
7761
7761
  /**
7762
7762
  * DescribeLiveCallbackRules请求参数结构体
7763
7763
  */
7764
- export declare type DescribeLiveCallbackRulesRequest = null;
7764
+ export type DescribeLiveCallbackRulesRequest = null;
7765
7765
  /**
7766
7766
  * 导播台信息
7767
7767
  */
@@ -8866,7 +8866,7 @@ export interface DeleteCasterOutputInfoResponse {
8866
8866
  /**
8867
8867
  * DescribeLivePadRules请求参数结构体
8868
8868
  */
8869
- export declare type DescribeLivePadRulesRequest = null;
8869
+ export type DescribeLivePadRulesRequest = null;
8870
8870
  /**
8871
8871
  * DescribePullStreamConfigs返回参数结构体
8872
8872
  */
@@ -9220,7 +9220,7 @@ export interface ModifyLivePlayAuthKeyRequest {
9220
9220
  /**
9221
9221
  * DescribeLiveDelayInfoList请求参数结构体
9222
9222
  */
9223
- export declare type DescribeLiveDelayInfoListRequest = null;
9223
+ export type DescribeLiveDelayInfoListRequest = null;
9224
9224
  /**
9225
9225
  * DescribeLiveTranscodeTemplate返回参数结构体
9226
9226
  */
@@ -9697,7 +9697,7 @@ export interface DescribePlayErrorCodeSumInfoListResponse {
9697
9697
  /**
9698
9698
  * DescribeCasterList请求参数结构体
9699
9699
  */
9700
- export declare type DescribeCasterListRequest = null;
9700
+ export type DescribeCasterListRequest = null;
9701
9701
  /**
9702
9702
  * UnBindLiveDomainCert请求参数结构体
9703
9703
  */
@@ -9857,7 +9857,7 @@ export interface LiveCertDomainInfo {
9857
9857
  /**
9858
9858
  * DescribeLiveTimeShiftRules请求参数结构体
9859
9859
  */
9860
- export declare type DescribeLiveTimeShiftRulesRequest = null;
9860
+ export type DescribeLiveTimeShiftRulesRequest = null;
9861
9861
  /**
9862
9862
  * ForbidLiveDomain返回参数结构体
9863
9863
  */
@@ -11002,6 +11002,7 @@ export interface RecordParam {
11002
11002
  * 录制存储时长。
11003
11003
  单位秒,取值范围: 0 - 1500天。
11004
11004
  0:表示永久存储。
11005
+ 注:此参数只对录制到VOD有效。
11005
11006
  */
11006
11007
  StorageTime?: number;
11007
11008
  /**
@@ -11218,7 +11219,7 @@ export interface AuditKeywordDeleteDetail {
11218
11219
  /**
11219
11220
  * DescribeLivePadTemplates请求参数结构体
11220
11221
  */
11221
- export declare type DescribeLivePadTemplatesRequest = null;
11222
+ export type DescribeLivePadTemplatesRequest = null;
11222
11223
  /**
11223
11224
  * EnableLiveDomain请求参数结构体
11224
11225
  */