tencentcloud-sdk-nodejs 4.0.746 → 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 +628 -0
- package/SERVICE_CHANGELOG.md +787 -50
- package/package.json +1 -1
- package/products.md +35 -35
- 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/dlc/v20210125/dlc_client.ts +299 -287
- package/src/services/dlc/v20210125/dlc_models.ts +4669 -4633
- package/src/services/ess/v20201111/ess_models.ts +49 -3
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +40 -4
- package/src/services/keewidb/v20220308/keewidb_models.ts +19 -5
- package/src/services/lcic/v20220817/lcic_models.ts +2 -2
- package/src/services/mna/v20210119/mna_client.ts +153 -103
- package/src/services/mna/v20210119/mna_models.ts +299 -79
- package/src/services/mrs/v20200910/mrs_models.ts +53 -35
- package/src/services/ocr/v20181119/ocr_client.ts +16 -3
- package/src/services/ocr/v20181119/ocr_models.ts +285 -49
- package/src/services/omics/v20221128/omics_models.ts +2 -2
- package/src/services/scf/v20180416/scf_models.ts +11 -2
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +13 -0
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +63 -0
- package/src/services/ssl/v20191205/ssl_client.ts +3 -0
- package/src/services/ssl/v20191205/ssl_models.ts +116 -10
- package/src/services/tiw/v20190919/tiw_client.ts +26 -81
- package/src/services/tiw/v20190919/tiw_models.ts +137 -217
- package/src/services/tke/v20180525/tke_client.ts +21 -7
- package/src/services/tke/v20180525/tke_models.ts +113 -18
- 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 +36 -35
- package/src/services/vod/v20180717/vod_client.ts +1 -1
- package/src/services/vod/v20180717/vod_models.ts +20 -1
- package/src/services/vpc/v20170312/vpc_models.ts +6 -0
- package/src/services/waf/v20180125/waf_models.ts +4 -4
- package/src/services/wedata/v20210820/wedata_client.ts +16 -0
- package/src/services/wedata/v20210820/wedata_models.ts +234 -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/common/sse_response_model.d.ts +4 -4
- package/tencentcloud/common/sse_response_model.js +6 -6
- 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/dlc/v20210125/dlc_client.d.ts +9 -5
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +12 -6
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +4512 -4478
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +49 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +40 -4
- package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +19 -5
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +2 -2
- 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/mrs/v20200910/mrs_models.d.ts +53 -35
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +12 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +11 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +282 -49
- package/tencentcloud/services/omics/v20221128/omics_models.d.ts +2 -2
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +11 -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/ssl/v20191205/ssl_models.d.ts +113 -10
- 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/tke/v20180525/tke_client.d.ts +7 -3
- package/tencentcloud/services/tke/v20180525/tke_client.js +9 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +109 -18
- 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 +36 -35
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +20 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +4 -4
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +228 -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/dlc.v20210125.test.js +14 -4
- package/test/mna.v20210119.test.js +74 -34
- package/test/sqlserver.v20180328.test.js +10 -0
- package/test/tiw.v20190919.test.js +6 -46
- package/test/tke.v20180525.test.js +12 -2
- package/test/wedata.v20210820.test.js +10 -0
|
@@ -3068,7 +3068,21 @@ export interface DescribeFileUrlsRequest {
|
|
|
3068
3068
|
/**
|
|
3069
3069
|
* 电子文档的控件填充信息。按照控件类型进行相应的填充。
|
|
3070
3070
|
|
|
3071
|
+
当控件的 ComponentType=‘SIGN_SEAL'时,FormField.ComponentValue填入印章id。
|
|
3072
|
+
|
|
3073
|
+
* 可用于指定自动签模版未设置自动签印章时,可由接口传入自动签印章
|
|
3074
|
+
* 若指定的控件上已设置ComponentValue,那以已经设置的ComponentValue为准
|
|
3075
|
+
|
|
3076
|
+
```
|
|
3077
|
+
FormField输入示例:
|
|
3078
|
+
{
|
|
3079
|
+
"ComponentId": "componentId1",
|
|
3080
|
+
"ComponentValue": "sealId(印章id)"
|
|
3081
|
+
}
|
|
3082
|
+
```
|
|
3083
|
+
|
|
3071
3084
|
当控件的 ComponentType='TEXT'时,FormField.ComponentValue填入文本内容
|
|
3085
|
+
|
|
3072
3086
|
```
|
|
3073
3087
|
FormField输入示例:
|
|
3074
3088
|
{
|
|
@@ -3076,7 +3090,9 @@ FormField输入示例:
|
|
|
3076
3090
|
"ComponentValue": "文本内容"
|
|
3077
3091
|
}
|
|
3078
3092
|
```
|
|
3093
|
+
|
|
3079
3094
|
当控件的 ComponentType='MULTI_LINE_TEXT'时,FormField.ComponentValue填入文本内容,支持自动换行。
|
|
3095
|
+
|
|
3080
3096
|
```
|
|
3081
3097
|
FormField输入示例:
|
|
3082
3098
|
{
|
|
@@ -3084,7 +3100,9 @@ FormField输入示例:
|
|
|
3084
3100
|
"ComponentValue": "多行文本内容"
|
|
3085
3101
|
}
|
|
3086
3102
|
```
|
|
3103
|
+
|
|
3087
3104
|
当控件的 ComponentType='CHECK_BOX'时,FormField.ComponentValue填入true或false文本
|
|
3105
|
+
|
|
3088
3106
|
```
|
|
3089
3107
|
FormField输入示例:
|
|
3090
3108
|
{
|
|
@@ -3092,7 +3110,9 @@ FormField输入示例:
|
|
|
3092
3110
|
"ComponentValue": "true"
|
|
3093
3111
|
}
|
|
3094
3112
|
```
|
|
3113
|
+
|
|
3095
3114
|
当控件的 ComponentType='FILL_IMAGE'时,FormField.ComponentValue填入图片的资源ID
|
|
3115
|
+
|
|
3096
3116
|
```
|
|
3097
3117
|
FormField输入示例:
|
|
3098
3118
|
{
|
|
@@ -3100,7 +3120,9 @@ FormField输入示例:
|
|
|
3100
3120
|
"ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
3101
3121
|
}
|
|
3102
3122
|
```
|
|
3123
|
+
|
|
3103
3124
|
当控件的 ComponentType='ATTACHMENT'时,FormField.ComponentValue填入附件图片的资源ID列表,以逗号分隔,单个附件控件最多支持6个资源ID;
|
|
3125
|
+
|
|
3104
3126
|
```
|
|
3105
3127
|
FormField输入示例:
|
|
3106
3128
|
{
|
|
@@ -3108,7 +3130,9 @@ FormField输入示例:
|
|
|
3108
3130
|
"ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx1,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx2,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx3"
|
|
3109
3131
|
}
|
|
3110
3132
|
```
|
|
3133
|
+
|
|
3111
3134
|
当控件的 ComponentType='SELECTOR'时,FormField.ComponentValue填入选择的选项内容;
|
|
3135
|
+
|
|
3112
3136
|
```
|
|
3113
3137
|
FormField输入示例:
|
|
3114
3138
|
{
|
|
@@ -3116,7 +3140,9 @@ FormField输入示例:
|
|
|
3116
3140
|
"ComponentValue": "选择的内容"
|
|
3117
3141
|
}
|
|
3118
3142
|
```
|
|
3143
|
+
|
|
3119
3144
|
当控件的 ComponentType='DATE'时,FormField.ComponentValue填入日期内容;
|
|
3145
|
+
|
|
3120
3146
|
```
|
|
3121
3147
|
FormField输入示例:
|
|
3122
3148
|
{
|
|
@@ -3124,7 +3150,9 @@ FormField输入示例:
|
|
|
3124
3150
|
"ComponentValue": "2023年01月01日"
|
|
3125
3151
|
}
|
|
3126
3152
|
```
|
|
3153
|
+
|
|
3127
3154
|
当控件的 ComponentType='DISTRICT'时,FormField.ComponentValue填入省市区内容;
|
|
3155
|
+
|
|
3128
3156
|
```
|
|
3129
3157
|
FormField输入示例:
|
|
3130
3158
|
{
|
|
@@ -3132,6 +3160,7 @@ FormField输入示例:
|
|
|
3132
3160
|
"ComponentValue": "广东省深圳市福田区"
|
|
3133
3161
|
}
|
|
3134
3162
|
```
|
|
3163
|
+
|
|
3135
3164
|
【数据表格传参说明】
|
|
3136
3165
|
当控件的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
|
|
3137
3166
|
输入示例1:
|
|
@@ -3176,7 +3205,6 @@ FormField输入示例:
|
|
|
3176
3205
|
]
|
|
3177
3206
|
}
|
|
3178
3207
|
}
|
|
3179
|
-
|
|
3180
3208
|
```
|
|
3181
3209
|
|
|
3182
3210
|
输入示例2(表格表头宽度比例配置):
|
|
@@ -3224,8 +3252,8 @@ FormField输入示例:
|
|
|
3224
3252
|
]
|
|
3225
3253
|
}
|
|
3226
3254
|
}
|
|
3227
|
-
|
|
3228
3255
|
```
|
|
3256
|
+
|
|
3229
3257
|
表格参数说明
|
|
3230
3258
|
|
|
3231
3259
|
| 名称 | 类型 | 描述 |
|
|
@@ -3862,6 +3890,9 @@ export interface CreateDocumentRequest {
|
|
|
3862
3890
|
FileNames?: Array<string>;
|
|
3863
3891
|
/**
|
|
3864
3892
|
* 电子文档的填写控件的填充内容。具体方式可以参考[FormField](https://qian.tencent.com/developers/companyApis/dataTypes/#formfield)结构体的定义。
|
|
3893
|
+
<ul>
|
|
3894
|
+
<li>支持自动签传递印章,可通过指定自动签控件id,指定印章id来完成</li>
|
|
3895
|
+
</ul>
|
|
3865
3896
|
*/
|
|
3866
3897
|
FormFields?: Array<FormField>;
|
|
3867
3898
|
/**
|
|
@@ -3965,7 +3996,8 @@ export interface CreateEmbedWebUrlRequest {
|
|
|
3965
3996
|
* WEB嵌入的业务资源ID
|
|
3966
3997
|
<ul><li>PREVIEW_SEAL_DETAIL,必填,取值为印章id</li>
|
|
3967
3998
|
<li>MODIFY_TEMPLATE,PREVIEW_TEMPLATE,必填,取值为模板id</li>
|
|
3968
|
-
<li>PREVIEW_FLOW,PREVIEW_FLOW_DETAIL,必填,取值为合同id</li
|
|
3999
|
+
<li>PREVIEW_FLOW,PREVIEW_FLOW_DETAIL,必填,取值为合同id</li>
|
|
4000
|
+
</ul>
|
|
3969
4001
|
*/
|
|
3970
4002
|
BusinessId?: string;
|
|
3971
4003
|
/**
|
|
@@ -3981,6 +4013,20 @@ export interface CreateEmbedWebUrlRequest {
|
|
|
3981
4013
|
* 个性化参数,用于控制页面展示内容
|
|
3982
4014
|
*/
|
|
3983
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;
|
|
3984
4030
|
}
|
|
3985
4031
|
/**
|
|
3986
4032
|
* DeleteIntegrationEmployees请求参数结构体
|
|
@@ -639,7 +639,7 @@ Web链接访问后,会根据子客企业(**Agent中ProxyOrganizationOpenId表
|
|
|
639
639
|
*/
|
|
640
640
|
ChannelCancelUserAutoSignEnableUrl(req: ChannelCancelUserAutoSignEnableUrlRequest, cb?: (error: string, rep: ChannelCancelUserAutoSignEnableUrlResponse) => void): Promise<ChannelCancelUserAutoSignEnableUrlResponse>;
|
|
641
641
|
/**
|
|
642
|
-
* 生成渠道子客用印申请审批小程序链接,链接类型(通过H5
|
|
642
|
+
* 生成渠道子客用印申请审批小程序链接,链接类型(通过H5唤起小程序或通过APP跳转的方式查看)
|
|
643
643
|
*/
|
|
644
644
|
DescribeChannelSealPolicyWorkflowUrl(req: DescribeChannelSealPolicyWorkflowUrlRequest, cb?: (error: string, rep: DescribeChannelSealPolicyWorkflowUrlResponse) => void): Promise<DescribeChannelSealPolicyWorkflowUrlResponse>;
|
|
645
645
|
/**
|
|
@@ -755,7 +755,7 @@ Web链接访问后,会根据子客企业(**Agent中ProxyOrganizationOpenId表
|
|
|
755
755
|
return this.request("ChannelCancelUserAutoSignEnableUrl", req, cb);
|
|
756
756
|
}
|
|
757
757
|
/**
|
|
758
|
-
* 生成渠道子客用印申请审批小程序链接,链接类型(通过H5
|
|
758
|
+
* 生成渠道子客用印申请审批小程序链接,链接类型(通过H5唤起小程序或通过APP跳转的方式查看)
|
|
759
759
|
*/
|
|
760
760
|
async DescribeChannelSealPolicyWorkflowUrl(req, cb) {
|
|
761
761
|
return this.request("DescribeChannelSealPolicyWorkflowUrl", req, cb);
|
|
@@ -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
|
/**
|
|
@@ -3601,6 +3615,14 @@ export interface DescribeChannelSealPolicyWorkflowUrlRequest {
|
|
|
3601
3615
|
* 用印审批单的ID,可通过用印申请回调获取。
|
|
3602
3616
|
*/
|
|
3603
3617
|
WorkflowInstanceId: string;
|
|
3618
|
+
/**
|
|
3619
|
+
* 生成链接的类型:
|
|
3620
|
+
生成链接的类型
|
|
3621
|
+
<ul><li>**LongLink**:(默认)长链接,H5跳转到电子签小程序链接,链接有效期为1年</li>
|
|
3622
|
+
<li>**ShortLink**:H5跳转到电子签小程序链接,一般用于发送短信中带的链接,打开后进入腾讯电子签小程序,链接有效期为7天</li>
|
|
3623
|
+
<li>**App**:第三方APP或小程序跳转电子签小程序链接,一般用于贵方小程序或者APP跳转过来,打开后进入腾讯电子签小程序,链接有效期为1年</li></ul>
|
|
3624
|
+
*/
|
|
3625
|
+
Endpoint?: string;
|
|
3604
3626
|
}
|
|
3605
3627
|
/**
|
|
3606
3628
|
* 此结构体 (FlowInfo) 用于描述签署流程信息。
|
|
@@ -6444,7 +6466,7 @@ export interface OperateChannelTemplateRequest {
|
|
|
6444
6466
|
*/
|
|
6445
6467
|
export interface DescribeChannelSealPolicyWorkflowUrlResponse {
|
|
6446
6468
|
/**
|
|
6447
|
-
* 用印审批小程序链接,链接类型(通过H5
|
|
6469
|
+
* 用印审批小程序链接,链接类型(通过H5唤起小程序或通过APP跳转方式查看)。
|
|
6448
6470
|
*/
|
|
6449
6471
|
WorkflowUrl?: string;
|
|
6450
6472
|
/**
|
|
@@ -6795,6 +6817,20 @@ export interface ChannelCreateEmbedWebUrlRequest {
|
|
|
6795
6817
|
* @deprecated
|
|
6796
6818
|
*/
|
|
6797
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;
|
|
6798
6834
|
}
|
|
6799
6835
|
/**
|
|
6800
6836
|
* 抄送信息
|
|
@@ -207,19 +207,23 @@ export interface ModifyNetworkConfigResponse {
|
|
|
207
207
|
/**
|
|
208
208
|
* 执行状态。<ul><li>true:执行成功。</li><li>false:执行失败。</li></ul>
|
|
209
209
|
*/
|
|
210
|
-
Status
|
|
210
|
+
Status?: boolean;
|
|
211
211
|
/**
|
|
212
212
|
* 修改后的子网 ID。
|
|
213
213
|
*/
|
|
214
|
-
SubnetId
|
|
214
|
+
SubnetId?: string;
|
|
215
215
|
/**
|
|
216
216
|
* 修改后的私有网络 ID。
|
|
217
217
|
*/
|
|
218
|
-
VpcId
|
|
218
|
+
VpcId?: string;
|
|
219
219
|
/**
|
|
220
220
|
* 修改后的 VIP 地址。
|
|
221
221
|
*/
|
|
222
|
-
Vip
|
|
222
|
+
Vip?: string;
|
|
223
|
+
/**
|
|
224
|
+
* 任务ID。
|
|
225
|
+
*/
|
|
226
|
+
TaskId?: number;
|
|
223
227
|
/**
|
|
224
228
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
225
229
|
*/
|
|
@@ -1059,9 +1063,19 @@ export interface DescribeConnectionConfigResponse {
|
|
|
1059
1063
|
*/
|
|
1060
1064
|
OutNetLimit?: number;
|
|
1061
1065
|
/**
|
|
1062
|
-
*
|
|
1066
|
+
* 实例当前单分片连接数限制。
|
|
1063
1067
|
*/
|
|
1064
1068
|
ClientLimit?: number;
|
|
1069
|
+
/**
|
|
1070
|
+
* 单分片连接数限制最小值。
|
|
1071
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1072
|
+
*/
|
|
1073
|
+
ClientLimitMin?: number;
|
|
1074
|
+
/**
|
|
1075
|
+
* 单分片连接数限制最大值。
|
|
1076
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1077
|
+
*/
|
|
1078
|
+
ClientLimitMax?: number;
|
|
1065
1079
|
/**
|
|
1066
1080
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1067
1081
|
*/
|
|
@@ -1816,8 +1816,8 @@ export interface CreateDocumentRequest {
|
|
|
1816
1816
|
Owner: string;
|
|
1817
1817
|
/**
|
|
1818
1818
|
* 转码类型,可以有如下取值:
|
|
1819
|
-
0
|
|
1820
|
-
1 需要转码的文档,ppt,pptx,pdf,doc,docx
|
|
1819
|
+
0 无需转码(默认),bmp,jpg,jpeg,png,gif
|
|
1820
|
+
1 需要转码的文档,ppt,pptx,pdf,doc,docx,xls,xlsx
|
|
1821
1821
|
2 需要转码的视频,mp4,3pg,mpeg,avi,flv,wmv,rm,h264等
|
|
1822
1822
|
2 需要转码的音频,mp3,wav,wma,aac,flac,opus
|
|
1823
1823
|
*/
|
|
@@ -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;
|