tencentcloud-sdk-nodejs 4.0.627 → 4.0.629

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/CHANGELOG.md +508 -0
  2. package/SERVICE_CHANGELOG.md +642 -100
  3. package/package.json +1 -1
  4. package/products.md +30 -30
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +35 -26
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +17 -13
  8. package/src/services/asr/v20190614/asr_client.ts +1 -1
  9. package/src/services/asr/v20190614/asr_models.ts +2 -2
  10. package/src/services/cdb/v20170320/cdb_models.ts +2 -2
  11. package/src/services/cdn/v20180606/cdn_client.ts +16 -0
  12. package/src/services/cdn/v20180606/cdn_models.ts +28 -0
  13. package/src/services/ckafka/v20190819/ckafka_client.ts +26 -12
  14. package/src/services/ckafka/v20190819/ckafka_models.ts +271 -130
  15. package/src/services/cls/v20201016/cls_client.ts +1 -1
  16. package/src/services/cynosdb/v20190107/cynosdb_client.ts +13 -1
  17. package/src/services/cynosdb/v20190107/cynosdb_models.ts +42 -8
  18. package/src/services/ess/v20201111/ess_models.ts +4 -4
  19. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -36
  20. package/src/services/live/v20180801/live_models.ts +4 -4
  21. package/src/services/nlp/v20190408/nlp_client.ts +54 -5
  22. package/src/services/nlp/v20190408/nlp_models.ts +206 -32
  23. package/src/services/postgres/v20170312/postgres_models.ts +5 -5
  24. package/src/services/sqlserver/v20180328/sqlserver_client.ts +1 -0
  25. package/src/services/sqlserver/v20180328/sqlserver_models.ts +33 -2
  26. package/src/services/tbaas/v20180416/tbaas_client.ts +53 -123
  27. package/src/services/tbaas/v20180416/tbaas_models.ts +192 -516
  28. package/src/services/tdid/v20210519/tdid_client.ts +111 -518
  29. package/src/services/tdid/v20210519/tdid_models.ts +354 -1911
  30. package/src/services/tdmq/v20200217/tdmq_models.ts +2 -2
  31. package/src/services/tione/v20211111/tione_models.ts +10 -0
  32. package/src/services/tke/v20180525/tke_client.ts +1 -1
  33. package/src/services/tke/v20180525/tke_models.ts +4 -4
  34. package/src/services/trp/v20210515/trp_client.ts +1 -0
  35. package/src/services/trp/v20210515/trp_models.ts +152 -40
  36. package/src/services/tts/v20190823/tts_models.ts +3 -3
  37. package/src/services/waf/v20180125/waf_client.ts +13 -0
  38. package/src/services/waf/v20180125/waf_models.ts +170 -0
  39. package/src/services/wedata/v20210820/wedata_models.ts +76 -5
  40. package/tencentcloud/common/sdk_version.d.ts +1 -1
  41. package/tencentcloud/common/sdk_version.js +1 -1
  42. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +35 -26
  43. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +17 -13
  44. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  45. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  46. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
  47. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
  48. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +9 -1
  49. package/tencentcloud/services/cdn/v20180606/cdn_client.js +10 -0
  50. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +26 -0
  51. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +7 -3
  52. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +9 -3
  53. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +266 -129
  54. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  55. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  56. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  57. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  58. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +40 -8
  59. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -4
  60. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -36
  61. package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -4
  62. package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +17 -1
  63. package/tencentcloud/services/nlp/v20190408/nlp_client.js +24 -0
  64. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +197 -32
  65. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +5 -5
  66. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +32 -2
  67. package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +27 -47
  68. package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +27 -59
  69. package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +193 -503
  70. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +41 -197
  71. package/tencentcloud/services/tdid/v20210519/tdid_client.js +50 -266
  72. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +353 -1839
  73. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +2 -2
  74. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +10 -0
  75. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
  76. package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
  77. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -4
  78. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +151 -40
  79. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +3 -3
  80. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  81. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  82. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +167 -0
  83. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +76 -5
  84. package/test/cdn.v20180606.test.js +10 -0
  85. package/test/ckafka.v20190819.test.js +12 -2
  86. package/test/cynosdb.v20190107.test.js +10 -0
  87. package/test/nlp.v20190408.test.js +40 -0
  88. package/test/tbaas.v20180416.test.js +2 -62
  89. package/test/tdid.v20210519.test.js +20 -320
  90. package/test/waf.v20180125.test.js +10 -0
