tencentcloud-sdk-nodejs 4.0.1021 → 4.0.1022

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/package.json +1 -1
  2. package/src/common/sdk_version.ts +1 -1
  3. package/tencentcloud/common/sdk_version.d.ts +1 -1
  4. package/tencentcloud/common/sdk_version.js +1 -1
  5. package/CHANGELOG.md +0 -209461
  6. package/SERVICE_CHANGELOG.md +0 -187648
  7. package/examples/cbs/v20170312/describe_disks.js +0 -32
  8. package/examples/cbs/v20170312/describe_disks.ts +0 -32
  9. package/examples/cls/v20201016/cls.proto +0 -34
  10. package/examples/cls/v20201016/upload_log.js +0 -69
  11. package/examples/common/common_client.js +0 -47
  12. package/examples/common/common_client.ts +0 -47
  13. package/examples/cvm/v20170312/describe_instances.js +0 -44
  14. package/examples/cvm/v20170312/describe_instances.ts +0 -43
  15. package/examples/cvm/v20170312/describe_zones.js +0 -22
  16. package/examples/cvm/v20170312/describe_zones.ts +0 -33
  17. package/examples/cvm/v20170312/inquiry_price_run_instances.ts +0 -73
  18. package/examples/cvm/v20170312/run_instances.js +0 -73
  19. package/examples/cvm/v20170312/run_instances.ts +0 -73
  20. package/examples/cvm_role.js +0 -27
  21. package/examples/cvm_role.ts +0 -28
  22. package/examples/ecc/v20181213/ecc_correct.js +0 -37
  23. package/examples/ecc/v20181213/ecc_correct.ts +0 -37
  24. package/examples/ecc/v20181213/ecc_ocr.js +0 -39
  25. package/examples/ecc/v20181213/ecc_ocr.ts +0 -39
  26. package/examples/hcm/v20181106/hcm_ocr.js +0 -42
  27. package/examples/hcm/v20181106/hcm_ocr.ts +0 -39
  28. package/examples/hunyuan/v20230901/chat_completions.js +0 -59
  29. package/examples/hunyuan/v20230901/chat_completions.ts +0 -61
  30. package/examples/soe/v20180903/init_oral_process.js +0 -41
  31. package/examples/soe/v20180903/init_oral_process.ts +0 -41
  32. package/examples/soe/v20180903/transmit_oral_process.js +0 -43
  33. package/examples/soe/v20180903/transmit_oral_process.ts +0 -43
  34. package/products.md +0 -264
  35. package/test/aa.v20200224.test.js +0 -31
  36. package/test/aai.v20180522.test.js +0 -61
  37. package/test/aca.v20210323.test.js +0 -101
  38. package/test/acp.v20220105.test.js +0 -101
  39. package/test/advisor.v20200721.test.js +0 -41
  40. package/test/af.v20200226.test.js +0 -51
  41. package/test/afc.v20200226.test.js +0 -51
  42. package/test/aiart.v20221229.test.js +0 -191
  43. package/test/ame.v20190916.test.js +0 -331
  44. package/test/ams.v20200608.test.js +0 -91
  45. package/test/ams.v20201229.test.js +0 -71
  46. package/test/anicloud.v20220923.test.js +0 -51
  47. package/test/antiddos.v20200309.test.js +0 -981
  48. package/test/apcas.v20201127.test.js +0 -91
  49. package/test/ape.v20200513.test.js +0 -101
  50. package/test/api.v20201106.test.js +0 -51
  51. package/test/apigateway.v20180808.test.js +0 -1011
  52. package/test/apm.v20210622.test.js +0 -141
  53. package/test/as.v20180419.test.js +0 -591
  54. package/test/asr.v20190614.test.js +0 -341
  55. package/test/asw.v20200722.test.js +0 -111
  56. package/test/ba.v20200720.test.js +0 -51
  57. package/test/batch.v20170312.test.js +0 -331
  58. package/test/bda.v20200324.test.js +0 -201
  59. package/test/bh.v20230418.test.js +0 -641
  60. package/test/bi.v20220105.test.js +0 -261
  61. package/test/billing.v20180709.test.js +0 -481
  62. package/test/bizlive.v20190313.test.js +0 -81
  63. package/test/bm.v20180423.test.js +0 -551
  64. package/test/bma.v20210624.test.js +0 -301
  65. package/test/bma.v20221115.test.js +0 -131
  66. package/test/bmeip.v20180625.test.js +0 -221
  67. package/test/bmlb.v20180625.test.js +0 -511
  68. package/test/bmvpc.v20180625.test.js +0 -631
  69. package/test/bpaas.v20181217.test.js +0 -41
  70. package/test/bri.v20190328.test.js +0 -31
  71. package/test/bsca.v20210811.test.js +0 -91
  72. package/test/btoe.v20210303.test.js +0 -141
  73. package/test/btoe.v20210514.test.js +0 -151
  74. package/test/ca.v20230228.test.js +0 -51
  75. package/test/cam.v20190116.test.js +0 -931
  76. package/test/captcha.v20190722.test.js +0 -201
  77. package/test/car.v20220110.test.js +0 -81
  78. package/test/cat.v20180409.test.js +0 -141
  79. package/test/cbs.v20170312.test.js +0 -441
  80. package/test/ccc.v20200210.test.js +0 -661
  81. package/test/cdb.v20170320.test.js +0 -1741
  82. package/test/cdc.v20201214.test.js +0 -231
  83. package/test/cdn.v20180606.test.js +0 -831
  84. package/test/cds.v20180420.test.js +0 -71
  85. package/test/cdwch.v20200915.test.js +0 -301
  86. package/test/cdwdoris.v20211228.test.js +0 -621
  87. package/test/cdwpg.v20201230.test.js +0 -101
  88. package/test/cdz.v20221123.test.js +0 -41
  89. package/test/cfg.v20210820.test.js +0 -191
  90. package/test/cfs.v20190719.test.js +0 -461
  91. package/test/cfw.v20190904.test.js +0 -1151
  92. package/test/chdfs.v20190718.test.js +0 -281
  93. package/test/chdfs.v20201112.test.js +0 -311
  94. package/test/ciam.v20220331.test.js +0 -251
  95. package/test/cii.v20201210.test.js +0 -51
  96. package/test/cii.v20210408.test.js +0 -151
  97. package/test/cim.v20190318.test.js +0 -31
  98. package/test/cis.v20180408.test.js +0 -91
  99. package/test/ckafka.v20190819.test.js +0 -871
  100. package/test/clb.v20180317.test.js +0 -881
  101. package/test/cloudapp.v20220530.test.js +0 -31
  102. package/test/cloudaudit.v20190319.test.js +0 -211
  103. package/test/cloudhsm.v20191112.test.js +0 -161
  104. package/test/cloudstudio.v20230508.test.js +0 -111
  105. package/test/cls.v20201016.test.js +0 -1151
  106. package/test/cme.v20191029.test.js +0 -521
  107. package/test/cmq.v20190304.test.js +0 -41
  108. package/test/cms.v20190321.test.js +0 -81
  109. package/test/config.v20220802.test.js +0 -91
  110. package/test/controlcenter.v20230110.test.js +0 -31
  111. package/test/cpdp.v20190820.test.js +0 -2211
  112. package/test/csip.v20221121.test.js +0 -501
  113. package/test/csxg.v20230303.test.js +0 -71
  114. package/test/cvm.v20170312.test.js +0 -991
  115. package/test/cwp.v20180228.test.js +0 -5191
  116. package/test/cws.v20180312.test.js +0 -211
  117. package/test/cynosdb.v20190107.test.js +0 -1571
  118. package/test/dasb.v20191018.test.js +0 -651
  119. package/test/dataintegration.v20220613.test.js +0 -31
  120. package/test/dayu.v20180709.test.js +0 -1141
  121. package/test/dbbrain.v20191016.test.js +0 -291
  122. package/test/dbbrain.v20210527.test.js +0 -661
  123. package/test/dbdc.v20201029.test.js +0 -81
  124. package/test/dc.v20180410.test.js +0 -241
  125. package/test/dcdb.v20180411.test.js +0 -791
  126. package/test/dlc.v20210125.test.js +0 -1461
  127. package/test/dnspod.v20210323.test.js +0 -861
  128. package/test/domain.v20180808.test.js +0 -571
  129. package/test/drm.v20181115.test.js +0 -131
  130. package/test/ds.v20180523.test.js +0 -141
  131. package/test/dsgc.v20190723.test.js +0 -1501
  132. package/test/dtf.v20200506.test.js +0 -31
  133. package/test/dts.v20180330.test.js +0 -241
  134. package/test/dts.v20211206.test.js +0 -731
  135. package/test/eb.v20210416.test.js +0 -341
  136. package/test/ecc.v20181213.test.js +0 -61
  137. package/test/ecdn.v20191012.test.js +0 -181
  138. package/test/ecm.v20190719.test.js +0 -1411
  139. package/test/eiam.v20210420.test.js +0 -441
  140. package/test/eis.v20200715.test.js +0 -51
  141. package/test/eis.v20210601.test.js +0 -71
  142. package/test/emr.v20190103.test.js +0 -781
  143. package/test/es.v20180416.test.js +0 -631
  144. package/test/ess.v20201111.test.js +0 -981
  145. package/test/essbasic.v20201222.test.js +0 -551
  146. package/test/essbasic.v20210526.test.js +0 -881
  147. package/test/facefusion.v20181201.test.js +0 -51
  148. package/test/facefusion.v20220927.test.js +0 -51
  149. package/test/faceid.v20180301.test.js +0 -391
  150. package/test/fmu.v20191213.test.js +0 -121
  151. package/test/ft.v20200304.test.js +0 -81
  152. package/test/gaap.v20180529.test.js +0 -1071
  153. package/test/gme.v20180711.test.js +0 -301
  154. package/test/goosefs.v20220519.test.js +0 -221
  155. package/test/gpm.v20200820.test.js +0 -201
  156. package/test/gs.v20191118.test.js +0 -111
  157. package/test/gse.v20191112.test.js +0 -761
  158. package/test/gwlb.v20240906.test.js +0 -201
  159. package/test/habo.v20181203.test.js +0 -41
  160. package/test/hai.v20230812.test.js +0 -151
  161. package/test/hasim.v20210716.test.js +0 -241
  162. package/test/hcm.v20181106.test.js +0 -31
  163. package/test/hunyuan.v20230901.test.js +0 -211
  164. package/test/iai.v20180301.test.js +0 -351
  165. package/test/iai.v20200303.test.js +0 -381
  166. package/test/iap.v20240713.test.js +0 -81
  167. package/test/ic.v20190307.test.js +0 -111
  168. package/test/icr.v20211014.test.js +0 -31
  169. package/test/ie.v20200304.test.js +0 -121
  170. package/test/iecp.v20210914.test.js +0 -841
  171. package/test/ig.v20210518.test.js +0 -31
  172. package/test/iir.v20200417.test.js +0 -31
  173. package/test/ims.v20200713.test.js +0 -31
  174. package/test/ims.v20201229.test.js +0 -41
  175. package/test/ioa.v20220601.test.js +0 -71
  176. package/test/iot.v20180123.test.js +0 -471
  177. package/test/iotcloud.v20180614.test.js +0 -711
  178. package/test/iotcloud.v20210408.test.js +0 -751
  179. package/test/iotexplorer.v20190423.test.js +0 -1601
  180. package/test/iottid.v20190411.test.js +0 -111
  181. package/test/iotvideo.v20191126.test.js +0 -701
  182. package/test/iotvideo.v20201215.test.js +0 -811
  183. package/test/iotvideo.v20211125.test.js +0 -1071
  184. package/test/iotvideoindustry.v20201201.test.js +0 -1061
  185. package/test/irp.v20220324.test.js +0 -61
  186. package/test/irp.v20220805.test.js +0 -91
  187. package/test/iss.v20230517.test.js +0 -861
  188. package/test/ivld.v20210903.test.js +0 -301
  189. package/test/keewidb.v20220308.test.js +0 -401
  190. package/test/kms.v20190118.test.js +0 -551
  191. package/test/lcic.v20220817.test.js +0 -691
  192. package/test/lighthouse.v20200324.test.js +0 -1111
  193. package/test/live.v20180801.test.js +0 -1971
  194. package/test/lke.v20231130.test.js +0 -1001
  195. package/test/lkeap.v20240522.test.js +0 -271
  196. package/test/lowcode.v20210108.test.js +0 -31
  197. package/test/lp.v20200224.test.js +0 -31
  198. package/test/mall.v20230518.test.js +0 -31
  199. package/test/mariadb.v20170312.test.js +0 -791
  200. package/test/market.v20191010.test.js +0 -41
  201. package/test/memcached.v20190318.test.js +0 -31
  202. package/test/mgobe.v20190929.test.js +0 -31
  203. package/test/mgobe.v20201014.test.js +0 -91
  204. package/test/mmps.v20200710.test.js +0 -171
  205. package/test/mna.v20210119.test.js +0 -431
  206. package/test/mongodb.v20180408.test.js +0 -151
  207. package/test/mongodb.v20190725.test.js +0 -511
  208. package/test/monitor.v20180724.test.js +0 -1601
  209. package/test/mps.v20190612.test.js +0 -1211
  210. package/test/mqtt.v20240516.test.js +0 -271
  211. package/test/mrs.v20200910.test.js +0 -131
  212. package/test/ms.v20180408.test.js +0 -251
  213. package/test/msp.v20180319.test.js +0 -91
  214. package/test/mvj.v20190926.test.js +0 -31
  215. package/test/nlp.v20190408.test.js +0 -141
  216. package/test/npp.v20190823.test.js +0 -101
  217. package/test/oceanus.v20190422.test.js +0 -411
  218. package/test/ocr.v20181119.test.js +0 -901
  219. package/test/omics.v20221128.test.js +0 -221
  220. package/test/organization.v20181225.test.js +0 -221
  221. package/test/organization.v20210331.test.js +0 -1261
  222. package/test/partners.v20180321.test.js +0 -221
  223. package/test/pds.v20210701.test.js +0 -41
  224. package/test/postgres.v20170312.test.js +0 -1051
  225. package/test/privatedns.v20201028.test.js +0 -261
  226. package/test/pts.v20210728.test.js +0 -501
  227. package/test/rce.v20201103.test.js +0 -131
  228. package/test/redis.v20180412.test.js +0 -1111
  229. package/test/region.v20220627.test.js +0 -51
  230. package/test/rkp.v20191209.test.js +0 -51
  231. package/test/rp.v20200224.test.js +0 -31
  232. package/test/rum.v20210622.test.js +0 -561
  233. package/test/scf.v20180416.test.js +0 -541
  234. package/test/ses.v20201002.test.js +0 -331
  235. package/test/smh.v20210712.test.js +0 -171
  236. package/test/smop.v20201203.test.js +0 -31
  237. package/test/smpn.v20190822.test.js +0 -41
  238. package/test/sms.v20190711.test.js +0 -181
  239. package/test/sms.v20210111.test.js +0 -201
  240. package/test/soe.v20180724.test.js +0 -61
  241. package/test/solar.v20181011.test.js +0 -191
  242. package/test/sqlserver.v20180328.test.js +0 -1501
  243. package/test/ssa.v20180608.test.js +0 -251
  244. package/test/ssl.v20191205.test.js +0 -631
  245. package/test/sslpod.v20190605.test.js +0 -121
  246. package/test/ssm.v20190923.test.js +0 -261
  247. package/test/sts.v20180813.test.js +0 -81
  248. package/test/svp.v20240125.test.js +0 -61
  249. package/test/taf.v20200210.test.js +0 -61
  250. package/test/tag.v20180813.test.js +0 -331
  251. package/test/tan.v20220420.test.js +0 -31
  252. package/test/tat.v20201028.test.js +0 -311
  253. package/test/tav.v20190118.test.js +0 -61
  254. package/test/tbaas.v20180416.test.js +0 -271
  255. package/test/tbm.v20180129.test.js +0 -111
  256. package/test/tbp.v20190311.test.js +0 -61
  257. package/test/tbp.v20190627.test.js +0 -41
  258. package/test/tcaplusdb.v20190823.test.js +0 -551
  259. package/test/tcb.v20180608.test.js +0 -911
  260. package/test/tcbr.v20220217.test.js +0 -121
  261. package/test/tccatalog.v20241024.test.js +0 -61
  262. package/test/tcex.v20200727.test.js +0 -41
  263. package/test/tchd.v20230306.test.js +0 -31
  264. package/test/tci.v20190318.test.js +0 -431
  265. package/test/tcm.v20210413.test.js +0 -141
  266. package/test/tcr.v20190924.test.js +0 -1121
  267. package/test/tcss.v20201101.test.js +0 -3401
  268. package/test/tdcpg.v20211118.test.js +0 -271
  269. package/test/tdid.v20210519.test.js +0 -201
  270. package/test/tdmq.v20200217.test.js +0 -1521
  271. package/test/tds.v20220801.test.js +0 -61
  272. package/test/tem.v20201221.test.js +0 -191
  273. package/test/tem.v20210701.test.js +0 -521
  274. package/test/teo.v20220106.test.js +0 -71
  275. package/test/teo.v20220901.test.js +0 -1421
  276. package/test/thpc.v20211109.test.js +0 -61
  277. package/test/thpc.v20220401.test.js +0 -181
  278. package/test/thpc.v20230321.test.js +0 -251
  279. package/test/tia.v20180226.test.js +0 -121
  280. package/test/tic.v20201117.test.js +0 -151
  281. package/test/ticm.v20181127.test.js +0 -51
  282. package/test/tics.v20181115.test.js +0 -61
  283. package/test/tiems.v20190416.test.js +0 -271
  284. package/test/tiia.v20190529.test.js +0 -241
  285. package/test/tione.v20191022.test.js +0 -241
  286. package/test/tione.v20211111.test.js +0 -411
  287. package/test/tiw.v20190919.test.js +0 -621
  288. package/test/tke.v20180525.test.js +0 -2301
  289. package/test/tke.v20220501.test.js +0 -161
  290. package/test/tkgdq.v20190411.test.js +0 -51
  291. package/test/tms.v20200713.test.js +0 -61
  292. package/test/tms.v20201229.test.js +0 -31
  293. package/test/tmt.v20180321.test.js +0 -91
  294. package/test/tourism.v20230215.test.js +0 -31
  295. package/test/trdp.v20220726.test.js +0 -31
  296. package/test/trocket.v20230308.test.js +0 -571
  297. package/test/trp.v20210515.test.js +0 -561
  298. package/test/trro.v20220325.test.js +0 -251
  299. package/test/trtc.v20190722.test.js +0 -591
  300. package/test/tse.v20201207.test.js +0 -1211
  301. package/test/tsf.v20180326.test.js +0 -2241
  302. package/test/tsi.v20210325.test.js +0 -51
  303. package/test/tsw.v20200924.test.js +0 -31
  304. package/test/tsw.v20210412.test.js +0 -51
  305. package/test/tts.v20190823.test.js +0 -51
  306. package/test/ump.v20200918.test.js +0 -191
  307. package/test/vcg.v20240404.test.js +0 -41
  308. package/test/vclm.v20240523.test.js +0 -121
  309. package/test/vcube.v20220410.test.js +0 -361
  310. package/test/vdb.v20230616.test.js +0 -81
  311. package/test/vm.v20200709.test.js +0 -71
  312. package/test/vm.v20201229.test.js +0 -61
  313. package/test/vm.v20210922.test.js +0 -61
  314. package/test/vms.v20200902.test.js +0 -41
  315. package/test/vod.v20180717.test.js +0 -1831
  316. package/test/vod.v20240718.test.js +0 -31
  317. package/test/vpc.v20170312.test.js +0 -3901
  318. package/test/vrs.v20200824.test.js +0 -101
  319. package/test/vtc.v20240223.test.js +0 -51
  320. package/test/waf.v20180125.test.js +0 -1511
  321. package/test/wav.v20210129.test.js +0 -281
  322. package/test/wedata.v20210820.test.js +0 -2421
  323. package/test/weilingwith.v20230427.test.js +0 -661
  324. package/test/wss.v20180426.test.js +0 -51
  325. package/test/yinsuda.v20220527.test.js +0 -221
  326. package/test/youmall.v20180228.test.js +0 -331
  327. package/test/yunjing.v20180228.test.js +0 -1021
  328. package/test/yunsou.v20180504.test.js +0 -41
  329. package/test/yunsou.v20191115.test.js +0 -41
