Skip to content

Commit 2b45c3c

Browse files
committed
Release Aspose.Cells Cloud SDK 20.11
1 parent a08cf78 commit 2b45c3c

File tree

211 files changed

+794
-893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+794
-893
lines changed

Examples/CellsWorkbook_PostImportDataRequest.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
const { CellsWorkbookApi, CellsWorkbook_PostImportDataRequest,ImportIntArrayOption } = require("asposecellscloud");
22

3-
AppSid = "78946fb4-3bd4-4d3e-b309-f9e2ff9ac6f9"
4-
AppKey = "b125f13bf6b76ed81ee990142d841195"
5-
6-
cellsWorkbookApi = new CellsWorkbookApi(AppSid, AppKey);
3+
const clientId = process.env.CellsCloudTestClientId;
4+
const clientSecret = process.env.CellsCloudTestClientSecret;
5+
cellsApi = new CellsApi(clientId, clientSecret);
76
filename = "Book1.xlsx"
87

98

@@ -19,7 +18,7 @@ data.isVertical = true;
1918
data.data = [ 1, 2, 3, 4 ];
2019
req.importdata = data;
2120

22-
return cellsWorkbookApi.cellsWorkbookPostImportData(req)
21+
return cellsApi.cellsWorkbookPostImportData(req)
2322
.then((result) => {
2423
console.log(result)
2524
});

Examples/cellsAutoFilterDeleteWorksheetDateFilter.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { CellsAutoFilterApi, CellsAutoFilter_DeleteWorksheetDateFilterRequest } = require("asposecellscloud");
22

3-
AppSid = "78946fb4-3bd4-4d3e-b309-f9e2ff9ac6f9"
4-
AppKey = "b125f13bf6b76ed81ee990142d841195"
5-
cellsApi = new CellsAutoFilterApi(AppSid, AppKey);
3+
const clientId = process.env.CellsCloudTestClientId;
4+
const clientSecret = process.env.CellsCloudTestClientSecret;
5+
cellsApi = new CellsApi(clientId, clientSecret);
66
filename = "Book1.xlsx"
77

88
var req = new CellsAutoFilter_DeleteWorksheetDateFilterRequest();
@@ -18,7 +18,7 @@ req.minute = 1;
1818
req.second = 1;
1919
req.folder = "";
2020

21-
return cellsAutoFilterApi.cellsAutoFilterDeleteWorksheetDateFilter(req)
21+
return cellsApi.cellsAutoFilterDeleteWorksheetDateFilter(req)
2222
.then((result) => {
2323
console.log(result)
2424
});
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { CellsAutoFilterApi, CellsAutoFilter_DeleteWorksheetFilterRequest } = require("asposecellscloud");
22

3-
AppSid = "78946fb4-3bd4-4d3e-b309-f9e2ff9ac6f9"
4-
AppKey = "b125f13bf6b76ed81ee990142d841195"
5-
cellsApi = new CellsAutoFilterApi(AppSid, AppKey);
3+
const clientId = process.env.CellsCloudTestClientId;
4+
const clientSecret = process.env.CellsCloudTestClientSecret;
5+
cellsApi = new CellsApi(clientId, clientSecret);
66
filename = "Book1.xlsx"
77

88

@@ -13,7 +13,7 @@ req.fieldIndex = 1;
1313
req.criteria = "test";
1414
req.folder = "";
1515

16-
return cellsAutoFilterApi.cellsAutoFilterDeleteWorksheetFilter(req)
16+
return cellsApi.cellsAutoFilterDeleteWorksheetFilter(req)
1717
.then((result) => {
1818
console.log(result)
1919
});
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { CellsAutoFilterApi, CellsAutoFilter_GetWorksheetAutoFilterRequest } = require("asposecellscloud");
22

3-
AppSid = "78946fb4-3bd4-4d3e-b309-f9e2ff9ac6f9"
4-
AppKey = "b125f13bf6b76ed81ee990142d841195"
5-
cellsApi = new CellsAutoFilterApi(AppSid, AppKey);
3+
const clientId = process.env.CellsCloudTestClientId;
4+
const clientSecret = process.env.CellsCloudTestClientSecret;
5+
cellsApi = new CellsApi(clientId, clientSecret);
66
filename = "Book1.xlsx"
77

88

@@ -11,7 +11,7 @@ req.name = filename;
1111
req.sheetName = "Sheet1";
1212
req.folder = "";
1313

14-
return cellsAutoFilterApi.cellsAutoFilterGetWorksheetAutoFilter(req)
14+
return cellsApi.cellsAutoFilterGetWorksheetAutoFilter(req)
1515
.then((result) => {
1616
console.log(result)
1717
});
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { CellsAutoFilterApi, CellsAutoFilter_PostWorksheetAutoFilterRefreshRequest } = require("asposecellscloud");
22

3-
AppSid = "78946fb4-3bd4-4d3e-b309-f9e2ff9ac6f9"
4-
AppKey = "b125f13bf6b76ed81ee990142d841195"
5-
cellsApi = new CellsAutoFilterApi(AppSid, AppKey);
3+
const clientId = process.env.CellsCloudTestClientId;
4+
const clientSecret = process.env.CellsCloudTestClientSecret;
5+
cellsApi = new CellsApi(clientId, clientSecret);
66
filename = "Book1.xlsx"
77

88

@@ -11,7 +11,7 @@ req.name = filename;
1111
req.sheetName = "Sheet1";
1212
req.folder = "";
1313

14-
return cellsAutoFilterApi.cellsAutoFilterPostWorksheetAutoFilterRefresh(req)
14+
return cellsApi.cellsAutoFilterPostWorksheetAutoFilterRefresh(req)
1515
.then((result) => {
1616
console.log(result)
1717
});
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { CellsAutoFilterApi, CellsAutoFilter_PostWorksheetMatchBlanksRequest } = require("asposecellscloud");
22

