tencentcloud-sdk-nodejs 4.0.627 → 4.0.628

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +254 -0
  2. package/SERVICE_CHANGELOG.md +424 -98
  3. package/package.json +1 -1
  4. package/products.md +18 -18
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdn/v20180606/cdn_client.ts +16 -0
  7. package/src/services/cdn/v20180606/cdn_models.ts +28 -0
  8. package/src/services/ckafka/v20190819/ckafka_client.ts +26 -12
  9. package/src/services/ckafka/v20190819/ckafka_models.ts +262 -125
  10. package/src/services/cynosdb/v20190107/cynosdb_client.ts +13 -1
  11. package/src/services/cynosdb/v20190107/cynosdb_models.ts +42 -8
  12. package/src/services/ess/v20201111/ess_models.ts +4 -4
  13. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -36
  14. package/src/services/postgres/v20170312/postgres_models.ts +5 -5
  15. package/src/services/sqlserver/v20180328/sqlserver_client.ts +1 -0
  16. package/src/services/sqlserver/v20180328/sqlserver_models.ts +33 -2
  17. package/src/services/tbaas/v20180416/tbaas_client.ts +21 -107
  18. package/src/services/tbaas/v20180416/tbaas_models.ts +192 -516
  19. package/src/services/tdid/v20210519/tdid_client.ts +102 -506
  20. package/src/services/tdid/v20210519/tdid_models.ts +419 -1855
  21. package/src/services/tdmq/v20200217/tdmq_models.ts +2 -2
  22. package/src/services/tione/v20211111/tione_models.ts +10 -0
  23. package/src/services/tke/v20180525/tke_client.ts +1 -1
  24. package/src/services/tke/v20180525/tke_models.ts +4 -4
  25. package/src/services/trp/v20210515/trp_client.ts +1 -0
  26. package/src/services/trp/v20210515/trp_models.ts +152 -40
  27. package/tencentcloud/common/sdk_version.d.ts +1 -1
  28. package/tencentcloud/common/sdk_version.js +1 -1
  29. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +9 -1
  30. package/tencentcloud/services/cdn/v20180606/cdn_client.js +10 -0
  31. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +26 -0
  32. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +7 -3
  33. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +9 -3
  34. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +257 -124
  35. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  36. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  37. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +40 -8
  38. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -4
  39. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -36
  40. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +5 -5
  41. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +32 -2
  42. package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +3 -39
  43. package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +3 -51
  44. package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +193 -503
  45. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +25 -195
  46. package/tencentcloud/services/tdid/v20210519/tdid_client.js +36 -262
  47. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +415 -1785
  48. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +2 -2
  49. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +10 -0
  50. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
  51. package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
  52. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -4
  53. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +151 -40
  54. package/test/cdn.v20180606.test.js +10 -0
  55. package/test/ckafka.v20190819.test.js +12 -2
  56. package/test/cynosdb.v20190107.test.js +10 -0
  57. package/test/tbaas.v20180416.test.js +2 -62
  58. package/test/tdid.v20210519.test.js +30 -310
@@ -19,121 +19,55 @@ import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  CredentialStatus,
22
- QueryPolicyRequest,
23
- RegisterClaimPolicyRequest,
24
- GetDidServiceDetailResponse,
25
- CreateCredentialResponse,
26
- GetConsortiumListRequest,
27
- DownCptResponse,
28
- GetCredentialIssueTrendResponse,
29
- CreateCredentialRequest,
30
- CreateDidServiceResponse,
31
- GetConsortiumListResponse,
32
- GetCredentialCptRankRequest,
33
- GetPolicyListRequest,
34
- GetConsortiumClusterListResponse,
35
- Task,
36
- GetCptListRequest,
37
- GetAuthoritiesListRequest,
38
- GetAgencyTDidRequest,
39
- RemoveHashRequest,
40
- GetGroupListRequest,
41
- Proof,
42
- GetDeployInfoRequest,
43
- Authority,
44
- CreateLabelResponse,
45
- GetPublicKeyRequest,
46
- Label,
47
- GetDidServiceListResponse,
48
- DeployByNameResponse,
49
- CreateLabelRequest,
50
- CreateDidServiceRequest,
51
- GetDidClusterDetailResponse,
52
- RecognizeAuthorityIssuerResponse,
53
- EnableHashResponse,
54
- GetCredentialIssueTrendRequest,
55
- EnableHashRequest,
56
- GetDidClusterListRequest,
57
- GetCptInfoRequest,
58
- DownCptRequest,
59
- GetCptListResponse,
60
- GetCptInfoResponse,
61
- GetDidRegisterTrendRequest,
62
- AddLabelRequest,
63
- GetAuthorityIssuerResponse,
64
- CreateSelectiveCredentialResponse,
65
- VerifyCredentialResponse,
66
- CptListData,
67
- FunctionArg,
68
- CreateTDidByPrivateKeyRequest,
69
- RegisterCptResponse,
70
- SetCredentialStatusRequest,
71
- RemoveHashResponse,
72
- CheckDidDeployRequest,
73
- GetDidDocumentResponse,
74
- RegisterIssuerResponse,
75
- CancelAuthorityIssuerRequest,
76
- CancelAuthorityIssuerResponse,
77
22
  CreateTDidRequest,
