tencentcloud-sdk-nodejs 4.0.976 → 4.0.978

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 (91) hide show
  1. package/CHANGELOG.md +387 -0
  2. package/SERVICE_CHANGELOG.md +500 -247
  3. package/package.json +1 -1
  4. package/products.md +30 -29
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/af/v20200226/af_client.ts +3 -1
  7. package/src/services/as/v20180419/as_models.ts +3 -1
  8. package/src/services/billing/v20180709/billing_models.ts +13 -13
  9. package/src/services/cdwch/v20200915/cdwch_client.ts +12 -0
  10. package/src/services/cdwch/v20200915/cdwch_models.ts +51 -0
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +3 -3
  12. package/src/services/clb/v20180317/clb_models.ts +6 -6
  13. package/src/services/cwp/v20180228/cwp_models.ts +8 -0
  14. package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -1
  15. package/src/services/ess/v20201111/ess_models.ts +23 -2
  16. package/src/services/essbasic/v20210526/essbasic_models.ts +27 -2
  17. package/src/services/faceid/v20180301/faceid_models.ts +2 -0
  18. package/src/services/iai/v20180301/iai_models.ts +10 -10
  19. package/src/services/iap/index.ts +5 -0
  20. package/src/services/iap/v20240713/iap_client.ts +103 -0
  21. package/src/services/iap/v20240713/iap_models.ts +241 -0
  22. package/src/services/iap/v20240713/index.ts +6 -0
  23. package/src/services/index.ts +1 -0
  24. package/src/services/lcic/v20220817/lcic_models.ts +6 -3
  25. package/src/services/live/v20180801/live_client.ts +112 -12
  26. package/src/services/live/v20180801/live_models.ts +1108 -526
  27. package/src/services/market/v20191010/market_client.ts +2 -3
  28. package/src/services/market/v20191010/market_models.ts +3 -4
  29. package/src/services/mps/v20190612/mps_client.ts +17 -0
  30. package/src/services/mps/v20190612/mps_models.ts +88 -0
  31. package/src/services/redis/v20180412/redis_client.ts +47 -47
  32. package/src/services/redis/v20180412/redis_models.ts +166 -117
  33. package/src/services/tat/v20201028/tat_models.ts +5 -5
  34. package/src/services/tke/v20220501/tke_client.ts +2 -2
  35. package/src/services/tse/v20201207/tse_models.ts +98 -12
  36. package/src/services/vpc/v20170312/vpc_client.ts +56 -7
  37. package/src/services/vpc/v20170312/vpc_models.ts +514 -313
  38. package/src/services/wedata/v20210820/wedata_models.ts +22 -2
  39. package/tencentcloud/common/sdk_version.d.ts +1 -1
  40. package/tencentcloud/common/sdk_version.js +1 -1
  41. package/tencentcloud/services/af/v20200226/af_client.d.ts +3 -1
  42. package/tencentcloud/services/af/v20200226/af_client.js +3 -1
  43. package/tencentcloud/services/as/v20180419/as_models.d.ts +3 -1
  44. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +13 -13
  45. package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +5 -1
  46. package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +6 -0
  47. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +49 -0
  48. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +3 -3
  49. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +6 -6
  50. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +8 -0
  51. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -1
  52. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +23 -2
  53. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +27 -2
  54. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +2 -0
  55. package/tencentcloud/services/iai/v20180301/iai_models.d.ts +10 -10
  56. package/tencentcloud/services/iap/index.d.ts +6 -0
  57. package/tencentcloud/services/iap/index.js +7 -0
  58. package/tencentcloud/services/iap/v20240713/iap_client.d.ts +34 -0
  59. package/tencentcloud/services/iap/v20240713/iap_client.js +67 -0
  60. package/tencentcloud/services/iap/v20240713/iap_models.d.ts +213 -0
  61. package/tencentcloud/services/iap/v20240713/iap_models.js +18 -0
  62. package/tencentcloud/services/iap/v20240713/index.d.ts +6 -0
  63. package/tencentcloud/services/iap/v20240713/index.js +9 -0
  64. package/tencentcloud/services/index.d.ts +1 -0
  65. package/tencentcloud/services/index.js +2 -0
  66. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +6 -3
  67. package/tencentcloud/services/live/v20180801/live_client.d.ts +34 -1
  68. package/tencentcloud/services/live/v20180801/live_client.js +49 -0
  69. package/tencentcloud/services/live/v20180801/live_models.d.ts +1106 -543
  70. package/tencentcloud/services/market/v20191010/market_client.d.ts +0 -1
  71. package/tencentcloud/services/market/v20191010/market_client.js +0 -1
  72. package/tencentcloud/services/market/v20191010/market_models.d.ts +3 -4
  73. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +7 -1
  74. package/tencentcloud/services/mps/v20190612/mps_client.js +8 -0
  75. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +83 -0
  76. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +47 -47
  77. package/tencentcloud/services/redis/v20180412/redis_client.js +47 -47
  78. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +166 -117
  79. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +5 -5
  80. package/tencentcloud/services/tke/v20220501/tke_client.d.ts +2 -2
  81. package/tencentcloud/services/tke/v20220501/tke_client.js +2 -2
  82. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +98 -12
  83. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +18 -2
  84. package/tencentcloud/services/vpc/v20170312/vpc_client.js +25 -1
  85. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +508 -316
  86. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +22 -2
  87. package/test/cdwch.v20200915.test.js +10 -0
  88. package/test/iap.v20240713.test.js +81 -0
  89. package/test/live.v20180801.test.js +80 -0
  90. package/test/mps.v20190612.test.js +10 -0
  91. package/test/vpc.v20170312.test.js +40 -0
