tencentcloud-sdk-nodejs 4.0.646 → 4.0.648
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 +384 -0
- package/SERVICE_CHANGELOG.md +814 -684
- package/package.json +1 -1
- package/products.md +29 -29
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +3 -0
- package/src/services/cbs/v20170312/cbs_client.ts +20 -51
- package/src/services/cbs/v20170312/cbs_models.ts +16 -165
- package/src/services/cdb/v20170320/cdb_client.ts +4 -84
- package/src/services/cdb/v20170320/cdb_models.ts +41 -568
- package/src/services/cdn/v20180606/cdn_models.ts +3 -3
- package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +4 -0
- package/src/services/cme/v20191029/cme_models.ts +4 -0
- package/src/services/domain/v20180808/domain_client.ts +13 -1
- package/src/services/domain/v20180808/domain_models.ts +40 -20
- package/src/services/ess/v20201111/ess_client.ts +6 -5
- package/src/services/ess/v20201111/ess_models.ts +63 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +9 -0
- package/src/services/faceid/v20180301/faceid_models.ts +31 -26
- package/src/services/gme/v20180711/gme_models.ts +1 -1
- package/src/services/iai/v20180301/iai_models.ts +20 -20
- package/src/services/lcic/v20220817/lcic_models.ts +12 -0
- package/src/services/ocr/v20181119/ocr_models.ts +8 -8
- package/src/services/partners/v20180321/partners_client.ts +1 -0
- package/src/services/partners/v20180321/partners_models.ts +49 -28
- package/src/services/postgres/v20170312/postgres_client.ts +4 -2
- package/src/services/postgres/v20170312/postgres_models.ts +237 -149
- package/src/services/tdid/v20210519/tdid_client.ts +25 -100
- package/src/services/tdid/v20210519/tdid_models.ts +64 -323
- package/src/services/teo/v20220901/teo_models.ts +1 -1
- package/src/services/tiw/v20190919/tiw_client.ts +17 -5
- package/src/services/tiw/v20190919/tiw_models.ts +120 -65
- package/src/services/tke/v20180525/tke_models.ts +2 -2
- package/src/services/trtc/v20190722/trtc_client.ts +2 -2
- package/src/services/vpc/v20170312/vpc_models.ts +7 -7
- package/src/services/waf/v20180125/waf_models.ts +8 -7
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +3 -0
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +10 -23
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +11 -28
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +16 -159
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -31
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +0 -40
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +41 -548
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +3 -3
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +4 -0
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +4 -0
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +38 -20
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -5
- package/tencentcloud/services/ess/v20201111/ess_client.js +6 -5
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +63 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +31 -26
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +1 -1
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +20 -20
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +12 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -8
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +48 -28
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +2 -0
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +2 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +237 -149
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +9 -40
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +11 -52
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +63 -308
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -1
- package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +5 -1
- package/tencentcloud/services/tiw/v20190919/tiw_client.js +6 -0
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +118 -65
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +7 -7
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +8 -7
- package/test/cbs.v20170312.test.js +4 -24
- package/test/cdb.v20170320.test.js +0 -50
- package/test/domain.v20180808.test.js +10 -0
- package/test/tdid.v20210519.test.js +6 -56
- package/test/tiw.v20190919.test.js +10 -0
|
@@ -23,44 +23,30 @@ import {
|
|
|
23
23
|
CreateSelectiveCredentialRequest,
|
|
24
24
|
CreateTDidByPrivateKeyResponse,
|
|
25
25
|
CheckChainResponse,
|
|
26
|
-
TransactionArg,
|
|
27
26
|
CreateTDidByPublicKeyRequest,
|
|
28
27
|
CreateCredentialResponse,
|
|
29
|
-
CheckChainRequest,
|
|
30
28
|
GetAuthorityIssuerRequest,
|
|
31
|
-
VerifyFunctionArg,
|
|
32
|
-
GetConsortiumListRequest,
|
|
33
29
|
CreateCredentialRequest,
|
|
34
30
|
GetDidDocumentRequest,
|
|
35
|
-
GetConsortiumListResponse,
|
|
36
|
-
ConsortiumItem,
|
|
37
31
|
GetCredentialStatusRequest,
|
|
38
|
-
GetAgencyTDidResponse,
|
|
39
|
-
AddLabelResponse,
|
|
40
32
|
VerifyCredentialResponse,
|
|
41
33
|
SetCredentialStatusResponse,
|
|
42
34
|
GetCptInfoResponse,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
GetConsortiumClusterListResponse,
|
|
46
|
-
AddLabelRequest,
|
|
35
|
+
TransactionArg,
|
|
36
|
+
CheckChainRequest,
|
|
47
37
|
GetAuthorityIssuerResponse,
|
|
48
38
|
GetDidDocumentResponse,
|
|
49
39
|
CreateTDidResponse,
|
|
50
40
|
CreateSelectiveCredentialResponse,
|
|
51
|
-
GetAgencyTDidRequest,
|
|
52
|
-
CreateTDidByPublicKeyResponse,
|
|
53
|
-
GetCredentialCptRankRequest,
|
|
54
41
|
RegisterCptRequest,
|
|
42
|
+
CreateTDidByPublicKeyResponse,
|
|
55
43
|
Proof,
|
|
56
|
-
|
|
57
|
-
GetConsortiumClusterListRequest,
|
|
44
|
+
VerifyFunctionArg,
|
|
58
45
|
FunctionArg,
|
|
59
46
|
CreateTDidByPrivateKeyRequest,
|
|
60
|
-
|
|
47
|
+
VerifyCredentialRequest,
|
|
61
48
|
SetCredentialStatusRequest,
|
|
62
49
|
GetCptInfoRequest,
|
|
63
|
-
Identity,
|
|
64
50
|
GetCredentialStatusResponse,
|
|
65
51
|
RegisterCptResponse,
|
|
66
52
|
} from "./tdid_models"
|
|
@@ -77,18 +63,6 @@ export class Client extends AbstractClient {
|
|
|
77
63
|
/**
|
|
78
64
|
* 该接口不再使用
|
|
79
65
|
|
|
80
|
-
检查区块链信息
|
|
81
|
-
*/
|
|
82
|
-
async CheckChain(
|
|
83
|
-
req: CheckChainRequest,
|
|
84
|
-
cb?: (error: string, rep: CheckChainResponse) => void
|
|
85
|
-
): Promise<CheckChainResponse> {
|
|
86
|
-
return this.request("CheckChain", req, cb)
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* 该接口不再使用
|
|
91
|
-
|
|
92
66
|
凭证模版详情
|
|
93
67
|
*/
|
|
94
68
|
async GetCptInfo(
|
|
@@ -135,18 +109,6 @@ export class Client extends AbstractClient {
|
|
|
135
109
|
return this.request("CreateTDid", req, cb)
|
|
136
110
|
}
|
|
137
111
|
|
|
138
|
-
/**
|
|
139
|
-
* 下线已有内测接口,待上线正式版本的接口
|
|
140
|
-
|
|
141
|
-
凭证颁发按机构排行
|
|
142
|
-
*/
|
|
143
|
-
async GetCredentialCptRank(
|
|
144
|
-
req: GetCredentialCptRankRequest,
|
|
145
|
-
cb?: (error: string, rep: GetCredentialCptRankResponse) => void
|
|
146
|
-
): Promise<GetCredentialCptRankResponse> {
|
|
147
|
-
return this.request("GetCredentialCptRank", req, cb)
|
|
148
|
-
}
|
|
149
|
-
|
|
150
112
|
/**
|
|
151
113
|
* 该接口不再使用
|
|
152
114
|
|
|
@@ -172,27 +134,15 @@ export class Client extends AbstractClient {
|
|
|
172
134
|
}
|
|
173
135
|
|
|
174
136
|
/**
|
|
175
|
-
*
|
|
176
|
-
|
|
177
|
-
获取联盟列表
|
|
178
|
-
*/
|
|
179
|
-
async GetConsortiumList(
|
|
180
|
-
req?: GetConsortiumListRequest,
|
|
181
|
-
cb?: (error: string, rep: GetConsortiumListResponse) => void
|
|
182
|
-
): Promise<GetConsortiumListResponse> {
|
|
183
|
-
return this.request("GetConsortiumList", req, cb)
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* 该接口已废弃
|
|
137
|
+
* 该接口不再使用
|
|
188
138
|
|
|
189
|
-
|
|
139
|
+
获取凭证链上状态信息
|
|
190
140
|
*/
|
|
191
|
-
async
|
|
192
|
-
req:
|
|
193
|
-
cb?: (error: string, rep:
|
|
194
|
-
): Promise<
|
|
195
|
-
return this.request("
|
|
141
|
+
async GetCredentialStatus(
|
|
142
|
+
req: GetCredentialStatusRequest,
|
|
143
|
+
cb?: (error: string, rep: GetCredentialStatusResponse) => void
|
|
144
|
+
): Promise<GetCredentialStatusResponse> {
|
|
145
|
+
return this.request("GetCredentialStatus", req, cb)
|
|
196
146
|
}
|
|
197
147
|
|
|
198
148
|
/**
|
|
@@ -207,41 +157,28 @@ export class Client extends AbstractClient {
|
|
|
207
157
|
return this.request("CreateTDidByPrivateKey", req, cb)
|
|
208
158
|
}
|
|
209
159
|
|
|
210
|
-
/**
|
|
211
|
-
* 下线已有内测接口,待上线正式版本的接口
|
|
212
|
-
|
|
213
|
-
DID添加标签
|
|
214
|
-
|
|
215
|
-
*/
|
|
216
|
-
async AddLabel(
|
|
217
|
-
req: AddLabelRequest,
|
|
218
|
-
cb?: (error: string, rep: AddLabelResponse) => void
|
|
219
|
-
): Promise<AddLabelResponse> {
|
|
220
|
-
return this.request("AddLabel", req, cb)
|
|
221
|
-
}
|
|
222
|
-
|
|
223
160
|
/**
|
|
224
161
|
* 该接口不再使用
|
|
225
162
|
|
|
226
|
-
|
|
163
|
+
检查区块链信息
|
|
227
164
|
*/
|
|
228
|
-
async
|
|
229
|
-
req:
|
|
230
|
-
cb?: (error: string, rep:
|
|
231
|
-
): Promise<
|
|
232
|
-
return this.request("
|
|
165
|
+
async CheckChain(
|
|
166
|
+
req: CheckChainRequest,
|
|
167
|
+
cb?: (error: string, rep: CheckChainResponse) => void
|
|
168
|
+
): Promise<CheckChainResponse> {
|
|
169
|
+
return this.request("CheckChain", req, cb)
|
|
233
170
|
}
|
|
234
171
|
|
|
235
172
|
/**
|
|
236
|
-
*
|
|
173
|
+
* 该接口不再使用
|
|
237
174
|
|
|
238
|
-
|
|
175
|
+
凭证模版新建
|
|
239
176
|
*/
|
|
240
|
-
async
|
|
241
|
-
req:
|
|
242
|
-
cb?: (error: string, rep:
|
|
243
|
-
): Promise<
|
|
244
|
-
return this.request("
|
|
177
|
+
async RegisterCpt(
|
|
178
|
+
req: RegisterCptRequest,
|
|
179
|
+
cb?: (error: string, rep: RegisterCptResponse) => void
|
|
180
|
+
): Promise<RegisterCptResponse> {
|
|
181
|
+
return this.request("RegisterCpt", req, cb)
|
|
245
182
|
}
|
|
246
183
|
|
|
247
184
|
/**
|
|
@@ -279,16 +216,4 @@ DID添加标签
|
|
|
279
216
|
): Promise<SetCredentialStatusResponse> {
|
|
280
217
|
return this.request("SetCredentialStatus", req, cb)
|
|
281
218
|
}
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* 该接口不再使用
|
|
285
|
-
|
|
286
|
-
凭证模版新建
|
|
287
|
-
*/
|
|
288
|
-
async RegisterCpt(
|
|
289
|
-
req: RegisterCptRequest,
|
|
290
|
-
cb?: (error: string, rep: RegisterCptResponse) => void
|
|
291
|
-
): Promise<RegisterCptResponse> {
|
|
292
|
-
return this.request("RegisterCpt", req, cb)
|
|
293
|
-
}
|
|
294
219
|
}
|
|
@@ -116,16 +116,6 @@ export interface CheckChainResponse {
|
|
|
116
116
|
RequestId?: string
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
/**
|
|
120
|
-
* 创建凭证第二个
|
|
121
|
-
*/
|
|
122
|
-
export interface TransactionArg {
|
|
123
|
-
/**
|
|
124
|
-
* 凭证did
|
|
125
|
-
*/
|
|
126
|
-
InvokerTDid: string
|
|
127
|
-
}
|
|
128
|
-
|
|
129
119
|
/**
|
|
130
120
|
* CreateTDidByPublicKey请求参数结构体
|
|
131
121
|
*/
|
|
@@ -162,24 +152,6 @@ export interface CreateCredentialResponse {
|
|
|
162
152
|
RequestId?: string
|
|
163
153
|
}
|
|
164
154
|
|
|
165
|
-
/**
|
|
166
|
-
* CheckChain请求参数结构体
|
|
167
|
-
*/
|
|
168
|
-
export interface CheckChainRequest {
|
|
169
|
-
/**
|
|
170
|
-
* 群组ID
|
|
171
|
-
*/
|
|
172
|
-
GroupId: number
|
|
173
|
-
/**
|
|
174
|
-
* 网络ID
|
|
175
|
-
*/
|
|
176
|
-
ClusterId: string
|
|
177
|
-
/**
|
|
178
|
-
* did服务机构名称
|
|
179
|
-
*/
|
|
180
|
-
AgencyName: string
|
|
181
|
-
}
|
|
182
|
-
|
|
183
155
|
/**
|
|
184
156
|
* GetAuthorityIssuer请求参数结构体
|
|
185
157
|
*/
|
|
@@ -190,53 +162,6 @@ export interface GetAuthorityIssuerRequest {
|
|
|
190
162
|
Did: string
|
|
191
163
|
}
|
|
192
164
|
|
|
193
|
-
/**
|
|
194
|
-
* 验证凭证参数值
|
|
195
|
-
*/
|
|
196
|
-
export interface VerifyFunctionArg {
|
|
197
|
-
/**
|
|
198
|
-
* CPT ID
|
|
199
|
-
*/
|
|
200
|
-
CptId: number
|
|
201
|
-
/**
|
|
202
|
-
* issuer did
|
|
203
|
-
*/
|
|
204
|
-
Issuer: string
|
|
205
|
-
/**
|
|
206
|
-
* 过期时间
|
|
207
|
-
*/
|
|
208
|
-
ExpirationDate: number
|
|
209
|
-
/**
|
|
210
|
-
* 声明
|
|
211
|
-
*/
|
|
212
|
-
ClaimJson: string
|
|
213
|
-
/**
|
|
214
|
-
* 颁发时间
|
|
215
|
-
*/
|
|
216
|
-
IssuanceDate: number
|
|
217
|
-
/**
|
|
218
|
-
* context值
|
|
219
|
-
*/
|
|
220
|
-
Context: string
|
|
221
|
-
/**
|
|
222
|
-
* id值
|
|
223
|
-
*/
|
|
224
|
-
Id: string
|
|
225
|
-
/**
|
|
226
|
-
* 签名值
|
|
227
|
-
*/
|
|
228
|
-
Proof: Proof
|
|
229
|
-
/**
|
|
230
|
-
* type值
|
|
231
|
-
*/
|
|
232
|
-
Type: Array<string>
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* GetConsortiumList请求参数结构体
|
|
237
|
-
*/
|
|
238
|
-
export type GetConsortiumListRequest = null
|
|
239
|
-
|
|
240
165
|
/**
|
|
241
166
|
* CreateCredential请求参数结构体
|
|
242
167
|
*/
|
|
@@ -269,34 +194,6 @@ export interface GetDidDocumentRequest {
|
|
|
269
194
|
Did: string
|
|
270
195
|
}
|
|
271
196
|
|
|
272
|
-
/**
|
|
273
|
-
* GetConsortiumList返回参数结构体
|
|
274
|
-
*/
|
|
275
|
-
export interface GetConsortiumListResponse {
|
|
276
|
-
/**
|
|
277
|
-
* 联盟列表
|
|
278
|
-
*/
|
|
279
|
-
ConsortiumList: Array<ConsortiumItem>
|
|
280
|
-
/**
|
|
281
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
282
|
-
*/
|
|
283
|
-
RequestId?: string
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* 联盟信息
|
|
288
|
-
*/
|
|
289
|
-
export interface ConsortiumItem {
|
|
290
|
-
/**
|
|
291
|
-
* 联盟id
|
|
292
|
-
*/
|
|
293
|
-
Id: number
|
|
294
|
-
/**
|
|
295
|
-
* 联盟名称
|
|
296
|
-
*/
|
|
297
|
-
Name: string
|
|
298
|
-
}
|
|
299
|
-
|
|
300
197
|
/**
|
|
301
198
|
* GetCredentialStatus请求参数结构体
|
|
302
199
|
*/
|
|
@@ -307,34 +204,6 @@ export interface GetCredentialStatusRequest {
|
|
|
307
204
|
CredentialId: string
|
|
308
205
|
}
|
|
309
206
|
|
|
310
|
-
/**
|
|
311
|
-
* GetAgencyTDid返回参数结构体
|
|
312
|
-
*/
|
|
313
|
-
export interface GetAgencyTDidResponse {
|
|
314
|
-
/**
|
|
315
|
-
* 固定前缀
|
|
316
|
-
*/
|
|
317
|
-
Prefix: string
|
|
318
|
-
/**
|
|
319
|
-
* did详情
|
|
320
|
-
*/
|
|
321
|
-
Identity: Array<Identity>
|
|
322
|
-
/**
|
|
323
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
324
|
-
*/
|
|
325
|
-
RequestId?: string
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* AddLabel返回参数结构体
|
|
330
|
-
*/
|
|
331
|
-
export interface AddLabelResponse {
|
|
332
|
-
/**
|
|
333
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
334
|
-
*/
|
|
335
|
-
RequestId?: string
|
|
336
|
-
}
|
|
337
|
-
|
|
338
207
|
/**
|
|
339
208
|
* VerifyCredential返回参数结构体
|
|
340
209
|
*/
|
|
@@ -382,71 +251,31 @@ export interface GetCptInfoResponse {
|
|
|
382
251
|
}
|
|
383
252
|
|
|
384
253
|
/**
|
|
385
|
-
*
|
|
386
|
-
*/
|
|
387
|
-
export interface CptIssueRank {
|
|
388
|
-
/**
|
|
389
|
-
* 模板名称
|
|
390
|
-
*/
|
|
391
|
-
CptName: string
|
|
392
|
-
/**
|
|
393
|
-
* 名次
|
|
394
|
-
*/
|
|
395
|
-
Rank: number
|
|
396
|
-
/**
|
|
397
|
-
* 颁发量
|
|
398
|
-
*/
|
|
399
|
-
Count: number
|
|
400
|
-
/**
|
|
401
|
-
* 应用名称
|
|
402
|
-
*/
|
|
403
|
-
ApplyName: string
|
|
404
|
-
/**
|
|
405
|
-
* 应用ID
|
|
406
|
-
*/
|
|
407
|
-
ApplyId: number
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* GetCredentialCptRank返回参数结构体
|
|
254
|
+
* 创建凭证第二个
|
|
412
255
|
*/
|
|
413
|
-
export interface
|
|
414
|
-
/**
|
|
415
|
-
* Rank集合
|
|
416
|
-
*/
|
|
417
|
-
RankIssueResult: Array<CptIssueRank>
|
|
256
|
+
export interface TransactionArg {
|
|
418
257
|
/**
|
|
419
|
-
*
|
|
258
|
+
* 凭证did
|
|
420
259
|
*/
|
|
421
|
-
|
|
260
|
+
InvokerTDid: string
|
|
422
261
|
}
|
|
423
262
|
|
|
424
263
|
/**
|
|
425
|
-
*
|
|
264
|
+
* CheckChain请求参数结构体
|
|
426
265
|
*/
|
|
427
|
-
export interface
|
|
428
|
-
/**
|
|
429
|
-
* 网络列表
|
|
430
|
-
*/
|
|
431
|
-
ClusterList: Array<BcosClusterItem>
|
|
266
|
+
export interface CheckChainRequest {
|
|
432
267
|
/**
|
|
433
|
-
*
|
|
268
|
+
* 群组ID
|
|
434
269
|
*/
|
|
435
|
-
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* AddLabel请求参数结构体
|
|
440
|
-
*/
|
|
441
|
-
export interface AddLabelRequest {
|
|
270
|
+
GroupId: number
|
|
442
271
|
/**
|
|
443
|
-
*
|
|
272
|
+
* 网络ID
|
|
444
273
|
*/
|
|
445
|
-
|
|
274
|
+
ClusterId: string
|
|
446
275
|
/**
|
|
447
|
-
*
|
|
276
|
+
* did服务机构名称
|
|
448
277
|
*/
|
|
449
|
-
|
|
278
|
+
AgencyName: string
|
|
450
279
|
}
|
|
451
280
|
|
|
452
281
|
/**
|
|
@@ -533,48 +362,6 @@ export interface CreateSelectiveCredentialResponse {
|
|
|
533
362
|
RequestId?: string
|
|
534
363
|
}
|
|
535
364
|
|
|
536
|
-
/**
|
|
537
|
-
* GetAgencyTDid请求参数结构体
|
|
538
|
-
*/
|
|
539
|
-
export interface GetAgencyTDidRequest {
|
|
540
|
-
/**
|
|
541
|
-
* 网络ID
|
|
542
|
-
*/
|
|
543
|
-
ClusterId: string
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* CreateTDidByPublicKey返回参数结构体
|
|
548
|
-
*/
|
|
549
|
-
export interface CreateTDidByPublicKeyResponse {
|
|
550
|
-
/**
|
|
551
|
-
* did具体信息
|
|
552
|
-
*/
|
|
553
|
-
Did: string
|
|
554
|
-
/**
|
|
555
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
556
|
-
*/
|
|
557
|
-
RequestId?: string
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
* GetCredentialCptRank请求参数结构体
|
|
562
|
-
*/
|
|
563
|
-
export interface GetCredentialCptRankRequest {
|
|
564
|
-
/**
|
|
565
|
-
* 开始时间(支持到天 2021-4-23)
|
|
566
|
-
*/
|
|
567
|
-
StartTime: string
|
|
568
|
-
/**
|
|
569
|
-
* 结束时间(支持到天 2021-4-23)
|
|
570
|
-
*/
|
|
571
|
-
EndTime: string
|
|
572
|
-
/**
|
|
573
|
-
* 网络ID
|
|
574
|
-
*/
|
|
575
|
-
ClusterId?: string
|
|
576
|
-
}
|
|
577
|
-
|
|
578
365
|
/**
|
|
579
366
|
* RegisterCpt请求参数结构体
|
|
580
367
|
*/
|
|
@@ -597,6 +384,20 @@ export interface RegisterCptRequest {
|
|
|
597
384
|
CptId?: number
|
|
598
385
|
}
|
|
599
386
|
|
|
387
|
+
/**
|
|
388
|
+
* CreateTDidByPublicKey返回参数结构体
|
|
389
|
+
*/
|
|
390
|
+
export interface CreateTDidByPublicKeyResponse {
|
|
391
|
+
/**
|
|
392
|
+
* did具体信息
|
|
393
|
+
*/
|
|
394
|
+
Did: string
|
|
395
|
+
/**
|
|
396
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
397
|
+
*/
|
|
398
|
+
RequestId?: string
|
|
399
|
+
}
|
|
400
|
+
|
|
600
401
|
/**
|
|
601
402
|
* 验证凭证签名
|
|
602
403
|
*/
|
|
@@ -624,23 +425,45 @@ export interface Proof {
|
|
|
624
425
|
}
|
|
625
426
|
|
|
626
427
|
/**
|
|
627
|
-
*
|
|
428
|
+
* 验证凭证参数值
|
|
628
429
|
*/
|
|
629
|
-
export interface
|
|
430
|
+
export interface VerifyFunctionArg {
|
|
630
431
|
/**
|
|
631
|
-
*
|
|
432
|
+
* CPT ID
|
|
632
433
|
*/
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
434
|
+
CptId: number
|
|
435
|
+
/**
|
|
436
|
+
* issuer did
|
|
437
|
+
*/
|
|
438
|
+
Issuer: string
|
|
439
|
+
/**
|
|
440
|
+
* 过期时间
|
|
441
|
+
*/
|
|
442
|
+
ExpirationDate: number
|
|
443
|
+
/**
|
|
444
|
+
* 声明
|
|
445
|
+
*/
|
|
446
|
+
ClaimJson: string
|
|
447
|
+
/**
|
|
448
|
+
* 颁发时间
|
|
449
|
+
*/
|
|
450
|
+
IssuanceDate: number
|
|
640
451
|
/**
|
|
641
|
-
*
|
|
452
|
+
* context值
|
|
642
453
|
*/
|
|
643
|
-
|
|
454
|
+
Context: string
|
|
455
|
+
/**
|
|
456
|
+
* id值
|
|
457
|
+
*/
|
|
458
|
+
Id: string
|
|
459
|
+
/**
|
|
460
|
+
* 签名值
|
|
461
|
+
*/
|
|
462
|
+
Proof: Proof
|
|
463
|
+
/**
|
|
464
|
+
* type值
|
|
465
|
+
*/
|
|
466
|
+
Type: Array<string>
|
|
644
467
|
}
|
|
645
468
|
|
|
646
469
|
/**
|
|
@@ -684,69 +507,13 @@ export interface CreateTDidByPrivateKeyRequest {
|
|
|
684
507
|
}
|
|
685
508
|
|
|
686
509
|
/**
|
|
687
|
-
*
|
|
510
|
+
* VerifyCredential请求参数结构体
|
|
688
511
|
*/
|
|
689
|
-
export interface
|
|
690
|
-
/**
|
|
691
|
-
* 网络索引id
|
|
692
|
-
*/
|
|
693
|
-
ChainId: number
|
|
694
|
-
/**
|
|
695
|
-
* 网络名称
|
|
696
|
-
*/
|
|
697
|
-
ChainName: string
|
|
698
|
-
/**
|
|
699
|
-
* 机构数量
|
|
700
|
-
*/
|
|
701
|
-
AgencyCount: number
|
|
702
|
-
/**
|
|
703
|
-
* 联盟id
|
|
704
|
-
*/
|
|
705
|
-
ConsortiumId: number
|
|
706
|
-
/**
|
|
707
|
-
* 创建时间
|
|
708
|
-
*/
|
|
709
|
-
CreateTime: string
|
|
710
|
-
/**
|
|
711
|
-
* 过期时间
|
|
712
|
-
*/
|
|
713
|
-
ExpireTime: string
|
|
714
|
-
/**
|
|
715
|
-
* 网络状态
|
|
716
|
-
*/
|
|
717
|
-
ChainStatus: number
|
|
718
|
-
/**
|
|
719
|
-
* 资源 id
|
|
720
|
-
*/
|
|
721
|
-
ResourceId: string
|
|
722
|
-
/**
|
|
723
|
-
* 集群id
|
|
724
|
-
*/
|
|
725
|
-
ClusterId: string
|
|
726
|
-
/**
|
|
727
|
-
* 组织名称
|
|
728
|
-
*/
|
|
729
|
-
ConsortiumName: string
|
|
730
|
-
/**
|
|
731
|
-
* 机构id
|
|
732
|
-
*/
|
|
733
|
-
AgencyId: number
|
|
734
|
-
/**
|
|
735
|
-
* 续费状态
|
|
736
|
-
*/
|
|
737
|
-
AutoRenewFlag: number
|
|
738
|
-
/**
|
|
739
|
-
* 网络模式
|
|
740
|
-
*/
|
|
741
|
-
TotalNetworkNode: number
|
|
742
|
-
/**
|
|
743
|
-
* 创建节点数
|
|
744
|
-
*/
|
|
745
|
-
TotalCreateNode: number
|
|
512
|
+
export interface VerifyCredentialRequest {
|
|
746
513
|
/**
|
|
747
|
-
*
|
|
514
|
+
* 参数集合
|
|
748
515
|
*/
|
|
749
|
-
|
|
516
|
+
FunctionArg: VerifyFunctionArg
|
|
750
517
|
}
|
|
751
518
|
|
|
752
519
|
/**
|
|
@@ -769,32 +536,6 @@ export interface GetCptInfoRequest {
|
|
|
769
536
|
CptIndex: number
|
|
770
537
|
}
|
|
771
538
|
|
|
772
|
-
/**
|
|
773
|
-
* did详情
|
|
774
|
-
*/
|
|
775
|
-
export interface Identity {
|
|
776
|
-
/**
|
|
777
|
-
* 账户标识符
|
|
778
|
-
*/
|
|
779
|
-
AccountIdentifier: string
|
|
780
|
-
/**
|
|
781
|
-
* 链ID
|
|
782
|
-
*/
|
|
783
|
-
ChainID: string
|
|
784
|
-
/**
|
|
785
|
-
* 完整tdid
|
|
786
|
-
*/
|
|
787
|
-
Did: string
|
|
788
|
-
/**
|
|
789
|
-
* 群组ID
|
|
790
|
-
*/
|
|
791
|
-
GroupId: number
|
|
792
|
-
/**
|
|
793
|
-
* 群组名称
|
|
794
|
-
*/
|
|
795
|
-
GroupName: string
|
|
796
|
-
}
|
|
797
|
-
|
|
798
539
|
/**
|
|
799
540
|
* GetCredentialStatus返回参数结构体
|
|
800
541
|
*/
|