78
- GetAuthoritiesListResponse,
79
23
  CreateSelectiveCredentialRequest,
80
24
  CreateTDidByPrivateKeyResponse,
81
- DeployByNameRequest,
82
- GetDidServiceListRequest,
25
+ CheckChainResponse,
26
+ TransactionArg,
27
+ CreateTDidByPublicKeyRequest,
28
+ CreateCredentialResponse,
29
+ CheckChainRequest,
83
30
  GetAuthorityIssuerRequest,
31
+ VerifyFunctionArg,
32
+ GetConsortiumListRequest,
84
33
  GetDidClusterListResponse,
85
- RecognizeAuthorityIssuerRequest,
34
+ CreateCredentialRequest,
35
+ GetDidClusterDetailResponse,
36
+ GetDidDocumentRequest,
37
+ GetConsortiumListResponse,
38
+ ConsortiumItem,
39
+ GetDidClusterListRequest,
86
40
  GetCredentialStatusRequest,
87
41
  GetAgencyTDidResponse,
88
- DidServiceInfo,
42
+ AddLabelResponse,
43
+ VerifyCredentialResponse,
89
44
  SetCredentialStatusResponse,
45
+ GetCptInfoResponse,
90
46
  CptIssueRank,
91
47
  GetCredentialCptRankResponse,
92
- TransactionArg,
93
- RegisterIssuerRequest,
94
- GetDidListResponse,
95
- GetDeployInfoResponse,
96
- Contract,
48
+ GetConsortiumClusterListResponse,
49
+ AddLabelRequest,
50
+ GetAuthorityIssuerResponse,
51
+ GetDidDocumentResponse,
52
+ CreateTDidResponse,
53
+ CreateSelectiveCredentialResponse,
54
+ GetAgencyTDidRequest,
97
55
  CreateTDidByPublicKeyResponse,
98
- CheckDidDeployResponse,
56
+ GetCredentialCptRankRequest,
57
+ RegisterCptRequest,
99
58
  GetDidClusterDetailRequest,
59
+ Proof,
60
+ VerifyCredentialRequest,
100
61
  GetConsortiumClusterListRequest,
101
- GetDidDetailResponse,
102
- Trend,
62
+ FunctionArg,
63
+ CreateTDidByPrivateKeyRequest,
103
64
  BcosClusterItem,
104
- GetLabelListRequest,
65
+ SetCredentialStatusRequest,
105
66
  DidCluster,
106
- GetDataPanelResponse,
67
+ GetCptInfoRequest,
107
68
  Identity,
108
- QueryPolicyResponse,
109
- GetDidListRequest,
110
- Group,
111
- CheckChainResponse,
112
- CreateTDidByPublicKeyRequest,
113
- Policy,
114
- GetDataPanelRequest,
115
- GetGroupListResponse,
116
- RegisterClaimPolicyResponse,
117
- GetDidDetailRequest,
118
- GetDidServiceDetailRequest,
119
- GetDidDocumentRequest,
120
- ConsortiumItem,
121
- GetCredentialIssueRankResponse,
122
- AddLabelResponse,
123
- GetDeployListResponse,
124
- CheckChainRequest,
125
- GetPublicKeyResponse,
126
- GetDidRegisterTrendResponse,
127
69
  GetCredentialStatusResponse,
