tencentcloud-sdk-nodejs-intl-en 3.0.281 → 3.0.285

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.
@@ -27,21 +27,24 @@ const RealTimeSpeechStatisticsItem = models.RealTimeSpeechStatisticsItem;
27
27
  const Tag = models.Tag;
28
28
  const VoiceMessageConf = models.VoiceMessageConf;
29
29
  const ApplicationDataStatistics = models.ApplicationDataStatistics;
30
+ const ModifyAppStatusResp = models.ModifyAppStatusResp;
30
31
  const DescribeAppStatisticsResponse = models.DescribeAppStatisticsResponse;
31
32
  const DescribeApplicationDataResponse = models.DescribeApplicationDataResponse;
32
33
  const Task = models.Task;
33
34
  const VoiceFilterStatisticsItem = models.VoiceFilterStatisticsItem;
34
- const StatisticsItem = models.StatisticsItem;
35
+ const CreateAppResp = models.CreateAppResp;
35
36
  const DescribeScanResult = models.DescribeScanResult;
36
37
  const ScanDetail = models.ScanDetail;
37
38
  const CreateAppRequest = models.CreateAppRequest;
38
39
  const RealtimeSpeechConf = models.RealtimeSpeechConf;
40
+ const DescribeAppStatisticsResp = models.DescribeAppStatisticsResp;
39
41
  const ScanVoiceResult = models.ScanVoiceResult;
40
42
  const CreateAppResponse = models.CreateAppResponse;
41
43
  const DescribeAppStatisticsRequest = models.DescribeAppStatisticsRequest;
42
44
  const ScanPiece = models.ScanPiece;
43
45
  const ModifyAppStatusResponse = models.ModifyAppStatusResponse;
44
46
  const VoiceFilterConf = models.VoiceFilterConf;
47
+ const StatisticsItem = models.StatisticsItem;
45
48
  const ScanVoiceRequest = models.ScanVoiceRequest;
46
49
 
47
50
 
@@ -638,7 +638,42 @@ class ApplicationDataStatistics extends AbstractModel {
638
638
  }
639
639
 
640
640
  /**
641
- * Gets application usage statistics output parameters
641
+ * Output parameters of `ModifyAppStatus`
642
+ * @class
643
+ */
644
+ class ModifyAppStatusResp extends AbstractModel {
645
+ constructor(){
646
+ super();
647
+
648
+ /**
649
+ * GME app ID
650
+ * @type {number || null}
651
+ */
652
+ this.BizId = null;
653
+
654
+ /**
655
+ * App status. Valid values: `open`, `close`
656
+ * @type {string || null}
657
+ */
658
+ this.Status = null;
659
+
660
+ }
661
+
662
+ /**
663
+ * @private
664
+ */
665
+ deserialize(params) {
666
+ if (!params) {
667
+ return;
668
+ }
669
+ this.BizId = 'BizId' in params ? params.BizId : null;
670
+ this.Status = 'Status' in params ? params.Status : null;
671
+
672
+ }
673
+ }
674
+
675
+ /**
676
+ * DescribeAppStatistics response structure.
642
677
  * @class
643
678
  */
644
679
  class DescribeAppStatisticsResponse extends AbstractModel {
@@ -646,10 +681,16 @@ class DescribeAppStatisticsResponse extends AbstractModel {
646
681
  super();
647
682
 
648
683
  /**
649
- * Application usage statistics
650
- * @type {Array.<AppStatisticsItem> || null}
684
+ * App usage statistics
685
+ * @type {DescribeAppStatisticsResp || null}
651
686
  */
652
- this.AppStatistics = null;
687
+ this.Data = null;
688
+
689
+ /**
690
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
691
+ * @type {string || null}
692
+ */
693
+ this.RequestId = null;
653
694
 
654
695
  }
655
696
 
@@ -661,14 +702,12 @@ class DescribeAppStatisticsResponse extends AbstractModel {
661
702
  return;
662
703
  }
663
704
 
664
- if (params.AppStatistics) {
665
- this.AppStatistics = new Array();
666
- for (let z in params.AppStatistics) {
667
- let obj = new AppStatisticsItem();
668
- obj.deserialize(params.AppStatistics[z]);
669
- this.AppStatistics.push(obj);
670
- }
705
+ if (params.Data) {
706
+ let obj = new DescribeAppStatisticsResp();
707
+ obj.deserialize(params.Data)
708
+ this.Data = obj;
671
709
  }
710
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
672
711
 
673
712
  }
674
713
  }
