Skip to content

Commit e309e69

Browse files
SDK regenerated by CI server [ci skip]
1 parent 2603e43 commit e309e69

File tree

4 files changed

+25
-2
lines changed

4 files changed

+25
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/w
1616
- Add & remove watermarks and protection.
1717
- Read & write access to Document Object Model.
1818

19+
## Enhancements in Version 22.8
20+
21+
- Added optional loadEncoding and password parameters for ConvertDocument API method.
22+
23+
1924
## Enhancements in Version 22.7
2025

2126
- Expand 'AppendDocument' API method to support 'ImageEntryList' for directly appending images to documents and another images.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "asposewordscloud",
3-
"version": "22.8.0",
3+
"version": "22.9.0",
44
"description": "Aspose.Words Cloud SDK for Node.js",
55
"homepage": "https://products.aspose.cloud/words/cloud",
66
"author": {

src/internal/requestHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async function invokeApiMethodInternal(requestOptions: request.OptionsWithUri, c
131131
requestOptions.timeout = 1000 * confguration.timeout;
132132

133133
requestOptions.headers["x-aspose-client"] = "nodejs sdk";
134-
requestOptions.headers["x-aspose-client-version"] = "22.8";
134+
requestOptions.headers["x-aspose-client-version"] = "22.9";
135135

136136
requestOptions.uri = encodeURI(requestOptions.uri.toString());
137137

src/model/model.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2680,6 +2680,21 @@ export class ConvertDocumentRequest implements RequestInterface {
26802680
*/
26812681
public storage: string;
26822682

2683+
/**
2684+
* Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
2685+
*/
2686+
public loadEncoding: string;
2687+
2688+
/**
2689+
* Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
2690+
*/
2691+
public password: string;
2692+
2693+
/**
2694+
* Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
2695+
*/
2696+
public encryptedPassword: string;
2697+
26832698
/**
26842699
* Folder in filestorage with custom fonts.
26852700
*/
@@ -2719,6 +2734,9 @@ export class ConvertDocumentRequest implements RequestInterface {
27192734
localVarPath = await addQueryParameterToUrl(localVarPath, queryParameters, "outPath", this.outPath, _encryptor);
27202735
localVarPath = await addQueryParameterToUrl(localVarPath, queryParameters, "fileNameFieldValue", this.fileNameFieldValue, _encryptor);
27212736
localVarPath = await addQueryParameterToUrl(localVarPath, queryParameters, "storage", this.storage, _encryptor);
2737+
localVarPath = await addQueryParameterToUrl(localVarPath, queryParameters, "loadEncoding", this.loadEncoding, _encryptor);
2738+
localVarPath = await addQueryParameterToUrl(localVarPath, queryParameters, "password", this.password, _encryptor);
2739+
localVarPath = await addQueryParameterToUrl(localVarPath, queryParameters, "encryptedPassword", this.encryptedPassword, _encryptor);
27222740
localVarPath = await addQueryParameterToUrl(localVarPath, queryParameters, "fontsLocation", this.fontsLocation, _encryptor);
27232741
if (this.document !== undefined) {
27242742
formParams.Document = this.document;

0 commit comments

Comments
 (0)