128
- CreateTDidResponse,
129
- VerifyCredentialRequest,
130
- RegisterCptRequest,
131
- GetLabelListResponse,
132
- VerifyFunctionArg,
133
- GetPolicyListResponse,
134
- DidData,
135
- GetCredentialIssueRankRequest,
136
- GetDeployListRequest,
70
+ RegisterCptResponse,
137
71
  } from "./tdid_models"
138
72
 
139
73
  /**
@@ -145,62 +79,6 @@ export class Client extends AbstractClient {
145
79
  super("tdid.tencentcloudapi.com", "2021-05-19", clientConfig)
146
80
  }
147
81
 
148
- /**
149
- * 创建选择性批露凭证
150
- */
151
- async CreateSelectiveCredential(
152
- req: CreateSelectiveCredentialRequest,
153
- cb?: (error: string, rep: CreateSelectiveCredentialResponse) => void
154
- ): Promise<CreateSelectiveCredentialResponse> {
155
- return this.request("CreateSelectiveCredential", req, cb)
156
- }
157
-
158
- /**
159
- * 下线已有内测接口,待上线正式版本的接口
160
-
161
- 权威机构列表
162
- */
163
- async GetAuthoritiesList(
164
- req: GetAuthoritiesListRequest,
165
- cb?: (error: string, rep: GetAuthoritiesListResponse) => void
166
- ): Promise<GetAuthoritiesListResponse> {
167
- return this.request("GetAuthoritiesList", req, cb)
168
- }
169
-
170
- /**
171
- * 下线已有内测接口,待上线正式版本的接口
172
-
173
- 披露策略Policy管理列表
174
- */
175
- async GetPolicyList(
176
- req: GetPolicyListRequest,
177
- cb?: (error: string, rep: GetPolicyListResponse) => void
178
- ): Promise<GetPolicyListResponse> {
179
- return this.request("GetPolicyList", req, cb)
180
- }
181
-
182
- /**
183
- * 获取凭证链上状态信息
184
- */
185
- async GetCredentialStatus(
186
- req: GetCredentialStatusRequest,
187
- cb?: (error: string, rep: GetCredentialStatusResponse) => void
188
- ): Promise<GetCredentialStatusResponse> {
189
- return this.request("GetCredentialStatus", req, cb)
190
- }
191
-
192
- /**
193
- * 下线已有内测接口,待上线正式版本的接口
194
-
195
- 查看公钥
196
- */
197
- async GetPublicKey(
198
- req: GetPublicKeyRequest,
199
- cb?: (error: string, rep: GetPublicKeyResponse) => void
200
- ): Promise<GetPublicKeyResponse> {
201
- return this.request("GetPublicKey", req, cb)
202
- }
203
-
204
82
  /**
205
83
  * 检查区块链信息
206
84
  */
@@ -212,275 +90,34 @@ export class Client extends AbstractClient {
212
90
  }
213
91
 
