tencentcloud-sdk-nodejs 4.0.849 → 4.0.851
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/CHANGELOG.md +313 -0
- package/SERVICE_CHANGELOG.md +390 -187
- package/package.json +1 -1
- package/products.md +33 -33
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +2 -2
- package/src/services/aiart/v20221229/aiart_models.ts +1 -1
- package/src/services/ams/index.ts +2 -2
- package/src/services/apm/v20210622/apm_models.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +5 -1
- package/src/services/billing/v20180709/billing_models.ts +2 -2
- package/src/services/bma/index.ts +2 -2
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/chdfs/index.ts +2 -2
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/csip/v20221121/csip_models.ts +40 -2
- package/src/services/cvm/v20170312/cvm_models.ts +5 -1
- package/src/services/cwp/v20180228/cwp_models.ts +10 -5
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +67 -7
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +92 -12
- package/src/services/dbbrain/index.ts +2 -2
- package/src/services/dts/index.ts +2 -2
- package/src/services/eis/index.ts +2 -2
- package/src/services/ess/v20201111/ess_client.ts +40 -11
- package/src/services/ess/v20201111/ess_models.ts +192 -68
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +6 -3
- package/src/services/faceid/v20180301/faceid_models.ts +5 -11
- package/src/services/hai/v20230812/hai_models.ts +1 -1
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +40 -10
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +105 -1
- package/src/services/iai/index.ts +2 -2
- package/src/services/iotcloud/index.ts +2 -2
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/irp/index.ts +2 -2
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -1
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -1
- package/src/services/live/v20180801/live_client.ts +37 -13
- package/src/services/live/v20180801/live_models.ts +68 -2
- package/src/services/lke/v20231130/lke_client.ts +5 -4
- package/src/services/lke/v20231130/lke_models.ts +60 -0
- package/src/services/mrs/v20200910/mrs_models.ts +1 -1
- package/src/services/organization/index.ts +2 -2
- package/src/services/ssl/v20191205/ssl_client.ts +19 -7
- package/src/services/ssl/v20191205/ssl_models.ts +36 -4
- package/src/services/ssm/v20190923/ssm_models.ts +1 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +9 -9
- package/src/services/tem/index.ts +2 -2
- package/src/services/teo/v20220901/teo_client.ts +1 -0
- package/src/services/teo/v20220901/teo_models.ts +21 -0
- package/src/services/thpc/index.ts +2 -2
- package/src/services/tione/index.ts +2 -2
- package/src/services/tke/index.ts +2 -2
- package/src/services/tke/v20220501/tke_client.ts +66 -17
- package/src/services/tke/v20220501/tke_models.ts +830 -165
- package/src/services/trtc/v20190722/trtc_models.ts +2 -2
- package/src/services/vm/index.ts +2 -2
- package/src/services/yunsou/index.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +2 -2
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +2 -2
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +1 -1
- package/tencentcloud/services/ams/index.d.ts +4 -4
- package/tencentcloud/services/ams/index.js +2 -2
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +5 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +2 -2
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +40 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +5 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +10 -5
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +23 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +33 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +82 -12
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/eis/index.d.ts +4 -4
- package/tencentcloud/services/eis/index.js +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +20 -7
- package/tencentcloud/services/ess/v20201111/ess_client.js +24 -7
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +188 -68
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +6 -3
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +5 -11
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +21 -7
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +25 -7
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +101 -1
- package/tencentcloud/services/iai/index.d.ts +4 -4
- package/tencentcloud/services/iai/index.js +2 -2
- package/tencentcloud/services/iotcloud/index.d.ts +4 -4
- package/tencentcloud/services/iotcloud/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/irp/index.d.ts +4 -4
- package/tencentcloud/services/irp/index.js +2 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +6 -1
- package/tencentcloud/services/live/v20180801/live_client.d.ts +13 -5
- package/tencentcloud/services/live/v20180801/live_client.js +18 -6
- package/tencentcloud/services/live/v20180801/live_models.d.ts +64 -2
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +4 -4
- package/tencentcloud/services/lke/v20231130/lke_client.js +4 -4
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +59 -0
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +1 -1
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +7 -3
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +9 -3
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +34 -4
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +9 -9
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +20 -0
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tione/index.d.ts +4 -4
- package/tencentcloud/services/tione/index.js +2 -2
- package/tencentcloud/services/tke/index.d.ts +4 -4
- package/tencentcloud/services/tke/index.js +2 -2
- package/tencentcloud/services/tke/v20220501/tke_client.d.ts +17 -5
- package/tencentcloud/services/tke/v20220501/tke_client.js +24 -6
- package/tencentcloud/services/tke/v20220501/tke_models.d.ts +766 -120
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/cynosdb.v20190107.test.js +52 -2
- package/test/ess.v20201111.test.js +22 -2
- package/test/hunyuan.v20230901.test.js +22 -2
- package/test/live.v20180801.test.js +24 -4
- package/test/ssl.v20191205.test.js +12 -2
- package/test/tke.v20220501.test.js +34 -4
|
@@ -2428,7 +2428,7 @@ export interface StartPublishCdnStreamRequest {
|
|
|
2428
2428
|
*/
|
|
2429
2429
|
RoomId: string;
|
|
2430
2430
|
/**
|
|
2431
|
-
* 主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0
|
|
2431
|
+
* 主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0为整型房间号,1为字符串房间号。
|
|
2432
2432
|
*/
|
|
2433
2433
|
RoomIdType: number;
|
|
2434
2434
|
/**
|
|
@@ -2826,7 +2826,7 @@ export interface MixUserInfo {
|
|
|
2826
2826
|
*/
|
|
2827
2827
|
RoomId?: string;
|
|
2828
2828
|
/**
|
|
2829
|
-
* 房间号类型,0
|
|
2829
|
+
* 房间号类型,0为整型房间号,1为字符串房间号。
|
|
2830
2830
|
*/
|
|
2831
2831
|
RoomIdType?: number;
|
|
2832
2832
|
}
|
|
@@ -3,12 +3,12 @@ export declare const vm: {
|
|
|
3
3
|
Client: typeof import("./v20210922/vm_client").Client;
|
|
4
4
|
Models: typeof import("./v20210922/vm_models");
|
|
5
5
|
};
|
|
6
|
-
v20200709: {
|
|
7
|
-
Client: typeof import("./v20200709/vm_client").Client;
|
|
8
|
-
Models: typeof import("./v20200709/vm_models");
|
|
9
|
-
};
|
|
10
6
|
v20201229: {
|
|
11
7
|
Client: typeof import("./v20201229/vm_client").Client;
|
|
12
8
|
Models: typeof import("./v20201229/vm_models");
|
|
13
9
|
};
|
|
10
|
+
v20200709: {
|
|
11
|
+
Client: typeof import("./v20200709/vm_client").Client;
|
|
12
|
+
Models: typeof import("./v20200709/vm_models");
|
|
13
|
+
};
|
|
14
14
|
};
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.vm = void 0;
|
|
4
4
|
const v20210922_1 = require("./v20210922");
|
|
5
|
-
const v20200709_1 = require("./v20200709");
|
|
6
5
|
const v20201229_1 = require("./v20201229");
|
|
6
|
+
const v20200709_1 = require("./v20200709");
|
|
7
7
|
exports.vm = {
|
|
8
8
|
v20210922: v20210922_1.v20210922,
|
|
9
|
-
v20200709: v20200709_1.v20200709,
|
|
10
9
|
v20201229: v20201229_1.v20201229,
|
|
10
|
+
v20200709: v20200709_1.v20200709,
|
|
11
11
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const yunsou: {
|
|
2
|
-
v20191115: {
|
|
3
|
-
Client: typeof import("./v20191115/yunsou_client").Client;
|
|
4
|
-
Models: typeof import("./v20191115/yunsou_models");
|
|
5
|
-
};
|
|
6
2
|
v20180504: {
|
|
7
3
|
Client: typeof import("./v20180504/yunsou_client").Client;
|
|
8
4
|
Models: typeof import("./v20180504/yunsou_models");
|
|
9
5
|
};
|
|
6
|
+
v20191115: {
|
|
7
|
+
Client: typeof import("./v20191115/yunsou_client").Client;
|
|
8
|
+
Models: typeof import("./v20191115/yunsou_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.yunsou = void 0;
|
|
4
|
-
const v20191115_1 = require("./v20191115");
|
|
5
4
|
const v20180504_1 = require("./v20180504");
|
|
5
|
+
const v20191115_1 = require("./v20191115");
|
|
6
6
|
exports.yunsou = {
|
|
7
|
-
v20191115: v20191115_1.v20191115,
|
|
8
7
|
v20180504: v20180504_1.v20180504,
|
|
8
|
+
v20191115: v20191115_1.v20191115,
|
|
9
9
|
};
|
|
@@ -278,6 +278,16 @@ it("cynosdb.v20190107.ExportInstanceSlowQueries", async function () {
|
|
|
278
278
|
}
|
|
279
279
|
})
|
|
280
280
|
|
|
281
|
+
it("cynosdb.v20190107.DeleteCLSDelivery", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.DeleteCLSDelivery({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
281
291
|
it("cynosdb.v20190107.DescribeChangedParamsAfterUpgrade", async function () {
|
|
282
292
|
try {
|
|
283
293
|
const data = await client.DescribeChangedParamsAfterUpgrade({})
|
|
@@ -348,6 +358,16 @@ it("cynosdb.v20190107.OfflineCluster", async function () {
|
|
|
348
358
|
}
|
|
349
359
|
})
|
|
350
360
|
|
|
361
|
+
it("cynosdb.v20190107.DescribeInstanceErrorLogs", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeInstanceErrorLogs({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
351
371
|
it("cynosdb.v20190107.ModifyClusterName", async function () {
|
|
352
372
|
try {
|
|
353
373
|
const data = await client.ModifyClusterName({})
|
|
@@ -808,6 +828,16 @@ it("cynosdb.v20190107.ModifyInstanceParam", async function () {
|
|
|
808
828
|
}
|
|
809
829
|
})
|
|
810
830
|
|
|
831
|
+
it("cynosdb.v20190107.DescribeInstanceCLSLogDelivery", async function () {
|
|
832
|
+
try {
|
|
833
|
+
const data = await client.DescribeInstanceCLSLogDelivery({})
|
|
834
|
+
expect(data).to.be.ok
|
|
835
|
+
} catch(error) {
|
|
836
|
+
expect(error.requestId).to.be.ok
|
|
837
|
+
expect(error.code).to.be.ok
|
|
838
|
+
}
|
|
839
|
+
})
|
|
840
|
+
|
|
811
841
|
it("cynosdb.v20190107.BindClusterResourcePackages", async function () {
|
|
812
842
|
try {
|
|
813
843
|
const data = await client.BindClusterResourcePackages({})
|
|
@@ -968,6 +998,16 @@ it("cynosdb.v20190107.InquirePriceRenew", async function () {
|
|
|
968
998
|
}
|
|
969
999
|
})
|
|
970
1000
|
|
|
1001
|
+
it("cynosdb.v20190107.StartCLSDelivery", async function () {
|
|
1002
|
+
try {
|
|
1003
|
+
const data = await client.StartCLSDelivery({})
|
|
1004
|
+
expect(data).to.be.ok
|
|
1005
|
+
} catch(error) {
|
|
1006
|
+
expect(error.requestId).to.be.ok
|
|
1007
|
+
expect(error.code).to.be.ok
|
|
1008
|
+
}
|
|
1009
|
+
})
|
|
1010
|
+
|
|
971
1011
|
it("cynosdb.v20190107.ReloadBalanceProxyNode", async function () {
|
|
972
1012
|
try {
|
|
973
1013
|
const data = await client.ReloadBalanceProxyNode({})
|
|
@@ -998,6 +1038,16 @@ it("cynosdb.v20190107.ModifyAuditRuleTemplates", async function () {
|
|
|
998
1038
|
}
|
|
999
1039
|
})
|
|
1000
1040
|
|
|
1041
|
+
it("cynosdb.v20190107.StopCLSDelivery", async function () {
|
|
1042
|
+
try {
|
|
1043
|
+
const data = await client.StopCLSDelivery({})
|
|
1044
|
+
expect(data).to.be.ok
|
|
1045
|
+
} catch(error) {
|
|
1046
|
+
expect(error.requestId).to.be.ok
|
|
1047
|
+
expect(error.code).to.be.ok
|
|
1048
|
+
}
|
|
1049
|
+
})
|
|
1050
|
+
|
|
1001
1051
|
it("cynosdb.v20190107.DescribeBackupList", async function () {
|
|
1002
1052
|
try {
|
|
1003
1053
|
const data = await client.DescribeBackupList({})
|
|
@@ -1218,9 +1268,9 @@ it("cynosdb.v20190107.ModifyDBInstanceSecurityGroups", async function () {
|
|
|
1218
1268
|
}
|
|
1219
1269
|
})
|
|
1220
1270
|
|
|
1221
|
-
it("cynosdb.v20190107.
|
|
1271
|
+
it("cynosdb.v20190107.CreateCLSDelivery", async function () {
|
|
1222
1272
|
try {
|
|
1223
|
-
const data = await client.
|
|
1273
|
+
const data = await client.CreateCLSDelivery({})
|
|
1224
1274
|
expect(data).to.be.ok
|
|
1225
1275
|
} catch(error) {
|
|
1226
1276
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +138,9 @@ it("ess.v20201111.UnbindEmployeeUserIdWithClientOpenId", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("ess.v20201111.
|
|
141
|
+
it("ess.v20201111.CreateUserVerifyUrl", async function () {
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.CreateUserVerifyUrl({})
|
|
144
144
|
expect(data).to.be.ok
|
|
145
145
|
} catch(error) {
|
|
146
146
|
expect(error.requestId).to.be.ok
|
|
@@ -338,6 +338,16 @@ it("ess.v20201111.CreateBatchOrganizationRegistrationTasks", async function () {
|
|
|
338
338
|
}
|
|
339
339
|
})
|
|
340
340
|
|
|
341
|
+
it("ess.v20201111.DescribeUserVerifyStatus", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DescribeUserVerifyStatus({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
341
351
|
it("ess.v20201111.CreateReleaseFlow", async function () {
|
|
342
352
|
try {
|
|
343
353
|
const data = await client.CreateReleaseFlow({})
|
|
@@ -678,6 +688,16 @@ it("ess.v20201111.DescribeThirdPartyAuthCode", async function () {
|
|
|
678
688
|
}
|
|
679
689
|
})
|
|
680
690
|
|
|
691
|
+
it("ess.v20201111.RenewAutoSignLicense", async function () {
|
|
692
|
+
try {
|
|
693
|
+
const data = await client.RenewAutoSignLicense({})
|
|
694
|
+
expect(data).to.be.ok
|
|
695
|
+
} catch(error) {
|
|
696
|
+
expect(error.requestId).to.be.ok
|
|
697
|
+
expect(error.code).to.be.ok
|
|
698
|
+
}
|
|
699
|
+
})
|
|
700
|
+
|
|
681
701
|
it("ess.v20201111.CreateWebThemeConfig", async function () {
|
|
682
702
|
try {
|
|
683
703
|
const data = await client.CreateWebThemeConfig({})
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.hunyuan.v20230901.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("hunyuan.v20230901.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("hunyuan.v20230901.
|
|
21
|
+
it("hunyuan.v20230901.SubmitHunyuanImageJob", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.SubmitHunyuanImageJob({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -38,6 +38,16 @@ it("hunyuan.v20230901.ChatPro", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("hunyuan.v20230901.QueryHunyuanImageJob", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.QueryHunyuanImageJob({})
|
|
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
|
+
|
|
41
51
|
it("hunyuan.v20230901.ChatStd", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.ChatStd({})
|
|
@@ -48,6 +58,16 @@ it("hunyuan.v20230901.ChatStd", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
61
|
+
it("hunyuan.v20230901.ChatCompletions", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ChatCompletions({})
|
|
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
|
+
|
|
51
71
|
it("hunyuan.v20230901.GetTokenCount", async function () {
|
|
52
72
|
try {
|
|
53
73
|
const data = await client.GetTokenCount({})
|
|
@@ -258,9 +258,9 @@ it("live.v20180801.CreateScreenshotTask", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
-
it("live.v20180801.
|
|
261
|
+
it("live.v20180801.DescribeLiveRecordTemplates", async function () {
|
|
262
262
|
try {
|
|
263
|
-
const data = await client.
|
|
263
|
+
const data = await client.DescribeLiveRecordTemplates({})
|
|
264
264
|
expect(data).to.be.ok
|
|
265
265
|
} catch(error) {
|
|
266
266
|
expect(error.requestId).to.be.ok
|
|
@@ -1088,6 +1088,16 @@ it("live.v20180801.DescribeScreenshotTask", async function () {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
})
|
|
1090
1090
|
|
|
1091
|
+
it("live.v20180801.DescribeLivePadProcessorList", async function () {
|
|
1092
|
+
try {
|
|
1093
|
+
const data = await client.DescribeLivePadProcessorList({})
|
|
1094
|
+
expect(data).to.be.ok
|
|
1095
|
+
} catch(error) {
|
|
1096
|
+
expect(error.requestId).to.be.ok
|
|
1097
|
+
expect(error.code).to.be.ok
|
|
1098
|
+
}
|
|
1099
|
+
})
|
|
1100
|
+
|
|
1091
1101
|
it("live.v20180801.DescribePushBandwidthAndFluxList", async function () {
|
|
1092
1102
|
try {
|
|
1093
1103
|
const data = await client.DescribePushBandwidthAndFluxList({})
|
|
@@ -1308,9 +1318,9 @@ it("live.v20180801.DeleteLiveRecord", async function () {
|
|
|
1308
1318
|
}
|
|
1309
1319
|
})
|
|
1310
1320
|
|
|
1311
|
-
it("live.v20180801.
|
|
1321
|
+
it("live.v20180801.DescribeLiveStreamMonitorList", async function () {
|
|
1312
1322
|
try {
|
|
1313
|
-
const data = await client.
|
|
1323
|
+
const data = await client.DescribeLiveStreamMonitorList({})
|
|
1314
1324
|
expect(data).to.be.ok
|
|
1315
1325
|
} catch(error) {
|
|
1316
1326
|
expect(error.requestId).to.be.ok
|
|
@@ -1508,6 +1518,16 @@ it("live.v20180801.CancelCommonMixStream", async function () {
|
|
|
1508
1518
|
}
|
|
1509
1519
|
})
|
|
1510
1520
|
|
|
1521
|
+
it("live.v20180801.StopLivePadProcessor", async function () {
|
|
1522
|
+
try {
|
|
1523
|
+
const data = await client.StopLivePadProcessor({})
|
|
1524
|
+
expect(data).to.be.ok
|
|
1525
|
+
} catch(error) {
|
|
1526
|
+
expect(error.requestId).to.be.ok
|
|
1527
|
+
expect(error.code).to.be.ok
|
|
1528
|
+
}
|
|
1529
|
+
})
|
|
1530
|
+
|
|
1511
1531
|
it("live.v20180801.DescribeLivePackageInfo", async function () {
|
|
1512
1532
|
try {
|
|
1513
1533
|
const data = await client.DescribeLivePackageInfo({})
|
|
@@ -88,9 +88,9 @@ it("ssl.v20191205.DeleteManager", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("ssl.v20191205.
|
|
91
|
+
it("ssl.v20191205.DescribeDownloadCertificateUrl", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.DescribeDownloadCertificateUrl({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -288,6 +288,16 @@ it("ssl.v20191205.DescribeCertificateDetail", async function () {
|
|
|
288
288
|
}
|
|
289
289
|
})
|
|
290
290
|
|
|
291
|
+
it("ssl.v20191205.DescribeHostVodInstanceList", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeHostVodInstanceList({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
291
301
|
it("ssl.v20191205.DescribeHostLiveInstanceList", async function () {
|
|
292
302
|
try {
|
|
293
303
|
const data = await client.DescribeHostLiveInstanceList({})
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.tke.v20220501.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tke.v20220501.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("tke.v20220501.
|
|
21
|
+
it("tke.v20220501.DescribeNodePools", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DescribeNodePools({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,39 @@ it("tke.v20220501.DescribeClusterInstances", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("tke.v20220501.
|
|
31
|
+
it("tke.v20220501.CreateNodePool", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.CreateNodePool({})
|
|
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("tke.v20220501.DeleteNodePool", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DeleteNodePool({})
|
|
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("tke.v20220501.ModifyNodePool", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.ModifyNodePool({})
|
|
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("tke.v20220501.DescribeClusterInstances", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeClusterInstances({})
|
|
34
64
|
expect(data).to.be.ok
|
|
35
65
|
} catch(error) {
|
|
36
66
|
expect(error.requestId).to.be.ok
|