tencentcloud-sdk-nodejs 4.0.779 → 4.0.781

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 (47) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/SERVICE_CHANGELOG.md +183 -52
  3. package/package.json +1 -1
  4. package/products.md +16 -16
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +16 -6
  7. package/src/services/dts/v20211206/dts_models.ts +6 -1
  8. package/src/services/faceid/v20180301/faceid_models.ts +8 -0
  9. package/src/services/monitor/v20180724/monitor_client.ts +88 -21
  10. package/src/services/monitor/v20180724/monitor_models.ts +489 -139
  11. package/src/services/ocr/v20181119/ocr_models.ts +9 -1
  12. package/src/services/rum/v20210622/rum_client.ts +36 -72
  13. package/src/services/rum/v20210622/rum_models.ts +36 -120
  14. package/src/services/tcb/v20180608/tcb_models.ts +9 -0
  15. package/src/services/tdid/v20210519/tdid_client.ts +135 -24
  16. package/src/services/tdid/v20210519/tdid_models.ts +520 -113
  17. package/src/services/tdmq/v20200217/tdmq_client.ts +12 -0
  18. package/src/services/tdmq/v20200217/tdmq_models.ts +95 -0
  19. package/src/services/teo/v20220901/teo_models.ts +7 -5
  20. package/src/services/tse/v20201207/tse_models.ts +1 -1
  21. package/src/services/tsf/v20180326/tsf_models.ts +14 -9
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +16 -6
  25. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +6 -1
  26. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +8 -0
  27. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +28 -5
  28. package/tencentcloud/services/monitor/v20180724/monitor_client.js +39 -6
  29. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +473 -137
  30. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -1
  31. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +13 -25
  32. package/tencentcloud/services/rum/v20210622/rum_client.js +18 -36
  33. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +36 -114
  34. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +9 -0
  35. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +41 -5
  36. package/tencentcloud/services/tdid/v20210519/tdid_client.js +60 -6
  37. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +498 -112
  38. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
  39. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
  40. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +93 -0
  41. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +7 -5
  42. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +1 -1
  43. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +14 -9
  44. package/test/monitor.v20180724.test.js +54 -4
  45. package/test/rum.v20210622.test.js +14 -44
  46. package/test/tdid.v20210519.test.js +100 -10
  47. package/test/tdmq.v20200217.test.js +10 -0
@@ -15,6 +15,159 @@
15
15
  * under the License.
16
16
  */
17
17
 
