tencentcloud-sdk-nodejs-intl-en 3.0.1241 → 3.0.1243

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1241",
3
+ "version": "3.0.1243",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1241";
1
+ const sdkVersion = "3.0.1243";
2
2
  module.exports = sdkVersion
@@ -156,6 +156,7 @@ const Context = models.Context;
156
156
  const ListDocRequest = models.ListDocRequest;
157
157
  const QAQuery = models.QAQuery;
158
158
  const GroupQARequest = models.GroupQARequest;
159
+ const UpdatePeriodInfo = models.UpdatePeriodInfo;
159
160
  const DescribeCallStatsGraphRequest = models.DescribeCallStatsGraphRequest;
160
161
  const GetMsgRecordResponse = models.GetMsgRecordResponse;
161
162
  const DescribeAppRequest = models.DescribeAppRequest;
@@ -236,6 +237,7 @@ const ExportAttributeLabelRequest = models.ExportAttributeLabelRequest;
236
237
  const DescribeTokenUsageRequest = models.DescribeTokenUsageRequest;
237
238
  const GetAppKnowledgeCountResponse = models.GetAppKnowledgeCountResponse;
238
239
  const CreateAttributeLabelResponse = models.CreateAttributeLabelResponse;
240
+ const DuplicateFileHandle = models.DuplicateFileHandle;
239
241
  const ListAppKnowledgeDetailRequest = models.ListAppKnowledgeDetailRequest;
240
242
  const CreateQAResponse = models.CreateQAResponse;
241
243
  const ListQACateRequest = models.ListQACateRequest;
@@ -1049,9 +1051,9 @@ During the trial period, the QPS limit for a single account is only 1. If you ne
1049
1051
  /**
1050
1052
  * This API is used to save a knowledge base document Q&As.
1051
1053
  Three steps to store a file in the knowledge library of the application:
1052
- 1. Obtain a temporary key. For more information, see [API Documentation](https://cloud.tencent.com/document/product/1759/105050). Different parameter combinations of the temporary key have different permissions. For more information, see [Tencent Cloud Agent Development Platform/TCADP COS Guide](https://cloud.tencent.com/document/product/1759/116238).
1053
- 2. Call the COS storage API provided by Tencent Cloud to store the file in the COS of TCADP. For details, see [COS SDK Overview](https://cloud.tencent.com/document/product/436/6474). Note that the temporary key method is used to operate COS.
1054
- 3. Call this API to store the basic information of the file in TCADP.
1054
+ 1. Obtain a temporary key. For more information, see [API Documentation](https://cloud.tencent.com/document/product/1759/105050). Different parameter combinations of the temporary key have different permissions. For more information, see [Tencent Cloud Agent Development Platform/ADP COS Guide](https://cloud.tencent.com/document/product/1759/116238).
1055
+ 2. Call the COS storage API provided by Tencent Cloud to store the file in the COS of ADP. For details, see [COS SDK Overview](https://cloud.tencent.com/document/product/436/6474). Note that the temporary key method is used to operate COS.
1056
+ 3. Call this API to store the basic information of the file in ADP.
1055
1057
  For the above steps, see [Documentation](https://cloud.tencent.com/document/product/1759/108903). At the end of the documentation, there is a [code demo](https://cloud.tencent.com/document/product/1759/108903#demo), which can be used as a reference.
1056
1058
  * @param {SaveDocRequest} req
1057
1059
  * @param {function(string, SaveDocResponse):void} cb
@@ -5667,6 +5667,12 @@ class SaveDocResponse extends AbstractModel {
5667
5667
  */
5668
5668
  this.ErrorLinkText = null;
5669
5669
 