214
92
  /**
215
- * 下线已有内测接口,待上线正式版本的接口
216
-
217
- 披露策略Policy查看
218
- */
219
- async QueryPolicy(
220
- req: QueryPolicyRequest,
221
- cb?: (error: string, rep: QueryPolicyResponse) => void
222
- ): Promise<QueryPolicyResponse> {
223
- return this.request("QueryPolicy", req, cb)
224
- }
225
-
226
- /**
227
- * 下线已有内测接口,待上线正式版本的接口
228
-
229
- 检查部署情况
230
- */
231
- async CheckDidDeploy(
232
- req: CheckDidDeployRequest,
233
- cb?: (error: string, rep: CheckDidDeployResponse) => void
234
- ): Promise<CheckDidDeployResponse> {
235
- return this.request("CheckDidDeploy", req, cb)
236
- }
237
-
238
- /**
239
- * 下线已有内测接口,待上线正式版本的接口
240
-
241
- 认证权威机构
242
- */
243
- async RecognizeAuthorityIssuer(
244
- req: RecognizeAuthorityIssuerRequest,
245
- cb?: (error: string, rep: RecognizeAuthorityIssuerResponse) => void
246
- ): Promise<RecognizeAuthorityIssuerResponse> {
247
- return this.request("RecognizeAuthorityIssuer", req, cb)
248
- }
249
-
250
- /**
251
- * 下线已有内测接口,待上线正式版本的接口
252
-
253
- 撤消权威机构认证
254
- */
255
- async CancelAuthorityIssuer(
256
- req: CancelAuthorityIssuerRequest,
257
- cb?: (error: string, rep: CancelAuthorityIssuerResponse) => void
258
- ): Promise<CancelAuthorityIssuerResponse> {
259
- return this.request("CancelAuthorityIssuer", req, cb)
260
- }
261
-
262
- /**
263
- * 下线已有内测接口,待上线正式版本的接口
264
-
265
- DID注册趋势
266
- */
267
- async GetDidRegisterTrend(
268
- req: GetDidRegisterTrendRequest,
269
- cb?: (error: string, rep: GetDidRegisterTrendResponse) => void
270
- ): Promise<GetDidRegisterTrendResponse> {
271
- return this.request("GetDidRegisterTrend", req, cb)
272
- }
273
-
274
- /**
275
- * 下线已有内测接口,待上线正式版本的接口
276
-
277
- DID详情
278
- */
279
- async GetDidDetail(
280
- req: GetDidDetailRequest,
281
- cb?: (error: string, rep: GetDidDetailResponse) => void
282
- ): Promise<GetDidDetailResponse> {
283
- return this.request("GetDidDetail", req, cb)
284
- }
285
-
286
- /**
287
- * 下线已有内测接口,待上线正式版本的接口
288
-
289
- 删除合约
290
- */
291
- async RemoveHash(
292
- req: RemoveHashRequest,
293
- cb?: (error: string, rep: RemoveHashResponse) => void
294
- ): Promise<RemoveHashResponse> {
295
- return this.request("RemoveHash", req, cb)
296
- }
297
-
298
- /**
299
- * 下线已有内测接口,待上线正式版本的接口
300
-
301
- 凭证颁发按机构排行
302
- */
303
- async GetCredentialIssueRank(
304
- req: GetCredentialIssueRankRequest,
305
- cb?: (error: string, rep: GetCredentialIssueRankResponse) => void
306
- ): Promise<GetCredentialIssueRankResponse> {
307
- return this.request("GetCredentialIssueRank", req, cb)
308
- }
309
-
310
- /**
311
- * 下线已有内测接口,待上线正式版本的接口
312
-
313
- 主群组配置列表
314
- */
315
- async GetGroupList(
316
- req: GetGroupListRequest,
317
- cb?: (error: string, rep: GetGroupListResponse) => void
318
- ): Promise<GetGroupListResponse> {
319
- return this.request("GetGroupList", req, cb)
320
- }
321
-
322
- /**
323
- * 下线已有内测接口,待上线正式版本的接口
324
-
325
- 披露策略Policy注册
326
- */
327
- async RegisterClaimPolicy(
328
- req: RegisterClaimPolicyRequest,
329
- cb?: (error: string, rep: RegisterClaimPolicyResponse) => void
330
- ): Promise<RegisterClaimPolicyResponse> {
331
- return this.request("RegisterClaimPolicy", req, cb)
332
- }
333
-
334
- /**
335
- * 下线已有内测接口,待上线正式版本的接口
336
-
337
- 获取联盟列表
338
- */
339
- async GetConsortiumList(
340
- req?: GetConsortiumListRequest,
341
- cb?: (error: string, rep: GetConsortiumListResponse) => void
342
- ): Promise<GetConsortiumListResponse> {
343
- return this.request("GetConsortiumList", req, cb)
344
- }
345
-
346
- /**
347
- * 下线已有内测接口,待上线正式版本的接口
348
-
349
- 获取用户的DID网络列表
350
- */
351
- async GetDidClusterList(
352
- req?: GetDidClusterListRequest,
353
- cb?: (error: string, rep: GetDidClusterListResponse) => void
354
- ): Promise<GetDidClusterListResponse> {
355
- return this.request("GetDidClusterList", req, cb)
356
- }
357
-
358
- /**
359
- * 下线已有内测接口,待上线正式版本的接口
360
-
361
- 获取DID服务详情
362
- */
363
- async GetDidServiceDetail(
364
- req: GetDidServiceDetailRequest,
365
- cb?: (error: string, rep: GetDidServiceDetailResponse) => void
366
- ): Promise<GetDidServiceDetailResponse> {
367
- return this.request("GetDidServiceDetail", req, cb)
368
- }
369
-
370
- /**
371
- * 下线已有内测接口,待上线正式版本的接口
372
-
373
- 凭证模版列表
374
- */
375
- async GetCptList(
376
- req: GetCptListRequest,
377
- cb?: (error: string, rep: GetCptListResponse) => void
378
- ): Promise<GetCptListResponse> {
379
- return this.request("GetCptList", req, cb)
380
- }
381
-
382
- /**
383
- * 下线已有内测接口,待上线正式版本的接口
384
-
385
- 凭证颁发趋势
386
- */
387
- async GetCredentialIssueTrend(
388
- req: GetCredentialIssueTrendRequest,
389
- cb?: (error: string, rep: GetCredentialIssueTrendResponse) => void
390
- ): Promise<GetCredentialIssueTrendResponse> {
391
- return this.request("GetCredentialIssueTrend", req, cb)
392
- }
393
-
394
- /**
395
- * 下线已有内测接口,待上线正式版本的接口
396
-
397
- 通过Name部署TDID合约
398
- */
399
- async DeployByName(
400
- req: DeployByNameRequest,
401
- cb?: (error: string, rep: DeployByNameResponse) => void
402
- ): Promise<DeployByNameResponse> {
403
- return this.request("DeployByName", req, cb)
404
- }
405
-
406
- /**
407
- * 下线已有内测接口,待上线正式版本的接口
408
-
409
- 创建DID服务
410
- */
411
- async CreateDidService(
412
- req: CreateDidServiceRequest,
413
- cb?: (error: string, rep: CreateDidServiceResponse) => void
414
- ): Promise<CreateDidServiceResponse> {
415
- return this.request("CreateDidService", req, cb)
416
- }
417
-
418
- /**
419
- * 创建凭证
93
+ * 凭证模版详情
420
94
  */
