tencentcloud-sdk-nodejs 4.0.364 → 4.0.365
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 +21 -0
- package/SERVICE_CHANGELOG.md +33 -225
- package/package.json +1 -1
- package/products.md +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/tbaas/v20180416/tbaas_client.ts +111 -63
- package/src/services/tbaas/v20180416/tbaas_models.ts +1199 -1014
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +17 -1
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +24 -0
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +1160 -1003
- package/test/tbaas.v20180416.test.js +40 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.365";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { QueryChainMakerDemoBlockTransactionResponse, QueryChainMakerBlockTransactionRequest, GetBlockTransactionListForUserResponse, ApplyUserCertResponse, GetInvokeTxRequest, DownloadUserCertResponse, GetTransactionDetailForUserRequest, GetBcosBlockListRequest, InvokeChainMakerContractResponse, DeployDynamicContractHandlerRequest, QueryChainMakerTransactionResponse, GetBcosBlockByNumberResponse, GetClusterListForUserRequest, InitializeChaincodeForUserResponse, QueryChainMakerDemoBlockTransactionRequest, SendTransactionHandlerRequest, GetChannelListForUserResponse, InvokeChainMakerContractRequest, BlockByNumberHandlerRequest, CreateChaincodeAndInstallForUserResponse, QueryChainMakerContractRequest, DeployDynamicBcosContractResponse, GetLatesdTransactionListRequest, GetChaincodeLogForUserRequest, InvokeChainMakerDemoContractRequest, GetTransByHashHandlerResponse, GetBcosTransByHashResponse, GetChaincodeCompileLogForUserResponse, GetClusterSummaryResponse, GetChaincodeLogForUserResponse, InvokeBcosTransResponse, InitializeChaincodeForUserRequest, GetChannelListForUserRequest, GetBlockListRequest, GetPeerLogForUserResponse, GetTransListHandlerRequest, DeployDynamicBcosContractRequest, QueryRequest, GetClusterListForUserResponse, GetTransListHandlerResponse, GetTransactionDetailForUserResponse, InvokeResponse, InvokeRequest, GetBlockListResponse, SrvInvokeRequest, BlockByNumberHandlerResponse, SrvInvokeResponse, GetLatesdTransactionListResponse, GetChaincodeInitializeResultForUserResponse, TransByDynamicContractHandlerResponse, InvokeBcosTransRequest, QueryChainMakerDemoContractResponse, GetInvokeTxResponse, GetBlockListHandlerResponse, QueryChainMakerContractResponse, GetBcosTransByHashRequest, QueryChainMakerTransactionRequest, QueryChainMakerBlockTransactionResponse, InvokeChainMakerDemoContractResponse, GetTransByHashHandlerRequest, GetBcosTransListRequest, SendTransactionHandlerResponse, ApplyUserCertRequest, GetChaincodeInitializeResultForUserRequest, DeployDynamicContractHandlerResponse, GetChaincodeCompileLogForUserRequest, GetBcosBlockListResponse, TransByDynamicContractHandlerRequest, GetPeerLogForUserRequest, DownloadUserCertRequest, GetBlockTransactionListForUserRequest, CreateChaincodeAndInstallForUserRequest, QueryChainMakerDemoTransactionResponse, QueryChainMakerDemoTransactionRequest, QueryChainMakerDemoContractRequest, GetClusterSummaryRequest, GetBlockListHandlerRequest, GetBcosTransListResponse, QueryResponse, GetBcosBlockByNumberRequest } from "./tbaas_models";
|
|
4
4
|
/**
|
|
5
5
|
* tbaas client
|
|
6
6
|
* @class
|
|
@@ -97,6 +97,10 @@ Bcos根据交易哈希查看交易详细信息
|
|
|
97
97
|
Bcos根据块高查询区块信息
|
|
98
98
|
*/
|
|
99
99
|
BlockByNumberHandler(req: BlockByNumberHandlerRequest, cb?: (error: string, rep: BlockByNumberHandlerResponse) => void): Promise<BlockByNumberHandlerResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* 通过交易ID查询长安链体验网络交易
|
|
102
|
+
*/
|
|
103
|
+
QueryChainMakerDemoTransaction(req: QueryChainMakerDemoTransactionRequest, cb?: (error: string, rep: QueryChainMakerDemoTransactionResponse) => void): Promise<QueryChainMakerDemoTransactionResponse>;
|
|
100
104
|
/**
|
|
101
105
|
* Invoke异步调用结果查询
|
|
102
106
|
*/
|
|
@@ -117,6 +121,10 @@ Bcos根据块高查询区块信息
|
|
|
117
121
|
* 实例化合约
|
|
118
122
|
*/
|
|
119
123
|
InitializeChaincodeForUser(req: InitializeChaincodeForUserRequest, cb?: (error: string, rep: InitializeChaincodeForUserResponse) => void): Promise<InitializeChaincodeForUserResponse>;
|
|
124
|
+
/**
|
|
125
|
+
* 调用长安链体验网络合约查询
|
|
126
|
+
*/
|
|
127
|
+
QueryChainMakerDemoContract(req: QueryChainMakerDemoContractRequest, cb?: (error: string, rep: QueryChainMakerDemoContractResponse) => void): Promise<QueryChainMakerDemoContractResponse>;
|
|
120
128
|
/**
|
|
121
129
|
* 版本升级
|
|
122
130
|
|
|
@@ -143,6 +151,10 @@ Bcos根据块高查询区块信息
|
|
|
143
151
|
Bcos发送交易
|
|
144
152
|
*/
|
|
145
153
|
SendTransactionHandler(req: SendTransactionHandlerRequest, cb?: (error: string, rep: SendTransactionHandlerResponse) => void): Promise<SendTransactionHandlerResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* 调用长安链体验网络合约执行交易
|
|
156
|
+
*/
|
|
157
|
+
InvokeChainMakerDemoContract(req: InvokeChainMakerDemoContractRequest, cb?: (error: string, rep: InvokeChainMakerDemoContractResponse) => void): Promise<InvokeChainMakerDemoContractResponse>;
|
|
146
158
|
/**
|
|
147
159
|
* 获取合约编译日志
|
|
148
160
|
*/
|
|
@@ -159,6 +171,10 @@ Bcos发送交易
|
|
|
159
171
|
* 查询交易
|
|
160
172
|
*/
|
|
161
173
|
Query(req: QueryRequest, cb?: (error: string, rep: QueryResponse) => void): Promise<QueryResponse>;
|
|
174
|
+
/**
|
|
175
|
+
* 查询长安链体验网络指定高度区块的交易
|
|
176
|
+
*/
|
|
177
|
+
QueryChainMakerDemoBlockTransaction(req: QueryChainMakerDemoBlockTransactionRequest, cb?: (error: string, rep: QueryChainMakerDemoBlockTransactionResponse) => void): Promise<QueryChainMakerDemoBlockTransactionResponse>;
|
|
162
178
|
/**
|
|
163
179
|
* 版本升级
|
|
164
180
|
|
|
@@ -159,6 +159,12 @@ Bcos根据块高查询区块信息
|
|
|
159
159
|
async BlockByNumberHandler(req, cb) {
|
|
160
160
|
return this.request("BlockByNumberHandler", req, cb);
|
|
161
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* 通过交易ID查询长安链体验网络交易
|
|
164
|
+
*/
|
|
165
|
+
async QueryChainMakerDemoTransaction(req, cb) {
|
|
166
|
+
return this.request("QueryChainMakerDemoTransaction", req, cb);
|
|
167
|
+
}
|
|
162
168
|
/**
|
|
163
169
|
* Invoke异步调用结果查询
|
|
164
170
|
*/
|
|
@@ -189,6 +195,12 @@ Bcos根据块高查询区块信息
|
|
|
189
195
|
async InitializeChaincodeForUser(req, cb) {
|
|
190
196
|
return this.request("InitializeChaincodeForUser", req, cb);
|
|
191
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* 调用长安链体验网络合约查询
|
|
200
|
+
*/
|
|
201
|
+
async QueryChainMakerDemoContract(req, cb) {
|
|
202
|
+
return this.request("QueryChainMakerDemoContract", req, cb);
|
|
203
|
+
}
|
|
192
204
|
/**
|
|
193
205
|
* 版本升级
|
|
194
206
|
|
|
@@ -225,6 +237,12 @@ Bcos发送交易
|
|
|
225
237
|
async SendTransactionHandler(req, cb) {
|
|
226
238
|
return this.request("SendTransactionHandler", req, cb);
|
|
227
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* 调用长安链体验网络合约执行交易
|
|
242
|
+
*/
|
|
243
|
+
async InvokeChainMakerDemoContract(req, cb) {
|
|
244
|
+
return this.request("InvokeChainMakerDemoContract", req, cb);
|
|
245
|
+
}
|
|
228
246
|
/**
|
|
229
247
|
* 获取合约编译日志
|
|
230
248
|
*/
|
|
@@ -249,6 +267,12 @@ Bcos发送交易
|
|
|
249
267
|
async Query(req, cb) {
|
|
250
268
|
return this.request("Query", req, cb);
|
|
251
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* 查询长安链体验网络指定高度区块的交易
|
|
272
|
+
*/
|
|
273
|
+
async QueryChainMakerDemoBlockTransaction(req, cb) {
|
|
274
|
+
return this.request("QueryChainMakerDemoBlockTransaction", req, cb);
|
|
275
|
+
}
|
|
252
276
|
/**
|
|
253
277
|
* 版本升级
|
|
254
278
|
|