tencentcloud-sdk-nodejs-vod 4.1.113 → 4.1.119

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.
@@ -1,6 +1,6 @@
1
- import { v20180717 } from "./v20180717";
2
1
  import { v20240718 } from "./v20240718";
2
+ import { v20180717 } from "./v20180717";
3
3
  export const vod = {
4
- v20180717: v20180717,
5
4
  v20240718: v20240718,
5
+ v20180717: v20180717,
6
6
  };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-vod",
3
- "version": "4.1.113",
3
+ "version": "4.1.119",
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,8 @@
44
45
  "url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
45
46
  },
46
47
  "devDependencies": {
47
- "@types/form-data": "^2.5.0",
48
48
  "@types/json-bigint": "^1.0.1",
49
- "@types/node": "^14.0.26",
49
+ "@types/node": "^18.0.0",
50
50
  "@types/node-fetch": "^2.5.7",
51
51
  "@types/uuid": "^9.0.8",
52
52
  "@typescript-eslint/eslint-plugin": "^2.34.0",
@@ -61,6 +61,7 @@
61
61
  "prettier": "^2.3.0",
62
62
  "rimraf": "^5.0.10",
63
63
  "ts-node": "^8.10.2",
64
- "typescript": "^3.9.7"
64
+ "typescript": "^5.9.2",
65
+ "vitest": "2.1.9"
65
66
  }
66
67
  }
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.vod = void 0;
3
4
  var vod_1 = require("./vod");
4
5
  Object.defineProperty(exports, "vod", { enumerable: true, get: function () { return vod_1.vod; } });
@@ -1,10 +1,10 @@
1
1
  export declare const vod: {
2
- v20180717: {
3
- Client: typeof import("./v20180717/vod_client").Client;
4
- Models: typeof import("./v20180717/vod_models");
5
- };
6
2
  v20240718: {
7
3
  Client: typeof import("./v20240718/vod_client").Client;
8
4
  Models: typeof import("./v20240718/vod_models");
9
5
  };
6
+ v20180717: {
7
+ Client: typeof import("./v20180717/vod_client").Client;
8
+ Models: typeof import("./v20180717/vod_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.vod = void 0;
4
- const v20180717_1 = require("./v20180717");
5
4
  const v20240718_1 = require("./v20240718");
5
+ const v20180717_1 = require("./v20180717");
6
6
  exports.vod = {
7
- v20180717: v20180717_1.v20180717,
8
7
  v20240718: v20240718_1.v20240718,
8
+ v20180717: v20180717_1.v20180717,
9
9
  };
@@ -981,9 +981,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
981
981
  - 剪辑固化:将剪辑出来的视频保存成独立的视频,拥有独立 FileId;适用于将精彩片段长久保存的场景;
982
982
  - 剪辑不固化:剪辑得到的视频附属于输入文件,没有独立 FileId;适用于将精彩片段临时分享的场景。
983
983
 
984
- 裁剪精度支持粗略裁剪和精确裁剪:
985
- - 粗略剪辑:基于输入 m3u8 文件进行裁剪,其最小剪辑精度为一个 ts 切片,无法实现秒级或者更为精确的剪辑精度。
986
- - 精确剪辑:按照 StartTimeOffset 和 EndTimeOffset 参数进行精确裁剪。使用精确裁剪需要开通[即时转码](/document/product/266/102174)的功能。
984
+ 该接口基于输入 m3u8 文件进行裁剪,其最小剪辑精度为一个 ts 切片,无法实现秒级或者更为精确的剪辑精度。
987
985
 
988
986
  ### 剪辑固化
989
987
  所谓剪辑固化,是指将剪辑出来的视频保存成一个独立的视频(拥有独立的 FileId)。其生命周期不受原始输入视频影响(即使原始输入视频被删除,剪辑结果也不会受到任何影响);也可以对其进行转码、微信发布等二次处理。
@@ -1341,9 +1341,7 @@ class Client extends TencentCloudCommon.AbstractClient {
1341
1341
  - 剪辑固化:将剪辑出来的视频保存成独立的视频,拥有独立 FileId;适用于将精彩片段长久保存的场景;
1342
1342
  - 剪辑不固化:剪辑得到的视频附属于输入文件,没有独立 FileId;适用于将精彩片段临时分享的场景。
1343
1343
 
1344
- 裁剪精度支持粗略裁剪和精确裁剪:
1345
- - 粗略剪辑:基于输入 m3u8 文件进行裁剪,其最小剪辑精度为一个 ts 切片,无法实现秒级或者更为精确的剪辑精度。
1346
- - 精确剪辑:按照 StartTimeOffset 和 EndTimeOffset 参数进行精确裁剪。使用精确裁剪需要开通[即时转码](/document/product/266/102174)的功能。
1344
+ 该接口基于输入 m3u8 文件进行裁剪,其最小剪辑精度为一个 ts 切片,无法实现秒级或者更为精确的剪辑精度。
1347
1345
 
1348
1346
  ### 剪辑固化
1349
1347
  所谓剪辑固化,是指将剪辑出来的视频保存成一个独立的视频(拥有独立的 FileId)。其生命周期不受原始输入视频影响(即使原始输入视频被删除,剪辑结果也不会受到任何影响);也可以对其进行转码、微信发布等二次处理。
@@ -1043,7 +1043,7 @@ export interface ModifyJustInTimeTranscodeTemplateRequest {
1043
1043
  /**
1044
1044
  * DescribePrepaidProducts请求参数结构体
1045
1045
  */
1046
- export declare type DescribePrepaidProductsRequest = null;
1046
+ export type DescribePrepaidProductsRequest = null;
1047
1047
  /**
1048
1048
  * 要处理的源视频信息,视频名称、视频自定义 ID。
1049
1049
  */
@@ -8994,7 +8994,7 @@ export interface SimpleHlsClipRequest {
8994
8994
  */
8995
8995
  ExpireTime?: string;
8996
8996
  /**
8997
- * 剪辑固化后的视频点播任务流处理,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。仅 IsPersistence 为 1 且 Precision 为 Rough 时有效。
8997
+ * 剪辑固化后的视频点播任务流处理,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。仅 IsPersistence 为 1 时有效。
8998
8998
  */
8999
8999
  Procedure?: string;
9000
9000
  /**
@@ -9012,11 +9012,11 @@ export interface SimpleHlsClipRequest {
9012
9012
  */
9013
9013
  SessionContext?: string;
9014
9014
  /**
9015
- * 裁剪精度,取值有:<li>Rough: 粗略裁剪,最小剪辑精度是单个 ts 分片;</li><li>Precise: 精确裁剪,做到按照剪辑时间点的毫秒级精确剪辑。</li> 默认取值 Rough。
9015
+ * 该字段已废弃。
9016
9016
  */
9017
9017
  Precision?: string;
9018
9018
  /**
9019
- * 输出视频类型,取值有:<li>hls: 输出 hls 文件;</li><li>mp4:输出 mp4 文件,MP4 文件的大小不超过5G,时长小于2小时。仅当 Precision 选择 Precise 且 IsPersistence 选择0时有效,即只有非固化的精确剪辑时支持输出 MP4。</li>默认取值 hls。
9019
+ * 输出视频类型,取值有:<li>hls: 输出 hls 文件。</li>默认取值 hls。
9020
9020
  */
9021
9021
  OutputMediaType?: string;
9022
9022
  /**