421
- async CreateCredential(
422
- req: CreateCredentialRequest,
423
- cb?: (error: string, rep: CreateCredentialResponse) => void
424
- ): Promise<CreateCredentialResponse> {
425
- return this.request("CreateCredential", req, cb)
95
+ async GetCptInfo(
96
+ req: GetCptInfoRequest,
97
+ cb?: (error: string, rep: GetCptInfoResponse) => void
98
+ ): Promise<GetCptInfoResponse> {
99
+ return this.request("GetCptInfo", req, cb)
426
100
  }
427
101
 
428
102
  /**
429
- * 下线已有内测接口,待上线正式版本的接口
103
+ * 查看DID文档
430
104
 
431
- 获取DID区块链网络详情
432
105
  */
433
- async GetDidClusterDetail(
434
- req: GetDidClusterDetailRequest,
435
- cb?: (error: string, rep: GetDidClusterDetailResponse) => void
436
- ): Promise<GetDidClusterDetailResponse> {
437
- return this.request("GetDidClusterDetail", req, cb)
106
+ async GetDidDocument(
107
+ req: GetDidDocumentRequest,
108
+ cb?: (error: string, rep: GetDidDocumentResponse) => void
109
+ ): Promise<GetDidDocumentResponse> {
110
+ return this.request("GetDidDocument", req, cb)
438
111
  }
439
112
 
440
113
  /**
441
- * 设置凭证链上状态
114
+ * 创建选择性批露凭证
442
115
  */
443
- async SetCredentialStatus(
444
- req: SetCredentialStatusRequest,
445
- cb?: (error: string, rep: SetCredentialStatusResponse) => void
446
- ): Promise<SetCredentialStatusResponse> {
447
- return this.request("SetCredentialStatus", req, cb)
448
- }
449
-
450
- /**
451
- * 下线已有内测接口,待上线正式版本的接口
452
-
453
- 标签列表
454
- */
455
- async GetLabelList(
456
- req: GetLabelListRequest,
457
- cb?: (error: string, rep: GetLabelListResponse) => void
458
- ): Promise<GetLabelListResponse> {
459
- return this.request("GetLabelList", req, cb)
460
- }
461
-
462
- /**
463
- * 下线已有内测接口,待上线正式版本的接口
464
-
465
- 启用合约
466
- */
467
- async EnableHash(
468
- req: EnableHashRequest,
469
- cb?: (error: string, rep: EnableHashResponse) => void
470
- ): Promise<EnableHashResponse> {
471
- return this.request("EnableHash", req, cb)
472
- }
473
-
474
- /**
475
- * 下线已有内测接口,待上线正式版本的接口
476
-
477
- 合约部署列表
478
- */
479
- async GetDeployList(
480
- req: GetDeployListRequest,
481
- cb?: (error: string, rep: GetDeployListResponse) => void
482
- ): Promise<GetDeployListResponse> {
483
- return this.request("GetDeployList", req, cb)
116
+ async CreateSelectiveCredential(
117
+ req: CreateSelectiveCredentialRequest,
118
+ cb?: (error: string, rep: CreateSelectiveCredentialResponse) => void
119
+ ): Promise<CreateSelectiveCredentialResponse> {
120
+ return this.request("CreateSelectiveCredential", req, cb)
484
121
  }
485
122
 
486
123
  /**
@@ -496,31 +133,6 @@ DID详情
496
133
  /**
497
134
  * 下线已有内测接口,待上线正式版本的接口
498
135
 
499
- 注册为权威机构
500
- */
501
- async RegisterIssuer(
502
- req: RegisterIssuerRequest,
503
- cb?: (error: string, rep: RegisterIssuerResponse) => void
504
- ): Promise<RegisterIssuerResponse> {
505
- return this.request("RegisterIssuer", req, cb)
506
- }
507
-
508
- /**
509
- * 下线已有内测接口,待上线正式版本的接口
510
-
511
- 合约部署详情
512
-
513
- */
514
- async GetDeployInfo(
515
- req: GetDeployInfoRequest,
516
- cb?: (error: string, rep: GetDeployInfoResponse) => void
517
- ): Promise<GetDeployInfoResponse> {
518
- return this.request("GetDeployInfo", req, cb)
519
- }
520
-
521
- /**
522
- * 下线已有内测接口,待上线正式版本的接口
523
-
524
136
  凭证颁发按机构排行
525
137
  */
526
138
  async GetCredentialCptRank(
@@ -531,48 +143,13 @@ DID详情
531
143
  }
532
144
 
533
145
  /**
534
- * 凭证模版详情
146
+ * 创建凭证
535
147
  */
536
- async GetCptInfo(
537
- req: GetCptInfoRequest,
538
- cb?: (error: string, rep: GetCptInfoResponse) => void
539
- ): Promise<GetCptInfoResponse> {
540
- return this.request("GetCptInfo", req, cb)
541
- }
542
-
543
- /**
544
- * 查看DID文档
545
-
546
- */
547
- async GetDidDocument(
548
- req: GetDidDocumentRequest,
549
- cb?: (error: string, rep: GetDidDocumentResponse) => void
550
- ): Promise<GetDidDocumentResponse> {
551
- return this.request("GetDidDocument", req, cb)
552
- }
553
-
554
- /**
555
- * 下线已有内测接口,待上线正式版本的接口
556
-
557
- 获取DID服务列表
558
- */
559
- async GetDidServiceList(
560
- req: GetDidServiceListRequest,
561
- cb?: (error: string, rep: GetDidServiceListResponse) => void
562
- ): Promise<GetDidServiceListResponse> {
563
- return this.request("GetDidServiceList", req, cb)
564
- }
565
-
566
- /**
567
- * 下线已有内测接口,待上线正式版本的接口
568
-
569
- DID列表
570
- */
571
- async GetDidList(
572
- req: GetDidListRequest,
573
- cb?: (error: string, rep: GetDidListResponse) => void
574
- ): Promise<GetDidListResponse> {
575
- return this.request("GetDidList", req, cb)
148
+ async CreateCredential(
149
+ req: CreateCredentialRequest,
150
+ cb?: (error: string, rep: CreateCredentialResponse) => void
151
+ ): Promise<CreateCredentialResponse> {
152
+ return this.request("CreateCredential", req, cb)
576
153
  }
577
154
 
578
155
  /**
@@ -585,6 +162,18 @@ DID列表
585
162
  return this.request("CreateTDidByPublicKey", req, cb)
586
163
  }
587
164
 
165
+ /**
166
+ * 下线已有内测接口,待上线正式版本的接口
167
+
168
+ 获取联盟列表
169
+ */
170
+ async GetConsortiumList(
171
+ req?: GetConsortiumListRequest,
172
+ cb?: (error: string, rep: GetConsortiumListResponse) => void
173
+ ): Promise<GetConsortiumListResponse> {
174
+ return this.request("GetConsortiumList", req, cb)
175
+ }
176
+
588
177
  /**
589
178
  * 该接口已废弃
590
179
 
@@ -623,23 +212,23 @@ DID添加标签
623
212
  /**
624
213
  * 下线已有内测接口,待上线正式版本的接口
625
214
 
626
- 凭证模版下载
215
+ 获取用户的DID网络列表
627
216
  */
628
- async DownCpt(
629
- req: DownCptRequest,
630
- cb?: (error: string, rep: DownCptResponse) => void
631
- ): Promise<DownCptResponse> {
632
- return this.request("DownCpt", req, cb)
217
+ async GetDidClusterList(
218
+ req?: GetDidClusterListRequest,
219
+ cb?: (error: string, rep: GetDidClusterListResponse) => void
220
+ ): Promise<GetDidClusterListResponse> {
221
+ return this.request("GetDidClusterList", req, cb)
633
222
  }
634
223
 
635
224
  /**
636
- * 凭证模版新建
225
+ * 获取凭证链上状态信息
637
226
  */
638
- async RegisterCpt(
639
- req: RegisterCptRequest,
640
- cb?: (error: string, rep: RegisterCptResponse) => void
641
- ): Promise<RegisterCptResponse> {
642
- return this.request("RegisterCpt", req, cb)
227
+ async GetCredentialStatus(
228
+ req: GetCredentialStatusRequest,
229
+ cb?: (error: string, rep: GetCredentialStatusResponse) => void
230
+ ): Promise<GetCredentialStatusResponse> {
231
+ return this.request("GetCredentialStatus", req, cb)
643
232
  }
644
233
 
645
234
  /**
@@ -667,14 +256,13 @@ DID添加标签
667
256
  /**
668
257
  * 下线已有内测接口,待上线正式版本的接口
669
258
 
670
- 概览
671
-
259
+ 获取DID区块链网络详情
672
260
  */
673
- async GetDataPanel(
674
- req: GetDataPanelRequest,
675
- cb?: (error: string, rep: GetDataPanelResponse) => void
676
- ): Promise<GetDataPanelResponse> {
677
- return this.request("GetDataPanel", req, cb)
261
+ async GetDidClusterDetail(
262
+ req: GetDidClusterDetailRequest,
263
+ cb?: (error: string, rep: GetDidClusterDetailResponse) => void
264
+ ): Promise<GetDidClusterDetailResponse> {
265
+ return this.request("GetDidClusterDetail", req, cb)
678
266
  }
679
267
 
680
268
  /**
@@ -688,14 +276,22 @@ DID添加标签
688
276
  }
689
277
 
690
278
  /**
691
- * 下线已有内测接口,待上线正式版本的接口
279
+ * 设置凭证链上状态
280
+ */
281
+ async SetCredentialStatus(
282
+ req: SetCredentialStatusRequest,
283
+ cb?: (error: string, rep: SetCredentialStatusResponse) => void
284
+ ): Promise<SetCredentialStatusResponse> {
285
+ return this.request("SetCredentialStatus", req, cb)
286
+ }
692
287
 
693
- 新建标签
694
- */
695
- async CreateLabel(
696
- req: CreateLabelRequest,
697
- cb?: (error: string, rep: CreateLabelResponse) => void
698
- ): Promise<CreateLabelResponse> {
699
- return this.request("CreateLabel", req, cb)
288
+ /**
289
+ * 凭证模版新建
290
+ */
291
+ async RegisterCpt(
292
+ req: RegisterCptRequest,
293
+ cb?: (error: string, rep: RegisterCptResponse) => void
294
+ ): Promise<RegisterCptResponse> {
295
+ return this.request("RegisterCpt", req, cb)
700
296
  }
701
297
  }