tencentcloud-sdk-nodejs 4.0.567 → 4.0.568
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 +160 -0
- package/SERVICE_CHANGELOG.md +259 -296
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +5 -5
- package/src/services/cat/v20180409/cat_models.ts +4 -4
- package/src/services/ccc/v20200210/ccc_models.ts +14 -4
- package/src/services/cdb/v20170320/cdb_models.ts +14 -4
- package/src/services/cdn/v20180606/cdn_models.ts +8 -1
- package/src/services/cls/v20201016/cls_models.ts +39 -8
- package/src/services/cvm/v20170312/cvm_models.ts +2 -2
- package/src/services/ess/v20201111/ess_client.ts +57 -5
- package/src/services/ess/v20201111/ess_models.ts +335 -50
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +23 -11
- package/src/services/monitor/v20180724/monitor_models.ts +5 -0
- package/src/services/mps/v20190612/mps_models.ts +2 -2
- package/src/services/ocr/v20181119/ocr_client.ts +30 -15
- package/src/services/ocr/v20181119/ocr_models.ts +34 -34
- package/src/services/tcss/v20201101/tcss_models.ts +31 -6
- package/src/services/trtc/v20190722/trtc_client.ts +2 -2
- package/src/services/trtc/v20190722/trtc_models.ts +27 -7
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +5 -5
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +4 -4
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +12 -4
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +12 -4
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +8 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +34 -8
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +17 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +24 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +290 -48
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +20 -10
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +4 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +16 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +16 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +34 -34
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +26 -6
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +24 -7
- package/test/ess.v20201111.test.js +40 -0
|
@@ -1770,7 +1770,14 @@ export interface DescribeDistrictIspDataRequest {
|
|
|
1770
1770
|
/**
|
|
1771
1771
|
* 指定查询指标,支持:
|
|
1772
1772
|
bandwidth:带宽,单位为 bps
|
|
1773
|
+
flux:流量,单位为 byte
|
|
1773
1774
|
request:请求数,单位为 次
|
|
1775
|
+
statusCode:状态码,返回 0、2xx、3xx、4xx、5xx 汇总数据,单位为 次
|
|
1776
|
+
2xx:返回 2xx 状态码汇总及各 2 开头状态码数据,单位为 次
|
|
1777
|
+
3xx:返回 3xx 状态码汇总及各 3 开头状态码数据,单位为 次
|
|
1778
|
+
4xx:返回 4xx 状态码汇总及各 4 开头状态码数据,单位为 次
|
|
1779
|
+
5xx:返回 5xx 状态码汇总及各 5 开头状态码数据,单位为 次
|
|
1780
|
+
支持指定具体状态码查询,若未产生过,则返回为空
|
|
1774
1781
|
*/
|
|
1775
1782
|
Metric: string;
|
|
1776
1783
|
/**
|
|
@@ -8357,7 +8364,7 @@ export interface DescribeDistrictIspDataResponse {
|
|
|
8357
8364
|
* 地区运营商数据明细
|
|
8358
8365
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8359
8366
|
*/
|
|
8360
|
-
Data
|
|
8367
|
+
Data?: Array<DistrictIspInfo>;
|
|
8361
8368
|
/**
|
|
8362
8369
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8363
8370
|
*/
|
|
@@ -126,6 +126,16 @@ export interface LogInfo {
|
|
|
126
126
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
127
127
|
*/
|
|
128
128
|
HostName: string;
|
|
129
|
+
/**
|
|
130
|
+
* 原始日志(仅在日志创建索引异常时有值)
|
|
131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
132
|
+
*/
|
|
133
|
+
RawLog?: string;
|
|
134
|
+
/**
|
|
135
|
+
* 日志创建索引异常原因(仅在日志创建索引异常时有值)
|
|
136
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
137
|
+
*/
|
|
138
|
+
IndexStatus?: string;
|
|
129
139
|
}
|
|
130
140
|
/**
|
|
131
141
|
* DeleteAlarmNotice返回参数结构体
|
|
@@ -364,45 +374,45 @@ export interface SearchLogResponse {
|
|
|
364
374
|
/**
|
|
365
375
|
* 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
|
|
366
376
|
*/
|
|
367
|
-
Context
|
|
377
|
+
Context?: string;
|
|
368
378
|
/**
|
|
369
379
|
* 符合检索条件的日志是否已全部返回,如未全部返回可使用Context参数获取后续更多日志
|
|
370
380
|
注意:仅当检索分析语句(Query)不包含SQL时有效
|
|
371
381
|
*/
|
|
372
|
-
ListOver
|
|
382
|
+
ListOver?: boolean;
|
|
373
383
|
/**
|
|
374
384
|
* 返回的是否为统计分析(即SQL)结果
|
|
375
385
|
*/
|
|
376
|
-
Analysis
|
|
386
|
+
Analysis?: boolean;
|
|
377
387
|
/**
|
|
378
388
|
* 匹配检索条件的原始日志
|
|
379
389
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
380
390
|
*/
|
|
381
|
-
Results
|
|
391
|
+
Results?: Array<LogInfo>;
|
|
382
392
|
/**
|
|
383
393
|
* 日志统计分析结果的列名
|
|
384
394
|
当UseNewAnalysis为false时生效
|
|
385
395
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
386
396
|
*/
|
|
387
|
-
ColNames
|
|
397
|
+
ColNames?: Array<string>;
|
|
388
398
|
/**
|
|
389
399
|
* 日志统计分析结果
|
|
390
400
|
当UseNewAnalysis为false时生效
|
|
391
401
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
392
402
|
*/
|
|
393
|
-
AnalysisResults
|
|
403
|
+
AnalysisResults?: Array<LogItems>;
|
|
394
404
|
/**
|
|
395
405
|
* 日志统计分析结果
|
|
396
406
|
当UseNewAnalysis为true时生效
|
|
397
407
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
398
408
|
*/
|
|
399
|
-
AnalysisRecords
|
|
409
|
+
AnalysisRecords?: Array<string>;
|
|
400
410
|
/**
|
|
401
411
|
* 日志统计分析结果的列属性
|
|
402
412
|
当UseNewAnalysis为true时生效
|
|
403
413
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
404
414
|
*/
|
|
405
|
-
Columns
|
|
415
|
+
Columns?: Array<Column>;
|
|
406
416
|
/**
|
|
407
417
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
408
418
|
*/
|
|
@@ -2868,6 +2878,16 @@ export interface LogContextInfo {
|
|
|
2868
2878
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2869
2879
|
*/
|
|
2870
2880
|
HostName: string;
|
|
2881
|
+
/**
|
|
2882
|
+
* 原始日志(仅在日志创建索引异常时有值)
|
|
2883
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2884
|
+
*/
|
|
2885
|
+
RawLog?: string;
|
|
2886
|
+
/**
|
|
2887
|
+
* 日志创建索引异常原因(仅在日志创建索引异常时有值)
|
|
2888
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2889
|
+
*/
|
|
2890
|
+
IndexStatus?: string;
|
|
2871
2891
|
}
|
|
2872
2892
|
/**
|
|
2873
2893
|
* ModifyShipper请求参数结构体
|
|
@@ -3571,6 +3591,12 @@ export interface SearchLogRequest {
|
|
|
3571
3591
|
默认值为1
|
|
3572
3592
|
*/
|
|
3573
3593
|
SamplingRate?: number;
|
|
3594
|
+
/**
|
|
3595
|
+
* 检索语法规则,默认值为0。
|
|
3596
|
+
0:Lucene语法,1:CQL语法。
|
|
3597
|
+
详细说明参见https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules
|
|
3598
|
+
*/
|
|
3599
|
+
SyntaxRule?: number;
|
|
3574
3600
|
}
|
|
3575
3601
|
/**
|
|
3576
3602
|
* CreateMachineGroup请求参数结构体
|
|
@@ -101,7 +101,7 @@ export interface ModifyInstancesProjectRequest {
|
|
|
101
101
|
*/
|
|
102
102
|
InstanceIds: Array<string>;
|
|
103
103
|
/**
|
|
104
|
-
* 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/
|
|
104
|
+
* 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/product/651/81952)接口创建。可通过[`DescribeProject`](https://cloud.tencent.com/document/product/378/4400) API返回值中的`projectId`获取。后续使用[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例时,项目ID可用于过滤结果。
|
|
105
105
|
*/
|
|
106
106
|
ProjectId: number;
|
|
107
107
|
}
|
|
@@ -3845,7 +3845,7 @@ export interface RunInstancesRequest {
|
|
|
3845
3845
|
*/
|
|
3846
3846
|
InternetAccessible?: InternetAccessible;
|
|
3847
3847
|
/**
|
|
3848
|
-
* 购买实例数量。包年包月实例取值范围:[1,
|
|
3848
|
+
* 购买实例数量。包年包月实例取值范围:[1,500],按量计费实例取值范围:[1,500]。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量,具体配额相关限制详见[CVM实例购买限制](https://cloud.tencent.com/document/product/213/2664)。
|
|
3849
3849
|
*/
|
|
3850
3850
|
InstanceCount?: number;
|
|
3851
3851
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CancelFlowResponse, DescribeFlowEvidenceReportRequest, CreatePreparedPersonalEsignRequest, CreateFlowApproversResponse, DescribeIntegrationMainOrganizationUserRequest, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, DisableUserAutoSignResponse, CreateIntegrationEmployeesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse,
|
|
3
|
+
import { CancelFlowResponse, DescribeFlowEvidenceReportRequest, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, CreateFlowApproversResponse, DescribeIntegrationMainOrganizationUserRequest, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, DisableUserAutoSignResponse, CreateIntegrationEmployeesRequest, CreateConvertTaskApiRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, DescribeIntegrationRolesRequest, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, DescribeFlowTemplatesRequest, DescribeFlowEvidenceReportResponse, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DescribeThirdPartyAuthCodeRequest, CreateReleaseFlowResponse, DescribeFlowInfoRequest, DeleteSealPoliciesResponse, DescribeUserAutoSignStatusResponse, CreateBatchCancelFlowUrlResponse, CreateSealPolicyResponse, DisableUserAutoSignRequest, DescribeIntegrationEmployeesResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, CreateSchemeUrlResponse, CreateUserAutoSignEnableUrlResponse, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreateFlowApproversRequest, CreateFlowEvidenceReportResponse, DescribeFileUrlsResponse, DeleteIntegrationRoleUsersResponse, CreateDocumentRequest, CreatePreparedPersonalEsignResponse, DescribeOrganizationSealsResponse, DeleteIntegrationEmployeesRequest, GetTaskResultApiRequest, CreateIntegrationEmployeesResponse, DeleteIntegrationRoleUsersRequest, CreateFlowSignUrlRequest, CreateReleaseFlowRequest, CreateIntegrationUserRolesRequest, CreateFlowByFilesResponse, UploadFilesResponse, VerifyPdfRequest, CreateFlowSignReviewResponse, CreateUserAutoSignEnableUrlRequest, DescribeIntegrationMainOrganizationUserResponse, DeleteSealPoliciesRequest, CreateFlowByFilesRequest, CreatePrepareFlowResponse, GetTaskResultApiResponse, CancelMultiFlowSignQRCodeRequest, ModifyApplicationCallbackInfoRequest, StartFlowRequest, CreatePrepareFlowRequest, CreateSealPolicyRequest, DescribeOrganizationSealsRequest, CancelFlowRequest, DescribeIntegrationRolesResponse, CreateFlowRemindsRequest, UpdateIntegrationEmployeesRequest, DescribeFlowBriefsRequest, DeleteIntegrationEmployeesResponse, VerifyPdfResponse, DescribeFlowBriefsResponse, DescribeFlowTemplatesResponse, UploadFilesRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, DescribeFlowInfoResponse, CreateFlowResponse, DescribeUserAutoSignStatusRequest, DescribeOrganizationGroupOrganizationsResponse, CancelMultiFlowSignQRCodeResponse } from "./ess_models";
|
|
4
4
|
/**
|
|
5
5
|
* ess client
|
|
6
6
|
* @class
|
|
@@ -76,6 +76,10 @@ callbackinfo包含: 回调地址和签名key
|
|
|
76
76
|
* 企业方可以通过此接口关闭个人的自动签功能
|
|
77
77
|
*/
|
|
78
78
|
DisableUserAutoSign(req: DisableUserAutoSignRequest, cb?: (error: string, rep: DisableUserAutoSignResponse) => void): Promise<DisableUserAutoSignResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* 解绑用户角色绑定关系
|
|
81
|
+
*/
|
|
82
|
+
DeleteIntegrationRoleUsers(req: DeleteIntegrationRoleUsersRequest, cb?: (error: string, rep: DeleteIntegrationRoleUsersResponse) => void): Promise<DeleteIntegrationRoleUsersResponse>;
|
|
79
83
|
/**
|
|
80
84
|
* 提交企业签署流程审批结果
|
|
81
85
|
适用场景:
|
|
@@ -130,6 +134,10 @@ callbackinfo包含: 回调地址和签名key
|
|
|
130
134
|
注意事项:该接口需要依赖“多文件上传”接口生成pdf资源编号(FileIds)进行使用。
|
|
131
135
|
*/
|
|
132
136
|
CreateFlowByFiles(req: CreateFlowByFilesRequest, cb?: (error: string, rep: CreateFlowByFilesResponse) => void): Promise<CreateFlowByFilesResponse>;
|
|
137
|
+
/**
|
|
138
|
+
* 查询集成版角色
|
|
139
|
+
*/
|
|
140
|
+
DescribeIntegrationRoles(req: DescribeIntegrationRolesRequest, cb?: (error: string, rep: DescribeIntegrationRolesResponse) => void): Promise<DescribeIntegrationRolesResponse>;
|
|
133
141
|
/**
|
|
134
142
|
* 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
|
|
135
143
|
适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
|
|
@@ -162,6 +170,10 @@ callbackinfo包含: 回调地址和签名key
|
|
|
162
170
|
日调用量默认10W
|
|
163
171
|
*/
|
|
164
172
|
DescribeFlowBriefs(req: DescribeFlowBriefsRequest, cb?: (error: string, rep: DescribeFlowBriefsResponse) => void): Promise<DescribeFlowBriefsResponse>;
|
|
173
|
+
/**
|
|
174
|
+
* 集成版绑定员工角色
|
|
175
|
+
*/
|
|
176
|
+
CreateIntegrationUserRoles(req: CreateIntegrationUserRolesRequest, cb?: (error: string, rep: CreateIntegrationUserRolesResponse) => void): Promise<CreateIntegrationUserRolesResponse>;
|
|
165
177
|
/**
|
|
166
178
|
* 此接口(UploadFiles)用于文件上传。
|
|
167
179
|
适用场景:用于生成pdf资源编号(FileIds)来配合“用PDF创建流程”接口使用,使用场景可详见“用PDF创建流程”接口说明。
|
|
@@ -210,4 +222,8 @@ callbackinfo包含: 回调地址和签名key
|
|
|
210
222
|
* 创建员工,如需在此接口提醒员工实名,入参Employees的OpenId不传
|
|
211
223
|
*/
|
|
212
224
|
CreateIntegrationEmployees(req: CreateIntegrationEmployeesRequest, cb?: (error: string, rep: CreateIntegrationEmployeesResponse) => void): Promise<CreateIntegrationEmployeesResponse>;
|
|
225
|
+
/**
|
|
226
|
+
* 更新集成版员工信息(姓名,手机号,邮件),用户实名后无法更改姓名与手机号
|
|
227
|
+
*/
|
|
228
|
+
UpdateIntegrationEmployees(req: UpdateIntegrationEmployeesRequest, cb?: (error: string, rep: UpdateIntegrationEmployeesResponse) => void): Promise<UpdateIntegrationEmployeesResponse>;
|
|
213
229
|
}
|
|
@@ -124,6 +124,12 @@ callbackinfo包含: 回调地址和签名key
|
|
|
124
124
|
async DisableUserAutoSign(req, cb) {
|
|
125
125
|
return this.request("DisableUserAutoSign", req, cb);
|
|
126
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* 解绑用户角色绑定关系
|
|
129
|
+
*/
|
|
130
|
+
async DeleteIntegrationRoleUsers(req, cb) {
|
|
131
|
+
return this.request("DeleteIntegrationRoleUsers", req, cb);
|
|
132
|
+
}
|
|
127
133
|
/**
|
|
128
134
|
* 提交企业签署流程审批结果
|
|
129
135
|
适用场景:
|
|
@@ -198,6 +204,12 @@ callbackinfo包含: 回调地址和签名key
|
|
|
198
204
|
async CreateFlowByFiles(req, cb) {
|
|
199
205
|
return this.request("CreateFlowByFiles", req, cb);
|
|
200
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* 查询集成版角色
|
|
209
|
+
*/
|
|
210
|
+
async DescribeIntegrationRoles(req, cb) {
|
|
211
|
+
return this.request("DescribeIntegrationRoles", req, cb);
|
|
212
|
+
}
|
|
201
213
|
/**
|
|
202
214
|
* 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
|
|
203
215
|
适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
|
|
@@ -244,6 +256,12 @@ callbackinfo包含: 回调地址和签名key
|
|
|
244
256
|
async DescribeFlowBriefs(req, cb) {
|
|
245
257
|
return this.request("DescribeFlowBriefs", req, cb);
|
|
246
258
|
}
|
|
259
|
+
/**
|
|
260
|
+
* 集成版绑定员工角色
|
|
261
|
+
*/
|
|
262
|
+
async CreateIntegrationUserRoles(req, cb) {
|
|
263
|
+
return this.request("CreateIntegrationUserRoles", req, cb);
|
|
264
|
+
}
|
|
247
265
|
/**
|
|
248
266
|
* 此接口(UploadFiles)用于文件上传。
|
|
249
267
|
适用场景:用于生成pdf资源编号(FileIds)来配合“用PDF创建流程”接口使用,使用场景可详见“用PDF创建流程”接口说明。
|
|
@@ -308,5 +326,11 @@ callbackinfo包含: 回调地址和签名key
|
|
|
308
326
|
async CreateIntegrationEmployees(req, cb) {
|
|
309
327
|
return this.request("CreateIntegrationEmployees", req, cb);
|
|
310
328
|
}
|
|
329
|
+
/**
|
|
330
|
+
* 更新集成版员工信息(姓名,手机号,邮件),用户实名后无法更改姓名与手机号
|
|
331
|
+
*/
|
|
332
|
+
async UpdateIntegrationEmployees(req, cb) {
|
|
333
|
+
return this.request("UpdateIntegrationEmployees", req, cb);
|
|
334
|
+
}
|
|
311
335
|
}
|
|
312
336
|
exports.Client = Client;
|