tencentcloud-sdk-nodejs 4.0.201 → 4.0.205
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 +558 -102
- package/package.json +1 -1
- package/products.md +153 -152
- package/src/common/sdk_version.ts +1 -1
- package/src/services/af/v20200226/af_client.ts +1 -0
- package/src/services/af/v20200226/af_models.ts +23 -0
- package/src/services/apigateway/v20180808/apigateway_models.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +34 -4
- package/src/services/cdn/v20180606/cdn_models.ts +14 -6
- package/src/services/ckafka/v20190819/ckafka_client.ts +1 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +139 -3
- package/src/services/cme/v20191029/cme_models.ts +19 -11
- package/src/services/cvm/v20170312/cvm_models.ts +2 -2
- package/src/services/cwp/v20180228/cwp_models.ts +1 -1
- package/src/services/ecm/v20190719/ecm_client.ts +401 -290
- package/src/services/ecm/v20190719/ecm_models.ts +4533 -3879
- package/src/services/essbasic/index.ts +7 -0
- package/src/services/essbasic/v20201222/essbasic_client.ts +736 -0
- package/src/services/essbasic/v20201222/essbasic_models.ts +3792 -0
- package/src/services/essbasic/v20201222/index.ts +6 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +141 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +933 -0
- package/src/services/essbasic/v20210526/index.ts +6 -0
- package/src/services/gme/v20180711/gme_models.ts +5 -0
- package/src/services/index.ts +1 -0
- package/src/services/partners/v20180321/partners_client.ts +80 -95
- package/src/services/partners/v20180321/partners_models.ts +31 -91
- package/src/services/scf/v20180416/scf_client.ts +1 -0
- package/src/services/scf/v20180416/scf_models.ts +46 -2
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +31 -18
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +208 -86
- package/src/services/tdmq/v20200217/tdmq_models.ts +20 -0
- package/src/services/tke/v20180525/tke_client.ts +593 -489
- package/src/services/tke/v20180525/tke_models.ts +1250 -210
- package/src/services/trtc/v20190722/trtc_client.ts +6 -4
- package/src/services/vod/v20180717/vod_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/af/v20200226/af_models.d.ts +20 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +31 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +13 -6
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +116 -3
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +18 -11
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +65 -14
- package/tencentcloud/services/ecm/v20190719/ecm_client.js +84 -19
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +4147 -3602
- package/tencentcloud/services/essbasic/index.d.ts +10 -0
- package/tencentcloud/services/essbasic/index.js +9 -0
- package/tencentcloud/services/essbasic/v20201222/essbasic_client.d.ts +271 -0
- package/tencentcloud/services/essbasic/v20201222/essbasic_client.js +398 -0
- package/tencentcloud/services/essbasic/v20201222/essbasic_models.d.ts +3212 -0
- package/tencentcloud/services/essbasic/v20201222/essbasic_models.js +18 -0
- package/tencentcloud/services/essbasic/v20201222/index.d.ts +6 -0
- package/tencentcloud/services/essbasic/v20201222/index.js +9 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +44 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +81 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +775 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.js +18 -0
- package/tencentcloud/services/essbasic/v20210526/index.d.ts +6 -0
- package/tencentcloud/services/essbasic/v20210526/index.js +9 -0
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +4 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/partners/v20180321/partners_client.d.ts +29 -35
- package/tencentcloud/services/partners/v20180321/partners_client.js +42 -50
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +29 -80
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +39 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +10 -6
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +13 -7
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +183 -82
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +16 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +185 -157
- package/tencentcloud/services/tke/v20180525/tke_client.js +276 -234
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1069 -182
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +6 -4
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +6 -4
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
- package/test/ecm.v20190719.test.js +88 -18
- package/test/essbasic.v20201222.test.js +551 -0
- package/test/essbasic.v20210526.test.js +101 -0
- package/test/partners.v20180321.test.js +42 -52
- package/test/sqlserver.v20180328.test.js +14 -4
- package/test/tke.v20180525.test.js +226 -156
|
@@ -26,8 +26,9 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
26
26
|
- 自定义模板:适用于在混流中指定用户的画面位置,或者预设视频画面位置的场景。当预设位置指定用户时,排版引擎会该用户预留位置;当预设位置未指定用户时,排版引擎会根据进房间顺序自动填充。预设位置填满时,不再混合其他用户的画面和声音。自定义模板启用占位图功能时(LayoutParams中的PlaceHolderMode设置成1),在预设位置的用户没有上行视频时可显示对应的占位图(PlaceImageId)。
|
|
27
27
|
|
|
28
28
|
注意:
|
|
29
|
-
1
|
|
30
|
-
2
|
|
29
|
+
1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转码计费说明](https://cloud.tencent.com/document/product/647/49446)。**
|
|
30
|
+
2、2020年1月9号及以后创建的应用才能直接调用此接口。2020年1月9日之前创建的应用默认使用云直播的云端混流,如需切换至MCU混流,请[提交工单](https://console.cloud.tencent.com/workorder/category)寻求帮助。
|
|
31
|
+
3、客户端混流和服务端混流不能混用。
|
|
31
32
|
*/
|
|
32
33
|
StartMCUMixTranscode(req: StartMCUMixTranscodeRequest, cb?: (error: string, rep: StartMCUMixTranscodeResponse) => void): Promise<StartMCUMixTranscodeResponse>;
|
|
33
34
|
/**
|
|
@@ -111,8 +112,9 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
111
112
|
- 自定义模板:适用于在混流中指定用户的画面位置,或者预设视频画面位置的场景。当预设位置指定用户时,排版引擎会该用户预留位置;当预设位置未指定用户时,排版引擎会根据进房间顺序自动填充。预设位置填满时,不再混合其他用户的画面和声音。自定义模板启用占位图功能时(LayoutParams中的PlaceHolderMode设置成1),在预设位置的用户没有上行视频时可显示对应的占位图(PlaceImageId)。
|
|
112
113
|
|
|
113
114
|
注意:
|
|
114
|
-
1
|
|
115
|
-
2
|
|
115
|
+
1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转码计费说明](https://cloud.tencent.com/document/product/647/49446)。**
|
|
116
|
+
2、2020年1月9号及以后创建的应用才能直接调用此接口。2020年1月9日之前创建的应用默认使用云直播的云端混流,如需切换至MCU混流,请[提交工单](https://console.cloud.tencent.com/workorder/category)寻求帮助。
|
|
117
|
+
3、客户端混流和服务端混流不能混用。
|
|
116
118
|
*/
|
|
117
119
|
StartMCUMixTranscodeByStrRoomId(req: StartMCUMixTranscodeByStrRoomIdRequest, cb?: (error: string, rep: StartMCUMixTranscodeByStrRoomIdResponse) => void): Promise<StartMCUMixTranscodeByStrRoomIdResponse>;
|
|
118
120
|
/**
|
|
@@ -46,8 +46,9 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
46
46
|
- 自定义模板:适用于在混流中指定用户的画面位置,或者预设视频画面位置的场景。当预设位置指定用户时,排版引擎会该用户预留位置;当预设位置未指定用户时,排版引擎会根据进房间顺序自动填充。预设位置填满时,不再混合其他用户的画面和声音。自定义模板启用占位图功能时(LayoutParams中的PlaceHolderMode设置成1),在预设位置的用户没有上行视频时可显示对应的占位图(PlaceImageId)。
|
|
47
47
|
|
|
48
48
|
注意:
|
|
49
|
-
1
|
|
50
|
-
2
|
|
49
|
+
1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转码计费说明](https://cloud.tencent.com/document/product/647/49446)。**
|
|
50
|
+
2、2020年1月9号及以后创建的应用才能直接调用此接口。2020年1月9日之前创建的应用默认使用云直播的云端混流,如需切换至MCU混流,请[提交工单](https://console.cloud.tencent.com/workorder/category)寻求帮助。
|
|
51
|
+
3、客户端混流和服务端混流不能混用。
|
|
51
52
|
*/
|
|
52
53
|
async StartMCUMixTranscode(req, cb) {
|
|
53
54
|
return this.request("StartMCUMixTranscode", req, cb);
|
|
@@ -163,8 +164,9 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
163
164
|
- 自定义模板:适用于在混流中指定用户的画面位置,或者预设视频画面位置的场景。当预设位置指定用户时,排版引擎会该用户预留位置;当预设位置未指定用户时,排版引擎会根据进房间顺序自动填充。预设位置填满时,不再混合其他用户的画面和声音。自定义模板启用占位图功能时(LayoutParams中的PlaceHolderMode设置成1),在预设位置的用户没有上行视频时可显示对应的占位图(PlaceImageId)。
|
|
164
165
|
|
|
165
166
|
注意:
|
|
166
|
-
1
|
|
167
|
-
2
|
|
167
|
+
1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转码计费说明](https://cloud.tencent.com/document/product/647/49446)。**
|
|
168
|
+
2、2020年1月9号及以后创建的应用才能直接调用此接口。2020年1月9日之前创建的应用默认使用云直播的云端混流,如需切换至MCU混流,请[提交工单](https://console.cloud.tencent.com/workorder/category)寻求帮助。
|
|
169
|
+
3、客户端混流和服务端混流不能混用。
|
|
168
170
|
*/
|
|
169
171
|
async StartMCUMixTranscodeByStrRoomId(req, cb) {
|
|
170
172
|
return this.request("StartMCUMixTranscodeByStrRoomId", req, cb);
|
|
@@ -5452,7 +5452,7 @@ export interface SimpleHlsClipRequest {
|
|
|
5452
5452
|
export interface MediaDeleteItem {
|
|
5453
5453
|
/**
|
|
5454
5454
|
* 所指定的删除部分。如果未填写该字段则参数无效。可选值有:
|
|
5455
|
-
<li>
|
|
5455
|
+
<li>OriginalFiles(删除原文件,删除后无法发起转码、微信发布等任何视频处理操作)。</li>
|
|
5456
5456
|
<li>TranscodeFiles(删除转码文件)。</li>
|
|
5457
5457
|
<li>WechatPublishFiles(删除微信发布文件)。</li>
|
|
5458
5458
|
*/
|
|
@@ -128,9 +128,9 @@ it("ecm.v20190719.RunInstances", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("ecm.v20190719.
|
|
131
|
+
it("ecm.v20190719.ImportImage", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.ImportImage({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +188,9 @@ it("ecm.v20190719.DescribeNode", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
-
it("ecm.v20190719.
|
|
191
|
+
it("ecm.v20190719.DescribeCustomImageTask", async function () {
|
|
192
192
|
try {
|
|
193
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeCustomImageTask({})
|
|
194
194
|
expect(data).to.be.ok
|
|
195
195
|
} catch(error) {
|
|
196
196
|
expect(error.requestId).to.be.ok
|
|
@@ -368,6 +368,16 @@ it("ecm.v20190719.ModifyLoadBalancerAttributes", async function () {
|
|
|
368
368
|
}
|
|
369
369
|
})
|
|
370
370
|
|
|
371
|
+
it("ecm.v20190719.AttachDisks", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.AttachDisks({})
|
|
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
|
+
|
|
371
381
|
it("ecm.v20190719.SetLoadBalancerSecurityGroups", async function () {
|
|
372
382
|
try {
|
|
373
383
|
const data = await client.SetLoadBalancerSecurityGroups({})
|
|
@@ -418,16 +428,6 @@ it("ecm.v20190719.AssociateAddress", async function () {
|
|
|
418
428
|
}
|
|
419
429
|
})
|
|
420
430
|
|
|
421
|
-
it("ecm.v20190719.ModifyDefaultSubnet", async function () {
|
|
422
|
-
try {
|
|
423
|
-
const data = await client.ModifyDefaultSubnet({})
|
|
424
|
-
expect(data).to.be.ok
|
|
425
|
-
} catch(error) {
|
|
426
|
-
expect(error.requestId).to.be.ok
|
|
427
|
-
expect(error.code).to.be.ok
|
|
428
|
-
}
|
|
429
|
-
})
|
|
430
|
-
|
|
431
431
|
it("ecm.v20190719.DeleteSubnet", async function () {
|
|
432
432
|
try {
|
|
433
433
|
const data = await client.DeleteSubnet({})
|
|
@@ -518,6 +518,16 @@ it("ecm.v20190719.ResetInstances", async function () {
|
|
|
518
518
|
}
|
|
519
519
|
})
|
|
520
520
|
|
|
521
|
+
it("ecm.v20190719.TerminateDisks", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.TerminateDisks({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
521
531
|
it("ecm.v20190719.ModifyTargetPort", async function () {
|
|
522
532
|
try {
|
|
523
533
|
const data = await client.ModifyTargetPort({})
|
|
@@ -588,9 +598,9 @@ it("ecm.v20190719.DescribeRouteConflicts", async function () {
|
|
|
588
598
|
}
|
|
589
599
|
})
|
|
590
600
|
|
|
591
|
-
it("ecm.v20190719.
|
|
601
|
+
it("ecm.v20190719.DetachDisks", async function () {
|
|
592
602
|
try {
|
|
593
|
-
const data = await client.
|
|
603
|
+
const data = await client.DetachDisks({})
|
|
594
604
|
expect(data).to.be.ok
|
|
595
605
|
} catch(error) {
|
|
596
606
|
expect(error.requestId).to.be.ok
|
|
@@ -608,6 +618,16 @@ it("ecm.v20190719.DisableRoutes", async function () {
|
|
|
608
618
|
}
|
|
609
619
|
})
|
|
610
620
|
|
|
621
|
+
it("ecm.v20190719.ModifyIpv6AddressesAttribute", async function () {
|
|
622
|
+
try {
|
|
623
|
+
const data = await client.ModifyIpv6AddressesAttribute({})
|
|
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
|
+
|
|
611
631
|
it("ecm.v20190719.DescribeBaseOverview", async function () {
|
|
612
632
|
try {
|
|
613
633
|
const data = await client.DescribeBaseOverview({})
|
|
@@ -728,6 +748,16 @@ it("ecm.v20190719.DescribeNetworkInterfaces", async function () {
|
|
|
728
748
|
}
|
|
729
749
|
})
|
|
730
750
|
|
|
751
|
+
it("ecm.v20190719.CreateDisks", async function () {
|
|
752
|
+
try {
|
|
753
|
+
const data = await client.CreateDisks({})
|
|
754
|
+
expect(data).to.be.ok
|
|
755
|
+
} catch(error) {
|
|
756
|
+
expect(error.requestId).to.be.ok
|
|
757
|
+
expect(error.code).to.be.ok
|
|
758
|
+
}
|
|
759
|
+
})
|
|
760
|
+
|
|
731
761
|
it("ecm.v20190719.AssociateSecurityGroups", async function () {
|
|
732
762
|
try {
|
|
733
763
|
const data = await client.AssociateSecurityGroups({})
|
|
@@ -788,6 +818,16 @@ it("ecm.v20190719.ImportCustomImage", async function () {
|
|
|
788
818
|
}
|
|
789
819
|
})
|
|
790
820
|
|
|
821
|
+
it("ecm.v20190719.DescribeSnapshots", async function () {
|
|
822
|
+
try {
|
|
823
|
+
const data = await client.DescribeSnapshots({})
|
|
824
|
+
expect(data).to.be.ok
|
|
825
|
+
} catch(error) {
|
|
826
|
+
expect(error.requestId).to.be.ok
|
|
827
|
+
expect(error.code).to.be.ok
|
|
828
|
+
}
|
|
829
|
+
})
|
|
830
|
+
|
|
791
831
|
it("ecm.v20190719.TerminateInstances", async function () {
|
|
792
832
|
try {
|
|
793
833
|
const data = await client.TerminateInstances({})
|
|
@@ -838,9 +878,9 @@ it("ecm.v20190719.SetSecurityGroupForLoadbalancers", async function () {
|
|
|
838
878
|
}
|
|
839
879
|
})
|
|
840
880
|
|
|
841
|
-
it("ecm.v20190719.
|
|
881
|
+
it("ecm.v20190719.ModifyDefaultSubnet", async function () {
|
|
842
882
|
try {
|
|
843
|
-
const data = await client.
|
|
883
|
+
const data = await client.ModifyDefaultSubnet({})
|
|
844
884
|
expect(data).to.be.ok
|
|
845
885
|
} catch(error) {
|
|
846
886
|
expect(error.requestId).to.be.ok
|
|
@@ -1048,6 +1088,16 @@ it("ecm.v20190719.CreateHaVip", async function () {
|
|
|
1048
1088
|
}
|
|
1049
1089
|
})
|
|
1050
1090
|
|
|
1091
|
+
it("ecm.v20190719.DescribeDisks", async function () {
|
|
1092
|
+
try {
|
|
1093
|
+
const data = await client.DescribeDisks({})
|
|
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
|
+
|
|
1051
1101
|
it("ecm.v20190719.MigrateNetworkInterface", async function () {
|
|
1052
1102
|
try {
|
|
1053
1103
|
const data = await client.MigrateNetworkInterface({})
|
|
@@ -1068,6 +1118,16 @@ it("ecm.v20190719.CreateListener", async function () {
|
|
|
1068
1118
|
}
|
|
1069
1119
|
})
|
|
1070
1120
|
|
|
1121
|
+
it("ecm.v20190719.DeleteSnapshots", async function () {
|
|
1122
|
+
try {
|
|
1123
|
+
const data = await client.DeleteSnapshots({})
|
|
1124
|
+
expect(data).to.be.ok
|
|
1125
|
+
} catch(error) {
|
|
1126
|
+
expect(error.requestId).to.be.ok
|
|
1127
|
+
expect(error.code).to.be.ok
|
|
1128
|
+
}
|
|
1129
|
+
})
|
|
1130
|
+
|
|
1071
1131
|
it("ecm.v20190719.ModifyRouteTableAttribute", async function () {
|
|
1072
1132
|
try {
|
|
1073
1133
|
const data = await client.ModifyRouteTableAttribute({})
|
|
@@ -1188,6 +1248,16 @@ it("ecm.v20190719.ModifyAddressAttribute", async function () {
|
|
|
1188
1248
|
}
|
|
1189
1249
|
})
|
|
1190
1250
|
|
|
1251
|
+
it("ecm.v20190719.RemovePrivateIpAddresses", async function () {
|
|
1252
|
+
try {
|
|
1253
|
+
const data = await client.RemovePrivateIpAddresses({})
|
|
1254
|
+
expect(data).to.be.ok
|
|
1255
|
+
} catch(error) {
|
|
1256
|
+
expect(error.requestId).to.be.ok
|
|
1257
|
+
expect(error.code).to.be.ok
|
|
1258
|
+
}
|
|
1259
|
+
})
|
|
1260
|
+
|
|
1191
1261
|
it("ecm.v20190719.CreateSecurityGroupPolicies", async function () {
|
|
1192
1262
|
try {
|
|
1193
1263
|
const data = await client.CreateSecurityGroupPolicies({})
|
|
@@ -0,0 +1,551 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.essbasic.v20201222.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("essbasic.v20201222.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("essbasic.v20201222.CheckMobileVerification", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CheckMobileVerification({})
|
|
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("essbasic.v20201222.CreateSubOrganization", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateSubOrganization({})
|
|
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("essbasic.v20201222.CancelFlow", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CancelFlow({})
|
|
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("essbasic.v20201222.DescribeFileUrls", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeFileUrls({})
|
|
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("essbasic.v20201222.CreateH5FaceIdUrl", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.CreateH5FaceIdUrl({})
|
|
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("essbasic.v20201222.DescribeFlowApprovers", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeFlowApprovers({})
|
|
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
|
+
it("essbasic.v20201222.CheckBankCard4EVerification", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CheckBankCard4EVerification({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("essbasic.v20201222.DeleteSeal", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DeleteSeal({})
|
|
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
|
+
|
|
101
|
+
it("essbasic.v20201222.CreateSignUrl", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.CreateSignUrl({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
it("essbasic.v20201222.DescribeUsers", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeUsers({})
|
|
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
|
+
|
|
121
|
+
it("essbasic.v20201222.SendFlowUrl", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.SendFlowUrl({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
it("essbasic.v20201222.SendSignInnerVerifyCode", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.SendSignInnerVerifyCode({})
|
|
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
|
+
|
|
141
|
+
it("essbasic.v20201222.DescribeFlowFiles", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DescribeFlowFiles({})
|
|
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("essbasic.v20201222.CreateSeal", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.CreateSeal({})
|
|
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
|
+
|
|
161
|
+
it("essbasic.v20201222.ModifyUserDefaultSeal", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.ModifyUserDefaultSeal({})
|
|
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
|
+
|
|
171
|
+
it("essbasic.v20201222.CreatePreviewSignUrl", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.CreatePreviewSignUrl({})
|
|
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
|
+
|
|
181
|
+
it("essbasic.v20201222.CheckVerifyCodeMatchFlowId", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.CheckVerifyCodeMatchFlowId({})
|
|
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
|
+
|
|
191
|
+
it("essbasic.v20201222.CheckFaceIdentify", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.CheckFaceIdentify({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
it("essbasic.v20201222.GenerateUserSeal", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.GenerateUserSeal({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
211
|
+
it("essbasic.v20201222.UploadFiles", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.UploadFiles({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
221
|
+
it("essbasic.v20201222.DescribeCustomFlowIds", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DescribeCustomFlowIds({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
231
|
+
it("essbasic.v20201222.CreateSubOrganizationAndSeal", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.CreateSubOrganizationAndSeal({})
|
|
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
|
+
|
|
241
|
+
it("essbasic.v20201222.DescribeFlow", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DescribeFlow({})
|
|
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
|
+
|
|
251
|
+
it("essbasic.v20201222.CreateFlowByFiles", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.CreateFlowByFiles({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
261
|
+
it("essbasic.v20201222.DescribeCatalogApprovers", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DescribeCatalogApprovers({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
271
|
+
it("essbasic.v20201222.DescribeSubOrganizations", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeSubOrganizations({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
281
|
+
it("essbasic.v20201222.CheckBankCard2EVerification", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.CheckBankCard2EVerification({})
|
|
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
|
+
|
|
291
|
+
it("essbasic.v20201222.ArchiveFlow", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.ArchiveFlow({})
|
|
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
|
+
|
|
301
|
+
it("essbasic.v20201222.CheckMobileAndName", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.CheckMobileAndName({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
it("essbasic.v20201222.GenerateOrganizationSeal", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.GenerateOrganizationSeal({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
321
|
+
it("essbasic.v20201222.ModifySubOrganizationInfo", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.ModifySubOrganizationInfo({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
331
|
+
it("essbasic.v20201222.CreateUserAndSeal", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.CreateUserAndSeal({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
341
|
+
it("essbasic.v20201222.DestroyFlowFile", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DestroyFlowFile({})
|
|
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
|
+
|
|
351
|
+
it("essbasic.v20201222.ModifySeal", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.ModifySeal({})
|
|
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
|
+
|
|
361
|
+
it("essbasic.v20201222.DescribeFileIdsByCustomIds", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeFileIdsByCustomIds({})
|
|
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
|
+
|
|
371
|
+
it("essbasic.v20201222.SignFlow", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.SignFlow({})
|
|
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("essbasic.v20201222.DescribeFaceIdResults", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.DescribeFaceIdResults({})
|
|
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
|
+
|
|
391
|
+
it("essbasic.v20201222.DescribeCatalogSignComponents", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.DescribeCatalogSignComponents({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
401
|
+
it("essbasic.v20201222.RejectFlow", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.RejectFlow({})
|
|
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
|
+
|
|
411
|
+
it("essbasic.v20201222.ModifyUser", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.ModifyUser({})
|
|
414
|
+
expect(data).to.be.ok
|
|
415
|
+
} catch(error) {
|
|
416
|
+
expect(error.requestId).to.be.ok
|
|
417
|
+
expect(error.code).to.be.ok
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
|
|
421
|
+
it("essbasic.v20201222.VerifySubOrganization", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.VerifySubOrganization({})
|
|
424
|
+
expect(data).to.be.ok
|
|
425
|
+
} catch(error) {
|
|
426
|
+
expect(error.requestId).to.be.ok
|
|
427
|
+
expect(error.code).to.be.ok
|
|
428
|
+
}
|
|
429
|
+
})
|
|
430
|
+
|
|
431
|
+
it("essbasic.v20201222.VerifyUser", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.VerifyUser({})
|
|
434
|
+
expect(data).to.be.ok
|
|
435
|
+
} catch(error) {
|
|
436
|
+
expect(error.requestId).to.be.ok
|
|
437
|
+
expect(error.code).to.be.ok
|
|
438
|
+
}
|
|
439
|
+
})
|
|
440
|
+
|
|
441
|
+
it("essbasic.v20201222.DescribeCustomFlowIdsByFlowId", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.DescribeCustomFlowIdsByFlowId({})
|
|
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
|
+
|
|
451
|
+
it("essbasic.v20201222.DescribeFaceIdPhotos", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.DescribeFaceIdPhotos({})
|
|
454
|
+
expect(data).to.be.ok
|
|
455
|
+
} catch(error) {
|
|
456
|
+
expect(error.requestId).to.be.ok
|
|
457
|
+
expect(error.code).to.be.ok
|
|
458
|
+
}
|
|
459
|
+
})
|
|
460
|
+
|
|
461
|
+
it("essbasic.v20201222.CreateFaceIdSign", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.CreateFaceIdSign({})
|
|
464
|
+
expect(data).to.be.ok
|
|
465
|
+
} catch(error) {
|
|
466
|
+
expect(error.requestId).to.be.ok
|
|
467
|
+
expect(error.code).to.be.ok
|
|
468
|
+
}
|
|
469
|
+
})
|
|
470
|
+
|
|
471
|
+
it("essbasic.v20201222.CheckIdCardVerification", async function () {
|
|
472
|
+
try {
|
|
473
|
+
const data = await client.CheckIdCardVerification({})
|
|
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
|
+
|
|
481
|
+
it("essbasic.v20201222.CheckBankCard3EVerification", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.CheckBankCard3EVerification({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
491
|
+
it("essbasic.v20201222.SendFlow", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.SendFlow({})
|
|
494
|
+
expect(data).to.be.ok
|
|
495
|
+
} catch(error) {
|
|
496
|
+
expect(error.requestId).to.be.ok
|
|
497
|
+
expect(error.code).to.be.ok
|
|
498
|
+
}
|
|
499
|
+
})
|
|
500
|
+
|
|
501
|
+
it("essbasic.v20201222.CreateUser", async function () {
|
|
502
|
+
try {
|
|
503
|
+
const data = await client.CreateUser({})
|
|
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("essbasic.v20201222.ModifyOrganizationDefaultSeal", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.ModifyOrganizationDefaultSeal({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
521
|
+
it("essbasic.v20201222.DescribeSeals", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.DescribeSeals({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
531
|
+
it("essbasic.v20201222.CheckBankCardVerification", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.CheckBankCardVerification({})
|
|
534
|
+
expect(data).to.be.ok
|
|
535
|
+
} catch(error) {
|
|
536
|
+
expect(error.requestId).to.be.ok
|
|
537
|
+
expect(error.code).to.be.ok
|
|
538
|
+
}
|
|
539
|
+
})
|
|
540
|
+
|
|
541
|
+
it("essbasic.v20201222.CreateServerFlowSign", async function () {
|
|
542
|
+
try {
|
|
543
|
+
const data = await client.CreateServerFlowSign({})
|
|
544
|
+
expect(data).to.be.ok
|
|
545
|
+
} catch(error) {
|
|
546
|
+
expect(error.requestId).to.be.ok
|
|
547
|
+
expect(error.code).to.be.ok
|
|
548
|
+
}
|
|
549
|
+
})
|
|
550
|
+
|
|
551
|
+
})
|