@@ -290,6 +290,50 @@ export class CellsApi {
290290 const result = ObjectSerializer.deserialize(response.body, "Buffer");
291291 return Promise.resolve({body: result, response});
292292 }
293+ /// <summary>
294+ /// </summary>
295+ /// <param name="request">Request. <see cref="PostBatchProtectRequest" /></param>
296+ public async postBatchProtect(requestObj:model.PostBatchProtectRequest ): Promise<{response: http.ClientResponse, body: Buffer}>
297+ {
298+ if (requestObj === null || requestObj === undefined) {
299+ throw new Error('Required parameter "requestObj" was null or undefined when calling postBatchProtect.');
300+ }
301+
302+ const requestOptions = await requestObj.createRequestOptions(this.configuration);
303+ const response = await invokeApiMethod(requestOptions, this.configuration);
304+ const result = ObjectSerializer.deserialize(response.body, "Buffer");
305+ return Promise.resolve({body: result, response});
306+ }
307+
308+ /// <summary>
309+ /// </summary>
310+ /// <param name="request">Request. <see cref="PostBatchLockRequest" /></param>
311+ public async postBatchLock(requestObj:model.PostBatchLockRequest ): Promise<{response: http.ClientResponse, body: Buffer}>
312+ {
313+ if (requestObj === null || requestObj === undefined) {
314+ throw new Error('Required parameter "requestObj" was null or undefined when calling postBatchLock.');
315+ }
316+
317+ const requestOptions = await requestObj.createRequestOptions(this.configuration);
318+ const response = await invokeApiMethod(requestOptions, this.configuration);
319+ const result = ObjectSerializer.deserialize(response.body, "Buffer");
320+ return Promise.resolve({body: result, response});
321+ }
322+
323+ /// <summary>
324+ /// </summary>
325+ /// <param name="request">Request. <see cref="PostBatchUnlockRequest" /></param>
326+ public async postBatchUnlock(requestObj:model.PostBatchUnlockRequest ): Promise<{response: http.ClientResponse, body: Buffer}>
327+ {
328+ if (requestObj === null || requestObj === undefined) {
329+ throw new Error('Required parameter "requestObj" was null or undefined when calling postBatchUnlock.');
330+ }
331+
332+ const requestOptions = await requestObj.createRequestOptions(this.configuration);
333+ const response = await invokeApiMethod(requestOptions, this.configuration);
334+ const result = ObjectSerializer.deserialize(response.body, "Buffer");
335+ return Promise.resolve({body: result, response});
336+ }
293337
294338 /// <summary>
295339 /// </summary>
@@ -17894,11 +17938,6 @@ export class LightCellsApi {
1789417938 localVarPath = addQueryParameterToUrl(localVarPath, queryParameters, "format", requestObj.format);
1789517939 localVarPath = addQueryParameterToUrl(localVarPath, queryParameters, "checkExcelRestriction", requestObj.checkExcelRestriction);
1789617940
17897- if (requestObj.extendedQueryParameters !== undefined) {
17898- for (var key in requestObj.extendedQueryParameters) {
17899- localVarPath = addQueryParameterToUrl(localVarPath, queryParameters, key, requestObj.extendedQueryParameters[key]);
17900- }
17901- }
1790217941
1790317942 if (requestObj.file !== undefined) {
1790417943 for (var key in requestObj.file) {
@@ -18034,7 +18073,7 @@ export class LightCellsApi {
1803418073 }
1803518074
1803618075 // verify required parameter 'requestObj.documentProperties' is not null or undefined
18037- if (requestObj.documentProperties === null || requestObj.documentProperties === undefined) {
18076+ if (requestObj.cellsDocuments === null || requestObj.cellsDocuments === undefined) {
1803818077 throw new Error('Required parameter "requestObj.documentProperties" was null or undefined when calling postMetadata.');
1803918078 }
1804018079
@@ -18044,8 +18083,8 @@ export class LightCellsApi {
1804418083 for (var key in requestObj.file) {
1804518084 formParams[key] = requestObj.file[key];
1804618085 }
18047- if ((requestObj.documentProperties !== null)) {
18048- formParams["documentProperties"] = JSON.stringify(requestObj.documentProperties );
18086+ if ((requestObj.cellsDocuments !== null)) {
18087+ formParams["documentProperties"] = JSON.stringify(requestObj.cellsDocuments );
1804918088 }
1805018089 }
1805118090
0 commit comments