tencentcloud-sdk-nodejs 4.1.218 → 4.1.219

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.
Files changed (30) hide show
  1. package/es/common/abstract_client.js +1 -0
  2. package/es/common/credential.js +7 -4
  3. package/es/common/http/http_connection.js +19 -14
  4. package/es/common/sdk_version.js +1 -1
  5. package/es/services/bi/v20220105/bi_client.js +43 -4
  6. package/es/services/es/v20180416/es_client.js +8 -2
  7. package/package.json +2 -2
  8. package/tencentcloud/common/abstract_client.d.ts +5 -0
  9. package/tencentcloud/common/abstract_client.js +1 -0
  10. package/tencentcloud/common/credential.js +7 -4
  11. package/tencentcloud/common/http/http_connection.d.ts +2 -1
  12. package/tencentcloud/common/http/http_connection.js +19 -14
  13. package/tencentcloud/common/sdk_version.d.ts +1 -1
  14. package/tencentcloud/common/sdk_version.js +1 -1
  15. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +70 -22
  16. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +23 -47
  17. package/tencentcloud/services/bi/v20220105/bi_client.d.ts +57 -5
  18. package/tencentcloud/services/bi/v20220105/bi_client.js +84 -6
  19. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +986 -129
  20. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +280 -404
  21. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +86 -102
  22. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +65 -24
  23. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +12 -0
  24. package/tencentcloud/services/dc/v20180410/dc_models.d.ts +13 -9
  25. package/tencentcloud/services/es/v20180416/es_client.d.ts +11 -3
  26. package/tencentcloud/services/es/v20180416/es_client.js +15 -3
  27. package/tencentcloud/services/es/v20180416/es_models.d.ts +48 -18
  28. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +9 -1
  29. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +95 -19
  30. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +9 -12
@@ -147,6 +147,7 @@ export class AbstractClient {
147
147
  agent: this.profile.httpProfile.agent,
148
148
  proxy: this.profile.httpProfile.proxy,
149
149
  signal: options.signal,
150
+ skipSign: options.skipSign,
150
151
  });
151
152
  }
152
153
  catch (e) {
@@ -1,4 +1,5 @@
1
1
  import fs from "fs";
2
+ import { promisify } from "util";
2
3
  import path from "path";
3
4
  import { homedir } from "os";
4
5
  import { parse } from "ini";
@@ -111,7 +112,7 @@ export class OIDCRoleArnCredential {
111
112
  };
112
113
  }
113
114
  }