@@ -769,11 +769,11 @@ export interface UpdateDataModelRegistryInfoRequest {
769
769
  */
770
770
  AppCamRole: string;
771
771
  /**
772
- * 数语的ip
772
+ * 数语的公网访问ip
773
773
  */
774
774
  Ip?: string;
775
775
  /**
776
- * 数语的端口
776
+ * 数语的公网访问端口
777
777
  */
778
778
  Port?: number;
779
779
  /**
@@ -792,6 +792,26 @@ export interface UpdateDataModelRegistryInfoRequest {
792
792
  * 主账号id
793
793
  */
794
794
  OwnId?: string;
795
+ /**
796
+ * VpcId
797
+ */
798
+ VpcId?: string;
799
+ /**
800
+ * Vpc地域
801
+ */
802
+ VpcRegion?: string;
803
+ /**
804
+ * 数语的内网访问ip
805
+ */
806
+ Pip?: string;
807
+ /**
808
+ * 数语的内网访问端口
809
+ */
810
+ Pport?: number;
811
+ /**
812
+ * 是否开放公网访问数语, 1:是,0:否,默认1开放
813
+ */
814
+ IsPublic?: number;
795
815
  }
796
816
  /**
797
817
  * 批量操作出参
@@ -178,6 +178,16 @@ it("cdwch.v20200915.ModifyClusterConfigs", async function () {
178
178
  }
179
179
  })
180
180
 
181
+ it("cdwch.v20200915.ScaleCNOutUpInstance", async function () {
182
+ try {
183
+ const data = await client.ScaleCNOutUpInstance({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
181
191
  it("cdwch.v20200915.RecoverBackUpJob", async function () {
182
192
  try {
183
193
  const data = await client.RecoverBackUpJob({})
@@ -0,0 +1,81 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.iap.v20240713.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("iap.v20240713.test.js", function () {
20
+
21
+ it("iap.v20240713.UpdateIAPUserOIDCConfig", async function () {
22
+ try {
23
+ const data = await client.UpdateIAPUserOIDCConfig({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
31
+ it("iap.v20240713.DescribeIAPLoginSessionDuration", async function () {
32
+ try {
33
+ const data = await client.DescribeIAPLoginSessionDuration({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
41
+ it("iap.v20240713.DescribeIAPUserOIDCConfig", async function () {
42
+ try {
43
+ const data = await client.DescribeIAPUserOIDCConfig({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
51
+ it("iap.v20240713.DisableIAPUserSSO", async function () {
52
+ try {
53
+ const data = await client.DisableIAPUserSSO({})
54
+ expect(data).to.be.ok
55
+ } catch(error) {
56
+ expect(error.requestId).to.be.ok
57
+ expect(error.code).to.be.ok
58
+ }
59
+ })
60
+
61
+ it("iap.v20240713.CreateIAPUserOIDCConfig", async function () {
62
+ try {
63
+ const data = await client.CreateIAPUserOIDCConfig({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
71
+ it("iap.v20240713.ModifyIAPLoginSessionDuration", async function () {
72
+ try {
73
+ const data = await client.ModifyIAPLoginSessionDuration({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ })
@@ -238,6 +238,16 @@ it("live.v20180801.DescribeLiveDomainReferer", async function () {
238
238
  }
239
239
  })
240
240
 
241
+ it("live.v20180801.DescribeLiveTimeShiftWriteSizeInfoList", async function () {
242
+ try {
243
+ const data = await client.DescribeLiveTimeShiftWriteSizeInfoList({})
244
+ expect(data).to.be.ok
245
+ } catch(error) {
246
+ expect(error.requestId).to.be.ok
247
+ expect(error.code).to.be.ok
248
+ }
249
+ })
250
+
241
251
  it("live.v20180801.DescribeTopClientIpSumInfoList", async function () {
242
252
  try {
243
253
  const data = await client.DescribeTopClientIpSumInfoList({})
@@ -428,6 +438,16 @@ it("live.v20180801.DeleteLiveCallbackTemplate", async function () {
428
438
  }
429
439
  })
430
440
 
441
+ it("live.v20180801.DescribeCasterPlayUrl", async function () {
442
+ try {
443
+ const data = await client.DescribeCasterPlayUrl({})
444
+ expect(data).to.be.ok
445
+ } catch(error) {
446
+ expect(error.requestId).to.be.ok
447
+ expect(error.code).to.be.ok
448
+ }
449
+ })
450
+
431
451
  it("live.v20180801.DescribeLivePushAuthKey", async function () {
432
452
  try {
433
453
  const data = await client.DescribeLivePushAuthKey({})
@@ -528,6 +548,16 @@ it("live.v20180801.DeleteLiveWatermark", async function () {
528
548
  }
529
549
  })
530
550
 
551
+ it("live.v20180801.ModifyCaster", async function () {
552
+ try {
553
+ const data = await client.ModifyCaster({})
554
+ expect(data).to.be.ok
555
+ } catch(error) {
556
+ expect(error.requestId).to.be.ok
557
+ expect(error.code).to.be.ok
558
+ }
559
+ })
560
+
531
561
  it("live.v20180801.DescribeLiveDomainCertBindings", async function () {
532
562
  try {
533
563
  const data = await client.DescribeLiveDomainCertBindings({})
@@ -908,6 +938,16 @@ it("live.v20180801.ModifyLivePlayAuthKey", async function () {
908
938
  }
909
939
  })
910
940
 
941
+ it("live.v20180801.DeleteCaster", async function () {
942
+ try {
943
+ const data = await client.DeleteCaster({})
944
+ expect(data).to.be.ok
945
+ } catch(error) {
946
+ expect(error.requestId).to.be.ok
947
+ expect(error.code).to.be.ok
948
+ }
949
+ })
950
+
911
951
  it("live.v20180801.DescribeLivePadTemplate", async function () {
912
952
  try {
913
953
  const data = await client.DescribeLivePadTemplate({})
@@ -1378,6 +1418,16 @@ it("live.v20180801.DeleteLiveStreamMonitor", async function () {
1378
1418
  }
1379
1419
  })
1380
1420
 
1421
+ it("live.v20180801.DescribeCaster", async function () {
1422
+ try {
1423
+ const data = await client.DescribeCaster({})
1424
+ expect(data).to.be.ok
1425
+ } catch(error) {
1426
+ expect(error.requestId).to.be.ok
1427
+ expect(error.code).to.be.ok
1428
+ }
1429
+ })
1430
+
1381
1431
  it("live.v20180801.DeleteLiveTimeShiftTemplate", async function () {
1382
1432
  try {
1383
1433
  const data = await client.DeleteLiveTimeShiftTemplate({})
@@ -1428,6 +1478,16 @@ it("live.v20180801.DescribeCasterTransitionTypes", async function () {
1428
1478
  }
1429
1479
  })
1430
1480
 
1481
+ it("live.v20180801.DescribeCasterDisplayInfo", async function () {
1482
+ try {
1483
+ const data = await client.DescribeCasterDisplayInfo({})
1484
+ expect(data).to.be.ok
1485
+ } catch(error) {
1486
+ expect(error.requestId).to.be.ok
1487
+ expect(error.code).to.be.ok
1488
+ }
1489
+ })
1490
+
1431
1491
  it("live.v20180801.StopLiveStreamMonitor", async function () {
1432
1492
  try {
1433
1493
  const data = await client.StopLiveStreamMonitor({})
@@ -1438,6 +1498,16 @@ it("live.v20180801.StopLiveStreamMonitor", async function () {
1438
1498
  }
1439
1499
  })
1440
1500
 
1501
+ it("live.v20180801.CreateCaster", async function () {
1502
+ try {
1503
+ const data = await client.CreateCaster({})
1504
+ expect(data).to.be.ok
1505
+ } catch(error) {
1506
+ expect(error.requestId).to.be.ok
1507
+ expect(error.code).to.be.ok
1508
+ }
1509
+ })
1510
+
1441
1511
  it("live.v20180801.DescribeLiveStreamState", async function () {
1442
1512
  try {
1443
1513
  const data = await client.DescribeLiveStreamState({})
@@ -1468,6 +1538,16 @@ it("live.v20180801.DeleteLiveRecordTemplate", async function () {
1468
1538
  }
1469
1539
  })
1470
1540
 
1541
+ it("live.v20180801.CopyCaster", async function () {
1542
+ try {
1543
+ const data = await client.CopyCaster({})
1544
+ expect(data).to.be.ok
1545
+ } catch(error) {
1546
+ expect(error.requestId).to.be.ok
1547
+ expect(error.code).to.be.ok
1548
+ }
1549
+ })
1550
+
1471
1551
  it("live.v20180801.DescribeBackupStreamList", async function () {
1472
1552
  try {
1473
1553
  const data = await client.DescribeBackupStreamList({})
@@ -468,6 +468,16 @@ it("mps.v20190612.StartStreamLinkFlow", async function () {
468
468
  }
469
469
  })
470
470
 
471
+ it("mps.v20190612.ProcessImage", async function () {
472
+ try {
473
+ const data = await client.ProcessImage({})
474
+ expect(data).to.be.ok
475
+ } catch(error) {
476
+ expect(error.requestId).to.be.ok
477
+ expect(error.code).to.be.ok
478
+ }
479
+ })
480
+
471
481
  it("mps.v20190612.ModifyStreamLinkInput", async function () {
472
482
  try {
473
483
  const data = await client.ModifyStreamLinkInput({})
@@ -838,6 +838,16 @@ it("vpc.v20170312.DetachCcnInstances", async function () {
838
838
  }
839
839
  })
840
840
 
841
+ it("vpc.v20170312.CreateReserveIpAddresses", async function () {
842
+ try {
843
+ const data = await client.CreateReserveIpAddresses({})
844
+ expect(data).to.be.ok
845
+ } catch(error) {
846
+ expect(error.requestId).to.be.ok
847
+ expect(error.code).to.be.ok
848
+ }
849
+ })
850
+
841
851
  it("vpc.v20170312.EnableRoutes", async function () {
842
852
  try {
843
853
  const data = await client.EnableRoutes({})
@@ -888,6 +898,16 @@ it("vpc.v20170312.ReleaseAddresses", async function () {
888
898
  }
889
899
  })
890
900
 
901
+ it("vpc.v20170312.DescribeReserveIpAddresses", async function () {
902
+ try {
903
+ const data = await client.DescribeReserveIpAddresses({})
904
+ expect(data).to.be.ok
905
+ } catch(error) {
906
+ expect(error.requestId).to.be.ok
907
+ expect(error.code).to.be.ok
908
+ }
909
+ })
910
+
891
911
  it("vpc.v20170312.ReplaceRoutes", async function () {
892
912
  try {
893
913
  const data = await client.ReplaceRoutes({})
@@ -1058,6 +1078,16 @@ it("vpc.v20170312.DescribePrivateNatGatewayRegions", async function () {
1058
1078
  }
1059
1079
  })
1060
1080
 
1081
+ it("vpc.v20170312.ModifyReserveIpAddress", async function () {
1082
+ try {
1083
+ const data = await client.ModifyReserveIpAddress({})
1084
+ expect(data).to.be.ok
1085
+ } catch(error) {
1086
+ expect(error.requestId).to.be.ok
1087
+ expect(error.code).to.be.ok
1088
+ }
1089
+ })
1090
+
1061
1091
  it("vpc.v20170312.DisassociateNatGatewayAddress", async function () {
1062
1092
  try {
1063
1093
  const data = await client.DisassociateNatGatewayAddress({})
@@ -3248,6 +3278,16 @@ it("vpc.v20170312.ModifyHighPriorityRouteTableAttribute", async function () {
3248
3278
  }
3249
3279
  })
3250
3280
 
3281
+ it("vpc.v20170312.DeleteReserveIpAddresses", async function () {
3282
+ try {
3283
+ const data = await client.DeleteReserveIpAddresses({})
3284
+ expect(data).to.be.ok
3285
+ } catch(error) {
3286
+ expect(error.requestId).to.be.ok
3287
+ expect(error.code).to.be.ok
3288
+ }
3289
+ })
3290
+
3251
3291
  it("vpc.v20170312.ModifyCdcLDCXAttribute", async function () {
3252
3292
  try {
3253
3293
  const data = await client.ModifyCdcLDCXAttribute({})