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
@@ -49,51 +49,45 @@ export interface CredentialStatus {
49
49
  }
50
50
 
51
51
  /**
52
- * QueryPolicy请求参数结构体
52
+ * CreateTDid请求参数结构体
53
53
  */
54
- export interface QueryPolicyRequest {
54
+ export interface CreateTDidRequest {
55
55
  /**
56
- * policy索引
56
+ * 群组ID
57
57
  */
58
- PolicyIndex: number
59
- }
60
-
61
- /**
62
- * RegisterClaimPolicy请求参数结构体
63
- */
64
- export interface RegisterClaimPolicyRequest {
58
+ GroupId: number
65
59
  /**
66
- * Cpt索引
60
+ * 网络ID
67
61
  */
68
- CptIndex: number
62
+ ClusterId: string
69
63
  /**
70
- * 披露策略
64
+ * 部署机构为1,否则为0
71
65
  */
72
- Policy: string
66
+ Relegation: number
73
67
  }
74
68
 
75
69
  /**
76
- * GetDidServiceDetail返回参数结构体
70
+ * CreateSelectiveCredential请求参数结构体
77
71
  */
78
- export interface GetDidServiceDetailResponse {
72
+ export interface CreateSelectiveCredentialRequest {
79
73
  /**
80
- * did服务信息
74
+ * 参数集合
81
75
  */
82
- DidService: DidServiceInfo
76
+ FunctionArg: VerifyFunctionArg
83
77
  /**
84
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
78
+ * 批露策略id
85
79
  */
86
- RequestId?: string
80
+ PolicyId: number
87
81
  }
88
82
 
89
83
  /**
90
- * CreateCredential返回参数结构体
84
+ * CreateTDidByPrivateKey返回参数结构体
91
85
  */
92
- export interface CreateCredentialResponse {
86
+ export interface CreateTDidByPrivateKeyResponse {
93
87
  /**
94
- * Credential的具体信息
88
+ * did的具体信息
95
89
  */
96
- CredentialData: string
90
+ Did: string
97
91
  /**
98
92
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
99
93
  */
@@ -101,28 +95,21 @@ export interface CreateCredentialResponse {
101
95
  }
102
96
 
103
97
  /**
104
- * GetConsortiumList请求参数结构体
105
- */
106
- export type GetConsortiumListRequest = null
107
-
108
- /**
109
- * DownCpt返回参数结构体
98
+ * CheckChain返回参数结构体
110
99
  */
111
- export interface DownCptResponse {
100
+ export interface CheckChainResponse {
112
101
  /**
113
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
102
+ * 1为盟主,0为非盟主
114
103
  */
115
- RequestId?: string
116
- }
117
-
118
- /**
119
- * GetCredentialIssueTrend返回参数结构体
120
- */
121
- export interface GetCredentialIssueTrendResponse {
104
+ RoleType: number
105
+ /**
106
+ * 链ID
107
+ */
108
+ ChainId: string
122
109
  /**
123
- * Trend集合
110
+ * 应用名称
124
111
  */
125
- Trend: Array<Trend>
112
+ AppName: string
126
113
  /**
127
114
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
128
115
  */
@@ -130,49 +117,45 @@ export interface GetCredentialIssueTrendResponse {
130
117
  }
131
118
 
132
119
  /**
133
- * CreateCredential请求参数结构体
120
+ * 创建凭证第二个
134
121
  */
135
- export interface CreateCredentialRequest {
136
- /**
137
- * 参数集合,详见示例
138
- */
139
- FunctionArg: FunctionArg
140
- /**
141
- * 参数集合,详见示例
142
- */
143
- TransactionArg: TransactionArg
144
- /**
145
- * 版本
146
- */
147
- VersionCredential: string
122
+ export interface TransactionArg {
148
123
  /**
149
- * 是否未签名
124
+ * 凭证did
150
125
  */
151
- UnSigned?: boolean
126
+ InvokerTDid: string
152
127
  }
153
128
 
154
129
  /**
155
- * CreateDidService返回参数结构体
130
+ * CreateTDidByPublicKey请求参数结构体
156
131
  */
157
- export interface CreateDidServiceResponse {
132
+ export interface CreateTDidByPublicKeyRequest {
158
133
  /**
159
- * 服务信息
134
+ * 网络ID
160
135
  */
161
- Task: Task
136
+ ClusterId: string
162
137
  /**
163
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
138
+ * 群组ID
164
139
  */
165
- RequestId?: string
140
+ GroupId: number
141
+ /**
142
+ * 身份公钥
143
+ */
144
+ PublicKey: string
145
+ /**
146
+ * 加密公钥
147
+ */
148
+ EncryptPubKey?: string
166
149
  }
167
150
 
168
151
  /**
169
- * GetConsortiumList返回参数结构体
152
+ * CreateCredential返回参数结构体
170
153
  */
171
- export interface GetConsortiumListResponse {
154
+ export interface CreateCredentialResponse {
172
155
  /**
173
- * 联盟列表
156
+ * Credential的具体信息
174
157
  */
175
- ConsortiumList: Array<ConsortiumItem>
158
+ CredentialData: string
176
159
  /**
177
160
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
178
161
  */
@@ -180,343 +163,204 @@ export interface GetConsortiumListResponse {
180
163
  }
181
164
 
182
165
  /**
183
- * GetCredentialCptRank请求参数结构体
166
+ * CheckChain请求参数结构体
184
167
  */
185
- export interface GetCredentialCptRankRequest {
186
- /**
187
- * 开始时间(支持到天 2021-4-23)
188
- */
189
- StartTime: string
168
+ export interface CheckChainRequest {
190
169
  /**
191
- * 结束时间(支持到天 2021-4-23)
170
+ * 群组ID
192
171
  */
193
- EndTime: string
172
+ GroupId: number
194
173
  /**
195
174
  * 网络ID
196
175
  */
197
- ClusterId?: string
198
- }
199
-
200
- /**
201
- * GetPolicyList请求参数结构体
202
- */
203
- export interface GetPolicyListRequest {
204
- /**
205
- * 起始位置
206
- */
207
- DisplayStart: number
176
+ ClusterId: string
208
177
  /**
209
- * 长度
178
+ * did服务机构名称
210
179
  */
211
- DisplayLength: number
180
+ AgencyName: string
212
181
  }
213
182
 
214
183
  /**
215
- * GetConsortiumClusterList返回参数结构体
184
+ * GetAuthorityIssuer请求参数结构体
216
185
  */
217
- export interface GetConsortiumClusterListResponse {
218
- /**
219
- * 网络列表
220
- */
221
- ClusterList: Array<BcosClusterItem>
186
+ export interface GetAuthorityIssuerRequest {
222
187
  /**
223
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
188
+ * tdid
224
189
  */
225
- RequestId?: string
190
+ Did: string
226
191
  }
227
192
 
228
193
  /**
229
- * CreateDidService、CheckDidDeploy出参
194
+ * 验证凭证参数值
230
195
  */
231
- export interface Task {
232
- /**
233
- * 任务ID
234
- */
235
- Id: number
196
+ export interface VerifyFunctionArg {
236
197
  /**
237
- * 应用ID
198
+ * CPT ID
238
199
  */
239
- AppId: number
200
+ CptId: number
240
201
  /**
241
- * 网络ID
202
+ * issuer did
242
203
  */
243
- ClusterId: string
204
+ Issuer: string
244
205
  /**
245
- * 群组ID
206
+ * 过期时间
246
207
  */
247
- GroupId: number
208
+ ExpirationDate: number
248
209
  /**
249
- * 服务ID
210
+ * 声明
250
211
  */
251
- ServiceId: number
212
+ ClaimJson: string
252
213
  /**
253
- * 0: 部署中,1:部署成功,其他失败
214
+ * 颁发时间
254
215
  */
255
- Status: number
216
+ IssuanceDate: number
256
217
  /**
257
- * 错误码
218
+ * context值
258
219
  */
259
- ErrorCode: string
220
+ Context: string
260
221
  /**
261
- * 错误提示
222
+ * id值
262
223
  */
263
- ErrorMsg: string
224
+ Id: string
264
225
  /**
265
- * 生成时间
226
+ * 签名值
266
227
  */
267
- CreateTime: string
228
+ Proof: Proof
268
229
  /**
269
- * 更新时间
230
+ * type值
270
231
  */
271
- UpdateTime: string
232
+ Type: Array<string>
272
233
  }
273
234
 
274
235
  /**
275
- * GetCptList请求参数结构体
236
+ * GetConsortiumList请求参数结构体
276
237
  */
277
- export interface GetCptListRequest {
278
- /**
279
- * 起始位置
280
- */
281
- DisplayStart: number
282
- /**
283
- * 长度
284
- */
285
- DisplayLength: number
286
- /**
287
- * 模板类型,0: 所有模板,1: 系统模板,2: 用户模板,3:普通模板
288
- */
289
- CptType?: number
290
- }
238
+ export type GetConsortiumListRequest = null
291
239
 
292
240
  /**
293
- * GetAuthoritiesList请求参数结构体
241
+ * CreateCredential请求参数结构体
294
242
  */
295
- export interface GetAuthoritiesListRequest {
243
+ export interface CreateCredentialRequest {
296
244
  /**
297
- * 页码,从1开始
245
+ * 参数集合,详见示例
298
246
  */
299
- PageNumber: number
247
+ FunctionArg: FunctionArg
300
248
  /**
301
- * 每页大小
249
+ * 参数集合,详见示例
302
250
  */
303
- PageSize: number
251
+ TransactionArg: TransactionArg
304
252
  /**
305
- * Did信息
253
+ * 版本
306
254
  */
307
- Did?: string
255
+ VersionCredential: string
308
256
  /**
309
- * 权威认证 1:已认证,2:未认证
257
+ * 是否未签名
310
258
  */
311
- Status?: number
259
+ UnSigned?: boolean
312
260
  }
313
261
 
314
262
  /**
315
- * GetAgencyTDid请求参数结构体
263
+ * GetDidDocument请求参数结构体
316
264
  */
317
- export interface GetAgencyTDidRequest {
265
+ export interface GetDidDocumentRequest {
318
266
  /**
319
- * 网络ID
267
+ * tdid
320
268
  */
321
- ClusterId: string
269
+ Did: string
322
270
  }
323
271
 
324
272
  /**
325
- * RemoveHash请求参数结构体
273
+ * GetConsortiumList返回参数结构体
326
274
  */
327
- export interface RemoveHashRequest {
275
+ export interface GetConsortiumListResponse {
276
+ /**
277
+ * 联盟列表
278
+ */
279
+ ConsortiumList: Array<ConsortiumItem>
328
280
  /**
329
- * 合约CNS地址
281
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
330
282
  */
331
- Hash: string
283
+ RequestId?: string
332
284
  }
333
285
 
334
286
  /**
335
- * GetGroupList请求参数结构体
287
+ * 联盟信息
336
288
  */
337
- export interface GetGroupListRequest {
289
+ export interface ConsortiumItem {
338
290
  /**
339
- * 0为未部署DID服务的群组,1为已部署DID服务的群组
291
+ * 联盟id
340
292
  */
341
- Status: number
293
+ Id: number
342
294
  /**
343
- * 网络ID
295
+ * 联盟名称
344
296
  */
345
- ClusterId: string
297
+ Name: string
346
298
  }
347
299
 
348
300
  /**
349
- * 验证凭证签名
301
+ * GetCredentialStatus请求参数结构体
350
302
  */
351
- export interface Proof {
352
- /**
353
- * 创建时间
354
- */
355
- Created: number
303
+ export interface GetCredentialStatusRequest {
356
304
  /**
357
- * 创建着did
305
+ * 凭证id
358
306
  */
359
- Creator: string
307
+ CredentialId: string
308
+ }
309
+
310
+ /**
311
+ * GetAgencyTDid返回参数结构体
312
+ */
313
+ export interface GetAgencyTDidResponse {
360
314
  /**
361
- * salt值
315
+ * 固定前缀
362
316
  */
363
- SaltJson: string
317
+ Prefix: string
364
318
  /**
365
- * 签名
319
+ * did详情
366
320
  */
367
- SignatureValue: string
321
+ Identity: Array<Identity>
368
322
  /**
369
- * type类型
323
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
370
324
  */
371
- Type: string
325
+ RequestId?: string
372
326
  }
373
327
 
374
328
  /**
375
- * GetDeployInfo请求参数结构体
329
+ * AddLabel返回参数结构体
376
330
  */
377
- export interface GetDeployInfoRequest {
331
+ export interface AddLabelResponse {
378
332
  /**
379
- * 合约CNS地址
333
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
380
334
  */
381
- Hash: string
335
+ RequestId?: string
382
336
  }
383
337
 
384
338
  /**
385
- * 权威机构
339
+ * VerifyCredential返回参数结构体
386
340
  */
387
- export interface Authority {
341
+ export interface VerifyCredentialResponse {
388
342
  /**
389
- * 权威机构ID
343
+ * 是否验证成功
390
344
  */
391
- Id: number
345
+ Result: boolean
392
346
  /**
393
- * Did的ID
347
+ * 验证返回码
394
348
  */
395
- DidId: number
349
+ VerifyCode: number
396
350
  /**
397
- * DID具体信息
351
+ * 验证消息
398
352
  */
399
- Did: string
353
+ VerifyMessage: string
400
354
  /**
401
- * 机构名称
355
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
402
356
  */
403
- Name: string
404
- /**
405
- * 权威认证 1:已认证,2:未认证
406
- */
407
- Status: number
408
- /**
409
- * DID服务ID
410
- */
411
- DidServiceId: number
412
- /**
413
- * 应用ID
414
- */
415
- ContractAppId: number
416
- /**
417
- * 备注
418
- */
419
- Remark: string
420
- /**
421
- * 注册时间
422
- 注意:此字段可能返回 null,表示取不到有效值。
423
- */
424
- RegisterTime: string
425
- /**
426
- * 认证时间
427
- 注意:此字段可能返回 null,表示取不到有效值。
428
- */
429
- RecognizeTime: string
430
- /**
431
- * 生成时间
432
- 注意:此字段可能返回 null,表示取不到有效值。
433
- */
434
- CreateTime: string
435
- /**
436
- * 更新时间
437
- 注意:此字段可能返回 null,表示取不到有效值。
438
- */
439
- UpdateTime: string
440
- /**
441
- * 网络ID
442
- */
443
- ClusterId: string
444
- /**
445
- * 群组ID
446
- */
447
- GroupId: number
448
- /**
449
- * 合约名称
450
- */
451
- AppName: string
452
- /**
453
- * 链上标签
454
- */
455
- LabelName: string
456
- }
457
-
458
- /**
459
- * CreateLabel返回参数结构体
460
- */
461
- export interface CreateLabelResponse {
462
- /**
463
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
464
- */
465
- RequestId?: string
466
- }
467
-
468
- /**
469
- * GetPublicKey请求参数结构体
470
- */
471
- export interface GetPublicKeyRequest {
472
- /**
473
- * did的具体号码
474
- */
475
- Did: string
476
- }
477
-
478
- /**
479
- * 标签
480
- */
481
- export interface Label {
482
- /**
483
- * 标签ID
484
- */
485
- LabelId: number
486
- /**
487
- * 标签名称
488
- */
489
- LabelName: string
490
- /**
491
- * did数量
492
- */
493
- DidCount: number
494
- /**
495
- * 创建者did
496
- */
497
- Did: string
498
- /**
499
- * 网络ID
500
- */
501
- ClusterId: string
502
- /**
503
- * 创建时间
504
- */
505
- CreateTime: string
506
- /**
507
- * 群组ID
508
- */
509
- GroupId: number
510
- }
511
-
512
- /**
513
- * GetDidServiceList返回参数结构体
514
- */
515
- export interface GetDidServiceListResponse {
516
- /**
517
- * DID服务列表
518
- */
519
- DidServiceList: Array<DidServiceInfo>
357
+ RequestId?: string
358
+ }
359
+
360
+ /**
361
+ * SetCredentialStatus返回参数结构体
362
+ */
363
+ export interface SetCredentialStatusResponse {
520
364
  /**
521
365
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
522
366
  */
@@ -524,13 +368,13 @@ export interface GetDidServiceListResponse {
524
368
  }
525
369
 
526
370
  /**
527
- * DeployByName返回参数结构体
371
+ * GetCptInfo返回参数结构体
528
372
  */
529
- export interface DeployByNameResponse {
373
+ export interface GetCptInfoResponse {
530
374
  /**
531
- * 哈希值
375
+ * CptJsonData的具体信息
532
376
  */
533
- Hash: string
377
+ CptJsonData: string
534
378
  /**
535
379
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
536
380
  */
@@ -538,164 +382,39 @@ export interface DeployByNameResponse {
538
382
  }
539
383
 
540
384
  /**
541
- * CreateLabel请求参数结构体
542
- */
543
- export interface CreateLabelRequest {
544
- /**
545
- * 标签名称
546
- */
547
- LabelName: string
548
- /**
549
- * 网络Id
550
- */
551
- ClusterId: string
552
- /**
553
- * 群组ID
554
- */
555
- GroupId: number
556
- }
557
-
558
- /**
559
- * CreateDidService请求参数结构体
385
+ * 模板颁发量排名
560
386
  */
561
- export interface CreateDidServiceRequest {
562
- /**
563
- * 联盟名称
564
- */
565
- ConsortiumName: string
387
+ export interface CptIssueRank {
566
388
  /**
567
- * 联盟ID
389
+ * 模板名称
568
390
  */
569
- ConsortiumId: number
391
+ CptName: string
570
392
  /**
571
- * 群组ID
393
+ * 名次
572
394
  */
573
- GroupId: number
395
+ Rank: number
574
396
  /**
575
- * 机构名称
397
+ * 颁发量
576
398
  */
577
- AgencyName: string
399
+ Count: number
578
400
  /**
579
401
  * 应用名称
580
402
  */
581
- AppName: string
582
- /**
583
- * 网络ID
584
- */
585
- ClusterId: string
586
- /**
587
- * 群组名称
588
- */
589
- GroupName: string
590
- }
591
-
592
- /**
593
- * GetDidClusterDetail返回参数结构体
594
- */
595
- export interface GetDidClusterDetailResponse {
596
- /**
597
- * 网络ID
598
- */
599
- ClusterId: string
600
- /**
601
- * 组织名称
602
- */
603
- ConsortiumName: string
604
- /**
605
- * 区块链组织名称
606
- */
607
- ChainAgency: string
608
- /**
609
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
610
- */
611
- RequestId?: string
612
- }
613
-
614
- /**
615
- * RecognizeAuthorityIssuer返回参数结构体
616
- */
617
- export interface RecognizeAuthorityIssuerResponse {
618
- /**
619
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
620
- */
621
- RequestId?: string
622
- }
623
-
624
- /**
625
- * EnableHash返回参数结构体
626
- */
627
- export interface EnableHashResponse {
628
- /**
629
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
630
- */
631
- RequestId?: string
632
- }
633
-
634
- /**
635
- * GetCredentialIssueTrend请求参数结构体
636
- */
637
- export interface GetCredentialIssueTrendRequest {
638
- /**
639
- * 开始时间(支持到天 2021-4-23)
640
- */
641
- StartTime: string
642
- /**
643
- * 结束时间(支持到天 2021-4-23)
644
- */
645
- EndTime: string
646
- /**
647
- * 网络ID
648
- */
649
- ClusterId?: string
650
- }
651
-
652
- /**
653
- * EnableHash请求参数结构体
654
- */
655
- export interface EnableHashRequest {
656
- /**
657
- * 合约CNS地址
658
- */
659
- Hash: string
660
- }
661
-
662
- /**
663
- * GetDidClusterList请求参数结构体
664
- */
665
- export type GetDidClusterListRequest = null
666
-
667
- /**
668
- * GetCptInfo请求参数结构体
669
- */
670
- export interface GetCptInfoRequest {
671
- /**
672
- * Cpt索引
673
- */
674
- CptIndex: number
675
- }
676
-
677
- /**
678
- * DownCpt请求参数结构体
679
- */
680
- export interface DownCptRequest {
403
+ ApplyName: string
681
404
  /**
682
- * Cpt索引
405
+ * 应用ID
683
406
  */
684
- CptIndex: number
407
+ ApplyId: number
685
408
  }
686
409
 
687
410
  /**
688
- * GetCptList返回参数结构体
411
+ * GetCredentialCptRank返回参数结构体
689
412
  */
690
- export interface GetCptListResponse {
691
- /**
692
- * cpt数据集合
693
- */
694
- CptDataList: Array<CptListData>
413
+ export interface GetCredentialCptRankResponse {
695
414
  /**
696
- * 凭证模板总数
415
+ * Rank集合
697
416
  */
698
- AllCount: number
417
+ RankIssueResult: Array<CptIssueRank>
699
418
  /**
700
419
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
701
420
  */
@@ -703,37 +422,19 @@ export interface GetCptListResponse {
703
422
  }
704
423
 
705
424
  /**
706
- * GetCptInfo返回参数结构体
425
+ * GetConsortiumClusterList返回参数结构体
707
426
  */
708
- export interface GetCptInfoResponse {
427
+ export interface GetConsortiumClusterListResponse {
709
428
  /**
710
- * CptJsonData的具体信息
429
+ * 网络列表
711
430
  */
712
- CptJsonData: string
431
+ ClusterList: Array<BcosClusterItem>
713
432
  /**
714
433
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
715
434
  */
716
435
  RequestId?: string
717
436
  }
718
437
 
719
- /**
720
- * GetDidRegisterTrend请求参数结构体
721
- */
722
- export interface GetDidRegisterTrendRequest {
723
- /**
724
- * 开始时间(支持到天 2021-4-23)
725
- */
726
- StartTime: string
727
- /**
728
- * 结束时间(支持到天 2021-4-23)
729
- */
730
- EndTime: string
731
- /**
732
- * 网络ID
733
- */
734
- ClusterId?: string
735
- }
736
-
737
438
  /**
738
439
  * AddLabel请求参数结构体
739
440
  */
@@ -769,1337 +470,17 @@ export interface GetAuthorityIssuerResponse {
769
470
  */
770
471
  Did: string
771
472
  /**
772
- * 机构备注信息
773
- */
774
- Remark: string
775
- /**
776
- * 注册时间
777
- */
778
- RegisterTime: string
779
- /**
780
- * 认证时间
781
- */
782
- RecognizeTime: string
783
- /**
784
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
785
- */
786
- RequestId?: string
787
- }
788
-
789
- /**
790
- * CreateSelectiveCredential返回参数结构体
791
- */
792
- export interface CreateSelectiveCredentialResponse {
793
- /**
794
- * 凭证字符串
795
- */
796
- CredentialData: string
797
- /**
798
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
799
- */
800
- RequestId?: string
801
- }
802
-
803
- /**
804
- * VerifyCredential返回参数结构体
805
- */
806
- export interface VerifyCredentialResponse {
807
- /**
808
- * 是否验证成功
809
- */
810
- Result: boolean
811
- /**
812
- * 验证返回码
813
- */
814
- VerifyCode: number
815
- /**
816
- * 验证消息
817
- */
818
- VerifyMessage: string
819
- /**
820
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
821
- */
822
- RequestId?: string
823
- }
824
-
825
- /**
826
- * cpt集合数据
827
- */
828
- export interface CptListData {
829
- /**
830
- * ID信息
831
- */
832
- Id: number
833
- /**
834
- * 模版名称
835
- */
836
- Name: string
837
- /**
838
- * 网络ID
839
- */
840
- ClusterId: string
841
- /**
842
- * 群组ID
843
- */
844
- GroupId: number
845
- /**
846
- * 服务ID
847
- */
848
- ServiceId: number
849
- /**
850
- * 合约应用ID
851
- */
852
- ContractAppId: number
853
- /**
854
- * 凭证模板ID
855
- */
856
- CptId: number
857
- /**
858
- * 模板类型,1: 系统模板,2: 用户模板,3:普通模板
859
- */
860
- CptType: number
861
- /**
862
- * 凭证模版描述
863
- */
864
- Description: string
865
- /**
866
- * 凭证模板Json
867
- */
868
- CptJson: string
869
- /**
870
- * 创建时间
871
- */
872
- CreateTime: string
873
- /**
874
- * 更新时间
875
- */
876
- UpdateTime: string
877
- /**
878
- * 创建者DID
879
- */
880
- CreatorDid: string
881
- /**
882
- * 应用名称
883
- */
884
- AppName: string
885
- }
886
-
887
- /**
888
- * 创建凭证入参的FunctionArg
889
- */
890
- export interface FunctionArg {
891
- /**
892
- * CPT ID
893
- */
894
- CptId: number
895
- /**
896
- * 签发者 did
897
- */
898
- Issuer: string
899
- /**
900
- * 过期时间
901
- */
902
- ExpirationDate: string
903
- /**
904
- * 声明
905
- */
906
- ClaimJson: string
907
- }
908
-
909
- /**
910
- * CreateTDidByPrivateKey请求参数结构体
911
- */
912
- export interface CreateTDidByPrivateKeyRequest {
913
- /**
914
- * 网络ID
915
- */
916
- ClusterId: string
917
- /**
918
- * 群组ID
919
- */
920
- GroupId: number
921
- /**
922
- * 私钥
923
- */
924
- PrivateKey: string
925
- }
926
-
927
- /**
928
- * RegisterCpt返回参数结构体
929
- */
930
- export interface RegisterCptResponse {
931
- /**
932
- * 凭证模板索引
933
- */
934
- Id: number
935
- /**
936
- * 凭证模板id
937
- */
938
- CptId: number
939
- /**
940
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
941
- */
942
- RequestId?: string
943
- }
944
-
945
- /**
946
- * SetCredentialStatus请求参数结构体
947
- */
948
- export interface SetCredentialStatusRequest {
949
- /**
950
- * 凭证状态
951
- */
952
- CredentialStatus: CredentialStatus
953
- }
954
-
955
- /**
956
- * RemoveHash返回参数结构体
957
- */
958
- export interface RemoveHashResponse {
959
- /**
960
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
961
- */
962
- RequestId?: string
963
- }
964
-
965
- /**
966
- * CheckDidDeploy请求参数结构体
967
- */
968
- export interface CheckDidDeployRequest {
969
- /**
970
- * 任务ID
971
- */
972
- TaskId: number
973
- }
974
-
975
- /**
976
- * GetDidDocument返回参数结构体
977
- */
978
- export interface GetDidDocumentResponse {
979
- /**
980
- * 名称
981
- */
982
- Name: string
983
- /**
984
- * DID文档
985
- */
986
- Document: string
987
- /**
988
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
989
- */
990
- RequestId?: string
991
- }
992
-
993
- /**
994
- * RegisterIssuer返回参数结构体
995
- */
996
- export interface RegisterIssuerResponse {
997
- /**
998
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
999
- */
1000
- RequestId?: string
1001
- }
1002
-
1003
- /**
1004
- * CancelAuthorityIssuer请求参数结构体
1005
- */
1006
- export interface CancelAuthorityIssuerRequest {
1007
- /**
1008
- * did具体信息
1009
- */
1010
- Did: string
1011
- }
1012
-
1013
- /**
1014
- * CancelAuthorityIssuer返回参数结构体
1015
- */
1016
- export interface CancelAuthorityIssuerResponse {
1017
- /**
1018
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1019
- */
1020
- RequestId?: string
1021
- }
1022
-
1023
- /**
1024
- * CreateTDid请求参数结构体
1025
- */
1026
- export interface CreateTDidRequest {
1027
- /**
1028
- * 群组ID
1029
- */
1030
- GroupId: number
1031
- /**
1032
- * 网络ID
1033
- */
1034
- ClusterId: string
1035
- /**
1036
- * 部署机构为1,否则为0
1037
- */
1038
- Relegation: number
1039
- }
1040
-
1041
- /**
1042
- * GetAuthoritiesList返回参数结构体
1043
- */
1044
- export interface GetAuthoritiesListResponse {
1045
- /**
1046
- * 数据集合
1047
- */
1048
- ResultList: Array<Authority>
1049
- /**
1050
- * 总数
1051
- */
1052
- AllCount: number
1053
- /**
1054
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1055
- */
1056
- RequestId?: string
1057
- }
1058
-
1059
- /**
1060
- * CreateSelectiveCredential请求参数结构体
1061
- */
1062
- export interface CreateSelectiveCredentialRequest {
1063
- /**
1064
- * 参数集合
1065
- */
1066
- FunctionArg: VerifyFunctionArg
1067
- /**
1068
- * 批露策略id
1069
- */
1070
- PolicyId: number
1071
- }
1072
-
1073
- /**
1074
- * CreateTDidByPrivateKey返回参数结构体
1075
- */
1076
- export interface CreateTDidByPrivateKeyResponse {
1077
- /**
1078
- * did的具体信息
1079
- */
1080
- Did: string
1081
- /**
1082
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1083
- */
1084
- RequestId?: string
1085
- }
1086
-
1087
- /**
1088
- * DeployByName请求参数结构体
1089
- */
1090
- export interface DeployByNameRequest {
1091
- /**
1092
- * 应用名称
1093
- */
1094
- ApplicationName: string
1095
- /**
1096
- * 网络ID
1097
- */
1098
- ClusterId: string
1099
- /**
1100
- * 群组ID
1101
- */
1102
- GroupId: number
1103
- }
1104
-
1105
- /**
1106
- * GetDidServiceList请求参数结构体
1107
- */
1108
- export interface GetDidServiceListRequest {
1109
- /**
1110
- * 1: 以网络维度输出, 0: 以服务维度输出
1111
- */
1112
- Type: number
1113
- }
1114
-
1115
- /**
1116
- * GetAuthorityIssuer请求参数结构体
1117
- */
1118
- export interface GetAuthorityIssuerRequest {
1119
- /**
1120
- * tdid
1121
- */
1122
- Did: string
1123
- }
1124
-
1125
- /**
1126
- * GetDidClusterList返回参数结构体
1127
- */
1128
- export interface GetDidClusterListResponse {
1129
- /**
1130
- * DID网络列表
1131
- */
1132
- DidClusterList: Array<DidCluster>
1133
- /**
1134
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1135
- */
1136
- RequestId?: string
1137
- }
1138
-
1139
- /**
1140
- * RecognizeAuthorityIssuer请求参数结构体
1141
- */
1142
- export interface RecognizeAuthorityIssuerRequest {
1143
- /**
1144
- * did具体信息
1145
- */
1146
- Did: string
1147
- }
1148
-
1149
- /**
1150
- * GetCredentialStatus请求参数结构体
1151
- */
1152
- export interface GetCredentialStatusRequest {
1153
- /**
1154
- * 凭证id
1155
- */
1156
- CredentialId: string
1157
- }
1158
-
1159
- /**
1160
- * GetAgencyTDid返回参数结构体
1161
- */
1162
- export interface GetAgencyTDidResponse {
1163
- /**
1164
- * 固定前缀
1165
- */
1166
- Prefix: string
1167
- /**
1168
- * did详情
1169
- */
1170
- Identity: Array<Identity>
1171
- /**
1172
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1173
- */
1174
- RequestId?: string
1175
- }
1176
-
1177
- /**
1178
- * DID服务基本信息
1179
- */
1180
- export interface DidServiceInfo {
1181
- /**
1182
- * DID服务索引
1183
- */
1184
- Id: number
1185
- /**
1186
- * 应用ID
1187
- */
1188
- Appid: number
1189
- /**
1190
- * 账号唯一标识
1191
- */
1192
- Uin: string
1193
- /**
1194
- * 联盟id
1195
- */
1196
- ConsortiumId: number
1197
- /**
1198
- * 联盟名称
1199
- */
1200
- ConsortiumName: string
1201
- /**
1202
- * 网络ID
1203
- */
1204
- ClusterId: string
1205
- /**
1206
- * 群组ID
1207
- */
1208
- GroupId: number
1209
- /**
1210
- * 链ID
1211
- */
1212
- ChainId: string
1213
- /**
1214
- * 1为盟主,0为非盟主
1215
- */
1216
- RoleType: number
1217
- /**
1218
- * 机构DID
1219
- */
1220
- AgencyDid: string
1221
- /**
1222
- * 机构名称
1223
- */
1224
- CreateOrg: string
1225
- /**
1226
- * 端点
1227
- */
1228
- Endpoint: string
1229
- /**
1230
- * 生成时间
1231
- */
1232
- CreateTime: string
1233
- /**
1234
- * 更新时间
1235
- */
1236
- UpdateTime: string
1237
- /**
1238
- * 群组名称
1239
- */
1240
- GroupName: string
1241
- }
1242
-
1243
- /**
1244
- * SetCredentialStatus返回参数结构体
1245
- */
1246
- export interface SetCredentialStatusResponse {
1247
- /**
1248
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1249
- */
1250
- RequestId?: string
1251
- }
1252
-
1253
- /**
1254
- * 模板颁发量排名
1255
- */
1256
- export interface CptIssueRank {
1257
- /**
1258
- * 模板名称
1259
- */
1260
- CptName: string
1261
- /**
1262
- * 名次
1263
- */
1264
- Rank: number
1265
- /**
1266
- * 颁发量
1267
- */
1268
- Count: number
1269
- /**
1270
- * 应用名称
1271
- */
1272
- ApplyName: string
1273
- /**
1274
- * 应用ID
1275
- */
1276
- ApplyId: number
1277
- }
1278
-
1279
- /**
1280
- * GetCredentialCptRank返回参数结构体
1281
- */
1282
- export interface GetCredentialCptRankResponse {
1283
- /**
1284
- * Rank集合
1285
- */
1286
- RankIssueResult: Array<CptIssueRank>
1287
- /**
1288
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1289
- */
1290
- RequestId?: string
1291
- }
1292
-
1293
- /**
1294
- * 创建凭证第二个
1295
- */
1296
- export interface TransactionArg {
1297
- /**
1298
- * 凭证did
1299
- */
1300
- InvokerTDid: string
1301
- }
1302
-
1303
- /**
1304
- * RegisterIssuer请求参数结构体
1305
- */
1306
- export interface RegisterIssuerRequest {
1307
- /**
1308
- * tdid
1309
- */
1310
- Did: string
1311
- /**
1312
- * 权威机构名称
1313
- */
1314
- Name: string
1315
- /**
1316
- * 备注
1317
- */
1318
- Description: string
1319
- }
1320
-
1321
- /**
1322
- * GetDidList返回参数结构体
1323
- */
1324
- export interface GetDidListResponse {
1325
- /**
1326
- * 数据列表
1327
- */
1328
- DataList: Array<DidData>
1329
- /**
1330
- * 数据总条数
1331
- */
1332
- AllCount: number
1333
- /**
1334
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1335
- */
1336
- RequestId?: string
1337
- }
1338
-
1339
- /**
1340
- * GetDeployInfo返回参数结构体
1341
- */
1342
- export interface GetDeployInfoResponse {
1343
- /**
1344
- * 合约CNS地址
1345
- */
1346
- Hash: string
1347
- /**
1348
- * 合约主群组ID
1349
- */
1350
- GroupId: string
1351
- /**
1352
- * 部署机构DID
1353
- */
1354
- DeployDid: string
1355
- /**
1356
- * TDID SDK版本
1357
- */
1358
- SdkVersion: string
1359
- /**
1360
- * TDID 合约版本
1361
- */
1362
- ContractVersion: string
1363
- /**
1364
- * 区块链节点版本
1365
- */
1366
- BlockVersion: string
1367
- /**
1368
- * 区块链节点IP
1369
- */
1370
- BlockIp: string
1371
- /**
1372
- * DID合约地址
1373
- */
1374
- DidAddress: string
1375
- /**
1376
- * CPT合约地址
1377
- */
1378
- CptAddress: string
1379
- /**
1380
- * Authority Issuer地址
1381
- */
1382
- AuthorityAddress: string
1383
- /**
1384
- * Evidence合约地址
1385
- */
1386
- EvidenceAddress: string
1387
- /**
1388
- * Specific Issuer合约地址
1389
- */
1390
- SpecificAddress: string
1391
- /**
1392
- * 链ID
1393
- */
1394
- ChainId: string
1395
- /**
1396
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1397
- */
1398
- RequestId?: string
1399
- }
1400
-
1401
- /**
1402
- * 部署合约
1403
- */
1404
- export interface Contract {
1405
- /**
1406
- * 应用名
1407
- */
1408
- ApplyName: string
1409
- /**
1410
- * 合约状态 true:已启用 false:未启用
1411
- */
1412
- Enable: boolean
1413
- /**
1414
- * 合约CNS地址
1415
- */
1416
- Hash: string
1417
- /**
1418
- * 合约CNS地址脱敏
1419
- */
1420
- HashShow: string
1421
- /**
1422
- * 部署机构DID
1423
- */
1424
- WeId: string
1425
- /**
1426
- * 部署机构名称
1427
- */
1428
- DeployName: string
1429
- /**
1430
- * 部署群组
1431
- */
1432
- GroupId: string
1433
- /**
1434
- * 部署时间
1435
- */
1436
- CreateTime: string
1437
- }
1438
-
1439
- /**
1440
- * CreateTDidByPublicKey返回参数结构体
1441
- */
1442
- export interface CreateTDidByPublicKeyResponse {
1443
- /**
1444
- * did具体信息
1445
- */
1446
- Did: string
1447
- /**
1448
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1449
- */
1450
- RequestId?: string
1451
- }
1452
-
1453
- /**
1454
- * CheckDidDeploy返回参数结构体
1455
- */
1456
- export interface CheckDidDeployResponse {
1457
- /**
1458
- * 服务信息
1459
- */
1460
- Task: Task
1461
- /**
1462
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1463
- */
1464
- RequestId?: string
1465
- }
1466
-
1467
- /**
1468
- * GetDidClusterDetail请求参数结构体
1469
- */
1470
- export interface GetDidClusterDetailRequest {
1471
- /**
1472
- * DID网络ID
1473
- */
1474
- ClusterId: string
1475
- }
1476
-
1477
- /**
1478
- * GetConsortiumClusterList请求参数结构体
1479
- */
1480
- export interface GetConsortiumClusterListRequest {
1481
- /**
1482
- * 联盟id
1483
- */
1484
- ConsortiumId: number
1485
- }
1486
-
1487
- /**
1488
- * GetDidDetail返回参数结构体
1489
- */
1490
- export interface GetDidDetailResponse {
1491
- /**
1492
- * DID名称
1493
- */
1494
- Did: string
1495
- /**
1496
- * 备注
1497
- */
1498
- Remark: string
1499
- /**
1500
- * 公钥
1501
- */
1502
- PublicKey: string
1503
- /**
1504
- * 权威认证
1505
- */
1506
- AuthorityState: number
1507
- /**
1508
- * 联盟ID
1509
- */
1510
- ConsortiumId: number
1511
- /**
1512
- * 联盟名称
1513
- */
1514
- ConsortiumName: string
1515
- /**
1516
- * 群组ID
1517
- */
1518
- GroupId: number
1519
- /**
1520
- * 网络ID
1521
- */
1522
- ClusterId: string
1523
- /**
1524
- * bcos资源ID
1525
- */
1526
- ResChainId: string
1527
- /**
1528
- * 创建时间
1529
- */
1530
- CreateTime: string
1531
- /**
1532
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1533
- */
1534
- RequestId?: string
1535
- }
1536
-
1537
- /**
1538
- * 趋势
1539
- */
1540
- export interface Trend {
1541
- /**
1542
- * 时间点
1543
- */
1544
- Time: string
1545
- /**
1546
- * 数量
1547
- */
1548
- Count: number
1549
- }
1550
-
1551
- /**
1552
- * bcos网络信息
1553
- */
1554
- export interface BcosClusterItem {
1555
- /**
1556
- * 网络索引id
1557
- */
1558
- ChainId: number
1559
- /**
1560
- * 网络名称
1561
- */
1562
- ChainName: string
1563
- /**
1564
- * 机构数量
1565
- */
1566
- AgencyCount: number
1567
- /**
1568
- * 联盟id
1569
- */
1570
- ConsortiumId: number
1571
- /**
1572
- * 创建时间
1573
- */
1574
- CreateTime: string
1575
- /**
1576
- * 过期时间
1577
- */
1578
- ExpireTime: string
1579
- /**
1580
- * 网络状态
1581
- */
1582
- ChainStatus: number
1583
- /**
1584
- * 资源 id
1585
- */
1586
- ResourceId: string
1587
- /**
1588
- * 集群id
1589
- */
1590
- ClusterId: string
1591
- /**
1592
- * 组织名称
1593
- */
1594
- ConsortiumName: string
1595
- /**
1596
- * 机构id
1597
- */
1598
- AgencyId: number
1599
- /**
1600
- * 续费状态
1601
- */
1602
- AutoRenewFlag: number
1603
- /**
1604
- * 网络模式
1605
- */
1606
- TotalNetworkNode: number
1607
- /**
1608
- * 创建节点数
1609
- */
1610
- TotalCreateNode: number
1611
- /**
1612
- * 总群组数量
1613
- */
1614
- TotalGroups: number
1615
- }
1616
-
1617
- /**
1618
- * GetLabelList请求参数结构体
1619
- */
1620
- export interface GetLabelListRequest {
1621
- /**
1622
- * 每页大小
1623
- */
1624
- PageSize: number
1625
- /**
1626
- * 页码,从1开始
1627
- */
1628
- PageNumber: number
1629
- /**
1630
- * 网络ID
1631
- */
1632
- ClusterId?: string
1633
- /**
1634
- * 群组ID
1635
- */
1636
- GroupId?: number
1637
- }
1638
-
1639
- /**
1640
- * did区块链网络信息
1641
- */
1642
- export interface DidCluster {
1643
- /**
1644
- * 链ID
1645
- */
1646
- ChainId: number
1647
- /**
1648
- * 链名称
1649
- */
1650
- ChainName: string
1651
- /**
1652
- * 组织数量
1653
- */
1654
- AgencyCount: number
1655
- /**
1656
- * 联盟ID
1657
- */
1658
- ConsortiumId: number
1659
- /**
1660
- * 创建时间
1661
- */
1662
- CreateTime: string
1663
- /**
1664
- * 过期时间
1665
- */
1666
- ExpireTime: string
1667
- /**
1668
- * 网络状态
1669
- */
1670
- ChainStatus: number
1671
- /**
1672
- * 资源ID
1673
- */
1674
- ResourceId: string
1675
- /**
1676
- * 网络ID
1677
- */
1678
- ClusterId: string
1679
- /**
1680
- * 联盟名称
1681
- */
1682
- ConsortiumName: string
1683
- /**
1684
- * 组织ID
1685
- */
1686
- AgencyId: number
1687
- /**
1688
- * 自动续费
1689
- */
1690
- AutoRenewFlag: number
1691
- /**
1692
- * 网络节点总数
1693
- */
1694
- TotalNetworkNode: number
1695
- /**
1696
- * 本机构节点数
1697
- */
1698
- TotalCreateNode: number
1699
- /**
1700
- * 总群组数
1701
- */
1702
- TotalGroups: number
1703
- /**
1704
- * DID总数
1705
- */
1706
- DidCount: number
1707
- }
1708
-
1709
- /**
1710
- * GetDataPanel返回参数结构体
1711
- */
1712
- export interface GetDataPanelResponse {
1713
- /**
1714
- * 区块链网络数量
1715
- */
1716
- BlockNetworkCount: number
1717
- /**
1718
- * 区块链网络名称
1719
- */
1720
- BlockNetworkName: string
1721
- /**
1722
- * 当前区块高度
1723
- */
1724
- BlockHeight: number
1725
- /**
1726
- * 区块链网络类型
1727
- */
1728
- BlockNetworkType: number
1729
- /**
1730
- * did数量
1731
- */
1732
- DidCount: number
1733
- /**
1734
- * 凭证模版数量
1735
- */
1736
- CptCount: number
1737
- /**
1738
- * 已认证权威机构数量
1739
- */
1740
- CertificatedAuthCount: number
1741
- /**
1742
- * 颁发凭证数量
1743
- */
1744
- IssueCptCount: number
1745
- /**
1746
- * 本周新增DID数量
1747
- */
1748
- NewDidCount: number
1749
- /**
1750
- * BCOS网络类型数量
1751
- */
1752
- BcosCount: number
1753
- /**
1754
- * Fabric网络类型数量
1755
- */
1756
- FabricCount: number
1757
- /**
1758
- * 长安链网络类型数量
1759
- */
1760
- ChainMakerCount: number
1761
- /**
1762
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1763
- */
1764
- RequestId?: string
1765
- }
1766
-
1767
- /**
1768
- * did详情
1769
- */
1770
- export interface Identity {
1771
- /**
1772
- * 账户标识符
1773
- */
1774
- AccountIdentifier: string
1775
- /**
1776
- * 链ID
1777
- */
1778
- ChainID: string
1779
- /**
1780
- * 完整tdid
1781
- */
1782
- Did: string
1783
- /**
1784
- * 群组ID
1785
- */
1786
- GroupId: number
1787
- /**
1788
- * 群组名称
1789
- */
1790
- GroupName: string
1791
- }
1792
-
1793
- /**
1794
- * QueryPolicy返回参数结构体
1795
- */
1796
- export interface QueryPolicyResponse {
1797
- /**
1798
- * 披露策略索引
1799
- */
1800
- Id: number
1801
- /**
1802
- * 披露策略ID
1803
- */
1804
- PolicyId: number
1805
- /**
1806
- * 凭证模板ID
1807
- */
1808
- CptId: number
1809
- /**
1810
- * 披露策略的具体信息
1811
- */
1812
- PolicyData: string
1813
- /**
1814
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1815
- */
1816
- RequestId?: string
1817
- }
1818
-
1819
- /**
1820
- * GetDidList请求参数结构体
1821
- */
1822
- export interface GetDidListRequest {
1823
- /**
1824
- * 每页大小
1825
- */
1826
- PageSize: number
1827
- /**
1828
- * 页码,从1开始
1829
- */
1830
- PageNumber: number
1831
- /**
1832
- * Did信息
1833
- */
1834
- Did?: string
1835
- /**
1836
- * 网络ID
1837
- */
1838
- ClusterId?: string
1839
- /**
1840
- * 群组ID
1841
- */
1842
- GroupId?: number
1843
- }
1844
-
1845
- /**
1846
- * 群组
1847
- */
1848
- export interface Group {
1849
- /**
1850
- * 群组ID
1851
- */
1852
- GroupId: number
1853
- /**
1854
- * 节点数量
1855
- */
1856
- NodeCount: number
1857
- /**
1858
- * 所属机构节点数量
1859
- */
1860
- NodeCountOfAgency: number
1861
- /**
1862
- * 群组描述
1863
- */
1864
- Description: string
1865
- /**
1866
- * 参与角色,盟主或非盟主
1867
- */
1868
- RoleType: number
1869
- /**
1870
- * 链id
1871
- */
1872
- ChainId: string
1873
- }
1874
-
1875
- /**
1876
- * CheckChain返回参数结构体
1877
- */
1878
- export interface CheckChainResponse {
1879
- /**
1880
- * 1为盟主,0为非盟主
1881
- */
1882
- RoleType: number
1883
- /**
1884
- * 链ID
1885
- */
1886
- ChainId: string
1887
- /**
1888
- * 应用名称
1889
- */
1890
- AppName: string
1891
- /**
1892
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1893
- */
1894
- RequestId?: string
1895
- }
1896
-
1897
- /**
1898
- * CreateTDidByPublicKey请求参数结构体
1899
- */
1900
- export interface CreateTDidByPublicKeyRequest {
1901
- /**
1902
- * 网络ID
1903
- */
1904
- ClusterId: string
1905
- /**
1906
- * 群组ID
1907
- */
1908
- GroupId: number
1909
- /**
1910
- * 身份公钥
1911
- */
1912
- PublicKey: string
1913
- /**
1914
- * 加密公钥
1915
- */
1916
- EncryptPubKey?: string
1917
- }
1918
-
1919
- /**
1920
- * 策略管理
1921
- */
1922
- export interface Policy {
1923
- /**
1924
- * 披露策略索引
1925
- */
1926
- Id: number
1927
- /**
1928
- * 披露策略名称
1929
- */
1930
- Name: string
1931
- /**
1932
- * 网络ID
1933
- */
1934
- ClusterId: string
1935
- /**
1936
- * 群组ID
1937
- */
1938
- GroupId: number
1939
- /**
1940
- * 服务ID
1941
- */
1942
- ServiceId: number
1943
- /**
1944
- * 合约应用ID
1945
- */
1946
- ContractAppId: number
1947
- /**
1948
- * 披露策略ID
1949
- */
1950
- PolicyId: number
1951
- /**
1952
- * 凭证模板ID
1953
- */
1954
- CptId: number
1955
- /**
1956
- * 策略Json
1957
- */
1958
- PolicyJson: string
1959
- /**
1960
- * 生成时间
1961
- */
1962
- CreateTime: string
1963
- /**
1964
- * 更新时间
1965
- */
1966
- UpdateTime: string
1967
- /**
1968
- * 创建者DID
1969
- */
1970
- CreatorDid: string
1971
- /**
1972
- * 应用名称
1973
- */
1974
- AppName: string
1975
- /**
1976
- * 模板索引
1977
- */
1978
- CptIndex: number
1979
- }
1980
-
1981
- /**
1982
- * GetDataPanel请求参数结构体
1983
- */
1984
- export interface GetDataPanelRequest {
1985
- /**
1986
- * 网络ID
1987
- */
1988
- ClusterId?: string
1989
- }
1990
-
1991
- /**
1992
- * GetGroupList返回参数结构体
1993
- */
1994
- export interface GetGroupListResponse {
1995
- /**
1996
- * 群组数据集合
1997
- */
1998
- Result: Array<Group>
1999
- /**
2000
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2001
- */
2002
- RequestId?: string
2003
- }
2004
-
2005
- /**
2006
- * RegisterClaimPolicy返回参数结构体
2007
- */
2008
- export interface RegisterClaimPolicyResponse {
2009
- /**
2010
- * 披露策略索引
2011
- */
2012
- Id: number
2013
- /**
2014
- * 披露策略ID
2015
- */
2016
- PolicyId: number
2017
- /**
2018
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2019
- */
2020
- RequestId?: string
2021
- }
2022
-
2023
- /**
2024
- * GetDidDetail请求参数结构体
2025
- */
2026
- export interface GetDidDetailRequest {
2027
- /**
2028
- * DID号码的具体信息
2029
- */
2030
- Did: string
2031
- }
2032
-
2033
- /**
2034
- * GetDidServiceDetail请求参数结构体
2035
- */
2036
- export interface GetDidServiceDetailRequest {
2037
- /**
2038
- * DID服务ID
2039
- */
2040
- ServiceId: number
2041
- }
2042
-
2043
- /**
2044
- * GetDidDocument请求参数结构体
2045
- */
2046
- export interface GetDidDocumentRequest {
2047
- /**
2048
- * tdid
2049
- */
2050
- Did: string
2051
- }
2052
-
2053
- /**
2054
- * 联盟信息
2055
- */
2056
- export interface ConsortiumItem {
2057
- /**
2058
- * 联盟id
2059
- */
2060
- Id: number
2061
- /**
2062
- * 联盟名称
2063
- */
2064
- Name: string
2065
- }
2066
-
2067
- /**
2068
- * GetCredentialIssueRank返回参数结构体
2069
- */
2070
- export interface GetCredentialIssueRankResponse {
2071
- /**
2072
- * Rank集合
2073
- */
2074
- RankIssueResult: Array<CptIssueRank>
2075
- /**
2076
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2077
- */
2078
- RequestId?: string
2079
- }
2080
-
2081
- /**
2082
- * AddLabel返回参数结构体
2083
- */
2084
- export interface AddLabelResponse {
2085
- /**
2086
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2087
- */
2088
- RequestId?: string
2089
- }
2090
-
2091
- /**
2092
- * GetDeployList返回参数结构体
2093
- */
2094
- export interface GetDeployListResponse {
2095
- /**
2096
- * 合约总数
473
+ * 机构备注信息
474
+ */
475
+ Remark: string
476
+ /**
477
+ * 注册时间
2097
478
  */
2098
- AllCount: number
479
+ RegisterTime: string
2099
480
  /**
2100
- * 合约部署列表
481
+ * 认证时间
2101
482
  */
2102
- Result: Array<Contract>
483
+ RecognizeTime: string
2103
484
  /**
2104
485
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2105
486
  */
@@ -2107,35 +488,31 @@ export interface GetDeployListResponse {
2107
488
  }
2108
489
 
2109
490
  /**
2110
- * CheckChain请求参数结构体
491
+ * GetDidDocument返回参数结构体
2111
492
  */
2112
- export interface CheckChainRequest {
493
+ export interface GetDidDocumentResponse {
2113
494
  /**
2114
- * 群组ID
495
+ * 名称
2115
496
  */
2116
- GroupId: number
497
+ Name: string
2117
498
  /**
2118
- * 网络ID
499
+ * DID文档
2119
500
  */
2120
- ClusterId: string
501
+ Document: string
2121
502
  /**
2122
- * did服务机构名称
503
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2123
504
  */
2124
- AgencyName: string
505
+ RequestId?: string
2125
506
  }
2126
507
 
2127
508
  /**
2128
- * GetPublicKey返回参数结构体
509
+ * CreateTDid返回参数结构体
2129
510
  */
2130
- export interface GetPublicKeyResponse {
511
+ export interface CreateTDidResponse {
2131
512
  /**
2132
- * DID的具体信息
513
+ * TDID
2133
514
  */
2134
515
  Did: string
2135
- /**
2136
- * 公钥
2137
- */
2138
- PublicKey: string
2139
516
  /**
2140
517
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2141
518
  */
@@ -2143,13 +520,13 @@ export interface GetPublicKeyResponse {
2143
520
  }
2144
521
 
2145
522
  /**
2146
- * GetDidRegisterTrend返回参数结构体
523
+ * CreateSelectiveCredential返回参数结构体
2147
524
  */
2148
- export interface GetDidRegisterTrendResponse {
525
+ export interface CreateSelectiveCredentialResponse {
2149
526
  /**
2150
- * Trend集合
527
+ * 凭证字符串
2151
528
  */
2152
- Trend: Array<Trend>
529
+ CredentialData: string
2153
530
  /**
2154
531
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2155
532
  */
@@ -2157,25 +534,21 @@ export interface GetDidRegisterTrendResponse {
2157
534
  }
2158
535
 
2159
536
  /**
2160
- * GetCredentialStatus返回参数结构体
537
+ * GetAgencyTDid请求参数结构体
2161
538
  */
2162
- export interface GetCredentialStatusResponse {
2163
- /**
2164
- * 凭证状态信息
2165
- */
2166
- CredentialStatus: CredentialStatus
539
+ export interface GetAgencyTDidRequest {
2167
540
  /**
2168
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
541
+ * 网络ID
2169
542
  */
2170
- RequestId?: string
543
+ ClusterId: string
2171
544
  }
2172
545
 
2173
546
  /**
2174
- * CreateTDid返回参数结构体
547
+ * CreateTDidByPublicKey返回参数结构体
2175
548
  */
2176
- export interface CreateTDidResponse {
549
+ export interface CreateTDidByPublicKeyResponse {
2177
550
  /**
2178
- * TDID
551
+ * did具体信息
2179
552
  */
2180
553
  Did: string
2181
554
  /**
@@ -2185,13 +558,21 @@ export interface CreateTDidResponse {
2185
558
  }
2186
559
 
2187
560
  /**
2188
- * VerifyCredential请求参数结构体
561
+ * GetCredentialCptRank请求参数结构体
2189
562
  */
2190
- export interface VerifyCredentialRequest {
563
+ export interface GetCredentialCptRankRequest {
2191
564
  /**
2192
- * 参数集合
565
+ * 开始时间(支持到天 2021-4-23)
2193
566
  */
2194
- FunctionArg: VerifyFunctionArg
567
+ StartTime: string
568
+ /**
569
+ * 结束时间(支持到天 2021-4-23)
570
+ */
571
+ EndTime: string
572
+ /**
573
+ * 网络ID
574
+ */
575
+ ClusterId?: string
2195
576
  }
2196
577
 
2197
578
  /**
@@ -2217,169 +598,231 @@ export interface RegisterCptRequest {
2217
598
  }
2218
599
 
2219
600
  /**
2220
- * GetLabelList返回参数结构体
601
+ * 验证凭证签名
2221
602
  */
2222
- export interface GetLabelListResponse {
603
+ export interface Proof {
2223
604
  /**
2224
- * 数据集合
605
+ * 创建时间
2225
606
  */
2226
- Result: Array<Label>
607
+ Created: number
2227
608
  /**
2228
- * 总条数
609
+ * 创建着did
2229
610
  */
2230
- TotalCount: number
611
+ Creator: string
2231
612
  /**
2232
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
613
+ * salt值
2233
614
  */
2234
- RequestId?: string
615
+ SaltJson: string
616
+ /**
617
+ * 签名
618
+ */
619
+ SignatureValue: string
620
+ /**
621
+ * type类型
622
+ */
623
+ Type: string
2235
624
  }
2236
625
 
2237
626
  /**
2238
- * 验证凭证参数值
627
+ * VerifyCredential请求参数结构体
2239
628
  */
2240
- export interface VerifyFunctionArg {
629
+ export interface VerifyCredentialRequest {
630
+ /**
631
+ * 参数集合
632
+ */
633
+ FunctionArg: VerifyFunctionArg
634
+ }
635
+
636
+ /**
637
+ * GetConsortiumClusterList请求参数结构体
638
+ */
639
+ export interface GetConsortiumClusterListRequest {
640
+ /**
641
+ * 联盟id
642
+ */
643
+ ConsortiumId: number
644
+ }
645
+
646
+ /**
647
+ * 创建凭证入参的FunctionArg
648
+ */
649
+ export interface FunctionArg {
2241
650
  /**
2242
651
  * CPT ID
2243
652
  */
2244
653
  CptId: number
2245
654
  /**
2246
- * issuer did
655
+ * 签发者 did
2247
656
  */
2248
657
  Issuer: string
2249
658
  /**
2250
659
  * 过期时间
2251
660
  */
2252
- ExpirationDate: number
661
+ ExpirationDate: string
2253
662
  /**
2254
663
  * 声明
2255
664
  */
2256
665
  ClaimJson: string
666
+ }
667
+
668
+ /**
669
+ * CreateTDidByPrivateKey请求参数结构体
670
+ */
671
+ export interface CreateTDidByPrivateKeyRequest {
2257
672
  /**
2258
- * 颁发时间
2259
- */
2260
- IssuanceDate: number
2261
- /**
2262
- * context值
2263
- */
2264
- Context: string
2265
- /**
2266
- * id值
673
+ * 网络ID
2267
674
  */
2268
- Id: string
675
+ ClusterId: string
2269
676
  /**
2270
- * 签名值
677
+ * 群组ID
2271
678
  */
2272
- Proof: Proof
679
+ GroupId: number
2273
680
  /**
2274
- * type值
681
+ * 私钥
2275
682
  */
2276
- Type: Array<string>
683
+ PrivateKey: string
2277
684
  }
2278
685
 
2279
686
  /**
2280
- * GetPolicyList返回参数结构体
687
+ * bcos网络信息
2281
688
  */
2282
- export interface GetPolicyListResponse {
689
+ export interface BcosClusterItem {
2283
690
  /**
2284
- * 策略Policy管理列表
691
+ * 网络索引id
2285
692
  */
2286
- PolicyDataList: Array<Policy>
693
+ ChainId: number
2287
694
  /**
2288
- * 总数
695
+ * 网络名称
2289
696
  */
2290
- AllCount: number
697
+ ChainName: string
2291
698
  /**
2292
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
699
+ * 机构数量
2293
700
  */
2294
- RequestId?: string
2295
- }
2296
-
2297
- /**
2298
- * DID列表
2299
- */
2300
- export interface DidData {
701
+ AgencyCount: number
2301
702
  /**
2302
- * 服务ID
703
+ * 联盟id
2303
704
  */
2304
- ServiceId: number
705
+ ConsortiumId: number
2305
706
  /**
2306
- * 群组ID
707
+ * 创建时间
2307
708
  */
2308
- GroupId: number
709
+ CreateTime: string
2309
710
  /**
2310
- * 应用名称
711
+ * 过期时间
2311
712
  */
2312
- AppName: string
713
+ ExpireTime: string
2313
714
  /**
2314
- * did号码
715
+ * 网络状态
2315
716
  */
2316
- Did: string
717
+ ChainStatus: number
718
+ /**
719
+ * 资源 id
720
+ */
721
+ ResourceId: string
2317
722
  /**
2318
- * 备注
723
+ * 集群id
2319
724
  */
2320
- Remark: string
725
+ ClusterId: string
2321
726
  /**
2322
- * 权威机构认证状态 1未注册 2 未认证 3 已认证
727
+ * 组织名称
2323
728
  */
2324
- AuthorityState: number
729
+ ConsortiumName: string
2325
730
  /**
2326
- * DID标签名称
731
+ * 机构id
2327
732
  */
2328
- LabelName: string
733
+ AgencyId: number
2329
734
  /**
2330
- * DID创建时间
735
+ * 续费状态
2331
736
  */
2332
- CreatedAt: string
737
+ AutoRenewFlag: number
2333
738
  /**
2334
- * 网络ID
739
+ * 网络模式
2335
740
  */
2336
- ClusterId: string
741
+ TotalNetworkNode: number
2337
742
  /**
2338
- * 联盟名称
743
+ * 创建节点数
2339
744
  */
2340
- AllianceName: string
745
+ TotalCreateNode: number
2341
746
  /**
2342
- * DID标签id
747
+ * 总群组数量
2343
748
  */
2344
- LabelId: number
749
+ TotalGroups: number
2345
750
  }
2346
751
 
2347
752
  /**
2348
- * GetCredentialIssueRank请求参数结构体
753
+ * SetCredentialStatus请求参数结构体
2349
754
  */
2350
- export interface GetCredentialIssueRankRequest {
2351
- /**
2352
- * 开始时间(支持到天 2021-4-23)
2353
- */
2354
- StartTime: string
755
+ export interface SetCredentialStatusRequest {
2355
756
  /**
2356
- * 结束时间(支持到天 2021-4-23)
757
+ * 凭证状态
2357
758
  */
2358
- EndTime: string
759
+ CredentialStatus: CredentialStatus
760
+ }
761
+
762
+ /**
763
+ * GetCptInfo请求参数结构体
764
+ */
765
+ export interface GetCptInfoRequest {
2359
766
  /**
2360
- * 网络ID
767
+ * Cpt索引
2361
768
  */
2362
- ClusterId?: string
769
+ CptIndex: number
2363
770
  }
2364
771
 
2365
772
  /**
2366
- * GetDeployList请求参数结构体
773
+ * did详情
2367
774
  */
2368
- export interface GetDeployListRequest {
775
+ export interface Identity {
2369
776
  /**
2370
- * 网络ID
777
+ * 账户标识符
2371
778
  */
2372
- ClusterId: string
779
+ AccountIdentifier: string
780
+ /**
781
+ * 链ID
782
+ */
783
+ ChainID: string
784
+ /**
785
+ * 完整tdid
786
+ */
787
+ Did: string
2373
788
  /**
2374
789
  * 群组ID
2375
790
  */
2376
791
  GroupId: number
2377
792
  /**
2378
- * 起始位置
793
+ * 群组名称
794
+ */
795
+ GroupName: string
796
+ }
797
+
798
+ /**
799
+ * GetCredentialStatus返回参数结构体
800
+ */
801
+ export interface GetCredentialStatusResponse {
802
+ /**
803
+ * 凭证状态信息
804
+ */
805
+ CredentialStatus: CredentialStatus
806
+ /**
807
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
808
+ */
809
+ RequestId?: string
810
+ }
811
+
812
+ /**
813
+ * RegisterCpt返回参数结构体
814
+ */
815
+ export interface RegisterCptResponse {
816
+ /**
817
+ * 凭证模板索引
818
+ */
819
+ Id: number
820
+ /**
821
+ * 凭证模板id
2379
822
  */
2380
- DisplayStart: number
823
+ CptId: number
2381
824
  /**
2382
- * 长度
825
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2383
826
  */
2384
- DisplayLength: number
827
+ RequestId?: string
2385
828
  }