diff --git a/README.md b/README.md
index 14335e84..7221d353 100644
--- a/README.md
+++ b/README.md
@@ -575,6 +575,7 @@ Class | Description
[**ObjectExist**](docs/ObjectExist.md) | Object exists
[**OptimizeOptions**](docs/OptimizeOptions.md) | Represents Pdf optimize options.
[**Option**](docs/Option.md) | Provides form option.
+[**OutputFormat**](docs/OutputFormat.md) | Enumeration for output type format.
[**Page**](docs/Page.md) | Provides link to page.
[**PageLayout**](docs/PageLayout.md) | Descibes page layout.
[**PageMode**](docs/PageMode.md) | Class descibes used components of the document page.
diff --git a/docs/CheckBoxField.md b/docs/CheckBoxField.md
index b68c4528..2c82fbb4 100644
--- a/docs/CheckBoxField.md
+++ b/docs/CheckBoxField.md
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
**checked** | **boolean** | Gets or sets state of check box. |
**exportValue** | **string** | Gets or sets export value of CheckBox field. | [optional]
**partialName** | **string** | Field name.
*Inherited from [FormField](FormField.md)* | [optional]
+**fullName** | **string** | Full Field name.
*Inherited from [FormField](FormField.md)* | [optional]
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle.
*Inherited from [FormField](FormField.md)* | [optional]
**value** | **string** | Field value.
*Inherited from [FormField](FormField.md)* | [optional]
**pageIndex** | **number** | Page index.
*Inherited from [FormField](FormField.md)* |
diff --git a/docs/ChoiceField.md b/docs/ChoiceField.md
index b8ae44b0..25f6f708 100644
--- a/docs/ChoiceField.md
+++ b/docs/ChoiceField.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**multiSelect** | **boolean** | Gets or sets multiselection flag. | [optional]
**selected** | **number** | Gets or sets index of selected item. Numbering of items is started from 1. | [optional]
**partialName** | **string** | Field name.
*Inherited from [FormField](FormField.md)* | [optional]
+**fullName** | **string** | Full Field name.
*Inherited from [FormField](FormField.md)* | [optional]
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle.
*Inherited from [FormField](FormField.md)* | [optional]
**value** | **string** | Field value.
*Inherited from [FormField](FormField.md)* | [optional]
**pageIndex** | **number** | Page index.
*Inherited from [FormField](FormField.md)* |
diff --git a/docs/ComboBoxField.md b/docs/ComboBoxField.md
index 2ba85d4e..61a02f23 100644
--- a/docs/ComboBoxField.md
+++ b/docs/ComboBoxField.md
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
**multiSelect** | **boolean** | Gets or sets multiselection flag.
*Inherited from [ChoiceField](ChoiceField.md)* | [optional]
**selected** | **number** | Gets or sets index of selected item. Numbering of items is started from 1.
*Inherited from [ChoiceField](ChoiceField.md)* | [optional]
**partialName** | **string** | Field name.
*Inherited from [FormField](FormField.md)* | [optional]
+**fullName** | **string** | Full Field name.
*Inherited from [FormField](FormField.md)* | [optional]
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle.
*Inherited from [FormField](FormField.md)* | [optional]
**value** | **string** | Field value.
*Inherited from [FormField](FormField.md)* | [optional]
**pageIndex** | **number** | Page index.
*Inherited from [FormField](FormField.md)* |
diff --git a/docs/FormField.md b/docs/FormField.md
index b758c977..6980b814 100644
--- a/docs/FormField.md
+++ b/docs/FormField.md
@@ -6,6 +6,7 @@ Provides form field.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**partialName** | **string** | Field name. | [optional]
+**fullName** | **string** | Full Field name. | [optional]
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]
**value** | **string** | Field value. | [optional]
**pageIndex** | **number** | Page index. |
diff --git a/docs/ListBoxField.md b/docs/ListBoxField.md
index 12b449e0..b7aa85c9 100644
--- a/docs/ListBoxField.md
+++ b/docs/ListBoxField.md
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
**multiSelect** | **boolean** | Gets or sets multiselection flag.
*Inherited from [ChoiceField](ChoiceField.md)* | [optional]
**selected** | **number** | Gets or sets index of selected item. Numbering of items is started from 1.
*Inherited from [ChoiceField](ChoiceField.md)* | [optional]
**partialName** | **string** | Field name.
*Inherited from [FormField](FormField.md)* | [optional]
+**fullName** | **string** | Full Field name.
*Inherited from [FormField](FormField.md)* | [optional]
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle.
*Inherited from [FormField](FormField.md)* | [optional]
**value** | **string** | Field value.
*Inherited from [FormField](FormField.md)* | [optional]
**pageIndex** | **number** | Page index.
*Inherited from [FormField](FormField.md)* |
diff --git a/docs/OutputFormat.md b/docs/OutputFormat.md
new file mode 100644
index 00000000..b7767145
--- /dev/null
+++ b/docs/OutputFormat.md
@@ -0,0 +1,11 @@
+# OutputFormat
+Enumeration for output type format.
+
+## Enum
+Name | Type | Value | Description
+------------ | ------------- | ------------- | -------------
+**Folder** | **string** | 'Folder' | Folder.
+**Zip** | **string** | 'Zip' | Zip archive.
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) [[View Source]](../src/models/outputFormat.ts)
+
diff --git a/docs/PdfApi.md b/docs/PdfApi.md
index 61233452..7b405ae0 100644
--- a/docs/PdfApi.md
+++ b/docs/PdfApi.md
@@ -7431,7 +7431,7 @@ Name | Type | Description | Notes
## **putPdfInRequestToHtml**
-> putPdfInRequestToHtml(outPath, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, storage, flowLayoutParagraphFullWidth, file)
+> putPdfInRequestToHtml(outPath, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, storage, flowLayoutParagraphFullWidth, outputFormat, file)
Converts PDF document (in request content) to Html format and uploads resulting file to storage.
@@ -7469,6 +7469,7 @@ Name | Type | Description | Notes
**trySaveTextUnderliningAndStrikeoutingInCss** | **boolean** | PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically. | [optional]
**storage** | **string** | The document storage. | [optional]
**flowLayoutParagraphFullWidth** | **boolean** | This attribute specifies full width paragraph text for Flow mode, FixedLayout = false. | [optional]
+**outputFormat** | [**OutputFormat**](OutputFormat.md) | This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is "Zip" or missed (default). In case of the "Folder", all resulting files and directories will be uploaded to the folder of the resulting HTML file. | [optional]
**file** | **Buffer** | A file to be converted. | [optional]
### Return type
@@ -7805,7 +7806,7 @@ Name | Type | Description | Notes
## **putPdfInStorageToHtml**
-> putPdfInStorageToHtml(name, outPath, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage, flowLayoutParagraphFullWidth)
+> putPdfInStorageToHtml(name, outPath, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage, flowLayoutParagraphFullWidth, outputFormat)
Converts PDF document (located on storage) to Html format and uploads resulting file to storage
@@ -7845,6 +7846,7 @@ Name | Type | Description | Notes
**folder** | **string** | The document folder. | [optional]
**storage** | **string** | The document storage. | [optional]
**flowLayoutParagraphFullWidth** | **boolean** | This attribute specifies full width paragraph text for Flow mode, FixedLayout = false. | [optional]
+**outputFormat** | [**OutputFormat**](OutputFormat.md) | This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is "Zip" or missed (default). In case of the "Folder", all resulting files and directories will be uploaded to the folder of the resulting HTML file. | [optional]
### Return type
diff --git a/docs/RadioButtonField.md b/docs/RadioButtonField.md
index 83ab7a4e..fa735d85 100644
--- a/docs/RadioButtonField.md
+++ b/docs/RadioButtonField.md
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
**multiSelect** | **boolean** | Gets or sets multiselection flag.
*Inherited from [ChoiceField](ChoiceField.md)* | [optional]
**selected** | **number** | Gets or sets index of selected item. Numbering of items is started from 1.
*Inherited from [ChoiceField](ChoiceField.md)* | [optional]
**partialName** | **string** | Field name.
*Inherited from [FormField](FormField.md)* | [optional]
+**fullName** | **string** | Full Field name.
*Inherited from [FormField](FormField.md)* | [optional]
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle.
*Inherited from [FormField](FormField.md)* | [optional]
**value** | **string** | Field value.
*Inherited from [FormField](FormField.md)* | [optional]
**pageIndex** | **number** | Page index.
*Inherited from [FormField](FormField.md)* |
diff --git a/docs/RadioButtonOptionField.md b/docs/RadioButtonOptionField.md
index 80a1a6be..265529b4 100644
--- a/docs/RadioButtonOptionField.md
+++ b/docs/RadioButtonOptionField.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**optionName** | **string** | Gets or sets name of the option. | [optional]
**style** | [**BoxStyle**](BoxStyle.md) | Style of field box. | [optional]
**partialName** | **string** | Field name.
*Inherited from [FormField](FormField.md)* | [optional]
+**fullName** | **string** | Full Field name.
*Inherited from [FormField](FormField.md)* | [optional]
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle.
*Inherited from [FormField](FormField.md)* | [optional]
**value** | **string** | Field value.
*Inherited from [FormField](FormField.md)* | [optional]
**pageIndex** | **number** | Page index.
*Inherited from [FormField](FormField.md)* |
diff --git a/docs/SignatureField.md b/docs/SignatureField.md
index f6057d48..f3e8f1a5 100644
--- a/docs/SignatureField.md
+++ b/docs/SignatureField.md
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**signature** | [**Signature**](Signature.md) | Gets signature object. This object contains signature data regarding public-key cryptographic standards. Classes PKCS1, PKCS7 and PKCS7Detached represent all supported types of signature objects. | [optional]
**partialName** | **string** | Field name.
*Inherited from [FormField](FormField.md)* | [optional]
+**fullName** | **string** | Full Field name.
*Inherited from [FormField](FormField.md)* | [optional]
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle.
*Inherited from [FormField](FormField.md)* | [optional]
**value** | **string** | Field value.
*Inherited from [FormField](FormField.md)* | [optional]
**pageIndex** | **number** | Page index.
*Inherited from [FormField](FormField.md)* |
diff --git a/docs/TextBoxField.md b/docs/TextBoxField.md
index 437f7c22..2ee65f80 100644
--- a/docs/TextBoxField.md
+++ b/docs/TextBoxField.md
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
**maxLen** | **number** | Gets or sets maximum length of text in the field. | [optional]
**barcode** | **string** | Adds barcode 128 into the field. Field value will be changed onto the code and field become read only. | [optional]
**partialName** | **string** | Field name.
*Inherited from [FormField](FormField.md)* | [optional]
+**fullName** | **string** | Full Field name.
*Inherited from [FormField](FormField.md)* | [optional]
**rect** | [**Rectangle**](Rectangle.md) | Field rectangle.
*Inherited from [FormField](FormField.md)* | [optional]
**value** | **string** | Field value.
*Inherited from [FormField](FormField.md)* | [optional]
**pageIndex** | **number** | Page index.
*Inherited from [FormField](FormField.md)* |
diff --git a/package-lock.json b/package-lock.json
index 75d8a1d2..57c8ef03 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "asposepdfcloud",
- "version": "20.5.0",
+ "version": "20.6.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index b3016e2e..ec931104 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "asposepdfcloud",
- "version": "20.5.0",
+ "version": "20.6.0",
"description": "Aspose.PDF Cloud SDK",
"homepage": "https://products.aspose.cloud/pdf/cloud",
"author": {
diff --git a/src/api/api.ts b/src/api/api.ts
index 88475035..5a10a15d 100644
--- a/src/api/api.ts
+++ b/src/api/api.ts
@@ -83,6 +83,7 @@ import { ModelError } from "../models/modelError";
import { ObjectExist } from "../models/objectExist";
import { OptimizeOptions } from "../models/optimizeOptions";
import { Option } from "../models/option";
+import { OutputFormat } from "../models/outputFormat";
import { PageLayout } from "../models/pageLayout";
import { PageMode } from "../models/pageMode";
import { PageWordCount } from "../models/pageWordCount";
@@ -19111,9 +19112,10 @@ export class PdfApi {
* @param trySaveTextUnderliningAndStrikeoutingInCss PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
* @param storage The document storage.
* @param flowLayoutParagraphFullWidth This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
+ * @param outputFormat This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file.
* @param file A file to be converted.
*/
- public async putPdfInRequestToHtml (outPath: string, additionalMarginWidthInPoints?: number, compressSvgGraphicsIfAny?: boolean, convertMarkedContentToLayers?: boolean, defaultFontName?: string, documentType?: string, fixedLayout?: boolean, imageResolution?: number, minimalLineWidth?: number, preventGlyphsGrouping?: boolean, splitCssIntoPages?: boolean, splitIntoPages?: boolean, useZOrder?: boolean, antialiasingProcessing?: string, cssClassNamesPrefix?: string, explicitListOfSavedPages?: Array, fontEncodingStrategy?: string, fontSavingMode?: string, htmlMarkupGenerationMode?: string, lettersPositioningMethod?: string, pagesFlowTypeDependsOnViewersScreenSize?: boolean, partsEmbeddingMode?: string, rasterImagesSavingMode?: string, removeEmptyAreasOnTopAndBottom?: boolean, saveShadowedTextsAsTransparentTexts?: boolean, saveTransparentTexts?: boolean, specialFolderForAllImages?: string, specialFolderForSvgImages?: string, trySaveTextUnderliningAndStrikeoutingInCss?: boolean, storage?: string, flowLayoutParagraphFullWidth?: boolean, file?: Buffer) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
+ public async putPdfInRequestToHtml (outPath: string, additionalMarginWidthInPoints?: number, compressSvgGraphicsIfAny?: boolean, convertMarkedContentToLayers?: boolean, defaultFontName?: string, documentType?: string, fixedLayout?: boolean, imageResolution?: number, minimalLineWidth?: number, preventGlyphsGrouping?: boolean, splitCssIntoPages?: boolean, splitIntoPages?: boolean, useZOrder?: boolean, antialiasingProcessing?: string, cssClassNamesPrefix?: string, explicitListOfSavedPages?: Array, fontEncodingStrategy?: string, fontSavingMode?: string, htmlMarkupGenerationMode?: string, lettersPositioningMethod?: string, pagesFlowTypeDependsOnViewersScreenSize?: boolean, partsEmbeddingMode?: string, rasterImagesSavingMode?: string, removeEmptyAreasOnTopAndBottom?: boolean, saveShadowedTextsAsTransparentTexts?: boolean, saveTransparentTexts?: boolean, specialFolderForAllImages?: string, specialFolderForSvgImages?: string, trySaveTextUnderliningAndStrikeoutingInCss?: boolean, storage?: string, flowLayoutParagraphFullWidth?: boolean, outputFormat?: string, file?: Buffer) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
const localVarPath = this.basePath + '/pdf/convert/html';
let localVarQueryParameters: any = {};
let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
@@ -19248,6 +19250,10 @@ export class PdfApi {
localVarQueryParameters['flowLayoutParagraphFullWidth'] = ObjectSerializer.serialize(flowLayoutParagraphFullWidth, "boolean");
}
+ if (outputFormat !== undefined && null !== outputFormat) {
+ localVarQueryParameters['outputFormat'] = ObjectSerializer.serialize(outputFormat, "string");
+ }
+
let localVarUseFormData = false;
let fileData = null;
@@ -20258,8 +20264,9 @@ export class PdfApi {
* @param folder The document folder.
* @param storage The document storage.
* @param flowLayoutParagraphFullWidth This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
+ * @param outputFormat This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file.
*/
- public async putPdfInStorageToHtml (name: string, outPath: string, additionalMarginWidthInPoints?: number, compressSvgGraphicsIfAny?: boolean, convertMarkedContentToLayers?: boolean, defaultFontName?: string, documentType?: string, fixedLayout?: boolean, imageResolution?: number, minimalLineWidth?: number, preventGlyphsGrouping?: boolean, splitCssIntoPages?: boolean, splitIntoPages?: boolean, useZOrder?: boolean, antialiasingProcessing?: string, cssClassNamesPrefix?: string, explicitListOfSavedPages?: Array, fontEncodingStrategy?: string, fontSavingMode?: string, htmlMarkupGenerationMode?: string, lettersPositioningMethod?: string, pagesFlowTypeDependsOnViewersScreenSize?: boolean, partsEmbeddingMode?: string, rasterImagesSavingMode?: string, removeEmptyAreasOnTopAndBottom?: boolean, saveShadowedTextsAsTransparentTexts?: boolean, saveTransparentTexts?: boolean, specialFolderForAllImages?: string, specialFolderForSvgImages?: string, trySaveTextUnderliningAndStrikeoutingInCss?: boolean, folder?: string, storage?: string, flowLayoutParagraphFullWidth?: boolean) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
+ public async putPdfInStorageToHtml (name: string, outPath: string, additionalMarginWidthInPoints?: number, compressSvgGraphicsIfAny?: boolean, convertMarkedContentToLayers?: boolean, defaultFontName?: string, documentType?: string, fixedLayout?: boolean, imageResolution?: number, minimalLineWidth?: number, preventGlyphsGrouping?: boolean, splitCssIntoPages?: boolean, splitIntoPages?: boolean, useZOrder?: boolean, antialiasingProcessing?: string, cssClassNamesPrefix?: string, explicitListOfSavedPages?: Array, fontEncodingStrategy?: string, fontSavingMode?: string, htmlMarkupGenerationMode?: string, lettersPositioningMethod?: string, pagesFlowTypeDependsOnViewersScreenSize?: boolean, partsEmbeddingMode?: string, rasterImagesSavingMode?: string, removeEmptyAreasOnTopAndBottom?: boolean, saveShadowedTextsAsTransparentTexts?: boolean, saveTransparentTexts?: boolean, specialFolderForAllImages?: string, specialFolderForSvgImages?: string, trySaveTextUnderliningAndStrikeoutingInCss?: boolean, folder?: string, storage?: string, flowLayoutParagraphFullWidth?: boolean, outputFormat?: string) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
const localVarPath = this.basePath + '/pdf/{name}/convert/html'
.replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'));
let localVarQueryParameters: any = {};
@@ -20404,6 +20411,10 @@ export class PdfApi {
localVarQueryParameters['flowLayoutParagraphFullWidth'] = ObjectSerializer.serialize(flowLayoutParagraphFullWidth, "boolean");
}
+ if (outputFormat !== undefined && null !== outputFormat) {
+ localVarQueryParameters['outputFormat'] = ObjectSerializer.serialize(outputFormat, "string");
+ }
+
let localVarUseFormData = false;
let fileData = null;
diff --git a/src/models/formField.ts b/src/models/formField.ts
index 11fe901c..b1af2295 100644
--- a/src/models/formField.ts
+++ b/src/models/formField.ts
@@ -38,6 +38,10 @@ export class FormField extends LinkElement {
*/
'partialName': string;
/**
+ * Full Field name.
+ */
+ 'fullName': string;
+ /**
* Field rectangle.
*/
'rect': Rectangle;
@@ -114,6 +118,11 @@ export class FormField extends LinkElement {
"baseName": "PartialName",
"type": "string"
},
+ {
+ "name": "fullName",
+ "baseName": "FullName",
+ "type": "string"
+ },
{
"name": "rect",
"baseName": "Rect",
diff --git a/src/models/outputFormat.ts b/src/models/outputFormat.ts
new file mode 100644
index 00000000..23f52a4b
--- /dev/null
+++ b/src/models/outputFormat.ts
@@ -0,0 +1,25 @@
+ /**
+ *
+ * Copyright (c) 2020 Aspose.PDF Cloud
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ */
+
+export enum OutputFormat {
+ Zip = 'Zip',
+ Folder = 'Folder',
+}
diff --git a/src/objectSerializer.ts b/src/objectSerializer.ts
index c3ebd94e..19c9f767 100644
--- a/src/objectSerializer.ts
+++ b/src/objectSerializer.ts
@@ -83,6 +83,7 @@ import { ModelError } from "./models/modelError";
import { ObjectExist } from "./models/objectExist";
import { OptimizeOptions } from "./models/optimizeOptions";
import { Option } from "./models/option";
+import { OutputFormat } from "./models/outputFormat";
import { PageLayout } from "./models/pageLayout";
import { PageMode } from "./models/pageMode";
import { PageWordCount } from "./models/pageWordCount";
@@ -335,6 +336,7 @@ let enumsMap: {[index: string]: any} = {
"LineSpacing": LineSpacing,
"LinkActionType": LinkActionType,
"LinkHighlightingMode": LinkHighlightingMode,
+ "OutputFormat": OutputFormat,
"PageLayout": PageLayout,
"PageMode": PageMode,
"PartsEmbeddingModes": PartsEmbeddingModes,
diff --git a/src/requestHelper.ts b/src/requestHelper.ts
index ef5cf167..924ce79c 100644
--- a/src/requestHelper.ts
+++ b/src/requestHelper.ts
@@ -93,7 +93,7 @@ async function invokeApiMethodInternal(requestOptions: request.Options, confgura
//headers
sa.set("User-Agent", "pdf nodejs sdk");
sa.set("x-aspose-client", "nodejs sdk");
- sa.set("x-aspose-client-version", "20.5.0");
+ sa.set("x-aspose-client-version", "20.6.0");
if (!requestOptions.headers) {
requestOptions.headers = {};
diff --git a/test/testConvert.ts b/test/testConvert.ts
index ca76fc14..8f6366ba 100644
--- a/test/testConvert.ts
+++ b/test/testConvert.ts
@@ -22,6 +22,7 @@
import * as BaseTest from "./baseTestPdfApi";
import "mocha";
import { PdfAType } from "../src/models/pdfAType";
+import { OutputFormat } from "../src/models/outputFormat";
var assert = require('assert');
var fs = require('fs');
@@ -350,7 +351,7 @@ describe("Convert Tests", () => {
return BaseTest.getPdfApi().putPdfInStorageToHtml(simplePdf, outPath, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
- null, BaseTest.remoteTempFolder)
+ null, BaseTest.remoteTempFolder, null, null, OutputFormat.Folder)
.then((result) => {
assert.equal(result.response.statusCode, 200);
});
@@ -365,7 +366,7 @@ describe("Convert Tests", () => {
return BaseTest.getPdfApi().putPdfInRequestToHtml(outPath, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
- null, null, null, data)
+ null, null, null, null, data)
.then((result) => {
assert.equal(result.response.statusCode, 200);
});