tencentcloud-sdk-nodejs 4.0.627 → 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 +254 -0
- package/SERVICE_CHANGELOG.md +424 -98
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- 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/cynosdb/v20190107/cynosdb_client.ts +13 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +42 -8
- package/src/services/ess/v20201111/ess_models.ts +4 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +4 -36
- 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/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/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- 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/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +40 -8
- 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/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/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/test/cdn.v20180606.test.js +10 -0
- package/test/ckafka.v20190819.test.js +12 -2
- package/test/cynosdb.v20190107.test.js +10 -0
- package/test/tbaas.v20180416.test.js +2 -62
- package/test/tdid.v20210519.test.js +30 -310
|
@@ -3128,37 +3128,6 @@ export interface Component {
|
|
|
3128
3128
|
/**
|
|
3129
3129
|
* 扩展参数:
|
|
3130
3130
|
为JSON格式。
|
|
3131
|
-
|
|
3132
|
-
ComponentType为FILL_IMAGE时,支持以下参数:
|
|
3133
|
-
NotMakeImageCenter:bool。是否设置图片居中。false:居中(默认)。 true: 不居中
|
|
3134
|
-
FillMethod: int. 填充方式。0-铺满(默认);1-等比例缩放
|
|
3135
|
-
|
|
3136
|
-
ComponentType为SIGN_SIGNATURE类型可以控制签署方式
|
|
3137
|
-
{“ComponentTypeLimit”: [“xxx”]}
|
|
3138
|
-
xxx可以为:
|
|
3139
|
-
HANDWRITE – 手写签名
|
|
3140
|
-
OCR_ESIGN -- AI智能识别手写签名
|
|
3141
|
-
ESIGN -- 个人印章类型
|
|
3142
|
-
SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
|
|
3143
|
-
如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
|
|
3144
|
-
|
|
3145
|
-
ComponentType为SIGN_DATE时,支持以下参数:
|
|
3146
|
-
1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
|
|
3147
|
-
2 FontSize: 数字类型,范围6-72,默认值为12
|
|
3148
|
-
3 FontAlign: 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐
|
|
3149
|
-
4 Format: 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。
|
|
3150
|
-
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
|
|
3151
|
-
如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
|
|
3152
|
-
特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
|
|
3153
|
-
参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}"
|
|
3154
|
-
|
|
3155
|
-
ComponentType为SIGN_SEAL类型时,支持以下参数:
|
|
3156
|
-
1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
|
|
3157
|
-
参数样例: "ComponentExtra":"{\"PageRanges\":[\"PageRange\":{\"BeginPage\":1,\"EndPage\":-1}]}"
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
参数控件样式,json格式表述
|
|
3161
|
-
|
|
3162
3131
|
不同类型的控件会有部分非通用参数
|
|
3163
3132
|
|
|
3164
3133
|
TEXT/MULTI_LINE_TEXT控件可以指定
|
|
@@ -3175,25 +3144,24 @@ export interface Component {
|
|
|
3175
3144
|
{“ComponentTypeLimit”: [“xxx”]}
|
|
3176
3145
|
xxx可以为:
|
|
3177
3146
|
HANDWRITE – 手写签名
|
|
3178
|
-
BORDERLESS_ESIGN – 自动生成无边框腾讯体
|
|
3179
3147
|
OCR_ESIGN -- AI智能识别手写签名
|
|
3180
3148
|
ESIGN -- 个人印章类型
|
|
3181
3149
|
SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
|
|
3182
|
-
如:{“ComponentTypeLimit”: [“
|
|
3150
|
+
如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
|
|
3183
3151
|
|
|
3184
3152
|
ComponentType为SIGN_DATE时,支持以下参数:
|
|
3185
3153
|
1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
|
|
3186
3154
|
2 FontSize: 数字类型,范围6-72,默认值为12
|
|
3187
3155
|
3 FontAlign: 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐
|
|
3188
3156
|
4 Format: 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。
|
|
3189
|
-
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2
|
|
3157
|
+
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
|
|
3190
3158
|
如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
|
|
3191
3159
|
特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
|
|
3192
|
-
参数样例:
|
|
3160
|
+
参数样例: "ComponentExtra": "{"Format":“yyyy m d”,"FontSize":12,"Gaps":"2,2", "FontAlign":"Right"}"
|
|
3193
3161
|
|
|
3194
3162
|
ComponentType为SIGN_SEAL类型时,支持以下参数:
|
|
3195
3163
|
1.PageRanges:PageRange的数组,通过PageRanges属性设置该印章在PDF所有页面上盖章(适用于标书在所有页面盖章的情况)
|
|
3196
|
-
参数样例: "ComponentExtra":"{
|
|
3164
|
+
参数样例: "ComponentExtra":"{["PageRange":{"BeginPage":1,"EndPage":-1}]}"
|
|
3197
3165
|
*/
|
|
3198
3166
|
ComponentExtra?: string;
|
|
3199
3167
|
/**
|
|
@@ -1227,15 +1227,15 @@ export interface CreateReadOnlyDBInstanceResponse {
|
|
|
1227
1227
|
/**
|
|
1228
1228
|
* 订单号列表。每个实例对应一个订单号
|
|
1229
1229
|
*/
|
|
1230
|
-
DealNames
|
|
1230
|
+
DealNames?: Array<string>;
|
|
1231
1231
|
/**
|
|
1232
1232
|
* 冻结流水号
|
|
1233
1233
|
*/
|
|
1234
|
-
BillId
|
|
1234
|
+
BillId?: string;
|
|
1235
1235
|
/**
|
|
1236
1236
|
* 创建成功的实例ID集合,只在后付费情景下有返回值
|
|
1237
1237
|
*/
|
|
1238
|
-
DBInstanceIdSet
|
|
1238
|
+
DBInstanceIdSet?: Array<string>;
|
|
1239
1239
|
/**
|
|
1240
1240
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1241
1241
|
*/
|
|
@@ -3672,7 +3672,7 @@ export interface DescribeBackupDownloadRestrictionResponse {
|
|
|
3672
3672
|
*/
|
|
3673
3673
|
export interface CreateReadOnlyDBInstanceRequest {
|
|
3674
3674
|
/**
|
|
3675
|
-
* 售卖规格ID。该参数可以通过调用
|
|
3675
|
+
* 售卖规格ID。该参数可以通过调用DescribeClasses的返回值中的SpecCode字段来获取。
|
|
3676
3676
|
*/
|
|
3677
3677
|
SpecCode: string;
|
|
3678
3678
|
/**
|
|
@@ -3704,7 +3704,7 @@ export interface CreateReadOnlyDBInstanceRequest {
|
|
|
3704
3704
|
*/
|
|
3705
3705
|
DBVersion?: string;
|
|
3706
3706
|
/**
|
|
3707
|
-
* 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR
|
|
3707
|
+
* 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。默认值:PREPAID。如果主实例为后付费,只读实例必须也为后付费。
|
|
3708
3708
|
*/
|
|
3709
3709
|
InstanceChargeType?: string;
|
|
3710
3710
|
/**
|
|
@@ -1911,11 +1911,11 @@ export interface DescribeDBsResponse {
|
|
|
1911
1911
|
/**
|
|
1912
1912
|
* 数据库数量
|
|
1913
1913
|
*/
|
|
1914
|
-
TotalCount
|
|
1914
|
+
TotalCount?: number;
|
|
1915
1915
|
/**
|
|
1916
1916
|
* 实例数据库列表
|
|
1917
1917
|
*/
|
|
1918
|
-
DBInstances
|
|
1918
|
+
DBInstances?: Array<InstanceDBDetail>;
|
|
1919
1919
|
/**
|
|
1920
1920
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1921
1921
|
*/
|
|
@@ -2794,6 +2794,10 @@ export interface DescribeDBsRequest {
|
|
|
2794
2794
|
* 排序规则(desc-降序,asc-升序),默认desc
|
|
2795
2795
|
*/
|
|
2796
2796
|
OrderByType?: string;
|
|
2797
|
+
/**
|
|
2798
|
+
* 是否已开启TDE加密,enable-已加密,disable-未加密
|
|
2799
|
+
*/
|
|
2800
|
+
Encryption?: string;
|
|
2797
2801
|
}
|
|
2798
2802
|
/**
|
|
2799
2803
|
* DescribeMigrationDatabases请求参数结构体
|
|
@@ -4344,6 +4348,24 @@ export interface DbNormalDetail {
|
|
|
4344
4348
|
*/
|
|
4345
4349
|
CreateTime?: string;
|
|
4346
4350
|
}
|
|
4351
|
+
/**
|
|
4352
|
+
* TDE透明数据加密配置
|
|
4353
|
+
*/
|
|
4354
|
+
export interface TDEConfigAttribute {
|
|
4355
|
+
/**
|
|
4356
|
+
* 是否已开通TDE加密,enable-已开通,disable-未开通
|
|
4357
|
+
*/
|
|
4358
|
+
Encryption?: string;
|
|
4359
|
+
/**
|
|
4360
|
+
* 证书归属。self-表示使用该账号自身的证书,others-表示引用其他账号的证书,none-表示没有证书
|
|
4361
|
+
*/
|
|
4362
|
+
CertificateAttribution?: string;
|
|
4363
|
+
/**
|
|
4364
|
+
* 开通TDE加密时引用的其他主账号ID
|
|
4365
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4366
|
+
*/
|
|
4367
|
+
QuoteUin?: string;
|
|
4368
|
+
}
|
|
4347
4369
|
/**
|
|
4348
4370
|
* ModifyDBInstanceRenewFlag请求参数结构体
|
|
4349
4371
|
*/
|
|
@@ -4389,6 +4411,10 @@ export interface DescribeDBInstancesAttributeResponse {
|
|
|
4389
4411
|
* 慢SQL、阻塞、死锁扩展事件文件保留时长
|
|
4390
4412
|
*/
|
|
4391
4413
|
EventSaveDays?: number;
|
|
4414
|
+
/**
|
|
4415
|
+
* TDE透明数据加密配置
|
|
4416
|
+
*/
|
|
4417
|
+
TDEConfig?: TDEConfigAttribute;
|
|
4392
4418
|
/**
|
|
4393
4419
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4394
4420
|
*/
|
|
@@ -5508,6 +5534,10 @@ export interface DBDetail {
|
|
|
5508
5534
|
* 内部状态。ONLINE表示运行中
|
|
5509
5535
|
*/
|
|
5510
5536
|
InternalStatus: string;
|
|
5537
|
+
/**
|
|
5538
|
+
* 是否已开启TDE加密,enable-已加密,disable-未加密
|
|
5539
|
+
*/
|
|
5540
|
+
Encryption?: string;
|
|
5511
5541
|
}
|
|
5512
5542
|
/**
|
|
5513
5543
|
* ResetAccountPassword请求参数结构体
|
|
@@ -1,28 +1,16 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { QueryChainMakerDemoBlockTransactionResponse, QueryChainMakerContractRequest, QueryChainMakerBlockTransactionRequest, GetClusterListForUserResponse, GetBlockTransactionListForUserResponse, ApplyChainMakerBatchUserCertResponse, ApplyUserCertRequest, SrvInvokeResponse, GetChaincodeInitializeResultForUserRequest, InitializeChaincodeForUserRequest, GetTransactionDetailForUserResponse, SrvInvokeRequest, ApplyUserCertResponse, GetChaincodeCompileLogForUserRequest, GetInvokeTxRequest, InvokeResponse, DownloadUserCertResponse, GetChaincodeLogForUserRequest, GetLatesdTransactionListRequest, DownloadUserCertRequest, GetTransactionDetailForUserRequest, GetBlockListResponse, GetBlockTransactionListForUserRequest, QueryChainMakerBlockTransactionResponse, InvokeChainMakerDemoContractRequest, GetClusterSummaryRequest, InvokeChainMakerContractResponse, QueryChainMakerTransactionRequest, GetPeerLogForUserRequest, GetLatesdTransactionListResponse, QueryChainMakerTransactionResponse, GetChaincodeInitializeResultForUserResponse, GetClusterSummaryResponse, CreateChaincodeAndInstallForUserRequest, GetLatestTransactionListRequest, QueryChainMakerDemoTransactionResponse, ApplyChainMakerBatchUserCertRequest, GetChaincodeLogForUserResponse, QueryChainMakerDemoTransactionRequest, InitializeChaincodeForUserResponse, QueryChainMakerDemoContractRequest, GetClusterListForUserRequest, QueryChainMakerDemoContractResponse, GetBlockListRequest, GetPeerLogForUserResponse, InvokeRequest, GetInvokeTxResponse, GetChannelListForUserResponse, QueryChainMakerContractResponse, GetChaincodeCompileLogForUserResponse, InvokeChainMakerContractRequest, GetLatestTransactionListResponse, QueryChainMakerDemoBlockTransactionRequest, QueryRequest, CreateChaincodeAndInstallForUserResponse, GetChannelListForUserRequest, InvokeChainMakerDemoContractResponse, QueryResponse } from "./tbaas_models";
|
|
4
4
|
/**
|
|
5
5
|
* tbaas client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
-
/**
|
|
11
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
12
|
-
|
|
13
|
-
执行Bcos交易,支持动态部署的合约
|
|
14
|
-
*/
|
|
15
|
-
InvokeBcosTrans(req: InvokeBcosTransRequest, cb?: (error: string, rep: InvokeBcosTransResponse) => void): Promise<InvokeBcosTransResponse>;
|
|
16
10
|
/**
|
|
17
11
|
* 通过交易ID查询长安链交易
|
|
18
12
|
*/
|
|
19
13
|
QueryChainMakerTransaction(req: QueryChainMakerTransactionRequest, cb?: (error: string, rep: QueryChainMakerTransactionResponse) => void): Promise<QueryChainMakerTransactionResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
22
|
-
|
|
23
|
-
使用块高查询Bcos区块信息
|
|
24
|
-
*/
|
|
25
|
-
GetBcosBlockByNumber(req: GetBcosBlockByNumberRequest, cb?: (error: string, rep: GetBcosBlockByNumberResponse) => void): Promise<GetBcosBlockByNumberResponse>;
|
|
26
14
|
/**
|
|
27
15
|
* 批量申请长安链用户签名证书
|
|
28
16
|
*/
|
|
@@ -32,21 +20,13 @@ export declare class Client extends AbstractClient {
|
|
|
32
20
|
*/
|
|
33
21
|
GetChaincodeLogForUser(req: GetChaincodeLogForUserRequest, cb?: (error: string, rep: GetChaincodeLogForUserResponse) => void): Promise<GetChaincodeLogForUserResponse>;
|
|
34
22
|
/**
|
|
35
|
-
*
|
|
36
|
-
|
|
37
|
-
Bcos根据交易哈希查看交易详细信息
|
|
23
|
+
* 通过交易ID查询长安链体验网络交易
|
|
38
24
|
*/
|
|
39
|
-
|
|
25
|
+
QueryChainMakerDemoTransaction(req: QueryChainMakerDemoTransactionRequest, cb?: (error: string, rep: QueryChainMakerDemoTransactionResponse) => void): Promise<QueryChainMakerDemoTransactionResponse>;
|
|
40
26
|
/**
|
|
41
27
|
* 获取该用户的网络列表。网络信息中包含组织信息,但仅包含该用户所在组织的信息。
|
|
42
28
|
*/
|
|
43
29
|
GetClusterListForUser(req: GetClusterListForUserRequest, cb?: (error: string, rep: GetClusterListForUserResponse) => void): Promise<GetClusterListForUserResponse>;
|
|
44
|
-
/**
|
|
45
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
46
|
-
|
|
47
|
-
Bcos分页查询当前群组下的区块列表
|
|
48
|
-
*/
|
|
49
|
-
GetBcosBlockList(req: GetBcosBlockListRequest, cb?: (error: string, rep: GetBcosBlockListResponse) => void): Promise<GetBcosBlockListResponse>;
|
|
50
30
|
/**
|
|
51
31
|
* 调用长安链合约查询
|
|
52
32
|
*/
|
|
@@ -67,12 +47,6 @@ Bcos分页查询当前群组下的区块列表
|
|
|
67
47
|
* 获取节点日志
|
|
68
48
|
*/
|
|
69
49
|
GetPeerLogForUser(req: GetPeerLogForUserRequest, cb?: (error: string, rep: GetPeerLogForUserResponse) => void): Promise<GetPeerLogForUserResponse>;
|
|
70
|
-
/**
|
|
71
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
72
|
-
|
|
73
|
-
动态部署并发布Bcos合约
|
|
74
|
-
*/
|
|
75
|
-
DeployDynamicBcosContract(req: DeployDynamicBcosContractRequest, cb?: (error: string, rep: DeployDynamicBcosContractResponse) => void): Promise<DeployDynamicBcosContractResponse>;
|
|
76
50
|
/**
|
|
77
51
|
* 获取fabric最新交易列表
|
|
78
52
|
*/
|
|
@@ -85,10 +59,6 @@ Bcos分页查询当前群组下的区块列表
|
|
|
85
59
|
* 创建并安装合约
|
|
86
60
|
*/
|
|
87
61
|
CreateChaincodeAndInstallForUser(req: CreateChaincodeAndInstallForUserRequest, cb?: (error: string, rep: CreateChaincodeAndInstallForUserResponse) => void): Promise<CreateChaincodeAndInstallForUserResponse>;
|
|
88
|
-
/**
|
|
89
|
-
* 通过交易ID查询长安链体验网络交易
|
|
90
|
-
*/
|
|
91
|
-
QueryChainMakerDemoTransaction(req: QueryChainMakerDemoTransactionRequest, cb?: (error: string, rep: QueryChainMakerDemoTransactionResponse) => void): Promise<QueryChainMakerDemoTransactionResponse>;
|
|
92
62
|
/**
|
|
93
63
|
* 获取最新交易列表(已废弃)
|
|
94
64
|
*/
|
|
@@ -133,12 +103,6 @@ Bcos分页查询当前群组下的区块列表
|
|
|
133
103
|
* trustsql服务统一接口
|
|
134
104
|
*/
|
|
135
105
|
SrvInvoke(req: SrvInvokeRequest, cb?: (error: string, rep: SrvInvokeResponse) => void): Promise<SrvInvokeResponse>;
|
|
136
|
-
/**
|
|
137
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
138
|
-
|
|
139
|
-
Bcos分页查询当前群组的交易信息列表
|
|
140
|
-
*/
|
|
141
|
-
GetBcosTransList(req: GetBcosTransListRequest, cb?: (error: string, rep: GetBcosTransListResponse) => void): Promise<GetBcosTransListResponse>;
|
|
142
106
|
/**
|
|
143
107
|
* 调用长安链体验网络合约执行交易
|
|
144
108
|
*/
|
|
@@ -27,28 +27,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("tbaas.tencentcloudapi.com", "2018-04-16", clientConfig);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
32
|
-
|
|
33
|
-
执行Bcos交易,支持动态部署的合约
|
|
34
|
-
*/
|
|
35
|
-
async InvokeBcosTrans(req, cb) {
|
|
36
|
-
return this.request("InvokeBcosTrans", req, cb);
|
|
37
|
-
}
|
|
38
30
|
/**
|
|
39
31
|
* 通过交易ID查询长安链交易
|
|
40
32
|
*/
|
|
41
33
|
async QueryChainMakerTransaction(req, cb) {
|
|
42
34
|
return this.request("QueryChainMakerTransaction", req, cb);
|
|
43
35
|
}
|
|
44
|
-
/**
|
|
45
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
46
|
-
|
|
47
|
-
使用块高查询Bcos区块信息
|
|
48
|
-
*/
|
|
49
|
-
async GetBcosBlockByNumber(req, cb) {
|
|
50
|
-
return this.request("GetBcosBlockByNumber", req, cb);
|
|
51
|
-
}
|
|
52
36
|
/**
|
|
53
37
|
* 批量申请长安链用户签名证书
|
|
54
38
|
*/
|
|
@@ -62,12 +46,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
62
46
|
return this.request("GetChaincodeLogForUser", req, cb);
|
|
63
47
|
}
|
|
64
48
|
/**
|
|
65
|
-
*
|
|
66
|
-
|
|
67
|
-
Bcos根据交易哈希查看交易详细信息
|
|
49
|
+
* 通过交易ID查询长安链体验网络交易
|
|
68
50
|
*/
|
|
69
|
-
async
|
|
70
|
-
return this.request("
|
|
51
|
+
async QueryChainMakerDemoTransaction(req, cb) {
|
|
52
|
+
return this.request("QueryChainMakerDemoTransaction", req, cb);
|
|
71
53
|
}
|
|
72
54
|
/**
|
|
73
55
|
* 获取该用户的网络列表。网络信息中包含组织信息,但仅包含该用户所在组织的信息。
|
|
@@ -75,14 +57,6 @@ Bcos根据交易哈希查看交易详细信息
|
|
|
75
57
|
async GetClusterListForUser(req, cb) {
|
|
76
58
|
return this.request("GetClusterListForUser", req, cb);
|
|
77
59
|
}
|
|
78
|
-
/**
|
|
79
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
80
|
-
|
|
81
|
-
Bcos分页查询当前群组下的区块列表
|
|
82
|
-
*/
|
|
83
|
-
async GetBcosBlockList(req, cb) {
|
|
84
|
-
return this.request("GetBcosBlockList", req, cb);
|
|
85
|
-
}
|
|
86
60
|
/**
|
|
87
61
|
* 调用长安链合约查询
|
|
88
62
|
*/
|
|
@@ -113,14 +87,6 @@ Bcos分页查询当前群组下的区块列表
|
|
|
113
87
|
async GetPeerLogForUser(req, cb) {
|
|
114
88
|
return this.request("GetPeerLogForUser", req, cb);
|
|
115
89
|
}
|
|
116
|
-
/**
|
|
117
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
118
|
-
|
|
119
|
-
动态部署并发布Bcos合约
|
|
120
|
-
*/
|
|
121
|
-
async DeployDynamicBcosContract(req, cb) {
|
|
122
|
-
return this.request("DeployDynamicBcosContract", req, cb);
|
|
123
|
-
}
|
|
124
90
|
/**
|
|
125
91
|
* 获取fabric最新交易列表
|
|
126
92
|
*/
|
|
@@ -139,12 +105,6 @@ Bcos分页查询当前群组下的区块列表
|
|
|
139
105
|
async CreateChaincodeAndInstallForUser(req, cb) {
|
|
140
106
|
return this.request("CreateChaincodeAndInstallForUser", req, cb);
|
|
141
107
|
}
|
|
142
|
-
/**
|
|
143
|
-
* 通过交易ID查询长安链体验网络交易
|
|
144
|
-
*/
|
|
145
|
-
async QueryChainMakerDemoTransaction(req, cb) {
|
|
146
|
-
return this.request("QueryChainMakerDemoTransaction", req, cb);
|
|
147
|
-
}
|
|
148
108
|
/**
|
|
149
109
|
* 获取最新交易列表(已废弃)
|
|
150
110
|
*/
|
|
@@ -211,14 +171,6 @@ Bcos分页查询当前群组下的区块列表
|
|
|
211
171
|
async SrvInvoke(req, cb) {
|
|
212
172
|
return this.request("SrvInvoke", req, cb);
|
|
213
173
|
}
|
|
214
|
-
/**
|
|
215
|
-
* Bcos区块链引擎已下线,请选用其他区块链引擎
|
|
216
|
-
|
|
217
|
-
Bcos分页查询当前群组的交易信息列表
|
|
218
|
-
*/
|
|
219
|
-
async GetBcosTransList(req, cb) {
|
|
220
|
-
return this.request("GetBcosTransList", req, cb);
|
|
221
|
-
}
|
|
222
174
|
/**
|
|
223
175
|
* 调用长安链体验网络合约执行交易
|
|
224
176
|
*/
|