tencentcloud-sdk-nodejs 4.0.580 → 4.0.581
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 +78 -0
- package/SERVICE_CHANGELOG.md +96 -250
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +2 -2
- package/src/services/cfs/v20190719/cfs_client.ts +72 -5
- package/src/services/cfs/v20190719/cfs_models.ts +461 -59
- package/src/services/ess/v20201111/ess_models.ts +13 -8
- package/src/services/faceid/v20180301/faceid_models.ts +34 -3
- package/src/services/ms/v20180408/ms_client.ts +4 -2
- package/src/services/trp/v20210515/trp_client.ts +12 -0
- package/src/services/trp/v20210515/trp_models.ts +30 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +2 -2
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +26 -1
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +35 -0
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +391 -51
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +13 -8
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +34 -5
- package/tencentcloud/services/ms/v20180408/ms_client.d.ts +3 -1
- package/tencentcloud/services/ms/v20180408/ms_client.js +3 -1
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +5 -1
- package/tencentcloud/services/trp/v20210515/trp_client.js +6 -0
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +26 -0
- package/test/cfs.v20190719.test.js +50 -0
- package/test/trp.v20210515.test.js +10 -0
|
@@ -166,6 +166,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
166
166
|
async CreateCustomPack(req, cb) {
|
|
167
167
|
return this.request("CreateCustomPack", req, cb);
|
|
168
168
|
}
|
|
169
|
+
/**
|
|
170
|
+
* 查询溯源ID查溯源信息,通常溯源信息跟生产批次绑定,即一个批次的所有溯源信息都是一样的
|
|
171
|
+
*/
|
|
172
|
+
async DescribeTraceDataById(req, cb) {
|
|
173
|
+
return this.request("DescribeTraceDataById", req, cb);
|
|
174
|
+
}
|
|
169
175
|
/**
|
|
170
176
|
* 以订单方式新建企业信息/配额信息
|
|
171
177
|
*/
|
|
@@ -1761,6 +1761,19 @@ export interface DescribeMerchantByIdResponse {
|
|
|
1761
1761
|
*/
|
|
1762
1762
|
RequestId?: string;
|
|
1763
1763
|
}
|
|
1764
|
+
/**
|
|
1765
|
+
* DescribeTraceDataById返回参数结构体
|
|
1766
|
+
*/
|
|
1767
|
+
export interface DescribeTraceDataByIdResponse {
|
|
1768
|
+
/**
|
|
1769
|
+
* 无
|
|
1770
|
+
*/
|
|
1771
|
+
TraceData: TraceData;
|
|
1772
|
+
/**
|
|
1773
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1774
|
+
*/
|
|
1775
|
+
RequestId?: string;
|
|
1776
|
+
}
|
|
1764
1777
|
/**
|
|
1765
1778
|
* 码类型
|
|
1766
1779
|
*/
|
|
@@ -2158,6 +2171,19 @@ export interface ModifyTraceCodeUnlinkResponse {
|
|
|
2158
2171
|
*/
|
|
2159
2172
|
RequestId?: string;
|
|
2160
2173
|
}
|
|
2174
|
+
/**
|
|
2175
|
+
* DescribeTraceDataById请求参数结构体
|
|
2176
|
+
*/
|
|
2177
|
+
export interface DescribeTraceDataByIdRequest {
|
|
2178
|
+
/**
|
|
2179
|
+
* 溯源ID
|
|
2180
|
+
*/
|
|
2181
|
+
Id: string;
|
|
2182
|
+
/**
|
|
2183
|
+
* 企业ID
|
|
2184
|
+
*/
|
|
2185
|
+
CorpId?: number;
|
|
2186
|
+
}
|
|
2161
2187
|
/**
|
|
2162
2188
|
* 商户信息
|
|
2163
2189
|
*/
|
|
@@ -128,6 +128,26 @@ it("cfs.v20190719.DescribeCfsServiceStatus", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("cfs.v20190719.StopMigrationTask", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.StopMigrationTask({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
it("cfs.v20190719.DescribeMigrationTasks", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DescribeMigrationTasks({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
131
151
|
it("cfs.v20190719.DescribeAvailableZoneInfo", async function () {
|
|
132
152
|
try {
|
|
133
153
|
const data = await client.DescribeAvailableZoneInfo({})
|
|
@@ -148,6 +168,16 @@ it("cfs.v20190719.UpdateCfsFileSystemName", async function () {
|
|
|
148
168
|
}
|
|
149
169
|
})
|
|
150
170
|
|
|
171
|
+
it("cfs.v20190719.DeleteMigrationTask", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeleteMigrationTask({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
151
181
|
it("cfs.v20190719.UpdateCfsFileSystemSizeLimit", async function () {
|
|
152
182
|
try {
|
|
153
183
|
const data = await client.UpdateCfsFileSystemSizeLimit({})
|
|
@@ -268,6 +298,26 @@ it("cfs.v20190719.DeleteCfsRule", async function () {
|
|
|
268
298
|
}
|
|
269
299
|
})
|
|
270
300
|
|
|
301
|
+
it("cfs.v20190719.DescribeBucketList", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.DescribeBucketList({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
it("cfs.v20190719.CreateMigrationTask", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.CreateMigrationTask({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
271
321
|
it("cfs.v20190719.DeleteMountTarget", async function () {
|
|
272
322
|
try {
|
|
273
323
|
const data = await client.DeleteMountTarget({})
|
|
@@ -248,6 +248,16 @@ it("trp.v20210515.CreateCustomPack", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
+
it("trp.v20210515.DescribeTraceDataById", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeTraceDataById({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
251
261
|
it("trp.v20210515.CreateCorporationOrder", async function () {
|
|
252
262
|
try {
|
|
253
263
|
const data = await client.CreateCorporationOrder({})
|