@@ -63,7 +63,8 @@ LightCellsApiService
6363*/
6464
6565type DeleteMetadataOpts struct {
66- Type_ string
66+ Type_ string
67+ checkExcelRestriction bool
6768}
6869
6970// var countryCapitalMap map[string]string /*创建集合 */
@@ -87,6 +88,9 @@ func (a *LightCellsApiService) DeleteMetadata(file map[string]string, localVarOp
8788 if localVarOptionals != nil {
8889 localVarQueryParams .Add ("type" , parameterToString (localVarOptionals .Type_ , "" ))
8990 }
91+ if localVarOptionals != nil {
92+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
93+ }
9094 // to determine the Content-Type header
9195 localVarHttpContentTypes := []string {"multipart/form-data" }
9296
@@ -139,7 +143,8 @@ LightCellsApiService
139143*/
140144
141145type GetMetadataOpts struct {
142- Type_ string
146+ Type_ string
147+ checkExcelRestriction bool
143148}
144149
145150func (a * LightCellsApiService ) GetMetadata (file map [string ]string , localVarOptionals * GetMetadataOpts ) ([]CellsDocumentProperty , * http.Response , error ) {
@@ -161,6 +166,9 @@ func (a *LightCellsApiService) GetMetadata(file map[string]string, localVarOptio
161166 if localVarOptionals != nil {
162167 localVarQueryParams .Add ("type" , parameterToString (localVarOptionals .Type_ , "" ))
163168 }
169+ if localVarOptionals != nil {
170+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
171+ }
164172 // to determine the Content-Type header
165173 localVarHttpContentTypes := []string {"multipart/form-data" }
166174
@@ -214,8 +222,9 @@ LightCellsApiService
214222*/
215223
216224type PostAssembleOpts struct {
217- Datasource string
218- Format string
225+ Datasource string
226+ Format string
227+ checkExcelRestriction bool
219228}
220229
221230func (a * LightCellsApiService ) PostAssemble (file map [string ]string , localVarOptionals * PostAssembleOpts ) (FilesResult , * http.Response , error ) {
@@ -238,6 +247,9 @@ func (a *LightCellsApiService) PostAssemble(file map[string]string, localVarOpti
238247 if localVarOptionals != nil {
239248 localVarQueryParams .Add ("format" , parameterToString (localVarOptionals .Format , "" ))
240249 }
250+ if localVarOptionals != nil {
251+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
252+ }
241253 // to determine the Content-Type header
242254 localVarHttpContentTypes := []string {"multipart/form-data" }
243255
@@ -289,9 +301,10 @@ LightCellsApiService
289301*/
290302
291303type PostClearObjectsOpts struct {
292- Objecttype string
293- Sheetname string
294- OutFormat string
304+ Objecttype string
305+ Sheetname string
306+ OutFormat string
307+ checkExcelRestriction bool
295308}
296309
297310func (a * LightCellsApiService ) PostClearObjects (file map [string ]string , localVarOptionals * PostClearObjectsOpts ) (FilesResult , * http.Response , error ) {
@@ -318,6 +331,9 @@ func (a *LightCellsApiService) PostClearObjects(file map[string]string, localVar
318331 if len (localVarOptionals .OutFormat ) > 0 {
319332 localVarQueryParams .Add ("outFormat" , parameterToString (localVarOptionals .OutFormat , "" ))
320333 }
334+ if localVarOptionals != nil {
335+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
336+ }
321337 // to determine the Content-Type header
322338 localVarHttpContentTypes := []string {"multipart/form-data" }
323339
@@ -373,6 +389,7 @@ type PostExportOpts struct {
373389 ObjectType string
374390 Format string
375391 ExtendedQueryParameters map [string ]string
392+ checkExcelRestriction bool
376393}
377394
378395func (a * LightCellsApiService ) PostExport (file map [string ]string , localVarOptionals * PostExportOpts ) (FilesResult , * http.Response , error ) {
@@ -393,7 +410,9 @@ func (a *LightCellsApiService) PostExport(file map[string]string, localVarOption
393410
394411 localVarQueryParams .Add ("objectType" , parameterToString (localVarOptionals .ObjectType , "" ))
395412 localVarQueryParams .Add ("format" , parameterToString (localVarOptionals .Format , "" ))
396-
413+ if localVarOptionals != nil {
414+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
415+ }
397416 if localVarOptionals .ExtendedQueryParameters != nil {
398417 for key , value := range localVarOptionals .ExtendedQueryParameters {
399418 localVarQueryParams .Add (key , parameterToString (value , "" ))
@@ -529,8 +548,9 @@ LightCellsApiService
529548*/
530549
531550type PostMergeOpts struct {
532- Format string
533- MergeToOneSheet bool
551+ Format string
552+ MergeToOneSheet bool
553+ checkExcelRestriction bool
534554}
535555
536556func (a * LightCellsApiService ) PostMerge (file map [string ]string , localVarOptionals * PostMergeOpts ) (FileInfo , * http.Response , error ) {
@@ -555,6 +575,9 @@ func (a *LightCellsApiService) PostMerge(file map[string]string, localVarOptiona
555575 if localVarOptionals != nil {
556576 localVarQueryParams .Add ("mergeToOneSheet" , parameterToString (localVarOptionals .MergeToOneSheet , "" ))
557577 }
578+ if localVarOptionals != nil {
579+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
580+ }
558581 // to determine the Content-Type header
559582 localVarHttpContentTypes := []string {"multipart/form-data" }
560583
@@ -606,7 +629,8 @@ LightCellsApiService
606629*/
607630
608631type PostMetadataOpts struct {
609- DocumentProperties []CellsDocumentProperty
632+ DocumentProperties []CellsDocumentProperty
633+ checkExcelRestriction bool
610634}
611635
612636func (a * LightCellsApiService ) PostMetadata (file map [string ]string , localVarOptionals * PostMetadataOpts ) (FilesResult , * http.Response , error ) {
@@ -642,7 +666,9 @@ func (a *LightCellsApiService) PostMetadata(file map[string]string, localVarOpti
642666 if localVarHttpHeaderAccept != "" {
643667 localVarHeaderParams ["Accept" ] = localVarHttpHeaderAccept
644668 }
645-
669+ if localVarOptionals != nil {
670+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
671+ }
646672 // localVarFormParams = file
647673 for name , path := range file {
648674 localVarFormParams ["@" + name ] = []string {path }
@@ -757,9 +783,10 @@ LightCellsApiService
757783*/
758784
759785type PostSearchOpts struct {
760- Text string
761- Password string
762- Sheetname string
786+ Text string
787+ Password string
788+ Sheetname string
789+ checkExcelRestriction bool
763790}
764791
765792func (a * LightCellsApiService ) PostSearch (file map [string ]string , localVarOptionals * PostSearchOpts ) ([]TextItem , * http.Response , error ) {
@@ -785,7 +812,9 @@ func (a *LightCellsApiService) PostSearch(file map[string]string, localVarOption
785812 if localVarOptionals != nil {
786813 localVarQueryParams .Add ("sheetname" , parameterToString (localVarOptionals .Sheetname , "" ))
787814 }
788-
815+ if localVarOptionals != nil {
816+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
817+ }
789818 // to determine the Content-Type header
790819 localVarHttpContentTypes := []string {"multipart/form-data" }
791820
@@ -840,10 +869,11 @@ LightCellsApiService
840869*/
841870
842871type PostSplitOpts struct {
843- Format string
844- Password string
845- From int32
846- To int32
872+ Format string
873+ Password string
874+ From int32
875+ To int32
876+ checkExcelRestriction bool
847877}
848878
849879func (a * LightCellsApiService ) PostSplit (file map [string ]string , localVarOptionals * PostSplitOpts ) (FilesResult , * http.Response , error ) {
@@ -872,7 +902,9 @@ func (a *LightCellsApiService) PostSplit(file map[string]string, localVarOptiona
872902 if localVarOptionals != nil {
873903 localVarQueryParams .Add ("to" , parameterToString (localVarOptionals .To , "" ))
874904 }
875-
905+ if localVarOptionals != nil {
906+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
907+ }
876908 // to determine the Content-Type header
877909 localVarHttpContentTypes := []string {"multipart/form-data" }
878910
@@ -996,8 +1028,9 @@ LightCellsApiService
9961028*/
9971029
9981030type PostWatermarkOpts struct {
999- Text string
1000- Color string
1031+ Text string
1032+ Color string
1033+ checkExcelRestriction bool
10011034}
10021035
10031036func (a * LightCellsApiService ) PostWatermark (file map [string ]string , localVarOptionals * PostWatermarkOpts ) (FilesResult , * http.Response , error ) {
@@ -1035,6 +1068,9 @@ func (a *LightCellsApiService) PostWatermark(file map[string]string, localVarOpt
10351068 if localVarHttpHeaderAccept != "" {
10361069 localVarHeaderParams ["Accept" ] = localVarHttpHeaderAccept
10371070 }
1071+ if localVarOptionals != nil {
1072+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
1073+ }
10381074 // localVarFormParams = file
10391075 for name , path := range file {
10401076 localVarFormParams ["@" + name ] = []string {path }
@@ -1070,7 +1106,8 @@ LightCellsApiService
10701106*/
10711107
10721108type PostCompressOpts struct {
1073- CompressLevel int64
1109+ CompressLevel int64
1110+ checkExcelRestriction bool
10741111}
10751112
10761113func (a * LightCellsApiService ) PostCompress (file map [string ]string , localVarOptionals * PostCompressOpts ) (FilesResult , * http.Response , error ) {
@@ -1107,6 +1144,9 @@ func (a *LightCellsApiService) PostCompress(file map[string]string, localVarOpti
11071144 if localVarHttpHeaderAccept != "" {
11081145 localVarHeaderParams ["Accept" ] = localVarHttpHeaderAccept
11091146 }
1147+ if localVarOptionals != nil {
1148+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
1149+ }
11101150 // localVarFormParams = file
11111151 for name , path := range file {
11121152 localVarFormParams ["@" + name ] = []string {path }
@@ -1142,10 +1182,11 @@ LightCellsApiService
11421182*/
11431183
11441184type PostReplaceOpts struct {
1145- Text string
1146- NewText string
1147- Password string
1148- SheetName string
1185+ Text string
1186+ NewText string
1187+ Password string
1188+ SheetName string
1189+ checkExcelRestriction bool
11491190}
11501191
11511192func (a * LightCellsApiService ) PostReplace (file map [string ]string , localVarOptionals * PostReplaceOpts ) (FilesResult , * http.Response , error ) {
@@ -1185,6 +1226,9 @@ func (a *LightCellsApiService) PostReplace(file map[string]string, localVarOptio
11851226 if localVarHttpHeaderAccept != "" {
11861227 localVarHeaderParams ["Accept" ] = localVarHttpHeaderAccept
11871228 }
1229+ if localVarOptionals != nil {
1230+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
1231+ }
11881232 // localVarFormParams = file
11891233 for name , path := range file {
11901234 localVarFormParams ["@" + name ] = []string {path }
@@ -1220,8 +1264,9 @@ LightCellsApiService
12201264*/
12211265
12221266type PostReverseOpts struct {
1223- RotateType string
1224- Format string
1267+ RotateType string
1268+ Format string
1269+ checkExcelRestriction bool
12251270}
12261271
12271272func (a * LightCellsApiService ) PostReverse (file map [string ]string , localVarOptionals * PostReverseOpts ) (FilesResult , * http.Response , error ) {
@@ -1242,6 +1287,9 @@ func (a *LightCellsApiService) PostReverse(file map[string]string, localVarOptio
12421287
12431288 localVarQueryParams .Add ("rotateType" , parameterToString (localVarOptionals .RotateType , "" ))
12441289 localVarQueryParams .Add ("format" , parameterToString (localVarOptionals .Format , "" ))
1290+ if localVarOptionals != nil {
1291+ localVarQueryParams .Add ("checkExcelRestriction" , parameterToString (localVarOptionals .checkExcelRestriction , "" ))
1292+ }
12451293 // to determine the Content-Type header
12461294 localVarHttpContentTypes := []string {"multipart/form-data" }
12471295
0 commit comments