tencentcloud-sdk-nodejs 4.0.975 → 4.0.977

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 (116) hide show
  1. package/CHANGELOG.md +482 -0
  2. package/SERVICE_CHANGELOG.md +783 -341
  3. package/package.json +1 -1
  4. package/products.md +42 -41
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/af/v20200226/af_client.ts +3 -1
  7. package/src/services/bh/v20230418/bh_models.ts +1 -1
  8. package/src/services/billing/v20180709/billing_models.ts +13 -13
  9. package/src/services/cdb/v20170320/cdb_client.ts +1 -3
  10. package/src/services/cdb/v20170320/cdb_models.ts +13 -6
  11. package/src/services/cfs/v20190719/cfs_models.ts +4 -0
  12. package/src/services/ckafka/v20190819/ckafka_models.ts +3 -3
  13. package/src/services/clb/v20180317/clb_client.ts +1 -1
  14. package/src/services/clb/v20180317/clb_models.ts +6 -6
  15. package/src/services/cls/v20201016/cls_models.ts +12 -12
  16. package/src/services/cwp/v20180228/cwp_client.ts +4 -2
  17. package/src/services/cwp/v20180228/cwp_models.ts +8 -0
  18. package/src/services/emr/v20190103/emr_models.ts +6 -16
  19. package/src/services/ess/v20201111/ess_models.ts +10 -0
  20. package/src/services/essbasic/v20210526/essbasic_models.ts +10 -0
  21. package/src/services/faceid/v20180301/faceid_models.ts +2 -0
  22. package/src/services/hunyuan/v20230901/hunyuan_models.ts +2 -1
  23. package/src/services/iai/v20180301/iai_models.ts +10 -10
  24. package/src/services/iap/index.ts +5 -0
  25. package/src/services/iap/v20240713/iap_client.ts +103 -0
  26. package/src/services/iap/v20240713/iap_models.ts +241 -0
  27. package/src/services/iap/v20240713/index.ts +6 -0
  28. package/src/services/index.ts +1 -0
  29. package/src/services/lcic/v20220817/lcic_client.ts +38 -1
  30. package/src/services/lcic/v20220817/lcic_models.ts +142 -9
  31. package/src/services/live/v20180801/live_client.ts +112 -12
  32. package/src/services/live/v20180801/live_models.ts +1119 -537
  33. package/src/services/market/v20191010/market_client.ts +2 -3
  34. package/src/services/market/v20191010/market_models.ts +6 -6
  35. package/src/services/monitor/v20180724/monitor_models.ts +9 -5
  36. package/src/services/mps/v20190612/mps_client.ts +8 -3
  37. package/src/services/mps/v20190612/mps_models.ts +168 -28
  38. package/src/services/redis/v20180412/redis_client.ts +47 -47
  39. package/src/services/redis/v20180412/redis_models.ts +166 -117
  40. package/src/services/tat/v20201028/tat_models.ts +5 -5
  41. package/src/services/tchd/v20230306/tchd_client.ts +4 -2
  42. package/src/services/tke/v20220501/tke_client.ts +2 -2
  43. package/src/services/tke/v20220501/tke_models.ts +8 -0
  44. package/src/services/trtc/v20190722/trtc_models.ts +10 -2
  45. package/src/services/tse/v20201207/tse_models.ts +98 -12
  46. package/src/services/vclm/v20240523/vclm_client.ts +1 -1
  47. package/src/services/vclm/v20240523/vclm_models.ts +43 -31
  48. package/src/services/vpc/v20170312/vpc_client.ts +56 -7
  49. package/src/services/vpc/v20170312/vpc_models.ts +519 -319
  50. package/tencentcloud/common/sdk_version.d.ts +1 -1
  51. package/tencentcloud/common/sdk_version.js +1 -1
  52. package/tencentcloud/services/af/v20200226/af_client.d.ts +3 -1
  53. package/tencentcloud/services/af/v20200226/af_client.js +3 -1
  54. package/tencentcloud/services/bh/v20230418/bh_models.d.ts +1 -1
  55. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +13 -13
  56. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -3
  57. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -3
  58. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +13 -6
  59. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
  60. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +3 -3
  61. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
  62. package/tencentcloud/services/clb/v20180317/clb_client.js +1 -1
  63. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +6 -6
  64. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +12 -12
  65. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +3 -1
  66. package/tencentcloud/services/cwp/v20180228/cwp_client.js +3 -1
  67. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +8 -0
  68. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +6 -16
  69. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -0
  70. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -0
  71. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +2 -0
  72. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +2 -1
  73. package/tencentcloud/services/iai/v20180301/iai_models.d.ts +10 -10
  74. package/tencentcloud/services/iap/index.d.ts +6 -0
  75. package/tencentcloud/services/iap/index.js +7 -0
  76. package/tencentcloud/services/iap/v20240713/iap_client.d.ts +34 -0
  77. package/tencentcloud/services/iap/v20240713/iap_client.js +67 -0
  78. package/tencentcloud/services/iap/v20240713/iap_models.d.ts +213 -0
  79. package/tencentcloud/services/iap/v20240713/iap_models.js +18 -0
  80. package/tencentcloud/services/iap/v20240713/index.d.ts +6 -0
  81. package/tencentcloud/services/iap/v20240713/index.js +9 -0
  82. package/tencentcloud/services/index.d.ts +1 -0
  83. package/tencentcloud/services/index.js +2 -0
  84. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +13 -1
  85. package/tencentcloud/services/lcic/v20220817/lcic_client.js +18 -0
  86. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +135 -9
  87. package/tencentcloud/services/live/v20180801/live_client.d.ts +34 -1
  88. package/tencentcloud/services/live/v20180801/live_client.js +49 -0
  89. package/tencentcloud/services/live/v20180801/live_models.d.ts +1113 -550
  90. package/tencentcloud/services/market/v20191010/market_client.d.ts +0 -1
  91. package/tencentcloud/services/market/v20191010/market_client.js +0 -1
  92. package/tencentcloud/services/market/v20191010/market_models.d.ts +6 -6
  93. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +9 -5
  94. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
  95. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +163 -28
  96. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +47 -47
  97. package/tencentcloud/services/redis/v20180412/redis_client.js +47 -47
  98. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +166 -117
  99. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +5 -5
  100. package/tencentcloud/services/tchd/v20230306/tchd_client.d.ts +2 -0
  101. package/tencentcloud/services/tchd/v20230306/tchd_client.js +2 -0
  102. package/tencentcloud/services/tke/v20220501/tke_client.d.ts +2 -2
  103. package/tencentcloud/services/tke/v20220501/tke_client.js +2 -2
  104. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +8 -0
  105. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +10 -2
  106. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +98 -12
  107. package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +1 -1
  108. package/tencentcloud/services/vclm/v20240523/vclm_client.js +1 -1
  109. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +43 -31
  110. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +18 -2
  111. package/tencentcloud/services/vpc/v20170312/vpc_client.js +25 -1
  112. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +512 -321
  113. package/test/iap.v20240713.test.js +81 -0
  114. package/test/lcic.v20220817.test.js +30 -0
  115. package/test/live.v20180801.test.js +80 -0
  116. package/test/vpc.v20170312.test.js +40 -0
