tencentcloud-sdk-nodejs-ams 4.1.136 → 4.1.157

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 { v20201229 } from "./v20201229";
2
1
  import { v20200608 } from "./v20200608";
2
+ import { v20201229 } from "./v20201229";
3
3
  export const ams = {
4
- v20201229: v20201229,
5
4
  v20200608: v20200608,
5
+ v20201229: v20201229,
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ams",
3
- "version": "4.1.136",
3
+ "version": "4.1.157",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,10 +1,10 @@
1
1
  export declare const ams: {
2
- v20201229: {
3
- Client: typeof import("./v20201229/ams_client").Client;
4
- Models: typeof import("./v20201229/ams_models");
5
- };
6
2
  v20200608: {
7
3
  Client: typeof import("./v20200608/ams_client").Client;
8
4
  Models: typeof import("./v20200608/ams_models");
9
5
  };
6
+ v20201229: {
7
+ Client: typeof import("./v20201229/ams_client").Client;
8
+ Models: typeof import("./v20201229/ams_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ams = void 0;
4
- const v20201229_1 = require("./v20201229");
5
4
  const v20200608_1 = require("./v20200608");
5
+ const v20201229_1 = require("./v20201229");
6
6
  exports.ams = {
7
- v20201229: v20201229_1.v20201229,
8
7
  v20200608: v20200608_1.v20200608,
8
+ v20201229: v20201229_1.v20201229,
9
9
  };
@@ -296,6 +296,39 @@ export interface CreateAudioModerationTaskRequest {
296
296
  */
297
297
  User?: User;
298
298
  }
299
+ /**
300
+ * 出行结果
301
+ */
302
+ export interface TravelResults {
303
+ /**
304
+ * 一级标签
305
+ */
306
+ Label?: string;
307
+ /**
308
+ * 二级标签
309
+ */
310
+ SubLabel?: string;
311
+ /**
312
+ * 风险等级
313
+ */
314
+ RiskLevel?: string;
315
+ /**
316
+ * 出行音频角色
317
+ */
318
+ AudioRole?: string;
319
+ /**
320
+ * 出行语音文本
321
+ */
322
+ AudioText?: string;
323
+ /**
324
+ * 开始时间
325
+ */
326
+ StartTime?: number;
327
+ /**
328
+ * 结束时间
329
+ */
330
+ EndTime?: number;
331
+ }
299
332
  /**
300
333
  * 音视频任务数据结构
301
334
  */
@@ -777,37 +810,21 @@ export interface SpeakerResults {
777
810
  EndTime?: string;
778
811
  }
779
812
  /**
780
- * 出行结果
813
+ * ASR识别结果在音频中的起止时间
781
814
  */
782
- export interface TravelResults {
783
- /**
784
- * 一级标签
785
- */
786
- Label?: string;
787
- /**
788
- * 二级标签
789
- */
790
- SubLabel?: string;
791
- /**
792
- * 风险等级
793
- */
794
- RiskLevel?: string;
815
+ export interface Sentence {
795
816
  /**
796
- * 出行音频角色
817
+ * ASR句子
797
818
  */
798
- AudioRole?: string;
819
+ Text?: string;
799
820
  /**
800
- * 出行语音文本
821
+ * 起始时间
801
822
  */
802
- AudioText?: string;
803
- /**
804
- * 开始时间
805
- */
806
- StartTime?: number;
823
+ StartTime?: string;
807
824
  /**
808
825
  * 结束时间
809
826
  */
810
- EndTime?: number;
827
+ EndTime?: string;
811
828
  }
812
829
  /**
813
830
  * 音频审核输出参数
@@ -890,6 +907,10 @@ export interface AudioResult {
890
907
  * 审核检测类型
891
908
  */
892
909
  HitType?: string;
910
+ /**
911
+ * ASR句子的起止时间
912
+ */
913
+ Sentences?: Array<Sentence>;
893
914
  }
894
915
  /**
895
916
  * 音频呻吟审核结果