tencentcloud-sdk-nodejs 4.0.685 → 4.0.687

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 (124) hide show
  1. package/CHANGELOG.md +642 -0
  2. package/SERVICE_CHANGELOG.md +722 -39
  3. package/package.json +1 -1
  4. package/products.md +33 -32
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/v20201229/ams_client.ts +4 -3
  7. package/src/services/ams/v20201229/ams_models.ts +1 -1
  8. package/src/services/antiddos/v20200309/antiddos_client.ts +1 -1
  9. package/src/services/antiddos/v20200309/antiddos_models.ts +1 -1
  10. package/src/services/as/v20180419/as_models.ts +4 -0
  11. package/src/services/asr/v20190614/asr_models.ts +81 -28
  12. package/src/services/cdb/v20170320/cdb_models.ts +3 -3
  13. package/src/services/cdc/v20201214/cdc_client.ts +1 -0
  14. package/src/services/cdc/v20201214/cdc_models.ts +72 -5
  15. package/src/services/cdn/v20180606/cdn_models.ts +2 -2
  16. package/src/services/clb/v20180317/clb_models.ts +1 -1
  17. package/src/services/csip/v20221121/csip_models.ts +5 -0
  18. package/src/services/cvm/v20170312/cvm_models.ts +6 -1
  19. package/src/services/dlc/v20210125/dlc_client.ts +1 -1
  20. package/src/services/dlc/v20210125/dlc_models.ts +1 -1
  21. package/src/services/dnspod/v20210323/dnspod_models.ts +1 -1
  22. package/src/services/ecc/v20181213/ecc_client.ts +1 -0
  23. package/src/services/ecc/v20181213/ecc_models.ts +35 -0
  24. package/src/services/ess/v20201111/ess_client.ts +37 -35
  25. package/src/services/ess/v20201111/ess_models.ts +194 -152
  26. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -0
  27. package/src/services/essbasic/v20210526/essbasic_models.ts +98 -4
  28. package/src/services/index.ts +1 -0
  29. package/src/services/lcic/v20220817/lcic_models.ts +5 -1
  30. package/src/services/monitor/v20180724/monitor_models.ts +7 -2
  31. package/src/services/mrs/v20200910/mrs_client.ts +91 -16
  32. package/src/services/mrs/v20200910/mrs_models.ts +2328 -782
  33. package/src/services/ocr/v20181119/ocr_client.ts +1 -1
  34. package/src/services/ocr/v20181119/ocr_models.ts +8 -0
  35. package/src/services/ses/v20201002/ses_client.ts +13 -0
  36. package/src/services/ses/v20201002/ses_models.ts +58 -0
  37. package/src/services/sqlserver/v20180328/sqlserver_models.ts +31 -19
  38. package/src/services/ssa/v20180608/ssa_client.ts +14 -0
  39. package/src/services/ssa/v20180608/ssa_models.ts +86 -0
  40. package/src/services/ssl/v20191205/ssl_models.ts +65 -38
  41. package/src/services/teo/v20220901/teo_models.ts +11 -10
  42. package/src/services/trocket/v20230308/trocket_client.ts +129 -18
  43. package/src/services/trocket/v20230308/trocket_models.ts +705 -256
  44. package/src/services/tsf/v20180326/tsf_models.ts +40 -20
  45. package/src/services/vod/v20180717/vod_client.ts +32 -6
  46. package/src/services/vod/v20180717/vod_models.ts +262 -170
  47. package/src/services/vpc/v20170312/vpc_models.ts +16 -0
  48. package/src/services/waf/v20180125/waf_client.ts +12 -0
  49. package/src/services/waf/v20180125/waf_models.ts +60 -1
  50. package/src/services/weilingwith/index.ts +5 -0
  51. package/src/services/weilingwith/v20230427/index.ts +6 -0
  52. package/src/services/weilingwith/v20230427/weilingwith_client.ts +93 -0
  53. package/src/services/weilingwith/v20230427/weilingwith_models.ts +197 -0
  54. package/tencentcloud/common/sdk_version.d.ts +1 -1
  55. package/tencentcloud/common/sdk_version.js +1 -1
  56. package/tencentcloud/services/ams/v20201229/ams_client.d.ts +4 -3
  57. package/tencentcloud/services/ams/v20201229/ams_client.js +4 -3
  58. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +1 -1
  59. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
  60. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +1 -1
  61. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +1 -1
  62. package/tencentcloud/services/as/v20180419/as_models.d.ts +4 -0
  63. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +81 -28
  64. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +3 -3
  65. package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +71 -5
  66. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +2 -2
  67. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
  68. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +5 -0
  69. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -1
  70. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +1 -1
  71. package/tencentcloud/services/dlc/v20210125/dlc_client.js +1 -1
  72. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1 -1
  73. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +1 -1
  74. package/tencentcloud/services/ecc/v20181213/ecc_models.d.ts +34 -0
  75. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +33 -24
  76. package/tencentcloud/services/ess/v20201111/ess_client.js +32 -25
  77. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +193 -150
  78. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +97 -4
  79. package/tencentcloud/services/index.d.ts +1 -0
  80. package/tencentcloud/services/index.js +2 -0
  81. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +5 -1
  82. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +7 -2
  83. package/tencentcloud/services/mrs/v20200910/mrs_client.d.ts +6 -1
  84. package/tencentcloud/services/mrs/v20200910/mrs_client.js +7 -0
  85. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +2272 -790
  86. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  87. package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
  88. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
  89. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +5 -1
  90. package/tencentcloud/services/ses/v20201002/ses_client.js +6 -0
  91. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +55 -0
  92. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +31 -19
  93. package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +5 -1
  94. package/tencentcloud/services/ssa/v20180608/ssa_client.js +6 -0
  95. package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +82 -0
  96. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +65 -38
  97. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +11 -10
  98. package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +41 -3
  99. package/tencentcloud/services/trocket/v20230308/trocket_client.js +59 -3
  100. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +665 -235
  101. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +40 -20
  102. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +9 -1
  103. package/tencentcloud/services/vod/v20180717/vod_client.js +12 -0
  104. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +256 -170
  105. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +16 -0
  106. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  107. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  108. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +57 -0
  109. package/tencentcloud/services/weilingwith/index.d.ts +6 -0
  110. package/tencentcloud/services/weilingwith/index.js +7 -0
  111. package/tencentcloud/services/weilingwith/v20230427/index.d.ts +6 -0
  112. package/tencentcloud/services/weilingwith/v20230427/index.js +9 -0
  113. package/tencentcloud/services/weilingwith/v20230427/weilingwith_client.d.ts +30 -0
  114. package/tencentcloud/services/weilingwith/v20230427/weilingwith_client.js +61 -0
  115. package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.d.ts +169 -0
  116. package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.js +18 -0
  117. package/test/ess.v20201111.test.js +0 -10
  118. package/test/mrs.v20200910.test.js +10 -0
  119. package/test/ses.v20201002.test.js +10 -0
  120. package/test/ssa.v20180608.test.js +10 -0
  121. package/test/trocket.v20230308.test.js +92 -2
  122. package/test/vod.v20180717.test.js +20 -0
  123. package/test/waf.v20180125.test.js +10 -0
  124. package/test/weilingwith.v20230427.test.js +71 -0