114
- initFromTke() {
115
+ async initFromTke() {
115
116
  const region = process.env.TKE_REGION;
116
117
  if (!region) {
117
118
  throw new Error("env TKE_REGION not exist");
@@ -126,7 +127,7 @@ export class OIDCRoleArnCredential {
126
127
  }
127
128
  let wbIdentityToken;
128
129
  try {
129
- wbIdentityToken = fs.readFileSync(tokenFile).toString();
130
+ wbIdentityToken = (await promisify(fs.readFile)(tokenFile)).toString();
130
131
  }
131
132
  catch (error) {
132
133
  throw new Error(`failed to read token file: ${error.message}`);
@@ -146,14 +147,16 @@ export class OIDCRoleArnCredential {
146
147
  async getCredentialWithStsAssumeRoleWithWebIdentity() {
147
148
  try {
148
149
  if (this.isTke) {
149
- this.initFromTke();
150
+ await this.initFromTke();
150
151
  }
151
152
  const { endpoint, version, action, region, clientConfig, assumeRoleWithWebIdentityParams } = this;
152
153
  const client = new CommonClient(endpoint, version, {
153
154
  region: region,
154
155
  ...clientConfig,
155
156
  });
156
- const result = await client.request(action, assumeRoleWithWebIdentityParams);
157
+ const result = await client.request(action, assumeRoleWithWebIdentityParams, {
158
+ skipSign: true
159
+ });
157
160
  return {
158
161
  TmpSecretId: result.Credentials.TmpSecretId,
159
162
  TmpSecretKey: result.Credentials.TmpSecretKey,
@@ -26,7 +26,7 @@ export class HttpConnection {
26
26
  }
27
27
  return await fetch(url, config);
28
28
  }
29
- static async doRequestWithSign3({ method, url, data, service, action, region, version, secretId, secretKey, multipart = false, timeout = 60000, token, requestClient, language, headers = {}, agent, proxy, signal, }) {
29
+ static async doRequestWithSign3({ method, url, data, service, action, region, version, secretId, secretKey, multipart = false, timeout = 60000, token, requestClient, language, headers = {}, agent, proxy, signal, skipSign = false, }) {
30
30
  await convertReadStreamToBuffer(data);
31
31
  data = deepRemoveNull(data);
32
32
  const timestamp = parseInt(String(new Date().getTime() / 1000));
@@ -83,19 +83,24 @@ export class HttpConnection {
83
83
  config.body = form;
84
84
  config.headers = Object.assign({}, config.headers, form.getHeaders());
85
85
  }
86
- const signature = Sign.sign3({
87
- method,
88
- url,
89
- payload,
90
- timestamp,
91
- service,
92
- secretId,
93
- secretKey,
94
- multipart,
95
- boundary: form ? form.getBoundary() : undefined,
96
- headers: config.headers,
97
- });
98
- config.headers["Authorization"] = signature;
86
+ if (skipSign) {
87
+ config.headers["Authorization"] = "SKIP";
88
+ }
89
+ else {
90
+ const signature = Sign.sign3({
91
+ method,
92
+ url,
93
+ payload,
94
+ timestamp,
95
+ service,
96
+ secretId,
97
+ secretKey,
98
+ multipart,
99
+ boundary: form ? form.getBoundary() : undefined,
100
+ headers: config.headers,
101
+ });
102
+ config.headers["Authorization"] = signature;
103
+ }
99
104
  return await fetch(url, config);
100
105
  }
101
106
  }
@@ -1 +1 @@
1
- export const sdkVersion = "4.1.218";
1
+ export const sdkVersion = "4.1.219";
@@ -15,6 +15,9 @@ export class Client extends AbstractClient {
15
15
  async CreateDatasource(req, cb) {
16
16
  return this.request("CreateDatasource", req, cb);
17
17
  }
18
+ async DescribeUserGroupTreeList(req, cb) {
19
+ return this.request("DescribeUserGroupTreeList", req, cb);
20
+ }
18
21
  async CreatePermissionRanks(req, cb) {
19
22
  return this.request("CreatePermissionRanks", req, cb);
20
23
  }
@@ -24,6 +27,9 @@ export class Client extends AbstractClient {
24
27
  async CreateProject(req, cb) {
25
28
  return this.request("CreateProject", req, cb);
26
29
  }
30
+ async DeleteUserGroupMember(req, cb) {
31
+ return this.request("DeleteUserGroupMember", req, cb);
32
+ }
27
33
  async CreateDatasourceCloud(req, cb) {
28
34
  return this.request("CreateDatasourceCloud", req, cb);
29
35
  }
@@ -33,12 +39,18 @@ export class Client extends AbstractClient {
33
39
  async ModifyUserRole(req, cb) {
34
40
  return this.request("ModifyUserRole", req, cb);
35
41
  }
36
- async ExportScreenPage(req, cb) {
37
- return this.request("ExportScreenPage", req, cb);
42
+ async DescribeResourceUserGroupPageList(req, cb) {
43
+ return this.request("DescribeResourceUserGroupPageList", req, cb);
44
+ }
45
+ async DeleteUserGroup(req, cb) {
46
+ return this.request("DeleteUserGroup", req, cb);
38
47
  }
39
48
  async CreateEmbedToken(req, cb) {
40
49
  return this.request("CreateEmbedToken", req, cb);
41
50
  }
51
+ async DescribeUserGroupInfo(req, cb) {
52
+ return this.request("DescribeUserGroupInfo", req, cb);
53
+ }
42
54
  async CreateUserRole(req, cb) {
43
55
  return this.request("CreateUserRole", req, cb);
44
56
  }
@@ -48,24 +60,45 @@ export class Client extends AbstractClient {
48
60
  async DeleteUserRole(req, cb) {
49
61
  return this.request("DeleteUserRole", req, cb);
50
62
  }
63
+ async ModifyUserGroup(req, cb) {
64
+ return this.request("ModifyUserGroup", req, cb);
65
+ }
51
66
  async ModifyProject(req, cb) {
52
67
  return this.request("ModifyProject", req, cb);
53
68
  }
54
69
  async DescribeUserRoleList(req, cb) {
55
70
  return this.request("DescribeUserRoleList", req, cb);
56
71
  }
72
+ async CreateUserGroup(req, cb) {
73
+ return this.request("CreateUserGroup", req, cb);
74
+ }
57
75
  async DescribePageWidgetList(req, cb) {
58
76
  return this.request("DescribePageWidgetList", req, cb);
59
77
  }
78
+ async ModifyUserRoleProject(req, cb) {
79
+ return this.request("ModifyUserRoleProject", req, cb);
80
+ }
81
+ async ModifyUserDetailInfo(req, cb) {
82
+ return this.request("ModifyUserDetailInfo", req, cb);
83
+ }
84
+ async CreateUserGroupMember(req, cb) {
85
+ return this.request("CreateUserGroupMember", req, cb);
86
+ }
60
87
  async DescribeUserRoleProjectList(req, cb) {
61
88
  return this.request("DescribeUserRoleProjectList", req, cb);
62
89
  }
90
+ async QueryUserGroupMember(req, cb) {
91
+ return this.request("QueryUserGroupMember", req, cb);
92
+ }
63
93
  async ModifyDatasourceCloud(req, cb) {
64
94
  return this.request("ModifyDatasourceCloud", req, cb);
65
95
  }
66
96
  async ClearEmbedToken(req, cb) {
67
97
  return this.request("ClearEmbedToken", req, cb);
68
98
  }
99
+ async DescribeUserGroupMemberList(req, cb) {
100
+ return this.request("DescribeUserGroupMemberList", req, cb);
101
+ }
69
102
  async CreateUserRoleProject(req, cb) {
70
103
  return this.request("CreateUserRoleProject", req, cb);
71
104
  }
@@ -81,11 +114,17 @@ export class Client extends AbstractClient {
81
114
  async DescribeUserProjectList(req, cb) {
82
115
  return this.request("DescribeUserProjectList", req, cb);
83
116
  }
117
+ async ModifyResourceUserGroupResource(req, cb) {
118
+ return this.request("ModifyResourceUserGroupResource", req, cb);
119
+ }
120
+ async ExportScreenPage(req, cb) {
121
+ return this.request("ExportScreenPage", req, cb);
122
+ }
84
123
  async DeleteProject(req, cb) {
85
124
  return this.request("DeleteProject", req, cb);
86
125
  }
87
- async ModifyUserRoleProject(req, cb) {
88
- return this.request("ModifyUserRoleProject", req, cb);
126
+ async ModifyResourceUserGroup(req, cb) {
127
+ return this.request("ModifyResourceUserGroup", req, cb);
89
128
  }
90
129
  async DescribeProjectList(req, cb) {
91
130
  return this.request("DescribeProjectList", req, cb);
@@ -81,8 +81,8 @@ export class Client extends AbstractClient {
81
81
  async CheckMigrateIndexMetaData(req, cb) {
82
82
  return this.request("CheckMigrateIndexMetaData", req, cb);
83
83
  }
84
- async UpdateIpTraceStatus(req, cb) {
85
- return this.request("UpdateIpTraceStatus", req, cb);
84
+ async RequestInstances(req, cb) {
85
+ return this.request("RequestInstances", req, cb);
86
86
  }
87
87
  async DeleteServerlessInstance(req, cb) {
88
88
  return this.request("DeleteServerlessInstance", req, cb);
@@ -147,6 +147,9 @@ export class Client extends AbstractClient {
147
147
  async QueryIpTraceLog(req, cb) {
148
148
  return this.request("QueryIpTraceLog", req, cb);
149
149
  }
150
+ async RequestInstancesByGet(req, cb) {
151
+ return this.request("RequestInstancesByGet", req, cb);
152
+ }
150
153
  async GetIpTraceStatus(req, cb) {
151
154
  return this.request("GetIpTraceStatus", req, cb);
152
155
  }
@@ -213,6 +216,9 @@ export class Client extends AbstractClient {
213
216
  async DescribeLogstashInstanceOperations(req, cb) {
214
217
  return this.request("DescribeLogstashInstanceOperations", req, cb);
215
218
  }
219
+ async UpdateIpTraceStatus(req, cb) {
220
+ return this.request("UpdateIpTraceStatus", req, cb);
221
+ }
216
222
  async InquirePriceRenewInstance(req, cb) {
217
223
  return this.request("InquirePriceRenewInstance", req, cb);
218
224
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.1.218",
3
+ "version": "4.1.219",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -36,7 +36,7 @@
36
36
  "form-data": "^3.0.4",
37
37
  "get-stream": "^6.0.0",
38
38
  "https-proxy-agent": "^5.0.0",
39
- "ini": "^5.0.0",
39
+ "ini": "^2.0.0",
40
40
  "is-stream": "^2.0.0",
41
41
  "json-bigint": "^1.0.0",
42
42
  "node-fetch": "^2.2.0",
@@ -16,6 +16,11 @@ export interface RequestOptions extends Partial<Pick<HttpProfile, "headers">> {
16
16
  * Abort request signal
17
17
  */
18
18
  signal?: AbortSignal;
19
+ /**
20
+ * Set Authorization with SKIP
21
+ * @default false
22
+ */
23
+ skipSign?: boolean;
19
24
  }
20
25
  type ResponseData = any;
21
26
  /**
@@ -237,6 +237,7 @@ class AbstractClient {
237
237
  agent: this.profile.httpProfile.agent,
238
238
  proxy: this.profile.httpProfile.proxy,
239
239
  signal: options.signal,
240
+ skipSign: options.skipSign,
240
241
  });
241
242
  }
242
243
  catch (e) {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DefaultCredentialProvider = exports.OIDCRoleArnCredential = exports.CvmRoleCredential = exports.STSCredential = exports.ProfileCredential = exports.EnvironmentVariableCredential = exports.BasicCredential = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const fs_1 = tslib_1.__importDefault(require("fs"));
6
+ const util_1 = require("util");
6
7
  const path_1 = tslib_1.__importDefault(require("path"));
7
8
  const os_1 = require("os");
8
9
  const ini_1 = require("ini");
@@ -162,7 +163,7 @@ class OIDCRoleArnCredential {
162
163
  };
163
164
  }
164
165
  }
165
- initFromTke() {
166
+ async initFromTke() {
166
167
  const region = process.env.TKE_REGION;
167
168
  if (!region) {
168
169
  throw new Error("env TKE_REGION not exist");
@@ -177,7 +178,7 @@ class OIDCRoleArnCredential {
177
178
  }
178
179
  let wbIdentityToken;
179
180
  try {
180
- wbIdentityToken = fs_1.default.readFileSync(tokenFile).toString();
181
+ wbIdentityToken = (await (0, util_1.promisify)(fs_1.default.readFile)(tokenFile)).toString();
181
182
  }
182
183
  catch (error) {
183
184
  throw new Error(`failed to read token file: ${error.message}`);
@@ -197,14 +198,16 @@ class OIDCRoleArnCredential {
197
198
  async getCredentialWithStsAssumeRoleWithWebIdentity() {
198
199
  try {
199
200
  if (this.isTke) {
200
- this.initFromTke();
201
+ await this.initFromTke();
201
202
  }
202
203
  const { endpoint, version, action, region, clientConfig, assumeRoleWithWebIdentityParams } = this;
203
204
  const client = new common_client_1.CommonClient(endpoint, version, {
204
205
  region: region,
205
206
  ...clientConfig,
206
207
  });
207
- const result = await client.request(action, assumeRoleWithWebIdentityParams);
208
+ const result = await client.request(action, assumeRoleWithWebIdentityParams, {
209
+ skipSign: true
210
+ });
208
211
  return {
209
212
  TmpSecretId: result.Credentials.TmpSecretId,
210
213
  TmpSecretKey: result.Credentials.TmpSecretKey,
@@ -14,7 +14,7 @@ export declare class HttpConnection {
14
14
  proxy?: string;
15
15
  signal?: AbortSignal;
16
16
  }): Promise<Response>;
17
- static doRequestWithSign3({ method, url, data, service, action, region, version, secretId, secretKey, multipart, timeout, token, requestClient, language, headers, agent, proxy, signal, }: {
17
+ static doRequestWithSign3({ method, url, data, service, action, region, version, secretId, secretKey, multipart, timeout, token, requestClient, language, headers, agent, proxy, signal, skipSign, }: {
18
18
  method: string;
19
19
  url: string;
20
20
  data: any;
@@ -33,5 +33,6 @@ export declare class HttpConnection {
33
33
  agent?: Agent;
34
34
  proxy?: string;
35
35
  signal?: AbortSignal;
36
+ skipSign?: boolean;
36
37
  }): Promise<Response>;
37
38
  }
@@ -33,7 +33,7 @@ class HttpConnection {
33
33
  }
34
34
  return await (0, fetch_1.default)(url, config);
35
35
  }
36
- static async doRequestWithSign3({ method, url, data, service, action, region, version, secretId, secretKey, multipart = false, timeout = 60000, token, requestClient, language, headers = {}, agent, proxy, signal, }) {
36
+ static async doRequestWithSign3({ method, url, data, service, action, region, version, secretId, secretKey, multipart = false, timeout = 60000, token, requestClient, language, headers = {}, agent, proxy, signal, skipSign = false, }) {
37
37
  // Convert readStream to Buffer to calculate the hash of the entire body
38
38
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
39
39
  await convertReadStreamToBuffer(data);
@@ -94,19 +94,24 @@ class HttpConnection {
94
94
  config.body = form;
95
95
  config.headers = Object.assign({}, config.headers, form.getHeaders());
96
96
  }
97
- const signature = sign_1.default.sign3({
98
- method,
99
- url,
100
- payload,
101
- timestamp,
102
- service,
103
- secretId,
104
- secretKey,
105
- multipart,
106
- boundary: form ? form.getBoundary() : undefined,
107
- headers: config.headers,
108
- });
109
- config.headers["Authorization"] = signature;
97
+ if (skipSign) {
98
+ config.headers["Authorization"] = "SKIP";
99
+ }
100
+ else {
101
+ const signature = sign_1.default.sign3({
102
+ method,
103
+ url,
104
+ payload,
105
+ timestamp,
106
+ service,
107
+ secretId,
108
+ secretKey,
109
+ multipart,
110
+ boundary: form ? form.getBoundary() : undefined,
111
+ headers: config.headers,
112
+ });
113
+ config.headers["Authorization"] = signature;
114
+ }
110
115
  return await (0, fetch_1.default)(url, config);
111
116
  }
112
117
  }
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.1.218";
1
+ export declare const sdkVersion = "4.1.219";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.1.218";
4
+ exports.sdkVersion = "4.1.219";
@@ -736,6 +736,51 @@ export interface CancelTaskResponse {
736
736
  */
737
737
  RequestId?: string;
738
738
  }
739
+ /**
740
+ * aigc片段审核结果
741
+ */
742
+ export interface AIGCRecognitionResult {
743
+ /**
744
+ * <p>一级标签名</p>
745
+ */
746
+ Label?: string;
747
+ /**
748
+ * <p>一级标签码</p>
749
+ */
750
+ LabelCode?: string;
751
+ /**
752
+ * <p>分数</p>
753
+ */
754
+ Score?: number;
755
+ /**
756
+ * <p>该vad片段在原始音频片段中的起始时间偏移</p>
757
+ */
758
+ StartTime?: number;
759
+ /**
760
+ * <p>该vad片段在原始音频片段中的结束时间偏移</p>
761
+ */
762
+ EndTime?: number;
763
+ /**
764
+ * <p>建议值</p>
765
+ */
766
+ Suggestion?: string;
767
+ /**
768
+ * <p>二级标签名</p>
769
+ */
770
+ SubLabel?: string;
771
+ /**
772
+ * <p>二级标签码</p>
773
+ */
774
+ SubLabelCode?: string;
775
+ /**
776
+ * <p>三级标签名</p>
777
+ */
778
+ SubTag?: string;
779
+ /**
780
+ * <p>三级标签码</p>
781
+ */
782
+ SubTagCode?: string;
783
+ }
739
784
  /**
740
785
  * 文件桶信息
741
786
  参考腾讯云存储相关说明 https://cloud.tencent.com/document/product/436/44352
@@ -839,90 +884,93 @@ export interface Sentence {
839
884
  */
840
885
  export interface AudioResult {
841
886
  /**
842
- * 该字段用于返回审核内容是否命中审核模型;取值:0(**未命中**)、1(**命中**)。
887
+ * <p>该字段用于返回审核内容是否命中审核模型;取值:0(<strong>未命中</strong>)、1(<strong>命中</strong>)。</p>
843
888
  */
844
889
  HitFlag?: number;
845
890
  /**
846
- * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
891
+ * <p>该字段用于返回检测结果所对应的恶意标签。<br>返回值:<strong>Normal</strong>:正常,<strong>Porn</strong>:色情,<strong>Abuse</strong>:谩骂,<strong>Ad</strong>:广告,<strong>Custom</strong>:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。</p>
847
892
  */
848
893
  Label?: string;
849
894
  /**
850
- * 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
851
- 返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
895
+ * <p>该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br><br>返回值:<strong>Block</strong>:建议屏蔽,<strong>Review</strong> :建议人工复审,<strong>Pass</strong>:建议通过</p>
852
896
  */
853
897
  Suggestion?: string;
854
898
  /**
855
- * 该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
899
+ * <p>该字段用于返回当前标签下的置信度,取值范围:0(<strong>置信度最低</strong>)-100(<strong>置信度最高</strong> ),越高代表文本越有可能属于当前返回的标签;如:<em>色情 99</em>,则表明该文本非常有可能属于色情内容。</p>
856
900
  */
857
901
  Score?: number;
858
902
  /**
859
- * 该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
903
+ * <p>该字段用于返回音频文件经ASR识别后的文本信息。最长可识别<strong>5小时</strong>的音频文件,若超出时长限制,接口将会报错。</p>
860
904
  */
861
905
  Text?: string;
862
906
  /**
863
- * 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
907
+ * <p>该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用<a href="https://cloud.tencent.com/document/product/1265/104001">COS预签名</a>功能更新签名时效。</p>
864
908
  */
865
909
  Url?: string;
866
910
  /**
867
- * 该字段用于返回音频文件的时长,单位为毫秒。
911
+ * <p>该字段用于返回音频文件的时长,单位为毫秒。</p>
868
912
  */
869
913
  Duration?: string;
870
914
  /**
871
- * 该字段用于返回额外附加信息,不同客户或Biztype下返回信息不同。
915
+ * <p>该字段用于返回额外附加信息,不同客户或Biztype下返回信息不同。</p>
872
916
  */
873
917
  Extra?: string;
874
918
  /**
875
- * 该字段用于返回音频文件经ASR识别后产生的文本的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
919
+ * <p>该字段用于返回音频文件经ASR识别后产生的文本的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。</p>
876
920
  */
877
921
  TextResults?: Array<AudioResultDetailTextResult>;
878
922
  /**
879
- * 该字段用于返回音频文件呻吟检测的详细审核结果。具体结果内容请参见AudioResultDetailMoanResult数据结构的细节描述。
923
+ * <p>该字段用于返回音频文件呻吟检测的详细审核结果。具体结果内容请参见AudioResultDetailMoanResult数据结构的细节描述。</p>
880
924
  */
881
925
  MoanResults?: Array<AudioResultDetailMoanResult>;
882
926
  /**
883
- * 该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
927
+ * <p>该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。</p>
884
928
  */
885
929
  LanguageResults?: Array<AudioResultDetailLanguageResult>;
886
930
  /**
887
- * 该字段用于返回当前标签(Lable)下的二级标签。
931
+ * <p>该字段用于返回当前标签(Lable)下的二级标签。</p>
888
932
  */
889
933
  SubLabel?: string;
890
934
  /**
891
- * 识别类标签结果信息列表
935
+ * <p>识别类标签结果信息列表</p>
892
936
  */
893
937
  RecognitionResults?: Array<RecognitionResult>;
894
938
  /**
895
- * 说话人结果
939
+ * <p>说话人结果</p>
896
940
  */
897
941
  SpeakerResults?: Array<SpeakerResults>;
898
942
  /**
899
- * 歌曲识别结果
943
+ * <p>歌曲识别结果</p>
900
944
  */
901
945
  LabelResults?: Array<LabelResults>;
902
946
  /**
903
- * 出行结果
947
+ * <p>出行结果</p>
904
948
  */
905
949
  TravelResults?: Array<TravelResults>;
906
950
  /**
907
- * 三级标签
951
+ * <p>三级标签</p>
908
952
  */
909
953
  SubTag?: string;
910
954
  /**
911
- * 三级标签码
955
+ * <p>三级标签码</p>
912
956
  */
913
957
  SubTagCode?: string;
914
958
  /**
915
- * 审核检测类型
959
+ * <p>审核检测类型</p>
916
960
  */
917
961
  HitType?: string;
918
962
  /**
919
- * ASR句子的起止时间
963
+ * <p>ASR句子的起止时间</p>
920
964
  */
921
965
  Sentences?: Array<Sentence>;
922
966
  /**
923
- * 切片请求ID
967
+ * <p>切片请求ID</p>
924
968
  */
925
969
  RequestId?: string;
970
+ /**
971
+ * <p>AIGC音频片段审核结果</p>
972
+ */
973
+ AIGCRecognitionResults?: Array<AIGCRecognitionResult>;
926
974
  }
927
975
  /**
928
976
  * 音频呻吟审核结果