tencentcloud-sdk-nodejs 4.0.352 → 4.0.355

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 (106) hide show
  1. package/CHANGELOG.md +585 -0
  2. package/SERVICE_CHANGELOG.md +628 -40
  3. package/package.json +1 -1
  4. package/products.md +25 -24
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/api/v20201106/api_models.ts +2 -2
  7. package/src/services/as/v20180419/as_client.ts +2 -0
  8. package/src/services/cdb/v20170320/cdb_client.ts +1 -0
  9. package/src/services/cdb/v20170320/cdb_models.ts +20 -0
  10. package/src/services/cdn/v20180606/cdn_client.ts +27 -15
  11. package/src/services/cdn/v20180606/cdn_models.ts +87 -52
  12. package/src/services/cpdp/v20190820/cpdp_client.ts +237 -48
  13. package/src/services/cpdp/v20190820/cpdp_models.ts +1896 -527
  14. package/src/services/cvm/v20170312/cvm_models.ts +22 -0
  15. package/src/services/dasb/v20191018/dasb_client.ts +202 -34
  16. package/src/services/dasb/v20191018/dasb_models.ts +633 -175
  17. package/src/services/dlc/v20210125/dlc_models.ts +7 -1
  18. package/src/services/ess/v20201111/ess_client.ts +30 -9
  19. package/src/services/ess/v20201111/ess_models.ts +254 -6
  20. package/src/services/essbasic/v20210526/essbasic_models.ts +30 -0
  21. package/src/services/faceid/v20180301/faceid_client.ts +13 -1
  22. package/src/services/faceid/v20180301/faceid_models.ts +161 -19
  23. package/src/services/gaap/v20180529/gaap_models.ts +10 -6
  24. package/src/services/index.ts +1 -0
  25. package/src/services/mongodb/v20190725/mongodb_models.ts +5 -0
  26. package/src/services/soe/v20180724/soe_models.ts +2 -2
  27. package/src/services/sqlserver/v20180328/sqlserver_models.ts +11 -1
  28. package/src/services/tan/index.ts +5 -0
  29. package/src/services/tan/v20220420/index.ts +6 -0
  30. package/src/services/tan/v20220420/tan_client.ts +40 -0
  31. package/src/services/tan/v20220420/tan_models.ts +46 -0
  32. package/src/services/teo/v20220106/teo_client.ts +585 -18
  33. package/src/services/teo/v20220106/teo_models.ts +3872 -252
  34. package/src/services/thpc/v20220401/thpc_models.ts +1 -1
  35. package/src/services/tiia/v20190529/tiia_client.ts +8 -3
  36. package/src/services/tiia/v20190529/tiia_models.ts +254 -83
  37. package/src/services/tke/v20180525/tke_client.ts +302 -74
  38. package/src/services/tke/v20180525/tke_models.ts +1504 -479
  39. package/src/services/trtc/v20190722/trtc_client.ts +91 -61
  40. package/src/services/trtc/v20190722/trtc_models.ts +1145 -994
  41. package/src/services/tse/v20201207/tse_models.ts +5 -0
  42. package/src/services/tts/v20190823/tts_client.ts +11 -0
  43. package/src/services/tts/v20190823/tts_models.ts +2 -2
  44. package/tencentcloud/common/sdk_version.d.ts +1 -1
  45. package/tencentcloud/common/sdk_version.js +1 -1
  46. package/tencentcloud/services/api/v20201106/api_models.d.ts +2 -2
  47. package/tencentcloud/services/as/v20180419/as_client.d.ts +2 -0
  48. package/tencentcloud/services/as/v20180419/as_client.js +2 -0
  49. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +17 -0
  50. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +9 -5
  51. package/tencentcloud/services/cdn/v20180606/cdn_client.js +12 -6
  52. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +76 -46
  53. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +65 -9
  54. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +96 -12
  55. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1640 -473
  56. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +18 -0
  57. package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +67 -11
  58. package/tencentcloud/services/dasb/v20191018/dasb_client.js +99 -15
  59. package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +554 -157
  60. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +6 -1
  61. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +12 -3
  62. package/tencentcloud/services/ess/v20201111/ess_client.js +14 -3
  63. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +210 -5
  64. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +24 -0
  65. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
  66. package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
  67. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +136 -16
  68. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +10 -6
  69. package/tencentcloud/services/index.d.ts +1 -0
  70. package/tencentcloud/services/index.js +2 -0
  71. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +4 -0
  72. package/tencentcloud/services/soe/v20180724/soe_models.d.ts +2 -2
  73. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +9 -1
  74. package/tencentcloud/services/tan/index.d.ts +6 -0
  75. package/tencentcloud/services/tan/index.js +7 -0
  76. package/tencentcloud/services/tan/v20220420/index.d.ts +6 -0
  77. package/tencentcloud/services/tan/v20220420/index.js +9 -0
  78. package/tencentcloud/services/tan/v20220420/tan_client.d.ts +14 -0
  79. package/tencentcloud/services/tan/v20220420/tan_client.js +37 -0
  80. package/tencentcloud/services/tan/v20220420/tan_models.d.ts +26 -0
  81. package/tencentcloud/services/tan/v20220420/tan_models.js +18 -0
  82. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +179 -3
  83. package/tencentcloud/services/teo/v20220106/teo_client.js +267 -3
  84. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +3325 -232
  85. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +1 -1
  86. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +1 -1
  87. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +225 -76
  88. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +91 -19
  89. package/tencentcloud/services/tke/v20180525/tke_client.js +135 -27
  90. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1235 -363
  91. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +17 -5
  92. package/tencentcloud/services/trtc/v20190722/trtc_client.js +22 -6
  93. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +976 -849
  94. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +4 -0
  95. package/tencentcloud/services/tts/v20190823/tts_client.d.ts +11 -0
  96. package/tencentcloud/services/tts/v20190823/tts_client.js +11 -0
  97. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +2 -2
  98. package/test/cdn.v20180606.test.js +14 -4
  99. package/test/cpdp.v20190820.test.js +148 -8
  100. package/test/dasb.v20191018.test.js +150 -10
  101. package/test/ess.v20201111.test.js +12 -2
  102. package/test/faceid.v20180301.test.js +10 -0
  103. package/test/tan.v20220420.test.js +31 -0
  104. package/test/teo.v20220106.test.js +442 -2
  105. package/test/tke.v20180525.test.js +202 -22
  106. package/test/trtc.v20190722.test.js +24 -4
