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