You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/api.ts
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,6 @@ export class CellsApi {
69
69
}
70
70
71
71
/// <summary>
72
-
/// The Math Calculate API enables you to perform a variety of mathematical operations on a selected range of cells. You can add or subtract a specific number from all selected cells, as well as multiply or divide individual cells and entire columns. This API simplifies complex calculations and enhances data manipulation capabilities.
Copy file name to clipboardExpand all lines: src/model/model.ts
+3-101Lines changed: 3 additions & 101 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
import request from "request";
2
2
import { Configuration } from "../internal/configuration";
3
-
import { ObjectSerializer } from "../internal/objectSerializer";
4
3
import { addQueryParameterToUrl } from "../internal/requestHelper";
4
+
import { ObjectSerializer } from "../internal/objectSerializer";
5
5
const fs = require('fs');
6
6
const path = require('path');
7
7
@@ -22620,7 +22620,7 @@ const typeMap = {
22620
22620
WorksheetDataStatistics,
22621
22621
};
22622
22622
22623
-
export {enumsMap, typeMap};
22623
+
export {enumsMap, typeMap};
22624
22624
22625
22625
/// The Aggregate by Color API provides a convenient way to perform calculations on cells that share the same fill or font color. This API supports a range of aggregate operations, including count, sum, maximum value, minimum value, and average value, enabling you to analyze and summarize data based on color distinctions.
22626
22626
export class AggregateCellsByColorRequest {
@@ -22636,7 +22636,6 @@ export class AggregateCellsByColorRequest {
22636
22636
public colorPosition: string;
22637
22637
/// The spreadsheet region setting.
22638
22638
public region: string;
22639
-
22640
22639
/// The password for opening spreadsheet file.
22641
22640
public password: string;
22642
22641
/// extend query parameter
@@ -22692,7 +22691,7 @@ export class AggregateCellsByColorRequest {
22692
22691
}
22693
22692
22694
22693
}
22695
-
/// The Math Calculate API enables you to perform a variety of mathematical operations on a selected range of cells. You can add or subtract a specific number from all selected cells, as well as multiply or divide individual cells and entire columns. This API simplifies complex calculations and enhances data manipulation capabilities.
22694
+
22696
22695
export class MathCalculateRequest {
22697
22696
/// Upload spreadsheet file.
22698
22697
public spreadsheet: any;
@@ -22735,7 +22734,6 @@ export class MathCalculateRequest {
@@ -25008,7 +25006,6 @@ export class SplitRemoteSpreadsheetRequest {
25008
25006
25009
25007
}
25010
25008
/// Import data into a spreadsheet from a supported data file format.
25011
-
25012
25009
export class ImportDataIntoSpreadsheetRequest {
25013
25010
/// Upload data file.
25014
25011
public datafile: any;
@@ -27013,101 +27010,6 @@ export class SwapRangeRequest {
27013
27010
}
27014
27011
27015
27012
27016
-
// const bodyParameter = null;
27017
-
27018
-
const requestOptions: request.Options = {
27019
-
method: "PUT",
27020
-
qs: queryParameters,
27021
-
uri: localVarPath,
27022
-
json: true,
27023
-
};
27024
-
27025
-
(requestOptions as any).formData = formParams;
27026
-
return Promise.resolve(requestOptions);
27027
-
27028
-
}
27029
-
27030
-
}
27031
-
/// The Swap Ranges for Excel API provides a powerful tool to move any two columns, rows, ranges, or individual cells within an Excel file. This API allows users to re-arrange their tables quickly and efficiently, ensuring that the original data formatting is preserved and all existing formulas continue to function correctly. By leveraging this API, users can streamline their data manipulation tasks and maintain the integrity of their spreadsheets.
27032
-
export class SawpRangeRequest {
27033
-
/// Upload spreadsheet file.
27034
-
public spreadsheet: any;
27035
-
27036
-
public worksheet1: string;
27037
-
27038
-
public range1: string;
27039
-
27040
-
public worksheet2: string;
27041
-
27042
-
public range2: string;
27043
-
/// (Optional) The folder path where the workbook is stored. The default is null.
27044
-
public outPath: string;
27045
-
/// Output file Storage Name.
27046
-
public outStorageName: string;
27047
-
/// The spreadsheet region setting.
27048
-
public regoin: string;
27049
-
/// The password for opening spreadsheet file.
27050
-
public password: string;
27051
-
/// extend query parameter
27052
-
public extendQueryParameterMap: any;
27053
-
27054
-
public constructor(init?: Partial< SawpRangeRequest >) {
27055
-
Object.assign(this, init);
27056
-
}
27057
-
27058
-
public async createRequestOptions(configuration: Configuration) : Promise<request.Options> {
27059
-
27060
-
let localVarPath = configuration.getApiBaseUrl() + "v4.0/cells/swap/range";
27061
-
const queryParameters: any = {};
27062
-
const formParams: any = {};
27063
-
27064
-
// verify required parameter 'worksheet1' is not null or undefined
27065
-
if (this.worksheet1 === null || this.worksheet1 === undefined) {
27066
-
throw new Error('Required parameter "worksheet1" was null or undefined when calling SawpRange.');
27067
-
}
27068
-
27069
-
// verify required parameter 'range1' is not null or undefined
27070
-
if (this.range1 === null || this.range1 === undefined) {
27071
-
throw new Error('Required parameter "range1" was null or undefined when calling SawpRange.');
27072
-
}
27073
-
27074
-
// verify required parameter 'worksheet2' is not null or undefined
27075
-
if (this.worksheet2 === null || this.worksheet2 === undefined) {
27076
-
throw new Error('Required parameter "worksheet2" was null or undefined when calling SawpRange.');
27077
-
}
27078
-
27079
-
// verify required parameter 'range2' is not null or undefined
27080
-
if (this.range2 === null || this.range2 === undefined) {
27081
-
throw new Error('Required parameter "range2" was null or undefined when calling SawpRange.');
0 commit comments