5670
+ /**
5671
+ *
5672
+ * @type {number || null}
5673
+ */
5674
+ this.DuplicateFileCheckType = null;
5675
+
5670
5676
  /**
5671
5677
  * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
5672
5678
  * @type {string || null}
@@ -5686,6 +5692,7 @@ class SaveDocResponse extends AbstractModel {
5686
5692
  this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
5687
5693
  this.ErrorLink = 'ErrorLink' in params ? params.ErrorLink : null;
5688
5694
  this.ErrorLinkText = 'ErrorLinkText' in params ? params.ErrorLinkText : null;
5695
+ this.DuplicateFileCheckType = 'DuplicateFileCheckType' in params ? params.DuplicateFileCheckType : null;
5689
5696
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
5690
5697
 
5691
5698
  }
@@ -6165,7 +6172,7 @@ class DescribeTokenUsageGraphRequest extends AbstractModel {
6165
6172
  this.UinAccount = null;
6166
6173
 
6167
6174
  /**
6168
- * Sub-business types of Tencent Cloud Agent Development Platform/TCADP: fileparse (document parsing), Embedding, Rewrite (multi-round rewriting), Concurrency, KnowledgeSummary (knowledge summary), KnowledgeQA (knowledge Q&A), KnowledgeCapacity (knowledge base capacity), SearchEngine (search engine).
6175
+ * Sub-business types of Tencent Cloud Agent Development Platform/ADP: fileparse (document parsing), Embedding, Rewrite (multi-round rewriting), Concurrency, KnowledgeSummary (knowledge summary), KnowledgeQA (knowledge Q&A), KnowledgeCapacity (knowledge base capacity), SearchEngine (search engine).
6169
6176
  * @type {string || null}
6170
6177
  */
6171
6178
  this.SubBizType = null;
@@ -6194,6 +6201,18 @@ class DescribeTokenUsageGraphRequest extends AbstractModel {
6194
6201
  */
6195
6202
  this.AppBizIds = null;
6196
6203
 
6204
+ /**
6205
+ *
6206
+ * @type {string || null}
6207
+ */
6208
+ this.AppType = null;
6209
+
6210
+ /**
6211
+ *
6212
+ * @type {Array.<string> || null}
6213
+ */
6214
+ this.SubScenes = null;
6215
+
6197
6216
  }
6198
6217
 
6199
6218
  /**
@@ -6209,6 +6228,8 @@ class DescribeTokenUsageGraphRequest extends AbstractModel {
6209
6228
  this.StartTime = 'StartTime' in params ? params.StartTime : null;
6210
6229
  this.EndTime = 'EndTime' in params ? params.EndTime : null;
6211
6230
  this.AppBizIds = 'AppBizIds' in params ? params.AppBizIds : null;
6231
+ this.AppType = 'AppType' in params ? params.AppType : null;
6232
+ this.SubScenes = 'SubScenes' in params ? params.SubScenes : null;
6212
6233
 
6213
6234
  }
6214
6235
  }
@@ -6390,7 +6411,7 @@ When the value is 1, the weburl field cannot be empty; otherwise, it will not ta
6390
6411
  this.IsRefer = null;
6391
6412
 
6392
6413
  /**
6393
- * Document operation type: 1: batch import (import Q&A pairs in batches); 2: document import (normally import a single document). The default value is 1.<br>Please note that when opt = 1, please download the Excel template from the Tencent Cloud Agent Development Platform/TCADP page.
6414
+ * Document operation type: 1: batch import (import Q&A pairs in batches); 2: document import (normally import a single document). The default value is 1.<br>Please note that when opt = 1, please download the Excel template from the Tencent Cloud Agent Development Platform/ADP page.
6394
6415
  * @type {number || null}
6395
6416
  */
6396
6417
  this.Opt = null;
@@ -6401,6 +6422,30 @@ When the value is 1, the weburl field cannot be empty; otherwise, it will not ta
6401
6422
  */
6402
6423
  this.CateBizId = null;
6403
6424
 
6425
+ /**
6426
+ *
6427
+ * @type {boolean || null}
6428
+ */
6429
+ this.IsDownload = null;
6430
+
6431
+ /**
6432
+ *
6433
+ * @type {Array.<DuplicateFileHandle> || null}
6434
+ */
6435
+ this.DuplicateFileHandles = null;
6436
+
6437
+ /**
6438
+ *
6439
+ * @type {string || null}
6440
+ */
6441
+ this.SplitRule = null;
6442
+
6443
+ /**
6444
+ *
6445
+ * @type {UpdatePeriodInfo || null}
6446
+ */
6447
+ this.UpdatePeriodInfo = null;
6448
+
6404
6449
  }
6405
6450
 
