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.
- package/CHANGELOG.md +79 -0
- package/SERVICE_CHANGELOG.md +183 -52
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +16 -6
- package/src/services/dts/v20211206/dts_models.ts +6 -1
- package/src/services/faceid/v20180301/faceid_models.ts +8 -0
- package/src/services/monitor/v20180724/monitor_client.ts +88 -21
- package/src/services/monitor/v20180724/monitor_models.ts +489 -139
- package/src/services/ocr/v20181119/ocr_models.ts +9 -1
- package/src/services/rum/v20210622/rum_client.ts +36 -72
- package/src/services/rum/v20210622/rum_models.ts +36 -120
- package/src/services/tcb/v20180608/tcb_models.ts +9 -0
- package/src/services/tdid/v20210519/tdid_client.ts +135 -24
- package/src/services/tdid/v20210519/tdid_models.ts +520 -113
- package/src/services/tdmq/v20200217/tdmq_client.ts +12 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +95 -0
- package/src/services/teo/v20220901/teo_models.ts +7 -5
- package/src/services/tse/v20201207/tse_models.ts +1 -1
- package/src/services/tsf/v20180326/tsf_models.ts +14 -9
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +16 -6
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +6 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +8 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +28 -5
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +39 -6
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +473 -137
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -1
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +13 -25
- package/tencentcloud/services/rum/v20210622/rum_client.js +18 -36
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +36 -114
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +9 -0
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +41 -5
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +60 -6
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +498 -112
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +93 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +7 -5
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +14 -9
- package/test/monitor.v20180724.test.js +54 -4
- package/test/rum.v20210622.test.js +14 -44
- package/test/tdid.v20210519.test.js +100 -10
- package/test/tdmq.v20200217.test.js +10 -0
|
@@ -6967,7 +6967,7 @@ export interface RecognizeTableAccurateOCRRequest {
|
|
|
6967
6967
|
*/
|
|
6968
6968
|
ImageUrl?: string
|
|
6969
6969
|
/**
|
|
6970
|
-
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF
|
|
6970
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF有效,默认值为1。
|
|
6971
6971
|
*/
|
|
6972
6972
|
PdfPageNumber?: number
|
|
6973
6973
|
}
|
|
@@ -8124,6 +8124,14 @@ export interface SealOCRRequest {
|
|
|
8124
8124
|
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
|
8125
8125
|
*/
|
|
8126
8126
|
ImageUrl?: string
|
|
8127
|
+
/**
|
|
8128
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
8129
|
+
*/
|
|
8130
|
+
EnablePdf?: boolean
|
|
8131
|
+
/**
|
|
8132
|
+
* 需要识别的PDF页面的对应页码,传入时仅支持PDF单页识别,当上传文件为PDF且EnablePdf参数值为true时有效,默认值为1。
|
|
8133
|
+
*/
|
|
8134
|
+
PdfPageNumber?: number
|
|
8127
8135
|
}
|
|
8128
8136
|
|
|
8129
8137
|
/**
|
|
@@ -24,7 +24,6 @@ import {
|
|
|
24
24
|
CreateTawInstanceResponse,
|
|
25
25
|
DeleteProjectRequest,
|
|
26
26
|
DescribeProjectLimitsResponse,
|
|
27
|
-
DeleteOfflineLogConfigResponse,
|
|
28
27
|
DescribeRumLogListResponse,
|
|
29
28
|
DescribeAppMetricsDataRequest,
|
|
30
29
|
DescribeDataPvUrlInfoResponse,
|
|
@@ -43,14 +42,12 @@ import {
|
|
|
43
42
|
RumUvInfo,
|
|
44
43
|
DescribeScoresRequest,
|
|
45
44
|
DescribeDataReportCountRequest,
|
|
46
|
-
DeleteOfflineLogRecordRequest,
|
|
47
45
|
DescribeReleaseFilesRequest,
|
|
48
46
|
CreateReleaseFileRequest,
|
|
49
|
-
DeleteOfflineLogRecordResponse,
|
|
50
47
|
DescribeDataCustomUrlRequest,
|
|
51
48
|
DescribeUvListResponse,
|
|
52
49
|
Tag,
|
|
53
|
-
|
|
50
|
+
DescribeRumGroupLogResponse,
|
|
54
51
|
DescribeDataStaticUrlRequest,
|
|
55
52
|
ModifyInstanceResponse,
|
|
56
53
|
DeleteStarProjectRequest,
|
|
@@ -84,7 +81,7 @@ import {
|
|
|
84
81
|
ResumeProjectRequest,
|
|
85
82
|
ProjectLimit,
|
|
86
83
|
DeleteLogExportRequest,
|
|
87
|
-
|
|
84
|
+
CreateProjectRequest,
|
|
88
85
|
DescribeRumStatsLogListResponse,
|
|
89
86
|
CreateWhitelistRequest,
|
|
90
87
|
DescribeDataPvUrlStatisticsResponse,
|
|
@@ -104,7 +101,6 @@ import {
|
|
|
104
101
|
RumPvInfo,
|
|
105
102
|
DeleteReleaseFileResponse,
|
|
106
103
|
DescribeScoresResponse,
|
|
107
|
-
DescribeOfflineLogConfigsResponse,
|
|
108
104
|
DeleteLogExportResponse,
|
|
109
105
|
DescribeReleaseFileSignResponse,
|
|
110
106
|
DescribeTawInstancesRequest,
|
|
@@ -128,10 +124,8 @@ import {
|
|
|
128
124
|
DescribeProjectsRequest,
|
|
129
125
|
DescribeDataEventUrlRequest,
|
|
130
126
|
DescribeAppDimensionMetricsResponse,
|
|
131
|
-
DescribeOfflineLogConfigsRequest,
|
|
132
127
|
DescribeAppSingleCaseDetailListRequest,
|
|
133
128
|
DescribeRumGroupLogRequest,
|
|
134
|
-
DeleteOfflineLogConfigRequest,
|
|
135
129
|
DescribeWhitelistsResponse,
|
|
136
130
|
DescribeProjectsResponse,
|
|
137
131
|
ModifyProjectResponse,
|
|
@@ -401,13 +395,13 @@ export class Client extends AbstractClient {
|
|
|
401
395
|
}
|
|
402
396
|
|
|
403
397
|
/**
|
|
404
|
-
*
|
|
398
|
+
* 新增修改限流
|
|
405
399
|
*/
|
|
406
|
-
async
|
|
407
|
-
req:
|
|
408
|
-
cb?: (error: string, rep:
|
|
409
|
-
): Promise<
|
|
410
|
-
return this.request("
|
|
400
|
+
async ModifyProjectLimit(
|
|
401
|
+
req: ModifyProjectLimitRequest,
|
|
402
|
+
cb?: (error: string, rep: ModifyProjectLimitResponse) => void
|
|
403
|
+
): Promise<ModifyProjectLimitResponse> {
|
|
404
|
+
return this.request("ModifyProjectLimit", req, cb)
|
|
411
405
|
}
|
|
412
406
|
|
|
413
407
|
/**
|
|
@@ -474,16 +468,6 @@ export class Client extends AbstractClient {
|
|
|
474
468
|
return this.request("ModifyInstance", req, cb)
|
|
475
469
|
}
|
|
476
470
|
|
|
477
|
-
/**
|
|
478
|
-
* 新增修改限流
|
|
479
|
-
*/
|
|
480
|
-
async ModifyProjectLimit(
|
|
481
|
-
req: ModifyProjectLimitRequest,
|
|
482
|
-
cb?: (error: string, rep: ModifyProjectLimitResponse) => void
|
|
483
|
-
): Promise<ModifyProjectLimitResponse> {
|
|
484
|
-
return this.request("ModifyProjectLimit", req, cb)
|
|
485
|
-
}
|
|
486
|
-
|
|
487
471
|
/**
|
|
488
472
|
* 获取DescribeDataStaticResource信息
|
|
489
473
|
*/
|
|
@@ -585,13 +569,13 @@ export class Client extends AbstractClient {
|
|
|
585
569
|
}
|
|
586
570
|
|
|
587
571
|
/**
|
|
588
|
-
*
|
|
572
|
+
* 获取DescribeDataFetchUrlInfo信息
|
|
589
573
|
*/
|
|
590
|
-
async
|
|
591
|
-
req:
|
|
592
|
-
cb?: (error: string, rep:
|
|
593
|
-
): Promise<
|
|
594
|
-
return this.request("
|
|
574
|
+
async DescribeDataFetchUrlInfo(
|
|
575
|
+
req: DescribeDataFetchUrlInfoRequest,
|
|
576
|
+
cb?: (error: string, rep: DescribeDataFetchUrlInfoResponse) => void
|
|
577
|
+
): Promise<DescribeDataFetchUrlInfoResponse> {
|
|
578
|
+
return this.request("DescribeDataFetchUrlInfo", req, cb)
|
|
595
579
|
}
|
|
596
580
|
|
|
597
581
|
/**
|
|
@@ -658,26 +642,6 @@ export class Client extends AbstractClient {
|
|
|
658
642
|
return this.request("DescribeDataEventUrl", req, cb)
|
|
659
643
|
}
|
|
660
644
|
|
|
661
|
-
/**
|
|
662
|
-
* 删除对应的离线日志记录
|
|
663
|
-
*/
|
|
664
|
-
async DeleteOfflineLogRecord(
|
|
665
|
-
req: DeleteOfflineLogRecordRequest,
|
|
666
|
-
cb?: (error: string, rep: DeleteOfflineLogRecordResponse) => void
|
|
667
|
-
): Promise<DeleteOfflineLogRecordResponse> {
|
|
668
|
-
return this.request("DeleteOfflineLogRecord", req, cb)
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
/**
|
|
672
|
-
* 获取设置的离线日志监听配置 - 返回设置的用户唯一标识
|
|
673
|
-
*/
|
|
674
|
-
async DescribeOfflineLogConfigs(
|
|
675
|
-
req: DescribeOfflineLogConfigsRequest,
|
|
676
|
-
cb?: (error: string, rep: DescribeOfflineLogConfigsResponse) => void
|
|
677
|
-
): Promise<DescribeOfflineLogConfigsResponse> {
|
|
678
|
-
return this.request("DescribeOfflineLogConfigs", req, cb)
|
|
679
|
-
}
|
|
680
|
-
|
|
681
645
|
/**
|
|
682
646
|
* 获取上传文件存储的临时密钥
|
|
683
647
|
*/
|
|
@@ -698,6 +662,16 @@ export class Client extends AbstractClient {
|
|
|
698
662
|
return this.request("DescribeDataLogUrlInfo", req, cb)
|
|
699
663
|
}
|
|
700
664
|
|
|
665
|
+
/**
|
|
666
|
+
* 获取项目下的UV列表
|
|
667
|
+
*/
|
|
668
|
+
async DescribeUvList(
|
|
669
|
+
req: DescribeUvListRequest,
|
|
670
|
+
cb?: (error: string, rep: DescribeUvListResponse) => void
|
|
671
|
+
): Promise<DescribeUvListResponse> {
|
|
672
|
+
return this.request("DescribeUvList", req, cb)
|
|
673
|
+
}
|
|
674
|
+
|
|
701
675
|
/**
|
|
702
676
|
* 创建 RUM 应用(归属于某个团队)
|
|
703
677
|
*/
|
|
@@ -739,23 +713,23 @@ export class Client extends AbstractClient {
|
|
|
739
713
|
}
|
|
740
714
|
|
|
741
715
|
/**
|
|
742
|
-
*
|
|
716
|
+
* 创建 RUM 业务系统
|
|
743
717
|
*/
|
|
744
|
-
async
|
|
745
|
-
req:
|
|
746
|
-
cb?: (error: string, rep:
|
|
747
|
-
): Promise<
|
|
748
|
-
return this.request("
|
|
718
|
+
async CreateTawInstance(
|
|
719
|
+
req: CreateTawInstanceRequest,
|
|
720
|
+
cb?: (error: string, rep: CreateTawInstanceResponse) => void
|
|
721
|
+
): Promise<CreateTawInstanceResponse> {
|
|
722
|
+
return this.request("CreateTawInstance", req, cb)
|
|
749
723
|
}
|
|
750
724
|
|
|
751
725
|
/**
|
|
752
|
-
*
|
|
726
|
+
* 获取DescribeDataFetchUrl信息
|
|
753
727
|
*/
|
|
754
|
-
async
|
|
755
|
-
req:
|
|
756
|
-
cb?: (error: string, rep:
|
|
757
|
-
): Promise<
|
|
758
|
-
return this.request("
|
|
728
|
+
async DescribeDataFetchUrl(
|
|
729
|
+
req: DescribeDataFetchUrlRequest,
|
|
730
|
+
cb?: (error: string, rep: DescribeDataFetchUrlResponse) => void
|
|
731
|
+
): Promise<DescribeDataFetchUrlResponse> {
|
|
732
|
+
return this.request("DescribeDataFetchUrl", req, cb)
|
|
759
733
|
}
|
|
760
734
|
|
|
761
735
|
/**
|
|
@@ -778,16 +752,6 @@ export class Client extends AbstractClient {
|
|
|
778
752
|
return this.request("DescribeDataReportCount", req, cb)
|
|
779
753
|
}
|
|
780
754
|
|
|
781
|
-
/**
|
|
782
|
-
* 获取DescribeDataFetchUrl信息
|
|
783
|
-
*/
|
|
784
|
-
async DescribeDataFetchUrl(
|
|
785
|
-
req: DescribeDataFetchUrlRequest,
|
|
786
|
-
cb?: (error: string, rep: DescribeDataFetchUrlResponse) => void
|
|
787
|
-
): Promise<DescribeDataFetchUrlResponse> {
|
|
788
|
-
return this.request("DescribeDataFetchUrl", req, cb)
|
|
789
|
-
}
|
|
790
|
-
|
|
791
755
|
/**
|
|
792
756
|
* 转发monitor查询
|
|
793
757
|
*/
|
|
@@ -232,20 +232,6 @@ export interface DescribeProjectLimitsResponse {
|
|
|
232
232
|
RequestId?: string
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
/**
|
|
236
|
-
* DeleteOfflineLogConfig返回参数结构体
|
|
237
|
-
*/
|
|
238
|
-
export interface DeleteOfflineLogConfigResponse {
|
|
239
|
-
/**
|
|
240
|
-
* 接口调用信息
|
|
241
|
-
*/
|
|
242
|
-
Msg: string
|
|
243
|
-
/**
|
|
244
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
245
|
-
*/
|
|
246
|
-
RequestId?: string
|
|
247
|
-
}
|
|
248
|
-
|
|
249
235
|
/**
|
|
250
236
|
* DescribeRumLogList返回参数结构体
|
|
251
237
|
*/
|
|
@@ -603,20 +589,6 @@ export interface DescribeDataReportCountRequest {
|
|
|
603
589
|
InstanceID?: string
|
|
604
590
|
}
|
|
605
591
|
|
|
606
|
-
/**
|
|
607
|
-
* DeleteOfflineLogRecord请求参数结构体
|
|
608
|
-
*/
|
|
609
|
-
export interface DeleteOfflineLogRecordRequest {
|
|
610
|
-
/**
|
|
611
|
-
* 项目唯一上报 key
|
|
612
|
-
*/
|
|
613
|
-
ProjectKey: string
|
|
614
|
-
/**
|
|
615
|
-
* 离线日志文件 id
|
|
616
|
-
*/
|
|
617
|
-
FileID: string
|
|
618
|
-
}
|
|
619
|
-
|
|
620
592
|
/**
|
|
621
593
|
* DescribeReleaseFiles请求参数结构体
|
|
622
594
|
*/
|
|
@@ -645,20 +617,6 @@ export interface CreateReleaseFileRequest {
|
|
|
645
617
|
Files: Array<ReleaseFile>
|
|
646
618
|
}
|
|
647
619
|
|
|
648
|
-
/**
|
|
649
|
-
* DeleteOfflineLogRecord返回参数结构体
|
|
650
|
-
*/
|
|
651
|
-
export interface DeleteOfflineLogRecordResponse {
|
|
652
|
-
/**
|
|
653
|
-
* 接口调用信息
|
|
654
|
-
*/
|
|
655
|
-
Msg: string
|
|
656
|
-
/**
|
|
657
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
658
|
-
*/
|
|
659
|
-
RequestId?: string
|
|
660
|
-
}
|
|
661
|
-
|
|
662
620
|
/**
|
|
663
621
|
* DescribeDataCustomUrl请求参数结构体
|
|
664
622
|
*/
|
|
@@ -786,41 +744,17 @@ export interface Tag {
|
|
|
786
744
|
}
|
|
787
745
|
|
|
788
746
|
/**
|
|
789
|
-
*
|
|
747
|
+
* DescribeRumGroupLog返回参数结构体
|
|
790
748
|
*/
|
|
791
|
-
export interface
|
|
792
|
-
/**
|
|
793
|
-
* 创建的项目名(不为空且最长为 200)
|
|
794
|
-
*/
|
|
795
|
-
Name: string
|
|
796
|
-
/**
|
|
797
|
-
* 业务系统 ID
|
|
798
|
-
*/
|
|
799
|
-
InstanceID: string
|
|
800
|
-
/**
|
|
801
|
-
* 项目抽样率(大于等于 0)
|
|
802
|
-
*/
|
|
803
|
-
Rate: string
|
|
804
|
-
/**
|
|
805
|
-
* 是否开启聚类
|
|
806
|
-
*/
|
|
807
|
-
EnableURLGroup: number
|
|
808
|
-
/**
|
|
809
|
-
* 项目类型("web", "mp", "android", "ios", "node", "hippy", "weex", "viola", "rn")
|
|
810
|
-
*/
|
|
811
|
-
Type: string
|
|
812
|
-
/**
|
|
813
|
-
* 项目对应仓库地址(可选,最长为 256)
|
|
814
|
-
*/
|
|
815
|
-
Repo?: string
|
|
749
|
+
export interface DescribeRumGroupLogResponse {
|
|
816
750
|
/**
|
|
817
|
-
*
|
|
751
|
+
* 返回字符串
|
|
818
752
|
*/
|
|
819
|
-
|
|
753
|
+
Result: string
|
|
820
754
|
/**
|
|
821
|
-
*
|
|
755
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
822
756
|
*/
|
|
823
|
-
|
|
757
|
+
RequestId?: string
|
|
824
758
|
}
|
|
825
759
|
|
|
826
760
|
/**
|
|
@@ -1761,17 +1695,41 @@ export interface DeleteLogExportRequest {
|
|
|
1761
1695
|
}
|
|
1762
1696
|
|
|
1763
1697
|
/**
|
|
1764
|
-
*
|
|
1698
|
+
* CreateProject请求参数结构体
|
|
1765
1699
|
*/
|
|
1766
|
-
export interface
|
|
1700
|
+
export interface CreateProjectRequest {
|
|
1767
1701
|
/**
|
|
1768
|
-
*
|
|
1702
|
+
* 创建的项目名(不为空且最长为 200)
|
|
1769
1703
|
*/
|
|
1770
|
-
|
|
1704
|
+
Name: string
|
|
1771
1705
|
/**
|
|
1772
|
-
*
|
|
1706
|
+
* 业务系统 ID
|
|
1773
1707
|
*/
|
|
1774
|
-
|
|
1708
|
+
InstanceID: string
|
|
1709
|
+
/**
|
|
1710
|
+
* 项目抽样率(大于等于 0)
|
|
1711
|
+
*/
|
|
1712
|
+
Rate: string
|
|
1713
|
+
/**
|
|
1714
|
+
* 是否开启聚类
|
|
1715
|
+
*/
|
|
1716
|
+
EnableURLGroup: number
|
|
1717
|
+
/**
|
|
1718
|
+
* 项目类型("web", "mp", "android", "ios", "node", "hippy", "weex", "viola", "rn")
|
|
1719
|
+
*/
|
|
1720
|
+
Type: string
|
|
1721
|
+
/**
|
|
1722
|
+
* 项目对应仓库地址(可选,最长为 256)
|
|
1723
|
+
*/
|
|
1724
|
+
Repo?: string
|
|
1725
|
+
/**
|
|
1726
|
+
* 项目对应网页地址(可选,最长为 256)
|
|
1727
|
+
*/
|
|
1728
|
+
URL?: string
|
|
1729
|
+
/**
|
|
1730
|
+
* 创建的项目描述(可选,最长为 1000)
|
|
1731
|
+
*/
|
|
1732
|
+
Desc?: string
|
|
1775
1733
|
}
|
|
1776
1734
|
|
|
1777
1735
|
/**
|
|
@@ -2185,24 +2143,6 @@ export interface DescribeScoresResponse {
|
|
|
2185
2143
|
RequestId?: string
|
|
2186
2144
|
}
|
|
2187
2145
|
|
|
2188
|
-
/**
|
|
2189
|
-
* DescribeOfflineLogConfigs返回参数结构体
|
|
2190
|
-
*/
|
|
2191
|
-
export interface DescribeOfflineLogConfigsResponse {
|
|
2192
|
-
/**
|
|
2193
|
-
* 接口调用信息
|
|
2194
|
-
*/
|
|
2195
|
-
Msg: string
|
|
2196
|
-
/**
|
|
2197
|
-
* 用户唯一标示数组
|
|
2198
|
-
*/
|
|
2199
|
-
UniqueIDSet: Array<string>
|
|
2200
|
-
/**
|
|
2201
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2202
|
-
*/
|
|
2203
|
-
RequestId?: string
|
|
2204
|
-
}
|
|
2205
|
-
|
|
2206
2146
|
/**
|
|
2207
2147
|
* DeleteLogExport返回参数结构体
|
|
2208
2148
|
*/
|
|
@@ -3003,16 +2943,6 @@ export interface DescribeAppDimensionMetricsResponse {
|
|
|
3003
2943
|
RequestId?: string
|
|
3004
2944
|
}
|
|
3005
2945
|
|
|
3006
|
-
/**
|
|
3007
|
-
* DescribeOfflineLogConfigs请求参数结构体
|
|
3008
|
-
*/
|
|
3009
|
-
export interface DescribeOfflineLogConfigsRequest {
|
|
3010
|
-
/**
|
|
3011
|
-
* 项目唯一上报 key
|
|
3012
|
-
*/
|
|
3013
|
-
ProjectKey: string
|
|
3014
|
-
}
|
|
3015
|
-
|
|
3016
2946
|
/**
|
|
3017
2947
|
* DescribeAppSingleCaseDetailList请求参数结构体
|
|
3018
2948
|
*/
|
|
@@ -3093,20 +3023,6 @@ export interface DescribeRumGroupLogRequest {
|
|
|
3093
3023
|
GroupField: string
|
|
3094
3024
|
}
|
|
3095
3025
|
|
|
3096
|
-
/**
|
|
3097
|
-
* DeleteOfflineLogConfig请求参数结构体
|
|
3098
|
-
*/
|
|
3099
|
-
export interface DeleteOfflineLogConfigRequest {
|
|
3100
|
-
/**
|
|
3101
|
-
* 项目唯一上报 key
|
|
3102
|
-
*/
|
|
3103
|
-
ProjectKey: string
|
|
3104
|
-
/**
|
|
3105
|
-
* 用户唯一标示(uin or aid)
|
|
3106
|
-
*/
|
|
3107
|
-
UniqueID: string
|
|
3108
|
-
}
|
|
3109
|
-
|
|
3110
3026
|
/**
|
|
3111
3027
|
* DescribeWhitelists返回参数结构体
|
|
3112
3028
|
*/
|
|
@@ -1293,18 +1293,22 @@ export interface CloudBaseRunEmptyDirVolumeSource {
|
|
|
1293
1293
|
export interface CloudBaseRunVolumeMount {
|
|
1294
1294
|
/**
|
|
1295
1295
|
* 资源名
|
|
1296
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1296
1297
|
*/
|
|
1297
1298
|
Name?: string
|
|
1298
1299
|
/**
|
|
1299
1300
|
* 挂载路径
|
|
1301
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1300
1302
|
*/
|
|
1301
1303
|
MountPath?: string
|
|
1302
1304
|
/**
|
|
1303
1305
|
* 是否只读
|
|
1306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1304
1307
|
*/
|
|
1305
1308
|
ReadOnly?: boolean
|
|
1306
1309
|
/**
|
|
1307
1310
|
* Nfs挂载信息
|
|
1311
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1308
1312
|
*/
|
|
1309
1313
|
NfsVolumes?: Array<CloudBaseRunNfsVolumeSource>
|
|
1310
1314
|
}
|
|
@@ -4602,22 +4606,27 @@ export interface StandaloneGatewayPackageInfo {
|
|
|
4602
4606
|
export interface CloudBaseRunNfsVolumeSource {
|
|
4603
4607
|
/**
|
|
4604
4608
|
* NFS挂载Server
|
|
4609
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4605
4610
|
*/
|
|
4606
4611
|
Server?: string
|
|
4607
4612
|
/**
|
|
4608
4613
|
* Server路径
|
|
4614
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4609
4615
|
*/
|
|
4610
4616
|
Path?: string
|
|
4611
4617
|
/**
|
|
4612
4618
|
* 是否只读
|
|
4619
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4613
4620
|
*/
|
|
4614
4621
|
ReadOnly?: boolean
|
|
4615
4622
|
/**
|
|
4616
4623
|
* secret名称
|
|
4624
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4617
4625
|
*/
|
|
4618
4626
|
SecretName?: string
|
|
4619
4627
|
/**
|
|
4620
4628
|
* 临时目录
|
|
4629
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4621
4630
|
*/
|
|
4622
4631
|
EnableEmptyDirVolume?: boolean
|
|
4623
4632
|
}
|
|
@@ -18,27 +18,48 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
-
CreateTDidByPubKeyResponse,
|
|
22
21
|
GetTDidDocumentResponse,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
VerifyCredentialsRequest,
|
|
26
|
-
CRDLArg,
|
|
27
|
-
GetTDidDocumentRequest,
|
|
22
|
+
VerifyPresentationRequest,
|
|
23
|
+
SetTDidAttributeResponse,
|
|
28
24
|
IssueCredentialResponse,
|
|
25
|
+
ResourceCounterData,
|
|
26
|
+
SetTDidAttributeRequest,
|
|
27
|
+
CreateDisclosedCredentialRequest,
|
|
28
|
+
QueryCPTResponse,
|
|
29
|
+
CreateTDidByPubKeyResponse,
|
|
30
|
+
QueryAuthorityInfoResponse,
|
|
31
|
+
VerifyCredentialsResponse,
|
|
29
32
|
GetCredentialStateResponse,
|
|
30
|
-
CreateTDidByHostRequest,
|
|
31
33
|
IssueCredentialRequest,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
GetTDidByObjectIdResponse,
|
|
35
|
+
CreateDisclosedCredentialResponse,
|
|
36
|
+
GetOverSummaryRequest,
|
|
37
|
+
GetTDidPubKeyRequest,
|
|
38
|
+
GetTDidDocumentRequest,
|
|
39
|
+
CreateTDidByHostResponse,
|
|
40
|
+
VerifyCredentialsRequest,
|
|
41
|
+
QueryAuthorityInfoRequest,
|
|
42
|
+
VerifyPresentationResponse,
|
|
43
|
+
GetCredentialStateRequest,
|
|
44
|
+
QueryCPTRequest,
|
|
45
|
+
CreatePresentationRequest,
|
|
46
|
+
CreateTDidByHostRequest,
|
|
47
|
+
GetAppSummaryResponse,
|
|
48
|
+
CRDLArg,
|
|
49
|
+
GetTDidPubKeyResponse,
|
|
50
|
+
UpdateCredentialStateResponse,
|
|
51
|
+
DeactivateTDidResponse,
|
|
52
|
+
CredentialProof,
|
|
34
53
|
CredentialState,
|
|
54
|
+
ChainTransaction,
|
|
55
|
+
CreatePresentationResponse,
|
|
56
|
+
DidAttribute,
|
|
57
|
+
UpdateCredentialStateRequest,
|
|
58
|
+
GetOverSummaryResponse,
|
|
35
59
|
CreateTDidByPubKeyRequest,
|
|
36
60
|
DeactivateTDidRequest,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
ChainTransaction,
|
|
40
|
-
DeactivateTDidResponse,
|
|
41
|
-
CreateTDidByHostResponse,
|
|
61
|
+
GetTDidByObjectIdRequest,
|
|
62
|
+
GetAppSummaryRequest,
|
|
42
63
|
} from "./tdid_models"
|
|
43
64
|
|
|
44
65
|
/**
|
|
@@ -50,6 +71,26 @@ export class Client extends AbstractClient {
|
|
|
50
71
|
super("tdid.tencentcloudapi.com", "2021-05-19", clientConfig)
|
|
51
72
|
}
|
|
52
73
|
|
|
74
|
+
/**
|
|
75
|
+
* 获取某个应用关键指标统计数据
|
|
76
|
+
*/
|
|
77
|
+
async GetOverSummary(
|
|
78
|
+
req?: GetOverSummaryRequest,
|
|
79
|
+
cb?: (error: string, rep: GetOverSummaryResponse) => void
|
|
80
|
+
): Promise<GetOverSummaryResponse> {
|
|
81
|
+
return this.request("GetOverSummary", req, cb)
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* 查询权威机构信息
|
|
86
|
+
*/
|
|
87
|
+
async QueryAuthorityInfo(
|
|
88
|
+
req: QueryAuthorityInfoRequest,
|
|
89
|
+
cb?: (error: string, rep: QueryAuthorityInfoResponse) => void
|
|
90
|
+
): Promise<QueryAuthorityInfoResponse> {
|
|
91
|
+
return this.request("QueryAuthorityInfo", req, cb)
|
|
92
|
+
}
|
|
93
|
+
|
|
53
94
|
/**
|
|
54
95
|
* 验证已签名的可验证凭证
|
|
55
96
|
*/
|
|
@@ -60,6 +101,26 @@ export class Client extends AbstractClient {
|
|
|
60
101
|
return this.request("VerifyCredentials", req, cb)
|
|
61
102
|
}
|
|
62
103
|
|
|
104
|
+
/**
|
|
105
|
+
* 查询凭证模版内容
|
|
106
|
+
*/
|
|
107
|
+
async QueryCPT(
|
|
108
|
+
req: QueryCPTRequest,
|
|
109
|
+
cb?: (error: string, rep: QueryCPTResponse) => void
|
|
110
|
+
): Promise<QueryCPTResponse> {
|
|
111
|
+
return this.request("QueryCPT", req, cb)
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* 创建凭证持有人的可验证表达
|
|
116
|
+
*/
|
|
117
|
+
async CreatePresentation(
|
|
118
|
+
req: CreatePresentationRequest,
|
|
119
|
+
cb?: (error: string, rep: CreatePresentationResponse) => void
|
|
120
|
+
): Promise<CreatePresentationResponse> {
|
|
121
|
+
return this.request("CreatePresentation", req, cb)
|
|
122
|
+
}
|
|
123
|
+
|
|
63
124
|
/**
|
|
64
125
|
* 自动生成公私钥对托管在DID平台,并注册DID标识
|
|
65
126
|
*/
|
|
@@ -70,6 +131,16 @@ export class Client extends AbstractClient {
|
|
|
70
131
|
return this.request("CreateTDidByHost", req, cb)
|
|
71
132
|
}
|
|
72
133
|
|
|
134
|
+
/**
|
|
135
|
+
* 通过业务层绑定的对象ID获取DID标识
|
|
136
|
+
*/
|
|
137
|
+
async GetTDidByObjectId(
|
|
138
|
+
req: GetTDidByObjectIdRequest,
|
|
139
|
+
cb?: (error: string, rep: GetTDidByObjectIdResponse) => void
|
|
140
|
+
): Promise<GetTDidByObjectIdResponse> {
|
|
141
|
+
return this.request("GetTDidByObjectId", req, cb)
|
|
142
|
+
}
|
|
143
|
+
|
|
73
144
|
/**
|
|
74
145
|
* 使用导入的公钥文件注册DID标识
|
|
75
146
|
*/
|
|
@@ -80,6 +151,36 @@ export class Client extends AbstractClient {
|
|
|
80
151
|
return this.request("CreateTDidByPubKey", req, cb)
|
|
81
152
|
}
|
|
82
153
|
|
|
154
|
+
/**
|
|
155
|
+
* 验证可验证表达的内容
|
|
156
|
+
*/
|
|
157
|
+
async VerifyPresentation(
|
|
158
|
+
req: VerifyPresentationRequest,
|
|
159
|
+
cb?: (error: string, rep: VerifyPresentationResponse) => void
|
|
160
|
+
): Promise<VerifyPresentationResponse> {
|
|
161
|
+
return this.request("VerifyPresentation", req, cb)
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* 根据披露策略创建选择性披露凭证
|
|
166
|
+
*/
|
|
167
|
+
async CreateDisclosedCredential(
|
|
168
|
+
req: CreateDisclosedCredentialRequest,
|
|
169
|
+
cb?: (error: string, rep: CreateDisclosedCredentialResponse) => void
|
|
170
|
+
): Promise<CreateDisclosedCredentialResponse> {
|
|
171
|
+
return this.request("CreateDisclosedCredential", req, cb)
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* 获取某个应用关键指标统计数据
|
|
176
|
+
*/
|
|
177
|
+
async GetAppSummary(
|
|
178
|
+
req: GetAppSummaryRequest,
|
|
179
|
+
cb?: (error: string, rep: GetAppSummaryResponse) => void
|
|
180
|
+
): Promise<GetAppSummaryResponse> {
|
|
181
|
+
return this.request("GetAppSummary", req, cb)
|
|
182
|
+
}
|
|
183
|
+
|
|
83
184
|
/**
|
|
84
185
|
* 获取DID标识的文档
|
|
85
186
|
*/
|
|
@@ -90,6 +191,26 @@ export class Client extends AbstractClient {
|
|
|
90
191
|
return this.request("GetTDidDocument", req, cb)
|
|
91
192
|
}
|
|
92
193
|
|
|
194
|
+
/**
|
|
195
|
+
* 查询DID标识的认证公钥
|
|
196
|
+
*/
|
|
197
|
+
async GetTDidPubKey(
|
|
198
|
+
req: GetTDidPubKeyRequest,
|
|
199
|
+
cb?: (error: string, rep: GetTDidPubKeyResponse) => void
|
|
200
|
+
): Promise<GetTDidPubKeyResponse> {
|
|
201
|
+
return this.request("GetTDidPubKey", req, cb)
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* 设置DID文档的自定义属性
|
|
206
|
+
*/
|
|
207
|
+
async SetTDidAttribute(
|
|
208
|
+
req: SetTDidAttributeRequest,
|
|
209
|
+
cb?: (error: string, rep: SetTDidAttributeResponse) => void
|
|
210
|
+
): Promise<SetTDidAttributeResponse> {
|
|
211
|
+
return this.request("SetTDidAttribute", req, cb)
|
|
212
|
+
}
|
|
213
|
+
|
|
93
214
|
/**
|
|
94
215
|
* 更新凭证的链上状态
|
|
95
216
|
*/
|
|
@@ -129,14 +250,4 @@ export class Client extends AbstractClient {
|
|
|
129
250
|
): Promise<IssueCredentialResponse> {
|
|
130
251
|
return this.request("IssueCredential", req, cb)
|
|
131
252
|
}
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* 检查用户套餐购买状态
|
|
135
|
-
*/
|
|
136
|
-
async CheckNewPurchase(
|
|
137
|
-
req?: CheckNewPurchaseRequest,
|
|
138
|
-
cb?: (error: string, rep: CheckNewPurchaseResponse) => void
|
|
139
|
-
): Promise<CheckNewPurchaseResponse> {
|
|
140
|
-
return this.request("CheckNewPurchase", req, cb)
|
|
141
|
-
}
|
|
142
253
|
}
|