tencentcloud-sdk-nodejs 4.0.777 → 4.0.779

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 (67) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/SERVICE_CHANGELOG.md +139 -173
  3. package/package.json +1 -1
  4. package/products.md +6 -6
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/index.ts +2 -2
  7. package/src/services/btoe/index.ts +2 -2
  8. package/src/services/car/v20220110/car_client.ts +2 -2
  9. package/src/services/chdfs/index.ts +2 -2
  10. package/src/services/cii/index.ts +2 -2
  11. package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +6 -6
  12. package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +22 -10
  13. package/src/services/dbbrain/index.ts +2 -2
  14. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  15. package/src/services/iotcloud/index.ts +2 -2
  16. package/src/services/iotvideo/index.ts +2 -2
  17. package/src/services/mgobe/index.ts +2 -2
  18. package/src/services/mongodb/index.ts +2 -2
  19. package/src/services/organization/index.ts +2 -2
  20. package/src/services/tdid/v20210519/tdid_client.ts +84 -161
  21. package/src/services/tdid/v20210519/tdid_models.ts +154 -340
  22. package/src/services/teo/index.ts +2 -2
  23. package/src/services/thpc/index.ts +2 -2
  24. package/src/services/tione/index.ts +2 -2
  25. package/src/services/trtc/v20190722/trtc_models.ts +2 -1
  26. package/src/services/tsw/index.ts +2 -2
  27. package/tencentcloud/common/sdk_version.d.ts +1 -1
  28. package/tencentcloud/common/sdk_version.js +1 -1
  29. package/tencentcloud/services/ams/index.d.ts +4 -4
  30. package/tencentcloud/services/ams/index.js +2 -2
  31. package/tencentcloud/services/btoe/index.d.ts +4 -4
  32. package/tencentcloud/services/btoe/index.js +2 -2
  33. package/tencentcloud/services/car/v20220110/car_client.d.ts +2 -2
  34. package/tencentcloud/services/car/v20220110/car_client.js +2 -2
  35. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  36. package/tencentcloud/services/chdfs/index.js +2 -2
  37. package/tencentcloud/services/cii/index.d.ts +4 -4
  38. package/tencentcloud/services/cii/index.js +2 -2
  39. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +6 -6
  40. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +6 -6
  41. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +22 -10
  42. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  43. package/tencentcloud/services/dbbrain/index.js +2 -2
  44. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  45. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  46. package/tencentcloud/services/iotcloud/index.js +2 -2
  47. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  48. package/tencentcloud/services/iotvideo/index.js +2 -2
  49. package/tencentcloud/services/mgobe/index.d.ts +4 -4
  50. package/tencentcloud/services/mgobe/index.js +2 -2
  51. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  52. package/tencentcloud/services/mongodb/index.js +2 -2
  53. package/tencentcloud/services/organization/index.d.ts +4 -4
  54. package/tencentcloud/services/organization/index.js +2 -2
  55. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +19 -62
  56. package/tencentcloud/services/tdid/v20210519/tdid_client.js +27 -78
  57. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +154 -330
  58. package/tencentcloud/services/teo/index.d.ts +4 -4
  59. package/tencentcloud/services/teo/index.js +2 -2
  60. package/tencentcloud/services/thpc/index.d.ts +4 -4
  61. package/tencentcloud/services/thpc/index.js +2 -2
  62. package/tencentcloud/services/tione/index.d.ts +4 -4
  63. package/tencentcloud/services/tione/index.js +2 -2
  64. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -1
  65. package/tencentcloud/services/tsw/index.d.ts +4 -4
  66. package/tencentcloud/services/tsw/index.js +2 -2
  67. package/test/tdid.v20210519.test.js +18 -58
@@ -16,78 +16,31 @@
16
16
  */
17
17
 
18
18
  /**
19
- * 凭证链上状态信息
19
+ * CreateTDidByPubKey返回参数结构体
20
20
  */
