tencentcloud-sdk-nodejs 4.0.763 → 4.0.764
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 +205 -0
- package/SERVICE_CHANGELOG.md +291 -50
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/v20201229/ams_client.ts +1 -2
- package/src/services/ams/v20201229/ams_models.ts +67 -1
- package/src/services/bi/v20220105/bi_models.ts +5 -0
- package/src/services/ccc/v20200210/ccc_models.ts +31 -28
- package/src/services/cdb/v20170320/cdb_client.ts +2 -2
- package/src/services/cdb/v20170320/cdb_models.ts +31 -22
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +5 -0
- package/src/services/cvm/v20170312/cvm_client.ts +3 -3
- package/src/services/cvm/v20170312/cvm_models.ts +11 -8
- package/src/services/dnspod/v20210323/dnspod_models.ts +4 -0
- package/src/services/dts/v20211206/dts_models.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +143 -170
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +4 -1
- package/src/services/faceid/v20180301/faceid_client.ts +2 -0
- package/src/services/faceid/v20180301/faceid_models.ts +36 -0
- package/src/services/redis/v20180412/redis_models.ts +23 -14
- package/src/services/tag/v20180813/tag_models.ts +1 -1
- package/src/services/trp/v20210515/trp_client.ts +20 -7
- package/src/services/trp/v20210515/trp_models.ts +141 -48
- package/src/services/vm/v20210922/vm_client.ts +1 -0
- package/src/services/vm/v20210922/vm_models.ts +67 -0
- package/src/services/vpc/v20170312/vpc_client.ts +32 -16
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ams/v20201229/ams_client.d.ts +0 -2
- package/tencentcloud/services/ams/v20201229/ams_client.js +0 -2
- package/tencentcloud/services/ams/v20201229/ams_models.d.ts +66 -1
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +5 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +31 -28
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +2 -2
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +2 -2
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +31 -22
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +5 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +3 -3
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +3 -3
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +11 -8
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +143 -170
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +34 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +23 -14
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +7 -3
- package/tencentcloud/services/trp/v20210515/trp_client.js +9 -3
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +138 -48
- package/tencentcloud/services/vm/v20210922/vm_models.d.ts +66 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +16 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +16 -0
- package/test/trp.v20210515.test.js +12 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeScanLogsResponse, DescribeProductsRequest, CreateCorporationOrderResponse, ModifyProductResponse, ModifyProductRequest, ModifyCustomRuleRequest, DeleteCodeBatchRequest, DescribeMerchantsRequest, ModifyTraceCodeRequest, DescribeCustomRulesResponse, CreateMerchantRequest, DescribeCodeBatchByIdRequest, DescribeTraceCodeByIdResponse, DescribeProductsResponse, CreateTraceChainResponse, DescribeTraceDataListResponse, DescribeTraceCodesRequest, CreateTraceCodesAsyncRequest, ModifyTraceDataResponse, AuthorizedTransferResponse, CreateCodeBatchResponse, DescribeCustomRulesRequest, CreateCustomRuleRequest, DescribeCodePackStatusRequest, ModifyTraceDataRequest, DescribeCodeBatchsRequest, DescribeAgentCorpsResponse, ModifyTraceDataRanksResponse, CreateTraceCodesRequest, DescribeCodeBatchByIdResponse, DescribeCorpQuotasResponse, DescribeCodePackStatusResponse, EffectFeedbackResponse, ModifyCustomRuleResponse, ModifyMerchantResponse, DescribeCodesByPackResponse, CreateProductResponse, CreateTraceDataRequest, CreateCodePackRequest, DescribeCorpQuotasRequest, AuthorizedTransferRequest, ReportBatchCallbackStatusRequest, DescribeCodeBatchesResponse, CreateProductRequest, CreateCustomPackRequest, CreateCodeBatchRequest, DescribeCustomRuleByIdRequest, DescribeAgentCorpsRequest, ReportBatchCallbackStatusResponse, DescribeRawScanLogsRequest, DeleteProductRequest, ModifyTraceDataRanksRequest, ModifyCustomRuleStatusResponse, CreateCustomPackResponse, ModifyMerchantRequest, DescribeTmpTokenResponse, DescribeCodePackUrlRequest, DeleteProductResponse, DeleteTraceDataResponse, ModifyCustomRuleStatusRequest, CreateCodePackResponse, DescribeMerchantByIdResponse, EffectFeedbackRequest, DescribeTraceDataByIdResponse, CreateTraceDataResponse, DescribeCustomRuleByIdResponse, DescribeCodeBatchsResponse, CreateCustomRuleResponse, ModifyTraceCodeUnlinkRequest, DescribeCodePacksResponse, DescribeCodesByPackRequest, DescribeJobFileUrlRequest, CreateTraceCodesAsyncResponse, DescribePlanQRCodesRequest, ModifyCodeBatchRequest, DescribeProductByIdRequest, DescribeTraceCodesResponse, CreateCorporationOrderRequest, CreateTraceCodesResponse, DeleteTraceDataRequest, DescribeScanLogsRequest, ModifyTraceCodeUnlinkResponse, DescribeCodeBatchesRequest, DescribeTmpTokenRequest, DescribeScanStatsResponse, CreateMerchantResponse, DescribeMerchantsResponse, DescribeRawScanLogsResponse, DescribeTraceDataListRequest, DescribeScanStatsRequest, DeleteMerchantResponse, DeleteCodeBatchResponse, CreateTraceChainRequest, DescribeMerchantByIdRequest, DescribeTraceDataByIdRequest, DescribeProductByIdResponse, DescribeCodePacksRequest, DescribeJobFileUrlResponse, DescribePlanQRCodesResponse, DescribeTraceCodeByIdRequest, ModifyCodeBatchResponse, ModifyTraceCodeResponse, DescribeCodePackUrlResponse, DeleteMerchantRequest } from "./trp_models";
|
|
3
|
+
import { DescribeScanLogsResponse, DescribeProductsRequest, CreateCorporationOrderResponse, ModifyProductResponse, ModifyProductRequest, ModifyCustomRuleRequest, DeleteCodeBatchRequest, DescribeMerchantsRequest, ModifyTraceCodeRequest, DescribeCustomRulesResponse, CreateMerchantRequest, DescribeCodeBatchByIdRequest, DescribeTraceCodeByIdResponse, DescribeProductsResponse, CreateTraceChainResponse, DescribeTraceDataListResponse, DescribeTraceCodesRequest, CreateTraceCodesAsyncRequest, ModifyTraceDataResponse, AuthorizedTransferResponse, CreateCodeBatchResponse, DescribeCustomRulesRequest, CreateCustomRuleRequest, DescribeCodePackStatusRequest, ModifyTraceDataRequest, DescribeCodeBatchsRequest, DescribeAgentCorpsResponse, ModifyTraceDataRanksResponse, CreateTraceCodesRequest, DescribeCodeBatchByIdResponse, DescribeCorpQuotasResponse, DescribeCodePackStatusResponse, EffectFeedbackResponse, ModifyCustomRuleResponse, ModifyMerchantResponse, DescribeCodesByPackResponse, CreateProductResponse, CreateTraceDataRequest, CreateCodePackRequest, DescribeCorpQuotasRequest, AuthorizedTransferRequest, ReportBatchCallbackStatusRequest, DescribeCodeBatchesResponse, CreateProductRequest, CreateCustomPackRequest, CreateCodeBatchRequest, DescribeCustomRuleByIdRequest, DescribeAgentCorpsRequest, ReportBatchCallbackStatusResponse, DescribeRawScanLogsRequest, DeleteProductRequest, ModifyTraceDataRanksRequest, ModifyCustomRuleStatusResponse, CreateCustomPackResponse, ModifyMerchantRequest, DescribeTmpTokenResponse, DescribeCodePackUrlRequest, DeleteProductResponse, DeleteTraceDataResponse, ModifyCustomRuleStatusRequest, CreateCodePackResponse, DescribeMerchantByIdResponse, EffectFeedbackRequest, DescribeTraceDataByIdResponse, CreateTraceDataResponse, DescribeCustomRuleByIdResponse, DescribeCodeBatchsResponse, CreateCustomRuleResponse, DescribePlanQRCodeScanRecordsResponse, ModifyTraceCodeUnlinkRequest, DescribeCodePacksResponse, DescribeCodesByPackRequest, DescribeJobFileUrlRequest, CreateTraceCodesAsyncResponse, DescribePlanQRCodeScanRecordsRequest, DescribePlanQRCodesRequest, ModifyCodeBatchRequest, DescribeProductByIdRequest, DescribeTraceCodesResponse, CreateCorporationOrderRequest, CreateTraceCodesResponse, DeleteTraceDataRequest, DescribeScanLogsRequest, ModifyTraceCodeUnlinkResponse, DescribeCodeBatchesRequest, DescribeTmpTokenRequest, DescribeScanStatsResponse, CreateMerchantResponse, DescribeMerchantsResponse, DescribeRawScanLogsResponse, DescribeTraceDataListRequest, DescribeScanStatsRequest, DeleteMerchantResponse, DeleteCodeBatchResponse, CreateTraceChainRequest, DescribeMerchantByIdRequest, DescribeTraceDataByIdRequest, DescribeProductByIdResponse, DescribeCodePacksRequest, DescribeJobFileUrlResponse, DescribePlanQRCodesResponse, DescribeTraceCodeByIdRequest, ModifyCodeBatchResponse, ModifyTraceCodeResponse, DescribeCodePackUrlResponse, DeleteMerchantRequest } from "./trp_models";
|
|
4
4
|
/**
|
|
5
5
|
* trp client
|
|
6
6
|
* @class
|
|
@@ -68,6 +68,10 @@ export declare class Client extends AbstractClient {
|
|
|
68
68
|
* 新建商品
|
|
69
69
|
*/
|
|
70
70
|
CreateProduct(req: CreateProductRequest, cb?: (error: string, rep: CreateProductResponse) => void): Promise<CreateProductResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* 修改自定义码规则
|
|
73
|
+
*/
|
|
74
|
+
ModifyCustomRule(req: ModifyCustomRuleRequest, cb?: (error: string, rep: ModifyCustomRuleResponse) => void): Promise<ModifyCustomRuleResponse>;
|
|
71
75
|
/**
|
|
72
76
|
* 查询渠道企业列表
|
|
73
77
|
*/
|
|
@@ -81,9 +85,9 @@ export declare class Client extends AbstractClient {
|
|
|
81
85
|
*/
|
|
82
86
|
ReportBatchCallbackStatus(req: ReportBatchCallbackStatusRequest, cb?: (error: string, rep: ReportBatchCallbackStatusResponse) => void): Promise<ReportBatchCallbackStatusResponse>;
|
|
83
87
|
/**
|
|
84
|
-
*
|
|
88
|
+
* 查询安心计划二维码扫码记录
|
|
85
89
|
*/
|
|
86
|
-
|
|
90
|
+
DescribePlanQRCodeScanRecords(req: DescribePlanQRCodeScanRecordsRequest, cb?: (error: string, rep: DescribePlanQRCodeScanRecordsResponse) => void): Promise<DescribePlanQRCodeScanRecordsResponse>;
|
|
87
91
|
/**
|
|
88
92
|
* 修改溯源信息
|
|
89
93
|
*/
|
|
@@ -118,6 +118,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
118
118
|
async CreateProduct(req, cb) {
|
|
119
119
|
return this.request("CreateProduct", req, cb);
|
|
120
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* 修改自定义码规则
|
|
123
|
+
*/
|
|
124
|
+
async ModifyCustomRule(req, cb) {
|
|
125
|
+
return this.request("ModifyCustomRule", req, cb);
|
|
126
|
+
}
|
|
121
127
|
/**
|
|
122
128
|
* 查询渠道企业列表
|
|
123
129
|
*/
|
|
@@ -137,10 +143,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
137
143
|
return this.request("ReportBatchCallbackStatus", req, cb);
|
|
138
144
|
}
|
|
139
145
|
/**
|
|
140
|
-
*
|
|
146
|
+
* 查询安心计划二维码扫码记录
|
|
141
147
|
*/
|
|
142
|
-
async
|
|
143
|
-
return this.request("
|
|
148
|
+
async DescribePlanQRCodeScanRecords(req, cb) {
|
|
149
|
+
return this.request("DescribePlanQRCodeScanRecords", req, cb);
|
|
144
150
|
}
|
|
145
151
|
/**
|
|
146
152
|
* 修改溯源信息
|
|
@@ -6,77 +6,78 @@ export interface CodeBatch {
|
|
|
6
6
|
* 批次号
|
|
7
7
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8
8
|
*/
|
|
9
|
-
BatchId
|
|
9
|
+
BatchId?: string;
|
|
10
10
|
/**
|
|
11
11
|
* 企业ID
|
|
12
12
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13
13
|
*/
|
|
14
|
-
CorpId
|
|
14
|
+
CorpId?: number;
|
|
15
15
|
/**
|
|
16
16
|
* 批次编码(未使用)
|
|
17
17
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18
18
|
*/
|
|
19
|
-
BatchCode
|
|
19
|
+
BatchCode?: string;
|
|
20
20
|
/**
|
|
21
21
|
* 码数量
|
|
22
22
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
23
23
|
*/
|
|
24
|
-
CodeCnt
|
|
24
|
+
CodeCnt?: number;
|
|
25
25
|
/**
|
|
26
26
|
* 所属商户ID
|
|
27
27
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
28
28
|
*/
|
|
29
|
-
MerchantId
|
|
29
|
+
MerchantId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* 产品ID
|
|
32
32
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33
33
|
*/
|
|
34
|
-
ProductId
|
|
34
|
+
ProductId?: string;
|
|
35
35
|
/**
|
|
36
36
|
* 批次类型
|
|
37
37
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
38
38
|
*/
|
|
39
|
-
BatchType
|
|
39
|
+
BatchType?: number;
|
|
40
40
|
/**
|
|
41
41
|
* 备注
|
|
42
42
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
43
43
|
*/
|
|
44
|
-
Remark
|
|
44
|
+
Remark?: string;
|
|
45
45
|
/**
|
|
46
46
|
* 微信模板
|
|
47
47
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
48
|
*/
|
|
49
|
-
MpTpl
|
|
49
|
+
MpTpl?: string;
|
|
50
50
|
/**
|
|
51
51
|
* 批次状态 0: 未激活 1: 已激活 -1: 已冻结
|
|
52
52
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
53
53
|
*/
|
|
54
|
-
Status
|
|
54
|
+
Status?: number;
|
|
55
55
|
/**
|
|
56
56
|
* 创建时间
|
|
57
57
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
58
58
|
*/
|
|
59
|
-
CreateTime
|
|
59
|
+
CreateTime?: string;
|
|
60
60
|
/**
|
|
61
61
|
* 修改时间
|
|
62
62
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
63
63
|
*/
|
|
64
|
-
UpdateTime
|
|
64
|
+
UpdateTime?: string;
|
|
65
65
|
/**
|
|
66
66
|
* 所属商户名称
|
|
67
67
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
68
68
|
*/
|
|
69
|
-
MerchantName
|
|
69
|
+
MerchantName?: string;
|
|
70
70
|
/**
|
|
71
71
|
* 产品名称
|
|
72
72
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
73
73
|
*/
|
|
74
|
-
ProductName
|
|
74
|
+
ProductName?: string;
|
|
75
75
|
/**
|
|
76
76
|
* 未使用
|
|
77
77
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
78
|
+
* @deprecated
|
|
78
79
|
*/
|
|
79
|
-
Ext
|
|
80
|
+
Ext?: Ext;
|
|
80
81
|
/**
|
|
81
82
|
* 模板名称
|
|
82
83
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -977,6 +978,55 @@ export interface CorpQuota {
|
|
|
977
978
|
*/
|
|
978
979
|
UsageQuota: UsageQuota;
|
|
979
980
|
}
|
|
981
|
+
/**
|
|
982
|
+
* 扫码统计
|
|
983
|
+
*/
|
|
984
|
+
export interface ScanStat {
|
|
985
|
+
/**
|
|
986
|
+
* 安心码
|
|
987
|
+
*/
|
|
988
|
+
Code?: string;
|
|
989
|
+
/**
|
|
990
|
+
* 企业ID
|
|
991
|
+
*/
|
|
992
|
+
CorpId?: number;
|
|
993
|
+
/**
|
|
994
|
+
* 商户ID
|
|
995
|
+
*/
|
|
996
|
+
MerchantId?: string;
|
|
997
|
+
/**
|
|
998
|
+
* 产品ID
|
|
999
|
+
*/
|
|
1000
|
+
ProductId?: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* 批次ID
|
|
1003
|
+
*/
|
|
1004
|
+
BatchId?: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* 扫码次数
|
|
1007
|
+
*/
|
|
1008
|
+
Pv?: number;
|
|
1009
|
+
/**
|
|
1010
|
+
* 扫码人数
|
|
1011
|
+
*/
|
|
1012
|
+
Uv?: number;
|
|
1013
|
+
/**
|
|
1014
|
+
* 创建时间
|
|
1015
|
+
*/
|
|
1016
|
+
CreateTime?: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* 更新时间
|
|
1019
|
+
*/
|
|
1020
|
+
UpdateTime?: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* 商户名称
|
|
1023
|
+
*/
|
|
1024
|
+
MerchantName?: string;
|
|
1025
|
+
/**
|
|
1026
|
+
* 产品名称
|
|
1027
|
+
*/
|
|
1028
|
+
ProductName?: string;
|
|
1029
|
+
}
|
|
980
1030
|
/**
|
|
981
1031
|
* CreateCustomRule请求参数结构体
|
|
982
1032
|
*/
|
|
@@ -1653,7 +1703,14 @@ export interface CreateCustomPackRequest {
|
|
|
1653
1703
|
/**
|
|
1654
1704
|
* 预留字段
|
|
1655
1705
|
*/
|
|
1656
|
-
export
|
|
1706
|
+
export interface Ext {
|
|
1707
|
+
/**
|
|
1708
|
+
* 字符串
|
|
1709
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1710
|
+
* @deprecated
|
|
1711
|
+
*/
|
|
1712
|
+
Value?: string;
|
|
1713
|
+
}
|
|
1657
1714
|
/**
|
|
1658
1715
|
* CreateCodeBatch请求参数结构体
|
|
1659
1716
|
*/
|
|
@@ -2195,6 +2252,27 @@ export interface CreateCustomRuleResponse {
|
|
|
2195
2252
|
*/
|
|
2196
2253
|
RequestId?: string;
|
|
2197
2254
|
}
|
|
2255
|
+
/**
|
|
2256
|
+
* DescribePlanQRCodeScanRecords返回参数结构体
|
|
2257
|
+
*/
|
|
2258
|
+
export interface DescribePlanQRCodeScanRecordsResponse {
|
|
2259
|
+
/**
|
|
2260
|
+
* 返回码
|
|
2261
|
+
*/
|
|
2262
|
+
Ret?: number;
|
|
2263
|
+
/**
|
|
2264
|
+
* 总数
|
|
2265
|
+
*/
|
|
2266
|
+
Total?: number;
|
|
2267
|
+
/**
|
|
2268
|
+
* 数据
|
|
2269
|
+
*/
|
|
2270
|
+
Data?: Array<PlanQRCodeRecord>;
|
|
2271
|
+
/**
|
|
2272
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2273
|
+
*/
|
|
2274
|
+
RequestId?: string;
|
|
2275
|
+
}
|
|
2198
2276
|
/**
|
|
2199
2277
|
* ModifyTraceCodeUnlink请求参数结构体
|
|
2200
2278
|
*/
|
|
@@ -2271,6 +2349,27 @@ export interface CreateTraceCodesAsyncResponse {
|
|
|
2271
2349
|
*/
|
|
2272
2350
|
RequestId?: string;
|
|
2273
2351
|
}
|
|
2352
|
+
/**
|
|
2353
|
+
* DescribePlanQRCodeScanRecords请求参数结构体
|
|
2354
|
+
*/
|
|
2355
|
+
export interface DescribePlanQRCodeScanRecordsRequest {
|
|
2356
|
+
/**
|
|
2357
|
+
* 开始时间
|
|
2358
|
+
*/
|
|
2359
|
+
StartTime: string;
|
|
2360
|
+
/**
|
|
2361
|
+
* 结束时间
|
|
2362
|
+
*/
|
|
2363
|
+
EndTime: string;
|
|
2364
|
+
/**
|
|
2365
|
+
* 页码
|
|
2366
|
+
*/
|
|
2367
|
+
PageNo: number;
|
|
2368
|
+
/**
|
|
2369
|
+
* 页大小
|
|
2370
|
+
*/
|
|
2371
|
+
PageSize: number;
|
|
2372
|
+
}
|
|
2274
2373
|
/**
|
|
2275
2374
|
* 原始扫码日志
|
|
2276
2375
|
*/
|
|
@@ -3122,53 +3221,44 @@ export interface ModifyCodeBatchResponse {
|
|
|
3122
3221
|
RequestId?: string;
|
|
3123
3222
|
}
|
|
3124
3223
|
/**
|
|
3125
|
-
*
|
|
3224
|
+
* 安心计划二维码扫码记录
|
|
3126
3225
|
*/
|
|
3127
|
-
export interface
|
|
3128
|
-
/**
|
|
3129
|
-
* 安心码
|
|
3130
|
-
*/
|
|
3131
|
-
Code?: string;
|
|
3226
|
+
export interface PlanQRCodeRecord {
|
|
3132
3227
|
/**
|
|
3133
|
-
*
|
|
3134
|
-
|
|
3135
|
-
CorpId?: number;
|
|
3136
|
-
/**
|
|
3137
|
-
* 商户ID
|
|
3138
|
-
*/
|
|
3139
|
-
MerchantId?: string;
|
|
3140
|
-
/**
|
|
3141
|
-
* 产品ID
|
|
3228
|
+
* 二维码
|
|
3229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3142
3230
|
*/
|
|
3143
|
-
|
|
3231
|
+
Url: string;
|
|
3144
3232
|
/**
|
|
3145
|
-
*
|
|
3233
|
+
* OpenID
|
|
3234
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3146
3235
|
*/
|
|
3147
|
-
|
|
3236
|
+
OpenId: string;
|
|
3148
3237
|
/**
|
|
3149
|
-
*
|
|
3238
|
+
* 扫码时间
|
|
3239
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3150
3240
|
*/
|
|
3151
|
-
|
|
3241
|
+
ScanTime: string;
|
|
3152
3242
|
/**
|
|
3153
|
-
*
|
|
3154
|
-
|
|
3155
|
-
Uv?: number;
|
|
3156
|
-
/**
|
|
3157
|
-
* 创建时间
|
|
3243
|
+
* IP 地址
|
|
3244
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3158
3245
|
*/
|
|
3159
|
-
|
|
3246
|
+
Ip: string;
|
|
3160
3247
|
/**
|
|
3161
|
-
*
|
|
3248
|
+
* 国家
|
|
3249
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3162
3250
|
*/
|
|
3163
|
-
|
|
3251
|
+
Country: string;
|
|
3164
3252
|
/**
|
|
3165
|
-
*
|
|
3253
|
+
* 省份
|
|
3254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3166
3255
|
*/
|
|
3167
|
-
|
|
3256
|
+
Province: string;
|
|
3168
3257
|
/**
|
|
3169
|
-
*
|
|
3258
|
+
* 城市
|
|
3259
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3170
3260
|
*/
|
|
3171
|
-
|
|
3261
|
+
City: string;
|
|
3172
3262
|
}
|
|
3173
3263
|
/**
|
|
3174
3264
|
* ModifyTraceCode返回参数结构体
|
|
@@ -337,6 +337,68 @@ export interface DescribeTaskDetailRequest {
|
|
|
337
337
|
*/
|
|
338
338
|
ShowAllSegments?: boolean;
|
|
339
339
|
}
|
|
340
|
+
/**
|
|
341
|
+
* 用户信息
|
|
342
|
+
*/
|
|
343
|
+
export interface User {
|
|
344
|
+
/**
|
|
345
|
+
* 业务用户ID 如填写,会根据账号历史恶意情况,判定消息有害结果,特别是有利于可疑恶意情况下的辅助判断。账号可以填写微信uin、QQ号、微信openid、QQopenid、字符串等。该字段和账号类别确定唯一账号。
|
|
346
|
+
*/
|
|
347
|
+
UserId?: string;
|
|
348
|
+
/**
|
|
349
|
+
* 该字段表示业务用户ID对应的账号类型,取值:1-微信uin,2-QQ号,3-微信群uin,4-qq群号,5-微信openid,6-QQopenid,7-其它string。
|
|
350
|
+
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
|
|
351
|
+
*/
|
|
352
|
+
AccountType?: string;
|
|
353
|
+
/**
|
|
354
|
+
* 用户昵称
|
|
355
|
+
*/
|
|
356
|
+
Nickname?: string;
|
|
357
|
+
/**
|
|
358
|
+
* 性别 默认0 未知 1 男性 2 女性
|
|
359
|
+
*/
|
|
360
|
+
Gender?: number;
|
|
361
|
+
/**
|
|
362
|
+
* 年龄 默认0 未知
|
|
363
|
+
*/
|
|
364
|
+
Age?: number;
|
|
365
|
+
/**
|
|
366
|
+
* 用户等级,默认0 未知 1 低 2 中 3 高
|
|
367
|
+
*/
|
|
368
|
+
Level?: number;
|
|
369
|
+
/**
|
|
370
|
+
* 手机号
|
|
371
|
+
*/
|
|
372
|
+
Phone?: string;
|
|
373
|
+
/**
|
|
374
|
+
* 用户简介,长度不超过5000字
|
|
375
|
+
*/
|
|
376
|
+
Desc?: string;
|
|
377
|
+
/**
|
|
378
|
+
* 用户头像图片链接
|
|
379
|
+
*/
|
|
380
|
+
HeadUrl?: string;
|
|
381
|
+
/**
|
|
382
|
+
* 群聊场景房间ID
|
|
383
|
+
*/
|
|
384
|
+
RoomId?: string;
|
|
385
|
+
/**
|
|
386
|
+
* 群聊场景群ID
|
|
387
|
+
*/
|
|
388
|
+
GroupId?: string;
|
|
389
|
+
/**
|
|
390
|
+
* 群聊场景群用户数
|
|
391
|
+
*/
|
|
392
|
+
GroupSize?: number;
|
|
393
|
+
/**
|
|
394
|
+
* 消息接收者ID
|
|
395
|
+
*/
|
|
396
|
+
ReceiverId?: string;
|
|
397
|
+
/**
|
|
398
|
+
* 消息生成时间,毫秒
|
|
399
|
+
*/
|
|
400
|
+
SendTime?: string;
|
|
401
|
+
}
|
|
340
402
|
/**
|
|
341
403
|
* 任务输出标签
|
|
342
404
|
*/
|
|
@@ -476,6 +538,10 @@ export interface CreateVideoModerationTaskRequest {
|
|
|
476
538
|
* 审核排队优先级。当您有多个视频审核任务排队时,可以根据这个参数控制排队优先级。用于处理插队等逻辑。默认该参数为0
|
|
477
539
|
*/
|
|
478
540
|
Priority?: number;
|
|
541
|
+
/**
|
|
542
|
+
* 该字段表示待检测对象对应的用户相关信息,若填入则可甄别相应违规风险用户
|
|
543
|
+
*/
|
|
544
|
+
User?: User;
|
|
479
545
|
}
|
|
480
546
|
/**
|
|
481
547
|
* DescribeTasks返回参数结构体
|
|
@@ -171,6 +171,8 @@ export declare class Client extends AbstractClient {
|
|
|
171
171
|
EnableVpcEndPointConnect(req: EnableVpcEndPointConnectRequest, cb?: (error: string, rep: EnableVpcEndPointConnectResponse) => void): Promise<EnableVpcEndPointConnectResponse>;
|
|
172
172
|
/**
|
|
173
173
|
* 本接口(ModifyAddressTemplateGroupAttribute)用于修改IP地址模板集合。
|
|
174
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
175
|
+
>
|
|
174
176
|
*/
|
|
175
177
|
ModifyAddressTemplateGroupAttribute(req: ModifyAddressTemplateGroupAttributeRequest, cb?: (error: string, rep: ModifyAddressTemplateGroupAttributeResponse) => void): Promise<ModifyAddressTemplateGroupAttributeResponse>;
|
|
176
178
|
/**
|
|
@@ -403,6 +405,8 @@ export declare class Client extends AbstractClient {
|
|
|
403
405
|
LockCcnBandwidths(req: LockCcnBandwidthsRequest, cb?: (error: string, rep: LockCcnBandwidthsResponse) => void): Promise<LockCcnBandwidthsResponse>;
|
|
404
406
|
/**
|
|
405
407
|
* 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板。
|
|
408
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
409
|
+
>
|
|
406
410
|
*/
|
|
407
411
|
ModifyAddressTemplateAttribute(req: ModifyAddressTemplateAttributeRequest, cb?: (error: string, rep: ModifyAddressTemplateAttributeResponse) => void): Promise<ModifyAddressTemplateAttributeResponse>;
|
|
408
412
|
/**
|
|
@@ -415,6 +419,8 @@ export declare class Client extends AbstractClient {
|
|
|
415
419
|
DeleteTemplateMember(req: DeleteTemplateMemberRequest, cb?: (error: string, rep: DeleteTemplateMemberResponse) => void): Promise<DeleteTemplateMemberResponse>;
|
|
416
420
|
/**
|
|
417
421
|
* 本接口(DeleteServiceTemplateGroup)用于删除协议端口模板集合。
|
|
422
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
423
|
+
>
|
|
418
424
|
*/
|
|
419
425
|
DeleteServiceTemplateGroup(req: DeleteServiceTemplateGroupRequest, cb?: (error: string, rep: DeleteServiceTemplateGroupResponse) => void): Promise<DeleteServiceTemplateGroupResponse>;
|
|
420
426
|
/**
|
|
@@ -659,6 +665,8 @@ export declare class Client extends AbstractClient {
|
|
|
659
665
|
ModifyNetworkAclQuintupleEntries(req: ModifyNetworkAclQuintupleEntriesRequest, cb?: (error: string, rep: ModifyNetworkAclQuintupleEntriesResponse) => void): Promise<ModifyNetworkAclQuintupleEntriesResponse>;
|
|
660
666
|
/**
|
|
661
667
|
* 本接口(ModifyServiceTemplateGroupAttribute)用于修改协议端口模板集合。
|
|
668
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
669
|
+
>
|
|
662
670
|
*/
|
|
663
671
|
ModifyServiceTemplateGroupAttribute(req: ModifyServiceTemplateGroupAttributeRequest, cb?: (error: string, rep: ModifyServiceTemplateGroupAttributeResponse) => void): Promise<ModifyServiceTemplateGroupAttributeResponse>;
|
|
664
672
|
/**
|
|
@@ -763,6 +771,8 @@ export declare class Client extends AbstractClient {
|
|
|
763
771
|
AssociateDhcpIpWithAddressIp(req: AssociateDhcpIpWithAddressIpRequest, cb?: (error: string, rep: AssociateDhcpIpWithAddressIpResponse) => void): Promise<AssociateDhcpIpWithAddressIpResponse>;
|
|
764
772
|
/**
|
|
765
773
|
* 本接口(DeleteServiceTemplate)用于删除协议端口模板。
|
|
774
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
775
|
+
>
|
|
766
776
|
*/
|
|
767
777
|
DeleteServiceTemplate(req: DeleteServiceTemplateRequest, cb?: (error: string, rep: DeleteServiceTemplateResponse) => void): Promise<DeleteServiceTemplateResponse>;
|
|
768
778
|
/**
|
|
@@ -778,6 +788,8 @@ export declare class Client extends AbstractClient {
|
|
|
778
788
|
ModifyIpv6AddressesAttribute(req: ModifyIpv6AddressesAttributeRequest, cb?: (error: string, rep: ModifyIpv6AddressesAttributeResponse) => void): Promise<ModifyIpv6AddressesAttributeResponse>;
|
|
779
789
|
/**
|
|
780
790
|
* 本接口(DeleteAddressTemplateGroup)用于删除IP地址模板集合。
|
|
791
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
792
|
+
>
|
|
781
793
|
*/
|
|
782
794
|
DeleteAddressTemplateGroup(req: DeleteAddressTemplateGroupRequest, cb?: (error: string, rep: DeleteAddressTemplateGroupResponse) => void): Promise<DeleteAddressTemplateGroupResponse>;
|
|
783
795
|
/**
|
|
@@ -856,6 +868,8 @@ export declare class Client extends AbstractClient {
|
|
|
856
868
|
ModifySecurityGroupAttribute(req: ModifySecurityGroupAttributeRequest, cb?: (error: string, rep: ModifySecurityGroupAttributeResponse) => void): Promise<ModifySecurityGroupAttributeResponse>;
|
|
857
869
|
/**
|
|
858
870
|
* 本接口(DeleteAddressTemplate)用于删除IP地址模板。
|
|
871
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
872
|
+
>
|
|
859
873
|
*/
|
|
860
874
|
DeleteAddressTemplate(req: DeleteAddressTemplateRequest, cb?: (error: string, rep: DeleteAddressTemplateResponse) => void): Promise<DeleteAddressTemplateResponse>;
|
|
861
875
|
/**
|
|
@@ -1303,6 +1317,8 @@ LimitTypes取值范围:
|
|
|
1303
1317
|
CreateHaVip(req: CreateHaVipRequest, cb?: (error: string, rep: CreateHaVipResponse) => void): Promise<CreateHaVipResponse>;
|
|
1304
1318
|
/**
|
|
1305
1319
|
* 本接口(ModifyServiceTemplateAttribute)用于修改协议端口模板。
|
|
1320
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1321
|
+
>
|
|
1306
1322
|
*/
|
|
1307
1323
|
ModifyServiceTemplateAttribute(req: ModifyServiceTemplateAttributeRequest, cb?: (error: string, rep: ModifyServiceTemplateAttributeResponse) => void): Promise<ModifyServiceTemplateAttributeResponse>;
|
|
1308
1324
|
/**
|
|
@@ -265,6 +265,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
267
|
* 本接口(ModifyAddressTemplateGroupAttribute)用于修改IP地址模板集合。
|
|
268
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
269
|
+
>
|
|
268
270
|
*/
|
|
269
271
|
async ModifyAddressTemplateGroupAttribute(req, cb) {
|
|
270
272
|
return this.request("ModifyAddressTemplateGroupAttribute", req, cb);
|
|
@@ -595,6 +597,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
595
597
|
}
|
|
596
598
|
/**
|
|
597
599
|
* 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板。
|
|
600
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
601
|
+
>
|
|
598
602
|
*/
|
|
599
603
|
async ModifyAddressTemplateAttribute(req, cb) {
|
|
600
604
|
return this.request("ModifyAddressTemplateAttribute", req, cb);
|
|
@@ -613,6 +617,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
613
617
|
}
|
|
614
618
|
/**
|
|
615
619
|
* 本接口(DeleteServiceTemplateGroup)用于删除协议端口模板集合。
|
|
620
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
621
|
+
>
|
|
616
622
|
*/
|
|
617
623
|
async DeleteServiceTemplateGroup(req, cb) {
|
|
618
624
|
return this.request("DeleteServiceTemplateGroup", req, cb);
|
|
@@ -955,6 +961,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
955
961
|
}
|
|
956
962
|
/**
|
|
957
963
|
* 本接口(ModifyServiceTemplateGroupAttribute)用于修改协议端口模板集合。
|
|
964
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
965
|
+
>
|
|
958
966
|
*/
|
|
959
967
|
async ModifyServiceTemplateGroupAttribute(req, cb) {
|
|
960
968
|
return this.request("ModifyServiceTemplateGroupAttribute", req, cb);
|
|
@@ -1105,6 +1113,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1105
1113
|
}
|
|
1106
1114
|
/**
|
|
1107
1115
|
* 本接口(DeleteServiceTemplate)用于删除协议端口模板。
|
|
1116
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1117
|
+
>
|
|
1108
1118
|
*/
|
|
1109
1119
|
async DeleteServiceTemplate(req, cb) {
|
|
1110
1120
|
return this.request("DeleteServiceTemplate", req, cb);
|
|
@@ -1126,6 +1136,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1126
1136
|
}
|
|
1127
1137
|
/**
|
|
1128
1138
|
* 本接口(DeleteAddressTemplateGroup)用于删除IP地址模板集合。
|
|
1139
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1140
|
+
>
|
|
1129
1141
|
*/
|
|
1130
1142
|
async DeleteAddressTemplateGroup(req, cb) {
|
|
1131
1143
|
return this.request("DeleteAddressTemplateGroup", req, cb);
|
|
@@ -1234,6 +1246,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1234
1246
|
}
|
|
1235
1247
|
/**
|
|
1236
1248
|
* 本接口(DeleteAddressTemplate)用于删除IP地址模板。
|
|
1249
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1250
|
+
>
|
|
1237
1251
|
*/
|
|
1238
1252
|
async DeleteAddressTemplate(req, cb) {
|
|
1239
1253
|
return this.request("DeleteAddressTemplate", req, cb);
|
|
@@ -1861,6 +1875,8 @@ LimitTypes取值范围:
|
|
|
1861
1875
|
}
|
|
1862
1876
|
/**
|
|
1863
1877
|
* 本接口(ModifyServiceTemplateAttribute)用于修改协议端口模板。
|
|
1878
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1879
|
+
>
|
|
1864
1880
|
*/
|
|
1865
1881
|
async ModifyServiceTemplateAttribute(req, cb) {
|
|
1866
1882
|
return this.request("ModifyServiceTemplateAttribute", req, cb);
|
|
@@ -168,6 +168,16 @@ it("trp.v20210515.CreateProduct", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("trp.v20210515.ModifyCustomRule", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ModifyCustomRule({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
171
181
|
it("trp.v20210515.DescribeAgentCorps", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.DescribeAgentCorps({})
|
|
@@ -198,9 +208,9 @@ it("trp.v20210515.ReportBatchCallbackStatus", async function () {
|
|
|
198
208
|
}
|
|
199
209
|
})
|
|
200
210
|
|
|
201
|
-
it("trp.v20210515.
|
|
211
|
+
it("trp.v20210515.DescribePlanQRCodeScanRecords", async function () {
|
|
202
212
|
try {
|
|
203
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribePlanQRCodeScanRecords({})
|
|
204
214
|
expect(data).to.be.ok
|
|
205
215
|
} catch(error) {
|
|
206
216
|
expect(error.requestId).to.be.ok
|