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
@@ -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,285 +163,245 @@ 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请求参数结构体
237
+ */
238
+ export type GetConsortiumListRequest = null
239
+
240
+ /**
241
+ * GetDidClusterList返回参数结构体
276
242
  */
277
- export interface GetCptListRequest {
278
- /**
279
- * 起始位置
280
- */
281
- DisplayStart: number
243
+ export interface GetDidClusterListResponse {
282
244
  /**
283
- * 长度
245
+ * DID网络列表
284
246
  */
285
- DisplayLength: number
247
+ DidClusterList: Array<DidCluster>
286
248
  /**
287
- * 模板类型,0: 所有模板,1: 系统模板,2: 用户模板,3:普通模板
249
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
288
250
  */
289
- CptType?: number
251
+ RequestId?: string
290
252
  }
291
253
 
292
254
  /**
293
- * GetAuthoritiesList请求参数结构体
255
+ * CreateCredential请求参数结构体
294
256
  */
295
- export interface GetAuthoritiesListRequest {
257
+ export interface CreateCredentialRequest {
296
258
  /**
297
- * 页码,从1开始
259
+ * 参数集合,详见示例
298
260
  */
299
- PageNumber: number
261
+ FunctionArg: FunctionArg
300
262
  /**
301
- * 每页大小
263
+ * 参数集合,详见示例
302
264
  */
303
- PageSize: number
265
+ TransactionArg: TransactionArg
304
266
  /**
305
- * Did信息
267
+ * 版本
306
268
  */
307
- Did?: string
269
+ VersionCredential: string
308
270
  /**
309
- * 权威认证 1:已认证,2:未认证
271
+ * 是否未签名
310
272
  */
311
- Status?: number
273
+ UnSigned?: boolean
312
274
  }
313
275
 
314
276
  /**
315
- * GetAgencyTDid请求参数结构体
277
+ * GetDidClusterDetail返回参数结构体
316
278
  */
317
- export interface GetAgencyTDidRequest {
279
+ export interface GetDidClusterDetailResponse {
318
280
  /**
319
281
  * 网络ID
320
282
  */
321
283
  ClusterId: string
284
+ /**
285
+ * 组织名称
286
+ */
287
+ ConsortiumName: string
288
+ /**
289
+ * 区块链组织名称
290
+ */
291
+ ChainAgency: string
292
+ /**
293
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
294
+ */
295
+ RequestId?: string
322
296
  }
323
297
 
324
298
  /**
325
- * RemoveHash请求参数结构体
299
+ * GetDidDocument请求参数结构体
326
300
  */
327
- export interface RemoveHashRequest {
301
+ export interface GetDidDocumentRequest {
328
302
  /**
329
- * 合约CNS地址
303
+ * tdid
330
304
  */
331
- Hash: string
305
+ Did: string
332
306
  }
333
307
 
334
308
  /**
335
- * GetGroupList请求参数结构体
309
+ * GetConsortiumList返回参数结构体
336
310
  */
337
- export interface GetGroupListRequest {
311
+ export interface GetConsortiumListResponse {
338
312
  /**
339
- * 0为未部署DID服务的群组,1为已部署DID服务的群组
313
+ * 联盟列表
340
314
  */
341
- Status: number
315
+ ConsortiumList: Array<ConsortiumItem>
342
316
  /**
343
- * 网络ID
317
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
344
318
  */
345
- ClusterId: string
319
+ RequestId?: string
346
320
  }
347
321
 
348
322
  /**
349
- * 验证凭证签名
323
+ * 联盟信息
350
324
  */
351
- export interface Proof {
352
- /**
353
- * 创建时间
354
- */
355
- Created: number
356
- /**
357
- * 创建着did
358
- */
359
- Creator: string
360
- /**
361
- * salt值
362
- */
363
- SaltJson: string
325
+ export interface ConsortiumItem {
364
326
  /**
365
- * 签名
327
+ * 联盟id
366
328
  */
367
- SignatureValue: string
329
+ Id: number
368
330
  /**
369
- * type类型
331
+ * 联盟名称
370
332
  */
371
- Type: string
333
+ Name: string
372
334
  }
373
335
 
374
336
  /**
375
- * GetDeployInfo请求参数结构体
337
+ * GetDidClusterList请求参数结构体
338
+ */
339
+ export type GetDidClusterListRequest = null
340
+
341
+ /**
342
+ * GetCredentialStatus请求参数结构体
376
343
  */
377
- export interface GetDeployInfoRequest {
344
+ export interface GetCredentialStatusRequest {
378
345
  /**
379
- * 合约CNS地址
346
+ * 凭证id
380
347
  */
381
- Hash: string
348
+ CredentialId: string
382
349
  }
383
350
 
384
351
  /**
385
- * 权威机构
352
+ * GetAgencyTDid返回参数结构体
386
353
  */
387
- export interface Authority {
388
- /**
389
- * 权威机构ID
390
- */
391
- Id: number
354
+ export interface GetAgencyTDidResponse {
392
355
  /**
393
- * Did的ID
356
+ * 固定前缀
394
357
  */
395
- DidId: number
358
+ Prefix: string
396
359
  /**
397
- * DID具体信息
360
+ * did详情
398
361
  */
399
- Did: string
362
+ Identity: Array<Identity>
400
363
  /**
401
- * 机构名称
364
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
402
365
  */
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
366
+ RequestId?: string
367
+ }
368
+
369
+ /**
370
+ * AddLabel返回参数结构体
371
+ */
372
+ export interface AddLabelResponse {
435
373
  /**
436
- * 更新时间
437
- 注意:此字段可能返回 null,表示取不到有效值。
374
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
438
375
  */
439
- UpdateTime: string
376
+ RequestId?: string
377
+ }
378
+
379
+ /**
380
+ * VerifyCredential返回参数结构体
381
+ */
382
+ export interface VerifyCredentialResponse {
440
383
  /**
441
- * 网络ID
384
+ * 是否验证成功
442
385
  */
443
- ClusterId: string
386
+ Result: boolean
444
387
  /**
445
- * 群组ID
388
+ * 验证返回码
446
389
  */
447
- GroupId: number
390
+ VerifyCode: number
448
391
  /**
449
- * 合约名称
392
+ * 验证消息
450
393
  */
451
- AppName: string
394
+ VerifyMessage: string
452
395
  /**
453
- * 链上标签
396
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
454
397
  */
455
- LabelName: string
398
+ RequestId?: string
456
399
  }
457
400
 
458
401
  /**
459
- * CreateLabel返回参数结构体
402
+ * SetCredentialStatus返回参数结构体
460
403
  */
461
- export interface CreateLabelResponse {
404
+ export interface SetCredentialStatusResponse {
462
405
  /**
463
406
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
464
407
  */
@@ -466,57 +409,53 @@ export interface CreateLabelResponse {
466
409
  }
467
410
 
468
411
  /**
469
- * GetPublicKey请求参数结构体
412
+ * GetCptInfo返回参数结构体
470
413
  */
471
- export interface GetPublicKeyRequest {
414
+ export interface GetCptInfoResponse {
472
415
  /**
473
- * did的具体号码
416
+ * CptJsonData的具体信息
474
417
  */
475
- Did: string
418
+ CptJsonData: string
419
+ /**
420
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
421
+ */
422
+ RequestId?: string
476
423
  }
477
424
 
478
425
  /**
479
- * 标签
426
+ * 模板颁发量排名
480
427
  */
481
- export interface Label {
482
- /**
483
- * 标签ID
484
- */
485
- LabelId: number
486
- /**
487
- * 标签名称
488
- */
489
- LabelName: string
428
+ export interface CptIssueRank {
490
429
  /**
491
- * did数量
430
+ * 模板名称
492
431
  */
493
- DidCount: number
432
+ CptName: string
494
433
  /**
495
- * 创建者did
434
+ * 名次
496
435
  */
497
- Did: string
436
+ Rank: number
498
437
  /**
499
- * 网络ID
438
+ * 颁发量
500
439
  */
501
- ClusterId: string
440
+ Count: number
502
441
  /**
503
- * 创建时间
442
+ * 应用名称
504
443
  */
505
- CreateTime: string
444
+ ApplyName: string
506
445
  /**
507
- * 群组ID
446
+ * 应用ID
508
447
  */
509
- GroupId: number
448
+ ApplyId: number
510
449
  }
511
450
 
512
451
  /**
513
- * GetDidServiceList返回参数结构体
452
+ * GetCredentialCptRank返回参数结构体
514
453
  */
515
- export interface GetDidServiceListResponse {
454
+ export interface GetCredentialCptRankResponse {
516
455
  /**
517
- * DID服务列表
456
+ * Rank集合
518
457
  */
519
- DidServiceList: Array<DidServiceInfo>
458
+ RankIssueResult: Array<CptIssueRank>
520
459
  /**
521
460
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
522
461
  */
@@ -524,13 +463,13 @@ export interface GetDidServiceListResponse {
524
463
  }
525
464
 
526
465
  /**
527
- * DeployByName返回参数结构体
466
+ * GetConsortiumClusterList返回参数结构体
528
467
  */
529
- export interface DeployByNameResponse {
468
+ export interface GetConsortiumClusterListResponse {
530
469
  /**
531
- * 哈希值
470
+ * 网络列表
532
471
  */
533
- Hash: string
472
+ ClusterList: Array<BcosClusterItem>
534
473
  /**
535
474
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
536
475
  */
@@ -538,73 +477,83 @@ export interface DeployByNameResponse {
538
477
  }
539
478
 
540
479
  /**
541
- * CreateLabel请求参数结构体
480
+ * AddLabel请求参数结构体
542
481
  */
543
- export interface CreateLabelRequest {
544
- /**
545
- * 标签名称
546
- */
547
- LabelName: string
482
+ export interface AddLabelRequest {
548
483
  /**
549
- * 网络Id
484
+ * 标签ID
550
485
  */
551
- ClusterId: string
486
+ LabelId: number
552
487
  /**
553
- * 群组ID
488
+ * tdid
554
489
  */
555
- GroupId: number
490
+ Did: string
556
491
  }
557
492
 
558
493
  /**
559
- * CreateDidService请求参数结构体
494
+ * GetAuthorityIssuer返回参数结构体
560
495
  */
561
- export interface CreateDidServiceRequest {
496
+ export interface GetAuthorityIssuerResponse {
562
497
  /**
563
- * 联盟名称
498
+ * 名称
564
499
  */
565
- ConsortiumName: string
500
+ Name: string
566
501
  /**
567
- * 联盟ID
502
+ * 区块链网络id
568
503
  */
569
- ConsortiumId: number
504
+ ClusterId: string
570
505
  /**
571
- * 群组ID
506
+ * 区块链群组id
572
507
  */
573
508
  GroupId: number
574
509
  /**
575
- * 机构名称
510
+ * 权威机构did
576
511
  */
577
- AgencyName: string
512
+ Did: string
578
513
  /**
579
- * 应用名称
514
+ * 机构备注信息
580
515
  */
581
- AppName: string
516
+ Remark: string
582
517
  /**
583
- * 网络ID
518
+ * 注册时间
584
519
  */
585
- ClusterId: string
520
+ RegisterTime: string
586
521
  /**
587
- * 群组名称
522
+ * 认证时间
588
523
  */
589
- GroupName: string
524
+ RecognizeTime: string
525
+ /**
526
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
527
+ */
528
+ RequestId?: string
590
529
  }
591
530
 
592
531
  /**
593
- * GetDidClusterDetail返回参数结构体
532
+ * GetDidDocument返回参数结构体
594
533
  */
595
- export interface GetDidClusterDetailResponse {
534
+ export interface GetDidDocumentResponse {
596
535
  /**
597
- * 网络ID
536
+ * 名称
598
537
  */
599
- ClusterId: string
538
+ Name: string
600
539
  /**
601
- * 组织名称
540
+ * DID文档
602
541
  */
603
- ConsortiumName: string
542
+ Document: string
604
543
  /**
605
- * 区块链组织名称
544
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
606
545
  */
607
- ChainAgency: string
546
+ RequestId?: string
547
+ }
548
+
549
+ /**
550
+ * CreateTDid返回参数结构体
551
+ */
552
+ export interface CreateTDidResponse {
553
+ /**
554
+ * TDID
555
+ */
556
+ Did: string
608
557
  /**
609
558
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
610
559
  */
@@ -612,9 +561,13 @@ export interface GetDidClusterDetailResponse {
612
561
  }
613
562
 
614
563
  /**
615
- * RecognizeAuthorityIssuer返回参数结构体
564
+ * CreateSelectiveCredential返回参数结构体
616
565
  */
617
- export interface RecognizeAuthorityIssuerResponse {
566
+ export interface CreateSelectiveCredentialResponse {
567
+ /**
568
+ * 凭证字符串
569
+ */
570
+ CredentialData: string
618
571
  /**
619
572
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
620
573
  */
@@ -622,9 +575,23 @@ export interface RecognizeAuthorityIssuerResponse {
622
575
  }
623
576
 
624
577
  /**
625
- * EnableHash返回参数结构体
578
+ * GetAgencyTDid请求参数结构体
579
+ */
580
+ export interface GetAgencyTDidRequest {
581
+ /**
582
+ * 网络ID
583
+ */
584
+ ClusterId: string
585
+ }
586
+
587
+ /**
588
+ * CreateTDidByPublicKey返回参数结构体
626
589
  */
627
- export interface EnableHashResponse {
590
+ export interface CreateTDidByPublicKeyResponse {
591
+ /**
592
+ * did具体信息
593
+ */
594
+ Did: string
628
595
  /**
629
596
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
630
597
  */
@@ -632,9 +599,9 @@ export interface EnableHashResponse {
632
599
  }
633
600
 
634
601
  /**
635
- * GetCredentialIssueTrend请求参数结构体
602
+ * GetCredentialCptRank请求参数结构体
636
603
  */
637
- export interface GetCredentialIssueTrendRequest {
604
+ export interface GetCredentialCptRankRequest {
638
605
  /**
639
606
  * 开始时间(支持到天 2021-4-23)
640
607
  */
@@ -650,238 +617,81 @@ export interface GetCredentialIssueTrendRequest {
650
617
  }
651
618
 
652
619
  /**
653
- * EnableHash请求参数结构体
620
+ * RegisterCpt请求参数结构体
654
621
  */
655
- export interface EnableHashRequest {
622
+ export interface RegisterCptRequest {
656
623
  /**
657
- * 合约CNS地址
624
+ * 群组ID
658
625
  */
659
- Hash: string
660
- }
661
-
662
- /**
663
- * GetDidClusterList请求参数结构体
664
- */
665
- export type GetDidClusterListRequest = null
666
-
667
- /**
668
- * GetCptInfo请求参数结构体
669
- */
670
- export interface GetCptInfoRequest {
626
+ GroupId: number
671
627
  /**
672
- * Cpt索引
628
+ * 网络ID
673
629
  */
674
- CptIndex: number
630
+ ClusterId: string
631
+ /**
632
+ * CptJson的具体信息
633
+ */
634
+ CptJson: string
635
+ /**
636
+ * cptId 不填默认自增
637
+ */
638
+ CptId?: number
675
639
  }
676
640
 
677
641
  /**
678
- * DownCpt请求参数结构体
642
+ * GetDidClusterDetail请求参数结构体
679
643
  */
680
- export interface DownCptRequest {
644
+ export interface GetDidClusterDetailRequest {
681
645
  /**
682
- * Cpt索引
646
+ * DID网络ID
683
647
  */
684
- CptIndex: number
648
+ ClusterId: string
685
649
  }
686
650
 
687
651
  /**
688
- * GetCptList返回参数结构体
652
+ * 验证凭证签名
689
653
  */
690
- export interface GetCptListResponse {
654
+ export interface Proof {
691
655
  /**
692
- * cpt数据集合
656
+ * 创建时间
693
657
  */
694
- CptDataList: Array<CptListData>
658
+ Created: number
695
659
  /**
696
- * 凭证模板总数
660
+ * 创建着did
697
661
  */
698
- AllCount: number
662
+ Creator: string
699
663
  /**
700
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
664
+ * salt值
701
665
  */
702
- RequestId?: string
666
+ SaltJson: string
667
+ /**
668
+ * 签名
669
+ */
670
+ SignatureValue: string
671
+ /**
672
+ * type类型
673
+ */
674
+ Type: string
703
675
  }
704
676
 
705
677
  /**
706
- * GetCptInfo返回参数结构体
678
+ * VerifyCredential请求参数结构体
707
679
  */
708
- export interface GetCptInfoResponse {
709
- /**
710
- * CptJsonData的具体信息
711
- */
712
- CptJsonData: string
680
+ export interface VerifyCredentialRequest {
713
681
  /**
714
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
682
+ * 参数集合
715
683
  */
716
- RequestId?: string
684
+ FunctionArg: VerifyFunctionArg
717
685
  }
718
686
 
719
687
  /**
720
- * GetDidRegisterTrend请求参数结构体
688
+ * GetConsortiumClusterList请求参数结构体
721
689
  */
722
- export interface GetDidRegisterTrendRequest {
690
+ export interface GetConsortiumClusterListRequest {
723
691
  /**
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
- /**
738
- * AddLabel请求参数结构体
739
- */
740
- export interface AddLabelRequest {
741
- /**
742
- * 标签ID
743
- */
744
- LabelId: number
745
- /**
746
- * tdid
747
- */
748
- Did: string
749
- }
750
-
751
- /**
752
- * GetAuthorityIssuer返回参数结构体
753
- */
754
- export interface GetAuthorityIssuerResponse {
755
- /**
756
- * 名称
757
- */
758
- Name: string
759
- /**
760
- * 区块链网络id
761
- */
762
- ClusterId: string
763
- /**
764
- * 区块链群组id
765
- */
766
- GroupId: number
767
- /**
768
- * 权威机构did
769
- */
770
- Did: string
771
- /**
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
- * 应用名称
692
+ * 联盟id
883
693
  */
884
- AppName: string
694
+ ConsortiumId: number
885
695
  }
886
696
 
887
697
  /**
@@ -901,1485 +711,239 @@ export interface FunctionArg {
901
711
  */
902
712
  ExpirationDate: string
903
713
  /**
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
- * 联盟名称
714
+ * 声明
2063
715
  */
2064
- Name: string
716
+ ClaimJson: string
2065
717
  }
2066
718
 
2067
719
  /**
2068
- * GetCredentialIssueRank返回参数结构体
720
+ * CreateTDidByPrivateKey请求参数结构体
2069
721
  */
2070
- export interface GetCredentialIssueRankResponse {
722
+ export interface CreateTDidByPrivateKeyRequest {
2071
723
  /**
2072
- * Rank集合
724
+ * 网络ID
2073
725
  */
2074
- RankIssueResult: Array<CptIssueRank>
726
+ ClusterId: string
2075
727
  /**
2076
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
728
+ * 群组ID
2077
729
  */
2078
- RequestId?: string
2079
- }
2080
-
2081
- /**
2082
- * AddLabel返回参数结构体
2083
- */
2084
- export interface AddLabelResponse {
730
+ GroupId: number
2085
731
  /**
2086
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
732
+ * 私钥
2087
733
  */
2088
- RequestId?: string
734
+ PrivateKey: string
2089
735
  }
2090
736
 
2091
737
  /**
2092
- * GetDeployList返回参数结构体
738
+ * bcos网络信息
2093
739
  */
2094
- export interface GetDeployListResponse {
740
+ export interface BcosClusterItem {
2095
741
  /**
2096
- * 合约总数
742
+ * 网络索引id
2097
743
  */
2098
- AllCount: number
744
+ ChainId: number
2099
745
  /**
2100
- * 合约部署列表
746
+ * 网络名称
2101
747
  */
2102
- Result: Array<Contract>
748
+ ChainName: string
2103
749
  /**
2104
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
750
+ * 机构数量
2105
751
  */
2106
- RequestId?: string
2107
- }
2108
-
2109
- /**
2110
- * CheckChain请求参数结构体
2111
- */
2112
- export interface CheckChainRequest {
752
+ AgencyCount: number
2113
753
  /**
2114
- * 群组ID
754
+ * 联盟id
2115
755
  */
2116
- GroupId: number
756
+ ConsortiumId: number
2117
757
  /**
2118
- * 网络ID
758
+ * 创建时间
2119
759
  */
2120
- ClusterId: string
760
+ CreateTime: string
2121
761
  /**
2122
- * did服务机构名称
762
+ * 过期时间
2123
763
  */
2124
- AgencyName: string
2125
- }
2126
-
2127
- /**
2128
- * GetPublicKey返回参数结构体
2129
- */
2130
- export interface GetPublicKeyResponse {
764
+ ExpireTime: string
2131
765
  /**
2132
- * DID的具体信息
766
+ * 网络状态
2133
767
  */
2134
- Did: string
768
+ ChainStatus: number
2135
769
  /**
2136
- * 公钥
770
+ * 资源 id
2137
771
  */
2138
- PublicKey: string
772
+ ResourceId: string
2139
773
  /**
2140
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
774
+ * 集群id
2141
775
  */
2142
- RequestId?: string
2143
- }
2144
-
2145
- /**
2146
- * GetDidRegisterTrend返回参数结构体
2147
- */
2148
- export interface GetDidRegisterTrendResponse {
776
+ ClusterId: string
2149
777
  /**
2150
- * Trend集合
778
+ * 组织名称
2151
779
  */
2152
- Trend: Array<Trend>
780
+ ConsortiumName: string
2153
781
  /**
2154
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
782
+ * 机构id
2155
783
  */
2156
- RequestId?: string
2157
- }
2158
-
2159
- /**
2160
- * GetCredentialStatus返回参数结构体
2161
- */
2162
- export interface GetCredentialStatusResponse {
784
+ AgencyId: number
2163
785
  /**
2164
- * 凭证状态信息
786
+ * 续费状态
2165
787
  */
2166
- CredentialStatus: CredentialStatus
788
+ AutoRenewFlag: number
2167
789
  /**
2168
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
790
+ * 网络模式
2169
791
  */
2170
- RequestId?: string
2171
- }
2172
-
2173
- /**
2174
- * CreateTDid返回参数结构体
2175
- */
2176
- export interface CreateTDidResponse {
792
+ TotalNetworkNode: number
2177
793
  /**
2178
- * TDID
794
+ * 创建节点数
2179
795
  */
2180
- Did: string
796
+ TotalCreateNode: number
2181
797
  /**
2182
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
798
+ * 总群组数量
2183
799
  */
2184
- RequestId?: string
800
+ TotalGroups: number
2185
801
  }
2186
802
 
2187
803
  /**
2188
- * VerifyCredential请求参数结构体
804
+ * SetCredentialStatus请求参数结构体
2189
805
  */
2190
- export interface VerifyCredentialRequest {
806
+ export interface SetCredentialStatusRequest {
2191
807
  /**
2192
- * 参数集合
808
+ * 凭证状态
2193
809
  */
2194
- FunctionArg: VerifyFunctionArg
810
+ CredentialStatus: CredentialStatus
2195
811
  }
2196
812
 
2197
813
  /**
2198
- * RegisterCpt请求参数结构体
814
+ * did区块链网络信息
2199
815
  */
2200
- export interface RegisterCptRequest {
816
+ export interface DidCluster {
2201
817
  /**
2202
- * 群组ID
818
+ * ID
2203
819
  */
2204
- GroupId: number
820
+ ChainId: number
2205
821
  /**
2206
- * 网络ID
822
+ * 链名称
2207
823
  */
2208
- ClusterId: string
824
+ ChainName: string
2209
825
  /**
2210
- * CptJson的具体信息
826
+ * 组织数量
2211
827
  */
2212
- CptJson: string
828
+ AgencyCount: number
2213
829
  /**
2214
- * cptId 不填默认自增
830
+ * 联盟ID
2215
831
  */
2216
- CptId?: number
2217
- }
2218
-
2219
- /**
2220
- * GetLabelList返回参数结构体
2221
- */
2222
- export interface GetLabelListResponse {
832
+ ConsortiumId: number
2223
833
  /**
2224
- * 数据集合
834
+ * 创建时间
2225
835
  */
2226
- Result: Array<Label>
836
+ CreateTime: string
2227
837
  /**
2228
- * 总条数
838
+ * 过期时间
2229
839
  */
2230
- TotalCount: number
840
+ ExpireTime: string
2231
841
  /**
2232
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
842
+ * 网络状态
2233
843
  */
2234
- RequestId?: string
2235
- }
2236
-
2237
- /**
2238
- * 验证凭证参数值
2239
- */
2240
- export interface VerifyFunctionArg {
844
+ ChainStatus: number
2241
845
  /**
2242
- * CPT ID
846
+ * 资源ID
2243
847
  */
2244
- CptId: number
848
+ ResourceId: string
2245
849
  /**
2246
- * issuer did
850
+ * 网络ID
2247
851
  */
2248
- Issuer: string
852
+ ClusterId: string
2249
853
  /**
2250
- * 过期时间
854
+ * 联盟名称
2251
855
  */
2252
- ExpirationDate: number
856
+ ConsortiumName: string
2253
857
  /**
2254
- * 声明
858
+ * 组织ID
2255
859
  */
2256
- ClaimJson: string
860
+ AgencyId: number
2257
861
  /**
2258
- * 颁发时间
862
+ * 自动续费
2259
863
  */
2260
- IssuanceDate: number
864
+ AutoRenewFlag: number
2261
865
  /**
2262
- * context值
866
+ * 网络节点总数
2263
867
  */
2264
- Context: string
868
+ TotalNetworkNode: number
2265
869
  /**
2266
- * id值
870
+ * 本机构节点数
2267
871
  */
2268
- Id: string
872
+ TotalCreateNode: number
2269
873
  /**
2270
- * 签名值
874
+ * 总群组数
2271
875
  */
2272
- Proof: Proof
876
+ TotalGroups: number
2273
877
  /**
2274
- * type值
878
+ * DID总数
2275
879
  */
2276
- Type: Array<string>
880
+ DidCount: number
2277
881
  }
2278
882
 
2279
883
  /**
2280
- * GetPolicyList返回参数结构体
884
+ * GetCptInfo请求参数结构体
2281
885
  */
2282
- export interface GetPolicyListResponse {
2283
- /**
2284
- * 策略Policy管理列表
2285
- */
2286
- PolicyDataList: Array<Policy>
2287
- /**
2288
- * 总数
2289
- */
2290
- AllCount: number
886
+ export interface GetCptInfoRequest {
2291
887
  /**
2292
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
888
+ * Cpt索引
2293
889
  */
2294
- RequestId?: string
890
+ CptIndex: number
2295
891
  }
2296
892
 
2297
893
  /**
2298
- * DID列表
894
+ * did详情
2299
895
  */
2300
- export interface DidData {
2301
- /**
2302
- * 服务ID
2303
- */
2304
- ServiceId: number
896
+ export interface Identity {
2305
897
  /**
2306
- * 群组ID
898
+ * 账户标识符
2307
899
  */
2308
- GroupId: number
900
+ AccountIdentifier: string
2309
901
  /**
2310
- * 应用名称
902
+ * 链ID
2311
903
  */
2312
- AppName: string
904
+ ChainID: string
2313
905
  /**
2314
- * did号码
906
+ * 完整tdid
2315
907
  */
2316
908
  Did: string
2317
909
  /**
2318
- * 备注
2319
- */
2320
- Remark: string
2321
- /**
2322
- * 权威机构认证状态 1未注册 2 未认证 3 已认证
2323
- */
2324
- AuthorityState: number
2325
- /**
2326
- * DID标签名称
2327
- */
2328
- LabelName: string
2329
- /**
2330
- * DID创建时间
2331
- */
2332
- CreatedAt: string
2333
- /**
2334
- * 网络ID
2335
- */
2336
- ClusterId: string
2337
- /**
2338
- * 联盟名称
910
+ * 群组ID
2339
911
  */
2340
- AllianceName: string
912
+ GroupId: number
2341
913
  /**
2342
- * DID标签id
914
+ * 群组名称
2343
915
  */
2344
- LabelId: number
916
+ GroupName: string
2345
917
  }
2346
918
 
2347
919
  /**
2348
- * GetCredentialIssueRank请求参数结构体
920
+ * GetCredentialStatus返回参数结构体
2349
921
  */
2350
- export interface GetCredentialIssueRankRequest {
2351
- /**
2352
- * 开始时间(支持到天 2021-4-23)
2353
- */
2354
- StartTime: string
922
+ export interface GetCredentialStatusResponse {
2355
923
  /**
2356
- * 结束时间(支持到天 2021-4-23)
924
+ * 凭证状态信息
2357
925
  */
2358
- EndTime: string
926
+ CredentialStatus: CredentialStatus
2359
927
  /**
2360
- * 网络ID
928
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2361
929
  */
2362
- ClusterId?: string
930
+ RequestId?: string
2363
931
  }
2364
932
 
2365
933
  /**
2366
- * GetDeployList请求参数结构体
934
+ * RegisterCpt返回参数结构体
2367
935
  */
2368
- export interface GetDeployListRequest {
2369
- /**
2370
- * 网络ID
2371
- */
2372
- ClusterId: string
936
+ export interface RegisterCptResponse {
2373
937
  /**
2374
- * 群组ID
938
+ * 凭证模板索引
2375
939
  */
2376
- GroupId: number
940
+ Id: number
2377
941
  /**
2378
- * 起始位置
942
+ * 凭证模板id
2379
943
  */
2380
- DisplayStart: number
944
+ CptId: number
2381
945
  /**
2382
- * 长度
946
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2383
947
  */
2384
- DisplayLength: number
948
+ RequestId?: string
2385
949
  }