6406
6451
  /**
@@ -6435,6 +6480,23 @@ When the value is 1, the weburl field cannot be empty; otherwise, it will not ta
6435
6480
  this.IsRefer = 'IsRefer' in params ? params.IsRefer : null;
6436
6481
  this.Opt = 'Opt' in params ? params.Opt : null;
6437
6482
  this.CateBizId = 'CateBizId' in params ? params.CateBizId : null;
6483
+ this.IsDownload = 'IsDownload' in params ? params.IsDownload : null;
6484
+
6485
+ if (params.DuplicateFileHandles) {
6486
+ this.DuplicateFileHandles = new Array();
6487
+ for (let z in params.DuplicateFileHandles) {
6488
+ let obj = new DuplicateFileHandle();
6489
+ obj.deserialize(params.DuplicateFileHandles[z]);
6490
+ this.DuplicateFileHandles.push(obj);
6491
+ }
6492
+ }
6493
+ this.SplitRule = 'SplitRule' in params ? params.SplitRule : null;
6494
+
6495
+ if (params.UpdatePeriodInfo) {
6496
+ let obj = new UpdatePeriodInfo();
6497
+ obj.deserialize(params.UpdatePeriodInfo)
6498
+ this.UpdatePeriodInfo = obj;
6499
+ }
6438
6500
 
6439
6501
  }
6440
6502
  }
@@ -8442,6 +8504,34 @@ class GroupQARequest extends AbstractModel {
8442
8504
  }
8443
8505
  }
8444
8506
 
8507
+ /**
8508
+ *
8509
+ * @class
8510
+ */
8511
+ class UpdatePeriodInfo extends AbstractModel {
8512
+ constructor(){
8513
+ super();
8514
+
8515
+ /**
8516
+ *
8517
+ * @type {number || null}
8518
+ */
8519
+ this.UpdatePeriodH = null;
8520
+
8521
+ }
8522
+
8523
+ /**
8524
+ * @private
8525
+ */
8526
+ deserialize(params) {
8527
+ if (!params) {
8528
+ return;
8529
+ }
8530
+ this.UpdatePeriodH = 'UpdatePeriodH' in params ? params.UpdatePeriodH : null;
8531
+
8532
+ }
8533
+ }
8534
+
8445
8535
  /**
8446
8536
  * DescribeCallStatsGraph request structure.
8447
8537
  * @class
@@ -12412,6 +12502,18 @@ class DescribeTokenUsageResponse extends AbstractModel {
12412
12502
  */
12413
12503
  this.InternetSearchUsage = null;
12414
12504
 
12505
+ /**
12506
+ *
12507
+ * @type {number || null}
12508
+ */
12509
+ this.DosageTypeLimit = null;
12510
+
12511
+ /**
12512
+ *
12513
+ * @type {number || null}
12514
+ */
12515
+ this.DosageTypeCurr = null;
12516
+
12415
12517
  /**
12416
12518
  * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
12417
12519
  * @type {string || null}
@@ -12436,6 +12538,8 @@ class DescribeTokenUsageResponse extends AbstractModel {
12436
12538
  this.SplitTokenUsage = 'SplitTokenUsage' in params ? params.SplitTokenUsage : null;
12437
12539
  this.RagSearchUsage = 'RagSearchUsage' in params ? params.RagSearchUsage : null;
12438
12540
  this.InternetSearchUsage = 'InternetSearchUsage' in params ? params.InternetSearchUsage : null;
12541
+ this.DosageTypeLimit = 'DosageTypeLimit' in params ? params.DosageTypeLimit : null;
12542
+ this.DosageTypeCurr = 'DosageTypeCurr' in params ? params.DosageTypeCurr : null;
12439
12543
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
12440
12544
 
12441
12545
  }
@@ -13196,7 +13300,7 @@ class DescribeTokenUsageRequest extends AbstractModel {
13196
13300
  this.LoginSubAccountUin = null;
13197
13301
 
13198
13302
  /**
13199
- * Sub-business types of Tencent Cloud Agent Development Platform/TCADP: FileParse (document parsing), embedding, Rewrite (multi-round rewriting), Concurrency, KnowledgeSummary (knowledge summary), KnowledgeQA (knowledge Q&A), KnowledgeCapacity (knowledge base capacity), SearchEngine (search engine).
13303
+ * Sub-business types of Tencent Cloud Agent Development Platform/ADP: FileParse (document parsing), embedding, Rewrite (multi-round rewriting), Concurrency, KnowledgeSummary (knowledge summary), KnowledgeQA (knowledge Q&A), KnowledgeCapacity (knowledge base capacity), SearchEngine (search engine).
13200
13304
  * @type {string || null}
13201
13305
  */
