tencentcloud-sdk-nodejs 4.0.627 → 4.0.629

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 (90) hide show
  1. package/CHANGELOG.md +508 -0
  2. package/SERVICE_CHANGELOG.md +642 -100
  3. package/package.json +1 -1
  4. package/products.md +30 -30
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +35 -26
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +17 -13
  8. package/src/services/asr/v20190614/asr_client.ts +1 -1
  9. package/src/services/asr/v20190614/asr_models.ts +2 -2
  10. package/src/services/cdb/v20170320/cdb_models.ts +2 -2
  11. package/src/services/cdn/v20180606/cdn_client.ts +16 -0
  12. package/src/services/cdn/v20180606/cdn_models.ts +28 -0
  13. package/src/services/ckafka/v20190819/ckafka_client.ts +26 -12
  14. package/src/services/ckafka/v20190819/ckafka_models.ts +271 -130
  15. package/src/services/cls/v20201016/cls_client.ts +1 -1
  16. package/src/services/cynosdb/v20190107/cynosdb_client.ts +13 -1
  17. package/src/services/cynosdb/v20190107/cynosdb_models.ts +42 -8
  18. package/src/services/ess/v20201111/ess_models.ts +4 -4
  19. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -36
  20. package/src/services/live/v20180801/live_models.ts +4 -4
  21. package/src/services/nlp/v20190408/nlp_client.ts +54 -5
  22. package/src/services/nlp/v20190408/nlp_models.ts +206 -32
  23. package/src/services/postgres/v20170312/postgres_models.ts +5 -5
  24. package/src/services/sqlserver/v20180328/sqlserver_client.ts +1 -0
  25. package/src/services/sqlserver/v20180328/sqlserver_models.ts +33 -2
  26. package/src/services/tbaas/v20180416/tbaas_client.ts +53 -123
  27. package/src/services/tbaas/v20180416/tbaas_models.ts +192 -516
  28. package/src/services/tdid/v20210519/tdid_client.ts +111 -518
  29. package/src/services/tdid/v20210519/tdid_models.ts +354 -1911
  30. package/src/services/tdmq/v20200217/tdmq_models.ts +2 -2
  31. package/src/services/tione/v20211111/tione_models.ts +10 -0
  32. package/src/services/tke/v20180525/tke_client.ts +1 -1
  33. package/src/services/tke/v20180525/tke_models.ts +4 -4
  34. package/src/services/trp/v20210515/trp_client.ts +1 -0
  35. package/src/services/trp/v20210515/trp_models.ts +152 -40
  36. package/src/services/tts/v20190823/tts_models.ts +3 -3
  37. package/src/services/waf/v20180125/waf_client.ts +13 -0
  38. package/src/services/waf/v20180125/waf_models.ts +170 -0
  39. package/src/services/wedata/v20210820/wedata_models.ts +76 -5
  40. package/tencentcloud/common/sdk_version.d.ts +1 -1
  41. package/tencentcloud/common/sdk_version.js +1 -1
  42. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +35 -26
  43. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +17 -13
  44. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  45. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  46. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
  47. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
  48. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +9 -1
  49. package/tencentcloud/services/cdn/v20180606/cdn_client.js +10 -0
  50. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +26 -0
  51. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +7 -3
  52. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +9 -3
  53. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +266 -129
  54. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  55. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  56. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  57. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  58. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +40 -8
  59. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -4
  60. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -36
  61. package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -4
  62. package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +17 -1
  63. package/tencentcloud/services/nlp/v20190408/nlp_client.js +24 -0
  64. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +197 -32
  65. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +5 -5
  66. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +32 -2
  67. package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +27 -47
  68. package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +27 -59
  69. package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +193 -503
  70. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +41 -197
  71. package/tencentcloud/services/tdid/v20210519/tdid_client.js +50 -266
  72. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +353 -1839
  73. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +2 -2
  74. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +10 -0
  75. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
  76. package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
  77. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -4
  78. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +151 -40
  79. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +3 -3
  80. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  81. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  82. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +167 -0
  83. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +76 -5
  84. package/test/cdn.v20180606.test.js +10 -0
  85. package/test/ckafka.v20190819.test.js +12 -2
  86. package/test/cynosdb.v20190107.test.js +10 -0
  87. package/test/nlp.v20190408.test.js +40 -0
  88. package/test/tbaas.v20180416.test.js +2 -62
  89. package/test/tdid.v20210519.test.js +20 -320
  90. package/test/waf.v20180125.test.js +10 -0
