Skip to content

Commit e448803

Browse files
committed
Release Aspose.Cells Cloud SDK 24.6.0
1 parent 0727704 commit e448803

24 files changed

+1567
-1441
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
var fs = require('fs');
2+
var path = require('path');
3+
const _ = require('asposecellscloud');
4+
5+
const cellsApi = new CellsApi(process.env.CellsCloudClientId, process.env.CellsCloudClientSecret,"v3.0",process.env.CellsCloudApiBaseUrl);
6+
7+
var remoteFolder = "TestData/In"
8+
9+
var localName = "BookTableL2W.xlsx"
10+
var remoteName = "BookTableL2W.xlsx"
11+
12+
var localNameRequest = new model.UploadFileRequest();
13+
localNameRequest.uploadFiles ={localName:fs.createReadStream(localPath + localName)};
14+
localNameRequest.path = remoteFolder + "/" + remoteName ;
15+
localNameRequest.storageName ="";
16+
cellsApi.uploadFile(localNameRequest );
17+
18+
var dataTransformationRequestLoadDataLoadTo = new model.LoadTo();
19+
dataTransformationRequestLoadDataLoadTo.beginColumnIndex = 2 ;
20+
dataTransformationRequestLoadDataLoadTo.beginRowIndex = 3 ;
21+
dataTransformationRequestLoadDataLoadTo.worksheet = "L2W" ;
22+
var dataTransformationRequestLoadDataDataQueryDataItem = new model.DataItem();
23+
dataTransformationRequestLoadDataDataQueryDataItem.dataItemType = "Table" ;
24+
dataTransformationRequestLoadDataDataQueryDataItem.value = "Table1" ;
25+
var dataTransformationRequestLoadDataDataQueryDataSource = new model.DataSource();
26+
dataTransformationRequestLoadDataDataQueryDataSource.dataSourceType = "CloudFileSystem" ;
27+
dataTransformationRequestLoadDataDataQueryDataSource.dataPath = "BookTableL2W.xlsx" ;
28+
var dataTransformationRequestLoadDataDataQuery = new model.DataQuery();
29+
dataTransformationRequestLoadDataDataQuery.name = "DataQuery" ;
30+
dataTransformationRequestLoadDataDataQuery.dataItem = dataTransformationRequestLoadDataDataQueryDataItem ;
31+
dataTransformationRequestLoadDataDataQuery.dataSource = dataTransformationRequestLoadDataDataQueryDataSource ;
32+
dataTransformationRequestLoadDataDataQuery.dataSourceDataType = "ListObject" ;
33+
var dataTransformationRequestLoadData = new model.LoadData();
34+
dataTransformationRequestLoadData.loadTo = dataTransformationRequestLoadDataLoadTo ;
35+
dataTransformationRequestLoadData.dataQuery = dataTransformationRequestLoadDataDataQuery ;
36+
var dataTransformationRequestAppliedStepsAppliedStep0AppliedOperateUnpivotColumnNames = new Array<string>();dataTransformationRequestAppliedStepsAppliedStep0AppliedOperateUnpivotColumnNames.push("2017");
37+
dataTransformationRequestAppliedStepsAppliedStep0AppliedOperateUnpivotColumnNames.push("2018");
38+
dataTransformationRequestAppliedStepsAppliedStep0AppliedOperateUnpivotColumnNames.push("2019");
39+
var dataTransformationRequestAppliedStepsAppliedStep0AppliedOperate = new model.UnpivotColumn();
40+
dataTransformationRequestAppliedStepsAppliedStep0AppliedOperate.appliedOperateType = "UnpivotColumn" ;
41+
dataTransformationRequestAppliedStepsAppliedStep0AppliedOperate.valueMapName = "Count" ;
42+
dataTransformationRequestAppliedStepsAppliedStep0AppliedOperate.columnMapName = "Date" ;
43+
dataTransformationRequestAppliedStepsAppliedStep0AppliedOperate.unpivotColumnNames = dataTransformationRequestAppliedStepsAppliedStep0AppliedOperateUnpivotColumnNames ;
44+
var dataTransformationRequestAppliedStepsAppliedStep0 = new model.AppliedStep();
45+
dataTransformationRequestAppliedStepsAppliedStep0.stepName = "UnpivotColumn" ;
46+
dataTransformationRequestAppliedStepsAppliedStep0.appliedOperate = dataTransformationRequestAppliedStepsAppliedStep0AppliedOperate ;
47+
var dataTransformationRequestAppliedSteps = new Array<model.AppliedStep>();dataTransformationRequestAppliedSteps.push(dataTransformationRequestAppliedStepsAppliedStep0);
48+
var dataTransformationRequest = new model.DataTransformationRequest();
49+
dataTransformationRequest.loadData = dataTransformationRequestLoadData ;
50+
dataTransformationRequest.appliedSteps = dataTransformationRequestAppliedSteps ;
51+
52+
var request = new model.PostDataTransformationRequest();
53+
return cellsApi.postDataTransformation(request).then((result) => {
54+
expect(result.response.statusCode).to.equal(200);
55+
});

Examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dependencies": {
55
"@types/jest": "^26.0.24",
66
"@types/request": "^2.48.7",
7-
"asposecellscloud": "24.5",
7+
"asposecellscloud": "24.6",
88
"axios": "^1.5.1",
99
"JSON": "^1.0.0",
1010
"mocha": "^10.2.0",

README.md

Lines changed: 9 additions & 4 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/24.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/24.6)
22

33
Node.js Cloud SDK wraps Aspose.Cells REST API so you could seamlessly integrate Microsoft Excel® document generation, manipulation, conversion & inspection features into your own Node.js applications.
44

@@ -20,12 +20,12 @@ We encourage you to dive into the Developer's Guide & API Reference for a compre
2020
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
2121
- Security Management: Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
2222

23-
## Feature & Enhancements in Version 24.5.0
23+
## Feature & Enhancements in Version 24.6
2424

2525
Full list of issues covering all changes in this release:
2626

27-
- Add merge queries method for loading data of data transformation.
28-
- Optimize chart data model.
27+
- Optimize the data conversion applied steps.
28+
- Optimize load data function of data transformation.
2929

3030

3131
## Support file format
@@ -116,6 +116,11 @@ describe('cellsWorkbookPutConvertWorkbook', function() {
116116

117117
## Enhancements in Version 24.4.0
118118

119+
- Add merge queries method for loading data of data transformation.
120+
- Optimize chart data model.
121+
122+
## Enhancements in Version 24.4.0
123+
119124
- Support data transformation function for Aspose.Cells Cloud Services.
120125

121126
## Enhancements in Version 24.3.1

TestData/BookTableL2W.xlsx

16.2 KB
Binary file not shown.

docs/model/abstract-calculation-monitor.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Monitor for user to track the progress of formula calculation.
66

77
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
88
| :- | :- | :- |:- | :- | :- |
9-
|OriginalValue|Class|true|false | |Gets the old value of the calculated cell. Should be used only in and . |
10-
|ValueChanged|Boolean|true|false | |Whether the cell's value has been changed after the calculation. Should be used only in . |
11-
|CalculatedValue|Class|true|false | |Gets the newly calculated value of the cell. Should be used only in . |
9+
|OriginalValue|Class|true|false | |Gets the old value of the calculated cell. Should be used only in and . |
10+
|ValueChanged|Boolean|true|false | |Whether the cell's value has been changed after the calculation. Should be used only in . |
11+
|CalculatedValue|Class|true|false | |Gets the newly calculated value of the cell. Should be used only in . |
1212

docs/model/query-data-source-data-type.md renamed to docs/model/applied-operate-type.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# **queryDataSourceDataType**
1+
# **appliedOperateType**
22

3-
3+
Operation type.
44

55
## **Properties**
66

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# **queryDataSource**
1+
# **appliedOperate**
22

3-
3+
A data operation that is used to obtain a query of data.
44

55
## **Properties**
66

77
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
88
| :- | :- | :- |:- | :- | :- |
9-
|DataSourceDataType|String|true|false | ||
10-
|DataFile|Class|true|false | ||
11-
|DataSource|String|true|false | ||
9+
|AppliedOperateType|String|true|false | ||
1210

docs/model/applied-step.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# **appliedStep**
2+
3+
Each data manipulation step that is performed when you get the query data.
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
|StepName|String|true|false | |Data manipulation step name.|
10+
|AppliedOperate|Class|true|false | |Data manipulation name.|
11+

docs/model/data-query.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# **dataQuery**
2+
3+
Data query.
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
|Name|String|true|false | |Define a name for data query. Unique identification.|
10+
|DataSourceDataType|String|true|false | |The specific data object type. When the value is File, DataItem is invalid.|
11+
|DataSource|Class|true|false | |Indicates the source of the mount data.|
12+
|FileInfo|Class|true|false | |When data souce is request files, FileInfo store the contents of the file.|
13+
|DataItem|Class|true|false | |The specific data object type and name.|
14+
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# **dataTransformationRequest**
22

3-
3+
Data Transformation Request
44

55
## **Properties**
66

77
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
88
| :- | :- | :- |:- | :- | :- |
9-
|FileInfo|Class|true|false | ||
10-
|Transformation|Class|true|false | ||
11-
|LoadData|Class|true|false | ||
9+
|FileInfo|Class|true|false | |Indicates the source of the mount data.|
10+
|DataSource|Class|true|false | |Indicates the source of the mount data.|
11+
|LoadData|Class|true|false | |Indicates load data.|
12+
|AppliedSteps|Container|true|false | |Indicates applied step list. |
1213
|Region|String|true|false | ||
13-
|OutFormat|String|true|false | ||
14+
|OutFormat|String|true|false | |Indicates output format |
1415

0 commit comments

Comments
 (0)