tencentcloud-sdk-nodejs 4.0.778 → 4.0.780
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 +112 -0
- package/SERVICE_CHANGELOG.md +91 -6
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +16 -6
- package/src/services/dts/v20211206/dts_models.ts +6 -1
- package/src/services/faceid/v20180301/faceid_models.ts +8 -0
- package/src/services/monitor/v20180724/monitor_client.ts +88 -21
- package/src/services/monitor/v20180724/monitor_models.ts +487 -137
- package/src/services/ocr/v20181119/ocr_models.ts +8 -0
- package/src/services/rum/v20210622/rum_client.ts +36 -72
- package/src/services/rum/v20210622/rum_models.ts +36 -120
- package/src/services/tcb/v20180608/tcb_models.ts +9 -0
- package/src/services/tdid/v20210519/tdid_client.ts +178 -144
- package/src/services/tdid/v20210519/tdid_models.ts +462 -241
- package/src/services/tdmq/v20200217/tdmq_client.ts +12 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +95 -0
- package/src/services/teo/v20220901/teo_models.ts +2 -2
- package/src/services/tse/v20201207/tse_models.ts +1 -1
- package/src/services/tsf/v20180326/tsf_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +16 -6
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +6 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +8 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +28 -5
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +39 -6
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +471 -135
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +13 -25
- package/tencentcloud/services/rum/v20210622/rum_client.js +18 -36
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +36 -114
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +9 -0
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +47 -54
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +69 -66
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +451 -241
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +93 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -2
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -1
- package/test/monitor.v20180724.test.js +54 -4
- package/test/rum.v20210622.test.js +14 -44
- package/test/tdid.v20210519.test.js +76 -26
- package/test/tdmq.v20200217.test.js +10 -0
|
@@ -28,109 +28,112 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("tdid.tencentcloudapi.com", "2021-05-19", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
|
-
|
|
33
|
-
凭证模版详情
|
|
31
|
+
* 获取某个应用关键指标统计数据
|
|
34
32
|
*/
|
|
35
|
-
async
|
|
36
|
-
return this.request("
|
|
33
|
+
async GetOverSummary(req, cb) {
|
|
34
|
+
return this.request("GetOverSummary", req, cb);
|
|
37
35
|
}
|
|
38
36
|
/**
|
|
39
|
-
*
|
|
40
|
-
|
|
41
|
-
查看DID文档
|
|
42
|
-
|
|
37
|
+
* 查询权威机构信息
|
|
43
38
|
*/
|
|
44
|
-
async
|
|
45
|
-
return this.request("
|
|
39
|
+
async QueryAuthorityInfo(req, cb) {
|
|
40
|
+
return this.request("QueryAuthorityInfo", req, cb);
|
|
46
41
|
}
|
|
47
42
|
/**
|
|
48
|
-
*
|
|
49
|
-
|
|
50
|
-
创建选择性批露凭证
|
|
43
|
+
* 验证已签名的可验证凭证
|
|
51
44
|
*/
|
|
52
|
-
async
|
|
53
|
-
return this.request("
|
|
45
|
+
async VerifyCredentials(req, cb) {
|
|
46
|
+
return this.request("VerifyCredentials", req, cb);
|
|
54
47
|
}
|
|
55
48
|
/**
|
|
56
|
-
*
|
|
57
|
-
|
|
58
|
-
创建机构DID
|
|
49
|
+
* 查询凭证模版内容
|
|
59
50
|
*/
|
|
60
|
-
async
|
|
61
|
-
return this.request("
|
|
51
|
+
async QueryCPT(req, cb) {
|
|
52
|
+
return this.request("QueryCPT", req, cb);
|
|
62
53
|
}
|
|
63
54
|
/**
|
|
64
|
-
*
|
|
65
|
-
|
|
66
|
-
创建凭证
|
|
55
|
+
* 创建凭证持有人的可验证表达
|
|
67
56
|
*/
|
|
68
|
-
async
|
|
69
|
-
return this.request("
|
|
57
|
+
async CreatePresentation(req, cb) {
|
|
58
|
+
return this.request("CreatePresentation", req, cb);
|
|
70
59
|
}
|
|
71
60
|
/**
|
|
72
|
-
*
|
|
73
|
-
|
|
74
|
-
新建DID根据公钥生成Tdid
|
|
61
|
+
* 自动生成公私钥对托管在DID平台,并注册DID标识
|
|
75
62
|
*/
|
|
76
|
-
async
|
|
77
|
-
return this.request("
|
|
63
|
+
async CreateTDidByHost(req, cb) {
|
|
64
|
+
return this.request("CreateTDidByHost", req, cb);
|
|
78
65
|
}
|
|
79
66
|
/**
|
|
80
|
-
*
|
|
81
|
-
|
|
82
|
-
获取凭证链上状态信息
|
|
67
|
+
* 通过业务层绑定的对象ID获取DID标识
|
|
83
68
|
*/
|
|
84
|
-
async
|
|
85
|
-
return this.request("
|
|
69
|
+
async GetTDidByObjectId(req, cb) {
|
|
70
|
+
return this.request("GetTDidByObjectId", req, cb);
|
|
86
71
|
}
|
|
87
72
|
/**
|
|
88
|
-
*
|
|
89
|
-
|
|
90
|
-
新建DID根据私钥生成Tdid
|
|
73
|
+
* 使用导入的公钥文件注册DID标识
|
|
91
74
|
*/
|
|
92
|
-
async
|
|
93
|
-
return this.request("
|
|
75
|
+
async CreateTDidByPubKey(req, cb) {
|
|
76
|
+
return this.request("CreateTDidByPubKey", req, cb);
|
|
94
77
|
}
|
|
95
78
|
/**
|
|
96
|
-
*
|
|
97
|
-
|
|
98
|
-
检查区块链信息
|
|
79
|
+
* 验证可验证表达的内容
|
|
99
80
|
*/
|
|
100
|
-
async
|
|
101
|
-
return this.request("
|
|
81
|
+
async VerifyPresentation(req, cb) {
|
|
82
|
+
return this.request("VerifyPresentation", req, cb);
|
|
102
83
|
}
|
|
103
84
|
/**
|
|
104
|
-
*
|
|
105
|
-
|
|
106
|
-
凭证模版新建
|
|
85
|
+
* 根据披露策略创建选择性披露凭证
|
|
107
86
|
*/
|
|
108
|
-
async
|
|
109
|
-
return this.request("
|
|
87
|
+
async CreateDisclosedCredential(req, cb) {
|
|
88
|
+
return this.request("CreateDisclosedCredential", req, cb);
|
|
110
89
|
}
|
|
111
90
|
/**
|
|
112
|
-
*
|
|
113
|
-
|
|
114
|
-
验证凭证
|
|
91
|
+
* 获取某个应用关键指标统计数据
|
|
115
92
|
*/
|
|
116
|
-
async
|
|
117
|
-
return this.request("
|
|
93
|
+
async GetAppSummary(req, cb) {
|
|
94
|
+
return this.request("GetAppSummary", req, cb);
|
|
118
95
|
}
|
|
119
96
|
/**
|
|
120
|
-
*
|
|
121
|
-
|
|
122
|
-
获取权威机构信息
|
|
97
|
+
* 获取DID标识的文档
|
|
123
98
|
*/
|
|
124
|
-
async
|
|
125
|
-
return this.request("
|
|
99
|
+
async GetTDidDocument(req, cb) {
|
|
100
|
+
return this.request("GetTDidDocument", req, cb);
|
|
126
101
|
}
|
|
127
102
|
/**
|
|
128
|
-
*
|
|
129
|
-
|
|
130
|
-
设置凭证链上状态
|
|
103
|
+
* 查询DID标识的认证公钥
|
|
131
104
|
*/
|
|
132
|
-
async
|
|
133
|
-
return this.request("
|
|
105
|
+
async GetTDidPubKey(req, cb) {
|
|
106
|
+
return this.request("GetTDidPubKey", req, cb);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* 设置DID文档的自定义属性
|
|
110
|
+
*/
|
|
111
|
+
async SetTDidAttribute(req, cb) {
|
|
112
|
+
return this.request("SetTDidAttribute", req, cb);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* 更新凭证的链上状态
|
|
116
|
+
*/
|
|
117
|
+
async UpdateCredentialState(req, cb) {
|
|
118
|
+
return this.request("UpdateCredentialState", req, cb);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* 更新DID标识的禁用状态
|
|
122
|
+
*/
|
|
123
|
+
async DeactivateTDid(req, cb) {
|
|
124
|
+
return this.request("DeactivateTDid", req, cb);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* 获取凭证链上状态信息
|
|
128
|
+
*/
|
|
129
|
+
async GetCredentialState(req, cb) {
|
|
130
|
+
return this.request("GetCredentialState", req, cb);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* 颁发可验证凭证
|
|
134
|
+
*/
|
|
135
|
+
async IssueCredential(req, cb) {
|
|
136
|
+
return this.request("IssueCredential", req, cb);
|
|
134
137
|
}
|
|
135
138
|
}
|
|
136
139
|
exports.Client = Client;
|