@@ -19,121 +19,50 @@ 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,
84
- GetDidClusterListResponse,
85
- RecognizeAuthorityIssuerRequest,
31
+ VerifyFunctionArg,
32
+ GetConsortiumListRequest,
33
+ CreateCredentialRequest,
34
+ GetDidDocumentRequest,
35
+ GetConsortiumListResponse,
36
+ ConsortiumItem,
86
37
  GetCredentialStatusRequest,
87
38
  GetAgencyTDidResponse,
88
- DidServiceInfo,
39
+ AddLabelResponse,
40
+ VerifyCredentialResponse,
89
41
  SetCredentialStatusResponse,
42
+ GetCptInfoResponse,
90
43
  CptIssueRank,
91
44
  GetCredentialCptRankResponse,
92
- TransactionArg,
93
- RegisterIssuerRequest,
94
- GetDidListResponse,
95
- GetDeployInfoResponse,
96
- Contract,
45
+ GetConsortiumClusterListResponse,
46
+ AddLabelRequest,
47
+ GetAuthorityIssuerResponse,
48
+ GetDidDocumentResponse,
49
+ CreateTDidResponse,
50
+ CreateSelectiveCredentialResponse,
51
+ GetAgencyTDidRequest,
97
52
  CreateTDidByPublicKeyResponse,
98
- CheckDidDeployResponse,
99
- GetDidClusterDetailRequest,
53
+ GetCredentialCptRankRequest,
54
+ RegisterCptRequest,
55
+ Proof,
56
+ VerifyCredentialRequest,
100
57
  GetConsortiumClusterListRequest,
101
- GetDidDetailResponse,
102
- Trend,
58
+ FunctionArg,
59
+ CreateTDidByPrivateKeyRequest,
103
60
  BcosClusterItem,
104
- GetLabelListRequest,
105
- DidCluster,
106
- GetDataPanelResponse,
61
+ SetCredentialStatusRequest,
62
+ GetCptInfoRequest,
107
63
  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
64
  GetCredentialStatusResponse,
128
- CreateTDidResponse,
129
- VerifyCredentialRequest,
130
- RegisterCptRequest,
131
- GetLabelListResponse,
132
- VerifyFunctionArg,
133
- GetPolicyListResponse,
134
- DidData,
135
- GetCredentialIssueRankRequest,
136
- GetDeployListRequest,
65
+ RegisterCptResponse,
137
66
  } from "./tdid_models"
138
67
 