13202
13306
  this.SubBizType = null;
@@ -13231,6 +13335,18 @@ class DescribeTokenUsageRequest extends AbstractModel {
13231
13335
  */
13232
13336
  this.SubScenes = null;
13233
13337
 
13338
+ /**
13339
+ *
13340
+ * @type {string || null}
13341
+ */
13342
+ this.AppType = null;
13343
+
13344
+ /**
13345
+ *
13346
+ * @type {string || null}
13347
+ */
13348
+ this.SpaceId = null;
13349
+
13234
13350
  }
13235
13351
 
13236
13352
  /**
@@ -13249,6 +13365,8 @@ class DescribeTokenUsageRequest extends AbstractModel {
13249
13365
  this.EndTime = 'EndTime' in params ? params.EndTime : null;
13250
13366
  this.AppBizIds = 'AppBizIds' in params ? params.AppBizIds : null;
13251
13367
  this.SubScenes = 'SubScenes' in params ? params.SubScenes : null;
13368
+ this.AppType = 'AppType' in params ? params.AppType : null;
13369
+ this.SpaceId = 'SpaceId' in params ? params.SpaceId : null;
13252
13370
 
13253
13371
  }
13254
13372
  }
@@ -13323,6 +13441,41 @@ class CreateAttributeLabelResponse extends AbstractModel {
13323
13441
  }
13324
13442
  }
13325
13443
 
13444
+ /**
13445
+ *
13446
+ * @class
13447
+ */
13448
+ class DuplicateFileHandle extends AbstractModel {
13449
+ constructor(){
13450
+ super();
13451
+
13452
+ /**
13453
+ *
13454
+ * @type {number || null}
13455
+ */
13456
+ this.CheckType = null;
13457
+
13458
+ /**
13459
+ *
13460
+ * @type {number || null}
13461
+ */
13462
+ this.HandleType = null;
13463
+
13464
+ }
13465
+
13466
+ /**
13467
+ * @private
13468
+ */
13469
+ deserialize(params) {
13470
+ if (!params) {
13471
+ return;
13472
+ }
13473
+ this.CheckType = 'CheckType' in params ? params.CheckType : null;
13474
+ this.HandleType = 'HandleType' in params ? params.HandleType : null;
13475
+
13476
+ }
13477
+ }
13478
+
13326
13479
  /**
13327
13480
  * ListAppKnowledgeDetail request structure.
13328
13481
  * @class
@@ -15807,6 +15960,7 @@ module.exports = {
15807
15960
  ListDocRequest: ListDocRequest,
15808
15961
  QAQuery: QAQuery,
15809
15962
  GroupQARequest: GroupQARequest,
15963
+ UpdatePeriodInfo: UpdatePeriodInfo,
15810
15964
  DescribeCallStatsGraphRequest: DescribeCallStatsGraphRequest,
15811
15965
  GetMsgRecordResponse: GetMsgRecordResponse,
15812
15966
  DescribeAppRequest: DescribeAppRequest,
@@ -15887,6 +16041,7 @@ module.exports = {
15887
16041
  DescribeTokenUsageRequest: DescribeTokenUsageRequest,
15888
16042
  GetAppKnowledgeCountResponse: GetAppKnowledgeCountResponse,
15889
16043
  CreateAttributeLabelResponse: CreateAttributeLabelResponse,
16044
+ DuplicateFileHandle: DuplicateFileHandle,
15890
16045
  ListAppKnowledgeDetailRequest: ListAppKnowledgeDetailRequest,
15891
16046
  CreateQAResponse: CreateQAResponse,
15892
16047
  ListQACateRequest: ListQACateRequest,