@@ -1,661 +0,0 @@
1
-
2
- const expect = require("chai").expect
3
- const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
- const client = new tencentcloud.weilingwith.v20230427.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("weilingwith.v20230427.test.js", function () {
20
-
21
- it("weilingwith.v20230427.DescribeVideoCloudRecord", async function () {
22
- try {
23
- const data = await client.DescribeVideoCloudRecord({})
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("weilingwith.v20230427.DescribeBuildingProfile", async function () {
32
- try {
33
- const data = await client.DescribeBuildingProfile({})
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("weilingwith.v20230427.ChangeAlarmStatus", async function () {
42
- try {
43
- const data = await client.ChangeAlarmStatus({})
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("weilingwith.v20230427.DescribeLinkRuleList", async function () {
52
- try {
53
- const data = await client.DescribeLinkRuleList({})
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("weilingwith.v20230427.DescribeElementProfileTree", async function () {
62
- try {
63
- const data = await client.DescribeElementProfileTree({})
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("weilingwith.v20230427.DescribeAlarmStatusList", async function () {
72
- try {
73
- const data = await client.DescribeAlarmStatusList({})
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("weilingwith.v20230427.DescribeDeviceStatusStat", async function () {
82
- try {
83
- const data = await client.DescribeDeviceStatusStat({})
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("weilingwith.v20230427.DescribeSpaceDeviceIdList", async function () {
92
- try {
93
- const data = await client.DescribeSpaceDeviceIdList({})
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("weilingwith.v20230427.DescribeVideoLiveStream", async function () {
102
- try {
103
- const data = await client.DescribeVideoLiveStream({})
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("weilingwith.v20230427.DescribeTenantDepartmentList", async function () {
112
- try {
113
- const data = await client.DescribeTenantDepartmentList({})
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("weilingwith.v20230427.ReportAppMessage", async function () {
122
- try {
123
- const data = await client.ReportAppMessage({})
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("weilingwith.v20230427.DescribeTenantBuildingCountAndArea", async function () {
132
- try {
133
- const data = await client.DescribeTenantBuildingCountAndArea({})
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("weilingwith.v20230427.DescribeWorkSpaceBuildingCountAndArea", async function () {
142
- try {
143
- const data = await client.DescribeWorkSpaceBuildingCountAndArea({})
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("weilingwith.v20230427.DescribeDeviceShadowList", async function () {
152
- try {
153
- const data = await client.DescribeDeviceShadowList({})
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("weilingwith.v20230427.DescribeDeviceTagList", async function () {
162
- try {
163
- const data = await client.DescribeDeviceTagList({})
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("weilingwith.v20230427.DescribeDeviceGroupList", async function () {
172
- try {
173
- const data = await client.DescribeDeviceGroupList({})
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("weilingwith.v20230427.DescribeAlarmTypeList", async function () {
182
- try {
183
- const data = await client.DescribeAlarmTypeList({})
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("weilingwith.v20230427.DescribeSpaceTypeList", async function () {
192
- try {
193
- const data = await client.DescribeSpaceTypeList({})
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("weilingwith.v20230427.ModifyDeviceGroup", async function () {
202
- try {
203
- const data = await client.ModifyDeviceGroup({})
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("weilingwith.v20230427.DescribeDeviceTypeList", async function () {
212
- try {
213
- const data = await client.DescribeDeviceTypeList({})
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("weilingwith.v20230427.DescribeSpaceInfoByDeviceId", async function () {
222
- try {
223
- const data = await client.DescribeSpaceInfoByDeviceId({})
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("weilingwith.v20230427.DescribeWorkspaceList", async function () {
232
- try {
233
- const data = await client.DescribeWorkspaceList({})
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("weilingwith.v20230427.DescribeRuleDetail", async function () {
242
- try {
243
- const data = await client.DescribeRuleDetail({})
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("weilingwith.v20230427.UpdateWorkspaceParkAttributes", async function () {
252
- try {
253
- const data = await client.UpdateWorkspaceParkAttributes({})
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("weilingwith.v20230427.StopVideoStreaming", async function () {
262
- try {
263
- const data = await client.StopVideoStreaming({})
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("weilingwith.v20230427.DescribeModelList", async function () {
272
- try {
273
- const data = await client.DescribeModelList({})
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("weilingwith.v20230427.DescribePropertyList", async function () {
282
- try {
283
- const data = await client.DescribePropertyList({})
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("weilingwith.v20230427.DescribeProductList", async function () {
292
- try {
293
- const data = await client.DescribeProductList({})
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("weilingwith.v20230427.BatchDeleteDevice", async function () {
302
- try {
303
- const data = await client.BatchDeleteDevice({})
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("weilingwith.v20230427.DescribeActionList", async function () {
312
- try {
313
- const data = await client.DescribeActionList({})
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("weilingwith.v20230427.DescribeSceneList", async function () {
322
- try {
323
- const data = await client.DescribeSceneList({})
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("weilingwith.v20230427.DescribeSpaceRelationByDeviceId", async function () {
332
- try {
333
- const data = await client.DescribeSpaceRelationByDeviceId({})
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("weilingwith.v20230427.DescribeDeviceList", async function () {
342
- try {
343
- const data = await client.DescribeDeviceList({})
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("weilingwith.v20230427.BatchKillAlarm", async function () {
352
- try {
353
- const data = await client.BatchKillAlarm({})
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("weilingwith.v20230427.DescribeWorkspaceUserList", async function () {
362
- try {
363
- const data = await client.DescribeWorkspaceUserList({})
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("weilingwith.v20230427.ControlDevice", async function () {
372
- try {
373
- const data = await client.ControlDevice({})
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("weilingwith.v20230427.BatchReportAppMessage", async function () {
382
- try {
383
- const data = await client.BatchReportAppMessage({})
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("weilingwith.v20230427.DescribeElementProfilePage", async function () {
392
- try {
393
- const data = await client.DescribeElementProfilePage({})
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("weilingwith.v20230427.ModifyDeviceName", async function () {
402
- try {
403
- const data = await client.ModifyDeviceName({})
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("weilingwith.v20230427.DescribeEventList", async function () {
412
- try {
413
- const data = await client.DescribeEventList({})
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("weilingwith.v20230427.DescribeAdministrationByTag", async function () {
422
- try {
423
- const data = await client.DescribeAdministrationByTag({})
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("weilingwith.v20230427.BatchCreateDevice", async function () {
432
- try {
433
- const data = await client.BatchCreateDevice({})
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("weilingwith.v20230427.ModifyDeviceTag", async function () {
442
- try {
443
- const data = await client.ModifyDeviceTag({})
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("weilingwith.v20230427.DescribeCameraExtendInfo", async function () {
452
- try {
453
- const data = await client.DescribeCameraExtendInfo({})
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("weilingwith.v20230427.DescribeFileDownloadURL", async function () {
462
- try {
463
- const data = await client.DescribeFileDownloadURL({})
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("weilingwith.v20230427.DescribeCityWorkspaceList", async function () {
472
- try {
473
- const data = await client.DescribeCityWorkspaceList({})
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("weilingwith.v20230427.DescribeEdgeApplicationToken", async function () {
482
- try {
483
- const data = await client.DescribeEdgeApplicationToken({})
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("weilingwith.v20230427.DescribeBuildingModel", async function () {
492
- try {
493
- const data = await client.DescribeBuildingModel({})
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("weilingwith.v20230427.DeleteDeviceGroup", async function () {
502
- try {
503
- const data = await client.DeleteDeviceGroup({})
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("weilingwith.v20230427.DescribeSpaceDeviceRelationList", async function () {
512
- try {
513
- const data = await client.DescribeSpaceDeviceRelationList({})
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("weilingwith.v20230427.DescribeBuildingList", async function () {
522
- try {
523
- const data = await client.DescribeBuildingList({})
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("weilingwith.v20230427.SaveDeviceGroup", async function () {
532
- try {
533
- const data = await client.SaveDeviceGroup({})
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("weilingwith.v20230427.ControlCameraPTZ", async function () {
542
- try {
543
- const data = await client.ControlCameraPTZ({})
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
- it("weilingwith.v20230427.DescribeInterfaceList", async function () {
552
- try {
553
- const data = await client.DescribeInterfaceList({})
554
- expect(data).to.be.ok
555
- } catch(error) {
556
- expect(error.requestId).to.be.ok
557
- expect(error.code).to.be.ok
558
- }
559
- })
560
-
561
- it("weilingwith.v20230427.DescribeVideoRecordStream", async function () {
562
- try {
563
- const data = await client.DescribeVideoRecordStream({})
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
-
571
- it("weilingwith.v20230427.DescribeAlarmList", async function () {
572
- try {
573
- const data = await client.DescribeAlarmList({})
574
- expect(data).to.be.ok
575
- } catch(error) {
576
- expect(error.requestId).to.be.ok
577
- expect(error.code).to.be.ok
578
- }
579
- })
580
-
581
- it("weilingwith.v20230427.DescribeApplicationList", async function () {
582
- try {
583
- const data = await client.DescribeApplicationList({})
584
- expect(data).to.be.ok
585
- } catch(error) {
586
- expect(error.requestId).to.be.ok
587
- expect(error.code).to.be.ok
588
- }
589
- })
590
-
591
- it("weilingwith.v20230427.AddAlarmProcessRecord", async function () {
592
- try {
593
- const data = await client.AddAlarmProcessRecord({})
594
- expect(data).to.be.ok
595
- } catch(error) {
596
- expect(error.requestId).to.be.ok
597
- expect(error.code).to.be.ok
598
- }
599
- })
600
-
601
- it("weilingwith.v20230427.DescribeFileUploadURL", async function () {
602
- try {
603
- const data = await client.DescribeFileUploadURL({})
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
-
611
- it("weilingwith.v20230427.DescribeTenantUserList", async function () {
612
- try {
613
- const data = await client.DescribeTenantUserList({})
614
- expect(data).to.be.ok
615
- } catch(error) {
616
- expect(error.requestId).to.be.ok
617
- expect(error.code).to.be.ok
618
- }
619
- })
620
-
621
- it("weilingwith.v20230427.DescribeAlarmLevelList", async function () {
622
- try {
623
- const data = await client.DescribeAlarmLevelList({})
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
-
631
- it("weilingwith.v20230427.CreateApplicationToken", async function () {
632
- try {
633
- const data = await client.CreateApplicationToken({})
634
- expect(data).to.be.ok
635
- } catch(error) {
636
- expect(error.requestId).to.be.ok
637
- expect(error.code).to.be.ok
638
- }
639
- })
640
-
641
- it("weilingwith.v20230427.DescribeDeviceStatusList", async function () {
642
- try {
643
- const data = await client.DescribeDeviceStatusList({})
644
- expect(data).to.be.ok
645
- } catch(error) {
646
- expect(error.requestId).to.be.ok
647
- expect(error.code).to.be.ok
648
- }
649
- })
650
-
651
- it("weilingwith.v20230427.ModifyDeviceField", async function () {
652
- try {
653
- const data = await client.ModifyDeviceField({})
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
-
661
- })
@@ -1,51 +0,0 @@
1
-
2
- const expect = require("chai").expect
3
- const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
- const client = new tencentcloud.wss.v20180426.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("wss.v20180426.test.js", function () {
20
-
21
- it("wss.v20180426.DeleteCert", async function () {
22
- try {
23
- const data = await client.DeleteCert({})
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("wss.v20180426.DescribeCertList", async function () {
32
- try {
33
- const data = await client.DescribeCertList({})
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("wss.v20180426.UploadCert", async function () {
42
- try {
43
- const data = await client.UploadCert({})
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
- })