Skip to content

Commit b584a0b

Browse files
committed
Release Aspose.Cells Cloud SDK 23.6
1 parent 47e5b5a commit b584a0b

File tree

8 files changed

+5409
-2709
lines changed

8 files changed

+5409
-2709
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![npm](https://img.shields.io/npm/v/asposecellscloud) ![node-current](https://img.shields.io/node/v/asposecellscloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-node)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-node/23.5)
1+
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![npm](https://img.shields.io/npm/v/asposecellscloud) ![node-current](https://img.shields.io/node/v/asposecellscloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-node)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-node/23.6)
22

33
# Process Excel® Files in the Cloud with Node.js
44

@@ -20,9 +20,13 @@
2020
- Fetch the required shape from worksheet.
2121
- Leverage the power of named ranges.
2222

23-
## Feature & Enhancements in Version 23.5
23+
## Feature & Enhancements in Version 23.6
2424

25-
- Fix few method names for spelling error.
25+
- Support to batch lock multi-files.
26+
- Support to batch unlock multi-files.
27+
- Support to protect lock multi-files.
28+
- Support to split lock multi-files.
29+
- Fix put document property api.
2630

2731
## Read & Write Spreadsheet Formats
2832

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "asposecellscloud",
3-
"version": "23.5.0",
3+
"version": "23.6.0",
44
"description": "Aspose.Cells Cloud SDK for Node.js",
55
"keywords": [
66
"Aspose",
@@ -19,7 +19,7 @@
1919
"main": "dist/api.js",
2020
"types": "dist/api.d.ts",
2121
"scripts": {
22-
"test": "cross-env JUNIT_REPORT_PATH=integration_tests_result.xml mocha -r ts-node/register test/**/tests_light_cells.ts --timeout 250000 --reporter mocha-jenkins-reporter",
22+
"test": "cross-env JUNIT_REPORT_PATH=integration_tests_result.xml mocha -r ts-node/register test/**/tests_one.ts --timeout 250000 --reporter mocha-jenkins-reporter",
2323
"test-jenkins": "cross-env JUNIT_REPORT_PATH=reports/integration_tests_result.xml mocha -r ts-node/register test/**/*.ts --timeout 250000 --reporter mocha-jenkins-reporter",
2424
"lint": "tslint src/{,**/}*.ts test/{,**/}*.ts -t verbose --project ./tsconfig.json",
2525
"cucumber": "cucumber-js ./bdd/features -r ./dist/bdd/steps",

src/api.ts

Lines changed: 47 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,50 @@ export class CellsApi {
290290
const result = ObjectSerializer.deserialize(response.body, "Buffer");
291291
return Promise.resolve({body: result, response});
292292
}
293+
/// <summary>
294+
/// </summary>
295+
/// <param name="request">Request. <see cref="PostBatchProtectRequest" /></param>
296+
public async postBatchProtect(requestObj:model.PostBatchProtectRequest ): Promise<{response: http.ClientResponse, body: Buffer}>
297+
{
298+
if (requestObj === null || requestObj === undefined) {
299+
throw new Error('Required parameter "requestObj" was null or undefined when calling postBatchProtect.');
300+
}
301+
302+
const requestOptions = await requestObj.createRequestOptions(this.configuration);
303+
const response = await invokeApiMethod(requestOptions, this.configuration);
304+
const result = ObjectSerializer.deserialize(response.body, "Buffer");
305+
return Promise.resolve({body: result, response});
306+
}
307+
308+
/// <summary>
309+
/// </summary>
310+
/// <param name="request">Request. <see cref="PostBatchLockRequest" /></param>
311+
public async postBatchLock(requestObj:model.PostBatchLockRequest ): Promise<{response: http.ClientResponse, body: Buffer}>
312+
{
313+
if (requestObj === null || requestObj === undefined) {
314+
throw new Error('Required parameter "requestObj" was null or undefined when calling postBatchLock.');
315+
}
316+
317+
const requestOptions = await requestObj.createRequestOptions(this.configuration);
318+
const response = await invokeApiMethod(requestOptions, this.configuration);
319+
const result = ObjectSerializer.deserialize(response.body, "Buffer");
320+
return Promise.resolve({body: result, response});
321+
}
322+
323+
/// <summary>
324+
/// </summary>
325+
/// <param name="request">Request. <see cref="PostBatchUnlockRequest" /></param>
326+
public async postBatchUnlock(requestObj:model.PostBatchUnlockRequest ): Promise<{response: http.ClientResponse, body: Buffer}>
327+
{
328+
if (requestObj === null || requestObj === undefined) {
329+
throw new Error('Required parameter "requestObj" was null or undefined when calling postBatchUnlock.');
330+
}
331+
332+
const requestOptions = await requestObj.createRequestOptions(this.configuration);
333+
const response = await invokeApiMethod(requestOptions, this.configuration);
334+
const result = ObjectSerializer.deserialize(response.body, "Buffer");
335+
return Promise.resolve({body: result, response});
336+
}
293337

294338
/// <summary>
295339
/// </summary>
@@ -17894,11 +17938,6 @@ export class LightCellsApi {
1789417938
localVarPath = addQueryParameterToUrl(localVarPath, queryParameters, "format", requestObj.format);
1789517939
localVarPath = addQueryParameterToUrl(localVarPath, queryParameters, "checkExcelRestriction", requestObj.checkExcelRestriction);
1789617940

17897-
if (requestObj.extendedQueryParameters !== undefined) {
17898-
for (var key in requestObj.extendedQueryParameters) {
17899-
localVarPath = addQueryParameterToUrl(localVarPath, queryParameters, key, requestObj.extendedQueryParameters[key]);
17900-
}
17901-
}
1790217941

1790317942
if (requestObj.file !== undefined) {
1790417943
for (var key in requestObj.file) {
@@ -18034,7 +18073,7 @@ export class LightCellsApi {
1803418073
}
1803518074

1803618075
// verify required parameter 'requestObj.documentProperties' is not null or undefined
18037-
if (requestObj.documentProperties === null || requestObj.documentProperties === undefined) {
18076+
if (requestObj.cellsDocuments === null || requestObj.cellsDocuments === undefined) {
1803818077
throw new Error('Required parameter "requestObj.documentProperties" was null or undefined when calling postMetadata.');
1803918078
}
1804018079

@@ -18044,8 +18083,8 @@ export class LightCellsApi {
1804418083
for (var key in requestObj.file) {
1804518084
formParams[key] = requestObj.file[key];
1804618085
}
18047-
if ((requestObj.documentProperties !== null)) {
18048-
formParams["documentProperties"] = JSON.stringify(requestObj.documentProperties);
18086+
if ((requestObj.cellsDocuments !== null)) {
18087+
formParams["documentProperties"] = JSON.stringify(requestObj.cellsDocuments);
1804918088
}
1805018089
}
1805118090

src/internal/requestHelper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ async function invokeApiMethodInternal(requestOptions: request.Options, confgura
9090
if (!requestOptions.headers) {
9191
requestOptions.headers = {};
9292
}
93-
// requestOptions.proxy="http://localhost:11141";
93+
// requestOptions.proxy="http://localhost:8888";
9494
// requestOptions.rejectUnauthorized=false;
9595

9696
requestOptions.headers["x-aspose-client"] = "nodejs sdk";
97-
requestOptions.headers["x-aspose-client-version"] = "23.3.0";
97+
requestOptions.headers["x-aspose-client-version"] = "23.6.0";
9898
requestOptions.headers["Content-Type"] = "application/json";
9999
const auth = confguration.authentication;
100100
if (!notApplyAuthToRequest) {

0 commit comments

Comments
 (0)