139
68
  /**
@@ -146,64 +75,10 @@ export class Client extends AbstractClient {
146
75
  }
147
76
 
148
77
  /**
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
- * 下线已有内测接口,待上线正式版本的接口
78
+ * 该接口不再使用
194
79
 
195
- 查看公钥
80
+ 检查区块链信息
196
81
  */
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
- /**
205
- * 检查区块链信息
206
- */
207
82
  async CheckChain(
208
83
  req: CheckChainRequest,
209
84
  cb?: (error: string, rep: CheckChainResponse) => void
@@ -212,280 +87,47 @@ export class Client extends AbstractClient {
212
87
  }
213
88
 
214
89
  /**
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
- * 创建凭证
420
- */
421
- async CreateCredential(
422
- req: CreateCredentialRequest,
423
- cb?: (error: string, rep: CreateCredentialResponse) => void
424
- ): Promise<CreateCredentialResponse> {
425
- return this.request("CreateCredential", req, cb)
426
- }
427
-
428
- /**
429
- * 下线已有内测接口,待上线正式版本的接口
90
+ * 该接口不再使用
430
91
 
431
- 获取DID区块链网络详情
92
+ 凭证模版详情
432
93
  */
433
- async GetDidClusterDetail(
434
- req: GetDidClusterDetailRequest,
435
- cb?: (error: string, rep: GetDidClusterDetailResponse) => void
436
- ): Promise<GetDidClusterDetailResponse> {
437
- return this.request("GetDidClusterDetail", req, cb)
94
+ async GetCptInfo(
95
+ req: GetCptInfoRequest,
96
+ cb?: (error: string, rep: GetCptInfoResponse) => void
97
+ ): Promise<GetCptInfoResponse> {
98
+ return this.request("GetCptInfo", req, cb)
438
99
  }
439
100
 
440
101
  /**
441
- * 设置凭证链上状态
442
- */
443
- async SetCredentialStatus(
444
- req: SetCredentialStatusRequest,
445
- cb?: (error: string, rep: SetCredentialStatusResponse) => void
446
- ): Promise<SetCredentialStatusResponse> {
447
- return this.request("SetCredentialStatus", req, cb)
448
- }
102
+ * 该接口不再使用
449
103
 
450
- /**
451
- * 下线已有内测接口,待上线正式版本的接口
104
+ 查看DID文档
452
105
 
453
- 标签列表
454
106
  */
455
- async GetLabelList(
456
- req: GetLabelListRequest,
457
- cb?: (error: string, rep: GetLabelListResponse) => void
458
- ): Promise<GetLabelListResponse> {
459
- return this.request("GetLabelList", req, cb)
107
+ async GetDidDocument(
108
+ req: GetDidDocumentRequest,
109
+ cb?: (error: string, rep: GetDidDocumentResponse) => void
110
+ ): Promise<GetDidDocumentResponse> {
111
+ return this.request("GetDidDocument", req, cb)
460
112
  }
461
113
 
462
114
  /**
463
- * 下线已有内测接口,待上线正式版本的接口
115
+ * 该接口不再使用
464
116
 
465
- 启用合约
117
+ 创建选择性批露凭证
466
118
  */
467
- async EnableHash(
468
- req: EnableHashRequest,
469
- cb?: (error: string, rep: EnableHashResponse) => void
470
- ): Promise<EnableHashResponse> {
471
- return this.request("EnableHash", req, cb)
119
+ async CreateSelectiveCredential(
120
+ req: CreateSelectiveCredentialRequest,
121
+ cb?: (error: string, rep: CreateSelectiveCredentialResponse) => void
122
+ ): Promise<CreateSelectiveCredentialResponse> {
123
+ return this.request("CreateSelectiveCredential", req, cb)
472
124
  }
473
125
 
474
126
  /**
475
- * 下线已有内测接口,待上线正式版本的接口
127
+ * 该接口不再使用
476
128
 
477
- 合约部署列表
129
+ 创建机构DID
478
130
  */
479
- async GetDeployList(
480
- req: GetDeployListRequest,
481
- cb?: (error: string, rep: GetDeployListResponse) => void
482
- ): Promise<GetDeployListResponse> {
483
- return this.request("GetDeployList", req, cb)
484
- }
485
-
486
- /**
487
- * 创建机构DID
488
- */
489
131
  async CreateTDid(
490
132
  req: CreateTDidRequest,
491
133
  cb?: (error: string, rep: CreateTDidResponse) => void
@@ -496,31 +138,6 @@ DID详情
496
138
  /**
497
139
  * 下线已有内测接口,待上线正式版本的接口
498
140
 
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
141
  凭证颁发按机构排行
525
142
  */
526
143
  async GetCredentialCptRank(
@@ -531,58 +148,39 @@ DID详情
531
148
  }
532
149
 
533
150
  /**
534
- * 凭证模版详情
535
- */
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文档
151
+ * 该接口不再使用
545
152
 
153
+ 创建凭证
546
154
  */
547
- async GetDidDocument(
548
- req: GetDidDocumentRequest,
549
- cb?: (error: string, rep: GetDidDocumentResponse) => void
550
- ): Promise<GetDidDocumentResponse> {
551
- return this.request("GetDidDocument", req, cb)
155
+ async CreateCredential(
156
+ req: CreateCredentialRequest,
157
+ cb?: (error: string, rep: CreateCredentialResponse) => void
158
+ ): Promise<CreateCredentialResponse> {
159
+ return this.request("CreateCredential", req, cb)
552
160
  }
553
161
 
554
162
  /**
555
- * 下线已有内测接口,待上线正式版本的接口
163
+ * 该接口不再使用
556
164
 
557
- 获取DID服务列表
165
+ 新建DID根据公钥生成Tdid
558
166
  */
559
- async GetDidServiceList(
560
- req: GetDidServiceListRequest,
561
- cb?: (error: string, rep: GetDidServiceListResponse) => void
562
- ): Promise<GetDidServiceListResponse> {
563
- return this.request("GetDidServiceList", req, cb)
167
+ async CreateTDidByPublicKey(
168
+ req: CreateTDidByPublicKeyRequest,
169
+ cb?: (error: string, rep: CreateTDidByPublicKeyResponse) => void
170
+ ): Promise<CreateTDidByPublicKeyResponse> {
171
+ return this.request("CreateTDidByPublicKey", req, cb)
564
172
  }
565
173
 
566
174
  /**
567
175
  * 下线已有内测接口,待上线正式版本的接口
568
176
 
569
- DID列表
177
+ 获取联盟列表
570
178
  */
571
- async GetDidList(
572
- req: GetDidListRequest,
573
- cb?: (error: string, rep: GetDidListResponse) => void
574
- ): Promise<GetDidListResponse> {
575
- return this.request("GetDidList", req, cb)
576
- }
577
-
578
- /**
579
- * 新建DID根据公钥生成Tdid
580
- */
581
- async CreateTDidByPublicKey(
582
- req: CreateTDidByPublicKeyRequest,
583
- cb?: (error: string, rep: CreateTDidByPublicKeyResponse) => void
584
- ): Promise<CreateTDidByPublicKeyResponse> {
585
- return this.request("CreateTDidByPublicKey", req, cb)
179
+ async GetConsortiumList(
180
+ req?: GetConsortiumListRequest,
181
+ cb?: (error: string, rep: GetConsortiumListResponse) => void
182
+ ): Promise<GetConsortiumListResponse> {
183
+ return this.request("GetConsortiumList", req, cb)
586
184
  }
587
185
 
588
186
  /**
@@ -598,8 +196,10 @@ DID列表
598
196
  }
599
197
 
600
198
  /**
601
- * 新建DID根据私钥生成Tdid
602
- */
199
+ * 该接口不再使用
200
+
201
+ 新建DID根据私钥生成Tdid
202
+ */
603
203
  async CreateTDidByPrivateKey(
604
204
  req: CreateTDidByPrivateKeyRequest,
605
205
  cb?: (error: string, rep: CreateTDidByPrivateKeyResponse) => void
@@ -621,25 +221,15 @@ DID添加标签
621
221
  }
622
222
 
623
223
  /**
624
- * 下线已有内测接口,待上线正式版本的接口
224
+ * 该接口不再使用
625
225
 
626
- 凭证模版下载
226
+ 获取凭证链上状态信息
627
227
  */
628
- async DownCpt(
629
- req: DownCptRequest,
630
- cb?: (error: string, rep: DownCptResponse) => void
631
- ): Promise<DownCptResponse> {
632
- return this.request("DownCpt", req, cb)
633
- }
634
-
635
- /**
636
- * 凭证模版新建
637
- */
638
- async RegisterCpt(
639
- req: RegisterCptRequest,
640
- cb?: (error: string, rep: RegisterCptResponse) => void
641
- ): Promise<RegisterCptResponse> {
642
- return this.request("RegisterCpt", req, cb)
228
+ async GetCredentialStatus(
229
+ req: GetCredentialStatusRequest,
230
+ cb?: (error: string, rep: GetCredentialStatusResponse) => void
231
+ ): Promise<GetCredentialStatusResponse> {
232
+ return this.request("GetCredentialStatus", req, cb)
643
233
  }
644
234
 
645
235
  /**
@@ -655,8 +245,10 @@ DID添加标签
655
245
  }
656
246
 
657
247
  /**
658
- * 验证凭证
659
- */
248
+ * 该接口不再使用
249
+
250
+ 验证凭证
251
+ */
660
252
  async VerifyCredential(
661
253
  req: VerifyCredentialRequest,
662
254
  cb?: (error: string, rep: VerifyCredentialResponse) => void
@@ -665,21 +257,10 @@ DID添加标签
665
257
  }
666
258
 
667
259
  /**
668
- * 下线已有内测接口,待上线正式版本的接口
669
-
670
- 概览
260
+ * 该接口不再使用
671
261
 
262
+ 获取权威机构信息
672
263
  */
673
- async GetDataPanel(
674
- req: GetDataPanelRequest,
675
- cb?: (error: string, rep: GetDataPanelResponse) => void
676
- ): Promise<GetDataPanelResponse> {
677
- return this.request("GetDataPanel", req, cb)
678
- }
679
-
680
- /**
681
- * 获取权威机构信息
682
- */
683
264
  async GetAuthorityIssuer(
684
265
  req: GetAuthorityIssuerRequest,
685
266
  cb?: (error: string, rep: GetAuthorityIssuerResponse) => void
@@ -688,14 +269,26 @@ DID添加标签
688
269
  }
689
270
 
690
271
  /**
691
- * 下线已有内测接口,待上线正式版本的接口
272
+ * 该接口不再使用
273
+
274
+ 设置凭证链上状态
275
+ */
276
+ async SetCredentialStatus(
277
+ req: SetCredentialStatusRequest,
278
+ cb?: (error: string, rep: SetCredentialStatusResponse) => void
279
+ ): Promise<SetCredentialStatusResponse> {
280
+ return this.request("SetCredentialStatus", req, cb)
281
+ }
282
+
283
+ /**
284
+ * 该接口不再使用
692
285
 
693
- 新建标签
286
+ 凭证模版新建
694
287
  */
695
- async CreateLabel(
696
- req: CreateLabelRequest,
697
- cb?: (error: string, rep: CreateLabelResponse) => void
698
- ): Promise<CreateLabelResponse> {
699
- return this.request("CreateLabel", req, cb)
288
+ async RegisterCpt(
289
+ req: RegisterCptRequest,
290
+ cb?: (error: string, rep: RegisterCptResponse) => void
291
+ ): Promise<RegisterCptResponse> {
292
+ return this.request("RegisterCpt", req, cb)
700
293
  }
701
294
  }