@@ -791,24 +830,60 @@ class VoiceFilterStatisticsItem extends AbstractModel {
791
830
  }
792
831
 
793
832
  /**
794
- * Usage data
833
+ * Output parameters of `CreateApp`
795
834
  * @class
796
835
  */
797
- class StatisticsItem extends AbstractModel {
836
+ class CreateAppResp extends AbstractModel {
798
837
  constructor(){
799
838
  super();
800
839
 
801
840
  /**
802
- * Date in the format of yyyy-mm-dd, such as 2018-07-13
841
+ * App ID, automatically generated by the backend.
842
+ * @type {number || null}
843
+ */
844
+ this.BizId = null;
845
+
846
+ /**
847
+ * App name, the input of `AppName`.
803
848
  * @type {string || null}
804
849
  */
805
- this.StatDate = null;
850
+ this.AppName = null;
806
851
 
807
852
  /**
808
- * Statistics
853
+ * Project ID, the input of `ProjectId`.
809
854
  * @type {number || null}
810
855
  */
811
- this.Data = null;
856
+ this.ProjectId = null;
857
+
858
+ /**
859
+ * App key, used to initialize GME SDK.
860
+ * @type {string || null}
861
+ */
862
+ this.SecretKey = null;
863
+
864
+ /**
865
+ * Timestamp, indicating when the service is created.
866
+ * @type {number || null}
867
+ */
868
+ this.CreateTime = null;
869
+
870
+ /**
871
+ * Configuration information of voice chat
872
+ * @type {RealtimeSpeechConf || null}
873
+ */
874
+ this.RealtimeSpeechConf = null;
875
+
876
+ /**
877
+ * Configuration information of voice messaging and speech-to-text
878
+ * @type {VoiceMessageConf || null}
879
+ */
880
+ this.VoiceMessageConf = null;
881
+
882
+ /**
883
+ * Configuration information of phrase analysis
884
+ * @type {VoiceFilterConf || null}
885
+ */
886
+ this.VoiceFilterConf = null;
812
887
 
813
888
  }
814
889
 
@@ -819,8 +894,29 @@ class StatisticsItem extends AbstractModel {
819
894
  if (!params) {
820
895
  return;
821
896
  }
822
- this.StatDate = 'StatDate' in params ? params.StatDate : null;
823
- this.Data = 'Data' in params ? params.Data : null;
897
+ this.BizId = 'BizId' in params ? params.BizId : null;
898
+ this.AppName = 'AppName' in params ? params.AppName : null;
899
+ this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
900
+ this.SecretKey = 'SecretKey' in params ? params.SecretKey : null;
901
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
902
+
903
+ if (params.RealtimeSpeechConf) {
904
+ let obj = new RealtimeSpeechConf();
905
+ obj.deserialize(params.RealtimeSpeechConf)
906
+ this.RealtimeSpeechConf = obj;
907
+ }
908
+
909
+ if (params.VoiceMessageConf) {
910
+ let obj = new VoiceMessageConf();
911
+ obj.deserialize(params.VoiceMessageConf)
912
+ this.VoiceMessageConf = obj;
913
+ }
914
+
915
+ if (params.VoiceFilterConf) {
916
+ let obj = new VoiceFilterConf();
917
+ obj.deserialize(params.VoiceFilterConf)
918
+ this.VoiceFilterConf = obj;
919
+ }
824
920
 
825
921
  }
826
922
  }
@@ -1114,7 +1210,7 @@ class RealtimeSpeechConf extends AbstractModel {
1114
1210
  this.Status = null;
1115
1211
 
1116
1212
  /**
1117
- * Voice chat sound quality type. Valid values: high (HD), ordinary (SD). Default value: high. SD sound quality is only available to allowllisted users. To try it out, please contact your Tencent Cloud rep.
1213
+ * Voice chat sound quality. Valid value: `high`
1118
1214
  * @type {string || null}
1119
1215
  */
1120
1216
  this.Quality = null;
@@ -1134,6 +1230,42 @@ class RealtimeSpeechConf extends AbstractModel {
1134
1230
  }
1135
1231
  }
1136
1232
 
1233
+ /**
1234
+ * Output parameters of app usage statistics
1235
+ * @class
1236
+ */
1237
+ class DescribeAppStatisticsResp extends AbstractModel {
1238
+ constructor(){
1239
+ super();
1240
+
1241
+ /**
1242
+ * App usage statistics
1243
+ * @type {Array.<AppStatisticsItem> || null}
1244
+ */
1245
+ this.AppStatistics = null;
1246
+
1247
+ }
1248
+
1249
+ /**
1250
+ * @private
1251
+ */
1252
+ deserialize(params) {
1253
+ if (!params) {
1254
+ return;
1255
+ }
1256
+
1257
+ if (params.AppStatistics) {
1258
+ this.AppStatistics = new Array();
1259
+ for (let z in params.AppStatistics) {
1260
+ let obj = new AppStatisticsItem();
1261
+ obj.deserialize(params.AppStatistics[z]);
1262
+ this.AppStatistics.push(obj);
1263
+ }
1264
+ }
1265
+
1266
+ }
1267
+ }
1268
+
1137
1269
  /**
1138
1270
  * Returned result of speech detection
1139
1271
  * @class
@@ -1170,7 +1302,7 @@ class ScanVoiceResult extends AbstractModel {
1170
1302
  }
1171
1303
 
1172
1304
  /**
1173
- * CreateApp output parameters
1305
+ * CreateApp response structure.
1174
1306
  * @class
1175
1307
  */
1176
1308
  class CreateAppResponse extends AbstractModel {
@@ -1178,52 +1310,16 @@ class CreateAppResponse extends AbstractModel {
1178
1310
  super();
1179
1311
 
1180
1312
  /**
1181
- * Application ID, which is automatically generated by the backend.
1182
- * @type {number || null}
1183
- */
1184
- this.BizId = null;
1185
-
1186
- /**
1187
- * Application name, which is passed through from the `AppName` input parameter
1188
- * @type {string || null}
1313
+ * Returned data
1314
+ * @type {CreateAppResp || null}
1189
1315
  */
1190
- this.AppName = null;
1191
-
1192
- /**
1193
- * Project ID, which is passed through from the entered `ProjectId`
1194
- * @type {number || null}
1195
- */
1196
- this.ProjectId = null;
1316
+ this.Data = null;
1197
1317
 
1198
1318
  /**
1199
- * Application key, which is used when the GME SDK is initialized
1319
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1200
1320
  * @type {string || null}
1201
1321
  */
1202
- this.SecretKey = null;
1203
-
1204
- /**
1205
- * Service creation timestamp
1206
- * @type {number || null}
1207
- */
1208
- this.CreateTime = null;
1209
-
1210
- /**
1211
- * Configuration information of voice chat
1212
- * @type {RealtimeSpeechConf || null}
1213
- */
1214
- this.RealtimeSpeechConf = null;
1215
-
1216
- /**
1217
- * Configuration information of voice messaging and speech-to-text
1218
- * @type {VoiceMessageConf || null}
1219
- */
1220
- this.VoiceMessageConf = null;
1221
-
1222
- /**
1223
- * Configuration information of phrase analysis
1224
- * @type {VoiceFilterConf || null}
1225
- */
1226
- this.VoiceFilterConf = null;
1322
+ this.RequestId = null;
1227
1323
 
1228
1324
  }
1229
1325
 
@@ -1234,29 +1330,13 @@ class CreateAppResponse extends AbstractModel {
1234
1330
  if (!params) {
1235
1331
  return;
1236
1332
  }
1237
- this.BizId = 'BizId' in params ? params.BizId : null;
1238
- this.AppName = 'AppName' in params ? params.AppName : null;
1239
- this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
1240
- this.SecretKey = 'SecretKey' in params ? params.SecretKey : null;
1241
- this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
1242
-
1243
- if (params.RealtimeSpeechConf) {
1244
- let obj = new RealtimeSpeechConf();
1245
- obj.deserialize(params.RealtimeSpeechConf)
1246
- this.RealtimeSpeechConf = obj;
1247
- }
1248
1333
 
1249
- if (params.VoiceMessageConf) {
1250
- let obj = new VoiceMessageConf();
1251
- obj.deserialize(params.VoiceMessageConf)
1252
- this.VoiceMessageConf = obj;
1253
- }
1254
-
1255
- if (params.VoiceFilterConf) {
1256
- let obj = new VoiceFilterConf();
1257
- obj.deserialize(params.VoiceFilterConf)
1258
- this.VoiceFilterConf = obj;
1334
+ if (params.Data) {
1335
+ let obj = new CreateAppResp();
1336
+ obj.deserialize(params.Data)
1337
+ this.Data = obj;
1259
1338
  }
1339
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1260
1340
 
1261
1341
  }
1262
1342
  }
@@ -1418,7 +1498,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
1418
1498
  }
1419
1499
 
1420
1500
  /**
1421
- * ModifyAppStatus API output parameters
1501
+ * ModifyAppStatus response structure.
1422
1502
  * @class
1423
1503
  */
1424
1504
  class ModifyAppStatusResponse extends AbstractModel {
@@ -1426,16 +1506,16 @@ class ModifyAppStatusResponse extends AbstractModel {
1426
1506
  super();
1427
1507
 
1428
1508
  /**
1429
- * GME application ID
1430
- * @type {number || null}
1509
+ * Returned data
1510
+ * @type {ModifyAppStatusResp || null}
1431
1511
  */
1432
- this.BizId = null;
1512
+ this.Data = null;
1433
1513
 
1434
1514
  /**
1435
- * Application status. Valid values: open, close
1515
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1436
1516
  * @type {string || null}
1437
1517
  */
1438
- this.Status = null;
1518
+ this.RequestId = null;
1439
1519
 
1440
1520
  }
1441
1521
 
@@ -1446,8 +1526,13 @@ class ModifyAppStatusResponse extends AbstractModel {
1446
1526
  if (!params) {
1447
1527
  return;
1448
1528
  }
1449
- this.BizId = 'BizId' in params ? params.BizId : null;
1450
- this.Status = 'Status' in params ? params.Status : null;
1529
+
1530
+ if (params.Data) {
1531
+ let obj = new ModifyAppStatusResp();
1532
+ obj.deserialize(params.Data)
1533
+ this.Data = obj;
1534
+ }
1535
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1451
1536
 
1452
1537
  }
1453
1538
  }
@@ -1480,6 +1565,41 @@ class VoiceFilterConf extends AbstractModel {
1480
1565
  }
1481
1566
  }
