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