Skip to content

Commit 3d472f0

Browse files
author
evgeny.ivanov
committed
SDK regenerated by CI server [ci skip]
1 parent fe1e0e5 commit 3d472f0

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

src/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4388,7 +4388,7 @@ export class WordsApi {
43884388
}
43894389

43904390
/**
4391-
* Converts a document in cloud storage to the specified format.
4391+
* Converts a document to the specified format.
43924392
* @param requestObj contains request parameters
43934393
*/
43944394
public async saveAsOnline(requestObj: model.SaveAsOnlineRequest): Promise< model.WordsIncomingMessage< model.SaveAsOnlineResponse > > {
@@ -4460,7 +4460,7 @@ export class WordsApi {
44604460
}
44614461

44624462
/**
4463-
* Converts a document in cloud storage to TIFF format using detailed conversion settings.
4463+
* Converts a document to TIFF format using detailed conversion settings.
44644464
* @param requestObj contains request parameters
44654465
*/
44664466
public async saveAsTiffOnline(requestObj: model.SaveAsTiffOnlineRequest): Promise< model.WordsIncomingMessage< model.SaveAsTiffOnlineResponse > > {

src/model/model.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ export class AppendDocumentOnlineRequest implements RequestInterface {
11761176
}
11771177

11781178
/**
1179-
* The document.
1179+
* Original document.
11801180
*/
11811181
public document: Readable;
11821182

@@ -10811,9 +10811,9 @@ export class GetDocumentFieldNamesOnlineRequest implements RequestInterface {
1081110811
}
1081210812

1081310813
/**
10814-
* The document.
10814+
* The template document.
1081510815
*/
10816-
public document: Readable;
10816+
public template: Readable;
1081710817

1081810818
/**
1081910819
* Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
@@ -10839,21 +10839,21 @@ export class GetDocumentFieldNamesOnlineRequest implements RequestInterface {
1083910839
.replace("//", "/");
1084010840
const queryParameters: any = {};
1084110841
const formParams: any = {};
10842-
// verify required parameter 'this.document' is not undefined
10843-
if (this.document === undefined) {
10844-
throw new Error('Required parameter "this.document" was undefined when calling getDocumentFieldNamesOnline.');
10842+
// verify required parameter 'this.template' is not undefined
10843+
if (this.template === undefined) {
10844+
throw new Error('Required parameter "this.template" was undefined when calling getDocumentFieldNamesOnline.');
1084510845
}
1084610846

10847-
// verify required parameter 'this.document' is not null
10848-
if (this.document === null) {
10849-
throw new Error('Required parameter "this.document" was null when calling getDocumentFieldNamesOnline.');
10847+
// verify required parameter 'this.template' is not null
10848+
if (this.template === null) {
10849+
throw new Error('Required parameter "this.template" was null when calling getDocumentFieldNamesOnline.');
1085010850
}
1085110851

1085210852
localVarPath = addQueryParameterToUrl(localVarPath, queryParameters, "loadEncoding", this.loadEncoding);
1085310853
localVarPath = addQueryParameterToUrl(localVarPath, queryParameters, "password", this.password);
1085410854
localVarPath = addQueryParameterToUrl(localVarPath, queryParameters, "useNonMergeFields", this.useNonMergeFields);
10855-
if (this.document !== undefined) {
10856-
formParams.Document = this.document;
10855+
if (this.template !== undefined) {
10856+
formParams.Template = this.template;
1085710857
}
1085810858

1085910859
const requestOptions: request.Options = {
@@ -25564,7 +25564,7 @@ export class SaveAsRequest implements RequestInterface {
2556425564

2556525565
/**
2556625566
* Request model for SaveAsOnline operation.
25567-
* Converts a document in cloud storage to the specified format.
25567+
* Converts a document to the specified format.
2556825568
*/
2556925569
export class SaveAsOnlineRequest implements RequestInterface {
2557025570

@@ -26104,7 +26104,7 @@ export class SaveAsTiffRequest implements RequestInterface {
2610426104

2610526105
/**
2610626106
* Request model for SaveAsTiffOnline operation.
26107-
* Converts a document in cloud storage to TIFF format using detailed conversion settings.
26107+
* Converts a document to TIFF format using detailed conversion settings.
2610826108
*/
2610926109
export class SaveAsTiffOnlineRequest implements RequestInterface {
2611026110

@@ -32650,7 +32650,7 @@ export class ReplaceWithTextOnlineResponse {
3265032650

3265132651
/**
3265232652
* Response model for SaveAsOnline operation.
32653-
* Converts a document in cloud storage to the specified format.
32653+
* Converts a document to the specified format.
3265432654
*/
3265532655
export class SaveAsOnlineResponse {
3265632656
/**
@@ -32682,7 +32682,7 @@ export class SaveAsRangeOnlineResponse {
3268232682

3268332683
/**
3268432684
* Response model for SaveAsTiffOnline operation.
32685-
* Converts a document in cloud storage to TIFF format using detailed conversion settings.
32685+
* Converts a document to TIFF format using detailed conversion settings.
3268632686
*/
3268732687
export class SaveAsTiffOnlineResponse {
3268832688
/**

test/mailMerge/mailMergeFiledsTests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe("mailMergeFileds", () => {
4545
const localDocumentFile = "SampleExecuteTemplate.docx";
4646

4747
const request = new model.GetDocumentFieldNamesOnlineRequest({
48-
document: fs.createReadStream(BaseTest.localBaseTestDataFolder + mailMergeFolder + "/" + localDocumentFile),
48+
template: fs.createReadStream(BaseTest.localBaseTestDataFolder + mailMergeFolder + "/" + localDocumentFile),
4949
useNonMergeFields: true
5050
});
5151

0 commit comments

Comments
 (0)