3-
AppSid = "78946fb4-3bd4-4d3e-b309-f9e2ff9ac6f9"
4-
AppKey = "b125f13bf6b76ed81ee990142d841195"
5-
cellsApi = new CellsAutoFilterApi(AppSid, AppKey);
3+
const clientId = process.env.CellsCloudTestClientId;
4+
const clientSecret = process.env.CellsCloudTestClientSecret;
5+
cellsApi = new CellsApi(clientId, clientSecret);
66
filename = "Book1.xlsx"
77

88

@@ -12,7 +12,7 @@ req.sheetName = "Sheet1";
1212
req.fieldIndex = 0;
1313
req.folder = "";
1414

15-
return cellsAutoFilterApi.cellsAutoFilterPostWorksheetMatchBlanks(req)
15+
return cellsApi.cellsAutoFilterPostWorksheetMatchBlanks(req)
1616
.then((result) => {
1717
console.log(result)
1818
});
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { CellsAutoFilterApi, CellsAutoFilter_PostWorksheetMatchNonBlanksRequest } = require("asposecellscloud");
22

3-
AppSid = "78946fb4-3bd4-4d3e-b309-f9e2ff9ac6f9"
4-
AppKey = "b125f13bf6b76ed81ee990142d841195"
5-
cellsApi = new CellsAutoFilterApi(AppSid, AppKey);
3+
const clientId = process.env.CellsCloudTestClientId;
4+
const clientSecret = process.env.CellsCloudTestClientSecret;
5+
cellsApi = new CellsApi(clientId, clientSecret);
66
filename = "Book1.xlsx"
77

88

@@ -13,7 +13,7 @@ req.sheetName = "Sheet1";
1313
req.fieldIndex = 0;
1414
req.folder = "";
1515

16-
return cellsAutoFilterApi.cellsAutoFilterPostWorksheetMatchNonBlanks(req)
16+
return cellsApi.cellsAutoFilterPostWorksheetMatchNonBlanks(req)
1717
.then((result) => {
1818
console.log(result)
1919
});

Examples/cellsAutoFilterPutWorksheetColorFilter.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { CellsAutoFilterApi, CellsAutoFilter_PutWorksheetColorFilterRequest,ColorFilterRequest,CellsColor } = require("asposecellscloud");
22

3-
AppSid = "78946fb4-3bd4-4d3e-b309-f9e2ff9ac6f9"
4-
AppKey = "b125f13bf6b76ed81ee990142d841195"
5-
cellsApi = new CellsAutoFilterApi(AppSid, AppKey);
3+
const clientId = process.env.CellsCloudTestClientId;
4+
const clientSecret = process.env.CellsCloudTestClientSecret;
5+
cellsApi = new CellsApi(clientId, clientSecret);
66
filename = "Book1.xlsx"
77

88

@@ -24,7 +24,7 @@ colorFilter.pattern = "Solid";
2424
req.matchBlanks = true;
2525
req.refresh = true;
2626

27-
return cellsAutoFilterApi.cellsAutoFilterPutWorksheetColorFilter(req)
27+
return cellsApi.cellsAutoFilterPutWorksheetColorFilter(req)
2828
.then((result) => {
2929
console.log(result)
3030
});

Examples/cellsAutoFilterPutWorksheetCustomFilter.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { CellsAutoFilterApi, CellsAutoFilter_PutWorksheetCustomFilterRequest, ColorFilterRequest, CellsColor } = require("asposecellscloud");
22

3-
AppSid = "78946fb4-3bd4-4d3e-b309-f9e2ff9ac6f9"
4-
AppKey = "b125f13bf6b76ed81ee990142d841195"
5-
cellsApi = new CellsAutoFilterApi(AppSid, AppKey);
3+
const clientId = process.env.CellsCloudTestClientId;
4+
const clientSecret = process.env.CellsCloudTestClientSecret;
5+
cellsApi = new CellsApi(clientId, clientSecret);
66
filename = "Book1.xlsx"
77

88

@@ -20,7 +20,7 @@ req.criteria2 = "test";
2020
req.matchBlanks = true;
2121
req.refresh = false;
2222

23-
cellsAutoFilterApi.cellsAutoFilterPutWorksheetCustomFilter(req)
23+
cellsApi.cellsAutoFilterPutWorksheetCustomFilter(req)
2424
.then((result) => {
2525
console.log(result)
2626
});

Examples/cellsAutoFilterPutWorksheetDateFilter.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const { CellsAutoFilterApi, CellsAutoFilter_PutWorksheetCustomFilterRequest} = require("asposecellscloud");
22

3-
AppSid = "78946fb4-3bd4-4d3e-b309-f9e2ff9ac6f9"
4-
AppKey = "b125f13bf6b76ed81ee990142d841195"
5-
cellsApi = new CellsAutoFilterApi(AppSid, AppKey);
3+
const clientId = process.env.CellsCloudTestClientId;
4+
const clientSecret = process.env.CellsCloudTestClientSecret;
5+
cellsApi = new CellsApi(clientId, clientSecret);
66
filename = "Book1.xlsx"
77

88

@@ -22,7 +22,7 @@ req.matchBlanks = true;
2222
req.refresh = true;
2323
req.folder = "";
2424

25-
cellsAutoFilterApi.cellsAutoFilterPutWorksheetDateFilter(req)
25+
cellsApi.cellsAutoFilterPutWorksheetDateFilter(req)
2626
.then((result) => {
2727
console.log(result)
2828
});

0 commit comments

Comments
 (0)