@@ -284,6 +284,10 @@ export interface EnvInfo {
284
284
  * 环境运行的节点数
285
285
  */
286
286
  RunningCount?: number;
287
+ /**
288
+ * 环境别名
289
+ */
290
+ AliasEnvName?: string;
287
291
  }
288
292
  /**
289
293
  * 查询过滤通用对象
@@ -16,6 +16,16 @@ export declare class Client extends AbstractClient {
16
16
  <li>支持语速、音量设置</li>
17
17
  <li>支持回调或轮询的方式获取结果,结果获取请参考 长文本语音合成结果查询。</li>
18
18
  <li>长文本语音合成任务完成后,合成音频结果在服务端可保存24小时</li>
19
+
20
+ <p></p>
21
+
22
+ 长文本合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575),使用时需满足如下使用规范:
23
+ <li>使用 SSML 标签,需置于 speak 闭合标签内部;</li>
24
+ <li>合成文本可包含多组 speak 闭合标签,且无数量限制;</li>
25
+ <li>每个 speak 闭合标签内部,字符数不超过 150 字(标签字符本身不计算在内);</li>
26
+ <li>每个 speak 闭合标签内部,使用 break 标签数目最大为 10 个。如需要使用更多,可拆解到多个 speak 标签中;</li>
27
+
28
+ <p></p>
19
29
  */
20
30
  CreateTtsTask(req: CreateTtsTaskRequest, cb?: (error: string, rep: CreateTtsTaskResponse) => void): Promise<CreateTtsTaskResponse>;
21
31
  /**
@@ -29,6 +39,7 @@ export declare class Client extends AbstractClient {
29
39
  * 腾讯云语音合成技术(TTS)可以将任意文本转化为语音,实现让机器和应用张口说话。
30
40
  腾讯TTS技术可以应用到很多场景,比如,移动APP语音播报新闻;智能设备语音提醒;依靠网上现有节目或少量录音,快速合成明星语音,降低邀约成本;支持车载导航语音合成的个性化语音播报。
31
41
  内测期间免费使用。
42
+ 基础合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575)。
32
43
  */
33
44
  TextToVoice(req: TextToVoiceRequest, cb?: (error: string, rep: TextToVoiceResponse) => void): Promise<TextToVoiceResponse>;
34
45
  }
@@ -36,6 +36,16 @@ class Client extends abstract_client_1.AbstractClient {
36
36
  <li>支持语速、音量设置</li>
37
37
  <li>支持回调或轮询的方式获取结果,结果获取请参考 长文本语音合成结果查询。</li>
38
38
  <li>长文本语音合成任务完成后,合成音频结果在服务端可保存24小时</li>
39
+
40
+ <p></p>
41
+
42
+ 长文本合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575),使用时需满足如下使用规范:
43
+ <li>使用 SSML 标签,需置于 speak 闭合标签内部;</li>
44
+ <li>合成文本可包含多组 speak 闭合标签,且无数量限制;</li>
45
+ <li>每个 speak 闭合标签内部,字符数不超过 150 字(标签字符本身不计算在内);</li>
46
+ <li>每个 speak 闭合标签内部,使用 break 标签数目最大为 10 个。如需要使用更多,可拆解到多个 speak 标签中;</li>
47
+
48
+ <p></p>
39
49
  */
