tencentcloud-sdk-nodejs 4.0.339 → 4.0.340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +103 -0
- package/SERVICE_CHANGELOG.md +136 -44
- package/package.json +1 -1
- package/products.md +9 -8
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bi/index.ts +5 -0
- package/src/services/bi/v20220105/bi_client.ts +57 -0
- package/src/services/bi/v20220105/bi_models.ts +214 -0
- package/src/services/bi/v20220105/index.ts +6 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +40 -0
- package/src/services/ess/v20201111/ess_models.ts +26 -8
- package/src/services/gaap/v20180529/gaap_client.ts +68 -28
- package/src/services/gaap/v20180529/gaap_models.ts +280 -68
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +2 -2
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +7 -15
- package/src/services/redis/v20180412/redis_models.ts +1 -1
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/tsf/v20180326/tsf_models.ts +6 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bi/index.d.ts +6 -0
- package/tencentcloud/services/bi/index.js +7 -0
- package/tencentcloud/services/bi/v20220105/bi_client.d.ts +18 -0
- package/tencentcloud/services/bi/v20220105/bi_client.js +43 -0
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +168 -0
- package/tencentcloud/services/bi/v20220105/bi_models.js +18 -0
- package/tencentcloud/services/bi/v20220105/index.d.ts +6 -0
- package/tencentcloud/services/bi/v20220105/index.js +9 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +34 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +23 -7
- package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +21 -9
- package/tencentcloud/services/gaap/v20180529/gaap_client.js +30 -12
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +245 -60
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +2 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +7 -15
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +5 -0
- package/test/bi.v20220105.test.js +41 -0
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/gaap.v20180529.test.js +44 -14
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* CreateEmbedToken返回参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateEmbedTokenResponse {
|
|
22
|
+
/**
|
|
23
|
+
* 额外信息
|
|
24
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25
|
+
*/
|
|
26
|
+
Extra: string
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 数据
|
|
30
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
31
|
+
*/
|
|
32
|
+
Data: EmbedTokenInfo
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 结果描述
|
|
36
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37
|
+
*/
|
|
38
|
+
Msg: string
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
42
|
+
*/
|
|
43
|
+
RequestId?: string
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* ApplyEmbedInterval请求参数结构体
|
|
48
|
+
*/
|
|
49
|
+
export interface ApplyEmbedIntervalRequest {
|
|
50
|
+
/**
|
|
51
|
+
* 分享项目id,必选
|
|
52
|
+
*/
|
|
53
|
+
ProjectId?: number
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* 分享页面id,嵌出看板时此为空值0
|
|
57
|
+
*/
|
|
58
|
+
PageId?: number
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* 需要申请延期的Token
|
|
62
|
+
*/
|
|
63
|
+
BIToken?: string
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* 备用字段
|
|
67
|
+
*/
|
|
68
|
+
ExtraParam?: string
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* panel,看板;page,页面
|
|
72
|
+
*/
|
|
73
|
+
Scope?: string
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* 申请Token延期
|
|
78
|
+
*/
|
|
79
|
+
export interface ApplyEmbedTokenInfo {
|
|
80
|
+
/**
|
|
81
|
+
* 申请结果
|
|
82
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
83
|
+
*/
|
|
84
|
+
Result: boolean
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* ApplyEmbedInterval返回参数结构体
|
|
89
|
+
*/
|
|
90
|
+
export interface ApplyEmbedIntervalResponse {
|
|
91
|
+
/**
|
|
92
|
+
* 额外参数
|
|
93
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
94
|
+
*/
|
|
95
|
+
Extra: string
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 结果数据
|
|
99
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
100
|
+
*/
|
|
101
|
+
Data: ApplyEmbedTokenInfo
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* 结果描述
|
|
105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
106
|
+
*/
|
|
107
|
+
Msg: string
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
111
|
+
*/
|
|
112
|
+
RequestId?: string
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* CreateEmbedToken请求参数结构体
|
|
117
|
+
*/
|
|
118
|
+
export interface CreateEmbedTokenRequest {
|
|
119
|
+
/**
|
|
120
|
+
* 分享项目id,必选
|
|
121
|
+
*/
|
|
122
|
+
ProjectId?: number
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* 分享页面id,嵌出看板时此为空值0
|
|
126
|
+
*/
|
|
127
|
+
PageId?: number
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* page表示嵌出页面,panel表嵌出整个看板
|
|
131
|
+
*/
|
|
132
|
+
Scope?: string
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* 过期时间。 单位:分钟 最大值:240。即,4小时 默认值:240
|
|
136
|
+
*/
|
|
137
|
+
ExpireTime?: string
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* 备用字段
|
|
141
|
+
*/
|
|
142
|
+
ExtraParam?: string
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* 报表嵌出数据结构-强鉴权
|
|
147
|
+
*/
|
|
148
|
+
export interface EmbedTokenInfo {
|
|
149
|
+
/**
|
|
150
|
+
* 信息标识
|
|
151
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
152
|
+
*/
|
|
153
|
+
Id?: number
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* 令牌
|
|
157
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
158
|
+
*/
|
|
159
|
+
BIToken?: string
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* 项目Id
|
|
163
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
164
|
+
*/
|
|
165
|
+
ProjectId?: string
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* 创建人
|
|
169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
170
|
+
*/
|
|
171
|
+
CreatedUser?: string
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* 创建时间
|
|
175
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
176
|
+
*/
|
|
177
|
+
CreatedAt?: string
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* 更新人
|
|
181
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
182
|
+
*/
|
|
183
|
+
UpdatedUser?: string
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* 更新时间
|
|
187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
188
|
+
*/
|
|
189
|
+
UpdatedAt?: string
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* 页面Id
|
|
193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
194
|
+
*/
|
|
195
|
+
PageId?: string
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* 备用
|
|
199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
200
|
+
*/
|
|
201
|
+
ExtraParam?: string
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 嵌出类型
|
|
205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
206
|
+
*/
|
|
207
|
+
Scope: string
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* 过期时间,分钟为单位,最大240
|
|
211
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
212
|
+
*/
|
|
213
|
+
ExpireTime: number
|
|
214
|
+
}
|
|
@@ -42,6 +42,7 @@ import {
|
|
|
42
42
|
GroupInfoTopics,
|
|
43
43
|
TopicResult,
|
|
44
44
|
Region,
|
|
45
|
+
ModifyInstancePreRequest,
|
|
45
46
|
CreateTokenResponse,
|
|
46
47
|
DescribeInstancesDetailResponse,
|
|
47
48
|
CreateInstancePreData,
|
|
@@ -133,6 +134,7 @@ import {
|
|
|
133
134
|
Filter,
|
|
134
135
|
GroupOffsetResponse,
|
|
135
136
|
BatchCreateAclResponse,
|
|
137
|
+
ModifyInstancePreResponse,
|
|
136
138
|
CreateUserRequest,
|
|
137
139
|
InstanceDetailResponse,
|
|
138
140
|
DeleteRouteRequest,
|
|
@@ -238,6 +240,16 @@ export class Client extends AbstractClient {
|
|
|
238
240
|
return this.request("DescribeTopicSubscribeGroup", req, cb)
|
|
239
241
|
}
|
|
240
242
|
|
|
243
|
+
/**
|
|
244
|
+
* 预付费实例变配接口,调整磁盘,带宽
|
|
245
|
+
*/
|
|
246
|
+
async ModifyInstancePre(
|
|
247
|
+
req: ModifyInstancePreRequest,
|
|
248
|
+
cb?: (error: string, rep: ModifyInstancePreResponse) => void
|
|
249
|
+
): Promise<ModifyInstancePreResponse> {
|
|
250
|
+
return this.request("ModifyInstancePre", req, cb)
|
|
251
|
+
}
|
|
252
|
+
|
|
241
253
|
/**
|
|
242
254
|
* 批量设置主题属性
|
|
243
255
|
*/
|
|
@@ -603,6 +603,31 @@ export interface Region {
|
|
|
603
603
|
MultiZone: number
|
|
604
604
|
}
|
|
605
605
|
|
|
606
|
+
/**
|
|
607
|
+
* ModifyInstancePre请求参数结构体
|
|
608
|
+
*/
|
|
609
|
+
export interface ModifyInstancePreRequest {
|
|
610
|
+
/**
|
|
611
|
+
* 实例名称
|
|
612
|
+
*/
|
|
613
|
+
InstanceId: string
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* 预计磁盘,根据磁盘步长,规格向上调整。
|
|
617
|
+
*/
|
|
618
|
+
DiskSize: number
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* 预计带宽,根据带宽步长,规格向上调整。
|
|
622
|
+
*/
|
|
623
|
+
BandWidth: number
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* 预计分区,根据带宽步长,规格向上调整。
|
|
627
|
+
*/
|
|
628
|
+
Partition?: number
|
|
629
|
+
}
|
|
630
|
+
|
|
606
631
|
/**
|
|
607
632
|
* CreateToken返回参数结构体
|
|
608
633
|
*/
|
|
@@ -2830,6 +2855,21 @@ export interface BatchCreateAclResponse {
|
|
|
2830
2855
|
RequestId?: string
|
|
2831
2856
|
}
|
|
2832
2857
|
|
|
2858
|
+
/**
|
|
2859
|
+
* ModifyInstancePre返回参数结构体
|
|
2860
|
+
*/
|
|
2861
|
+
export interface ModifyInstancePreResponse {
|
|
2862
|
+
/**
|
|
2863
|
+
* 变更预付费实例配置返回结构
|
|
2864
|
+
*/
|
|
2865
|
+
Result: CreateInstancePreResp
|
|
2866
|
+
|
|
2867
|
+
/**
|
|
2868
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2869
|
+
*/
|
|
2870
|
+
RequestId?: string
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2833
2873
|
/**
|
|
2834
2874
|
* CreateUser请求参数结构体
|
|
2835
2875
|
*/
|
|
@@ -394,12 +394,12 @@ SIGN_SIGNATURE - 手写签名控件
|
|
|
394
394
|
ComponentType: string
|
|
395
395
|
|
|
396
396
|
/**
|
|
397
|
-
* 参数控件宽度,单位
|
|
397
|
+
* 参数控件宽度,单位pt
|
|
398
398
|
*/
|
|
399
399
|
ComponentWidth: number
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
|
-
* 参数控件高度,单位
|
|
402
|
+
* 参数控件高度,单位pt
|
|
403
403
|
*/
|
|
404
404
|
ComponentHeight: number
|
|
405
405
|
|
|
@@ -409,12 +409,12 @@ SIGN_SIGNATURE - 手写签名控件
|
|
|
409
409
|
ComponentPage: number
|
|
410
410
|
|
|
411
411
|
/**
|
|
412
|
-
* 参数控件X位置,单位
|
|
412
|
+
* 参数控件X位置,单位pt
|
|
413
413
|
*/
|
|
414
414
|
ComponentPosX: number
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
|
-
* 参数控件Y位置,单位
|
|
417
|
+
* 参数控件Y位置,单位pt
|
|
418
418
|
*/
|
|
419
419
|
ComponentPosY: number
|
|
420
420
|
|
|
@@ -424,12 +424,12 @@ SIGN_SIGNATURE - 手写签名控件
|
|
|
424
424
|
FileIndex: number
|
|
425
425
|
|
|
426
426
|
/**
|
|
427
|
-
*
|
|
427
|
+
* GenerateMode==KEYWORD 指定关键字
|
|
428
428
|
*/
|
|
429
429
|
ComponentId?: string
|
|
430
430
|
|
|
431
431
|
/**
|
|
432
|
-
*
|
|
432
|
+
* GenerateMode==FIELD 指定表单域名称
|
|
433
433
|
*/
|
|
434
434
|
ComponentName?: string
|
|
435
435
|
|
|
@@ -439,8 +439,16 @@ SIGN_SIGNATURE - 手写签名控件
|
|
|
439
439
|
ComponentRequired?: boolean
|
|
440
440
|
|
|
441
441
|
/**
|
|
442
|
-
|
|
443
|
-
|
|
442
|
+
* 扩展参数:
|
|
443
|
+
ComponentType为SIGN_SIGNATURE类型可以控制签署方式
|
|
444
|
+
{“ComponentTypeLimit”: [“xxx”]}
|
|
445
|
+
xxx可以为:
|
|
446
|
+
HANDWRITE – 手写签名
|
|
447
|
+
BORDERLESS_ESIGN – 自动生成无边框腾讯体
|
|
448
|
+
OCR_ESIGN -- AI智能识别手写签名
|
|
449
|
+
ESIGN -- 个人印章类型
|
|
450
|
+
如:{“ComponentTypeLimit”: [“BORDERLESS_ESIGN”]}
|
|
451
|
+
*/
|
|
444
452
|
ComponentExtra?: string
|
|
445
453
|
|
|
446
454
|
/**
|
|
@@ -469,6 +477,16 @@ KEYWORD 关键字,使用ComponentId指定关键字
|
|
|
469
477
|
* 日期控件类型字号
|
|
470
478
|
*/
|
|
471
479
|
ComponentDateFontSize?: number
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* 指定关键字时横坐标偏移量
|
|
483
|
+
*/
|
|
484
|
+
OffsetX?: number
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* 指定关键字时纵坐标偏移量
|
|
488
|
+
*/
|
|
489
|
+
OffsetY?: number
|
|
472
490
|
}
|
|
473
491
|
|
|
474
492
|
/**
|
|
@@ -19,6 +19,7 @@ import { AbstractClient } from "../../../common/abstract_client"
|
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
21
|
RegionDetail,
|
|
22
|
+
DestAddressInfo,
|
|
22
23
|
DescribeUDPListenersRequest,
|
|
23
24
|
DeleteProxyGroupRequest,
|
|
24
25
|
DescribeResourcesByTagRequest,
|
|
@@ -38,6 +39,7 @@ import {
|
|
|
38
39
|
ModifyGroupDomainConfigRequest,
|
|
39
40
|
BandwidthPriceGradient,
|
|
40
41
|
DescribeHTTPListenersRequest,
|
|
42
|
+
BindListenerRealServersResponse,
|
|
41
43
|
DescribeCustomHeaderResponse,
|
|
42
44
|
ModifyRealServerNameResponse,
|
|
43
45
|
DescribeGroupDomainConfigResponse,
|
|
@@ -47,7 +49,6 @@ import {
|
|
|
47
49
|
DescribeListenerRealServersRequest,
|
|
48
50
|
DescribeProxyGroupStatisticsRequest,
|
|
49
51
|
DescribeHTTPSListenersRequest,
|
|
50
|
-
DescribeAccessRegionsByDestRegionResponse,
|
|
51
52
|
DescribeCountryAreaMappingRequest,
|
|
52
53
|
CheckProxyCreateResponse,
|
|
53
54
|
ModifyCertificateRequest,
|
|
@@ -60,7 +61,7 @@ import {
|
|
|
60
61
|
DeleteProxyGroupResponse,
|
|
61
62
|
CreateDomainErrorPageInfoResponse,
|
|
62
63
|
BindListenerRealServersRequest,
|
|
63
|
-
|
|
64
|
+
DeleteDomainErrorPageInfoResponse,
|
|
64
65
|
DescribeRuleRealServersRequest,
|
|
65
66
|
DescribeGroupDomainConfigRequest,
|
|
66
67
|
CreateProxyGroupDomainRequest,
|
|
@@ -74,7 +75,7 @@ import {
|
|
|
74
75
|
IPDetail,
|
|
75
76
|
ProxyStatus,
|
|
76
77
|
DeleteDomainRequest,
|
|
77
|
-
|
|
78
|
+
CreateFirstLinkSessionRequest,
|
|
78
79
|
ModifyCertificateAttributesResponse,
|
|
79
80
|
DescribeSecurityPolicyDetailResponse,
|
|
80
81
|
CreateHTTPListenerResponse,
|
|
@@ -88,6 +89,7 @@ import {
|
|
|
88
89
|
DescribeRealServersResponse,
|
|
89
90
|
ModifyHTTPListenerAttributeResponse,
|
|
90
91
|
DescribeRealServerStatisticsRequest,
|
|
92
|
+
DeleteFirstLinkSessionRequest,
|
|
91
93
|
BindRealServerInfo,
|
|
92
94
|
DescribeProxyAndStatisticsListenersRequest,
|
|
93
95
|
DescribeAccessRegionsResponse,
|
|
@@ -96,7 +98,7 @@ import {
|
|
|
96
98
|
DescribeDestRegionsResponse,
|
|
97
99
|
DescribeDomainErrorPageInfoByIdsResponse,
|
|
98
100
|
DescribeProxiesRequest,
|
|
99
|
-
|
|
101
|
+
DescribeAccessRegionsByDestRegionResponse,
|
|
100
102
|
ModifyProxyGroupAttributeResponse,
|
|
101
103
|
ListenerInfo,
|
|
102
104
|
DescribeUDPListenersResponse,
|
|
@@ -115,7 +117,7 @@ import {
|
|
|
115
117
|
DomainAccessRegionDict,
|
|
116
118
|
CloseSecurityPolicyRequest,
|
|
117
119
|
ModifyCertificateAttributesRequest,
|
|
118
|
-
|
|
120
|
+
ModifyProxyConfigurationRequest,
|
|
119
121
|
CreateSecurityRulesRequest,
|
|
120
122
|
DescribeCertificatesRequest,
|
|
121
123
|
DescribeProxiesStatusRequest,
|
|
@@ -132,6 +134,7 @@ import {
|
|
|
132
134
|
StatisticsDataInfo,
|
|
133
135
|
CreateCustomHeaderRequest,
|
|
134
136
|
ProxyGroupInfo,
|
|
137
|
+
Capacity,
|
|
135
138
|
CreateProxyGroupDomainResponse,
|
|
136
139
|
Certificate,
|
|
137
140
|
DescribeDomainErrorPageInfoResponse,
|
|
@@ -167,6 +170,7 @@ import {
|
|
|
167
170
|
SetAuthenticationRequest,
|
|
168
171
|
InquiryPriceCreateProxyResponse,
|
|
169
172
|
NewRealServer,
|
|
173
|
+
DescribeFirstLinkSessionResponse,
|
|
170
174
|
DescribeHTTPListenersResponse,
|
|
171
175
|
HttpHeaderParam,
|
|
172
176
|
DescribeRealServerStatisticsResponse,
|
|
@@ -179,13 +183,17 @@ import {
|
|
|
179
183
|
AccessRegionDetial,
|
|
180
184
|
DescribeProxyGroupListRequest,
|
|
181
185
|
SecurityPolicyRuleOut,
|
|
186
|
+
CreateFirstLinkSessionResponse,
|
|
182
187
|
BindRealServer,
|
|
183
188
|
GroupStatisticsInfo,
|
|
189
|
+
TagPair,
|
|
184
190
|
CreateProxyGroupResponse,
|
|
185
191
|
CreateHTTPSListenerResponse,
|
|
186
192
|
DeleteRuleResponse,
|
|
193
|
+
DescribeFirstLinkSessionRequest,
|
|
187
194
|
BindRuleRealServersResponse,
|
|
188
195
|
DescribeGroupAndStatisticsProxyRequest,
|
|
196
|
+
SrcAddressInfo,
|
|
189
197
|
ModifyUDPListenerAttributeRequest,
|
|
190
198
|
DeleteSecurityRulesResponse,
|
|
191
199
|
ModifyTCPListenerAttributeResponse,
|
|
@@ -204,7 +212,7 @@ import {
|
|
|
204
212
|
DescribeRealServersStatusResponse,
|
|
205
213
|
ModifyProxyGroupAttributeRequest,
|
|
206
214
|
CloseProxyGroupResponse,
|
|
207
|
-
|
|
215
|
+
DeleteFirstLinkSessionResponse,
|
|
208
216
|
ModifyProxiesAttributeResponse,
|
|
209
217
|
DescribeDomainErrorPageInfoByIdsRequest,
|
|
210
218
|
CheckProxyCreateRequest,
|
|
@@ -225,10 +233,12 @@ import {
|
|
|
225
233
|
InquiryPriceCreateProxyRequest,
|
|
226
234
|
DescribeProxyGroupDetailsResponse,
|
|
227
235
|
OpenProxyGroupRequest,
|
|
236
|
+
DeviceInfo,
|
|
228
237
|
UDPListener,
|
|
229
238
|
ProxyInfo,
|
|
230
239
|
RemoveRealServersResponse,
|
|
231
240
|
DescribeRulesByRuleIdsRequest,
|
|
241
|
+
OpenSecurityPolicyResponse,
|
|
232
242
|
RealServerBindSetReq,
|
|
233
243
|
CloseProxyGroupRequest,
|
|
234
244
|
OpenProxiesResponse,
|
|
@@ -406,16 +416,6 @@ export class Client extends AbstractClient {
|
|
|
406
416
|
return this.request("DescribeDestRegions", req, cb)
|
|
407
417
|
}
|
|
408
418
|
|
|
409
|
-
/**
|
|
410
|
-
* 本接口(DescribeRulesByRuleIds)用于根据规则ID拉取规则信息列表。支持一个或者多个规则信息的拉取。一次最多支持10个规则信息的拉取。
|
|
411
|
-
*/
|
|
412
|
-
async DescribeRulesByRuleIds(
|
|
413
|
-
req: DescribeRulesByRuleIdsRequest,
|
|
414
|
-
cb?: (error: string, rep: DescribeRulesByRuleIdsResponse) => void
|
|
415
|
-
): Promise<DescribeRulesByRuleIdsResponse> {
|
|
416
|
-
return this.request("DescribeRulesByRuleIds", req, cb)
|
|
417
|
-
}
|
|
418
|
-
|
|
419
419
|
/**
|
|
420
420
|
* 本接口(DescribeProxyGroupList)用于拉取通道组列表及各通道组基本信息。
|
|
421
421
|
*/
|
|
@@ -517,6 +517,16 @@ export class Client extends AbstractClient {
|
|
|
517
517
|
return this.request("DeleteCertificate", req, cb)
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
+
/**
|
|
521
|
+
* 本接口(CreateFirstLinkSession)用于创建接入段加速会话,创建有可能成功,也可能失败,需要通过返回码来进行判断。
|
|
522
|
+
*/
|
|
523
|
+
async CreateFirstLinkSession(
|
|
524
|
+
req: CreateFirstLinkSessionRequest,
|
|
525
|
+
cb?: (error: string, rep: CreateFirstLinkSessionResponse) => void
|
|
526
|
+
): Promise<CreateFirstLinkSessionResponse> {
|
|
527
|
+
return this.request("CreateFirstLinkSession", req, cb)
|
|
528
|
+
}
|
|
529
|
+
|
|
520
530
|
/**
|
|
521
531
|
* 本接口(DescribeAccessRegionsByDestRegion)根据源站区域查询可用的加速区域列表。
|
|
522
532
|
*/
|
|
@@ -578,13 +588,13 @@ export class Client extends AbstractClient {
|
|
|
578
588
|
}
|
|
579
589
|
|
|
580
590
|
/**
|
|
581
|
-
*
|
|
591
|
+
* 本接口(DescribeRulesByRuleIds)用于根据规则ID拉取规则信息列表。支持一个或者多个规则信息的拉取。一次最多支持10个规则信息的拉取。
|
|
582
592
|
*/
|
|
583
|
-
async
|
|
584
|
-
req:
|
|
585
|
-
cb?: (error: string, rep:
|
|
586
|
-
): Promise<
|
|
587
|
-
return this.request("
|
|
593
|
+
async DescribeRulesByRuleIds(
|
|
594
|
+
req: DescribeRulesByRuleIdsRequest,
|
|
595
|
+
cb?: (error: string, rep: DescribeRulesByRuleIdsResponse) => void
|
|
596
|
+
): Promise<DescribeRulesByRuleIdsResponse> {
|
|
597
|
+
return this.request("DescribeRulesByRuleIds", req, cb)
|
|
588
598
|
}
|
|
589
599
|
|
|
590
600
|
/**
|
|
@@ -628,13 +638,13 @@ export class Client extends AbstractClient {
|
|
|
628
638
|
}
|
|
629
639
|
|
|
630
640
|
/**
|
|
631
|
-
* 该接口(
|
|
641
|
+
* 该接口(DescribeUDPListeners)用于查询单通道或者通道组下的UDP监听器信息
|
|
632
642
|
*/
|
|
633
|
-
async
|
|
634
|
-
req:
|
|
635
|
-
cb?: (error: string, rep:
|
|
636
|
-
): Promise<
|
|
637
|
-
return this.request("
|
|
643
|
+
async DescribeUDPListeners(
|
|
644
|
+
req: DescribeUDPListenersRequest,
|
|
645
|
+
cb?: (error: string, rep: DescribeUDPListenersResponse) => void
|
|
646
|
+
): Promise<DescribeUDPListenersResponse> {
|
|
647
|
+
return this.request("DescribeUDPListeners", req, cb)
|
|
638
648
|
}
|
|
639
649
|
|
|
640
650
|
/**
|
|
@@ -787,6 +797,16 @@ export class Client extends AbstractClient {
|
|
|
787
797
|
return this.request("OpenProxies", req, cb)
|
|
788
798
|
}
|
|
789
799
|
|
|
800
|
+
/**
|
|
801
|
+
* 该接口(DescribeHTTPListeners)用来查询HTTP监听器信息。
|
|
802
|
+
*/
|
|
803
|
+
async DescribeHTTPListeners(
|
|
804
|
+
req: DescribeHTTPListenersRequest,
|
|
805
|
+
cb?: (error: string, rep: DescribeHTTPListenersResponse) => void
|
|
806
|
+
): Promise<DescribeHTTPListenersResponse> {
|
|
807
|
+
return this.request("DescribeHTTPListeners", req, cb)
|
|
808
|
+
}
|
|
809
|
+
|
|
790
810
|
/**
|
|
791
811
|
* 本接口(ModifyUDPListenerAttribute)用于修改通道实例下UDP监听器配置,包括监听器名称和调度策略的修改。
|
|
792
812
|
*/
|
|
@@ -868,6 +888,26 @@ export class Client extends AbstractClient {
|
|
|
868
888
|
return this.request("DescribeCertificateDetail", req, cb)
|
|
869
889
|
}
|
|
870
890
|
|
|
891
|
+
/**
|
|
892
|
+
* 本接口(DescribeFirstLinkSession)用于查询接入段加速会话状态,包括会话状态,生效时长,加速套餐等信息。
|
|
893
|
+
*/
|
|
894
|
+
async DescribeFirstLinkSession(
|
|
895
|
+
req: DescribeFirstLinkSessionRequest,
|
|
896
|
+
cb?: (error: string, rep: DescribeFirstLinkSessionResponse) => void
|
|
897
|
+
): Promise<DescribeFirstLinkSessionResponse> {
|
|
898
|
+
return this.request("DescribeFirstLinkSession", req, cb)
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* 本接口(DeleteFirstLinkSession)用于删除接入段加速会话,删除加速会话后会停止加速。
|
|
903
|
+
*/
|
|
904
|
+
async DeleteFirstLinkSession(
|
|
905
|
+
req: DeleteFirstLinkSessionRequest,
|
|
906
|
+
cb?: (error: string, rep: DeleteFirstLinkSessionResponse) => void
|
|
907
|
+
): Promise<DeleteFirstLinkSessionResponse> {
|
|
908
|
+
return this.request("DeleteFirstLinkSession", req, cb)
|
|
909
|
+
}
|
|
910
|
+
|
|
871
911
|
/**
|
|
872
912
|
* 该接口(DescribeRegionAndPrice)用于获取源站区域和带宽梯度价格
|
|
873
913
|
*/
|