21
- export interface CredentialStatus {
22
- /**
23
- * 凭证唯一id
24
- */
25
- CredentialId: string
26
- /**
27
- * 凭证状态(0:吊销;1:有效)
28
- */
29
- Status: number
30
- /**
31
- * 凭证颁发者Did
32
- */
33
- Issuer: string
21
+ export interface CreateTDidByPubKeyResponse {
34
22
  /**
35
- * 凭证摘要
36
- 注意:此字段可能返回 null,表示取不到有效值。
23
+ * did标识
37
24
  */
38
- Digest: string
39
- /**
40
- * 凭证签名
41
- 注意:此字段可能返回 null,表示取不到有效值。
42
- */
43
- Signature: string
44
- /**
45
- * 更新时间戳
46
- 注意:此字段可能返回 null,表示取不到有效值。
47
- */
48
- TimeStamp: number
49
- }
50
-
51
- /**
52
- * CreateTDid请求参数结构体
53
- */
54
- export interface CreateTDidRequest {
25
+ Did?: string
55
26
  /**
56
- * 群组ID
27
+ * 链上交易信息
57
28
  */
58
- GroupId: number
29
+ Transaction?: ChainTransaction
59
30
  /**
60
- * 网络ID
61
- */
62
- ClusterId: string
63
- /**
64
- * 部署机构为1,否则为0
65
- */
66
- Relegation: number
67
- }
68
-
69
- /**
70
- * CreateSelectiveCredential请求参数结构体
71
- */
72
- export interface CreateSelectiveCredentialRequest {
73
- /**
74
- * 参数集合
75
- */
76
- FunctionArg: VerifyFunctionArg
77
- /**
78
- * 批露策略id
31
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
79
32
  */
80
- PolicyId: number
33
+ RequestId?: string
81
34
  }
82
35
 
83
36
  /**
84
- * CreateTDidByPrivateKey返回参数结构体
37
+ * GetTDidDocument返回参数结构体
85
38
  */
86
- export interface CreateTDidByPrivateKeyResponse {
39
+ export interface GetTDidDocumentResponse {
87
40
  /**
88
- * did的具体信息
41
+ * DID文档内容
89
42
  */
90
- Did: string
43
+ Document?: string
91
44
  /**
92
45
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
93
46
  */
@@ -95,141 +48,94 @@ export interface CreateTDidByPrivateKeyResponse {
95
48
  }
96
49
 
97
50
  /**
98
- * CheckChain返回参数结构体
51
+ * GetCredentialState请求参数结构体
99
52
  */
100
- export interface CheckChainResponse {
101
- /**
102
- * 1为盟主,0为非盟主
103
- */
104
- RoleType: number
53
+ export interface GetCredentialStateRequest {
105
54
  /**
106
- * 链ID
55
+ * 凭证唯一Id
107
56
  */
108
- ChainId: string
57
+ CredentialId?: string
109
58
  /**
110
- * 应用名称
111
- */
112
- AppName: string
113
- /**
114
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
59
+ * 用户应用Id
115
60
  */
116
- RequestId?: string
61
+ DAPId?: number
117
62
  }
118
63
 
119
64
  /**
120
- * CreateTDidByPublicKey请求参数结构体
65
+ * CheckNewPurchase请求参数结构体
121
66
  */
122
- export interface CreateTDidByPublicKeyRequest {
123
- /**
124
- * 网络ID
125
- */
126
- ClusterId: string
127
- /**
128
- * 群组ID
129
- */
130
- GroupId: number
131
- /**
132
- * 身份公钥
133
- */
134
- PublicKey: string
135
- /**
136
- * 加密公钥
137
- */
138
- EncryptPubKey?: string
139
- }
67
+ export type CheckNewPurchaseRequest = null
140
68
 
141
69
  /**
142
- * CreateCredential返回参数结构体
70
+ * VerifyCredentials请求参数结构体
143
71
  */
144
- export interface CreateCredentialResponse {
72
+ export interface VerifyCredentialsRequest {
145
73
  /**
146
- * Credential的具体信息
74
+ * 0:仅验证签名,1:验证签名和链上状态,2, 仅验证链上状态,默认为0, 3.验证DID和凭证状态以及签名,4. 验证历史凭证有效性
147
75
  */
148
- CredentialData: string
76
+ VerifyType?: number
149
77
  /**
150
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
78
+ * 凭证内容
151
79
  */
152
- RequestId?: string
153
- }
154
-
155
- /**
156
- * GetAuthorityIssuer请求参数结构体
157
- */
158
- export interface GetAuthorityIssuerRequest {
80
+ CredentialData?: string
159
81
  /**
160
- * tdid
82
+ * DID应用id
161
83
  */
162
- Did: string
84
+ DAPId?: number
163
85
  }
164
86
 
165
87
  /**
166
- * CreateCredential请求参数结构体
88
+ * 颁发凭证的数据参数
167
89
  */
168
- export interface CreateCredentialRequest {
90
+ export interface CRDLArg {
169
91
  /**
170
- * 参数集合,详见示例
92
+ * CPT ID
171
93
  */
172
- FunctionArg: FunctionArg
94
+ CPTId: number
173
95
  /**
174
- * 参数集合,详见示例
96
+ * 签发者 did
175
97
  */
176
- TransactionArg: TransactionArg
98
+ Issuer: string
177
99
  /**
178
- * 版本
100
+ * 过期时间
179
101
  */
180
- VersionCredential: string
102
+ ExpirationDate: string
181
103
  /**
182
- * 是否未签名
104
+ * 声明
183
105
  */
184
- UnSigned?: boolean
185
- }
186
-
187
- /**
188
- * GetDidDocument请求参数结构体
189
- */
190
- export interface GetDidDocumentRequest {
106
+ ClaimJson: string
191
107
  /**
192
- * tdid
108
+ * 凭证类型
193
109
  */
194
- Did: string
195
- }
196
-
197
- /**
198
- * GetCredentialStatus请求参数结构体
199
- */
200
- export interface GetCredentialStatusRequest {
110
+ Type?: Array<string>
201
111
  /**
202
- * 凭证id
112
+ * 多方签名的用户did
203
113
  */
204
- CredentialId: string
114
+ Parties?: Array<string>
205
115
  }
206
116
 
207
117
  /**
208
- * VerifyCredential返回参数结构体
118
+ * GetTDidDocument请求参数结构体
209
119
  */
210
- export interface VerifyCredentialResponse {
211
- /**
212
- * 是否验证成功
213
- */
214
- Result: boolean
120
+ export interface GetTDidDocumentRequest {
215
121
  /**
216
- * 验证返回码
217
- */
218
- VerifyCode: number
219
- /**
220
- * 验证消息
122
+ * DID标识
221
123
  */
222
- VerifyMessage: string
124
+ Did?: string
223
125
  /**
224
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
126
+ * DID应用ID
225
127
  */
226
- RequestId?: string
128
+ DAPId?: number
227
129
  }
228
130
 
229
131
  /**
230
- * SetCredentialStatus返回参数结构体
132
+ * IssueCredential返回参数结构体
231
133
  */
232
- export interface SetCredentialStatusResponse {
134
+ export interface IssueCredentialResponse {
135
+ /**
136
+ * 可验证凭证内容
137
+ */
138
+ CredentialData?: string
233
139
  /**
234
140
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
235
141
  */
@@ -237,13 +143,14 @@ export interface SetCredentialStatusResponse {
237
143
  }
238
144
 
239
145
  /**
240
- * GetCptInfo返回参数结构体
146
+ * GetCredentialState返回参数结构体
241
147
  */
242
- export interface GetCptInfoResponse {
148
+ export interface GetCredentialStateResponse {
243
149
  /**
244
- * CptJsonData的具体信息
150
+ * 凭证状态信息
151
+ 注意:此字段可能返回 null,表示取不到有效值。
245
152
  */
246
- CptJsonData: string
153
+ CredentialState?: CredentialState
247
154
  /**
248
155
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
249
156
  */
@@ -251,97 +158,53 @@ export interface GetCptInfoResponse {
251
158
  }
252
159
 
253
160
  /**
254
- * 创建凭证第二个
161
+ * CreateTDidByHost请求参数结构体
255
162
  */
256
- export interface TransactionArg {
163
+ export interface CreateTDidByHostRequest {
257
164
  /**
258
- * 凭证did
165
+ * DID应用ID
259
166
  */
260
- InvokerTDid: string
261
- }
262
-
263
- /**
264
- * CheckChain请求参数结构体
265
- */
266
- export interface CheckChainRequest {
267
- /**
268
- * 群组ID
269
- */
270
- GroupId: number
271
- /**
272
- * 网络ID
273
- */
274
- ClusterId: string
167
+ DAPId?: number
275
168
  /**
276
- * did服务机构名称
169
+ * 自定义DID文档json属性
277
170
  */
278
- AgencyName: string
171
+ CustomAttribute?: string
279
172
  }
280
173
 
281
174
  /**
282
- * GetAuthorityIssuer返回参数结构体
175
+ * IssueCredential请求参数结构体
283
176
  */
284
- export interface GetAuthorityIssuerResponse {
285
- /**
286
- * 名称
287
- */
288
- Name: string
289
- /**
290
- * 区块链网络id
291
- */
292
- ClusterId: string
293
- /**
294
- * 区块链群组id
295
- */
296
- GroupId: number
297
- /**
298
- * 权威机构did
299
- */
300
- Did: string
177
+ export interface IssueCredentialRequest {
301
178
  /**
302
- * 机构备注信息
303
- */
304
- Remark: string
305
- /**
306
- * 注册时间
179
+ * 参数集合,详见示例
307
180
  */
308
- RegisterTime: string
181
+ CRDLArg?: CRDLArg
309
182
  /**
310
- * 认证时间
183
+ * 是否未签名
311
184
  */
312
- RecognizeTime: string
185
+ UnSigned?: boolean
313
186
  /**
314
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
187
+ * DID应用id
315
188
  */
316
- RequestId?: string
189
+ DAPId?: number
317
190
  }
318
191
 
319
192
  /**
320
- * GetDidDocument返回参数结构体
193
+ * VerifyCredentials返回参数结构体
321
194
  */
322
- export interface GetDidDocumentResponse {
323
- /**
324
- * 名称
325
- */
326
- Name: string
195
+ export interface VerifyCredentialsResponse {
327
196
  /**
328
- * DID文档
197
+ * 是否验证成功
329
198
  */
330
- Document: string
199
+ Result?: boolean
331
200
  /**
332
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
201
+ * 验证返回码
333
202
  */
334
- RequestId?: string
335
- }
336
-
337
- /**
338
- * CreateTDid返回参数结构体
339
- */
340
- export interface CreateTDidResponse {
203
+ VerifyCode?: number
341
204
  /**
342
- * TDID
205
+ * 验证结果信息
343
206
  */
344
- Did: string
207
+ VerifyMessage?: string
345
208
  /**
346
209
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
347
210
  */
@@ -349,201 +212,152 @@ export interface CreateTDidResponse {
349
212
  }
350
213
 
351
214
  /**
352
- * CreateSelectiveCredential返回参数结构体
215
+ * UpdateCredentialState请求参数结构体
353
216
  */
354
- export interface CreateSelectiveCredentialResponse {
217
+ export interface UpdateCredentialStateRequest {
355
218
  /**
356
- * 凭证字符串
219
+ * DID应用Id
357
220
  */
358
- CredentialData: string
221
+ DAPId?: number
359
222
  /**
360
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
223
+ * 更新VC状态的临时凭证内容,通过创建凭证接口(CreateCredential)生成并签名,凭证类型为:OperateCredential, 为安全起见凭证过期时间不适合太长,建议设置为1分钟内
361
224
  */
362
- RequestId?: string
225
+ OperateCredential?: string
363
226
  }
364
227
 
365
228
  /**
366
- * RegisterCpt请求参数结构体
229
+ * 凭证链上状态信息
367
230
  */
368
- export interface RegisterCptRequest {
231
+ export interface CredentialState {
369
232
  /**
370
- * 群组ID
233
+ * 凭证唯一id
371
234
  */
372
- GroupId: number
235
+ Id?: string
373
236
  /**
374
- * 网络ID
237
+ * 凭证状态(0:吊销;1:有效)
375
238
  */
376
- ClusterId: string
239
+ Status?: number
377
240
  /**
378
- * CptJson的具体信息
241
+ * 凭证颁发者Did
379
242
  */
380
- CptJson: string
243
+ Issuer?: string
381
244
  /**
382
- * cptId 不填默认自增
245
+ * VC摘要,对应凭证Proof的vcDigest字段
383
246
  */
384
- CptId?: number
385
- }
386
-
387
- /**
388
- * CreateTDidByPublicKey返回参数结构体
389
- */
390
- export interface CreateTDidByPublicKeyResponse {
247
+ VCDigest?: string
391
248
  /**
392
- * did具体信息
393
- */
394
- Did: string
395
- /**
396
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
249
+ * 交易摘要,对应凭证Proof的txDigest字段
397
250
  */
398
- RequestId?: string
399
- }
400
-
401
- /**
402
- * 验证凭证签名
403
- */
404
- export interface Proof {
251
+ TXDigest?: string
405
252
  /**
406
- * 创建时间
253
+ * 颁布凭证的UTC时间戳
407
254
  */
408
- Created: number
255
+ IssueTime?: number
409
256
  /**
410
- * 创建着did
257
+ * 凭证过期的UTC时间戳
411
258
  */
412
- Creator: string
259
+ ExpireTime?: number
413
260
  /**
414
- * salt值
261
+ * 凭证模板id
415
262
  */
416
- SaltJson: string
263
+ CPTId?: number
417
264
  /**
418
- * 签名
265
+ * 凭证签名
419
266
  */
420
- SignatureValue: string
267
+ Signature?: string
421
268
  /**
422
- * type类型
269
+ * 元数据摘要
423
270
  */
424
- Type: string
271
+ MetaDigest?: string
425
272
  }
426
273
 
427
274
  /**
428
- * 验证凭证参数值
275
+ * CreateTDidByPubKey请求参数结构体
429
276
  */
430
- export interface VerifyFunctionArg {
431
- /**
432
- * CPT ID
433
- */
434
- CptId: number
435
- /**
436
- * issuer did
437
- */
438
- Issuer: string
439
- /**
440
- * 过期时间
441
- */
442
- ExpirationDate: number
443
- /**
444
- * 声明
445
- */
446
- ClaimJson: string
447
- /**
448
- * 颁发时间
449
- */
450
- IssuanceDate: number
277
+ export interface CreateTDidByPubKeyRequest {
451
278
  /**
452
- * context值
279
+ * DID应用id
453
280
  */
454
- Context: string
281
+ DAPId?: number
455
282
  /**
456
- * id值
283
+ * pem格式的认证公钥
457
284
  */
458
- Id: string
285
+ PublicKey?: string
459
286
  /**
460
- * 签名值
287
+ * 自定义DID初始化属性json字符串
461
288
  */
462
- Proof: Proof
289
+ CustomAttribute?: string
463
290
  /**
464
- * type值
291
+ * 0:did存在返回错误,1:did存在返回该did,默认:0
465
292
  */
466
- Type: Array<string>
293
+ IgnoreExisted?: number
467
294
  }
468
295
 
469
296
  /**
470
- * 创建凭证入参的FunctionArg
297
+ * DeactivateTDid请求参数结构体
471
298
  */
472
- export interface FunctionArg {
299
+ export interface DeactivateTDidRequest {
473
300
  /**
474
- * CPT ID
301
+ * DID标识符
475
302
  */
476
- CptId: number
303
+ Did?: string
477
304
  /**
478
- * 签发者 did
305
+ * 设置DID禁用状态的临时凭证内容,通过创建凭证接口(CreateCredential)生成并签名,凭证类型为:OperateCredential, 为安全起见凭证过期时间不适合太长,建议设置为1分钟内
479
306
  */
480
- Issuer: string
307
+ OperateCredential?: string
481
308
  /**
482
- * 过期时间
309
+ * DID应用Id
483
310
  */
484
- ExpirationDate: string
311
+ DAPId?: number
485
312
  /**
486
- * 声明
313
+ * 是否禁用
487
314
  */
488
- ClaimJson: string
315
+ Deactivated?: string
489
316
  }
490
317
 
491
318
  /**
492
- * CreateTDidByPrivateKey请求参数结构体
319
+ * CheckNewPurchase返回参数结构体
493
320
  */
494
- export interface CreateTDidByPrivateKeyRequest {
495
- /**
496
- * 网络ID
497
- */
498
- ClusterId: string
499
- /**
500
- * 群组ID
501
- */
502
- GroupId: number
321
+ export interface CheckNewPurchaseResponse {
503
322
  /**
504
- * 私钥
323
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
505
324
  */
506
- PrivateKey: string
325
+ RequestId?: string
507
326
  }
508
327
 
509
328
  /**
510
- * VerifyCredential请求参数结构体
329
+ * UpdateCredentialState返回参数结构体
511
330
  */
512
- export interface VerifyCredentialRequest {
331
+ export interface UpdateCredentialStateResponse {
513
332
  /**
514
- * 参数集合
333
+ * 更新是否成功
334
+ 注意:此字段可能返回 null,表示取不到有效值。
515
335
  */
516
- FunctionArg: VerifyFunctionArg
517
- }
518
-
519
- /**
520
- * SetCredentialStatus请求参数结构体
521
- */
522
- export interface SetCredentialStatusRequest {
336
+ Result?: boolean
523
337
  /**
524
- * 凭证状态
338
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
525
339
  */
526
- CredentialStatus: CredentialStatus
340
+ RequestId?: string
527
341
  }
528
342
 
529
343
  /**
530
- * GetCptInfo请求参数结构体
344
+ * 链上交易信息
531
345
  */
532
- export interface GetCptInfoRequest {
346
+ export interface ChainTransaction {
533
347
  /**
534
- * Cpt索引
348
+ * 交易哈希
535
349
  */
536
- CptIndex: number
350
+ TransactionHash: string
537
351
  }
538
352
 
539
353
  /**
540
- * GetCredentialStatus返回参数结构体
354
+ * DeactivateTDid返回参数结构体
541
355
  */
542
- export interface GetCredentialStatusResponse {
356
+ export interface DeactivateTDidResponse {
543
357
  /**
544
- * 凭证状态信息
358
+ * 上链交易信息
545
359
  */
546
- CredentialStatus: CredentialStatus
360
+ Transaction?: ChainTransaction
547
361
  /**
548
362
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
549
363
  */
@@ -551,17 +365,17 @@ export interface GetCredentialStatusResponse {
551
365
  }
552
366
 
553
367
  /**
554
- * RegisterCpt返回参数结构体
368
+ * CreateTDidByHost返回参数结构体
555
369
  */
556
- export interface RegisterCptResponse {
370
+ export interface CreateTDidByHostResponse {
557
371
  /**
558
- * 凭证模板索引
372
+ * DID标识
559
373
  */
560
- Id: number
374
+ Did?: string
561
375
  /**
562
- * 凭证模板id
376
+ * 链上交易信息
563
377
  */
564
- CptId: number
378
+ Transaction?: ChainTransaction
565
379
  /**
566
380
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
567
381
  */