tencentcloud-sdk-nodejs 4.0.747 → 4.0.748
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 +378 -0
- package/SERVICE_CHANGELOG.md +540 -96
- package/package.json +1 -1
- package/products.md +24 -24
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +50 -9
- package/src/services/billing/v20180709/billing_models.ts +66 -36
- package/src/services/captcha/v20190722/captcha_client.ts +13 -0
- package/src/services/captcha/v20190722/captcha_models.ts +148 -0
- package/src/services/cat/v20180409/cat_models.ts +1 -1
- package/src/services/cfw/v20190904/cfw_client.ts +47 -11
- package/src/services/cfw/v20190904/cfw_models.ts +257 -109
- package/src/services/cls/v20201016/cls_models.ts +2 -2
- package/src/services/cvm/v20170312/cvm_models.ts +67 -19
- package/src/services/ess/v20201111/ess_models.ts +38 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +31 -3
- package/src/services/mna/v20210119/mna_client.ts +153 -103
- package/src/services/mna/v20210119/mna_models.ts +299 -79
- package/src/services/omics/v20221128/omics_models.ts +2 -2
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +13 -0
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +63 -0
- package/src/services/tiw/v20190919/tiw_client.ts +26 -81
- package/src/services/tiw/v20190919/tiw_models.ts +137 -217
- package/src/services/trtc/v20190722/trtc_models.ts +12 -0
- package/src/services/tsf/v20180326/tsf_client.ts +1 -1
- package/src/services/tsf/v20180326/tsf_models.ts +4 -4
- package/src/services/vpc/v20170312/vpc_models.ts +6 -0
- package/src/services/wedata/v20210820/wedata_client.ts +1 -0
- package/src/services/wedata/v20210820/wedata_models.ts +133 -32
- package/src/services/weilingwith/v20230427/weilingwith_client.ts +3 -1
- package/src/services/weilingwith/v20230427/weilingwith_models.ts +46 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +50 -9
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +66 -36
- package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +5 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.js +6 -0
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +145 -0
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +15 -3
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +21 -3
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +250 -108
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +67 -19
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +38 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +31 -3
- package/tencentcloud/services/mna/v20210119/mna_client.d.ts +51 -35
- package/tencentcloud/services/mna/v20210119/mna_client.js +75 -51
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +289 -79
- package/tencentcloud/services/omics/v20221128/omics_models.d.ts +2 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +5 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +6 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +60 -0
- package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +7 -31
- package/tencentcloud/services/tiw/v20190919/tiw_client.js +9 -41
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +136 -209
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +12 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +4 -4
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +132 -32
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_client.d.ts +1 -1
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.d.ts +44 -1
- package/test/captcha.v20190722.test.js +10 -0
- package/test/cfw.v20190904.test.js +32 -2
- package/test/mna.v20210119.test.js +74 -34
- package/test/sqlserver.v20180328.test.js +10 -0
- package/test/tiw.v20190919.test.js +6 -46
|
@@ -3069,6 +3069,10 @@ export interface DescribeFileUrlsRequest {
|
|
|
3069
3069
|
* 电子文档的控件填充信息。按照控件类型进行相应的填充。
|
|
3070
3070
|
|
|
3071
3071
|
当控件的 ComponentType=‘SIGN_SEAL'时,FormField.ComponentValue填入印章id。
|
|
3072
|
+
|
|
3073
|
+
* 可用于指定自动签模版未设置自动签印章时,可由接口传入自动签印章
|
|
3074
|
+
* 若指定的控件上已设置ComponentValue,那以已经设置的ComponentValue为准
|
|
3075
|
+
|
|
3072
3076
|
```
|
|
3073
3077
|
FormField输入示例:
|
|
3074
3078
|
{
|
|
@@ -3076,7 +3080,9 @@ FormField输入示例:
|
|
|
3076
3080
|
"ComponentValue": "sealId(印章id)"
|
|
3077
3081
|
}
|
|
3078
3082
|
```
|
|
3083
|
+
|
|
3079
3084
|
当控件的 ComponentType='TEXT'时,FormField.ComponentValue填入文本内容
|
|
3085
|
+
|
|
3080
3086
|
```
|
|
3081
3087
|
FormField输入示例:
|
|
3082
3088
|
{
|
|
@@ -3084,7 +3090,9 @@ FormField输入示例:
|
|
|
3084
3090
|
"ComponentValue": "文本内容"
|
|
3085
3091
|
}
|
|
3086
3092
|
```
|
|
3093
|
+
|
|
3087
3094
|
当控件的 ComponentType='MULTI_LINE_TEXT'时,FormField.ComponentValue填入文本内容,支持自动换行。
|
|
3095
|
+
|
|
3088
3096
|
```
|
|
3089
3097
|
FormField输入示例:
|
|
3090
3098
|
{
|
|
@@ -3092,7 +3100,9 @@ FormField输入示例:
|
|
|
3092
3100
|
"ComponentValue": "多行文本内容"
|
|
3093
3101
|
}
|
|
3094
3102
|
```
|
|
3103
|
+
|
|
3095
3104
|
当控件的 ComponentType='CHECK_BOX'时,FormField.ComponentValue填入true或false文本
|
|
3105
|
+
|
|
3096
3106
|
```
|
|
3097
3107
|
FormField输入示例:
|
|
3098
3108
|
{
|
|
@@ -3100,7 +3110,9 @@ FormField输入示例:
|
|
|
3100
3110
|
"ComponentValue": "true"
|
|
3101
3111
|
}
|
|
3102
3112
|
```
|
|
3113
|
+
|
|
3103
3114
|
当控件的 ComponentType='FILL_IMAGE'时,FormField.ComponentValue填入图片的资源ID
|
|
3115
|
+
|
|
3104
3116
|
```
|
|
3105
3117
|
FormField输入示例:
|
|
3106
3118
|
{
|
|
@@ -3108,7 +3120,9 @@ FormField输入示例:
|
|
|
3108
3120
|
"ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
3109
3121
|
}
|
|
3110
3122
|
```
|
|
3123
|
+
|
|
3111
3124
|
当控件的 ComponentType='ATTACHMENT'时,FormField.ComponentValue填入附件图片的资源ID列表,以逗号分隔,单个附件控件最多支持6个资源ID;
|
|
3125
|
+
|
|
3112
3126
|
```
|
|
3113
3127
|
FormField输入示例:
|
|
3114
3128
|
{
|
|
@@ -3116,7 +3130,9 @@ FormField输入示例:
|
|
|
3116
3130
|
"ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx1,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx2,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx3"
|
|
3117
3131
|
}
|
|
3118
3132
|
```
|
|
3133
|
+
|
|
3119
3134
|
当控件的 ComponentType='SELECTOR'时,FormField.ComponentValue填入选择的选项内容;
|
|
3135
|
+
|
|
3120
3136
|
```
|
|
3121
3137
|
FormField输入示例:
|
|
3122
3138
|
{
|
|
@@ -3124,7 +3140,9 @@ FormField输入示例:
|
|
|
3124
3140
|
"ComponentValue": "选择的内容"
|
|
3125
3141
|
}
|
|
3126
3142
|
```
|
|
3143
|
+
|
|
3127
3144
|
当控件的 ComponentType='DATE'时,FormField.ComponentValue填入日期内容;
|
|
3145
|
+
|
|
3128
3146
|
```
|
|
3129
3147
|
FormField输入示例:
|
|
3130
3148
|
{
|
|
@@ -3132,7 +3150,9 @@ FormField输入示例:
|
|
|
3132
3150
|
"ComponentValue": "2023年01月01日"
|
|
3133
3151
|
}
|
|
3134
3152
|
```
|
|
3153
|
+
|
|
3135
3154
|
当控件的 ComponentType='DISTRICT'时,FormField.ComponentValue填入省市区内容;
|
|
3155
|
+
|
|
3136
3156
|
```
|
|
3137
3157
|
FormField输入示例:
|
|
3138
3158
|
{
|
|
@@ -3140,6 +3160,7 @@ FormField输入示例:
|
|
|
3140
3160
|
"ComponentValue": "广东省深圳市福田区"
|
|
3141
3161
|
}
|
|
3142
3162
|
```
|
|
3163
|
+
|
|
3143
3164
|
【数据表格传参说明】
|
|
3144
3165
|
当控件的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
|
|
3145
3166
|
输入示例1:
|
|
@@ -3184,7 +3205,6 @@ FormField输入示例:
|
|
|
3184
3205
|
]
|
|
3185
3206
|
}
|
|
3186
3207
|
}
|
|
3187
|
-
|
|
3188
3208
|
```
|
|
3189
3209
|
|
|
3190
3210
|
输入示例2(表格表头宽度比例配置):
|
|
@@ -3232,8 +3252,8 @@ FormField输入示例:
|
|
|
3232
3252
|
]
|
|
3233
3253
|
}
|
|
3234
3254
|
}
|
|
3235
|
-
|
|
3236
3255
|
```
|
|
3256
|
+
|
|
3237
3257
|
表格参数说明
|
|
3238
3258
|
|
|
3239
3259
|
| 名称 | 类型 | 描述 |
|
|
@@ -3976,7 +3996,8 @@ export interface CreateEmbedWebUrlRequest {
|
|
|
3976
3996
|
* WEB嵌入的业务资源ID
|
|
3977
3997
|
<ul><li>PREVIEW_SEAL_DETAIL,必填,取值为印章id</li>
|
|
3978
3998
|
<li>MODIFY_TEMPLATE,PREVIEW_TEMPLATE,必填,取值为模板id</li>
|
|
3979
|
-
<li>PREVIEW_FLOW,PREVIEW_FLOW_DETAIL,必填,取值为合同id</li
|
|
3999
|
+
<li>PREVIEW_FLOW,PREVIEW_FLOW_DETAIL,必填,取值为合同id</li>
|
|
4000
|
+
</ul>
|
|
3980
4001
|
*/
|
|
3981
4002
|
BusinessId?: string;
|
|
3982
4003
|
/**
|
|
@@ -3992,6 +4013,20 @@ export interface CreateEmbedWebUrlRequest {
|
|
|
3992
4013
|
* 个性化参数,用于控制页面展示内容
|
|
3993
4014
|
*/
|
|
3994
4015
|
Option?: EmbedUrlOption;
|
|
4016
|
+
/**
|
|
4017
|
+
* 用户自定义参数
|
|
4018
|
+
<ul>
|
|
4019
|
+
<li>目前仅支持EmbedType=CREATE_TEMPLATE时传入</li>
|
|
4020
|
+
<li>指定后,创建,编辑,删除模版时,回调都会携带该userData</li>
|
|
4021
|
+
<li>支持的格式:json字符串的BASE64编码字符串</li>
|
|
4022
|
+
<li>示例:<ul>
|
|
4023
|
+
<li>json字符串:{"ComeFrom":"xxx"},BASE64编码:eyJDb21lRnJvbSI6Inh4eCJ9</li>
|
|
4024
|
+
<li>eyJDb21lRnJvbSI6Inh4eCJ9,为符合要求的userData数据格式</li>
|
|
4025
|
+
</ul>
|
|
4026
|
+
</li>
|
|
4027
|
+
</ul>
|
|
4028
|
+
*/
|
|
4029
|
+
UserData?: string;
|
|
3995
4030
|
}
|
|
3996
4031
|
/**
|
|
3997
4032
|
* DeleteIntegrationEmployees请求参数结构体
|
|
@@ -924,6 +924,13 @@ export interface CreateFlowOption {
|
|
|
924
924
|
**false**:(默认)允许编辑填写控件
|
|
925
925
|
*/
|
|
926
926
|
ForbidEditFillComponent?: boolean;
|
|
927
|
+
/**
|
|
928
|
+
* 跳过上传文件步骤
|
|
929
|
+
|
|
930
|
+
**true**:跳过
|
|
931
|
+
**false**:(默认)不跳过,需要传ResourceId
|
|
932
|
+
*/
|
|
933
|
+
SkipUploadFile?: string;
|
|
927
934
|
}
|
|
928
935
|
/**
|
|
929
936
|
* ChannelCreateRole请求参数结构体
|
|
@@ -1231,11 +1238,17 @@ export interface SyncProxyOrganizationRequest {
|
|
|
1231
1238
|
*/
|
|
1232
1239
|
export interface ChannelCreatePrepareFlowRequest {
|
|
1233
1240
|
/**
|
|
1234
|
-
*
|
|
1241
|
+
* 资源id,与ResourceType相对应,取值范围:
|
|
1242
|
+
<ul>
|
|
1243
|
+
<li>文件Id(通过UploadFiles获取文件资源Id)</li>
|
|
1244
|
+
<li>模板Id</li>
|
|
1245
|
+
</ul>
|
|
1235
1246
|
*/
|
|
1236
1247
|
ResourceId: string;
|
|
1237
1248
|
/**
|
|
1238
|
-
*
|
|
1249
|
+
* 资源类型,取值有:
|
|
1250
|
+
<ul><li> **1**:模板</li>
|
|
1251
|
+
<li> **2**:文件(默认值)</li></ul>
|
|
1239
1252
|
*/
|
|
1240
1253
|
ResourceType: number;
|
|
1241
1254
|
/**
|
|
@@ -1263,7 +1276,8 @@ export interface ChannelCreatePrepareFlowRequest {
|
|
|
1263
1276
|
*/
|
|
1264
1277
|
FlowApproverList?: Array<CommonFlowApprover>;
|
|
1265
1278
|
/**
|
|
1266
|
-
*
|
|
1279
|
+
* 合同Id:用于通过一个已发起的合同快速生成一个发起流程web链接
|
|
1280
|
+
注: `该参数必须是一个待发起审核的合同id,并且还未审核通过`
|
|
1267
1281
|
*/
|
|
1268
1282
|
FlowId?: string;
|
|
1269
1283
|
/**
|
|
@@ -6803,6 +6817,20 @@ export interface ChannelCreateEmbedWebUrlRequest {
|
|
|
6803
6817
|
* @deprecated
|
|
6804
6818
|
*/
|
|
6805
6819
|
Operator?: UserInfo;
|
|
6820
|
+
/**
|
|
6821
|
+
* 用户自定义参数
|
|
6822
|
+
<ul>
|
|
6823
|
+
<li>目前仅支持EmbedType=CREATE_TEMPLATE时传入</li>
|
|
6824
|
+
<li>指定后,创建,编辑,删除模版时,回调都会携带该userData</li>
|
|
6825
|
+
<li>支持的格式:json字符串的BASE64编码字符串</li>
|
|
6826
|
+
<li>示例:<ul>
|
|
6827
|
+
<li>json字符串:{"ComeFrom":"xxx"},BASE64编码:eyJDb21lRnJvbSI6Inh4eCJ9</li>
|
|
6828
|
+
<li>eyJDb21lRnJvbSI6Inh4eCJ9,为符合要求的userData数据格式</li>
|
|
6829
|
+
</ul>
|
|
6830
|
+
</li>
|
|
6831
|
+
</ul>
|
|
6832
|
+
*/
|
|
6833
|
+
UserData?: string;
|
|
6806
6834
|
}
|
|
6807
6835
|
/**
|
|
6808
6836
|
* 抄送信息
|
|
@@ -1,86 +1,102 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { GetDeviceResponse,
|
|
3
|
+
import { GetDeviceResponse, GetDevicePayModeRequest, GetFlowStatisticRequest, GetNetMonitorResponse, DeleteQosRequest, GetNetMonitorRequest, GetMultiFlowStatisticResponse, GetFlowStatisticResponse, CreateQosResponse, DescribeQosResponse, GetVendorHardwareRequest, CreateEncryptedKeyRequest, DeleteDeviceRequest, GetFlowPackagesRequest, GetHardwareListRequest, CreateEncryptedKeyResponse, OrderFlowPackageResponse, UpdateDeviceResponse, ModifyPackageRenewFlagRequest, CreateQosRequest, GetStatisticDataRequest, GetFlowPackagesResponse, GetVendorHardwareResponse, UpdateDeviceRequest, GetPublicKeyResponse, ActivateHardwareRequest, AddHardwareResponse, ModifyPackageRenewFlagResponse, GetMultiFlowStatisticRequest, DeleteQosResponse, AddDeviceResponse, GetDevicePayModeResponse, GetDeviceRequest, ActivateHardwareResponse, OrderFlowPackageRequest, UpdateHardwareResponse, GetDevicesResponse, DescribeQosRequest, DeleteDeviceResponse, GetStatisticDataResponse, AddHardwareRequest, GetDevicesRequest, GetHardwareListResponse, UpdateHardwareRequest, AddDeviceRequest, GetPublicKeyRequest } from "./mna_models";
|
|
4
4
|
/**
|
|
5
5
|
* mna client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
-
/**
|
|
11
|
-
* 获取单设备的实时流量统计指标
|
|
12
|
-
*/
|
|
13
|
-
GetNetMonitor(req: GetNetMonitorRequest, cb?: (error: string, rep: GetNetMonitorResponse) => void): Promise<GetNetMonitorResponse>;
|
|
14
10
|
/**
|
|
15
11
|
* 更新硬件信息
|
|
16
12
|
*/
|
|
17
13
|
UpdateHardware(req: UpdateHardwareRequest, cb?: (error: string, rep: UpdateHardwareResponse) => void): Promise<UpdateHardwareResponse>;
|
|
18
14
|
/**
|
|
19
|
-
*
|
|
15
|
+
* 可开启/关闭流量包自动续费,不影响当前周期正在生效的流量包。
|
|
20
16
|
*/
|
|
21
|
-
|
|
17
|
+
ModifyPackageRenewFlag(req: ModifyPackageRenewFlagRequest, cb?: (error: string, rep: ModifyPackageRenewFlagResponse) => void): Promise<ModifyPackageRenewFlagResponse>;
|
|
22
18
|
/**
|
|
23
|
-
*
|
|
19
|
+
* 获取指定设备Id,指定时间点数据流量使用情况
|
|
24
20
|
*/
|
|
25
|
-
|
|
21
|
+
GetFlowStatistic(req: GetFlowStatisticRequest, cb?: (error: string, rep: GetFlowStatisticResponse) => void): Promise<GetFlowStatisticResponse>;
|
|
26
22
|
/**
|
|
27
|
-
*
|
|
23
|
+
* 批量获取设备流量统计曲线
|
|
28
24
|
*/
|
|
29
|
-
|
|
25
|
+
GetMultiFlowStatistic(req: GetMultiFlowStatisticRequest, cb?: (error: string, rep: GetMultiFlowStatisticResponse) => void): Promise<GetMultiFlowStatisticResponse>;
|
|
30
26
|
/**
|
|
31
|
-
*
|
|
27
|
+
* 获取设备信息列表
|
|
32
28
|
*/
|
|
33
|
-
|
|
29
|
+
GetDevices(req: GetDevicesRequest, cb?: (error: string, rep: GetDevicesResponse) => void): Promise<GetDevicesResponse>;
|
|
34
30
|
/**
|
|
35
|
-
*
|
|
31
|
+
* 获取公钥用于验签
|
|
36
32
|
*/
|
|
37
|
-
|
|
33
|
+
GetPublicKey(req?: GetPublicKeyRequest, cb?: (error: string, rep: GetPublicKeyResponse) => void): Promise<GetPublicKeyResponse>;
|
|
38
34
|
/**
|
|
39
|
-
*
|
|
35
|
+
* 激活硬件设备
|
|
40
36
|
*/
|
|
41
|
-
|
|
37
|
+
ActivateHardware(req: ActivateHardwareRequest, cb?: (error: string, rep: ActivateHardwareResponse) => void): Promise<ActivateHardwareResponse>;
|
|
42
38
|
/**
|
|
43
|
-
*
|
|
39
|
+
* 获取流量包列表
|
|
44
40
|
*/
|
|
45
|
-
|
|
41
|
+
GetFlowPackages(req: GetFlowPackagesRequest, cb?: (error: string, rep: GetFlowPackagesResponse) => void): Promise<GetFlowPackagesResponse>;
|
|
46
42
|
/**
|
|
47
|
-
*
|
|
43
|
+
* 添加硬件设备,生成未激活的硬件设备,可支持批量添加
|
|
48
44
|
*/
|
|
49
|
-
|
|
45
|
+
AddHardware(req: AddHardwareRequest, cb?: (error: string, rep: AddHardwareResponse) => void): Promise<AddHardwareResponse>;
|
|
50
46
|
/**
|
|
51
|
-
*
|
|
47
|
+
* 移动网络发起Qos加速过程
|
|
52
48
|
*/
|
|
53
|
-
|
|
49
|
+
CreateQos(req: CreateQosRequest, cb?: (error: string, rep: CreateQosResponse) => void): Promise<CreateQosResponse>;
|
|
54
50
|
/**
|
|
55
|
-
*
|
|
51
|
+
* 删除设备信息
|
|
56
52
|
*/
|
|
57
|
-
|
|
53
|
+
DeleteDevice(req: DeleteDeviceRequest, cb?: (error: string, rep: DeleteDeviceResponse) => void): Promise<DeleteDeviceResponse>;
|
|
58
54
|
/**
|
|
59
|
-
*
|
|
55
|
+
* 更新设备信息
|
|
60
56
|
*/
|
|
61
|
-
|
|
57
|
+
UpdateDevice(req: UpdateDeviceRequest, cb?: (error: string, rep: UpdateDeviceResponse) => void): Promise<UpdateDeviceResponse>;
|
|
62
58
|
/**
|
|
63
|
-
*
|
|
59
|
+
* 获取单设备的实时流量统计指标
|
|
64
60
|
*/
|
|
65
|
-
|
|
61
|
+
GetNetMonitor(req: GetNetMonitorRequest, cb?: (error: string, rep: GetNetMonitorResponse) => void): Promise<GetNetMonitorResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* 获取设备付费模式
|
|
64
|
+
*/
|
|
65
|
+
GetDevicePayMode(req: GetDevicePayModeRequest, cb?: (error: string, rep: GetDevicePayModeResponse) => void): Promise<GetDevicePayModeResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* 获取厂商硬件设备列表
|
|
68
|
+
*/
|
|
69
|
+
GetVendorHardware(req: GetVendorHardwareRequest, cb?: (error: string, rep: GetVendorHardwareResponse) => void): Promise<GetVendorHardwareResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 通过此接口设置和更新预置密钥
|
|
72
|
+
*/
|
|
73
|
+
CreateEncryptedKey(req?: CreateEncryptedKeyRequest, cb?: (error: string, rep: CreateEncryptedKeyResponse) => void): Promise<CreateEncryptedKeyResponse>;
|
|
66
74
|
/**
|
|
67
75
|
* 移动网络停止Qos加速过程
|
|
68
76
|
*/
|
|
69
77
|
DeleteQos(req: DeleteQosRequest, cb?: (error: string, rep: DeleteQosResponse) => void): Promise<DeleteQosResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* 通过指定设备的ID查找设备详细信息
|
|
80
|
+
*/
|
|
81
|
+
GetDevice(req: GetDeviceRequest, cb?: (error: string, rep: GetDeviceResponse) => void): Promise<GetDeviceResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* 购买预付费流量包
|
|
84
|
+
*/
|
|
85
|
+
OrderFlowPackage(req: OrderFlowPackageRequest, cb?: (error: string, rep: OrderFlowPackageResponse) => void): Promise<OrderFlowPackageResponse>;
|
|
70
86
|
/**
|
|
71
87
|
* 在用量统计页面下载流量数据
|
|
72
88
|
*/
|
|
73
89
|
GetStatisticData(req: GetStatisticDataRequest, cb?: (error: string, rep: GetStatisticDataResponse) => void): Promise<GetStatisticDataResponse>;
|
|
74
90
|
/**
|
|
75
|
-
*
|
|
91
|
+
* 获取厂商硬件列表
|
|
76
92
|
*/
|
|
77
|
-
|
|
93
|
+
GetHardwareList(req: GetHardwareListRequest, cb?: (error: string, rep: GetHardwareListResponse) => void): Promise<GetHardwareListResponse>;
|
|
78
94
|
/**
|
|
79
|
-
*
|
|
95
|
+
* 新建设备记录
|
|
80
96
|
*/
|
|
81
|
-
|
|
97
|
+
AddDevice(req: AddDeviceRequest, cb?: (error: string, rep: AddDeviceResponse) => void): Promise<AddDeviceResponse>;
|
|
82
98
|
/**
|
|
83
|
-
*
|
|
99
|
+
* 获取Qos加速状态
|
|
84
100
|
*/
|
|
85
|
-
|
|
101
|
+
DescribeQos(req: DescribeQosRequest, cb?: (error: string, rep: DescribeQosResponse) => void): Promise<DescribeQosResponse>;
|
|
86
102
|
}
|
|
@@ -27,12 +27,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("mna.tencentcloudapi.com", "2021-01-19", clientConfig);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* 获取单设备的实时流量统计指标
|
|
32
|
-
*/
|
|
33
|
-
async GetNetMonitor(req, cb) {
|
|
34
|
-
return this.request("GetNetMonitor", req, cb);
|
|
35
|
-
}
|
|
36
30
|
/**
|
|
37
31
|
* 更新硬件信息
|
|
38
32
|
*/
|
|
@@ -40,76 +34,94 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
40
34
|
return this.request("UpdateHardware", req, cb);
|
|
41
35
|
}
|
|
42
36
|
/**
|
|
43
|
-
*
|
|
37
|
+
* 可开启/关闭流量包自动续费,不影响当前周期正在生效的流量包。
|
|
44
38
|
*/
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
39
|
+
async ModifyPackageRenewFlag(req, cb) {
|
|
40
|
+
return this.request("ModifyPackageRenewFlag", req, cb);
|
|
47
41
|
}
|
|
48
42
|
/**
|
|
49
|
-
*
|
|
43
|
+
* 获取指定设备Id,指定时间点数据流量使用情况
|
|
50
44
|
*/
|
|
51
|
-
async
|
|
52
|
-
return this.request("
|
|
45
|
+
async GetFlowStatistic(req, cb) {
|
|
46
|
+
return this.request("GetFlowStatistic", req, cb);
|
|
53
47
|
}
|
|
54
48
|
/**
|
|
55
|
-
*
|
|
49
|
+
* 批量获取设备流量统计曲线
|
|
56
50
|
*/
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
51
|
+
async GetMultiFlowStatistic(req, cb) {
|
|
52
|
+
return this.request("GetMultiFlowStatistic", req, cb);
|
|
59
53
|
}
|
|
60
54
|
/**
|
|
61
|
-
*
|
|
55
|
+
* 获取设备信息列表
|
|
62
56
|
*/
|
|
63
|
-
async
|
|
64
|
-
return this.request("
|
|
57
|
+
async GetDevices(req, cb) {
|
|
58
|
+
return this.request("GetDevices", req, cb);
|
|
65
59
|
}
|
|
66
60
|
/**
|
|
67
|
-
*
|
|
61
|
+
* 获取公钥用于验签
|
|
68
62
|
*/
|
|
69
|
-
async
|
|
70
|
-
return this.request("
|
|
63
|
+
async GetPublicKey(req, cb) {
|
|
64
|
+
return this.request("GetPublicKey", req, cb);
|
|
71
65
|
}
|
|
72
66
|
/**
|
|
73
|
-
*
|
|
67
|
+
* 激活硬件设备
|
|
74
68
|
*/
|
|
75
|
-
async
|
|
76
|
-
return this.request("
|
|
69
|
+
async ActivateHardware(req, cb) {
|
|
70
|
+
return this.request("ActivateHardware", req, cb);
|
|
77
71
|
}
|
|
78
72
|
/**
|
|
79
|
-
*
|
|
73
|
+
* 获取流量包列表
|
|
80
74
|
*/
|
|
81
|
-
async
|
|
82
|
-
return this.request("
|
|
75
|
+
async GetFlowPackages(req, cb) {
|
|
76
|
+
return this.request("GetFlowPackages", req, cb);
|
|
83
77
|
}
|
|
84
78
|
/**
|
|
85
|
-
*
|
|
79
|
+
* 添加硬件设备,生成未激活的硬件设备,可支持批量添加
|
|
86
80
|
*/
|
|
87
|
-
async
|
|
88
|
-
return this.request("
|
|
81
|
+
async AddHardware(req, cb) {
|
|
82
|
+
return this.request("AddHardware", req, cb);
|
|
89
83
|
}
|
|
90
84
|
/**
|
|
91
|
-
*
|
|
85
|
+
* 移动网络发起Qos加速过程
|
|
92
86
|
*/
|
|
93
|
-
async
|
|
94
|
-
return this.request("
|
|
87
|
+
async CreateQos(req, cb) {
|
|
88
|
+
return this.request("CreateQos", req, cb);
|
|
95
89
|
}
|
|
96
90
|
/**
|
|
97
|
-
*
|
|
91
|
+
* 删除设备信息
|
|
98
92
|
*/
|
|
99
|
-
async
|
|
100
|
-
return this.request("
|
|
93
|
+
async DeleteDevice(req, cb) {
|
|
94
|
+
return this.request("DeleteDevice", req, cb);
|
|
101
95
|
}
|
|
102
96
|
/**
|
|
103
|
-
*
|
|
97
|
+
* 更新设备信息
|
|
104
98
|
*/
|
|
105
|
-
async
|
|
106
|
-
return this.request("
|
|
99
|
+
async UpdateDevice(req, cb) {
|
|
100
|
+
return this.request("UpdateDevice", req, cb);
|
|
107
101
|
}
|
|
108
102
|
/**
|
|
109
|
-
*
|
|
103
|
+
* 获取单设备的实时流量统计指标
|
|
110
104
|
*/
|
|
111
|
-
async
|
|
112
|
-
return this.request("
|
|
105
|
+
async GetNetMonitor(req, cb) {
|
|
106
|
+
return this.request("GetNetMonitor", req, cb);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* 获取设备付费模式
|
|
110
|
+
*/
|
|
111
|
+
async GetDevicePayMode(req, cb) {
|
|
112
|
+
return this.request("GetDevicePayMode", req, cb);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* 获取厂商硬件设备列表
|
|
116
|
+
*/
|
|
117
|
+
async GetVendorHardware(req, cb) {
|
|
118
|
+
return this.request("GetVendorHardware", req, cb);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* 通过此接口设置和更新预置密钥
|
|
122
|
+
*/
|
|
123
|
+
async CreateEncryptedKey(req, cb) {
|
|
124
|
+
return this.request("CreateEncryptedKey", req, cb);
|
|
113
125
|
}
|
|
114
126
|
/**
|
|
115
127
|
* 移动网络停止Qos加速过程
|
|
@@ -117,6 +129,18 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
117
129
|
async DeleteQos(req, cb) {
|
|
118
130
|
return this.request("DeleteQos", req, cb);
|
|
119
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* 通过指定设备的ID查找设备详细信息
|
|
134
|
+
*/
|
|
135
|
+
async GetDevice(req, cb) {
|
|
136
|
+
return this.request("GetDevice", req, cb);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* 购买预付费流量包
|
|
140
|
+
*/
|
|
141
|
+
async OrderFlowPackage(req, cb) {
|
|
142
|
+
return this.request("OrderFlowPackage", req, cb);
|
|
143
|
+
}
|
|
120
144
|
/**
|
|
121
145
|
* 在用量统计页面下载流量数据
|
|
122
146
|
*/
|
|
@@ -124,22 +148,22 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
124
148
|
return this.request("GetStatisticData", req, cb);
|
|
125
149
|
}
|
|
126
150
|
/**
|
|
127
|
-
*
|
|
151
|
+
* 获取厂商硬件列表
|
|
128
152
|
*/
|
|
129
|
-
async
|
|
130
|
-
return this.request("
|
|
153
|
+
async GetHardwareList(req, cb) {
|
|
154
|
+
return this.request("GetHardwareList", req, cb);
|
|
131
155
|
}
|
|
132
156
|
/**
|
|
133
|
-
*
|
|
157
|
+
* 新建设备记录
|
|
134
158
|
*/
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
159
|
+
async AddDevice(req, cb) {
|
|
160
|
+
return this.request("AddDevice", req, cb);
|
|
137
161
|
}
|
|
138
162
|
/**
|
|
139
|
-
*
|
|
163
|
+
* 获取Qos加速状态
|
|
140
164
|
*/
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
165
|
+
async DescribeQos(req, cb) {
|
|
166
|
+
return this.request("DescribeQos", req, cb);
|
|
143
167
|
}
|
|
144
168
|
}
|
|
145
169
|
exports.Client = Client;
|