1482
1567
 
1568
+ /**
1569
+ * Usage data
1570
+ * @class
1571
+ */
1572
+ class StatisticsItem extends AbstractModel {
1573
+ constructor(){
1574
+ super();
1575
+
1576
+ /**
1577
+ * Date in the format of yyyy-mm-dd, such as 2018-07-13
1578
+ * @type {string || null}
1579
+ */
1580
+ this.StatDate = null;
1581
+
1582
+ /**
1583
+ * Statistics
1584
+ * @type {number || null}
1585
+ */
1586
+ this.Data = null;
1587
+
1588
+ }
1589
+
1590
+ /**
1591
+ * @private
1592
+ */
1593
+ deserialize(params) {
1594
+ if (!params) {
1595
+ return;
1596
+ }
1597
+ this.StatDate = 'StatDate' in params ? params.StatDate : null;
1598
+ this.Data = 'Data' in params ? params.Data : null;
1599
+
1600
+ }
1601
+ }
1602
+
1483
1603
  /**
1484
1604
  * ScanVoice request structure.
1485
1605
  * @class
@@ -1558,21 +1678,24 @@ module.exports = {
1558
1678
  Tag: Tag,
1559
1679
  VoiceMessageConf: VoiceMessageConf,
1560
1680
  ApplicationDataStatistics: ApplicationDataStatistics,
1681
+ ModifyAppStatusResp: ModifyAppStatusResp,
1561
1682
  DescribeAppStatisticsResponse: DescribeAppStatisticsResponse,
1562
1683
  DescribeApplicationDataResponse: DescribeApplicationDataResponse,
1563
1684
  Task: Task,
1564
1685
  VoiceFilterStatisticsItem: VoiceFilterStatisticsItem,
1565
- StatisticsItem: StatisticsItem,
1686
+ CreateAppResp: CreateAppResp,
1566
1687
  DescribeScanResult: DescribeScanResult,
1567
1688
  ScanDetail: ScanDetail,
1568
1689
  CreateAppRequest: CreateAppRequest,
1569
1690
  RealtimeSpeechConf: RealtimeSpeechConf,
1691
+ DescribeAppStatisticsResp: DescribeAppStatisticsResp,
1570
1692
  ScanVoiceResult: ScanVoiceResult,
1571
1693
  CreateAppResponse: CreateAppResponse,
1572
1694
  DescribeAppStatisticsRequest: DescribeAppStatisticsRequest,
1573
1695
  ScanPiece: ScanPiece,
1574
1696
  ModifyAppStatusResponse: ModifyAppStatusResponse,
1575
1697
  VoiceFilterConf: VoiceFilterConf,
1698
+ StatisticsItem: StatisticsItem,
1576
1699
  ScanVoiceRequest: ScanVoiceRequest,
1577
1700
 
1578
1701
  }