Skip to content

Commit 16fa78a

Browse files
committed
20220622 update : update apis.
1 parent 0339028 commit 16fa78a

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

asposecellscloud/apis/cells_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22025,7 +22025,7 @@ def cells_save_as_post_document_save_as_with_http_info(self, name, **kwargs):
2202522025
returns the request thread.
2202622026
"""
2202722027

22028-
all_params = ['name', 'save_options', 'newfilename', 'is_auto_fit_rows', 'is_auto_fit_columns', 'folder', 'storage_name', 'out_storage_name','extended_query_parameters']
22028+
all_params = ['name', 'save_options', 'newfilename', 'is_auto_fit_rows', 'is_auto_fit_columns', 'folder', 'storage_name', 'out_storage_name','extended_query_parameters','check_excel_restriction']
2202922029
all_params.append('callback')
2203022030
all_params.append('_return_http_data_only')
2203122031
all_params.append('_preload_content')
@@ -22067,6 +22067,9 @@ def cells_save_as_post_document_save_as_with_http_info(self, name, **kwargs):
2206722067
if 'extended_query_parameters' in params:
2206822068
for key , value in params['extended_query_parameters'].items():
2206922069
query_params.append((key, value))
22070+
if 'check_excel_restriction' in params:
22071+
query_params.append(('checkExcelRestriction', params['check_excel_restriction']))
22072+
2207022073
header_params = {}
2207122074

2207222075
form_params = []

asposecellscloud/apis/light_cells_api.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def post_clear_objects_with_http_info(self, file, objecttype, **kwargs):
469469
returns the request thread.
470470
"""
471471

472-
all_params = ['file', 'objecttype']
472+
all_params = ['file', 'objecttype','sheetname','out_format']
473473
all_params.append('callback')
474474
all_params.append('_return_http_data_only')
475475
all_params.append('_preload_content')
@@ -499,7 +499,10 @@ def post_clear_objects_with_http_info(self, file, objecttype, **kwargs):
499499
query_params = []
500500
if 'objecttype' in params:
501501
query_params.append(('objecttype', params['objecttype']))
502-
502+
if 'sheetname' in params:
503+
query_params.append(('sheetname', params['sheetname']))
504+
if 'out_format' in params:
505+
query_params.append(('outFormat', params['out_format']))
503506
header_params = {}
504507

505508
form_params = []

0 commit comments

Comments
 (0)