Skip to content

Commit 28ef61f

Browse files
committed
20220622 update : update apis.
1 parent ccb9886 commit 28ef61f

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

api_cells.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14686,6 +14686,7 @@ type CellsSaveAsPostDocumentSaveAsOpts struct {
1468614686
StorageName string
1468714687
OutStorageName string
1468814688
ExtendedQueryParameters map[string]string
14689+
checkExcelRestriction bool
1468914690
}
1469014691

1469114692
func (a *CellsApiService) CellsSaveAsPostDocumentSaveAs(localVarOptionals *CellsSaveAsPostDocumentSaveAsOpts) (SaveResponse, *http.Response, error) {
@@ -14723,6 +14724,9 @@ func (a *CellsApiService) CellsSaveAsPostDocumentSaveAs(localVarOptionals *Cells
1472314724
if localVarOptionals != nil {
1472414725
localVarQueryParams.Add("outStorageName", parameterToString(localVarOptionals.OutStorageName, ""))
1472514726
}
14727+
if localVarOptionals != nil {
14728+
localVarQueryParams.Add("checkExcelRestriction", parameterToString(localVarOptionals.checkExcelRestriction, ""))
14729+
}
1472614730
if localVarOptionals != nil {
1472714731
if localVarOptionals.ExtendedQueryParameters != nil {
1472814732
for name, value := range localVarOptionals.ExtendedQueryParameters {

api_light_cells.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ LightCellsApiService
290290

291291
type PostClearObjectsOpts struct {
292292
Objecttype string
293+
Sheetname string
294+
OutFormat string
293295
}
294296

295297
func (a *LightCellsApiService) PostClearObjects(file map[string]string, localVarOptionals *PostClearObjectsOpts) (FilesResult, *http.Response, error) {
@@ -309,6 +311,13 @@ func (a *LightCellsApiService) PostClearObjects(file map[string]string, localVar
309311
localVarFormParams := url.Values{}
310312

311313
localVarQueryParams.Add("objecttype", parameterToString(localVarOptionals.Objecttype, ""))
314+
315+
if len(localVarOptionals.OutFormat) > 0 {
316+
localVarQueryParams.Add("sheetname", parameterToString(localVarOptionals.Sheetname, ""))
317+
}
318+
if len(localVarOptionals.OutFormat) > 0 {
319+
localVarQueryParams.Add("outFormat", parameterToString(localVarOptionals.OutFormat, ""))
320+
}
312321
// to determine the Content-Type header
313322
localVarHttpContentTypes := []string{"multipart/form-data"}
314323

0 commit comments

Comments
 (0)