tencentcloud-sdk-nodejs 4.0.626 → 4.0.628
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 +398 -0
- package/SERVICE_CHANGELOG.md +466 -118
- package/package.json +1 -1
- package/products.md +24 -24
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +18 -6
- package/src/services/cdb/v20170320/cdb_models.ts +28 -0
- package/src/services/cdn/v20180606/cdn_client.ts +16 -0
- package/src/services/cdn/v20180606/cdn_models.ts +28 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +26 -12
- package/src/services/ckafka/v20190819/ckafka_models.ts +262 -125
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +26 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +75 -8
- package/src/services/emr/v20190103/emr_models.ts +2 -2
- package/src/services/ess/v20201111/ess_models.ts +4 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +4 -36
- package/src/services/ocr/v20181119/ocr_models.ts +2 -2
- package/src/services/postgres/v20170312/postgres_models.ts +5 -5
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +1 -0
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +33 -2
- package/src/services/tbaas/v20180416/tbaas_client.ts +21 -107
- package/src/services/tbaas/v20180416/tbaas_models.ts +192 -516
- package/src/services/tbp/v20190311/tbp_models.ts +5 -5
- package/src/services/tdid/v20210519/tdid_client.ts +102 -506
- package/src/services/tdid/v20210519/tdid_models.ts +419 -1855
- package/src/services/tdmq/v20200217/tdmq_models.ts +2 -2
- package/src/services/tione/v20211111/tione_models.ts +10 -0
- package/src/services/tke/v20180525/tke_client.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +4 -4
- package/src/services/trp/v20210515/trp_client.ts +1 -0
- package/src/services/trp/v20210515/trp_models.ts +152 -40
- package/src/services/vod/v20180717/vod_client.ts +127 -41
- package/src/services/vod/v20180717/vod_models.ts +939 -164
- package/src/services/yinsuda/v20220527/yinsuda_client.ts +13 -0
- package/src/services/yinsuda/v20220527/yinsuda_models.ts +87 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +7 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +9 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +26 -0
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +9 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +10 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +26 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +7 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +9 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +257 -124
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +9 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +12 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +70 -8
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -36
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -2
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +5 -5
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +32 -2
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +3 -39
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +3 -51
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +193 -503
- package/tencentcloud/services/tbp/v20190311/tbp_models.d.ts +5 -5
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +25 -195
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +36 -262
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +415 -1785
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +2 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +10 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -4
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +151 -40
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +33 -13
- package/tencentcloud/services/vod/v20180717/vod_client.js +47 -17
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +909 -170
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +5 -1
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +6 -0
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +84 -0
- package/test/cdb.v20170320.test.js +12 -2
- package/test/cdn.v20180606.test.js +10 -0
- package/test/ckafka.v20190819.test.js +12 -2
- package/test/cynosdb.v20190107.test.js +20 -0
- package/test/tbaas.v20180416.test.js +2 -62
- package/test/tdid.v20210519.test.js +30 -310
- package/test/vod.v20180717.test.js +66 -16
- package/test/yinsuda.v20220527.test.js +10 -0
|
@@ -4346,12 +4346,12 @@ export interface StrategyConfig {
|
|
|
4346
4346
|
*/
|
|
4347
4347
|
RollingRestartSwitch?: number
|
|
4348
4348
|
/**
|
|
4349
|
-
*
|
|
4349
|
+
* 滚动重启每批次的重启数量,最大重启台数为 99999 台
|
|
4350
4350
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4351
4351
|
*/
|
|
4352
4352
|
BatchSize?: number
|
|
4353
4353
|
/**
|
|
4354
|
-
* 滚动重启每批停止等待时间
|
|
4354
|
+
* 滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒
|
|
4355
4355
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4356
4356
|
*/
|
|
4357
4357
|
TimeWait?: number
|
|
@@ -406,7 +406,7 @@ export interface DescribeThirdPartyAuthCodeResponse {
|
|
|
406
406
|
/**
|
|
407
407
|
* 用户是否实名,VERIFIED 为实名,UNVERIFIED 未实名
|
|
408
408
|
*/
|
|
409
|
-
VerifyStatus
|
|
409
|
+
VerifyStatus?: string
|
|
410
410
|
/**
|
|
411
411
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
412
412
|
*/
|
|
@@ -886,13 +886,13 @@ export interface DescribeFlowEvidenceReportResponse {
|
|
|
886
886
|
* 报告 URL
|
|
887
887
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
888
888
|
*/
|
|
889
|
-
ReportUrl
|
|
889
|
+
ReportUrl?: string
|
|
890
890
|
/**
|
|
891
891
|
* 执行中:EvidenceStatusExecuting
|
|
892
892
|
成功:EvidenceStatusSuccess
|
|
893
893
|
失败:EvidenceStatusFailed
|
|
894
894
|
*/
|
|
895
|
-
Status
|
|
895
|
+
Status?: string
|
|
896
896
|
/**
|
|
897
897
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
898
898
|
*/
|
|
@@ -3745,7 +3745,7 @@ ComponentType为SIGN_DATE时,支持以下参数:
|
|
|
3745
3745
|
|
|
3746
3746
|
ComponentType为SIGN_SEAL类型时,支持以下参数:
|
|
3747
3747
|
1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
|
|
3748
|
-
参数样例:
|
|
3748
|
+
参数样例:"ComponentExtra":"{\"PageRanges\":[{\"BeginPage\":1,\"EndPage\":-1}]}"
|
|
3749
3749
|
*/
|
|
3750
3750
|
ComponentExtra?: string
|
|
3751
3751
|
/**
|
|
@@ -3252,37 +3252,6 @@ KEYWORD - 关键字
|
|
|
3252
3252
|
/**
|
|
3253
3253
|
* 扩展参数:
|
|
3254
3254
|
为JSON格式。
|
|
3255
|
-
|
|
3256
|
-
ComponentType为FILL_IMAGE时,支持以下参数:
|
|
3257
|
-
NotMakeImageCenter:bool。是否设置图片居中。false:居中(默认)。 true: 不居中
|
|
3258
|
-
FillMethod: int. 填充方式。0-铺满(默认);1-等比例缩放
|
|
3259
|
-
|
|
3260
|
-
ComponentType为SIGN_SIGNATURE类型可以控制签署方式
|
|
3261
|
-
{“ComponentTypeLimit”: [“xxx”]}
|
|
3262
|
-
xxx可以为:
|
|
3263
|
-
HANDWRITE – 手写签名
|
|
3264
|
-
OCR_ESIGN -- AI智能识别手写签名
|
|
3265
|
-
ESIGN -- 个人印章类型
|
|
3266
|
-
SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
|
|
3267
|
-
如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
|
|
3268
|
-
|
|
3269
|
-
ComponentType为SIGN_DATE时,支持以下参数:
|
|
3270
|
-
1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
|
|
3271
|
-
2 FontSize: 数字类型,范围6-72,默认值为12
|
|
3272
|
-
3 FontAlign: 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐
|
|
3273
|
-
4 Format: 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。
|
|
3274
|
-
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
|
|
3275
|
-
如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
|
|
3276
|
-
特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
|
|
3277
|
-
参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
|
|
3278
|
-
|
|
3279
|
-
ComponentType为SIGN_SEAL类型时,支持以下参数:
|
|
3280
|
-
1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
|
|
3281
|
-
参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
参数控件样式,json格式表述
|
|
3285
|
-
|
|
3286
3255
|
不同类型的控件会有部分非通用参数
|
|
3287
3256
|
|
|
3288
3257
|
TEXT/MULTI_LINE_TEXT控件可以指定
|
|
@@ -3299,25 +3268,24 @@ ComponentType为SIGN_SIGNATURE类型可以控制签署方式
|
|
|
3299
3268
|
{“ComponentTypeLimit”: [“xxx”]}
|
|
3300
3269
|
xxx可以为:
|
|
3301
3270
|
HANDWRITE – 手写签名
|
|
3302
|
-
BORDERLESS_ESIGN – 自动生成无边框腾讯体
|
|
3303
3271
|
OCR_ESIGN -- AI智能识别手写签名
|
|
3304
3272
|
ESIGN -- 个人印章类型
|
|
3305
3273
|
SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
|
|
3306
|
-
如:{“ComponentTypeLimit”: [“
|
|
3274
|
+
如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
|
|
3307
3275
|
|
|
3308
3276
|
ComponentType为SIGN_DATE时,支持以下参数:
|
|
3309
3277
|
1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
|
|
3310
3278
|
2 FontSize: 数字类型,范围6-72,默认值为12
|
|
3311
3279
|
3 FontAlign: 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐
|
|
3312
3280
|
4 Format: 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。
|
|
3313
|
-
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2
|
|
3281
|
+
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
|
|
3314
3282
|
如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
|
|
3315
3283
|
特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
|
|
3316
|
-
参数样例:
|
|
3284
|
+
参数样例: "ComponentExtra": "{"Format":“yyyy m d”,"FontSize":12,"Gaps":"2,2", "FontAlign":"Right"}"
|
|
3317
3285
|
|
|
3318
3286
|
ComponentType为SIGN_SEAL类型时,支持以下参数:
|
|
3319
3287
|
1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
|
|
3320
|
-
参数样例: "ComponentExtra":"{
|
|
3288
|
+
参数样例: "ComponentExtra":"{["PageRange":{"BeginPage":1,"EndPage":-1}]}"
|
|
3321
3289
|
*/
|
|
3322
3290
|
ComponentExtra?: string
|
|
3323
3291
|
/**
|
|
@@ -2858,7 +2858,7 @@ export interface RecognizeGeneralInvoiceRequest {
|
|
|
2858
2858
|
/**
|
|
2859
2859
|
* 图片的 Base64 值。
|
|
2860
2860
|
支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
|
2861
|
-
支持的图片大小:所下载图片经Base64编码后不超过
|
|
2861
|
+
支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。
|
|
2862
2862
|
支持的图片像素:单边介于20-10000px之间。
|
|
2863
2863
|
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
2864
2864
|
*/
|
|
@@ -2866,7 +2866,7 @@ export interface RecognizeGeneralInvoiceRequest {
|
|
|
2866
2866
|
/**
|
|
2867
2867
|
* 图片的 Url 地址。
|
|
2868
2868
|
支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
|
2869
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过
|
|
2869
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。
|
|
2870
2870
|
支持的图片像素:单边介于20-10000px之间。
|
|
2871
2871
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
2872
2872
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
@@ -1295,15 +1295,15 @@ export interface CreateReadOnlyDBInstanceResponse {
|
|
|
1295
1295
|
/**
|
|
1296
1296
|
* 订单号列表。每个实例对应一个订单号
|
|
1297
1297
|
*/
|
|
1298
|
-
DealNames
|
|
1298
|
+
DealNames?: Array<string>
|
|
1299
1299
|
/**
|
|
1300
1300
|
* 冻结流水号
|
|
1301
1301
|
*/
|
|
1302
|
-
BillId
|
|
1302
|
+
BillId?: string
|
|
1303
1303
|
/**
|
|
1304
1304
|
* 创建成功的实例ID集合,只在后付费情景下有返回值
|
|
1305
1305
|
*/
|
|
1306
|
-
DBInstanceIdSet
|
|
1306
|
+
DBInstanceIdSet?: Array<string>
|
|
1307
1307
|
/**
|
|
1308
1308
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1309
1309
|
*/
|
|
@@ -3836,7 +3836,7 @@ export interface DescribeBackupDownloadRestrictionResponse {
|
|
|
3836
3836
|
*/
|
|
3837
3837
|
export interface CreateReadOnlyDBInstanceRequest {
|
|
3838
3838
|
/**
|
|
3839
|
-
* 售卖规格ID。该参数可以通过调用
|
|
3839
|
+
* 售卖规格ID。该参数可以通过调用DescribeClasses的返回值中的SpecCode字段来获取。
|
|
3840
3840
|
*/
|
|
3841
3841
|
SpecCode: string
|
|
3842
3842
|
/**
|
|
@@ -3868,7 +3868,7 @@ export interface CreateReadOnlyDBInstanceRequest {
|
|
|
3868
3868
|
*/
|
|
3869
3869
|
DBVersion?: string
|
|
3870
3870
|
/**
|
|
3871
|
-
* 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR
|
|
3871
|
+
* 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。默认值:PREPAID。如果主实例为后付费,只读实例必须也为后付费。
|
|
3872
3872
|
*/
|
|
3873
3873
|
InstanceChargeType?: string
|
|
3874
3874
|
/**
|
|
@@ -2015,11 +2015,11 @@ export interface DescribeDBsResponse {
|
|
|
2015
2015
|
/**
|
|
2016
2016
|
* 数据库数量
|
|
2017
2017
|
*/
|
|
2018
|
-
TotalCount
|
|
2018
|
+
TotalCount?: number
|
|
2019
2019
|
/**
|
|
2020
2020
|
* 实例数据库列表
|
|
2021
2021
|
*/
|
|
2022
|
-
DBInstances
|
|
2022
|
+
DBInstances?: Array<InstanceDBDetail>
|
|
2023
2023
|
/**
|
|
2024
2024
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2025
2025
|
*/
|
|
@@ -2932,6 +2932,10 @@ export interface DescribeDBsRequest {
|
|
|
2932
2932
|
* 排序规则(desc-降序,asc-升序),默认desc
|
|
2933
2933
|
*/
|
|
2934
2934
|
OrderByType?: string
|
|
2935
|
+
/**
|
|
2936
|
+
* 是否已开启TDE加密,enable-已加密,disable-未加密
|
|
2937
|
+
*/
|
|
2938
|
+
Encryption?: string
|
|
2935
2939
|
}
|
|
2936
2940
|
|
|
2937
2941
|
/**
|
|
@@ -4548,6 +4552,25 @@ export interface DbNormalDetail {
|
|
|
4548
4552
|
CreateTime?: string
|
|
4549
4553
|
}
|
|
4550
4554
|
|
|
4555
|
+
/**
|
|
4556
|
+
* TDE透明数据加密配置
|
|
4557
|
+
*/
|
|
4558
|
+
export interface TDEConfigAttribute {
|
|
4559
|
+
/**
|
|
4560
|
+
* 是否已开通TDE加密,enable-已开通,disable-未开通
|
|
4561
|
+
*/
|
|
4562
|
+
Encryption?: string
|
|
4563
|
+
/**
|
|
4564
|
+
* 证书归属。self-表示使用该账号自身的证书,others-表示引用其他账号的证书,none-表示没有证书
|
|
4565
|
+
*/
|
|
4566
|
+
CertificateAttribution?: string
|
|
4567
|
+
/**
|
|
4568
|
+
* 开通TDE加密时引用的其他主账号ID
|
|
4569
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4570
|
+
*/
|
|
4571
|
+
QuoteUin?: string
|
|
4572
|
+
}
|
|
4573
|
+
|
|
4551
4574
|
/**
|
|
4552
4575
|
* ModifyDBInstanceRenewFlag请求参数结构体
|
|
4553
4576
|
*/
|
|
@@ -4594,6 +4617,10 @@ export interface DescribeDBInstancesAttributeResponse {
|
|
|
4594
4617
|
* 慢SQL、阻塞、死锁扩展事件文件保留时长
|
|
4595
4618
|
*/
|
|
4596
4619
|
EventSaveDays?: number
|
|
4620
|
+
/**
|
|
4621
|
+
* TDE透明数据加密配置
|
|
4622
|
+
*/
|
|
4623
|
+
TDEConfig?: TDEConfigAttribute
|
|
4597
4624
|
/**
|
|
4598
4625
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4599
4626
|
*/
|
|
@@ -5768,6 +5795,10 @@ export interface DBDetail {
|
|
|
5768
5795
|
* 内部状态。ONLINE表示运行中
|
|
5769
5796
|
*/
|
|
5770
5797
|
InternalStatus: string
|
|
5798
|
+
/**
|
|
5799
|
+
* 是否已开启TDE加密,enable-已加密,disable-未加密
|
|
5800
|
+
*/
|
|
5801
|
+
Encryption?: string
|
|
5771
5802
|
}
|
|
5772
5803
|
|
|
5773
5804
|
/**
|
|
@@ -19,89 +19,75 @@ import { AbstractClient } from "../../../common/abstract_client"
|
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
21
|
PeerDetailForUser,
|
|
22
|
-
GetBcosTransListRequest,
|
|
23
22
|
QueryChainMakerDemoBlockTransactionResponse,
|
|
24
23
|
QueryChainMakerContractRequest,
|
|
25
|
-
|
|
24
|
+
QueryChainMakerBlockTransactionRequest,
|
|
26
25
|
GetClusterListForUserResponse,
|
|
27
26
|
GetBlockTransactionListForUserResponse,
|
|
28
27
|
ApplyChainMakerBatchUserCertResponse,
|
|
29
28
|
ApplyUserCertRequest,
|
|
30
|
-
SrvInvokeRequest,
|
|
31
29
|
SrvInvokeResponse,
|
|
32
30
|
GetChaincodeInitializeResultForUserRequest,
|
|
33
31
|
InitializeChaincodeForUserRequest,
|
|
34
32
|
GetTransactionDetailForUserResponse,
|
|
35
|
-
|
|
33
|
+
SrvInvokeRequest,
|
|
36
34
|
ApplyUserCertResponse,
|
|
37
35
|
GetChaincodeCompileLogForUserRequest,
|
|
38
36
|
GetInvokeTxRequest,
|
|
39
|
-
|
|
37
|
+
InvokeResponse,
|
|
40
38
|
SignCertCsr,
|
|
41
39
|
DownloadUserCertResponse,
|
|
42
|
-
QueryChainMakerBlockTransactionRequest,
|
|
43
40
|
GetChaincodeLogForUserRequest,
|
|
44
41
|
GetLatesdTransactionListRequest,
|
|
45
|
-
|
|
42
|
+
LogDetailForUser,
|
|
43
|
+
DownloadUserCertRequest,
|
|
46
44
|
GetTransactionDetailForUserRequest,
|
|
47
45
|
GetBlockListResponse,
|
|
48
46
|
GetBlockTransactionListForUserRequest,
|
|
49
47
|
QueryChainMakerBlockTransactionResponse,
|
|
50
|
-
|
|
48
|
+
InvokeChainMakerDemoContractRequest,
|
|
51
49
|
GetClusterSummaryRequest,
|
|
52
|
-
InvokeBcosTransRequest,
|
|
53
50
|
InvokeChainMakerContractResponse,
|
|
54
|
-
|
|
51
|
+
QueryChainMakerTransactionRequest,
|
|
55
52
|
ClusterDetailForUser,
|
|
56
53
|
GetPeerLogForUserRequest,
|
|
57
54
|
GetLatesdTransactionListResponse,
|
|
58
55
|
QueryChainMakerTransactionResponse,
|
|
59
|
-
|
|
56
|
+
GetChaincodeInitializeResultForUserResponse,
|
|
60
57
|
GetClusterSummaryResponse,
|
|
61
|
-
GetLatestTransactionListRequest,
|
|
62
58
|
PeerSet,
|
|
63
59
|
ChainMakerTransactionResult,
|
|
64
60
|
CreateChaincodeAndInstallForUserRequest,
|
|
65
|
-
|
|
66
|
-
GetBcosTransByHashResponse,
|
|
67
|
-
GetPeerLogForUserResponse,
|
|
68
|
-
QueryChainMakerDemoContractRequest,
|
|
61
|
+
GetLatestTransactionListRequest,
|
|
69
62
|
QueryChainMakerDemoTransactionResponse,
|
|
70
63
|
ApplyChainMakerBatchUserCertRequest,
|
|
71
64
|
GetChaincodeLogForUserResponse,
|
|
72
65
|
QueryChainMakerDemoTransactionRequest,
|
|
73
|
-
LogDetailForUser,
|
|
74
|
-
InvokeBcosTransResponse,
|
|
75
66
|
InitializeChaincodeForUserResponse,
|
|
76
67
|
GroupDetailForUser,
|
|
77
|
-
|
|
68
|
+
QueryChainMakerDemoContractRequest,
|
|
78
69
|
ChainMakerContractResult,
|
|
79
70
|
GetClusterListForUserRequest,
|
|
80
71
|
Block,
|
|
81
72
|
QueryChainMakerDemoContractResponse,
|
|
82
73
|
GetBlockListRequest,
|
|
83
|
-
|
|
84
|
-
GetChaincodeInitializeResultForUserResponse,
|
|
74
|
+
GetPeerLogForUserResponse,
|
|
85
75
|
InvokeRequest,
|
|
86
76
|
GetInvokeTxResponse,
|
|
87
77
|
GetChannelListForUserResponse,
|
|
88
78
|
QueryChainMakerContractResponse,
|
|
89
|
-
GetBcosTransByHashRequest,
|
|
90
|
-
QueryChainMakerTransactionRequest,
|
|
91
79
|
GetChaincodeCompileLogForUserResponse,
|
|
92
|
-
DeployDynamicBcosContractRequest,
|
|
93
80
|
InvokeChainMakerContractRequest,
|
|
94
|
-
|
|
81
|
+
TransactionItem,
|
|
95
82
|
GetLatestTransactionListResponse,
|
|
96
|
-
|
|
83
|
+
QueryChainMakerDemoBlockTransactionRequest,
|
|
97
84
|
ChannelDetailForUser,
|
|
98
85
|
QueryRequest,
|
|
99
86
|
CreateChaincodeAndInstallForUserResponse,
|
|
100
87
|
GetChannelListForUserRequest,
|
|
101
88
|
InvokeChainMakerDemoContractResponse,
|
|
102
89
|
QueryResponse,
|
|
103
|
-
|
|
104
|
-
TransactionItem,
|
|
90
|
+
EndorserGroup,
|
|
105
91
|
} from "./tbaas_models"
|
|
106
92
|
|
|
107
93
|
/**
|
|
@@ -113,18 +99,6 @@ export class Client extends AbstractClient {
|
|
|
113
99
|
super("tbaas.tencentcloudapi.com", "2018-04-16", clientConfig)
|
|
114
100
|
}
|
|
115
101
|
|
|
116
|
-
/**
|
|
117
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
118
|
-
|
|
119
|
-
执行Bcos交易,支持动态部署的合约
|
|
120
|
-
*/
|
|
121
|
-
async InvokeBcosTrans(
|
|
122
|
-
req: InvokeBcosTransRequest,
|
|
123
|
-
cb?: (error: string, rep: InvokeBcosTransResponse) => void
|
|
124
|
-
): Promise<InvokeBcosTransResponse> {
|
|
125
|
-
return this.request("InvokeBcosTrans", req, cb)
|
|
126
|
-
}
|
|
127
|
-
|
|
128
102
|
/**
|
|
129
103
|
* 通过交易ID查询长安链交易
|
|
130
104
|
*/
|
|
@@ -135,18 +109,6 @@ export class Client extends AbstractClient {
|
|
|
135
109
|
return this.request("QueryChainMakerTransaction", req, cb)
|
|
136
110
|
}
|
|
137
111
|
|
|
138
|
-
/**
|
|
139
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
140
|
-
|
|
141
|
-
使用块高查询Bcos区块信息
|
|
142
|
-
*/
|
|
143
|
-
async GetBcosBlockByNumber(
|
|
144
|
-
req: GetBcosBlockByNumberRequest,
|
|
145
|
-
cb?: (error: string, rep: GetBcosBlockByNumberResponse) => void
|
|
146
|
-
): Promise<GetBcosBlockByNumberResponse> {
|
|
147
|
-
return this.request("GetBcosBlockByNumber", req, cb)
|
|
148
|
-
}
|
|
149
|
-
|
|
150
112
|
/**
|
|
151
113
|
* 批量申请长安链用户签名证书
|
|
152
114
|
*/
|
|
@@ -168,15 +130,13 @@ export class Client extends AbstractClient {
|
|
|
168
130
|
}
|
|
169
131
|
|
|
170
132
|
/**
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
): Promise<GetBcosTransByHashResponse> {
|
|
179
|
-
return this.request("GetBcosTransByHash", req, cb)
|
|
133
|
+
* 通过交易ID查询长安链体验网络交易
|
|
134
|
+
*/
|
|
135
|
+
async QueryChainMakerDemoTransaction(
|
|
136
|
+
req: QueryChainMakerDemoTransactionRequest,
|
|
137
|
+
cb?: (error: string, rep: QueryChainMakerDemoTransactionResponse) => void
|
|
138
|
+
): Promise<QueryChainMakerDemoTransactionResponse> {
|
|
139
|
+
return this.request("QueryChainMakerDemoTransaction", req, cb)
|
|
180
140
|
}
|
|
181
141
|
|
|
182
142
|
/**
|
|
@@ -189,18 +149,6 @@ Bcos根据交易哈希查看交易详细信息
|
|
|
189
149
|
return this.request("GetClusterListForUser", req, cb)
|
|
190
150
|
}
|
|
191
151
|
|
|
192
|
-
/**
|
|
193
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
194
|
-
|
|
195
|
-
Bcos分页查询当前群组下的区块列表
|
|
196
|
-
*/
|
|
197
|
-
async GetBcosBlockList(
|
|
198
|
-
req: GetBcosBlockListRequest,
|
|
199
|
-
cb?: (error: string, rep: GetBcosBlockListResponse) => void
|
|
200
|
-
): Promise<GetBcosBlockListResponse> {
|
|
201
|
-
return this.request("GetBcosBlockList", req, cb)
|
|
202
|
-
}
|
|
203
|
-
|
|
204
152
|
/**
|
|
205
153
|
* 调用长安链合约查询
|
|
206
154
|
*/
|
|
@@ -251,18 +199,6 @@ Bcos分页查询当前群组下的区块列表
|
|
|
251
199
|
return this.request("GetPeerLogForUser", req, cb)
|
|
252
200
|
}
|
|
253
201
|
|
|
254
|
-
/**
|
|
255
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
256
|
-
|
|
257
|
-
动态部署并发布Bcos合约
|
|
258
|
-
*/
|
|
259
|
-
async DeployDynamicBcosContract(
|
|
260
|
-
req: DeployDynamicBcosContractRequest,
|
|
261
|
-
cb?: (error: string, rep: DeployDynamicBcosContractResponse) => void
|
|
262
|
-
): Promise<DeployDynamicBcosContractResponse> {
|
|
263
|
-
return this.request("DeployDynamicBcosContract", req, cb)
|
|
264
|
-
}
|
|
265
|
-
|
|
266
202
|
/**
|
|
267
203
|
* 获取fabric最新交易列表
|
|
268
204
|
*/
|
|
@@ -293,16 +229,6 @@ Bcos分页查询当前群组下的区块列表
|
|
|
293
229
|
return this.request("CreateChaincodeAndInstallForUser", req, cb)
|
|
294
230
|
}
|
|
295
231
|
|
|
296
|
-
/**
|
|
297
|
-
* 通过交易ID查询长安链体验网络交易
|
|
298
|
-
*/
|
|
299
|
-
async QueryChainMakerDemoTransaction(
|
|
300
|
-
req: QueryChainMakerDemoTransactionRequest,
|
|
301
|
-
cb?: (error: string, rep: QueryChainMakerDemoTransactionResponse) => void
|
|
302
|
-
): Promise<QueryChainMakerDemoTransactionResponse> {
|
|
303
|
-
return this.request("QueryChainMakerDemoTransaction", req, cb)
|
|
304
|
-
}
|
|
305
|
-
|
|
306
232
|
/**
|
|
307
233
|
* 获取最新交易列表(已废弃)
|
|
308
234
|
*/
|
|
@@ -413,18 +339,6 @@ Bcos分页查询当前群组下的区块列表
|
|
|
413
339
|
return this.request("SrvInvoke", req, cb)
|
|
414
340
|
}
|
|
415
341
|
|
|
416
|
-
/**
|
|
417
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
418
|
-
|
|
419
|
-
Bcos分页查询当前群组的交易信息列表
|
|
420
|
-
*/
|
|
421
|
-
async GetBcosTransList(
|
|
422
|
-
req: GetBcosTransListRequest,
|
|
423
|
-
cb?: (error: string, rep: GetBcosTransListResponse) => void
|
|
424
|
-
): Promise<GetBcosTransListResponse> {
|
|
425
|
-
return this.request("GetBcosTransList", req, cb)
|
|
426
|
-
}
|
|
427
|
-
|
|
428
342
|
/**
|
|
429
343
|
* 调用长安链体验网络合约执行交易
|
|
430
344
|
*/
|