diff --git a/README.md b/README.md
index 2afb3e2c..c889a404 100644
--- a/README.md
+++ b/README.md
@@ -84,6 +84,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getBookmark**](docs/PdfApi.md#getBookmark) | **GET** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Read document bookmark.
*PdfApi* | [**getBookmarks**](docs/PdfApi.md#getBookmarks) | **GET** /pdf/\{name}/bookmarks/list/\{bookmarkPath} | Read document bookmarks node list.
*PdfApi* | [**getCaretAnnotation**](docs/PdfApi.md#getCaretAnnotation) | **GET** /pdf/\{name}/annotations/caret/\{annotationId} | Read document page caret annotation by ID.
+*PdfApi* | [**getCheckBoxField**](docs/PdfApi.md#getCheckBoxField) | **GET** /pdf/\{name}/fields/checkbox/\{fieldName} | Read document checkbox field by name.
*PdfApi* | [**getCircleAnnotation**](docs/PdfApi.md#getCircleAnnotation) | **GET** /pdf/\{name}/annotations/circle/\{annotationId} | Read document page circle annotation by ID.
*PdfApi* | [**getDiscUsage**](docs/PdfApi.md#getDiscUsage) | **GET** /pdf/storage/disc | Get disc usage
*PdfApi* | [**getDocument**](docs/PdfApi.md#getDocument) | **GET** /pdf/\{name} | Read common document info.
@@ -92,6 +93,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getDocumentAttachments**](docs/PdfApi.md#getDocumentAttachments) | **GET** /pdf/\{name}/attachments | Read document attachments info.
*PdfApi* | [**getDocumentBookmarks**](docs/PdfApi.md#getDocumentBookmarks) | **GET** /pdf/\{name}/bookmarks/tree | Read document bookmarks tree.
*PdfApi* | [**getDocumentCaretAnnotations**](docs/PdfApi.md#getDocumentCaretAnnotations) | **GET** /pdf/\{name}/annotations/caret | Read document caret annotations.
+*PdfApi* | [**getDocumentCheckBoxFields**](docs/PdfApi.md#getDocumentCheckBoxFields) | **GET** /pdf/\{name}/fields/checkbox | Read document checkbox fields.
*PdfApi* | [**getDocumentCircleAnnotations**](docs/PdfApi.md#getDocumentCircleAnnotations) | **GET** /pdf/\{name}/annotations/circle | Read document circle annotations.
*PdfApi* | [**getDocumentFileAttachmentAnnotations**](docs/PdfApi.md#getDocumentFileAttachmentAnnotations) | **GET** /pdf/\{name}/annotations/fileattachment | Read document FileAttachment annotations.
*PdfApi* | [**getDocumentFreeTextAnnotations**](docs/PdfApi.md#getDocumentFreeTextAnnotations) | **GET** /pdf/\{name}/annotations/freetext | Read document free text annotations.
@@ -105,6 +107,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getDocumentPopupAnnotationsByParent**](docs/PdfApi.md#getDocumentPopupAnnotationsByParent) | **GET** /pdf/\{name}/annotations/\{annotationId}/popup | Read document popup annotations by parent id.
*PdfApi* | [**getDocumentProperties**](docs/PdfApi.md#getDocumentProperties) | **GET** /pdf/\{name}/documentproperties | Read document properties.
*PdfApi* | [**getDocumentProperty**](docs/PdfApi.md#getDocumentProperty) | **GET** /pdf/\{name}/documentproperties/\{propertyName} | Read document property by name.
+*PdfApi* | [**getDocumentRadioButtonFields**](docs/PdfApi.md#getDocumentRadioButtonFields) | **GET** /pdf/\{name}/fields/radiobutton | Read document radiobutton fields.
*PdfApi* | [**getDocumentRedactionAnnotations**](docs/PdfApi.md#getDocumentRedactionAnnotations) | **GET** /pdf/\{name}/annotations/redaction | Read document redaction annotations.
*PdfApi* | [**getDocumentScreenAnnotations**](docs/PdfApi.md#getDocumentScreenAnnotations) | **GET** /pdf/\{name}/annotations/screen | Read document screen annotations.
*PdfApi* | [**getDocumentSignatureFields**](docs/PdfApi.md#getDocumentSignatureFields) | **GET** /pdf/\{name}/fields/signature | Read document signature fields.
@@ -151,6 +154,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getPage**](docs/PdfApi.md#getPage) | **GET** /pdf/\{name}/pages/\{pageNumber} | Read document page info.
*PdfApi* | [**getPageAnnotations**](docs/PdfApi.md#getPageAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations | Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases.
*PdfApi* | [**getPageCaretAnnotations**](docs/PdfApi.md#getPageCaretAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/caret | Read document page caret annotations.
+*PdfApi* | [**getPageCheckBoxFields**](docs/PdfApi.md#getPageCheckBoxFields) | **GET** /pdf/\{name}/page/\{pageNumber}/fields/checkbox | Read document page checkbox fields.
*PdfApi* | [**getPageCircleAnnotations**](docs/PdfApi.md#getPageCircleAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/circle | Read document page circle annotations.
*PdfApi* | [**getPageConvertToBmp**](docs/PdfApi.md#getPageConvertToBmp) | **GET** /pdf/\{name}/pages/\{pageNumber}/convert/bmp | Convert document page to Bmp image and return resulting file in response.
*PdfApi* | [**getPageConvertToEmf**](docs/PdfApi.md#getPageConvertToEmf) | **GET** /pdf/\{name}/pages/\{pageNumber}/convert/emf | Convert document page to Emf image and return resulting file in response.
@@ -169,6 +173,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getPagePolygonAnnotations**](docs/PdfApi.md#getPagePolygonAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/polygon | Read document page polygon annotations.
*PdfApi* | [**getPagePolyLineAnnotations**](docs/PdfApi.md#getPagePolyLineAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/polyline | Read document page polyline annotations.
*PdfApi* | [**getPagePopupAnnotations**](docs/PdfApi.md#getPagePopupAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/popup | Read document page popup annotations.
+*PdfApi* | [**getPageRadioButtonFields**](docs/PdfApi.md#getPageRadioButtonFields) | **GET** /pdf/\{name}/page/\{pageNumber}/fields/radiobutton | Read document page radiobutton fields.
*PdfApi* | [**getPageRedactionAnnotations**](docs/PdfApi.md#getPageRedactionAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/redaction | Read document page redaction annotations.
*PdfApi* | [**getPages**](docs/PdfApi.md#getPages) | **GET** /pdf/\{name}/pages | Read document pages info.
*PdfApi* | [**getPageScreenAnnotations**](docs/PdfApi.md#getPageScreenAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/screen | Read document page screen annotations.
@@ -202,6 +207,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**getPolyLineAnnotation**](docs/PdfApi.md#getPolyLineAnnotation) | **GET** /pdf/\{name}/annotations/polyline/\{annotationId} | Read document page polyline annotation by ID.
*PdfApi* | [**getPopupAnnotation**](docs/PdfApi.md#getPopupAnnotation) | **GET** /pdf/\{name}/annotations/popup/\{annotationId} | Read document page popup annotation by ID.
*PdfApi* | [**getPsInStorageToPdf**](docs/PdfApi.md#getPsInStorageToPdf) | **GET** /pdf/create/ps | Convert PS file (located on storage) to PDF format and return resulting file in response.
+*PdfApi* | [**getRadioButtonField**](docs/PdfApi.md#getRadioButtonField) | **GET** /pdf/\{name}/fields/radiobutton/\{fieldName} | Read document RadioButton field by name.
*PdfApi* | [**getRedactionAnnotation**](docs/PdfApi.md#getRedactionAnnotation) | **GET** /pdf/\{name}/annotations/redaction/\{annotationId} | Read document page redaction annotation by ID.
*PdfApi* | [**getScreenAnnotation**](docs/PdfApi.md#getScreenAnnotation) | **GET** /pdf/\{name}/annotations/screen/\{annotationId} | Read document page screen annotation by ID.
*PdfApi* | [**getScreenAnnotationData**](docs/PdfApi.md#getScreenAnnotationData) | **GET** /pdf/\{name}/annotations/screen/\{annotationId}/data | Read document page screen annotation by ID.
@@ -232,6 +238,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**postAppendDocument**](docs/PdfApi.md#postAppendDocument) | **POST** /pdf/\{name}/appendDocument | Append document to existing one.
*PdfApi* | [**postBookmark**](docs/PdfApi.md#postBookmark) | **POST** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Add document bookmarks.
*PdfApi* | [**postChangePasswordDocumentInStorage**](docs/PdfApi.md#postChangePasswordDocumentInStorage) | **POST** /pdf/\{name}/changepassword | Change document password in storage.
+*PdfApi* | [**postCheckBoxFields**](docs/PdfApi.md#postCheckBoxFields) | **POST** /pdf/\{name}/fields/checkbox | Add document checkbox fields.
*PdfApi* | [**postCreateField**](docs/PdfApi.md#postCreateField) | **POST** /pdf/\{name}/fields | Create field.
*PdfApi* | [**postDecryptDocumentInStorage**](docs/PdfApi.md#postDecryptDocumentInStorage) | **POST** /pdf/\{name}/decrypt | Decrypt document in storage.
*PdfApi* | [**postDocumentImageFooter**](docs/PdfApi.md#postDocumentImageFooter) | **POST** /pdf/\{name}/footer/image | Add document image footer.
@@ -275,6 +282,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**postPageTextStamps**](docs/PdfApi.md#postPageTextStamps) | **POST** /pdf/\{name}/pages/\{pageNumber}/stamps/text | Add document page text stamps.
*PdfApi* | [**postPageUnderlineAnnotations**](docs/PdfApi.md#postPageUnderlineAnnotations) | **POST** /pdf/\{name}/pages/\{pageNumber}/annotations/underline | Add document page underline annotations.
*PdfApi* | [**postPopupAnnotation**](docs/PdfApi.md#postPopupAnnotation) | **POST** /pdf/\{name}/annotations/\{annotationId}/popup | Add document popup annotations.
+*PdfApi* | [**postRadioButtonFields**](docs/PdfApi.md#postRadioButtonFields) | **POST** /pdf/\{name}/fields/radiobutton | Add document RadioButton fields.
*PdfApi* | [**postSignDocument**](docs/PdfApi.md#postSignDocument) | **POST** /pdf/\{name}/sign | Sign document.
*PdfApi* | [**postSignPage**](docs/PdfApi.md#postSignPage) | **POST** /pdf/\{name}/pages/\{pageNumber}/sign | Sign page.
*PdfApi* | [**postSplitDocument**](docs/PdfApi.md#postSplitDocument) | **POST** /pdf/\{name}/split | Split document to parts.
@@ -285,6 +293,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**putBookmark**](docs/PdfApi.md#putBookmark) | **PUT** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Update document bookmark.
*PdfApi* | [**putCaretAnnotation**](docs/PdfApi.md#putCaretAnnotation) | **PUT** /pdf/\{name}/annotations/caret/\{annotationId} | Replace document caret annotation
*PdfApi* | [**putChangePasswordDocument**](docs/PdfApi.md#putChangePasswordDocument) | **PUT** /pdf/changepassword | Change document password from content.
+*PdfApi* | [**putCheckBoxField**](docs/PdfApi.md#putCheckBoxField) | **PUT** /pdf/\{name}/fields/checkbox/\{fieldName} | Replace document checkbox field
*PdfApi* | [**putCircleAnnotation**](docs/PdfApi.md#putCircleAnnotation) | **PUT** /pdf/\{name}/annotations/circle/\{annotationId} | Replace document circle annotation
*PdfApi* | [**putCreateDocument**](docs/PdfApi.md#putCreateDocument) | **PUT** /pdf/\{name} | Create empty document.
*PdfApi* | [**putDecryptDocument**](docs/PdfApi.md#putDecryptDocument) | **PUT** /pdf/decrypt | Decrypt document from content.
@@ -358,6 +367,7 @@ Class | Method | HTTP request | Description
*PdfApi* | [**putPopupAnnotation**](docs/PdfApi.md#putPopupAnnotation) | **PUT** /pdf/\{name}/annotations/popup/\{annotationId} | Replace document popup annotation
*PdfApi* | [**putPrivileges**](docs/PdfApi.md#putPrivileges) | **PUT** /pdf/\{name}/privileges | Update privilege document.
*PdfApi* | [**putPsInStorageToPdf**](docs/PdfApi.md#putPsInStorageToPdf) | **PUT** /pdf/\{name}/create/ps | Convert PS file (located on storage) to PDF format and upload resulting file to storage.
+*PdfApi* | [**putRadioButtonField**](docs/PdfApi.md#putRadioButtonField) | **PUT** /pdf/\{name}/fields/radiobutton/\{fieldName} | Replace document RadioButton field
*PdfApi* | [**putRedactionAnnotation**](docs/PdfApi.md#putRedactionAnnotation) | **PUT** /pdf/\{name}/annotations/redaction/\{annotationId} | Replace document redaction annotation
*PdfApi* | [**putReplaceImage**](docs/PdfApi.md#putReplaceImage) | **PUT** /pdf/\{name}/images/\{imageId} | Replace document image.
*PdfApi* | [**putScreenAnnotation**](docs/PdfApi.md#putScreenAnnotation) | **PUT** /pdf/\{name}/annotations/screen/\{annotationId} | Replace document screen annotation
@@ -410,6 +420,7 @@ Class | Description
[**BookmarksResponse**](docs/BookmarksResponse.md) | Represents response containing multiple bookmarks info
[**BorderCornerStyle**](docs/BorderCornerStyle.md) | Enumerates the border corner styles for border.
[**BorderInfo**](docs/BorderInfo.md) | This class represents border for graphics elements.
+[**BoxStyle**](docs/BoxStyle.md) | Represents an enumeration of available BoxStyle types.
[**CapStyle**](docs/CapStyle.md) | Style of line ending of Ink annotation line.
[**CaptionPosition**](docs/CaptionPosition.md) | Enumeration of the annotation’s caption positioning.
[**CaretAnnotation**](docs/CaretAnnotation.md) | Provides CaretAnnotation.
@@ -419,6 +430,11 @@ Class | Description
[**CaretSymbol**](docs/CaretSymbol.md) | A symbol to be associated with the caret.
[**Cell**](docs/Cell.md) | Represents a cell of the table's row.
[**CellRecognized**](docs/CellRecognized.md) |
+[**CheckBoxField**](docs/CheckBoxField.md) | Provides CheckBoxField.
+[**CheckBoxFieldResponse**](docs/CheckBoxFieldResponse.md) | Represents response containing single checkbox field object
+[**CheckBoxFields**](docs/CheckBoxFields.md) | Object representing a list of checkbox fields.
+[**CheckBoxFieldsResponse**](docs/CheckBoxFieldsResponse.md) | Represents response containing multiple checkbox field objects
+[**ChoiceField**](docs/ChoiceField.md) | Provides Choice field.
[**CircleAnnotation**](docs/CircleAnnotation.md) | Provides CircleAnnotation.
[**CircleAnnotationResponse**](docs/CircleAnnotationResponse.md) | Represents response containing single circle annotation object
[**CircleAnnotations**](docs/CircleAnnotations.md) | Object representing a list of circle annotations.
@@ -516,6 +532,7 @@ Class | Description
[**MovieAnnotationsResponse**](docs/MovieAnnotationsResponse.md) | Represents response containing multiple movie annotation objects
[**ObjectExist**](docs/ObjectExist.md) | Object exists
[**OptimizeOptions**](docs/OptimizeOptions.md) | Represents Pdf optimize options.
+[**Option**](docs/Option.md) | Provides form option.
[**Page**](docs/Page.md) | Provides link to page.
[**PageNumberStamp**](docs/PageNumberStamp.md) | Represents Pdf stamps.
[**Pages**](docs/Pages.md) | Represents list of pages.
@@ -542,6 +559,11 @@ Class | Description
[**PopupAnnotationsResponse**](docs/PopupAnnotationsResponse.md) | Represents response containing multiple popup annotation objects
[**PopupAnnotationWithParent**](docs/PopupAnnotationWithParent.md) | Provides PopupAnnotation.
[**Position**](docs/Position.md) | Represents a position object
+[**RadioButtonField**](docs/RadioButtonField.md) | Provides RadioButtonField.
+[**RadioButtonFieldResponse**](docs/RadioButtonFieldResponse.md) | Represents response containing single RadioButton field object
+[**RadioButtonFields**](docs/RadioButtonFields.md) | Object representing a list of radiobox fields.
+[**RadioButtonFieldsResponse**](docs/RadioButtonFieldsResponse.md) | Represents response containing multiple RadioButton field objects
+[**RadioButtonOptionField**](docs/RadioButtonOptionField.md) | Provides RadioButtonField.
[**RasterImagesSavingModes**](docs/RasterImagesSavingModes.md) | Converted PDF can contain raster images(.png, *.jpeg etc.) This enum defines methods of how raster images can be handled during conversion of PDF to HTML
[**Rectangle**](docs/Rectangle.md) | Represents rectangle DTO.
[**RedactionAnnotation**](docs/RedactionAnnotation.md) | Provides RedactionAnnotation.
diff --git a/docs/BoxStyle.md b/docs/BoxStyle.md
new file mode 100644
index 00000000..112db72f
--- /dev/null
+++ b/docs/BoxStyle.md
@@ -0,0 +1,15 @@
+# BoxStyle
+Represents an enumeration of available BoxStyle types.
+
+## Enum
+Name | Type | Value | Description
+------------ | ------------- | ------------- | -------------
+**Check** | **string** | 'Check' | Check style.
+**Circle** | **string** | 'Circle' | Circle style.
+**Cross** | **string** | 'Cross' | Cross style.
+**Diamond** | **string** | 'Diamond' | Diamond style.
+**Square** | **string** | 'Square' | Square style.
+**Star** | **string** | 'Star' | Star style.
+
+[[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/boxStyle.ts)
+
diff --git a/docs/CheckBoxField.md b/docs/CheckBoxField.md
new file mode 100644
index 00000000..85be6f84
--- /dev/null
+++ b/docs/CheckBoxField.md
@@ -0,0 +1,33 @@
+# CheckBoxField
+Provides CheckBoxField.
+
+*Inherited from [FormField](FormField.md)*
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**allowedStates** | **Array<string>** | Returns list of allowed states. | [optional]
+**style** | [**BoxStyle**](BoxStyle.md) | Gets or sets style of check box. | [optional]
+**activeState** | **string** | Gets or sets current annotation appearance state. | [optional]
+**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]
+**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)* |
+**height** | **number** | Gets or sets height of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**width** | **number** | Gets or sets width of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**zIndex** | **number** | Z index.
*Inherited from [FormField](FormField.md)* | [optional]
+**isGroup** | **boolean** | Is group.
*Inherited from [FormField](FormField.md)* |
+**parent** | [**FormField**](FormField.md) | Gets field parent.
*Inherited from [FormField](FormField.md)* | [optional]
+**isSharedField** | **boolean** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page.
*Inherited from [FormField](FormField.md)* | [optional]
+**flags** | [**Array<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**color** | [**Color**](Color.md) | Color of the annotation.
*Inherited from [FormField](FormField.md)* | [optional]
+**contents** | **string** | Get the field content.
*Inherited from [FormField](FormField.md)* | [optional]
+**margin** | [**MarginInfo**](MarginInfo.md) | Gets or sets a outer margin for paragraph (for pdf generation)
*Inherited from [FormField](FormField.md)* | [optional]
+**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode.
*Inherited from [FormField](FormField.md)* | [optional]
+**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**links** | [**Array<Link>**](Link.md) | Link to the document.
*Inherited from [LinkElement](LinkElement.md)* | [optional]
+
+[[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/checkBoxField.ts)
+
diff --git a/docs/CheckBoxFieldResponse.md b/docs/CheckBoxFieldResponse.md
new file mode 100644
index 00000000..79770007
--- /dev/null
+++ b/docs/CheckBoxFieldResponse.md
@@ -0,0 +1,13 @@
+# CheckBoxFieldResponse
+Represents response containing single checkbox field object
+
+*Inherited from [AsposeResponse](AsposeResponse.md)*
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**field** | [**CheckBoxField**](CheckBoxField.md) | Checkbox field object | [optional]
+**code** | **number** | Response status code.
*Inherited from [AsposeResponse](AsposeResponse.md)* |
+**status** | **string** | Response status.
*Inherited from [AsposeResponse](AsposeResponse.md)* | [optional]
+
+[[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/checkBoxFieldResponse.ts)
+
diff --git a/docs/CheckBoxFields.md b/docs/CheckBoxFields.md
new file mode 100644
index 00000000..fddcbe1f
--- /dev/null
+++ b/docs/CheckBoxFields.md
@@ -0,0 +1,12 @@
+# CheckBoxFields
+Object representing a list of checkbox fields.
+
+*Inherited from [LinkElement](LinkElement.md)*
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**list** | [**Array<CheckBoxField>**](CheckBoxField.md) | List of checkbox fields. | [optional]
+**links** | [**Array<Link>**](Link.md) | Link to the document.
*Inherited from [LinkElement](LinkElement.md)* | [optional]
+
+[[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/checkBoxFields.ts)
+
diff --git a/docs/CheckBoxFieldsResponse.md b/docs/CheckBoxFieldsResponse.md
new file mode 100644
index 00000000..db0881de
--- /dev/null
+++ b/docs/CheckBoxFieldsResponse.md
@@ -0,0 +1,13 @@
+# CheckBoxFieldsResponse
+Represents response containing multiple checkbox field objects
+
+*Inherited from [AsposeResponse](AsposeResponse.md)*
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**fields** | [**CheckBoxFields**](CheckBoxFields.md) | Checkbox fields object | [optional]
+**code** | **number** | Response status code.
*Inherited from [AsposeResponse](AsposeResponse.md)* |
+**status** | **string** | Response status.
*Inherited from [AsposeResponse](AsposeResponse.md)* | [optional]
+
+[[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/checkBoxFieldsResponse.ts)
+
diff --git a/docs/ChoiceField.md b/docs/ChoiceField.md
new file mode 100644
index 00000000..57e37e20
--- /dev/null
+++ b/docs/ChoiceField.md
@@ -0,0 +1,29 @@
+# ChoiceField
+Provides Choice field.
+
+*Inherited from [FormField](FormField.md)*
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**multiSelect** | **boolean** | Gets or sets multiselection flag. | [optional]
+**partialName** | **string** | 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)* |
+**height** | **number** | Gets or sets height of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**width** | **number** | Gets or sets width of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**zIndex** | **number** | Z index.
*Inherited from [FormField](FormField.md)* | [optional]
+**isGroup** | **boolean** | Is group.
*Inherited from [FormField](FormField.md)* |
+**parent** | [**FormField**](FormField.md) | Gets field parent.
*Inherited from [FormField](FormField.md)* | [optional]
+**isSharedField** | **boolean** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page.
*Inherited from [FormField](FormField.md)* | [optional]
+**flags** | [**Array<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**color** | [**Color**](Color.md) | Color of the annotation.
*Inherited from [FormField](FormField.md)* | [optional]
+**contents** | **string** | Get the field content.
*Inherited from [FormField](FormField.md)* | [optional]
+**margin** | [**MarginInfo**](MarginInfo.md) | Gets or sets a outer margin for paragraph (for pdf generation)
*Inherited from [FormField](FormField.md)* | [optional]
+**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode.
*Inherited from [FormField](FormField.md)* | [optional]
+**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**links** | [**Array<Link>**](Link.md) | Link to the document.
*Inherited from [LinkElement](LinkElement.md)* | [optional]
+
+[[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/choiceField.ts)
+
diff --git a/docs/Option.md b/docs/Option.md
new file mode 100644
index 00000000..4e33e81c
--- /dev/null
+++ b/docs/Option.md
@@ -0,0 +1,13 @@
+# Option
+Provides form option.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**value** | **string** | Gets or sets option export value. | [optional]
+**name** | **string** | Gets or sets name of option. | [optional]
+**selected** | **boolean** | Gets or sets selected status of option. Returns true if option is selected. | [optional]
+**index** | **number** | Gets index of the option. | [optional]
+
+[[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/option.ts)
+
diff --git a/docs/PdfApi.md b/docs/PdfApi.md
index 2b01e471..8674483a 100644
--- a/docs/PdfApi.md
+++ b/docs/PdfApi.md
@@ -32,6 +32,7 @@ Method | HTTP request | Description
*PdfApi* | [**getBookmark**](PdfApi.md#getBookmark) | **GET** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Read document bookmark.
*PdfApi* | [**getBookmarks**](PdfApi.md#getBookmarks) | **GET** /pdf/\{name}/bookmarks/list/\{bookmarkPath} | Read document bookmarks node list.
*PdfApi* | [**getCaretAnnotation**](PdfApi.md#getCaretAnnotation) | **GET** /pdf/\{name}/annotations/caret/\{annotationId} | Read document page caret annotation by ID.
+*PdfApi* | [**getCheckBoxField**](PdfApi.md#getCheckBoxField) | **GET** /pdf/\{name}/fields/checkbox/\{fieldName} | Read document checkbox field by name.
*PdfApi* | [**getCircleAnnotation**](PdfApi.md#getCircleAnnotation) | **GET** /pdf/\{name}/annotations/circle/\{annotationId} | Read document page circle annotation by ID.
*PdfApi* | [**getDiscUsage**](PdfApi.md#getDiscUsage) | **GET** /pdf/storage/disc | Get disc usage
*PdfApi* | [**getDocument**](PdfApi.md#getDocument) | **GET** /pdf/\{name} | Read common document info.
@@ -40,6 +41,7 @@ Method | HTTP request | Description
*PdfApi* | [**getDocumentAttachments**](PdfApi.md#getDocumentAttachments) | **GET** /pdf/\{name}/attachments | Read document attachments info.
*PdfApi* | [**getDocumentBookmarks**](PdfApi.md#getDocumentBookmarks) | **GET** /pdf/\{name}/bookmarks/tree | Read document bookmarks tree.
*PdfApi* | [**getDocumentCaretAnnotations**](PdfApi.md#getDocumentCaretAnnotations) | **GET** /pdf/\{name}/annotations/caret | Read document caret annotations.
+*PdfApi* | [**getDocumentCheckBoxFields**](PdfApi.md#getDocumentCheckBoxFields) | **GET** /pdf/\{name}/fields/checkbox | Read document checkbox fields.
*PdfApi* | [**getDocumentCircleAnnotations**](PdfApi.md#getDocumentCircleAnnotations) | **GET** /pdf/\{name}/annotations/circle | Read document circle annotations.
*PdfApi* | [**getDocumentFileAttachmentAnnotations**](PdfApi.md#getDocumentFileAttachmentAnnotations) | **GET** /pdf/\{name}/annotations/fileattachment | Read document FileAttachment annotations.
*PdfApi* | [**getDocumentFreeTextAnnotations**](PdfApi.md#getDocumentFreeTextAnnotations) | **GET** /pdf/\{name}/annotations/freetext | Read document free text annotations.
@@ -53,6 +55,7 @@ Method | HTTP request | Description
*PdfApi* | [**getDocumentPopupAnnotationsByParent**](PdfApi.md#getDocumentPopupAnnotationsByParent) | **GET** /pdf/\{name}/annotations/\{annotationId}/popup | Read document popup annotations by parent id.
*PdfApi* | [**getDocumentProperties**](PdfApi.md#getDocumentProperties) | **GET** /pdf/\{name}/documentproperties | Read document properties.
*PdfApi* | [**getDocumentProperty**](PdfApi.md#getDocumentProperty) | **GET** /pdf/\{name}/documentproperties/\{propertyName} | Read document property by name.
+*PdfApi* | [**getDocumentRadioButtonFields**](PdfApi.md#getDocumentRadioButtonFields) | **GET** /pdf/\{name}/fields/radiobutton | Read document radiobutton fields.
*PdfApi* | [**getDocumentRedactionAnnotations**](PdfApi.md#getDocumentRedactionAnnotations) | **GET** /pdf/\{name}/annotations/redaction | Read document redaction annotations.
*PdfApi* | [**getDocumentScreenAnnotations**](PdfApi.md#getDocumentScreenAnnotations) | **GET** /pdf/\{name}/annotations/screen | Read document screen annotations.
*PdfApi* | [**getDocumentSignatureFields**](PdfApi.md#getDocumentSignatureFields) | **GET** /pdf/\{name}/fields/signature | Read document signature fields.
@@ -99,6 +102,7 @@ Method | HTTP request | Description
*PdfApi* | [**getPage**](PdfApi.md#getPage) | **GET** /pdf/\{name}/pages/\{pageNumber} | Read document page info.
*PdfApi* | [**getPageAnnotations**](PdfApi.md#getPageAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations | Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases.
*PdfApi* | [**getPageCaretAnnotations**](PdfApi.md#getPageCaretAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/caret | Read document page caret annotations.
+*PdfApi* | [**getPageCheckBoxFields**](PdfApi.md#getPageCheckBoxFields) | **GET** /pdf/\{name}/page/\{pageNumber}/fields/checkbox | Read document page checkbox fields.
*PdfApi* | [**getPageCircleAnnotations**](PdfApi.md#getPageCircleAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/circle | Read document page circle annotations.
*PdfApi* | [**getPageConvertToBmp**](PdfApi.md#getPageConvertToBmp) | **GET** /pdf/\{name}/pages/\{pageNumber}/convert/bmp | Convert document page to Bmp image and return resulting file in response.
*PdfApi* | [**getPageConvertToEmf**](PdfApi.md#getPageConvertToEmf) | **GET** /pdf/\{name}/pages/\{pageNumber}/convert/emf | Convert document page to Emf image and return resulting file in response.
@@ -117,6 +121,7 @@ Method | HTTP request | Description
*PdfApi* | [**getPagePolygonAnnotations**](PdfApi.md#getPagePolygonAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/polygon | Read document page polygon annotations.
*PdfApi* | [**getPagePolyLineAnnotations**](PdfApi.md#getPagePolyLineAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/polyline | Read document page polyline annotations.
*PdfApi* | [**getPagePopupAnnotations**](PdfApi.md#getPagePopupAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/popup | Read document page popup annotations.
+*PdfApi* | [**getPageRadioButtonFields**](PdfApi.md#getPageRadioButtonFields) | **GET** /pdf/\{name}/page/\{pageNumber}/fields/radiobutton | Read document page radiobutton fields.
*PdfApi* | [**getPageRedactionAnnotations**](PdfApi.md#getPageRedactionAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/redaction | Read document page redaction annotations.
*PdfApi* | [**getPages**](PdfApi.md#getPages) | **GET** /pdf/\{name}/pages | Read document pages info.
*PdfApi* | [**getPageScreenAnnotations**](PdfApi.md#getPageScreenAnnotations) | **GET** /pdf/\{name}/pages/\{pageNumber}/annotations/screen | Read document page screen annotations.
@@ -150,6 +155,7 @@ Method | HTTP request | Description
*PdfApi* | [**getPolyLineAnnotation**](PdfApi.md#getPolyLineAnnotation) | **GET** /pdf/\{name}/annotations/polyline/\{annotationId} | Read document page polyline annotation by ID.
*PdfApi* | [**getPopupAnnotation**](PdfApi.md#getPopupAnnotation) | **GET** /pdf/\{name}/annotations/popup/\{annotationId} | Read document page popup annotation by ID.
*PdfApi* | [**getPsInStorageToPdf**](PdfApi.md#getPsInStorageToPdf) | **GET** /pdf/create/ps | Convert PS file (located on storage) to PDF format and return resulting file in response.
+*PdfApi* | [**getRadioButtonField**](PdfApi.md#getRadioButtonField) | **GET** /pdf/\{name}/fields/radiobutton/\{fieldName} | Read document RadioButton field by name.
*PdfApi* | [**getRedactionAnnotation**](PdfApi.md#getRedactionAnnotation) | **GET** /pdf/\{name}/annotations/redaction/\{annotationId} | Read document page redaction annotation by ID.
*PdfApi* | [**getScreenAnnotation**](PdfApi.md#getScreenAnnotation) | **GET** /pdf/\{name}/annotations/screen/\{annotationId} | Read document page screen annotation by ID.
*PdfApi* | [**getScreenAnnotationData**](PdfApi.md#getScreenAnnotationData) | **GET** /pdf/\{name}/annotations/screen/\{annotationId}/data | Read document page screen annotation by ID.
@@ -180,6 +186,7 @@ Method | HTTP request | Description
*PdfApi* | [**postAppendDocument**](PdfApi.md#postAppendDocument) | **POST** /pdf/\{name}/appendDocument | Append document to existing one.
*PdfApi* | [**postBookmark**](PdfApi.md#postBookmark) | **POST** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Add document bookmarks.
*PdfApi* | [**postChangePasswordDocumentInStorage**](PdfApi.md#postChangePasswordDocumentInStorage) | **POST** /pdf/\{name}/changepassword | Change document password in storage.
+*PdfApi* | [**postCheckBoxFields**](PdfApi.md#postCheckBoxFields) | **POST** /pdf/\{name}/fields/checkbox | Add document checkbox fields.
*PdfApi* | [**postCreateField**](PdfApi.md#postCreateField) | **POST** /pdf/\{name}/fields | Create field.
*PdfApi* | [**postDecryptDocumentInStorage**](PdfApi.md#postDecryptDocumentInStorage) | **POST** /pdf/\{name}/decrypt | Decrypt document in storage.
*PdfApi* | [**postDocumentImageFooter**](PdfApi.md#postDocumentImageFooter) | **POST** /pdf/\{name}/footer/image | Add document image footer.
@@ -223,6 +230,7 @@ Method | HTTP request | Description
*PdfApi* | [**postPageTextStamps**](PdfApi.md#postPageTextStamps) | **POST** /pdf/\{name}/pages/\{pageNumber}/stamps/text | Add document page text stamps.
*PdfApi* | [**postPageUnderlineAnnotations**](PdfApi.md#postPageUnderlineAnnotations) | **POST** /pdf/\{name}/pages/\{pageNumber}/annotations/underline | Add document page underline annotations.
*PdfApi* | [**postPopupAnnotation**](PdfApi.md#postPopupAnnotation) | **POST** /pdf/\{name}/annotations/\{annotationId}/popup | Add document popup annotations.
+*PdfApi* | [**postRadioButtonFields**](PdfApi.md#postRadioButtonFields) | **POST** /pdf/\{name}/fields/radiobutton | Add document RadioButton fields.
*PdfApi* | [**postSignDocument**](PdfApi.md#postSignDocument) | **POST** /pdf/\{name}/sign | Sign document.
*PdfApi* | [**postSignPage**](PdfApi.md#postSignPage) | **POST** /pdf/\{name}/pages/\{pageNumber}/sign | Sign page.
*PdfApi* | [**postSplitDocument**](PdfApi.md#postSplitDocument) | **POST** /pdf/\{name}/split | Split document to parts.
@@ -233,6 +241,7 @@ Method | HTTP request | Description
*PdfApi* | [**putBookmark**](PdfApi.md#putBookmark) | **PUT** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Update document bookmark.
*PdfApi* | [**putCaretAnnotation**](PdfApi.md#putCaretAnnotation) | **PUT** /pdf/\{name}/annotations/caret/\{annotationId} | Replace document caret annotation
*PdfApi* | [**putChangePasswordDocument**](PdfApi.md#putChangePasswordDocument) | **PUT** /pdf/changepassword | Change document password from content.
+*PdfApi* | [**putCheckBoxField**](PdfApi.md#putCheckBoxField) | **PUT** /pdf/\{name}/fields/checkbox/\{fieldName} | Replace document checkbox field
*PdfApi* | [**putCircleAnnotation**](PdfApi.md#putCircleAnnotation) | **PUT** /pdf/\{name}/annotations/circle/\{annotationId} | Replace document circle annotation
*PdfApi* | [**putCreateDocument**](PdfApi.md#putCreateDocument) | **PUT** /pdf/\{name} | Create empty document.
*PdfApi* | [**putDecryptDocument**](PdfApi.md#putDecryptDocument) | **PUT** /pdf/decrypt | Decrypt document from content.
@@ -306,6 +315,7 @@ Method | HTTP request | Description
*PdfApi* | [**putPopupAnnotation**](PdfApi.md#putPopupAnnotation) | **PUT** /pdf/\{name}/annotations/popup/\{annotationId} | Replace document popup annotation
*PdfApi* | [**putPrivileges**](PdfApi.md#putPrivileges) | **PUT** /pdf/\{name}/privileges | Update privilege document.
*PdfApi* | [**putPsInStorageToPdf**](PdfApi.md#putPsInStorageToPdf) | **PUT** /pdf/\{name}/create/ps | Convert PS file (located on storage) to PDF format and upload resulting file to storage.
+*PdfApi* | [**putRadioButtonField**](PdfApi.md#putRadioButtonField) | **PUT** /pdf/\{name}/fields/radiobutton/\{fieldName} | Replace document RadioButton field
*PdfApi* | [**putRedactionAnnotation**](PdfApi.md#putRedactionAnnotation) | **PUT** /pdf/\{name}/annotations/redaction/\{annotationId} | Replace document redaction annotation
*PdfApi* | [**putReplaceImage**](PdfApi.md#putReplaceImage) | **PUT** /pdf/\{name}/images/\{imageId} | Replace document image.
*PdfApi* | [**putScreenAnnotation**](PdfApi.md#putScreenAnnotation) | **PUT** /pdf/\{name}/annotations/screen/\{annotationId} | Replace document screen annotation
@@ -963,6 +973,29 @@ Name | Type | Description | Notes
[**CaretAnnotationResponse**](CaretAnnotationResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+## **getCheckBoxField**
+> getCheckBoxField(name, fieldName, storage, folder)
+
+Read document checkbox field by name.
+
+### Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**name** | **string** | The document name. |
+**fieldName** | **string** | The field name. |
+**storage** | **string** | The document storage. | [optional]
+**folder** | **string** | The document folder. | [optional]
+
+### Return type
+
+[**CheckBoxFieldResponse**](CheckBoxFieldResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -1139,6 +1172,28 @@ Name | Type | Description | Notes
[**CaretAnnotationsResponse**](CaretAnnotationsResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+## **getDocumentCheckBoxFields**
+> getDocumentCheckBoxFields(name, storage, folder)
+
+Read document checkbox fields.
+
+### Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**name** | **string** | The document name. |
+**storage** | **string** | The document storage. | [optional]
+**folder** | **string** | The document folder. | [optional]
+
+### Return type
+
+[**CheckBoxFieldsResponse**](CheckBoxFieldsResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -1427,6 +1482,28 @@ Name | Type | Description | Notes
[**DocumentPropertyResponse**](DocumentPropertyResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+## **getDocumentRadioButtonFields**
+> getDocumentRadioButtonFields(name, storage, folder)
+
+Read document radiobutton fields.
+
+### Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**name** | **string** | The document name. |
+**storage** | **string** | The document storage. | [optional]
+**folder** | **string** | The document folder. | [optional]
+
+### Return type
+
+[**RadioButtonFieldsResponse**](RadioButtonFieldsResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -2470,6 +2547,29 @@ Name | Type | Description | Notes
[**CaretAnnotationsResponse**](CaretAnnotationsResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+## **getPageCheckBoxFields**
+> getPageCheckBoxFields(name, pageNumber, storage, folder)
+
+Read document page checkbox fields.
+
+### Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**name** | **string** | The document name. |
+**pageNumber** | **number** | The page number. |
+**storage** | **string** | The document storage. | [optional]
+**folder** | **string** | The document folder. | [optional]
+
+### Return type
+
+[**CheckBoxFieldsResponse**](CheckBoxFieldsResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -2897,6 +2997,29 @@ Name | Type | Description | Notes
[**PopupAnnotationsResponse**](PopupAnnotationsResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+## **getPageRadioButtonFields**
+> getPageRadioButtonFields(name, pageNumber, storage, folder)
+
+Read document page radiobutton fields.
+
+### Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**name** | **string** | The document name. |
+**pageNumber** | **number** | The page number. |
+**storage** | **string** | The document storage. | [optional]
+**folder** | **string** | The document folder. | [optional]
+
+### Return type
+
+[**RadioButtonFieldsResponse**](RadioButtonFieldsResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -3715,6 +3838,29 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: multipart/form-data
+
+## **getRadioButtonField**
+> getRadioButtonField(name, fieldName, storage, folder)
+
+Read document RadioButton field by name.
+
+### Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**name** | **string** | The document name. |
+**fieldName** | **string** | The field name. |
+**storage** | **string** | The document storage. | [optional]
+**folder** | **string** | The document folder. | [optional]
+
+### Return type
+
+[**RadioButtonFieldResponse**](RadioButtonFieldResponse.md)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
## **getRedactionAnnotation**
> getRedactionAnnotation(name, annotationId, storage, folder)
@@ -4415,6 +4561,29 @@ Name | Type | Description | Notes
[**AsposeResponse**](AsposeResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+## **postCheckBoxFields**
+> postCheckBoxFields(name, fields, storage, folder)
+
+Add document checkbox fields.
+
+### Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**name** | **string** | The document name. |
+**fields** | [**Array<CheckBoxField>**](CheckBoxField.md) | The array of field. |
+**storage** | **string** | The document storage. | [optional]
+**folder** | **string** | The document folder. | [optional]
+
+### Return type
+
+[**AsposeResponse**](AsposeResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -5456,6 +5625,29 @@ Name | Type | Description | Notes
[**AsposeResponse**](AsposeResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+## **postRadioButtonFields**
+> postRadioButtonFields(name, fields, storage, folder)
+
+Add document RadioButton fields.
+
+### Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**name** | **string** | The document name. |
+**fields** | [**Array<RadioButtonField>**](RadioButtonField.md) | The array of field. |
+**storage** | **string** | The document storage. | [optional]
+**folder** | **string** | The document folder. | [optional]
+
+### Return type
+
+[**AsposeResponse**](AsposeResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -5700,6 +5892,30 @@ Name | Type | Description | Notes
- **Content-Type**: multipart/form-data
- **Accept**: application/json
+
+## **putCheckBoxField**
+> putCheckBoxField(name, fieldName, field, storage, folder)
+
+Replace document checkbox field
+
+### Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**name** | **string** | The document name. |
+**fieldName** | **string** | The field name. |
+**field** | [**CheckBoxField**](CheckBoxField.md) | The field. |
+**storage** | **string** | The document storage. | [optional]
+**folder** | **string** | The document folder. | [optional]
+
+### Return type
+
+[**CheckBoxFieldResponse**](CheckBoxFieldResponse.md)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
## **putCircleAnnotation**
> putCircleAnnotation(name, annotationId, annotation, storage, folder)
@@ -7554,6 +7770,30 @@ Name | Type | Description | Notes
[**AsposeResponse**](AsposeResponse.md)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+## **putRadioButtonField**
+> putRadioButtonField(name, fieldName, field, storage, folder)
+
+Replace document RadioButton field
+
+### Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**name** | **string** | The document name. |
+**fieldName** | **string** | The field name. |
+**field** | [**RadioButtonField**](RadioButtonField.md) | The field. |
+**storage** | **string** | The document storage. | [optional]
+**folder** | **string** | The document folder. | [optional]
+
+### Return type
+
+[**RadioButtonFieldResponse**](RadioButtonFieldResponse.md)
+
### HTTP request headers
- **Content-Type**: application/json
diff --git a/docs/RadioButtonField.md b/docs/RadioButtonField.md
new file mode 100644
index 00000000..f75ed3e6
--- /dev/null
+++ b/docs/RadioButtonField.md
@@ -0,0 +1,33 @@
+# RadioButtonField
+Provides RadioButtonField.
+
+*Inherited from [ChoiceField](ChoiceField.md)*
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**options** | [**Array<Option>**](Option.md) | Gets collection of options of the radio button. | [optional]
+**radioButtonOptionsField** | [**Array<RadioButtonOptionField>**](RadioButtonOptionField.md) | Gets collection of radio button options field. | [optional]
+**style** | [**BoxStyle**](BoxStyle.md) | Style of field box. | [optional]
+**selected** | **number** | Gets or sets index of selected item. Numbering of items is started from 1. |
+**multiSelect** | **boolean** | Gets or sets multiselection flag.
*Inherited from [ChoiceField](ChoiceField.md)* | [optional]
+**partialName** | **string** | 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)* |
+**height** | **number** | Gets or sets height of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**width** | **number** | Gets or sets width of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**zIndex** | **number** | Z index.
*Inherited from [FormField](FormField.md)* | [optional]
+**isGroup** | **boolean** | Is group.
*Inherited from [FormField](FormField.md)* |
+**parent** | [**FormField**](FormField.md) | Gets field parent.
*Inherited from [FormField](FormField.md)* | [optional]
+**isSharedField** | **boolean** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page.
*Inherited from [FormField](FormField.md)* | [optional]
+**flags** | [**Array<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**color** | [**Color**](Color.md) | Color of the annotation.
*Inherited from [FormField](FormField.md)* | [optional]
+**contents** | **string** | Get the field content.
*Inherited from [FormField](FormField.md)* | [optional]
+**margin** | [**MarginInfo**](MarginInfo.md) | Gets or sets a outer margin for paragraph (for pdf generation)
*Inherited from [FormField](FormField.md)* | [optional]
+**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode.
*Inherited from [FormField](FormField.md)* | [optional]
+**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**links** | [**Array<Link>**](Link.md) | Link to the document.
*Inherited from [LinkElement](LinkElement.md)* | [optional]
+
+[[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/radioButtonField.ts)
+
diff --git a/docs/RadioButtonFieldResponse.md b/docs/RadioButtonFieldResponse.md
new file mode 100644
index 00000000..63e3c47d
--- /dev/null
+++ b/docs/RadioButtonFieldResponse.md
@@ -0,0 +1,13 @@
+# RadioButtonFieldResponse
+Represents response containing single RadioButton field object
+
+*Inherited from [AsposeResponse](AsposeResponse.md)*
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**field** | [**RadioButtonField**](RadioButtonField.md) | RadioButton field object | [optional]
+**code** | **number** | Response status code.
*Inherited from [AsposeResponse](AsposeResponse.md)* |
+**status** | **string** | Response status.
*Inherited from [AsposeResponse](AsposeResponse.md)* | [optional]
+
+[[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/radioButtonFieldResponse.ts)
+
diff --git a/docs/RadioButtonFields.md b/docs/RadioButtonFields.md
new file mode 100644
index 00000000..25d7561d
--- /dev/null
+++ b/docs/RadioButtonFields.md
@@ -0,0 +1,12 @@
+# RadioButtonFields
+Object representing a list of radiobox fields.
+
+*Inherited from [LinkElement](LinkElement.md)*
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**list** | [**Array<RadioButtonField>**](RadioButtonField.md) | List of radiobox fields. | [optional]
+**links** | [**Array<Link>**](Link.md) | Link to the document.
*Inherited from [LinkElement](LinkElement.md)* | [optional]
+
+[[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/radioButtonFields.ts)
+
diff --git a/docs/RadioButtonFieldsResponse.md b/docs/RadioButtonFieldsResponse.md
new file mode 100644
index 00000000..525cb626
--- /dev/null
+++ b/docs/RadioButtonFieldsResponse.md
@@ -0,0 +1,13 @@
+# RadioButtonFieldsResponse
+Represents response containing multiple RadioButton field objects
+
+*Inherited from [AsposeResponse](AsposeResponse.md)*
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**fields** | [**RadioButtonFields**](RadioButtonFields.md) | Text box fields object | [optional]
+**code** | **number** | Response status code.
*Inherited from [AsposeResponse](AsposeResponse.md)* |
+**status** | **string** | Response status.
*Inherited from [AsposeResponse](AsposeResponse.md)* | [optional]
+
+[[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/radioButtonFieldsResponse.ts)
+
diff --git a/docs/RadioButtonOptionField.md b/docs/RadioButtonOptionField.md
new file mode 100644
index 00000000..6ceb7a6c
--- /dev/null
+++ b/docs/RadioButtonOptionField.md
@@ -0,0 +1,30 @@
+# RadioButtonOptionField
+Provides RadioButtonField.
+
+*Inherited from [FormField](FormField.md)*
+## Properties
+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]
+**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)* |
+**height** | **number** | Gets or sets height of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**width** | **number** | Gets or sets width of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**zIndex** | **number** | Z index.
*Inherited from [FormField](FormField.md)* | [optional]
+**isGroup** | **boolean** | Is group.
*Inherited from [FormField](FormField.md)* |
+**parent** | [**FormField**](FormField.md) | Gets field parent.
*Inherited from [FormField](FormField.md)* | [optional]
+**isSharedField** | **boolean** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page.
*Inherited from [FormField](FormField.md)* | [optional]
+**flags** | [**Array<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**color** | [**Color**](Color.md) | Color of the annotation.
*Inherited from [FormField](FormField.md)* | [optional]
+**contents** | **string** | Get the field content.
*Inherited from [FormField](FormField.md)* | [optional]
+**margin** | [**MarginInfo**](MarginInfo.md) | Gets or sets a outer margin for paragraph (for pdf generation)
*Inherited from [FormField](FormField.md)* | [optional]
+**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode.
*Inherited from [FormField](FormField.md)* | [optional]
+**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field.
*Inherited from [FormField](FormField.md)* | [optional]
+**links** | [**Array<Link>**](Link.md) | Link to the document.
*Inherited from [LinkElement](LinkElement.md)* | [optional]
+
+[[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/radioButtonOptionField.ts)
+
diff --git a/package-lock.json b/package-lock.json
index df8a9fb0..cc3f7956 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "asposepdfcloud",
- "version": "19.9.0",
+ "version": "19.10.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index c262ee64..0559f668 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "asposepdfcloud",
- "version": "19.9.0",
+ "version": "19.10.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 afa961e3..17acdc9f 100644
--- a/src/api/api.ts
+++ b/src/api/api.ts
@@ -26,6 +26,7 @@ import { AntialiasingProcessingType } from "../models/antialiasingProcessingType
import { AsposeResponse } from "../models/asposeResponse";
import { BorderCornerStyle } from "../models/borderCornerStyle";
import { BorderInfo } from "../models/borderInfo";
+import { BoxStyle } from "../models/boxStyle";
import { CapStyle } from "../models/capStyle";
import { CaptionPosition } from "../models/captionPosition";
import { CaretSymbol } from "../models/caretSymbol";
@@ -73,6 +74,7 @@ import { MergeDocuments } from "../models/mergeDocuments";
import { ModelError } from "../models/modelError";
import { ObjectExist } from "../models/objectExist";
import { OptimizeOptions } from "../models/optimizeOptions";
+import { Option } from "../models/option";
import { PageWordCount } from "../models/pageWordCount";
import { Paragraph } from "../models/paragraph";
import { PartsEmbeddingModes } from "../models/partsEmbeddingModes";
@@ -127,6 +129,9 @@ import { BookmarksResponse } from "../models/bookmarksResponse";
import { CaretAnnotationResponse } from "../models/caretAnnotationResponse";
import { CaretAnnotations } from "../models/caretAnnotations";
import { CaretAnnotationsResponse } from "../models/caretAnnotationsResponse";
+import { CheckBoxFieldResponse } from "../models/checkBoxFieldResponse";
+import { CheckBoxFields } from "../models/checkBoxFields";
+import { CheckBoxFieldsResponse } from "../models/checkBoxFieldsResponse";
import { CircleAnnotationResponse } from "../models/circleAnnotationResponse";
import { CircleAnnotations } from "../models/circleAnnotations";
import { CircleAnnotationsResponse } from "../models/circleAnnotationsResponse";
@@ -181,6 +186,9 @@ import { PolygonAnnotationsResponse } from "../models/polygonAnnotationsResponse
import { PopupAnnotationResponse } from "../models/popupAnnotationResponse";
import { PopupAnnotations } from "../models/popupAnnotations";
import { PopupAnnotationsResponse } from "../models/popupAnnotationsResponse";
+import { RadioButtonFieldResponse } from "../models/radioButtonFieldResponse";
+import { RadioButtonFields } from "../models/radioButtonFields";
+import { RadioButtonFieldsResponse } from "../models/radioButtonFieldsResponse";
import { RedactionAnnotationResponse } from "../models/redactionAnnotationResponse";
import { RedactionAnnotations } from "../models/redactionAnnotations";
import { RedactionAnnotationsResponse } from "../models/redactionAnnotationsResponse";
@@ -230,6 +238,8 @@ import { UnderlineAnnotations } from "../models/underlineAnnotations";
import { UnderlineAnnotationsResponse } from "../models/underlineAnnotationsResponse";
import { WordCountResponse } from "../models/wordCountResponse";
import { AnnotationInfo } from "../models/annotationInfo";
+import { CheckBoxField } from "../models/checkBoxField";
+import { ChoiceField } from "../models/choiceField";
import { ImageFooter } from "../models/imageFooter";
import { ImageHeader } from "../models/imageHeader";
import { ImageStamp } from "../models/imageStamp";
@@ -238,6 +248,7 @@ import { MovieAnnotation } from "../models/movieAnnotation";
import { PageNumberStamp } from "../models/pageNumberStamp";
import { PdfPageStamp } from "../models/pdfPageStamp";
import { PopupAnnotation } from "../models/popupAnnotation";
+import { RadioButtonOptionField } from "../models/radioButtonOptionField";
import { RedactionAnnotation } from "../models/redactionAnnotation";
import { ScreenAnnotation } from "../models/screenAnnotation";
import { SignatureField } from "../models/signatureField";
@@ -254,6 +265,7 @@ import { InkAnnotation } from "../models/inkAnnotation";
import { LineAnnotation } from "../models/lineAnnotation";
import { PolyAnnotation } from "../models/polyAnnotation";
import { PopupAnnotationWithParent } from "../models/popupAnnotationWithParent";
+import { RadioButtonField } from "../models/radioButtonField";
import { SoundAnnotation } from "../models/soundAnnotation";
import { SquigglyAnnotation } from "../models/squigglyAnnotation";
import { StampAnnotation } from "../models/stampAnnotation";
@@ -1902,6 +1914,65 @@ export class PdfApi {
}
+ /**
+ *
+ * @summary Read document checkbox field by name.
+ * @param name The document name.
+ * @param fieldName The field name.
+ * @param storage The document storage.
+ * @param folder The document folder.
+ */
+ public async getCheckBoxField (name: string, fieldName: string, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: CheckBoxFieldResponse; }> {
+ const localVarPath = this.basePath + '/pdf/{name}/fields/checkbox/{fieldName}'
+ .replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'))
+ .replace('{' + 'fieldName' + '}', encodeURIComponent(String(fieldName)).replace('%2F', '/'));
+ let localVarQueryParameters: any = {};
+ let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
+ let localVarFormParams: any = {};
+
+ // verify required parameter 'name' is not null or undefined
+ if (name === null || name === undefined) {
+ throw new Error('Required parameter name was null or undefined when calling getCheckBoxField.');
+ }
+
+ // verify required parameter 'fieldName' is not null or undefined
+ if (fieldName === null || fieldName === undefined) {
+ throw new Error('Required parameter fieldName was null or undefined when calling getCheckBoxField.');
+ }
+
+ if (storage !== undefined && null !== storage) {
+ localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
+ }
+
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
+
+ let localVarUseFormData = false;
+ let fileData = null;
+ let localVarRequestOptions: localVarRequest.Options = {
+ method: 'GET',
+ qs: localVarQueryParameters,
+ headers: localVarHeaderParams,
+ uri: localVarPath,
+ useQuerystring: this._useQuerystring,
+ json: true,
+ };
+
+ if (Object.keys(localVarFormParams).length) {
+ if (localVarUseFormData) {
+ (localVarRequestOptions).formData = localVarFormParams;
+ } else {
+ localVarRequestOptions.form = localVarFormParams;
+ }
+ }
+ const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
+ const result = ObjectSerializer.deserialize(response.body, "CheckBoxFieldResponse");
+ return Promise.resolve({body: result, response});
+ }
+
+
/**
*
* @summary Read document page circle annotation by ID.
@@ -2320,6 +2391,58 @@ export class PdfApi {
}
+ /**
+ *
+ * @summary Read document checkbox fields.
+ * @param name The document name.
+ * @param storage The document storage.
+ * @param folder The document folder.
+ */
+ public async getDocumentCheckBoxFields (name: string, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: CheckBoxFieldsResponse; }> {
+ const localVarPath = this.basePath + '/pdf/{name}/fields/checkbox'
+ .replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'));
+ let localVarQueryParameters: any = {};
+ let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
+ let localVarFormParams: any = {};
+
+ // verify required parameter 'name' is not null or undefined
+ if (name === null || name === undefined) {
+ throw new Error('Required parameter name was null or undefined when calling getDocumentCheckBoxFields.');
+ }
+
+ if (storage !== undefined && null !== storage) {
+ localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
+ }
+
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
+
+ let localVarUseFormData = false;
+ let fileData = null;
+ let localVarRequestOptions: localVarRequest.Options = {
+ method: 'GET',
+ qs: localVarQueryParameters,
+ headers: localVarHeaderParams,
+ uri: localVarPath,
+ useQuerystring: this._useQuerystring,
+ json: true,
+ };
+
+ if (Object.keys(localVarFormParams).length) {
+ if (localVarUseFormData) {
+ (localVarRequestOptions).formData = localVarFormParams;
+ } else {
+ localVarRequestOptions.form = localVarFormParams;
+ }
+ }
+ const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
+ const result = ObjectSerializer.deserialize(response.body, "CheckBoxFieldsResponse");
+ return Promise.resolve({body: result, response});
+ }
+
+
/**
*
* @summary Read document circle annotations.
@@ -3010,6 +3133,58 @@ export class PdfApi {
}
+ /**
+ *
+ * @summary Read document radiobutton fields.
+ * @param name The document name.
+ * @param storage The document storage.
+ * @param folder The document folder.
+ */
+ public async getDocumentRadioButtonFields (name: string, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: RadioButtonFieldsResponse; }> {
+ const localVarPath = this.basePath + '/pdf/{name}/fields/radiobutton'
+ .replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'));
+ let localVarQueryParameters: any = {};
+ let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
+ let localVarFormParams: any = {};
+
+ // verify required parameter 'name' is not null or undefined
+ if (name === null || name === undefined) {
+ throw new Error('Required parameter name was null or undefined when calling getDocumentRadioButtonFields.');
+ }
+
+ if (storage !== undefined && null !== storage) {
+ localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
+ }
+
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
+
+ let localVarUseFormData = false;
+ let fileData = null;
+ let localVarRequestOptions: localVarRequest.Options = {
+ method: 'GET',
+ qs: localVarQueryParameters,
+ headers: localVarHeaderParams,
+ uri: localVarPath,
+ useQuerystring: this._useQuerystring,
+ json: true,
+ };
+
+ if (Object.keys(localVarFormParams).length) {
+ if (localVarUseFormData) {
+ (localVarRequestOptions).formData = localVarFormParams;
+ } else {
+ localVarRequestOptions.form = localVarFormParams;
+ }
+ }
+ const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
+ const result = ObjectSerializer.deserialize(response.body, "RadioButtonFieldsResponse");
+ return Promise.resolve({body: result, response});
+ }
+
+
/**
*
* @summary Read document redaction annotations.
@@ -5625,6 +5800,65 @@ export class PdfApi {
}
+ /**
+ *
+ * @summary Read document page checkbox fields.
+ * @param name The document name.
+ * @param pageNumber The page number.
+ * @param storage The document storage.
+ * @param folder The document folder.
+ */
+ public async getPageCheckBoxFields (name: string, pageNumber: number, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: CheckBoxFieldsResponse; }> {
+ const localVarPath = this.basePath + '/pdf/{name}/page/{pageNumber}/fields/checkbox'
+ .replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'))
+ .replace('{' + 'pageNumber' + '}', encodeURIComponent(String(pageNumber)).replace('%2F', '/'));
+ let localVarQueryParameters: any = {};
+ let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
+ let localVarFormParams: any = {};
+
+ // verify required parameter 'name' is not null or undefined
+ if (name === null || name === undefined) {
+ throw new Error('Required parameter name was null or undefined when calling getPageCheckBoxFields.');
+ }
+
+ // verify required parameter 'pageNumber' is not null or undefined
+ if (pageNumber === null || pageNumber === undefined) {
+ throw new Error('Required parameter pageNumber was null or undefined when calling getPageCheckBoxFields.');
+ }
+
+ if (storage !== undefined && null !== storage) {
+ localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
+ }
+
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
+
+ let localVarUseFormData = false;
+ let fileData = null;
+ let localVarRequestOptions: localVarRequest.Options = {
+ method: 'GET',
+ qs: localVarQueryParameters,
+ headers: localVarHeaderParams,
+ uri: localVarPath,
+ useQuerystring: this._useQuerystring,
+ json: true,
+ };
+
+ if (Object.keys(localVarFormParams).length) {
+ if (localVarUseFormData) {
+ (localVarRequestOptions).formData = localVarFormParams;
+ } else {
+ localVarRequestOptions.form = localVarFormParams;
+ }
+ }
+ const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
+ const result = ObjectSerializer.deserialize(response.body, "CheckBoxFieldsResponse");
+ return Promise.resolve({body: result, response});
+ }
+
+
/**
*
* @summary Read document page circle annotations.
@@ -6754,6 +6988,65 @@ export class PdfApi {
}
+ /**
+ *
+ * @summary Read document page radiobutton fields.
+ * @param name The document name.
+ * @param pageNumber The page number.
+ * @param storage The document storage.
+ * @param folder The document folder.
+ */
+ public async getPageRadioButtonFields (name: string, pageNumber: number, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: RadioButtonFieldsResponse; }> {
+ const localVarPath = this.basePath + '/pdf/{name}/page/{pageNumber}/fields/radiobutton'
+ .replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'))
+ .replace('{' + 'pageNumber' + '}', encodeURIComponent(String(pageNumber)).replace('%2F', '/'));
+ let localVarQueryParameters: any = {};
+ let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
+ let localVarFormParams: any = {};
+
+ // verify required parameter 'name' is not null or undefined
+ if (name === null || name === undefined) {
+ throw new Error('Required parameter name was null or undefined when calling getPageRadioButtonFields.');
+ }
+
+ // verify required parameter 'pageNumber' is not null or undefined
+ if (pageNumber === null || pageNumber === undefined) {
+ throw new Error('Required parameter pageNumber was null or undefined when calling getPageRadioButtonFields.');
+ }
+
+ if (storage !== undefined && null !== storage) {
+ localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
+ }
+
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
+
+ let localVarUseFormData = false;
+ let fileData = null;
+ let localVarRequestOptions: localVarRequest.Options = {
+ method: 'GET',
+ qs: localVarQueryParameters,
+ headers: localVarHeaderParams,
+ uri: localVarPath,
+ useQuerystring: this._useQuerystring,
+ json: true,
+ };
+
+ if (Object.keys(localVarFormParams).length) {
+ if (localVarUseFormData) {
+ (localVarRequestOptions).formData = localVarFormParams;
+ } else {
+ localVarRequestOptions.form = localVarFormParams;
+ }
+ }
+ const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
+ const result = ObjectSerializer.deserialize(response.body, "RadioButtonFieldsResponse");
+ return Promise.resolve({body: result, response});
+ }
+
+
/**
*
* @summary Read document page redaction annotations.
@@ -8891,10 +9184,60 @@ export class PdfApi {
localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
}
- if (folder !== undefined && null !== folder) {
- localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
- }
-
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
+
+ let localVarUseFormData = false;
+ let fileData = null;
+ let localVarRequestOptions: localVarRequest.Options = {
+ method: 'GET',
+ qs: localVarQueryParameters,
+ headers: localVarHeaderParams,
+ uri: localVarPath,
+ useQuerystring: this._useQuerystring,
+ json: true,
+ };
+
+ if (Object.keys(localVarFormParams).length) {
+ if (localVarUseFormData) {
+ (localVarRequestOptions).formData = localVarFormParams;
+ } else {
+ localVarRequestOptions.form = localVarFormParams;
+ }
+ }
+ const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
+ const result = ObjectSerializer.deserialize(response.body, "PopupAnnotationResponse");
+ return Promise.resolve({body: result, response});
+ }
+
+
+ /**
+ *
+ * @summary Convert PS file (located on storage) to PDF format and return resulting file in response.
+ * @param srcPath Full source filename (ex. /folder1/folder2/template.ps)
+ * @param storage The document storage.
+ */
+ public async getPsInStorageToPdf (srcPath: string, storage?: string) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
+ const localVarPath = this.basePath + '/pdf/create/ps';
+ let localVarQueryParameters: any = {};
+ let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
+ let localVarFormParams: any = {};
+
+ // verify required parameter 'srcPath' is not null or undefined
+ if (srcPath === null || srcPath === undefined) {
+ throw new Error('Required parameter srcPath was null or undefined when calling getPsInStorageToPdf.');
+ }
+
+ if (srcPath !== undefined && null !== srcPath) {
+ localVarQueryParameters['srcPath'] = ObjectSerializer.serialize(srcPath, "string");
+ }
+
+ if (storage !== undefined && null !== storage) {
+ localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
+ }
+
let localVarUseFormData = false;
let fileData = null;
@@ -8904,7 +9247,7 @@ export class PdfApi {
headers: localVarHeaderParams,
uri: localVarPath,
useQuerystring: this._useQuerystring,
- json: true,
+ encoding: null,
};
if (Object.keys(localVarFormParams).length) {
@@ -8915,36 +9258,45 @@ export class PdfApi {
}
}
const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
- const result = ObjectSerializer.deserialize(response.body, "PopupAnnotationResponse");
+ const result = ObjectSerializer.deserialize(response.body, "Buffer");
return Promise.resolve({body: result, response});
}
/**
*
- * @summary Convert PS file (located on storage) to PDF format and return resulting file in response.
- * @param srcPath Full source filename (ex. /folder1/folder2/template.ps)
+ * @summary Read document RadioButton field by name.
+ * @param name The document name.
+ * @param fieldName The field name.
* @param storage The document storage.
+ * @param folder The document folder.
*/
- public async getPsInStorageToPdf (srcPath: string, storage?: string) : Promise<{ response: http.IncomingMessage; body: Buffer; }> {
- const localVarPath = this.basePath + '/pdf/create/ps';
+ public async getRadioButtonField (name: string, fieldName: string, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: RadioButtonFieldResponse; }> {
+ const localVarPath = this.basePath + '/pdf/{name}/fields/radiobutton/{fieldName}'
+ .replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'))
+ .replace('{' + 'fieldName' + '}', encodeURIComponent(String(fieldName)).replace('%2F', '/'));
let localVarQueryParameters: any = {};
let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
let localVarFormParams: any = {};
- // verify required parameter 'srcPath' is not null or undefined
- if (srcPath === null || srcPath === undefined) {
- throw new Error('Required parameter srcPath was null or undefined when calling getPsInStorageToPdf.');
+ // verify required parameter 'name' is not null or undefined
+ if (name === null || name === undefined) {
+ throw new Error('Required parameter name was null or undefined when calling getRadioButtonField.');
}
- if (srcPath !== undefined && null !== srcPath) {
- localVarQueryParameters['srcPath'] = ObjectSerializer.serialize(srcPath, "string");
+ // verify required parameter 'fieldName' is not null or undefined
+ if (fieldName === null || fieldName === undefined) {
+ throw new Error('Required parameter fieldName was null or undefined when calling getRadioButtonField.');
}
if (storage !== undefined && null !== storage) {
localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
}
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
let localVarUseFormData = false;
let fileData = null;
@@ -8954,7 +9306,7 @@ export class PdfApi {
headers: localVarHeaderParams,
uri: localVarPath,
useQuerystring: this._useQuerystring,
- encoding: null,
+ json: true,
};
if (Object.keys(localVarFormParams).length) {
@@ -8965,7 +9317,7 @@ export class PdfApi {
}
}
const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
- const result = ObjectSerializer.deserialize(response.body, "Buffer");
+ const result = ObjectSerializer.deserialize(response.body, "RadioButtonFieldResponse");
return Promise.resolve({body: result, response});
}
@@ -10859,6 +11211,65 @@ export class PdfApi {
}
+ /**
+ *
+ * @summary Add document checkbox fields.
+ * @param name The document name.
+ * @param fields The array of field.
+ * @param storage The document storage.
+ * @param folder The document folder.
+ */
+ public async postCheckBoxFields (name: string, fields: Array, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
+ const localVarPath = this.basePath + '/pdf/{name}/fields/checkbox'
+ .replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'));
+ let localVarQueryParameters: any = {};
+ let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
+ let localVarFormParams: any = {};
+
+ // verify required parameter 'name' is not null or undefined
+ if (name === null || name === undefined) {
+ throw new Error('Required parameter name was null or undefined when calling postCheckBoxFields.');
+ }
+
+ // verify required parameter 'fields' is not null or undefined
+ if (fields === null || fields === undefined) {
+ throw new Error('Required parameter fields was null or undefined when calling postCheckBoxFields.');
+ }
+
+ if (storage !== undefined && null !== storage) {
+ localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
+ }
+
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
+
+ let localVarUseFormData = false;
+ let fileData = null;
+ let localVarRequestOptions: localVarRequest.Options = {
+ method: 'POST',
+ qs: localVarQueryParameters,
+ headers: localVarHeaderParams,
+ uri: localVarPath,
+ useQuerystring: this._useQuerystring,
+ json: true,
+ body: ObjectSerializer.serialize(fields, "Array")
+ };
+
+ if (Object.keys(localVarFormParams).length) {
+ if (localVarUseFormData) {
+ (localVarRequestOptions).formData = localVarFormParams;
+ } else {
+ localVarRequestOptions.form = localVarFormParams;
+ }
+ }
+ const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
+ const result = ObjectSerializer.deserialize(response.body, "AsposeResponse");
+ return Promise.resolve({body: result, response});
+ }
+
+
/**
*
* @summary Create field.
@@ -13765,6 +14176,65 @@ export class PdfApi {
}
+ /**
+ *
+ * @summary Add document RadioButton fields.
+ * @param name The document name.
+ * @param fields The array of field.
+ * @param storage The document storage.
+ * @param folder The document folder.
+ */
+ public async postRadioButtonFields (name: string, fields: Array, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
+ const localVarPath = this.basePath + '/pdf/{name}/fields/radiobutton'
+ .replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'));
+ let localVarQueryParameters: any = {};
+ let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
+ let localVarFormParams: any = {};
+
+ // verify required parameter 'name' is not null or undefined
+ if (name === null || name === undefined) {
+ throw new Error('Required parameter name was null or undefined when calling postRadioButtonFields.');
+ }
+
+ // verify required parameter 'fields' is not null or undefined
+ if (fields === null || fields === undefined) {
+ throw new Error('Required parameter fields was null or undefined when calling postRadioButtonFields.');
+ }
+
+ if (storage !== undefined && null !== storage) {
+ localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
+ }
+
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
+
+ let localVarUseFormData = false;
+ let fileData = null;
+ let localVarRequestOptions: localVarRequest.Options = {
+ method: 'POST',
+ qs: localVarQueryParameters,
+ headers: localVarHeaderParams,
+ uri: localVarPath,
+ useQuerystring: this._useQuerystring,
+ json: true,
+ body: ObjectSerializer.serialize(fields, "Array")
+ };
+
+ if (Object.keys(localVarFormParams).length) {
+ if (localVarUseFormData) {
+ (localVarRequestOptions).formData = localVarFormParams;
+ } else {
+ localVarRequestOptions.form = localVarFormParams;
+ }
+ }
+ const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
+ const result = ObjectSerializer.deserialize(response.body, "AsposeResponse");
+ return Promise.resolve({body: result, response});
+ }
+
+
/**
*
* @summary Sign document.
@@ -14421,6 +14891,72 @@ export class PdfApi {
}
+ /**
+ *
+ * @summary Replace document checkbox field
+ * @param name The document name.
+ * @param fieldName The field name.
+ * @param field The field.
+ * @param storage The document storage.
+ * @param folder The document folder.
+ */
+ public async putCheckBoxField (name: string, fieldName: string, field: CheckBoxField, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: CheckBoxFieldResponse; }> {
+ const localVarPath = this.basePath + '/pdf/{name}/fields/checkbox/{fieldName}'
+ .replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'))
+ .replace('{' + 'fieldName' + '}', encodeURIComponent(String(fieldName)).replace('%2F', '/'));
+ let localVarQueryParameters: any = {};
+ let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
+ let localVarFormParams: any = {};
+
+ // verify required parameter 'name' is not null or undefined
+ if (name === null || name === undefined) {
+ throw new Error('Required parameter name was null or undefined when calling putCheckBoxField.');
+ }
+
+ // verify required parameter 'fieldName' is not null or undefined
+ if (fieldName === null || fieldName === undefined) {
+ throw new Error('Required parameter fieldName was null or undefined when calling putCheckBoxField.');
+ }
+
+ // verify required parameter 'field' is not null or undefined
+ if (field === null || field === undefined) {
+ throw new Error('Required parameter field was null or undefined when calling putCheckBoxField.');
+ }
+
+ if (storage !== undefined && null !== storage) {
+ localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
+ }
+
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
+
+ let localVarUseFormData = false;
+ let fileData = null;
+ let localVarRequestOptions: localVarRequest.Options = {
+ method: 'PUT',
+ qs: localVarQueryParameters,
+ headers: localVarHeaderParams,
+ uri: localVarPath,
+ useQuerystring: this._useQuerystring,
+ json: true,
+ body: ObjectSerializer.serialize(field, "CheckBoxField")
+ };
+
+ if (Object.keys(localVarFormParams).length) {
+ if (localVarUseFormData) {
+ (localVarRequestOptions).formData = localVarFormParams;
+ } else {
+ localVarRequestOptions.form = localVarFormParams;
+ }
+ }
+ const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
+ const result = ObjectSerializer.deserialize(response.body, "CheckBoxFieldResponse");
+ return Promise.resolve({body: result, response});
+ }
+
+
/**
*
* @summary Replace document circle annotation
@@ -19846,6 +20382,72 @@ export class PdfApi {
}
+ /**
+ *
+ * @summary Replace document RadioButton field
+ * @param name The document name.
+ * @param fieldName The field name.
+ * @param field The field.
+ * @param storage The document storage.
+ * @param folder The document folder.
+ */
+ public async putRadioButtonField (name: string, fieldName: string, field: RadioButtonField, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: RadioButtonFieldResponse; }> {
+ const localVarPath = this.basePath + '/pdf/{name}/fields/radiobutton/{fieldName}'
+ .replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'))
+ .replace('{' + 'fieldName' + '}', encodeURIComponent(String(fieldName)).replace('%2F', '/'));
+ let localVarQueryParameters: any = {};
+ let localVarHeaderParams: any = (Object).assign({}, this.defaultHeaders);
+ let localVarFormParams: any = {};
+
+ // verify required parameter 'name' is not null or undefined
+ if (name === null || name === undefined) {
+ throw new Error('Required parameter name was null or undefined when calling putRadioButtonField.');
+ }
+
+ // verify required parameter 'fieldName' is not null or undefined
+ if (fieldName === null || fieldName === undefined) {
+ throw new Error('Required parameter fieldName was null or undefined when calling putRadioButtonField.');
+ }
+
+ // verify required parameter 'field' is not null or undefined
+ if (field === null || field === undefined) {
+ throw new Error('Required parameter field was null or undefined when calling putRadioButtonField.');
+ }
+
+ if (storage !== undefined && null !== storage) {
+ localVarQueryParameters['storage'] = ObjectSerializer.serialize(storage, "string");
+ }
+
+ if (folder !== undefined && null !== folder) {
+ localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
+ }
+
+
+ let localVarUseFormData = false;
+ let fileData = null;
+ let localVarRequestOptions: localVarRequest.Options = {
+ method: 'PUT',
+ qs: localVarQueryParameters,
+ headers: localVarHeaderParams,
+ uri: localVarPath,
+ useQuerystring: this._useQuerystring,
+ json: true,
+ body: ObjectSerializer.serialize(field, "RadioButtonField")
+ };
+
+ if (Object.keys(localVarFormParams).length) {
+ if (localVarUseFormData) {
+ (localVarRequestOptions).formData = localVarFormParams;
+ } else {
+ localVarRequestOptions.form = localVarFormParams;
+ }
+ }
+ const response = await invokeApiMethod(localVarRequestOptions, this.configuration, false, fileData);
+ const result = ObjectSerializer.deserialize(response.body, "RadioButtonFieldResponse");
+ return Promise.resolve({body: result, response});
+ }
+
+
/**
*
* @summary Replace document redaction annotation
diff --git a/src/models/boxStyle.ts b/src/models/boxStyle.ts
new file mode 100644
index 00000000..fc4651f2
--- /dev/null
+++ b/src/models/boxStyle.ts
@@ -0,0 +1,29 @@
+ /**
+ *
+ * Copyright (c) 2019 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 BoxStyle {
+ Circle = 'Circle',
+ Check = 'Check',
+ Cross = 'Cross',
+ Diamond = 'Diamond',
+ Square = 'Square',
+ Star = 'Star',
+}
diff --git a/src/models/checkBoxField.ts b/src/models/checkBoxField.ts
new file mode 100644
index 00000000..20502a0f
--- /dev/null
+++ b/src/models/checkBoxField.ts
@@ -0,0 +1,84 @@
+ /**
+ *
+ * Copyright (c) 2019 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.
+ *
+ */
+
+import { BoxStyle } from "./boxStyle";
+import { FormField } from "./formField";
+
+/**
+* Provides CheckBoxField.
+*/
+export class CheckBoxField extends FormField {
+ /**
+ * Returns list of allowed states.
+ */
+ 'allowedStates': Array;
+ /**
+ * Gets or sets style of check box.
+ */
+ 'style': BoxStyle;
+ /**
+ * Gets or sets current annotation appearance state.
+ */
+ 'activeState': string;
+ /**
+ * Gets or sets state of check box.
+ */
+ 'checked': boolean;
+ /**
+ * Gets or sets export value of CheckBox field.
+ */
+ 'exportValue': string;
+
+ static discriminator = undefined;
+
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
+ {
+ "name": "allowedStates",
+ "baseName": "AllowedStates",
+ "type": "Array"
+ },
+ {
+ "name": "style",
+ "baseName": "Style",
+ "type": "BoxStyle"
+ },
+ {
+ "name": "activeState",
+ "baseName": "ActiveState",
+ "type": "string"
+ },
+ {
+ "name": "checked",
+ "baseName": "Checked",
+ "type": "boolean"
+ },
+ {
+ "name": "exportValue",
+ "baseName": "ExportValue",
+ "type": "string"
+ } ];
+
+ static getAttributeTypeMap() {
+ return super.getAttributeTypeMap().concat(CheckBoxField.attributeTypeMap);
+ }
+}
+
+
diff --git a/src/models/checkBoxFieldResponse.ts b/src/models/checkBoxFieldResponse.ts
new file mode 100644
index 00000000..6e624093
--- /dev/null
+++ b/src/models/checkBoxFieldResponse.ts
@@ -0,0 +1,48 @@
+ /**
+ *
+ * Copyright (c) 2019 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.
+ *
+ */
+
+import { CheckBoxField } from "./checkBoxField";
+import { AsposeResponse } from "./asposeResponse";
+
+/**
+* Represents response containing single checkbox field object
+*/
+export class CheckBoxFieldResponse extends AsposeResponse {
+ /**
+ * Checkbox field object
+ */
+ 'field': CheckBoxField;
+
+ static discriminator = undefined;
+
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
+ {
+ "name": "field",
+ "baseName": "Field",
+ "type": "CheckBoxField"
+ } ];
+
+ static getAttributeTypeMap() {
+ return super.getAttributeTypeMap().concat(CheckBoxFieldResponse.attributeTypeMap);
+ }
+}
+
+
diff --git a/src/models/checkBoxFields.ts b/src/models/checkBoxFields.ts
new file mode 100644
index 00000000..f0976686
--- /dev/null
+++ b/src/models/checkBoxFields.ts
@@ -0,0 +1,48 @@
+ /**
+ *
+ * Copyright (c) 2019 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.
+ *
+ */
+
+import { CheckBoxField } from "./checkBoxField";
+import { LinkElement } from "./linkElement";
+
+/**
+* Object representing a list of checkbox fields.
+*/
+export class CheckBoxFields extends LinkElement {
+ /**
+ * List of checkbox fields.
+ */
+ 'list': Array;
+
+ static discriminator = undefined;
+
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
+ {
+ "name": "list",
+ "baseName": "List",
+ "type": "Array"
+ } ];
+
+ static getAttributeTypeMap() {
+ return super.getAttributeTypeMap().concat(CheckBoxFields.attributeTypeMap);
+ }
+}
+
+
diff --git a/src/models/checkBoxFieldsResponse.ts b/src/models/checkBoxFieldsResponse.ts
new file mode 100644
index 00000000..b9aec0d9
--- /dev/null
+++ b/src/models/checkBoxFieldsResponse.ts
@@ -0,0 +1,48 @@
+ /**
+ *
+ * Copyright (c) 2019 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.
+ *
+ */
+
+import { CheckBoxFields } from "./checkBoxFields";
+import { AsposeResponse } from "./asposeResponse";
+
+/**
+* Represents response containing multiple checkbox field objects
+*/
+export class CheckBoxFieldsResponse extends AsposeResponse {
+ /**
+ * Checkbox fields object
+ */
+ 'fields': CheckBoxFields;
+
+ static discriminator = undefined;
+
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
+ {
+ "name": "fields",
+ "baseName": "Fields",
+ "type": "CheckBoxFields"
+ } ];
+
+ static getAttributeTypeMap() {
+ return super.getAttributeTypeMap().concat(CheckBoxFieldsResponse.attributeTypeMap);
+ }
+}
+
+
diff --git a/src/models/choiceField.ts b/src/models/choiceField.ts
new file mode 100644
index 00000000..85d5ec58
--- /dev/null
+++ b/src/models/choiceField.ts
@@ -0,0 +1,47 @@
+ /**
+ *
+ * Copyright (c) 2019 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.
+ *
+ */
+
+import { FormField } from "./formField";
+
+/**
+* Provides Choice field.
+*/
+export class ChoiceField extends FormField {
+ /**
+ * Gets or sets multiselection flag.
+ */
+ 'multiSelect': boolean;
+
+ static discriminator = undefined;
+
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
+ {
+ "name": "multiSelect",
+ "baseName": "MultiSelect",
+ "type": "boolean"
+ } ];
+
+ static getAttributeTypeMap() {
+ return super.getAttributeTypeMap().concat(ChoiceField.attributeTypeMap);
+ }
+}
+
+
diff --git a/src/models/option.ts b/src/models/option.ts
new file mode 100644
index 00000000..6ca623e5
--- /dev/null
+++ b/src/models/option.ts
@@ -0,0 +1,73 @@
+ /**
+ *
+ * Copyright (c) 2019 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.
+ *
+ */
+
+
+/**
+* Provides form option.
+*/
+export class Option {
+ /**
+ * Gets or sets option export value.
+ */
+ 'value': string;
+ /**
+ * Gets or sets name of option.
+ */
+ 'name': string;
+ /**
+ * Gets or sets selected status of option. Returns true if option is selected.
+ */
+ 'selected': boolean;
+ /**
+ * Gets index of the option.
+ */
+ 'index': number;
+
+ static discriminator = undefined;
+
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
+ {
+ "name": "value",
+ "baseName": "Value",
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "baseName": "Name",
+ "type": "string"
+ },
+ {
+ "name": "selected",
+ "baseName": "Selected",
+ "type": "boolean"
+ },
+ {
+ "name": "index",
+ "baseName": "Index",
+ "type": "number"
+ } ];
+
+ static getAttributeTypeMap() {
+ return Option.attributeTypeMap;
+ }
+}
+
+
diff --git a/src/models/radioButtonField.ts b/src/models/radioButtonField.ts
new file mode 100644
index 00000000..f3a4ac4e
--- /dev/null
+++ b/src/models/radioButtonField.ts
@@ -0,0 +1,77 @@
+ /**
+ *
+ * Copyright (c) 2019 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.
+ *
+ */
+
+import { BoxStyle } from "./boxStyle";
+import { RadioButtonOptionField } from "./radioButtonOptionField";
+import { Option } from "./option";
+import { ChoiceField } from "./choiceField";
+
+/**
+* Provides RadioButtonField.
+*/
+export class RadioButtonField extends ChoiceField {
+ /**
+ * Gets collection of options of the radio button.
+ */
+ 'options': Array