tencentcloud-sdk-nodejs 4.0.267 → 4.0.271
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 +868 -0
- package/SERVICE_CHANGELOG.md +855 -169
- package/package.json +1 -1
- package/products.md +41 -40
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +3 -2
- package/src/services/apigateway/v20180808/apigateway_models.ts +56 -22
- package/src/services/as/v20180419/as_models.ts +8 -3
- package/src/services/billing/v20180709/billing_models.ts +18 -0
- package/src/services/cam/v20190116/cam_client.ts +21 -7
- package/src/services/cam/v20190116/cam_models.ts +134 -11
- package/src/services/cbs/v20170312/cbs_models.ts +11 -1
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +8 -3
- package/src/services/clb/v20180317/clb_client.ts +3 -0
- package/src/services/clb/v20180317/clb_models.ts +5 -0
- package/src/services/cls/v20201016/cls_models.ts +3 -49
- package/src/services/cwp/v20180228/cwp_client.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +44 -2
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +28 -4
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +166 -71
- package/src/services/dcdb/v20180411/dcdb_models.ts +21 -5
- package/src/services/dlc/v20210125/dlc_models.ts +2 -3
- package/src/services/eb/index.ts +5 -0
- package/src/services/eb/v20210416/eb_client.ts +353 -0
- package/src/services/eb/v20210416/eb_models.ts +1483 -0
- package/src/services/eb/v20210416/index.ts +6 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +12 -19
- package/src/services/essbasic/v20210526/essbasic_models.ts +32 -7
- package/src/services/faceid/v20180301/faceid_client.ts +15 -1
- package/src/services/faceid/v20180301/faceid_models.ts +128 -8
- package/src/services/gaap/v20180529/gaap_models.ts +115 -1
- package/src/services/gs/v20191118/gs_client.ts +24 -0
- package/src/services/gs/v20191118/gs_models.ts +45 -0
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +542 -431
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +538 -64
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +7 -2
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +20 -0
- package/src/services/live/v20180801/live_models.ts +1 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +13 -1
- package/src/services/mariadb/v20170312/mariadb_models.ts +158 -26
- package/src/services/monitor/v20180724/monitor_models.ts +12 -0
- package/src/services/ocr/v20181119/ocr_models.ts +3 -2
- package/src/services/postgres/v20170312/postgres_client.ts +87 -13
- package/src/services/postgres/v20170312/postgres_models.ts +370 -13
- package/src/services/rce/v20201103/rce_models.ts +5 -0
- package/src/services/scf/v20180416/scf_models.ts +9 -3
- package/src/services/sms/v20190711/sms_client.ts +2 -1
- package/src/services/sms/v20190711/sms_models.ts +19 -15
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +6 -1
- package/src/services/ssm/v20190923/ssm_client.ts +3 -2
- package/src/services/ssm/v20190923/ssm_models.ts +36 -14
- package/src/services/tcss/v20201101/tcss_models.ts +31 -5
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/tem/v20210701/tem_models.ts +37 -3
- package/src/services/tke/v20180525/tke_models.ts +13 -0
- package/src/services/tsf/v20180326/tsf_models.ts +12 -0
- package/src/services/vod/v20180717/vod_models.ts +18 -1
- package/src/services/wav/v20210129/wav_client.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +48 -18
- package/tencentcloud/services/as/v20180419/as_models.d.ts +7 -3
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +17 -0
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +7 -3
- package/tencentcloud/services/cam/v20190116/cam_client.js +9 -3
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +113 -10
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +9 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +7 -3
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +3 -0
- package/tencentcloud/services/clb/v20180317/clb_client.js +3 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -48
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +37 -2
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +143 -63
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +18 -5
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +2 -3
- package/tencentcloud/services/eb/index.d.ts +6 -0
- package/tencentcloud/services/eb/index.js +7 -0
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +110 -0
- package/tencentcloud/services/eb/v20210416/eb_client.js +181 -0
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +1248 -0
- package/tencentcloud/services/eb/v20210416/eb_models.js +18 -0
- package/tencentcloud/services/eb/v20210416/index.d.ts +6 -0
- package/tencentcloud/services/eb/v20210416/index.js +9 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +10 -17
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +10 -17
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +27 -7
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +108 -8
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +102 -1
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +9 -1
- package/tencentcloud/services/gs/v20191118/gs_client.js +12 -0
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +40 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +179 -143
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +267 -213
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +462 -59
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +6 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +17 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +130 -21
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +3 -2
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -5
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -6
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +313 -12
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +4 -0
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +8 -3
- package/tencentcloud/services/sms/v20190711/sms_client.d.ts +2 -1
- package/tencentcloud/services/sms/v20190711/sms_client.js +2 -1
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +19 -15
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +5 -1
- package/tencentcloud/services/ssm/v20190923/ssm_client.d.ts +2 -1
- package/tencentcloud/services/ssm/v20190923/ssm_client.js +2 -1
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +33 -14
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +25 -3
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +31 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +11 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +10 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +17 -1
- package/tencentcloud/services/wav/v20210129/wav_client.d.ts +2 -2
- package/tencentcloud/services/wav/v20210129/wav_client.js +2 -2
- package/test/cam.v20190116.test.js +12 -2
- package/test/dbbrain.v20210527.test.js +20 -0
- package/test/eb.v20210416.test.js +271 -0
- package/test/faceid.v20180301.test.js +10 -0
- package/test/gs.v20191118.test.js +20 -0
- package/test/iotexplorer.v20190423.test.js +240 -150
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/postgres.v20170312.test.js +64 -4
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.eb.v20210416.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("eb.v20210416.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("eb.v20210416.DeleteEventBus", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DeleteEventBus({})
|
|
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("eb.v20210416.CreateTransformation", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateTransformation({})
|
|
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("eb.v20210416.CreateEventBus", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreateEventBus({})
|
|
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("eb.v20210416.CreateRule", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.CreateRule({})
|
|
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("eb.v20210416.DeleteTarget", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DeleteTarget({})
|
|
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("eb.v20210416.ListTargets", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ListTargets({})
|
|
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("eb.v20210416.CheckRule", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CheckRule({})
|
|
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("eb.v20210416.PublishEvent", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.PublishEvent({})
|
|
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("eb.v20210416.UpdateTarget", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.UpdateTarget({})
|
|
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("eb.v20210416.GetTransformation", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.GetTransformation({})
|
|
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("eb.v20210416.ListRules", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ListRules({})
|
|
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("eb.v20210416.DeleteRule", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DeleteRule({})
|
|
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("eb.v20210416.UpdateEventBus", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.UpdateEventBus({})
|
|
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("eb.v20210416.CreateTarget", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.CreateTarget({})
|
|
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("eb.v20210416.UpdateRule", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.UpdateRule({})
|
|
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("eb.v20210416.DeleteTransformation", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeleteTransformation({})
|
|
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("eb.v20210416.CreateConnection", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.CreateConnection({})
|
|
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("eb.v20210416.GetRule", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.GetRule({})
|
|
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("eb.v20210416.DeleteConnection", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DeleteConnection({})
|
|
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("eb.v20210416.ListEventBuses", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.ListEventBuses({})
|
|
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("eb.v20210416.GetEventBus", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.GetEventBus({})
|
|
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("eb.v20210416.UpdateTransformation", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.UpdateTransformation({})
|
|
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("eb.v20210416.CheckTransformation", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.CheckTransformation({})
|
|
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("eb.v20210416.ListConnections", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.ListConnections({})
|
|
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("eb.v20210416.UpdateConnection", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.UpdateConnection({})
|
|
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
|
+
})
|
|
@@ -38,6 +38,16 @@ it("faceid.v20180301.GetActionSequence", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("faceid.v20180301.GetWeChatBillDetails", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.GetWeChatBillDetails({})
|
|
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("faceid.v20180301.CheckIdCardInformation", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.CheckIdCardInformation({})
|
|
@@ -68,6 +68,26 @@ it("gs.v20191118.SwitchGameArchive", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("gs.v20191118.StartPublishStream", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.StartPublishStream({})
|
|
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("gs.v20191118.StopPublishStream", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.StopPublishStream({})
|
|
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
|
+
|
|
71
91
|
it("gs.v20191118.CreateSession", async function () {
|
|
72
92
|
try {
|
|
73
93
|
const data = await client.CreateSession({})
|