40
50
  async CreateTtsTask(req, cb) {
41
51
  return this.request("CreateTtsTask", req, cb);
@@ -53,6 +63,7 @@ class Client extends abstract_client_1.AbstractClient {
53
63
  * 腾讯云语音合成技术(TTS)可以将任意文本转化为语音,实现让机器和应用张口说话。
54
64
  腾讯TTS技术可以应用到很多场景,比如,移动APP语音播报新闻;智能设备语音提醒;依靠网上现有节目或少量录音,快速合成明星语音,降低邀约成本;支持车载导航语音合成的个性化语音播报。
55
65
  内测期间免费使用。
66
+ 基础合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575)。
56
67
  */
57
68
  async TextToVoice(req, cb) {
58
69
  return this.request("TextToVoice", req, cb);
@@ -109,7 +109,7 @@ export interface CreateTtsTaskRequest {
109
109
  */
110
110
  ProjectId?: number;
111
111
  /**
112
- * 标准音色<li>10510000-智逍遥,旁对白阅读风格男声</li><li>1001-智瑜,情感女声</li><li>1002-智聆,通用女声</li><li>1003-智美,客服女声</li><li>1004-智云,通用男声</li><li>1005-智莉,通用女声</li><li>1007-智娜,客服女声</li><li>1008-智琪,客服女声</li><li>1009-智芸,知性女声</li><li>1010-智华,通用男声</li><li>1017-智蓉,情感女声</li><li>1018-智靖,情感男声</li><li>1050-WeJack,英文男声</li><li>1051-WeRose,英文女声</li>精品音色<br>精品音色拟真度更高,价格不同于标准音色,查看[购买指南](https://cloud.tencent.com/product/tts/pricing)<br><li>100510000-智逍遥,旁对白阅读风格男声(精品)</li><li>101001-智瑜,情感女声(精品)</li><li>101002-智聆,通用女声(精品)</li><li>101003-智美,客服女声(精品)</li><li>101004-智云,通用男声(精品)</li><li>101005-智莉,通用女声(精品)</li><li>101006-智言,助手女声</li><li>101007-智娜,客服女声(精品)</li><li>101008-智琪,客服女声(精品)</li><li>101009-智芸,知性女声(精品)</li><li>101010-智华,通用男声(精品)</li><li>101011-智燕,新闻女声</li><li>101012-智丹,新闻女声</li><li>101013-智辉,新闻男声</li><li>101014-智宁,新闻男声</li><li>101015-智萌,男童声</li><li>101016-智甜,女童声</li><li>101017-智蓉,情感女声(精品)</li><li>101018-智靖,情感男声(精品)</li><li>101019-智彤,粤语女声</li><li>101050-WeJack,英文男声(精品)</li><li>101051-WeRose,英文女声(精品)</li>
112
+ * 标准音色<li>10510000-智逍遥,旁对白阅读风格男声</li><li>1001-智瑜,情感女声</li><li>1002-智聆,通用女声</li><li>1003-智美,客服女声</li><li>1004-智云,通用男声</li><li>1005-智莉,通用女声</li><li>1007-智娜,客服女声</li><li>1008-智琪,客服女声</li><li>1009-智芸,知性女声</li><li>1010-智华,通用男声</li><li>1017-智蓉,情感女声</li><li>1018-智靖,情感男声</li><li>1050-WeJack,英文男声</li><li>1051-WeRose,英文女声</li>精品音色<br>精品音色拟真度更高,价格不同于标准音色,查看[购买指南](https://cloud.tencent.com/document/product/1073/34112)<br><li>100510000-智逍遥,旁对白阅读风格男声(精品)</li><li>101001-智瑜,情感女声(精品)</li><li>101002-智聆,通用女声(精品)</li><li>101003-智美,客服女声(精品)</li><li>101004-智云,通用男声(精品)</li><li>101005-智莉,通用女声(精品)</li><li>101006-智言,助手女声</li><li>101007-智娜,客服女声(精品)</li><li>101008-智琪,客服女声(精品)</li><li>101009-智芸,知性女声(精品)</li><li>101010-智华,通用男声(精品)</li><li>101011-智燕,新闻女声</li><li>101012-智丹,新闻女声</li><li>101013-智辉,新闻男声</li><li>101014-智宁,新闻男声</li><li>101015-智萌,男童声</li><li>101016-智甜,女童声</li><li>101017-智蓉,情感女声(精品)</li><li>101018-智靖,情感男声(精品)</li><li>101019-智彤,粤语女声</li><li>101050-WeJack,英文男声(精品)</li><li>101051-WeRose,英文女声(精品)</li>
113
113
  */
114
114
  VoiceType?: number;
115
115
  /**
@@ -163,7 +163,7 @@ export interface TextToVoiceRequest {
163
163
  */
164
164
  ModelType?: number;
165
165
  /**
166
- * 标准音色<li>10510000-智逍遥,阅读男声</li><li>1001-智瑜,情感女声</li><li>1002-智聆,通用女声</li><li>1003-智美,客服女声</li><li>1004-智云,通用男声</li><li>1005-智莉,通用女声</li><li>1007-智娜,客服女声</li><li>1008-智琪,客服女声</li><li>1009-智芸,知性女声</li><li>1010-智华,通用男声</li><li>1017-智蓉,情感女声</li><li>1018-智靖,情感男声</li><li>1050-WeJack,英文男声</li><li>1051-WeRose,英文女声</li>精品音色<br>精品音色拟真度更高,价格不同于标准音色,查看[购买指南](https://cloud.tencent.com/product/tts/pricing)<br><li>100510000-智逍遥,阅读男声</li><li>101001-智瑜,情感女声</li><li>101002-智聆,通用女声</li><li>101003-智美,客服女声</li><li>101004-智云,通用男声</li><li>101005-智莉,通用女声</li><li>101006-智言,助手女声</li><li>101007-智娜,客服女声</li><li>101008-智琪,客服女声</li><li>101009-智芸,知性女声</li><li>101010-智华,通用男声</li><li>101011-智燕,新闻女声</li><li>101012-智丹,新闻女声</li><li>101013-智辉,新闻男声</li><li>101014-智宁,新闻男声</li><li>101015-智萌,男童声</li><li>101016-智甜,女童声</li><li>101017-智蓉,情感女声</li><li>101018-智靖,情感男声</li><li>101019-智彤,粤语女声</li><li>101020-智刚,新闻男声</li><li>101021-智瑞,新闻男声</li><li>101022-智虹,新闻女声</li><li>101023-智萱,聊天女声</li><li>101024-智皓,聊天男声</li><li>101025-智薇,聊天女声</li><li>101026-智希,通用女声</li><li>101027-智梅,通用女声</li><li>101028-智洁,通用女声</li><li>101029-智凯,通用男声</li><li>101030-智柯,通用男声</li><li>101031-智奎,通用男声</li><li>101032-智芳,通用女声</li><li>101033-智蓓,客服女声</li><li>101034-智莲,通用女声</li><li>101035-智依,通用女声</li><li>101040-智川,四川女声</li><li>101050-WeJack,英文男声</li><li>101051-WeRose,英文女声</li>
166
+ * 标准音色<li>10510000-智逍遥,阅读男声</li><li>1001-智瑜,情感女声</li><li>1002-智聆,通用女声</li><li>1003-智美,客服女声</li><li>1004-智云,通用男声</li><li>1005-智莉,通用女声</li><li>1007-智娜,客服女声</li><li>1008-智琪,客服女声</li><li>1009-智芸,知性女声</li><li>1010-智华,通用男声</li><li>1017-智蓉,情感女声</li><li>1018-智靖,情感男声</li><li>1050-WeJack,英文男声</li><li>1051-WeRose,英文女声</li>精品音色<br>精品音色拟真度更高,价格不同于标准音色,查看[购买指南](https://cloud.tencent.com/document/product/1073/34112)<br><li>100510000-智逍遥,阅读男声</li><li>101001-智瑜,情感女声</li><li>101002-智聆,通用女声</li><li>101003-智美,客服女声</li><li>101004-智云,通用男声</li><li>101005-智莉,通用女声</li><li>101006-智言,助手女声</li><li>101007-智娜,客服女声</li><li>101008-智琪,客服女声</li><li>101009-智芸,知性女声</li><li>101010-智华,通用男声</li><li>101011-智燕,新闻女声</li><li>101012-智丹,新闻女声</li><li>101013-智辉,新闻男声</li><li>101014-智宁,新闻男声</li><li>101015-智萌,男童声</li><li>101016-智甜,女童声</li><li>101017-智蓉,情感女声</li><li>101018-智靖,情感男声</li><li>101019-智彤,粤语女声</li><li>101020-智刚,新闻男声</li><li>101021-智瑞,新闻男声</li><li>101022-智虹,新闻女声</li><li>101023-智萱,聊天女声</li><li>101024-智皓,聊天男声</li><li>101025-智薇,聊天女声</li><li>101026-智希,通用女声</li><li>101027-智梅,通用女声</li><li>101028-智洁,通用女声</li><li>101029-智凯,通用男声</li><li>101030-智柯,通用男声</li><li>101031-智奎,通用男声</li><li>101032-智芳,通用女声</li><li>101033-智蓓,客服女声</li><li>101034-智莲,通用女声</li><li>101035-智依,通用女声</li><li>101040-智川,四川女声</li><li>101050-WeJack,英文男声</li><li>101051-WeRose,英文女声</li>
167
167
  */
168
168
  VoiceType?: number;
169
169
  /**
@@ -18,9 +18,9 @@ const client = new tencentcloud.cdn.v20180606.Client({
18
18
  })
19
19
  describe("cdn.v20180606.test.js", function () {
20
20
 
21
- it("cdn.v20180606.CreateEdgePackTask", async function () {
21
+ it("cdn.v20180606.AddCLSTopicDomains", async function () {
22
22
  try {
23
- const data = await client.CreateEdgePackTask({})
23
+ const data = await client.AddCLSTopicDomains({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -168,9 +168,9 @@ it("cdn.v20180606.DisableCaches", async function () {
168
168
  }
169
169
  })
170
170
 
171
- it("cdn.v20180606.DescribeDomains", async function () {
171
+ it("cdn.v20180606.CreateEdgePackTask", async function () {
172
172
  try {
173
- const data = await client.DescribeDomains({})
173
+ const data = await client.CreateEdgePackTask({})
174
174
  expect(data).to.be.ok
175
175
  } catch(error) {
176
176
  expect(error.requestId).to.be.ok
@@ -478,6 +478,16 @@ it("cdn.v20180606.ListTopDDoSData", async function () {
478
478
  }
479
479
  })
480
480
 
481
+ it("cdn.v20180606.DescribeDomains", async function () {
482
+ try {
483
+ const data = await client.DescribeDomains({})
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
+
481
491
  it("cdn.v20180606.PurgeUrlsCache", async function () {
482
492
  try {
483
493
  const data = await client.PurgeUrlsCache({})
@@ -38,6 +38,16 @@ it("cpdp.v20190820.DistributeAccreditQuery", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("cpdp.v20190820.QueryFlexFreezeOrderList", async function () {
42
+ try {
43
+ const data = await client.QueryFlexFreezeOrderList({})
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("cpdp.v20190820.QueryMemberTransactionDetails", async function () {
42
52
  try {
43
53
  const data = await client.QueryMemberTransactionDetails({})
@@ -188,6 +198,16 @@ it("cpdp.v20190820.DownloadBill", async function () {
188
198
  }
189
199
  })
190
200
 
201
+ it("cpdp.v20190820.ApplyFlexPayment", async function () {
202
+ try {
203
+ const data = await client.ApplyFlexPayment({})
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
+
191
211
  it("cpdp.v20190820.ViewContract", async function () {
192
212
  try {
193
213
  const data = await client.ViewContract({})
@@ -288,9 +308,19 @@ it("cpdp.v20190820.QueryTrade", async function () {
288
308
  }
289
309
  })
290
310
 
291
- it("cpdp.v20190820.QueryTransferDetail", async function () {
311
+ it("cpdp.v20190820.QueryFlexPayeeAccountList", async function () {
292
312
  try {
293
- const data = await client.QueryTransferDetail({})
313
+ const data = await client.QueryFlexPayeeAccountList({})
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("cpdp.v20190820.FreezeFlexBalance", async function () {
322
+ try {
323
+ const data = await client.FreezeFlexBalance({})
294
324
  expect(data).to.be.ok
295
325
  } catch(error) {
296
326
  expect(error.requestId).to.be.ok
@@ -328,6 +358,16 @@ it("cpdp.v20190820.QueryMerchantClassification", async function () {
328
358
  }
329
359
  })
330
360
 
361
+ it("cpdp.v20190820.QueryFlexSettlementOrderList", async function () {
362
+ try {
363
+ const data = await client.QueryFlexSettlementOrderList({})
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
+
331
371
  it("cpdp.v20190820.ApplyApplicationMaterial", async function () {
332
372
  try {
333
373
  const data = await client.ApplyApplicationMaterial({})
@@ -368,6 +408,26 @@ it("cpdp.v20190820.QueryInvoice", async function () {
368
408
  }
369
409
  })
370
410
 
411
+ it("cpdp.v20190820.QueryFlexPayeeInfo", async function () {
412
+ try {
413
+ const data = await client.QueryFlexPayeeInfo({})
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("cpdp.v20190820.QueryTransferDetail", async function () {
422
+ try {
423
+ const data = await client.QueryTransferDetail({})
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
+
371
431
  it("cpdp.v20190820.QueryOpenBankBankBranchList", async function () {
372
432
  try {
373
433
  const data = await client.QueryOpenBankBankBranchList({})
@@ -398,9 +458,9 @@ it("cpdp.v20190820.UnbindRelateAcct", async function () {
398
458
  }
399
459
  })
400
460
 
401
- it("cpdp.v20190820.CreatePayMerchant", async function () {
461
+ it("cpdp.v20190820.ContractOrder", async function () {
402
462
  try {
403
- const data = await client.CreatePayMerchant({})
463
+ const data = await client.ContractOrder({})
404
464
  expect(data).to.be.ok
405
465
  } catch(error) {
406
466
  expect(error.requestId).to.be.ok
@@ -428,6 +488,26 @@ it("cpdp.v20190820.ApplyOpenBankOrderDetailReceipt", async function () {
428
488
  }
429
489
  })
430
490
 
491
+ it("cpdp.v20190820.QueryFlexPaymentOrderList", async function () {
492
+ try {
493
+ const data = await client.QueryFlexPaymentOrderList({})
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("cpdp.v20190820.RegisterBehavior", async function () {
502
+ try {
503
+ const data = await client.RegisterBehavior({})
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
+
431
511
  it("cpdp.v20190820.ViewMerchant", async function () {
432
512
  try {
433
513
  const data = await client.ViewMerchant({})
@@ -578,9 +658,9 @@ it("cpdp.v20190820.DeleteAgentTaxPaymentInfos", async function () {
578
658
  }
579
659
  })
580
660
 
581
- it("cpdp.v20190820.ContractOrder", async function () {
661
+ it("cpdp.v20190820.CreatePayMerchant", async function () {
582
662
  try {
583
- const data = await client.ContractOrder({})
663
+ const data = await client.CreatePayMerchant({})
584
664
  expect(data).to.be.ok
585
665
  } catch(error) {
586
666
  expect(error.requestId).to.be.ok
@@ -598,9 +678,9 @@ it("cpdp.v20190820.GetPayRollAuthList", async function () {
598
678
  }
599
679
  })
600
680
 
601
- it("cpdp.v20190820.RegisterBehavior", async function () {
681
+ it("cpdp.v20190820.QueryFlexPayeeAccountInfo", async function () {
602
682
  try {
603
- const data = await client.RegisterBehavior({})
683
+ const data = await client.QueryFlexPayeeAccountInfo({})
604
684
  expect(data).to.be.ok
605
685
  } catch(error) {
606
686
  expect(error.requestId).to.be.ok
@@ -738,6 +818,26 @@ it("cpdp.v20190820.MigrateOrderRefund", async function () {
738
818
  }
739
819
  })
740
820
 
821
+ it("cpdp.v20190820.QueryFlexPaymentOrderStatus", async function () {
822
+ try {
823
+ const data = await client.QueryFlexPaymentOrderStatus({})
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
+
831
+ it("cpdp.v20190820.QueryFlexAmountBeforeTax", async function () {
832
+ try {
833
+ const data = await client.QueryFlexAmountBeforeTax({})
834
+ expect(data).to.be.ok
835
+ } catch(error) {
836
+ expect(error.requestId).to.be.ok
837
+ expect(error.code).to.be.ok
838
+ }
839
+ })
840
+
741
841
  it("cpdp.v20190820.QueryAcctInfo", async function () {
742
842
  try {
743
843
  const data = await client.QueryAcctInfo({})
@@ -818,6 +918,16 @@ it("cpdp.v20190820.QueryMerchantOrder", async function () {
818
918
  }
819
919
  })
820
920
 
921
+ it("cpdp.v20190820.CreateFlexPayee", async function () {
922
+ try {
923
+ const data = await client.CreateFlexPayee({})
924
+ expect(data).to.be.ok
925
+ } catch(error) {
926
+ expect(error.requestId).to.be.ok
927
+ expect(error.code).to.be.ok
928
+ }
929
+ })
930
+
821
931
  it("cpdp.v20190820.CreateRedInvoiceV2", async function () {
822
932
  try {
823
933
  const data = await client.CreateRedInvoiceV2({})
@@ -1178,6 +1288,16 @@ it("cpdp.v20190820.QueryApplicationMaterial", async function () {
1178
1288
  }
1179
1289
  })
1180
1290
 
1291
+ it("cpdp.v20190820.ModifyFlexPayeeAccountRightStatus", async function () {
1292
+ try {
1293
+ const data = await client.ModifyFlexPayeeAccountRightStatus({})
1294
+ expect(data).to.be.ok
1295
+ } catch(error) {
1296
+ expect(error.requestId).to.be.ok
1297
+ expect(error.code).to.be.ok
1298
+ }
1299
+ })
1300
+
1181
1301
  it("cpdp.v20190820.Refund", async function () {
1182
1302
  try {
1183
1303
  const data = await client.Refund({})
@@ -1208,6 +1328,16 @@ it("cpdp.v20190820.RefundCloudOrder", async function () {
1208
1328
  }
1209
1329
  })
1210
1330
 
1331
+ it("cpdp.v20190820.QueryFlexPayeeAccountBalance", async function () {
1332
+ try {
1333
+ const data = await client.QueryFlexPayeeAccountBalance({})
1334
+ expect(data).to.be.ok
1335
+ } catch(error) {
1336
+ expect(error.requestId).to.be.ok
1337
+ expect(error.code).to.be.ok
1338
+ }
1339
+ })
1340
+
1211
1341
  it("cpdp.v20190820.DistributeAccreditTlinx", async function () {
1212
1342
  try {
1213
1343
  const data = await client.DistributeAccreditTlinx({})
@@ -1718,6 +1848,16 @@ it("cpdp.v20190820.TerminateContract", async function () {
1718
1848
  }
1719
1849
  })
1720
1850
 
1851
+ it("cpdp.v20190820.ApplyFlexSettlement", async function () {
1852
+ try {
1853
+ const data = await client.ApplyFlexSettlement({})
1854
+ expect(data).to.be.ok
1855
+ } catch(error) {
1856
+ expect(error.requestId).to.be.ok
1857
+ expect(error.code).to.be.ok
1858
+ }
1859
+ })
1860
+
1721
1861
  it("cpdp.v20190820.QueryOpenBankBankAccountBalance", async function () {
1722
1862
  try {
1723
1863
  const data = await client.QueryOpenBankBankAccountBalance({})
@@ -18,6 +18,116 @@ const client = new tencentcloud.dasb.v20191018.Client({
18
18
  })
19
19
  describe("dasb.v20191018.test.js", function () {
20
20
 
21
+ it("dasb.v20191018.DescribeDeviceGroupMembers", async function () {
22
+ try {
23
+ const data = await client.DescribeDeviceGroupMembers({})
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("dasb.v20191018.CreateDeviceGroup", async function () {
32
+ try {
33
+ const data = await client.CreateDeviceGroup({})
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("dasb.v20191018.AddUserGroupMembers", async function () {
42
+ try {
43
+ const data = await client.AddUserGroupMembers({})
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("dasb.v20191018.DescribeUsers", async function () {
52
+ try {
53
+ const data = await client.DescribeUsers({})
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("dasb.v20191018.BindDeviceResource", async function () {
62
+ try {
63
+ const data = await client.BindDeviceResource({})
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("dasb.v20191018.DeleteAcls", async function () {
72
+ try {
73
+ const data = await client.DeleteAcls({})
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("dasb.v20191018.DescribeUserGroups", async function () {
82
+ try {
83
+ const data = await client.DescribeUserGroups({})
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("dasb.v20191018.DescribeResources", async function () {
92
+ try {
93
+ const data = await client.DescribeResources({})
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("dasb.v20191018.DeleteUserGroupMembers", async function () {
102
+ try {
103
+ const data = await client.DeleteUserGroupMembers({})
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("dasb.v20191018.DeleteDeviceGroups", async function () {
112
+ try {
113
+ const data = await client.DeleteDeviceGroups({})
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("dasb.v20191018.ModifyAcl", async function () {
122
+ try {
123
+ const data = await client.ModifyAcl({})
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
+
21
131
  it("dasb.v20191018.DeleteUsers", async function () {
22
132
  try {
23
133
  const data = await client.DeleteUsers({})
@@ -48,6 +158,36 @@ it("dasb.v20191018.DescribeDasbImageIds", async function () {
48
158
  }
49
159
  })
50
160
 
161
+ it("dasb.v20191018.DescribeAcls", async function () {
162
+ try {
163
+ const data = await client.DescribeAcls({})
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("dasb.v20191018.DeleteDeviceGroupMembers", async function () {
172
+ try {
173
+ const data = await client.DeleteDeviceGroupMembers({})
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("dasb.v20191018.DeleteUserGroups", async function () {
182
+ try {
183
+ const data = await client.DeleteUserGroups({})
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
+
51
191
  it("dasb.v20191018.ModifyUser", async function () {
52
192
  try {
53
193
  const data = await client.ModifyUser({})
@@ -58,9 +198,9 @@ it("dasb.v20191018.ModifyUser", async function () {
58
198
  }
59
199
  })
60
200
 
61
- it("dasb.v20191018.DeleteAcls", async function () {
201
+ it("dasb.v20191018.DescribeDeviceGroups", async function () {
62
202
  try {
63
- const data = await client.DeleteAcls({})
203
+ const data = await client.DescribeDeviceGroups({})
64
204
  expect(data).to.be.ok
65
205
  } catch(error) {
66
206
  expect(error.requestId).to.be.ok
@@ -78,9 +218,9 @@ it("dasb.v20191018.DescribeDevices", async function () {
78
218
  }
79
219
  })
80
220
 
81
- it("dasb.v20191018.DescribeAcls", async function () {
221
+ it("dasb.v20191018.DescribeUserGroupMembers", async function () {
82
222
  try {
83
- const data = await client.DescribeAcls({})
223
+ const data = await client.DescribeUserGroupMembers({})
84
224
  expect(data).to.be.ok
85
225
  } catch(error) {
86
226
  expect(error.requestId).to.be.ok
@@ -88,9 +228,9 @@ it("dasb.v20191018.DescribeAcls", async function () {
88
228
  }
89
229
  })
90
230
 
91
- it("dasb.v20191018.CreateUser", async function () {
231
+ it("dasb.v20191018.AddDeviceGroupMembers", async function () {
92
232
  try {
93
- const data = await client.CreateUser({})
233
+ const data = await client.AddDeviceGroupMembers({})
94
234
  expect(data).to.be.ok
95
235
  } catch(error) {
96
236
  expect(error.requestId).to.be.ok
@@ -98,9 +238,9 @@ it("dasb.v20191018.CreateUser", async function () {
98
238
  }
99
239
  })
100
240
 
101
- it("dasb.v20191018.DescribeUsers", async function () {
241
+ it("dasb.v20191018.CreateUserGroup", async function () {
102
242
  try {
103
- const data = await client.DescribeUsers({})
243
+ const data = await client.CreateUserGroup({})
104
244
  expect(data).to.be.ok
105
245
  } catch(error) {
106
246
  expect(error.requestId).to.be.ok
@@ -108,9 +248,9 @@ it("dasb.v20191018.DescribeUsers", async function () {
108
248
  }
109
249
  })
110
250
 
111
- it("dasb.v20191018.ModifyAcl", async function () {
251
+ it("dasb.v20191018.CreateUser", async function () {
112
252
  try {
113
- const data = await client.ModifyAcl({})
253
+ const data = await client.CreateUser({})
114
254
  expect(data).to.be.ok
115
255
  } catch(error) {
116
256
  expect(error.requestId).to.be.ok
@@ -58,6 +58,16 @@ it("ess.v20201111.DescribeFileUrls", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("ess.v20201111.DescribeThirdPartyAuthCode", async function () {
62
+ try {
63
+ const data = await client.DescribeThirdPartyAuthCode({})
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
+
61
71
  it("ess.v20201111.CreateFlow", async function () {
62
72
  try {
63
73
  const data = await client.CreateFlow({})
@@ -78,9 +88,9 @@ it("ess.v20201111.CreateSchemeUrl", async function () {
78
88
  }
79
89
  })
80
90
 
81
- it("ess.v20201111.DescribeThirdPartyAuthCode", async function () {
91
+ it("ess.v20201111.DescribeFlowTemplates", async function () {
82
92
  try {
83
- const data = await client.DescribeThirdPartyAuthCode({})
93
+ const data = await client.DescribeFlowTemplates({})
84
94
  expect(data).to.be.ok
85
95
  } catch(error) {
86
96
  expect(error.requestId).to.be.ok
@@ -278,6 +278,16 @@ it("faceid.v20180301.LivenessRecognition", async function () {
278
278
  }
279
279
  })
280
280
 
281
+ it("faceid.v20180301.ParseNfcData", async function () {
282
+ try {
283
+ const data = await client.ParseNfcData({})
284
+ expect(data).to.be.ok
285
+ } catch(error) {
286
+ expect(error.requestId).to.be.ok
287
+ expect(error.code).to.be.ok
288
+ }
289
+ })
290
+
281
291
  it("faceid.v20180301.IdCardVerification", async function () {
282
292
  try {
283
293
  const data = await client.IdCardVerification({})
@@ -0,0 +1,31 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.tan.v20220420.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("tan.v20220420.test.js", function () {
20
+
21
+ it("tan.v20220420.CreateBlockNodeRecords", async function () {
22
+ try {
23
+ const data = await client.CreateBlockNodeRecords({})
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
+ })