@@ -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
+ })
@@ -348,6 +348,16 @@ it("lcic.v20220817.SendRoomNormalMessage", async function () {
348
348
  }
349
349
  })
350
350
 
351
+ it("lcic.v20220817.DescribeRecord", async function () {
352
+ try {
353
+ const data = await client.DescribeRecord({})
354
+ expect(data).to.be.ok
355
+ } catch(error) {
356
+ expect(error.requestId).to.be.ok
357
+ expect(error.code).to.be.ok
358
+ }
359
+ })
360
+
351
361
  it("lcic.v20220817.DescribeGroupList", async function () {
352
362
  try {
353
363
  const data = await client.DescribeGroupList({})
@@ -538,6 +548,16 @@ it("lcic.v20220817.DeleteDocument", async function () {
538
548
  }
539
549
  })
540
550
 
551
+ it("lcic.v20220817.StopRecord", async function () {
552
+ try {
553
+ const data = await client.StopRecord({})
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
+
541
561
  it("lcic.v20220817.BatchDeleteRecord", async function () {
542
562
  try {
543
563
  const data = await client.BatchDeleteRecord({})
@@ -598,6 +618,16 @@ it("lcic.v20220817.DescribeDocument", async function () {
598
618
  }
599
619
  })
600
620
 
621
+ it("lcic.v20220817.StartRecord", async function () {
622
+ try {
623
+ const data = await client.StartRecord({})
624
+ expect(data).to.be.ok
625
+ } catch(error) {
626
+ expect(error.requestId).to.be.ok
627
+ expect(error.code).to.be.ok
628
+ }
629
+ })
630
+
601
631
  it("lcic.v20220817.CreateGroupWithSubGroup", async function () {
602
632
  try {
603
633
  const data = await client.CreateGroupWithSubGroup({})
@@ -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({})
@@ -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({})