18
+ /**
19
+ * GetTDidDocument返回参数结构体
20
+ */
21
+ export interface GetTDidDocumentResponse {
22
+ /**
23
+ * DID文档内容
24
+ */
25
+ Document?: string
26
+ /**
27
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
28
+ */
29
+ RequestId?: string
30
+ }
31
+
32
+ /**
33
+ * VerifyPresentation请求参数结构体
34
+ */
35
+ export interface VerifyPresentationRequest {
36
+ /**
37
+ * VP持有人的did标识
38
+ */
39
+ Did?: string
40
+ /**
41
+ * 可验证表达内容
42
+ */
43
+ PresentationData?: string
44
+ /**
45
+ * DID应用id
46
+ */
47
+ DAPId?: number
48
+ /**
49
+ * 随机验证码
50
+ */
51
+ VerifyCode?: string
52
+ }
53
+
54
+ /**
55
+ * SetTDidAttribute返回参数结构体
56
+ */
57
+ export interface SetTDidAttributeResponse {
58
+ /**
59
+ * 上链交易信息
60
+ */
61
+ Transaction?: ChainTransaction
62
+ /**
63
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
64
+ */
65
+ RequestId?: string
66
+ }
67
+
68
+ /**
69
+ * IssueCredential返回参数结构体
70
+ */
71
+ export interface IssueCredentialResponse {
72
+ /**
73
+ * 可验证凭证内容
74
+ */
75
+ CredentialData?: string
76
+ /**
77
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
78
+ */
79
+ RequestId?: string
80
+ }
81
+
82
+ /**
83
+ * 资源计数统计数据
84
+ */
85
+ export interface ResourceCounterData {
86
+ /**
87
+ * DID总数
88
+ 注意:此字段可能返回 null,表示取不到有效值。
89
+ */
90
+ DidCnt?: number
91
+ /**
92
+ * VC总数
93
+ 注意:此字段可能返回 null,表示取不到有效值。
94
+ */
95
+ VCCnt?: number
96
+ /**
97
+ * CPT总数
98
+ 注意:此字段可能返回 null,表示取不到有效值。
99
+ */
100
+ CPTCnt?: number
101
+ /**
102
+ * VC验证总数
103
+ 注意:此字段可能返回 null,表示取不到有效值。
104
+ */
105
+ VerifyCnt?: number
106
+ /**
107
+ * 权威机构数量
108
+ 注意:此字段可能返回 null,表示取不到有效值。
109
+ */
110
+ AuthCnt?: number
111
+ }
112
+
113
+ /**
114
+ * SetTDidAttribute请求参数结构体
115
+ */
116
+ export interface SetTDidAttributeRequest {
117
+ /**
118
+ * DID标识符
119
+ */
120
+ Did?: string
121
+ /**
122
+ * 属性名值对数组
123
+ */
124
+ Attributes?: Array<DidAttribute>
125
+ /**
126
+ * DID应用Id
127
+ */
128
+ DAPId?: number
129
+ /**
130
+ * 操作鉴权凭证
131
+ */
132
+ OperateCredential?: string
133
+ }
134
+
135
+ /**
136
+ * CreateDisclosedCredential请求参数结构体
137
+ */
138
+ export interface CreateDisclosedCredentialRequest {
139
+ /**
140
+ * 披露策略id,PolicyJson和PolicyId任选其一
141
+ */
142
+ PolicyId?: number
143
+ /**
144
+ * 凭证文本内容,FunctionArg和CredentialText任选其一
145
+ */
146
+ CredentialData?: string
147
+ /**
148
+ * 披露策略文本
149
+ */
150
+ PolicyJson?: string
151
+ /**
152
+ * DID应用ID
153
+ */
154
+ DAPId?: number
155
+ }
156
+
157
+ /**
158
+ * QueryCPT返回参数结构体
159
+ */
160
+ export interface QueryCPTResponse {
161
+ /**
162
+ * 凭证模板内容
163
+ */
164
+ CPTJson?: string
165
+ /**
166
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
167
+ */
168
+ RequestId?: string
169
+ }
170
+
18
171
  /**
19
172
  * CreateTDidByPubKey返回参数结构体
20
173
  */
@@ -34,13 +187,29 @@ export interface CreateTDidByPubKeyResponse {
34
187
  }
35
188
 
36
189
  /**
37
- * GetTDidDocument返回参数结构体
190
+ * QueryAuthorityInfo返回参数结构体
38
191
  */