@@ -2525,6 +2525,23 @@ export interface DescribePolicyStatusRequest {
2525
2525
  */
2526
2526
  Edition: string;
2527
2527
  }
2528
+ /**
2529
+ * DescribePorts返回参数结构体
2530
+ */
2531
+ export interface DescribePortsResponse {
2532
+ /**
2533
+ * http端口列表
2534
+ */
2535
+ HttpPorts: Array<string>;
2536
+ /**
2537
+ * https端口列表
2538
+ */
2539
+ HttpsPorts: Array<string>;
2540
+ /**
2541
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2542
+ */
2543
+ RequestId?: string;
2544
+ }
2528
2545
  /**
2529
2546
  * GetAttackTotalCount请求参数结构体
2530
2547
  */
@@ -2819,6 +2836,19 @@ export interface DescribeAntiInfoLeakRulesRequest {
2819
2836
  */
2820
2837
  PageInfo?: PageInfo;
2821
2838
  }
2839
+ /**
2840
+ * DescribePorts请求参数结构体
2841
+ */
2842
+ export interface DescribePortsRequest {
2843
+ /**
2844
+ * 版本
2845
+ */
2846
+ Edition?: string;
2847
+ /**
2848
+ * 实例ID
2849
+ */
2850
+ InstanceID?: string;
2851
+ }
2822
2852
  /**
2823
2853
  * ModifyHostMode请求参数结构体
2824
2854
  */
