tencentcloud-sdk-nodejs 4.0.288 → 4.0.292
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 +487 -0
- package/SERVICE_CHANGELOG.md +484 -47
- package/package.json +1 -1
- package/products.md +164 -164
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +3 -2
- package/src/services/batch/v20170312/batch_models.ts +15 -15
- package/src/services/cdb/v20170320/cdb_models.ts +22 -5
- package/src/services/cdn/v20180606/cdn_client.ts +5 -2
- package/src/services/cdn/v20180606/cdn_models.ts +36 -4
- package/src/services/cii/v20210408/cii_client.ts +15 -0
- package/src/services/cii/v20210408/cii_models.ts +72 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +34 -10
- package/src/services/ckafka/v20190819/ckafka_models.ts +151 -46
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +209 -46
- package/src/services/cpdp/v20190820/cpdp_models.ts +2012 -541
- package/src/services/cvm/v20170312/cvm_models.ts +15 -15
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +199 -58
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +1668 -1113
- package/src/services/dcdb/v20180411/dcdb_client.ts +13 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +192 -0
- package/src/services/eb/v20210416/eb_client.ts +1 -1
- package/src/services/ecdn/v20191012/ecdn_client.ts +8 -4
- package/src/services/es/v20180416/es_models.ts +12 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
- package/src/services/gaap/v20180529/gaap_models.ts +51 -6
- package/src/services/ivld/v20210903/ivld_models.ts +10 -0
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +21 -4
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +208 -35
- package/src/services/mna/v20210119/mna_client.ts +3 -0
- package/src/services/mna/v20210119/mna_models.ts +75 -0
- package/src/services/monitor/v20180724/monitor_models.ts +21 -2
- package/src/services/rum/v20210622/rum_models.ts +12 -12
- package/src/services/tcm/v20210413/tcm_models.ts +10 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +66 -6
- package/src/services/tiw/v20190919/tiw_models.ts +6 -6
- package/src/services/tse/v20201207/tse_models.ts +10 -0
- package/src/services/vpc/v20170312/vpc_client.ts +4 -4
- package/src/services/vpc/v20170312/vpc_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +15 -15
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +19 -5
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +3 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +3 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +32 -4
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
- package/tencentcloud/services/cii/v20210408/cii_client.js +9 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +61 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +11 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +15 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +129 -41
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +61 -13
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +90 -18
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1714 -463
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +15 -15
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +47 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +69 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1409 -933
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +157 -0
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +1 -1
- package/tencentcloud/services/eb/v20210416/eb_client.js +1 -1
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +6 -2
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +6 -2
- package/tencentcloud/services/es/v20180416/es_models.d.ts +10 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +43 -6
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +8 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +5 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +6 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +178 -32
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +63 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +18 -2
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +12 -12
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +8 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +56 -5
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +6 -6
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +8 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +4 -4
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +4 -4
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
- package/test/cii.v20210408.test.js +10 -0
- package/test/ckafka.v20190819.test.js +22 -2
- package/test/cpdp.v20190820.test.js +132 -12
- package/test/cynosdb.v20190107.test.js +112 -2
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/lighthouse.v20200324.test.js +10 -0
|
@@ -565,11 +565,11 @@ export interface DescribeOnlineRecordCallbackResponse {
|
|
|
565
565
|
/**
|
|
566
566
|
* 实时录制事件回调地址,如果未设置回调地址,该字段为空字符串
|
|
567
567
|
*/
|
|
568
|
-
Callback
|
|
568
|
+
Callback: string;
|
|
569
569
|
/**
|
|
570
570
|
* 实时录制回调鉴权密钥
|
|
571
571
|
*/
|
|
572
|
-
CallbackKey
|
|
572
|
+
CallbackKey: string;
|
|
573
573
|
/**
|
|
574
574
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
575
575
|
*/
|
|
@@ -740,11 +740,11 @@ export interface DescribeWhiteboardPushCallbackResponse {
|
|
|
740
740
|
/**
|
|
741
741
|
* 白板推流事件回调地址,如果未设置回调地址,该字段为空字符串
|
|
742
742
|
*/
|
|
743
|
-
Callback
|
|
743
|
+
Callback: string;
|
|
744
744
|
/**
|
|
745
745
|
* 白板推流回调鉴权密钥
|
|
746
746
|
*/
|
|
747
|
-
CallbackKey
|
|
747
|
+
CallbackKey: string;
|
|
748
748
|
/**
|
|
749
749
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
750
750
|
*/
|
|
@@ -1414,11 +1414,11 @@ export interface DescribeTranscodeCallbackResponse {
|
|
|
1414
1414
|
/**
|
|
1415
1415
|
* 文档转码回调地址
|
|
1416
1416
|
*/
|
|
1417
|
-
Callback
|
|
1417
|
+
Callback: string;
|
|
1418
1418
|
/**
|
|
1419
1419
|
* 文档转码回调鉴权密钥
|
|
1420
1420
|
*/
|
|
1421
|
-
CallbackKey
|
|
1421
|
+
CallbackKey: string;
|
|
1422
1422
|
/**
|
|
1423
1423
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1424
1424
|
*/
|
|
@@ -338,7 +338,7 @@ export declare class Client extends AbstractClient {
|
|
|
338
338
|
*/
|
|
339
339
|
AcceptAttachCcnInstances(req: AcceptAttachCcnInstancesRequest, cb?: (error: string, rep: AcceptAttachCcnInstancesResponse) => void): Promise<AcceptAttachCcnInstancesResponse>;
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
341
|
+
* 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
342
342
|
*/
|
|
343
343
|
DeleteTemplateMember(req: DeleteTemplateMemberRequest, cb?: (error: string, rep: DeleteTemplateMemberResponse) => void): Promise<DeleteTemplateMemberResponse>;
|
|
344
344
|
/**
|
|
@@ -350,7 +350,7 @@ export declare class Client extends AbstractClient {
|
|
|
350
350
|
*/
|
|
351
351
|
DescribeGatewayFlowQos(req: DescribeGatewayFlowQosRequest, cb?: (error: string, rep: DescribeGatewayFlowQosResponse) => void): Promise<DescribeGatewayFlowQosResponse>;
|
|
352
352
|
/**
|
|
353
|
-
*
|
|
353
|
+
* 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
354
354
|
*/
|
|
355
355
|
ModifyTemplateMember(req: ModifyTemplateMemberRequest, cb?: (error: string, rep: ModifyTemplateMemberResponse) => void): Promise<ModifyTemplateMemberResponse>;
|
|
356
356
|
/**
|
|
@@ -961,7 +961,7 @@ LimitTypes取值范围:
|
|
|
961
961
|
*/
|
|
962
962
|
CreateNatGatewaySourceIpTranslationNatRule(req: CreateNatGatewaySourceIpTranslationNatRuleRequest, cb?: (error: string, rep: CreateNatGatewaySourceIpTranslationNatRuleResponse) => void): Promise<CreateNatGatewaySourceIpTranslationNatRuleResponse>;
|
|
963
963
|
/**
|
|
964
|
-
*
|
|
964
|
+
* 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
965
965
|
*/
|
|
966
966
|
AddTemplateMember(req: AddTemplateMemberRequest, cb?: (error: string, rep: AddTemplateMemberResponse) => void): Promise<AddTemplateMemberResponse>;
|
|
967
967
|
/**
|
|
@@ -1003,7 +1003,7 @@ LimitTypes取值范围:
|
|
|
1003
1003
|
*/
|
|
1004
1004
|
ModifyBandwidthPackageAttribute(req: ModifyBandwidthPackageAttributeRequest, cb?: (error: string, rep: ModifyBandwidthPackageAttributeResponse) => void): Promise<ModifyBandwidthPackageAttributeResponse>;
|
|
1005
1005
|
/**
|
|
1006
|
-
* 本接口(CreateAddressTemplate)用于创建IP
|
|
1006
|
+
* 本接口(CreateAddressTemplate)用于创建IP地址模板。
|
|
1007
1007
|
*/
|
|
1008
1008
|
CreateAddressTemplate(req: CreateAddressTemplateRequest, cb?: (error: string, rep: CreateAddressTemplateResponse) => void): Promise<CreateAddressTemplateResponse>;
|
|
1009
1009
|
/**
|
|
@@ -500,7 +500,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
500
500
|
return this.request("AcceptAttachCcnInstances", req, cb);
|
|
501
501
|
}
|
|
502
502
|
/**
|
|
503
|
-
*
|
|
503
|
+
* 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
504
504
|
*/
|
|
505
505
|
async DeleteTemplateMember(req, cb) {
|
|
506
506
|
return this.request("DeleteTemplateMember", req, cb);
|
|
@@ -518,7 +518,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
518
518
|
return this.request("DescribeGatewayFlowQos", req, cb);
|
|
519
519
|
}
|
|
520
520
|
/**
|
|
521
|
-
*
|
|
521
|
+
* 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
522
522
|
*/
|
|
523
523
|
async ModifyTemplateMember(req, cb) {
|
|
524
524
|
return this.request("ModifyTemplateMember", req, cb);
|
|
@@ -1363,7 +1363,7 @@ LimitTypes取值范围:
|
|
|
1363
1363
|
return this.request("CreateNatGatewaySourceIpTranslationNatRule", req, cb);
|
|
1364
1364
|
}
|
|
1365
1365
|
/**
|
|
1366
|
-
*
|
|
1366
|
+
* 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
1367
1367
|
*/
|
|
1368
1368
|
async AddTemplateMember(req, cb) {
|
|
1369
1369
|
return this.request("AddTemplateMember", req, cb);
|
|
@@ -1425,7 +1425,7 @@ LimitTypes取值范围:
|
|
|
1425
1425
|
return this.request("ModifyBandwidthPackageAttribute", req, cb);
|
|
1426
1426
|
}
|
|
1427
1427
|
/**
|
|
1428
|
-
* 本接口(CreateAddressTemplate)用于创建IP
|
|
1428
|
+
* 本接口(CreateAddressTemplate)用于创建IP地址模板。
|
|
1429
1429
|
*/
|
|
1430
1430
|
async CreateAddressTemplate(req, cb) {
|
|
1431
1431
|
return this.request("CreateAddressTemplate", req, cb);
|
|
@@ -108,6 +108,16 @@ it("cii.v20210408.DescribeStructCompareData", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("cii.v20210408.DescribeQualityScore", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeQualityScore({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
111
121
|
it("cii.v20210408.DescribeStructureResult", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.DescribeStructureResult({})
|
|
@@ -38,6 +38,16 @@ it("ckafka.v20190819.DescribeGroupInfo", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("ckafka.v20190819.CreateConsumer", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreateConsumer({})
|
|
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("ckafka.v20190819.DescribeConsumerGroup", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.DescribeConsumerGroup({})
|
|
@@ -128,9 +138,9 @@ it("ckafka.v20190819.DescribeInstances", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("ckafka.v20190819.
|
|
141
|
+
it("ckafka.v20190819.CreateRoute", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.CreateRoute({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -388,6 +398,16 @@ it("ckafka.v20190819.DescribeTopic", async function () {
|
|
|
388
398
|
}
|
|
389
399
|
})
|
|
390
400
|
|
|
401
|
+
it("ckafka.v20190819.ModifyInstanceAttributes", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.ModifyInstanceAttributes({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
391
411
|
it("ckafka.v20190819.DescribeCkafkaZone", async function () {
|
|
392
412
|
try {
|
|
393
413
|
const data = await client.DescribeCkafkaZone({})
|
|
@@ -128,6 +128,16 @@ it("cpdp.v20190820.QueryBankTransactionDetails", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("cpdp.v20190820.CreateOpenBankExternalSubMerchantRegistration", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.CreateOpenBankExternalSubMerchantRegistration({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
131
141
|
it("cpdp.v20190820.QueryCommonTransferRecharge", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.QueryCommonTransferRecharge({})
|
|
@@ -338,6 +348,16 @@ it("cpdp.v20190820.TransferSinglePay", async function () {
|
|
|
338
348
|
}
|
|
339
349
|
})
|
|
340
350
|
|
|
351
|
+
it("cpdp.v20190820.CreateOpenBankPaymentOrder", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.CreateOpenBankPaymentOrder({})
|
|
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
|
+
|
|
341
361
|
it("cpdp.v20190820.RefundTlinxOrder", async function () {
|
|
342
362
|
try {
|
|
343
363
|
const data = await client.RefundTlinxOrder({})
|
|
@@ -448,9 +468,9 @@ it("cpdp.v20190820.UnifiedOrder", async function () {
|
|
|
448
468
|
}
|
|
449
469
|
})
|
|
450
470
|
|
|
451
|
-
it("cpdp.v20190820.
|
|
471
|
+
it("cpdp.v20190820.QueryOpenBankUnbindExternalSubMerchantBankAccount", async function () {
|
|
452
472
|
try {
|
|
453
|
-
const data = await client.
|
|
473
|
+
const data = await client.QueryOpenBankUnbindExternalSubMerchantBankAccount({})
|
|
454
474
|
expect(data).to.be.ok
|
|
455
475
|
} catch(error) {
|
|
456
476
|
expect(error.requestId).to.be.ok
|
|
@@ -478,9 +498,19 @@ it("cpdp.v20190820.AddMerchant", async function () {
|
|
|
478
498
|
}
|
|
479
499
|
})
|
|
480
500
|
|
|
481
|
-
it("cpdp.v20190820.
|
|
501
|
+
it("cpdp.v20190820.ViewShop", async function () {
|
|
482
502
|
try {
|
|
483
|
-
const data = await client.
|
|
503
|
+
const data = await client.ViewShop({})
|
|
504
|
+
expect(data).to.be.ok
|
|
505
|
+
} catch(error) {
|
|
506
|
+
expect(error.requestId).to.be.ok
|
|
507
|
+
expect(error.code).to.be.ok
|
|
508
|
+
}
|
|
509
|
+
})
|
|
510
|
+
|
|
511
|
+
it("cpdp.v20190820.CheckAmount", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.CheckAmount({})
|
|
484
514
|
expect(data).to.be.ok
|
|
485
515
|
} catch(error) {
|
|
486
516
|
expect(error.requestId).to.be.ok
|
|
@@ -528,6 +558,16 @@ it("cpdp.v20190820.QueryShopOpenId", async function () {
|
|
|
528
558
|
}
|
|
529
559
|
})
|
|
530
560
|
|
|
561
|
+
it("cpdp.v20190820.QueryOpenBankPaymentOrder", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.QueryOpenBankPaymentOrder({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
531
571
|
it("cpdp.v20190820.QueryMaliciousRegistration", async function () {
|
|
532
572
|
try {
|
|
533
573
|
const data = await client.QueryMaliciousRegistration({})
|
|
@@ -558,6 +598,16 @@ it("cpdp.v20190820.QueryAcctInfo", async function () {
|
|
|
558
598
|
}
|
|
559
599
|
})
|
|
560
600
|
|
|
601
|
+
it("cpdp.v20190820.UnBindAcct", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.UnBindAcct({})
|
|
604
|
+
expect(data).to.be.ok
|
|
605
|
+
} catch(error) {
|
|
606
|
+
expect(error.requestId).to.be.ok
|
|
607
|
+
expect(error.code).to.be.ok
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
|
|
561
611
|
it("cpdp.v20190820.QueryBankWithdrawCashDetails", async function () {
|
|
562
612
|
try {
|
|
563
613
|
const data = await client.QueryBankWithdrawCashDetails({})
|
|
@@ -648,9 +698,9 @@ it("cpdp.v20190820.ModifyBindedAccount", async function () {
|
|
|
648
698
|
}
|
|
649
699
|
})
|
|
650
700
|
|
|
651
|
-
it("cpdp.v20190820.
|
|
701
|
+
it("cpdp.v20190820.QueryInvoiceV2", async function () {
|
|
652
702
|
try {
|
|
653
|
-
const data = await client.
|
|
703
|
+
const data = await client.QueryInvoiceV2({})
|
|
654
704
|
expect(data).to.be.ok
|
|
655
705
|
} catch(error) {
|
|
656
706
|
expect(error.requestId).to.be.ok
|
|
@@ -738,6 +788,16 @@ it("cpdp.v20190820.ReviseMbrProperty", async function () {
|
|
|
738
788
|
}
|
|
739
789
|
})
|
|
740
790
|
|
|
791
|
+
it("cpdp.v20190820.BindOpenBankExternalSubMerchantBankAccount", async function () {
|
|
792
|
+
try {
|
|
793
|
+
const data = await client.BindOpenBankExternalSubMerchantBankAccount({})
|
|
794
|
+
expect(data).to.be.ok
|
|
795
|
+
} catch(error) {
|
|
796
|
+
expect(error.requestId).to.be.ok
|
|
797
|
+
expect(error.code).to.be.ok
|
|
798
|
+
}
|
|
799
|
+
})
|
|
800
|
+
|
|
741
801
|
it("cpdp.v20190820.QueryBalance", async function () {
|
|
742
802
|
try {
|
|
743
803
|
const data = await client.QueryBalance({})
|
|
@@ -848,6 +908,16 @@ it("cpdp.v20190820.ApplyTrade", async function () {
|
|
|
848
908
|
}
|
|
849
909
|
})
|
|
850
910
|
|
|
911
|
+
it("cpdp.v20190820.UnbindOpenBankExternalSubMerchantBankAccount", async function () {
|
|
912
|
+
try {
|
|
913
|
+
const data = await client.UnbindOpenBankExternalSubMerchantBankAccount({})
|
|
914
|
+
expect(data).to.be.ok
|
|
915
|
+
} catch(error) {
|
|
916
|
+
expect(error.requestId).to.be.ok
|
|
917
|
+
expect(error.code).to.be.ok
|
|
918
|
+
}
|
|
919
|
+
})
|
|
920
|
+
|
|
851
921
|
it("cpdp.v20190820.QueryBankClear", async function () {
|
|
852
922
|
try {
|
|
853
923
|
const data = await client.QueryBankClear({})
|
|
@@ -858,9 +928,9 @@ it("cpdp.v20190820.QueryBankClear", async function () {
|
|
|
858
928
|
}
|
|
859
929
|
})
|
|
860
930
|
|
|
861
|
-
it("cpdp.v20190820.
|
|
931
|
+
it("cpdp.v20190820.CreateOpenBankMerchant", async function () {
|
|
862
932
|
try {
|
|
863
|
-
const data = await client.
|
|
933
|
+
const data = await client.CreateOpenBankMerchant({})
|
|
864
934
|
expect(data).to.be.ok
|
|
865
935
|
} catch(error) {
|
|
866
936
|
expect(error.requestId).to.be.ok
|
|
@@ -888,6 +958,16 @@ it("cpdp.v20190820.RevResigterBillSupportWithdraw", async function () {
|
|
|
888
958
|
}
|
|
889
959
|
})
|
|
890
960
|
|
|
961
|
+
it("cpdp.v20190820.QueryOpenBankDownLoadUrl", async function () {
|
|
962
|
+
try {
|
|
963
|
+
const data = await client.QueryOpenBankDownLoadUrl({})
|
|
964
|
+
expect(data).to.be.ok
|
|
965
|
+
} catch(error) {
|
|
966
|
+
expect(error.requestId).to.be.ok
|
|
967
|
+
expect(error.code).to.be.ok
|
|
968
|
+
}
|
|
969
|
+
})
|
|
970
|
+
|
|
891
971
|
it("cpdp.v20190820.QueryCityCode", async function () {
|
|
892
972
|
try {
|
|
893
973
|
const data = await client.QueryCityCode({})
|
|
@@ -918,6 +998,16 @@ it("cpdp.v20190820.Refund", async function () {
|
|
|
918
998
|
}
|
|
919
999
|
})
|
|
920
1000
|
|
|
1001
|
+
it("cpdp.v20190820.CloseOpenBankPaymentOrder", async function () {
|
|
1002
|
+
try {
|
|
1003
|
+
const data = await client.CloseOpenBankPaymentOrder({})
|
|
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
|
+
|
|
921
1011
|
it("cpdp.v20190820.UploadTaxList", async function () {
|
|
922
1012
|
try {
|
|
923
1013
|
const data = await client.UploadTaxList({})
|
|
@@ -1248,6 +1338,16 @@ it("cpdp.v20190820.QueryContractRelateShop", async function () {
|
|
|
1248
1338
|
}
|
|
1249
1339
|
})
|
|
1250
1340
|
|
|
1341
|
+
it("cpdp.v20190820.QueryOpenBankExternalSubMerchantBankAccount", async function () {
|
|
1342
|
+
try {
|
|
1343
|
+
const data = await client.QueryOpenBankExternalSubMerchantBankAccount({})
|
|
1344
|
+
expect(data).to.be.ok
|
|
1345
|
+
} catch(error) {
|
|
1346
|
+
expect(error.requestId).to.be.ok
|
|
1347
|
+
expect(error.code).to.be.ok
|
|
1348
|
+
}
|
|
1349
|
+
})
|
|
1350
|
+
|
|
1251
1351
|
it("cpdp.v20190820.MigrateOrderRefundQuery", async function () {
|
|
1252
1352
|
try {
|
|
1253
1353
|
const data = await client.MigrateOrderRefundQuery({})
|
|
@@ -1258,9 +1358,9 @@ it("cpdp.v20190820.MigrateOrderRefundQuery", async function () {
|
|
|
1258
1358
|
}
|
|
1259
1359
|
})
|
|
1260
1360
|
|
|
1261
|
-
it("cpdp.v20190820.
|
|
1361
|
+
it("cpdp.v20190820.QueryAgentStatements", async function () {
|
|
1262
1362
|
try {
|
|
1263
|
-
const data = await client.
|
|
1363
|
+
const data = await client.QueryAgentStatements({})
|
|
1264
1364
|
expect(data).to.be.ok
|
|
1265
1365
|
} catch(error) {
|
|
1266
1366
|
expect(error.requestId).to.be.ok
|
|
@@ -1288,6 +1388,16 @@ it("cpdp.v20190820.ApplyOutwardOrder", async function () {
|
|
|
1288
1388
|
}
|
|
1289
1389
|
})
|
|
1290
1390
|
|
|
1391
|
+
it("cpdp.v20190820.QueryOpenBankExternalSubMerchantRegistration", async function () {
|
|
1392
|
+
try {
|
|
1393
|
+
const data = await client.QueryOpenBankExternalSubMerchantRegistration({})
|
|
1394
|
+
expect(data).to.be.ok
|
|
1395
|
+
} catch(error) {
|
|
1396
|
+
expect(error.requestId).to.be.ok
|
|
1397
|
+
expect(error.code).to.be.ok
|
|
1398
|
+
}
|
|
1399
|
+
})
|
|
1400
|
+
|
|
1291
1401
|
it("cpdp.v20190820.QueryContractPayFee", async function () {
|
|
1292
1402
|
try {
|
|
1293
1403
|
const data = await client.QueryContractPayFee({})
|
|
@@ -1308,6 +1418,16 @@ it("cpdp.v20190820.QuerySmallAmountTransfer", async function () {
|
|
|
1308
1418
|
}
|
|
1309
1419
|
})
|
|
1310
1420
|
|
|
1421
|
+
it("cpdp.v20190820.QueryOpenBankBindExternalSubMerchantBankAccount", async function () {
|
|
1422
|
+
try {
|
|
1423
|
+
const data = await client.QueryOpenBankBindExternalSubMerchantBankAccount({})
|
|
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
|
+
|
|
1311
1431
|
it("cpdp.v20190820.QuerySingleTransactionStatus", async function () {
|
|
1312
1432
|
try {
|
|
1313
1433
|
const data = await client.QuerySingleTransactionStatus({})
|
|
@@ -1348,9 +1468,9 @@ it("cpdp.v20190820.QueryAcctInfoList", async function () {
|
|
|
1348
1468
|
}
|
|
1349
1469
|
})
|
|
1350
1470
|
|
|
1351
|
-
it("cpdp.v20190820.
|
|
1471
|
+
it("cpdp.v20190820.BindRelateAccReUnionPay", async function () {
|
|
1352
1472
|
try {
|
|
1353
|
-
const data = await client.
|
|
1473
|
+
const data = await client.BindRelateAccReUnionPay({})
|
|
1354
1474
|
expect(data).to.be.ok
|
|
1355
1475
|
} catch(error) {
|
|
1356
1476
|
expect(error.requestId).to.be.ok
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.cynosdb.v20190107.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cynosdb.v20190107.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("cynosdb.v20190107.ResumeServerless", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ResumeServerless({})
|
|
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
|
+
|
|
21
31
|
it("cynosdb.v20190107.DescribeBackupList", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeBackupList({})
|
|
@@ -28,6 +38,26 @@ it("cynosdb.v20190107.DescribeBackupList", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
41
|
+
it("cynosdb.v20190107.RevokeAccountPrivileges", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.RevokeAccountPrivileges({})
|
|
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("cynosdb.v20190107.RollBackCluster", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.RollBackCluster({})
|
|
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
|
+
|
|
31
61
|
it("cynosdb.v20190107.DescribeBackupConfig", async function () {
|
|
32
62
|
try {
|
|
33
63
|
const data = await client.DescribeBackupConfig({})
|
|
@@ -58,6 +88,16 @@ it("cynosdb.v20190107.OfflineCluster", async function () {
|
|
|
58
88
|
}
|
|
59
89
|
})
|
|
60
90
|
|
|
91
|
+
it("cynosdb.v20190107.PauseServerless", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.PauseServerless({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
61
101
|
it("cynosdb.v20190107.DescribeInstanceDetail", async function () {
|
|
62
102
|
try {
|
|
63
103
|
const data = await client.DescribeInstanceDetail({})
|
|
@@ -98,6 +138,26 @@ it("cynosdb.v20190107.DescribeInstances", async function () {
|
|
|
98
138
|
}
|
|
99
139
|
})
|
|
100
140
|
|
|
141
|
+
it("cynosdb.v20190107.GrantAccountPrivileges", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.GrantAccountPrivileges({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("cynosdb.v20190107.DescribeClusterParamLogs", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeClusterParamLogs({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
101
161
|
it("cynosdb.v20190107.ModifyMaintainPeriodConfig", async function () {
|
|
102
162
|
try {
|
|
103
163
|
const data = await client.ModifyMaintainPeriodConfig({})
|
|
@@ -108,6 +168,16 @@ it("cynosdb.v20190107.ModifyMaintainPeriodConfig", async function () {
|
|
|
108
168
|
}
|
|
109
169
|
})
|
|
110
170
|
|
|
171
|
+
it("cynosdb.v20190107.ModifyAccountParams", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ModifyAccountParams({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
111
181
|
it("cynosdb.v20190107.OfflineInstance", async function () {
|
|
112
182
|
try {
|
|
113
183
|
const data = await client.OfflineInstance({})
|
|
@@ -158,6 +228,16 @@ it("cynosdb.v20190107.DescribeProjectSecurityGroups", async function () {
|
|
|
158
228
|
}
|
|
159
229
|
})
|
|
160
230
|
|
|
231
|
+
it("cynosdb.v20190107.AssociateSecurityGroups", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.AssociateSecurityGroups({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
161
241
|
it("cynosdb.v20190107.SetRenewFlag", async function () {
|
|
162
242
|
try {
|
|
163
243
|
const data = await client.SetRenewFlag({})
|
|
@@ -208,6 +288,16 @@ it("cynosdb.v20190107.DescribeInstanceSpecs", async function () {
|
|
|
208
288
|
}
|
|
209
289
|
})
|
|
210
290
|
|
|
291
|
+
it("cynosdb.v20190107.DescribeAccountAllGrantPrivileges", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeAccountAllGrantPrivileges({})
|
|
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
|
+
|
|
211
301
|
it("cynosdb.v20190107.DescribeAccounts", async function () {
|
|
212
302
|
try {
|
|
213
303
|
const data = await client.DescribeAccounts({})
|
|
@@ -258,9 +348,9 @@ it("cynosdb.v20190107.CreateClusters", async function () {
|
|
|
258
348
|
}
|
|
259
349
|
})
|
|
260
350
|
|
|
261
|
-
it("cynosdb.v20190107.
|
|
351
|
+
it("cynosdb.v20190107.ActivateInstance", async function () {
|
|
262
352
|
try {
|
|
263
|
-
const data = await client.
|
|
353
|
+
const data = await client.ActivateInstance({})
|
|
264
354
|
expect(data).to.be.ok
|
|
265
355
|
} catch(error) {
|
|
266
356
|
expect(error.requestId).to.be.ok
|
|
@@ -278,6 +368,26 @@ it("cynosdb.v20190107.DescribeDBSecurityGroups", async function () {
|
|
|
278
368
|
}
|
|
279
369
|
})
|
|
280
370
|
|
|
371
|
+
it("cynosdb.v20190107.DisassociateSecurityGroups", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DisassociateSecurityGroups({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
381
|
+
it("cynosdb.v20190107.DescribeRollbackTimeValidity", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.DescribeRollbackTimeValidity({})
|
|
384
|
+
expect(data).to.be.ok
|
|
385
|
+
} catch(error) {
|
|
386
|
+
expect(error.requestId).to.be.ok
|
|
387
|
+
expect(error.code).to.be.ok
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
|
|
281
391
|
it("cynosdb.v20190107.AddInstances", async function () {
|
|
282
392
|
try {
|
|
283
393
|
const data = await client.AddInstances({})
|
|
@@ -158,6 +158,16 @@ it("dcdb.v20180411.DescribeDCDBSaleInfo", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
+
it("dcdb.v20180411.DescribeDBSlowLogs", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeDBSlowLogs({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
161
171
|
it("dcdb.v20180411.DescribeFlow", async function () {
|
|
162
172
|
try {
|
|
163
173
|
const data = await client.DescribeFlow({})
|
|
@@ -648,6 +648,16 @@ it("lighthouse.v20200324.RebootInstances", async function () {
|
|
|
648
648
|
}
|
|
649
649
|
})
|
|
650
650
|
|
|
651
|
+
it("lighthouse.v20200324.CreateInstances", async function () {
|
|
652
|
+
try {
|
|
653
|
+
const data = await client.CreateInstances({})
|
|
654
|
+
expect(data).to.be.ok
|
|
655
|
+
} catch(error) {
|
|
656
|
+
expect(error.requestId).to.be.ok
|
|
657
|
+
expect(error.code).to.be.ok
|
|
658
|
+
}
|
|
659
|
+
})
|
|
660
|
+
|
|
651
661
|
it("lighthouse.v20200324.CreateBlueprint", async function () {
|
|
652
662
|
try {
|
|
653
663
|
const data = await client.CreateBlueprint({})
|