@@ -31,651 +31,368 @@ 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 {
158
- /**
159
- * 开始时间(支持到天 2021-4-23)
160
- */
161
- StartTime: string;
143
+ export interface CheckChainRequest {
162
144
  /**
163
- * 结束时间(支持到天 2021-4-23)
145
+ * 群组ID
164
146
  */
165
- EndTime: string;
147
+ GroupId: number;
166
148
  /**
167
149
  * 网络ID
168
150
  */
169
- ClusterId?: string;
170
- }
171
- /**
172
- * GetPolicyList请求参数结构体
173
- */
174
- export interface GetPolicyListRequest {
175
- /**
176
- * 起始位置
177
- */
178
- DisplayStart: number;
151
+ ClusterId: string;
179
152
  /**
180
- * 长度
153
+ * did服务机构名称
181
154
  */
182
- DisplayLength: number;
155
+ AgencyName: string;
183
156
  }
184
157
  /**
185
- * GetConsortiumClusterList返回参数结构体
158
+ * GetAuthorityIssuer请求参数结构体
186
159
  */
187
- export interface GetConsortiumClusterListResponse {
188
- /**
189
- * 网络列表
190
- */
191
- ClusterList: Array<BcosClusterItem>;
160
+ export interface GetAuthorityIssuerRequest {
192
161
  /**
193
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
162
+ * tdid
194
163
  */
195
- RequestId?: string;
164
+ Did: string;
196
165
  }
197
166
  /**
198
- * CreateDidService、CheckDidDeploy出参
167
+ * 验证凭证参数值
199
168
  */
200
- export interface Task {
201
- /**
202
- * 任务ID
203
- */
204
- Id: number;
169
+ export interface VerifyFunctionArg {
205
170
  /**
206
- * 应用ID
171
+ * CPT ID
207
172
  */
208
- AppId: number;
173
+ CptId: number;
209
174
  /**
210
- * 网络ID
175
+ * issuer did
211
176
  */
212
- ClusterId: string;
177
+ Issuer: string;
213
178
  /**
214
- * 群组ID
179
+ * 过期时间
215
180
  */
216
- GroupId: number;
181
+ ExpirationDate: number;
217
182
  /**
218
- * 服务ID
183
+ * 声明
219
184
  */
220
- ServiceId: number;
185
+ ClaimJson: string;
221
186
  /**
222
- * 0: 部署中,1:部署成功,其他失败
187
+ * 颁发时间
223
188
  */
224
- Status: number;
189
+ IssuanceDate: number;
225
190
  /**
226
- * 错误码
191
+ * context值
227
192
  */
228
- ErrorCode: string;
193
+ Context: string;
229
194
  /**
230
- * 错误提示
195
+ * id值
231
196
  */
232
- ErrorMsg: string;
197
+ Id: string;
233
198
  /**
234
- * 生成时间
199
+ * 签名值
235
200
  */
236
- CreateTime: string;
201
+ Proof: Proof;
237
202
  /**
238
- * 更新时间
203
+ * type值
239
204
  */
240
- UpdateTime: string;
205
+ Type: Array<string>;
241
206
  }
242
207
  /**
243
- * GetCptList请求参数结构体
208
+ * GetConsortiumList请求参数结构体
244
209
  */
245
- export interface GetCptListRequest {
246
- /**
247
- * 起始位置
248
- */
249
- DisplayStart: number;
250
- /**
251
- * 长度
252
- */
253
- DisplayLength: number;
254
- /**
255
- * 模板类型,0: 所有模板,1: 系统模板,2: 用户模板,3:普通模板
256
- */
257
- CptType?: number;
258
- }
210
+ export declare type GetConsortiumListRequest = null;
259
211
  /**
260
- * GetAuthoritiesList请求参数结构体
212
+ * CreateCredential请求参数结构体
261
213
  */
262
- export interface GetAuthoritiesListRequest {
214
+ export interface CreateCredentialRequest {
263
215
  /**
264
- * 页码,从1开始
216
+ * 参数集合,详见示例
265
217
  */
266
- PageNumber: number;
218
+ FunctionArg: FunctionArg;
267
219
  /**
268
- * 每页大小
220
+ * 参数集合,详见示例
269
221
  */
270
- PageSize: number;
222
+ TransactionArg: TransactionArg;
271
223
  /**
272
- * Did信息
224
+ * 版本
273
225
  */
274
- Did?: string;
226
+ VersionCredential: string;
275
227
  /**
276
- * 权威认证 1:已认证,2:未认证
228
+ * 是否未签名
277
229
  */
278
- Status?: number;
230
+ UnSigned?: boolean;
279
231
  }
280
232
  /**
281
- * GetAgencyTDid请求参数结构体
233
+ * GetDidDocument请求参数结构体
282
234
  */
283
- export interface GetAgencyTDidRequest {
235
+ export interface GetDidDocumentRequest {
284
236
  /**
285
- * 网络ID
237
+ * tdid
286
238
  */
287
- ClusterId: string;
239
+ Did: string;
288
240
  }
289
241
  /**
290
- * RemoveHash请求参数结构体
242
+ * GetConsortiumList返回参数结构体
291
243
  */
292
- export interface RemoveHashRequest {
244
+ export interface GetConsortiumListResponse {
245
+ /**
246
+ * 联盟列表
247
+ */
248
+ ConsortiumList: Array<ConsortiumItem>;
293
249
  /**
294
- * 合约CNS地址
250
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
295
251
  */
296
- Hash: string;
252
+ RequestId?: string;
297
253
  }
298
254
  /**
299
- * GetGroupList请求参数结构体
255
+ * 联盟信息
300
256
  */
301
- export interface GetGroupListRequest {
257
+ export interface ConsortiumItem {
302
258
  /**
303
- * 0为未部署DID服务的群组,1为已部署DID服务的群组
259
+ * 联盟id
304
260
  */
305
- Status: number;
261
+ Id: number;
306
262
  /**
307
- * 网络ID
263
+ * 联盟名称
308
264
  */
309
- ClusterId: string;
265
+ Name: string;
310
266
  }
311
267
  /**
312
- * 验证凭证签名
268
+ * GetCredentialStatus请求参数结构体
313
269
  */
314
- export interface Proof {
315
- /**
316
- * 创建时间
317
- */
318
- Created: number;
270
+ export interface GetCredentialStatusRequest {
319
271
  /**
320
- * 创建着did
272
+ * 凭证id
321
273
  */
322
- Creator: string;
274
+ CredentialId: string;
275
+ }
276
+ /**
277
+ * GetAgencyTDid返回参数结构体
278
+ */
279
+ export interface GetAgencyTDidResponse {
323
280
  /**
324
- * salt值
281
+ * 固定前缀
325
282
  */
326
- SaltJson: string;
283
+ Prefix: string;
327
284
  /**
328
- * 签名
285
+ * did详情
329
286
  */
330
- SignatureValue: string;
287
+ Identity: Array<Identity>;
331
288
  /**
332
- * type类型
289
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
333
290
  */
334
- Type: string;
291
+ RequestId?: string;
335
292
  }
336
293
  /**
337
- * GetDeployInfo请求参数结构体
294
+ * AddLabel返回参数结构体
338
295
  */
339
- export interface GetDeployInfoRequest {
296
+ export interface AddLabelResponse {
340
297
  /**
341
- * 合约CNS地址
298
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
342
299
  */
343
- Hash: string;
300
+ RequestId?: string;
344
301
  }
345
302
  /**
346
- * 权威机构
303
+ * VerifyCredential返回参数结构体
347
304
  */
348
- export interface Authority {
305
+ export interface VerifyCredentialResponse {
349
306
  /**
350
- * 权威机构ID
307
+ * 是否验证成功
351
308
  */
352
- Id: number;
309
+ Result: boolean;
353
310
  /**
354
- * Did的ID
311
+ * 验证返回码
355
312
  */
356
- DidId: number;
313
+ VerifyCode: number;
357
314
  /**
358
- * DID具体信息
315
+ * 验证消息
359
316
  */
360
- Did: string;
317
+ VerifyMessage: string;
361
318
  /**
362
- * 机构名称
319
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
363
320
  */
364
- Name: string;
321
+ RequestId?: string;
322
+ }
323
+ /**
324
+ * SetCredentialStatus返回参数结构体
325
+ */
326
+ export interface SetCredentialStatusResponse {
365
327
  /**
366
- * 权威认证 1:已认证,2:未认证
328
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
367
329
  */
368
- Status: number;
330
+ RequestId?: string;
331
+ }
332
+ /**
333
+ * GetCptInfo返回参数结构体
334
+ */
335
+ export interface GetCptInfoResponse {
369
336
  /**
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;
413
- /**
414
- * 链上标签
415
- */
416
- LabelName: string;
417
- }
418
- /**
419
- * CreateLabel返回参数结构体
420
- */
421
- export interface CreateLabelResponse {
422
- /**
423
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
424
- */
425
- RequestId?: string;
426
- }
427
- /**
428
- * GetPublicKey请求参数结构体
429
- */
430
- export interface GetPublicKeyRequest {
431
- /**
432
- * did的具体号码
433
- */
434
- Did: string;
435
- }
436
- /**
437
- * 标签
438
- */
439
- export interface Label {
440
- /**
441
- * 标签ID
442
- */
443
- LabelId: number;
444
- /**
445
- * 标签名称
446
- */
447
- LabelName: string;
448
- /**
449
- * did数量
450
- */
451
- DidCount: number;
452
- /**
453
- * 创建者did
454
- */
455
- Did: string;
456
- /**
457
- * 网络ID
458
- */
459
- ClusterId: string;
460
- /**
461
- * 创建时间
462
- */
463
- CreateTime: string;
464
- /**
465
- * 群组ID
466
- */
467
- GroupId: number;
468
- }
469
- /**
470
- * GetDidServiceList返回参数结构体
471
- */
472
- export interface GetDidServiceListResponse {
473
- /**
474
- * DID服务列表
475
- */
476
- DidServiceList: Array<DidServiceInfo>;
477
- /**
478
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
479
- */
480
- RequestId?: string;
481
- }
482
- /**
483
- * DeployByName返回参数结构体
484
- */
485
- export interface DeployByNameResponse {
486
- /**
487
- * 哈希值
337
+ * CptJsonData的具体信息
488
338
  */
489
- Hash: string;
339
+ CptJsonData: string;
490
340
  /**
491
341
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
492
342
  */
493
343
  RequestId?: string;
494
344
  }
495
345
  /**
496
- * CreateLabel请求参数结构体
497
- */
498
- export interface CreateLabelRequest {
499
- /**
500
- * 标签名称
501
- */
502
- LabelName: string;
503
- /**
504
- * 网络Id
505
- */
506
- ClusterId: string;
507
- /**
508
- * 群组ID
509
- */
510
- GroupId: number;
511
- }
512
- /**
513
- * CreateDidService请求参数结构体
346
+ * 模板颁发量排名
514
347
  */
515
- export interface CreateDidServiceRequest {
516
- /**
517
- * 联盟名称
518
- */
519
- ConsortiumName: string;
348
+ export interface CptIssueRank {
520
349
  /**
521
- * 联盟ID
350
+ * 模板名称
522
351
  */
523
- ConsortiumId: number;
352
+ CptName: string;
524
353
  /**
525
- * 群组ID
354
+ * 名次
526
355
  */
527
- GroupId: number;
356
+ Rank: number;
528
357
  /**
529
- * 机构名称
358
+ * 颁发量
530
359
  */
531
- AgencyName: string;
360
+ Count: number;
532
361
  /**
533
362
  * 应用名称
534
363
  */
535
- AppName: string;
536
- /**
537
- * 网络ID
538
- */
539
- ClusterId: string;
540
- /**
541
- * 群组名称
542
- */
543
- GroupName: string;
544
- }
545
- /**
546
- * GetDidClusterDetail返回参数结构体
547
- */
548
- export interface GetDidClusterDetailResponse {
549
- /**
550
- * 网络ID
551
- */
552
- ClusterId: string;
553
- /**
554
- * 组织名称
555
- */
556
- ConsortiumName: string;
557
- /**
558
- * 区块链组织名称
559
- */
560
- ChainAgency: string;
561
- /**
562
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
563
- */
564
- RequestId?: string;
565
- }
566
- /**
567
- * RecognizeAuthorityIssuer返回参数结构体
568
- */
569
- export interface RecognizeAuthorityIssuerResponse {
570
- /**
571
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
572
- */
573
- RequestId?: string;
574
- }
575
- /**
576
- * EnableHash返回参数结构体
577
- */
578
- export interface EnableHashResponse {
579
- /**
580
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
581
- */
582
- RequestId?: string;
583
- }
584
- /**
585
- * GetCredentialIssueTrend请求参数结构体
586
- */
587
- export interface GetCredentialIssueTrendRequest {
588
- /**
589
- * 开始时间(支持到天 2021-4-23)
590
- */
591
- StartTime: string;
592
- /**
593
- * 结束时间(支持到天 2021-4-23)
594
- */
595
- EndTime: string;
596
- /**
597
- * 网络ID
598
- */
599
- ClusterId?: string;
600
- }
601
- /**
602
- * EnableHash请求参数结构体
603
- */
604
- export interface EnableHashRequest {
605
- /**
606
- * 合约CNS地址
607
- */
608
- Hash: string;
609
- }
610
- /**
611
- * GetDidClusterList请求参数结构体
612
- */
613
- export declare type GetDidClusterListRequest = null;
614
- /**
615
- * GetCptInfo请求参数结构体
616
- */
617
- export interface GetCptInfoRequest {
618
- /**
619
- * Cpt索引
620
- */
621
- CptIndex: number;
622
- }
623
- /**
624
- * DownCpt请求参数结构体
625
- */
626
- export interface DownCptRequest {
364
+ ApplyName: string;
627
365
  /**
628
- * Cpt索引
366
+ * 应用ID
629
367
  */
630
- CptIndex: number;
368
+ ApplyId: number;
631
369
  }
632
370
  /**
633
- * GetCptList返回参数结构体
371
+ * GetCredentialCptRank返回参数结构体
634
372
  */
635
- export interface GetCptListResponse {
636
- /**
637
- * cpt数据集合
638
- */
639
- CptDataList: Array<CptListData>;
373
+ export interface GetCredentialCptRankResponse {
640
374
  /**
641
- * 凭证模板总数
375
+ * Rank集合
642
376
  */
643
- AllCount: number;
377
+ RankIssueResult: Array<CptIssueRank>;
644
378
  /**
645
379
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
646
380
  */
647
381
  RequestId?: string;
648
382
  }
649
383
  /**
650
- * GetCptInfo返回参数结构体
384
+ * GetConsortiumClusterList返回参数结构体
651
385
  */
652
- export interface GetCptInfoResponse {
386
+ export interface GetConsortiumClusterListResponse {
653
387
  /**
654
- * CptJsonData的具体信息
388
+ * 网络列表
655
389
  */
656
- CptJsonData: string;
390
+ ClusterList: Array<BcosClusterItem>;
657
391
  /**
658
392
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
659
393
  */
660
394
  RequestId?: string;
661
395
  }
662
- /**
663
- * GetDidRegisterTrend请求参数结构体
664
- */
665
- export interface GetDidRegisterTrendRequest {
666
- /**
667
- * 开始时间(支持到天 2021-4-23)
668
- */
669
- StartTime: string;
670
- /**
671
- * 结束时间(支持到天 2021-4-23)
672
- */
673
- EndTime: string;
674
- /**
675
- * 网络ID
676
- */
677
- ClusterId?: string;
678
- }
679
396
  /**
680
397
  * AddLabel请求参数结构体
681
398
  */
@@ -703,1355 +420,87 @@ export interface GetAuthorityIssuerResponse {
703
420
  ClusterId: string;
704
421
  /**
705
422
  * 区块链群组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;
823
- }
824
- /**
825
- * 创建凭证入参的FunctionArg
826
- */
827
- export interface FunctionArg {
828
- /**
829
- * CPT ID
830
- */
831
- CptId: number;
832
- /**
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
1943
- */
1944
- Id: number;
1945
- /**
1946
- * 联盟名称
1947
- */
1948
- Name: string;
1949
- }
1950
- /**
1951
- * GetCredentialIssueRank返回参数结构体
1952
- */
1953
- export interface GetCredentialIssueRankResponse {
1954
- /**
1955
- * Rank集合
1956
- */
1957
- RankIssueResult: Array<CptIssueRank>;
1958
- /**
1959
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1960
- */
1961
- RequestId?: string;
1962
- }
1963
- /**
1964
- * AddLabel返回参数结构体
1965
- */
1966
- export interface AddLabelResponse {
423
+ */
424
+ GroupId: number;
1967
425
  /**
1968
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
426
+ * 权威机构did
1969
427
  */
1970
- RequestId?: string;
1971
- }
1972
- /**
1973
- * GetDeployList返回参数结构体
1974
- */
1975
- export interface GetDeployListResponse {
428
+ Did: string;
429
+ /**
430
+ * 机构备注信息
431
+ */
432
+ Remark: string;
1976
433
  /**
1977
- * 合约总数
434
+ * 注册时间
1978
435
  */
1979
- AllCount: number;
436
+ RegisterTime: string;
1980
437
  /**
1981
- * 合约部署列表
438
+ * 认证时间
1982
439
  */
1983
- Result: Array<Contract>;
440
+ RecognizeTime: string;
1984
441
  /**
1985
442
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1986
443
  */
1987
444
  RequestId?: string;
1988
445
  }
1989
446
  /**
1990
- * CheckChain请求参数结构体
447
+ * GetDidDocument返回参数结构体
1991
448
  */
1992
- export interface CheckChainRequest {
449
+ export interface GetDidDocumentResponse {
1993
450
  /**
1994
- * 群组ID
451
+ * 名称
1995
452
  */
1996
- GroupId: number;
453
+ Name: string;
1997
454
  /**
1998
- * 网络ID
455
+ * DID文档
1999
456
  */
2000
- ClusterId: string;
457
+ Document: string;
2001
458
  /**
2002
- * did服务机构名称
459
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2003
460
  */
2004
- AgencyName: string;
461
+ RequestId?: string;
2005
462
  }
2006
463
  /**
2007
- * GetPublicKey返回参数结构体
464
+ * CreateTDid返回参数结构体
2008
465
  */
2009
- export interface GetPublicKeyResponse {
466
+ export interface CreateTDidResponse {
2010
467
  /**
2011
- * DID的具体信息
468
+ * TDID
2012
469
  */
2013
470
  Did: string;
2014
- /**
2015
- * 公钥
2016
- */
2017
- PublicKey: string;
2018
471
  /**
2019
472
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2020
473
  */
2021
474
  RequestId?: string;
2022
475
  }
2023
476
  /**
2024
- * GetDidRegisterTrend返回参数结构体
477
+ * CreateSelectiveCredential返回参数结构体
2025
478
  */
2026
- export interface GetDidRegisterTrendResponse {
479
+ export interface CreateSelectiveCredentialResponse {
2027
480
  /**
2028
- * Trend集合
481
+ * 凭证字符串
2029
482
  */
2030
- Trend: Array<Trend>;
483
+ CredentialData: string;
2031
484
  /**
2032
485
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2033
486
  */
2034
487
  RequestId?: string;
2035
488
  }
2036
489
  /**
2037
- * GetCredentialStatus返回参数结构体
490
+ * GetAgencyTDid请求参数结构体
2038
491
  */
2039
- export interface GetCredentialStatusResponse {
2040
- /**
2041
- * 凭证状态信息
2042
- */
2043
- CredentialStatus: CredentialStatus;
492
+ export interface GetAgencyTDidRequest {
2044
493
  /**
2045
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
494
+ * 网络ID
2046
495
  */
2047
- RequestId?: string;
496
+ ClusterId: string;
2048
497
  }
2049
498
  /**
2050
- * CreateTDid返回参数结构体
499
+ * CreateTDidByPublicKey返回参数结构体
2051
500
  */
2052
- export interface CreateTDidResponse {
501
+ export interface CreateTDidByPublicKeyResponse {
2053
502
  /**
2054
- * TDID
503
+ * did具体信息
2055
504
  */
2056
505
  Did: string;
2057
506
  /**
@@ -2060,13 +509,21 @@ export interface CreateTDidResponse {
2060
509
  RequestId?: string;
2061
510
  }
2062
511
  /**
2063
- * VerifyCredential请求参数结构体
512
+ * GetCredentialCptRank请求参数结构体
2064
513
  */
2065
- export interface VerifyCredentialRequest {
514
+ export interface GetCredentialCptRankRequest {
2066
515
  /**
2067
- * 参数集合
516
+ * 开始时间(支持到天 2021-4-23)
2068
517
  */
2069
- FunctionArg: VerifyFunctionArg;
518
+ StartTime: string;
519
+ /**
520
+ * 结束时间(支持到天 2021-4-23)
521
+ */
522
+ EndTime: string;
523
+ /**
524
+ * 网络ID
525
+ */
526
+ ClusterId?: string;
2070
527
  }
2071
528
  /**
2072
529
  * RegisterCpt请求参数结构体
@@ -2090,164 +547,221 @@ export interface RegisterCptRequest {
2090
547
  CptId?: number;
2091
548
  }
2092
549
  /**
2093
- * GetLabelList返回参数结构体
550
+ * 验证凭证签名
2094
551
  */
2095
- export interface GetLabelListResponse {
552
+ export interface Proof {
553
+ /**
554
+ * 创建时间
555
+ */
556
+ Created: number;
2096
557
  /**
2097
- * 数据集合
558
+ * 创建着did
2098
559
  */
2099
- Result: Array<Label>;
560
+ Creator: string;
2100
561
  /**
2101
- * 总条数
562
+ * salt值
2102
563
  */
2103
- TotalCount: number;
564
+ SaltJson: string;
2104
565
  /**
2105
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
566
+ * 签名
2106
567
  */
2107
- RequestId?: string;
568
+ SignatureValue: string;
569
+ /**
570
+ * type类型
571
+ */
572
+ Type: string;
2108
573
  }
2109
574
  /**
2110
- * 验证凭证参数值
575
+ * VerifyCredential请求参数结构体
2111
576
  */
2112
- export interface VerifyFunctionArg {
577
+ export interface VerifyCredentialRequest {
578
+ /**
579
+ * 参数集合
580
+ */
581
+ FunctionArg: VerifyFunctionArg;
582
+ }
583
+ /**
584
+ * GetConsortiumClusterList请求参数结构体
585
+ */
586
+ export interface GetConsortiumClusterListRequest {
587
+ /**
588
+ * 联盟id
589
+ */
590
+ ConsortiumId: number;
591
+ }
592
+ /**
593
+ * 创建凭证入参的FunctionArg
594
+ */
595
+ export interface FunctionArg {
2113
596
  /**
2114
597
  * CPT ID
2115
598
  */
2116
599
  CptId: number;
2117
600
  /**
2118
- * issuer did
601
+ * 签发者 did
2119
602
  */
2120
603
  Issuer: string;
2121
604
  /**
2122
605
  * 过期时间
2123
606
  */
2124
- ExpirationDate: number;
607
+ ExpirationDate: string;
2125
608
  /**
2126
609
  * 声明
2127
610
  */
2128
611
  ClaimJson: string;
612
+ }
613
+ /**
614
+ * CreateTDidByPrivateKey请求参数结构体
615
+ */
616
+ export interface CreateTDidByPrivateKeyRequest {
2129
617
  /**
2130
- * 颁发时间
618
+ * 网络ID
2131
619
  */
2132
- IssuanceDate: number;
620
+ ClusterId: string;
2133
621
  /**
2134
- * context值
622
+ * 群组ID
2135
623
  */
2136
- Context: string;
624
+ GroupId: number;
2137
625
  /**
2138
- * id值
626
+ * 私钥
2139
627
  */
2140
- Id: string;
628
+ PrivateKey: string;
629
+ }
630
+ /**
631
+ * bcos网络信息
632
+ */
633
+ export interface BcosClusterItem {
2141
634
  /**
2142
- * 签名值
635
+ * 网络索引id
2143
636
  */
2144
- Proof: Proof;
637
+ ChainId: number;
2145
638
  /**
2146
- * type值
639
+ * 网络名称
2147
640
  */
2148
- Type: Array<string>;
2149
- }
2150
- /**
2151
- * GetPolicyList返回参数结构体
2152
- */
2153
- export interface GetPolicyListResponse {
641
+ ChainName: string;
2154
642
  /**
2155
- * 策略Policy管理列表
643
+ * 机构数量
2156
644
  */
2157
- PolicyDataList: Array<Policy>;
645
+ AgencyCount: number;
2158
646
  /**
2159
- * 总数
647
+ * 联盟id
2160
648
  */
2161
- AllCount: number;
649
+ ConsortiumId: number;
2162
650
  /**
2163
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
651
+ * 创建时间
2164
652
  */
2165
- RequestId?: string;
2166
- }
2167
- /**
2168
- * DID列表
2169
- */
2170
- export interface DidData {
653
+ CreateTime: string;
2171
654
  /**
2172
- * 服务ID
655
+ * 过期时间
2173
656
  */
2174
- ServiceId: number;
657
+ ExpireTime: string;
2175
658
  /**
2176
- * 群组ID
659
+ * 网络状态
2177
660
  */
2178
- GroupId: number;
661
+ ChainStatus: number;
2179
662
  /**
2180
- * 应用名称
663
+ * 资源 id
2181
664
  */
2182
- AppName: string;
665
+ ResourceId: string;
2183
666
  /**
2184
- * did号码
667
+ * 集群id
2185
668
  */
2186
- Did: string;
669
+ ClusterId: string;
2187
670
  /**
2188
- * 备注
671
+ * 组织名称
2189
672
  */
2190
- Remark: string;
673
+ ConsortiumName: string;
2191
674
  /**
2192
- * 权威机构认证状态 1未注册 2 未认证 3 已认证
675
+ * 机构id
2193
676
  */
2194
- AuthorityState: number;
677
+ AgencyId: number;
2195
678
  /**
2196
- * DID标签名称
679
+ * 续费状态
2197
680
  */
2198
- LabelName: string;
681
+ AutoRenewFlag: number;
2199
682
  /**
2200
- * DID创建时间
683
+ * 网络模式
2201
684
  */
2202
- CreatedAt: string;
685
+ TotalNetworkNode: number;
2203
686
  /**
2204
- * 网络ID
687
+ * 创建节点数
2205
688
  */
2206
- ClusterId: string;
689
+ TotalCreateNode: number;
2207
690
  /**
2208
- * 联盟名称
691
+ * 总群组数量
2209
692
  */
2210
- AllianceName: string;
693
+ TotalGroups: number;
694
+ }
695
+ /**
696
+ * SetCredentialStatus请求参数结构体
697
+ */
698
+ export interface SetCredentialStatusRequest {
2211
699
  /**
2212
- * DID标签id
700
+ * 凭证状态
2213
701
  */
2214
- LabelId: number;
702
+ CredentialStatus: CredentialStatus;
2215
703
  }
2216
704
  /**
2217
- * GetCredentialIssueRank请求参数结构体
705
+ * GetCptInfo请求参数结构体
2218
706
  */
2219
- export interface GetCredentialIssueRankRequest {
707
+ export interface GetCptInfoRequest {
2220
708
  /**
2221
- * 开始时间(支持到天 2021-4-23)
709
+ * Cpt索引
2222
710
  */
2223
- StartTime: string;
711
+ CptIndex: number;
712
+ }
713
+ /**
714
+ * did详情
715
+ */
716
+ export interface Identity {
2224
717
  /**
2225
- * 结束时间(支持到天 2021-4-23)
718
+ * 账户标识符
2226
719
  */
2227
- EndTime: string;
720
+ AccountIdentifier: string;
2228
721
  /**
2229
- * 网络ID
722
+ * ID
2230
723
  */
2231
- ClusterId?: string;
724
+ ChainID: string;
725
+ /**
726
+ * 完整tdid
727
+ */
728
+ Did: string;
729
+ /**
730
+ * 群组ID
731
+ */
732
+ GroupId: number;
733
+ /**
734
+ * 群组名称
735
+ */
736
+ GroupName: string;
2232
737
  }
2233
738
  /**
2234
- * GetDeployList请求参数结构体
739
+ * GetCredentialStatus返回参数结构体
2235
740
  */
2236
- export interface GetDeployListRequest {
741
+ export interface GetCredentialStatusResponse {
2237
742
  /**
2238
- * 网络ID
743
+ * 凭证状态信息
2239
744
  */
2240
- ClusterId: string;
745
+ CredentialStatus: CredentialStatus;
2241
746
  /**
2242
- * 群组ID
747
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2243
748
  */
2244
- GroupId: number;
749
+ RequestId?: string;
750
+ }
751
+ /**
752
+ * RegisterCpt返回参数结构体
753
+ */
754
+ export interface RegisterCptResponse {
2245
755
  /**
2246
- * 起始位置
756
+ * 凭证模板索引
757
+ */
758
+ Id: number;
759
+ /**
760
+ * 凭证模板id
2247
761
  */
2248
- DisplayStart: number;
762
+ CptId: number;
2249
763
  /**
2250
- * 长度
764
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2251
765
  */
2252
- DisplayLength: number;
766
+ RequestId?: string;
2253
767
  }