39
- export interface GetTDidDocumentResponse {
192
+ export interface QueryAuthorityInfoResponse {
40
193
  /**
41
- * DID文档内容
194
+ * 名称
42
195
  */
43
- Document?: string
196
+ Name?: string
197
+ /**
198
+ * 权威机构did
199
+ */
200
+ Did?: string
201
+ /**
202
+ * 状态:1为已认证,2为未认证
203
+ */
204
+ Status?: number
205
+ /**
206
+ * 机构备注信息
207
+ */
208
+ Description?: string
209
+ /**
210
+ * 认证时间
211
+ */
212
+ RecognizeTime?: string
44
213
  /**
45
214
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
46
215
  */
@@ -48,36 +217,54 @@ export interface GetTDidDocumentResponse {
48
217
  }
49
218
 
50
219
  /**
51
- * GetCredentialState请求参数结构体
220
+ * VerifyCredentials返回参数结构体
52
221
  */
53
- export interface GetCredentialStateRequest {
222
+ export interface VerifyCredentialsResponse {
54
223
  /**
55
- * 凭证唯一Id
224
+ * 是否验证成功
56
225
  */
57
- CredentialId?: string
226
+ Result?: boolean
58
227
  /**
59
- * 用户应用Id
228
+ * 验证返回码
60
229
  */
61
- DAPId?: number
230
+ VerifyCode?: number
231
+ /**
232
+ * 验证结果信息
233
+ */
234
+ VerifyMessage?: string
235
+ /**
236
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
237
+ */
238
+ RequestId?: string
62
239
  }
63
240
 
64
241
  /**
65
- * CheckNewPurchase请求参数结构体
242
+ * GetCredentialState返回参数结构体
66
243
  */
67
- export type CheckNewPurchaseRequest = null
244
+ export interface GetCredentialStateResponse {
245
+ /**
246
+ * 凭证状态信息
247
+ 注意:此字段可能返回 null,表示取不到有效值。
248
+ */
249
+ CredentialState?: CredentialState
250
+ /**
251
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
252
+ */
253
+ RequestId?: string
254
+ }
68
255
 
69
256
  /**
70
- * VerifyCredentials请求参数结构体
257
+ * IssueCredential请求参数结构体
71
258
  */
72
- export interface VerifyCredentialsRequest {
259
+ export interface IssueCredentialRequest {
73
260
  /**
74
- * 0:仅验证签名,1:验证签名和链上状态,2, 仅验证链上状态,默认为0, 3.验证DID和凭证状态以及签名,4. 验证历史凭证有效性
261
+ * 参数集合,详见示例
75
262
  */
76
- VerifyType?: number
263
+ CRDLArg?: CRDLArg
77
264
  /**
78
- * 凭证内容
265
+ * 是否未签名
79
266
  */
80
- CredentialData?: string
267
+ UnSigned?: boolean
81
268
  /**
82
269
  * DID应用id
83
270
  */
@@ -85,33 +272,51 @@ export interface VerifyCredentialsRequest {
85
272
  }
86
273
 
87
274
  /**
88
- * 颁发凭证的数据参数
275
+ * GetTDidByObjectId返回参数结构体
89
276
  */
90
- export interface CRDLArg {
277
+ export interface GetTDidByObjectIdResponse {
91
278
  /**
92
- * CPT ID
279
+ * DID标识
280
+ 注意:此字段可能返回 null,表示取不到有效值。
93
281
  */
94
- CPTId: number
282
+ Did?: string
95
283
  /**
96
- * 签发者 did
284
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
97
285
  */
98
- Issuer: string
286
+ RequestId?: string
287
+ }
288
+
289
+ /**
290
+ * CreateDisclosedCredential返回参数结构体
291
+ */
292
+ export interface CreateDisclosedCredentialResponse {
99
293
  /**
100
- * 过期时间
294
+ * 凭证字符串
101
295
  */
102
- ExpirationDate: string
296
+ CredentialData?: string
103
297
  /**
104
- * 声明
298
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
105
299
  */
106
- ClaimJson: string
300
+ RequestId?: string
301
+ }
302
+
303
+ /**
304
+ * GetOverSummary请求参数结构体
305
+ */
306
+ export type GetOverSummaryRequest = null
307
+
308
+ /**
309
+ * GetTDidPubKey请求参数结构体
310
+ */
311
+ export interface GetTDidPubKeyRequest {
107
312
  /**
108
- * 凭证类型
313
+ * DID标识
109
314
  */
110
- Type?: Array<string>
315
+ Did?: string
111
316
  /**
112
- * 多方签名的用户did
317
+ * DID应用Id
113
318
  */
114
- Parties?: Array<string>
319
+ DAPId?: number
115
320
  }
116
321
 
117
322
  /**
@@ -129,13 +334,17 @@ export interface GetTDidDocumentRequest {
129
334
  }
130
335
 
131
336
  /**
132
- * IssueCredential返回参数结构体
337
+ * CreateTDidByHost返回参数结构体
133
338
  */
134
- export interface IssueCredentialResponse {
339
+ export interface CreateTDidByHostResponse {
135
340
  /**
136
- * 可验证凭证内容
341
+ * DID标识
137
342
  */
138
- CredentialData?: string
343
+ Did?: string
344
+ /**
345
+ * 链上交易信息
346
+ */
347
+ Transaction?: ChainTransaction
139
348
  /**
140
349
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
141
350
  */
@@ -143,20 +352,125 @@ export interface IssueCredentialResponse {
143
352
  }
144
353
 
145
354
  /**
146
- * GetCredentialState返回参数结构体
355
+ * VerifyCredentials请求参数结构体
147
356
  */
148
- export interface GetCredentialStateResponse {
357
+ export interface VerifyCredentialsRequest {
149
358
  /**
150
- * 凭证状态信息
151
- 注意:此字段可能返回 null,表示取不到有效值。
359
+ * 0:仅验证签名,1:验证签名和链上状态,2, 仅验证链上状态,默认为0, 3.验证DID和凭证状态以及签名,4. 验证历史凭证有效性
152
360
  */
153
- CredentialState?: CredentialState
361
+ VerifyType?: number
362
+ /**
363
+ * 凭证内容
364
+ */
365
+ CredentialData?: string
366
+ /**
367
+ * DID应用id
368
+ */
369
+ DAPId?: number
370
+ }
371
+
372
+ /**
373
+ * QueryAuthorityInfo请求参数结构体
374
+ */
375
+ export interface QueryAuthorityInfoRequest {
376
+ /**
377
+ * DID标识
378
+ */
379
+ Did?: string
380
+ /**
381
+ * DID应用id
382
+ */
383
+ DAPId?: number
384
+ /**
385
+ * 权威机构名称
386
+ */
387
+ Name?: string
388
+ }
389
+
390
+ /**
391
+ * VerifyPresentation返回参数结构体
392
+ */
393
+ export interface VerifyPresentationResponse {
394
+ /**
395
+ * 是否验证成功
396
+ */
397
+ Result?: boolean
398
+ /**
399
+ * 验证返回码
400
+ */
401
+ VerifyCode?: number
402
+ /**
403
+ * 验证消息
404
+ */
405
+ VerifyMessage?: string
154
406
  /**
155
407
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
156
408
  */
157
409
  RequestId?: string
158
410
  }
159
411
 
412
+ /**
413
+ * GetCredentialState请求参数结构体
414
+ */
415
+ export interface GetCredentialStateRequest {
416
+ /**
417
+ * 凭证唯一Id
418
+ */
419
+ CredentialId?: string
420
+ /**
421
+ * 用户应用Id
422
+ */
423
+ DAPId?: number
424
+ }
425
+
426
+ /**
427
+ * QueryCPT请求参数结构体
428
+ */
429
+ export interface QueryCPTRequest {
430
+ /**
431
+ * DID应用id
432
+ */
433
+ DAPId?: number
434
+ /**
435
+ * 凭证模板id
436
+ */
437
+ CPTId?: number
438
+ }
439
+
440
+ /**
441
+ * CreatePresentation请求参数结构体
442
+ */
443
+ export interface CreatePresentationRequest {
444
+ /**
445
+ * DID应用id
446
+ */
447
+ DAPId?: number
448
+ /**
449
+ * 凭证列表
450
+ */
451
+ Credentials?: Array<string>
452
+ /**
453
+ * VP持有人的DID标识
454
+ */
455
+ Did?: string
456
+ /**
457
+ * VP随机验证码
458
+ */
459
+ VerifyCode?: string
460
+ /**
461
+ * 选择性披露策略
462
+ */
463
+ PolicyJson?: string
464
+ /**
465
+ * 是否签名,ture时signatureValue为待签名内容由调用端自行签名,false时signatureValue为平台自动已签名的内容。默认false
466
+ */
467
+ Unsigned?: boolean
468
+ /**
469
+ * 可验证凭证证明列表
470
+ */
471
+ CredentialList?: Array<CredentialProof>
472
+ }
473
+
160
474
  /**
161
475
  * CreateTDidByHost请求参数结构体
162
476
  */
@@ -172,39 +486,63 @@ export interface CreateTDidByHostRequest {
172
486
  }
173
487
 
174
488
  /**
175
- * IssueCredential请求参数结构体
489
+ * GetAppSummary返回参数结构体
176
490
  */
177
- export interface IssueCredentialRequest {
491
+ export interface GetAppSummaryResponse {
178
492
  /**
179
- * 参数集合,详见示例
493
+ * 用户参与应用的统计指标
494
+ 注意:此字段可能返回 null,表示取不到有效值。
180
495
  */
181
- CRDLArg?: CRDLArg
496
+ AppCounter?: ResourceCounterData
182
497
  /**
183
- * 是否未签名
498
+ * 用户创建资源的统计指标
499
+ 注意:此字段可能返回 null,表示取不到有效值。
184
500
  */
185
- UnSigned?: boolean
501
+ UserCounter?: ResourceCounterData
186
502
  /**
187
- * DID应用id
503
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
188
504
  */
189
- DAPId?: number
505
+ RequestId?: string
190
506
  }
191
507
 
192
508
  /**
193
- * VerifyCredentials返回参数结构体
509
+ * 颁发凭证的数据参数
194
510
  */
195
- export interface VerifyCredentialsResponse {
511
+ export interface CRDLArg {
196
512
  /**
197
- * 是否验证成功
513
+ * CPT ID
198
514
  */
199
- Result?: boolean
515
+ CPTId: number
200
516
  /**
201
- * 验证返回码
517
+ * 签发者 did
202
518
  */
203
- VerifyCode?: number
519
+ Issuer: string
204
520
  /**
205
- * 验证结果信息
521
+ * 过期时间
206
522
  */
207
- VerifyMessage?: string
523
+ ExpirationDate: string
524
+ /**
525
+ * 声明
526
+ */
527
+ ClaimJson: string
528
+ /**
529
+ * 凭证类型
530
+ */
531
+ Type?: Array<string>
532
+ /**
533
+ * 多方签名的用户did
534
+ */
535
+ Parties?: Array<string>
536
+ }
537
+
538
+ /**
539
+ * GetTDidPubKey返回参数结构体
540
+ */
541
+ export interface GetTDidPubKeyResponse {
542
+ /**
543
+ * DID公钥数组
544
+ */
545
+ AuthPublicKeyList?: Array<string>
208
546
  /**
209
547
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
210
548
  */
@@ -212,17 +550,42 @@ export interface VerifyCredentialsResponse {
212
550
  }
213
551
 
214
552
  /**
215
- * UpdateCredentialState请求参数结构体
553
+ * UpdateCredentialState返回参数结构体
216
554
  */
217
- export interface UpdateCredentialStateRequest {
555
+ export interface UpdateCredentialStateResponse {
218
556
  /**
219
- * DID应用Id
557
+ * 更新是否成功
558
+ 注意:此字段可能返回 null,表示取不到有效值。
220
559
  */
221
- DAPId?: number
560
+ Result?: boolean
222
561
  /**
223
- * 更新VC状态的临时凭证内容,通过创建凭证接口(CreateCredential)生成并签名,凭证类型为:OperateCredential, 为安全起见凭证过期时间不适合太长,建议设置为1分钟内
562
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
224
563
  */
225
- OperateCredential?: string
564
+ RequestId?: string
565
+ }
566
+
567
+ /**
568
+ * DeactivateTDid返回参数结构体
569
+ */
570
+ export interface DeactivateTDidResponse {
571
+ /**
572
+ * 上链交易信息
573
+ */
574
+ Transaction?: ChainTransaction
575
+ /**
576
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
577
+ */
578
+ RequestId?: string
579
+ }
580
+
581
+ /**
582
+ * 可验证凭证证明信息
583
+ */
584
+ export interface CredentialProof {
585
+ /**
586
+ * 可验证凭证内容
587
+ */
588
+ Credential: string
226
589
  }
227
590
 
228
591
  /**
@@ -272,68 +635,86 @@ export interface CredentialState {
272
635
  }
273
636
 
274
637
  /**
275
- * CreateTDidByPubKey请求参数结构体
638
+ * 链上交易信息
276
639
  */
277
- export interface CreateTDidByPubKeyRequest {
278
- /**
279
- * DID应用id
280
- */
281
- DAPId?: number
640
+ export interface ChainTransaction {
282
641
  /**
283
- * pem格式的认证公钥
642
+ * 交易哈希
284
643
  */
285
- PublicKey?: string
644
+ TransactionHash: string
645
+ }
646
+
647
+ /**
648
+ * CreatePresentation返回参数结构体
649
+ */
650
+ export interface CreatePresentationResponse {
286
651
  /**
287
- * 自定义DID初始化属性json字符串
652
+ * 可验证表达内容
288
653
  */
289
- CustomAttribute?: string
654
+ PresentationData?: string
290
655
  /**
291
- * 0:did存在返回错误,1:did存在返回该did,默认:0
656
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
292
657
  */
293
- IgnoreExisted?: number
658
+ RequestId?: string
294
659
  }
295
660
 
296
661
  /**
297
- * DeactivateTDid请求参数结构体
662
+ * did自定义属性
298
663
  */
299
- export interface DeactivateTDidRequest {
664
+ export interface DidAttribute {
300
665
  /**
301
- * DID标识符
666
+ * 键名
302
667
  */
303
- Did?: string
668
+ Key: string
304
669
  /**
305
- * 设置DID禁用状态的临时凭证内容,通过创建凭证接口(CreateCredential)生成并签名,凭证类型为:OperateCredential, 为安全起见凭证过期时间不适合太长,建议设置为1分钟内
670
+ * 键值
306
671
  */
307
- OperateCredential?: string
672
+ Val: string
673
+ }
674
+
675
+ /**
676
+ * UpdateCredentialState请求参数结构体
677
+ */
678
+ export interface UpdateCredentialStateRequest {
308
679
  /**
309
680
  * DID应用Id
310
681
  */
311
682
  DAPId?: number
312
683
  /**
313
- * 是否禁用
684
+ * 更新VC状态的临时凭证内容,通过创建凭证接口(CreateCredential)生成并签名,凭证类型为:OperateCredential, 为安全起见凭证过期时间不适合太长,建议设置为1分钟内
314
685
  */
315
- Deactivated?: string
686
+ OperateCredential?: string
316
687
  }
317
688
 
318
689
  /**
319
- * CheckNewPurchase返回参数结构体
690
+ * GetOverSummary返回参数结构体
320
691
  */
321
- export interface CheckNewPurchaseResponse {
692
+ export interface GetOverSummaryResponse {
322
693
  /**
323
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
694
+ * 用户参与应用的统计指标
695
+ 注意:此字段可能返回 null,表示取不到有效值。
324
696
  */
325
- RequestId?: string
326
- }
327
-
328
- /**
329
- * UpdateCredentialState返回参数结构体
330
- */
331
- export interface UpdateCredentialStateResponse {
697
+ AppCounter?: ResourceCounterData
332
698
  /**
333
- * 更新是否成功
699
+ * 用户部署应用的统计指标
334
700
  注意:此字段可能返回 null,表示取不到有效值。
335
701
  */
336
- Result?: boolean
702
+ UserCounter?: ResourceCounterData
703
+ /**
704
+ * 用户参与的应用总数
705
+ 注意:此字段可能返回 null,表示取不到有效值。
706
+ */
707
+ AppCnt?: number
708
+ /**
709
+ * 用户部署的应用总数
710
+ 注意:此字段可能返回 null,表示取不到有效值。
711
+ */
712
+ DeployCnt?: number
713
+ /**
714
+ * 部署网络子链总数
715
+ 注意:此字段可能返回 null,表示取不到有效值。
716
+ */
717
+ ChainCnt?: number
337
718
  /**
338
719
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
339
720
  */
@@ -341,43 +722,69 @@ export interface UpdateCredentialStateResponse {
341
722
  }
342
723
 
343
724
  /**
344
- * 链上交易信息
725
+ * CreateTDidByPubKey请求参数结构体
345
726
  */
346
- export interface ChainTransaction {
727
+ export interface CreateTDidByPubKeyRequest {
347
728
  /**
348
- * 交易哈希
729
+ * DID应用id
349
730
  */
350
- TransactionHash: string
731
+ DAPId?: number
732
+ /**
733
+ * pem格式的认证公钥
734
+ */
735
+ PublicKey?: string
736
+ /**
737
+ * 自定义DID初始化属性json字符串
738
+ */
739
+ CustomAttribute?: string
740
+ /**
741
+ * 0:did存在返回错误,1:did存在返回该did,默认:0
742
+ */
743
+ IgnoreExisted?: number
351
744
  }
352
745
 
353
746
  /**
354
- * DeactivateTDid返回参数结构体
747
+ * DeactivateTDid请求参数结构体
355
748
  */
356
- export interface DeactivateTDidResponse {
749
+ export interface DeactivateTDidRequest {
357
750
  /**
358
- * 上链交易信息
751
+ * DID标识符
359
752
  */
360
- Transaction?: ChainTransaction
753
+ Did?: string
361
754
  /**
362
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
755
+ * 设置DID禁用状态的临时凭证内容,通过创建凭证接口(CreateCredential)生成并签名,凭证类型为:OperateCredential, 为安全起见凭证过期时间不适合太长,建议设置为1分钟内
363
756
  */
364
- RequestId?: string
757
+ OperateCredential?: string
758
+ /**
759
+ * DID应用Id
760
+ */
761
+ DAPId?: number
762
+ /**
763
+ * 是否禁用
764
+ */
765
+ Deactivated?: string
365
766
  }
366
767
 
367
768
  /**
368
- * CreateTDidByHost返回参数结构体
769
+ * GetTDidByObjectId请求参数结构体
369
770
  */
370
- export interface CreateTDidByHostResponse {
771
+ export interface GetTDidByObjectIdRequest {
371
772
  /**
372
- * DID标识
773
+ * 业务层为DID设置的唯一标识
373
774
  */
374
- Did?: string
775
+ ObjectId?: string
375
776
  /**
376
- * 链上交易信息
777
+ * DID应用Id
377
778
  */
378
- Transaction?: ChainTransaction
779
+ DAPId?: number
780
+ }
781
+
782
+ /**
783
+ * GetAppSummary请求参数结构体
784
+ */
785
+ export interface GetAppSummaryRequest {
379
786
  /**
380
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
787
+ * DID应用Id
381
788
  */
382
- RequestId?: string
789
+ DAPId?: number
383
790
  }