@@ -4729,21 +4759,48 @@ export interface SearchAttackLogResponse {
4729
4759
  export interface Strategy {
4730
4760
  /**
4731
4761
  * 匹配字段
4762
+
4763
+ 有以下枚举值:
4764
+ IP-来源IP IPV6-来源IPv6 Referer-Referer URL-请求路径
4765
+ UserAgent-UserAgent HTTP_METHOD-HTTP请求方法 QUERY_STRING-请求字符串 GET-GET参数值 GET_PARAMS_NAMES-GET参数名 POST-POST参数值 GET_POST_NAMES-POST参数名 POST_BODY-完整BODY COOKIE-Cookie GET_COOKIES_NAMES-Cookie参数名 ARGS_COOKIE-Cookie参数值 GET_HEADERS_NAMES-Header参数名 ARGS_HEADER-Header参数值
4732
4766
  注意:此字段可能返回 null,表示取不到有效值。
4733
4767
  */
4734
4768
  Field: string;
4735
4769
  /**
4736
4770
  * 逻辑符号
4771
+
4772
+ 有以下枚举值:
4773
+ empty - 内容为空
4774
+ null - 不存在
4775
+ eq - 等于
4776
+ neq - 不等于
4777
+ contains - 包含
4778
+ ncontains - 不包含
4779
+ strprefix - 前缀匹配
4780
+ strsuffix - 后缀匹配
4781
+ len_eq - 长度等于
4782
+ len_gt - 长度大于
4783
+ len_lt - 长度小于
4784
+ ipmatch - 属于
4785
+ ipnmatch - 不属于
4737
4786
  注意:此字段可能返回 null,表示取不到有效值。
4738
4787
  */
4739
4788
  CompareFunc: string;
4740
4789
  /**
4741
4790
  * 匹配内容
4791
+
4792
+ 目前 只有匹配字段为COOKIE-Cookie时,才不需要输入 匹配内容 其他都需要
4793
+
4794
+
4742
4795
  注意:此字段可能返回 null,表示取不到有效值。
4743
4796
  */
4744
4797
  Content: string;
4745
4798
  /**
4746
4799
  * 匹配参数
4800
+
4801
+ 目前 只有匹配字段为以下4个时,匹配参数才能选择,否则置灰无法选择
4802
+
4803
+ GET-GET参数值 POST-POST参数值 ARGS_COOKIE-Cookie参数值 ARGS_HEADER-Header参数值
4747
4804
  注意:此字段可能返回 null,表示取不到有效值。
4748
4805
  */
4749
4806
  Arg: string;
@@ -0,0 +1,6 @@
1
+ export declare const weilingwith: {
2
+ v20230427: {
3
+ Client: typeof import("./v20230427/weilingwith_client").Client;
4
+ Models: typeof import("./v20230427/weilingwith_models");
5
+ };
6
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.weilingwith = void 0;
4
+ const v20230427_1 = require("./v20230427");
5
+ exports.weilingwith = {
6
+ v20230427: v20230427_1.v20230427,
7
+ };
@@ -0,0 +1,6 @@
1
+ import * as Models from "./weilingwith_models";
2
+ import { Client } from "./weilingwith_client";
3
+ export declare const v20230427: {
4
+ Client: typeof Client;
5
+ Models: typeof Models;
6
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.v20230427 = void 0;
4
+ const Models = require("./weilingwith_models");
5
+ const weilingwith_client_1 = require("./weilingwith_client");
6
+ exports.v20230427 = {
7
+ Client: weilingwith_client_1.Client,
8
+ Models: Models
9
+ };
@@ -0,0 +1,30 @@
1
+ import { AbstractClient } from "../../../common/abstract_client";
2
+ import { ClientConfig } from "../../../common/interface";
3
+ import { DescribeWorkspaceUserListResponse, DescribeWorkspaceUserListRequest, DescribeInterfaceListRequest, DescribeApplicationListResponse, DescribeWorkspaceListResponse, DescribeApplicationListRequest, DescribeInterfaceListResponse, DescribeWorkspaceListRequest, DescribeEdgeApplicationTokenResponse, DescribeEdgeApplicationTokenRequest } from "./weilingwith_models";
4
+ /**
5
+ * weilingwith client
6
+ * @class
7
+ */
8
+ export declare class Client extends AbstractClient {
9
+ constructor(clientConfig: ClientConfig);
10
+ /**
11
+ * 查询指定空间关联的应用列表
12
+ */
13
+ DescribeApplicationList(req?: DescribeApplicationListRequest, cb?: (error: string, rep: DescribeApplicationListResponse) => void): Promise<DescribeApplicationListResponse>;
14
+ /**
15
+ * 查询接口列表
16
+ */
17
+ DescribeInterfaceList(req?: DescribeInterfaceListRequest, cb?: (error: string, rep: DescribeInterfaceListResponse) => void): Promise<DescribeInterfaceListResponse>;
18
+ /**
19
+ * 查询项目空间人员列表
20
+ */
21
+ DescribeWorkspaceUserList(req: DescribeWorkspaceUserListRequest, cb?: (error: string, rep: DescribeWorkspaceUserListResponse) => void): Promise<DescribeWorkspaceUserListResponse>;
22
+ /**
23
+ * 查询边缘应用凭证
24
+ */
25
+ DescribeEdgeApplicationToken(req?: DescribeEdgeApplicationTokenRequest, cb?: (error: string, rep: DescribeEdgeApplicationTokenResponse) => void): Promise<DescribeEdgeApplicationTokenResponse>;
26
+ /**
27
+ * 获取租户下的空间列表
28
+ */
29
+ DescribeWorkspaceList(req?: DescribeWorkspaceListRequest, cb?: (error: string, rep: DescribeWorkspaceListResponse) => void): Promise<DescribeWorkspaceListResponse>;
30
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /*
6
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+ const abstract_client_1 = require("../../../common/abstract_client");
22
+ /**
23
+ * weilingwith client
24
+ * @class
25
+ */
26
+ class Client extends abstract_client_1.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("weilingwith.tencentcloudapi.com", "2023-04-27", clientConfig);
29
+ }
30
+ /**
31
+ * 查询指定空间关联的应用列表
32
+ */
33
+ async DescribeApplicationList(req, cb) {
34
+ return this.request("DescribeApplicationList", req, cb);
35
+ }
36
+ /**
37
+ * 查询接口列表
38
+ */
39
+ async DescribeInterfaceList(req, cb) {
40
+ return this.request("DescribeInterfaceList", req, cb);
41
+ }
42
+ /**
43
+ * 查询项目空间人员列表
44
+ */
45
+ async DescribeWorkspaceUserList(req, cb) {
46
+ return this.request("DescribeWorkspaceUserList", req, cb);
47
+ }
48
+ /**
49
+ * 查询边缘应用凭证
50
+ */
51
+ async DescribeEdgeApplicationToken(req, cb) {
52
+ return this.request("DescribeEdgeApplicationToken", req, cb);
53
+ }
54
+ /**
55
+ * 获取租户下的空间列表
56
+ */
57
+ async DescribeWorkspaceList(req, cb) {
58
+ return this.request("DescribeWorkspaceList", req, cb);
59
+ }
60
+ }
61
+ exports.Client = Client;
@@ -0,0 +1,169 @@
1
+ /**
2
+ * 部门用户
3
+ */
4
+ export interface SsoTeamUser {
5
+ /**
6
+ * 用户ID
7
+ 注意:此字段可能返回 null,表示取不到有效值。
8
+ */
9
+ UserId?: string;
10
+ /**
11
+ * 用户名称
12
+ 注意:此字段可能返回 null,表示取不到有效值。
13
+ */
14
+ RealName?: string;
15
+ /**
16
+ * 用户类型
17
+ 注意:此字段可能返回 null,表示取不到有效值。
18
+ */
19
+ UserType?: string;
20
+ /**
21
+ * 所属租户ID
22
+ 注意:此字段可能返回 null,表示取不到有效值。
23
+ */
24
+ TenantId?: string;
25
+ /**
26
+ * 邮箱
27
+ 注意:此字段可能返回 null,表示取不到有效值。
28
+ */
29
+ Email?: string;
30
+ /**
31
+ * 电话
32
+ 注意:此字段可能返回 null,表示取不到有效值。
33
+ */
34
+ Phone?: string;
35
+ /**
36
+ * 用户状态
37
+ 注意:此字段可能返回 null,表示取不到有效值。
38
+ */
39
+ Status?: number;
40
+ /**
41
+ * 创建时间
42
+ 注意:此字段可能返回 null,表示取不到有效值。
43
+ */
44
+ CreateAt?: number;
45
+ /**
46
+ * 部门ID
47
+ 注意:此字段可能返回 null,表示取不到有效值。
48
+ */
49
+ DepartmentId?: string;
50
+ /**
51
+ * 部门名称
52
+ 注意:此字段可能返回 null,表示取不到有效值。
53
+ */
54
+ DepartmentName?: string;
55
+ /**
56
+ * 是否关联权限
57
+ 注意:此字段可能返回 null,表示取不到有效值。
58
+ */
59
+ LinkFilter?: number;
60
+ }
61
+ /**
62
+ * 空间用户结果
63
+ */
64
+ export interface SsoTeamUserResult {
65
+ /**
66
+ * 总数
67
+ 注意:此字段可能返回 null,表示取不到有效值。
68
+ */
69
+ Total?: number;
70
+ /**
71
+ * 部门用户列表
72
+ 注意:此字段可能返回 null,表示取不到有效值。
73
+ */
74
+ Users?: Array<SsoTeamUser>;
75
+ }
76
+ /**
77
+ * DescribeWorkspaceUserList返回参数结构体
78
+ */
79
+ export interface DescribeWorkspaceUserListResponse {
80
+ /**
81
+ * 返回数据
82
+ */
83
+ Result?: SsoTeamUserResult;
84
+ /**
85
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
86
+ */
87
+ RequestId?: string;
88
+ }
89
+ /**
90
+ * DescribeWorkspaceUserList请求参数结构体
91
+ */
92
+ export interface DescribeWorkspaceUserListRequest {
93
+ /**
94
+ * 翻页页码
95
+ */
96
+ Offset: number;
97
+ /**
98
+ * 翻页大小
99
+ */
100
+ Limit: number;
101
+ /**
102
+ * 工作空间ID
103
+ */
104
+ WorkspaceId: string;
105
+ /**
106
+ * token
107
+ */
108
+ ApplicationToken: string;
109
+ /**
110
+ * 租户ID
111
+ */
112
+ TenantId?: string;
113
+ /**
114
+ * 更新时间戳,单位秒
115
+ */
116
+ UpdateAt?: number;
117
+ }
118
+ /**
119
+ * DescribeInterfaceList请求参数结构体
120
+ */
121
+ export declare type DescribeInterfaceListRequest = null;
122
+ /**
123
+ * DescribeApplicationList返回参数结构体
124
+ */
125
+ export interface DescribeApplicationListResponse {
126
+ /**
127
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
128
+ */
129
+ RequestId?: string;
130
+ }
131
+ /**
132
+ * DescribeWorkspaceList返回参数结构体
133
+ */
134
+ export interface DescribeWorkspaceListResponse {
135
+ /**
136
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
137
+ */
138
+ RequestId?: string;
139
+ }
140
+ /**
141
+ * DescribeApplicationList请求参数结构体
142
+ */
143
+ export declare type DescribeApplicationListRequest = null;
144
+ /**
145
+ * DescribeInterfaceList返回参数结构体
146
+ */
147
+ export interface DescribeInterfaceListResponse {
148
+ /**
149
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
150
+ */
151
+ RequestId?: string;
152
+ }
153
+ /**
154
+ * DescribeWorkspaceList请求参数结构体
155
+ */
156
+ export declare type DescribeWorkspaceListRequest = null;
157
+ /**
158
+ * DescribeEdgeApplicationToken返回参数结构体
159
+ */
160
+ export interface DescribeEdgeApplicationTokenResponse {
161
+ /**
162
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
163
+ */
164
+ RequestId?: string;
165
+ }
166
+ /**
167
+ * DescribeEdgeApplicationToken请求参数结构体
168
+ */
169
+ export declare type DescribeEdgeApplicationTokenRequest = null;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -318,16 +318,6 @@ it("ess.v20201111.DescribeExtendedServiceAuthInfos", async function () {
318
318
  }
319
319
  })
320
320
 
321
- it("ess.v20201111.CreateChannelSubOrganizationModifyQrCode", async function () {
322
- try {
323
- const data = await client.CreateChannelSubOrganizationModifyQrCode({})
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
321
  it("ess.v20201111.UploadFiles", async function () {
332
322
  try {
333
323
  const data = await client.UploadFiles({})
@@ -28,6 +28,16 @@ it("mrs.v20200910.ImageToClass", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("mrs.v20200910.TurnPDFToObject", async function () {
32
+ try {
33
+ const data = await client.TurnPDFToObject({})
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
+
31
41
  it("mrs.v20200910.ImageToObject", async function () {
32
42
  try {
33
43
  const data = await client.ImageToObject({})
@@ -58,6 +58,16 @@ it("ses.v20201002.GetSendEmailStatus", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("ses.v20201002.ListReceiverDetails", async function () {
62
+ try {
63
+ const data = await client.ListReceiverDetails({})
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("ses.v20201002.CreateReceiver", async function () {
62
72
  try {
63
73
  const data = await client.CreateReceiver({})
@@ -208,6 +208,16 @@ it("ssa.v20180608.DescribeSocAlertDetails", async function () {
208
208
  }
209
209
  })
210
210
 
211
+ it("ssa.v20180608.DescribeAlarmStat", async function () {
212
+ try {
213
+ const data = await client.DescribeAlarmStat({})
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
+
211
221
  it("ssa.v20180608.DescribeSocCspmCompliance", async function () {
212
222
  try {
213
223
  const data = await client.DescribeSocCspmCompliance({})
@@ -18,9 +18,49 @@ const client = new tencentcloud.trocket.v20230308.Client({
18
18
  })
19
19
  describe("trocket.v20230308.test.js", function () {
20
20
 
21
- it("trocket.v20230308.DescribeInstanceList", async function () {
21
+ it("trocket.v20230308.DescribeTopicStatsOp", async function () {
22
22
  try {
23
- const data = await client.DescribeInstanceList({})
23
+ const data = await client.DescribeTopicStatsOp({})
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("trocket.v20230308.DescribeConsumerGroup", async function () {
32
+ try {
33
+ const data = await client.DescribeConsumerGroup({})
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("trocket.v20230308.CreateTopic", async function () {
42
+ try {
43
+ const data = await client.CreateTopic({})
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("trocket.v20230308.DeleteConsumerGroup", async function () {
52
+ try {
53
+ const data = await client.DeleteConsumerGroup({})
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("trocket.v20230308.ModifyConsumerGroup", async function () {
62
+ try {
63
+ const data = await client.ModifyConsumerGroup({})
24
64
  expect(data).to.be.ok
25
65
  } catch(error) {
26
66
  expect(error.requestId).to.be.ok
@@ -38,6 +78,36 @@ it("trocket.v20230308.CreateInstance", async function () {
38
78
  }
39
79
  })
40
80
 
81
+ it("trocket.v20230308.DescribeInstanceList", async function () {
82
+ try {
83
+ const data = await client.DescribeInstanceList({})
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("trocket.v20230308.DescribeTopic", async function () {
92
+ try {
93
+ const data = await client.DescribeTopic({})
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("trocket.v20230308.ModifyTopic", async function () {
102
+ try {
103
+ const data = await client.ModifyTopic({})
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
+
41
111
  it("trocket.v20230308.DescribeInstance", async function () {
42
112
  try {
43
113
  const data = await client.DescribeInstance({})
@@ -68,6 +138,26 @@ it("trocket.v20230308.DescribeTopicList", async function () {
68
138
  }
69
139
  })
70
140
 
141
+ it("trocket.v20230308.DeleteTopic", async function () {
142
+ try {
143
+ const data = await client.DeleteTopic({})
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("trocket.v20230308.CreateConsumerGroup", async function () {
152
+ try {
153
+ const data = await client.CreateConsumerGroup({})
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
+
71
161
  it("trocket.v20230308.ModifyInstance", async function () {
72
162
  try {
73
163
  const data = await client.ModifyInstance({})
@@ -478,6 +478,16 @@ it("vod.v20180717.DescribePrepaidProducts", async function () {
478
478
  }
479
479
  })
480
480
 
481
+ it("vod.v20180717.CreateDomainVerifyRecord", async function () {
482
+ try {
483
+ const data = await client.CreateDomainVerifyRecord({})
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("vod.v20180717.DescribeSnapshotByTimeOffsetTemplates", async function () {
482
492
  try {
483
493
  const data = await client.DescribeSnapshotByTimeOffsetTemplates({})
@@ -858,6 +868,16 @@ it("vod.v20180717.ModifyQualityInspectTemplate", async function () {
858
868
  }
859
869
  })
860
870
 
871
+ it("vod.v20180717.VerifyDomainRecord", async function () {
872
+ try {
873
+ const data = await client.VerifyDomainRecord({})
874
+ expect(data).to.be.ok
875
+ } catch(error) {
876
+ expect(error.requestId).to.be.ok
877
+ expect(error.code).to.be.ok
878
+ }
879
+ })
880
+
861
881
  it("vod.v20180717.CreateSuperPlayerConfig", async function () {
862
882
  try {
863
883
  const data = await client.CreateSuperPlayerConfig({})
@@ -938,6 +938,16 @@ it("waf.v20180125.ModifyCustomWhiteRuleStatus", async function () {
938
938
  }
939
939
  })
940
940
 
941
+ it("waf.v20180125.DescribePorts", async function () {
942
+ try {
943
+ const data = await client.DescribePorts({})
944
+ expect(data).to.be.ok
945
+ } catch(error) {
946
+ expect(error.requestId).to.be.ok
947
+ expect(error.code).to.be.ok
948
+ }
949
+ })
950
+
941
951
  it("waf.v20180125.ModifyHostMode", async function () {
942
952
  try {
943
953
  const data = await client.ModifyHostMode({})