From 45484ccec6573fa14f221581e86e4a5e23c5d9bc Mon Sep 17 00:00:00 2001 From: Andrey Kaferi Date: Tue, 6 Aug 2019 16:02:09 +0300 Subject: [PATCH] Update to v19.7 --- README.md | 79 +- build.gradle | 4 +- docs/Annotation.md | 2 +- docs/AnnotationInfo.md | 4 +- docs/Attachment.md | 2 +- docs/Bookmark.md | 29 + docs/BookmarkResponse.md | 15 + docs/Bookmarks.md | 14 + docs/BookmarksResponse.md | 15 + docs/CaretAnnotation.md | 2 +- docs/CellRecognized.md | 2 +- docs/CircleAnnotation.md | 2 +- docs/CommonFigureAnnotation.md | 2 +- docs/DiscUsage.md | 6 +- docs/DocumentPrivilege.md | 2 +- docs/DocumentProperty.md | 2 +- docs/Error.md | 16 + docs/ErrorDetails.md | 14 + docs/Field.md | 2 +- docs/Fields.md | 2 +- docs/FileAttachmentAnnotation.md | 2 +- docs/FileVersion.md | 16 +- docs/FileVersions.md | 13 + docs/FilesList.md | 13 + docs/FilesUploadResult.md | 14 + docs/FreeTextAnnotation.md | 4 +- docs/GraphInfo.md | 4 +- docs/HighlightAnnotation.md | 2 +- docs/Image.md | 6 +- docs/ImageFooter.md | 2 +- docs/ImageHeader.md | 2 +- docs/ImageStamp.md | 2 +- docs/InkAnnotation.md | 2 +- docs/LineAnnotation.md | 6 +- docs/LinkAnnotation.md | 8 +- docs/MarkupAnnotation.md | 2 +- docs/MovieAnnotation.md | 2 +- docs/ObjectExist.md | 14 + docs/Page.md | 2 +- docs/PageNumberStamp.md | 2 +- docs/PdfApi.md | 1229 +- docs/PdfPageStamp.md | 2 +- docs/PolyAnnotation.md | 4 +- docs/PolyLineAnnotation.md | 4 +- docs/PolygonAnnotation.md | 4 +- docs/PopupAnnotation.md | 2 +- docs/PopupAnnotationWithParent.md | 2 +- docs/RedactionAnnotation.md | 2 +- docs/ScreenAnnotation.md | 2 +- docs/Signature.md | 2 +- docs/SignatureVerifyResponse.md | 2 +- docs/SoundAnnotation.md | 4 +- docs/SplitResultDocument.md | 2 +- docs/SquareAnnotation.md | 2 +- docs/SquigglyAnnotation.md | 2 +- docs/Stamp.md | 4 +- docs/StampAnnotation.md | 2 +- docs/StampBase.md | 2 +- docs/StampInfo.md | 2 +- docs/StorageExist.md | 13 + docs/StorageFile.md | 17 + docs/StrikeOutAnnotation.md | 2 +- docs/Table.md | 2 +- docs/TextAnnotation.md | 2 +- docs/TextFooter.md | 4 +- docs/TextHeader.md | 4 +- docs/TextRect.md | 6 +- docs/TextReplaceListRequest.md | 2 +- docs/TextReplaceResponse.md | 2 +- docs/TextStamp.md | 4 +- docs/UnderlineAnnotation.md | 2 +- docs/WordCountResponse.md | 2 +- setup.json | 2 +- .../com/aspose/asposecloudpdf/ApiClient.java | 50 +- .../com/aspose/asposecloudpdf/api/PdfApi.java | 20880 +++++++++------- .../asposecloudpdf/model/Annotation.java | 2 +- .../asposecloudpdf/model/AnnotationInfo.java | 2 +- .../asposecloudpdf/model/Attachment.java | 2 +- .../aspose/asposecloudpdf/model/Bookmark.java | 454 + ...lesResponse.java => BookmarkResponse.java} | 48 +- .../asposecloudpdf/model/Bookmarks.java | 117 + ...geResponse.java => BookmarksResponse.java} | 39 +- .../asposecloudpdf/model/CellRecognized.java | 4 +- .../asposecloudpdf/model/DiscUsage.java | 11 +- .../model/DocumentPrivilege.java | 4 +- .../model/DocumentProperty.java | 2 +- .../model/{AppendDocument.java => Error.java} | 114 +- .../asposecloudpdf/model/ErrorDetails.java | 127 + .../aspose/asposecloudpdf/model/Field.java | 7 +- .../aspose/asposecloudpdf/model/Fields.java | 7 +- .../asposecloudpdf/model/FileVersion.java | 14 +- .../asposecloudpdf/model/FileVersions.java | 114 + ...{FileExistResponse.java => FilesList.java} | 53 +- ...nsResponse.java => FilesUploadResult.java} | 82 +- .../model/FreeTextAnnotation.java | 2 +- .../asposecloudpdf/model/GraphInfo.java | 8 +- .../aspose/asposecloudpdf/model/Image.java | 6 +- .../asposecloudpdf/model/LineAnnotation.java | 4 +- .../asposecloudpdf/model/LinkAnnotation.java | 8 +- .../{FileExist.java => ObjectExist.java} | 45 +- .../com/aspose/asposecloudpdf/model/Page.java | 2 +- .../asposecloudpdf/model/PolyAnnotation.java | 7 +- .../asposecloudpdf/model/RectanglePdf.java | 172 - .../asposecloudpdf/model/Signature.java | 4 +- .../model/SignatureVerifyResponse.java | 2 +- .../asposecloudpdf/model/SoundAnnotation.java | 2 +- .../model/SplitResultDocument.java | 2 +- .../aspose/asposecloudpdf/model/Stamp.java | 8 +- .../asposecloudpdf/model/StampBase.java | 4 +- .../asposecloudpdf/model/StampInfo.java | 2 +- ...geExistResponse.java => StorageExist.java} | 41 +- .../model/{File.java => StorageFile.java} | 50 +- .../aspose/asposecloudpdf/model/Table.java | 7 +- .../asposecloudpdf/model/TextFooter.java | 4 +- .../asposecloudpdf/model/TextHeader.java | 4 +- .../aspose/asposecloudpdf/model/TextRect.java | 12 +- .../model/TextReplaceListRequest.java | 4 +- .../model/TextReplaceResponse.java | 2 +- .../asposecloudpdf/model/TextStamp.java | 4 +- .../model/WordCountResponse.java | 4 +- .../asposecloudpdf/api/AnnotattionsTests.java | 142 + .../asposecloudpdf/api/AppendTests.java | 60 + .../api/AttachmentsTestsTests.java | 94 + .../asposecloudpdf/api/BookmarksTests.java | 185 + .../api/CaretAnnotationsTests.java | 175 + .../api/CircleAnnotationsTests.java | 170 + .../asposecloudpdf/api/ConvertTests.java | 883 + .../asposecloudpdf/api/ConvertToPdfTests.java | 525 + .../asposecloudpdf/api/DocumentTests.java | 120 + .../api/EncryptDecryptTests.java | 161 + .../asposecloudpdf/api/FieldsTests.java | 223 + .../api/FileAttachmentAnnotationsTests.java | 213 + .../api/FreeTextAnnotationsTests.java | 213 + .../asposecloudpdf/api/HeaderFooterTests.java | 213 + .../api/HighlightAnnotationsTests.java | 186 + .../asposecloudpdf/api/ImagesTests.java | 449 + .../asposecloudpdf/api/ImportExportTests.java | 323 + .../api/InkAnnotationsTests.java | 205 + .../api/LineAnnotationsTests.java | 174 + .../aspose/asposecloudpdf/api/LinksTests.java | 226 + .../aspose/asposecloudpdf/api/MergeTests.java | 75 + .../api/MovieAnnotationsTests.java | 164 + .../aspose/asposecloudpdf/api/OcrTests.java | 74 + .../api/PageConvertToImageTests.java | 259 + .../aspose/asposecloudpdf/api/PagesTests.java | 188 + .../aspose/asposecloudpdf/api/PdfApiTest.java | 7409 ------ .../api/PolyLineAnnotationsTests.java | 184 + .../api/PolygonAnnotationsTests.java | 184 + .../api/PopupAnnotationsTests.java | 181 + .../asposecloudpdf/api/PrivilegesTests.java | 59 + .../asposecloudpdf/api/PropertiesTests.java | 171 + .../api/RedactionAnnotationsTests.java | 174 + .../api/ScreenAnnotationsTests.java | 214 + .../aspose/asposecloudpdf/api/SignTests.java | 161 + .../api/SoundAnnotationsTests.java | 220 + .../api/SquareAnnotationsTests.java | 170 + .../api/SquigglyAnnotationsTests.java | 186 + .../api/StampAnnotationsTests.java | 220 + .../aspose/asposecloudpdf/api/StampTests.java | 275 + .../asposecloudpdf/api/StorageTests.java | 232 + .../api/StrikeOutAnnotationsTests.java | 186 + .../aspose/asposecloudpdf/api/TableTests.java | 268 + .../aspose/asposecloudpdf/api/TestHelper.java | 61 + .../api/TextAnnotationsTests.java | 171 + .../asposecloudpdf/api/TextReplaceTests.java | 111 + .../aspose/asposecloudpdf/api/TextTests.java | 156 + .../api/UnderlineAnnotationsTests.java | 186 + testData/FormData.fdf | Bin 0 -> 1486 bytes testData/FormData.pdf | Bin 0 -> 443345 bytes testData/FormDataXfa_in.pdf | Bin 0 -> 82703 bytes testData/FormDataXfa_in.xml | 8 + testData/FormDataXfdf_in.pdf | Bin 0 -> 74193 bytes testData/FormDataXfdf_in.xfdf | 21 + testData/sample.tex | 105 + 174 files changed, 24318 insertions(+), 16911 deletions(-) create mode 100644 docs/Bookmark.md create mode 100644 docs/BookmarkResponse.md create mode 100644 docs/Bookmarks.md create mode 100644 docs/BookmarksResponse.md create mode 100644 docs/Error.md create mode 100644 docs/ErrorDetails.md create mode 100644 docs/FileVersions.md create mode 100644 docs/FilesList.md create mode 100644 docs/FilesUploadResult.md create mode 100644 docs/ObjectExist.md create mode 100644 docs/StorageExist.md create mode 100644 docs/StorageFile.md create mode 100644 src/main/java/com/aspose/asposecloudpdf/model/Bookmark.java rename src/main/java/com/aspose/asposecloudpdf/model/{FilesResponse.java => BookmarkResponse.java} (72%) create mode 100644 src/main/java/com/aspose/asposecloudpdf/model/Bookmarks.java rename src/main/java/com/aspose/asposecloudpdf/model/{DiscUsageResponse.java => BookmarksResponse.java} (71%) rename src/main/java/com/aspose/asposecloudpdf/model/{AppendDocument.java => Error.java} (50%) create mode 100644 src/main/java/com/aspose/asposecloudpdf/model/ErrorDetails.java create mode 100644 src/main/java/com/aspose/asposecloudpdf/model/FileVersions.java rename src/main/java/com/aspose/asposecloudpdf/model/{FileExistResponse.java => FilesList.java} (67%) rename src/main/java/com/aspose/asposecloudpdf/model/{FileVersionsResponse.java => FilesUploadResult.java} (56%) rename src/main/java/com/aspose/asposecloudpdf/model/{FileExist.java => ObjectExist.java} (71%) delete mode 100644 src/main/java/com/aspose/asposecloudpdf/model/RectanglePdf.java rename src/main/java/com/aspose/asposecloudpdf/model/{StorageExistResponse.java => StorageExist.java} (71%) rename src/main/java/com/aspose/asposecloudpdf/model/{File.java => StorageFile.java} (77%) create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/AnnotattionsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/AppendTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/AttachmentsTestsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/BookmarksTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/CaretAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/CircleAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/ConvertTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/ConvertToPdfTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/DocumentTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/EncryptDecryptTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/FieldsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/FileAttachmentAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/FreeTextAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/HeaderFooterTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/HighlightAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/ImagesTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/ImportExportTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/InkAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/LineAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/LinksTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/MergeTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/MovieAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/OcrTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/PageConvertToImageTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/PagesTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/PolyLineAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/PolygonAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/PopupAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/PrivilegesTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/PropertiesTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/RedactionAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/ScreenAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/SignTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/SoundAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/SquareAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/SquigglyAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/StampAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/StampTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/StorageTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/StrikeOutAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/TableTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/TestHelper.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/TextAnnotationsTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/TextReplaceTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/TextTests.java create mode 100644 src/test/java/com/aspose/asposecloudpdf/api/UnderlineAnnotationsTests.java create mode 100644 testData/FormData.fdf create mode 100644 testData/FormData.pdf create mode 100644 testData/FormDataXfa_in.pdf create mode 100644 testData/FormDataXfa_in.xml create mode 100644 testData/FormDataXfdf_in.pdf create mode 100644 testData/FormDataXfdf_in.xfdf create mode 100644 testData/sample.tex diff --git a/README.md b/README.md index 9d824e1..ffb904f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Aspose.PDF Cloud -- API version: 2.0 -- Package version: 19.5.0 +- API version: 3.0 +- Package version: 19.7.0 [Aspose.PDF Cloud](https://products.aspose.cloud/pdf) is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of PDF documents in the cloud. @@ -37,7 +37,7 @@ Add this dependency to your project's POM: com.aspose aspose-cloud-pdf - 19.5.0 + 19.7.0 compile ``` @@ -47,7 +47,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -compile "com.aspose:aspose-cloud-pdf:19.5.0" +compile "com.aspose:aspose-cloud-pdf:19.7.0" ``` ### Others @@ -58,7 +58,7 @@ At first generate the JAR by executing: Then manually install the following JARs: -* target/aspose-cloud-pdf-19.5.0.jar +* target/aspose-cloud-pdf-19.7.0.jar * target/lib/*.jar ## Getting Started @@ -111,18 +111,23 @@ All Aspose.PDF Cloud SDKs are licensed under [MIT License](LICENSE). ## Documentation for API Endpoints -All URIs are relative to *https://api.aspose.cloud/v2.0/* +All URIs are relative to *https://api.aspose.cloud/v3.0/* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- +*PdfApi* | [**copyFile**](docs/PdfApi.md#copyFile) | **PUT** /pdf/storage/file/copy/\{srcPath} | Copy file +*PdfApi* | [**copyFolder**](docs/PdfApi.md#copyFolder) | **PUT** /pdf/storage/folder/copy/\{srcPath} | Copy folder +*PdfApi* | [**createFolder**](docs/PdfApi.md#createFolder) | **PUT** /pdf/storage/folder/\{path} | Create the folder *PdfApi* | [**deleteAnnotation**](docs/PdfApi.md#deleteAnnotation) | **DELETE** /pdf/\{name}/annotations/\{annotationId} | Delete document annotation by ID +*PdfApi* | [**deleteBookmark**](docs/PdfApi.md#deleteBookmark) | **DELETE** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Delete document bookmark by ID. *PdfApi* | [**deleteDocumentAnnotations**](docs/PdfApi.md#deleteDocumentAnnotations) | **DELETE** /pdf/\{name}/annotations | Delete all annotations from the document +*PdfApi* | [**deleteDocumentBookmarks**](docs/PdfApi.md#deleteDocumentBookmarks) | **DELETE** /pdf/\{name}/bookmarks/tree | Delete all document bookmarks. *PdfApi* | [**deleteDocumentLinkAnnotations**](docs/PdfApi.md#deleteDocumentLinkAnnotations) | **DELETE** /pdf/\{name}/links | Delete all link annotations from the document *PdfApi* | [**deleteDocumentStamps**](docs/PdfApi.md#deleteDocumentStamps) | **DELETE** /pdf/\{name}/stamps | Delete all stamps from the document *PdfApi* | [**deleteDocumentTables**](docs/PdfApi.md#deleteDocumentTables) | **DELETE** /pdf/\{name}/tables | Delete all tables from the document *PdfApi* | [**deleteField**](docs/PdfApi.md#deleteField) | **DELETE** /pdf/\{name}/fields/\{fieldName} | Delete document field by name. -*PdfApi* | [**deleteFile**](docs/PdfApi.md#deleteFile) | **DELETE** /storage/file | Remove a specific file -*PdfApi* | [**deleteFolder**](docs/PdfApi.md#deleteFolder) | **DELETE** /storage/folder | Remove a specific folder +*PdfApi* | [**deleteFile**](docs/PdfApi.md#deleteFile) | **DELETE** /pdf/storage/file/\{path} | Delete file +*PdfApi* | [**deleteFolder**](docs/PdfApi.md#deleteFolder) | **DELETE** /pdf/storage/folder/\{path} | Delete folder *PdfApi* | [**deleteImage**](docs/PdfApi.md#deleteImage) | **DELETE** /pdf/\{name}/images/\{imageId} | Delete image from document page. *PdfApi* | [**deleteLinkAnnotation**](docs/PdfApi.md#deleteLinkAnnotation) | **DELETE** /pdf/\{name}/links/\{linkId} | Delete document page link annotation by ID *PdfApi* | [**deletePage**](docs/PdfApi.md#deletePage) | **DELETE** /pdf/\{name}/pages/\{pageNumber} | Delete document page by its number. @@ -134,13 +139,17 @@ Class | Method | HTTP request | Description *PdfApi* | [**deleteProperty**](docs/PdfApi.md#deleteProperty) | **DELETE** /pdf/\{name}/documentproperties/\{propertyName} | Delete document property. *PdfApi* | [**deleteStamp**](docs/PdfApi.md#deleteStamp) | **DELETE** /pdf/\{name}/stamps/\{stampId} | Delete document stamp by ID *PdfApi* | [**deleteTable**](docs/PdfApi.md#deleteTable) | **DELETE** /pdf/\{name}/tables/\{tableId} | Delete document table by ID +*PdfApi* | [**downloadFile**](docs/PdfApi.md#downloadFile) | **GET** /pdf/storage/file/\{path} | Download file +*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* | [**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** /storage/disc | Check the disk usage of the current account +*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. *PdfApi* | [**getDocumentAnnotations**](docs/PdfApi.md#getDocumentAnnotations) | **GET** /pdf/\{name}/annotations | Read documant page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. *PdfApi* | [**getDocumentAttachmentByIndex**](docs/PdfApi.md#getDocumentAttachmentByIndex) | **GET** /pdf/\{name}/attachments/\{attachmentIndex} | Read document attachment info by its index. *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* | [**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. @@ -166,13 +175,17 @@ Class | Method | HTTP request | Description *PdfApi* | [**getDocumentTables**](docs/PdfApi.md#getDocumentTables) | **GET** /pdf/\{name}/tables | Read document tables. *PdfApi* | [**getDocumentTextAnnotations**](docs/PdfApi.md#getDocumentTextAnnotations) | **GET** /pdf/\{name}/annotations/text | Read document text annotations. *PdfApi* | [**getDocumentUnderlineAnnotations**](docs/PdfApi.md#getDocumentUnderlineAnnotations) | **GET** /pdf/\{name}/annotations/underline | Read document underline annotations. -*PdfApi* | [**getDownload**](docs/PdfApi.md#getDownload) | **GET** /storage/file | Download a specific file *PdfApi* | [**getDownloadDocumentAttachmentByIndex**](docs/PdfApi.md#getDownloadDocumentAttachmentByIndex) | **GET** /pdf/\{name}/attachments/\{attachmentIndex}/download | Download document attachment content by its index. *PdfApi* | [**getEpubInStorageToPdf**](docs/PdfApi.md#getEpubInStorageToPdf) | **GET** /pdf/create/epub | Convert EPUB file (located on storage) to PDF format and return resulting file in response. +*PdfApi* | [**getExportFieldsFromPdfToFdfInStorage**](docs/PdfApi.md#getExportFieldsFromPdfToFdfInStorage) | **GET** /pdf/\{name}/export/fdf | Export fields from from PDF in storage to FDF file. +*PdfApi* | [**getExportFieldsFromPdfToXfdfInStorage**](docs/PdfApi.md#getExportFieldsFromPdfToXfdfInStorage) | **GET** /pdf/\{name}/export/xfdf | Export fields from from PDF in storage to XFDF file. +*PdfApi* | [**getExportFieldsFromPdfToXmlInStorage**](docs/PdfApi.md#getExportFieldsFromPdfToXmlInStorage) | **GET** /pdf/\{name}/export/xml | Export fields from from PDF in storage to XML file. *PdfApi* | [**getField**](docs/PdfApi.md#getField) | **GET** /pdf/\{name}/fields/\{fieldName} | Get document field by name. *PdfApi* | [**getFields**](docs/PdfApi.md#getFields) | **GET** /pdf/\{name}/fields | Get document fields. *PdfApi* | [**getFileAttachmentAnnotation**](docs/PdfApi.md#getFileAttachmentAnnotation) | **GET** /pdf/\{name}/annotations/fileattachment/\{annotationId} | Read document page FileAttachment annotation by ID. *PdfApi* | [**getFileAttachmentAnnotationData**](docs/PdfApi.md#getFileAttachmentAnnotationData) | **GET** /pdf/\{name}/annotations/fileattachment/\{annotationId}/data | Read document page FileAttachment annotation by ID. +*PdfApi* | [**getFileVersions**](docs/PdfApi.md#getFileVersions) | **GET** /pdf/storage/version/\{path} | Get file versions +*PdfApi* | [**getFilesList**](docs/PdfApi.md#getFilesList) | **GET** /pdf/storage/folder/\{path} | Get all files and folders within a folder *PdfApi* | [**getFreeTextAnnotation**](docs/PdfApi.md#getFreeTextAnnotation) | **GET** /pdf/\{name}/annotations/freetext/\{annotationId} | Read document page free text annotation by ID. *PdfApi* | [**getHighlightAnnotation**](docs/PdfApi.md#getHighlightAnnotation) | **GET** /pdf/\{name}/annotations/highlight/\{annotationId} | Read document page highlight annotation by ID. *PdfApi* | [**getHtmlInStorageToPdf**](docs/PdfApi.md#getHtmlInStorageToPdf) | **GET** /pdf/create/html | Convert HTML file (located on storage) to PDF format and return resulting file in response. @@ -182,14 +195,13 @@ Class | Method | HTTP request | Description *PdfApi* | [**getImageExtractAsPng**](docs/PdfApi.md#getImageExtractAsPng) | **GET** /pdf/\{name}/images/\{imageId}/extract/png | Extract document image in PNG format *PdfApi* | [**getImageExtractAsTiff**](docs/PdfApi.md#getImageExtractAsTiff) | **GET** /pdf/\{name}/images/\{imageId}/extract/tiff | Extract document image in TIFF format *PdfApi* | [**getImages**](docs/PdfApi.md#getImages) | **GET** /pdf/\{name}/pages/\{pageNumber}/images | Read document images. +*PdfApi* | [**getImportFieldsFromFdfInStorage**](docs/PdfApi.md#getImportFieldsFromFdfInStorage) | **GET** /pdf/\{name}/import/fdf | Update fields from FDF file in storage. +*PdfApi* | [**getImportFieldsFromXfdfInStorage**](docs/PdfApi.md#getImportFieldsFromXfdfInStorage) | **GET** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage. +*PdfApi* | [**getImportFieldsFromXmlInStorage**](docs/PdfApi.md#getImportFieldsFromXmlInStorage) | **GET** /pdf/\{name}/import/xml | Import from XML file (located on storage) to PDF format and return resulting file in response. *PdfApi* | [**getInkAnnotation**](docs/PdfApi.md#getInkAnnotation) | **GET** /pdf/\{name}/annotations/ink/\{annotationId} | Read document page ink annotation by ID. -*PdfApi* | [**getIsExist**](docs/PdfApi.md#getIsExist) | **GET** /storage/exist | Check if a specific file or folder exists -*PdfApi* | [**getIsStorageExist**](docs/PdfApi.md#getIsStorageExist) | **GET** /storage/\{name}/exist | Check if storage exists *PdfApi* | [**getLaTeXInStorageToPdf**](docs/PdfApi.md#getLaTeXInStorageToPdf) | **GET** /pdf/create/latex | Convert LaTeX file (located on storage) to PDF format and return resulting file in response. *PdfApi* | [**getLineAnnotation**](docs/PdfApi.md#getLineAnnotation) | **GET** /pdf/\{name}/annotations/line/\{annotationId} | Read document page line annotation by ID. *PdfApi* | [**getLinkAnnotation**](docs/PdfApi.md#getLinkAnnotation) | **GET** /pdf/\{name}/links/\{linkId} | Read document link annotation by ID. -*PdfApi* | [**getListFileVersions**](docs/PdfApi.md#getListFileVersions) | **GET** /storage/version | Get the file's versions list -*PdfApi* | [**getListFiles**](docs/PdfApi.md#getListFiles) | **GET** /storage/folder | Get the file listing of a specific folder *PdfApi* | [**getMhtInStorageToPdf**](docs/PdfApi.md#getMhtInStorageToPdf) | **GET** /pdf/create/mht | Convert MHT file (located on storage) to PDF format and return resulting file in response. *PdfApi* | [**getMovieAnnotation**](docs/PdfApi.md#getMovieAnnotation) | **GET** /pdf/\{name}/annotations/movie/\{annotationId} | Read document page movie annotation by ID. *PdfApi* | [**getPage**](docs/PdfApi.md#getPage) | **GET** /pdf/\{name}/pages/\{pageNumber} | Read document page info. @@ -266,7 +278,11 @@ Class | Method | HTTP request | Description *PdfApi* | [**getXmlInStorageToPdf**](docs/PdfApi.md#getXmlInStorageToPdf) | **GET** /pdf/create/xml | Convert XML file (located on storage) to PDF format and return resulting file in response. *PdfApi* | [**getXpsInStorageToPdf**](docs/PdfApi.md#getXpsInStorageToPdf) | **GET** /pdf/create/xps | Convert XPS file (located on storage) to PDF format and return resulting file in response. *PdfApi* | [**getXslFoInStorageToPdf**](docs/PdfApi.md#getXslFoInStorageToPdf) | **GET** /pdf/create/xslfo | Convert XslFo file (located on storage) to PDF format and return resulting file in response. +*PdfApi* | [**moveFile**](docs/PdfApi.md#moveFile) | **PUT** /pdf/storage/file/move/\{srcPath} | Move file +*PdfApi* | [**moveFolder**](docs/PdfApi.md#moveFolder) | **PUT** /pdf/storage/folder/move/\{srcPath} | Move folder +*PdfApi* | [**objectExists**](docs/PdfApi.md#objectExists) | **GET** /pdf/storage/exist/\{path} | Check if file or folder exists *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* | [**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. @@ -278,9 +294,10 @@ Class | Method | HTTP request | Description *PdfApi* | [**postDocumentTextReplace**](docs/PdfApi.md#postDocumentTextReplace) | **POST** /pdf/\{name}/text/replace | Document's replace text method. *PdfApi* | [**postEncryptDocumentInStorage**](docs/PdfApi.md#postEncryptDocumentInStorage) | **POST** /pdf/\{name}/encrypt | Encrypt document in storage. *PdfApi* | [**postFlattenDocument**](docs/PdfApi.md#postFlattenDocument) | **POST** /pdf/\{name}/flatten | Flatten the document. +*PdfApi* | [**postImportFieldsFromFdf**](docs/PdfApi.md#postImportFieldsFromFdf) | **POST** /pdf/\{name}/import/fdf | Update fields from FDF file in request. +*PdfApi* | [**postImportFieldsFromXfdf**](docs/PdfApi.md#postImportFieldsFromXfdf) | **POST** /pdf/\{name}/import/xfdf | Update fields from XFDF file in request. +*PdfApi* | [**postImportFieldsFromXml**](docs/PdfApi.md#postImportFieldsFromXml) | **POST** /pdf/\{name}/import/xml | Update fields from XML file in request. *PdfApi* | [**postInsertImage**](docs/PdfApi.md#postInsertImage) | **POST** /pdf/\{name}/pages/\{pageNumber}/images | Insert image to document page. -*PdfApi* | [**postMoveFile**](docs/PdfApi.md#postMoveFile) | **POST** /storage/file | Move a specific file -*PdfApi* | [**postMoveFolder**](docs/PdfApi.md#postMoveFolder) | **POST** /storage/folder | Move a specific folder *PdfApi* | [**postMovePage**](docs/PdfApi.md#postMovePage) | **POST** /pdf/\{name}/pages/\{pageNumber}/movePage | Move page to new position. *PdfApi* | [**postOptimizeDocument**](docs/PdfApi.md#postOptimizeDocument) | **POST** /pdf/\{name}/optimize | Optimize document. *PdfApi* | [**postPageCaretAnnotations**](docs/PdfApi.md#postPageCaretAnnotations) | **POST** /pdf/\{name}/pages/\{pageNumber}/annotations/caret | Add document page caret annotations. @@ -315,15 +332,17 @@ Class | Method | HTTP request | Description *PdfApi* | [**putAddNewPage**](docs/PdfApi.md#putAddNewPage) | **PUT** /pdf/\{name}/pages | Add new page to end of the document. *PdfApi* | [**putAddText**](docs/PdfApi.md#putAddText) | **PUT** /pdf/\{name}/pages/\{pageNumber}/text | Add text to PDF document page. *PdfApi* | [**putAnnotationsFlatten**](docs/PdfApi.md#putAnnotationsFlatten) | **PUT** /pdf/\{name}/annotations/flatten | Flattens the annotations of the specified types +*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* | [**putCircleAnnotation**](docs/PdfApi.md#putCircleAnnotation) | **PUT** /pdf/\{name}/annotations/circle/\{annotationId} | Replace document circle annotation -*PdfApi* | [**putCreate**](docs/PdfApi.md#putCreate) | **PUT** /storage/file | Upload a specific file *PdfApi* | [**putCreateDocument**](docs/PdfApi.md#putCreateDocument) | **PUT** /pdf/\{name} | Create empty document. -*PdfApi* | [**putCreateFolder**](docs/PdfApi.md#putCreateFolder) | **PUT** /storage/folder | Create the folder *PdfApi* | [**putDecryptDocument**](docs/PdfApi.md#putDecryptDocument) | **PUT** /pdf/decrypt | Decrypt document from content. *PdfApi* | [**putEncryptDocument**](docs/PdfApi.md#putEncryptDocument) | **PUT** /pdf/encrypt | Encrypt document from content. *PdfApi* | [**putEpubInStorageToPdf**](docs/PdfApi.md#putEpubInStorageToPdf) | **PUT** /pdf/\{name}/create/epub | Convert EPUB file (located on storage) to PDF format and upload resulting file to storage. +*PdfApi* | [**putExportFieldsFromPdfToFdfInStorage**](docs/PdfApi.md#putExportFieldsFromPdfToFdfInStorage) | **PUT** /pdf/\{name}/export/fdf | Export fields from from PDF in storage to FDF file in storage. +*PdfApi* | [**putExportFieldsFromPdfToXfdfInStorage**](docs/PdfApi.md#putExportFieldsFromPdfToXfdfInStorage) | **PUT** /pdf/\{name}/export/xfdf | Export fields from from PDF in storage to XFDF file in storage. +*PdfApi* | [**putExportFieldsFromPdfToXmlInStorage**](docs/PdfApi.md#putExportFieldsFromPdfToXmlInStorage) | **PUT** /pdf/\{name}/export/xml | Export fields from from PDF in storage to XML file in storage. *PdfApi* | [**putFieldsFlatten**](docs/PdfApi.md#putFieldsFlatten) | **PUT** /pdf/\{name}/fields/flatten | Flatten form fields in document. *PdfApi* | [**putFileAttachmentAnnotation**](docs/PdfApi.md#putFileAttachmentAnnotation) | **PUT** /pdf/\{name}/annotations/fileattachment/\{annotationId} | Replace document FileAttachment annotation *PdfApi* | [**putFileAttachmentAnnotationDataExtract**](docs/PdfApi.md#putFileAttachmentAnnotationDataExtract) | **PUT** /pdf/\{name}/annotations/fileattachment/\{annotationId}/data/extract | Extract document FileAttachment annotation content to storage @@ -339,6 +358,9 @@ Class | Method | HTTP request | Description *PdfApi* | [**putImagesExtractAsJpeg**](docs/PdfApi.md#putImagesExtractAsJpeg) | **PUT** /pdf/\{name}/pages/\{pageNumber}/images/extract/jpeg | Extract document images in JPEG format to folder. *PdfApi* | [**putImagesExtractAsPng**](docs/PdfApi.md#putImagesExtractAsPng) | **PUT** /pdf/\{name}/pages/\{pageNumber}/images/extract/png | Extract document images in PNG format to folder. *PdfApi* | [**putImagesExtractAsTiff**](docs/PdfApi.md#putImagesExtractAsTiff) | **PUT** /pdf/\{name}/pages/\{pageNumber}/images/extract/tiff | Extract document images in TIFF format to folder. +*PdfApi* | [**putImportFieldsFromFdfInStorage**](docs/PdfApi.md#putImportFieldsFromFdfInStorage) | **PUT** /pdf/\{name}/import/fdf | Update fields from FDF file in storage. +*PdfApi* | [**putImportFieldsFromXfdfInStorage**](docs/PdfApi.md#putImportFieldsFromXfdfInStorage) | **PUT** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage. +*PdfApi* | [**putImportFieldsFromXmlInStorage**](docs/PdfApi.md#putImportFieldsFromXmlInStorage) | **PUT** /pdf/\{name}/import/xml | Update fields from XML file in storage. *PdfApi* | [**putInkAnnotation**](docs/PdfApi.md#putInkAnnotation) | **PUT** /pdf/\{name}/annotations/ink/\{annotationId} | Replace document ink annotation *PdfApi* | [**putLaTeXInStorageToPdf**](docs/PdfApi.md#putLaTeXInStorageToPdf) | **PUT** /pdf/\{name}/create/latex | Convert LaTeX file (located on storage) to PDF format and upload resulting file to storage. *PdfApi* | [**putLineAnnotation**](docs/PdfApi.md#putLineAnnotation) | **PUT** /pdf/\{name}/annotations/line/\{annotationId} | Replace document line annotation @@ -410,6 +432,8 @@ Class | Method | HTTP request | Description *PdfApi* | [**putXmlInStorageToPdf**](docs/PdfApi.md#putXmlInStorageToPdf) | **PUT** /pdf/\{name}/create/xml | Convert XML file (located on storage) to PDF format and upload resulting file to storage. *PdfApi* | [**putXpsInStorageToPdf**](docs/PdfApi.md#putXpsInStorageToPdf) | **PUT** /pdf/\{name}/create/xps | Convert XPS file (located on storage) to PDF format and upload resulting file to storage. *PdfApi* | [**putXslFoInStorageToPdf**](docs/PdfApi.md#putXslFoInStorageToPdf) | **PUT** /pdf/\{name}/create/xslfo | Convert XslFo file (located on storage) to PDF format and upload resulting file to storage. +*PdfApi* | [**storageExists**](docs/PdfApi.md#storageExists) | **GET** /pdf/storage/\{storageName}/exist | Check if storage exists +*PdfApi* | [**uploadFile**](docs/PdfApi.md#uploadFile) | **PUT** /pdf/storage/file/\{path} | Upload file ## Documentation for Models @@ -418,7 +442,6 @@ Class | Method | HTTP request | Description - [AnnotationState](docs/AnnotationState.md) - [AnnotationType](docs/AnnotationType.md) - [AntialiasingProcessingType](docs/AntialiasingProcessingType.md) - - [AppendDocument](docs/AppendDocument.md) - [AsposeResponse](docs/AsposeResponse.md) - [BorderCornerStyle](docs/BorderCornerStyle.md) - [BorderInfo](docs/BorderInfo.md) @@ -437,9 +460,13 @@ Class | Method | HTTP request | Description - [DocRecognitionMode](docs/DocRecognitionMode.md) - [DocumentPrivilege](docs/DocumentPrivilege.md) - [EpubRecognitionMode](docs/EpubRecognitionMode.md) + - [Error](docs/Error.md) + - [ErrorDetails](docs/ErrorDetails.md) - [FieldType](docs/FieldType.md) - - [FileExist](docs/FileExist.md) - [FileIcon](docs/FileIcon.md) + - [FileVersions](docs/FileVersions.md) + - [FilesList](docs/FilesList.md) + - [FilesUploadResult](docs/FilesUploadResult.md) - [FontEncodingRules](docs/FontEncodingRules.md) - [FontSavingModes](docs/FontSavingModes.md) - [FontStyles](docs/FontStyles.md) @@ -462,6 +489,7 @@ Class | Method | HTTP request | Description - [LinkHighlightingMode](docs/LinkHighlightingMode.md) - [MarginInfo](docs/MarginInfo.md) - [MergeDocuments](docs/MergeDocuments.md) + - [ObjectExist](docs/ObjectExist.md) - [OptimizeOptions](docs/OptimizeOptions.md) - [PageWordCount](docs/PageWordCount.md) - [Paragraph](docs/Paragraph.md) @@ -486,6 +514,8 @@ Class | Method | HTTP request | Description - [Stamp](docs/Stamp.md) - [StampIcon](docs/StampIcon.md) - [StampType](docs/StampType.md) + - [StorageExist](docs/StorageExist.md) + - [StorageFile](docs/StorageFile.md) - [TableBroken](docs/TableBroken.md) - [TextHorizontalAlignment](docs/TextHorizontalAlignment.md) - [TextIcon](docs/TextIcon.md) @@ -506,13 +536,16 @@ Class | Method | HTTP request | Description - [AttachmentResponse](docs/AttachmentResponse.md) - [Attachments](docs/Attachments.md) - [AttachmentsResponse](docs/AttachmentsResponse.md) + - [Bookmark](docs/Bookmark.md) + - [BookmarkResponse](docs/BookmarkResponse.md) + - [Bookmarks](docs/Bookmarks.md) + - [BookmarksResponse](docs/BookmarksResponse.md) - [CaretAnnotationResponse](docs/CaretAnnotationResponse.md) - [CaretAnnotations](docs/CaretAnnotations.md) - [CaretAnnotationsResponse](docs/CaretAnnotationsResponse.md) - [CircleAnnotationResponse](docs/CircleAnnotationResponse.md) - [CircleAnnotations](docs/CircleAnnotations.md) - [CircleAnnotationsResponse](docs/CircleAnnotationsResponse.md) - - [DiscUsageResponse](docs/DiscUsageResponse.md) - [Document](docs/Document.md) - [DocumentPageResponse](docs/DocumentPageResponse.md) - [DocumentPagesResponse](docs/DocumentPagesResponse.md) @@ -528,10 +561,7 @@ Class | Method | HTTP request | Description - [FileAttachmentAnnotationResponse](docs/FileAttachmentAnnotationResponse.md) - [FileAttachmentAnnotations](docs/FileAttachmentAnnotations.md) - [FileAttachmentAnnotationsResponse](docs/FileAttachmentAnnotationsResponse.md) - - [FileExistResponse](docs/FileExistResponse.md) - [FileVersion](docs/FileVersion.md) - - [FileVersionsResponse](docs/FileVersionsResponse.md) - - [FilesResponse](docs/FilesResponse.md) - [FreeTextAnnotationResponse](docs/FreeTextAnnotationResponse.md) - [FreeTextAnnotations](docs/FreeTextAnnotations.md) - [FreeTextAnnotationsResponse](docs/FreeTextAnnotationsResponse.md) @@ -591,7 +621,6 @@ Class | Method | HTTP request | Description - [StampInfo](docs/StampInfo.md) - [StampsInfo](docs/StampsInfo.md) - [StampsInfoResponse](docs/StampsInfoResponse.md) - - [StorageExistResponse](docs/StorageExistResponse.md) - [StrikeOutAnnotationResponse](docs/StrikeOutAnnotationResponse.md) - [StrikeOutAnnotations](docs/StrikeOutAnnotations.md) - [StrikeOutAnnotationsResponse](docs/StrikeOutAnnotationsResponse.md) diff --git a/build.gradle b/build.gradle index a72f81b..b3954db 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ apply plugin: 'idea' apply plugin: 'eclipse' group = 'com.aspose' -version = '19.5.0' +version = '19.7.0' buildscript { repositories { @@ -71,7 +71,7 @@ dependencies { publish { groupId = 'com.aspose' artifactId = 'aspose-cloud-pdf' - publishVersion = '19.5.0' + publishVersion = '19.7.0' desc = 'Aspose.PDF Cloud is a REST API for creating and editing PDF files. It can also be used to convert PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.PDF Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.PDF Cloud helps you manipulate elements of a PDF file like text, annotations, watermarks, signatures, bookmarks, stamps and so on. Its REST API also allows you to manage PDF pages by using features like merging, splitting, and inserting. Add images to a PDF file or convert PDF pages to images.' licences = ['MIT'] website = 'https://products.aspose.cloud/pdf/cloud' diff --git a/docs/Annotation.md b/docs/Annotation.md index 00ae98a..b80db40 100644 --- a/docs/Annotation.md +++ b/docs/Annotation.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/AnnotationInfo.md b/docs/AnnotationInfo.md index 75e2939..4e444ab 100644 --- a/docs/AnnotationInfo.md +++ b/docs/AnnotationInfo.md @@ -5,14 +5,14 @@ Provides annotation. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**annotationType** | [**AnnotationType**](AnnotationType.md) | Gets annotation type. | +**annotationType** | [**AnnotationType**](AnnotationType.md) | Gets annotation type. | [optional] **color** | [**Color**](Color.md) | Color of the annotation. | [optional] **contents** | **String** | Get the annotation content. | [optional] **modified** | **String** | The date and time when the annotation was last modified. | [optional] **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/Attachment.md b/docs/Attachment.md index 5725572..a44d0ea 100644 --- a/docs/Attachment.md +++ b/docs/Attachment.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **name** | **String** | Gets the name of the attachment. | [optional] **creationDate** | **String** | The date and time when the embedded file was created. | [optional] **modificationDate** | **String** | The date and time when the embedded file was last modified. | [optional] -**size** | **Integer** | The size of the uncompressed embedded file, in bytes. | +**size** | **Integer** | The size of the uncompressed embedded file, in bytes. | [optional] **checkSum** | **String** | A 16-byte string that is the checksum of the bytes of the uncompressed embedded file. The checksum is calculated by applying the standard MD5 message-digest algorithm to the bytes of the embedded file stream. | [optional] **links** | [**List<Link>**](Link.md) | Link to the document. | [optional] diff --git a/docs/Bookmark.md b/docs/Bookmark.md new file mode 100644 index 0000000..1eaa2e2 --- /dev/null +++ b/docs/Bookmark.md @@ -0,0 +1,29 @@ + +# Bookmark +Provides link to bookmark. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**title** | **String** | Get the Title; | [optional] +**italic** | **Boolean** | Is bookmark italic. | [optional] +**bold** | **Boolean** | Is bookmark bold. | [optional] +**color** | [**Color**](Color.md) | Get the color | [optional] +**action** | **String** | Gets or sets the action bound with the bookmark. If PageNumber is presented the action can not be specified. The action type includes: "GoTo", "GoToR", "Launch", "Named". | [optional] +**level** | **Integer** | Gets or sets bookmark's hierarchy level. | [optional] +**destination** | **String** | Gets or sets bookmark's destination page. Required if action is set as string.Empty. | [optional] +**pageDisplay** | **String** | Gets or sets the type of display bookmark's destination page. | [optional] +**pageDisplay_Bottom** | **Integer** | Gets or sets the bottom coordinate of page display. | [optional] +**pageDisplay_Left** | **Integer** | Gets or sets the left coordinate of page display. | [optional] +**pageDisplay_Right** | **Integer** | Gets or sets the right coordinate of page display. | [optional] +**pageDisplay_Top** | **Integer** | Gets or sets the top coordinate of page display. | [optional] +**pageDisplay_Zoom** | **Integer** | Gets or sets the zoom factor of page display. | [optional] +**pageNumber** | **Integer** | Gets or sets the number of bookmark's destination page. | [optional] +**remoteFile** | **String** | Gets or sets the file (path) which is required for "GoToR" action of bookmark. | [optional] +**bookmarks** | [**Bookmarks**](Bookmarks.md) | The children bookmarks. | [optional] +**links** | [**List<Link>**](Link.md) | Link to the document. | [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) + + diff --git a/docs/BookmarkResponse.md b/docs/BookmarkResponse.md new file mode 100644 index 0000000..b2efc33 --- /dev/null +++ b/docs/BookmarkResponse.md @@ -0,0 +1,15 @@ + +# BookmarkResponse +Represents response containing single bookmark info + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bookmark** | [**Bookmark**](Bookmark.md) | Bookmark object | [optional] +**code** | **Integer** | Response status code. | +**status** | **String** | Response status. | [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) + + diff --git a/docs/Bookmarks.md b/docs/Bookmarks.md new file mode 100644 index 0000000..fe2b317 --- /dev/null +++ b/docs/Bookmarks.md @@ -0,0 +1,14 @@ + +# Bookmarks +Represents list of bookmark. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**list** | [**List<Bookmark>**](Bookmark.md) | List of bookmarks. | [optional] +**links** | [**List<Link>**](Link.md) | Link to the document. | [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) + + diff --git a/docs/BookmarksResponse.md b/docs/BookmarksResponse.md new file mode 100644 index 0000000..b2edc0d --- /dev/null +++ b/docs/BookmarksResponse.md @@ -0,0 +1,15 @@ + +# BookmarksResponse +Represents response containing multiple bookmarks info + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bookmarks** | [**Bookmarks**](Bookmarks.md) | Bookmarks object | [optional] +**code** | **Integer** | Response status code. | +**status** | **String** | Response status. | [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) + + diff --git a/docs/CaretAnnotation.md b/docs/CaretAnnotation.md index c50f6e7..3917adb 100644 --- a/docs/CaretAnnotation.md +++ b/docs/CaretAnnotation.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/CellRecognized.md b/docs/CellRecognized.md index d470f0d..1550dfb 100644 --- a/docs/CellRecognized.md +++ b/docs/CellRecognized.md @@ -5,7 +5,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**textRects** | [**TextRects**](TextRects.md) | Gets collection of objects that describes text containing in the cell | [optional] +**textRects** | [**TextRects**](TextRects.md) | Gets collection of TextRect objects that describes text containing in the cell | [optional] **rectangle** | [**Rectangle**](Rectangle.md) | Gets rectangle that describes position of the cell on page | [optional] diff --git a/docs/CircleAnnotation.md b/docs/CircleAnnotation.md index 406a34d..516488b 100644 --- a/docs/CircleAnnotation.md +++ b/docs/CircleAnnotation.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/CommonFigureAnnotation.md b/docs/CommonFigureAnnotation.md index df9d83f..bd9d5ed 100644 --- a/docs/CommonFigureAnnotation.md +++ b/docs/CommonFigureAnnotation.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/DiscUsage.md b/docs/DiscUsage.md index 81327de..17f7f88 100644 --- a/docs/DiscUsage.md +++ b/docs/DiscUsage.md @@ -1,12 +1,12 @@  # DiscUsage - +Class for disc space information. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**usedSize** | **Integer** | | -**totalSize** | **Integer** | | +**usedSize** | **Integer** | Application used disc space. | +**totalSize** | **Integer** | Total disc space. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DocumentPrivilege.md b/docs/DocumentPrivilege.md index b7c36f5..dc84aa5 100644 --- a/docs/DocumentPrivilege.md +++ b/docs/DocumentPrivilege.md @@ -1,6 +1,6 @@  # DocumentPrivilege -Represents the privileges for accessing Pdf file./>. +Represents the privileges for accessing Pdf file. ## Properties Name | Type | Description | Notes diff --git a/docs/DocumentProperty.md b/docs/DocumentProperty.md index 6ac69a7..66d776f 100644 --- a/docs/DocumentProperty.md +++ b/docs/DocumentProperty.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Pame of the property. | [optional] **value** | **String** | Property value. | [optional] -**builtIn** | **Boolean** | Value indicating whether it is a built-in property. | +**builtIn** | **Boolean** | Value indicating whether it is a built-in property. | [optional] **links** | [**List<Link>**](Link.md) | Link to the document. | [optional] diff --git a/docs/Error.md b/docs/Error.md new file mode 100644 index 0000000..87c756c --- /dev/null +++ b/docs/Error.md @@ -0,0 +1,16 @@ + +# Error +Error + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | Code | [optional] +**message** | **String** | Message | [optional] +**description** | **String** | Description | [optional] +**innerError** | [**ErrorDetails**](ErrorDetails.md) | Inner Error | [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) + + diff --git a/docs/ErrorDetails.md b/docs/ErrorDetails.md new file mode 100644 index 0000000..4ef2cc6 --- /dev/null +++ b/docs/ErrorDetails.md @@ -0,0 +1,14 @@ + +# ErrorDetails +The error details + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**requestId** | **String** | The request id | [optional] +**date** | **String** | Date | + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Field.md b/docs/Field.md index 6f420f3..568402b 100644 --- a/docs/Field.md +++ b/docs/Field.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **selectedItems** | **List<Integer>** | Selected items. | [optional] **type** | [**FieldType**](FieldType.md) | Field type. | [optional] **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] -**values** | **List<String>** | Field values. | +**values** | **List<String>** | Field values. | [optional] **links** | [**List<Link>**](Link.md) | Link to the document. | [optional] diff --git a/docs/Fields.md b/docs/Fields.md index e784653..2307303 100644 --- a/docs/Fields.md +++ b/docs/Fields.md @@ -5,7 +5,7 @@ Represents list of form fields. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**list** | [**List<Field>**](Field.md) | List of form fields. | +**list** | [**List<Field>**](Field.md) | List of form fields. | [optional] **links** | [**List<Link>**](Link.md) | Link to the document. | [optional] diff --git a/docs/FileAttachmentAnnotation.md b/docs/FileAttachmentAnnotation.md index 582f2b2..6c435ce 100644 --- a/docs/FileAttachmentAnnotation.md +++ b/docs/FileAttachmentAnnotation.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/FileVersion.md b/docs/FileVersion.md index a45bf84..8f389fd 100644 --- a/docs/FileVersion.md +++ b/docs/FileVersion.md @@ -1,17 +1,17 @@  # FileVersion - +File Version ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**versionId** | **String** | | [optional] -**isLatest** | **Boolean** | | -**name** | **String** | | [optional] -**isFolder** | **Boolean** | | -**modifiedDate** | **String** | | [optional] -**size** | **Integer** | | -**path** | **String** | | [optional] +**versionId** | **String** | File Version ID. | [optional] +**isLatest** | **Boolean** | Specifies whether the file is (true) or is not (false) the latest version of an file. | [optional] +**name** | **String** | File or folder name. | [optional] +**isFolder** | **Boolean** | True if it is a folder. | +**modifiedDate** | **String** | File or folder last modified DateTime. | [optional] +**size** | **Integer** | File or folder size. | +**path** | **String** | File or folder path. | [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) diff --git a/docs/FileVersions.md b/docs/FileVersions.md new file mode 100644 index 0000000..590f27d --- /dev/null +++ b/docs/FileVersions.md @@ -0,0 +1,13 @@ + +# FileVersions +File versions FileVersion. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**List<FileVersion>**](FileVersion.md) | File versions FileVersion. | [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) + + diff --git a/docs/FilesList.md b/docs/FilesList.md new file mode 100644 index 0000000..51422fd --- /dev/null +++ b/docs/FilesList.md @@ -0,0 +1,13 @@ + +# FilesList +Files list + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**List<StorageFile>**](StorageFile.md) | Files and folders contained by folder StorageFile. | [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) + + diff --git a/docs/FilesUploadResult.md b/docs/FilesUploadResult.md new file mode 100644 index 0000000..cb84052 --- /dev/null +++ b/docs/FilesUploadResult.md @@ -0,0 +1,14 @@ + +# FilesUploadResult +File upload result + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**uploaded** | **List<String>** | List of uploaded file names | [optional] +**errors** | [**List<Error>**](Error.md) | List of errors. | [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) + + diff --git a/docs/FreeTextAnnotation.md b/docs/FreeTextAnnotation.md index 11195ed..547ede5 100644 --- a/docs/FreeTextAnnotation.md +++ b/docs/FreeTextAnnotation.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **justification** | [**Justification**](Justification.md) | Gets Justification of the annotation. | [optional] **intent** | [**FreeTextIntent**](FreeTextIntent.md) | Gets or sets the intent of the free text annotation. | [optional] **rotate** | [**Rotation**](Rotation.md) | Angle of annotation rotation. | [optional] -**textStyle** | [**TextStyle**](TextStyle.md) | Text style of the annotation. | +**textStyle** | [**TextStyle**](TextStyle.md) | Text style of the annotation. | [optional] **creationDate** | **String** | The date and time when the annotation was created. | [optional] **subject** | **String** | Get the annotation subject. | [optional] **title** | **String** | Get the annotation title. | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/GraphInfo.md b/docs/GraphInfo.md index 4ae1565..738ddc1 100644 --- a/docs/GraphInfo.md +++ b/docs/GraphInfo.md @@ -6,10 +6,10 @@ Represents graphics info. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **lineWidth** | **Double** | Gets or sets a float value that indicates the line width of the graph. | [optional] -**color** | [**Color**](Color.md) | Gets or sets a object that indicates the color of the graph. | [optional] +**color** | [**Color**](Color.md) | Gets or sets a Color object that indicates the color of the graph. | [optional] **dashArray** | **List<Integer>** | Gets or sets a dash array. | [optional] **dashPhase** | **Integer** | Gets or sets a dash phase. | [optional] -**fillColor** | [**Color**](Color.md) | Gets or sets a object that indicates the fill color of the graph. | [optional] +**fillColor** | [**Color**](Color.md) | Gets or sets a Color object that indicates the fill color of the graph. | [optional] **isDoubled** | **Boolean** | Gets or sets is border doubled. | [optional] **skewAngleX** | **Double** | Gets or sets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system. | [optional] **skewAngleY** | **Double** | Gets or sets a float value that indicates the skew angle of the y-coordinate when transforming a coordinate system. | [optional] diff --git a/docs/HighlightAnnotation.md b/docs/HighlightAnnotation.md index f9c2ba2..7213941 100644 --- a/docs/HighlightAnnotation.md +++ b/docs/HighlightAnnotation.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/Image.md b/docs/Image.md index ad55d64..1a35c10 100644 --- a/docs/Image.md +++ b/docs/Image.md @@ -5,11 +5,11 @@ Represents image DTO. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**width** | **Integer** | Gets width of the image. | -**height** | **Integer** | Gets height of the image. | +**width** | **Integer** | Gets width of the image. | [optional] +**height** | **Integer** | Gets height of the image. | [optional] **id** | **String** | Gets ID of the image. | [optional] **rectangle** | [**Rectangle**](Rectangle.md) | Gets rectangle of the image. | [optional] -**pageNumber** | **Integer** | Gets page number. | +**pageNumber** | **Integer** | Gets page number. | [optional] **links** | [**List<Link>**](Link.md) | Link to the document. | [optional] diff --git a/docs/ImageFooter.md b/docs/ImageFooter.md index 03d60cd..ff18fd2 100644 --- a/docs/ImageFooter.md +++ b/docs/ImageFooter.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional] **opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional] -**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] +**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] **rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional] **xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional] **yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional] diff --git a/docs/ImageHeader.md b/docs/ImageHeader.md index eceaf70..8567ca1 100644 --- a/docs/ImageHeader.md +++ b/docs/ImageHeader.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional] **opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional] -**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] +**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] **rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional] **xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional] **yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional] diff --git a/docs/ImageStamp.md b/docs/ImageStamp.md index 326d7b3..b7f6bef 100644 --- a/docs/ImageStamp.md +++ b/docs/ImageStamp.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional] **opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional] -**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] +**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] **rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional] **xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional] **yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional] diff --git a/docs/InkAnnotation.md b/docs/InkAnnotation.md index 0f1d1ca..04282cc 100644 --- a/docs/InkAnnotation.md +++ b/docs/InkAnnotation.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/LineAnnotation.md b/docs/LineAnnotation.md index 172314f..8cd9832 100644 --- a/docs/LineAnnotation.md +++ b/docs/LineAnnotation.md @@ -5,9 +5,9 @@ Provides LineAnnotation. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**starting** | [**Point**](Point.md) | Gets or sets starting point of line. | +**starting** | [**Point**](Point.md) | Gets or sets starting point of line. | [optional] **startingStyle** | [**LineEnding**](LineEnding.md) | Gets or sets line ending style for line starting point. | [optional] -**ending** | [**Point**](Point.md) | Gets or sets ending point of line. | +**ending** | [**Point**](Point.md) | Gets or sets ending point of line. | [optional] **endingStyle** | [**LineEnding**](LineEnding.md) | Gets or sets ending style for end point of line. | [optional] **interiorColor** | [**Color**](Color.md) | Gets or sets interior color of the annotation. | [optional] **leaderLine** | **Double** | Gets or sets leader line length. | [optional] @@ -27,7 +27,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/LinkAnnotation.md b/docs/LinkAnnotation.md index 329f110..1fef8f4 100644 --- a/docs/LinkAnnotation.md +++ b/docs/LinkAnnotation.md @@ -5,11 +5,11 @@ Provides link to linkAnnotation. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**actionType** | [**LinkActionType**](LinkActionType.md) | | -**action** | **String** | | -**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | | +**actionType** | [**LinkActionType**](LinkActionType.md) | | [optional] +**action** | **String** | | [optional] +**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | | [optional] **color** | [**Color**](Color.md) | | [optional] -**rect** | [**Rectangle**](Rectangle.md) | | +**rect** | [**Rectangle**](Rectangle.md) | | [optional] **id** | **String** | | [optional] **links** | [**List<Link>**](Link.md) | Link to the document. | [optional] diff --git a/docs/MarkupAnnotation.md b/docs/MarkupAnnotation.md index 289276f..1ace38a 100644 --- a/docs/MarkupAnnotation.md +++ b/docs/MarkupAnnotation.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/MovieAnnotation.md b/docs/MovieAnnotation.md index 506f507..143ebd2 100644 --- a/docs/MovieAnnotation.md +++ b/docs/MovieAnnotation.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/ObjectExist.md b/docs/ObjectExist.md new file mode 100644 index 0000000..b0f046a --- /dev/null +++ b/docs/ObjectExist.md @@ -0,0 +1,14 @@ + +# ObjectExist +Object exists + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**exists** | **Boolean** | Indicates that the file or folder exists. | +**isFolder** | **Boolean** | True if it is a folder, false if it is a file. | + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Page.md b/docs/Page.md index 4d3afa9..8889826 100644 --- a/docs/Page.md +++ b/docs/Page.md @@ -5,7 +5,7 @@ Provides link to page. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Page's id. | +**id** | **Integer** | Page's id. | [optional] **images** | [**Images**](Images.md) | Page's images | [optional] **rectangle** | [**Rectangle**](Rectangle.md) | Page's rectangle | [optional] **links** | [**List<Link>**](Link.md) | Link to the document. | [optional] diff --git a/docs/PageNumberStamp.md b/docs/PageNumberStamp.md index cd5dcaf..1245824 100644 --- a/docs/PageNumberStamp.md +++ b/docs/PageNumberStamp.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional] **opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional] -**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] +**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] **rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional] **xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional] **yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional] diff --git a/docs/PdfApi.md b/docs/PdfApi.md index 7d24c79..82640ba 100644 --- a/docs/PdfApi.md +++ b/docs/PdfApi.md @@ -1,17 +1,22 @@ # PdfApi -All URIs are relative to *https://api.aspose.cloud/v2.0* +All URIs are relative to *https://api.aspose.cloud/v3.0* Method | HTTP request | Description ------------- | ------------- | ------------- +[**copyFile**](PdfApi.md#copyFile) | **PUT** /pdf/storage/file/copy/\{srcPath} | Copy file +[**copyFolder**](PdfApi.md#copyFolder) | **PUT** /pdf/storage/folder/copy/\{srcPath} | Copy folder +[**createFolder**](PdfApi.md#createFolder) | **PUT** /pdf/storage/folder/\{path} | Create the folder [**deleteAnnotation**](PdfApi.md#deleteAnnotation) | **DELETE** /pdf/\{name}/annotations/\{annotationId} | Delete document annotation by ID +[**deleteBookmark**](PdfApi.md#deleteBookmark) | **DELETE** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Delete document bookmark by ID. [**deleteDocumentAnnotations**](PdfApi.md#deleteDocumentAnnotations) | **DELETE** /pdf/\{name}/annotations | Delete all annotations from the document +[**deleteDocumentBookmarks**](PdfApi.md#deleteDocumentBookmarks) | **DELETE** /pdf/\{name}/bookmarks/tree | Delete all document bookmarks. [**deleteDocumentLinkAnnotations**](PdfApi.md#deleteDocumentLinkAnnotations) | **DELETE** /pdf/\{name}/links | Delete all link annotations from the document [**deleteDocumentStamps**](PdfApi.md#deleteDocumentStamps) | **DELETE** /pdf/\{name}/stamps | Delete all stamps from the document [**deleteDocumentTables**](PdfApi.md#deleteDocumentTables) | **DELETE** /pdf/\{name}/tables | Delete all tables from the document [**deleteField**](PdfApi.md#deleteField) | **DELETE** /pdf/\{name}/fields/\{fieldName} | Delete document field by name. -[**deleteFile**](PdfApi.md#deleteFile) | **DELETE** /storage/file | Remove a specific file -[**deleteFolder**](PdfApi.md#deleteFolder) | **DELETE** /storage/folder | Remove a specific folder +[**deleteFile**](PdfApi.md#deleteFile) | **DELETE** /pdf/storage/file/\{path} | Delete file +[**deleteFolder**](PdfApi.md#deleteFolder) | **DELETE** /pdf/storage/folder/\{path} | Delete folder [**deleteImage**](PdfApi.md#deleteImage) | **DELETE** /pdf/\{name}/images/\{imageId} | Delete image from document page. [**deleteLinkAnnotation**](PdfApi.md#deleteLinkAnnotation) | **DELETE** /pdf/\{name}/links/\{linkId} | Delete document page link annotation by ID [**deletePage**](PdfApi.md#deletePage) | **DELETE** /pdf/\{name}/pages/\{pageNumber} | Delete document page by its number. @@ -23,13 +28,17 @@ Method | HTTP request | Description [**deleteProperty**](PdfApi.md#deleteProperty) | **DELETE** /pdf/\{name}/documentproperties/\{propertyName} | Delete document property. [**deleteStamp**](PdfApi.md#deleteStamp) | **DELETE** /pdf/\{name}/stamps/\{stampId} | Delete document stamp by ID [**deleteTable**](PdfApi.md#deleteTable) | **DELETE** /pdf/\{name}/tables/\{tableId} | Delete document table by ID +[**downloadFile**](PdfApi.md#downloadFile) | **GET** /pdf/storage/file/\{path} | Download file +[**getBookmark**](PdfApi.md#getBookmark) | **GET** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Read document bookmark. +[**getBookmarks**](PdfApi.md#getBookmarks) | **GET** /pdf/\{name}/bookmarks/list/\{bookmarkPath} | Read document bookmarks node list. [**getCaretAnnotation**](PdfApi.md#getCaretAnnotation) | **GET** /pdf/\{name}/annotations/caret/\{annotationId} | Read document page caret annotation by ID. [**getCircleAnnotation**](PdfApi.md#getCircleAnnotation) | **GET** /pdf/\{name}/annotations/circle/\{annotationId} | Read document page circle annotation by ID. -[**getDiscUsage**](PdfApi.md#getDiscUsage) | **GET** /storage/disc | Check the disk usage of the current account +[**getDiscUsage**](PdfApi.md#getDiscUsage) | **GET** /pdf/storage/disc | Get disc usage [**getDocument**](PdfApi.md#getDocument) | **GET** /pdf/\{name} | Read common document info. [**getDocumentAnnotations**](PdfApi.md#getDocumentAnnotations) | **GET** /pdf/\{name}/annotations | Read documant page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. [**getDocumentAttachmentByIndex**](PdfApi.md#getDocumentAttachmentByIndex) | **GET** /pdf/\{name}/attachments/\{attachmentIndex} | Read document attachment info by its index. [**getDocumentAttachments**](PdfApi.md#getDocumentAttachments) | **GET** /pdf/\{name}/attachments | Read document attachments info. +[**getDocumentBookmarks**](PdfApi.md#getDocumentBookmarks) | **GET** /pdf/\{name}/bookmarks/tree | Read document bookmarks tree. [**getDocumentCaretAnnotations**](PdfApi.md#getDocumentCaretAnnotations) | **GET** /pdf/\{name}/annotations/caret | Read document caret annotations. [**getDocumentCircleAnnotations**](PdfApi.md#getDocumentCircleAnnotations) | **GET** /pdf/\{name}/annotations/circle | Read document circle annotations. [**getDocumentFileAttachmentAnnotations**](PdfApi.md#getDocumentFileAttachmentAnnotations) | **GET** /pdf/\{name}/annotations/fileattachment | Read document FileAttachment annotations. @@ -55,13 +64,17 @@ Method | HTTP request | Description [**getDocumentTables**](PdfApi.md#getDocumentTables) | **GET** /pdf/\{name}/tables | Read document tables. [**getDocumentTextAnnotations**](PdfApi.md#getDocumentTextAnnotations) | **GET** /pdf/\{name}/annotations/text | Read document text annotations. [**getDocumentUnderlineAnnotations**](PdfApi.md#getDocumentUnderlineAnnotations) | **GET** /pdf/\{name}/annotations/underline | Read document underline annotations. -[**getDownload**](PdfApi.md#getDownload) | **GET** /storage/file | Download a specific file [**getDownloadDocumentAttachmentByIndex**](PdfApi.md#getDownloadDocumentAttachmentByIndex) | **GET** /pdf/\{name}/attachments/\{attachmentIndex}/download | Download document attachment content by its index. [**getEpubInStorageToPdf**](PdfApi.md#getEpubInStorageToPdf) | **GET** /pdf/create/epub | Convert EPUB file (located on storage) to PDF format and return resulting file in response. +[**getExportFieldsFromPdfToFdfInStorage**](PdfApi.md#getExportFieldsFromPdfToFdfInStorage) | **GET** /pdf/\{name}/export/fdf | Export fields from from PDF in storage to FDF file. +[**getExportFieldsFromPdfToXfdfInStorage**](PdfApi.md#getExportFieldsFromPdfToXfdfInStorage) | **GET** /pdf/\{name}/export/xfdf | Export fields from from PDF in storage to XFDF file. +[**getExportFieldsFromPdfToXmlInStorage**](PdfApi.md#getExportFieldsFromPdfToXmlInStorage) | **GET** /pdf/\{name}/export/xml | Export fields from from PDF in storage to XML file. [**getField**](PdfApi.md#getField) | **GET** /pdf/\{name}/fields/\{fieldName} | Get document field by name. [**getFields**](PdfApi.md#getFields) | **GET** /pdf/\{name}/fields | Get document fields. [**getFileAttachmentAnnotation**](PdfApi.md#getFileAttachmentAnnotation) | **GET** /pdf/\{name}/annotations/fileattachment/\{annotationId} | Read document page FileAttachment annotation by ID. [**getFileAttachmentAnnotationData**](PdfApi.md#getFileAttachmentAnnotationData) | **GET** /pdf/\{name}/annotations/fileattachment/\{annotationId}/data | Read document page FileAttachment annotation by ID. +[**getFileVersions**](PdfApi.md#getFileVersions) | **GET** /pdf/storage/version/\{path} | Get file versions +[**getFilesList**](PdfApi.md#getFilesList) | **GET** /pdf/storage/folder/\{path} | Get all files and folders within a folder [**getFreeTextAnnotation**](PdfApi.md#getFreeTextAnnotation) | **GET** /pdf/\{name}/annotations/freetext/\{annotationId} | Read document page free text annotation by ID. [**getHighlightAnnotation**](PdfApi.md#getHighlightAnnotation) | **GET** /pdf/\{name}/annotations/highlight/\{annotationId} | Read document page highlight annotation by ID. [**getHtmlInStorageToPdf**](PdfApi.md#getHtmlInStorageToPdf) | **GET** /pdf/create/html | Convert HTML file (located on storage) to PDF format and return resulting file in response. @@ -71,14 +84,13 @@ Method | HTTP request | Description [**getImageExtractAsPng**](PdfApi.md#getImageExtractAsPng) | **GET** /pdf/\{name}/images/\{imageId}/extract/png | Extract document image in PNG format [**getImageExtractAsTiff**](PdfApi.md#getImageExtractAsTiff) | **GET** /pdf/\{name}/images/\{imageId}/extract/tiff | Extract document image in TIFF format [**getImages**](PdfApi.md#getImages) | **GET** /pdf/\{name}/pages/\{pageNumber}/images | Read document images. +[**getImportFieldsFromFdfInStorage**](PdfApi.md#getImportFieldsFromFdfInStorage) | **GET** /pdf/\{name}/import/fdf | Update fields from FDF file in storage. +[**getImportFieldsFromXfdfInStorage**](PdfApi.md#getImportFieldsFromXfdfInStorage) | **GET** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage. +[**getImportFieldsFromXmlInStorage**](PdfApi.md#getImportFieldsFromXmlInStorage) | **GET** /pdf/\{name}/import/xml | Import from XML file (located on storage) to PDF format and return resulting file in response. [**getInkAnnotation**](PdfApi.md#getInkAnnotation) | **GET** /pdf/\{name}/annotations/ink/\{annotationId} | Read document page ink annotation by ID. -[**getIsExist**](PdfApi.md#getIsExist) | **GET** /storage/exist | Check if a specific file or folder exists -[**getIsStorageExist**](PdfApi.md#getIsStorageExist) | **GET** /storage/\{name}/exist | Check if storage exists [**getLaTeXInStorageToPdf**](PdfApi.md#getLaTeXInStorageToPdf) | **GET** /pdf/create/latex | Convert LaTeX file (located on storage) to PDF format and return resulting file in response. [**getLineAnnotation**](PdfApi.md#getLineAnnotation) | **GET** /pdf/\{name}/annotations/line/\{annotationId} | Read document page line annotation by ID. [**getLinkAnnotation**](PdfApi.md#getLinkAnnotation) | **GET** /pdf/\{name}/links/\{linkId} | Read document link annotation by ID. -[**getListFileVersions**](PdfApi.md#getListFileVersions) | **GET** /storage/version | Get the file's versions list -[**getListFiles**](PdfApi.md#getListFiles) | **GET** /storage/folder | Get the file listing of a specific folder [**getMhtInStorageToPdf**](PdfApi.md#getMhtInStorageToPdf) | **GET** /pdf/create/mht | Convert MHT file (located on storage) to PDF format and return resulting file in response. [**getMovieAnnotation**](PdfApi.md#getMovieAnnotation) | **GET** /pdf/\{name}/annotations/movie/\{annotationId} | Read document page movie annotation by ID. [**getPage**](PdfApi.md#getPage) | **GET** /pdf/\{name}/pages/\{pageNumber} | Read document page info. @@ -155,7 +167,11 @@ Method | HTTP request | Description [**getXmlInStorageToPdf**](PdfApi.md#getXmlInStorageToPdf) | **GET** /pdf/create/xml | Convert XML file (located on storage) to PDF format and return resulting file in response. [**getXpsInStorageToPdf**](PdfApi.md#getXpsInStorageToPdf) | **GET** /pdf/create/xps | Convert XPS file (located on storage) to PDF format and return resulting file in response. [**getXslFoInStorageToPdf**](PdfApi.md#getXslFoInStorageToPdf) | **GET** /pdf/create/xslfo | Convert XslFo file (located on storage) to PDF format and return resulting file in response. +[**moveFile**](PdfApi.md#moveFile) | **PUT** /pdf/storage/file/move/\{srcPath} | Move file +[**moveFolder**](PdfApi.md#moveFolder) | **PUT** /pdf/storage/folder/move/\{srcPath} | Move folder +[**objectExists**](PdfApi.md#objectExists) | **GET** /pdf/storage/exist/\{path} | Check if file or folder exists [**postAppendDocument**](PdfApi.md#postAppendDocument) | **POST** /pdf/\{name}/appendDocument | Append document to existing one. +[**postBookmark**](PdfApi.md#postBookmark) | **POST** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Add document bookmarks. [**postChangePasswordDocumentInStorage**](PdfApi.md#postChangePasswordDocumentInStorage) | **POST** /pdf/\{name}/changepassword | Change document password in storage. [**postCreateField**](PdfApi.md#postCreateField) | **POST** /pdf/\{name}/fields | Create field. [**postDecryptDocumentInStorage**](PdfApi.md#postDecryptDocumentInStorage) | **POST** /pdf/\{name}/decrypt | Decrypt document in storage. @@ -167,9 +183,10 @@ Method | HTTP request | Description [**postDocumentTextReplace**](PdfApi.md#postDocumentTextReplace) | **POST** /pdf/\{name}/text/replace | Document's replace text method. [**postEncryptDocumentInStorage**](PdfApi.md#postEncryptDocumentInStorage) | **POST** /pdf/\{name}/encrypt | Encrypt document in storage. [**postFlattenDocument**](PdfApi.md#postFlattenDocument) | **POST** /pdf/\{name}/flatten | Flatten the document. +[**postImportFieldsFromFdf**](PdfApi.md#postImportFieldsFromFdf) | **POST** /pdf/\{name}/import/fdf | Update fields from FDF file in request. +[**postImportFieldsFromXfdf**](PdfApi.md#postImportFieldsFromXfdf) | **POST** /pdf/\{name}/import/xfdf | Update fields from XFDF file in request. +[**postImportFieldsFromXml**](PdfApi.md#postImportFieldsFromXml) | **POST** /pdf/\{name}/import/xml | Update fields from XML file in request. [**postInsertImage**](PdfApi.md#postInsertImage) | **POST** /pdf/\{name}/pages/\{pageNumber}/images | Insert image to document page. -[**postMoveFile**](PdfApi.md#postMoveFile) | **POST** /storage/file | Move a specific file -[**postMoveFolder**](PdfApi.md#postMoveFolder) | **POST** /storage/folder | Move a specific folder [**postMovePage**](PdfApi.md#postMovePage) | **POST** /pdf/\{name}/pages/\{pageNumber}/movePage | Move page to new position. [**postOptimizeDocument**](PdfApi.md#postOptimizeDocument) | **POST** /pdf/\{name}/optimize | Optimize document. [**postPageCaretAnnotations**](PdfApi.md#postPageCaretAnnotations) | **POST** /pdf/\{name}/pages/\{pageNumber}/annotations/caret | Add document page caret annotations. @@ -204,15 +221,17 @@ Method | HTTP request | Description [**putAddNewPage**](PdfApi.md#putAddNewPage) | **PUT** /pdf/\{name}/pages | Add new page to end of the document. [**putAddText**](PdfApi.md#putAddText) | **PUT** /pdf/\{name}/pages/\{pageNumber}/text | Add text to PDF document page. [**putAnnotationsFlatten**](PdfApi.md#putAnnotationsFlatten) | **PUT** /pdf/\{name}/annotations/flatten | Flattens the annotations of the specified types +[**putBookmark**](PdfApi.md#putBookmark) | **PUT** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Update document bookmark. [**putCaretAnnotation**](PdfApi.md#putCaretAnnotation) | **PUT** /pdf/\{name}/annotations/caret/\{annotationId} | Replace document caret annotation [**putChangePasswordDocument**](PdfApi.md#putChangePasswordDocument) | **PUT** /pdf/changepassword | Change document password from content. [**putCircleAnnotation**](PdfApi.md#putCircleAnnotation) | **PUT** /pdf/\{name}/annotations/circle/\{annotationId} | Replace document circle annotation -[**putCreate**](PdfApi.md#putCreate) | **PUT** /storage/file | Upload a specific file [**putCreateDocument**](PdfApi.md#putCreateDocument) | **PUT** /pdf/\{name} | Create empty document. -[**putCreateFolder**](PdfApi.md#putCreateFolder) | **PUT** /storage/folder | Create the folder [**putDecryptDocument**](PdfApi.md#putDecryptDocument) | **PUT** /pdf/decrypt | Decrypt document from content. [**putEncryptDocument**](PdfApi.md#putEncryptDocument) | **PUT** /pdf/encrypt | Encrypt document from content. [**putEpubInStorageToPdf**](PdfApi.md#putEpubInStorageToPdf) | **PUT** /pdf/\{name}/create/epub | Convert EPUB file (located on storage) to PDF format and upload resulting file to storage. +[**putExportFieldsFromPdfToFdfInStorage**](PdfApi.md#putExportFieldsFromPdfToFdfInStorage) | **PUT** /pdf/\{name}/export/fdf | Export fields from from PDF in storage to FDF file in storage. +[**putExportFieldsFromPdfToXfdfInStorage**](PdfApi.md#putExportFieldsFromPdfToXfdfInStorage) | **PUT** /pdf/\{name}/export/xfdf | Export fields from from PDF in storage to XFDF file in storage. +[**putExportFieldsFromPdfToXmlInStorage**](PdfApi.md#putExportFieldsFromPdfToXmlInStorage) | **PUT** /pdf/\{name}/export/xml | Export fields from from PDF in storage to XML file in storage. [**putFieldsFlatten**](PdfApi.md#putFieldsFlatten) | **PUT** /pdf/\{name}/fields/flatten | Flatten form fields in document. [**putFileAttachmentAnnotation**](PdfApi.md#putFileAttachmentAnnotation) | **PUT** /pdf/\{name}/annotations/fileattachment/\{annotationId} | Replace document FileAttachment annotation [**putFileAttachmentAnnotationDataExtract**](PdfApi.md#putFileAttachmentAnnotationDataExtract) | **PUT** /pdf/\{name}/annotations/fileattachment/\{annotationId}/data/extract | Extract document FileAttachment annotation content to storage @@ -228,6 +247,9 @@ Method | HTTP request | Description [**putImagesExtractAsJpeg**](PdfApi.md#putImagesExtractAsJpeg) | **PUT** /pdf/\{name}/pages/\{pageNumber}/images/extract/jpeg | Extract document images in JPEG format to folder. [**putImagesExtractAsPng**](PdfApi.md#putImagesExtractAsPng) | **PUT** /pdf/\{name}/pages/\{pageNumber}/images/extract/png | Extract document images in PNG format to folder. [**putImagesExtractAsTiff**](PdfApi.md#putImagesExtractAsTiff) | **PUT** /pdf/\{name}/pages/\{pageNumber}/images/extract/tiff | Extract document images in TIFF format to folder. +[**putImportFieldsFromFdfInStorage**](PdfApi.md#putImportFieldsFromFdfInStorage) | **PUT** /pdf/\{name}/import/fdf | Update fields from FDF file in storage. +[**putImportFieldsFromXfdfInStorage**](PdfApi.md#putImportFieldsFromXfdfInStorage) | **PUT** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage. +[**putImportFieldsFromXmlInStorage**](PdfApi.md#putImportFieldsFromXmlInStorage) | **PUT** /pdf/\{name}/import/xml | Update fields from XML file in storage. [**putInkAnnotation**](PdfApi.md#putInkAnnotation) | **PUT** /pdf/\{name}/annotations/ink/\{annotationId} | Replace document ink annotation [**putLaTeXInStorageToPdf**](PdfApi.md#putLaTeXInStorageToPdf) | **PUT** /pdf/\{name}/create/latex | Convert LaTeX file (located on storage) to PDF format and upload resulting file to storage. [**putLineAnnotation**](PdfApi.md#putLineAnnotation) | **PUT** /pdf/\{name}/annotations/line/\{annotationId} | Replace document line annotation @@ -299,8 +321,81 @@ Method | HTTP request | Description [**putXmlInStorageToPdf**](PdfApi.md#putXmlInStorageToPdf) | **PUT** /pdf/\{name}/create/xml | Convert XML file (located on storage) to PDF format and upload resulting file to storage. [**putXpsInStorageToPdf**](PdfApi.md#putXpsInStorageToPdf) | **PUT** /pdf/\{name}/create/xps | Convert XPS file (located on storage) to PDF format and upload resulting file to storage. [**putXslFoInStorageToPdf**](PdfApi.md#putXslFoInStorageToPdf) | **PUT** /pdf/\{name}/create/xslfo | Convert XslFo file (located on storage) to PDF format and upload resulting file to storage. +[**storageExists**](PdfApi.md#storageExists) | **GET** /pdf/storage/\{storageName}/exist | Check if storage exists +[**uploadFile**](PdfApi.md#uploadFile) | **PUT** /pdf/storage/file/\{path} | Upload file + +# **copyFile** +> copyFile(srcPath, destPath, srcStorageName, destStorageName, versionId) + +Copy file + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **srcPath** | **String**| Source file path e.g. '/folder/file.ext' | + **destPath** | **String**| Destination file path | + **srcStorageName** | **String**| Source storage name | [optional] + **destStorageName** | **String**| Destination storage name | [optional] + **versionId** | **String**| File version ID to copy | [optional] + +### Return type + +null (empty response body) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **copyFolder** +> copyFolder(srcPath, destPath, srcStorageName, destStorageName) + +Copy folder + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **srcPath** | **String**| Source folder path e.g. '/src' | + **destPath** | **String**| Destination folder path e.g. '/dst' | + **srcStorageName** | **String**| Source storage name | [optional] + **destStorageName** | **String**| Destination storage name | [optional] + +### Return type + +null (empty response body) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **createFolder** +> createFolder(path, storageName) + +Create the folder + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **String**| Folder path to create e.g. 'folder_1/folder_2/' | + **storageName** | **String**| Storage name | [optional] + +### Return type + +null (empty response body) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + # **deleteAnnotation** > AsposeResponse deleteAnnotation(name, annotationId, storage, folder) @@ -320,6 +415,30 @@ Name | Type | Description | Notes [**AsposeResponse**](AsposeResponse.md) +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **deleteBookmark** +> AsposeResponse deleteBookmark(name, bookmarkPath, folder, storage) + +Delete document bookmark by ID. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **bookmarkPath** | **String**| The bookmark path. | + **folder** | **String**| The document folder. | [optional] + **storage** | **String**| The document storage. | [optional] + +### Return type + +[**AsposeResponse**](AsposeResponse.md) + ### HTTP request headers - **Content-Type**: application/json @@ -343,6 +462,29 @@ Name | Type | Description | Notes [**AsposeResponse**](AsposeResponse.md) +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **deleteDocumentBookmarks** +> AsposeResponse deleteDocumentBookmarks(name, folder, storage) + +Delete all document bookmarks. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **folder** | **String**| The document folder. | [optional] + **storage** | **String**| The document storage. | [optional] + +### Return type + +[**AsposeResponse**](AsposeResponse.md) + ### HTTP request headers - **Content-Type**: application/json @@ -443,21 +585,21 @@ Name | Type | Description | Notes # **deleteFile** -> AsposeResponse deleteFile(path, versionId, storage) +> deleteFile(path, storageName, versionId) -Remove a specific file +Delete file ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **String**| Path of the file including file name and extension e.g. /Folder1/file.ext | - **versionId** | **String**| File's version | [optional] - **storage** | **String**| User's storage name | [optional] + **path** | **String**| File path e.g. '/folder/file.ext' | + **storageName** | **String**| Storage name | [optional] + **versionId** | **String**| File version ID to delete | [optional] ### Return type -[**AsposeResponse**](AsposeResponse.md) +null (empty response body) ### HTTP request headers @@ -466,21 +608,21 @@ Name | Type | Description | Notes # **deleteFolder** -> AsposeResponse deleteFolder(path, storage, recursive) +> deleteFolder(path, storageName, recursive) -Remove a specific folder +Delete folder ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **String**| Folder path e.g. /Folder1 | - **storage** | **String**| User's storage name | [optional] - **recursive** | **Boolean**| Remove recursivelly inner folder/files. If false and folder contains data than exception is raised. | [optional] [default to false] + **path** | **String**| Folder path e.g. '/folder' | + **storageName** | **String**| Storage name | [optional] + **recursive** | **Boolean**| Enable to delete folders, subfolders and files | [optional] [default to false] ### Return type -[**AsposeResponse**](AsposeResponse.md) +null (empty response body) ### HTTP request headers @@ -745,6 +887,77 @@ Name | Type | Description | Notes [**AsposeResponse**](AsposeResponse.md) +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **downloadFile** +> File downloadFile(path, storageName, versionId) + +Download file + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **String**| File path e.g. '/folder/file.ext' | + **storageName** | **String**| Storage name | [optional] + **versionId** | **String**| File version ID to download | [optional] + +### Return type + +**File** + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: multipart/form-data + + +# **getBookmark** +> BookmarkResponse getBookmark(name, bookmarkPath, folder, storage) + +Read document bookmark. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **bookmarkPath** | **String**| The bookmark path. | + **folder** | **String**| The document folder. | [optional] + **storage** | **String**| The document storage. | [optional] + +### Return type + +[**BookmarkResponse**](BookmarkResponse.md) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **getBookmarks** +> BookmarksResponse getBookmarks(name, bookmarkPath, folder, storage) + +Read document bookmarks node list. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **bookmarkPath** | **String**| The bookmark path. | + **folder** | **String**| The document folder. | [optional] + **storage** | **String**| The document storage. | [optional] + +### Return type + +[**BookmarksResponse**](BookmarksResponse.md) + ### HTTP request headers - **Content-Type**: application/json @@ -800,19 +1013,19 @@ Name | Type | Description | Notes # **getDiscUsage** -> DiscUsageResponse getDiscUsage(storage) +> DiscUsage getDiscUsage(storageName) -Check the disk usage of the current account +Get disc usage ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **storage** | **String**| User's storage name | [optional] + **storageName** | **String**| Storage name | [optional] ### Return type -[**DiscUsageResponse**](DiscUsageResponse.md) +[**DiscUsage**](DiscUsage.md) ### HTTP request headers @@ -907,6 +1120,29 @@ Name | Type | Description | Notes [**AttachmentsResponse**](AttachmentsResponse.md) +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **getDocumentBookmarks** +> BookmarksResponse getDocumentBookmarks(name, folder, storage) + +Read document bookmarks tree. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **folder** | **String**| The document folder. | [optional] + **storage** | **String**| The document storage. | [optional] + +### Return type + +[**BookmarksResponse**](BookmarksResponse.md) + ### HTTP request headers - **Content-Type**: application/json @@ -1489,19 +1725,20 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - -# **getDownload** -> File getDownload(path, versionId, storage) + +# **getDownloadDocumentAttachmentByIndex** +> File getDownloadDocumentAttachmentByIndex(name, attachmentIndex, storage, folder) -Download a specific file +Download document attachment content by its index. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **String**| Path of the file including the file name and extension e.g. /file.ext | - **versionId** | **String**| File's version | [optional] - **storage** | **String**| User's storage name | [optional] + **name** | **String**| The document name. | + **attachmentIndex** | **Integer**| The attachment index. | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] ### Return type @@ -1512,18 +1749,39 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: multipart/form-data - -# **getDownloadDocumentAttachmentByIndex** -> File getDownloadDocumentAttachmentByIndex(name, attachmentIndex, storage, folder) + +# **getEpubInStorageToPdf** +> File getEpubInStorageToPdf(srcPath, storage) -Download document attachment content by its index. +Convert EPUB file (located on storage) to PDF format and return resulting file in response. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **srcPath** | **String**| Full source filename (ex. /folder1/folder2/template.epub) | + **storage** | **String**| The document storage. | [optional] + +### Return type + +**File** + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: multipart/form-data + + +# **getExportFieldsFromPdfToFdfInStorage** +> File getExportFieldsFromPdfToFdfInStorage(name, storage, folder) + +Export fields from from PDF in storage to FDF file. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **attachmentIndex** | **Integer**| The attachment index. | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -1536,18 +1794,42 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: multipart/form-data - -# **getEpubInStorageToPdf** -> File getEpubInStorageToPdf(srcPath, storage) + +# **getExportFieldsFromPdfToXfdfInStorage** +> File getExportFieldsFromPdfToXfdfInStorage(name, storage, folder) -Convert EPUB file (located on storage) to PDF format and return resulting file in response. +Export fields from from PDF in storage to XFDF file. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **srcPath** | **String**| Full source filename (ex. /folder1/folder2/template.epub) | + **name** | **String**| The document name. | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] + +### Return type + +**File** + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: multipart/form-data + + +# **getExportFieldsFromPdfToXmlInStorage** +> File getExportFieldsFromPdfToXmlInStorage(name, storage, folder) + +Export fields from from PDF in storage to XML file. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] ### Return type @@ -1569,7 +1851,7 @@ Get document field by name. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **fieldName** | **String**| The field name/ | + **fieldName** | **String**| The field name (name should be encoded). | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -1627,7 +1909,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: multipart/form-data + - **Accept**: application/json # **getFileAttachmentAnnotationData** @@ -1653,6 +1935,50 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: multipart/form-data + +# **getFileVersions** +> FileVersions getFileVersions(path, storageName) + +Get file versions + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **String**| File path e.g. '/file.ext' | + **storageName** | **String**| Storage name | [optional] + +### Return type + +[**FileVersions**](FileVersions.md) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **getFilesList** +> FilesList getFilesList(path, storageName) + +Get all files and folders within a folder + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **String**| Folder path e.g. '/folder' | + **storageName** | **String**| Storage name | [optional] + +### Return type + +[**FilesList**](FilesList.md) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + # **getFreeTextAnnotation** > FreeTextAnnotationResponse getFreeTextAnnotation(name, annotationId, storage, folder) @@ -1753,7 +2079,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: multipart/form-data + - **Accept**: application/json # **getImageExtractAsGif** @@ -1767,8 +2093,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **imageId** | **String**| Image ID. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -1793,8 +2119,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **imageId** | **String**| Image ID. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -1819,8 +2145,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **imageId** | **String**| Image ID. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -1845,8 +2171,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **imageId** | **String**| Image ID. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -1883,68 +2209,96 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - -# **getInkAnnotation** -> InkAnnotationResponse getInkAnnotation(name, annotationId, storage, folder) + +# **getImportFieldsFromFdfInStorage** +> File getImportFieldsFromFdfInStorage(name, fdfFilePath, storage, folder) -Read document page ink annotation by ID. +Update fields from FDF file in storage. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **annotationId** | **String**| The annotation ID. | + **fdfFilePath** | **String**| The Fdf file path. | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] ### Return type -[**InkAnnotationResponse**](InkAnnotationResponse.md) +**File** ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: multipart/form-data - -# **getIsExist** -> FileExistResponse getIsExist(path, versionId, storage) + +# **getImportFieldsFromXfdfInStorage** +> File getImportFieldsFromXfdfInStorage(name, xfdfFilePath, storage, folder) -Check if a specific file or folder exists +Update fields from XFDF file in storage. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **String**| File or folder path e.g. /file.ext or /Folder1 | - **versionId** | **String**| File's version | [optional] - **storage** | **String**| User's storage name | [optional] + **name** | **String**| The document name. | + **xfdfFilePath** | **String**| The XFDF file path. | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] ### Return type -[**FileExistResponse**](FileExistResponse.md) +**File** ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: multipart/form-data + + +# **getImportFieldsFromXmlInStorage** +> File getImportFieldsFromXmlInStorage(name, xmlFilePath, storage, folder) + +Import from XML file (located on storage) to PDF format and return resulting file in response. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **xmlFilePath** | **String**| Full source filename (ex. /folder1/folder2/template.xml) | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] + +### Return type - -# **getIsStorageExist** -> StorageExistResponse getIsStorageExist(name) +**File** + +### HTTP request headers -Check if storage exists + - **Content-Type**: application/json + - **Accept**: multipart/form-data + + +# **getInkAnnotation** +> InkAnnotationResponse getInkAnnotation(name, annotationId, storage, folder) + +Read document page ink annotation by ID. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| Storage name | + **name** | **String**| The document name. | + **annotationId** | **String**| The annotation ID. | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] ### Return type -[**StorageExistResponse**](StorageExistResponse.md) +[**InkAnnotationResponse**](InkAnnotationResponse.md) ### HTTP request headers @@ -2016,50 +2370,6 @@ Name | Type | Description | Notes [**LinkAnnotationResponse**](LinkAnnotationResponse.md) -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **getListFileVersions** -> FileVersionsResponse getListFileVersions(path, storage) - -Get the file's versions list - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **String**| File path e.g. /file.ext or /Folder1/file.ext | - **storage** | **String**| User's storage name | [optional] - -### Return type - -[**FileVersionsResponse**](FileVersionsResponse.md) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **getListFiles** -> FilesResponse getListFiles(path, storage) - -Get the file listing of a specific folder - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **path** | **String**| Start with name of storage e.g. root folder '/'or some folder '/folder1/..' | [optional] [default to /] - **storage** | **String**| User's storage name | [optional] - -### Return type - -[**FilesResponse**](FilesResponse.md) - ### HTTP request headers - **Content-Type**: application/json @@ -2133,7 +2443,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: multipart/form-data + - **Accept**: application/json # **getPageAnnotations** @@ -2219,8 +2529,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -2245,8 +2555,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -2271,8 +2581,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -2297,8 +2607,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -2323,8 +2633,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -2349,8 +2659,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -2862,7 +3172,7 @@ Name | Type | Description | Notes **URY** | **Double**| Y - coordinate of upper-right corner. | **format** | **List<String>**| List of formats for search. | [optional] **regex** | **String**| Formats are specified as a regular expression. | [optional] - **splitRects** | **Boolean**| Split result fragments (default is true). | [optional] + **splitRects** | **Boolean**| Split result fragments (default is true). | [optional] [default to true] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -2980,11 +3290,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **addReturnToLineEnd** | **Boolean**| Add return to line end. | [optional] - **format** | **String**| Allows to specify .doc or .docx file format. | [optional] + **format** | **String**| Allows to specify .doc or .docx file format. | [optional] [enum: Doc, DocX] **imageResolutionX** | **Integer**| Image resolution X. | [optional] **imageResolutionY** | **Integer**| Image resolution Y. | [optional] **maxDistanceBetweenTextLines** | **Double**| Max distance between text lines. | [optional] - **mode** | **String**| Allows to control how a PDF document is converted into a word processing document. | [optional] + **mode** | **String**| Allows to control how a PDF document is converted into a word processing document. | [optional] [enum: Textbox, Flow] **recognizeBullets** | **Boolean**| Recognize bullets. | [optional] **relativeHorizontalProximity** | **Double**| Relative horizontal proximity. | [optional] **folder** | **String**| The document folder. | [optional] @@ -3010,7 +3320,7 @@ Converts PDF document (located on storage) to EPUB format and returns resulting Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **contentRecognitionMode** | **String**| Property tunes conversion for this or that desirable method of recognition of content. | [optional] + **contentRecognitionMode** | **String**| Property tunes conversion for this or that desirable method of recognition of content. | [optional] [enum: Flow, PdfFlow, Fixed] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -3038,7 +3348,7 @@ Name | Type | Description | Notes **compressSvgGraphicsIfAny** | **Boolean**| The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. | [optional] **convertMarkedContentToLayers** | **Boolean**| If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with "data-pdflayer" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. | [optional] **defaultFontName** | **String**| Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. | [optional] - **documentType** | **String**| Result document type. | [optional] + **documentType** | **String**| Result document type. | [optional] [enum: Xhtml, Html5] **fixedLayout** | **Boolean**| The value indicating whether that HTML is created as fixed layout. | [optional] **imageResolution** | **Integer**| Resolution for image rendering. | [optional] **minimalLineWidth** | **Integer**| This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. | [optional] @@ -3046,16 +3356,16 @@ Name | Type | Description | Notes **splitCssIntoPages** | **Boolean**| When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. | [optional] **splitIntoPages** | **Boolean**| The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. | [optional] **useZOrder** | **Boolean**| If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. | [optional] - **antialiasingProcessing** | **String**| The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. | [optional] + **antialiasingProcessing** | **String**| The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. | [optional] [enum: NoAdditionalProcessing, TryCorrectResultHtml] **cssClassNamesPrefix** | **String**| When PDFtoHTML converter generates result CSSs, CSS class names (something like ".stl_01 {}" ... ".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. | [optional] **explicitListOfSavedPages** | **List<Integer>**| With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. | [optional] - **fontEncodingStrategy** | **String**| Defines encoding special rule to tune PDF decoding for current document. | [optional] - **fontSavingMode** | **String**| Defines font saving mode that will be used during saving of PDF to desirable format. | [optional] - **htmlMarkupGenerationMode** | **String**| Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. | [optional] - **lettersPositioningMethod** | **String**| The mode of positioning of letters in words in result HTML. | [optional] + **fontEncodingStrategy** | **String**| Defines encoding special rule to tune PDF decoding for current document. | [optional] [enum: Default, DecreaseToUnicodePriorityLevel] + **fontSavingMode** | **String**| Defines font saving mode that will be used during saving of PDF to desirable format. | [optional] [enum: AlwaysSaveAsWOFF, AlwaysSaveAsTTF, AlwaysSaveAsEOT, SaveInAllFormats] + **htmlMarkupGenerationMode** | **String**| Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. | [optional] [enum: WriteAllHtml, WriteOnlyBodyContent] + **lettersPositioningMethod** | **String**| The mode of positioning of letters in words in result HTML. | [optional] [enum: UseEmUnitsAndCompensationOfRoundingErrorsInCss, UsePixelUnitsInCssLetterSpacingForIE] **pagesFlowTypeDependsOnViewersScreenSize** | **Boolean**| If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. | [optional] - **partsEmbeddingMode** | **String**| It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. | [optional] - **rasterImagesSavingMode** | **String**| Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. | [optional] + **partsEmbeddingMode** | **String**| It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. | [optional] [enum: EmbedAllIntoHtml, EmbedCssOnly, NoEmbedding] + **rasterImagesSavingMode** | **String**| Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. | [optional] [enum: AsPngImagesEmbeddedIntoSvg, AsExternalPngFilesReferencedViaSvg, AsEmbeddedPartsOfPngPageBackground] **removeEmptyAreasOnTopAndBottom** | **Boolean**| Defines whether in created HTML will be removed top and bottom empty area without any content (if any). | [optional] **saveShadowedTextsAsTransparentTexts** | **Boolean**| Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). | [optional] **saveTransparentTexts** | **Boolean**| Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. | [optional] @@ -3132,7 +3442,7 @@ Converts PDF document (located on storage) to PdfA format and returns resulting Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **type** | **String**| Type of PdfA format. | + **type** | **String**| Type of PdfA format. | [enum: PDFA1A, PDFA1B] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -3206,13 +3516,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **brightness** | **Double**| Image brightness. | [optional] - **compression** | **String**| Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. | [optional] - **colorDepth** | **String**| Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. | [optional] + **compression** | **String**| Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. | [optional] [enum: LZW, CCITT4, CCITT3, RLE, None] + **colorDepth** | **String**| Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. | [optional] [enum: Default, Format8bpp, Format4bpp, Format1bpp] **leftMargin** | **Integer**| Left image margin. | [optional] **rightMargin** | **Integer**| Right image margin. | [optional] **topMargin** | **Integer**| Top image margin. | [optional] **bottomMargin** | **Integer**| Bottom image margin. | [optional] - **orientation** | **String**| Image orientation. Possible values are: None, Landscape, Portait. | [optional] + **orientation** | **String**| Image orientation. Possible values are: None, Landscape, Portait. | [optional] [enum: None, Landscape, Portrait] **skipBlankPages** | **Boolean**| Skip blank pages flag. | [optional] **width** | **Integer**| Image width. | [optional] **height** | **Integer**| Image height. | [optional] @@ -3472,7 +3782,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: multipart/form-data + - **Accept**: application/json # **getScreenAnnotationData** @@ -3520,7 +3830,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: multipart/form-data + - **Accept**: application/json # **getSoundAnnotationData** @@ -3737,7 +4047,7 @@ Name | Type | Description | Notes **URY** | **Double**| Y - coordinate of upper-right corner. | **format** | **List<String>**| List of formats for search. | [optional] **regex** | **String**| Formats are specified as a regular expression. | [optional] - **splitRects** | **Boolean**| Split result fragments (default is true). | [optional] + **splitRects** | **Boolean**| Split result fragments (default is true). | [optional] [default to true] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -3957,34 +4267,130 @@ Name | Type | Description | Notes ### Return type -**File** +**File** + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: multipart/form-data + + +# **moveFile** +> moveFile(srcPath, destPath, srcStorageName, destStorageName, versionId) + +Move file + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **srcPath** | **String**| Source file path e.g. '/src.ext' | + **destPath** | **String**| Destination file path e.g. '/dest.ext' | + **srcStorageName** | **String**| Source storage name | [optional] + **destStorageName** | **String**| Destination storage name | [optional] + **versionId** | **String**| File version ID to move | [optional] + +### Return type + +null (empty response body) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **moveFolder** +> moveFolder(srcPath, destPath, srcStorageName, destStorageName) + +Move folder + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **srcPath** | **String**| Folder path to move e.g. '/folder' | + **destPath** | **String**| Destination folder path to move to e.g '/dst' | + **srcStorageName** | **String**| Source storage name | [optional] + **destStorageName** | **String**| Destination storage name | [optional] + +### Return type + +null (empty response body) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **objectExists** +> ObjectExist objectExists(path, storageName, versionId) + +Check if file or folder exists + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **String**| File or folder path e.g. '/file.ext' or '/folder' | + **storageName** | **String**| Storage name | [optional] + **versionId** | **String**| File version ID | [optional] + +### Return type + +[**ObjectExist**](ObjectExist.md) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **postAppendDocument** +> DocumentResponse postAppendDocument(name, appendFile, startPage, endPage, storage, folder) + +Append document to existing one. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The original document name. | + **appendFile** | **String**| Append file server path. | + **startPage** | **Integer**| Appending start page. | [optional] [default to 0] + **endPage** | **Integer**| Appending end page. | [optional] [default to 0] + **storage** | **String**| The documents storage. | [optional] + **folder** | **String**| The original document folder. | [optional] + +### Return type + +[**DocumentResponse**](DocumentResponse.md) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: multipart/form-data + - **Accept**: application/json - -# **postAppendDocument** -> DocumentResponse postAppendDocument(name, appendDocument, appendFile, startPage, endPage, storage, folder) + +# **postBookmark** +> BookmarksResponse postBookmark(name, bookmarkPath, bookmarks, folder, storage) -Append document to existing one. +Add document bookmarks. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| The original document name. | - **appendDocument** | [**AppendDocument**](AppendDocument.md)| with the append document data. | [optional] - **appendFile** | **String**| Append file server path. | [optional] - **startPage** | **Integer**| Appending start page. | [optional] [default to 0] - **endPage** | **Integer**| Appending end page. | [optional] [default to 0] - **storage** | **String**| The documents storage. | [optional] - **folder** | **String**| The original document folder. | [optional] + **name** | **String**| The document name. | + **bookmarkPath** | **String**| The bookmark path. | + **bookmarks** | [**List<Bookmark>**](Bookmark.md)| The array of bookmark. | + **folder** | **String**| The document folder. | [optional] + **storage** | **String**| The document storage. | [optional] ### Return type -[**DocumentResponse**](DocumentResponse.md) +[**BookmarksResponse**](BookmarksResponse.md) ### HTTP request headers @@ -4029,7 +4435,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **page** | **Integer**| Document page number. | - **field** | [**Field**](Field.md)| with the field data. | [optional] + **field** | [**Field**](Field.md)| Field with the field data. | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -4233,8 +4639,8 @@ Name | Type | Description | Notes **name** | **String**| Document name. | **userPassword** | **String**| User password (encrypted Base64). | **ownerPassword** | **String**| Owner password (encrypted Base64). | - **cryptoAlgorithm** | **String**| Cryptographic algorithm, see for details. | - **permissionsFlags** | [**List<PermissionsFlags>**](PermissionsFlags.md)| Array of document permissions, see for details. | [optional] + **cryptoAlgorithm** | **String**| Cryptographic algorithm, see CryptoAlgorithm for details. | [enum: RC4x40, RC4x128, AESx128, AESx256] + **permissionsFlags** | [**List<PermissionsFlags>**](PermissionsFlags.md)| Array of document permissions, see PermissionsFlags for details. | [optional] **usePdf20** | **Boolean**| Support for revision 6 (Extension 8). | [optional] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -4274,26 +4680,44 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - -# **postInsertImage** -> AsposeResponse postInsertImage(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image) + +# **postImportFieldsFromFdf** +> AsposeResponse postImportFieldsFromFdf(name, storage, folder, fdfData) -Insert image to document page. +Update fields from FDF file in request. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **pageNumber** | **Integer**| The page number. | - **llx** | **Double**| Coordinate lower left X. | - **lly** | **Double**| Coordinate lower left Y. | - **urx** | **Double**| Coordinate upper right X. | - **ury** | **Double**| Coordinate upper right Y. | - **imageFilePath** | **String**| Path to image file if specified. Request content is used otherwise. | [optional] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] - **image** | [****](.md)| Image file. | [optional] + **fdfData** | [****](.md)| Fdf file. | [optional] + +### Return type + +[**AsposeResponse**](AsposeResponse.md) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **postImportFieldsFromXfdf** +> AsposeResponse postImportFieldsFromXfdf(name, storage, folder, xfdfData) + +Update fields from XFDF file in request. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] + **xfdfData** | [****](.md)| Xfdf file. | [optional] ### Return type @@ -4304,21 +4728,20 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - -# **postMoveFile** -> AsposeResponse postMoveFile(src, dest, versionId, storage, destStorage) + +# **postImportFieldsFromXml** +> AsposeResponse postImportFieldsFromXml(name, storage, folder, xmlData) -Move a specific file +Update fields from XML file in request. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src** | **String**| Source file path e.g. /fileSource.ext | - **dest** | **String**| Destination file path e.g. /fileDestination.ext | - **versionId** | **String**| Source file's version, | [optional] - **storage** | **String**| User's source storage name | [optional] - **destStorage** | **String**| User's destination storage name | [optional] + **name** | **String**| The document name. | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] + **xmlData** | [****](.md)| Xml file. | [optional] ### Return type @@ -4329,20 +4752,26 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - -# **postMoveFolder** -> AsposeResponse postMoveFolder(src, dest, storage, destStorage) + +# **postInsertImage** +> AsposeResponse postInsertImage(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image) -Move a specific folder +Insert image to document page. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **src** | **String**| Source folder path e.g. /Folder1 | - **dest** | **String**| Destination folder path e.g. /Folder2 | - **storage** | **String**| User's source storage name | [optional] - **destStorage** | **String**| User's destination storage name | [optional] + **name** | **String**| The document name. | + **pageNumber** | **Integer**| The page number. | + **llx** | **Double**| Coordinate lower left X. | + **lly** | **Double**| Coordinate lower left Y. | + **urx** | **Double**| Coordinate upper right X. | + **ury** | **Double**| Coordinate upper right Y. | + **imageFilePath** | **String**| Path to image file if specified. Request content is used otherwise. | [optional] + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] + **image** | [****](.md)| Image file. | [optional] ### Return type @@ -4389,7 +4818,7 @@ Optimize document. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **options** | [**OptimizeOptions**](OptimizeOptions.md)| The optimization options. | [optional] + **options** | [**OptimizeOptions**](OptimizeOptions.md)| The optimization options. | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -5054,7 +5483,7 @@ Name | Type | Description | Notes # **postSignDocument** -> AsposeResponse postSignDocument(name, signature, storage, folder) +> AsposeResponse postSignDocument(name, sign, storage, folder) Sign document. @@ -5063,7 +5492,7 @@ Sign document. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **signature** | [**Signature**](Signature.md)| Signature object containing signature data. | [optional] + **sign** | [**Signature**](Signature.md)| Signature object containing signature data. | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -5078,7 +5507,7 @@ Name | Type | Description | Notes # **postSignPage** -> AsposeResponse postSignPage(name, pageNumber, signature, storage, folder) +> AsposeResponse postSignPage(name, pageNumber, sign, storage, folder) Sign page. @@ -5088,7 +5517,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **signature** | [**Signature**](Signature.md)| Signature object containing signature data. | [optional] + **sign** | [**Signature**](Signature.md)| Signature object containing signature data. | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -5162,7 +5591,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| Number of page (starting from 1). | - **paragraph** | [**Paragraph**](Paragraph.md)| Paragraph data. | [optional] + **paragraph** | [**Paragraph**](Paragraph.md)| Paragraph data. | **folder** | **String**| Document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -5196,6 +5625,31 @@ Name | Type | Description | Notes [**AsposeResponse**](AsposeResponse.md) +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **putBookmark** +> BookmarkResponse putBookmark(name, bookmarkPath, bookmark, folder, storage) + +Update document bookmark. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **bookmarkPath** | **String**| The bookmark path. | + **bookmark** | [**Bookmark**](Bookmark.md)| The bookmark. | + **folder** | **String**| The document folder. | [optional] + **storage** | **String**| The document storage. | [optional] + +### Return type + +[**BookmarkResponse**](BookmarkResponse.md) + ### HTTP request headers - **Content-Type**: application/json @@ -5277,20 +5731,43 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - -# **putCreate** -> AsposeResponse putCreate(path, file, versionId, storage) + +# **putCreateDocument** +> DocumentResponse putCreateDocument(name, storage, folder) -Upload a specific file +Create empty document. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **String**| Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext | - **file** | **File**| File to upload | - **versionId** | **String**| Source file's version | [optional] - **storage** | **String**| User's storage name | [optional] + **name** | **String**| The new document name. | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The new document folder. | [optional] + +### Return type + +[**DocumentResponse**](DocumentResponse.md) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **putDecryptDocument** +> AsposeResponse putDecryptDocument(outPath, password, storage, file) + +Decrypt document from content. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.doc) | + **password** | **String**| The password (encrypted Base64). | + **storage** | **String**| The document storage. | [optional] + **file** | **File**| A file to be derypted. | [optional] ### Return type @@ -5301,42 +5778,48 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - -# **putCreateDocument** -> DocumentResponse putCreateDocument(name, storage, folder) + +# **putEncryptDocument** +> AsposeResponse putEncryptDocument(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file) -Create empty document. +Encrypt document from content. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| The new document name. | + **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.doc) | + **userPassword** | **String**| User password (encrypted Base64). | + **ownerPassword** | **String**| Owner password (encrypted Base64). | + **cryptoAlgorithm** | **String**| Cryptographic algorithm, see CryptoAlgorithm for details. | [enum: RC4x40, RC4x128, AESx128, AESx256] + **permissionsFlags** | [**List<PermissionsFlags>**](PermissionsFlags.md)| Array of document permissions, see PermissionsFlags for details. | [optional] + **usePdf20** | **Boolean**| Support for revision 6 (Extension 8). | [optional] **storage** | **String**| The document storage. | [optional] - **folder** | **String**| The new document folder. | [optional] + **file** | **File**| A file to be encrypted. | [optional] ### Return type -[**DocumentResponse**](DocumentResponse.md) +[**AsposeResponse**](AsposeResponse.md) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json - -# **putCreateFolder** -> AsposeResponse putCreateFolder(path, storage, destStorage) + +# **putEpubInStorageToPdf** +> AsposeResponse putEpubInStorageToPdf(name, srcPath, storage, dstFolder) -Create the folder +Convert EPUB file (located on storage) to PDF format and upload resulting file to storage. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **path** | **String**| Target folder's path e.g. Folder1/Folder2/. The folders will be created recursively | - **storage** | **String**| User's source storage name | [optional] - **destStorage** | **String**| User's destination storage name | [optional] + **name** | **String**| The document name. | + **srcPath** | **String**| Full source filename (ex. /folder1/folder2/template.epub) | + **storage** | **String**| The document storage. | [optional] + **dstFolder** | **String**| The destination document folder. | [optional] ### Return type @@ -5347,20 +5830,20 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - -# **putDecryptDocument** -> AsposeResponse putDecryptDocument(outPath, password, storage, file) + +# **putExportFieldsFromPdfToFdfInStorage** +> AsposeResponse putExportFieldsFromPdfToFdfInStorage(name, fdfOutputFilePath, storage, folder) -Decrypt document from content. +Export fields from from PDF in storage to FDF file in storage. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.doc) | - **password** | **String**| The password (encrypted Base64). | + **name** | **String**| The document name. | + **fdfOutputFilePath** | **String**| The output Fdf file path. | **storage** | **String**| The document storage. | [optional] - **file** | **File**| A file to be derypted. | [optional] + **folder** | **String**| The document folder. | [optional] ### Return type @@ -5371,24 +5854,20 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - -# **putEncryptDocument** -> AsposeResponse putEncryptDocument(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file) + +# **putExportFieldsFromPdfToXfdfInStorage** +> AsposeResponse putExportFieldsFromPdfToXfdfInStorage(name, xfdfOutputFilePath, storage, folder) -Encrypt document from content. +Export fields from from PDF in storage to XFDF file in storage. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.doc) | - **userPassword** | **String**| User password (encrypted Base64). | - **ownerPassword** | **String**| Owner password (encrypted Base64). | - **cryptoAlgorithm** | **String**| Cryptographic algorithm, see for details. | - **permissionsFlags** | [**List<PermissionsFlags>**](PermissionsFlags.md)| Array of document permissions, see for details. | [optional] - **usePdf20** | **Boolean**| Support for revision 6 (Extension 8). | [optional] + **name** | **String**| The document name. | + **xfdfOutputFilePath** | **String**| The output xfdf file path. | **storage** | **String**| The document storage. | [optional] - **file** | **File**| A file to be encrypted. | [optional] + **folder** | **String**| The document folder. | [optional] ### Return type @@ -5399,20 +5878,20 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json - -# **putEpubInStorageToPdf** -> AsposeResponse putEpubInStorageToPdf(name, srcPath, storage, dstFolder) + +# **putExportFieldsFromPdfToXmlInStorage** +> AsposeResponse putExportFieldsFromPdfToXmlInStorage(name, xmlOutputFilePath, storage, folder) -Convert EPUB file (located on storage) to PDF format and upload resulting file to storage. +Export fields from from PDF in storage to XML file in storage. ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **srcPath** | **String**| Full source filename (ex. /folder1/folder2/template.epub) | + **xmlOutputFilePath** | **String**| The output xml file path. | **storage** | **String**| The document storage. | [optional] - **dstFolder** | **String**| The destination document folder. | [optional] + **folder** | **String**| The document folder. | [optional] ### Return type @@ -5590,8 +6069,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **imageId** | **String**| Image ID. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] **destFolder** | **String**| The document folder. | [optional] @@ -5617,8 +6096,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **imageId** | **String**| Image ID. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] **destFolder** | **String**| The document folder. | [optional] @@ -5644,8 +6123,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **imageId** | **String**| Image ID. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] **destFolder** | **String**| The document folder. | [optional] @@ -5671,8 +6150,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **imageId** | **String**| Image ID. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] **destFolder** | **String**| The document folder. | [optional] @@ -5697,7 +6176,7 @@ Convert image file (located on storage) to PDF format and upload resulting file Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **imageTemplates** | [**ImageTemplatesRequest**](ImageTemplatesRequest.md)| Image templates | + **imageTemplates** | [**ImageTemplatesRequest**](ImageTemplatesRequest.md)| ImageTemplatesRequestImage templates | **dstFolder** | **String**| The destination document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -5722,8 +6201,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] **destFolder** | **String**| The document folder. | [optional] @@ -5749,9 +6228,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] - **storage** | **String**| | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] + **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] **destFolder** | **String**| The document folder. | [optional] @@ -5776,8 +6255,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] **destFolder** | **String**| The document folder. | [optional] @@ -5803,8 +6282,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] **destFolder** | **String**| The document folder. | [optional] @@ -5813,6 +6292,78 @@ Name | Type | Description | Notes [**AsposeResponse**](AsposeResponse.md) +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **putImportFieldsFromFdfInStorage** +> AsposeResponse putImportFieldsFromFdfInStorage(name, fdfFilePath, storage, folder) + +Update fields from FDF file in storage. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **fdfFilePath** | **String**| The Fdf file path. | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] + +### Return type + +[**AsposeResponse**](AsposeResponse.md) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **putImportFieldsFromXfdfInStorage** +> AsposeResponse putImportFieldsFromXfdfInStorage(name, xfdfFilePath, storage, folder) + +Update fields from XFDF file in storage. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **xfdfFilePath** | **String**| The XFDF file path. | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] + +### Return type + +[**AsposeResponse**](AsposeResponse.md) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **putImportFieldsFromXmlInStorage** +> AsposeResponse putImportFieldsFromXmlInStorage(name, xmlFilePath, storage, folder) + +Update fields from XML file in storage. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| The document name. | + **xmlFilePath** | **String**| Full source filename (ex. /folder1/folder2/template.xml) | + **storage** | **String**| The document storage. | [optional] + **folder** | **String**| The document folder. | [optional] + +### Return type + +[**AsposeResponse**](AsposeResponse.md) + ### HTTP request headers - **Content-Type**: application/json @@ -5928,7 +6479,7 @@ Merge a list of documents. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| Resulting documen name. | - **mergeDocuments** | [**MergeDocuments**](MergeDocuments.md)| with a list of documents. | [optional] + **mergeDocuments** | [**MergeDocuments**](MergeDocuments.md)| MergeDocuments with a list of documents. | **storage** | **String**| Resulting document storage. | [optional] **folder** | **String**| Resulting document folder. | [optional] @@ -6002,7 +6553,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | - **stamp** | [**Stamp**](Stamp.md)| with data. | + **stamp** | [**Stamp**](Stamp.md)| Stamp with data. | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -6028,8 +6579,8 @@ Name | Type | Description | Notes **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | **outPath** | **String**| The out path of result image. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -6055,8 +6606,8 @@ Name | Type | Description | Notes **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | **outPath** | **String**| The out path of result image. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -6082,8 +6633,8 @@ Name | Type | Description | Notes **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | **outPath** | **String**| The out path of result image. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -6109,8 +6660,8 @@ Name | Type | Description | Notes **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | **outPath** | **String**| The out path of result image. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -6136,8 +6687,8 @@ Name | Type | Description | Notes **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | **outPath** | **String**| The out path of result image. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -6163,8 +6714,8 @@ Name | Type | Description | Notes **name** | **String**| The document name. | **pageNumber** | **Integer**| The page number. | **outPath** | **String**| The out path of result image. | - **width** | **Integer**| The converted image width. | [optional] - **height** | **Integer**| The converted image height. | [optional] + **width** | **Integer**| The converted image width. | [optional] [default to 0] + **height** | **Integer**| The converted image height. | [optional] [default to 0] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -6213,11 +6764,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.doc) | **addReturnToLineEnd** | **Boolean**| Add return to line end. | [optional] - **format** | **String**| Allows to specify .doc or .docx file format. | [optional] + **format** | **String**| Allows to specify .doc or .docx file format. | [optional] [enum: Doc, DocX] **imageResolutionX** | **Integer**| Image resolution X. | [optional] **imageResolutionY** | **Integer**| Image resolution Y. | [optional] **maxDistanceBetweenTextLines** | **Double**| Max distance between text lines. | [optional] - **mode** | **String**| Allows to control how a PDF document is converted into a word processing document. | [optional] + **mode** | **String**| Allows to control how a PDF document is converted into a word processing document. | [optional] [enum: Textbox, Flow] **recognizeBullets** | **Boolean**| Recognize bullets. | [optional] **relativeHorizontalProximity** | **Double**| Relative horizontal proximity. | [optional] **storage** | **String**| The document storage. | [optional] @@ -6243,7 +6794,7 @@ Converts PDF document (in request content) to EPUB format and uploads resulting Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.epub) | - **contentRecognitionMode** | **String**| Property tunes conversion for this or that desirable method of recognition of content. | [optional] + **contentRecognitionMode** | **String**| Property tunes conversion for this or that desirable method of recognition of content. | [optional] [enum: Flow, PdfFlow, Fixed] **storage** | **String**| The document storage. | [optional] **file** | **File**| A file to be converted. | [optional] @@ -6271,7 +6822,7 @@ Name | Type | Description | Notes **compressSvgGraphicsIfAny** | **Boolean**| The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. | [optional] **convertMarkedContentToLayers** | **Boolean**| If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with "data-pdflayer" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. | [optional] **defaultFontName** | **String**| Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. | [optional] - **documentType** | **String**| Result document type. | [optional] + **documentType** | **String**| Result document type. | [optional] [enum: Xhtml, Html5] **fixedLayout** | **Boolean**| The value indicating whether that HTML is created as fixed layout. | [optional] **imageResolution** | **Integer**| Resolution for image rendering. | [optional] **minimalLineWidth** | **Integer**| This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. | [optional] @@ -6279,16 +6830,16 @@ Name | Type | Description | Notes **splitCssIntoPages** | **Boolean**| When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. | [optional] **splitIntoPages** | **Boolean**| The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. | [optional] **useZOrder** | **Boolean**| If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. | [optional] - **antialiasingProcessing** | **String**| The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. | [optional] + **antialiasingProcessing** | **String**| The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. | [optional] [enum: NoAdditionalProcessing, TryCorrectResultHtml] **cssClassNamesPrefix** | **String**| When PDFtoHTML converter generates result CSSs, CSS class names (something like ".stl_01 {}" ... ".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. | [optional] **explicitListOfSavedPages** | **List<Integer>**| With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. | [optional] - **fontEncodingStrategy** | **String**| Defines encoding special rule to tune PDF decoding for current document. | [optional] - **fontSavingMode** | **String**| Defines font saving mode that will be used during saving of PDF to desirable format. | [optional] - **htmlMarkupGenerationMode** | **String**| Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. | [optional] - **lettersPositioningMethod** | **String**| The mode of positioning of letters in words in result HTML. | [optional] + **fontEncodingStrategy** | **String**| Defines encoding special rule to tune PDF decoding for current document. | [optional] [enum: Default, DecreaseToUnicodePriorityLevel] + **fontSavingMode** | **String**| Defines font saving mode that will be used during saving of PDF to desirable format. | [optional] [enum: AlwaysSaveAsWOFF, AlwaysSaveAsTTF, AlwaysSaveAsEOT, SaveInAllFormats] + **htmlMarkupGenerationMode** | **String**| Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. | [optional] [enum: WriteAllHtml, WriteOnlyBodyContent] + **lettersPositioningMethod** | **String**| The mode of positioning of letters in words in result HTML. | [optional] [enum: UseEmUnitsAndCompensationOfRoundingErrorsInCss, UsePixelUnitsInCssLetterSpacingForIE] **pagesFlowTypeDependsOnViewersScreenSize** | **Boolean**| If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. | [optional] - **partsEmbeddingMode** | **String**| It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. | [optional] - **rasterImagesSavingMode** | **String**| Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. | [optional] + **partsEmbeddingMode** | **String**| It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. | [optional] [enum: EmbedAllIntoHtml, EmbedCssOnly, NoEmbedding] + **rasterImagesSavingMode** | **String**| Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. | [optional] [enum: AsPngImagesEmbeddedIntoSvg, AsExternalPngFilesReferencedViaSvg, AsEmbeddedPartsOfPngPageBackground] **removeEmptyAreasOnTopAndBottom** | **Boolean**| Defines whether in created HTML will be removed top and bottom empty area without any content (if any). | [optional] **saveShadowedTextsAsTransparentTexts** | **Boolean**| Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). | [optional] **saveTransparentTexts** | **Boolean**| Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. | [optional] @@ -6365,7 +6916,7 @@ Converts PDF document (in request content) to PdfA format and uploads resulting Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.pdf) | - **type** | **String**| Type of PdfA format. | + **type** | **String**| Type of PdfA format. | [enum: PDFA1A, PDFA1B] **storage** | **String**| The document storage. | [optional] **file** | **File**| A file to be converted. | [optional] @@ -6438,13 +6989,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.tiff) | **brightness** | **Double**| Image brightness. | [optional] - **compression** | **String**| Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. | [optional] - **colorDepth** | **String**| Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. | [optional] + **compression** | **String**| Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. | [optional] [enum: LZW, CCITT4, CCITT3, RLE, None] + **colorDepth** | **String**| Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. | [optional] [enum: Default, Format8bpp, Format4bpp, Format1bpp] **leftMargin** | **Integer**| Left image margin. | [optional] **rightMargin** | **Integer**| Right image margin. | [optional] **topMargin** | **Integer**| Top image margin. | [optional] **bottomMargin** | **Integer**| Bottom image margin. | [optional] - **orientation** | **String**| Image orientation. Possible values are: None, Landscape, Portait. | [optional] + **orientation** | **String**| Image orientation. Possible values are: None, Landscape, Portait. | [optional] [enum: None, Landscape, Portrait] **skipBlankPages** | **Boolean**| Skip blank pages flag. | [optional] **width** | **Integer**| Image width. | [optional] **height** | **Integer**| Image height. | [optional] @@ -6577,11 +7128,11 @@ Name | Type | Description | Notes **name** | **String**| The document name. | **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.doc) | **addReturnToLineEnd** | **Boolean**| Add return to line end. | [optional] - **format** | **String**| Allows to specify .doc or .docx file format. | [optional] + **format** | **String**| Allows to specify .doc or .docx file format. | [optional] [enum: Doc, DocX] **imageResolutionX** | **Integer**| Image resolution X. | [optional] **imageResolutionY** | **Integer**| Image resolution Y. | [optional] **maxDistanceBetweenTextLines** | **Double**| Max distance between text lines. | [optional] - **mode** | **String**| Allows to control how a PDF document is converted into a word processing document. | [optional] + **mode** | **String**| Allows to control how a PDF document is converted into a word processing document. | [optional] [enum: Textbox, Flow] **recognizeBullets** | **Boolean**| Recognize bullets. | [optional] **relativeHorizontalProximity** | **Double**| Relative horizontal proximity. | [optional] **folder** | **String**| The document folder. | [optional] @@ -6608,7 +7159,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.epub) | - **contentRecognitionMode** | **String**| Property tunes conversion for this or that desirable method of recognition of content. | [optional] + **contentRecognitionMode** | **String**| Property tunes conversion for this or that desirable method of recognition of content. | [optional] [enum: Flow, PdfFlow, Fixed] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -6637,7 +7188,7 @@ Name | Type | Description | Notes **compressSvgGraphicsIfAny** | **Boolean**| The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. | [optional] **convertMarkedContentToLayers** | **Boolean**| If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with "data-pdflayer" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. | [optional] **defaultFontName** | **String**| Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. | [optional] - **documentType** | **String**| Result document type. | [optional] + **documentType** | **String**| Result document type. | [optional] [enum: Xhtml, Html5] **fixedLayout** | **Boolean**| The value indicating whether that HTML is created as fixed layout. | [optional] **imageResolution** | **Integer**| Resolution for image rendering. | [optional] **minimalLineWidth** | **Integer**| This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. | [optional] @@ -6645,16 +7196,16 @@ Name | Type | Description | Notes **splitCssIntoPages** | **Boolean**| When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. | [optional] **splitIntoPages** | **Boolean**| The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. | [optional] **useZOrder** | **Boolean**| If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. | [optional] - **antialiasingProcessing** | **String**| The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. | [optional] + **antialiasingProcessing** | **String**| The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. | [optional] [enum: NoAdditionalProcessing, TryCorrectResultHtml] **cssClassNamesPrefix** | **String**| When PDFtoHTML converter generates result CSSs, CSS class names (something like ".stl_01 {}" ... ".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. | [optional] **explicitListOfSavedPages** | **List<Integer>**| With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. | [optional] - **fontEncodingStrategy** | **String**| Defines encoding special rule to tune PDF decoding for current document. | [optional] - **fontSavingMode** | **String**| Defines font saving mode that will be used during saving of PDF to desirable format. | [optional] - **htmlMarkupGenerationMode** | **String**| Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. | [optional] - **lettersPositioningMethod** | **String**| The mode of positioning of letters in words in result HTML. | [optional] + **fontEncodingStrategy** | **String**| Defines encoding special rule to tune PDF decoding for current document. | [optional] [enum: Default, DecreaseToUnicodePriorityLevel] + **fontSavingMode** | **String**| Defines font saving mode that will be used during saving of PDF to desirable format. | [optional] [enum: AlwaysSaveAsWOFF, AlwaysSaveAsTTF, AlwaysSaveAsEOT, SaveInAllFormats] + **htmlMarkupGenerationMode** | **String**| Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. | [optional] [enum: WriteAllHtml, WriteOnlyBodyContent] + **lettersPositioningMethod** | **String**| The mode of positioning of letters in words in result HTML. | [optional] [enum: UseEmUnitsAndCompensationOfRoundingErrorsInCss, UsePixelUnitsInCssLetterSpacingForIE] **pagesFlowTypeDependsOnViewersScreenSize** | **Boolean**| If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. | [optional] - **partsEmbeddingMode** | **String**| It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. | [optional] - **rasterImagesSavingMode** | **String**| Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. | [optional] + **partsEmbeddingMode** | **String**| It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. | [optional] [enum: EmbedAllIntoHtml, EmbedCssOnly, NoEmbedding] + **rasterImagesSavingMode** | **String**| Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. | [optional] [enum: AsPngImagesEmbeddedIntoSvg, AsExternalPngFilesReferencedViaSvg, AsEmbeddedPartsOfPngPageBackground] **removeEmptyAreasOnTopAndBottom** | **Boolean**| Defines whether in created HTML will be removed top and bottom empty area without any content (if any). | [optional] **saveShadowedTextsAsTransparentTexts** | **Boolean**| Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). | [optional] **saveTransparentTexts** | **Boolean**| Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. | [optional] @@ -6734,7 +7285,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.pdf) | - **type** | **String**| Type of PdfA format. | + **type** | **String**| Type of PdfA format. | [enum: PDFA1A, PDFA1B] **folder** | **String**| The document folder. | [optional] **storage** | **String**| The document storage. | [optional] @@ -6810,13 +7361,13 @@ Name | Type | Description | Notes **name** | **String**| The document name. | **outPath** | **String**| Full resulting filename (ex. /folder1/folder2/result.tiff) | **brightness** | **Double**| Image brightness. | [optional] - **compression** | **String**| Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. | [optional] - **colorDepth** | **String**| Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. | [optional] + **compression** | **String**| Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. | [optional] [enum: LZW, CCITT4, CCITT3, RLE, None] + **colorDepth** | **String**| Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. | [optional] [enum: Default, Format8bpp, Format4bpp, Format1bpp] **leftMargin** | **Integer**| Left image margin. | [optional] **rightMargin** | **Integer**| Right image margin. | [optional] **topMargin** | **Integer**| Top image margin. | [optional] **bottomMargin** | **Integer**| Bottom image margin. | [optional] - **orientation** | **String**| Image orientation. Possible values are: None, Landscape, Portait. | [optional] + **orientation** | **String**| Image orientation. Possible values are: None, Landscape, Portait. | [optional] [enum: None, Landscape, Portrait] **skipBlankPages** | **Boolean**| Skip blank pages flag. | [optional] **width** | **Integer**| Image width. | [optional] **height** | **Integer**| Image height. | [optional] @@ -7026,7 +7577,7 @@ Update privilege document. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **privileges** | [**DocumentPrivilege**](DocumentPrivilege.md)| Document privileges. | [optional] + **privileges** | [**DocumentPrivilege**](DocumentPrivilege.md)| Document privileges. DocumentPrivilege | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -7507,7 +8058,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | **fieldName** | **String**| The name of a field to be updated. | - **field** | [**Field**](Field.md)| with the field data. | [optional] + **field** | [**Field**](Field.md)| Field with the field data. | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -7531,7 +8082,7 @@ Update fields. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| The document name. | - **fields** | [**Fields**](Fields.md)| with the fields data. | [optional] + **fields** | [**Fields**](Fields.md)| Fields with the fields data. | **storage** | **String**| The document storage. | [optional] **folder** | **String**| The document folder. | [optional] @@ -7695,3 +8246,47 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json + +# **storageExists** +> StorageExist storageExists(storageName) + +Check if storage exists + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **storageName** | **String**| Storage name | + +### Return type + +[**StorageExist**](StorageExist.md) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **uploadFile** +> FilesUploadResult uploadFile(path, file, storageName) + +Upload file + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **String**| Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. | + **file** | **File**| File to upload | + **storageName** | **String**| Storage name | [optional] + +### Return type + +[**FilesUploadResult**](FilesUploadResult.md) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/docs/PdfPageStamp.md b/docs/PdfPageStamp.md index 0d79b92..96f5a7a 100644 --- a/docs/PdfPageStamp.md +++ b/docs/PdfPageStamp.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional] **opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional] -**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] +**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] **rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional] **xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional] **yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional] diff --git a/docs/PolyAnnotation.md b/docs/PolyAnnotation.md index 074a071..f05c6d4 100644 --- a/docs/PolyAnnotation.md +++ b/docs/PolyAnnotation.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **startingStyle** | [**LineEnding**](LineEnding.md) | Gets or sets the style of first line ending. | [optional] **endingStyle** | [**LineEnding**](LineEnding.md) | Gets or sets the style of second line ending. | [optional] **intent** | [**PolyIntent**](PolyIntent.md) | Gets or sets the intent of the polygon or polyline annotation. | [optional] -**vertices** | [**List<Point>**](Point.md) | Gets or sets an array of points representing the horizontal and vertical coordinates of each vertex. | +**vertices** | [**List<Point>**](Point.md) | Gets or sets an array of points representing the horizontal and vertical coordinates of each vertex. | [optional] **creationDate** | **String** | The date and time when the annotation was created. | [optional] **subject** | **String** | Get the annotation subject. | [optional] **title** | **String** | Get the annotation title. | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/PolyLineAnnotation.md b/docs/PolyLineAnnotation.md index 0bf082f..0668f93 100644 --- a/docs/PolyLineAnnotation.md +++ b/docs/PolyLineAnnotation.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **startingStyle** | [**LineEnding**](LineEnding.md) | Gets or sets the style of first line ending. | [optional] **endingStyle** | [**LineEnding**](LineEnding.md) | Gets or sets the style of second line ending. | [optional] **intent** | [**PolyIntent**](PolyIntent.md) | Gets or sets the intent of the polygon or polyline annotation. | [optional] -**vertices** | [**List<Point>**](Point.md) | Gets or sets an array of points representing the horizontal and vertical coordinates of each vertex. | +**vertices** | [**List<Point>**](Point.md) | Gets or sets an array of points representing the horizontal and vertical coordinates of each vertex. | [optional] **creationDate** | **String** | The date and time when the annotation was created. | [optional] **subject** | **String** | Get the annotation subject. | [optional] **title** | **String** | Get the annotation title. | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/PolygonAnnotation.md b/docs/PolygonAnnotation.md index 7ee5eec..04d30b1 100644 --- a/docs/PolygonAnnotation.md +++ b/docs/PolygonAnnotation.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **startingStyle** | [**LineEnding**](LineEnding.md) | Gets or sets the style of first line ending. | [optional] **endingStyle** | [**LineEnding**](LineEnding.md) | Gets or sets the style of second line ending. | [optional] **intent** | [**PolyIntent**](PolyIntent.md) | Gets or sets the intent of the polygon or polyline annotation. | [optional] -**vertices** | [**List<Point>**](Point.md) | Gets or sets an array of points representing the horizontal and vertical coordinates of each vertex. | +**vertices** | [**List<Point>**](Point.md) | Gets or sets an array of points representing the horizontal and vertical coordinates of each vertex. | [optional] **creationDate** | **String** | The date and time when the annotation was created. | [optional] **subject** | **String** | Get the annotation subject. | [optional] **title** | **String** | Get the annotation title. | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/PopupAnnotation.md b/docs/PopupAnnotation.md index cc1fffa..855edcc 100644 --- a/docs/PopupAnnotation.md +++ b/docs/PopupAnnotation.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/PopupAnnotationWithParent.md b/docs/PopupAnnotationWithParent.md index a28b016..02f70ca 100644 --- a/docs/PopupAnnotationWithParent.md +++ b/docs/PopupAnnotationWithParent.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/RedactionAnnotation.md b/docs/RedactionAnnotation.md index 3ff619a..3b45816 100644 --- a/docs/RedactionAnnotation.md +++ b/docs/RedactionAnnotation.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/ScreenAnnotation.md b/docs/ScreenAnnotation.md index 1d33e9d..d5924e4 100644 --- a/docs/ScreenAnnotation.md +++ b/docs/ScreenAnnotation.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/Signature.md b/docs/Signature.md index 306a4cf..b30b118 100644 --- a/docs/Signature.md +++ b/docs/Signature.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **reason** | **String** | Gets or sets the reason of the signature. | [optional] **contact** | **String** | Gets or sets the contact of the signature. | [optional] **location** | **String** | Gets or sets the location of the signature. | [optional] -**visible** | **Boolean** | Gets or sets a value indicating whether this is visible. Supports only when signing particular page. | +**visible** | **Boolean** | Gets or sets a value indicating whether this Signature is visible. Supports only when signing particular page. | **rectangle** | [**Rectangle**](Rectangle.md) | Gets or sets the visible rectangle of the signature. Supports only when signing particular page. | [optional] **formFieldName** | **String** | Gets or sets the name of the signature field. Supports only when signing document with particular form field. | [optional] **authority** | **String** | Gets or sets the name of the person or authority signing the document.. | [optional] diff --git a/docs/SignatureVerifyResponse.md b/docs/SignatureVerifyResponse.md index 74bf42e..68ed0c6 100644 --- a/docs/SignatureVerifyResponse.md +++ b/docs/SignatureVerifyResponse.md @@ -5,7 +5,7 @@ Represent responce containing signature verification result ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**valid** | **Boolean** | True if signature is valid and false if not | +**valid** | **Boolean** | True if signature is valid and false if not | [optional] **code** | **Integer** | Response status code. | **status** | **String** | Response status. | [optional] diff --git a/docs/SoundAnnotation.md b/docs/SoundAnnotation.md index f256464..9706edb 100644 --- a/docs/SoundAnnotation.md +++ b/docs/SoundAnnotation.md @@ -5,7 +5,7 @@ Provides SoundAnnotation. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**filePath** | **String** | A sound file path defining the sound to be played when the annotation is activated. | +**filePath** | **String** | A sound file path defining the sound to be played when the annotation is activated. | [optional] **icon** | [**SoundIcon**](SoundIcon.md) | Gets or sets an icon to be used in displaying the annotation. | [optional] **rate** | **Integer** | Gets or sets the sampling rate, in samples per second. | [optional] **channels** | **Integer** | Gets or sets the number of sound channels. | [optional] @@ -21,7 +21,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/SplitResultDocument.md b/docs/SplitResultDocument.md index 85a34c8..0fb7c23 100644 --- a/docs/SplitResultDocument.md +++ b/docs/SplitResultDocument.md @@ -5,7 +5,7 @@ Represents split result document, ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **Integer** | Gets or sets the page number. | +**id** | **Integer** | Gets or sets the page number. | [optional] **href** | **String** | The "href" attribute contains the link's IRI. atom:link elements MUST have an href attribute, whose value MUST be a IRI reference | [optional] **rel** | **String** | atom:link elements MAY have a "rel" attribute that indicates the link relation type. If the "rel" attribute is not present, the link element MUST be interpreted as if the link relation type is "alternate". | [optional] **type** | **String** | On the link element, the "type" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced. Note that the type attribute does not override the actual media type returned with the representation. | [optional] diff --git a/docs/SquareAnnotation.md b/docs/SquareAnnotation.md index bd1be49..9558dea 100644 --- a/docs/SquareAnnotation.md +++ b/docs/SquareAnnotation.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/SquigglyAnnotation.md b/docs/SquigglyAnnotation.md index e9cf064..48501e1 100644 --- a/docs/SquigglyAnnotation.md +++ b/docs/SquigglyAnnotation.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/Stamp.md b/docs/Stamp.md index 30c70c1..33fcbd9 100644 --- a/docs/Stamp.md +++ b/docs/Stamp.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **leftMargin** | **Double** | Gets or sets left margin of stamp. | [optional] **opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional] **rightMargin** | **Double** | Gets or sets right margin of stamp. | [optional] -**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] +**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] **rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional] **topMargin** | **Double** | Gets or sets top margin of stamp. | [optional] **verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets or sets vertical alignment of stamp on page. | [optional] @@ -21,7 +21,7 @@ Name | Type | Description | Notes **zoom** | **Double** | Zooming factor of the stamp. Allows to scale stamp. | [optional] **textAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Alignment of the text inside the stamp. | [optional] **value** | **String** | Gets or sets string value which is used as stamp on the page. | [optional] -**textState** | [**TextState**](TextState.md) | Gets text properties of the stamp. See for details. | [optional] +**textState** | [**TextState**](TextState.md) | Gets text properties of the stamp. See TextState for details. | [optional] **fileName** | **String** | Gets or sets the file name. | [optional] **width** | **Double** | Gets or sets image width. Setting this property allos to scal image horizontally. | [optional] **height** | **Double** | Gets or sets image height. Setting this image allows to scale image vertically. | [optional] diff --git a/docs/StampAnnotation.md b/docs/StampAnnotation.md index 13f0972..8b52002 100644 --- a/docs/StampAnnotation.md +++ b/docs/StampAnnotation.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/StampBase.md b/docs/StampBase.md index c114fcf..a4d6efe 100644 --- a/docs/StampBase.md +++ b/docs/StampBase.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional] **opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional] -**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] +**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] **rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional] **xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional] **yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional] diff --git a/docs/StampInfo.md b/docs/StampInfo.md index 03c3182..cc8c484 100644 --- a/docs/StampInfo.md +++ b/docs/StampInfo.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **text** | **String** | Get the text content. | [optional] **visible** | **Boolean** | Gets the stamp is visible. | [optional] -**stampType** | [**StampType**](StampType.md) | Gets stamp type. | +**stampType** | [**StampType**](StampType.md) | Gets stamp type. | [optional] **links** | [**List<Link>**](Link.md) | Link to the document. | [optional] diff --git a/docs/StorageExist.md b/docs/StorageExist.md new file mode 100644 index 0000000..44c05a8 --- /dev/null +++ b/docs/StorageExist.md @@ -0,0 +1,13 @@ + +# StorageExist +Storage exists + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**exists** | **Boolean** | Shows that the storage exists. | + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/StorageFile.md b/docs/StorageFile.md new file mode 100644 index 0000000..9d24064 --- /dev/null +++ b/docs/StorageFile.md @@ -0,0 +1,17 @@ + +# StorageFile +File or folder information + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | File or folder name. | [optional] +**isFolder** | **Boolean** | True if it is a folder. | +**modifiedDate** | **String** | File or folder last modified DateTime. | [optional] +**size** | **Integer** | File or folder size. | +**path** | **String** | File or folder path. | [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) + + diff --git a/docs/StrikeOutAnnotation.md b/docs/StrikeOutAnnotation.md index cb62955..96f3c36 100644 --- a/docs/StrikeOutAnnotation.md +++ b/docs/StrikeOutAnnotation.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/Table.md b/docs/Table.md index dd68a14..e57d8ce 100644 --- a/docs/Table.md +++ b/docs/Table.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **defaultCellTextState** | [**TextState**](TextState.md) | Gets or sets the default cell text state. | [optional] **defaultCellPadding** | [**MarginInfo**](MarginInfo.md) | Gets or sets the default cell padding. | [optional] **border** | [**BorderInfo**](BorderInfo.md) | Gets or sets the border. | [optional] -**rows** | [**List<Row>**](Row.md) | Sets the rows of the table. | +**rows** | [**List<Row>**](Row.md) | Sets the rows of the table. | [optional] **defaultColumnWidth** | **String** | Gets default cell border; | [optional] **defaultCellBorder** | [**BorderInfo**](BorderInfo.md) | Gets default cell border; | [optional] **broken** | [**TableBroken**](TableBroken.md) | Gets or sets table vertial broken; | [optional] diff --git a/docs/TextAnnotation.md b/docs/TextAnnotation.md index 2ca50af..f33c442 100644 --- a/docs/TextAnnotation.md +++ b/docs/TextAnnotation.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/TextFooter.md b/docs/TextFooter.md index 79211c8..32757e6 100644 --- a/docs/TextFooter.md +++ b/docs/TextFooter.md @@ -7,14 +7,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **textAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Alignment of the text inside the stamp. | [optional] **value** | **String** | Gets or sets string value which is used as stamp on the page. | [optional] -**textState** | [**TextState**](TextState.md) | Gets text properties of the stamp. See for details. | [optional] +**textState** | [**TextState**](TextState.md) | Gets text properties of the stamp. See TextState for details. | [optional] **bottomMargin** | **Double** | Gets or sets bottom margin of stamp. | [optional] **leftMargin** | **Double** | Gets or sets left margin of stamp. | [optional] **rightMargin** | **Double** | Gets or sets right margin of stamp. | [optional] **background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional] **opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional] -**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] +**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] **rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional] **xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional] **yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional] diff --git a/docs/TextHeader.md b/docs/TextHeader.md index 3cee724..a13bf17 100644 --- a/docs/TextHeader.md +++ b/docs/TextHeader.md @@ -7,14 +7,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **textAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Alignment of the text inside the stamp. | [optional] **value** | **String** | Gets or sets string value which is used as stamp on the page. | [optional] -**textState** | [**TextState**](TextState.md) | Gets text properties of the stamp. See for details. | [optional] +**textState** | [**TextState**](TextState.md) | Gets text properties of the stamp. See TextState for details. | [optional] **leftMargin** | **Double** | Gets or sets left margin of stamp. | [optional] **topMargin** | **Double** | Gets or sets top margin of stamp. | [optional] **rightMargin** | **Double** | Gets or sets right margin of stamp. | [optional] **background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional] **opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional] -**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] +**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] **rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional] **xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional] **yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional] diff --git a/docs/TextRect.md b/docs/TextRect.md index 242e6bd..7ff2fd0 100644 --- a/docs/TextRect.md +++ b/docs/TextRect.md @@ -10,9 +10,9 @@ Name | Type | Description | Notes **rect** | [**Rectangle**](Rectangle.md) | Rectangle of the occurrence. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets a horizontal alignment of text fragment. | [optional] **verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets or sets a vertical alignment of text fragment. | [optional] -**position** | [**Position**](Position.md) | Gets or sets text position for text, represented with object. | [optional] -**baselinePosition** | [**Position**](Position.md) | Gets text position for text, represented with object. The YIndent of the Position structure represents baseline coordinate of the text fragment. | [optional] -**textState** | [**TextState**](TextState.md) | Gets or sets text state for the text that object represents. | [optional] +**position** | [**Position**](Position.md) | Gets or sets text position for text, represented with TextRect object. | [optional] +**baselinePosition** | [**Position**](Position.md) | Gets text position for text, represented with TextRect object. The YIndent of the Position structure represents baseline coordinate of the text fragment. | [optional] +**textState** | [**TextState**](TextState.md) | Gets or sets text state for the text that TextRect object represents. | [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) diff --git a/docs/TextReplaceListRequest.md b/docs/TextReplaceListRequest.md index 9d27f80..154ee10 100644 --- a/docs/TextReplaceListRequest.md +++ b/docs/TextReplaceListRequest.md @@ -6,7 +6,7 @@ Multiple text replacements request. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **textReplaces** | [**List<TextReplace>**](TextReplace.md) | A list of text replacement settings. | -**defaultFont** | **String** | | [optional] +**defaultFont** | **String** | Name of font to use if requested font is not embedded into document. | [optional] **startIndex** | **Integer** | The index of first match to be replaced. | [optional] **countReplace** | **Integer** | The number of matches to be replaced. | [optional] diff --git a/docs/TextReplaceResponse.md b/docs/TextReplaceResponse.md index 664f5a6..b31c7c0 100644 --- a/docs/TextReplaceResponse.md +++ b/docs/TextReplaceResponse.md @@ -5,7 +5,7 @@ Represents response containing the result of text replacement ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**matches** | **Integer** | Number of matches | +**matches** | **Integer** | Number of matches | [optional] **code** | **Integer** | Response status code. | **status** | **String** | Response status. | [optional] diff --git a/docs/TextStamp.md b/docs/TextStamp.md index a924048..203db35 100644 --- a/docs/TextStamp.md +++ b/docs/TextStamp.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **textAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Alignment of the text inside the stamp. | [optional] **value** | **String** | Gets or sets string value which is used as stamp on the page. | [optional] -**textState** | [**TextState**](TextState.md) | Gets text properties of the stamp. See for details. | [optional] +**textState** | [**TextState**](TextState.md) | Gets text properties of the stamp. See TextState for details. | [optional] **verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets or sets vertical alignment of stamp on page. | [optional] **bottomMargin** | **Double** | Gets or sets bottom margin of stamp. | [optional] **leftMargin** | **Double** | Gets or sets left margin of stamp. | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes **background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional] **opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional] -**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] +**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional] **rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional] **xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional] **yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional] diff --git a/docs/UnderlineAnnotation.md b/docs/UnderlineAnnotation.md index 1c73cf4..24ad70f 100644 --- a/docs/UnderlineAnnotation.md +++ b/docs/UnderlineAnnotation.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **id** | **String** | Gets ID of the annotation. | [optional] **flags** | [**List<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the annotation. | [optional] **name** | **String** | Gets Name of the annotation. | [optional] -**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | +**rect** | [**Rectangle**](Rectangle.md) | Gets Rect of the annotation. | [optional] **pageIndex** | **Integer** | Gets PageIndex of the annotation. | [optional] **zIndex** | **Integer** | Gets ZIndex of the annotation. | [optional] **horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the annotation. | [optional] diff --git a/docs/WordCountResponse.md b/docs/WordCountResponse.md index 3a95400..c063176 100644 --- a/docs/WordCountResponse.md +++ b/docs/WordCountResponse.md @@ -5,7 +5,7 @@ Number of words per document pages. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**wordsPerPage** | [**WordCount**](WordCount.md) | with words per page info. | [optional] +**wordsPerPage** | [**WordCount**](WordCount.md) | WordCount with words per page info. | [optional] **code** | **Integer** | Response status code. | **status** | **String** | Response status. | [optional] diff --git a/setup.json b/setup.json index 4dbc54c..537ce77 100644 --- a/setup.json +++ b/setup.json @@ -1,5 +1,5 @@ { "app_key": "", "app_sid": "", - "product_uri": "https://billing.cloud.saltov.dynabic.com/v2.0" + "product_uri": "https://api-qa.aspose.cloud/v3.0" } \ No newline at end of file diff --git a/src/main/java/com/aspose/asposecloudpdf/ApiClient.java b/src/main/java/com/aspose/asposecloudpdf/ApiClient.java index 709354a..76b9200 100644 --- a/src/main/java/com/aspose/asposecloudpdf/ApiClient.java +++ b/src/main/java/com/aspose/asposecloudpdf/ApiClient.java @@ -62,7 +62,7 @@ public class ApiClient { - private String basePath = "https://api.aspose.cloud/v2.0"; + private String basePath = "https://api.aspose.cloud/v3.0"; private boolean debugging = false; private Map defaultHeaderMap = new HashMap(); private String tempFolderPath = null; @@ -73,7 +73,6 @@ public class ApiClient { private HttpLoggingInterceptor loggingInterceptor; private String accessToken; - private String refreshToken; private String appKey; private String appSid; @@ -149,7 +148,7 @@ public String getBasePath() { /** * Set base path * - * @param basePath Base path of the URL (e.g https://api.aspose.cloud/v2.0 + * @param basePath Base path of the URL (e.g https://api.aspose.cloud/v3.0 * @return An instance of OkHttpClient */ public ApiClient setBasePath(String basePath) { @@ -211,16 +210,6 @@ public void setAccessToken(String accessToken) { this.accessToken = accessToken; } - - /** - * Set refresh token for the OAuth2 authentication. - * - * @param refreshToken Access token - */ - public void setRefreshToken(String refreshToken) - { - this.refreshToken = refreshToken; - } /** * Set the User-Agent header's value (by adding to the default header map). @@ -1010,7 +999,7 @@ public String guessContentTypeFromFile(File file) { /** * Request OAuth token */ - private void requestToken() throws ApiException + public void requestToken() throws ApiException { try { RequestBody requestBody = new FormEncodingBuilder() @@ -1019,7 +1008,7 @@ private void requestToken() throws ApiException .addEncoded("client_secret", getAppKey()) .build(); - String url = basePath.replace("/v2.0", "") + "/oauth2/token"; + String url = basePath.replace("/v3.0", "") + "/connect/token"; Request request = new Request.Builder() .url(url) .post(requestBody) @@ -1029,7 +1018,6 @@ private void requestToken() throws ApiException Response response = httpClient.newCall(request).execute(); GetAccessTokenResult result = json.deserialize(response.body().string(), GetAccessTokenResult.class); setAccessToken(result.access_token); - setRefreshToken(result.refresh_token); } catch (Exception ex) { @@ -1037,35 +1025,6 @@ private void requestToken() throws ApiException } } - /** - * Refresh OAuth token - */ - public void refreshToken() throws ApiException - { - try { - RequestBody requestBody = new FormEncodingBuilder() - .addEncoded("grant_type", "refresh_token") - .addEncoded("refresh_token", this.refreshToken) - .build(); - - String url = basePath.replace("/v2.0", "") + "/oauth2/token"; - Request request = new Request.Builder() - .url(url) - .post(requestBody) - .addHeader("Content-Type", " application/x-www-form-urlencoded") - .build(); - - Response response = httpClient.newCall(request).execute(); - GetAccessTokenResult result = json.deserialize(response.body().string(), GetAccessTokenResult.class); - setAccessToken(result.access_token); - setRefreshToken(result.refresh_token); - } - catch (Exception ex) - { - throw new ApiException(ex); - } - } - /** * Add OAuth2 header @@ -1087,6 +1046,5 @@ private void addOAuthAuthentication(Map headerParams) throws Api private class GetAccessTokenResult { public String access_token; - public String refresh_token; } } diff --git a/src/main/java/com/aspose/asposecloudpdf/api/PdfApi.java b/src/main/java/com/aspose/asposecloudpdf/api/PdfApi.java index 6cb9f1f..68a508e 100644 --- a/src/main/java/com/aspose/asposecloudpdf/api/PdfApi.java +++ b/src/main/java/com/aspose/asposecloudpdf/api/PdfApi.java @@ -38,17 +38,19 @@ import com.aspose.asposecloudpdf.model.AnnotationType; import com.aspose.asposecloudpdf.model.AnnotationsInfoResponse; -import com.aspose.asposecloudpdf.model.AppendDocument; import com.aspose.asposecloudpdf.model.AsposeResponse; import com.aspose.asposecloudpdf.model.AttachmentResponse; import com.aspose.asposecloudpdf.model.AttachmentsResponse; +import com.aspose.asposecloudpdf.model.Bookmark; +import com.aspose.asposecloudpdf.model.BookmarkResponse; +import com.aspose.asposecloudpdf.model.BookmarksResponse; import com.aspose.asposecloudpdf.model.CaretAnnotation; import com.aspose.asposecloudpdf.model.CaretAnnotationResponse; import com.aspose.asposecloudpdf.model.CaretAnnotationsResponse; import com.aspose.asposecloudpdf.model.CircleAnnotation; import com.aspose.asposecloudpdf.model.CircleAnnotationResponse; import com.aspose.asposecloudpdf.model.CircleAnnotationsResponse; -import com.aspose.asposecloudpdf.model.DiscUsageResponse; +import com.aspose.asposecloudpdf.model.DiscUsage; import com.aspose.asposecloudpdf.model.DocumentPageResponse; import com.aspose.asposecloudpdf.model.DocumentPagesResponse; import com.aspose.asposecloudpdf.model.DocumentPrivilege; @@ -63,9 +65,9 @@ import com.aspose.asposecloudpdf.model.FileAttachmentAnnotation; import com.aspose.asposecloudpdf.model.FileAttachmentAnnotationResponse; import com.aspose.asposecloudpdf.model.FileAttachmentAnnotationsResponse; -import com.aspose.asposecloudpdf.model.FileExistResponse; -import com.aspose.asposecloudpdf.model.FileVersionsResponse; -import com.aspose.asposecloudpdf.model.FilesResponse; +import com.aspose.asposecloudpdf.model.FileVersions; +import com.aspose.asposecloudpdf.model.FilesList; +import com.aspose.asposecloudpdf.model.FilesUploadResult; import com.aspose.asposecloudpdf.model.FreeTextAnnotation; import com.aspose.asposecloudpdf.model.FreeTextAnnotationResponse; import com.aspose.asposecloudpdf.model.FreeTextAnnotationsResponse; @@ -91,6 +93,7 @@ import com.aspose.asposecloudpdf.model.MovieAnnotation; import com.aspose.asposecloudpdf.model.MovieAnnotationResponse; import com.aspose.asposecloudpdf.model.MovieAnnotationsResponse; +import com.aspose.asposecloudpdf.model.ObjectExist; import com.aspose.asposecloudpdf.model.OptimizeOptions; import com.aspose.asposecloudpdf.model.PageNumberStamp; import com.aspose.asposecloudpdf.model.Paragraph; @@ -128,7 +131,7 @@ import com.aspose.asposecloudpdf.model.StampAnnotationResponse; import com.aspose.asposecloudpdf.model.StampAnnotationsResponse; import com.aspose.asposecloudpdf.model.StampsInfoResponse; -import com.aspose.asposecloudpdf.model.StorageExistResponse; +import com.aspose.asposecloudpdf.model.StorageExist; import com.aspose.asposecloudpdf.model.StrikeOutAnnotation; import com.aspose.asposecloudpdf.model.StrikeOutAnnotationResponse; import com.aspose.asposecloudpdf.model.StrikeOutAnnotationsResponse; @@ -177,30 +180,34 @@ public void setApiClient(ApiClient apiClient) { } /** - * Build call for deleteAnnotation - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for copyFile + * @param srcPath Source file path e.g. '/folder/file.ext' (required) + * @param destPath Destination file path (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) + * @param versionId File version ID to copy (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call copyFileCall(String srcPath, String destPath, String srcStorageName, String destStorageName, String versionId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/storage/file/copy/{srcPath}" + .replaceAll("\\{" + "srcPath" + "\\}", apiClient.escapeString(srcPath.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (destPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destPath", destPath)); + if (srcStorageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcStorageName", srcStorageName)); + if (destStorageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destStorageName", destStorageName)); + if (versionId != null) + localVarQueryParams.addAll(apiClient.parameterToPair("versionId", versionId)); Map localVarHeaderParams = new HashMap(); @@ -230,85 +237,84 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call copyFileValidateBeforeCall(String srcPath, String destPath, String srcStorageName, String destStorageName, String versionId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteAnnotation(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling copyFile(Async)"); } - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling deleteAnnotation(Async)"); + // verify the required parameter 'destPath' is set + if (destPath == null) { + throw new ApiException("Missing the required parameter 'destPath' when calling copyFile(Async)"); } - com.squareup.okhttp.Call call = deleteAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = copyFileCall(srcPath, destPath, srcStorageName, destStorageName, versionId, progressListener, progressRequestListener); return call; } /** - * Delete document annotation by ID + * Copy file * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return AsposeResponse + * @param srcPath Source file path e.g. '/folder/file.ext' (required) + * @param destPath Destination file path (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) + * @param versionId File version ID to copy (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public void copyFile(String srcPath, String destPath, String srcStorageName, String destStorageName, String versionId) throws ApiException { try { - ApiResponse resp = deleteAnnotationWithHttpInfo(name, annotationId, storage, folder); - return resp.getData(); + copyFileWithHttpInfo(srcPath, destPath, srcStorageName, destStorageName, versionId); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteAnnotationWithHttpInfo(name, annotationId, storage, folder); - return resp.getData(); + apiClient.requestToken(); + copyFileWithHttpInfo(srcPath, destPath, srcStorageName, destStorageName, versionId); } throw ex; } } /** - * Delete document annotation by ID + * Copy file * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @param srcPath Source file path e.g. '/folder/file.ext' (required) + * @param destPath Destination file path (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) + * @param versionId File version ID to copy (optional) + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deleteAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); + public ApiResponse copyFileWithHttpInfo(String srcPath, String destPath, String srcStorageName, String destStorageName, String versionId) throws ApiException { + com.squareup.okhttp.Call call = copyFileValidateBeforeCall(srcPath, destPath, srcStorageName, destStorageName, versionId, null, null); + return apiClient.execute(call); } /** - * Delete document annotation by ID (asynchronously) + * Copy file (asynchronously) * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param srcPath Source file path e.g. '/folder/file.ext' (required) + * @param destPath Destination file path (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) + * @param versionId File version ID to copy (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call copyFileAsync(String srcPath, String destPath, String srcStorageName, String destStorageName, String versionId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -329,34 +335,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); + com.squareup.okhttp.Call call = copyFileValidateBeforeCall(srcPath, destPath, srcStorageName, destStorageName, versionId, progressListener, progressRequestListener); + apiClient.executeAsync(call, callback); return call; } /** - * Build call for deleteDocumentAnnotations - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for copyFolder + * @param srcPath Source folder path e.g. '/src' (required) + * @param destPath Destination folder path e.g. '/dst' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteDocumentAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call copyFolderCall(String srcPath, String destPath, String srcStorageName, String destStorageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/storage/folder/copy/{srcPath}" + .replaceAll("\\{" + "srcPath" + "\\}", apiClient.escapeString(srcPath.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (destPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destPath", destPath)); + if (srcStorageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcStorageName", srcStorageName)); + if (destStorageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destStorageName", destStorageName)); Map localVarHeaderParams = new HashMap(); @@ -386,77 +394,81 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteDocumentAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call copyFolderValidateBeforeCall(String srcPath, String destPath, String srcStorageName, String destStorageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteDocumentAnnotations(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling copyFolder(Async)"); + } + + // verify the required parameter 'destPath' is set + if (destPath == null) { + throw new ApiException("Missing the required parameter 'destPath' when calling copyFolder(Async)"); } - com.squareup.okhttp.Call call = deleteDocumentAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = copyFolderCall(srcPath, destPath, srcStorageName, destStorageName, progressListener, progressRequestListener); return call; } /** - * Delete all annotations from the document + * Copy folder * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return AsposeResponse + * @param srcPath Source folder path e.g. '/src' (required) + * @param destPath Destination folder path e.g. '/dst' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteDocumentAnnotations(String name, String storage, String folder) throws ApiException { + public void copyFolder(String srcPath, String destPath, String srcStorageName, String destStorageName) throws ApiException { try { - ApiResponse resp = deleteDocumentAnnotationsWithHttpInfo(name, storage, folder); - return resp.getData(); + copyFolderWithHttpInfo(srcPath, destPath, srcStorageName, destStorageName); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteDocumentAnnotationsWithHttpInfo(name, storage, folder); - return resp.getData(); + apiClient.requestToken(); + copyFolderWithHttpInfo(srcPath, destPath, srcStorageName, destStorageName); } throw ex; } } /** - * Delete all annotations from the document + * Copy folder * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @param srcPath Source folder path e.g. '/src' (required) + * @param destPath Destination folder path e.g. '/dst' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteDocumentAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deleteDocumentAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); + public ApiResponse copyFolderWithHttpInfo(String srcPath, String destPath, String srcStorageName, String destStorageName) throws ApiException { + com.squareup.okhttp.Call call = copyFolderValidateBeforeCall(srcPath, destPath, srcStorageName, destStorageName, null, null); + return apiClient.execute(call); } /** - * Delete all annotations from the document (asynchronously) + * Copy folder (asynchronously) * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param srcPath Source folder path e.g. '/src' (required) + * @param destPath Destination folder path e.g. '/dst' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteDocumentAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call copyFolderAsync(String srcPath, String destPath, String srcStorageName, String destStorageName, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -477,34 +489,30 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteDocumentAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); + com.squareup.okhttp.Call call = copyFolderValidateBeforeCall(srcPath, destPath, srcStorageName, destStorageName, progressListener, progressRequestListener); + apiClient.executeAsync(call, callback); return call; } /** - * Build call for deleteDocumentLinkAnnotations - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for createFolder + * @param path Folder path to create e.g. 'folder_1/folder_2/' (required) + * @param storageName Storage name (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteDocumentLinkAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call createFolderCall(String path, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/links" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/storage/folder/{path}" + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storageName", storageName)); Map localVarHeaderParams = new HashMap(); @@ -534,77 +542,70 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteDocumentLinkAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call createFolderValidateBeforeCall(String path, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteDocumentLinkAnnotations(Async)"); + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling createFolder(Async)"); } - com.squareup.okhttp.Call call = deleteDocumentLinkAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = createFolderCall(path, storageName, progressListener, progressRequestListener); return call; } /** - * Delete all link annotations from the document + * Create the folder * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return AsposeResponse + * @param path Folder path to create e.g. 'folder_1/folder_2/' (required) + * @param storageName Storage name (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteDocumentLinkAnnotations(String name, String storage, String folder) throws ApiException { + public void createFolder(String path, String storageName) throws ApiException { try { - ApiResponse resp = deleteDocumentLinkAnnotationsWithHttpInfo(name, storage, folder); - return resp.getData(); + createFolderWithHttpInfo(path, storageName); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteDocumentLinkAnnotationsWithHttpInfo(name, storage, folder); - return resp.getData(); + apiClient.requestToken(); + createFolderWithHttpInfo(path, storageName); } throw ex; } } /** - * Delete all link annotations from the document + * Create the folder * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @param path Folder path to create e.g. 'folder_1/folder_2/' (required) + * @param storageName Storage name (optional) + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteDocumentLinkAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deleteDocumentLinkAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); + public ApiResponse createFolderWithHttpInfo(String path, String storageName) throws ApiException { + com.squareup.okhttp.Call call = createFolderValidateBeforeCall(path, storageName, null, null); + return apiClient.execute(call); } /** - * Delete all link annotations from the document (asynchronously) + * Create the folder (asynchronously) * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param path Folder path to create e.g. 'folder_1/folder_2/' (required) + * @param storageName Storage name (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteDocumentLinkAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call createFolderAsync(String path, String storageName, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -625,14 +626,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteDocumentLinkAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); + com.squareup.okhttp.Call call = createFolderValidateBeforeCall(path, storageName, progressListener, progressRequestListener); + apiClient.executeAsync(call, callback); return call; } /** - * Build call for deleteDocumentStamps + * Build call for deleteAnnotation * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -640,12 +641,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteDocumentStampsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/stamps" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -682,45 +684,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteDocumentStampsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteDocumentStamps(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling deleteAnnotation(Async)"); } - com.squareup.okhttp.Call call = deleteDocumentStampsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete all stamps from the document + * Delete document annotation by ID * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteDocumentStamps(String name, String storage, String folder) throws ApiException { + public AsposeResponse deleteAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = deleteDocumentStampsWithHttpInfo(name, storage, folder); + ApiResponse resp = deleteAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteDocumentStampsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deleteAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -728,31 +736,33 @@ public AsposeResponse deleteDocumentStamps(String name, String storage, String f } /** - * Delete all stamps from the document + * Delete document annotation by ID * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteDocumentStampsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deleteDocumentStampsValidateBeforeCall(name, storage, folder, null, null); + public ApiResponse deleteAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deleteAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete all stamps from the document (asynchronously) + * Delete document annotation by ID (asynchronously) * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteDocumentStampsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -773,34 +783,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteDocumentStampsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteDocumentTables + * Build call for deleteBookmark * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteDocumentTablesCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteBookmarkCall(String name, String bookmarkPath, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/tables" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/bookmarks/bookmark/{bookmarkPath}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "bookmarkPath" + "\\}", apiClient.escapeString(bookmarkPath.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); @@ -830,45 +842,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteDocumentTablesValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteBookmarkValidateBeforeCall(String name, String bookmarkPath, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteDocumentTables(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteBookmark(Async)"); + } + + // verify the required parameter 'bookmarkPath' is set + if (bookmarkPath == null) { + throw new ApiException("Missing the required parameter 'bookmarkPath' when calling deleteBookmark(Async)"); } - com.squareup.okhttp.Call call = deleteDocumentTablesCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteBookmarkCall(name, bookmarkPath, folder, storage, progressListener, progressRequestListener); return call; } /** - * Delete all tables from the document + * Delete document bookmark by ID. * * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteDocumentTables(String name, String storage, String folder) throws ApiException { + public AsposeResponse deleteBookmark(String name, String bookmarkPath, String folder, String storage) throws ApiException { try { - ApiResponse resp = deleteDocumentTablesWithHttpInfo(name, storage, folder); + ApiResponse resp = deleteBookmarkWithHttpInfo(name, bookmarkPath, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteDocumentTablesWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deleteBookmarkWithHttpInfo(name, bookmarkPath, folder, storage); return resp.getData(); } throw ex; @@ -876,31 +894,33 @@ public AsposeResponse deleteDocumentTables(String name, String storage, String f } /** - * Delete all tables from the document + * Delete document bookmark by ID. * * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteDocumentTablesWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deleteDocumentTablesValidateBeforeCall(name, storage, folder, null, null); + public ApiResponse deleteBookmarkWithHttpInfo(String name, String bookmarkPath, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = deleteBookmarkValidateBeforeCall(name, bookmarkPath, folder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete all tables from the document (asynchronously) + * Delete document bookmark by ID. (asynchronously) * * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteDocumentTablesAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteBookmarkAsync(String name, String bookmarkPath, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -921,15 +941,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteDocumentTablesValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteBookmarkValidateBeforeCall(name, bookmarkPath, folder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteField + * Build call for deleteDocumentAnnotations * @param name The document name. (required) - * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -937,13 +956,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteFieldCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteDocumentAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/fields/{fieldName}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "fieldName" + "\\}", apiClient.escapeString(fieldName.toString())); + String localVarPath = "/pdf/{name}/annotations" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -980,51 +998,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteFieldValidateBeforeCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteDocumentAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteField(Async)"); - } - - // verify the required parameter 'fieldName' is set - if (fieldName == null) { - throw new ApiException("Missing the required parameter 'fieldName' when calling deleteField(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteDocumentAnnotations(Async)"); } - com.squareup.okhttp.Call call = deleteFieldCall(name, fieldName, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteDocumentAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete document field by name. + * Delete all annotations from the document * * @param name The document name. (required) - * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteField(String name, String fieldName, String storage, String folder) throws ApiException { + public AsposeResponse deleteDocumentAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = deleteFieldWithHttpInfo(name, fieldName, storage, folder); + ApiResponse resp = deleteDocumentAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteFieldWithHttpInfo(name, fieldName, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deleteDocumentAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -1032,33 +1044,31 @@ public AsposeResponse deleteField(String name, String fieldName, String storage, } /** - * Delete document field by name. + * Delete all annotations from the document * * @param name The document name. (required) - * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteFieldWithHttpInfo(String name, String fieldName, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deleteFieldValidateBeforeCall(name, fieldName, storage, folder, null, null); + public ApiResponse deleteDocumentAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deleteDocumentAnnotationsValidateBeforeCall(name, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete document field by name. (asynchronously) + * Delete all annotations from the document (asynchronously) * * @param name The document name. (required) - * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteFieldAsync(String name, String fieldName, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteDocumentAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1079,33 +1089,32 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteFieldValidateBeforeCall(name, fieldName, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteDocumentAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteFile - * @param path Path of the file including file name and extension e.g. /Folder1/file.ext (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) + * Build call for deleteDocumentBookmarks + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteFileCall(String path, String versionId, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteDocumentBookmarksCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/storage/file"; + String localVarPath = "/pdf/{name}/bookmarks/tree" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); - if (versionId != null) - localVarQueryParams.addAll(apiClient.parameterToPair("versionId", versionId)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); @@ -1137,45 +1146,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteFileValidateBeforeCall(String path, String versionId, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteDocumentBookmarksValidateBeforeCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling deleteFile(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteDocumentBookmarks(Async)"); } - com.squareup.okhttp.Call call = deleteFileCall(path, versionId, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteDocumentBookmarksCall(name, folder, storage, progressListener, progressRequestListener); return call; } /** - * Remove a specific file + * Delete all document bookmarks. * - * @param path Path of the file including file name and extension e.g. /Folder1/file.ext (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteFile(String path, String versionId, String storage) throws ApiException { + public AsposeResponse deleteDocumentBookmarks(String name, String folder, String storage) throws ApiException { try { - ApiResponse resp = deleteFileWithHttpInfo(path, versionId, storage); + ApiResponse resp = deleteDocumentBookmarksWithHttpInfo(name, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteFileWithHttpInfo(path, versionId, storage); + apiClient.requestToken(); + ApiResponse resp = deleteDocumentBookmarksWithHttpInfo(name, folder, storage); return resp.getData(); } throw ex; @@ -1183,31 +1192,31 @@ public AsposeResponse deleteFile(String path, String versionId, String storage) } /** - * Remove a specific file + * Delete all document bookmarks. * - * @param path Path of the file including file name and extension e.g. /Folder1/file.ext (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteFileWithHttpInfo(String path, String versionId, String storage) throws ApiException { - com.squareup.okhttp.Call call = deleteFileValidateBeforeCall(path, versionId, storage, null, null); + public ApiResponse deleteDocumentBookmarksWithHttpInfo(String name, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = deleteDocumentBookmarksValidateBeforeCall(name, folder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Remove a specific file (asynchronously) + * Delete all document bookmarks. (asynchronously) * - * @param path Path of the file including file name and extension e.g. /Folder1/file.ext (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteFileAsync(String path, String versionId, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteDocumentBookmarksAsync(String name, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1228,35 +1237,34 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteFileValidateBeforeCall(path, versionId, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteDocumentBookmarksValidateBeforeCall(name, folder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteFolder - * @param path Folder path e.g. /Folder1 (required) - * @param storage User's storage name (optional) - * @param recursive Remove recursivelly inner folder/files. If false and folder contains data than exception is raised. (optional, default to false) + * Build call for deleteDocumentLinkAnnotations + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteFolderCall(String path, String storage, Boolean recursive, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteDocumentLinkAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/storage/folder"; + String localVarPath = "/pdf/{name}/links" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (recursive != null) - localVarQueryParams.addAll(apiClient.parameterToPair("recursive", recursive)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -1286,45 +1294,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteFolderValidateBeforeCall(String path, String storage, Boolean recursive, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteDocumentLinkAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling deleteFolder(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteDocumentLinkAnnotations(Async)"); } - com.squareup.okhttp.Call call = deleteFolderCall(path, storage, recursive, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteDocumentLinkAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Remove a specific folder + * Delete all link annotations from the document * - * @param path Folder path e.g. /Folder1 (required) - * @param storage User's storage name (optional) - * @param recursive Remove recursivelly inner folder/files. If false and folder contains data than exception is raised. (optional, default to false) + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteFolder(String path, String storage, Boolean recursive) throws ApiException { + public AsposeResponse deleteDocumentLinkAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = deleteFolderWithHttpInfo(path, storage, recursive); + ApiResponse resp = deleteDocumentLinkAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteFolderWithHttpInfo(path, storage, recursive); + apiClient.requestToken(); + ApiResponse resp = deleteDocumentLinkAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -1332,31 +1340,31 @@ public AsposeResponse deleteFolder(String path, String storage, Boolean recursiv } /** - * Remove a specific folder + * Delete all link annotations from the document * - * @param path Folder path e.g. /Folder1 (required) - * @param storage User's storage name (optional) - * @param recursive Remove recursivelly inner folder/files. If false and folder contains data than exception is raised. (optional, default to false) + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteFolderWithHttpInfo(String path, String storage, Boolean recursive) throws ApiException { - com.squareup.okhttp.Call call = deleteFolderValidateBeforeCall(path, storage, recursive, null, null); + public ApiResponse deleteDocumentLinkAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deleteDocumentLinkAnnotationsValidateBeforeCall(name, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Remove a specific folder (asynchronously) + * Delete all link annotations from the document (asynchronously) * - * @param path Folder path e.g. /Folder1 (required) - * @param storage User's storage name (optional) - * @param recursive Remove recursivelly inner folder/files. If false and folder contains data than exception is raised. (optional, default to false) + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteFolderAsync(String path, String storage, Boolean recursive, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteDocumentLinkAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1377,15 +1385,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteFolderValidateBeforeCall(path, storage, recursive, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteDocumentLinkAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteImage + * Build call for deleteDocumentStamps * @param name The document name. (required) - * @param imageId Image ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -1393,13 +1400,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteImageCall(String name, String imageId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteDocumentStampsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/images/{imageId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); + String localVarPath = "/pdf/{name}/stamps" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1436,51 +1442,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteImageValidateBeforeCall(String name, String imageId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteDocumentStampsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteImage(Async)"); - } - - // verify the required parameter 'imageId' is set - if (imageId == null) { - throw new ApiException("Missing the required parameter 'imageId' when calling deleteImage(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteDocumentStamps(Async)"); } - com.squareup.okhttp.Call call = deleteImageCall(name, imageId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteDocumentStampsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete image from document page. + * Delete all stamps from the document * * @param name The document name. (required) - * @param imageId Image ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteImage(String name, String imageId, String storage, String folder) throws ApiException { + public AsposeResponse deleteDocumentStamps(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = deleteImageWithHttpInfo(name, imageId, storage, folder); + ApiResponse resp = deleteDocumentStampsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteImageWithHttpInfo(name, imageId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deleteDocumentStampsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -1488,33 +1488,31 @@ public AsposeResponse deleteImage(String name, String imageId, String storage, S } /** - * Delete image from document page. + * Delete all stamps from the document * * @param name The document name. (required) - * @param imageId Image ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteImageWithHttpInfo(String name, String imageId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deleteImageValidateBeforeCall(name, imageId, storage, folder, null, null); + public ApiResponse deleteDocumentStampsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deleteDocumentStampsValidateBeforeCall(name, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete image from document page. (asynchronously) + * Delete all stamps from the document (asynchronously) * * @param name The document name. (required) - * @param imageId Image ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteImageAsync(String name, String imageId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteDocumentStampsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1535,15 +1533,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteImageValidateBeforeCall(name, imageId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteDocumentStampsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteLinkAnnotation + * Build call for deleteDocumentTables * @param name The document name. (required) - * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -1551,13 +1548,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteLinkAnnotationCall(String name, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteDocumentTablesCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/links/{linkId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "linkId" + "\\}", apiClient.escapeString(linkId.toString())); + String localVarPath = "/pdf/{name}/tables" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1594,51 +1590,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteLinkAnnotationValidateBeforeCall(String name, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteDocumentTablesValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteLinkAnnotation(Async)"); - } - - // verify the required parameter 'linkId' is set - if (linkId == null) { - throw new ApiException("Missing the required parameter 'linkId' when calling deleteLinkAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteDocumentTables(Async)"); } - com.squareup.okhttp.Call call = deleteLinkAnnotationCall(name, linkId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteDocumentTablesCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete document page link annotation by ID + * Delete all tables from the document * * @param name The document name. (required) - * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteLinkAnnotation(String name, String linkId, String storage, String folder) throws ApiException { + public AsposeResponse deleteDocumentTables(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = deleteLinkAnnotationWithHttpInfo(name, linkId, storage, folder); + ApiResponse resp = deleteDocumentTablesWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteLinkAnnotationWithHttpInfo(name, linkId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deleteDocumentTablesWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -1646,33 +1636,31 @@ public AsposeResponse deleteLinkAnnotation(String name, String linkId, String st } /** - * Delete document page link annotation by ID + * Delete all tables from the document * * @param name The document name. (required) - * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteLinkAnnotationWithHttpInfo(String name, String linkId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deleteLinkAnnotationValidateBeforeCall(name, linkId, storage, folder, null, null); + public ApiResponse deleteDocumentTablesWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deleteDocumentTablesValidateBeforeCall(name, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete document page link annotation by ID (asynchronously) + * Delete all tables from the document (asynchronously) * * @param name The document name. (required) - * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteLinkAnnotationAsync(String name, String linkId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteDocumentTablesAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1693,15 +1681,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteLinkAnnotationValidateBeforeCall(name, linkId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteDocumentTablesValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deletePage + * Build call for deleteField * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -1709,13 +1697,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deletePageCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteFieldCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}" + String localVarPath = "/pdf/{name}/fields/{fieldName}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "fieldName" + "\\}", apiClient.escapeString(fieldName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1752,51 +1740,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deletePageValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteFieldValidateBeforeCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deletePage(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteField(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling deletePage(Async)"); + // verify the required parameter 'fieldName' is set + if (fieldName == null) { + throw new ApiException("Missing the required parameter 'fieldName' when calling deleteField(Async)"); } - com.squareup.okhttp.Call call = deletePageCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteFieldCall(name, fieldName, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete document page by its number. + * Delete document field by name. * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deletePage(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public AsposeResponse deleteField(String name, String fieldName, String storage, String folder) throws ApiException { try { - ApiResponse resp = deletePageWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = deleteFieldWithHttpInfo(name, fieldName, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deletePageWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deleteFieldWithHttpInfo(name, fieldName, storage, folder); return resp.getData(); } throw ex; @@ -1804,33 +1792,33 @@ public AsposeResponse deletePage(String name, Integer pageNumber, String storage } /** - * Delete document page by its number. + * Delete document field by name. * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deletePageWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deletePageValidateBeforeCall(name, pageNumber, storage, folder, null, null); + public ApiResponse deleteFieldWithHttpInfo(String name, String fieldName, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deleteFieldValidateBeforeCall(name, fieldName, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete document page by its number. (asynchronously) + * Delete document field by name. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deletePageAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteFieldAsync(String name, String fieldName, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1851,36 +1839,34 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deletePageValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteFieldValidateBeforeCall(name, fieldName, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deletePageAnnotations - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for deleteFile + * @param path File path e.g. '/folder/file.ext' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID to delete (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deletePageAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteFileCall(String path, String storageName, String versionId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/storage/file/{path}" + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storageName", storageName)); + if (versionId != null) + localVarQueryParams.addAll(apiClient.parameterToPair("versionId", versionId)); Map localVarHeaderParams = new HashMap(); @@ -1910,85 +1896,73 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deletePageAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteFileValidateBeforeCall(String path, String storageName, String versionId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deletePageAnnotations(Async)"); - } - - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling deletePageAnnotations(Async)"); + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling deleteFile(Async)"); } - com.squareup.okhttp.Call call = deletePageAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteFileCall(path, storageName, versionId, progressListener, progressRequestListener); return call; } /** - * Delete all annotations from the page + * Delete file * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return AsposeResponse + * @param path File path e.g. '/folder/file.ext' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID to delete (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deletePageAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public void deleteFile(String path, String storageName, String versionId) throws ApiException { try { - ApiResponse resp = deletePageAnnotationsWithHttpInfo(name, pageNumber, storage, folder); - return resp.getData(); + deleteFileWithHttpInfo(path, storageName, versionId); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deletePageAnnotationsWithHttpInfo(name, pageNumber, storage, folder); - return resp.getData(); + apiClient.requestToken(); + deleteFileWithHttpInfo(path, storageName, versionId); } throw ex; } } /** - * Delete all annotations from the page + * Delete file * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @param path File path e.g. '/folder/file.ext' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID to delete (optional) + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deletePageAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deletePageAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); + public ApiResponse deleteFileWithHttpInfo(String path, String storageName, String versionId) throws ApiException { + com.squareup.okhttp.Call call = deleteFileValidateBeforeCall(path, storageName, versionId, null, null); + return apiClient.execute(call); } /** - * Delete all annotations from the page (asynchronously) + * Delete file (asynchronously) * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param path File path e.g. '/folder/file.ext' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID to delete (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deletePageAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteFileAsync(String path, String storageName, String versionId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2009,36 +1983,33 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deletePageAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); + com.squareup.okhttp.Call call = deleteFileValidateBeforeCall(path, storageName, versionId, progressListener, progressRequestListener); + apiClient.executeAsync(call, callback); return call; } /** - * Build call for deletePageLinkAnnotations - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for deleteFolder + * @param path Folder path e.g. '/folder' (required) + * @param storageName Storage name (optional) + * @param recursive Enable to delete folders, subfolders and files (optional, default to false) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deletePageLinkAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteFolderCall(String path, String storageName, Boolean recursive, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/links" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/storage/folder/{path}" + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storageName", storageName)); + if (recursive != null) + localVarQueryParams.addAll(apiClient.parameterToPair("recursive", recursive)); Map localVarHeaderParams = new HashMap(); @@ -2068,85 +2039,73 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deletePageLinkAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deletePageLinkAnnotations(Async)"); - } + private com.squareup.okhttp.Call deleteFolderValidateBeforeCall(String path, String storageName, Boolean recursive, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling deletePageLinkAnnotations(Async)"); + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling deleteFolder(Async)"); } - com.squareup.okhttp.Call call = deletePageLinkAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteFolderCall(path, storageName, recursive, progressListener, progressRequestListener); return call; } /** - * Delete all link annotations from the page + * Delete folder * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return AsposeResponse + * @param path Folder path e.g. '/folder' (required) + * @param storageName Storage name (optional) + * @param recursive Enable to delete folders, subfolders and files (optional, default to false) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deletePageLinkAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public void deleteFolder(String path, String storageName, Boolean recursive) throws ApiException { try { - ApiResponse resp = deletePageLinkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); - return resp.getData(); + deleteFolderWithHttpInfo(path, storageName, recursive); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deletePageLinkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); - return resp.getData(); + apiClient.requestToken(); + deleteFolderWithHttpInfo(path, storageName, recursive); } throw ex; } } /** - * Delete all link annotations from the page + * Delete folder * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @param path Folder path e.g. '/folder' (required) + * @param storageName Storage name (optional) + * @param recursive Enable to delete folders, subfolders and files (optional, default to false) + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deletePageLinkAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deletePageLinkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); + public ApiResponse deleteFolderWithHttpInfo(String path, String storageName, Boolean recursive) throws ApiException { + com.squareup.okhttp.Call call = deleteFolderValidateBeforeCall(path, storageName, recursive, null, null); + return apiClient.execute(call); } /** - * Delete all link annotations from the page (asynchronously) + * Delete folder (asynchronously) * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param path Folder path e.g. '/folder' (required) + * @param storageName Storage name (optional) + * @param recursive Enable to delete folders, subfolders and files (optional, default to false) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deletePageLinkAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteFolderAsync(String path, String storageName, Boolean recursive, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2167,15 +2126,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deletePageLinkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); + com.squareup.okhttp.Call call = deleteFolderValidateBeforeCall(path, storageName, recursive, progressListener, progressRequestListener); + apiClient.executeAsync(call, callback); return call; } /** - * Build call for deletePageStamps + * Build call for deleteImage * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -2183,13 +2141,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deletePageStampsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteImageCall(String name, String imageId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps" + String localVarPath = "/pdf/{name}/images/{imageId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2226,51 +2184,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deletePageStampsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteImageValidateBeforeCall(String name, String imageId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deletePageStamps(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteImage(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling deletePageStamps(Async)"); + // verify the required parameter 'imageId' is set + if (imageId == null) { + throw new ApiException("Missing the required parameter 'imageId' when calling deleteImage(Async)"); } - com.squareup.okhttp.Call call = deletePageStampsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteImageCall(name, imageId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete all stamps from the page + * Delete image from document page. * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deletePageStamps(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public AsposeResponse deleteImage(String name, String imageId, String storage, String folder) throws ApiException { try { - ApiResponse resp = deletePageStampsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = deleteImageWithHttpInfo(name, imageId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deletePageStampsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deleteImageWithHttpInfo(name, imageId, storage, folder); return resp.getData(); } throw ex; @@ -2278,33 +2236,33 @@ public AsposeResponse deletePageStamps(String name, Integer pageNumber, String s } /** - * Delete all stamps from the page + * Delete image from document page. * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deletePageStampsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deletePageStampsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + public ApiResponse deleteImageWithHttpInfo(String name, String imageId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deleteImageValidateBeforeCall(name, imageId, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete all stamps from the page (asynchronously) + * Delete image from document page. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deletePageStampsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteImageAsync(String name, String imageId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2325,15 +2283,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deletePageStampsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteImageValidateBeforeCall(name, imageId, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deletePageTables + * Build call for deleteLinkAnnotation * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -2341,13 +2299,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deletePageTablesCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteLinkAnnotationCall(String name, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/tables" + String localVarPath = "/pdf/{name}/links/{linkId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "linkId" + "\\}", apiClient.escapeString(linkId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2384,51 +2342,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deletePageTablesValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteLinkAnnotationValidateBeforeCall(String name, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deletePageTables(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteLinkAnnotation(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling deletePageTables(Async)"); + // verify the required parameter 'linkId' is set + if (linkId == null) { + throw new ApiException("Missing the required parameter 'linkId' when calling deleteLinkAnnotation(Async)"); } - com.squareup.okhttp.Call call = deletePageTablesCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteLinkAnnotationCall(name, linkId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete all tables from the page + * Delete document page link annotation by ID * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deletePageTables(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public AsposeResponse deleteLinkAnnotation(String name, String linkId, String storage, String folder) throws ApiException { try { - ApiResponse resp = deletePageTablesWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = deleteLinkAnnotationWithHttpInfo(name, linkId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deletePageTablesWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deleteLinkAnnotationWithHttpInfo(name, linkId, storage, folder); return resp.getData(); } throw ex; @@ -2436,33 +2394,33 @@ public AsposeResponse deletePageTables(String name, Integer pageNumber, String s } /** - * Delete all tables from the page + * Delete document page link annotation by ID * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deletePageTablesWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deletePageTablesValidateBeforeCall(name, pageNumber, storage, folder, null, null); + public ApiResponse deleteLinkAnnotationWithHttpInfo(String name, String linkId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deleteLinkAnnotationValidateBeforeCall(name, linkId, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete all tables from the page (asynchronously) + * Delete document page link annotation by ID (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deletePageTablesAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteLinkAnnotationAsync(String name, String linkId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2483,27 +2441,29 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deletePageTablesValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteLinkAnnotationValidateBeforeCall(name, linkId, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteProperties - * @param name (required) - * @param storage (optional) - * @param folder (optional) + * Build call for deletePage + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deletePropertiesCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deletePageCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/documentproperties" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/pages/{pageNumber}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2540,45 +2500,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deletePropertiesValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deletePageValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteProperties(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deletePage(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling deletePage(Async)"); } - com.squareup.okhttp.Call call = deletePropertiesCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePageCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete custom document properties. + * Delete document page by its number. * - * @param name (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteProperties(String name, String storage, String folder) throws ApiException { + public AsposeResponse deletePage(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = deletePropertiesWithHttpInfo(name, storage, folder); + ApiResponse resp = deletePageWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deletePropertiesWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deletePageWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -2586,31 +2552,33 @@ public AsposeResponse deleteProperties(String name, String storage, String folde } /** - * Delete custom document properties. + * Delete document page by its number. * - * @param name (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deletePropertiesWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deletePropertiesValidateBeforeCall(name, storage, folder, null, null); + public ApiResponse deletePageWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deletePageValidateBeforeCall(name, pageNumber, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete custom document properties. (asynchronously) + * Delete document page by its number. (asynchronously) * - * @param name (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deletePropertiesAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deletePageAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2631,29 +2599,29 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deletePropertiesValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePageValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteProperty - * @param name (required) - * @param propertyName (required) - * @param storage (optional) - * @param folder (optional) + * Build call for deletePageAnnotations + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deletePropertyCall(String name, String propertyName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deletePageAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/documentproperties/{propertyName}" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "propertyName" + "\\}", apiClient.escapeString(propertyName.toString())); + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2690,51 +2658,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deletePropertyValidateBeforeCall(String name, String propertyName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deletePageAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteProperty(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deletePageAnnotations(Async)"); } - // verify the required parameter 'propertyName' is set - if (propertyName == null) { - throw new ApiException("Missing the required parameter 'propertyName' when calling deleteProperty(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling deletePageAnnotations(Async)"); } - com.squareup.okhttp.Call call = deletePropertyCall(name, propertyName, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePageAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete document property. + * Delete all annotations from the page * - * @param name (required) - * @param propertyName (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteProperty(String name, String propertyName, String storage, String folder) throws ApiException { + public AsposeResponse deletePageAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = deletePropertyWithHttpInfo(name, propertyName, storage, folder); + ApiResponse resp = deletePageAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deletePropertyWithHttpInfo(name, propertyName, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deletePageAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -2742,33 +2710,33 @@ public AsposeResponse deleteProperty(String name, String propertyName, String st } /** - * Delete document property. + * Delete all annotations from the page * - * @param name (required) - * @param propertyName (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deletePropertyWithHttpInfo(String name, String propertyName, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deletePropertyValidateBeforeCall(name, propertyName, storage, folder, null, null); + public ApiResponse deletePageAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deletePageAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete document property. (asynchronously) + * Delete all annotations from the page (asynchronously) * - * @param name (required) - * @param propertyName (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deletePropertyAsync(String name, String propertyName, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deletePageAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2789,15 +2757,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deletePropertyValidateBeforeCall(name, propertyName, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePageAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteStamp + * Build call for deletePageLinkAnnotations * @param name The document name. (required) - * @param stampId The stamp ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -2805,13 +2773,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteStampCall(String name, String stampId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deletePageLinkAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/stamps/{stampId}" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/links" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "stampId" + "\\}", apiClient.escapeString(stampId.toString())); + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2848,51 +2816,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteStampValidateBeforeCall(String name, String stampId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deletePageLinkAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteStamp(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deletePageLinkAnnotations(Async)"); } - // verify the required parameter 'stampId' is set - if (stampId == null) { - throw new ApiException("Missing the required parameter 'stampId' when calling deleteStamp(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling deletePageLinkAnnotations(Async)"); } - com.squareup.okhttp.Call call = deleteStampCall(name, stampId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePageLinkAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete document stamp by ID + * Delete all link annotations from the page * * @param name The document name. (required) - * @param stampId The stamp ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteStamp(String name, String stampId, String storage, String folder) throws ApiException { + public AsposeResponse deletePageLinkAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = deleteStampWithHttpInfo(name, stampId, storage, folder); + ApiResponse resp = deletePageLinkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteStampWithHttpInfo(name, stampId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deletePageLinkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -2900,33 +2868,33 @@ public AsposeResponse deleteStamp(String name, String stampId, String storage, S } /** - * Delete document stamp by ID + * Delete all link annotations from the page * * @param name The document name. (required) - * @param stampId The stamp ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteStampWithHttpInfo(String name, String stampId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deleteStampValidateBeforeCall(name, stampId, storage, folder, null, null); + public ApiResponse deletePageLinkAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deletePageLinkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete document stamp by ID (asynchronously) + * Delete all link annotations from the page (asynchronously) * * @param name The document name. (required) - * @param stampId The stamp ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteStampAsync(String name, String stampId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deletePageLinkAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2947,15 +2915,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteStampValidateBeforeCall(name, stampId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePageLinkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for deleteTable + * Build call for deletePageStamps * @param name The document name. (required) - * @param tableId The table ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -2963,13 +2931,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call deleteTableCall(String name, String tableId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deletePageStampsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/tables/{tableId}" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "tableId" + "\\}", apiClient.escapeString(tableId.toString())); + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -3006,51 +2974,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call deleteTableValidateBeforeCall(String name, String tableId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deletePageStampsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling deleteTable(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deletePageStamps(Async)"); } - // verify the required parameter 'tableId' is set - if (tableId == null) { - throw new ApiException("Missing the required parameter 'tableId' when calling deleteTable(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling deletePageStamps(Async)"); } - com.squareup.okhttp.Call call = deleteTableCall(name, tableId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePageStampsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Delete document table by ID + * Delete all stamps from the page * * @param name The document name. (required) - * @param tableId The table ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse deleteTable(String name, String tableId, String storage, String folder) throws ApiException { + public AsposeResponse deletePageStamps(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = deleteTableWithHttpInfo(name, tableId, storage, folder); + ApiResponse resp = deletePageStampsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = deleteTableWithHttpInfo(name, tableId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deletePageStampsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -3058,33 +3026,33 @@ public AsposeResponse deleteTable(String name, String tableId, String storage, S } /** - * Delete document table by ID + * Delete all stamps from the page * * @param name The document name. (required) - * @param tableId The table ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse deleteTableWithHttpInfo(String name, String tableId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = deleteTableValidateBeforeCall(name, tableId, storage, folder, null, null); + public ApiResponse deletePageStampsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deletePageStampsValidateBeforeCall(name, pageNumber, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Delete document table by ID (asynchronously) + * Delete all stamps from the page (asynchronously) * * @param name The document name. (required) - * @param tableId The table ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call deleteTableAsync(String name, String tableId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deletePageStampsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3105,15 +3073,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = deleteTableValidateBeforeCall(name, tableId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePageStampsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getCaretAnnotation + * Build call for deletePageTables * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -3121,13 +3089,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getCaretAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deletePageTablesCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/caret/{annotationId}" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/tables" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -3164,51 +3132,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getCaretAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deletePageTablesValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getCaretAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deletePageTables(Async)"); } - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getCaretAnnotation(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling deletePageTables(Async)"); } - com.squareup.okhttp.Call call = getCaretAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePageTablesCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page caret annotation by ID. + * Delete all tables from the page * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return CaretAnnotationResponse + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public CaretAnnotationResponse getCaretAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public AsposeResponse deletePageTables(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getCaretAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = deletePageTablesWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getCaretAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deletePageTablesWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -3216,33 +3184,33 @@ public CaretAnnotationResponse getCaretAnnotation(String name, String annotation } /** - * Read document page caret annotation by ID. + * Delete all tables from the page * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<CaretAnnotationResponse> + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getCaretAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getCaretAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse deletePageTablesWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deletePageTablesValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page caret annotation by ID. (asynchronously) + * Delete all tables from the page (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getCaretAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deletePageTablesAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3263,29 +3231,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getCaretAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = deletePageTablesValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getCircleAnnotation - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for deleteProperties + * @param name (required) + * @param storage (optional) + * @param folder (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getCircleAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deletePropertiesCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/circle/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/documentproperties" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -3322,51 +3288,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getCircleAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deletePropertiesValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getCircleAnnotation(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getCircleAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteProperties(Async)"); } - com.squareup.okhttp.Call call = getCircleAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePropertiesCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page circle annotation by ID. + * Delete custom document properties. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return CircleAnnotationResponse + * @param name (required) + * @param storage (optional) + * @param folder (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public CircleAnnotationResponse getCircleAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public AsposeResponse deleteProperties(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getCircleAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = deletePropertiesWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getCircleAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deletePropertiesWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -3374,33 +3334,31 @@ public CircleAnnotationResponse getCircleAnnotation(String name, String annotati } /** - * Read document page circle annotation by ID. + * Delete custom document properties. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<CircleAnnotationResponse> + * @param name (required) + * @param storage (optional) + * @param folder (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getCircleAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getCircleAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse deletePropertiesWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deletePropertiesValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page circle annotation by ID. (asynchronously) + * Delete custom document properties. (asynchronously) * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param name (required) + * @param storage (optional) + * @param folder (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getCircleAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deletePropertiesAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3421,29 +3379,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getCircleAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = deletePropertiesValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDiscUsage - * @param storage User's storage name (optional) + * Build call for deleteProperty + * @param name (required) + * @param propertyName (required) + * @param storage (optional) + * @param folder (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDiscUsageCall(String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deletePropertyCall(String name, String propertyName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/storage/disc"; + String localVarPath = "/pdf/{name}/documentproperties/{propertyName}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "propertyName" + "\\}", apiClient.escapeString(propertyName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -3473,38 +3438,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDiscUsageValidateBeforeCall(String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deletePropertyValidateBeforeCall(String name, String propertyName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling deleteProperty(Async)"); + } + + // verify the required parameter 'propertyName' is set + if (propertyName == null) { + throw new ApiException("Missing the required parameter 'propertyName' when calling deleteProperty(Async)"); + } - com.squareup.okhttp.Call call = getDiscUsageCall(storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deletePropertyCall(name, propertyName, storage, folder, progressListener, progressRequestListener); return call; } /** - * Check the disk usage of the current account + * Delete document property. * - * @param storage User's storage name (optional) - * @return DiscUsageResponse + * @param name (required) + * @param propertyName (required) + * @param storage (optional) + * @param folder (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public DiscUsageResponse getDiscUsage(String storage) throws ApiException { + public AsposeResponse deleteProperty(String name, String propertyName, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDiscUsageWithHttpInfo(storage); + ApiResponse resp = deletePropertyWithHttpInfo(name, propertyName, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDiscUsageWithHttpInfo(storage); + apiClient.requestToken(); + ApiResponse resp = deletePropertyWithHttpInfo(name, propertyName, storage, folder); return resp.getData(); } throw ex; @@ -3512,27 +3490,33 @@ public DiscUsageResponse getDiscUsage(String storage) throws ApiException { } /** - * Check the disk usage of the current account + * Delete document property. * - * @param storage User's storage name (optional) - * @return ApiResponse<DiscUsageResponse> + * @param name (required) + * @param propertyName (required) + * @param storage (optional) + * @param folder (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDiscUsageWithHttpInfo(String storage) throws ApiException { - com.squareup.okhttp.Call call = getDiscUsageValidateBeforeCall(storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse deletePropertyWithHttpInfo(String name, String propertyName, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deletePropertyValidateBeforeCall(name, propertyName, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Check the disk usage of the current account (asynchronously) + * Delete document property. (asynchronously) * - * @param storage User's storage name (optional) + * @param name (required) + * @param propertyName (required) + * @param storage (optional) + * @param folder (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDiscUsageAsync(String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deletePropertyAsync(String name, String propertyName, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3553,14 +3537,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDiscUsageValidateBeforeCall(storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = deletePropertyValidateBeforeCall(name, propertyName, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocument + * Build call for deleteStamp * @param name The document name. (required) + * @param stampId The stamp ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -3568,12 +3553,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteStampCall(String name, String stampId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/stamps/{stampId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "stampId" + "\\}", apiClient.escapeString(stampId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -3610,45 +3596,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteStampValidateBeforeCall(String name, String stampId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocument(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteStamp(Async)"); + } + + // verify the required parameter 'stampId' is set + if (stampId == null) { + throw new ApiException("Missing the required parameter 'stampId' when calling deleteStamp(Async)"); } - com.squareup.okhttp.Call call = getDocumentCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteStampCall(name, stampId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read common document info. + * Delete document stamp by ID * * @param name The document name. (required) + * @param stampId The stamp ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return DocumentResponse + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public DocumentResponse getDocument(String name, String storage, String folder) throws ApiException { + public AsposeResponse deleteStamp(String name, String stampId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentWithHttpInfo(name, storage, folder); + ApiResponse resp = deleteStampWithHttpInfo(name, stampId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deleteStampWithHttpInfo(name, stampId, storage, folder); return resp.getData(); } throw ex; @@ -3656,31 +3648,33 @@ public DocumentResponse getDocument(String name, String storage, String folder) } /** - * Read common document info. + * Delete document stamp by ID * * @param name The document name. (required) + * @param stampId The stamp ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<DocumentResponse> + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse deleteStampWithHttpInfo(String name, String stampId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deleteStampValidateBeforeCall(name, stampId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read common document info. (asynchronously) + * Delete document stamp by ID (asynchronously) * * @param name The document name. (required) + * @param stampId The stamp ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteStampAsync(String name, String stampId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3701,14 +3695,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = deleteStampValidateBeforeCall(name, stampId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentAnnotations + * Build call for deleteTable * @param name The document name. (required) + * @param tableId The table ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -3716,12 +3711,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call deleteTableCall(String name, String tableId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/tables/{tableId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "tableId" + "\\}", apiClient.escapeString(tableId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -3758,45 +3754,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call deleteTableValidateBeforeCall(String name, String tableId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling deleteTable(Async)"); + } + + // verify the required parameter 'tableId' is set + if (tableId == null) { + throw new ApiException("Missing the required parameter 'tableId' when calling deleteTable(Async)"); } - com.squareup.okhttp.Call call = getDocumentAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = deleteTableCall(name, tableId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read documant page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. + * Delete document table by ID * * @param name The document name. (required) + * @param tableId The table ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return AnnotationsInfoResponse + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AnnotationsInfoResponse getDocumentAnnotations(String name, String storage, String folder) throws ApiException { + public AsposeResponse deleteTable(String name, String tableId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = deleteTableWithHttpInfo(name, tableId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = deleteTableWithHttpInfo(name, tableId, storage, folder); return resp.getData(); } throw ex; @@ -3804,31 +3806,33 @@ public AnnotationsInfoResponse getDocumentAnnotations(String name, String storag } /** - * Read documant page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. + * Delete document table by ID * * @param name The document name. (required) + * @param tableId The table ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<AnnotationsInfoResponse> + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse deleteTableWithHttpInfo(String name, String tableId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = deleteTableValidateBeforeCall(name, tableId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read documant page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. (asynchronously) + * Delete document table by ID (asynchronously) * * @param name The document name. (required) + * @param tableId The table ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call deleteTableAsync(String name, String tableId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -3849,43 +3853,41 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = deleteTableValidateBeforeCall(name, tableId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentAttachmentByIndex - * @param name The document name. (required) - * @param attachmentIndex The attachment index. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for downloadFile + * @param path File path e.g. '/folder/file.ext' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID to download (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentAttachmentByIndexCall(String name, Integer attachmentIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call downloadFileCall(String path, String storageName, String versionId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/attachments/{attachmentIndex}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "attachmentIndex" + "\\}", apiClient.escapeString(attachmentIndex.toString())); + String localVarPath = "/pdf/storage/file/{path}" + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storageName", storageName)); + if (versionId != null) + localVarQueryParams.addAll(apiClient.parameterToPair("versionId", versionId)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -3908,51 +3910,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentAttachmentByIndexValidateBeforeCall(String name, Integer attachmentIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentAttachmentByIndex(Async)"); - } + private com.squareup.okhttp.Call downloadFileValidateBeforeCall(String path, String storageName, String versionId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'attachmentIndex' is set - if (attachmentIndex == null) { - throw new ApiException("Missing the required parameter 'attachmentIndex' when calling getDocumentAttachmentByIndex(Async)"); + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling downloadFile(Async)"); } - com.squareup.okhttp.Call call = getDocumentAttachmentByIndexCall(name, attachmentIndex, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = downloadFileCall(path, storageName, versionId, progressListener, progressRequestListener); return call; } /** - * Read document attachment info by its index. + * Download file * - * @param name The document name. (required) - * @param attachmentIndex The attachment index. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return AttachmentResponse + * @param path File path e.g. '/folder/file.ext' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID to download (optional) + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AttachmentResponse getDocumentAttachmentByIndex(String name, Integer attachmentIndex, String storage, String folder) throws ApiException { + public File downloadFile(String path, String storageName, String versionId) throws ApiException { try { - ApiResponse resp = getDocumentAttachmentByIndexWithHttpInfo(name, attachmentIndex, storage, folder); + ApiResponse resp = downloadFileWithHttpInfo(path, storageName, versionId); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentAttachmentByIndexWithHttpInfo(name, attachmentIndex, storage, folder); + apiClient.requestToken(); + ApiResponse resp = downloadFileWithHttpInfo(path, storageName, versionId); return resp.getData(); } throw ex; @@ -3960,33 +3956,31 @@ public AttachmentResponse getDocumentAttachmentByIndex(String name, Integer atta } /** - * Read document attachment info by its index. + * Download file * - * @param name The document name. (required) - * @param attachmentIndex The attachment index. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<AttachmentResponse> + * @param path File path e.g. '/folder/file.ext' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID to download (optional) + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentAttachmentByIndexWithHttpInfo(String name, Integer attachmentIndex, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentAttachmentByIndexValidateBeforeCall(name, attachmentIndex, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse downloadFileWithHttpInfo(String path, String storageName, String versionId) throws ApiException { + com.squareup.okhttp.Call call = downloadFileValidateBeforeCall(path, storageName, versionId, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document attachment info by its index. (asynchronously) + * Download file (asynchronously) * - * @param name The document name. (required) - * @param attachmentIndex The attachment index. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param path File path e.g. '/folder/file.ext' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID to download (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentAttachmentByIndexAsync(String name, Integer attachmentIndex, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call downloadFileAsync(String path, String storageName, String versionId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4007,34 +4001,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentAttachmentByIndexValidateBeforeCall(name, attachmentIndex, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = downloadFileValidateBeforeCall(path, storageName, versionId, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentAttachments + * Build call for getBookmark * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentAttachmentsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getBookmarkCall(String name, String bookmarkPath, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/attachments" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/bookmarks/bookmark/{bookmarkPath}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "bookmarkPath" + "\\}", apiClient.escapeString(bookmarkPath.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); @@ -4064,45 +4060,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentAttachmentsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getBookmarkValidateBeforeCall(String name, String bookmarkPath, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentAttachments(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getBookmark(Async)"); + } + + // verify the required parameter 'bookmarkPath' is set + if (bookmarkPath == null) { + throw new ApiException("Missing the required parameter 'bookmarkPath' when calling getBookmark(Async)"); } - com.squareup.okhttp.Call call = getDocumentAttachmentsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getBookmarkCall(name, bookmarkPath, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document attachments info. + * Read document bookmark. * * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) - * @return AttachmentsResponse + * @param storage The document storage. (optional) + * @return BookmarkResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AttachmentsResponse getDocumentAttachments(String name, String storage, String folder) throws ApiException { + public BookmarkResponse getBookmark(String name, String bookmarkPath, String folder, String storage) throws ApiException { try { - ApiResponse resp = getDocumentAttachmentsWithHttpInfo(name, storage, folder); + ApiResponse resp = getBookmarkWithHttpInfo(name, bookmarkPath, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentAttachmentsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getBookmarkWithHttpInfo(name, bookmarkPath, folder, storage); return resp.getData(); } throw ex; @@ -4110,31 +4112,33 @@ public AttachmentsResponse getDocumentAttachments(String name, String storage, S } /** - * Read document attachments info. + * Read document bookmark. * * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) - * @return ApiResponse<AttachmentsResponse> + * @param storage The document storage. (optional) + * @return ApiResponse<BookmarkResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentAttachmentsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentAttachmentsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getBookmarkWithHttpInfo(String name, String bookmarkPath, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getBookmarkValidateBeforeCall(name, bookmarkPath, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document attachments info. (asynchronously) + * Read document bookmark. (asynchronously) * * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentAttachmentsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getBookmarkAsync(String name, String bookmarkPath, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4155,34 +4159,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentAttachmentsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getBookmarkValidateBeforeCall(name, bookmarkPath, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentCaretAnnotations + * Build call for getBookmarks * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentCaretAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getBookmarksCall(String name, String bookmarkPath, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/caret" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/bookmarks/list/{bookmarkPath}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "bookmarkPath" + "\\}", apiClient.escapeString(bookmarkPath.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); @@ -4212,45 +4218,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentCaretAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getBookmarksValidateBeforeCall(String name, String bookmarkPath, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentCaretAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getBookmarks(Async)"); + } + + // verify the required parameter 'bookmarkPath' is set + if (bookmarkPath == null) { + throw new ApiException("Missing the required parameter 'bookmarkPath' when calling getBookmarks(Async)"); } - com.squareup.okhttp.Call call = getDocumentCaretAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getBookmarksCall(name, bookmarkPath, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document caret annotations. + * Read document bookmarks node list. * * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) - * @return CaretAnnotationsResponse + * @param storage The document storage. (optional) + * @return BookmarksResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public CaretAnnotationsResponse getDocumentCaretAnnotations(String name, String storage, String folder) throws ApiException { + public BookmarksResponse getBookmarks(String name, String bookmarkPath, String folder, String storage) throws ApiException { try { - ApiResponse resp = getDocumentCaretAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getBookmarksWithHttpInfo(name, bookmarkPath, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentCaretAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getBookmarksWithHttpInfo(name, bookmarkPath, folder, storage); return resp.getData(); } throw ex; @@ -4258,31 +4270,33 @@ public CaretAnnotationsResponse getDocumentCaretAnnotations(String name, String } /** - * Read document caret annotations. + * Read document bookmarks node list. * * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) - * @return ApiResponse<CaretAnnotationsResponse> + * @param storage The document storage. (optional) + * @return ApiResponse<BookmarksResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentCaretAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentCaretAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getBookmarksWithHttpInfo(String name, String bookmarkPath, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getBookmarksValidateBeforeCall(name, bookmarkPath, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document caret annotations. (asynchronously) + * Read document bookmarks node list. (asynchronously) * * @param name The document name. (required) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentCaretAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getBookmarksAsync(String name, String bookmarkPath, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4303,14 +4317,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentCaretAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getBookmarksValidateBeforeCall(name, bookmarkPath, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentCircleAnnotations + * Build call for getCaretAnnotation * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -4318,12 +4333,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentCircleAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getCaretAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/circle" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/caret/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -4360,45 +4376,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentCircleAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getCaretAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentCircleAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getCaretAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getCaretAnnotation(Async)"); } - com.squareup.okhttp.Call call = getDocumentCircleAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getCaretAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document circle annotations. + * Read document page caret annotation by ID. * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return CircleAnnotationsResponse + * @return CaretAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public CircleAnnotationsResponse getDocumentCircleAnnotations(String name, String storage, String folder) throws ApiException { + public CaretAnnotationResponse getCaretAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentCircleAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getCaretAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentCircleAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getCaretAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -4406,31 +4428,33 @@ public CircleAnnotationsResponse getDocumentCircleAnnotations(String name, Strin } /** - * Read document circle annotations. + * Read document page caret annotation by ID. * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<CircleAnnotationsResponse> + * @return ApiResponse<CaretAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentCircleAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentCircleAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getCaretAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getCaretAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document circle annotations. (asynchronously) + * Read document page caret annotation by ID. (asynchronously) * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentCircleAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getCaretAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4451,14 +4475,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentCircleAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getCaretAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentFileAttachmentAnnotations + * Build call for getCircleAnnotation * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -4466,12 +4491,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentFileAttachmentAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getCircleAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/fileattachment" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/circle/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -4508,45 +4534,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentFileAttachmentAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getCircleAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentFileAttachmentAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getCircleAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getCircleAnnotation(Async)"); } - com.squareup.okhttp.Call call = getDocumentFileAttachmentAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getCircleAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document FileAttachment annotations. + * Read document page circle annotation by ID. * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return FileAttachmentAnnotationsResponse + * @return CircleAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FileAttachmentAnnotationsResponse getDocumentFileAttachmentAnnotations(String name, String storage, String folder) throws ApiException { + public CircleAnnotationResponse getCircleAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentFileAttachmentAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getCircleAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentFileAttachmentAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getCircleAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -4554,31 +4586,33 @@ public FileAttachmentAnnotationsResponse getDocumentFileAttachmentAnnotations(St } /** - * Read document FileAttachment annotations. + * Read document page circle annotation by ID. * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<FileAttachmentAnnotationsResponse> + * @return ApiResponse<CircleAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentFileAttachmentAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentFileAttachmentAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getCircleAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getCircleAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document FileAttachment annotations. (asynchronously) + * Read document page circle annotation by ID. (asynchronously) * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentFileAttachmentAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getCircleAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4599,34 +4633,29 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentFileAttachmentAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getCircleAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentFreeTextAnnotations - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for getDiscUsage + * @param storageName Storage name (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentFreeTextAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDiscUsageCall(String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/freetext" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/storage/disc"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storageName", storageName)); Map localVarHeaderParams = new HashMap(); @@ -4656,45 +4685,38 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentFreeTextAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentFreeTextAnnotations(Async)"); - } + private com.squareup.okhttp.Call getDiscUsageValidateBeforeCall(String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - com.squareup.okhttp.Call call = getDocumentFreeTextAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDiscUsageCall(storageName, progressListener, progressRequestListener); return call; } /** - * Read document free text annotations. + * Get disc usage * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return FreeTextAnnotationsResponse + * @param storageName Storage name (optional) + * @return DiscUsage * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FreeTextAnnotationsResponse getDocumentFreeTextAnnotations(String name, String storage, String folder) throws ApiException { + public DiscUsage getDiscUsage(String storageName) throws ApiException { try { - ApiResponse resp = getDocumentFreeTextAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDiscUsageWithHttpInfo(storageName); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentFreeTextAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDiscUsageWithHttpInfo(storageName); return resp.getData(); } throw ex; @@ -4702,31 +4724,27 @@ public FreeTextAnnotationsResponse getDocumentFreeTextAnnotations(String name, S } /** - * Read document free text annotations. + * Get disc usage * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<FreeTextAnnotationsResponse> + * @param storageName Storage name (optional) + * @return ApiResponse<DiscUsage> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentFreeTextAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentFreeTextAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDiscUsageWithHttpInfo(String storageName) throws ApiException { + com.squareup.okhttp.Call call = getDiscUsageValidateBeforeCall(storageName, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document free text annotations. (asynchronously) + * Get disc usage (asynchronously) * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param storageName Storage name (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentFreeTextAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDiscUsageAsync(String storageName, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4747,13 +4765,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentFreeTextAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDiscUsageValidateBeforeCall(storageName, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentHighlightAnnotations + * Build call for getDocument * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -4762,11 +4780,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentHighlightAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/highlight" + String localVarPath = "/pdf/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -4804,45 +4822,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentHighlightAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentHighlightAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocument(Async)"); } - com.squareup.okhttp.Call call = getDocumentHighlightAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document highlight annotations. + * Read common document info. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return HighlightAnnotationsResponse + * @return DocumentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public HighlightAnnotationsResponse getDocumentHighlightAnnotations(String name, String storage, String folder) throws ApiException { + public DocumentResponse getDocument(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentHighlightAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentHighlightAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -4850,22 +4868,22 @@ public HighlightAnnotationsResponse getDocumentHighlightAnnotations(String name, } /** - * Read document highlight annotations. + * Read common document info. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<HighlightAnnotationsResponse> + * @return ApiResponse<DocumentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentHighlightAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentHighlightAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document highlight annotations. (asynchronously) + * Read common document info. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -4874,7 +4892,7 @@ public ApiResponse getDocumentHighlightAnnotations * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentHighlightAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -4895,13 +4913,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentHighlightAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentInkAnnotations + * Build call for getDocumentAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -4910,11 +4928,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentInkAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/ink" + String localVarPath = "/pdf/{name}/annotations" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -4952,45 +4970,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentInkAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentInkAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentInkAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document ink annotations. + * Read documant page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return InkAnnotationsResponse + * @return AnnotationsInfoResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public InkAnnotationsResponse getDocumentInkAnnotations(String name, String storage, String folder) throws ApiException { + public AnnotationsInfoResponse getDocumentAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentInkAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentInkAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -4998,22 +5016,22 @@ public InkAnnotationsResponse getDocumentInkAnnotations(String name, String stor } /** - * Read document ink annotations. + * Read documant page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<InkAnnotationsResponse> + * @return ApiResponse<AnnotationsInfoResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentInkAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentInkAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document ink annotations. (asynchronously) + * Read documant page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -5022,7 +5040,7 @@ public ApiResponse getDocumentInkAnnotationsWithHttpInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentInkAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5043,14 +5061,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentInkAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentLineAnnotations + * Build call for getDocumentAttachmentByIndex * @param name The document name. (required) + * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -5058,12 +5077,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentLineAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentAttachmentByIndexCall(String name, Integer attachmentIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/line" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/attachments/{attachmentIndex}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "attachmentIndex" + "\\}", apiClient.escapeString(attachmentIndex.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -5100,45 +5120,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentLineAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentAttachmentByIndexValidateBeforeCall(String name, Integer attachmentIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentAttachmentByIndex(Async)"); + } + + // verify the required parameter 'attachmentIndex' is set + if (attachmentIndex == null) { + throw new ApiException("Missing the required parameter 'attachmentIndex' when calling getDocumentAttachmentByIndex(Async)"); } - com.squareup.okhttp.Call call = getDocumentLineAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentAttachmentByIndexCall(name, attachmentIndex, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document line annotations. + * Read document attachment info by its index. * * @param name The document name. (required) + * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return LineAnnotationsResponse + * @return AttachmentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public LineAnnotationsResponse getDocumentLineAnnotations(String name, String storage, String folder) throws ApiException { + public AttachmentResponse getDocumentAttachmentByIndex(String name, Integer attachmentIndex, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentLineAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentAttachmentByIndexWithHttpInfo(name, attachmentIndex, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentLineAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentAttachmentByIndexWithHttpInfo(name, attachmentIndex, storage, folder); return resp.getData(); } throw ex; @@ -5146,31 +5172,33 @@ public LineAnnotationsResponse getDocumentLineAnnotations(String name, String st } /** - * Read document line annotations. + * Read document attachment info by its index. * * @param name The document name. (required) + * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<LineAnnotationsResponse> + * @return ApiResponse<AttachmentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentLineAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentLineAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentAttachmentByIndexWithHttpInfo(String name, Integer attachmentIndex, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentAttachmentByIndexValidateBeforeCall(name, attachmentIndex, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document line annotations. (asynchronously) + * Read document attachment info by its index. (asynchronously) * * @param name The document name. (required) + * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentLineAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentAttachmentByIndexAsync(String name, Integer attachmentIndex, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5191,13 +5219,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentLineAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentAttachmentByIndexValidateBeforeCall(name, attachmentIndex, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentMovieAnnotations + * Build call for getDocumentAttachments * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -5206,11 +5234,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentMovieAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentAttachmentsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/movie" + String localVarPath = "/pdf/{name}/attachments" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -5248,45 +5276,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentMovieAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentAttachmentsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentMovieAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentAttachments(Async)"); } - com.squareup.okhttp.Call call = getDocumentMovieAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentAttachmentsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document movie annotations. + * Read document attachments info. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return MovieAnnotationsResponse + * @return AttachmentsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public MovieAnnotationsResponse getDocumentMovieAnnotations(String name, String storage, String folder) throws ApiException { + public AttachmentsResponse getDocumentAttachments(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentMovieAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentAttachmentsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentMovieAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentAttachmentsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -5294,22 +5322,22 @@ public MovieAnnotationsResponse getDocumentMovieAnnotations(String name, String } /** - * Read document movie annotations. + * Read document attachments info. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<MovieAnnotationsResponse> + * @return ApiResponse<AttachmentsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentMovieAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentMovieAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentAttachmentsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentAttachmentsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document movie annotations. (asynchronously) + * Read document attachments info. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -5318,7 +5346,7 @@ public ApiResponse getDocumentMovieAnnotationsWithHttp * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentMovieAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentAttachmentsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5339,34 +5367,34 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentMovieAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentAttachmentsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentPolyLineAnnotations + * Build call for getDocumentBookmarks * @param name The document name. (required) - * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentPolyLineAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentBookmarksCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/polyline" + String localVarPath = "/pdf/{name}/bookmarks/tree" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); @@ -5396,45 +5424,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentPolyLineAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentBookmarksValidateBeforeCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentPolyLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentBookmarks(Async)"); } - com.squareup.okhttp.Call call = getDocumentPolyLineAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentBookmarksCall(name, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document polyline annotations. + * Read document bookmarks tree. * * @param name The document name. (required) - * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return PolyLineAnnotationsResponse + * @param storage The document storage. (optional) + * @return BookmarksResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PolyLineAnnotationsResponse getDocumentPolyLineAnnotations(String name, String storage, String folder) throws ApiException { + public BookmarksResponse getDocumentBookmarks(String name, String folder, String storage) throws ApiException { try { - ApiResponse resp = getDocumentPolyLineAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentBookmarksWithHttpInfo(name, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentPolyLineAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentBookmarksWithHttpInfo(name, folder, storage); return resp.getData(); } throw ex; @@ -5442,31 +5470,31 @@ public PolyLineAnnotationsResponse getDocumentPolyLineAnnotations(String name, S } /** - * Read document polyline annotations. + * Read document bookmarks tree. * * @param name The document name. (required) - * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<PolyLineAnnotationsResponse> + * @param storage The document storage. (optional) + * @return ApiResponse<BookmarksResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentPolyLineAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentPolyLineAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentBookmarksWithHttpInfo(String name, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getDocumentBookmarksValidateBeforeCall(name, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document polyline annotations. (asynchronously) + * Read document bookmarks tree. (asynchronously) * * @param name The document name. (required) - * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentPolyLineAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentBookmarksAsync(String name, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5487,13 +5515,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentPolyLineAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentBookmarksValidateBeforeCall(name, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentPolygonAnnotations + * Build call for getDocumentCaretAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -5502,11 +5530,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentPolygonAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentCaretAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/polygon" + String localVarPath = "/pdf/{name}/annotations/caret" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -5544,45 +5572,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentPolygonAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentCaretAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentPolygonAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentCaretAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentPolygonAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentCaretAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document polygon annotations. + * Read document caret annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return PolygonAnnotationsResponse + * @return CaretAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PolygonAnnotationsResponse getDocumentPolygonAnnotations(String name, String storage, String folder) throws ApiException { + public CaretAnnotationsResponse getDocumentCaretAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentPolygonAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentCaretAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentPolygonAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentCaretAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -5590,22 +5618,22 @@ public PolygonAnnotationsResponse getDocumentPolygonAnnotations(String name, Str } /** - * Read document polygon annotations. + * Read document caret annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<PolygonAnnotationsResponse> + * @return ApiResponse<CaretAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentPolygonAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentPolygonAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentCaretAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentCaretAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document polygon annotations. (asynchronously) + * Read document caret annotations. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -5614,7 +5642,7 @@ public ApiResponse getDocumentPolygonAnnotationsWith * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentPolygonAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentCaretAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5635,13 +5663,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentPolygonAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentCaretAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentPopupAnnotations + * Build call for getDocumentCircleAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -5650,11 +5678,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentPopupAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentCircleAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/popup" + String localVarPath = "/pdf/{name}/annotations/circle" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -5692,45 +5720,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentPopupAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentCircleAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentPopupAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentCircleAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentPopupAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentCircleAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document popup annotations. + * Read document circle annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return PopupAnnotationsResponse + * @return CircleAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PopupAnnotationsResponse getDocumentPopupAnnotations(String name, String storage, String folder) throws ApiException { + public CircleAnnotationsResponse getDocumentCircleAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentPopupAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentCircleAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentPopupAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentCircleAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -5738,22 +5766,22 @@ public PopupAnnotationsResponse getDocumentPopupAnnotations(String name, String } /** - * Read document popup annotations. + * Read document circle annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<PopupAnnotationsResponse> + * @return ApiResponse<CircleAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentPopupAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentPopupAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentCircleAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentCircleAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document popup annotations. (asynchronously) + * Read document circle annotations. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -5762,7 +5790,7 @@ public ApiResponse getDocumentPopupAnnotationsWithHttp * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentPopupAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentCircleAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5783,15 +5811,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentPopupAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentCircleAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentPopupAnnotationsByParent + * Build call for getDocumentFileAttachmentAnnotations * @param name The document name. (required) - * @param annotationId The parent annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -5799,13 +5826,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentPopupAnnotationsByParentCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentFileAttachmentAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/{annotationId}/popup" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/annotations/fileattachment" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -5842,51 +5868,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentPopupAnnotationsByParentValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentFileAttachmentAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentPopupAnnotationsByParent(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getDocumentPopupAnnotationsByParent(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentFileAttachmentAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentPopupAnnotationsByParentCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentFileAttachmentAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document popup annotations by parent id. + * Read document FileAttachment annotations. * * @param name The document name. (required) - * @param annotationId The parent annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return PopupAnnotationsResponse + * @return FileAttachmentAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PopupAnnotationsResponse getDocumentPopupAnnotationsByParent(String name, String annotationId, String storage, String folder) throws ApiException { + public FileAttachmentAnnotationsResponse getDocumentFileAttachmentAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentPopupAnnotationsByParentWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getDocumentFileAttachmentAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentPopupAnnotationsByParentWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentFileAttachmentAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -5894,33 +5914,31 @@ public PopupAnnotationsResponse getDocumentPopupAnnotationsByParent(String name, } /** - * Read document popup annotations by parent id. + * Read document FileAttachment annotations. * * @param name The document name. (required) - * @param annotationId The parent annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<PopupAnnotationsResponse> + * @return ApiResponse<FileAttachmentAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentPopupAnnotationsByParentWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentPopupAnnotationsByParentValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentFileAttachmentAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentFileAttachmentAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document popup annotations by parent id. (asynchronously) + * Read document FileAttachment annotations. (asynchronously) * * @param name The document name. (required) - * @param annotationId The parent annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentPopupAnnotationsByParentAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentFileAttachmentAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -5941,26 +5959,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentPopupAnnotationsByParentValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentFileAttachmentAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentProperties - * @param name (required) - * @param storage (optional) - * @param folder (optional) + * Build call for getDocumentFreeTextAnnotations + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentPropertiesCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentFreeTextAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/documentproperties" + String localVarPath = "/pdf/{name}/annotations/freetext" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -5998,45 +6016,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentPropertiesValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentFreeTextAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentProperties(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentFreeTextAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentPropertiesCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentFreeTextAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document properties. + * Read document free text annotations. * - * @param name (required) - * @param storage (optional) - * @param folder (optional) - * @return DocumentPropertiesResponse + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return FreeTextAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public DocumentPropertiesResponse getDocumentProperties(String name, String storage, String folder) throws ApiException { + public FreeTextAnnotationsResponse getDocumentFreeTextAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentPropertiesWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentFreeTextAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentPropertiesWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentFreeTextAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -6044,31 +6062,31 @@ public DocumentPropertiesResponse getDocumentProperties(String name, String stor } /** - * Read document properties. + * Read document free text annotations. * - * @param name (required) - * @param storage (optional) - * @param folder (optional) - * @return ApiResponse<DocumentPropertiesResponse> + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<FreeTextAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentPropertiesWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentPropertiesValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentFreeTextAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentFreeTextAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document properties. (asynchronously) + * Read document free text annotations. (asynchronously) * - * @param name (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentPropertiesAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentFreeTextAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6089,29 +6107,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentPropertiesValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentFreeTextAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentProperty - * @param name (required) - * @param propertyName (required) - * @param storage (optional) - * @param folder (optional) + * Build call for getDocumentHighlightAnnotations + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentPropertyCall(String name, String propertyName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentHighlightAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/documentproperties/{propertyName}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "propertyName" + "\\}", apiClient.escapeString(propertyName.toString())); + String localVarPath = "/pdf/{name}/annotations/highlight" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -6148,51 +6164,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentPropertyValidateBeforeCall(String name, String propertyName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentHighlightAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentProperty(Async)"); - } - - // verify the required parameter 'propertyName' is set - if (propertyName == null) { - throw new ApiException("Missing the required parameter 'propertyName' when calling getDocumentProperty(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentHighlightAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentPropertyCall(name, propertyName, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentHighlightAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document property by name. + * Read document highlight annotations. * - * @param name (required) - * @param propertyName (required) - * @param storage (optional) - * @param folder (optional) - * @return DocumentPropertyResponse + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return HighlightAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public DocumentPropertyResponse getDocumentProperty(String name, String propertyName, String storage, String folder) throws ApiException { + public HighlightAnnotationsResponse getDocumentHighlightAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentPropertyWithHttpInfo(name, propertyName, storage, folder); + ApiResponse resp = getDocumentHighlightAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentPropertyWithHttpInfo(name, propertyName, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentHighlightAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -6200,33 +6210,31 @@ public DocumentPropertyResponse getDocumentProperty(String name, String property } /** - * Read document property by name. + * Read document highlight annotations. * - * @param name (required) - * @param propertyName (required) - * @param storage (optional) - * @param folder (optional) - * @return ApiResponse<DocumentPropertyResponse> + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<HighlightAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentPropertyWithHttpInfo(String name, String propertyName, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentPropertyValidateBeforeCall(name, propertyName, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentHighlightAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentHighlightAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document property by name. (asynchronously) + * Read document highlight annotations. (asynchronously) * - * @param name (required) - * @param propertyName (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentPropertyAsync(String name, String propertyName, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentHighlightAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6247,13 +6255,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentPropertyValidateBeforeCall(name, propertyName, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentHighlightAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentRedactionAnnotations + * Build call for getDocumentInkAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -6262,11 +6270,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentRedactionAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentInkAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/redaction" + String localVarPath = "/pdf/{name}/annotations/ink" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -6304,45 +6312,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentRedactionAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentInkAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentRedactionAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentInkAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentRedactionAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentInkAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document redaction annotations. + * Read document ink annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return RedactionAnnotationsResponse + * @return InkAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public RedactionAnnotationsResponse getDocumentRedactionAnnotations(String name, String storage, String folder) throws ApiException { + public InkAnnotationsResponse getDocumentInkAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentRedactionAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentInkAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentRedactionAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentInkAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -6350,22 +6358,22 @@ public RedactionAnnotationsResponse getDocumentRedactionAnnotations(String name, } /** - * Read document redaction annotations. + * Read document ink annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<RedactionAnnotationsResponse> + * @return ApiResponse<InkAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentRedactionAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentRedactionAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentInkAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentInkAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document redaction annotations. (asynchronously) + * Read document ink annotations. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -6374,7 +6382,7 @@ public ApiResponse getDocumentRedactionAnnotations * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentRedactionAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentInkAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6395,13 +6403,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentRedactionAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentInkAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentScreenAnnotations + * Build call for getDocumentLineAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -6410,11 +6418,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentScreenAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentLineAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/screen" + String localVarPath = "/pdf/{name}/annotations/line" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -6452,45 +6460,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentScreenAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentLineAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentScreenAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentLineAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentScreenAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentLineAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document screen annotations. + * Read document line annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ScreenAnnotationsResponse + * @return LineAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ScreenAnnotationsResponse getDocumentScreenAnnotations(String name, String storage, String folder) throws ApiException { + public LineAnnotationsResponse getDocumentLineAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentScreenAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentLineAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentScreenAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentLineAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -6498,22 +6506,22 @@ public ScreenAnnotationsResponse getDocumentScreenAnnotations(String name, Strin } /** - * Read document screen annotations. + * Read document line annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<ScreenAnnotationsResponse> + * @return ApiResponse<LineAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentScreenAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentScreenAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentLineAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentLineAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document screen annotations. (asynchronously) + * Read document line annotations. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -6522,7 +6530,7 @@ public ApiResponse getDocumentScreenAnnotationsWithHt * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentScreenAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentLineAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6543,13 +6551,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentScreenAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentLineAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentSoundAnnotations + * Build call for getDocumentMovieAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -6558,11 +6566,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentSoundAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentMovieAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/sound" + String localVarPath = "/pdf/{name}/annotations/movie" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -6600,45 +6608,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentSoundAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentMovieAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentSoundAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentMovieAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentSoundAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentMovieAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document sound annotations. + * Read document movie annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return SoundAnnotationsResponse + * @return MovieAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SoundAnnotationsResponse getDocumentSoundAnnotations(String name, String storage, String folder) throws ApiException { + public MovieAnnotationsResponse getDocumentMovieAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentSoundAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentMovieAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentSoundAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentMovieAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -6646,22 +6654,22 @@ public SoundAnnotationsResponse getDocumentSoundAnnotations(String name, String } /** - * Read document sound annotations. + * Read document movie annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<SoundAnnotationsResponse> + * @return ApiResponse<MovieAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentSoundAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentSoundAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentMovieAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentMovieAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document sound annotations. (asynchronously) + * Read document movie annotations. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -6670,7 +6678,7 @@ public ApiResponse getDocumentSoundAnnotationsWithHttp * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentSoundAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentMovieAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6691,13 +6699,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentSoundAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentMovieAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentSquareAnnotations + * Build call for getDocumentPolyLineAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -6706,11 +6714,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentSquareAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentPolyLineAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/square" + String localVarPath = "/pdf/{name}/annotations/polyline" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -6748,45 +6756,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentSquareAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentPolyLineAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentSquareAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentPolyLineAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentSquareAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentPolyLineAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document square annotations. + * Read document polyline annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return SquareAnnotationsResponse + * @return PolyLineAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SquareAnnotationsResponse getDocumentSquareAnnotations(String name, String storage, String folder) throws ApiException { + public PolyLineAnnotationsResponse getDocumentPolyLineAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentSquareAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentPolyLineAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentSquareAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentPolyLineAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -6794,22 +6802,22 @@ public SquareAnnotationsResponse getDocumentSquareAnnotations(String name, Strin } /** - * Read document square annotations. + * Read document polyline annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<SquareAnnotationsResponse> + * @return ApiResponse<PolyLineAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentSquareAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentSquareAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentPolyLineAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentPolyLineAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document square annotations. (asynchronously) + * Read document polyline annotations. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -6818,7 +6826,7 @@ public ApiResponse getDocumentSquareAnnotationsWithHt * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentSquareAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentPolyLineAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6839,13 +6847,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentSquareAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentPolyLineAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentSquigglyAnnotations + * Build call for getDocumentPolygonAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -6854,11 +6862,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentSquigglyAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentPolygonAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/squiggly" + String localVarPath = "/pdf/{name}/annotations/polygon" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -6896,45 +6904,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentSquigglyAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentPolygonAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentSquigglyAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentPolygonAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentSquigglyAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentPolygonAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document squiggly annotations. + * Read document polygon annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return SquigglyAnnotationsResponse + * @return PolygonAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SquigglyAnnotationsResponse getDocumentSquigglyAnnotations(String name, String storage, String folder) throws ApiException { + public PolygonAnnotationsResponse getDocumentPolygonAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentSquigglyAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentPolygonAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentSquigglyAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentPolygonAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -6942,22 +6950,22 @@ public SquigglyAnnotationsResponse getDocumentSquigglyAnnotations(String name, S } /** - * Read document squiggly annotations. + * Read document polygon annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<SquigglyAnnotationsResponse> + * @return ApiResponse<PolygonAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentSquigglyAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentSquigglyAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentPolygonAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentPolygonAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document squiggly annotations. (asynchronously) + * Read document polygon annotations. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -6966,7 +6974,7 @@ public ApiResponse getDocumentSquigglyAnnotationsWi * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentSquigglyAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentPolygonAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -6987,13 +6995,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentSquigglyAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentPolygonAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentStampAnnotations + * Build call for getDocumentPopupAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -7002,11 +7010,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentStampAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentPopupAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/stamp" + String localVarPath = "/pdf/{name}/annotations/popup" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -7044,45 +7052,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentStampAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentPopupAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentStampAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentPopupAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentStampAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentPopupAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document stamp annotations. + * Read document popup annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return StampAnnotationsResponse + * @return PopupAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public StampAnnotationsResponse getDocumentStampAnnotations(String name, String storage, String folder) throws ApiException { + public PopupAnnotationsResponse getDocumentPopupAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentStampAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentPopupAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentStampAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentPopupAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -7090,22 +7098,22 @@ public StampAnnotationsResponse getDocumentStampAnnotations(String name, String } /** - * Read document stamp annotations. + * Read document popup annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<StampAnnotationsResponse> + * @return ApiResponse<PopupAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentStampAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentStampAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentPopupAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentPopupAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document stamp annotations. (asynchronously) + * Read document popup annotations. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -7114,7 +7122,7 @@ public ApiResponse getDocumentStampAnnotationsWithHttp * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentStampAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentPopupAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7135,14 +7143,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentStampAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentPopupAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentStamps + * Build call for getDocumentPopupAnnotationsByParent * @param name The document name. (required) + * @param annotationId The parent annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -7150,12 +7159,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentStampsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentPopupAnnotationsByParentCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/stamps" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/{annotationId}/popup" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -7192,45 +7202,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentStampsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentPopupAnnotationsByParentValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentStamps(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentPopupAnnotationsByParent(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getDocumentPopupAnnotationsByParent(Async)"); } - com.squareup.okhttp.Call call = getDocumentStampsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentPopupAnnotationsByParentCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document stamps. + * Read document popup annotations by parent id. * * @param name The document name. (required) + * @param annotationId The parent annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return StampsInfoResponse + * @return PopupAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public StampsInfoResponse getDocumentStamps(String name, String storage, String folder) throws ApiException { + public PopupAnnotationsResponse getDocumentPopupAnnotationsByParent(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentStampsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentPopupAnnotationsByParentWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentStampsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentPopupAnnotationsByParentWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -7238,31 +7254,33 @@ public StampsInfoResponse getDocumentStamps(String name, String storage, String } /** - * Read document stamps. + * Read document popup annotations by parent id. * * @param name The document name. (required) + * @param annotationId The parent annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<StampsInfoResponse> + * @return ApiResponse<PopupAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentStampsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentStampsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentPopupAnnotationsByParentWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentPopupAnnotationsByParentValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document stamps. (asynchronously) + * Read document popup annotations by parent id. (asynchronously) * * @param name The document name. (required) + * @param annotationId The parent annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentStampsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentPopupAnnotationsByParentAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7283,26 +7301,26 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentStampsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentPopupAnnotationsByParentValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentStrikeOutAnnotations - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for getDocumentProperties + * @param name (required) + * @param storage (optional) + * @param folder (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentStrikeOutAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentPropertiesCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/strikeout" + String localVarPath = "/pdf/{name}/documentproperties" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -7340,45 +7358,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentStrikeOutAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentPropertiesValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentStrikeOutAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentProperties(Async)"); } - com.squareup.okhttp.Call call = getDocumentStrikeOutAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentPropertiesCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document StrikeOut annotations. + * Read document properties. * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return StrikeOutAnnotationsResponse + * @param name (required) + * @param storage (optional) + * @param folder (optional) + * @return DocumentPropertiesResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public StrikeOutAnnotationsResponse getDocumentStrikeOutAnnotations(String name, String storage, String folder) throws ApiException { + public DocumentPropertiesResponse getDocumentProperties(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentStrikeOutAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentPropertiesWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentStrikeOutAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentPropertiesWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -7386,31 +7404,31 @@ public StrikeOutAnnotationsResponse getDocumentStrikeOutAnnotations(String name, } /** - * Read document StrikeOut annotations. + * Read document properties. * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<StrikeOutAnnotationsResponse> + * @param name (required) + * @param storage (optional) + * @param folder (optional) + * @return ApiResponse<DocumentPropertiesResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentStrikeOutAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentStrikeOutAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentPropertiesWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentPropertiesValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document StrikeOut annotations. (asynchronously) + * Read document properties. (asynchronously) * - * @param name The document name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param name (required) + * @param storage (optional) + * @param folder (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentStrikeOutAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentPropertiesAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7431,14 +7449,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentStrikeOutAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentPropertiesValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentTables + * Build call for getDocumentProperty * @param name (required) + * @param propertyName (required) * @param storage (optional) * @param folder (optional) * @param progressListener Progress listener @@ -7446,12 +7465,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentTablesCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentPropertyCall(String name, String propertyName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/tables" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/documentproperties/{propertyName}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "propertyName" + "\\}", apiClient.escapeString(propertyName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -7488,45 +7508,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentTablesValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentPropertyValidateBeforeCall(String name, String propertyName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentTables(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentProperty(Async)"); + } + + // verify the required parameter 'propertyName' is set + if (propertyName == null) { + throw new ApiException("Missing the required parameter 'propertyName' when calling getDocumentProperty(Async)"); } - com.squareup.okhttp.Call call = getDocumentTablesCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentPropertyCall(name, propertyName, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document tables. + * Read document property by name. * * @param name (required) + * @param propertyName (required) * @param storage (optional) * @param folder (optional) - * @return TablesRecognizedResponse + * @return DocumentPropertyResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TablesRecognizedResponse getDocumentTables(String name, String storage, String folder) throws ApiException { + public DocumentPropertyResponse getDocumentProperty(String name, String propertyName, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentTablesWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentPropertyWithHttpInfo(name, propertyName, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentTablesWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentPropertyWithHttpInfo(name, propertyName, storage, folder); return resp.getData(); } throw ex; @@ -7534,31 +7560,33 @@ public TablesRecognizedResponse getDocumentTables(String name, String storage, S } /** - * Read document tables. + * Read document property by name. * * @param name (required) + * @param propertyName (required) * @param storage (optional) * @param folder (optional) - * @return ApiResponse<TablesRecognizedResponse> + * @return ApiResponse<DocumentPropertyResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentTablesWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentTablesValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentPropertyWithHttpInfo(String name, String propertyName, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentPropertyValidateBeforeCall(name, propertyName, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document tables. (asynchronously) + * Read document property by name. (asynchronously) * * @param name (required) + * @param propertyName (required) * @param storage (optional) * @param folder (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentTablesAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentPropertyAsync(String name, String propertyName, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7579,13 +7607,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentTablesValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentPropertyValidateBeforeCall(name, propertyName, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentTextAnnotations + * Build call for getDocumentRedactionAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -7594,11 +7622,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentTextAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentRedactionAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/text" + String localVarPath = "/pdf/{name}/annotations/redaction" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -7636,45 +7664,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentTextAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentRedactionAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentTextAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentRedactionAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentTextAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentRedactionAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document text annotations. + * Read document redaction annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return TextAnnotationsResponse + * @return RedactionAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TextAnnotationsResponse getDocumentTextAnnotations(String name, String storage, String folder) throws ApiException { + public RedactionAnnotationsResponse getDocumentRedactionAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentTextAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentRedactionAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentTextAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentRedactionAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -7682,22 +7710,22 @@ public TextAnnotationsResponse getDocumentTextAnnotations(String name, String st } /** - * Read document text annotations. + * Read document redaction annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<TextAnnotationsResponse> + * @return ApiResponse<RedactionAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentTextAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentTextAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentRedactionAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentRedactionAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document text annotations. (asynchronously) + * Read document redaction annotations. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -7706,7 +7734,7 @@ public ApiResponse getDocumentTextAnnotationsWithHttpIn * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentTextAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentRedactionAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7727,13 +7755,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentTextAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentRedactionAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDocumentUnderlineAnnotations + * Build call for getDocumentScreenAnnotations * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -7742,11 +7770,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDocumentUnderlineAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentScreenAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/underline" + String localVarPath = "/pdf/{name}/annotations/screen" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -7784,45 +7812,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDocumentUnderlineAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentScreenAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDocumentUnderlineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentScreenAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDocumentUnderlineAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentScreenAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document underline annotations. + * Read document screen annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return UnderlineAnnotationsResponse + * @return ScreenAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public UnderlineAnnotationsResponse getDocumentUnderlineAnnotations(String name, String storage, String folder) throws ApiException { + public ScreenAnnotationsResponse getDocumentScreenAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDocumentUnderlineAnnotationsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentScreenAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDocumentUnderlineAnnotationsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentScreenAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -7830,22 +7858,22 @@ public UnderlineAnnotationsResponse getDocumentUnderlineAnnotations(String name, } /** - * Read document underline annotations. + * Read document screen annotations. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<UnderlineAnnotationsResponse> + * @return ApiResponse<ScreenAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDocumentUnderlineAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDocumentUnderlineAnnotationsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentScreenAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentScreenAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document underline annotations. (asynchronously) + * Read document screen annotations. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -7854,7 +7882,7 @@ public ApiResponse getDocumentUnderlineAnnotations * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDocumentUnderlineAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentScreenAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -7875,42 +7903,41 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDocumentUnderlineAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentScreenAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDownload - * @param path Path of the file including the file name and extension e.g. /file.ext (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) + * Build call for getDocumentSoundAnnotations + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDownloadCall(String path, String versionId, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentSoundAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/storage/file"; + String localVarPath = "/pdf/{name}/annotations/sound" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); - if (versionId != null) - localVarQueryParams.addAll(apiClient.parameterToPair("versionId", versionId)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -7933,45 +7960,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDownloadValidateBeforeCall(String path, String versionId, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentSoundAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling getDownload(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getDocumentSoundAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDownloadCall(path, versionId, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentSoundAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Download a specific file + * Read document sound annotations. * - * @param path Path of the file including the file name and extension e.g. /file.ext (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) - * @return File + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return SoundAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getDownload(String path, String versionId, String storage) throws ApiException { + public SoundAnnotationsResponse getDocumentSoundAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDownloadWithHttpInfo(path, versionId, storage); + ApiResponse resp = getDocumentSoundAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDownloadWithHttpInfo(path, versionId, storage); + apiClient.requestToken(); + ApiResponse resp = getDocumentSoundAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -7979,31 +8006,31 @@ public File getDownload(String path, String versionId, String storage) throws Ap } /** - * Download a specific file + * Read document sound annotations. * - * @param path Path of the file including the file name and extension e.g. /file.ext (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) - * @return ApiResponse<File> + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<SoundAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDownloadWithHttpInfo(String path, String versionId, String storage) throws ApiException { - com.squareup.okhttp.Call call = getDownloadValidateBeforeCall(path, versionId, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentSoundAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentSoundAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Download a specific file (asynchronously) + * Read document sound annotations. (asynchronously) * - * @param path Path of the file including the file name and extension e.g. /file.ext (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDownloadAsync(String path, String versionId, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentSoundAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8024,15 +8051,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDownloadValidateBeforeCall(path, versionId, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentSoundAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getDownloadDocumentAttachmentByIndex + * Build call for getDocumentSquareAnnotations * @param name The document name. (required) - * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -8040,13 +8066,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getDownloadDocumentAttachmentByIndexCall(String name, Integer attachmentIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentSquareAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/attachments/{attachmentIndex}/download" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "attachmentIndex" + "\\}", apiClient.escapeString(attachmentIndex.toString())); + String localVarPath = "/pdf/{name}/annotations/square" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -8060,7 +8085,7 @@ public com.squareup.okhttp.Call getDownloadDocumentAttachmentByIndexCall(String Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -8083,51 +8108,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getDownloadDocumentAttachmentByIndexValidateBeforeCall(String name, Integer attachmentIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentSquareAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getDownloadDocumentAttachmentByIndex(Async)"); - } - - // verify the required parameter 'attachmentIndex' is set - if (attachmentIndex == null) { - throw new ApiException("Missing the required parameter 'attachmentIndex' when calling getDownloadDocumentAttachmentByIndex(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentSquareAnnotations(Async)"); } - com.squareup.okhttp.Call call = getDownloadDocumentAttachmentByIndexCall(name, attachmentIndex, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentSquareAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Download document attachment content by its index. + * Read document square annotations. * * @param name The document name. (required) - * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return File + * @return SquareAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getDownloadDocumentAttachmentByIndex(String name, Integer attachmentIndex, String storage, String folder) throws ApiException { + public SquareAnnotationsResponse getDocumentSquareAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getDownloadDocumentAttachmentByIndexWithHttpInfo(name, attachmentIndex, storage, folder); + ApiResponse resp = getDocumentSquareAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getDownloadDocumentAttachmentByIndexWithHttpInfo(name, attachmentIndex, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentSquareAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -8135,33 +8154,31 @@ public File getDownloadDocumentAttachmentByIndex(String name, Integer attachment } /** - * Download document attachment content by its index. + * Read document square annotations. * * @param name The document name. (required) - * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<File> + * @return ApiResponse<SquareAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getDownloadDocumentAttachmentByIndexWithHttpInfo(String name, Integer attachmentIndex, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getDownloadDocumentAttachmentByIndexValidateBeforeCall(name, attachmentIndex, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentSquareAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentSquareAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Download document attachment content by its index. (asynchronously) + * Read document square annotations. (asynchronously) * * @param name The document name. (required) - * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getDownloadDocumentAttachmentByIndexAsync(String name, Integer attachmentIndex, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentSquareAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8182,39 +8199,41 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getDownloadDocumentAttachmentByIndexValidateBeforeCall(name, attachmentIndex, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentSquareAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getEpubInStorageToPdf - * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) + * Build call for getDocumentSquigglyAnnotations + * @param name The document name. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getEpubInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentSquigglyAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/create/epub"; + String localVarPath = "/pdf/{name}/annotations/squiggly" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -8237,44 +8256,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getEpubInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentSquigglyAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling getEpubInStorageToPdf(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getDocumentSquigglyAnnotations(Async)"); } - com.squareup.okhttp.Call call = getEpubInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentSquigglyAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert EPUB file (located on storage) to PDF format and return resulting file in response. + * Read document squiggly annotations. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) + * @param name The document name. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return SquigglyAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getEpubInStorageToPdf(String srcPath, String storage) throws ApiException { + public SquigglyAnnotationsResponse getDocumentSquigglyAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getEpubInStorageToPdfWithHttpInfo(srcPath, storage); + ApiResponse resp = getDocumentSquigglyAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getEpubInStorageToPdfWithHttpInfo(srcPath, storage); + apiClient.requestToken(); + ApiResponse resp = getDocumentSquigglyAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -8282,29 +8302,31 @@ public File getEpubInStorageToPdf(String srcPath, String storage) throws ApiExce } /** - * Convert EPUB file (located on storage) to PDF format and return resulting file in response. + * Read document squiggly annotations. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) + * @param name The document name. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<SquigglyAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getEpubInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { - com.squareup.okhttp.Call call = getEpubInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentSquigglyAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentSquigglyAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert EPUB file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * Read document squiggly annotations. (asynchronously) * - * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) + * @param name The document name. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getEpubInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentSquigglyAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8325,15 +8347,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getEpubInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentSquigglyAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getField + * Build call for getDocumentStampAnnotations * @param name The document name. (required) - * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -8341,13 +8362,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getFieldCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentStampAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/fields/{fieldName}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "fieldName" + "\\}", apiClient.escapeString(fieldName.toString())); + String localVarPath = "/pdf/{name}/annotations/stamp" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -8384,51 +8404,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getFieldValidateBeforeCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentStampAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getField(Async)"); - } - - // verify the required parameter 'fieldName' is set - if (fieldName == null) { - throw new ApiException("Missing the required parameter 'fieldName' when calling getField(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentStampAnnotations(Async)"); } - com.squareup.okhttp.Call call = getFieldCall(name, fieldName, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentStampAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Get document field by name. + * Read document stamp annotations. * * @param name The document name. (required) - * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return FieldResponse + * @return StampAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FieldResponse getField(String name, String fieldName, String storage, String folder) throws ApiException { + public StampAnnotationsResponse getDocumentStampAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getFieldWithHttpInfo(name, fieldName, storage, folder); + ApiResponse resp = getDocumentStampAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getFieldWithHttpInfo(name, fieldName, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentStampAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -8436,33 +8450,31 @@ public FieldResponse getField(String name, String fieldName, String storage, Str } /** - * Get document field by name. + * Read document stamp annotations. * * @param name The document name. (required) - * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<FieldResponse> + * @return ApiResponse<StampAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getFieldWithHttpInfo(String name, String fieldName, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getFieldValidateBeforeCall(name, fieldName, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentStampAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentStampAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Get document field by name. (asynchronously) + * Read document stamp annotations. (asynchronously) * * @param name The document name. (required) - * @param fieldName The field name/ (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getFieldAsync(String name, String fieldName, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentStampAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8483,13 +8495,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getFieldValidateBeforeCall(name, fieldName, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentStampAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getFields + * Build call for getDocumentStamps * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) @@ -8498,11 +8510,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getFieldsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentStampsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/fields" + String localVarPath = "/pdf/{name}/stamps" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); @@ -8540,45 +8552,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getFieldsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentStampsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getFields(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentStamps(Async)"); } - com.squareup.okhttp.Call call = getFieldsCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentStampsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Get document fields. + * Read document stamps. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return FieldsResponse + * @return StampsInfoResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FieldsResponse getFields(String name, String storage, String folder) throws ApiException { + public StampsInfoResponse getDocumentStamps(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getFieldsWithHttpInfo(name, storage, folder); + ApiResponse resp = getDocumentStampsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getFieldsWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentStampsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -8586,22 +8598,22 @@ public FieldsResponse getFields(String name, String storage, String folder) thro } /** - * Get document fields. + * Read document stamps. * * @param name The document name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<FieldsResponse> + * @return ApiResponse<StampsInfoResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getFieldsWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getFieldsValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentStampsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentStampsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Get document fields. (asynchronously) + * Read document stamps. (asynchronously) * * @param name The document name. (required) * @param storage The document storage. (optional) @@ -8610,7 +8622,7 @@ public ApiResponse getFieldsWithHttpInfo(String name, String sto * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getFieldsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentStampsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8631,15 +8643,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getFieldsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentStampsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getFileAttachmentAnnotation + * Build call for getDocumentStrikeOutAnnotations * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -8647,13 +8658,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getFileAttachmentAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentStrikeOutAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/fileattachment/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/annotations/strikeout" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -8667,7 +8677,7 @@ public com.squareup.okhttp.Call getFileAttachmentAnnotationCall(String name, Str Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -8690,51 +8700,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getFileAttachmentAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentStrikeOutAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getFileAttachmentAnnotation(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getFileAttachmentAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentStrikeOutAnnotations(Async)"); } - com.squareup.okhttp.Call call = getFileAttachmentAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentStrikeOutAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page FileAttachment annotation by ID. + * Read document StrikeOut annotations. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return FileAttachmentAnnotationResponse + * @return StrikeOutAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FileAttachmentAnnotationResponse getFileAttachmentAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public StrikeOutAnnotationsResponse getDocumentStrikeOutAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getFileAttachmentAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getDocumentStrikeOutAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getFileAttachmentAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentStrikeOutAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -8742,33 +8746,31 @@ public FileAttachmentAnnotationResponse getFileAttachmentAnnotation(String name, } /** - * Read document page FileAttachment annotation by ID. + * Read document StrikeOut annotations. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<FileAttachmentAnnotationResponse> + * @return ApiResponse<StrikeOutAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getFileAttachmentAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getFileAttachmentAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentStrikeOutAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentStrikeOutAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page FileAttachment annotation by ID. (asynchronously) + * Read document StrikeOut annotations. (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getFileAttachmentAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentStrikeOutAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8789,29 +8791,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getFileAttachmentAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentStrikeOutAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getFileAttachmentAnnotationData - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for getDocumentTables + * @param name (required) + * @param storage (optional) + * @param folder (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getFileAttachmentAnnotationDataCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentTablesCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/fileattachment/{annotationId}/data" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/tables" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -8825,7 +8825,7 @@ public com.squareup.okhttp.Call getFileAttachmentAnnotationDataCall(String name, Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -8848,51 +8848,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getFileAttachmentAnnotationDataValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentTablesValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getFileAttachmentAnnotationData(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getFileAttachmentAnnotationData(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentTables(Async)"); } - com.squareup.okhttp.Call call = getFileAttachmentAnnotationDataCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentTablesCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page FileAttachment annotation by ID. + * Read document tables. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return File + * @param name (required) + * @param storage (optional) + * @param folder (optional) + * @return TablesRecognizedResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getFileAttachmentAnnotationData(String name, String annotationId, String storage, String folder) throws ApiException { + public TablesRecognizedResponse getDocumentTables(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getFileAttachmentAnnotationDataWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getDocumentTablesWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getFileAttachmentAnnotationDataWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentTablesWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -8900,33 +8894,31 @@ public File getFileAttachmentAnnotationData(String name, String annotationId, St } /** - * Read document page FileAttachment annotation by ID. + * Read document tables. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<File> + * @param name (required) + * @param storage (optional) + * @param folder (optional) + * @return ApiResponse<TablesRecognizedResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getFileAttachmentAnnotationDataWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getFileAttachmentAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentTablesWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentTablesValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page FileAttachment annotation by ID. (asynchronously) + * Read document tables. (asynchronously) * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param name (required) + * @param storage (optional) + * @param folder (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getFileAttachmentAnnotationDataAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentTablesAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -8947,15 +8939,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getFileAttachmentAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentTablesValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getFreeTextAnnotation + * Build call for getDocumentTextAnnotations * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -8963,13 +8954,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getFreeTextAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentTextAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/freetext/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/annotations/text" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -9006,51 +8996,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getFreeTextAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentTextAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getFreeTextAnnotation(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getFreeTextAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentTextAnnotations(Async)"); } - com.squareup.okhttp.Call call = getFreeTextAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentTextAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page free text annotation by ID. + * Read document text annotations. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return FreeTextAnnotationResponse + * @return TextAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FreeTextAnnotationResponse getFreeTextAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public TextAnnotationsResponse getDocumentTextAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getFreeTextAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getDocumentTextAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getFreeTextAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentTextAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -9058,33 +9042,31 @@ public FreeTextAnnotationResponse getFreeTextAnnotation(String name, String anno } /** - * Read document page free text annotation by ID. + * Read document text annotations. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<FreeTextAnnotationResponse> + * @return ApiResponse<TextAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getFreeTextAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getFreeTextAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentTextAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentTextAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page free text annotation by ID. (asynchronously) + * Read document text annotations. (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getFreeTextAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentTextAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9105,15 +9087,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getFreeTextAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentTextAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getHighlightAnnotation + * Build call for getDocumentUnderlineAnnotations * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -9121,13 +9102,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getHighlightAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDocumentUnderlineAnnotationsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/highlight/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/annotations/underline" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -9164,51 +9144,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getHighlightAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDocumentUnderlineAnnotationsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getHighlightAnnotation(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getHighlightAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getDocumentUnderlineAnnotations(Async)"); } - com.squareup.okhttp.Call call = getHighlightAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDocumentUnderlineAnnotationsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page highlight annotation by ID. + * Read document underline annotations. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return HighlightAnnotationResponse + * @return UnderlineAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public HighlightAnnotationResponse getHighlightAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public UnderlineAnnotationsResponse getDocumentUnderlineAnnotations(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getHighlightAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getDocumentUnderlineAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getHighlightAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getDocumentUnderlineAnnotationsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -9216,33 +9190,31 @@ public HighlightAnnotationResponse getHighlightAnnotation(String name, String an } /** - * Read document page highlight annotation by ID. + * Read document underline annotations. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<HighlightAnnotationResponse> + * @return ApiResponse<UnderlineAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getHighlightAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getHighlightAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getDocumentUnderlineAnnotationsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDocumentUnderlineAnnotationsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page highlight annotation by ID. (asynchronously) + * Read document underline annotations. (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getHighlightAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDocumentUnderlineAnnotationsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9263,56 +9235,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getHighlightAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getDocumentUnderlineAnnotationsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getHtmlInStorageToPdf - * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) - * @param htmlFileName Name of HTML file in ZIP. (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * Build call for getDownloadDocumentAttachmentByIndex + * @param name The document name. (required) + * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getHtmlInStorageToPdfCall(String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getDownloadDocumentAttachmentByIndexCall(String name, Integer attachmentIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/create/html"; + String localVarPath = "/pdf/{name}/attachments/{attachmentIndex}/download" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "attachmentIndex" + "\\}", apiClient.escapeString(attachmentIndex.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); - if (htmlFileName != null) - localVarQueryParams.addAll(apiClient.parameterToPair("htmlFileName", htmlFileName)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (isLandscape != null) - localVarQueryParams.addAll(apiClient.parameterToPair("isLandscape", isLandscape)); - if (marginLeft != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginLeft", marginLeft)); - if (marginBottom != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginBottom", marginBottom)); - if (marginRight != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginRight", marginRight)); - if (marginTop != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginTop", marginTop)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -9342,52 +9294,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getHtmlInStorageToPdfValidateBeforeCall(String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getDownloadDocumentAttachmentByIndexValidateBeforeCall(String name, Integer attachmentIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling getHtmlInStorageToPdf(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getDownloadDocumentAttachmentByIndex(Async)"); + } + + // verify the required parameter 'attachmentIndex' is set + if (attachmentIndex == null) { + throw new ApiException("Missing the required parameter 'attachmentIndex' when calling getDownloadDocumentAttachmentByIndex(Async)"); } - com.squareup.okhttp.Call call = getHtmlInStorageToPdfCall(srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDownloadDocumentAttachmentByIndexCall(name, attachmentIndex, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert HTML file (located on storage) to PDF format and return resulting file in response. + * Download document attachment content by its index. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) - * @param htmlFileName Name of HTML file in ZIP. (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * @param name The document name. (required) + * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getHtmlInStorageToPdf(String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { + public File getDownloadDocumentAttachmentByIndex(String name, Integer attachmentIndex, String storage, String folder) throws ApiException { try { - ApiResponse resp = getHtmlInStorageToPdfWithHttpInfo(srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); + ApiResponse resp = getDownloadDocumentAttachmentByIndexWithHttpInfo(name, attachmentIndex, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getHtmlInStorageToPdfWithHttpInfo(srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); + apiClient.requestToken(); + ApiResponse resp = getDownloadDocumentAttachmentByIndexWithHttpInfo(name, attachmentIndex, storage, folder); return resp.getData(); } throw ex; @@ -9395,45 +9346,33 @@ public File getHtmlInStorageToPdf(String srcPath, String htmlFileName, Double he } /** - * Convert HTML file (located on storage) to PDF format and return resulting file in response. + * Download document attachment content by its index. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) - * @param htmlFileName Name of HTML file in ZIP. (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * @param name The document name. (required) + * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getHtmlInStorageToPdfWithHttpInfo(String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { - com.squareup.okhttp.Call call = getHtmlInStorageToPdfValidateBeforeCall(srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, null, null); + public ApiResponse getDownloadDocumentAttachmentByIndexWithHttpInfo(String name, Integer attachmentIndex, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getDownloadDocumentAttachmentByIndexValidateBeforeCall(name, attachmentIndex, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert HTML file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * Download document attachment content by its index. (asynchronously) * - * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) - * @param htmlFileName Name of HTML file in ZIP. (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * @param name The document name. (required) + * @param attachmentIndex The attachment index. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getHtmlInStorageToPdfAsync(String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getDownloadDocumentAttachmentByIndexAsync(String name, Integer attachmentIndex, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9454,36 +9393,32 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getHtmlInStorageToPdfValidateBeforeCall(srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getDownloadDocumentAttachmentByIndexValidateBeforeCall(name, attachmentIndex, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getImage - * @param name The document name. (required) - * @param imageId Image ID. (required) + * Build call for getEpubInStorageToPdf + * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getImageCall(String name, String imageId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getEpubInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/images/{imageId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); + String localVarPath = "/pdf/create/epub"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -9513,51 +9448,44 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getImageValidateBeforeCall(String name, String imageId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getImage(Async)"); - } + private com.squareup.okhttp.Call getEpubInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'imageId' is set - if (imageId == null) { - throw new ApiException("Missing the required parameter 'imageId' when calling getImage(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling getEpubInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = getImageCall(name, imageId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getEpubInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); return call; } /** - * Read document image by ID. + * Convert EPUB file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param imageId Image ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ImageResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ImageResponse getImage(String name, String imageId, String storage, String folder) throws ApiException { + public File getEpubInStorageToPdf(String srcPath, String storage) throws ApiException { try { - ApiResponse resp = getImageWithHttpInfo(name, imageId, storage, folder); + ApiResponse resp = getEpubInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getImageWithHttpInfo(name, imageId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getEpubInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } throw ex; @@ -9565,33 +9493,29 @@ public ImageResponse getImage(String name, String imageId, String storage, Strin } /** - * Read document image by ID. + * Convert EPUB file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param imageId Image ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<ImageResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getImageWithHttpInfo(String name, String imageId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getImageValidateBeforeCall(name, imageId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getEpubInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { + com.squareup.okhttp.Call call = getEpubInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document image by ID. (asynchronously) + * Convert EPUB file (located on storage) to PDF format and return resulting file in response. (asynchronously) * - * @param name The document name. (required) - * @param imageId Image ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getImageAsync(String name, String imageId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getEpubInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9612,17 +9536,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getImageValidateBeforeCall(name, imageId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getEpubInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getImageExtractAsGif + * Build call for getExportFieldsFromPdfToFdfInStorage * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -9630,20 +9551,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getImageExtractAsGifCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getExportFieldsFromPdfToFdfInStorageCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/images/{imageId}/extract/gif" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); + String localVarPath = "/pdf/{name}/export/fdf" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -9677,53 +9593,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getImageExtractAsGifValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getExportFieldsFromPdfToFdfInStorageValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getImageExtractAsGif(Async)"); - } - - // verify the required parameter 'imageId' is set - if (imageId == null) { - throw new ApiException("Missing the required parameter 'imageId' when calling getImageExtractAsGif(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getExportFieldsFromPdfToFdfInStorage(Async)"); } - com.squareup.okhttp.Call call = getImageExtractAsGifCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getExportFieldsFromPdfToFdfInStorageCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Extract document image in GIF format + * Export fields from from PDF in storage to FDF file. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getImageExtractAsGif(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { + public File getExportFieldsFromPdfToFdfInStorage(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getImageExtractAsGifWithHttpInfo(name, imageId, width, height, storage, folder); + ApiResponse resp = getExportFieldsFromPdfToFdfInStorageWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getImageExtractAsGifWithHttpInfo(name, imageId, width, height, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getExportFieldsFromPdfToFdfInStorageWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -9731,37 +9639,31 @@ public File getImageExtractAsGif(String name, String imageId, Integer width, Int } /** - * Extract document image in GIF format + * Export fields from from PDF in storage to FDF file. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getImageExtractAsGifWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getImageExtractAsGifValidateBeforeCall(name, imageId, width, height, storage, folder, null, null); + public ApiResponse getExportFieldsFromPdfToFdfInStorageWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getExportFieldsFromPdfToFdfInStorageValidateBeforeCall(name, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document image in GIF format (asynchronously) + * Export fields from from PDF in storage to FDF file. (asynchronously) * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getImageExtractAsGifAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getExportFieldsFromPdfToFdfInStorageAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9782,17 +9684,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getImageExtractAsGifValidateBeforeCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getExportFieldsFromPdfToFdfInStorageValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getImageExtractAsJpeg + * Build call for getExportFieldsFromPdfToXfdfInStorage * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -9800,20 +9699,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getImageExtractAsJpegCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getExportFieldsFromPdfToXfdfInStorageCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/images/{imageId}/extract/jpeg" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); + String localVarPath = "/pdf/{name}/export/xfdf" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -9847,53 +9741,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getImageExtractAsJpegValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getExportFieldsFromPdfToXfdfInStorageValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getImageExtractAsJpeg(Async)"); - } - - // verify the required parameter 'imageId' is set - if (imageId == null) { - throw new ApiException("Missing the required parameter 'imageId' when calling getImageExtractAsJpeg(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getExportFieldsFromPdfToXfdfInStorage(Async)"); } - com.squareup.okhttp.Call call = getImageExtractAsJpegCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getExportFieldsFromPdfToXfdfInStorageCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Extract document image in JPEG format + * Export fields from from PDF in storage to XFDF file. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getImageExtractAsJpeg(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { + public File getExportFieldsFromPdfToXfdfInStorage(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getImageExtractAsJpegWithHttpInfo(name, imageId, width, height, storage, folder); + ApiResponse resp = getExportFieldsFromPdfToXfdfInStorageWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getImageExtractAsJpegWithHttpInfo(name, imageId, width, height, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getExportFieldsFromPdfToXfdfInStorageWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -9901,37 +9787,31 @@ public File getImageExtractAsJpeg(String name, String imageId, Integer width, In } /** - * Extract document image in JPEG format + * Export fields from from PDF in storage to XFDF file. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getImageExtractAsJpegWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getImageExtractAsJpegValidateBeforeCall(name, imageId, width, height, storage, folder, null, null); + public ApiResponse getExportFieldsFromPdfToXfdfInStorageWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getExportFieldsFromPdfToXfdfInStorageValidateBeforeCall(name, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document image in JPEG format (asynchronously) + * Export fields from from PDF in storage to XFDF file. (asynchronously) * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getImageExtractAsJpegAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getExportFieldsFromPdfToXfdfInStorageAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -9952,17 +9832,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getImageExtractAsJpegValidateBeforeCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getExportFieldsFromPdfToXfdfInStorageValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getImageExtractAsPng + * Build call for getExportFieldsFromPdfToXmlInStorage * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -9970,20 +9847,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getImageExtractAsPngCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getExportFieldsFromPdfToXmlInStorageCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/images/{imageId}/extract/png" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); + String localVarPath = "/pdf/{name}/export/xml" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -10017,53 +9889,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getImageExtractAsPngValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getExportFieldsFromPdfToXmlInStorageValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getImageExtractAsPng(Async)"); - } - - // verify the required parameter 'imageId' is set - if (imageId == null) { - throw new ApiException("Missing the required parameter 'imageId' when calling getImageExtractAsPng(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getExportFieldsFromPdfToXmlInStorage(Async)"); } - com.squareup.okhttp.Call call = getImageExtractAsPngCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getExportFieldsFromPdfToXmlInStorageCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Extract document image in PNG format + * Export fields from from PDF in storage to XML file. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getImageExtractAsPng(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { + public File getExportFieldsFromPdfToXmlInStorage(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getImageExtractAsPngWithHttpInfo(name, imageId, width, height, storage, folder); + ApiResponse resp = getExportFieldsFromPdfToXmlInStorageWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getImageExtractAsPngWithHttpInfo(name, imageId, width, height, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getExportFieldsFromPdfToXmlInStorageWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -10071,37 +9935,31 @@ public File getImageExtractAsPng(String name, String imageId, Integer width, Int } /** - * Extract document image in PNG format + * Export fields from from PDF in storage to XML file. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getImageExtractAsPngWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getImageExtractAsPngValidateBeforeCall(name, imageId, width, height, storage, folder, null, null); + public ApiResponse getExportFieldsFromPdfToXmlInStorageWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getExportFieldsFromPdfToXmlInStorageValidateBeforeCall(name, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document image in PNG format (asynchronously) + * Export fields from from PDF in storage to XML file. (asynchronously) * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getImageExtractAsPngAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getExportFieldsFromPdfToXmlInStorageAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10122,17 +9980,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getImageExtractAsPngValidateBeforeCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getExportFieldsFromPdfToXmlInStorageValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getImageExtractAsTiff + * Build call for getField * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param fieldName The field name (name should be encoded). (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -10140,20 +9996,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getImageExtractAsTiffCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getFieldCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/images/{imageId}/extract/tiff" + String localVarPath = "/pdf/{name}/fields/{fieldName}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); + .replaceAll("\\{" + "fieldName" + "\\}", apiClient.escapeString(fieldName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -10164,7 +10016,7 @@ public com.squareup.okhttp.Call getImageExtractAsTiffCall(String name, String im Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -10187,53 +10039,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getImageExtractAsTiffValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getFieldValidateBeforeCall(String name, String fieldName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getImageExtractAsTiff(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getField(Async)"); } - // verify the required parameter 'imageId' is set - if (imageId == null) { - throw new ApiException("Missing the required parameter 'imageId' when calling getImageExtractAsTiff(Async)"); + // verify the required parameter 'fieldName' is set + if (fieldName == null) { + throw new ApiException("Missing the required parameter 'fieldName' when calling getField(Async)"); } - com.squareup.okhttp.Call call = getImageExtractAsTiffCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getFieldCall(name, fieldName, storage, folder, progressListener, progressRequestListener); return call; } /** - * Extract document image in TIFF format + * Get document field by name. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param fieldName The field name (name should be encoded). (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return File + * @return FieldResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getImageExtractAsTiff(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { + public FieldResponse getField(String name, String fieldName, String storage, String folder) throws ApiException { try { - ApiResponse resp = getImageExtractAsTiffWithHttpInfo(name, imageId, width, height, storage, folder); + ApiResponse resp = getFieldWithHttpInfo(name, fieldName, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getImageExtractAsTiffWithHttpInfo(name, imageId, width, height, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getFieldWithHttpInfo(name, fieldName, storage, folder); return resp.getData(); } throw ex; @@ -10241,37 +10091,33 @@ public File getImageExtractAsTiff(String name, String imageId, Integer width, In } /** - * Extract document image in TIFF format + * Get document field by name. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param fieldName The field name (name should be encoded). (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<File> + * @return ApiResponse<FieldResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getImageExtractAsTiffWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getImageExtractAsTiffValidateBeforeCall(name, imageId, width, height, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getFieldWithHttpInfo(String name, String fieldName, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getFieldValidateBeforeCall(name, fieldName, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document image in TIFF format (asynchronously) + * Get document field by name. (asynchronously) * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param fieldName The field name (name should be encoded). (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getImageExtractAsTiffAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getFieldAsync(String name, String fieldName, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10292,15 +10138,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getImageExtractAsTiffValidateBeforeCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getFieldValidateBeforeCall(name, fieldName, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getImages + * Build call for getFields * @param name The document name. (required) - * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -10308,13 +10153,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getImagesCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getFieldsCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/images" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/{name}/fields" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -10351,51 +10195,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getImagesValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getFieldsValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getImages(Async)"); - } - - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getImages(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getFields(Async)"); } - com.squareup.okhttp.Call call = getImagesCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getFieldsCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document images. + * Get document fields. * * @param name The document name. (required) - * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ImagesResponse + * @return FieldsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ImagesResponse getImages(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public FieldsResponse getFields(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getImagesWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getFieldsWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getImagesWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getFieldsWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -10403,33 +10241,31 @@ public ImagesResponse getImages(String name, Integer pageNumber, String storage, } /** - * Read document images. + * Get document fields. * * @param name The document name. (required) - * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<ImagesResponse> + * @return ApiResponse<FieldsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getImagesWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getImagesValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getFieldsWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getFieldsValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document images. (asynchronously) + * Get document fields. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getImagesAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getFieldsAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10450,13 +10286,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getImagesValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getFieldsValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getInkAnnotation + * Build call for getFileAttachmentAnnotation * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) @@ -10466,11 +10302,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getInkAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getFileAttachmentAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/ink/{annotationId}" + String localVarPath = "/pdf/{name}/annotations/fileattachment/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); @@ -10509,51 +10345,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getInkAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getFileAttachmentAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getInkAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getFileAttachmentAnnotation(Async)"); } // verify the required parameter 'annotationId' is set if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getInkAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'annotationId' when calling getFileAttachmentAnnotation(Async)"); } - com.squareup.okhttp.Call call = getInkAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getFileAttachmentAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page ink annotation by ID. + * Read document page FileAttachment annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return InkAnnotationResponse + * @return FileAttachmentAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public InkAnnotationResponse getInkAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public FileAttachmentAnnotationResponse getFileAttachmentAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getInkAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getFileAttachmentAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getInkAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getFileAttachmentAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -10561,23 +10397,23 @@ public InkAnnotationResponse getInkAnnotation(String name, String annotationId, } /** - * Read document page ink annotation by ID. + * Read document page FileAttachment annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<InkAnnotationResponse> + * @return ApiResponse<FileAttachmentAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getInkAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getInkAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getFileAttachmentAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getFileAttachmentAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page ink annotation by ID. (asynchronously) + * Read document page FileAttachment annotation by ID. (asynchronously) * * @param name The document name. (required) * @param annotationId The annotation ID. (required) @@ -10587,7 +10423,7 @@ public ApiResponse getInkAnnotationWithHttpInfo(String na * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getInkAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getFileAttachmentAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10608,42 +10444,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getInkAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getFileAttachmentAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getIsExist - * @param path File or folder path e.g. /file.ext or /Folder1 (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) + * Build call for getFileAttachmentAnnotationData + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getIsExistCall(String path, String versionId, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getFileAttachmentAnnotationDataCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/storage/exist"; + String localVarPath = "/pdf/{name}/annotations/fileattachment/{annotationId}/data" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); - if (versionId != null) - localVarQueryParams.addAll(apiClient.parameterToPair("versionId", versionId)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -10666,45 +10503,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getIsExistValidateBeforeCall(String path, String versionId, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getFileAttachmentAnnotationDataValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling getIsExist(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getFileAttachmentAnnotationData(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getFileAttachmentAnnotationData(Async)"); } - com.squareup.okhttp.Call call = getIsExistCall(path, versionId, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getFileAttachmentAnnotationDataCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Check if a specific file or folder exists + * Read document page FileAttachment annotation by ID. * - * @param path File or folder path e.g. /file.ext or /Folder1 (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) - * @return FileExistResponse + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FileExistResponse getIsExist(String path, String versionId, String storage) throws ApiException { + public File getFileAttachmentAnnotationData(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getIsExistWithHttpInfo(path, versionId, storage); + ApiResponse resp = getFileAttachmentAnnotationDataWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getIsExistWithHttpInfo(path, versionId, storage); + apiClient.requestToken(); + ApiResponse resp = getFileAttachmentAnnotationDataWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -10712,31 +10555,33 @@ public FileExistResponse getIsExist(String path, String versionId, String storag } /** - * Check if a specific file or folder exists + * Read document page FileAttachment annotation by ID. * - * @param path File or folder path e.g. /file.ext or /Folder1 (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) - * @return ApiResponse<FileExistResponse> + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getIsExistWithHttpInfo(String path, String versionId, String storage) throws ApiException { - com.squareup.okhttp.Call call = getIsExistValidateBeforeCall(path, versionId, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getFileAttachmentAnnotationDataWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getFileAttachmentAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Check if a specific file or folder exists (asynchronously) + * Read document page FileAttachment annotation by ID. (asynchronously) * - * @param path File or folder path e.g. /file.ext or /Folder1 (required) - * @param versionId File's version (optional) - * @param storage User's storage name (optional) + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getIsExistAsync(String path, String versionId, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getFileAttachmentAnnotationDataAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10757,28 +10602,31 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getIsExistValidateBeforeCall(path, versionId, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getFileAttachmentAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getIsStorageExist - * @param name Storage name (required) + * Build call for getFileVersions + * @param path File path e.g. '/file.ext' (required) + * @param storageName Storage name (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getIsStorageExistCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getFileVersionsCall(String path, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/storage/{name}/exist" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/storage/version/{path}" + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (storageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storageName", storageName)); Map localVarHeaderParams = new HashMap(); @@ -10808,43 +10656,44 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getIsStorageExistValidateBeforeCall(String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getFileVersionsValidateBeforeCall(String path, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getIsStorageExist(Async)"); + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling getFileVersions(Async)"); } - com.squareup.okhttp.Call call = getIsStorageExistCall(name, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getFileVersionsCall(path, storageName, progressListener, progressRequestListener); return call; } /** - * Check if storage exists + * Get file versions * - * @param name Storage name (required) - * @return StorageExistResponse + * @param path File path e.g. '/file.ext' (required) + * @param storageName Storage name (optional) + * @return FileVersions * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public StorageExistResponse getIsStorageExist(String name) throws ApiException { + public FileVersions getFileVersions(String path, String storageName) throws ApiException { try { - ApiResponse resp = getIsStorageExistWithHttpInfo(name); + ApiResponse resp = getFileVersionsWithHttpInfo(path, storageName); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getIsStorageExistWithHttpInfo(name); + apiClient.requestToken(); + ApiResponse resp = getFileVersionsWithHttpInfo(path, storageName); return resp.getData(); } throw ex; @@ -10852,27 +10701,29 @@ public StorageExistResponse getIsStorageExist(String name) throws ApiException { } /** - * Check if storage exists + * Get file versions * - * @param name Storage name (required) - * @return ApiResponse<StorageExistResponse> + * @param path File path e.g. '/file.ext' (required) + * @param storageName Storage name (optional) + * @return ApiResponse<FileVersions> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getIsStorageExistWithHttpInfo(String name) throws ApiException { - com.squareup.okhttp.Call call = getIsStorageExistValidateBeforeCall(name, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getFileVersionsWithHttpInfo(String path, String storageName) throws ApiException { + com.squareup.okhttp.Call call = getFileVersionsValidateBeforeCall(path, storageName, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Check if storage exists (asynchronously) + * Get file versions (asynchronously) * - * @param name Storage name (required) + * @param path File path e.g. '/file.ext' (required) + * @param storageName Storage name (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getIsStorageExistAsync(String name, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getFileVersionsAsync(String path, String storageName, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -10893,39 +10744,38 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getIsStorageExistValidateBeforeCall(name, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getFileVersionsValidateBeforeCall(path, storageName, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getLaTeXInStorageToPdf - * @param srcPath Full source filename (ex. /folder1/folder2/template.tex) (required) - * @param storage The document storage. (optional) + * Build call for getFilesList + * @param path Folder path e.g. '/folder' (required) + * @param storageName Storage name (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getLaTeXInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getFilesListCall(String path, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/create/latex"; + String localVarPath = "/pdf/storage/folder/{path}" + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (storageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storageName", storageName)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -10948,44 +10798,44 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getLaTeXInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getFilesListValidateBeforeCall(String path, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling getLaTeXInStorageToPdf(Async)"); + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling getFilesList(Async)"); } - com.squareup.okhttp.Call call = getLaTeXInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getFilesListCall(path, storageName, progressListener, progressRequestListener); return call; } /** - * Convert LaTeX file (located on storage) to PDF format and return resulting file in response. + * Get all files and folders within a folder * - * @param srcPath Full source filename (ex. /folder1/folder2/template.tex) (required) - * @param storage The document storage. (optional) - * @return File + * @param path Folder path e.g. '/folder' (required) + * @param storageName Storage name (optional) + * @return FilesList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getLaTeXInStorageToPdf(String srcPath, String storage) throws ApiException { + public FilesList getFilesList(String path, String storageName) throws ApiException { try { - ApiResponse resp = getLaTeXInStorageToPdfWithHttpInfo(srcPath, storage); + ApiResponse resp = getFilesListWithHttpInfo(path, storageName); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getLaTeXInStorageToPdfWithHttpInfo(srcPath, storage); + apiClient.requestToken(); + ApiResponse resp = getFilesListWithHttpInfo(path, storageName); return resp.getData(); } throw ex; @@ -10993,29 +10843,29 @@ public File getLaTeXInStorageToPdf(String srcPath, String storage) throws ApiExc } /** - * Convert LaTeX file (located on storage) to PDF format and return resulting file in response. + * Get all files and folders within a folder * - * @param srcPath Full source filename (ex. /folder1/folder2/template.tex) (required) - * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param path Folder path e.g. '/folder' (required) + * @param storageName Storage name (optional) + * @return ApiResponse<FilesList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getLaTeXInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { - com.squareup.okhttp.Call call = getLaTeXInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getFilesListWithHttpInfo(String path, String storageName) throws ApiException { + com.squareup.okhttp.Call call = getFilesListValidateBeforeCall(path, storageName, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert LaTeX file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * Get all files and folders within a folder (asynchronously) * - * @param srcPath Full source filename (ex. /folder1/folder2/template.tex) (required) - * @param storage The document storage. (optional) + * @param path Folder path e.g. '/folder' (required) + * @param storageName Storage name (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getLaTeXInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getFilesListAsync(String path, String storageName, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -11036,13 +10886,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getLaTeXInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getFilesListValidateBeforeCall(path, storageName, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getLineAnnotation + * Build call for getFreeTextAnnotation * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) @@ -11052,11 +10902,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getLineAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getFreeTextAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/line/{annotationId}" + String localVarPath = "/pdf/{name}/annotations/freetext/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); @@ -11095,51 +10945,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getLineAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getFreeTextAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getLineAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getFreeTextAnnotation(Async)"); } // verify the required parameter 'annotationId' is set if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getLineAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'annotationId' when calling getFreeTextAnnotation(Async)"); } - com.squareup.okhttp.Call call = getLineAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getFreeTextAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page line annotation by ID. + * Read document page free text annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return LineAnnotationResponse + * @return FreeTextAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public LineAnnotationResponse getLineAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public FreeTextAnnotationResponse getFreeTextAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getLineAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getFreeTextAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getLineAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getFreeTextAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -11147,23 +10997,23 @@ public LineAnnotationResponse getLineAnnotation(String name, String annotationId } /** - * Read document page line annotation by ID. + * Read document page free text annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<LineAnnotationResponse> + * @return ApiResponse<FreeTextAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getLineAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getLineAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getFreeTextAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getFreeTextAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page line annotation by ID. (asynchronously) + * Read document page free text annotation by ID. (asynchronously) * * @param name The document name. (required) * @param annotationId The annotation ID. (required) @@ -11173,7 +11023,7 @@ public ApiResponse getLineAnnotationWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getLineAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getFreeTextAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -11194,15 +11044,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getLineAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getFreeTextAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getLinkAnnotation + * Build call for getHighlightAnnotation * @param name The document name. (required) - * @param linkId The link ID. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -11210,13 +11060,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getLinkAnnotationCall(String name, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getHighlightAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/links/{linkId}" + String localVarPath = "/pdf/{name}/annotations/highlight/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "linkId" + "\\}", apiClient.escapeString(linkId.toString())); + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -11253,51 +11103,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getLinkAnnotationValidateBeforeCall(String name, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getHighlightAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getLinkAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getHighlightAnnotation(Async)"); } - // verify the required parameter 'linkId' is set - if (linkId == null) { - throw new ApiException("Missing the required parameter 'linkId' when calling getLinkAnnotation(Async)"); + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getHighlightAnnotation(Async)"); } - com.squareup.okhttp.Call call = getLinkAnnotationCall(name, linkId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getHighlightAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document link annotation by ID. + * Read document page highlight annotation by ID. * * @param name The document name. (required) - * @param linkId The link ID. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return LinkAnnotationResponse + * @return HighlightAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public LinkAnnotationResponse getLinkAnnotation(String name, String linkId, String storage, String folder) throws ApiException { + public HighlightAnnotationResponse getHighlightAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getLinkAnnotationWithHttpInfo(name, linkId, storage, folder); + ApiResponse resp = getHighlightAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getLinkAnnotationWithHttpInfo(name, linkId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getHighlightAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -11305,33 +11155,33 @@ public LinkAnnotationResponse getLinkAnnotation(String name, String linkId, Stri } /** - * Read document link annotation by ID. + * Read document page highlight annotation by ID. * * @param name The document name. (required) - * @param linkId The link ID. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<LinkAnnotationResponse> + * @return ApiResponse<HighlightAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getLinkAnnotationWithHttpInfo(String name, String linkId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getLinkAnnotationValidateBeforeCall(name, linkId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getHighlightAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getHighlightAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document link annotation by ID. (asynchronously) + * Read document page highlight annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param linkId The link ID. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getLinkAnnotationAsync(String name, String linkId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getHighlightAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -11352,30 +11202,54 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getLinkAnnotationValidateBeforeCall(name, linkId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getHighlightAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getListFileVersions - * @param path File path e.g. /file.ext or /Folder1/file.ext (required) - * @param storage User's storage name (optional) + * Build call for getHtmlInStorageToPdf + * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) + * @param htmlFileName Name of HTML file in ZIP. (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getListFileVersionsCall(String path, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getHtmlInStorageToPdfCall(String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/storage/version"; + String localVarPath = "/pdf/create/html"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (htmlFileName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("htmlFileName", htmlFileName)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (isLandscape != null) + localVarQueryParams.addAll(apiClient.parameterToPair("isLandscape", isLandscape)); + if (marginLeft != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginLeft", marginLeft)); + if (marginBottom != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginBottom", marginBottom)); + if (marginRight != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginRight", marginRight)); + if (marginTop != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginTop", marginTop)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); @@ -11384,7 +11258,7 @@ public com.squareup.okhttp.Call getListFileVersionsCall(String path, String stor Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -11407,44 +11281,52 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getListFileVersionsValidateBeforeCall(String path, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getHtmlInStorageToPdfValidateBeforeCall(String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling getListFileVersions(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling getHtmlInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = getListFileVersionsCall(path, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getHtmlInStorageToPdfCall(srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); return call; } /** - * Get the file's versions list + * Convert HTML file (located on storage) to PDF format and return resulting file in response. * - * @param path File path e.g. /file.ext or /Folder1/file.ext (required) - * @param storage User's storage name (optional) - * @return FileVersionsResponse + * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) + * @param htmlFileName Name of HTML file in ZIP. (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) + * @param storage The document storage. (optional) + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FileVersionsResponse getListFileVersions(String path, String storage) throws ApiException { + public File getHtmlInStorageToPdf(String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { try { - ApiResponse resp = getListFileVersionsWithHttpInfo(path, storage); + ApiResponse resp = getHtmlInStorageToPdfWithHttpInfo(srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getListFileVersionsWithHttpInfo(path, storage); + apiClient.requestToken(); + ApiResponse resp = getHtmlInStorageToPdfWithHttpInfo(srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); return resp.getData(); } throw ex; @@ -11452,29 +11334,45 @@ public FileVersionsResponse getListFileVersions(String path, String storage) thr } /** - * Get the file's versions list + * Convert HTML file (located on storage) to PDF format and return resulting file in response. * - * @param path File path e.g. /file.ext or /Folder1/file.ext (required) - * @param storage User's storage name (optional) - * @return ApiResponse<FileVersionsResponse> + * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) + * @param htmlFileName Name of HTML file in ZIP. (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getListFileVersionsWithHttpInfo(String path, String storage) throws ApiException { - com.squareup.okhttp.Call call = getListFileVersionsValidateBeforeCall(path, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getHtmlInStorageToPdfWithHttpInfo(String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { + com.squareup.okhttp.Call call = getHtmlInStorageToPdfValidateBeforeCall(srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Get the file's versions list (asynchronously) + * Convert HTML file (located on storage) to PDF format and return resulting file in response. (asynchronously) * - * @param path File path e.g. /file.ext or /Folder1/file.ext (required) - * @param storage User's storage name (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) + * @param htmlFileName Name of HTML file in ZIP. (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getListFileVersionsAsync(String path, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getHtmlInStorageToPdfAsync(String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -11495,32 +11393,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getListFileVersionsValidateBeforeCall(path, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getHtmlInStorageToPdfValidateBeforeCall(srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getListFiles - * @param path Start with name of storage e.g. root folder '/'or some folder '/folder1/..' (optional, default to /) - * @param storage User's storage name (optional) + * Build call for getImage + * @param name The document name. (required) + * @param imageId Image ID. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getListFilesCall(String path, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getImageCall(String name, String imageId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/storage/folder"; + String localVarPath = "/pdf/{name}/images/{imageId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -11550,39 +11452,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getListFilesValidateBeforeCall(String path, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getImageValidateBeforeCall(String name, String imageId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getImage(Async)"); + } + + // verify the required parameter 'imageId' is set + if (imageId == null) { + throw new ApiException("Missing the required parameter 'imageId' when calling getImage(Async)"); + } - com.squareup.okhttp.Call call = getListFilesCall(path, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImageCall(name, imageId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Get the file listing of a specific folder + * Read document image by ID. * - * @param path Start with name of storage e.g. root folder '/'or some folder '/folder1/..' (optional, default to /) - * @param storage User's storage name (optional) - * @return FilesResponse + * @param name The document name. (required) + * @param imageId Image ID. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ImageResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FilesResponse getListFiles(String path, String storage) throws ApiException { + public ImageResponse getImage(String name, String imageId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getListFilesWithHttpInfo(path, storage); + ApiResponse resp = getImageWithHttpInfo(name, imageId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getListFilesWithHttpInfo(path, storage); + apiClient.requestToken(); + ApiResponse resp = getImageWithHttpInfo(name, imageId, storage, folder); return resp.getData(); } throw ex; @@ -11590,29 +11504,33 @@ public FilesResponse getListFiles(String path, String storage) throws ApiExcepti } /** - * Get the file listing of a specific folder + * Read document image by ID. * - * @param path Start with name of storage e.g. root folder '/'or some folder '/folder1/..' (optional, default to /) - * @param storage User's storage name (optional) - * @return ApiResponse<FilesResponse> + * @param name The document name. (required) + * @param imageId Image ID. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<ImageResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getListFilesWithHttpInfo(String path, String storage) throws ApiException { - com.squareup.okhttp.Call call = getListFilesValidateBeforeCall(path, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getImageWithHttpInfo(String name, String imageId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getImageValidateBeforeCall(name, imageId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Get the file listing of a specific folder (asynchronously) + * Read document image by ID. (asynchronously) * - * @param path Start with name of storage e.g. root folder '/'or some folder '/folder1/..' (optional, default to /) - * @param storage User's storage name (optional) + * @param name The document name. (required) + * @param imageId Image ID. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getListFilesAsync(String path, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getImageAsync(String name, String imageId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -11633,32 +11551,42 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getListFilesValidateBeforeCall(path, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getImageValidateBeforeCall(name, imageId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getMhtInStorageToPdf - * @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required) + * Build call for getImageExtractAsGif + * @param name The document name. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getMhtInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getImageExtractAsGifCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/create/mht"; + String localVarPath = "/pdf/{name}/images/{imageId}/extract/gif" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -11688,44 +11616,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getMhtInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getImageExtractAsGifValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling getMhtInStorageToPdf(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getImageExtractAsGif(Async)"); + } + + // verify the required parameter 'imageId' is set + if (imageId == null) { + throw new ApiException("Missing the required parameter 'imageId' when calling getImageExtractAsGif(Async)"); } - com.squareup.okhttp.Call call = getMhtInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImageExtractAsGifCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert MHT file (located on storage) to PDF format and return resulting file in response. + * Extract document image in GIF format * - * @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required) + * @param name The document name. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getMhtInStorageToPdf(String srcPath, String storage) throws ApiException { + public File getImageExtractAsGif(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { try { - ApiResponse resp = getMhtInStorageToPdfWithHttpInfo(srcPath, storage); + ApiResponse resp = getImageExtractAsGifWithHttpInfo(name, imageId, width, height, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getMhtInStorageToPdfWithHttpInfo(srcPath, storage); + apiClient.requestToken(); + ApiResponse resp = getImageExtractAsGifWithHttpInfo(name, imageId, width, height, storage, folder); return resp.getData(); } throw ex; @@ -11733,29 +11670,37 @@ public File getMhtInStorageToPdf(String srcPath, String storage) throws ApiExcep } /** - * Convert MHT file (located on storage) to PDF format and return resulting file in response. + * Extract document image in GIF format * - * @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required) + * @param name The document name. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getMhtInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { - com.squareup.okhttp.Call call = getMhtInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); + public ApiResponse getImageExtractAsGifWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getImageExtractAsGifValidateBeforeCall(name, imageId, width, height, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert MHT file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * Extract document image in GIF format (asynchronously) * - * @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required) + * @param name The document name. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getMhtInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getImageExtractAsGifAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -11776,15 +11721,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getMhtInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImageExtractAsGifValidateBeforeCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getMovieAnnotation + * Build call for getImageExtractAsJpeg * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -11792,16 +11739,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getMovieAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getImageExtractAsJpegCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/movie/{annotationId}" + String localVarPath = "/pdf/{name}/images/{imageId}/extract/jpeg" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -11812,7 +11763,7 @@ public com.squareup.okhttp.Call getMovieAnnotationCall(String name, String annot Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -11835,51 +11786,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getMovieAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getImageExtractAsJpegValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getMovieAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getImageExtractAsJpeg(Async)"); } - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getMovieAnnotation(Async)"); + // verify the required parameter 'imageId' is set + if (imageId == null) { + throw new ApiException("Missing the required parameter 'imageId' when calling getImageExtractAsJpeg(Async)"); } - com.squareup.okhttp.Call call = getMovieAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImageExtractAsJpegCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page movie annotation by ID. + * Extract document image in JPEG format * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return MovieAnnotationResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public MovieAnnotationResponse getMovieAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public File getImageExtractAsJpeg(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { try { - ApiResponse resp = getMovieAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getImageExtractAsJpegWithHttpInfo(name, imageId, width, height, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getMovieAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getImageExtractAsJpegWithHttpInfo(name, imageId, width, height, storage, folder); return resp.getData(); } throw ex; @@ -11887,33 +11840,37 @@ public MovieAnnotationResponse getMovieAnnotation(String name, String annotation } /** - * Read document page movie annotation by ID. + * Extract document image in JPEG format * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<MovieAnnotationResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getMovieAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getMovieAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getImageExtractAsJpegWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getImageExtractAsJpegValidateBeforeCall(name, imageId, width, height, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page movie annotation by ID. (asynchronously) + * Extract document image in JPEG format (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getMovieAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getImageExtractAsJpegAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -11934,15 +11891,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getMovieAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getImageExtractAsJpegValidateBeforeCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPage + * Build call for getImageExtractAsPng * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -11950,16 +11909,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getImageExtractAsPngCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}" + String localVarPath = "/pdf/{name}/images/{imageId}/extract/png" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -11993,51 +11956,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getImageExtractAsPngValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPage(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getImageExtractAsPng(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPage(Async)"); + // verify the required parameter 'imageId' is set + if (imageId == null) { + throw new ApiException("Missing the required parameter 'imageId' when calling getImageExtractAsPng(Async)"); } - com.squareup.okhttp.Call call = getPageCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImageExtractAsPngCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page info. + * Extract document image in PNG format * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return DocumentPageResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public DocumentPageResponse getPage(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public File getImageExtractAsPng(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getImageExtractAsPngWithHttpInfo(name, imageId, width, height, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getImageExtractAsPngWithHttpInfo(name, imageId, width, height, storage, folder); return resp.getData(); } throw ex; @@ -12045,33 +12010,37 @@ public DocumentPageResponse getPage(String name, Integer pageNumber, String stor } /** - * Read document page info. + * Extract document image in PNG format * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<DocumentPageResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getImageExtractAsPngWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getImageExtractAsPngValidateBeforeCall(name, imageId, width, height, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page info. (asynchronously) + * Extract document image in PNG format (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getImageExtractAsPngAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -12092,15 +12061,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getImageExtractAsPngValidateBeforeCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageAnnotations + * Build call for getImageExtractAsTiff * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -12108,16 +12079,20 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getImageExtractAsTiffCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations" + String localVarPath = "/pdf/{name}/images/{imageId}/extract/tiff" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -12128,7 +12103,7 @@ public com.squareup.okhttp.Call getPageAnnotationsCall(String name, Integer page Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -12151,51 +12126,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getImageExtractAsTiffValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getImageExtractAsTiff(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageAnnotations(Async)"); + // verify the required parameter 'imageId' is set + if (imageId == null) { + throw new ApiException("Missing the required parameter 'imageId' when calling getImageExtractAsTiff(Async)"); } - com.squareup.okhttp.Call call = getPageAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImageExtractAsTiffCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. + * Extract document image in TIFF format * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return AnnotationsInfoResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AnnotationsInfoResponse getPageAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public File getImageExtractAsTiff(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getImageExtractAsTiffWithHttpInfo(name, imageId, width, height, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getImageExtractAsTiffWithHttpInfo(name, imageId, width, height, storage, folder); return resp.getData(); } throw ex; @@ -12203,33 +12180,37 @@ public AnnotationsInfoResponse getPageAnnotations(String name, Integer pageNumbe } /** - * Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. + * Extract document image in TIFF format * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<AnnotationsInfoResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getImageExtractAsTiffWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getImageExtractAsTiffValidateBeforeCall(name, imageId, width, height, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. (asynchronously) + * Extract document image in TIFF format (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getImageExtractAsTiffAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -12250,13 +12231,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getImageExtractAsTiffValidateBeforeCall(name, imageId, width, height, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageCaretAnnotations + * Build call for getImages * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -12266,11 +12247,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageCaretAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getImagesCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/caret" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/images" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -12309,51 +12290,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageCaretAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getImagesValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageCaretAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getImages(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageCaretAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getImages(Async)"); } - com.squareup.okhttp.Call call = getPageCaretAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImagesCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page caret annotations. + * Read document images. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return CaretAnnotationsResponse + * @return ImagesResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public CaretAnnotationsResponse getPageCaretAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public ImagesResponse getImages(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageCaretAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getImagesWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageCaretAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getImagesWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -12361,23 +12342,23 @@ public CaretAnnotationsResponse getPageCaretAnnotations(String name, Integer pag } /** - * Read document page caret annotations. + * Read document images. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<CaretAnnotationsResponse> + * @return ApiResponse<ImagesResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageCaretAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageCaretAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getImagesWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getImagesValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page caret annotations. (asynchronously) + * Read document images. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -12387,7 +12368,7 @@ public ApiResponse getPageCaretAnnotationsWithHttpInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageCaretAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getImagesAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -12408,15 +12389,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageCaretAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getImagesValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageCircleAnnotations + * Build call for getImportFieldsFromFdfInStorage * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param fdfFilePath The Fdf file path. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -12424,16 +12405,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageCircleAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getImportFieldsFromFdfInStorageCall(String name, String fdfFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/circle" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/{name}/import/fdf" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (fdfFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fdfFilePath", fdfFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -12444,7 +12426,7 @@ public com.squareup.okhttp.Call getPageCircleAnnotationsCall(String name, Intege Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -12467,51 +12449,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageCircleAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getImportFieldsFromFdfInStorageValidateBeforeCall(String name, String fdfFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageCircleAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getImportFieldsFromFdfInStorage(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageCircleAnnotations(Async)"); + // verify the required parameter 'fdfFilePath' is set + if (fdfFilePath == null) { + throw new ApiException("Missing the required parameter 'fdfFilePath' when calling getImportFieldsFromFdfInStorage(Async)"); } - com.squareup.okhttp.Call call = getPageCircleAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImportFieldsFromFdfInStorageCall(name, fdfFilePath, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page circle annotations. + * Update fields from FDF file in storage. * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param fdfFilePath The Fdf file path. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return CircleAnnotationsResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public CircleAnnotationsResponse getPageCircleAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public File getImportFieldsFromFdfInStorage(String name, String fdfFilePath, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageCircleAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getImportFieldsFromFdfInStorageWithHttpInfo(name, fdfFilePath, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageCircleAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getImportFieldsFromFdfInStorageWithHttpInfo(name, fdfFilePath, storage, folder); return resp.getData(); } throw ex; @@ -12519,33 +12501,33 @@ public CircleAnnotationsResponse getPageCircleAnnotations(String name, Integer p } /** - * Read document page circle annotations. + * Update fields from FDF file in storage. * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param fdfFilePath The Fdf file path. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<CircleAnnotationsResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageCircleAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageCircleAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getImportFieldsFromFdfInStorageWithHttpInfo(String name, String fdfFilePath, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getImportFieldsFromFdfInStorageValidateBeforeCall(name, fdfFilePath, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page circle annotations. (asynchronously) + * Update fields from FDF file in storage. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param fdfFilePath The Fdf file path. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageCircleAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getImportFieldsFromFdfInStorageAsync(String name, String fdfFilePath, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -12566,42 +12548,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageCircleAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getImportFieldsFromFdfInStorageValidateBeforeCall(name, fdfFilePath, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageConvertToBmp + * Build call for getImportFieldsFromXfdfInStorage * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param xfdfFilePath The XFDF file path. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageConvertToBmpCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getImportFieldsFromXfdfInStorageCall(String name, String xfdfFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/bmp" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/{name}/import/xfdf" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (xfdfFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("xfdfFilePath", xfdfFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -12631,53 +12608,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageConvertToBmpValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getImportFieldsFromXfdfInStorageValidateBeforeCall(String name, String xfdfFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToBmp(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getImportFieldsFromXfdfInStorage(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToBmp(Async)"); + // verify the required parameter 'xfdfFilePath' is set + if (xfdfFilePath == null) { + throw new ApiException("Missing the required parameter 'xfdfFilePath' when calling getImportFieldsFromXfdfInStorage(Async)"); } - com.squareup.okhttp.Call call = getPageConvertToBmpCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImportFieldsFromXfdfInStorageCall(name, xfdfFilePath, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert document page to Bmp image and return resulting file in response. + * Update fields from XFDF file in storage. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param xfdfFilePath The XFDF file path. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPageConvertToBmp(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + public File getImportFieldsFromXfdfInStorage(String name, String xfdfFilePath, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageConvertToBmpWithHttpInfo(name, pageNumber, width, height, folder, storage); + ApiResponse resp = getImportFieldsFromXfdfInStorageWithHttpInfo(name, xfdfFilePath, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageConvertToBmpWithHttpInfo(name, pageNumber, width, height, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getImportFieldsFromXfdfInStorageWithHttpInfo(name, xfdfFilePath, storage, folder); return resp.getData(); } throw ex; @@ -12685,37 +12660,33 @@ public File getPageConvertToBmp(String name, Integer pageNumber, Integer width, } /** - * Convert document page to Bmp image and return resulting file in response. + * Update fields from XFDF file in storage. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param xfdfFilePath The XFDF file path. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageConvertToBmpWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPageConvertToBmpValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); + public ApiResponse getImportFieldsFromXfdfInStorageWithHttpInfo(String name, String xfdfFilePath, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getImportFieldsFromXfdfInStorageValidateBeforeCall(name, xfdfFilePath, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert document page to Bmp image and return resulting file in response. (asynchronously) + * Update fields from XFDF file in storage. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param xfdfFilePath The XFDF file path. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageConvertToBmpAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getImportFieldsFromXfdfInStorageAsync(String name, String xfdfFilePath, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -12736,42 +12707,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageConvertToBmpValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImportFieldsFromXfdfInStorageValidateBeforeCall(name, xfdfFilePath, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageConvertToEmf + * Build call for getImportFieldsFromXmlInStorage * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param xmlFilePath Full source filename (ex. /folder1/folder2/template.xml) (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageConvertToEmfCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getImportFieldsFromXmlInStorageCall(String name, String xmlFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/emf" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/{name}/import/xml" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (xmlFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("xmlFilePath", xmlFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -12801,53 +12767,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageConvertToEmfValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getImportFieldsFromXmlInStorageValidateBeforeCall(String name, String xmlFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToEmf(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getImportFieldsFromXmlInStorage(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToEmf(Async)"); + // verify the required parameter 'xmlFilePath' is set + if (xmlFilePath == null) { + throw new ApiException("Missing the required parameter 'xmlFilePath' when calling getImportFieldsFromXmlInStorage(Async)"); } - com.squareup.okhttp.Call call = getPageConvertToEmfCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImportFieldsFromXmlInStorageCall(name, xmlFilePath, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert document page to Emf image and return resulting file in response. + * Import from XML file (located on storage) to PDF format and return resulting file in response. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param xmlFilePath Full source filename (ex. /folder1/folder2/template.xml) (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPageConvertToEmf(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + public File getImportFieldsFromXmlInStorage(String name, String xmlFilePath, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageConvertToEmfWithHttpInfo(name, pageNumber, width, height, folder, storage); + ApiResponse resp = getImportFieldsFromXmlInStorageWithHttpInfo(name, xmlFilePath, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageConvertToEmfWithHttpInfo(name, pageNumber, width, height, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getImportFieldsFromXmlInStorageWithHttpInfo(name, xmlFilePath, storage, folder); return resp.getData(); } throw ex; @@ -12855,37 +12819,33 @@ public File getPageConvertToEmf(String name, Integer pageNumber, Integer width, } /** - * Convert document page to Emf image and return resulting file in response. + * Import from XML file (located on storage) to PDF format and return resulting file in response. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param xmlFilePath Full source filename (ex. /folder1/folder2/template.xml) (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageConvertToEmfWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPageConvertToEmfValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); + public ApiResponse getImportFieldsFromXmlInStorageWithHttpInfo(String name, String xmlFilePath, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getImportFieldsFromXmlInStorageValidateBeforeCall(name, xmlFilePath, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert document page to Emf image and return resulting file in response. (asynchronously) + * Import from XML file (located on storage) to PDF format and return resulting file in response. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param xmlFilePath Full source filename (ex. /folder1/folder2/template.xml) (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageConvertToEmfAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getImportFieldsFromXmlInStorageAsync(String name, String xmlFilePath, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -12906,49 +12866,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageConvertToEmfValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getImportFieldsFromXmlInStorageValidateBeforeCall(name, xmlFilePath, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageConvertToGif + * Build call for getInkAnnotation * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageConvertToGifCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getInkAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/gif" + String localVarPath = "/pdf/{name}/annotations/ink/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -12971,53 +12925,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageConvertToGifValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getInkAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToGif(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getInkAnnotation(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToGif(Async)"); + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getInkAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPageConvertToGifCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getInkAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert document page to Gif image and return resulting file in response. + * Read document page ink annotation by ID. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return InkAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPageConvertToGif(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + public InkAnnotationResponse getInkAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageConvertToGifWithHttpInfo(name, pageNumber, width, height, folder, storage); + ApiResponse resp = getInkAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageConvertToGifWithHttpInfo(name, pageNumber, width, height, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getInkAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -13025,37 +12977,33 @@ public File getPageConvertToGif(String name, Integer pageNumber, Integer width, } /** - * Convert document page to Gif image and return resulting file in response. + * Read document page ink annotation by ID. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<InkAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageConvertToGifWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPageConvertToGifValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getInkAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getInkAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert document page to Gif image and return resulting file in response. (asynchronously) + * Read document page ink annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageConvertToGifAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getInkAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -13076,40 +13024,30 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageConvertToGifValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getInkAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageConvertToJpeg - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * Build call for getLaTeXInStorageToPdf + * @param srcPath Full source filename (ex. /folder1/folder2/template.tex) (required) * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageConvertToJpegCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getLaTeXInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/jpeg" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/create/latex"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); @@ -13141,53 +13079,44 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageConvertToJpegValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToJpeg(Async)"); - } + private com.squareup.okhttp.Call getLaTeXInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToJpeg(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling getLaTeXInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = getPageConvertToJpegCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getLaTeXInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); return call; } /** - * Convert document page to Jpeg image and return resulting file in response. + * Convert LaTeX file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.tex) (required) * @param storage The document storage. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPageConvertToJpeg(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + public File getLaTeXInStorageToPdf(String srcPath, String storage) throws ApiException { try { - ApiResponse resp = getPageConvertToJpegWithHttpInfo(name, pageNumber, width, height, folder, storage); + ApiResponse resp = getLaTeXInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageConvertToJpegWithHttpInfo(name, pageNumber, width, height, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getLaTeXInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } throw ex; @@ -13195,37 +13124,29 @@ public File getPageConvertToJpeg(String name, Integer pageNumber, Integer width, } /** - * Convert document page to Jpeg image and return resulting file in response. + * Convert LaTeX file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.tex) (required) * @param storage The document storage. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageConvertToJpegWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPageConvertToJpegValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); + public ApiResponse getLaTeXInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { + com.squareup.okhttp.Call call = getLaTeXInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert document page to Jpeg image and return resulting file in response. (asynchronously) + * Convert LaTeX file (located on storage) to PDF format and return resulting file in response. (asynchronously) * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.tex) (required) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageConvertToJpegAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getLaTeXInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -13246,49 +13167,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageConvertToJpegValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getLaTeXInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageConvertToPng + * Build call for getLineAnnotation * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageConvertToPngCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getLineAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/png" + String localVarPath = "/pdf/{name}/annotations/line/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -13311,53 +13226,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageConvertToPngValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getLineAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToPng(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getLineAnnotation(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToPng(Async)"); + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getLineAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPageConvertToPngCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getLineAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert document page to Png image and return resulting file in response. + * Read document page line annotation by ID. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return LineAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPageConvertToPng(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + public LineAnnotationResponse getLineAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageConvertToPngWithHttpInfo(name, pageNumber, width, height, folder, storage); + ApiResponse resp = getLineAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageConvertToPngWithHttpInfo(name, pageNumber, width, height, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getLineAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -13365,37 +13278,33 @@ public File getPageConvertToPng(String name, Integer pageNumber, Integer width, } /** - * Convert document page to Png image and return resulting file in response. + * Read document page line annotation by ID. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<LineAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageConvertToPngWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPageConvertToPngValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getLineAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getLineAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert document page to Png image and return resulting file in response. (asynchronously) + * Read document page line annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageConvertToPngAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getLineAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -13416,49 +13325,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageConvertToPngValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getLineAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageConvertToTiff + * Build call for getLinkAnnotation * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageConvertToTiffCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getLinkAnnotationCall(String name, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/tiff" + String localVarPath = "/pdf/{name}/links/{linkId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "linkId" + "\\}", apiClient.escapeString(linkId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -13481,53 +13384,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageConvertToTiffValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getLinkAnnotationValidateBeforeCall(String name, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToTiff(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getLinkAnnotation(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToTiff(Async)"); + // verify the required parameter 'linkId' is set + if (linkId == null) { + throw new ApiException("Missing the required parameter 'linkId' when calling getLinkAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPageConvertToTiffCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getLinkAnnotationCall(name, linkId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert document page to Tiff image and return resulting file in response. + * Read document link annotation by ID. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return LinkAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPageConvertToTiff(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + public LinkAnnotationResponse getLinkAnnotation(String name, String linkId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageConvertToTiffWithHttpInfo(name, pageNumber, width, height, folder, storage); + ApiResponse resp = getLinkAnnotationWithHttpInfo(name, linkId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageConvertToTiffWithHttpInfo(name, pageNumber, width, height, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getLinkAnnotationWithHttpInfo(name, linkId, storage, folder); return resp.getData(); } throw ex; @@ -13535,37 +13436,33 @@ public File getPageConvertToTiff(String name, Integer pageNumber, Integer width, } /** - * Convert document page to Tiff image and return resulting file in response. + * Read document link annotation by ID. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<LinkAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageConvertToTiffWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPageConvertToTiffValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getLinkAnnotationWithHttpInfo(String name, String linkId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getLinkAnnotationValidateBeforeCall(name, linkId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert document page to Tiff image and return resulting file in response. (asynchronously) + * Read document link annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param folder The document folder. (optional) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageConvertToTiffAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getLinkAnnotationAsync(String name, String linkId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -13586,43 +13483,39 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageConvertToTiffValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getLinkAnnotationValidateBeforeCall(name, linkId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageFileAttachmentAnnotations - * @param name The document name. (required) - * @param pageNumber The page number. (required) + * Build call for getMhtInStorageToPdf + * @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageFileAttachmentAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getMhtInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/fileattachment" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/create/mht"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -13645,51 +13538,44 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageFileAttachmentAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageFileAttachmentAnnotations(Async)"); - } + private com.squareup.okhttp.Call getMhtInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageFileAttachmentAnnotations(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling getMhtInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = getPageFileAttachmentAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getMhtInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); return call; } /** - * Read document page FileAttachment annotations. + * Convert MHT file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return FileAttachmentAnnotationsResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FileAttachmentAnnotationsResponse getPageFileAttachmentAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public File getMhtInStorageToPdf(String srcPath, String storage) throws ApiException { try { - ApiResponse resp = getPageFileAttachmentAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getMhtInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageFileAttachmentAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getMhtInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } throw ex; @@ -13697,33 +13583,29 @@ public FileAttachmentAnnotationsResponse getPageFileAttachmentAnnotations(String } /** - * Read document page FileAttachment annotations. + * Convert MHT file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<FileAttachmentAnnotationsResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageFileAttachmentAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageFileAttachmentAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getMhtInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { + com.squareup.okhttp.Call call = getMhtInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page FileAttachment annotations. (asynchronously) + * Convert MHT file (located on storage) to PDF format and return resulting file in response. (asynchronously) * - * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.mht) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageFileAttachmentAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getMhtInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -13744,15 +13626,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageFileAttachmentAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getMhtInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageFreeTextAnnotations + * Build call for getMovieAnnotation * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -13760,13 +13642,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageFreeTextAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getMovieAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/freetext" + String localVarPath = "/pdf/{name}/annotations/movie/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -13803,51 +13685,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageFreeTextAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getMovieAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageFreeTextAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getMovieAnnotation(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageFreeTextAnnotations(Async)"); + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getMovieAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPageFreeTextAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getMovieAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page free text annotations. + * Read document page movie annotation by ID. * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return FreeTextAnnotationsResponse + * @return MovieAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FreeTextAnnotationsResponse getPageFreeTextAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public MovieAnnotationResponse getMovieAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageFreeTextAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getMovieAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageFreeTextAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getMovieAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -13855,33 +13737,33 @@ public FreeTextAnnotationsResponse getPageFreeTextAnnotations(String name, Integ } /** - * Read document page free text annotations. + * Read document page movie annotation by ID. * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<FreeTextAnnotationsResponse> + * @return ApiResponse<MovieAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageFreeTextAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageFreeTextAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getMovieAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getMovieAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page free text annotations. (asynchronously) + * Read document page movie annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageFreeTextAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getMovieAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -13902,13 +13784,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageFreeTextAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getMovieAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageHighlightAnnotations + * Build call for getPage * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -13918,11 +13800,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageHighlightAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/highlight" + String localVarPath = "/pdf/{name}/pages/{pageNumber}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -13961,51 +13843,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageHighlightAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageHighlightAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPage(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageHighlightAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPage(Async)"); } - com.squareup.okhttp.Call call = getPageHighlightAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page highlight annotations. + * Read document page info. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return HighlightAnnotationsResponse + * @return DocumentPageResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public HighlightAnnotationsResponse getPageHighlightAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public DocumentPageResponse getPage(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageHighlightAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageHighlightAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -14013,23 +13895,23 @@ public HighlightAnnotationsResponse getPageHighlightAnnotations(String name, Int } /** - * Read document page highlight annotations. + * Read document page info. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<HighlightAnnotationsResponse> + * @return ApiResponse<DocumentPageResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageHighlightAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageHighlightAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page highlight annotations. (asynchronously) + * Read document page info. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -14039,7 +13921,7 @@ public ApiResponse getPageHighlightAnnotationsWith * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageHighlightAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14060,13 +13942,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageHighlightAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageInkAnnotations + * Build call for getPageAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -14076,11 +13958,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageInkAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/ink" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -14119,51 +14001,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageInkAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageInkAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageInkAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageInkAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page ink annotations. + * Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return InkAnnotationsResponse + * @return AnnotationsInfoResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public InkAnnotationsResponse getPageInkAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public AnnotationsInfoResponse getPageAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageInkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageInkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -14171,23 +14053,23 @@ public InkAnnotationsResponse getPageInkAnnotations(String name, Integer pageNum } /** - * Read document page ink annotations. + * Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<InkAnnotationsResponse> + * @return ApiResponse<AnnotationsInfoResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageInkAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageInkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page ink annotations. (asynchronously) + * Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -14197,7 +14079,7 @@ public ApiResponse getPageInkAnnotationsWithHttpInfo(Str * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageInkAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14218,13 +14100,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageInkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageLineAnnotations + * Build call for getPageCaretAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -14234,11 +14116,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageLineAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageCaretAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/line" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/caret" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -14277,51 +14159,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageLineAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageCaretAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageCaretAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageCaretAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageLineAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageCaretAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page line annotations. + * Read document page caret annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return LineAnnotationsResponse + * @return CaretAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public LineAnnotationsResponse getPageLineAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public CaretAnnotationsResponse getPageCaretAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageLineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageCaretAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageLineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageCaretAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -14329,23 +14211,23 @@ public LineAnnotationsResponse getPageLineAnnotations(String name, Integer pageN } /** - * Read document page line annotations. + * Read document page caret annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<LineAnnotationsResponse> + * @return ApiResponse<CaretAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageLineAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageLineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageCaretAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageCaretAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page line annotations. (asynchronously) + * Read document page caret annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -14355,7 +14237,7 @@ public ApiResponse getPageLineAnnotationsWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageLineAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageCaretAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14376,33 +14258,29 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageLineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageCaretAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageLinkAnnotation + * Build call for getPageCircleAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object - * @deprecated */ - @Deprecated - public com.squareup.okhttp.Call getPageLinkAnnotationCall(String name, Integer pageNumber, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageCircleAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/links/{linkId}" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/circle" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())) - .replaceAll("\\{" + "linkId" + "\\}", apiClient.escapeString(linkId.toString())); + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -14439,60 +14317,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } - @Deprecated @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageLinkAnnotationValidateBeforeCall(String name, Integer pageNumber, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageCircleAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageLinkAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageCircleAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageLinkAnnotation(Async)"); - } - - // verify the required parameter 'linkId' is set - if (linkId == null) { - throw new ApiException("Missing the required parameter 'linkId' when calling getPageLinkAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageCircleAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageLinkAnnotationCall(name, pageNumber, linkId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageCircleAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page link annotation by ID. + * Read document page circle annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return LinkAnnotationResponse + * @return CircleAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @deprecated */ - @Deprecated - public LinkAnnotationResponse getPageLinkAnnotation(String name, Integer pageNumber, String linkId, String storage, String folder) throws ApiException { + public CircleAnnotationsResponse getPageCircleAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageLinkAnnotationWithHttpInfo(name, pageNumber, linkId, storage, folder); + ApiResponse resp = getPageCircleAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageLinkAnnotationWithHttpInfo(name, pageNumber, linkId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageCircleAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -14500,39 +14369,33 @@ public LinkAnnotationResponse getPageLinkAnnotation(String name, Integer pageNum } /** - * Read document page link annotation by ID. + * Read document page circle annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<LinkAnnotationResponse> + * @return ApiResponse<CircleAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @deprecated */ - @Deprecated - public ApiResponse getPageLinkAnnotationWithHttpInfo(String name, Integer pageNumber, String linkId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageLinkAnnotationValidateBeforeCall(name, pageNumber, linkId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageCircleAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageCircleAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page link annotation by ID. (asynchronously) + * Read document page circle annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @deprecated */ - @Deprecated - public com.squareup.okhttp.Call getPageLinkAnnotationAsync(String name, Integer pageNumber, String linkId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageCircleAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14553,43 +14416,49 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageLinkAnnotationValidateBeforeCall(name, pageNumber, linkId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageCircleAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageLinkAnnotations + * Build call for getPageConvertToBmp * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageLinkAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToBmpCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/links" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/bmp" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -14612,51 +14481,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageLinkAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageConvertToBmpValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageLinkAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToBmp(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageLinkAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToBmp(Async)"); } - com.squareup.okhttp.Call call = getPageLinkAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageConvertToBmpCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document page link annotations. + * Convert document page to Bmp image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return LinkAnnotationsResponse + * @param storage The document storage. (optional) + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public LinkAnnotationsResponse getPageLinkAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public File getPageConvertToBmp(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { try { - ApiResponse resp = getPageLinkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageConvertToBmpWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageLinkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageConvertToBmpWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } throw ex; @@ -14664,33 +14535,37 @@ public LinkAnnotationsResponse getPageLinkAnnotations(String name, Integer pageN } /** - * Read document page link annotations. + * Convert document page to Bmp image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return ApiResponse<LinkAnnotationsResponse> + * @param storage The document storage. (optional) + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageLinkAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageLinkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageConvertToBmpWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPageConvertToBmpValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page link annotations. (asynchronously) + * Convert document page to Bmp image and return resulting file in response. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageLinkAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToBmpAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14711,43 +14586,49 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageLinkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageConvertToBmpValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageMovieAnnotations + * Build call for getPageConvertToEmf * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageMovieAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToEmfCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/movie" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/emf" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -14770,51 +14651,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageMovieAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageConvertToEmfValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageMovieAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToEmf(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageMovieAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToEmf(Async)"); } - com.squareup.okhttp.Call call = getPageMovieAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageConvertToEmfCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document page movie annotations. + * Convert document page to Emf image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return MovieAnnotationsResponse + * @param storage The document storage. (optional) + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public MovieAnnotationsResponse getPageMovieAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public File getPageConvertToEmf(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { try { - ApiResponse resp = getPageMovieAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageConvertToEmfWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageMovieAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageConvertToEmfWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } throw ex; @@ -14822,33 +14705,37 @@ public MovieAnnotationsResponse getPageMovieAnnotations(String name, Integer pag } /** - * Read document page movie annotations. + * Convert document page to Emf image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return ApiResponse<MovieAnnotationsResponse> + * @param storage The document storage. (optional) + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageMovieAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageMovieAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageConvertToEmfWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPageConvertToEmfValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page movie annotations. (asynchronously) + * Convert document page to Emf image and return resulting file in response. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageMovieAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToEmfAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -14869,43 +14756,49 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageMovieAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageConvertToEmfValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPagePolyLineAnnotations + * Build call for getPageConvertToGif * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPagePolyLineAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToGifCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/polyline" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/gif" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -14928,51 +14821,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPagePolyLineAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageConvertToGifValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPagePolyLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToGif(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPagePolyLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToGif(Async)"); } - com.squareup.okhttp.Call call = getPagePolyLineAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageConvertToGifCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document page polyline annotations. + * Convert document page to Gif image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return PolyLineAnnotationsResponse + * @param storage The document storage. (optional) + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PolyLineAnnotationsResponse getPagePolyLineAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public File getPageConvertToGif(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { try { - ApiResponse resp = getPagePolyLineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageConvertToGifWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPagePolyLineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageConvertToGifWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } throw ex; @@ -14980,33 +14875,37 @@ public PolyLineAnnotationsResponse getPagePolyLineAnnotations(String name, Integ } /** - * Read document page polyline annotations. + * Convert document page to Gif image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return ApiResponse<PolyLineAnnotationsResponse> + * @param storage The document storage. (optional) + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPagePolyLineAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPagePolyLineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageConvertToGifWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPageConvertToGifValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page polyline annotations. (asynchronously) + * Convert document page to Gif image and return resulting file in response. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPagePolyLineAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToGifAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15027,43 +14926,49 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPagePolyLineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageConvertToGifValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPagePolygonAnnotations + * Build call for getPageConvertToJpeg * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPagePolygonAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToJpegCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/polygon" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/jpeg" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -15086,51 +14991,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPagePolygonAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageConvertToJpegValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPagePolygonAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToJpeg(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPagePolygonAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToJpeg(Async)"); } - com.squareup.okhttp.Call call = getPagePolygonAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageConvertToJpegCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document page polygon annotations. + * Convert document page to Jpeg image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return PolygonAnnotationsResponse + * @param storage The document storage. (optional) + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PolygonAnnotationsResponse getPagePolygonAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public File getPageConvertToJpeg(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { try { - ApiResponse resp = getPagePolygonAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageConvertToJpegWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPagePolygonAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageConvertToJpegWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } throw ex; @@ -15138,33 +15045,37 @@ public PolygonAnnotationsResponse getPagePolygonAnnotations(String name, Integer } /** - * Read document page polygon annotations. + * Convert document page to Jpeg image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return ApiResponse<PolygonAnnotationsResponse> + * @param storage The document storage. (optional) + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPagePolygonAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPagePolygonAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageConvertToJpegWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPageConvertToJpegValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page polygon annotations. (asynchronously) + * Convert document page to Jpeg image and return resulting file in response. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPagePolygonAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToJpegAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15185,43 +15096,49 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPagePolygonAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageConvertToJpegValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPagePopupAnnotations + * Build call for getPageConvertToPng * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPagePopupAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToPngCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/popup" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/png" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -15244,51 +15161,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPagePopupAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageConvertToPngValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPagePopupAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToPng(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPagePopupAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToPng(Async)"); } - com.squareup.okhttp.Call call = getPagePopupAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageConvertToPngCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document page popup annotations. + * Convert document page to Png image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return PopupAnnotationsResponse + * @param storage The document storage. (optional) + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PopupAnnotationsResponse getPagePopupAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public File getPageConvertToPng(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { try { - ApiResponse resp = getPagePopupAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageConvertToPngWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPagePopupAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageConvertToPngWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } throw ex; @@ -15296,33 +15215,37 @@ public PopupAnnotationsResponse getPagePopupAnnotations(String name, Integer pag } /** - * Read document page popup annotations. + * Convert document page to Png image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return ApiResponse<PopupAnnotationsResponse> + * @param storage The document storage. (optional) + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPagePopupAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPagePopupAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageConvertToPngWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPageConvertToPngValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page popup annotations. (asynchronously) + * Convert document page to Png image and return resulting file in response. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPagePopupAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToPngAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15343,43 +15266,49 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPagePopupAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageConvertToPngValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageRedactionAnnotations + * Build call for getPageConvertToTiff * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageRedactionAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToTiffCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/redaction" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/convert/tiff" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -15402,51 +15331,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageRedactionAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageConvertToTiffValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageRedactionAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageConvertToTiff(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageRedactionAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageConvertToTiff(Async)"); } - com.squareup.okhttp.Call call = getPageRedactionAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageConvertToTiffCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document page redaction annotations. + * Convert document page to Tiff image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return RedactionAnnotationsResponse + * @param storage The document storage. (optional) + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public RedactionAnnotationsResponse getPageRedactionAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public File getPageConvertToTiff(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { try { - ApiResponse resp = getPageRedactionAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageConvertToTiffWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageRedactionAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageConvertToTiffWithHttpInfo(name, pageNumber, width, height, folder, storage); return resp.getData(); } throw ex; @@ -15454,33 +15385,37 @@ public RedactionAnnotationsResponse getPageRedactionAnnotations(String name, Int } /** - * Read document page redaction annotations. + * Convert document page to Tiff image and return resulting file in response. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) - * @return ApiResponse<RedactionAnnotationsResponse> + * @param storage The document storage. (optional) + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageRedactionAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageConvertToTiffWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPageConvertToTiffValidateBeforeCall(name, pageNumber, width, height, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page redaction annotations. (asynchronously) + * Convert document page to Tiff image and return resulting file in response. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param storage The document storage. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageRedactionAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageConvertToTiffAsync(String name, Integer pageNumber, Integer width, Integer height, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15501,13 +15436,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageConvertToTiffValidateBeforeCall(name, pageNumber, width, height, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageScreenAnnotations + * Build call for getPageFileAttachmentAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -15517,11 +15452,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageScreenAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageFileAttachmentAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/screen" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/fileattachment" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -15560,51 +15495,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageScreenAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageFileAttachmentAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageScreenAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageFileAttachmentAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageScreenAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageFileAttachmentAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageScreenAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageFileAttachmentAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page screen annotations. + * Read document page FileAttachment annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ScreenAnnotationsResponse + * @return FileAttachmentAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ScreenAnnotationsResponse getPageScreenAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public FileAttachmentAnnotationsResponse getPageFileAttachmentAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageScreenAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageFileAttachmentAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageScreenAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageFileAttachmentAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -15612,23 +15547,23 @@ public ScreenAnnotationsResponse getPageScreenAnnotations(String name, Integer p } /** - * Read document page screen annotations. + * Read document page FileAttachment annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<ScreenAnnotationsResponse> + * @return ApiResponse<FileAttachmentAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageScreenAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageScreenAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageFileAttachmentAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageFileAttachmentAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page screen annotations. (asynchronously) + * Read document page FileAttachment annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -15638,7 +15573,7 @@ public ApiResponse getPageScreenAnnotationsWithHttpIn * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageScreenAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageFileAttachmentAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15659,13 +15594,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageScreenAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageFileAttachmentAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageSoundAnnotations + * Build call for getPageFreeTextAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -15675,11 +15610,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageSoundAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageFreeTextAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/sound" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/freetext" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -15718,51 +15653,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageSoundAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageFreeTextAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageSoundAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageFreeTextAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSoundAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageFreeTextAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageSoundAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageFreeTextAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page sound annotations. + * Read document page free text annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return SoundAnnotationsResponse + * @return FreeTextAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SoundAnnotationsResponse getPageSoundAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public FreeTextAnnotationsResponse getPageFreeTextAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageSoundAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageFreeTextAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageSoundAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageFreeTextAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -15770,23 +15705,23 @@ public SoundAnnotationsResponse getPageSoundAnnotations(String name, Integer pag } /** - * Read document page sound annotations. + * Read document page free text annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<SoundAnnotationsResponse> + * @return ApiResponse<FreeTextAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageSoundAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageSoundAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageFreeTextAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageFreeTextAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page sound annotations. (asynchronously) + * Read document page free text annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -15796,7 +15731,7 @@ public ApiResponse getPageSoundAnnotationsWithHttpInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageSoundAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageFreeTextAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15817,13 +15752,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageSoundAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageFreeTextAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageSquareAnnotations + * Build call for getPageHighlightAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -15833,11 +15768,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageSquareAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageHighlightAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/square" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/highlight" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -15876,51 +15811,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageSquareAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageHighlightAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageSquareAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageHighlightAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSquareAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageHighlightAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageSquareAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageHighlightAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page square annotations. + * Read document page highlight annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return SquareAnnotationsResponse + * @return HighlightAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SquareAnnotationsResponse getPageSquareAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public HighlightAnnotationsResponse getPageHighlightAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageSquareAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageHighlightAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageSquareAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageHighlightAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -15928,23 +15863,23 @@ public SquareAnnotationsResponse getPageSquareAnnotations(String name, Integer p } /** - * Read document page square annotations. + * Read document page highlight annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<SquareAnnotationsResponse> + * @return ApiResponse<HighlightAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageSquareAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageSquareAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageHighlightAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageHighlightAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page square annotations. (asynchronously) + * Read document page highlight annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -15954,7 +15889,7 @@ public ApiResponse getPageSquareAnnotationsWithHttpIn * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageSquareAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageHighlightAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -15975,13 +15910,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageSquareAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageHighlightAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageSquigglyAnnotations + * Build call for getPageInkAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -15991,11 +15926,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageSquigglyAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageInkAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/squiggly" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/ink" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -16034,51 +15969,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageSquigglyAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageInkAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageSquigglyAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageInkAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSquigglyAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageInkAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageSquigglyAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageInkAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page squiggly annotations. + * Read document page ink annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return SquigglyAnnotationsResponse + * @return InkAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SquigglyAnnotationsResponse getPageSquigglyAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public InkAnnotationsResponse getPageInkAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageInkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageInkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -16086,23 +16021,23 @@ public SquigglyAnnotationsResponse getPageSquigglyAnnotations(String name, Integ } /** - * Read document page squiggly annotations. + * Read document page ink annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<SquigglyAnnotationsResponse> + * @return ApiResponse<InkAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageSquigglyAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageInkAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageInkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page squiggly annotations. (asynchronously) + * Read document page ink annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -16112,7 +16047,7 @@ public ApiResponse getPageSquigglyAnnotationsWithHt * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageSquigglyAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageInkAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16133,13 +16068,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageInkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageStampAnnotations + * Build call for getPageLineAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -16149,11 +16084,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageStampAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageLineAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/stamp" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/line" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -16192,51 +16127,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageStampAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageLineAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageStampAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageLineAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStampAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageLineAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageStampAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageLineAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page stamp annotations. + * Read document page line annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return StampAnnotationsResponse + * @return LineAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public StampAnnotationsResponse getPageStampAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public LineAnnotationsResponse getPageLineAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageStampAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageLineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageStampAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageLineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -16244,23 +16179,23 @@ public StampAnnotationsResponse getPageStampAnnotations(String name, Integer pag } /** - * Read document page stamp annotations. + * Read document page line annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<StampAnnotationsResponse> + * @return ApiResponse<LineAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageStampAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageStampAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageLineAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageLineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page stamp annotations. (asynchronously) + * Read document page line annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -16270,7 +16205,7 @@ public ApiResponse getPageStampAnnotationsWithHttpInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageStampAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageLineAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16291,29 +16226,33 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageStampAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageLineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageStamps + * Build call for getPageLinkAnnotation * @param name The document name. (required) * @param pageNumber The page number. (required) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @deprecated */ - public com.squareup.okhttp.Call getPageStampsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + @Deprecated + public com.squareup.okhttp.Call getPageLinkAnnotationCall(String name, Integer pageNumber, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/links/{linkId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())) + .replaceAll("\\{" + "linkId" + "\\}", apiClient.escapeString(linkId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -16350,51 +16289,60 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } + @Deprecated @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageStampsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageLinkAnnotationValidateBeforeCall(String name, Integer pageNumber, String linkId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageStamps(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageLinkAnnotation(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStamps(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageLinkAnnotation(Async)"); + } + + // verify the required parameter 'linkId' is set + if (linkId == null) { + throw new ApiException("Missing the required parameter 'linkId' when calling getPageLinkAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPageStampsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageLinkAnnotationCall(name, pageNumber, linkId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read page document stamps. + * Read document page link annotation by ID. * * @param name The document name. (required) * @param pageNumber The page number. (required) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return StampsInfoResponse + * @return LinkAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @deprecated */ - public StampsInfoResponse getPageStamps(String name, Integer pageNumber, String storage, String folder) throws ApiException { + @Deprecated + public LinkAnnotationResponse getPageLinkAnnotation(String name, Integer pageNumber, String linkId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageStampsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageLinkAnnotationWithHttpInfo(name, pageNumber, linkId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageStampsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageLinkAnnotationWithHttpInfo(name, pageNumber, linkId, storage, folder); return resp.getData(); } throw ex; @@ -16402,33 +16350,39 @@ public StampsInfoResponse getPageStamps(String name, Integer pageNumber, String } /** - * Read page document stamps. + * Read document page link annotation by ID. * * @param name The document name. (required) * @param pageNumber The page number. (required) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<StampsInfoResponse> + * @return ApiResponse<LinkAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @deprecated */ - public ApiResponse getPageStampsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageStampsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + @Deprecated + public ApiResponse getPageLinkAnnotationWithHttpInfo(String name, Integer pageNumber, String linkId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageLinkAnnotationValidateBeforeCall(name, pageNumber, linkId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read page document stamps. (asynchronously) + * Read document page link annotation by ID. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) + * @param linkId The link ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @deprecated */ - public com.squareup.okhttp.Call getPageStampsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + @Deprecated + public com.squareup.okhttp.Call getPageLinkAnnotationAsync(String name, Integer pageNumber, String linkId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16449,13 +16403,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageStampsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageLinkAnnotationValidateBeforeCall(name, pageNumber, linkId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageStrikeOutAnnotations + * Build call for getPageLinkAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -16465,11 +16419,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageStrikeOutAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageLinkAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/strikeout" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/links" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -16508,51 +16462,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageStrikeOutAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageLinkAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageStrikeOutAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageLinkAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStrikeOutAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageLinkAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageLinkAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page StrikeOut annotations. + * Read document page link annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return StrikeOutAnnotationsResponse + * @return LinkAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public StrikeOutAnnotationsResponse getPageStrikeOutAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public LinkAnnotationsResponse getPageLinkAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageLinkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageLinkAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -16560,23 +16514,23 @@ public StrikeOutAnnotationsResponse getPageStrikeOutAnnotations(String name, Int } /** - * Read document page StrikeOut annotations. + * Read document page link annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<StrikeOutAnnotationsResponse> + * @return ApiResponse<LinkAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageStrikeOutAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageLinkAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageLinkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page StrikeOut annotations. (asynchronously) + * Read document page link annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -16586,7 +16540,7 @@ public ApiResponse getPageStrikeOutAnnotationsWith * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageStrikeOutAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageLinkAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16607,27 +16561,27 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageLinkAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageTables - * @param name (required) - * @param pageNumber (required) - * @param storage (optional) - * @param folder (optional) + * Build call for getPageMovieAnnotations + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageTablesCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageMovieAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/tables" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/movie" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -16666,51 +16620,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageTablesValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageMovieAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageTables(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageMovieAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageTables(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageMovieAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageTablesCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageMovieAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page tables. + * Read document page movie annotations. * - * @param name (required) - * @param pageNumber (required) - * @param storage (optional) - * @param folder (optional) - * @return TablesRecognizedResponse + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return MovieAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TablesRecognizedResponse getPageTables(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public MovieAnnotationsResponse getPageMovieAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageTablesWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPageMovieAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageTablesWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageMovieAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -16718,33 +16672,33 @@ public TablesRecognizedResponse getPageTables(String name, Integer pageNumber, S } /** - * Read document page tables. + * Read document page movie annotations. * - * @param name (required) - * @param pageNumber (required) - * @param storage (optional) - * @param folder (optional) - * @return ApiResponse<TablesRecognizedResponse> + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<MovieAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageTablesWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageTablesValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageMovieAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageMovieAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page tables. (asynchronously) + * Read document page movie annotations. (asynchronously) * - * @param name (required) - * @param pageNumber (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageTablesAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageMovieAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16765,57 +16719,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageTablesValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageMovieAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageText + * Build call for getPagePolyLineAnnotations * @param name The document name. (required) - * @param pageNumber Number of page (starting from 1). (required) - * @param LLX X-coordinate of lower - left corner. (required) - * @param LLY Y - coordinate of lower-left corner. (required) - * @param URX X - coordinate of upper-right corner. (required) - * @param URY Y - coordinate of upper-right corner. (required) - * @param format List of formats for search. (optional) - * @param regex Formats are specified as a regular expression. (optional) - * @param splitRects Split result fragments (default is true). (optional) - * @param folder The document folder. (optional) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageTextCall(String name, Integer pageNumber, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPagePolyLineAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/text" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/polyline" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (format != null) - localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("multi", "format", format)); - if (regex != null) - localVarQueryParams.addAll(apiClient.parameterToPair("regex", regex)); - if (splitRects != null) - localVarQueryParams.addAll(apiClient.parameterToPair("splitRects", splitRects)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); - if (LLX != null) - localVarQueryParams.addAll(apiClient.parameterToPair("LLX", LLX)); - if (LLY != null) - localVarQueryParams.addAll(apiClient.parameterToPair("LLY", LLY)); - if (URX != null) - localVarQueryParams.addAll(apiClient.parameterToPair("URX", URX)); - if (URY != null) - localVarQueryParams.addAll(apiClient.parameterToPair("URY", URY)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -16845,78 +16778,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageTextValidateBeforeCall(String name, Integer pageNumber, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPagePolyLineAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageText(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPagePolyLineAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageText(Async)"); - } - - // verify the required parameter 'LLX' is set - if (LLX == null) { - throw new ApiException("Missing the required parameter 'LLX' when calling getPageText(Async)"); - } - - // verify the required parameter 'LLY' is set - if (LLY == null) { - throw new ApiException("Missing the required parameter 'LLY' when calling getPageText(Async)"); - } - - // verify the required parameter 'URX' is set - if (URX == null) { - throw new ApiException("Missing the required parameter 'URX' when calling getPageText(Async)"); - } - - // verify the required parameter 'URY' is set - if (URY == null) { - throw new ApiException("Missing the required parameter 'URY' when calling getPageText(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPagePolyLineAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageTextCall(name, pageNumber, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPagePolyLineAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read page text items. + * Read document page polyline annotations. * * @param name The document name. (required) - * @param pageNumber Number of page (starting from 1). (required) - * @param LLX X-coordinate of lower - left corner. (required) - * @param LLY Y - coordinate of lower-left corner. (required) - * @param URX X - coordinate of upper-right corner. (required) - * @param URY Y - coordinate of upper-right corner. (required) - * @param format List of formats for search. (optional) - * @param regex Formats are specified as a regular expression. (optional) - * @param splitRects Split result fragments (default is true). (optional) - * @param folder The document folder. (optional) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) - * @return TextRectsResponse + * @param folder The document folder. (optional) + * @return PolyLineAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TextRectsResponse getPageText(String name, Integer pageNumber, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage) throws ApiException { + public PolyLineAnnotationsResponse getPagePolyLineAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageTextWithHttpInfo(name, pageNumber, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage); + ApiResponse resp = getPagePolyLineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageTextWithHttpInfo(name, pageNumber, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getPagePolyLineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -16924,47 +16830,33 @@ public TextRectsResponse getPageText(String name, Integer pageNumber, Double LLX } /** - * Read page text items. + * Read document page polyline annotations. * * @param name The document name. (required) - * @param pageNumber Number of page (starting from 1). (required) - * @param LLX X-coordinate of lower - left corner. (required) - * @param LLY Y - coordinate of lower-left corner. (required) - * @param URX X - coordinate of upper-right corner. (required) - * @param URY Y - coordinate of upper-right corner. (required) - * @param format List of formats for search. (optional) - * @param regex Formats are specified as a regular expression. (optional) - * @param splitRects Split result fragments (default is true). (optional) - * @param folder The document folder. (optional) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) - * @return ApiResponse<TextRectsResponse> + * @param folder The document folder. (optional) + * @return ApiResponse<PolyLineAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageTextWithHttpInfo(String name, Integer pageNumber, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPageTextValidateBeforeCall(name, pageNumber, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPagePolyLineAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPagePolyLineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read page text items. (asynchronously) + * Read document page polyline annotations. (asynchronously) * * @param name The document name. (required) - * @param pageNumber Number of page (starting from 1). (required) - * @param LLX X-coordinate of lower - left corner. (required) - * @param LLY Y - coordinate of lower-left corner. (required) - * @param URX X - coordinate of upper-right corner. (required) - * @param URY Y - coordinate of upper-right corner. (required) - * @param format List of formats for search. (optional) - * @param regex Formats are specified as a regular expression. (optional) - * @param splitRects Split result fragments (default is true). (optional) - * @param folder The document folder. (optional) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageTextAsync(String name, Integer pageNumber, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPagePolyLineAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -16985,13 +16877,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageTextValidateBeforeCall(name, pageNumber, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPagePolyLineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageTextAnnotations + * Build call for getPagePolygonAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -17001,11 +16893,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageTextAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPagePolygonAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/text" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/polygon" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -17044,51 +16936,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageTextAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPagePolygonAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageTextAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPagePolygonAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageTextAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPagePolygonAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageTextAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPagePolygonAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page text annotations. + * Read document page polygon annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return TextAnnotationsResponse + * @return PolygonAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TextAnnotationsResponse getPageTextAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public PolygonAnnotationsResponse getPagePolygonAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageTextAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPagePolygonAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageTextAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPagePolygonAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -17096,23 +16988,23 @@ public TextAnnotationsResponse getPageTextAnnotations(String name, Integer pageN } /** - * Read document page text annotations. + * Read document page polygon annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<TextAnnotationsResponse> + * @return ApiResponse<PolygonAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageTextAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageTextAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPagePolygonAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPagePolygonAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page text annotations. (asynchronously) + * Read document page polygon annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -17122,7 +17014,7 @@ public ApiResponse getPageTextAnnotationsWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageTextAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPagePolygonAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17143,13 +17035,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageTextAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPagePolygonAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPageUnderlineAnnotations + * Build call for getPagePopupAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) @@ -17159,11 +17051,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPageUnderlineAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPagePopupAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/underline" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/popup" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -17202,51 +17094,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPageUnderlineAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPagePopupAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPageUnderlineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPagePopupAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageUnderlineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPagePopupAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPageUnderlineAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPagePopupAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page underline annotations. + * Read document page popup annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return UnderlineAnnotationsResponse + * @return PopupAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public UnderlineAnnotationsResponse getPageUnderlineAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + public PopupAnnotationsResponse getPagePopupAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPageUnderlineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + ApiResponse resp = getPagePopupAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPageUnderlineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPagePopupAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -17254,23 +17146,23 @@ public UnderlineAnnotationsResponse getPageUnderlineAnnotations(String name, Int } /** - * Read document page underline annotations. + * Read document page popup annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<UnderlineAnnotationsResponse> + * @return ApiResponse<PopupAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPageUnderlineAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPageUnderlineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPagePopupAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPagePopupAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page underline annotations. (asynchronously) + * Read document page popup annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -17280,7 +17172,7 @@ public ApiResponse getPageUnderlineAnnotationsWith * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPageUnderlineAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPagePopupAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17301,14 +17193,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPageUnderlineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPagePopupAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPages + * Build call for getPageRedactionAnnotations * @param name The document name. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -17316,12 +17209,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPagesCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageRedactionAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/redaction" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -17358,45 +17252,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPagesValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageRedactionAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPages(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageRedactionAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageRedactionAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPagesCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageRedactionAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document pages info. + * Read document page redaction annotations. * * @param name The document name. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return DocumentPagesResponse + * @return RedactionAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public DocumentPagesResponse getPages(String name, String storage, String folder) throws ApiException { + public RedactionAnnotationsResponse getPageRedactionAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPagesWithHttpInfo(name, storage, folder); + ApiResponse resp = getPageRedactionAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPagesWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getPageRedactionAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -17404,31 +17304,33 @@ public DocumentPagesResponse getPages(String name, String storage, String folder } /** - * Read document pages info. + * Read document page redaction annotations. * * @param name The document name. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<DocumentPagesResponse> + * @return ApiResponse<RedactionAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPagesWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPagesValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageRedactionAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document pages info. (asynchronously) + * Read document page redaction annotations. (asynchronously) * * @param name The document name. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPagesAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageRedactionAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17449,39 +17351,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPagesValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPclInStorageToPdf - * @param srcPath Full source filename (ex. /folder1/folder2/template.pcl) (required) + * Build call for getPageScreenAnnotations + * @param name The document name. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPclInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageScreenAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/create/pcl"; + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/screen" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -17504,44 +17410,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPclInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageScreenAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling getPclInStorageToPdf(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPageScreenAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageScreenAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPclInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageScreenAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert PCL file (located on storage) to PDF format and return resulting file in response. + * Read document page screen annotations. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.pcl) (required) + * @param name The document name. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return ScreenAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPclInStorageToPdf(String srcPath, String storage) throws ApiException { + public ScreenAnnotationsResponse getPageScreenAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPclInStorageToPdfWithHttpInfo(srcPath, storage); + ApiResponse resp = getPageScreenAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPclInStorageToPdfWithHttpInfo(srcPath, storage); + apiClient.requestToken(); + ApiResponse resp = getPageScreenAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -17549,29 +17462,33 @@ public File getPclInStorageToPdf(String srcPath, String storage) throws ApiExcep } /** - * Convert PCL file (located on storage) to PDF format and return resulting file in response. + * Read document page screen annotations. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.pcl) (required) + * @param name The document name. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<ScreenAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPclInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPclInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageScreenAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageScreenAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert PCL file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * Read document page screen annotations. (asynchronously) * - * @param srcPath Full source filename (ex. /folder1/folder2/template.pcl) (required) + * @param name The document name. (required) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPclInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageScreenAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17592,65 +17509,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPclInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageScreenAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToDoc + * Build call for getPageSoundAnnotations * @param name The document name. (required) - * @param addReturnToLineEnd Add return to line end. (optional) - * @param format Allows to specify .doc or .docx file format. (optional) - * @param imageResolutionX Image resolution X. (optional) - * @param imageResolutionY Image resolution Y. (optional) - * @param maxDistanceBetweenTextLines Max distance between text lines. (optional) - * @param mode Allows to control how a PDF document is converted into a word processing document. (optional) - * @param recognizeBullets Recognize bullets. (optional) - * @param relativeHorizontalProximity Relative horizontal proximity. (optional) - * @param folder The document folder. (optional) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToDocCall(String name, Boolean addReturnToLineEnd, String format, Integer imageResolutionX, Integer imageResolutionY, Double maxDistanceBetweenTextLines, String mode, Boolean recognizeBullets, Double relativeHorizontalProximity, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageSoundAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/doc" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/sound" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (addReturnToLineEnd != null) - localVarQueryParams.addAll(apiClient.parameterToPair("addReturnToLineEnd", addReturnToLineEnd)); - if (format != null) - localVarQueryParams.addAll(apiClient.parameterToPair("format", format)); - if (imageResolutionX != null) - localVarQueryParams.addAll(apiClient.parameterToPair("imageResolutionX", imageResolutionX)); - if (imageResolutionY != null) - localVarQueryParams.addAll(apiClient.parameterToPair("imageResolutionY", imageResolutionY)); - if (maxDistanceBetweenTextLines != null) - localVarQueryParams.addAll(apiClient.parameterToPair("maxDistanceBetweenTextLines", maxDistanceBetweenTextLines)); - if (mode != null) - localVarQueryParams.addAll(apiClient.parameterToPair("mode", mode)); - if (recognizeBullets != null) - localVarQueryParams.addAll(apiClient.parameterToPair("recognizeBullets", recognizeBullets)); - if (relativeHorizontalProximity != null) - localVarQueryParams.addAll(apiClient.parameterToPair("relativeHorizontalProximity", relativeHorizontalProximity)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -17673,53 +17568,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToDocValidateBeforeCall(String name, Boolean addReturnToLineEnd, String format, Integer imageResolutionX, Integer imageResolutionY, Double maxDistanceBetweenTextLines, String mode, Boolean recognizeBullets, Double relativeHorizontalProximity, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPageSoundAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToDoc(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPageSoundAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSoundAnnotations(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToDocCall(name, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPageSoundAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to DOC format and returns resulting file in response content + * Read document page sound annotations. * * @param name The document name. (required) - * @param addReturnToLineEnd Add return to line end. (optional) - * @param format Allows to specify .doc or .docx file format. (optional) - * @param imageResolutionX Image resolution X. (optional) - * @param imageResolutionY Image resolution Y. (optional) - * @param maxDistanceBetweenTextLines Max distance between text lines. (optional) - * @param mode Allows to control how a PDF document is converted into a word processing document. (optional) - * @param recognizeBullets Recognize bullets. (optional) - * @param relativeHorizontalProximity Relative horizontal proximity. (optional) - * @param folder The document folder. (optional) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return SoundAnnotationsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToDoc(String name, Boolean addReturnToLineEnd, String format, Integer imageResolutionX, Integer imageResolutionY, Double maxDistanceBetweenTextLines, String mode, Boolean recognizeBullets, Double relativeHorizontalProximity, String folder, String storage) throws ApiException { + public SoundAnnotationsResponse getPageSoundAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPdfInStorageToDocWithHttpInfo(name, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage); + ApiResponse resp = getPageSoundAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToDocWithHttpInfo(name, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getPageSoundAnnotationsWithHttpInfo(name, pageNumber, storage, folder); return resp.getData(); } throw ex; @@ -17727,47 +17620,33 @@ public File getPdfInStorageToDoc(String name, Boolean addReturnToLineEnd, String } /** - * Converts PDF document (located on storage) to DOC format and returns resulting file in response content + * Read document page sound annotations. * * @param name The document name. (required) - * @param addReturnToLineEnd Add return to line end. (optional) - * @param format Allows to specify .doc or .docx file format. (optional) - * @param imageResolutionX Image resolution X. (optional) - * @param imageResolutionY Image resolution Y. (optional) - * @param maxDistanceBetweenTextLines Max distance between text lines. (optional) - * @param mode Allows to control how a PDF document is converted into a word processing document. (optional) - * @param recognizeBullets Recognize bullets. (optional) - * @param relativeHorizontalProximity Relative horizontal proximity. (optional) - * @param folder The document folder. (optional) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<SoundAnnotationsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToDocWithHttpInfo(String name, Boolean addReturnToLineEnd, String format, Integer imageResolutionX, Integer imageResolutionY, Double maxDistanceBetweenTextLines, String mode, Boolean recognizeBullets, Double relativeHorizontalProximity, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToDocValidateBeforeCall(name, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPageSoundAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageSoundAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to DOC format and returns resulting file in response content (asynchronously) + * Read document page sound annotations. (asynchronously) * * @param name The document name. (required) - * @param addReturnToLineEnd Add return to line end. (optional) - * @param format Allows to specify .doc or .docx file format. (optional) - * @param imageResolutionX Image resolution X. (optional) - * @param imageResolutionY Image resolution Y. (optional) - * @param maxDistanceBetweenTextLines Max distance between text lines. (optional) - * @param mode Allows to control how a PDF document is converted into a word processing document. (optional) - * @param recognizeBullets Recognize bullets. (optional) - * @param relativeHorizontalProximity Relative horizontal proximity. (optional) - * @param folder The document folder. (optional) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToDocAsync(String name, Boolean addReturnToLineEnd, String format, Integer imageResolutionX, Integer imageResolutionY, Double maxDistanceBetweenTextLines, String mode, Boolean recognizeBullets, Double relativeHorizontalProximity, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPageSoundAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17788,44 +17667,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToDocValidateBeforeCall(name, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPageSoundAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToEpub + * Build call for getPageSquareAnnotations * @param name The document name. (required) - * @param contentRecognitionMode Property tunes conversion for this or that desirable method of recognition of content. (optional) - * @param folder The document folder. (optional) + * @param pageNumber The page number. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToEpubCall(String name, String contentRecognitionMode, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPageSquareAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/epub" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/square" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (contentRecognitionMode != null) - localVarQueryParams.addAll(apiClient.parameterToPair("contentRecognitionMode", contentRecognitionMode)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -17848,7 +17726,1979 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPageSquareAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPageSquareAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSquareAnnotations(Async)"); + } + + + com.squareup.okhttp.Call call = getPageSquareAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + return call; + + } + + /** + * Read document page square annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return SquareAnnotationsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public SquareAnnotationsResponse getPageSquareAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + try + { + ApiResponse resp = getPageSquareAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPageSquareAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + throw ex; + } + } + + /** + * Read document page square annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<SquareAnnotationsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPageSquareAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageSquareAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Read document page square annotations. (asynchronously) + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPageSquareAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPageSquareAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPageSquigglyAnnotations + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPageSquigglyAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/squiggly" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPageSquigglyAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPageSquigglyAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageSquigglyAnnotations(Async)"); + } + + + com.squareup.okhttp.Call call = getPageSquigglyAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + return call; + + } + + /** + * Read document page squiggly annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return SquigglyAnnotationsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public SquigglyAnnotationsResponse getPageSquigglyAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + try + { + ApiResponse resp = getPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + throw ex; + } + } + + /** + * Read document page squiggly annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<SquigglyAnnotationsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPageSquigglyAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Read document page squiggly annotations. (asynchronously) + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPageSquigglyAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPageStampAnnotations + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPageStampAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/stamp" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPageStampAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPageStampAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStampAnnotations(Async)"); + } + + + com.squareup.okhttp.Call call = getPageStampAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + return call; + + } + + /** + * Read document page stamp annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return StampAnnotationsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public StampAnnotationsResponse getPageStampAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + try + { + ApiResponse resp = getPageStampAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPageStampAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + throw ex; + } + } + + /** + * Read document page stamp annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<StampAnnotationsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPageStampAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageStampAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Read document page stamp annotations. (asynchronously) + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPageStampAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPageStampAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPageStamps + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPageStampsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPageStampsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPageStamps(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStamps(Async)"); + } + + + com.squareup.okhttp.Call call = getPageStampsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + return call; + + } + + /** + * Read page document stamps. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return StampsInfoResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public StampsInfoResponse getPageStamps(String name, Integer pageNumber, String storage, String folder) throws ApiException { + try + { + ApiResponse resp = getPageStampsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPageStampsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + throw ex; + } + } + + /** + * Read page document stamps. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<StampsInfoResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPageStampsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageStampsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Read page document stamps. (asynchronously) + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPageStampsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPageStampsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPageStrikeOutAnnotations + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPageStrikeOutAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/strikeout" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPageStrikeOutAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPageStrikeOutAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageStrikeOutAnnotations(Async)"); + } + + + com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + return call; + + } + + /** + * Read document page StrikeOut annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return StrikeOutAnnotationsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public StrikeOutAnnotationsResponse getPageStrikeOutAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + try + { + ApiResponse resp = getPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + throw ex; + } + } + + /** + * Read document page StrikeOut annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<StrikeOutAnnotationsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPageStrikeOutAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Read document page StrikeOut annotations. (asynchronously) + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPageStrikeOutAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPageTables + * @param name (required) + * @param pageNumber (required) + * @param storage (optional) + * @param folder (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPageTablesCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/pages/{pageNumber}/tables" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPageTablesValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPageTables(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageTables(Async)"); + } + + + com.squareup.okhttp.Call call = getPageTablesCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + return call; + + } + + /** + * Read document page tables. + * + * @param name (required) + * @param pageNumber (required) + * @param storage (optional) + * @param folder (optional) + * @return TablesRecognizedResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public TablesRecognizedResponse getPageTables(String name, Integer pageNumber, String storage, String folder) throws ApiException { + try + { + ApiResponse resp = getPageTablesWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPageTablesWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + throw ex; + } + } + + /** + * Read document page tables. + * + * @param name (required) + * @param pageNumber (required) + * @param storage (optional) + * @param folder (optional) + * @return ApiResponse<TablesRecognizedResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPageTablesWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageTablesValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Read document page tables. (asynchronously) + * + * @param name (required) + * @param pageNumber (required) + * @param storage (optional) + * @param folder (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPageTablesAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPageTablesValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPageText + * @param name The document name. (required) + * @param pageNumber Number of page (starting from 1). (required) + * @param LLX X-coordinate of lower - left corner. (required) + * @param LLY Y - coordinate of lower-left corner. (required) + * @param URX X - coordinate of upper-right corner. (required) + * @param URY Y - coordinate of upper-right corner. (required) + * @param format List of formats for search. (optional) + * @param regex Formats are specified as a regular expression. (optional) + * @param splitRects Split result fragments (default is true). (optional, default to true) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPageTextCall(String name, Integer pageNumber, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/pages/{pageNumber}/text" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (format != null) + localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("csv", "format", format)); + if (regex != null) + localVarQueryParams.addAll(apiClient.parameterToPair("regex", regex)); + if (splitRects != null) + localVarQueryParams.addAll(apiClient.parameterToPair("splitRects", splitRects)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (LLX != null) + localVarQueryParams.addAll(apiClient.parameterToPair("LLX", LLX)); + if (LLY != null) + localVarQueryParams.addAll(apiClient.parameterToPair("LLY", LLY)); + if (URX != null) + localVarQueryParams.addAll(apiClient.parameterToPair("URX", URX)); + if (URY != null) + localVarQueryParams.addAll(apiClient.parameterToPair("URY", URY)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPageTextValidateBeforeCall(String name, Integer pageNumber, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPageText(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageText(Async)"); + } + + // verify the required parameter 'LLX' is set + if (LLX == null) { + throw new ApiException("Missing the required parameter 'LLX' when calling getPageText(Async)"); + } + + // verify the required parameter 'LLY' is set + if (LLY == null) { + throw new ApiException("Missing the required parameter 'LLY' when calling getPageText(Async)"); + } + + // verify the required parameter 'URX' is set + if (URX == null) { + throw new ApiException("Missing the required parameter 'URX' when calling getPageText(Async)"); + } + + // verify the required parameter 'URY' is set + if (URY == null) { + throw new ApiException("Missing the required parameter 'URY' when calling getPageText(Async)"); + } + + + com.squareup.okhttp.Call call = getPageTextCall(name, pageNumber, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Read page text items. + * + * @param name The document name. (required) + * @param pageNumber Number of page (starting from 1). (required) + * @param LLX X-coordinate of lower - left corner. (required) + * @param LLY Y - coordinate of lower-left corner. (required) + * @param URX X - coordinate of upper-right corner. (required) + * @param URY Y - coordinate of upper-right corner. (required) + * @param format List of formats for search. (optional) + * @param regex Formats are specified as a regular expression. (optional) + * @param splitRects Split result fragments (default is true). (optional, default to true) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return TextRectsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public TextRectsResponse getPageText(String name, Integer pageNumber, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPageTextWithHttpInfo(name, pageNumber, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPageTextWithHttpInfo(name, pageNumber, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Read page text items. + * + * @param name The document name. (required) + * @param pageNumber Number of page (starting from 1). (required) + * @param LLX X-coordinate of lower - left corner. (required) + * @param LLY Y - coordinate of lower-left corner. (required) + * @param URX X - coordinate of upper-right corner. (required) + * @param URY Y - coordinate of upper-right corner. (required) + * @param format List of formats for search. (optional) + * @param regex Formats are specified as a regular expression. (optional) + * @param splitRects Split result fragments (default is true). (optional, default to true) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<TextRectsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPageTextWithHttpInfo(String name, Integer pageNumber, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPageTextValidateBeforeCall(name, pageNumber, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Read page text items. (asynchronously) + * + * @param name The document name. (required) + * @param pageNumber Number of page (starting from 1). (required) + * @param LLX X-coordinate of lower - left corner. (required) + * @param LLY Y - coordinate of lower-left corner. (required) + * @param URX X - coordinate of upper-right corner. (required) + * @param URY Y - coordinate of upper-right corner. (required) + * @param format List of formats for search. (optional) + * @param regex Formats are specified as a regular expression. (optional) + * @param splitRects Split result fragments (default is true). (optional, default to true) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPageTextAsync(String name, Integer pageNumber, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPageTextValidateBeforeCall(name, pageNumber, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPageTextAnnotations + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPageTextAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/text" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPageTextAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPageTextAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageTextAnnotations(Async)"); + } + + + com.squareup.okhttp.Call call = getPageTextAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + return call; + + } + + /** + * Read document page text annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return TextAnnotationsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public TextAnnotationsResponse getPageTextAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + try + { + ApiResponse resp = getPageTextAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPageTextAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + throw ex; + } + } + + /** + * Read document page text annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<TextAnnotationsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPageTextAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageTextAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Read document page text annotations. (asynchronously) + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPageTextAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPageTextAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPageUnderlineAnnotations + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPageUnderlineAnnotationsCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/underline" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPageUnderlineAnnotationsValidateBeforeCall(String name, Integer pageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPageUnderlineAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling getPageUnderlineAnnotations(Async)"); + } + + + com.squareup.okhttp.Call call = getPageUnderlineAnnotationsCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + return call; + + } + + /** + * Read document page underline annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return UnderlineAnnotationsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public UnderlineAnnotationsResponse getPageUnderlineAnnotations(String name, Integer pageNumber, String storage, String folder) throws ApiException { + try + { + ApiResponse resp = getPageUnderlineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPageUnderlineAnnotationsWithHttpInfo(name, pageNumber, storage, folder); + return resp.getData(); + } + throw ex; + } + } + + /** + * Read document page underline annotations. + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<UnderlineAnnotationsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPageUnderlineAnnotationsWithHttpInfo(String name, Integer pageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPageUnderlineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Read document page underline annotations. (asynchronously) + * + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPageUnderlineAnnotationsAsync(String name, Integer pageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPageUnderlineAnnotationsValidateBeforeCall(name, pageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPages + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPagesCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/pages" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPagesValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPages(Async)"); + } + + + com.squareup.okhttp.Call call = getPagesCall(name, storage, folder, progressListener, progressRequestListener); + return call; + + } + + /** + * Read document pages info. + * + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return DocumentPagesResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DocumentPagesResponse getPages(String name, String storage, String folder) throws ApiException { + try + { + ApiResponse resp = getPagesWithHttpInfo(name, storage, folder); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPagesWithHttpInfo(name, storage, folder); + return resp.getData(); + } + throw ex; + } + } + + /** + * Read document pages info. + * + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<DocumentPagesResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPagesWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPagesValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Read document pages info. (asynchronously) + * + * @param name The document name. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPagesAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPagesValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPclInStorageToPdf + * @param srcPath Full source filename (ex. /folder1/folder2/template.pcl) (required) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPclInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/create/pcl"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPclInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling getPclInStorageToPdf(Async)"); + } + + + com.squareup.okhttp.Call call = getPclInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Convert PCL file (located on storage) to PDF format and return resulting file in response. + * + * @param srcPath Full source filename (ex. /folder1/folder2/template.pcl) (required) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPclInStorageToPdf(String srcPath, String storage) throws ApiException { + try + { + ApiResponse resp = getPclInStorageToPdfWithHttpInfo(srcPath, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPclInStorageToPdfWithHttpInfo(srcPath, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Convert PCL file (located on storage) to PDF format and return resulting file in response. + * + * @param srcPath Full source filename (ex. /folder1/folder2/template.pcl) (required) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPclInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPclInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Convert PCL file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * + * @param srcPath Full source filename (ex. /folder1/folder2/template.pcl) (required) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPclInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPclInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToDoc + * @param name The document name. (required) + * @param addReturnToLineEnd Add return to line end. (optional) + * @param format Allows to specify .doc or .docx file format. (optional) + * @param imageResolutionX Image resolution X. (optional) + * @param imageResolutionY Image resolution Y. (optional) + * @param maxDistanceBetweenTextLines Max distance between text lines. (optional) + * @param mode Allows to control how a PDF document is converted into a word processing document. (optional) + * @param recognizeBullets Recognize bullets. (optional) + * @param relativeHorizontalProximity Relative horizontal proximity. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToDocCall(String name, Boolean addReturnToLineEnd, String format, Integer imageResolutionX, Integer imageResolutionY, Double maxDistanceBetweenTextLines, String mode, Boolean recognizeBullets, Double relativeHorizontalProximity, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/doc" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (addReturnToLineEnd != null) + localVarQueryParams.addAll(apiClient.parameterToPair("addReturnToLineEnd", addReturnToLineEnd)); + if (format != null) + localVarQueryParams.addAll(apiClient.parameterToPair("format", format)); + if (imageResolutionX != null) + localVarQueryParams.addAll(apiClient.parameterToPair("imageResolutionX", imageResolutionX)); + if (imageResolutionY != null) + localVarQueryParams.addAll(apiClient.parameterToPair("imageResolutionY", imageResolutionY)); + if (maxDistanceBetweenTextLines != null) + localVarQueryParams.addAll(apiClient.parameterToPair("maxDistanceBetweenTextLines", maxDistanceBetweenTextLines)); + if (mode != null) + localVarQueryParams.addAll(apiClient.parameterToPair("mode", mode)); + if (recognizeBullets != null) + localVarQueryParams.addAll(apiClient.parameterToPair("recognizeBullets", recognizeBullets)); + if (relativeHorizontalProximity != null) + localVarQueryParams.addAll(apiClient.parameterToPair("relativeHorizontalProximity", relativeHorizontalProximity)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToDocValidateBeforeCall(String name, Boolean addReturnToLineEnd, String format, Integer imageResolutionX, Integer imageResolutionY, Double maxDistanceBetweenTextLines, String mode, Boolean recognizeBullets, Double relativeHorizontalProximity, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToDoc(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToDocCall(name, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to DOC format and returns resulting file in response content + * + * @param name The document name. (required) + * @param addReturnToLineEnd Add return to line end. (optional) + * @param format Allows to specify .doc or .docx file format. (optional) + * @param imageResolutionX Image resolution X. (optional) + * @param imageResolutionY Image resolution Y. (optional) + * @param maxDistanceBetweenTextLines Max distance between text lines. (optional) + * @param mode Allows to control how a PDF document is converted into a word processing document. (optional) + * @param recognizeBullets Recognize bullets. (optional) + * @param relativeHorizontalProximity Relative horizontal proximity. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToDoc(String name, Boolean addReturnToLineEnd, String format, Integer imageResolutionX, Integer imageResolutionY, Double maxDistanceBetweenTextLines, String mode, Boolean recognizeBullets, Double relativeHorizontalProximity, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToDocWithHttpInfo(name, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToDocWithHttpInfo(name, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to DOC format and returns resulting file in response content + * + * @param name The document name. (required) + * @param addReturnToLineEnd Add return to line end. (optional) + * @param format Allows to specify .doc or .docx file format. (optional) + * @param imageResolutionX Image resolution X. (optional) + * @param imageResolutionY Image resolution Y. (optional) + * @param maxDistanceBetweenTextLines Max distance between text lines. (optional) + * @param mode Allows to control how a PDF document is converted into a word processing document. (optional) + * @param recognizeBullets Recognize bullets. (optional) + * @param relativeHorizontalProximity Relative horizontal proximity. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToDocWithHttpInfo(String name, Boolean addReturnToLineEnd, String format, Integer imageResolutionX, Integer imageResolutionY, Double maxDistanceBetweenTextLines, String mode, Boolean recognizeBullets, Double relativeHorizontalProximity, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToDocValidateBeforeCall(name, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to DOC format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param addReturnToLineEnd Add return to line end. (optional) + * @param format Allows to specify .doc or .docx file format. (optional) + * @param imageResolutionX Image resolution X. (optional) + * @param imageResolutionY Image resolution Y. (optional) + * @param maxDistanceBetweenTextLines Max distance between text lines. (optional) + * @param mode Allows to control how a PDF document is converted into a word processing document. (optional) + * @param recognizeBullets Recognize bullets. (optional) + * @param relativeHorizontalProximity Relative horizontal proximity. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToDocAsync(String name, Boolean addReturnToLineEnd, String format, Integer imageResolutionX, Integer imageResolutionY, Double maxDistanceBetweenTextLines, String mode, Boolean recognizeBullets, Double relativeHorizontalProximity, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToDocValidateBeforeCall(name, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToEpub + * @param name The document name. (required) + * @param contentRecognitionMode Property tunes conversion for this or that desirable method of recognition of content. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToEpubCall(String name, String contentRecognitionMode, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/epub" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (contentRecognitionMode != null) + localVarQueryParams.addAll(apiClient.parameterToPair("contentRecognitionMode", contentRecognitionMode)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -17857,37 +19707,1704 @@ private com.squareup.okhttp.Call getPdfInStorageToEpubValidateBeforeCall(String // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToEpub(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToEpub(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToEpubCall(name, contentRecognitionMode, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to EPUB format and returns resulting file in response content + * + * @param name The document name. (required) + * @param contentRecognitionMode Property tunes conversion for this or that desirable method of recognition of content. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToEpub(String name, String contentRecognitionMode, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToEpubWithHttpInfo(name, contentRecognitionMode, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToEpubWithHttpInfo(name, contentRecognitionMode, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to EPUB format and returns resulting file in response content + * + * @param name The document name. (required) + * @param contentRecognitionMode Property tunes conversion for this or that desirable method of recognition of content. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToEpubWithHttpInfo(String name, String contentRecognitionMode, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToEpubValidateBeforeCall(name, contentRecognitionMode, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to EPUB format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param contentRecognitionMode Property tunes conversion for this or that desirable method of recognition of content. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToEpubAsync(String name, String contentRecognitionMode, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToEpubValidateBeforeCall(name, contentRecognitionMode, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToHtml + * @param name The document name. (required) + * @param additionalMarginWidthInPoints Defines width of margin that will be forcibly left around that output HTML-areas. (optional) + * @param compressSvgGraphicsIfAny The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. (optional) + * @param convertMarkedContentToLayers If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with \"data-pdflayer\" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. (optional) + * @param defaultFontName Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. (optional) + * @param documentType Result document type. (optional) + * @param fixedLayout The value indicating whether that HTML is created as fixed layout. (optional) + * @param imageResolution Resolution for image rendering. (optional) + * @param minimalLineWidth This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. (optional) + * @param preventGlyphsGrouping This attribute switch on the mode when text glyphs will not be grouped into words and strings This mode allows to keep maximum precision during positioning of glyphs on the page and it can be used for conversion documents with music notes or glyphs that should be placed separately each other. This parameter will be applied to document only when the value of FixedLayout attribute is true. (optional) + * @param splitCssIntoPages When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. (optional) + * @param splitIntoPages The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. (optional) + * @param useZOrder If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. (optional) + * @param antialiasingProcessing The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. (optional) + * @param cssClassNamesPrefix When PDFtoHTML converter generates result CSSs, CSS class names (something like \".stl_01 {}\" ... \".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. (optional) + * @param explicitListOfSavedPages With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. (optional) + * @param fontEncodingStrategy Defines encoding special rule to tune PDF decoding for current document. (optional) + * @param fontSavingMode Defines font saving mode that will be used during saving of PDF to desirable format. (optional) + * @param htmlMarkupGenerationMode Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. (optional) + * @param lettersPositioningMethod The mode of positioning of letters in words in result HTML. (optional) + * @param pagesFlowTypeDependsOnViewersScreenSize If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. (optional) + * @param partsEmbeddingMode It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. (optional) + * @param rasterImagesSavingMode Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. (optional) + * @param removeEmptyAreasOnTopAndBottom Defines whether in created HTML will be removed top and bottom empty area without any content (if any). (optional) + * @param saveShadowedTextsAsTransparentTexts Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). (optional) + * @param saveTransparentTexts Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. (optional) + * @param specialFolderForAllImages The path to directory to which must be saved any images if they are encountered during saving of document as HTML. If parameter is empty or null then image files(if any) wil be saved together with other files linked to HTML It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) + * @param specialFolderForSvgImages The path to directory to which must be saved only SVG-images if they are encountered during saving of document as HTML. If parameter is empty or null then SVG files(if any) wil be saved together with other image-files (near to output file) or in special folder for images (if it specified in SpecialImagesFolderIfAny option). It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) + * @param trySaveTextUnderliningAndStrikeoutingInCss PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToHtmlCall(String name, Integer additionalMarginWidthInPoints, Boolean compressSvgGraphicsIfAny, Boolean convertMarkedContentToLayers, String defaultFontName, String documentType, Boolean fixedLayout, Integer imageResolution, Integer minimalLineWidth, Boolean preventGlyphsGrouping, Boolean splitCssIntoPages, Boolean splitIntoPages, Boolean useZOrder, String antialiasingProcessing, String cssClassNamesPrefix, List explicitListOfSavedPages, String fontEncodingStrategy, String fontSavingMode, String htmlMarkupGenerationMode, String lettersPositioningMethod, Boolean pagesFlowTypeDependsOnViewersScreenSize, String partsEmbeddingMode, String rasterImagesSavingMode, Boolean removeEmptyAreasOnTopAndBottom, Boolean saveShadowedTextsAsTransparentTexts, Boolean saveTransparentTexts, String specialFolderForAllImages, String specialFolderForSvgImages, Boolean trySaveTextUnderliningAndStrikeoutingInCss, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/html" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (additionalMarginWidthInPoints != null) + localVarQueryParams.addAll(apiClient.parameterToPair("additionalMarginWidthInPoints", additionalMarginWidthInPoints)); + if (compressSvgGraphicsIfAny != null) + localVarQueryParams.addAll(apiClient.parameterToPair("compressSvgGraphicsIfAny", compressSvgGraphicsIfAny)); + if (convertMarkedContentToLayers != null) + localVarQueryParams.addAll(apiClient.parameterToPair("convertMarkedContentToLayers", convertMarkedContentToLayers)); + if (defaultFontName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("defaultFontName", defaultFontName)); + if (documentType != null) + localVarQueryParams.addAll(apiClient.parameterToPair("documentType", documentType)); + if (fixedLayout != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fixedLayout", fixedLayout)); + if (imageResolution != null) + localVarQueryParams.addAll(apiClient.parameterToPair("imageResolution", imageResolution)); + if (minimalLineWidth != null) + localVarQueryParams.addAll(apiClient.parameterToPair("minimalLineWidth", minimalLineWidth)); + if (preventGlyphsGrouping != null) + localVarQueryParams.addAll(apiClient.parameterToPair("preventGlyphsGrouping", preventGlyphsGrouping)); + if (splitCssIntoPages != null) + localVarQueryParams.addAll(apiClient.parameterToPair("splitCssIntoPages", splitCssIntoPages)); + if (splitIntoPages != null) + localVarQueryParams.addAll(apiClient.parameterToPair("splitIntoPages", splitIntoPages)); + if (useZOrder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("useZOrder", useZOrder)); + if (antialiasingProcessing != null) + localVarQueryParams.addAll(apiClient.parameterToPair("antialiasingProcessing", antialiasingProcessing)); + if (cssClassNamesPrefix != null) + localVarQueryParams.addAll(apiClient.parameterToPair("cssClassNamesPrefix", cssClassNamesPrefix)); + if (explicitListOfSavedPages != null) + localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("csv", "explicitListOfSavedPages", explicitListOfSavedPages)); + if (fontEncodingStrategy != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fontEncodingStrategy", fontEncodingStrategy)); + if (fontSavingMode != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fontSavingMode", fontSavingMode)); + if (htmlMarkupGenerationMode != null) + localVarQueryParams.addAll(apiClient.parameterToPair("htmlMarkupGenerationMode", htmlMarkupGenerationMode)); + if (lettersPositioningMethod != null) + localVarQueryParams.addAll(apiClient.parameterToPair("lettersPositioningMethod", lettersPositioningMethod)); + if (pagesFlowTypeDependsOnViewersScreenSize != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pagesFlowTypeDependsOnViewersScreenSize", pagesFlowTypeDependsOnViewersScreenSize)); + if (partsEmbeddingMode != null) + localVarQueryParams.addAll(apiClient.parameterToPair("partsEmbeddingMode", partsEmbeddingMode)); + if (rasterImagesSavingMode != null) + localVarQueryParams.addAll(apiClient.parameterToPair("rasterImagesSavingMode", rasterImagesSavingMode)); + if (removeEmptyAreasOnTopAndBottom != null) + localVarQueryParams.addAll(apiClient.parameterToPair("removeEmptyAreasOnTopAndBottom", removeEmptyAreasOnTopAndBottom)); + if (saveShadowedTextsAsTransparentTexts != null) + localVarQueryParams.addAll(apiClient.parameterToPair("saveShadowedTextsAsTransparentTexts", saveShadowedTextsAsTransparentTexts)); + if (saveTransparentTexts != null) + localVarQueryParams.addAll(apiClient.parameterToPair("saveTransparentTexts", saveTransparentTexts)); + if (specialFolderForAllImages != null) + localVarQueryParams.addAll(apiClient.parameterToPair("specialFolderForAllImages", specialFolderForAllImages)); + if (specialFolderForSvgImages != null) + localVarQueryParams.addAll(apiClient.parameterToPair("specialFolderForSvgImages", specialFolderForSvgImages)); + if (trySaveTextUnderliningAndStrikeoutingInCss != null) + localVarQueryParams.addAll(apiClient.parameterToPair("trySaveTextUnderliningAndStrikeoutingInCss", trySaveTextUnderliningAndStrikeoutingInCss)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToHtmlValidateBeforeCall(String name, Integer additionalMarginWidthInPoints, Boolean compressSvgGraphicsIfAny, Boolean convertMarkedContentToLayers, String defaultFontName, String documentType, Boolean fixedLayout, Integer imageResolution, Integer minimalLineWidth, Boolean preventGlyphsGrouping, Boolean splitCssIntoPages, Boolean splitIntoPages, Boolean useZOrder, String antialiasingProcessing, String cssClassNamesPrefix, List explicitListOfSavedPages, String fontEncodingStrategy, String fontSavingMode, String htmlMarkupGenerationMode, String lettersPositioningMethod, Boolean pagesFlowTypeDependsOnViewersScreenSize, String partsEmbeddingMode, String rasterImagesSavingMode, Boolean removeEmptyAreasOnTopAndBottom, Boolean saveShadowedTextsAsTransparentTexts, Boolean saveTransparentTexts, String specialFolderForAllImages, String specialFolderForSvgImages, Boolean trySaveTextUnderliningAndStrikeoutingInCss, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToHtml(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToHtmlCall(name, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to Html format and returns resulting file in response content + * + * @param name The document name. (required) + * @param additionalMarginWidthInPoints Defines width of margin that will be forcibly left around that output HTML-areas. (optional) + * @param compressSvgGraphicsIfAny The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. (optional) + * @param convertMarkedContentToLayers If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with \"data-pdflayer\" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. (optional) + * @param defaultFontName Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. (optional) + * @param documentType Result document type. (optional) + * @param fixedLayout The value indicating whether that HTML is created as fixed layout. (optional) + * @param imageResolution Resolution for image rendering. (optional) + * @param minimalLineWidth This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. (optional) + * @param preventGlyphsGrouping This attribute switch on the mode when text glyphs will not be grouped into words and strings This mode allows to keep maximum precision during positioning of glyphs on the page and it can be used for conversion documents with music notes or glyphs that should be placed separately each other. This parameter will be applied to document only when the value of FixedLayout attribute is true. (optional) + * @param splitCssIntoPages When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. (optional) + * @param splitIntoPages The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. (optional) + * @param useZOrder If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. (optional) + * @param antialiasingProcessing The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. (optional) + * @param cssClassNamesPrefix When PDFtoHTML converter generates result CSSs, CSS class names (something like \".stl_01 {}\" ... \".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. (optional) + * @param explicitListOfSavedPages With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. (optional) + * @param fontEncodingStrategy Defines encoding special rule to tune PDF decoding for current document. (optional) + * @param fontSavingMode Defines font saving mode that will be used during saving of PDF to desirable format. (optional) + * @param htmlMarkupGenerationMode Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. (optional) + * @param lettersPositioningMethod The mode of positioning of letters in words in result HTML. (optional) + * @param pagesFlowTypeDependsOnViewersScreenSize If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. (optional) + * @param partsEmbeddingMode It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. (optional) + * @param rasterImagesSavingMode Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. (optional) + * @param removeEmptyAreasOnTopAndBottom Defines whether in created HTML will be removed top and bottom empty area without any content (if any). (optional) + * @param saveShadowedTextsAsTransparentTexts Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). (optional) + * @param saveTransparentTexts Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. (optional) + * @param specialFolderForAllImages The path to directory to which must be saved any images if they are encountered during saving of document as HTML. If parameter is empty or null then image files(if any) wil be saved together with other files linked to HTML It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) + * @param specialFolderForSvgImages The path to directory to which must be saved only SVG-images if they are encountered during saving of document as HTML. If parameter is empty or null then SVG files(if any) wil be saved together with other image-files (near to output file) or in special folder for images (if it specified in SpecialImagesFolderIfAny option). It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) + * @param trySaveTextUnderliningAndStrikeoutingInCss PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToHtml(String name, Integer additionalMarginWidthInPoints, Boolean compressSvgGraphicsIfAny, Boolean convertMarkedContentToLayers, String defaultFontName, String documentType, Boolean fixedLayout, Integer imageResolution, Integer minimalLineWidth, Boolean preventGlyphsGrouping, Boolean splitCssIntoPages, Boolean splitIntoPages, Boolean useZOrder, String antialiasingProcessing, String cssClassNamesPrefix, List explicitListOfSavedPages, String fontEncodingStrategy, String fontSavingMode, String htmlMarkupGenerationMode, String lettersPositioningMethod, Boolean pagesFlowTypeDependsOnViewersScreenSize, String partsEmbeddingMode, String rasterImagesSavingMode, Boolean removeEmptyAreasOnTopAndBottom, Boolean saveShadowedTextsAsTransparentTexts, Boolean saveTransparentTexts, String specialFolderForAllImages, String specialFolderForSvgImages, Boolean trySaveTextUnderliningAndStrikeoutingInCss, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToHtmlWithHttpInfo(name, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToHtmlWithHttpInfo(name, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to Html format and returns resulting file in response content + * + * @param name The document name. (required) + * @param additionalMarginWidthInPoints Defines width of margin that will be forcibly left around that output HTML-areas. (optional) + * @param compressSvgGraphicsIfAny The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. (optional) + * @param convertMarkedContentToLayers If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with \"data-pdflayer\" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. (optional) + * @param defaultFontName Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. (optional) + * @param documentType Result document type. (optional) + * @param fixedLayout The value indicating whether that HTML is created as fixed layout. (optional) + * @param imageResolution Resolution for image rendering. (optional) + * @param minimalLineWidth This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. (optional) + * @param preventGlyphsGrouping This attribute switch on the mode when text glyphs will not be grouped into words and strings This mode allows to keep maximum precision during positioning of glyphs on the page and it can be used for conversion documents with music notes or glyphs that should be placed separately each other. This parameter will be applied to document only when the value of FixedLayout attribute is true. (optional) + * @param splitCssIntoPages When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. (optional) + * @param splitIntoPages The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. (optional) + * @param useZOrder If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. (optional) + * @param antialiasingProcessing The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. (optional) + * @param cssClassNamesPrefix When PDFtoHTML converter generates result CSSs, CSS class names (something like \".stl_01 {}\" ... \".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. (optional) + * @param explicitListOfSavedPages With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. (optional) + * @param fontEncodingStrategy Defines encoding special rule to tune PDF decoding for current document. (optional) + * @param fontSavingMode Defines font saving mode that will be used during saving of PDF to desirable format. (optional) + * @param htmlMarkupGenerationMode Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. (optional) + * @param lettersPositioningMethod The mode of positioning of letters in words in result HTML. (optional) + * @param pagesFlowTypeDependsOnViewersScreenSize If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. (optional) + * @param partsEmbeddingMode It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. (optional) + * @param rasterImagesSavingMode Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. (optional) + * @param removeEmptyAreasOnTopAndBottom Defines whether in created HTML will be removed top and bottom empty area without any content (if any). (optional) + * @param saveShadowedTextsAsTransparentTexts Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). (optional) + * @param saveTransparentTexts Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. (optional) + * @param specialFolderForAllImages The path to directory to which must be saved any images if they are encountered during saving of document as HTML. If parameter is empty or null then image files(if any) wil be saved together with other files linked to HTML It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) + * @param specialFolderForSvgImages The path to directory to which must be saved only SVG-images if they are encountered during saving of document as HTML. If parameter is empty or null then SVG files(if any) wil be saved together with other image-files (near to output file) or in special folder for images (if it specified in SpecialImagesFolderIfAny option). It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) + * @param trySaveTextUnderliningAndStrikeoutingInCss PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToHtmlWithHttpInfo(String name, Integer additionalMarginWidthInPoints, Boolean compressSvgGraphicsIfAny, Boolean convertMarkedContentToLayers, String defaultFontName, String documentType, Boolean fixedLayout, Integer imageResolution, Integer minimalLineWidth, Boolean preventGlyphsGrouping, Boolean splitCssIntoPages, Boolean splitIntoPages, Boolean useZOrder, String antialiasingProcessing, String cssClassNamesPrefix, List explicitListOfSavedPages, String fontEncodingStrategy, String fontSavingMode, String htmlMarkupGenerationMode, String lettersPositioningMethod, Boolean pagesFlowTypeDependsOnViewersScreenSize, String partsEmbeddingMode, String rasterImagesSavingMode, Boolean removeEmptyAreasOnTopAndBottom, Boolean saveShadowedTextsAsTransparentTexts, Boolean saveTransparentTexts, String specialFolderForAllImages, String specialFolderForSvgImages, Boolean trySaveTextUnderliningAndStrikeoutingInCss, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToHtmlValidateBeforeCall(name, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to Html format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param additionalMarginWidthInPoints Defines width of margin that will be forcibly left around that output HTML-areas. (optional) + * @param compressSvgGraphicsIfAny The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. (optional) + * @param convertMarkedContentToLayers If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with \"data-pdflayer\" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. (optional) + * @param defaultFontName Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. (optional) + * @param documentType Result document type. (optional) + * @param fixedLayout The value indicating whether that HTML is created as fixed layout. (optional) + * @param imageResolution Resolution for image rendering. (optional) + * @param minimalLineWidth This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. (optional) + * @param preventGlyphsGrouping This attribute switch on the mode when text glyphs will not be grouped into words and strings This mode allows to keep maximum precision during positioning of glyphs on the page and it can be used for conversion documents with music notes or glyphs that should be placed separately each other. This parameter will be applied to document only when the value of FixedLayout attribute is true. (optional) + * @param splitCssIntoPages When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. (optional) + * @param splitIntoPages The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. (optional) + * @param useZOrder If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. (optional) + * @param antialiasingProcessing The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. (optional) + * @param cssClassNamesPrefix When PDFtoHTML converter generates result CSSs, CSS class names (something like \".stl_01 {}\" ... \".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. (optional) + * @param explicitListOfSavedPages With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. (optional) + * @param fontEncodingStrategy Defines encoding special rule to tune PDF decoding for current document. (optional) + * @param fontSavingMode Defines font saving mode that will be used during saving of PDF to desirable format. (optional) + * @param htmlMarkupGenerationMode Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. (optional) + * @param lettersPositioningMethod The mode of positioning of letters in words in result HTML. (optional) + * @param pagesFlowTypeDependsOnViewersScreenSize If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. (optional) + * @param partsEmbeddingMode It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. (optional) + * @param rasterImagesSavingMode Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. (optional) + * @param removeEmptyAreasOnTopAndBottom Defines whether in created HTML will be removed top and bottom empty area without any content (if any). (optional) + * @param saveShadowedTextsAsTransparentTexts Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). (optional) + * @param saveTransparentTexts Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. (optional) + * @param specialFolderForAllImages The path to directory to which must be saved any images if they are encountered during saving of document as HTML. If parameter is empty or null then image files(if any) wil be saved together with other files linked to HTML It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) + * @param specialFolderForSvgImages The path to directory to which must be saved only SVG-images if they are encountered during saving of document as HTML. If parameter is empty or null then SVG files(if any) wil be saved together with other image-files (near to output file) or in special folder for images (if it specified in SpecialImagesFolderIfAny option). It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) + * @param trySaveTextUnderliningAndStrikeoutingInCss PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToHtmlAsync(String name, Integer additionalMarginWidthInPoints, Boolean compressSvgGraphicsIfAny, Boolean convertMarkedContentToLayers, String defaultFontName, String documentType, Boolean fixedLayout, Integer imageResolution, Integer minimalLineWidth, Boolean preventGlyphsGrouping, Boolean splitCssIntoPages, Boolean splitIntoPages, Boolean useZOrder, String antialiasingProcessing, String cssClassNamesPrefix, List explicitListOfSavedPages, String fontEncodingStrategy, String fontSavingMode, String htmlMarkupGenerationMode, String lettersPositioningMethod, Boolean pagesFlowTypeDependsOnViewersScreenSize, String partsEmbeddingMode, String rasterImagesSavingMode, Boolean removeEmptyAreasOnTopAndBottom, Boolean saveShadowedTextsAsTransparentTexts, Boolean saveTransparentTexts, String specialFolderForAllImages, String specialFolderForSvgImages, Boolean trySaveTextUnderliningAndStrikeoutingInCss, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToHtmlValidateBeforeCall(name, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToLaTeX + * @param name The document name. (required) + * @param pagesCount Pages count. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToLaTeXCall(String name, Integer pagesCount, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/latex" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (pagesCount != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pagesCount", pagesCount)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToLaTeXValidateBeforeCall(String name, Integer pagesCount, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToLaTeX(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToLaTeXCall(name, pagesCount, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to LaTeX format and returns resulting file in response content + * + * @param name The document name. (required) + * @param pagesCount Pages count. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToLaTeX(String name, Integer pagesCount, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToLaTeXWithHttpInfo(name, pagesCount, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToLaTeXWithHttpInfo(name, pagesCount, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to LaTeX format and returns resulting file in response content + * + * @param name The document name. (required) + * @param pagesCount Pages count. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToLaTeXWithHttpInfo(String name, Integer pagesCount, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToLaTeXValidateBeforeCall(name, pagesCount, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to LaTeX format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param pagesCount Pages count. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToLaTeXAsync(String name, Integer pagesCount, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToLaTeXValidateBeforeCall(name, pagesCount, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToMobiXml + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToMobiXmlCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/mobixml" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToMobiXmlValidateBeforeCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToMobiXml(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToMobiXmlCall(name, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to MOBIXML format and returns resulting file in response content + * + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToMobiXml(String name, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToMobiXmlWithHttpInfo(name, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToMobiXmlWithHttpInfo(name, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to MOBIXML format and returns resulting file in response content + * + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToMobiXmlWithHttpInfo(String name, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToMobiXmlValidateBeforeCall(name, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to MOBIXML format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToMobiXmlAsync(String name, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToMobiXmlValidateBeforeCall(name, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToPdfA + * @param name The document name. (required) + * @param type Type of PdfA format. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToPdfACall(String name, String type, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/pdfa" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (type != null) + localVarQueryParams.addAll(apiClient.parameterToPair("type", type)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToPdfAValidateBeforeCall(String name, String type, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToPdfA(Async)"); + } + + // verify the required parameter 'type' is set + if (type == null) { + throw new ApiException("Missing the required parameter 'type' when calling getPdfInStorageToPdfA(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToPdfACall(name, type, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to PdfA format and returns resulting file in response content + * + * @param name The document name. (required) + * @param type Type of PdfA format. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToPdfA(String name, String type, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToPdfAWithHttpInfo(name, type, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToPdfAWithHttpInfo(name, type, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to PdfA format and returns resulting file in response content + * + * @param name The document name. (required) + * @param type Type of PdfA format. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToPdfAWithHttpInfo(String name, String type, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToPdfAValidateBeforeCall(name, type, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to PdfA format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param type Type of PdfA format. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToPdfAAsync(String name, String type, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToPdfAValidateBeforeCall(name, type, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToPptx + * @param name The document name. (required) + * @param separateImages Separate images. (optional) + * @param slidesAsImages Slides as images. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToPptxCall(String name, Boolean separateImages, Boolean slidesAsImages, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/pptx" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (separateImages != null) + localVarQueryParams.addAll(apiClient.parameterToPair("separateImages", separateImages)); + if (slidesAsImages != null) + localVarQueryParams.addAll(apiClient.parameterToPair("slidesAsImages", slidesAsImages)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToPptxValidateBeforeCall(String name, Boolean separateImages, Boolean slidesAsImages, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToPptx(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToPptxCall(name, separateImages, slidesAsImages, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to PPTX format and returns resulting file in response content + * + * @param name The document name. (required) + * @param separateImages Separate images. (optional) + * @param slidesAsImages Slides as images. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToPptx(String name, Boolean separateImages, Boolean slidesAsImages, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToPptxWithHttpInfo(name, separateImages, slidesAsImages, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToPptxWithHttpInfo(name, separateImages, slidesAsImages, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to PPTX format and returns resulting file in response content + * + * @param name The document name. (required) + * @param separateImages Separate images. (optional) + * @param slidesAsImages Slides as images. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToPptxWithHttpInfo(String name, Boolean separateImages, Boolean slidesAsImages, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToPptxValidateBeforeCall(name, separateImages, slidesAsImages, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to PPTX format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param separateImages Separate images. (optional) + * @param slidesAsImages Slides as images. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToPptxAsync(String name, Boolean separateImages, Boolean slidesAsImages, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToPptxValidateBeforeCall(name, separateImages, slidesAsImages, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToSvg + * @param name The document name. (required) + * @param compressOutputToZipArchive Specifies whether output will be created as one zip-archive. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToSvgCall(String name, Boolean compressOutputToZipArchive, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/svg" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (compressOutputToZipArchive != null) + localVarQueryParams.addAll(apiClient.parameterToPair("compressOutputToZipArchive", compressOutputToZipArchive)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToSvgValidateBeforeCall(String name, Boolean compressOutputToZipArchive, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToSvg(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToSvgCall(name, compressOutputToZipArchive, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to SVG format and returns resulting file in response content + * + * @param name The document name. (required) + * @param compressOutputToZipArchive Specifies whether output will be created as one zip-archive. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToSvg(String name, Boolean compressOutputToZipArchive, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToSvgWithHttpInfo(name, compressOutputToZipArchive, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToSvgWithHttpInfo(name, compressOutputToZipArchive, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to SVG format and returns resulting file in response content + * + * @param name The document name. (required) + * @param compressOutputToZipArchive Specifies whether output will be created as one zip-archive. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToSvgWithHttpInfo(String name, Boolean compressOutputToZipArchive, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToSvgValidateBeforeCall(name, compressOutputToZipArchive, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to SVG format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param compressOutputToZipArchive Specifies whether output will be created as one zip-archive. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToSvgAsync(String name, Boolean compressOutputToZipArchive, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToSvgValidateBeforeCall(name, compressOutputToZipArchive, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToTiff + * @param name The document name. (required) + * @param brightness Image brightness. (optional) + * @param compression Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. (optional) + * @param colorDepth Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. (optional) + * @param leftMargin Left image margin. (optional) + * @param rightMargin Right image margin. (optional) + * @param topMargin Top image margin. (optional) + * @param bottomMargin Bottom image margin. (optional) + * @param orientation Image orientation. Possible values are: None, Landscape, Portait. (optional) + * @param skipBlankPages Skip blank pages flag. (optional) + * @param width Image width. (optional) + * @param height Image height. (optional) + * @param xResolution Horizontal resolution. (optional) + * @param yResolution Vertical resolution. (optional) + * @param pageIndex Start page to export. (optional) + * @param pageCount Number of pages to export. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToTiffCall(String name, Double brightness, String compression, String colorDepth, Integer leftMargin, Integer rightMargin, Integer topMargin, Integer bottomMargin, String orientation, Boolean skipBlankPages, Integer width, Integer height, Integer xResolution, Integer yResolution, Integer pageIndex, Integer pageCount, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/tiff" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (brightness != null) + localVarQueryParams.addAll(apiClient.parameterToPair("brightness", brightness)); + if (compression != null) + localVarQueryParams.addAll(apiClient.parameterToPair("compression", compression)); + if (colorDepth != null) + localVarQueryParams.addAll(apiClient.parameterToPair("colorDepth", colorDepth)); + if (leftMargin != null) + localVarQueryParams.addAll(apiClient.parameterToPair("leftMargin", leftMargin)); + if (rightMargin != null) + localVarQueryParams.addAll(apiClient.parameterToPair("rightMargin", rightMargin)); + if (topMargin != null) + localVarQueryParams.addAll(apiClient.parameterToPair("topMargin", topMargin)); + if (bottomMargin != null) + localVarQueryParams.addAll(apiClient.parameterToPair("bottomMargin", bottomMargin)); + if (orientation != null) + localVarQueryParams.addAll(apiClient.parameterToPair("orientation", orientation)); + if (skipBlankPages != null) + localVarQueryParams.addAll(apiClient.parameterToPair("skipBlankPages", skipBlankPages)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); + if (xResolution != null) + localVarQueryParams.addAll(apiClient.parameterToPair("xResolution", xResolution)); + if (yResolution != null) + localVarQueryParams.addAll(apiClient.parameterToPair("yResolution", yResolution)); + if (pageIndex != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pageIndex", pageIndex)); + if (pageCount != null) + localVarQueryParams.addAll(apiClient.parameterToPair("pageCount", pageCount)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToTiffValidateBeforeCall(String name, Double brightness, String compression, String colorDepth, Integer leftMargin, Integer rightMargin, Integer topMargin, Integer bottomMargin, String orientation, Boolean skipBlankPages, Integer width, Integer height, Integer xResolution, Integer yResolution, Integer pageIndex, Integer pageCount, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToTiff(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToTiffCall(name, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to TIFF format and returns resulting file in response content + * + * @param name The document name. (required) + * @param brightness Image brightness. (optional) + * @param compression Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. (optional) + * @param colorDepth Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. (optional) + * @param leftMargin Left image margin. (optional) + * @param rightMargin Right image margin. (optional) + * @param topMargin Top image margin. (optional) + * @param bottomMargin Bottom image margin. (optional) + * @param orientation Image orientation. Possible values are: None, Landscape, Portait. (optional) + * @param skipBlankPages Skip blank pages flag. (optional) + * @param width Image width. (optional) + * @param height Image height. (optional) + * @param xResolution Horizontal resolution. (optional) + * @param yResolution Vertical resolution. (optional) + * @param pageIndex Start page to export. (optional) + * @param pageCount Number of pages to export. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToTiff(String name, Double brightness, String compression, String colorDepth, Integer leftMargin, Integer rightMargin, Integer topMargin, Integer bottomMargin, String orientation, Boolean skipBlankPages, Integer width, Integer height, Integer xResolution, Integer yResolution, Integer pageIndex, Integer pageCount, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToTiffWithHttpInfo(name, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToTiffWithHttpInfo(name, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to TIFF format and returns resulting file in response content + * + * @param name The document name. (required) + * @param brightness Image brightness. (optional) + * @param compression Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. (optional) + * @param colorDepth Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. (optional) + * @param leftMargin Left image margin. (optional) + * @param rightMargin Right image margin. (optional) + * @param topMargin Top image margin. (optional) + * @param bottomMargin Bottom image margin. (optional) + * @param orientation Image orientation. Possible values are: None, Landscape, Portait. (optional) + * @param skipBlankPages Skip blank pages flag. (optional) + * @param width Image width. (optional) + * @param height Image height. (optional) + * @param xResolution Horizontal resolution. (optional) + * @param yResolution Vertical resolution. (optional) + * @param pageIndex Start page to export. (optional) + * @param pageCount Number of pages to export. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToTiffWithHttpInfo(String name, Double brightness, String compression, String colorDepth, Integer leftMargin, Integer rightMargin, Integer topMargin, Integer bottomMargin, String orientation, Boolean skipBlankPages, Integer width, Integer height, Integer xResolution, Integer yResolution, Integer pageIndex, Integer pageCount, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToTiffValidateBeforeCall(name, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to TIFF format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param brightness Image brightness. (optional) + * @param compression Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. (optional) + * @param colorDepth Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. (optional) + * @param leftMargin Left image margin. (optional) + * @param rightMargin Right image margin. (optional) + * @param topMargin Top image margin. (optional) + * @param bottomMargin Bottom image margin. (optional) + * @param orientation Image orientation. Possible values are: None, Landscape, Portait. (optional) + * @param skipBlankPages Skip blank pages flag. (optional) + * @param width Image width. (optional) + * @param height Image height. (optional) + * @param xResolution Horizontal resolution. (optional) + * @param yResolution Vertical resolution. (optional) + * @param pageIndex Start page to export. (optional) + * @param pageCount Number of pages to export. (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToTiffAsync(String name, Double brightness, String compression, String colorDepth, Integer leftMargin, Integer rightMargin, Integer topMargin, Integer bottomMargin, String orientation, Boolean skipBlankPages, Integer width, Integer height, Integer xResolution, Integer yResolution, Integer pageIndex, Integer pageCount, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToTiffValidateBeforeCall(name, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToXls + * @param name The document name. (required) + * @param insertBlankColumnAtFirst Insert blank column at first (optional) + * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) + * @param scaleFactor Scale factor (optional) + * @param uniformWorksheets Uniform worksheets (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToXlsCall(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/xls" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (insertBlankColumnAtFirst != null) + localVarQueryParams.addAll(apiClient.parameterToPair("insertBlankColumnAtFirst", insertBlankColumnAtFirst)); + if (minimizeTheNumberOfWorksheets != null) + localVarQueryParams.addAll(apiClient.parameterToPair("minimizeTheNumberOfWorksheets", minimizeTheNumberOfWorksheets)); + if (scaleFactor != null) + localVarQueryParams.addAll(apiClient.parameterToPair("scaleFactor", scaleFactor)); + if (uniformWorksheets != null) + localVarQueryParams.addAll(apiClient.parameterToPair("uniformWorksheets", uniformWorksheets)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToXlsValidateBeforeCall(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToXls(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToXlsCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to XLS format and returns resulting file in response content + * + * @param name The document name. (required) + * @param insertBlankColumnAtFirst Insert blank column at first (optional) + * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) + * @param scaleFactor Scale factor (optional) + * @param uniformWorksheets Uniform worksheets (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToXls(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToXlsWithHttpInfo(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToXlsWithHttpInfo(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to XLS format and returns resulting file in response content + * + * @param name The document name. (required) + * @param insertBlankColumnAtFirst Insert blank column at first (optional) + * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) + * @param scaleFactor Scale factor (optional) + * @param uniformWorksheets Uniform worksheets (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToXlsWithHttpInfo(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToXlsValidateBeforeCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to XLS format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param insertBlankColumnAtFirst Insert blank column at first (optional) + * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) + * @param scaleFactor Scale factor (optional) + * @param uniformWorksheets Uniform worksheets (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToXlsAsync(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToXlsValidateBeforeCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPdfInStorageToXlsx + * @param name The document name. (required) + * @param insertBlankColumnAtFirst Insert blank column at first (optional) + * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) + * @param scaleFactor Scale factor (optional) + * @param uniformWorksheets Uniform worksheets (optional) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToXlsxCall(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/xlsx" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (insertBlankColumnAtFirst != null) + localVarQueryParams.addAll(apiClient.parameterToPair("insertBlankColumnAtFirst", insertBlankColumnAtFirst)); + if (minimizeTheNumberOfWorksheets != null) + localVarQueryParams.addAll(apiClient.parameterToPair("minimizeTheNumberOfWorksheets", minimizeTheNumberOfWorksheets)); + if (scaleFactor != null) + localVarQueryParams.addAll(apiClient.parameterToPair("scaleFactor", scaleFactor)); + if (uniformWorksheets != null) + localVarQueryParams.addAll(apiClient.parameterToPair("uniformWorksheets", uniformWorksheets)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "multipart/form-data" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToXlsxValidateBeforeCall(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToXlsx(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToEpubCall(name, contentRecognitionMode, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPdfInStorageToXlsxCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to EPUB format and returns resulting file in response content + * Converts PDF document (located on storage) to XLSX format and returns resulting file in response content * * @param name The document name. (required) - * @param contentRecognitionMode Property tunes conversion for this or that desirable method of recognition of content. (optional) + * @param insertBlankColumnAtFirst Insert blank column at first (optional) + * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) + * @param scaleFactor Scale factor (optional) + * @param uniformWorksheets Uniform worksheets (optional) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToEpub(String name, String contentRecognitionMode, String folder, String storage) throws ApiException { + public File getPdfInStorageToXlsx(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage) throws ApiException { try { - ApiResponse resp = getPdfInStorageToEpubWithHttpInfo(name, contentRecognitionMode, folder, storage); + ApiResponse resp = getPdfInStorageToXlsxWithHttpInfo(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToEpubWithHttpInfo(name, contentRecognitionMode, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToXlsxWithHttpInfo(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage); return resp.getData(); } throw ex; @@ -17895,33 +21412,39 @@ public File getPdfInStorageToEpub(String name, String contentRecognitionMode, St } /** - * Converts PDF document (located on storage) to EPUB format and returns resulting file in response content + * Converts PDF document (located on storage) to XLSX format and returns resulting file in response content * * @param name The document name. (required) - * @param contentRecognitionMode Property tunes conversion for this or that desirable method of recognition of content. (optional) + * @param insertBlankColumnAtFirst Insert blank column at first (optional) + * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) + * @param scaleFactor Scale factor (optional) + * @param uniformWorksheets Uniform worksheets (optional) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToEpubWithHttpInfo(String name, String contentRecognitionMode, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToEpubValidateBeforeCall(name, contentRecognitionMode, folder, storage, null, null); + public ApiResponse getPdfInStorageToXlsxWithHttpInfo(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToXlsxValidateBeforeCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to EPUB format and returns resulting file in response content (asynchronously) + * Converts PDF document (located on storage) to XLSX format and returns resulting file in response content (asynchronously) * * @param name The document name. (required) - * @param contentRecognitionMode Property tunes conversion for this or that desirable method of recognition of content. (optional) + * @param insertBlankColumnAtFirst Insert blank column at first (optional) + * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) + * @param scaleFactor Scale factor (optional) + * @param uniformWorksheets Uniform worksheets (optional) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToEpubAsync(String name, String contentRecognitionMode, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPdfInStorageToXlsxAsync(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -17942,42 +21465,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToEpubValidateBeforeCall(name, contentRecognitionMode, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPdfInStorageToXlsxValidateBeforeCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToHtml + * Build call for getPdfInStorageToXml * @param name The document name. (required) - * @param additionalMarginWidthInPoints Defines width of margin that will be forcibly left around that output HTML-areas. (optional) - * @param compressSvgGraphicsIfAny The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. (optional) - * @param convertMarkedContentToLayers If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with \"data-pdflayer\" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. (optional) - * @param defaultFontName Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. (optional) - * @param documentType Result document type. (optional) - * @param fixedLayout The value indicating whether that HTML is created as fixed layout. (optional) - * @param imageResolution Resolution for image rendering. (optional) - * @param minimalLineWidth This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. (optional) - * @param preventGlyphsGrouping This attribute switch on the mode when text glyphs will not be grouped into words and strings This mode allows to keep maximum precision during positioning of glyphs on the page and it can be used for conversion documents with music notes or glyphs that should be placed separately each other. This parameter will be applied to document only when the value of FixedLayout attribute is true. (optional) - * @param splitCssIntoPages When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. (optional) - * @param splitIntoPages The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. (optional) - * @param useZOrder If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. (optional) - * @param antialiasingProcessing The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. (optional) - * @param cssClassNamesPrefix When PDFtoHTML converter generates result CSSs, CSS class names (something like \".stl_01 {}\" ... \".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. (optional) - * @param explicitListOfSavedPages With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. (optional) - * @param fontEncodingStrategy Defines encoding special rule to tune PDF decoding for current document. (optional) - * @param fontSavingMode Defines font saving mode that will be used during saving of PDF to desirable format. (optional) - * @param htmlMarkupGenerationMode Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. (optional) - * @param lettersPositioningMethod The mode of positioning of letters in words in result HTML. (optional) - * @param pagesFlowTypeDependsOnViewersScreenSize If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. (optional) - * @param partsEmbeddingMode It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. (optional) - * @param rasterImagesSavingMode Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. (optional) - * @param removeEmptyAreasOnTopAndBottom Defines whether in created HTML will be removed top and bottom empty area without any content (if any). (optional) - * @param saveShadowedTextsAsTransparentTexts Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). (optional) - * @param saveTransparentTexts Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. (optional) - * @param specialFolderForAllImages The path to directory to which must be saved any images if they are encountered during saving of document as HTML. If parameter is empty or null then image files(if any) wil be saved together with other files linked to HTML It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) - * @param specialFolderForSvgImages The path to directory to which must be saved only SVG-images if they are encountered during saving of document as HTML. If parameter is empty or null then SVG files(if any) wil be saved together with other image-files (near to output file) or in special folder for images (if it specified in SpecialImagesFolderIfAny option). It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) - * @param trySaveTextUnderliningAndStrikeoutingInCss PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically. (optional) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener @@ -17985,71 +21480,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToHtmlCall(String name, Integer additionalMarginWidthInPoints, Boolean compressSvgGraphicsIfAny, Boolean convertMarkedContentToLayers, String defaultFontName, String documentType, Boolean fixedLayout, Integer imageResolution, Integer minimalLineWidth, Boolean preventGlyphsGrouping, Boolean splitCssIntoPages, Boolean splitIntoPages, Boolean useZOrder, String antialiasingProcessing, String cssClassNamesPrefix, List explicitListOfSavedPages, String fontEncodingStrategy, String fontSavingMode, String htmlMarkupGenerationMode, String lettersPositioningMethod, Boolean pagesFlowTypeDependsOnViewersScreenSize, String partsEmbeddingMode, String rasterImagesSavingMode, Boolean removeEmptyAreasOnTopAndBottom, Boolean saveShadowedTextsAsTransparentTexts, Boolean saveTransparentTexts, String specialFolderForAllImages, String specialFolderForSvgImages, Boolean trySaveTextUnderliningAndStrikeoutingInCss, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPdfInStorageToXmlCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/html" + String localVarPath = "/pdf/{name}/convert/xml" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (additionalMarginWidthInPoints != null) - localVarQueryParams.addAll(apiClient.parameterToPair("additionalMarginWidthInPoints", additionalMarginWidthInPoints)); - if (compressSvgGraphicsIfAny != null) - localVarQueryParams.addAll(apiClient.parameterToPair("compressSvgGraphicsIfAny", compressSvgGraphicsIfAny)); - if (convertMarkedContentToLayers != null) - localVarQueryParams.addAll(apiClient.parameterToPair("convertMarkedContentToLayers", convertMarkedContentToLayers)); - if (defaultFontName != null) - localVarQueryParams.addAll(apiClient.parameterToPair("defaultFontName", defaultFontName)); - if (documentType != null) - localVarQueryParams.addAll(apiClient.parameterToPair("documentType", documentType)); - if (fixedLayout != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fixedLayout", fixedLayout)); - if (imageResolution != null) - localVarQueryParams.addAll(apiClient.parameterToPair("imageResolution", imageResolution)); - if (minimalLineWidth != null) - localVarQueryParams.addAll(apiClient.parameterToPair("minimalLineWidth", minimalLineWidth)); - if (preventGlyphsGrouping != null) - localVarQueryParams.addAll(apiClient.parameterToPair("preventGlyphsGrouping", preventGlyphsGrouping)); - if (splitCssIntoPages != null) - localVarQueryParams.addAll(apiClient.parameterToPair("splitCssIntoPages", splitCssIntoPages)); - if (splitIntoPages != null) - localVarQueryParams.addAll(apiClient.parameterToPair("splitIntoPages", splitIntoPages)); - if (useZOrder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("useZOrder", useZOrder)); - if (antialiasingProcessing != null) - localVarQueryParams.addAll(apiClient.parameterToPair("antialiasingProcessing", antialiasingProcessing)); - if (cssClassNamesPrefix != null) - localVarQueryParams.addAll(apiClient.parameterToPair("cssClassNamesPrefix", cssClassNamesPrefix)); - if (explicitListOfSavedPages != null) - localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("multi", "explicitListOfSavedPages", explicitListOfSavedPages)); - if (fontEncodingStrategy != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fontEncodingStrategy", fontEncodingStrategy)); - if (fontSavingMode != null) - localVarQueryParams.addAll(apiClient.parameterToPair("fontSavingMode", fontSavingMode)); - if (htmlMarkupGenerationMode != null) - localVarQueryParams.addAll(apiClient.parameterToPair("htmlMarkupGenerationMode", htmlMarkupGenerationMode)); - if (lettersPositioningMethod != null) - localVarQueryParams.addAll(apiClient.parameterToPair("lettersPositioningMethod", lettersPositioningMethod)); - if (pagesFlowTypeDependsOnViewersScreenSize != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pagesFlowTypeDependsOnViewersScreenSize", pagesFlowTypeDependsOnViewersScreenSize)); - if (partsEmbeddingMode != null) - localVarQueryParams.addAll(apiClient.parameterToPair("partsEmbeddingMode", partsEmbeddingMode)); - if (rasterImagesSavingMode != null) - localVarQueryParams.addAll(apiClient.parameterToPair("rasterImagesSavingMode", rasterImagesSavingMode)); - if (removeEmptyAreasOnTopAndBottom != null) - localVarQueryParams.addAll(apiClient.parameterToPair("removeEmptyAreasOnTopAndBottom", removeEmptyAreasOnTopAndBottom)); - if (saveShadowedTextsAsTransparentTexts != null) - localVarQueryParams.addAll(apiClient.parameterToPair("saveShadowedTextsAsTransparentTexts", saveShadowedTextsAsTransparentTexts)); - if (saveTransparentTexts != null) - localVarQueryParams.addAll(apiClient.parameterToPair("saveTransparentTexts", saveTransparentTexts)); - if (specialFolderForAllImages != null) - localVarQueryParams.addAll(apiClient.parameterToPair("specialFolderForAllImages", specialFolderForAllImages)); - if (specialFolderForSvgImages != null) - localVarQueryParams.addAll(apiClient.parameterToPair("specialFolderForSvgImages", specialFolderForSvgImages)); - if (trySaveTextUnderliningAndStrikeoutingInCss != null) - localVarQueryParams.addAll(apiClient.parameterToPair("trySaveTextUnderliningAndStrikeoutingInCss", trySaveTextUnderliningAndStrikeoutingInCss)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) @@ -18083,73 +21522,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToHtmlValidateBeforeCall(String name, Integer additionalMarginWidthInPoints, Boolean compressSvgGraphicsIfAny, Boolean convertMarkedContentToLayers, String defaultFontName, String documentType, Boolean fixedLayout, Integer imageResolution, Integer minimalLineWidth, Boolean preventGlyphsGrouping, Boolean splitCssIntoPages, Boolean splitIntoPages, Boolean useZOrder, String antialiasingProcessing, String cssClassNamesPrefix, List explicitListOfSavedPages, String fontEncodingStrategy, String fontSavingMode, String htmlMarkupGenerationMode, String lettersPositioningMethod, Boolean pagesFlowTypeDependsOnViewersScreenSize, String partsEmbeddingMode, String rasterImagesSavingMode, Boolean removeEmptyAreasOnTopAndBottom, Boolean saveShadowedTextsAsTransparentTexts, Boolean saveTransparentTexts, String specialFolderForAllImages, String specialFolderForSvgImages, Boolean trySaveTextUnderliningAndStrikeoutingInCss, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPdfInStorageToXmlValidateBeforeCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToHtml(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToXml(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToHtmlCall(name, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPdfInStorageToXmlCall(name, folder, storage, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to Html format and returns resulting file in response content + * Converts PDF document (located on storage) to XML format and returns resulting file in response content * * @param name The document name. (required) - * @param additionalMarginWidthInPoints Defines width of margin that will be forcibly left around that output HTML-areas. (optional) - * @param compressSvgGraphicsIfAny The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. (optional) - * @param convertMarkedContentToLayers If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with \"data-pdflayer\" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. (optional) - * @param defaultFontName Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. (optional) - * @param documentType Result document type. (optional) - * @param fixedLayout The value indicating whether that HTML is created as fixed layout. (optional) - * @param imageResolution Resolution for image rendering. (optional) - * @param minimalLineWidth This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. (optional) - * @param preventGlyphsGrouping This attribute switch on the mode when text glyphs will not be grouped into words and strings This mode allows to keep maximum precision during positioning of glyphs on the page and it can be used for conversion documents with music notes or glyphs that should be placed separately each other. This parameter will be applied to document only when the value of FixedLayout attribute is true. (optional) - * @param splitCssIntoPages When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. (optional) - * @param splitIntoPages The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. (optional) - * @param useZOrder If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. (optional) - * @param antialiasingProcessing The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. (optional) - * @param cssClassNamesPrefix When PDFtoHTML converter generates result CSSs, CSS class names (something like \".stl_01 {}\" ... \".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. (optional) - * @param explicitListOfSavedPages With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. (optional) - * @param fontEncodingStrategy Defines encoding special rule to tune PDF decoding for current document. (optional) - * @param fontSavingMode Defines font saving mode that will be used during saving of PDF to desirable format. (optional) - * @param htmlMarkupGenerationMode Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. (optional) - * @param lettersPositioningMethod The mode of positioning of letters in words in result HTML. (optional) - * @param pagesFlowTypeDependsOnViewersScreenSize If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. (optional) - * @param partsEmbeddingMode It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. (optional) - * @param rasterImagesSavingMode Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. (optional) - * @param removeEmptyAreasOnTopAndBottom Defines whether in created HTML will be removed top and bottom empty area without any content (if any). (optional) - * @param saveShadowedTextsAsTransparentTexts Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). (optional) - * @param saveTransparentTexts Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. (optional) - * @param specialFolderForAllImages The path to directory to which must be saved any images if they are encountered during saving of document as HTML. If parameter is empty or null then image files(if any) wil be saved together with other files linked to HTML It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) - * @param specialFolderForSvgImages The path to directory to which must be saved only SVG-images if they are encountered during saving of document as HTML. If parameter is empty or null then SVG files(if any) wil be saved together with other image-files (near to output file) or in special folder for images (if it specified in SpecialImagesFolderIfAny option). It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) - * @param trySaveTextUnderliningAndStrikeoutingInCss PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically. (optional) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToHtml(String name, Integer additionalMarginWidthInPoints, Boolean compressSvgGraphicsIfAny, Boolean convertMarkedContentToLayers, String defaultFontName, String documentType, Boolean fixedLayout, Integer imageResolution, Integer minimalLineWidth, Boolean preventGlyphsGrouping, Boolean splitCssIntoPages, Boolean splitIntoPages, Boolean useZOrder, String antialiasingProcessing, String cssClassNamesPrefix, List explicitListOfSavedPages, String fontEncodingStrategy, String fontSavingMode, String htmlMarkupGenerationMode, String lettersPositioningMethod, Boolean pagesFlowTypeDependsOnViewersScreenSize, String partsEmbeddingMode, String rasterImagesSavingMode, Boolean removeEmptyAreasOnTopAndBottom, Boolean saveShadowedTextsAsTransparentTexts, Boolean saveTransparentTexts, String specialFolderForAllImages, String specialFolderForSvgImages, Boolean trySaveTextUnderliningAndStrikeoutingInCss, String folder, String storage) throws ApiException { + public File getPdfInStorageToXml(String name, String folder, String storage) throws ApiException { try { - ApiResponse resp = getPdfInStorageToHtmlWithHttpInfo(name, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage); + ApiResponse resp = getPdfInStorageToXmlWithHttpInfo(name, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToHtmlWithHttpInfo(name, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToXmlWithHttpInfo(name, folder, storage); return resp.getData(); } throw ex; @@ -18157,87 +21568,31 @@ public File getPdfInStorageToHtml(String name, Integer additionalMarginWidthInPo } /** - * Converts PDF document (located on storage) to Html format and returns resulting file in response content + * Converts PDF document (located on storage) to XML format and returns resulting file in response content * * @param name The document name. (required) - * @param additionalMarginWidthInPoints Defines width of margin that will be forcibly left around that output HTML-areas. (optional) - * @param compressSvgGraphicsIfAny The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. (optional) - * @param convertMarkedContentToLayers If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with \"data-pdflayer\" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. (optional) - * @param defaultFontName Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. (optional) - * @param documentType Result document type. (optional) - * @param fixedLayout The value indicating whether that HTML is created as fixed layout. (optional) - * @param imageResolution Resolution for image rendering. (optional) - * @param minimalLineWidth This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. (optional) - * @param preventGlyphsGrouping This attribute switch on the mode when text glyphs will not be grouped into words and strings This mode allows to keep maximum precision during positioning of glyphs on the page and it can be used for conversion documents with music notes or glyphs that should be placed separately each other. This parameter will be applied to document only when the value of FixedLayout attribute is true. (optional) - * @param splitCssIntoPages When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. (optional) - * @param splitIntoPages The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. (optional) - * @param useZOrder If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. (optional) - * @param antialiasingProcessing The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. (optional) - * @param cssClassNamesPrefix When PDFtoHTML converter generates result CSSs, CSS class names (something like \".stl_01 {}\" ... \".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. (optional) - * @param explicitListOfSavedPages With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. (optional) - * @param fontEncodingStrategy Defines encoding special rule to tune PDF decoding for current document. (optional) - * @param fontSavingMode Defines font saving mode that will be used during saving of PDF to desirable format. (optional) - * @param htmlMarkupGenerationMode Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. (optional) - * @param lettersPositioningMethod The mode of positioning of letters in words in result HTML. (optional) - * @param pagesFlowTypeDependsOnViewersScreenSize If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. (optional) - * @param partsEmbeddingMode It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. (optional) - * @param rasterImagesSavingMode Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. (optional) - * @param removeEmptyAreasOnTopAndBottom Defines whether in created HTML will be removed top and bottom empty area without any content (if any). (optional) - * @param saveShadowedTextsAsTransparentTexts Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). (optional) - * @param saveTransparentTexts Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. (optional) - * @param specialFolderForAllImages The path to directory to which must be saved any images if they are encountered during saving of document as HTML. If parameter is empty or null then image files(if any) wil be saved together with other files linked to HTML It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) - * @param specialFolderForSvgImages The path to directory to which must be saved only SVG-images if they are encountered during saving of document as HTML. If parameter is empty or null then SVG files(if any) wil be saved together with other image-files (near to output file) or in special folder for images (if it specified in SpecialImagesFolderIfAny option). It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) - * @param trySaveTextUnderliningAndStrikeoutingInCss PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically. (optional) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToHtmlWithHttpInfo(String name, Integer additionalMarginWidthInPoints, Boolean compressSvgGraphicsIfAny, Boolean convertMarkedContentToLayers, String defaultFontName, String documentType, Boolean fixedLayout, Integer imageResolution, Integer minimalLineWidth, Boolean preventGlyphsGrouping, Boolean splitCssIntoPages, Boolean splitIntoPages, Boolean useZOrder, String antialiasingProcessing, String cssClassNamesPrefix, List explicitListOfSavedPages, String fontEncodingStrategy, String fontSavingMode, String htmlMarkupGenerationMode, String lettersPositioningMethod, Boolean pagesFlowTypeDependsOnViewersScreenSize, String partsEmbeddingMode, String rasterImagesSavingMode, Boolean removeEmptyAreasOnTopAndBottom, Boolean saveShadowedTextsAsTransparentTexts, Boolean saveTransparentTexts, String specialFolderForAllImages, String specialFolderForSvgImages, Boolean trySaveTextUnderliningAndStrikeoutingInCss, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToHtmlValidateBeforeCall(name, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage, null, null); + public ApiResponse getPdfInStorageToXmlWithHttpInfo(String name, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToXmlValidateBeforeCall(name, folder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to Html format and returns resulting file in response content (asynchronously) + * Converts PDF document (located on storage) to XML format and returns resulting file in response content (asynchronously) * * @param name The document name. (required) - * @param additionalMarginWidthInPoints Defines width of margin that will be forcibly left around that output HTML-areas. (optional) - * @param compressSvgGraphicsIfAny The flag that indicates whether found SVG graphics(if any) will be compressed(zipped) into SVGZ format during saving. (optional) - * @param convertMarkedContentToLayers If attribute ConvertMarkedContentToLayers set to true then an all elements inside a PDF marked content (layer) will be put into an HTML div with \"data-pdflayer\" attribute specifying a layer name. This layer name will be extracted from optional properties of PDF marked content. If this attribute is false (by default) then no any layers will be created from PDF marked content. (optional) - * @param defaultFontName Specifies the name of an installed font which is used to substitute any document font that is not embedded and not installed in the system. If null then default substitution font is used. (optional) - * @param documentType Result document type. (optional) - * @param fixedLayout The value indicating whether that HTML is created as fixed layout. (optional) - * @param imageResolution Resolution for image rendering. (optional) - * @param minimalLineWidth This attribute sets minimal width of graphic path line. If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can be used to emulate this behavior for HTML browsers. (optional) - * @param preventGlyphsGrouping This attribute switch on the mode when text glyphs will not be grouped into words and strings This mode allows to keep maximum precision during positioning of glyphs on the page and it can be used for conversion documents with music notes or glyphs that should be placed separately each other. This parameter will be applied to document only when the value of FixedLayout attribute is true. (optional) - * @param splitCssIntoPages When multipage-mode selected(i.e 'SplitIntoPages' is 'true'), then this attribute defines whether should be created separate CSS-file for each result HTML page. (optional) - * @param splitIntoPages The flag that indicates whether each page of source document will be converted into it's own target HTML document, i.e whether result HTML will be splitted into several HTML-pages. (optional) - * @param useZOrder If attribute UseZORder set to true, graphics and text are added to resultant HTML document accordingly Z-order in original PDF document. If this attribute is false all graphics is put as single layer which may cause some unnecessary effects for overlapped objects. (optional) - * @param antialiasingProcessing The parameter defines required antialiasing measures during conversion of compound background images from PDF to HTML. (optional) - * @param cssClassNamesPrefix When PDFtoHTML converter generates result CSSs, CSS class names (something like \".stl_01 {}\" ... \".stl_NN {}) are generated and used in result CSS. This property allows forcibly set class name prefix. (optional) - * @param explicitListOfSavedPages With this property You can explicitely define what pages of document should be converted. Pages in this list must have 1-based numbers. I.e. valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument]) Order of appearing of pages in this list does not affect their order in result HTML page(s) - in result pages allways will go in order in which they are present in source PDF. (optional) - * @param fontEncodingStrategy Defines encoding special rule to tune PDF decoding for current document. (optional) - * @param fontSavingMode Defines font saving mode that will be used during saving of PDF to desirable format. (optional) - * @param htmlMarkupGenerationMode Sometimes specific reqirments to generation of HTML markup are present. This parameter defines HTML preparing modes that can be used during conversion of PDF to HTML to match such specific requirments. (optional) - * @param lettersPositioningMethod The mode of positioning of letters in words in result HTML. (optional) - * @param pagesFlowTypeDependsOnViewersScreenSize If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages will be put into one big result HTML file. This flag defines whether result HTML will be generated in such way that flow of areas that represent PDF pages in result HTML will depend on screen resolution of viewer. (optional) - * @param partsEmbeddingMode It defines whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities. (optional) - * @param rasterImagesSavingMode Converted PDF can contain raster images This parameter defines how they should be handled during conversion of PDF to HTML. (optional) - * @param removeEmptyAreasOnTopAndBottom Defines whether in created HTML will be removed top and bottom empty area without any content (if any). (optional) - * @param saveShadowedTextsAsTransparentTexts Pdf can contain texts that are shadowed by another elements (f.e. by images) but can be selected to clipboard in Acrobat Reader (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML to mimic behaviour of Acrobat Reader (othervise such texts are usually saved as hidden, not available for copying to clipboard). (optional) - * @param saveTransparentTexts Pdf can contain transparent texts that can be selected to clipboard (usually it happen when document contains images and OCRed texts extracted from it). This settings tells to converter whether we need save such texts as transparent selectable texts in result HTML. (optional) - * @param specialFolderForAllImages The path to directory to which must be saved any images if they are encountered during saving of document as HTML. If parameter is empty or null then image files(if any) wil be saved together with other files linked to HTML It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) - * @param specialFolderForSvgImages The path to directory to which must be saved only SVG-images if they are encountered during saving of document as HTML. If parameter is empty or null then SVG files(if any) wil be saved together with other image-files (near to output file) or in special folder for images (if it specified in SpecialImagesFolderIfAny option). It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file. (optional) - * @param trySaveTextUnderliningAndStrikeoutingInCss PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically. (optional) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToHtmlAsync(String name, Integer additionalMarginWidthInPoints, Boolean compressSvgGraphicsIfAny, Boolean convertMarkedContentToLayers, String defaultFontName, String documentType, Boolean fixedLayout, Integer imageResolution, Integer minimalLineWidth, Boolean preventGlyphsGrouping, Boolean splitCssIntoPages, Boolean splitIntoPages, Boolean useZOrder, String antialiasingProcessing, String cssClassNamesPrefix, List explicitListOfSavedPages, String fontEncodingStrategy, String fontSavingMode, String htmlMarkupGenerationMode, String lettersPositioningMethod, Boolean pagesFlowTypeDependsOnViewersScreenSize, String partsEmbeddingMode, String rasterImagesSavingMode, Boolean removeEmptyAreasOnTopAndBottom, Boolean saveShadowedTextsAsTransparentTexts, Boolean saveTransparentTexts, String specialFolderForAllImages, String specialFolderForSvgImages, Boolean trySaveTextUnderliningAndStrikeoutingInCss, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPdfInStorageToXmlAsync(String name, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18258,15 +21613,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToHtmlValidateBeforeCall(name, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPdfInStorageToXmlValidateBeforeCall(name, folder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToLaTeX + * Build call for getPdfInStorageToXps * @param name The document name. (required) - * @param pagesCount Pages count. (optional) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener @@ -18274,17 +21628,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToLaTeXCall(String name, Integer pagesCount, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPdfInStorageToXpsCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/latex" + String localVarPath = "/pdf/{name}/convert/xps" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (pagesCount != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pagesCount", pagesCount)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) @@ -18318,46 +21670,201 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getPdfInStorageToXpsValidateBeforeCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToXps(Async)"); + } + + + com.squareup.okhttp.Call call = getPdfInStorageToXpsCall(name, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document (located on storage) to XPS format and returns resulting file in response content + * + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return File + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public File getPdfInStorageToXps(String name, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = getPdfInStorageToXpsWithHttpInfo(name, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = getPdfInStorageToXpsWithHttpInfo(name, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document (located on storage) to XPS format and returns resulting file in response content + * + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<File> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getPdfInStorageToXpsWithHttpInfo(String name, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPdfInStorageToXpsValidateBeforeCall(name, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document (located on storage) to XPS format and returns resulting file in response content (asynchronously) + * + * @param name The document name. (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getPdfInStorageToXpsAsync(String name, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getPdfInStorageToXpsValidateBeforeCall(name, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getPolyLineAnnotation + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getPolyLineAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/annotations/polyline/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToLaTeXValidateBeforeCall(String name, Integer pagesCount, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPolyLineAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToLaTeX(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPolyLineAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getPolyLineAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToLaTeXCall(name, pagesCount, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPolyLineAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to LaTeX format and returns resulting file in response content + * Read document page polyline annotation by ID. * * @param name The document name. (required) - * @param pagesCount Pages count. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return PolyLineAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToLaTeX(String name, Integer pagesCount, String folder, String storage) throws ApiException { + public PolyLineAnnotationResponse getPolyLineAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPdfInStorageToLaTeXWithHttpInfo(name, pagesCount, folder, storage); + ApiResponse resp = getPolyLineAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToLaTeXWithHttpInfo(name, pagesCount, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getPolyLineAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -18365,33 +21872,33 @@ public File getPdfInStorageToLaTeX(String name, Integer pagesCount, String folde } /** - * Converts PDF document (located on storage) to LaTeX format and returns resulting file in response content + * Read document page polyline annotation by ID. * * @param name The document name. (required) - * @param pagesCount Pages count. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<PolyLineAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToLaTeXWithHttpInfo(String name, Integer pagesCount, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToLaTeXValidateBeforeCall(name, pagesCount, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPolyLineAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPolyLineAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to LaTeX format and returns resulting file in response content (asynchronously) + * Read document page polyline annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param pagesCount Pages count. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToLaTeXAsync(String name, Integer pagesCount, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPolyLineAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18412,41 +21919,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToLaTeXValidateBeforeCall(name, pagesCount, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPolyLineAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToMobiXml + * Build call for getPolygonAnnotation * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToMobiXmlCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPolygonAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/mobixml" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/polygon/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -18469,45 +21978,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToMobiXmlValidateBeforeCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPolygonAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToMobiXml(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPolygonAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getPolygonAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToMobiXmlCall(name, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPolygonAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to MOBIXML format and returns resulting file in response content + * Read document page polygon annotation by ID. * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return PolygonAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToMobiXml(String name, String folder, String storage) throws ApiException { + public PolygonAnnotationResponse getPolygonAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPdfInStorageToMobiXmlWithHttpInfo(name, folder, storage); + ApiResponse resp = getPolygonAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToMobiXmlWithHttpInfo(name, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getPolygonAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -18515,31 +22030,33 @@ public File getPdfInStorageToMobiXml(String name, String folder, String storage) } /** - * Converts PDF document (located on storage) to MOBIXML format and returns resulting file in response content + * Read document page polygon annotation by ID. * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<PolygonAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToMobiXmlWithHttpInfo(String name, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToMobiXmlValidateBeforeCall(name, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPolygonAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPolygonAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to MOBIXML format and returns resulting file in response content (asynchronously) + * Read document page polygon annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToMobiXmlAsync(String name, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPolygonAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18560,44 +22077,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToMobiXmlValidateBeforeCall(name, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPolygonAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToPdfA + * Build call for getPopupAnnotation * @param name The document name. (required) - * @param type Type of PdfA format. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToPdfACall(String name, String type, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPopupAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/pdfa" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/popup/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (type != null) - localVarQueryParams.addAll(apiClient.parameterToPair("type", type)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -18620,51 +22136,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToPdfAValidateBeforeCall(String name, String type, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPopupAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToPdfA(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getPopupAnnotation(Async)"); } - // verify the required parameter 'type' is set - if (type == null) { - throw new ApiException("Missing the required parameter 'type' when calling getPdfInStorageToPdfA(Async)"); + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getPopupAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToPdfACall(name, type, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPopupAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to PdfA format and returns resulting file in response content + * Read document page popup annotation by ID. * * @param name The document name. (required) - * @param type Type of PdfA format. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return PopupAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToPdfA(String name, String type, String folder, String storage) throws ApiException { + public PopupAnnotationResponse getPopupAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPdfInStorageToPdfAWithHttpInfo(name, type, folder, storage); + ApiResponse resp = getPopupAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToPdfAWithHttpInfo(name, type, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getPopupAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -18672,33 +22188,33 @@ public File getPdfInStorageToPdfA(String name, String type, String folder, Strin } /** - * Converts PDF document (located on storage) to PdfA format and returns resulting file in response content + * Read document page popup annotation by ID. * * @param name The document name. (required) - * @param type Type of PdfA format. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<PopupAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToPdfAWithHttpInfo(String name, String type, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToPdfAValidateBeforeCall(name, type, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getPopupAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getPopupAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to PdfA format and returns resulting file in response content (asynchronously) + * Read document page popup annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param type Type of PdfA format. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToPdfAAsync(String name, String type, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPopupAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18719,38 +22235,30 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToPdfAValidateBeforeCall(name, type, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getPopupAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToPptx - * @param name The document name. (required) - * @param separateImages Separate images. (optional) - * @param slidesAsImages Slides as images. (optional) - * @param folder The document folder. (optional) + * Build call for getPsInStorageToPdf + * @param srcPath Full source filename (ex. /folder1/folder2/template.ps) (required) * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToPptxCall(String name, Boolean separateImages, Boolean slidesAsImages, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getPsInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/pptx" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/create/ps"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (separateImages != null) - localVarQueryParams.addAll(apiClient.parameterToPair("separateImages", separateImages)); - if (slidesAsImages != null) - localVarQueryParams.addAll(apiClient.parameterToPair("slidesAsImages", slidesAsImages)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); @@ -18782,47 +22290,44 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToPptxValidateBeforeCall(String name, Boolean separateImages, Boolean slidesAsImages, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getPsInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToPptx(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling getPsInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToPptxCall(name, separateImages, slidesAsImages, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPsInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to PPTX format and returns resulting file in response content + * Convert PS file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param separateImages Separate images. (optional) - * @param slidesAsImages Slides as images. (optional) - * @param folder The document folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.ps) (required) * @param storage The document storage. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToPptx(String name, Boolean separateImages, Boolean slidesAsImages, String folder, String storage) throws ApiException { + public File getPsInStorageToPdf(String srcPath, String storage) throws ApiException { try { - ApiResponse resp = getPdfInStorageToPptxWithHttpInfo(name, separateImages, slidesAsImages, folder, storage); + ApiResponse resp = getPsInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToPptxWithHttpInfo(name, separateImages, slidesAsImages, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getPsInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } throw ex; @@ -18830,35 +22335,29 @@ public File getPdfInStorageToPptx(String name, Boolean separateImages, Boolean s } /** - * Converts PDF document (located on storage) to PPTX format and returns resulting file in response content + * Convert PS file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param separateImages Separate images. (optional) - * @param slidesAsImages Slides as images. (optional) - * @param folder The document folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.ps) (required) * @param storage The document storage. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToPptxWithHttpInfo(String name, Boolean separateImages, Boolean slidesAsImages, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToPptxValidateBeforeCall(name, separateImages, slidesAsImages, folder, storage, null, null); + public ApiResponse getPsInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { + com.squareup.okhttp.Call call = getPsInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to PPTX format and returns resulting file in response content (asynchronously) + * Convert PS file (located on storage) to PDF format and return resulting file in response. (asynchronously) * - * @param name The document name. (required) - * @param separateImages Separate images. (optional) - * @param slidesAsImages Slides as images. (optional) - * @param folder The document folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.ps) (required) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToPptxAsync(String name, Boolean separateImages, Boolean slidesAsImages, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getPsInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -18879,44 +22378,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToPptxValidateBeforeCall(name, separateImages, slidesAsImages, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getPsInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToSvg + * Build call for getRedactionAnnotation * @param name The document name. (required) - * @param compressOutputToZipArchive Specifies whether output will be created as one zip-archive. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToSvgCall(String name, Boolean compressOutputToZipArchive, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getRedactionAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/svg" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/redaction/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (compressOutputToZipArchive != null) - localVarQueryParams.addAll(apiClient.parameterToPair("compressOutputToZipArchive", compressOutputToZipArchive)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -18939,46 +22437,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToSvgValidateBeforeCall(String name, Boolean compressOutputToZipArchive, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getRedactionAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToSvg(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getRedactionAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getRedactionAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToSvgCall(name, compressOutputToZipArchive, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getRedactionAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to SVG format and returns resulting file in response content + * Read document page redaction annotation by ID. * * @param name The document name. (required) - * @param compressOutputToZipArchive Specifies whether output will be created as one zip-archive. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return RedactionAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToSvg(String name, Boolean compressOutputToZipArchive, String folder, String storage) throws ApiException { + public RedactionAnnotationResponse getRedactionAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPdfInStorageToSvgWithHttpInfo(name, compressOutputToZipArchive, folder, storage); + ApiResponse resp = getRedactionAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToSvgWithHttpInfo(name, compressOutputToZipArchive, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getRedactionAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -18986,33 +22489,33 @@ public File getPdfInStorageToSvg(String name, Boolean compressOutputToZipArchive } /** - * Converts PDF document (located on storage) to SVG format and returns resulting file in response content + * Read document page redaction annotation by ID. * * @param name The document name. (required) - * @param compressOutputToZipArchive Specifies whether output will be created as one zip-archive. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<RedactionAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToSvgWithHttpInfo(String name, Boolean compressOutputToZipArchive, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToSvgValidateBeforeCall(name, compressOutputToZipArchive, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getRedactionAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getRedactionAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to SVG format and returns resulting file in response content (asynchronously) + * Read document page redaction annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param compressOutputToZipArchive Specifies whether output will be created as one zip-archive. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToSvgAsync(String name, Boolean compressOutputToZipArchive, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getRedactionAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19033,86 +22536,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToSvgValidateBeforeCall(name, compressOutputToZipArchive, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getRedactionAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToTiff + * Build call for getScreenAnnotation * @param name The document name. (required) - * @param brightness Image brightness. (optional) - * @param compression Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. (optional) - * @param colorDepth Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. (optional) - * @param leftMargin Left image margin. (optional) - * @param rightMargin Right image margin. (optional) - * @param topMargin Top image margin. (optional) - * @param bottomMargin Bottom image margin. (optional) - * @param orientation Image orientation. Possible values are: None, Landscape, Portait. (optional) - * @param skipBlankPages Skip blank pages flag. (optional) - * @param width Image width. (optional) - * @param height Image height. (optional) - * @param xResolution Horizontal resolution. (optional) - * @param yResolution Vertical resolution. (optional) - * @param pageIndex Start page to export. (optional) - * @param pageCount Number of pages to export. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToTiffCall(String name, Double brightness, String compression, String colorDepth, Integer leftMargin, Integer rightMargin, Integer topMargin, Integer bottomMargin, String orientation, Boolean skipBlankPages, Integer width, Integer height, Integer xResolution, Integer yResolution, Integer pageIndex, Integer pageCount, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getScreenAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/tiff" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/screen/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (brightness != null) - localVarQueryParams.addAll(apiClient.parameterToPair("brightness", brightness)); - if (compression != null) - localVarQueryParams.addAll(apiClient.parameterToPair("compression", compression)); - if (colorDepth != null) - localVarQueryParams.addAll(apiClient.parameterToPair("colorDepth", colorDepth)); - if (leftMargin != null) - localVarQueryParams.addAll(apiClient.parameterToPair("leftMargin", leftMargin)); - if (rightMargin != null) - localVarQueryParams.addAll(apiClient.parameterToPair("rightMargin", rightMargin)); - if (topMargin != null) - localVarQueryParams.addAll(apiClient.parameterToPair("topMargin", topMargin)); - if (bottomMargin != null) - localVarQueryParams.addAll(apiClient.parameterToPair("bottomMargin", bottomMargin)); - if (orientation != null) - localVarQueryParams.addAll(apiClient.parameterToPair("orientation", orientation)); - if (skipBlankPages != null) - localVarQueryParams.addAll(apiClient.parameterToPair("skipBlankPages", skipBlankPages)); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); - if (xResolution != null) - localVarQueryParams.addAll(apiClient.parameterToPair("xResolution", xResolution)); - if (yResolution != null) - localVarQueryParams.addAll(apiClient.parameterToPair("yResolution", yResolution)); - if (pageIndex != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pageIndex", pageIndex)); - if (pageCount != null) - localVarQueryParams.addAll(apiClient.parameterToPair("pageCount", pageCount)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -19135,60 +22595,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToTiffValidateBeforeCall(String name, Double brightness, String compression, String colorDepth, Integer leftMargin, Integer rightMargin, Integer topMargin, Integer bottomMargin, String orientation, Boolean skipBlankPages, Integer width, Integer height, Integer xResolution, Integer yResolution, Integer pageIndex, Integer pageCount, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getScreenAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToTiff(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getScreenAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getScreenAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToTiffCall(name, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getScreenAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to TIFF format and returns resulting file in response content + * Read document page screen annotation by ID. * * @param name The document name. (required) - * @param brightness Image brightness. (optional) - * @param compression Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. (optional) - * @param colorDepth Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. (optional) - * @param leftMargin Left image margin. (optional) - * @param rightMargin Right image margin. (optional) - * @param topMargin Top image margin. (optional) - * @param bottomMargin Bottom image margin. (optional) - * @param orientation Image orientation. Possible values are: None, Landscape, Portait. (optional) - * @param skipBlankPages Skip blank pages flag. (optional) - * @param width Image width. (optional) - * @param height Image height. (optional) - * @param xResolution Horizontal resolution. (optional) - * @param yResolution Vertical resolution. (optional) - * @param pageIndex Start page to export. (optional) - * @param pageCount Number of pages to export. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return ScreenAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToTiff(String name, Double brightness, String compression, String colorDepth, Integer leftMargin, Integer rightMargin, Integer topMargin, Integer bottomMargin, String orientation, Boolean skipBlankPages, Integer width, Integer height, Integer xResolution, Integer yResolution, Integer pageIndex, Integer pageCount, String folder, String storage) throws ApiException { + public ScreenAnnotationResponse getScreenAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPdfInStorageToTiffWithHttpInfo(name, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage); + ApiResponse resp = getScreenAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToTiffWithHttpInfo(name, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getScreenAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -19196,61 +22647,33 @@ public File getPdfInStorageToTiff(String name, Double brightness, String compres } /** - * Converts PDF document (located on storage) to TIFF format and returns resulting file in response content + * Read document page screen annotation by ID. * * @param name The document name. (required) - * @param brightness Image brightness. (optional) - * @param compression Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. (optional) - * @param colorDepth Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. (optional) - * @param leftMargin Left image margin. (optional) - * @param rightMargin Right image margin. (optional) - * @param topMargin Top image margin. (optional) - * @param bottomMargin Bottom image margin. (optional) - * @param orientation Image orientation. Possible values are: None, Landscape, Portait. (optional) - * @param skipBlankPages Skip blank pages flag. (optional) - * @param width Image width. (optional) - * @param height Image height. (optional) - * @param xResolution Horizontal resolution. (optional) - * @param yResolution Vertical resolution. (optional) - * @param pageIndex Start page to export. (optional) - * @param pageCount Number of pages to export. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<ScreenAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToTiffWithHttpInfo(String name, Double brightness, String compression, String colorDepth, Integer leftMargin, Integer rightMargin, Integer topMargin, Integer bottomMargin, String orientation, Boolean skipBlankPages, Integer width, Integer height, Integer xResolution, Integer yResolution, Integer pageIndex, Integer pageCount, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToTiffValidateBeforeCall(name, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getScreenAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getScreenAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to TIFF format and returns resulting file in response content (asynchronously) + * Read document page screen annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param brightness Image brightness. (optional) - * @param compression Tiff compression. Possible values are: LZW, CCITT4, CCITT3, RLE, None. (optional) - * @param colorDepth Image color depth. Possible valuse are: Default, Format8bpp, Format4bpp, Format1bpp. (optional) - * @param leftMargin Left image margin. (optional) - * @param rightMargin Right image margin. (optional) - * @param topMargin Top image margin. (optional) - * @param bottomMargin Bottom image margin. (optional) - * @param orientation Image orientation. Possible values are: None, Landscape, Portait. (optional) - * @param skipBlankPages Skip blank pages flag. (optional) - * @param width Image width. (optional) - * @param height Image height. (optional) - * @param xResolution Horizontal resolution. (optional) - * @param yResolution Vertical resolution. (optional) - * @param pageIndex Start page to export. (optional) - * @param pageCount Number of pages to export. (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToTiffAsync(String name, Double brightness, String compression, String colorDepth, Integer leftMargin, Integer rightMargin, Integer topMargin, Integer bottomMargin, String orientation, Boolean skipBlankPages, Integer width, Integer height, Integer xResolution, Integer yResolution, Integer pageIndex, Integer pageCount, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getScreenAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19271,46 +22694,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToTiffValidateBeforeCall(name, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getScreenAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToXls + * Build call for getScreenAnnotationData * @param name The document name. (required) - * @param insertBlankColumnAtFirst Insert blank column at first (optional) - * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) - * @param scaleFactor Scale factor (optional) - * @param uniformWorksheets Uniform worksheets (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToXlsCall(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getScreenAnnotationDataCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/xls" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/screen/{annotationId}/data" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (insertBlankColumnAtFirst != null) - localVarQueryParams.addAll(apiClient.parameterToPair("insertBlankColumnAtFirst", insertBlankColumnAtFirst)); - if (minimizeTheNumberOfWorksheets != null) - localVarQueryParams.addAll(apiClient.parameterToPair("minimizeTheNumberOfWorksheets", minimizeTheNumberOfWorksheets)); - if (scaleFactor != null) - localVarQueryParams.addAll(apiClient.parameterToPair("scaleFactor", scaleFactor)); - if (uniformWorksheets != null) - localVarQueryParams.addAll(apiClient.parameterToPair("uniformWorksheets", uniformWorksheets)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -19340,49 +22753,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToXlsValidateBeforeCall(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getScreenAnnotationDataValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToXls(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getScreenAnnotationData(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getScreenAnnotationData(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToXlsCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getScreenAnnotationDataCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to XLS format and returns resulting file in response content + * Read document page screen annotation by ID. * * @param name The document name. (required) - * @param insertBlankColumnAtFirst Insert blank column at first (optional) - * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) - * @param scaleFactor Scale factor (optional) - * @param uniformWorksheets Uniform worksheets (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToXls(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage) throws ApiException { + public File getScreenAnnotationData(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPdfInStorageToXlsWithHttpInfo(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage); + ApiResponse resp = getScreenAnnotationDataWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToXlsWithHttpInfo(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getScreenAnnotationDataWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -19390,39 +22805,33 @@ public File getPdfInStorageToXls(String name, Boolean insertBlankColumnAtFirst, } /** - * Converts PDF document (located on storage) to XLS format and returns resulting file in response content + * Read document page screen annotation by ID. * * @param name The document name. (required) - * @param insertBlankColumnAtFirst Insert blank column at first (optional) - * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) - * @param scaleFactor Scale factor (optional) - * @param uniformWorksheets Uniform worksheets (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToXlsWithHttpInfo(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToXlsValidateBeforeCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, null, null); + public ApiResponse getScreenAnnotationDataWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getScreenAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to XLS format and returns resulting file in response content (asynchronously) + * Read document page screen annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param insertBlankColumnAtFirst Insert blank column at first (optional) - * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) - * @param scaleFactor Scale factor (optional) - * @param uniformWorksheets Uniform worksheets (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToXlsAsync(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getScreenAnnotationDataAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19443,53 +22852,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToXlsValidateBeforeCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getScreenAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToXlsx + * Build call for getSoundAnnotation * @param name The document name. (required) - * @param insertBlankColumnAtFirst Insert blank column at first (optional) - * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) - * @param scaleFactor Scale factor (optional) - * @param uniformWorksheets Uniform worksheets (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToXlsxCall(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getSoundAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/xlsx" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/sound/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (insertBlankColumnAtFirst != null) - localVarQueryParams.addAll(apiClient.parameterToPair("insertBlankColumnAtFirst", insertBlankColumnAtFirst)); - if (minimizeTheNumberOfWorksheets != null) - localVarQueryParams.addAll(apiClient.parameterToPair("minimizeTheNumberOfWorksheets", minimizeTheNumberOfWorksheets)); - if (scaleFactor != null) - localVarQueryParams.addAll(apiClient.parameterToPair("scaleFactor", scaleFactor)); - if (uniformWorksheets != null) - localVarQueryParams.addAll(apiClient.parameterToPair("uniformWorksheets", uniformWorksheets)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -19512,49 +22911,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToXlsxValidateBeforeCall(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getSoundAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToXlsx(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getSoundAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getSoundAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToXlsxCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getSoundAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to XLSX format and returns resulting file in response content + * Read document page sound annotation by ID. * * @param name The document name. (required) - * @param insertBlankColumnAtFirst Insert blank column at first (optional) - * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) - * @param scaleFactor Scale factor (optional) - * @param uniformWorksheets Uniform worksheets (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return SoundAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToXlsx(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage) throws ApiException { + public SoundAnnotationResponse getSoundAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPdfInStorageToXlsxWithHttpInfo(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage); + ApiResponse resp = getSoundAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToXlsxWithHttpInfo(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getSoundAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -19562,39 +22963,33 @@ public File getPdfInStorageToXlsx(String name, Boolean insertBlankColumnAtFirst, } /** - * Converts PDF document (located on storage) to XLSX format and returns resulting file in response content + * Read document page sound annotation by ID. * * @param name The document name. (required) - * @param insertBlankColumnAtFirst Insert blank column at first (optional) - * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) - * @param scaleFactor Scale factor (optional) - * @param uniformWorksheets Uniform worksheets (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<SoundAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToXlsxWithHttpInfo(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToXlsxValidateBeforeCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getSoundAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getSoundAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to XLSX format and returns resulting file in response content (asynchronously) + * Read document page sound annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param insertBlankColumnAtFirst Insert blank column at first (optional) - * @param minimizeTheNumberOfWorksheets Minimize the number of worksheets (optional) - * @param scaleFactor Scale factor (optional) - * @param uniformWorksheets Uniform worksheets (optional) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToXlsxAsync(String name, Boolean insertBlankColumnAtFirst, Boolean minimizeTheNumberOfWorksheets, Double scaleFactor, Boolean uniformWorksheets, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getSoundAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19615,34 +23010,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToXlsxValidateBeforeCall(name, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getSoundAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToXml + * Build call for getSoundAnnotationData * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToXmlCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getSoundAnnotationDataCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/xml" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/sound/{annotationId}/data" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -19672,45 +23069,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToXmlValidateBeforeCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getSoundAnnotationDataValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToXml(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getSoundAnnotationData(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getSoundAnnotationData(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToXmlCall(name, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getSoundAnnotationDataCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to XML format and returns resulting file in response content + * Read document page sound annotation by ID. * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToXml(String name, String folder, String storage) throws ApiException { + public File getSoundAnnotationData(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPdfInStorageToXmlWithHttpInfo(name, folder, storage); + ApiResponse resp = getSoundAnnotationDataWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToXmlWithHttpInfo(name, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getSoundAnnotationDataWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -19718,31 +23121,33 @@ public File getPdfInStorageToXml(String name, String folder, String storage) thr } /** - * Converts PDF document (located on storage) to XML format and returns resulting file in response content + * Read document page sound annotation by ID. * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToXmlWithHttpInfo(String name, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToXmlValidateBeforeCall(name, folder, storage, null, null); + public ApiResponse getSoundAnnotationDataWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getSoundAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to XML format and returns resulting file in response content (asynchronously) + * Read document page sound annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToXmlAsync(String name, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getSoundAnnotationDataAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19763,41 +23168,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToXmlValidateBeforeCall(name, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getSoundAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPdfInStorageToXps + * Build call for getSquareAnnotation * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToXpsCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getSquareAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/xps" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/square/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -19820,45 +23227,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPdfInStorageToXpsValidateBeforeCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getSquareAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPdfInStorageToXps(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getSquareAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getSquareAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPdfInStorageToXpsCall(name, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getSquareAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document (located on storage) to XPS format and returns resulting file in response content + * Read document page square annotation by ID. * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return SquareAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPdfInStorageToXps(String name, String folder, String storage) throws ApiException { + public SquareAnnotationResponse getSquareAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPdfInStorageToXpsWithHttpInfo(name, folder, storage); + ApiResponse resp = getSquareAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPdfInStorageToXpsWithHttpInfo(name, folder, storage); + apiClient.requestToken(); + ApiResponse resp = getSquareAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -19866,31 +23279,33 @@ public File getPdfInStorageToXps(String name, String folder, String storage) thr } /** - * Converts PDF document (located on storage) to XPS format and returns resulting file in response content + * Read document page square annotation by ID. * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<SquareAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPdfInStorageToXpsWithHttpInfo(String name, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPdfInStorageToXpsValidateBeforeCall(name, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getSquareAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getSquareAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document (located on storage) to XPS format and returns resulting file in response content (asynchronously) + * Read document page square annotation by ID. (asynchronously) * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPdfInStorageToXpsAsync(String name, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getSquareAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -19911,13 +23326,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPdfInStorageToXpsValidateBeforeCall(name, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getSquareAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPolyLineAnnotation + * Build call for getSquigglyAnnotation * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) @@ -19927,11 +23342,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPolyLineAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getSquigglyAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/polyline/{annotationId}" + String localVarPath = "/pdf/{name}/annotations/squiggly/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); @@ -19970,51 +23385,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPolyLineAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getSquigglyAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPolyLineAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getSquigglyAnnotation(Async)"); } // verify the required parameter 'annotationId' is set if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getPolyLineAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'annotationId' when calling getSquigglyAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPolyLineAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getSquigglyAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page polyline annotation by ID. + * Read document page squiggly annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return PolyLineAnnotationResponse + * @return SquigglyAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PolyLineAnnotationResponse getPolyLineAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public SquigglyAnnotationResponse getSquigglyAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPolyLineAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getSquigglyAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPolyLineAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getSquigglyAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -20022,23 +23437,23 @@ public PolyLineAnnotationResponse getPolyLineAnnotation(String name, String anno } /** - * Read document page polyline annotation by ID. + * Read document page squiggly annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<PolyLineAnnotationResponse> + * @return ApiResponse<SquigglyAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPolyLineAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPolyLineAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getSquigglyAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getSquigglyAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page polyline annotation by ID. (asynchronously) + * Read document page squiggly annotation by ID. (asynchronously) * * @param name The document name. (required) * @param annotationId The annotation ID. (required) @@ -20048,7 +23463,7 @@ public ApiResponse getPolyLineAnnotationWithHttpInfo * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPolyLineAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getSquigglyAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -20069,13 +23484,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPolyLineAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getSquigglyAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPolygonAnnotation + * Build call for getStampAnnotation * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) @@ -20085,11 +23500,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPolygonAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getStampAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/polygon/{annotationId}" + String localVarPath = "/pdf/{name}/annotations/stamp/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); @@ -20128,51 +23543,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPolygonAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getStampAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPolygonAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getStampAnnotation(Async)"); } // verify the required parameter 'annotationId' is set if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getPolygonAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'annotationId' when calling getStampAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPolygonAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getStampAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page polygon annotation by ID. + * Read document page stamp annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return PolygonAnnotationResponse + * @return StampAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PolygonAnnotationResponse getPolygonAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public StampAnnotationResponse getStampAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPolygonAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getStampAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPolygonAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getStampAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -20180,23 +23595,23 @@ public PolygonAnnotationResponse getPolygonAnnotation(String name, String annota } /** - * Read document page polygon annotation by ID. + * Read document page stamp annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<PolygonAnnotationResponse> + * @return ApiResponse<StampAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPolygonAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPolygonAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getStampAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getStampAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page polygon annotation by ID. (asynchronously) + * Read document page stamp annotation by ID. (asynchronously) * * @param name The document name. (required) * @param annotationId The annotation ID. (required) @@ -20206,7 +23621,7 @@ public ApiResponse getPolygonAnnotationWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPolygonAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getStampAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -20227,13 +23642,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPolygonAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getStampAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPopupAnnotation + * Build call for getStampAnnotationData * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) @@ -20243,11 +23658,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPopupAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getStampAnnotationDataCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/popup/{annotationId}" + String localVarPath = "/pdf/{name}/annotations/stamp/{annotationId}/data" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); @@ -20286,51 +23701,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPopupAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getStampAnnotationDataValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getPopupAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getStampAnnotationData(Async)"); } // verify the required parameter 'annotationId' is set if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getPopupAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'annotationId' when calling getStampAnnotationData(Async)"); } - com.squareup.okhttp.Call call = getPopupAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getStampAnnotationDataCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page popup annotation by ID. + * Read document page stamp annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return PopupAnnotationResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public PopupAnnotationResponse getPopupAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public File getStampAnnotationData(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPopupAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getStampAnnotationDataWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPopupAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getStampAnnotationDataWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -20338,23 +23753,23 @@ public PopupAnnotationResponse getPopupAnnotation(String name, String annotation } /** - * Read document page popup annotation by ID. + * Read document page stamp annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<PopupAnnotationResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPopupAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getPopupAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getStampAnnotationDataWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getStampAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page popup annotation by ID. (asynchronously) + * Read document page stamp annotation by ID. (asynchronously) * * @param name The document name. (required) * @param annotationId The annotation ID. (required) @@ -20364,7 +23779,7 @@ public ApiResponse getPopupAnnotationWithHttpInfo(Strin * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPopupAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getStampAnnotationDataAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -20385,39 +23800,43 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPopupAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getStampAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getPsInStorageToPdf - * @param srcPath Full source filename (ex. /folder1/folder2/template.ps) (required) + * Build call for getStrikeOutAnnotation + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getPsInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getStrikeOutAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/create/ps"; + String localVarPath = "/pdf/{name}/annotations/strikeout/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -20440,44 +23859,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getPsInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getStrikeOutAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling getPsInStorageToPdf(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling getStrikeOutAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling getStrikeOutAnnotation(Async)"); } - com.squareup.okhttp.Call call = getPsInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getStrikeOutAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert PS file (located on storage) to PDF format and return resulting file in response. + * Read document page StrikeOut annotation by ID. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.ps) (required) + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return StrikeOutAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getPsInStorageToPdf(String srcPath, String storage) throws ApiException { + public StrikeOutAnnotationResponse getStrikeOutAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getPsInStorageToPdfWithHttpInfo(srcPath, storage); + ApiResponse resp = getStrikeOutAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getPsInStorageToPdfWithHttpInfo(srcPath, storage); + apiClient.requestToken(); + ApiResponse resp = getStrikeOutAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -20485,29 +23911,33 @@ public File getPsInStorageToPdf(String srcPath, String storage) throws ApiExcept } /** - * Convert PS file (located on storage) to PDF format and return resulting file in response. + * Read document page StrikeOut annotation by ID. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.ps) (required) + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<StrikeOutAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getPsInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { - com.squareup.okhttp.Call call = getPsInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getStrikeOutAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getStrikeOutAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert PS file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * Read document page StrikeOut annotation by ID. (asynchronously) * - * @param srcPath Full source filename (ex. /folder1/folder2/template.ps) (required) + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getPsInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getStrikeOutAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -20528,43 +23958,63 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getPsInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getStrikeOutAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getRedactionAnnotation - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * Build call for getSvgInStorageToPdf + * @param srcPath Full source filename (ex. /folder1/folder2/template.svg) (required) + * @param adjustPageSize Adjust page size (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getRedactionAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getSvgInStorageToPdfCall(String srcPath, Boolean adjustPageSize, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/redaction/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/create/svg"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (adjustPageSize != null) + localVarQueryParams.addAll(apiClient.parameterToPair("adjustPageSize", adjustPageSize)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (isLandscape != null) + localVarQueryParams.addAll(apiClient.parameterToPair("isLandscape", isLandscape)); + if (marginLeft != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginLeft", marginLeft)); + if (marginBottom != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginBottom", marginBottom)); + if (marginRight != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginRight", marginRight)); + if (marginTop != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginTop", marginTop)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -20587,51 +24037,52 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getRedactionAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getRedactionAnnotation(Async)"); - } + private com.squareup.okhttp.Call getSvgInStorageToPdfValidateBeforeCall(String srcPath, Boolean adjustPageSize, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getRedactionAnnotation(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling getSvgInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = getRedactionAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getSvgInStorageToPdfCall(srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); return call; } /** - * Read document page redaction annotation by ID. + * Convert SVG file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.svg) (required) + * @param adjustPageSize Adjust page size (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return RedactionAnnotationResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public RedactionAnnotationResponse getRedactionAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public File getSvgInStorageToPdf(String srcPath, Boolean adjustPageSize, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { try { - ApiResponse resp = getRedactionAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getSvgInStorageToPdfWithHttpInfo(srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getRedactionAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getSvgInStorageToPdfWithHttpInfo(srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); return resp.getData(); } throw ex; @@ -20639,33 +24090,45 @@ public RedactionAnnotationResponse getRedactionAnnotation(String name, String an } /** - * Read document page redaction annotation by ID. + * Convert SVG file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.svg) (required) + * @param adjustPageSize Adjust page size (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<RedactionAnnotationResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getRedactionAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getRedactionAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getSvgInStorageToPdfWithHttpInfo(String srcPath, Boolean adjustPageSize, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { + com.squareup.okhttp.Call call = getSvgInStorageToPdfValidateBeforeCall(srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page redaction annotation by ID. (asynchronously) + * Convert SVG file (located on storage) to PDF format and return resulting file in response. (asynchronously) * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.svg) (required) + * @param adjustPageSize Adjust page size (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getRedactionAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getSvgInStorageToPdfAsync(String srcPath, Boolean adjustPageSize, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -20686,15 +24149,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getRedactionAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getSvgInStorageToPdfValidateBeforeCall(srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getScreenAnnotation + * Build call for getTable * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param tableId The table ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -20702,13 +24165,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getScreenAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getTableCall(String name, String tableId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/screen/{annotationId}" + String localVarPath = "/pdf/{name}/tables/{tableId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + .replaceAll("\\{" + "tableId" + "\\}", apiClient.escapeString(tableId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -20722,7 +24185,7 @@ public com.squareup.okhttp.Call getScreenAnnotationCall(String name, String anno Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -20745,51 +24208,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getScreenAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getTableValidateBeforeCall(String name, String tableId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getScreenAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getTable(Async)"); } - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getScreenAnnotation(Async)"); + // verify the required parameter 'tableId' is set + if (tableId == null) { + throw new ApiException("Missing the required parameter 'tableId' when calling getTable(Async)"); } - com.squareup.okhttp.Call call = getScreenAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getTableCall(name, tableId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page screen annotation by ID. + * Read document page table by ID. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param tableId The table ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ScreenAnnotationResponse + * @return TableRecognizedResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ScreenAnnotationResponse getScreenAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public TableRecognizedResponse getTable(String name, String tableId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getScreenAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getTableWithHttpInfo(name, tableId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getScreenAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getTableWithHttpInfo(name, tableId, storage, folder); return resp.getData(); } throw ex; @@ -20797,33 +24260,33 @@ public ScreenAnnotationResponse getScreenAnnotation(String name, String annotati } /** - * Read document page screen annotation by ID. + * Read document page table by ID. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param tableId The table ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<ScreenAnnotationResponse> + * @return ApiResponse<TableRecognizedResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getScreenAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getScreenAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getTableWithHttpInfo(String name, String tableId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getTableValidateBeforeCall(name, tableId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page screen annotation by ID. (asynchronously) + * Read document page table by ID. (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param tableId The table ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getScreenAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getTableAsync(String name, String tableId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -20844,43 +24307,62 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getScreenAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getTableValidateBeforeCall(name, tableId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getScreenAnnotationData + * Build call for getText * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) + * @param LLX X-coordinate of lower - left corner. (required) + * @param LLY Y - coordinate of lower-left corner. (required) + * @param URX X - coordinate of upper-right corner. (required) + * @param URY Y - coordinate of upper-right corner. (required) + * @param format List of formats for search. (optional) + * @param regex Formats are specified as a regular expression. (optional) + * @param splitRects Split result fragments (default is true). (optional, default to true) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getScreenAnnotationDataCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getTextCall(String name, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/screen/{annotationId}/data" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/text" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (format != null) + localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("csv", "format", format)); + if (regex != null) + localVarQueryParams.addAll(apiClient.parameterToPair("regex", regex)); + if (splitRects != null) + localVarQueryParams.addAll(apiClient.parameterToPair("splitRects", splitRects)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (LLX != null) + localVarQueryParams.addAll(apiClient.parameterToPair("LLX", LLX)); + if (LLY != null) + localVarQueryParams.addAll(apiClient.parameterToPair("LLY", LLY)); + if (URX != null) + localVarQueryParams.addAll(apiClient.parameterToPair("URX", URX)); + if (URY != null) + localVarQueryParams.addAll(apiClient.parameterToPair("URY", URY)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -20903,51 +24385,72 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getScreenAnnotationDataValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getTextValidateBeforeCall(String name, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getScreenAnnotationData(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getText(Async)"); } - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getScreenAnnotationData(Async)"); + // verify the required parameter 'LLX' is set + if (LLX == null) { + throw new ApiException("Missing the required parameter 'LLX' when calling getText(Async)"); + } + + // verify the required parameter 'LLY' is set + if (LLY == null) { + throw new ApiException("Missing the required parameter 'LLY' when calling getText(Async)"); + } + + // verify the required parameter 'URX' is set + if (URX == null) { + throw new ApiException("Missing the required parameter 'URX' when calling getText(Async)"); + } + + // verify the required parameter 'URY' is set + if (URY == null) { + throw new ApiException("Missing the required parameter 'URY' when calling getText(Async)"); } - com.squareup.okhttp.Call call = getScreenAnnotationDataCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getTextCall(name, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document page screen annotation by ID. + * Read document text. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) + * @param LLX X-coordinate of lower - left corner. (required) + * @param LLY Y - coordinate of lower-left corner. (required) + * @param URX X - coordinate of upper-right corner. (required) + * @param URY Y - coordinate of upper-right corner. (required) + * @param format List of formats for search. (optional) + * @param regex Formats are specified as a regular expression. (optional) + * @param splitRects Split result fragments (default is true). (optional, default to true) * @param folder The document folder. (optional) - * @return File + * @param storage The document storage. (optional) + * @return TextRectsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getScreenAnnotationData(String name, String annotationId, String storage, String folder) throws ApiException { + public TextRectsResponse getText(String name, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage) throws ApiException { try { - ApiResponse resp = getScreenAnnotationDataWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getTextWithHttpInfo(name, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getScreenAnnotationDataWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getTextWithHttpInfo(name, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage); return resp.getData(); } throw ex; @@ -20955,33 +24458,45 @@ public File getScreenAnnotationData(String name, String annotationId, String sto } /** - * Read document page screen annotation by ID. + * Read document text. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) + * @param LLX X-coordinate of lower - left corner. (required) + * @param LLY Y - coordinate of lower-left corner. (required) + * @param URX X - coordinate of upper-right corner. (required) + * @param URY Y - coordinate of upper-right corner. (required) + * @param format List of formats for search. (optional) + * @param regex Formats are specified as a regular expression. (optional) + * @param splitRects Split result fragments (default is true). (optional, default to true) * @param folder The document folder. (optional) - * @return ApiResponse<File> + * @param storage The document storage. (optional) + * @return ApiResponse<TextRectsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getScreenAnnotationDataWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getScreenAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getTextWithHttpInfo(String name, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getTextValidateBeforeCall(name, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page screen annotation by ID. (asynchronously) + * Read document text. (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) + * @param LLX X-coordinate of lower - left corner. (required) + * @param LLY Y - coordinate of lower-left corner. (required) + * @param URX X - coordinate of upper-right corner. (required) + * @param URY Y - coordinate of upper-right corner. (required) + * @param format List of formats for search. (optional) + * @param regex Formats are specified as a regular expression. (optional) + * @param splitRects Split result fragments (default is true). (optional, default to true) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getScreenAnnotationDataAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getTextAsync(String name, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -21002,13 +24517,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getScreenAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getTextValidateBeforeCall(name, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getSoundAnnotation + * Build call for getTextAnnotation * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) @@ -21018,11 +24533,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getSoundAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getTextAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/sound/{annotationId}" + String localVarPath = "/pdf/{name}/annotations/text/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); @@ -21038,7 +24553,7 @@ public com.squareup.okhttp.Call getSoundAnnotationCall(String name, String annot Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -21061,51 +24576,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getSoundAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getTextAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getSoundAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getTextAnnotation(Async)"); } // verify the required parameter 'annotationId' is set if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getSoundAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'annotationId' when calling getTextAnnotation(Async)"); } - com.squareup.okhttp.Call call = getSoundAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getTextAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page sound annotation by ID. + * Read document page text annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return SoundAnnotationResponse + * @return TextAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SoundAnnotationResponse getSoundAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public TextAnnotationResponse getTextAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getSoundAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getTextAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getSoundAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getTextAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -21113,23 +24628,23 @@ public SoundAnnotationResponse getSoundAnnotation(String name, String annotation } /** - * Read document page sound annotation by ID. + * Read document page text annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<SoundAnnotationResponse> + * @return ApiResponse<TextAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getSoundAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getSoundAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getTextAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getTextAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page sound annotation by ID. (asynchronously) + * Read document page text annotation by ID. (asynchronously) * * @param name The document name. (required) * @param annotationId The annotation ID. (required) @@ -21139,7 +24654,7 @@ public ApiResponse getSoundAnnotationWithHttpInfo(Strin * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getSoundAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getTextAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -21160,13 +24675,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getSoundAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getTextAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getSoundAnnotationData + * Build call for getUnderlineAnnotation * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) @@ -21176,11 +24691,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getSoundAnnotationDataCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getUnderlineAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/sound/{annotationId}/data" + String localVarPath = "/pdf/{name}/annotations/underline/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); @@ -21196,7 +24711,7 @@ public com.squareup.okhttp.Call getSoundAnnotationDataCall(String name, String a Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -21219,51 +24734,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getSoundAnnotationDataValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getUnderlineAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getSoundAnnotationData(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getUnderlineAnnotation(Async)"); } // verify the required parameter 'annotationId' is set if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getSoundAnnotationData(Async)"); + throw new ApiException("Missing the required parameter 'annotationId' when calling getUnderlineAnnotation(Async)"); } - com.squareup.okhttp.Call call = getSoundAnnotationDataCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getUnderlineAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page sound annotation by ID. + * Read document page underline annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return File + * @return UnderlineAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getSoundAnnotationData(String name, String annotationId, String storage, String folder) throws ApiException { + public UnderlineAnnotationResponse getUnderlineAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { try { - ApiResponse resp = getSoundAnnotationDataWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getUnderlineAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getSoundAnnotationDataWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getUnderlineAnnotationWithHttpInfo(name, annotationId, storage, folder); return resp.getData(); } throw ex; @@ -21271,23 +24786,23 @@ public File getSoundAnnotationData(String name, String annotationId, String stor } /** - * Read document page sound annotation by ID. + * Read document page underline annotation by ID. * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<File> + * @return ApiResponse<UnderlineAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getSoundAnnotationDataWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getSoundAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getUnderlineAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getUnderlineAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page sound annotation by ID. (asynchronously) + * Read document page underline annotation by ID. (asynchronously) * * @param name The document name. (required) * @param annotationId The annotation ID. (required) @@ -21297,7 +24812,7 @@ public ApiResponse getSoundAnnotationDataWithHttpInfo(String name, String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getSoundAnnotationDataAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getUnderlineAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -21318,15 +24833,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getSoundAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getUnderlineAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getSquareAnnotation + * Build call for getVerifySignature * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param signName Sign name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -21334,16 +24849,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getSquareAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getVerifySignatureCall(String name, String signName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/square/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/verifySignature" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (signName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("signName", signName)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -21377,51 +24893,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getSquareAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getVerifySignatureValidateBeforeCall(String name, String signName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getSquareAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getVerifySignature(Async)"); } - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getSquareAnnotation(Async)"); + // verify the required parameter 'signName' is set + if (signName == null) { + throw new ApiException("Missing the required parameter 'signName' when calling getVerifySignature(Async)"); } - com.squareup.okhttp.Call call = getSquareAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getVerifySignatureCall(name, signName, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page square annotation by ID. + * Verify signature document. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param signName Sign name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return SquareAnnotationResponse + * @return SignatureVerifyResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SquareAnnotationResponse getSquareAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public SignatureVerifyResponse getVerifySignature(String name, String signName, String storage, String folder) throws ApiException { try { - ApiResponse resp = getSquareAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getVerifySignatureWithHttpInfo(name, signName, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getSquareAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getVerifySignatureWithHttpInfo(name, signName, storage, folder); return resp.getData(); } throw ex; @@ -21429,33 +24945,33 @@ public SquareAnnotationResponse getSquareAnnotation(String name, String annotati } /** - * Read document page square annotation by ID. + * Verify signature document. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param signName Sign name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<SquareAnnotationResponse> + * @return ApiResponse<SignatureVerifyResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getSquareAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getSquareAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getVerifySignatureWithHttpInfo(String name, String signName, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getVerifySignatureValidateBeforeCall(name, signName, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page square annotation by ID. (asynchronously) + * Verify signature document. (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param signName Sign name. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getSquareAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getVerifySignatureAsync(String name, String signName, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -21476,43 +24992,60 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getSquareAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getVerifySignatureValidateBeforeCall(name, signName, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getSquigglyAnnotation - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * Build call for getWebInStorageToPdf + * @param url Source url (required) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getSquigglyAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getWebInStorageToPdfCall(String url, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/squiggly/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/create/web"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (url != null) + localVarQueryParams.addAll(apiClient.parameterToPair("url", url)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (isLandscape != null) + localVarQueryParams.addAll(apiClient.parameterToPair("isLandscape", isLandscape)); + if (marginLeft != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginLeft", marginLeft)); + if (marginBottom != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginBottom", marginBottom)); + if (marginRight != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginRight", marginRight)); + if (marginTop != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginTop", marginTop)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -21535,51 +25068,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getSquigglyAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getSquigglyAnnotation(Async)"); - } + private com.squareup.okhttp.Call getWebInStorageToPdfValidateBeforeCall(String url, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getSquigglyAnnotation(Async)"); + // verify the required parameter 'url' is set + if (url == null) { + throw new ApiException("Missing the required parameter 'url' when calling getWebInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = getSquigglyAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getWebInStorageToPdfCall(url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); return call; } /** - * Read document page squiggly annotation by ID. + * Convert web page to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param url Source url (required) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return SquigglyAnnotationResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SquigglyAnnotationResponse getSquigglyAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public File getWebInStorageToPdf(String url, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { try { - ApiResponse resp = getSquigglyAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getWebInStorageToPdfWithHttpInfo(url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getSquigglyAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getWebInStorageToPdfWithHttpInfo(url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); return resp.getData(); } throw ex; @@ -21587,33 +25120,43 @@ public SquigglyAnnotationResponse getSquigglyAnnotation(String name, String anno } /** - * Read document page squiggly annotation by ID. + * Convert web page to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param url Source url (required) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<SquigglyAnnotationResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getSquigglyAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getSquigglyAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getWebInStorageToPdfWithHttpInfo(String url, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { + com.squareup.okhttp.Call call = getWebInStorageToPdfValidateBeforeCall(url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page squiggly annotation by ID. (asynchronously) + * Convert web page to PDF format and return resulting file in response. (asynchronously) * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param url Source url (required) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getSquigglyAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getWebInStorageToPdfAsync(String url, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -21634,15 +25177,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getSquigglyAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getWebInStorageToPdfValidateBeforeCall(url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getStampAnnotation + * Build call for getWordsPerPage * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -21650,13 +25192,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getStampAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getWordsPerPageCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/stamp/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/pages/wordCount" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -21693,51 +25234,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getStampAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getWordsPerPageValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getStampAnnotation(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getStampAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getWordsPerPage(Async)"); } - com.squareup.okhttp.Call call = getStampAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getWordsPerPageCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Read document page stamp annotation by ID. + * Get number of words per document page. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return StampAnnotationResponse + * @return WordCountResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public StampAnnotationResponse getStampAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public WordCountResponse getWordsPerPage(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = getStampAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getWordsPerPageWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getStampAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getWordsPerPageWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -21745,33 +25280,31 @@ public StampAnnotationResponse getStampAnnotation(String name, String annotation } /** - * Read document page stamp annotation by ID. + * Get number of words per document page. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<StampAnnotationResponse> + * @return ApiResponse<WordCountResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getStampAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getStampAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getWordsPerPageWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = getWordsPerPageValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page stamp annotation by ID. (asynchronously) + * Get number of words per document page. (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getStampAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getWordsPerPageAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -21792,43 +25325,41 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getStampAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getWordsPerPageValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getStampAnnotationData + * Build call for getXfaPdfInStorageToAcroForm * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getStampAnnotationDataCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getXfaPdfInStorageToAcroFormCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/stamp/{annotationId}/data" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/convert/xfatoacroform" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -21851,51 +25382,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getStampAnnotationDataValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getXfaPdfInStorageToAcroFormValidateBeforeCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getStampAnnotationData(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getStampAnnotationData(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling getXfaPdfInStorageToAcroForm(Async)"); } - com.squareup.okhttp.Call call = getStampAnnotationDataCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getXfaPdfInStorageToAcroFormCall(name, folder, storage, progressListener, progressRequestListener); return call; } /** - * Read document page stamp annotation by ID. + * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and returns resulting file response content * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getStampAnnotationData(String name, String annotationId, String storage, String folder) throws ApiException { + public File getXfaPdfInStorageToAcroForm(String name, String folder, String storage) throws ApiException { try { - ApiResponse resp = getStampAnnotationDataWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getXfaPdfInStorageToAcroFormWithHttpInfo(name, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getStampAnnotationDataWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getXfaPdfInStorageToAcroFormWithHttpInfo(name, folder, storage); return resp.getData(); } throw ex; @@ -21903,33 +25428,31 @@ public File getStampAnnotationData(String name, String annotationId, String stor } /** - * Read document page stamp annotation by ID. + * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and returns resulting file response content * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getStampAnnotationDataWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getStampAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, null, null); + public ApiResponse getXfaPdfInStorageToAcroFormWithHttpInfo(String name, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = getXfaPdfInStorageToAcroFormValidateBeforeCall(name, folder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page stamp annotation by ID. (asynchronously) + * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and returns resulting file response content (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getStampAnnotationDataAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getXfaPdfInStorageToAcroFormAsync(String name, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -21950,43 +25473,42 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getStampAnnotationDataValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getXfaPdfInStorageToAcroFormValidateBeforeCall(name, folder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getStrikeOutAnnotation - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * Build call for getXmlInStorageToPdf + * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) + * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getStrikeOutAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getXmlInStorageToPdfCall(String srcPath, String xslFilePath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/strikeout/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/create/xml"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (xslFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("xslFilePath", xslFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -22009,51 +25531,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getStrikeOutAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getStrikeOutAnnotation(Async)"); - } + private com.squareup.okhttp.Call getXmlInStorageToPdfValidateBeforeCall(String srcPath, String xslFilePath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getStrikeOutAnnotation(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling getXmlInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = getStrikeOutAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getXmlInStorageToPdfCall(srcPath, xslFilePath, storage, progressListener, progressRequestListener); return call; } /** - * Read document page StrikeOut annotation by ID. + * Convert XML file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) + * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return StrikeOutAnnotationResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public StrikeOutAnnotationResponse getStrikeOutAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public File getXmlInStorageToPdf(String srcPath, String xslFilePath, String storage) throws ApiException { try { - ApiResponse resp = getStrikeOutAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = getXmlInStorageToPdfWithHttpInfo(srcPath, xslFilePath, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getStrikeOutAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getXmlInStorageToPdfWithHttpInfo(srcPath, xslFilePath, storage); return resp.getData(); } throw ex; @@ -22061,33 +25577,31 @@ public StrikeOutAnnotationResponse getStrikeOutAnnotation(String name, String an } /** - * Read document page StrikeOut annotation by ID. + * Convert XML file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) + * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<StrikeOutAnnotationResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getStrikeOutAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getStrikeOutAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getXmlInStorageToPdfWithHttpInfo(String srcPath, String xslFilePath, String storage) throws ApiException { + com.squareup.okhttp.Call call = getXmlInStorageToPdfValidateBeforeCall(srcPath, xslFilePath, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page StrikeOut annotation by ID. (asynchronously) + * Convert XML file (located on storage) to PDF format and return resulting file in response. (asynchronously) * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) + * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getStrikeOutAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getXmlInStorageToPdfAsync(String srcPath, String xslFilePath, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -22108,54 +25622,30 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getStrikeOutAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getXmlInStorageToPdfValidateBeforeCall(srcPath, xslFilePath, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getSvgInStorageToPdf - * @param srcPath Full source filename (ex. /folder1/folder2/template.svg) (required) - * @param adjustPageSize Adjust page size (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * Build call for getXpsInStorageToPdf + * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getSvgInStorageToPdfCall(String srcPath, Boolean adjustPageSize, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getXpsInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/create/svg"; + String localVarPath = "/pdf/create/xps"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (srcPath != null) localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); - if (adjustPageSize != null) - localVarQueryParams.addAll(apiClient.parameterToPair("adjustPageSize", adjustPageSize)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (isLandscape != null) - localVarQueryParams.addAll(apiClient.parameterToPair("isLandscape", isLandscape)); - if (marginLeft != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginLeft", marginLeft)); - if (marginBottom != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginBottom", marginBottom)); - if (marginRight != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginRight", marginRight)); - if (marginTop != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginTop", marginTop)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); @@ -22187,52 +25677,44 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getSvgInStorageToPdfValidateBeforeCall(String srcPath, Boolean adjustPageSize, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getXpsInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'srcPath' is set if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling getSvgInStorageToPdf(Async)"); + throw new ApiException("Missing the required parameter 'srcPath' when calling getXpsInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = getSvgInStorageToPdfCall(srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getXpsInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); return call; } /** - * Convert SVG file (located on storage) to PDF format and return resulting file in response. + * Convert XPS file (located on storage) to PDF format and return resulting file in response. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.svg) (required) - * @param adjustPageSize Adjust page size (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) * @param storage The document storage. (optional) * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getSvgInStorageToPdf(String srcPath, Boolean adjustPageSize, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { + public File getXpsInStorageToPdf(String srcPath, String storage) throws ApiException { try { - ApiResponse resp = getSvgInStorageToPdfWithHttpInfo(srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); + ApiResponse resp = getXpsInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getSvgInStorageToPdfWithHttpInfo(srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); + apiClient.requestToken(); + ApiResponse resp = getXpsInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } throw ex; @@ -22240,45 +25722,29 @@ public File getSvgInStorageToPdf(String srcPath, Boolean adjustPageSize, Double } /** - * Convert SVG file (located on storage) to PDF format and return resulting file in response. + * Convert XPS file (located on storage) to PDF format and return resulting file in response. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.svg) (required) - * @param adjustPageSize Adjust page size (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) * @param storage The document storage. (optional) * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getSvgInStorageToPdfWithHttpInfo(String srcPath, Boolean adjustPageSize, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { - com.squareup.okhttp.Call call = getSvgInStorageToPdfValidateBeforeCall(srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, null, null); + public ApiResponse getXpsInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { + com.squareup.okhttp.Call call = getXpsInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert SVG file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * Convert XPS file (located on storage) to PDF format and return resulting file in response. (asynchronously) * - * @param srcPath Full source filename (ex. /folder1/folder2/template.svg) (required) - * @param adjustPageSize Adjust page size (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getSvgInStorageToPdfAsync(String srcPath, Boolean adjustPageSize, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getXpsInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -22299,43 +25765,39 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getSvgInStorageToPdfValidateBeforeCall(srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getXpsInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getTable - * @param name The document name. (required) - * @param tableId The table ID. (required) + * Build call for getXslFoInStorageToPdf + * @param srcPath Full source filename (ex. /folder1/folder2/template.xslfo) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getTableCall(String name, String tableId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getXslFoInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/tables/{tableId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "tableId" + "\\}", apiClient.escapeString(tableId.toString())); + String localVarPath = "/pdf/create/xslfo"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/json" + "multipart/form-data" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -22358,51 +25820,44 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getTableValidateBeforeCall(String name, String tableId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getTable(Async)"); - } + private com.squareup.okhttp.Call getXslFoInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'tableId' is set - if (tableId == null) { - throw new ApiException("Missing the required parameter 'tableId' when calling getTable(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling getXslFoInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = getTableCall(name, tableId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = getXslFoInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); return call; } /** - * Read document page table by ID. + * Convert XslFo file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param tableId The table ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xslfo) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return TableRecognizedResponse + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TableRecognizedResponse getTable(String name, String tableId, String storage, String folder) throws ApiException { + public File getXslFoInStorageToPdf(String srcPath, String storage) throws ApiException { try { - ApiResponse resp = getTableWithHttpInfo(name, tableId, storage, folder); + ApiResponse resp = getXslFoInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getTableWithHttpInfo(name, tableId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = getXslFoInStorageToPdfWithHttpInfo(srcPath, storage); return resp.getData(); } throw ex; @@ -22410,33 +25865,29 @@ public TableRecognizedResponse getTable(String name, String tableId, String stor } /** - * Read document page table by ID. + * Convert XslFo file (located on storage) to PDF format and return resulting file in response. * - * @param name The document name. (required) - * @param tableId The table ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xslfo) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<TableRecognizedResponse> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getTableWithHttpInfo(String name, String tableId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getTableValidateBeforeCall(name, tableId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse getXslFoInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { + com.squareup.okhttp.Call call = getXslFoInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page table by ID. (asynchronously) + * Convert XslFo file (located on storage) to PDF format and return resulting file in response. (asynchronously) * - * @param name The document name. (required) - * @param tableId The table ID. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xslfo) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getTableAsync(String name, String tableId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getXslFoInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -22457,55 +25908,40 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getTableValidateBeforeCall(name, tableId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = getXslFoInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getText - * @param name The document name. (required) - * @param LLX X-coordinate of lower - left corner. (required) - * @param LLY Y - coordinate of lower-left corner. (required) - * @param URX X - coordinate of upper-right corner. (required) - * @param URY Y - coordinate of upper-right corner. (required) - * @param format List of formats for search. (optional) - * @param regex Formats are specified as a regular expression. (optional) - * @param splitRects Split result fragments (default is true). (optional) - * @param folder The document folder. (optional) - * @param storage The document storage. (optional) + * Build call for moveFile + * @param srcPath Source file path e.g. '/src.ext' (required) + * @param destPath Destination file path e.g. '/dest.ext' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) + * @param versionId File version ID to move (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getTextCall(String name, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call moveFileCall(String srcPath, String destPath, String srcStorageName, String destStorageName, String versionId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/text" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/storage/file/move/{srcPath}" + .replaceAll("\\{" + "srcPath" + "\\}", apiClient.escapeString(srcPath.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (format != null) - localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("multi", "format", format)); - if (regex != null) - localVarQueryParams.addAll(apiClient.parameterToPair("regex", regex)); - if (splitRects != null) - localVarQueryParams.addAll(apiClient.parameterToPair("splitRects", splitRects)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); - if (LLX != null) - localVarQueryParams.addAll(apiClient.parameterToPair("LLX", LLX)); - if (LLY != null) - localVarQueryParams.addAll(apiClient.parameterToPair("LLY", LLY)); - if (URX != null) - localVarQueryParams.addAll(apiClient.parameterToPair("URX", URX)); - if (URY != null) - localVarQueryParams.addAll(apiClient.parameterToPair("URY", URY)); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (destPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destPath", destPath)); + if (srcStorageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcStorageName", srcStorageName)); + if (destStorageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destStorageName", destStorageName)); + if (versionId != null) + localVarQueryParams.addAll(apiClient.parameterToPair("versionId", versionId)); Map localVarHeaderParams = new HashMap(); @@ -22535,118 +25971,84 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getTextValidateBeforeCall(String name, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call moveFileValidateBeforeCall(String srcPath, String destPath, String srcStorageName, String destStorageName, String versionId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getText(Async)"); - } - - // verify the required parameter 'LLX' is set - if (LLX == null) { - throw new ApiException("Missing the required parameter 'LLX' when calling getText(Async)"); - } - - // verify the required parameter 'LLY' is set - if (LLY == null) { - throw new ApiException("Missing the required parameter 'LLY' when calling getText(Async)"); - } - - // verify the required parameter 'URX' is set - if (URX == null) { - throw new ApiException("Missing the required parameter 'URX' when calling getText(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling moveFile(Async)"); } - // verify the required parameter 'URY' is set - if (URY == null) { - throw new ApiException("Missing the required parameter 'URY' when calling getText(Async)"); + // verify the required parameter 'destPath' is set + if (destPath == null) { + throw new ApiException("Missing the required parameter 'destPath' when calling moveFile(Async)"); } - com.squareup.okhttp.Call call = getTextCall(name, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = moveFileCall(srcPath, destPath, srcStorageName, destStorageName, versionId, progressListener, progressRequestListener); return call; } /** - * Read document text. + * Move file * - * @param name The document name. (required) - * @param LLX X-coordinate of lower - left corner. (required) - * @param LLY Y - coordinate of lower-left corner. (required) - * @param URX X - coordinate of upper-right corner. (required) - * @param URY Y - coordinate of upper-right corner. (required) - * @param format List of formats for search. (optional) - * @param regex Formats are specified as a regular expression. (optional) - * @param splitRects Split result fragments (default is true). (optional) - * @param folder The document folder. (optional) - * @param storage The document storage. (optional) - * @return TextRectsResponse + * @param srcPath Source file path e.g. '/src.ext' (required) + * @param destPath Destination file path e.g. '/dest.ext' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) + * @param versionId File version ID to move (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TextRectsResponse getText(String name, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage) throws ApiException { + public void moveFile(String srcPath, String destPath, String srcStorageName, String destStorageName, String versionId) throws ApiException { try { - ApiResponse resp = getTextWithHttpInfo(name, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage); - return resp.getData(); + moveFileWithHttpInfo(srcPath, destPath, srcStorageName, destStorageName, versionId); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getTextWithHttpInfo(name, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage); - return resp.getData(); + apiClient.requestToken(); + moveFileWithHttpInfo(srcPath, destPath, srcStorageName, destStorageName, versionId); } throw ex; } } /** - * Read document text. + * Move file * - * @param name The document name. (required) - * @param LLX X-coordinate of lower - left corner. (required) - * @param LLY Y - coordinate of lower-left corner. (required) - * @param URX X - coordinate of upper-right corner. (required) - * @param URY Y - coordinate of upper-right corner. (required) - * @param format List of formats for search. (optional) - * @param regex Formats are specified as a regular expression. (optional) - * @param splitRects Split result fragments (default is true). (optional) - * @param folder The document folder. (optional) - * @param storage The document storage. (optional) - * @return ApiResponse<TextRectsResponse> + * @param srcPath Source file path e.g. '/src.ext' (required) + * @param destPath Destination file path e.g. '/dest.ext' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) + * @param versionId File version ID to move (optional) + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getTextWithHttpInfo(String name, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getTextValidateBeforeCall(name, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); + public ApiResponse moveFileWithHttpInfo(String srcPath, String destPath, String srcStorageName, String destStorageName, String versionId) throws ApiException { + com.squareup.okhttp.Call call = moveFileValidateBeforeCall(srcPath, destPath, srcStorageName, destStorageName, versionId, null, null); + return apiClient.execute(call); } /** - * Read document text. (asynchronously) + * Move file (asynchronously) * - * @param name The document name. (required) - * @param LLX X-coordinate of lower - left corner. (required) - * @param LLY Y - coordinate of lower-left corner. (required) - * @param URX X - coordinate of upper-right corner. (required) - * @param URY Y - coordinate of upper-right corner. (required) - * @param format List of formats for search. (optional) - * @param regex Formats are specified as a regular expression. (optional) - * @param splitRects Split result fragments (default is true). (optional) - * @param folder The document folder. (optional) - * @param storage The document storage. (optional) + * @param srcPath Source file path e.g. '/src.ext' (required) + * @param destPath Destination file path e.g. '/dest.ext' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) + * @param versionId File version ID to move (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getTextAsync(String name, Double LLX, Double LLY, Double URX, Double URY, List format, String regex, Boolean splitRects, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call moveFileAsync(String srcPath, String destPath, String srcStorageName, String destStorageName, String versionId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -22667,36 +26069,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getTextValidateBeforeCall(name, LLX, LLY, URX, URY, format, regex, splitRects, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); + com.squareup.okhttp.Call call = moveFileValidateBeforeCall(srcPath, destPath, srcStorageName, destStorageName, versionId, progressListener, progressRequestListener); + apiClient.executeAsync(call, callback); return call; } /** - * Build call for getTextAnnotation - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for moveFolder + * @param srcPath Folder path to move e.g. '/folder' (required) + * @param destPath Destination folder path to move to e.g '/dst' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getTextAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call moveFolderCall(String srcPath, String destPath, String srcStorageName, String destStorageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/text/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/storage/folder/move/{srcPath}" + .replaceAll("\\{" + "srcPath" + "\\}", apiClient.escapeString(srcPath.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (destPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destPath", destPath)); + if (srcStorageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcStorageName", srcStorageName)); + if (destStorageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destStorageName", destStorageName)); Map localVarHeaderParams = new HashMap(); @@ -22726,85 +26128,81 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getTextAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call moveFolderValidateBeforeCall(String srcPath, String destPath, String srcStorageName, String destStorageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getTextAnnotation(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling moveFolder(Async)"); } - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getTextAnnotation(Async)"); + // verify the required parameter 'destPath' is set + if (destPath == null) { + throw new ApiException("Missing the required parameter 'destPath' when calling moveFolder(Async)"); } - com.squareup.okhttp.Call call = getTextAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = moveFolderCall(srcPath, destPath, srcStorageName, destStorageName, progressListener, progressRequestListener); return call; } /** - * Read document page text annotation by ID. + * Move folder * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return TextAnnotationResponse + * @param srcPath Folder path to move e.g. '/folder' (required) + * @param destPath Destination folder path to move to e.g '/dst' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TextAnnotationResponse getTextAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public void moveFolder(String srcPath, String destPath, String srcStorageName, String destStorageName) throws ApiException { try { - ApiResponse resp = getTextAnnotationWithHttpInfo(name, annotationId, storage, folder); - return resp.getData(); + moveFolderWithHttpInfo(srcPath, destPath, srcStorageName, destStorageName); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getTextAnnotationWithHttpInfo(name, annotationId, storage, folder); - return resp.getData(); + apiClient.requestToken(); + moveFolderWithHttpInfo(srcPath, destPath, srcStorageName, destStorageName); } throw ex; } } /** - * Read document page text annotation by ID. + * Move folder * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<TextAnnotationResponse> + * @param srcPath Folder path to move e.g. '/folder' (required) + * @param destPath Destination folder path to move to e.g '/dst' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getTextAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getTextAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return apiClient.execute(call, localVarReturnType); + public ApiResponse moveFolderWithHttpInfo(String srcPath, String destPath, String srcStorageName, String destStorageName) throws ApiException { + com.squareup.okhttp.Call call = moveFolderValidateBeforeCall(srcPath, destPath, srcStorageName, destStorageName, null, null); + return apiClient.execute(call); } /** - * Read document page text annotation by ID. (asynchronously) + * Move folder (asynchronously) * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param srcPath Folder path to move e.g. '/folder' (required) + * @param destPath Destination folder path to move to e.g '/dst' (required) + * @param srcStorageName Source storage name (optional) + * @param destStorageName Destination storage name (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getTextAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call moveFolderAsync(String srcPath, String destPath, String srcStorageName, String destStorageName, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -22825,36 +26223,33 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getTextAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); - apiClient.executeAsync(call, localVarReturnType, callback); + com.squareup.okhttp.Call call = moveFolderValidateBeforeCall(srcPath, destPath, srcStorageName, destStorageName, progressListener, progressRequestListener); + apiClient.executeAsync(call, callback); return call; } /** - * Build call for getUnderlineAnnotation - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for objectExists + * @param path File or folder path e.g. '/file.ext' or '/folder' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getUnderlineAnnotationCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call objectExistsCall(String path, String storageName, String versionId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/underline/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/storage/exist/{path}" + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storageName", storageName)); + if (versionId != null) + localVarQueryParams.addAll(apiClient.parameterToPair("versionId", versionId)); Map localVarHeaderParams = new HashMap(); @@ -22884,51 +26279,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getUnderlineAnnotationValidateBeforeCall(String name, String annotationId, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getUnderlineAnnotation(Async)"); - } + private com.squareup.okhttp.Call objectExistsValidateBeforeCall(String path, String storageName, String versionId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling getUnderlineAnnotation(Async)"); + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling objectExists(Async)"); } - com.squareup.okhttp.Call call = getUnderlineAnnotationCall(name, annotationId, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = objectExistsCall(path, storageName, versionId, progressListener, progressRequestListener); return call; } /** - * Read document page underline annotation by ID. + * Check if file or folder exists * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return UnderlineAnnotationResponse + * @param path File or folder path e.g. '/file.ext' or '/folder' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID (optional) + * @return ObjectExist * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public UnderlineAnnotationResponse getUnderlineAnnotation(String name, String annotationId, String storage, String folder) throws ApiException { + public ObjectExist objectExists(String path, String storageName, String versionId) throws ApiException { try { - ApiResponse resp = getUnderlineAnnotationWithHttpInfo(name, annotationId, storage, folder); + ApiResponse resp = objectExistsWithHttpInfo(path, storageName, versionId); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getUnderlineAnnotationWithHttpInfo(name, annotationId, storage, folder); + apiClient.requestToken(); + ApiResponse resp = objectExistsWithHttpInfo(path, storageName, versionId); return resp.getData(); } throw ex; @@ -22936,33 +26325,31 @@ public UnderlineAnnotationResponse getUnderlineAnnotation(String name, String an } /** - * Read document page underline annotation by ID. + * Check if file or folder exists * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<UnderlineAnnotationResponse> + * @param path File or folder path e.g. '/file.ext' or '/folder' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID (optional) + * @return ApiResponse<ObjectExist> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getUnderlineAnnotationWithHttpInfo(String name, String annotationId, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getUnderlineAnnotationValidateBeforeCall(name, annotationId, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse objectExistsWithHttpInfo(String path, String storageName, String versionId) throws ApiException { + com.squareup.okhttp.Call call = objectExistsValidateBeforeCall(path, storageName, versionId, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Read document page underline annotation by ID. (asynchronously) + * Check if file or folder exists (asynchronously) * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param path File or folder path e.g. '/file.ext' or '/folder' (required) + * @param storageName Storage name (optional) + * @param versionId File version ID (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getUnderlineAnnotationAsync(String name, String annotationId, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call objectExistsAsync(String path, String storageName, String versionId, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -22983,33 +26370,39 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getUnderlineAnnotationValidateBeforeCall(name, annotationId, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = objectExistsValidateBeforeCall(path, storageName, versionId, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getVerifySignature - * @param name The document name. (required) - * @param signName Sign name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for postAppendDocument + * @param name The original document name. (required) + * @param appendFile Append file server path. (required) + * @param startPage Appending start page. (optional, default to 0) + * @param endPage Appending end page. (optional, default to 0) + * @param storage The documents storage. (optional) + * @param folder The original document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getVerifySignatureCall(String name, String signName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postAppendDocumentCall(String name, String appendFile, Integer startPage, Integer endPage, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/verifySignature" + String localVarPath = "/pdf/{name}/appendDocument" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (signName != null) - localVarQueryParams.addAll(apiClient.parameterToPair("signName", signName)); + if (appendFile != null) + localVarQueryParams.addAll(apiClient.parameterToPair("appendFile", appendFile)); + if (startPage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("startPage", startPage)); + if (endPage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("endPage", endPage)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -23043,51 +26436,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getVerifySignatureValidateBeforeCall(String name, String signName, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postAppendDocumentValidateBeforeCall(String name, String appendFile, Integer startPage, Integer endPage, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getVerifySignature(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postAppendDocument(Async)"); } - // verify the required parameter 'signName' is set - if (signName == null) { - throw new ApiException("Missing the required parameter 'signName' when calling getVerifySignature(Async)"); + // verify the required parameter 'appendFile' is set + if (appendFile == null) { + throw new ApiException("Missing the required parameter 'appendFile' when calling postAppendDocument(Async)"); } - com.squareup.okhttp.Call call = getVerifySignatureCall(name, signName, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postAppendDocumentCall(name, appendFile, startPage, endPage, storage, folder, progressListener, progressRequestListener); return call; } /** - * Verify signature document. + * Append document to existing one. * - * @param name The document name. (required) - * @param signName Sign name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return SignatureVerifyResponse + * @param name The original document name. (required) + * @param appendFile Append file server path. (required) + * @param startPage Appending start page. (optional, default to 0) + * @param endPage Appending end page. (optional, default to 0) + * @param storage The documents storage. (optional) + * @param folder The original document folder. (optional) + * @return DocumentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SignatureVerifyResponse getVerifySignature(String name, String signName, String storage, String folder) throws ApiException { + public DocumentResponse postAppendDocument(String name, String appendFile, Integer startPage, Integer endPage, String storage, String folder) throws ApiException { try { - ApiResponse resp = getVerifySignatureWithHttpInfo(name, signName, storage, folder); + ApiResponse resp = postAppendDocumentWithHttpInfo(name, appendFile, startPage, endPage, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getVerifySignatureWithHttpInfo(name, signName, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postAppendDocumentWithHttpInfo(name, appendFile, startPage, endPage, storage, folder); return resp.getData(); } throw ex; @@ -23095,33 +26490,37 @@ public SignatureVerifyResponse getVerifySignature(String name, String signName, } /** - * Verify signature document. + * Append document to existing one. * - * @param name The document name. (required) - * @param signName Sign name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<SignatureVerifyResponse> + * @param name The original document name. (required) + * @param appendFile Append file server path. (required) + * @param startPage Appending start page. (optional, default to 0) + * @param endPage Appending end page. (optional, default to 0) + * @param storage The documents storage. (optional) + * @param folder The original document folder. (optional) + * @return ApiResponse<DocumentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getVerifySignatureWithHttpInfo(String name, String signName, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getVerifySignatureValidateBeforeCall(name, signName, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postAppendDocumentWithHttpInfo(String name, String appendFile, Integer startPage, Integer endPage, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postAppendDocumentValidateBeforeCall(name, appendFile, startPage, endPage, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Verify signature document. (asynchronously) + * Append document to existing one. (asynchronously) * - * @param name The document name. (required) - * @param signName Sign name. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param name The original document name. (required) + * @param appendFile Append file server path. (required) + * @param startPage Appending start page. (optional, default to 0) + * @param endPage Appending end page. (optional, default to 0) + * @param storage The documents storage. (optional) + * @param folder The original document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getVerifySignatureAsync(String name, String signName, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postAppendDocumentAsync(String name, String appendFile, Integer startPage, Integer endPage, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -23142,51 +26541,35 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getVerifySignatureValidateBeforeCall(name, signName, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postAppendDocumentValidateBeforeCall(name, appendFile, startPage, endPage, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getWebInStorageToPdf - * @param url Source url (required) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * Build call for postBookmark + * @param name The document name. (required) + * @param bookmarkPath The bookmark path. (required) + * @param bookmarks The array of bookmark. (required) + * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getWebInStorageToPdfCall(String url, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call postBookmarkCall(String name, String bookmarkPath, List bookmarks, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = bookmarks; // create path and map variables - String localVarPath = "/pdf/create/web"; + String localVarPath = "/pdf/{name}/bookmarks/bookmark/{bookmarkPath}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "bookmarkPath" + "\\}", apiClient.escapeString(bookmarkPath.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (url != null) - localVarQueryParams.addAll(apiClient.parameterToPair("url", url)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (isLandscape != null) - localVarQueryParams.addAll(apiClient.parameterToPair("isLandscape", isLandscape)); - if (marginLeft != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginLeft", marginLeft)); - if (marginBottom != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginBottom", marginBottom)); - if (marginRight != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginRight", marginRight)); - if (marginTop != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginTop", marginTop)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); @@ -23195,7 +26578,7 @@ public com.squareup.okhttp.Call getWebInStorageToPdfCall(String url, Double heig Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -23218,51 +26601,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getWebInStorageToPdfValidateBeforeCall(String url, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postBookmarkValidateBeforeCall(String name, String bookmarkPath, List bookmarks, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'url' is set - if (url == null) { - throw new ApiException("Missing the required parameter 'url' when calling getWebInStorageToPdf(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling postBookmark(Async)"); + } + + // verify the required parameter 'bookmarkPath' is set + if (bookmarkPath == null) { + throw new ApiException("Missing the required parameter 'bookmarkPath' when calling postBookmark(Async)"); + } + + // verify the required parameter 'bookmarks' is set + if (bookmarks == null) { + throw new ApiException("Missing the required parameter 'bookmarks' when calling postBookmark(Async)"); } - com.squareup.okhttp.Call call = getWebInStorageToPdfCall(url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postBookmarkCall(name, bookmarkPath, bookmarks, folder, storage, progressListener, progressRequestListener); return call; } /** - * Convert web page to PDF format and return resulting file in response. + * Add document bookmarks. * - * @param url Source url (required) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * @param name The document name. (required) + * @param bookmarkPath The bookmark path. (required) + * @param bookmarks The array of bookmark. (required) + * @param folder The document folder. (optional) * @param storage The document storage. (optional) - * @return File + * @return BookmarksResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getWebInStorageToPdf(String url, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { + public BookmarksResponse postBookmark(String name, String bookmarkPath, List bookmarks, String folder, String storage) throws ApiException { try { - ApiResponse resp = getWebInStorageToPdfWithHttpInfo(url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); + ApiResponse resp = postBookmarkWithHttpInfo(name, bookmarkPath, bookmarks, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getWebInStorageToPdfWithHttpInfo(url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage); + apiClient.requestToken(); + ApiResponse resp = postBookmarkWithHttpInfo(name, bookmarkPath, bookmarks, folder, storage); return resp.getData(); } throw ex; @@ -23270,43 +26659,35 @@ public File getWebInStorageToPdf(String url, Double height, Double width, Boolea } /** - * Convert web page to PDF format and return resulting file in response. + * Add document bookmarks. * - * @param url Source url (required) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * @param name The document name. (required) + * @param bookmarkPath The bookmark path. (required) + * @param bookmarks The array of bookmark. (required) + * @param folder The document folder. (optional) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @return ApiResponse<BookmarksResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getWebInStorageToPdfWithHttpInfo(String url, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage) throws ApiException { - com.squareup.okhttp.Call call = getWebInStorageToPdfValidateBeforeCall(url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postBookmarkWithHttpInfo(String name, String bookmarkPath, List bookmarks, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = postBookmarkValidateBeforeCall(name, bookmarkPath, bookmarks, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert web page to PDF format and return resulting file in response. (asynchronously) + * Add document bookmarks. (asynchronously) * - * @param url Source url (required) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) + * @param name The document name. (required) + * @param bookmarkPath The bookmark path. (required) + * @param bookmarks The array of bookmark. (required) + * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getWebInStorageToPdfAsync(String url, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postBookmarkAsync(String name, String bookmarkPath, List bookmarks, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -23327,14 +26708,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getWebInStorageToPdfValidateBeforeCall(url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postBookmarkValidateBeforeCall(name, bookmarkPath, bookmarks, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getWordsPerPage - * @param name The document name. (required) + * Build call for postChangePasswordDocumentInStorage + * @param name Document name. (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param newUserPassword New user password (encrypted Base64). (required) + * @param newOwnerPassword New owner password (encrypted Base64). (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -23342,15 +26726,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getWordsPerPageCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postChangePasswordDocumentInStorageCall(String name, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/wordCount" + String localVarPath = "/pdf/{name}/changepassword" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (ownerPassword != null) + localVarQueryParams.addAll(apiClient.parameterToPair("ownerPassword", ownerPassword)); + if (newUserPassword != null) + localVarQueryParams.addAll(apiClient.parameterToPair("newUserPassword", newUserPassword)); + if (newOwnerPassword != null) + localVarQueryParams.addAll(apiClient.parameterToPair("newOwnerPassword", newOwnerPassword)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -23384,45 +26774,63 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getWordsPerPageValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postChangePasswordDocumentInStorageValidateBeforeCall(String name, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getWordsPerPage(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postChangePasswordDocumentInStorage(Async)"); + } + + // verify the required parameter 'ownerPassword' is set + if (ownerPassword == null) { + throw new ApiException("Missing the required parameter 'ownerPassword' when calling postChangePasswordDocumentInStorage(Async)"); + } + + // verify the required parameter 'newUserPassword' is set + if (newUserPassword == null) { + throw new ApiException("Missing the required parameter 'newUserPassword' when calling postChangePasswordDocumentInStorage(Async)"); + } + + // verify the required parameter 'newOwnerPassword' is set + if (newOwnerPassword == null) { + throw new ApiException("Missing the required parameter 'newOwnerPassword' when calling postChangePasswordDocumentInStorage(Async)"); } - com.squareup.okhttp.Call call = getWordsPerPageCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postChangePasswordDocumentInStorageCall(name, ownerPassword, newUserPassword, newOwnerPassword, storage, folder, progressListener, progressRequestListener); return call; } /** - * Get number of words per document page. + * Change document password in storage. * - * @param name The document name. (required) + * @param name Document name. (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param newUserPassword New user password (encrypted Base64). (required) + * @param newOwnerPassword New owner password (encrypted Base64). (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return WordCountResponse + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public WordCountResponse getWordsPerPage(String name, String storage, String folder) throws ApiException { + public AsposeResponse postChangePasswordDocumentInStorage(String name, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, String folder) throws ApiException { try { - ApiResponse resp = getWordsPerPageWithHttpInfo(name, storage, folder); + ApiResponse resp = postChangePasswordDocumentInStorageWithHttpInfo(name, ownerPassword, newUserPassword, newOwnerPassword, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getWordsPerPageWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postChangePasswordDocumentInStorageWithHttpInfo(name, ownerPassword, newUserPassword, newOwnerPassword, storage, folder); return resp.getData(); } throw ex; @@ -23430,31 +26838,37 @@ public WordCountResponse getWordsPerPage(String name, String storage, String fol } /** - * Get number of words per document page. + * Change document password in storage. * - * @param name The document name. (required) + * @param name Document name. (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param newUserPassword New user password (encrypted Base64). (required) + * @param newOwnerPassword New owner password (encrypted Base64). (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<WordCountResponse> + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getWordsPerPageWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = getWordsPerPageValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postChangePasswordDocumentInStorageWithHttpInfo(String name, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postChangePasswordDocumentInStorageValidateBeforeCall(name, ownerPassword, newUserPassword, newOwnerPassword, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Get number of words per document page. (asynchronously) + * Change document password in storage. (asynchronously) * - * @param name The document name. (required) + * @param name Document name. (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param newUserPassword New user password (encrypted Base64). (required) + * @param newOwnerPassword New owner password (encrypted Base64). (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getWordsPerPageAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postChangePasswordDocumentInStorageAsync(String name, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -23475,41 +26889,45 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getWordsPerPageValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postChangePasswordDocumentInStorageValidateBeforeCall(name, ownerPassword, newUserPassword, newOwnerPassword, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getXfaPdfInStorageToAcroForm + * Build call for postCreateField * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param page Document page number. (required) + * @param field Field with the field data. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getXfaPdfInStorageToAcroFormCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call postCreateFieldCall(String name, Integer page, Field field, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = field; // create path and map variables - String localVarPath = "/pdf/{name}/convert/xfatoacroform" + String localVarPath = "/pdf/{name}/fields" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (page != null) + localVarQueryParams.addAll(apiClient.parameterToPair("page", page)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -23532,45 +26950,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getXfaPdfInStorageToAcroFormValidateBeforeCall(String name, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postCreateFieldValidateBeforeCall(String name, Integer page, Field field, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling getXfaPdfInStorageToAcroForm(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postCreateField(Async)"); + } + + // verify the required parameter 'page' is set + if (page == null) { + throw new ApiException("Missing the required parameter 'page' when calling postCreateField(Async)"); + } + + // verify the required parameter 'field' is set + if (field == null) { + throw new ApiException("Missing the required parameter 'field' when calling postCreateField(Async)"); } - com.squareup.okhttp.Call call = getXfaPdfInStorageToAcroFormCall(name, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postCreateFieldCall(name, page, field, storage, folder, progressListener, progressRequestListener); return call; } /** - * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and returns resulting file response content + * Create field. * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param page Document page number. (required) + * @param field Field with the field data. (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getXfaPdfInStorageToAcroForm(String name, String folder, String storage) throws ApiException { + public AsposeResponse postCreateField(String name, Integer page, Field field, String storage, String folder) throws ApiException { try { - ApiResponse resp = getXfaPdfInStorageToAcroFormWithHttpInfo(name, folder, storage); + ApiResponse resp = postCreateFieldWithHttpInfo(name, page, field, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getXfaPdfInStorageToAcroFormWithHttpInfo(name, folder, storage); + apiClient.requestToken(); + ApiResponse resp = postCreateFieldWithHttpInfo(name, page, field, storage, folder); return resp.getData(); } throw ex; @@ -23578,31 +27008,35 @@ public File getXfaPdfInStorageToAcroForm(String name, String folder, String stor } /** - * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and returns resulting file response content + * Create field. * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param page Document page number. (required) + * @param field Field with the field data. (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getXfaPdfInStorageToAcroFormWithHttpInfo(String name, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = getXfaPdfInStorageToAcroFormValidateBeforeCall(name, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postCreateFieldWithHttpInfo(String name, Integer page, Field field, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postCreateFieldValidateBeforeCall(name, page, field, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and returns resulting file response content (asynchronously) + * Create field. (asynchronously) * * @param name The document name. (required) - * @param folder The document folder. (optional) + * @param page Document page number. (required) + * @param field Field with the field data. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getXfaPdfInStorageToAcroFormAsync(String name, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postCreateFieldAsync(String name, Integer page, Field field, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -23623,42 +27057,44 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getXfaPdfInStorageToAcroFormValidateBeforeCall(name, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postCreateFieldValidateBeforeCall(name, page, field, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getXmlInStorageToPdf - * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) - * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * Build call for postDecryptDocumentInStorage + * @param name Document name. (required) + * @param password The password (encrypted Base64). (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getXmlInStorageToPdfCall(String srcPath, String xslFilePath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postDecryptDocumentInStorageCall(String name, String password, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/create/xml"; + String localVarPath = "/pdf/{name}/decrypt" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); - if (xslFilePath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("xslFilePath", xslFilePath)); + if (password != null) + localVarQueryParams.addAll(apiClient.parameterToPair("password", password)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -23681,45 +27117,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getXmlInStorageToPdfValidateBeforeCall(String srcPath, String xslFilePath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postDecryptDocumentInStorageValidateBeforeCall(String name, String password, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling getXmlInStorageToPdf(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling postDecryptDocumentInStorage(Async)"); + } + + // verify the required parameter 'password' is set + if (password == null) { + throw new ApiException("Missing the required parameter 'password' when calling postDecryptDocumentInStorage(Async)"); } - com.squareup.okhttp.Call call = getXmlInStorageToPdfCall(srcPath, xslFilePath, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postDecryptDocumentInStorageCall(name, password, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert XML file (located on storage) to PDF format and return resulting file in response. + * Decrypt document in storage. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) - * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param name Document name. (required) + * @param password The password (encrypted Base64). (required) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getXmlInStorageToPdf(String srcPath, String xslFilePath, String storage) throws ApiException { + public AsposeResponse postDecryptDocumentInStorage(String name, String password, String storage, String folder) throws ApiException { try { - ApiResponse resp = getXmlInStorageToPdfWithHttpInfo(srcPath, xslFilePath, storage); + ApiResponse resp = postDecryptDocumentInStorageWithHttpInfo(name, password, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getXmlInStorageToPdfWithHttpInfo(srcPath, xslFilePath, storage); + apiClient.requestToken(); + ApiResponse resp = postDecryptDocumentInStorageWithHttpInfo(name, password, storage, folder); return resp.getData(); } throw ex; @@ -23727,31 +27169,33 @@ public File getXmlInStorageToPdf(String srcPath, String xslFilePath, String stor } /** - * Convert XML file (located on storage) to PDF format and return resulting file in response. + * Decrypt document in storage. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) - * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param name Document name. (required) + * @param password The password (encrypted Base64). (required) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getXmlInStorageToPdfWithHttpInfo(String srcPath, String xslFilePath, String storage) throws ApiException { - com.squareup.okhttp.Call call = getXmlInStorageToPdfValidateBeforeCall(srcPath, xslFilePath, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postDecryptDocumentInStorageWithHttpInfo(String name, String password, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postDecryptDocumentInStorageValidateBeforeCall(name, password, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert XML file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * Decrypt document in storage. (asynchronously) * - * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) - * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param name Document name. (required) + * @param password The password (encrypted Base64). (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getXmlInStorageToPdfAsync(String srcPath, String xslFilePath, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postDecryptDocumentInStorageAsync(String name, String password, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -23772,39 +27216,48 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getXmlInStorageToPdfValidateBeforeCall(srcPath, xslFilePath, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postDecryptDocumentInStorageValidateBeforeCall(name, password, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getXpsInStorageToPdf - * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) + * Build call for postDocumentImageFooter + * @param name The document name. (required) + * @param imageFooter The image footer. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getXpsInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call postDocumentImageFooterCall(String name, ImageFooter imageFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = imageFooter; // create path and map variables - String localVarPath = "/pdf/create/xps"; + String localVarPath = "/pdf/{name}/footer/image" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (startPageNumber != null) + localVarQueryParams.addAll(apiClient.parameterToPair("startPageNumber", startPageNumber)); + if (endPageNumber != null) + localVarQueryParams.addAll(apiClient.parameterToPair("endPageNumber", endPageNumber)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -23827,44 +27280,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getXpsInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postDocumentImageFooterValidateBeforeCall(String name, ImageFooter imageFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling getXpsInStorageToPdf(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling postDocumentImageFooter(Async)"); + } + + // verify the required parameter 'imageFooter' is set + if (imageFooter == null) { + throw new ApiException("Missing the required parameter 'imageFooter' when calling postDocumentImageFooter(Async)"); } - com.squareup.okhttp.Call call = getXpsInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postDocumentImageFooterCall(name, imageFooter, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert XPS file (located on storage) to PDF format and return resulting file in response. + * Add document image footer. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) + * @param name The document name. (required) + * @param imageFooter The image footer. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getXpsInStorageToPdf(String srcPath, String storage) throws ApiException { + public AsposeResponse postDocumentImageFooter(String name, ImageFooter imageFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getXpsInStorageToPdfWithHttpInfo(srcPath, storage); + ApiResponse resp = postDocumentImageFooterWithHttpInfo(name, imageFooter, startPageNumber, endPageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getXpsInStorageToPdfWithHttpInfo(srcPath, storage); + apiClient.requestToken(); + ApiResponse resp = postDocumentImageFooterWithHttpInfo(name, imageFooter, startPageNumber, endPageNumber, storage, folder); return resp.getData(); } throw ex; @@ -23872,29 +27334,37 @@ public File getXpsInStorageToPdf(String srcPath, String storage) throws ApiExcep } /** - * Convert XPS file (located on storage) to PDF format and return resulting file in response. + * Add document image footer. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) + * @param name The document name. (required) + * @param imageFooter The image footer. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getXpsInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { - com.squareup.okhttp.Call call = getXpsInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postDocumentImageFooterWithHttpInfo(String name, ImageFooter imageFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postDocumentImageFooterValidateBeforeCall(name, imageFooter, startPageNumber, endPageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert XPS file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * Add document image footer. (asynchronously) * - * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) + * @param name The document name. (required) + * @param imageFooter The image footer. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getXpsInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postDocumentImageFooterAsync(String name, ImageFooter imageFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -23915,39 +27385,48 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getXpsInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postDocumentImageFooterValidateBeforeCall(name, imageFooter, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for getXslFoInStorageToPdf - * @param srcPath Full source filename (ex. /folder1/folder2/template.xslfo) (required) + * Build call for postDocumentImageHeader + * @param name The document name. (required) + * @param imageHeader The image header. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getXslFoInStorageToPdfCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call postDocumentImageHeaderCall(String name, ImageHeader imageHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = imageHeader; // create path and map variables - String localVarPath = "/pdf/create/xslfo"; + String localVarPath = "/pdf/{name}/header/image" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (startPageNumber != null) + localVarQueryParams.addAll(apiClient.parameterToPair("startPageNumber", startPageNumber)); + if (endPageNumber != null) + localVarQueryParams.addAll(apiClient.parameterToPair("endPageNumber", endPageNumber)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "multipart/form-data" + "application/json" }; final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); @@ -23970,44 +27449,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getXslFoInStorageToPdfValidateBeforeCall(String srcPath, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postDocumentImageHeaderValidateBeforeCall(String name, ImageHeader imageHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling getXslFoInStorageToPdf(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling postDocumentImageHeader(Async)"); + } + + // verify the required parameter 'imageHeader' is set + if (imageHeader == null) { + throw new ApiException("Missing the required parameter 'imageHeader' when calling postDocumentImageHeader(Async)"); } - com.squareup.okhttp.Call call = getXslFoInStorageToPdfCall(srcPath, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postDocumentImageHeaderCall(name, imageHeader, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert XslFo file (located on storage) to PDF format and return resulting file in response. + * Add document image header. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.xslfo) (required) + * @param name The document name. (required) + * @param imageHeader The image header. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) - * @return File + * @param folder The document folder. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public File getXslFoInStorageToPdf(String srcPath, String storage) throws ApiException { + public AsposeResponse postDocumentImageHeader(String name, ImageHeader imageHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = getXslFoInStorageToPdfWithHttpInfo(srcPath, storage); + ApiResponse resp = postDocumentImageHeaderWithHttpInfo(name, imageHeader, startPageNumber, endPageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = getXslFoInStorageToPdfWithHttpInfo(srcPath, storage); + apiClient.requestToken(); + ApiResponse resp = postDocumentImageHeaderWithHttpInfo(name, imageHeader, startPageNumber, endPageNumber, storage, folder); return resp.getData(); } throw ex; @@ -24015,29 +27503,37 @@ public File getXslFoInStorageToPdf(String srcPath, String storage) throws ApiExc } /** - * Convert XslFo file (located on storage) to PDF format and return resulting file in response. + * Add document image header. * - * @param srcPath Full source filename (ex. /folder1/folder2/template.xslfo) (required) + * @param name The document name. (required) + * @param imageHeader The image header. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) - * @return ApiResponse<File> + * @param folder The document folder. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getXslFoInStorageToPdfWithHttpInfo(String srcPath, String storage) throws ApiException { - com.squareup.okhttp.Call call = getXslFoInStorageToPdfValidateBeforeCall(srcPath, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postDocumentImageHeaderWithHttpInfo(String name, ImageHeader imageHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postDocumentImageHeaderValidateBeforeCall(name, imageHeader, startPageNumber, endPageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert XslFo file (located on storage) to PDF format and return resulting file in response. (asynchronously) + * Add document image header. (asynchronously) * - * @param srcPath Full source filename (ex. /folder1/folder2/template.xslfo) (required) + * @param name The document name. (required) + * @param imageHeader The image header. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getXslFoInStorageToPdfAsync(String srcPath, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postDocumentImageHeaderAsync(String name, ImageHeader imageHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -24058,40 +27554,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = getXslFoInStorageToPdfValidateBeforeCall(srcPath, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postDocumentImageHeaderValidateBeforeCall(name, imageHeader, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postAppendDocument - * @param name The original document name. (required) - * @param appendDocument with the append document data. (optional) - * @param appendFile Append file server path. (optional) - * @param startPage Appending start page. (optional, default to 0) - * @param endPage Appending end page. (optional, default to 0) - * @param storage The documents storage. (optional) - * @param folder The original document folder. (optional) + * Build call for postDocumentPageNumberStamps + * @param name The document name. (required) + * @param stamp The stamp. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postAppendDocumentCall(String name, AppendDocument appendDocument, String appendFile, Integer startPage, Integer endPage, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = appendDocument; + public com.squareup.okhttp.Call postDocumentPageNumberStampsCall(String name, PageNumberStamp stamp, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = stamp; // create path and map variables - String localVarPath = "/pdf/{name}/appendDocument" + String localVarPath = "/pdf/{name}/stamps/pagenumber" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (appendFile != null) - localVarQueryParams.addAll(apiClient.parameterToPair("appendFile", appendFile)); - if (startPage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("startPage", startPage)); - if (endPage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("endPage", endPage)); + if (startPageNumber != null) + localVarQueryParams.addAll(apiClient.parameterToPair("startPageNumber", startPageNumber)); + if (endPageNumber != null) + localVarQueryParams.addAll(apiClient.parameterToPair("endPageNumber", endPageNumber)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -24125,49 +27618,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postAppendDocumentValidateBeforeCall(String name, AppendDocument appendDocument, String appendFile, Integer startPage, Integer endPage, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postDocumentPageNumberStampsValidateBeforeCall(String name, PageNumberStamp stamp, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postAppendDocument(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postDocumentPageNumberStamps(Async)"); + } + + // verify the required parameter 'stamp' is set + if (stamp == null) { + throw new ApiException("Missing the required parameter 'stamp' when calling postDocumentPageNumberStamps(Async)"); } - com.squareup.okhttp.Call call = postAppendDocumentCall(name, appendDocument, appendFile, startPage, endPage, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postDocumentPageNumberStampsCall(name, stamp, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Append document to existing one. + * Add document page number stamps. * - * @param name The original document name. (required) - * @param appendDocument with the append document data. (optional) - * @param appendFile Append file server path. (optional) - * @param startPage Appending start page. (optional, default to 0) - * @param endPage Appending end page. (optional, default to 0) - * @param storage The documents storage. (optional) - * @param folder The original document folder. (optional) - * @return DocumentResponse + * @param name The document name. (required) + * @param stamp The stamp. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public DocumentResponse postAppendDocument(String name, AppendDocument appendDocument, String appendFile, Integer startPage, Integer endPage, String storage, String folder) throws ApiException { + public AsposeResponse postDocumentPageNumberStamps(String name, PageNumberStamp stamp, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = postAppendDocumentWithHttpInfo(name, appendDocument, appendFile, startPage, endPage, storage, folder); + ApiResponse resp = postDocumentPageNumberStampsWithHttpInfo(name, stamp, startPageNumber, endPageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postAppendDocumentWithHttpInfo(name, appendDocument, appendFile, startPage, endPage, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postDocumentPageNumberStampsWithHttpInfo(name, stamp, startPageNumber, endPageNumber, storage, folder); return resp.getData(); } throw ex; @@ -24175,39 +27672,37 @@ public DocumentResponse postAppendDocument(String name, AppendDocument appendDoc } /** - * Append document to existing one. + * Add document page number stamps. * - * @param name The original document name. (required) - * @param appendDocument with the append document data. (optional) - * @param appendFile Append file server path. (optional) - * @param startPage Appending start page. (optional, default to 0) - * @param endPage Appending end page. (optional, default to 0) - * @param storage The documents storage. (optional) - * @param folder The original document folder. (optional) - * @return ApiResponse<DocumentResponse> + * @param name The document name. (required) + * @param stamp The stamp. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postAppendDocumentWithHttpInfo(String name, AppendDocument appendDocument, String appendFile, Integer startPage, Integer endPage, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postAppendDocumentValidateBeforeCall(name, appendDocument, appendFile, startPage, endPage, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postDocumentPageNumberStampsWithHttpInfo(String name, PageNumberStamp stamp, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postDocumentPageNumberStampsValidateBeforeCall(name, stamp, startPageNumber, endPageNumber, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Append document to existing one. (asynchronously) + * Add document page number stamps. (asynchronously) * - * @param name The original document name. (required) - * @param appendDocument with the append document data. (optional) - * @param appendFile Append file server path. (optional) - * @param startPage Appending start page. (optional, default to 0) - * @param endPage Appending end page. (optional, default to 0) - * @param storage The documents storage. (optional) - * @param folder The original document folder. (optional) + * @param name The document name. (required) + * @param stamp The stamp. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postAppendDocumentAsync(String name, AppendDocument appendDocument, String appendFile, Integer startPage, Integer endPage, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postDocumentPageNumberStampsAsync(String name, PageNumberStamp stamp, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -24228,17 +27723,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postAppendDocumentValidateBeforeCall(name, appendDocument, appendFile, startPage, endPage, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postDocumentPageNumberStampsValidateBeforeCall(name, stamp, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postChangePasswordDocumentInStorage - * @param name Document name. (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param newUserPassword New user password (encrypted Base64). (required) - * @param newOwnerPassword New owner password (encrypted Base64). (required) + * Build call for postDocumentTextFooter + * @param name The document name. (required) + * @param textFooter The text footer. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -24246,21 +27741,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postChangePasswordDocumentInStorageCall(String name, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call postDocumentTextFooterCall(String name, TextFooter textFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = textFooter; // create path and map variables - String localVarPath = "/pdf/{name}/changepassword" + String localVarPath = "/pdf/{name}/footer/text" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (ownerPassword != null) - localVarQueryParams.addAll(apiClient.parameterToPair("ownerPassword", ownerPassword)); - if (newUserPassword != null) - localVarQueryParams.addAll(apiClient.parameterToPair("newUserPassword", newUserPassword)); - if (newOwnerPassword != null) - localVarQueryParams.addAll(apiClient.parameterToPair("newOwnerPassword", newOwnerPassword)); + if (startPageNumber != null) + localVarQueryParams.addAll(apiClient.parameterToPair("startPageNumber", startPageNumber)); + if (endPageNumber != null) + localVarQueryParams.addAll(apiClient.parameterToPair("endPageNumber", endPageNumber)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -24294,63 +27787,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postChangePasswordDocumentInStorageValidateBeforeCall(String name, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postDocumentTextFooterValidateBeforeCall(String name, TextFooter textFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postChangePasswordDocumentInStorage(Async)"); - } - - // verify the required parameter 'ownerPassword' is set - if (ownerPassword == null) { - throw new ApiException("Missing the required parameter 'ownerPassword' when calling postChangePasswordDocumentInStorage(Async)"); - } - - // verify the required parameter 'newUserPassword' is set - if (newUserPassword == null) { - throw new ApiException("Missing the required parameter 'newUserPassword' when calling postChangePasswordDocumentInStorage(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postDocumentTextFooter(Async)"); } - // verify the required parameter 'newOwnerPassword' is set - if (newOwnerPassword == null) { - throw new ApiException("Missing the required parameter 'newOwnerPassword' when calling postChangePasswordDocumentInStorage(Async)"); + // verify the required parameter 'textFooter' is set + if (textFooter == null) { + throw new ApiException("Missing the required parameter 'textFooter' when calling postDocumentTextFooter(Async)"); } - com.squareup.okhttp.Call call = postChangePasswordDocumentInStorageCall(name, ownerPassword, newUserPassword, newOwnerPassword, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postDocumentTextFooterCall(name, textFooter, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Change document password in storage. + * Add document text footer. * - * @param name Document name. (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param newUserPassword New user password (encrypted Base64). (required) - * @param newOwnerPassword New owner password (encrypted Base64). (required) + * @param name The document name. (required) + * @param textFooter The text footer. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postChangePasswordDocumentInStorage(String name, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, String folder) throws ApiException { + public AsposeResponse postDocumentTextFooter(String name, TextFooter textFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = postChangePasswordDocumentInStorageWithHttpInfo(name, ownerPassword, newUserPassword, newOwnerPassword, storage, folder); + ApiResponse resp = postDocumentTextFooterWithHttpInfo(name, textFooter, startPageNumber, endPageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postChangePasswordDocumentInStorageWithHttpInfo(name, ownerPassword, newUserPassword, newOwnerPassword, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postDocumentTextFooterWithHttpInfo(name, textFooter, startPageNumber, endPageNumber, storage, folder); return resp.getData(); } throw ex; @@ -24358,37 +27841,37 @@ public AsposeResponse postChangePasswordDocumentInStorage(String name, String ow } /** - * Change document password in storage. + * Add document text footer. * - * @param name Document name. (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param newUserPassword New user password (encrypted Base64). (required) - * @param newOwnerPassword New owner password (encrypted Base64). (required) + * @param name The document name. (required) + * @param textFooter The text footer. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postChangePasswordDocumentInStorageWithHttpInfo(String name, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postChangePasswordDocumentInStorageValidateBeforeCall(name, ownerPassword, newUserPassword, newOwnerPassword, storage, folder, null, null); + public ApiResponse postDocumentTextFooterWithHttpInfo(String name, TextFooter textFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postDocumentTextFooterValidateBeforeCall(name, textFooter, startPageNumber, endPageNumber, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Change document password in storage. (asynchronously) + * Add document text footer. (asynchronously) * - * @param name Document name. (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param newUserPassword New user password (encrypted Base64). (required) - * @param newOwnerPassword New owner password (encrypted Base64). (required) + * @param name The document name. (required) + * @param textFooter The text footer. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postChangePasswordDocumentInStorageAsync(String name, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postDocumentTextFooterAsync(String name, TextFooter textFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -24409,16 +27892,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postChangePasswordDocumentInStorageValidateBeforeCall(name, ownerPassword, newUserPassword, newOwnerPassword, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postDocumentTextFooterValidateBeforeCall(name, textFooter, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postCreateField + * Build call for postDocumentTextHeader * @param name The document name. (required) - * @param page Document page number. (required) - * @param field with the field data. (optional) + * @param textHeader The text header. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -24426,17 +27910,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postCreateFieldCall(String name, Integer page, Field field, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = field; + public com.squareup.okhttp.Call postDocumentTextHeaderCall(String name, TextHeader textHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = textHeader; // create path and map variables - String localVarPath = "/pdf/{name}/fields" + String localVarPath = "/pdf/{name}/header/text" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (page != null) - localVarQueryParams.addAll(apiClient.parameterToPair("page", page)); + if (startPageNumber != null) + localVarQueryParams.addAll(apiClient.parameterToPair("startPageNumber", startPageNumber)); + if (endPageNumber != null) + localVarQueryParams.addAll(apiClient.parameterToPair("endPageNumber", endPageNumber)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -24470,52 +27956,53 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postCreateFieldValidateBeforeCall(String name, Integer page, Field field, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postDocumentTextHeaderValidateBeforeCall(String name, TextHeader textHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postCreateField(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postDocumentTextHeader(Async)"); } - // verify the required parameter 'page' is set - if (page == null) { - throw new ApiException("Missing the required parameter 'page' when calling postCreateField(Async)"); + // verify the required parameter 'textHeader' is set + if (textHeader == null) { + throw new ApiException("Missing the required parameter 'textHeader' when calling postDocumentTextHeader(Async)"); } - com.squareup.okhttp.Call call = postCreateFieldCall(name, page, field, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postDocumentTextHeaderCall(name, textHeader, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); return call; } /** - * Create field. + * Add document text header. * * @param name The document name. (required) - * @param page Document page number. (required) - * @param field with the field data. (optional) + * @param textHeader The text header. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postCreateField(String name, Integer page, Field field, String storage, String folder) throws ApiException { + public AsposeResponse postDocumentTextHeader(String name, TextHeader textHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { try { - ApiResponse resp = postCreateFieldWithHttpInfo(name, page, field, storage, folder); + ApiResponse resp = postDocumentTextHeaderWithHttpInfo(name, textHeader, startPageNumber, endPageNumber, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postCreateFieldWithHttpInfo(name, page, field, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postDocumentTextHeaderWithHttpInfo(name, textHeader, startPageNumber, endPageNumber, storage, folder); return resp.getData(); } throw ex; @@ -24523,35 +28010,37 @@ public AsposeResponse postCreateField(String name, Integer page, Field field, St } /** - * Create field. + * Add document text header. * * @param name The document name. (required) - * @param page Document page number. (required) - * @param field with the field data. (optional) + * @param textHeader The text header. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postCreateFieldWithHttpInfo(String name, Integer page, Field field, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postCreateFieldValidateBeforeCall(name, page, field, storage, folder, null, null); + public ApiResponse postDocumentTextHeaderWithHttpInfo(String name, TextHeader textHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postDocumentTextHeaderValidateBeforeCall(name, textHeader, startPageNumber, endPageNumber, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Create field. (asynchronously) + * Add document text header. (asynchronously) * * @param name The document name. (required) - * @param page Document page number. (required) - * @param field with the field data. (optional) + * @param textHeader The text header. (required) + * @param startPageNumber The start page number. (optional) + * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postCreateFieldAsync(String name, Integer page, Field field, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postDocumentTextHeaderAsync(String name, TextHeader textHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -24572,33 +28061,31 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postCreateFieldValidateBeforeCall(name, page, field, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postDocumentTextHeaderValidateBeforeCall(name, textHeader, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postDecryptDocumentInStorage - * @param name Document name. (required) - * @param password The password (encrypted Base64). (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for postDocumentTextReplace + * @param name (required) + * @param textReplace (required) + * @param storage (optional) + * @param folder (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postDecryptDocumentInStorageCall(String name, String password, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call postDocumentTextReplaceCall(String name, TextReplaceListRequest textReplace, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = textReplace; // create path and map variables - String localVarPath = "/pdf/{name}/decrypt" + String localVarPath = "/pdf/{name}/text/replace" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (password != null) - localVarQueryParams.addAll(apiClient.parameterToPair("password", password)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -24632,51 +28119,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postDecryptDocumentInStorageValidateBeforeCall(String name, String password, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postDocumentTextReplaceValidateBeforeCall(String name, TextReplaceListRequest textReplace, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postDecryptDocumentInStorage(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postDocumentTextReplace(Async)"); } - // verify the required parameter 'password' is set - if (password == null) { - throw new ApiException("Missing the required parameter 'password' when calling postDecryptDocumentInStorage(Async)"); + // verify the required parameter 'textReplace' is set + if (textReplace == null) { + throw new ApiException("Missing the required parameter 'textReplace' when calling postDocumentTextReplace(Async)"); } - com.squareup.okhttp.Call call = postDecryptDocumentInStorageCall(name, password, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postDocumentTextReplaceCall(name, textReplace, storage, folder, progressListener, progressRequestListener); return call; } /** - * Decrypt document in storage. + * Document's replace text method. * - * @param name Document name. (required) - * @param password The password (encrypted Base64). (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return AsposeResponse + * @param name (required) + * @param textReplace (required) + * @param storage (optional) + * @param folder (optional) + * @return TextReplaceResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postDecryptDocumentInStorage(String name, String password, String storage, String folder) throws ApiException { + public TextReplaceResponse postDocumentTextReplace(String name, TextReplaceListRequest textReplace, String storage, String folder) throws ApiException { try { - ApiResponse resp = postDecryptDocumentInStorageWithHttpInfo(name, password, storage, folder); + ApiResponse resp = postDocumentTextReplaceWithHttpInfo(name, textReplace, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postDecryptDocumentInStorageWithHttpInfo(name, password, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postDocumentTextReplaceWithHttpInfo(name, textReplace, storage, folder); return resp.getData(); } throw ex; @@ -24684,33 +28171,33 @@ public AsposeResponse postDecryptDocumentInStorage(String name, String password, } /** - * Decrypt document in storage. + * Document's replace text method. * - * @param name Document name. (required) - * @param password The password (encrypted Base64). (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @param name (required) + * @param textReplace (required) + * @param storage (optional) + * @param folder (optional) + * @return ApiResponse<TextReplaceResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postDecryptDocumentInStorageWithHttpInfo(String name, String password, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postDecryptDocumentInStorageValidateBeforeCall(name, password, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postDocumentTextReplaceWithHttpInfo(String name, TextReplaceListRequest textReplace, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postDocumentTextReplaceValidateBeforeCall(name, textReplace, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Decrypt document in storage. (asynchronously) + * Document's replace text method. (asynchronously) * - * @param name Document name. (required) - * @param password The password (encrypted Base64). (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param name (required) + * @param textReplace (required) + * @param storage (optional) + * @param folder (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postDecryptDocumentInStorageAsync(String name, String password, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postDocumentTextReplaceAsync(String name, TextReplaceListRequest textReplace, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -24731,17 +28218,19 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postDecryptDocumentInStorageValidateBeforeCall(name, password, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postDocumentTextReplaceValidateBeforeCall(name, textReplace, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postDocumentImageFooter - * @param name The document name. (required) - * @param imageFooter The image footer. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) + * Build call for postEncryptDocumentInStorage + * @param name Document name. (required) + * @param userPassword User password (encrypted Base64). (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param cryptoAlgorithm Cryptographic algorithm, see CryptoAlgorithm for details. (required) + * @param permissionsFlags Array of document permissions, see PermissionsFlags for details. (optional) + * @param usePdf20 Support for revision 6 (Extension 8). (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -24749,19 +28238,25 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postDocumentImageFooterCall(String name, ImageFooter imageFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = imageFooter; + public com.squareup.okhttp.Call postEncryptDocumentInStorageCall(String name, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/footer/image" + String localVarPath = "/pdf/{name}/encrypt" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (startPageNumber != null) - localVarQueryParams.addAll(apiClient.parameterToPair("startPageNumber", startPageNumber)); - if (endPageNumber != null) - localVarQueryParams.addAll(apiClient.parameterToPair("endPageNumber", endPageNumber)); + if (userPassword != null) + localVarQueryParams.addAll(apiClient.parameterToPair("userPassword", userPassword)); + if (ownerPassword != null) + localVarQueryParams.addAll(apiClient.parameterToPair("ownerPassword", ownerPassword)); + if (cryptoAlgorithm != null) + localVarQueryParams.addAll(apiClient.parameterToPair("cryptoAlgorithm", cryptoAlgorithm)); + if (permissionsFlags != null) + localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("csv", "permissionsFlags", permissionsFlags)); + if (usePdf20 != null) + localVarQueryParams.addAll(apiClient.parameterToPair("usePdf20", usePdf20)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -24795,53 +28290,65 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postDocumentImageFooterValidateBeforeCall(String name, ImageFooter imageFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postEncryptDocumentInStorageValidateBeforeCall(String name, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postDocumentImageFooter(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postEncryptDocumentInStorage(Async)"); } - // verify the required parameter 'imageFooter' is set - if (imageFooter == null) { - throw new ApiException("Missing the required parameter 'imageFooter' when calling postDocumentImageFooter(Async)"); + // verify the required parameter 'userPassword' is set + if (userPassword == null) { + throw new ApiException("Missing the required parameter 'userPassword' when calling postEncryptDocumentInStorage(Async)"); + } + + // verify the required parameter 'ownerPassword' is set + if (ownerPassword == null) { + throw new ApiException("Missing the required parameter 'ownerPassword' when calling postEncryptDocumentInStorage(Async)"); + } + + // verify the required parameter 'cryptoAlgorithm' is set + if (cryptoAlgorithm == null) { + throw new ApiException("Missing the required parameter 'cryptoAlgorithm' when calling postEncryptDocumentInStorage(Async)"); } - com.squareup.okhttp.Call call = postDocumentImageFooterCall(name, imageFooter, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postEncryptDocumentInStorageCall(name, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document image footer. + * Encrypt document in storage. * - * @param name The document name. (required) - * @param imageFooter The image footer. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) + * @param name Document name. (required) + * @param userPassword User password (encrypted Base64). (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param cryptoAlgorithm Cryptographic algorithm, see CryptoAlgorithm for details. (required) + * @param permissionsFlags Array of document permissions, see PermissionsFlags for details. (optional) + * @param usePdf20 Support for revision 6 (Extension 8). (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postDocumentImageFooter(String name, ImageFooter imageFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { + public AsposeResponse postEncryptDocumentInStorage(String name, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, String folder) throws ApiException { try { - ApiResponse resp = postDocumentImageFooterWithHttpInfo(name, imageFooter, startPageNumber, endPageNumber, storage, folder); + ApiResponse resp = postEncryptDocumentInStorageWithHttpInfo(name, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postDocumentImageFooterWithHttpInfo(name, imageFooter, startPageNumber, endPageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postEncryptDocumentInStorageWithHttpInfo(name, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, folder); return resp.getData(); } throw ex; @@ -24849,37 +28356,41 @@ public AsposeResponse postDocumentImageFooter(String name, ImageFooter imageFoot } /** - * Add document image footer. + * Encrypt document in storage. * - * @param name The document name. (required) - * @param imageFooter The image footer. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) + * @param name Document name. (required) + * @param userPassword User password (encrypted Base64). (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param cryptoAlgorithm Cryptographic algorithm, see CryptoAlgorithm for details. (required) + * @param permissionsFlags Array of document permissions, see PermissionsFlags for details. (optional) + * @param usePdf20 Support for revision 6 (Extension 8). (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postDocumentImageFooterWithHttpInfo(String name, ImageFooter imageFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postDocumentImageFooterValidateBeforeCall(name, imageFooter, startPageNumber, endPageNumber, storage, folder, null, null); + public ApiResponse postEncryptDocumentInStorageWithHttpInfo(String name, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postEncryptDocumentInStorageValidateBeforeCall(name, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document image footer. (asynchronously) + * Encrypt document in storage. (asynchronously) * - * @param name The document name. (required) - * @param imageFooter The image footer. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) + * @param name Document name. (required) + * @param userPassword User password (encrypted Base64). (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param cryptoAlgorithm Cryptographic algorithm, see CryptoAlgorithm for details. (required) + * @param permissionsFlags Array of document permissions, see PermissionsFlags for details. (optional) + * @param usePdf20 Support for revision 6 (Extension 8). (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postDocumentImageFooterAsync(String name, ImageFooter imageFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postEncryptDocumentInStorageAsync(String name, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -24900,17 +28411,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postDocumentImageFooterValidateBeforeCall(name, imageFooter, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postEncryptDocumentInStorageValidateBeforeCall(name, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postDocumentImageHeader + * Build call for postFlattenDocument * @param name The document name. (required) - * @param imageHeader The image header. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) + * @param updateAppearances If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance.. (optional) + * @param callEvents If set, formatting and other JavaScript events will be called. (optional) + * @param hideButtons If set, buttons will be removed from flattened document. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -24918,19 +28429,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postDocumentImageHeaderCall(String name, ImageHeader imageHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = imageHeader; + public com.squareup.okhttp.Call postFlattenDocumentCall(String name, Boolean updateAppearances, Boolean callEvents, Boolean hideButtons, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/header/image" + String localVarPath = "/pdf/{name}/flatten" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (startPageNumber != null) - localVarQueryParams.addAll(apiClient.parameterToPair("startPageNumber", startPageNumber)); - if (endPageNumber != null) - localVarQueryParams.addAll(apiClient.parameterToPair("endPageNumber", endPageNumber)); + if (updateAppearances != null) + localVarQueryParams.addAll(apiClient.parameterToPair("updateAppearances", updateAppearances)); + if (callEvents != null) + localVarQueryParams.addAll(apiClient.parameterToPair("callEvents", callEvents)); + if (hideButtons != null) + localVarQueryParams.addAll(apiClient.parameterToPair("hideButtons", hideButtons)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -24964,53 +28477,48 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postDocumentImageHeaderValidateBeforeCall(String name, ImageHeader imageHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postFlattenDocumentValidateBeforeCall(String name, Boolean updateAppearances, Boolean callEvents, Boolean hideButtons, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postDocumentImageHeader(Async)"); - } - - // verify the required parameter 'imageHeader' is set - if (imageHeader == null) { - throw new ApiException("Missing the required parameter 'imageHeader' when calling postDocumentImageHeader(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postFlattenDocument(Async)"); } - com.squareup.okhttp.Call call = postDocumentImageHeaderCall(name, imageHeader, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postFlattenDocumentCall(name, updateAppearances, callEvents, hideButtons, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document image header. + * Flatten the document. * * @param name The document name. (required) - * @param imageHeader The image header. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) + * @param updateAppearances If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance.. (optional) + * @param callEvents If set, formatting and other JavaScript events will be called. (optional) + * @param hideButtons If set, buttons will be removed from flattened document. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postDocumentImageHeader(String name, ImageHeader imageHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { + public AsposeResponse postFlattenDocument(String name, Boolean updateAppearances, Boolean callEvents, Boolean hideButtons, String storage, String folder) throws ApiException { try { - ApiResponse resp = postDocumentImageHeaderWithHttpInfo(name, imageHeader, startPageNumber, endPageNumber, storage, folder); + ApiResponse resp = postFlattenDocumentWithHttpInfo(name, updateAppearances, callEvents, hideButtons, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postDocumentImageHeaderWithHttpInfo(name, imageHeader, startPageNumber, endPageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postFlattenDocumentWithHttpInfo(name, updateAppearances, callEvents, hideButtons, storage, folder); return resp.getData(); } throw ex; @@ -25018,37 +28526,37 @@ public AsposeResponse postDocumentImageHeader(String name, ImageHeader imageHead } /** - * Add document image header. + * Flatten the document. * * @param name The document name. (required) - * @param imageHeader The image header. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) + * @param updateAppearances If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance.. (optional) + * @param callEvents If set, formatting and other JavaScript events will be called. (optional) + * @param hideButtons If set, buttons will be removed from flattened document. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postDocumentImageHeaderWithHttpInfo(String name, ImageHeader imageHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postDocumentImageHeaderValidateBeforeCall(name, imageHeader, startPageNumber, endPageNumber, storage, folder, null, null); + public ApiResponse postFlattenDocumentWithHttpInfo(String name, Boolean updateAppearances, Boolean callEvents, Boolean hideButtons, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postFlattenDocumentValidateBeforeCall(name, updateAppearances, callEvents, hideButtons, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document image header. (asynchronously) + * Flatten the document. (asynchronously) * * @param name The document name. (required) - * @param imageHeader The image header. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) + * @param updateAppearances If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance.. (optional) + * @param callEvents If set, formatting and other JavaScript events will be called. (optional) + * @param hideButtons If set, buttons will be removed from flattened document. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postDocumentImageHeaderAsync(String name, ImageHeader imageHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postFlattenDocumentAsync(String name, Boolean updateAppearances, Boolean callEvents, Boolean hideButtons, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -25069,37 +28577,31 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postDocumentImageHeaderValidateBeforeCall(name, imageHeader, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postFlattenDocumentValidateBeforeCall(name, updateAppearances, callEvents, hideButtons, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postDocumentPageNumberStamps + * Build call for postImportFieldsFromFdf * @param name The document name. (required) - * @param stamp The stamp. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param fdfData Fdf file. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postDocumentPageNumberStampsCall(String name, PageNumberStamp stamp, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = stamp; + public com.squareup.okhttp.Call postImportFieldsFromFdfCall(String name, String storage, String folder, File fdfData, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = fdfData; // create path and map variables - String localVarPath = "/pdf/{name}/stamps/pagenumber" + String localVarPath = "/pdf/{name}/import/fdf" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (startPageNumber != null) - localVarQueryParams.addAll(apiClient.parameterToPair("startPageNumber", startPageNumber)); - if (endPageNumber != null) - localVarQueryParams.addAll(apiClient.parameterToPair("endPageNumber", endPageNumber)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -25133,53 +28635,46 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postDocumentPageNumberStampsValidateBeforeCall(String name, PageNumberStamp stamp, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postImportFieldsFromFdfValidateBeforeCall(String name, String storage, String folder, File fdfData, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postDocumentPageNumberStamps(Async)"); - } - - // verify the required parameter 'stamp' is set - if (stamp == null) { - throw new ApiException("Missing the required parameter 'stamp' when calling postDocumentPageNumberStamps(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postImportFieldsFromFdf(Async)"); } - com.squareup.okhttp.Call call = postDocumentPageNumberStampsCall(name, stamp, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postImportFieldsFromFdfCall(name, storage, folder, fdfData, progressListener, progressRequestListener); return call; } /** - * Add document page number stamps. + * Update fields from FDF file in request. * * @param name The document name. (required) - * @param stamp The stamp. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param fdfData Fdf file. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postDocumentPageNumberStamps(String name, PageNumberStamp stamp, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { + public AsposeResponse postImportFieldsFromFdf(String name, String storage, String folder, File fdfData) throws ApiException { try { - ApiResponse resp = postDocumentPageNumberStampsWithHttpInfo(name, stamp, startPageNumber, endPageNumber, storage, folder); + ApiResponse resp = postImportFieldsFromFdfWithHttpInfo(name, storage, folder, fdfData); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postDocumentPageNumberStampsWithHttpInfo(name, stamp, startPageNumber, endPageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postImportFieldsFromFdfWithHttpInfo(name, storage, folder, fdfData); return resp.getData(); } throw ex; @@ -25187,37 +28682,33 @@ public AsposeResponse postDocumentPageNumberStamps(String name, PageNumberStamp } /** - * Add document page number stamps. + * Update fields from FDF file in request. * * @param name The document name. (required) - * @param stamp The stamp. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param fdfData Fdf file. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postDocumentPageNumberStampsWithHttpInfo(String name, PageNumberStamp stamp, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postDocumentPageNumberStampsValidateBeforeCall(name, stamp, startPageNumber, endPageNumber, storage, folder, null, null); + public ApiResponse postImportFieldsFromFdfWithHttpInfo(String name, String storage, String folder, File fdfData) throws ApiException { + com.squareup.okhttp.Call call = postImportFieldsFromFdfValidateBeforeCall(name, storage, folder, fdfData, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page number stamps. (asynchronously) + * Update fields from FDF file in request. (asynchronously) * * @param name The document name. (required) - * @param stamp The stamp. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param fdfData Fdf file. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postDocumentPageNumberStampsAsync(String name, PageNumberStamp stamp, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postImportFieldsFromFdfAsync(String name, String storage, String folder, File fdfData, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -25238,37 +28729,31 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postDocumentPageNumberStampsValidateBeforeCall(name, stamp, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postImportFieldsFromFdfValidateBeforeCall(name, storage, folder, fdfData, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postDocumentTextFooter + * Build call for postImportFieldsFromXfdf * @param name The document name. (required) - * @param textFooter The text footer. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param xfdfData Xfdf file. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postDocumentTextFooterCall(String name, TextFooter textFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = textFooter; + public com.squareup.okhttp.Call postImportFieldsFromXfdfCall(String name, String storage, String folder, File xfdfData, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = xfdfData; // create path and map variables - String localVarPath = "/pdf/{name}/footer/text" + String localVarPath = "/pdf/{name}/import/xfdf" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (startPageNumber != null) - localVarQueryParams.addAll(apiClient.parameterToPair("startPageNumber", startPageNumber)); - if (endPageNumber != null) - localVarQueryParams.addAll(apiClient.parameterToPair("endPageNumber", endPageNumber)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -25302,53 +28787,46 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postDocumentTextFooterValidateBeforeCall(String name, TextFooter textFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postImportFieldsFromXfdfValidateBeforeCall(String name, String storage, String folder, File xfdfData, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postDocumentTextFooter(Async)"); - } - - // verify the required parameter 'textFooter' is set - if (textFooter == null) { - throw new ApiException("Missing the required parameter 'textFooter' when calling postDocumentTextFooter(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postImportFieldsFromXfdf(Async)"); } - com.squareup.okhttp.Call call = postDocumentTextFooterCall(name, textFooter, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postImportFieldsFromXfdfCall(name, storage, folder, xfdfData, progressListener, progressRequestListener); return call; } /** - * Add document text footer. + * Update fields from XFDF file in request. * * @param name The document name. (required) - * @param textFooter The text footer. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param xfdfData Xfdf file. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postDocumentTextFooter(String name, TextFooter textFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { + public AsposeResponse postImportFieldsFromXfdf(String name, String storage, String folder, File xfdfData) throws ApiException { try { - ApiResponse resp = postDocumentTextFooterWithHttpInfo(name, textFooter, startPageNumber, endPageNumber, storage, folder); + ApiResponse resp = postImportFieldsFromXfdfWithHttpInfo(name, storage, folder, xfdfData); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postDocumentTextFooterWithHttpInfo(name, textFooter, startPageNumber, endPageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postImportFieldsFromXfdfWithHttpInfo(name, storage, folder, xfdfData); return resp.getData(); } throw ex; @@ -25356,37 +28834,33 @@ public AsposeResponse postDocumentTextFooter(String name, TextFooter textFooter, } /** - * Add document text footer. + * Update fields from XFDF file in request. * * @param name The document name. (required) - * @param textFooter The text footer. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param xfdfData Xfdf file. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postDocumentTextFooterWithHttpInfo(String name, TextFooter textFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postDocumentTextFooterValidateBeforeCall(name, textFooter, startPageNumber, endPageNumber, storage, folder, null, null); + public ApiResponse postImportFieldsFromXfdfWithHttpInfo(String name, String storage, String folder, File xfdfData) throws ApiException { + com.squareup.okhttp.Call call = postImportFieldsFromXfdfValidateBeforeCall(name, storage, folder, xfdfData, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document text footer. (asynchronously) + * Update fields from XFDF file in request. (asynchronously) * * @param name The document name. (required) - * @param textFooter The text footer. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param xfdfData Xfdf file. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postDocumentTextFooterAsync(String name, TextFooter textFooter, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postImportFieldsFromXfdfAsync(String name, String storage, String folder, File xfdfData, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -25407,37 +28881,31 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postDocumentTextFooterValidateBeforeCall(name, textFooter, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postImportFieldsFromXfdfValidateBeforeCall(name, storage, folder, xfdfData, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postDocumentTextHeader + * Build call for postImportFieldsFromXml * @param name The document name. (required) - * @param textHeader The text header. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param xmlData Xml file. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postDocumentTextHeaderCall(String name, TextHeader textHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = textHeader; + public com.squareup.okhttp.Call postImportFieldsFromXmlCall(String name, String storage, String folder, File xmlData, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = xmlData; // create path and map variables - String localVarPath = "/pdf/{name}/header/text" + String localVarPath = "/pdf/{name}/import/xml" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (startPageNumber != null) - localVarQueryParams.addAll(apiClient.parameterToPair("startPageNumber", startPageNumber)); - if (endPageNumber != null) - localVarQueryParams.addAll(apiClient.parameterToPair("endPageNumber", endPageNumber)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -25471,53 +28939,46 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postDocumentTextHeaderValidateBeforeCall(String name, TextHeader textHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postImportFieldsFromXmlValidateBeforeCall(String name, String storage, String folder, File xmlData, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postDocumentTextHeader(Async)"); - } - - // verify the required parameter 'textHeader' is set - if (textHeader == null) { - throw new ApiException("Missing the required parameter 'textHeader' when calling postDocumentTextHeader(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postImportFieldsFromXml(Async)"); } - com.squareup.okhttp.Call call = postDocumentTextHeaderCall(name, textHeader, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postImportFieldsFromXmlCall(name, storage, folder, xmlData, progressListener, progressRequestListener); return call; } /** - * Add document text header. + * Update fields from XML file in request. * * @param name The document name. (required) - * @param textHeader The text header. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param xmlData Xml file. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postDocumentTextHeader(String name, TextHeader textHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { + public AsposeResponse postImportFieldsFromXml(String name, String storage, String folder, File xmlData) throws ApiException { try { - ApiResponse resp = postDocumentTextHeaderWithHttpInfo(name, textHeader, startPageNumber, endPageNumber, storage, folder); + ApiResponse resp = postImportFieldsFromXmlWithHttpInfo(name, storage, folder, xmlData); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postDocumentTextHeaderWithHttpInfo(name, textHeader, startPageNumber, endPageNumber, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postImportFieldsFromXmlWithHttpInfo(name, storage, folder, xmlData); return resp.getData(); } throw ex; @@ -25525,37 +28986,33 @@ public AsposeResponse postDocumentTextHeader(String name, TextHeader textHeader, } /** - * Add document text header. + * Update fields from XML file in request. * * @param name The document name. (required) - * @param textHeader The text header. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param xmlData Xml file. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postDocumentTextHeaderWithHttpInfo(String name, TextHeader textHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postDocumentTextHeaderValidateBeforeCall(name, textHeader, startPageNumber, endPageNumber, storage, folder, null, null); + public ApiResponse postImportFieldsFromXmlWithHttpInfo(String name, String storage, String folder, File xmlData) throws ApiException { + com.squareup.okhttp.Call call = postImportFieldsFromXmlValidateBeforeCall(name, storage, folder, xmlData, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document text header. (asynchronously) + * Update fields from XML file in request. (asynchronously) * * @param name The document name. (required) - * @param textHeader The text header. (required) - * @param startPageNumber The start page number. (optional) - * @param endPageNumber The end page number. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param xmlData Xml file. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postDocumentTextHeaderAsync(String name, TextHeader textHeader, Integer startPageNumber, Integer endPageNumber, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postImportFieldsFromXmlAsync(String name, String storage, String folder, File xmlData, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -25576,31 +29033,48 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postDocumentTextHeaderValidateBeforeCall(name, textHeader, startPageNumber, endPageNumber, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postImportFieldsFromXmlValidateBeforeCall(name, storage, folder, xmlData, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postDocumentTextReplace - * @param name (required) - * @param textReplace (required) - * @param storage (optional) - * @param folder (optional) + * Build call for postInsertImage + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param llx Coordinate lower left X. (required) + * @param lly Coordinate lower left Y. (required) + * @param urx Coordinate upper right X. (required) + * @param ury Coordinate upper right Y. (required) + * @param imageFilePath Path to image file if specified. Request content is used otherwise. (optional) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param image Image file. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postDocumentTextReplaceCall(String name, TextReplaceListRequest textReplace, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = textReplace; + public com.squareup.okhttp.Call postInsertImageCall(String name, Integer pageNumber, Double llx, Double lly, Double urx, Double ury, String imageFilePath, String storage, String folder, File image, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = image; // create path and map variables - String localVarPath = "/pdf/{name}/text/replace" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/pages/{pageNumber}/images" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (llx != null) + localVarQueryParams.addAll(apiClient.parameterToPair("llx", llx)); + if (lly != null) + localVarQueryParams.addAll(apiClient.parameterToPair("lly", lly)); + if (urx != null) + localVarQueryParams.addAll(apiClient.parameterToPair("urx", urx)); + if (ury != null) + localVarQueryParams.addAll(apiClient.parameterToPair("ury", ury)); + if (imageFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("imageFilePath", imageFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -25634,51 +29108,77 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postDocumentTextReplaceValidateBeforeCall(String name, TextReplaceListRequest textReplace, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postInsertImageValidateBeforeCall(String name, Integer pageNumber, Double llx, Double lly, Double urx, Double ury, String imageFilePath, String storage, String folder, File image, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postDocumentTextReplace(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postInsertImage(Async)"); } - // verify the required parameter 'textReplace' is set - if (textReplace == null) { - throw new ApiException("Missing the required parameter 'textReplace' when calling postDocumentTextReplace(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling postInsertImage(Async)"); + } + + // verify the required parameter 'llx' is set + if (llx == null) { + throw new ApiException("Missing the required parameter 'llx' when calling postInsertImage(Async)"); + } + + // verify the required parameter 'lly' is set + if (lly == null) { + throw new ApiException("Missing the required parameter 'lly' when calling postInsertImage(Async)"); + } + + // verify the required parameter 'urx' is set + if (urx == null) { + throw new ApiException("Missing the required parameter 'urx' when calling postInsertImage(Async)"); + } + + // verify the required parameter 'ury' is set + if (ury == null) { + throw new ApiException("Missing the required parameter 'ury' when calling postInsertImage(Async)"); } - com.squareup.okhttp.Call call = postDocumentTextReplaceCall(name, textReplace, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postInsertImageCall(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image, progressListener, progressRequestListener); return call; } /** - * Document's replace text method. + * Insert image to document page. * - * @param name (required) - * @param textReplace (required) - * @param storage (optional) - * @param folder (optional) - * @return TextReplaceResponse + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param llx Coordinate lower left X. (required) + * @param lly Coordinate lower left Y. (required) + * @param urx Coordinate upper right X. (required) + * @param ury Coordinate upper right Y. (required) + * @param imageFilePath Path to image file if specified. Request content is used otherwise. (optional) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param image Image file. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TextReplaceResponse postDocumentTextReplace(String name, TextReplaceListRequest textReplace, String storage, String folder) throws ApiException { + public AsposeResponse postInsertImage(String name, Integer pageNumber, Double llx, Double lly, Double urx, Double ury, String imageFilePath, String storage, String folder, File image) throws ApiException { try { - ApiResponse resp = postDocumentTextReplaceWithHttpInfo(name, textReplace, storage, folder); + ApiResponse resp = postInsertImageWithHttpInfo(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postDocumentTextReplaceWithHttpInfo(name, textReplace, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postInsertImageWithHttpInfo(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image); return resp.getData(); } throw ex; @@ -25686,33 +29186,45 @@ public TextReplaceResponse postDocumentTextReplace(String name, TextReplaceListR } /** - * Document's replace text method. + * Insert image to document page. * - * @param name (required) - * @param textReplace (required) - * @param storage (optional) - * @param folder (optional) - * @return ApiResponse<TextReplaceResponse> + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param llx Coordinate lower left X. (required) + * @param lly Coordinate lower left Y. (required) + * @param urx Coordinate upper right X. (required) + * @param ury Coordinate upper right Y. (required) + * @param imageFilePath Path to image file if specified. Request content is used otherwise. (optional) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param image Image file. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postDocumentTextReplaceWithHttpInfo(String name, TextReplaceListRequest textReplace, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postDocumentTextReplaceValidateBeforeCall(name, textReplace, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postInsertImageWithHttpInfo(String name, Integer pageNumber, Double llx, Double lly, Double urx, Double ury, String imageFilePath, String storage, String folder, File image) throws ApiException { + com.squareup.okhttp.Call call = postInsertImageValidateBeforeCall(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Document's replace text method. (asynchronously) + * Insert image to document page. (asynchronously) * - * @param name (required) - * @param textReplace (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param llx Coordinate lower left X. (required) + * @param lly Coordinate lower left Y. (required) + * @param urx Coordinate upper right X. (required) + * @param ury Coordinate upper right Y. (required) + * @param imageFilePath Path to image file if specified. Request content is used otherwise. (optional) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param image Image file. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postDocumentTextReplaceAsync(String name, TextReplaceListRequest textReplace, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postInsertImageAsync(String name, Integer pageNumber, Double llx, Double lly, Double urx, Double ury, String imageFilePath, String storage, String folder, File image, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -25733,19 +29245,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postDocumentTextReplaceValidateBeforeCall(name, textReplace, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postInsertImageValidateBeforeCall(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postEncryptDocumentInStorage - * @param name Document name. (required) - * @param userPassword User password (encrypted Base64). (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param cryptoAlgorithm Cryptographic algorithm, see for details. (required) - * @param permissionsFlags Array of document permissions, see for details. (optional) - * @param usePdf20 Support for revision 6 (Extension 8). (optional) + * Build call for postMovePage + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param newIndex The new page position/index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -25753,25 +29262,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postEncryptDocumentInStorageCall(String name, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postMovePageCall(String name, Integer pageNumber, Integer newIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/encrypt" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/pages/{pageNumber}/movePage" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (userPassword != null) - localVarQueryParams.addAll(apiClient.parameterToPair("userPassword", userPassword)); - if (ownerPassword != null) - localVarQueryParams.addAll(apiClient.parameterToPair("ownerPassword", ownerPassword)); - if (cryptoAlgorithm != null) - localVarQueryParams.addAll(apiClient.parameterToPair("cryptoAlgorithm", cryptoAlgorithm)); - if (permissionsFlags != null) - localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("multi", "permissionsFlags", permissionsFlags)); - if (usePdf20 != null) - localVarQueryParams.addAll(apiClient.parameterToPair("usePdf20", usePdf20)); + if (newIndex != null) + localVarQueryParams.addAll(apiClient.parameterToPair("newIndex", newIndex)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -25805,65 +29307,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postEncryptDocumentInStorageValidateBeforeCall(String name, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postMovePageValidateBeforeCall(String name, Integer pageNumber, Integer newIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postEncryptDocumentInStorage(Async)"); - } - - // verify the required parameter 'userPassword' is set - if (userPassword == null) { - throw new ApiException("Missing the required parameter 'userPassword' when calling postEncryptDocumentInStorage(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postMovePage(Async)"); } - // verify the required parameter 'ownerPassword' is set - if (ownerPassword == null) { - throw new ApiException("Missing the required parameter 'ownerPassword' when calling postEncryptDocumentInStorage(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling postMovePage(Async)"); } - // verify the required parameter 'cryptoAlgorithm' is set - if (cryptoAlgorithm == null) { - throw new ApiException("Missing the required parameter 'cryptoAlgorithm' when calling postEncryptDocumentInStorage(Async)"); + // verify the required parameter 'newIndex' is set + if (newIndex == null) { + throw new ApiException("Missing the required parameter 'newIndex' when calling postMovePage(Async)"); } - com.squareup.okhttp.Call call = postEncryptDocumentInStorageCall(name, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postMovePageCall(name, pageNumber, newIndex, storage, folder, progressListener, progressRequestListener); return call; } /** - * Encrypt document in storage. + * Move page to new position. * - * @param name Document name. (required) - * @param userPassword User password (encrypted Base64). (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param cryptoAlgorithm Cryptographic algorithm, see for details. (required) - * @param permissionsFlags Array of document permissions, see for details. (optional) - * @param usePdf20 Support for revision 6 (Extension 8). (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param newIndex The new page position/index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postEncryptDocumentInStorage(String name, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, String folder) throws ApiException { + public AsposeResponse postMovePage(String name, Integer pageNumber, Integer newIndex, String storage, String folder) throws ApiException { try { - ApiResponse resp = postEncryptDocumentInStorageWithHttpInfo(name, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, folder); + ApiResponse resp = postMovePageWithHttpInfo(name, pageNumber, newIndex, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postEncryptDocumentInStorageWithHttpInfo(name, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postMovePageWithHttpInfo(name, pageNumber, newIndex, storage, folder); return resp.getData(); } throw ex; @@ -25871,41 +29365,35 @@ public AsposeResponse postEncryptDocumentInStorage(String name, String userPassw } /** - * Encrypt document in storage. + * Move page to new position. * - * @param name Document name. (required) - * @param userPassword User password (encrypted Base64). (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param cryptoAlgorithm Cryptographic algorithm, see for details. (required) - * @param permissionsFlags Array of document permissions, see for details. (optional) - * @param usePdf20 Support for revision 6 (Extension 8). (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param newIndex The new page position/index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postEncryptDocumentInStorageWithHttpInfo(String name, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postEncryptDocumentInStorageValidateBeforeCall(name, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, folder, null, null); + public ApiResponse postMovePageWithHttpInfo(String name, Integer pageNumber, Integer newIndex, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postMovePageValidateBeforeCall(name, pageNumber, newIndex, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Encrypt document in storage. (asynchronously) + * Move page to new position. (asynchronously) * - * @param name Document name. (required) - * @param userPassword User password (encrypted Base64). (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param cryptoAlgorithm Cryptographic algorithm, see for details. (required) - * @param permissionsFlags Array of document permissions, see for details. (optional) - * @param usePdf20 Support for revision 6 (Extension 8). (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param newIndex The new page position/index. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postEncryptDocumentInStorageAsync(String name, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postMovePageAsync(String name, Integer pageNumber, Integer newIndex, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -25926,17 +29414,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postEncryptDocumentInStorageValidateBeforeCall(name, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postMovePageValidateBeforeCall(name, pageNumber, newIndex, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postFlattenDocument + * Build call for postOptimizeDocument * @param name The document name. (required) - * @param updateAppearances If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance.. (optional) - * @param callEvents If set, formatting and other JavaScript events will be called. (optional) - * @param hideButtons If set, buttons will be removed from flattened document. (optional) + * @param options The optimization options. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -25944,21 +29430,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postFlattenDocumentCall(String name, Boolean updateAppearances, Boolean callEvents, Boolean hideButtons, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call postOptimizeDocumentCall(String name, OptimizeOptions options, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = options; // create path and map variables - String localVarPath = "/pdf/{name}/flatten" + String localVarPath = "/pdf/{name}/optimize" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (updateAppearances != null) - localVarQueryParams.addAll(apiClient.parameterToPair("updateAppearances", updateAppearances)); - if (callEvents != null) - localVarQueryParams.addAll(apiClient.parameterToPair("callEvents", callEvents)); - if (hideButtons != null) - localVarQueryParams.addAll(apiClient.parameterToPair("hideButtons", hideButtons)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -25992,48 +29472,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postFlattenDocumentValidateBeforeCall(String name, Boolean updateAppearances, Boolean callEvents, Boolean hideButtons, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postOptimizeDocumentValidateBeforeCall(String name, OptimizeOptions options, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postFlattenDocument(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postOptimizeDocument(Async)"); + } + + // verify the required parameter 'options' is set + if (options == null) { + throw new ApiException("Missing the required parameter 'options' when calling postOptimizeDocument(Async)"); } - com.squareup.okhttp.Call call = postFlattenDocumentCall(name, updateAppearances, callEvents, hideButtons, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postOptimizeDocumentCall(name, options, storage, folder, progressListener, progressRequestListener); return call; } /** - * Flatten the document. + * Optimize document. * * @param name The document name. (required) - * @param updateAppearances If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance.. (optional) - * @param callEvents If set, formatting and other JavaScript events will be called. (optional) - * @param hideButtons If set, buttons will be removed from flattened document. (optional) + * @param options The optimization options. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postFlattenDocument(String name, Boolean updateAppearances, Boolean callEvents, Boolean hideButtons, String storage, String folder) throws ApiException { + public AsposeResponse postOptimizeDocument(String name, OptimizeOptions options, String storage, String folder) throws ApiException { try { - ApiResponse resp = postFlattenDocumentWithHttpInfo(name, updateAppearances, callEvents, hideButtons, storage, folder); + ApiResponse resp = postOptimizeDocumentWithHttpInfo(name, options, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postFlattenDocumentWithHttpInfo(name, updateAppearances, callEvents, hideButtons, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postOptimizeDocumentWithHttpInfo(name, options, storage, folder); return resp.getData(); } throw ex; @@ -26041,37 +29524,33 @@ public AsposeResponse postFlattenDocument(String name, Boolean updateAppearances } /** - * Flatten the document. + * Optimize document. * * @param name The document name. (required) - * @param updateAppearances If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance.. (optional) - * @param callEvents If set, formatting and other JavaScript events will be called. (optional) - * @param hideButtons If set, buttons will be removed from flattened document. (optional) + * @param options The optimization options. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postFlattenDocumentWithHttpInfo(String name, Boolean updateAppearances, Boolean callEvents, Boolean hideButtons, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postFlattenDocumentValidateBeforeCall(name, updateAppearances, callEvents, hideButtons, storage, folder, null, null); + public ApiResponse postOptimizeDocumentWithHttpInfo(String name, OptimizeOptions options, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postOptimizeDocumentValidateBeforeCall(name, options, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Flatten the document. (asynchronously) + * Optimize document. (asynchronously) * * @param name The document name. (required) - * @param updateAppearances If set, all field appearances will be regenerated before flattening. This option may help if field is incorrectly flattened. This option may decrease performance.. (optional) - * @param callEvents If set, formatting and other JavaScript events will be called. (optional) - * @param hideButtons If set, buttons will be removed from flattened document. (optional) + * @param options The optimization options. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postFlattenDocumentAsync(String name, Boolean updateAppearances, Boolean callEvents, Boolean hideButtons, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postOptimizeDocumentAsync(String name, OptimizeOptions options, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -26092,48 +29571,33 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postFlattenDocumentValidateBeforeCall(name, updateAppearances, callEvents, hideButtons, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postOptimizeDocumentValidateBeforeCall(name, options, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postInsertImage + * Build call for postPageCaretAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param llx Coordinate lower left X. (required) - * @param lly Coordinate lower left Y. (required) - * @param urx Coordinate upper right X. (required) - * @param ury Coordinate upper right Y. (required) - * @param imageFilePath Path to image file if specified. Request content is used otherwise. (optional) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param image Image file. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postInsertImageCall(String name, Integer pageNumber, Double llx, Double lly, Double urx, Double ury, String imageFilePath, String storage, String folder, File image, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = image; + public com.squareup.okhttp.Call postPageCaretAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/images" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/caret" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (llx != null) - localVarQueryParams.addAll(apiClient.parameterToPair("llx", llx)); - if (lly != null) - localVarQueryParams.addAll(apiClient.parameterToPair("lly", lly)); - if (urx != null) - localVarQueryParams.addAll(apiClient.parameterToPair("urx", urx)); - if (ury != null) - localVarQueryParams.addAll(apiClient.parameterToPair("ury", ury)); - if (imageFilePath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("imageFilePath", imageFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -26167,77 +29631,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postInsertImageValidateBeforeCall(String name, Integer pageNumber, Double llx, Double lly, Double urx, Double ury, String imageFilePath, String storage, String folder, File image, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageCaretAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postInsertImage(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageCaretAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postInsertImage(Async)"); - } - - // verify the required parameter 'llx' is set - if (llx == null) { - throw new ApiException("Missing the required parameter 'llx' when calling postInsertImage(Async)"); - } - - // verify the required parameter 'lly' is set - if (lly == null) { - throw new ApiException("Missing the required parameter 'lly' when calling postInsertImage(Async)"); - } - - // verify the required parameter 'urx' is set - if (urx == null) { - throw new ApiException("Missing the required parameter 'urx' when calling postInsertImage(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageCaretAnnotations(Async)"); } - // verify the required parameter 'ury' is set - if (ury == null) { - throw new ApiException("Missing the required parameter 'ury' when calling postInsertImage(Async)"); + // verify the required parameter 'annotations' is set + if (annotations == null) { + throw new ApiException("Missing the required parameter 'annotations' when calling postPageCaretAnnotations(Async)"); } - com.squareup.okhttp.Call call = postInsertImageCall(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageCaretAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Insert image to document page. + * Add document page caret annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param llx Coordinate lower left X. (required) - * @param lly Coordinate lower left Y. (required) - * @param urx Coordinate upper right X. (required) - * @param ury Coordinate upper right Y. (required) - * @param imageFilePath Path to image file if specified. Request content is used otherwise. (optional) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param image Image file. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postInsertImage(String name, Integer pageNumber, Double llx, Double lly, Double urx, Double ury, String imageFilePath, String storage, String folder, File image) throws ApiException { + public AsposeResponse postPageCaretAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postInsertImageWithHttpInfo(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image); + ApiResponse resp = postPageCaretAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postInsertImageWithHttpInfo(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image); + apiClient.requestToken(); + ApiResponse resp = postPageCaretAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -26245,45 +29689,35 @@ public AsposeResponse postInsertImage(String name, Integer pageNumber, Double ll } /** - * Insert image to document page. + * Add document page caret annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param llx Coordinate lower left X. (required) - * @param lly Coordinate lower left Y. (required) - * @param urx Coordinate upper right X. (required) - * @param ury Coordinate upper right Y. (required) - * @param imageFilePath Path to image file if specified. Request content is used otherwise. (optional) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param image Image file. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postInsertImageWithHttpInfo(String name, Integer pageNumber, Double llx, Double lly, Double urx, Double ury, String imageFilePath, String storage, String folder, File image) throws ApiException { - com.squareup.okhttp.Call call = postInsertImageValidateBeforeCall(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image, null, null); + public ApiResponse postPageCaretAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageCaretAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Insert image to document page. (asynchronously) + * Add document page caret annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param llx Coordinate lower left X. (required) - * @param lly Coordinate lower left Y. (required) - * @param urx Coordinate upper right X. (required) - * @param ury Coordinate upper right Y. (required) - * @param imageFilePath Path to image file if specified. Request content is used otherwise. (optional) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param image Image file. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postInsertImageAsync(String name, Integer pageNumber, Double llx, Double lly, Double urx, Double ury, String imageFilePath, String storage, String folder, File image, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageCaretAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -26304,41 +29738,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postInsertImageValidateBeforeCall(name, pageNumber, llx, lly, urx, ury, imageFilePath, storage, folder, image, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageCaretAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postMoveFile - * @param src Source file path e.g. /fileSource.ext (required) - * @param dest Destination file path e.g. /fileDestination.ext (required) - * @param versionId Source file's version, (optional) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * Build call for postPageCircleAnnotations + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param annotations The array of annotation. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postMoveFileCall(String src, String dest, String versionId, String storage, String destStorage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call postPageCircleAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/storage/file"; + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/circle" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (src != null) - localVarQueryParams.addAll(apiClient.parameterToPair("src", src)); - if (dest != null) - localVarQueryParams.addAll(apiClient.parameterToPair("dest", dest)); - if (versionId != null) - localVarQueryParams.addAll(apiClient.parameterToPair("versionId", versionId)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (destStorage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("destStorage", destStorage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -26368,52 +29798,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postMoveFileValidateBeforeCall(String src, String dest, String versionId, String storage, String destStorage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageCircleAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'src' is set - if (src == null) { - throw new ApiException("Missing the required parameter 'src' when calling postMoveFile(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling postPageCircleAnnotations(Async)"); } - // verify the required parameter 'dest' is set - if (dest == null) { - throw new ApiException("Missing the required parameter 'dest' when calling postMoveFile(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageCircleAnnotations(Async)"); + } + + // verify the required parameter 'annotations' is set + if (annotations == null) { + throw new ApiException("Missing the required parameter 'annotations' when calling postPageCircleAnnotations(Async)"); } - com.squareup.okhttp.Call call = postMoveFileCall(src, dest, versionId, storage, destStorage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageCircleAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Move a specific file + * Add document page circle annotations. * - * @param src Source file path e.g. /fileSource.ext (required) - * @param dest Destination file path e.g. /fileDestination.ext (required) - * @param versionId Source file's version, (optional) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param annotations The array of annotation. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postMoveFile(String src, String dest, String versionId, String storage, String destStorage) throws ApiException { + public AsposeResponse postPageCircleAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postMoveFileWithHttpInfo(src, dest, versionId, storage, destStorage); + ApiResponse resp = postPageCircleAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postMoveFileWithHttpInfo(src, dest, versionId, storage, destStorage); + apiClient.requestToken(); + ApiResponse resp = postPageCircleAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -26421,35 +29856,35 @@ public AsposeResponse postMoveFile(String src, String dest, String versionId, St } /** - * Move a specific file + * Add document page circle annotations. * - * @param src Source file path e.g. /fileSource.ext (required) - * @param dest Destination file path e.g. /fileDestination.ext (required) - * @param versionId Source file's version, (optional) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param annotations The array of annotation. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postMoveFileWithHttpInfo(String src, String dest, String versionId, String storage, String destStorage) throws ApiException { - com.squareup.okhttp.Call call = postMoveFileValidateBeforeCall(src, dest, versionId, storage, destStorage, null, null); + public ApiResponse postPageCircleAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageCircleAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Move a specific file (asynchronously) + * Add document page circle annotations. (asynchronously) * - * @param src Source file path e.g. /fileSource.ext (required) - * @param dest Destination file path e.g. /fileDestination.ext (required) - * @param versionId Source file's version, (optional) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param annotations The array of annotation. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postMoveFileAsync(String src, String dest, String versionId, String storage, String destStorage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageCircleAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -26470,38 +29905,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postMoveFileValidateBeforeCall(src, dest, versionId, storage, destStorage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageCircleAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postMoveFolder - * @param src Source folder path e.g. /Folder1 (required) - * @param dest Destination folder path e.g. /Folder2 (required) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * Build call for postPageFileAttachmentAnnotations + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param annotations Annotation. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postMoveFolderCall(String src, String dest, String storage, String destStorage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call postPageFileAttachmentAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/storage/folder"; + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/fileattachment" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (src != null) - localVarQueryParams.addAll(apiClient.parameterToPair("src", src)); - if (dest != null) - localVarQueryParams.addAll(apiClient.parameterToPair("dest", dest)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (destStorage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("destStorage", destStorage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -26531,51 +29965,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postMoveFolderValidateBeforeCall(String src, String dest, String storage, String destStorage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageFileAttachmentAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'src' is set - if (src == null) { - throw new ApiException("Missing the required parameter 'src' when calling postMoveFolder(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling postPageFileAttachmentAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageFileAttachmentAnnotations(Async)"); } - // verify the required parameter 'dest' is set - if (dest == null) { - throw new ApiException("Missing the required parameter 'dest' when calling postMoveFolder(Async)"); + // verify the required parameter 'annotations' is set + if (annotations == null) { + throw new ApiException("Missing the required parameter 'annotations' when calling postPageFileAttachmentAnnotations(Async)"); } - com.squareup.okhttp.Call call = postMoveFolderCall(src, dest, storage, destStorage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageFileAttachmentAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Move a specific folder + * Add document page FileAttachment annotations. * - * @param src Source folder path e.g. /Folder1 (required) - * @param dest Destination folder path e.g. /Folder2 (required) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param annotations Annotation. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postMoveFolder(String src, String dest, String storage, String destStorage) throws ApiException { + public AsposeResponse postPageFileAttachmentAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postMoveFolderWithHttpInfo(src, dest, storage, destStorage); + ApiResponse resp = postPageFileAttachmentAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postMoveFolderWithHttpInfo(src, dest, storage, destStorage); + apiClient.requestToken(); + ApiResponse resp = postPageFileAttachmentAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -26583,33 +30023,35 @@ public AsposeResponse postMoveFolder(String src, String dest, String storage, St } /** - * Move a specific folder + * Add document page FileAttachment annotations. * - * @param src Source folder path e.g. /Folder1 (required) - * @param dest Destination folder path e.g. /Folder2 (required) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param annotations Annotation. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postMoveFolderWithHttpInfo(String src, String dest, String storage, String destStorage) throws ApiException { - com.squareup.okhttp.Call call = postMoveFolderValidateBeforeCall(src, dest, storage, destStorage, null, null); + public ApiResponse postPageFileAttachmentAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageFileAttachmentAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Move a specific folder (asynchronously) + * Add document page FileAttachment annotations. (asynchronously) * - * @param src Source folder path e.g. /Folder1 (required) - * @param dest Destination folder path e.g. /Folder2 (required) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param annotations Annotation. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postMoveFolderAsync(String src, String dest, String storage, String destStorage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageFileAttachmentAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -26630,16 +30072,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postMoveFolderValidateBeforeCall(src, dest, storage, destStorage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageFileAttachmentAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postMovePage + * Build call for postPageFreeTextAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param newIndex The new page position/index. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -26647,18 +30089,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postMovePageCall(String name, Integer pageNumber, Integer newIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call postPageFreeTextAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/movePage" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/freetext" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (newIndex != null) - localVarQueryParams.addAll(apiClient.parameterToPair("newIndex", newIndex)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -26692,57 +30132,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postMovePageValidateBeforeCall(String name, Integer pageNumber, Integer newIndex, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageFreeTextAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postMovePage(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageFreeTextAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postMovePage(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageFreeTextAnnotations(Async)"); } - // verify the required parameter 'newIndex' is set - if (newIndex == null) { - throw new ApiException("Missing the required parameter 'newIndex' when calling postMovePage(Async)"); + // verify the required parameter 'annotations' is set + if (annotations == null) { + throw new ApiException("Missing the required parameter 'annotations' when calling postPageFreeTextAnnotations(Async)"); } - com.squareup.okhttp.Call call = postMovePageCall(name, pageNumber, newIndex, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageFreeTextAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Move page to new position. + * Add document page free text annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param newIndex The new page position/index. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postMovePage(String name, Integer pageNumber, Integer newIndex, String storage, String folder) throws ApiException { + public AsposeResponse postPageFreeTextAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postMovePageWithHttpInfo(name, pageNumber, newIndex, storage, folder); + ApiResponse resp = postPageFreeTextAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postMovePageWithHttpInfo(name, pageNumber, newIndex, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageFreeTextAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -26750,35 +30190,35 @@ public AsposeResponse postMovePage(String name, Integer pageNumber, Integer newI } /** - * Move page to new position. + * Add document page free text annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param newIndex The new page position/index. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postMovePageWithHttpInfo(String name, Integer pageNumber, Integer newIndex, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postMovePageValidateBeforeCall(name, pageNumber, newIndex, storage, folder, null, null); + public ApiResponse postPageFreeTextAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageFreeTextAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Move page to new position. (asynchronously) + * Add document page free text annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param newIndex The new page position/index. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postMovePageAsync(String name, Integer pageNumber, Integer newIndex, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageFreeTextAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -26799,15 +30239,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postMovePageValidateBeforeCall(name, pageNumber, newIndex, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageFreeTextAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postOptimizeDocument + * Build call for postPageHighlightAnnotations * @param name The document name. (required) - * @param options The optimization options. (optional) + * @param pageNumber The page number. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -26815,12 +30256,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postOptimizeDocumentCall(String name, OptimizeOptions options, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = options; + public com.squareup.okhttp.Call postPageHighlightAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/optimize" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/highlight" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -26857,46 +30299,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postOptimizeDocumentValidateBeforeCall(String name, OptimizeOptions options, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageHighlightAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postOptimizeDocument(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageHighlightAnnotations(Async)"); + } + + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageHighlightAnnotations(Async)"); + } + + // verify the required parameter 'annotations' is set + if (annotations == null) { + throw new ApiException("Missing the required parameter 'annotations' when calling postPageHighlightAnnotations(Async)"); } - com.squareup.okhttp.Call call = postOptimizeDocumentCall(name, options, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageHighlightAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Optimize document. + * Add document page highlight annotations. * * @param name The document name. (required) - * @param options The optimization options. (optional) + * @param pageNumber The page number. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postOptimizeDocument(String name, OptimizeOptions options, String storage, String folder) throws ApiException { + public AsposeResponse postPageHighlightAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postOptimizeDocumentWithHttpInfo(name, options, storage, folder); + ApiResponse resp = postPageHighlightAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postOptimizeDocumentWithHttpInfo(name, options, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageHighlightAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -26904,33 +30357,35 @@ public AsposeResponse postOptimizeDocument(String name, OptimizeOptions options, } /** - * Optimize document. + * Add document page highlight annotations. * * @param name The document name. (required) - * @param options The optimization options. (optional) + * @param pageNumber The page number. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postOptimizeDocumentWithHttpInfo(String name, OptimizeOptions options, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postOptimizeDocumentValidateBeforeCall(name, options, storage, folder, null, null); + public ApiResponse postPageHighlightAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageHighlightAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Optimize document. (asynchronously) + * Add document page highlight annotations. (asynchronously) * * @param name The document name. (required) - * @param options The optimization options. (optional) + * @param pageNumber The page number. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postOptimizeDocumentAsync(String name, OptimizeOptions options, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageHighlightAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -26951,16 +30406,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postOptimizeDocumentValidateBeforeCall(name, options, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageHighlightAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageCaretAnnotations + * Build call for postPageImageStamps * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param stamps The array of stamp. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -26968,11 +30423,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageCaretAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotations; + public com.squareup.okhttp.Call postPageImageStampsCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = stamps; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/caret" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps/image" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -27011,57 +30466,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageCaretAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageImageStampsValidateBeforeCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageCaretAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageImageStamps(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageCaretAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageImageStamps(Async)"); } - // verify the required parameter 'annotations' is set - if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageCaretAnnotations(Async)"); + // verify the required parameter 'stamps' is set + if (stamps == null) { + throw new ApiException("Missing the required parameter 'stamps' when calling postPageImageStamps(Async)"); } - com.squareup.okhttp.Call call = postPageCaretAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageImageStampsCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page caret annotations. + * Add document page image stamps. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param stamps The array of stamp. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageCaretAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageImageStamps(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageCaretAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageImageStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageCaretAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageImageStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); return resp.getData(); } throw ex; @@ -27069,35 +30524,35 @@ public AsposeResponse postPageCaretAnnotations(String name, Integer pageNumber, } /** - * Add document page caret annotations. + * Add document page image stamps. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param stamps The array of stamp. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageCaretAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageCaretAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageImageStampsWithHttpInfo(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageImageStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page caret annotations. (asynchronously) + * Add document page image stamps. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param stamps The array of stamp. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageCaretAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageImageStampsAsync(String name, Integer pageNumber, List stamps, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -27118,13 +30573,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageCaretAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageImageStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageCircleAnnotations + * Build call for postPageInkAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -27135,11 +30590,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageCircleAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPageInkAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/circle" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/ink" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -27178,36 +30633,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageCircleAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageInkAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageCircleAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageInkAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageCircleAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageInkAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageCircleAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPageInkAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageCircleAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageInkAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page circle annotations. + * Add document page ink annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -27217,18 +30672,18 @@ private com.squareup.okhttp.Call postPageCircleAnnotationsValidateBeforeCall(Str * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageCircleAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageInkAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageCircleAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageInkAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageCircleAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageInkAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -27236,7 +30691,7 @@ public AsposeResponse postPageCircleAnnotations(String name, Integer pageNumber, } /** - * Add document page circle annotations. + * Add document page ink annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -27246,14 +30701,14 @@ public AsposeResponse postPageCircleAnnotations(String name, Integer pageNumber, * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageCircleAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageCircleAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageInkAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageInkAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page circle annotations. (asynchronously) + * Add document page ink annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -27264,7 +30719,7 @@ public ApiResponse postPageCircleAnnotationsWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageCircleAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageInkAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -27285,16 +30740,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageCircleAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageInkAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageFileAttachmentAnnotations + * Build call for postPageLineAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations Annotation. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -27302,11 +30757,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageFileAttachmentAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPageLineAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/fileattachment" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/line" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -27345,57 +30800,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageFileAttachmentAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageLineAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageFileAttachmentAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageLineAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageFileAttachmentAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageLineAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageFileAttachmentAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPageLineAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageFileAttachmentAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageLineAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page FileAttachment annotations. + * Add document page line annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations Annotation. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageFileAttachmentAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageLineAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageFileAttachmentAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageLineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageFileAttachmentAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageLineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -27403,35 +30858,35 @@ public AsposeResponse postPageFileAttachmentAnnotations(String name, Integer pag } /** - * Add document page FileAttachment annotations. + * Add document page line annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations Annotation. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageFileAttachmentAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageFileAttachmentAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageLineAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageLineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page FileAttachment annotations. (asynchronously) + * Add document page line annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations Annotation. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageFileAttachmentAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageLineAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -27452,16 +30907,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageFileAttachmentAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageLineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageFreeTextAnnotations + * Build call for postPageLinkAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param links Array of link anotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -27469,11 +30924,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageFreeTextAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotations; + public com.squareup.okhttp.Call postPageLinkAnnotationsCall(String name, Integer pageNumber, List links, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = links; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/freetext" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/links" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -27512,57 +30967,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageFreeTextAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageLinkAnnotationsValidateBeforeCall(String name, Integer pageNumber, List links, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageFreeTextAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageLinkAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageFreeTextAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageLinkAnnotations(Async)"); } - // verify the required parameter 'annotations' is set - if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageFreeTextAnnotations(Async)"); + // verify the required parameter 'links' is set + if (links == null) { + throw new ApiException("Missing the required parameter 'links' when calling postPageLinkAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageFreeTextAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageLinkAnnotationsCall(name, pageNumber, links, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page free text annotations. + * Add document page link annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param links Array of link anotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageFreeTextAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageLinkAnnotations(String name, Integer pageNumber, List links, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageFreeTextAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageLinkAnnotationsWithHttpInfo(name, pageNumber, links, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageFreeTextAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageLinkAnnotationsWithHttpInfo(name, pageNumber, links, storage, folder); return resp.getData(); } throw ex; @@ -27570,35 +31025,35 @@ public AsposeResponse postPageFreeTextAnnotations(String name, Integer pageNumbe } /** - * Add document page free text annotations. + * Add document page link annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param links Array of link anotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageFreeTextAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageFreeTextAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageLinkAnnotationsWithHttpInfo(String name, Integer pageNumber, List links, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageLinkAnnotationsValidateBeforeCall(name, pageNumber, links, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page free text annotations. (asynchronously) + * Add document page link annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param links Array of link anotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageFreeTextAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageLinkAnnotationsAsync(String name, Integer pageNumber, List links, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -27619,13 +31074,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageFreeTextAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageLinkAnnotationsValidateBeforeCall(name, pageNumber, links, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageHighlightAnnotations + * Build call for postPageMovieAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -27636,11 +31091,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageHighlightAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPageMovieAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/highlight" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/movie" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -27679,36 +31134,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageHighlightAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageMovieAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageHighlightAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageMovieAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageHighlightAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageMovieAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageHighlightAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPageMovieAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageHighlightAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageMovieAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page highlight annotations. + * Add document page movie annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -27718,18 +31173,18 @@ private com.squareup.okhttp.Call postPageHighlightAnnotationsValidateBeforeCall( * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageHighlightAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageMovieAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageHighlightAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageMovieAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageHighlightAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageMovieAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -27737,7 +31192,7 @@ public AsposeResponse postPageHighlightAnnotations(String name, Integer pageNumb } /** - * Add document page highlight annotations. + * Add document page movie annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -27747,14 +31202,14 @@ public AsposeResponse postPageHighlightAnnotations(String name, Integer pageNumb * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageHighlightAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageHighlightAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageMovieAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageMovieAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page highlight annotations. (asynchronously) + * Add document page movie annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -27765,7 +31220,7 @@ public ApiResponse postPageHighlightAnnotationsWithHttpInfo(Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageHighlightAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageMovieAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -27786,13 +31241,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageHighlightAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageMovieAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageImageStamps + * Build call for postPagePdfPageStamps * @param name The document name. (required) * @param pageNumber The page number. (required) * @param stamps The array of stamp. (required) @@ -27803,11 +31258,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageImageStampsCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPagePdfPageStampsCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = stamps; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps/image" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps/pdfpage" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -27846,36 +31301,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageImageStampsValidateBeforeCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPagePdfPageStampsValidateBeforeCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageImageStamps(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPagePdfPageStamps(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageImageStamps(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPagePdfPageStamps(Async)"); } // verify the required parameter 'stamps' is set if (stamps == null) { - throw new ApiException("Missing the required parameter 'stamps' when calling postPageImageStamps(Async)"); + throw new ApiException("Missing the required parameter 'stamps' when calling postPagePdfPageStamps(Async)"); } - com.squareup.okhttp.Call call = postPageImageStampsCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPagePdfPageStampsCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page image stamps. + * Add document pdf page stamps. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -27885,18 +31340,18 @@ private com.squareup.okhttp.Call postPageImageStampsValidateBeforeCall(String na * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageImageStamps(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { + public AsposeResponse postPagePdfPageStamps(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageImageStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); + ApiResponse resp = postPagePdfPageStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageImageStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPagePdfPageStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); return resp.getData(); } throw ex; @@ -27904,7 +31359,7 @@ public AsposeResponse postPageImageStamps(String name, Integer pageNumber, List< } /** - * Add document page image stamps. + * Add document pdf page stamps. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -27914,14 +31369,14 @@ public AsposeResponse postPageImageStamps(String name, Integer pageNumber, List< * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageImageStampsWithHttpInfo(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageImageStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, null, null); + public ApiResponse postPagePdfPageStampsWithHttpInfo(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPagePdfPageStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page image stamps. (asynchronously) + * Add document pdf page stamps. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -27932,7 +31387,7 @@ public ApiResponse postPageImageStampsWithHttpInfo(String name, * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageImageStampsAsync(String name, Integer pageNumber, List stamps, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPagePdfPageStampsAsync(String name, Integer pageNumber, List stamps, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -27953,13 +31408,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageImageStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPagePdfPageStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageInkAnnotations + * Build call for postPagePolyLineAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -27970,11 +31425,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageInkAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPagePolyLineAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/ink" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/polyline" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -28013,36 +31468,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageInkAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPagePolyLineAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageInkAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPagePolyLineAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageInkAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPagePolyLineAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageInkAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPagePolyLineAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageInkAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPagePolyLineAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page ink annotations. + * Add document page polyline annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28052,18 +31507,18 @@ private com.squareup.okhttp.Call postPageInkAnnotationsValidateBeforeCall(String * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageInkAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPagePolyLineAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageInkAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPagePolyLineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageInkAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPagePolyLineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -28071,7 +31526,7 @@ public AsposeResponse postPageInkAnnotations(String name, Integer pageNumber, Li } /** - * Add document page ink annotations. + * Add document page polyline annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28081,14 +31536,14 @@ public AsposeResponse postPageInkAnnotations(String name, Integer pageNumber, Li * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageInkAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageInkAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPagePolyLineAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPagePolyLineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page ink annotations. (asynchronously) + * Add document page polyline annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28099,7 +31554,7 @@ public ApiResponse postPageInkAnnotationsWithHttpInfo(String nam * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageInkAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPagePolyLineAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -28120,13 +31575,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageInkAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPagePolyLineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageLineAnnotations + * Build call for postPagePolygonAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -28137,11 +31592,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageLineAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPagePolygonAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/line" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/polygon" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -28180,36 +31635,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageLineAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPagePolygonAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPagePolygonAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPagePolygonAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPagePolygonAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageLineAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPagePolygonAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page line annotations. + * Add document page polygon annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28219,18 +31674,18 @@ private com.squareup.okhttp.Call postPageLineAnnotationsValidateBeforeCall(Strin * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageLineAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPagePolygonAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageLineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPagePolygonAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageLineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPagePolygonAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -28238,7 +31693,7 @@ public AsposeResponse postPageLineAnnotations(String name, Integer pageNumber, L } /** - * Add document page line annotations. + * Add document page polygon annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28248,14 +31703,14 @@ public AsposeResponse postPageLineAnnotations(String name, Integer pageNumber, L * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageLineAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageLineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPagePolygonAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPagePolygonAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page line annotations. (asynchronously) + * Add document page polygon annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28266,7 +31721,7 @@ public ApiResponse postPageLineAnnotationsWithHttpInfo(String na * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageLineAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPagePolygonAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -28287,16 +31742,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageLineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPagePolygonAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageLinkAnnotations + * Build call for postPageRedactionAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param links Array of link anotation. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -28304,11 +31759,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageLinkAnnotationsCall(String name, Integer pageNumber, List links, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = links; + public com.squareup.okhttp.Call postPageRedactionAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/links" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/redaction" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -28347,57 +31802,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageLinkAnnotationsValidateBeforeCall(String name, Integer pageNumber, List links, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageRedactionAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageLinkAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageRedactionAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageLinkAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageRedactionAnnotations(Async)"); } - // verify the required parameter 'links' is set - if (links == null) { - throw new ApiException("Missing the required parameter 'links' when calling postPageLinkAnnotations(Async)"); + // verify the required parameter 'annotations' is set + if (annotations == null) { + throw new ApiException("Missing the required parameter 'annotations' when calling postPageRedactionAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageLinkAnnotationsCall(name, pageNumber, links, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageRedactionAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page link annotations. + * Add document page redaction annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param links Array of link anotation. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageLinkAnnotations(String name, Integer pageNumber, List links, String storage, String folder) throws ApiException { + public AsposeResponse postPageRedactionAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageLinkAnnotationsWithHttpInfo(name, pageNumber, links, storage, folder); + ApiResponse resp = postPageRedactionAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageLinkAnnotationsWithHttpInfo(name, pageNumber, links, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageRedactionAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -28405,35 +31860,35 @@ public AsposeResponse postPageLinkAnnotations(String name, Integer pageNumber, L } /** - * Add document page link annotations. + * Add document page redaction annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param links Array of link anotation. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageLinkAnnotationsWithHttpInfo(String name, Integer pageNumber, List links, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageLinkAnnotationsValidateBeforeCall(name, pageNumber, links, storage, folder, null, null); + public ApiResponse postPageRedactionAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page link annotations. (asynchronously) + * Add document page redaction annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param links Array of link anotation. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageLinkAnnotationsAsync(String name, Integer pageNumber, List links, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageRedactionAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -28454,13 +31909,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageLinkAnnotationsValidateBeforeCall(name, pageNumber, links, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageMovieAnnotations + * Build call for postPageScreenAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -28471,11 +31926,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageMovieAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPageScreenAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/movie" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/screen" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -28514,36 +31969,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageMovieAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageScreenAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageMovieAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageScreenAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageMovieAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageScreenAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageMovieAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPageScreenAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageMovieAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageScreenAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page movie annotations. + * Add document page screen annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28553,18 +32008,18 @@ private com.squareup.okhttp.Call postPageMovieAnnotationsValidateBeforeCall(Stri * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageMovieAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageScreenAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageMovieAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageScreenAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageMovieAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageScreenAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -28572,7 +32027,7 @@ public AsposeResponse postPageMovieAnnotations(String name, Integer pageNumber, } /** - * Add document page movie annotations. + * Add document page screen annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28582,14 +32037,14 @@ public AsposeResponse postPageMovieAnnotations(String name, Integer pageNumber, * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageMovieAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageMovieAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageScreenAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageScreenAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page movie annotations. (asynchronously) + * Add document page screen annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28600,7 +32055,7 @@ public ApiResponse postPageMovieAnnotationsWithHttpInfo(String n * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageMovieAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageScreenAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -28621,16 +32076,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageMovieAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageScreenAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPagePdfPageStamps + * Build call for postPageSoundAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param stamps The array of stamp. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -28638,11 +32093,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPagePdfPageStampsCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = stamps; + public com.squareup.okhttp.Call postPageSoundAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps/pdfpage" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/sound" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -28681,57 +32136,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPagePdfPageStampsValidateBeforeCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageSoundAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPagePdfPageStamps(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageSoundAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPagePdfPageStamps(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageSoundAnnotations(Async)"); } - // verify the required parameter 'stamps' is set - if (stamps == null) { - throw new ApiException("Missing the required parameter 'stamps' when calling postPagePdfPageStamps(Async)"); + // verify the required parameter 'annotations' is set + if (annotations == null) { + throw new ApiException("Missing the required parameter 'annotations' when calling postPageSoundAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPagePdfPageStampsCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageSoundAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document pdf page stamps. + * Add document page sound annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param stamps The array of stamp. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPagePdfPageStamps(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { + public AsposeResponse postPageSoundAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPagePdfPageStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); + ApiResponse resp = postPageSoundAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPagePdfPageStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageSoundAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -28739,35 +32194,35 @@ public AsposeResponse postPagePdfPageStamps(String name, Integer pageNumber, Lis } /** - * Add document pdf page stamps. + * Add document page sound annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param stamps The array of stamp. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPagePdfPageStampsWithHttpInfo(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPagePdfPageStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, null, null); + public ApiResponse postPageSoundAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageSoundAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document pdf page stamps. (asynchronously) + * Add document page sound annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param stamps The array of stamp. (required) + * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPagePdfPageStampsAsync(String name, Integer pageNumber, List stamps, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageSoundAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -28788,13 +32243,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPagePdfPageStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageSoundAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPagePolyLineAnnotations + * Build call for postPageSquareAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -28805,11 +32260,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPagePolyLineAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPageSquareAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/polyline" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/square" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -28848,36 +32303,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPagePolyLineAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageSquareAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPagePolyLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageSquareAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPagePolyLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageSquareAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPagePolyLineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPageSquareAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPagePolyLineAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageSquareAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page polyline annotations. + * Add document page square annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28887,18 +32342,18 @@ private com.squareup.okhttp.Call postPagePolyLineAnnotationsValidateBeforeCall(S * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPagePolyLineAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageSquareAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPagePolyLineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageSquareAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPagePolyLineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageSquareAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -28906,7 +32361,7 @@ public AsposeResponse postPagePolyLineAnnotations(String name, Integer pageNumbe } /** - * Add document page polyline annotations. + * Add document page square annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28916,14 +32371,14 @@ public AsposeResponse postPagePolyLineAnnotations(String name, Integer pageNumbe * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPagePolyLineAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPagePolyLineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageSquareAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageSquareAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page polyline annotations. (asynchronously) + * Add document page square annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -28934,7 +32389,7 @@ public ApiResponse postPagePolyLineAnnotationsWithHttpInfo(Strin * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPagePolyLineAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageSquareAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -28955,13 +32410,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPagePolyLineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageSquareAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPagePolygonAnnotations + * Build call for postPageSquigglyAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -28972,11 +32427,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPagePolygonAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPageSquigglyAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/polygon" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/squiggly" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -29015,36 +32470,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPagePolygonAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageSquigglyAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPagePolygonAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageSquigglyAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPagePolygonAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageSquigglyAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPagePolygonAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPageSquigglyAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPagePolygonAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageSquigglyAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page polygon annotations. + * Add document page squiggly annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29054,18 +32509,18 @@ private com.squareup.okhttp.Call postPagePolygonAnnotationsValidateBeforeCall(St * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPagePolygonAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageSquigglyAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPagePolygonAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPagePolygonAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -29073,7 +32528,7 @@ public AsposeResponse postPagePolygonAnnotations(String name, Integer pageNumber } /** - * Add document page polygon annotations. + * Add document page squiggly annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29083,14 +32538,14 @@ public AsposeResponse postPagePolygonAnnotations(String name, Integer pageNumber * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPagePolygonAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPagePolygonAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageSquigglyAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page polygon annotations. (asynchronously) + * Add document page squiggly annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29101,7 +32556,7 @@ public ApiResponse postPagePolygonAnnotationsWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPagePolygonAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageSquigglyAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -29122,13 +32577,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPagePolygonAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageRedactionAnnotations + * Build call for postPageStampAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -29139,11 +32594,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageRedactionAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPageStampAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/redaction" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/stamp" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -29182,36 +32637,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageRedactionAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageStampAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageRedactionAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageStampAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageRedactionAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageStampAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageRedactionAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPageStampAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageRedactionAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageStampAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page redaction annotations. + * Add document page stamp annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29221,18 +32676,18 @@ private com.squareup.okhttp.Call postPageRedactionAnnotationsValidateBeforeCall( * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageRedactionAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageStampAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageRedactionAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageStampAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageRedactionAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageStampAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -29240,7 +32695,7 @@ public AsposeResponse postPageRedactionAnnotations(String name, Integer pageNumb } /** - * Add document page redaction annotations. + * Add document page stamp annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29250,14 +32705,14 @@ public AsposeResponse postPageRedactionAnnotations(String name, Integer pageNumb * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageRedactionAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageStampAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageStampAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page redaction annotations. (asynchronously) + * Add document page stamp annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29268,7 +32723,7 @@ public ApiResponse postPageRedactionAnnotationsWithHttpInfo(Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageRedactionAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageStampAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -29289,13 +32744,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageRedactionAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageStampAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageScreenAnnotations + * Build call for postPageStrikeOutAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -29306,11 +32761,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageScreenAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPageStrikeOutAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/screen" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/strikeout" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -29349,36 +32804,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageScreenAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageStrikeOutAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageScreenAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageStrikeOutAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageScreenAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageStrikeOutAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageScreenAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPageStrikeOutAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageScreenAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageStrikeOutAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page screen annotations. + * Add document page StrikeOut annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29388,18 +32843,18 @@ private com.squareup.okhttp.Call postPageScreenAnnotationsValidateBeforeCall(Str * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageScreenAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageStrikeOutAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageScreenAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageScreenAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -29407,7 +32862,7 @@ public AsposeResponse postPageScreenAnnotations(String name, Integer pageNumber, } /** - * Add document page screen annotations. + * Add document page StrikeOut annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29417,14 +32872,14 @@ public AsposeResponse postPageScreenAnnotations(String name, Integer pageNumber, * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageScreenAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageScreenAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageStrikeOutAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page screen annotations. (asynchronously) + * Add document page StrikeOut annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29435,7 +32890,7 @@ public ApiResponse postPageScreenAnnotationsWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageScreenAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageStrikeOutAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -29456,16 +32911,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageScreenAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageSoundAnnotations + * Build call for postPageTables * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param tables The array of table. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -29473,11 +32928,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageSoundAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotations; + public com.squareup.okhttp.Call postPageTablesCall(String name, Integer pageNumber, List tables, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = tables; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/sound" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/tables" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -29516,57 +32971,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageSoundAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageTablesValidateBeforeCall(String name, Integer pageNumber, List
tables, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageSoundAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageTables(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageSoundAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageTables(Async)"); } - // verify the required parameter 'annotations' is set - if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageSoundAnnotations(Async)"); + // verify the required parameter 'tables' is set + if (tables == null) { + throw new ApiException("Missing the required parameter 'tables' when calling postPageTables(Async)"); } - com.squareup.okhttp.Call call = postPageSoundAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageTablesCall(name, pageNumber, tables, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page sound annotations. + * Add document page tables. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param tables The array of table. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageSoundAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageTables(String name, Integer pageNumber, List
tables, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageSoundAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageTablesWithHttpInfo(name, pageNumber, tables, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageSoundAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageTablesWithHttpInfo(name, pageNumber, tables, storage, folder); return resp.getData(); } throw ex; @@ -29574,35 +33029,35 @@ public AsposeResponse postPageSoundAnnotations(String name, Integer pageNumber, } /** - * Add document page sound annotations. + * Add document page tables. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param tables The array of table. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageSoundAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageSoundAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageTablesWithHttpInfo(String name, Integer pageNumber, List
tables, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageTablesValidateBeforeCall(name, pageNumber, tables, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page sound annotations. (asynchronously) + * Add document page tables. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param tables The array of table. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageSoundAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageTablesAsync(String name, Integer pageNumber, List
tables, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -29623,13 +33078,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageSoundAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageTablesValidateBeforeCall(name, pageNumber, tables, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageSquareAnnotations + * Build call for postPageTextAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -29640,11 +33095,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageSquareAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPageTextAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/square" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/text" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -29683,36 +33138,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageSquareAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageTextAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageSquareAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageTextAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageSquareAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageTextAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageSquareAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPageTextAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageSquareAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageTextAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page square annotations. + * Add document page text annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29722,18 +33177,18 @@ private com.squareup.okhttp.Call postPageSquareAnnotationsValidateBeforeCall(Str * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageSquareAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageTextAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageSquareAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageTextAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageSquareAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageTextAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -29741,7 +33196,7 @@ public AsposeResponse postPageSquareAnnotations(String name, Integer pageNumber, } /** - * Add document page square annotations. + * Add document page text annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29751,14 +33206,14 @@ public AsposeResponse postPageSquareAnnotations(String name, Integer pageNumber, * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageSquareAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageSquareAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageTextAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageTextAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page square annotations. (asynchronously) + * Add document page text annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -29769,7 +33224,7 @@ public ApiResponse postPageSquareAnnotationsWithHttpInfo(String * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageSquareAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageTextAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -29790,28 +33245,28 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageSquareAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageTextAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageSquigglyAnnotations - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * Build call for postPageTextReplace + * @param name (required) + * @param pageNumber (required) + * @param textReplaceListRequest (required) + * @param storage (optional) + * @param folder (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageSquigglyAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotations; + public com.squareup.okhttp.Call postPageTextReplaceCall(String name, Integer pageNumber, TextReplaceListRequest textReplaceListRequest, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = textReplaceListRequest; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/squiggly" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/text/replace" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -29850,57 +33305,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageSquigglyAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageTextReplaceValidateBeforeCall(String name, Integer pageNumber, TextReplaceListRequest textReplaceListRequest, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageSquigglyAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageTextReplace(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageSquigglyAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageTextReplace(Async)"); } - // verify the required parameter 'annotations' is set - if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageSquigglyAnnotations(Async)"); + // verify the required parameter 'textReplaceListRequest' is set + if (textReplaceListRequest == null) { + throw new ApiException("Missing the required parameter 'textReplaceListRequest' when calling postPageTextReplace(Async)"); } - com.squareup.okhttp.Call call = postPageSquigglyAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageTextReplaceCall(name, pageNumber, textReplaceListRequest, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page squiggly annotations. + * Page's replace text method. * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return AsposeResponse + * @param name (required) + * @param pageNumber (required) + * @param textReplaceListRequest (required) + * @param storage (optional) + * @param folder (optional) + * @return TextReplaceResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageSquigglyAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public TextReplaceResponse postPageTextReplace(String name, Integer pageNumber, TextReplaceListRequest textReplaceListRequest, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageTextReplaceWithHttpInfo(name, pageNumber, textReplaceListRequest, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageSquigglyAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageTextReplaceWithHttpInfo(name, pageNumber, textReplaceListRequest, storage, folder); return resp.getData(); } throw ex; @@ -29908,35 +33363,35 @@ public AsposeResponse postPageSquigglyAnnotations(String name, Integer pageNumbe } /** - * Add document page squiggly annotations. + * Page's replace text method. * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @param name (required) + * @param pageNumber (required) + * @param textReplaceListRequest (required) + * @param storage (optional) + * @param folder (optional) + * @return ApiResponse<TextReplaceResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageSquigglyAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postPageTextReplaceWithHttpInfo(String name, Integer pageNumber, TextReplaceListRequest textReplaceListRequest, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageTextReplaceValidateBeforeCall(name, pageNumber, textReplaceListRequest, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page squiggly annotations. (asynchronously) + * Page's replace text method. (asynchronously) * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) - * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param name (required) + * @param pageNumber (required) + * @param textReplaceListRequest (required) + * @param storage (optional) + * @param folder (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageSquigglyAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageTextReplaceAsync(String name, Integer pageNumber, TextReplaceListRequest textReplaceListRequest, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -29957,16 +33412,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageSquigglyAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postPageTextReplaceValidateBeforeCall(name, pageNumber, textReplaceListRequest, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageStampAnnotations + * Build call for postPageTextStamps * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param stamps The array of stamp. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -29974,11 +33429,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageStampAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotations; + public com.squareup.okhttp.Call postPageTextStampsCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = stamps; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/stamp" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps/text" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -30017,57 +33472,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageStampAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageTextStampsValidateBeforeCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageStampAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageTextStamps(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageStampAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageTextStamps(Async)"); } - // verify the required parameter 'annotations' is set - if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageStampAnnotations(Async)"); + // verify the required parameter 'stamps' is set + if (stamps == null) { + throw new ApiException("Missing the required parameter 'stamps' when calling postPageTextStamps(Async)"); } - com.squareup.okhttp.Call call = postPageStampAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageTextStampsCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page stamp annotations. + * Add document page text stamps. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param stamps The array of stamp. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageStampAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageTextStamps(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageStampAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageTextStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageStampAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageTextStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); return resp.getData(); } throw ex; @@ -30075,35 +33530,35 @@ public AsposeResponse postPageStampAnnotations(String name, Integer pageNumber, } /** - * Add document page stamp annotations. + * Add document page text stamps. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param stamps The array of stamp. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageStampAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageStampAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageTextStampsWithHttpInfo(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageTextStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page stamp annotations. (asynchronously) + * Add document page text stamps. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param stamps The array of stamp. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageStampAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageTextStampsAsync(String name, Integer pageNumber, List stamps, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -30124,13 +33579,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageStampAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageTextStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageStrikeOutAnnotations + * Build call for postPageUnderlineAnnotations * @param name The document name. (required) * @param pageNumber The page number. (required) * @param annotations The array of annotation. (required) @@ -30141,11 +33596,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageStrikeOutAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call postPageUnderlineAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotations; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/strikeout" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/underline" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -30184,36 +33639,36 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageStrikeOutAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPageUnderlineAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageStrikeOutAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPageUnderlineAnnotations(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageStrikeOutAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageUnderlineAnnotations(Async)"); } // verify the required parameter 'annotations' is set if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageStrikeOutAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'annotations' when calling postPageUnderlineAnnotations(Async)"); } - com.squareup.okhttp.Call call = postPageStrikeOutAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageUnderlineAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page StrikeOut annotations. + * Add document page underline annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -30223,18 +33678,18 @@ private com.squareup.okhttp.Call postPageStrikeOutAnnotationsValidateBeforeCall( * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageStrikeOutAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postPageUnderlineAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postPageUnderlineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageStrikeOutAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPageUnderlineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); return resp.getData(); } throw ex; @@ -30242,7 +33697,7 @@ public AsposeResponse postPageStrikeOutAnnotations(String name, Integer pageNumb } /** - * Add document page StrikeOut annotations. + * Add document page underline annotations. * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -30252,14 +33707,14 @@ public AsposeResponse postPageStrikeOutAnnotations(String name, Integer pageNumb * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageStrikeOutAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postPageUnderlineAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPageUnderlineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page StrikeOut annotations. (asynchronously) + * Add document page underline annotations. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) @@ -30270,7 +33725,7 @@ public ApiResponse postPageStrikeOutAnnotationsWithHttpInfo(Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageStrikeOutAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPageUnderlineAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -30291,16 +33746,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageStrikeOutAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPageUnderlineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageTables + * Build call for postPopupAnnotation * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param tables The array of table. (required) + * @param annotationId The parent annotation ID. (required) + * @param annotation The annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -30308,13 +33763,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageTablesCall(String name, Integer pageNumber, List
tables, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = tables; + public com.squareup.okhttp.Call postPopupAnnotationCall(String name, String annotationId, PopupAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotation; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/tables" + String localVarPath = "/pdf/{name}/annotations/{annotationId}/popup" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -30351,57 +33806,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageTablesValidateBeforeCall(String name, Integer pageNumber, List
tables, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postPopupAnnotationValidateBeforeCall(String name, String annotationId, PopupAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageTables(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postPopupAnnotation(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageTables(Async)"); + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling postPopupAnnotation(Async)"); } - // verify the required parameter 'tables' is set - if (tables == null) { - throw new ApiException("Missing the required parameter 'tables' when calling postPageTables(Async)"); + // verify the required parameter 'annotation' is set + if (annotation == null) { + throw new ApiException("Missing the required parameter 'annotation' when calling postPopupAnnotation(Async)"); } - com.squareup.okhttp.Call call = postPageTablesCall(name, pageNumber, tables, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPopupAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page tables. + * Add document popup annotations. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param tables The array of table. (required) + * @param annotationId The parent annotation ID. (required) + * @param annotation The annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageTables(String name, Integer pageNumber, List
tables, String storage, String folder) throws ApiException { + public AsposeResponse postPopupAnnotation(String name, String annotationId, PopupAnnotation annotation, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageTablesWithHttpInfo(name, pageNumber, tables, storage, folder); + ApiResponse resp = postPopupAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageTablesWithHttpInfo(name, pageNumber, tables, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postPopupAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } throw ex; @@ -30409,35 +33864,35 @@ public AsposeResponse postPageTables(String name, Integer pageNumber, List
postPageTablesWithHttpInfo(String name, Integer pageNumber, List
tables, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageTablesValidateBeforeCall(name, pageNumber, tables, storage, folder, null, null); + public ApiResponse postPopupAnnotationWithHttpInfo(String name, String annotationId, PopupAnnotation annotation, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postPopupAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page tables. (asynchronously) + * Add document popup annotations. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param tables The array of table. (required) + * @param annotationId The parent annotation ID. (required) + * @param annotation The annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageTablesAsync(String name, Integer pageNumber, List
tables, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postPopupAnnotationAsync(String name, String annotationId, PopupAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -30458,16 +33913,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageTablesValidateBeforeCall(name, pageNumber, tables, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postPopupAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageTextAnnotations + * Build call for postSignDocument * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param sign Signature object containing signature data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -30475,13 +33929,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageTextAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotations; + public com.squareup.okhttp.Call postSignDocumentCall(String name, Signature sign, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = sign; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/text" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/{name}/sign" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -30518,57 +33971,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageTextAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postSignDocumentValidateBeforeCall(String name, Signature sign, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageTextAnnotations(Async)"); - } - - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageTextAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postSignDocument(Async)"); } - // verify the required parameter 'annotations' is set - if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageTextAnnotations(Async)"); + // verify the required parameter 'sign' is set + if (sign == null) { + throw new ApiException("Missing the required parameter 'sign' when calling postSignDocument(Async)"); } - com.squareup.okhttp.Call call = postPageTextAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postSignDocumentCall(name, sign, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page text annotations. + * Sign document. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param sign Signature object containing signature data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageTextAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public AsposeResponse postSignDocument(String name, Signature sign, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageTextAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = postSignDocumentWithHttpInfo(name, sign, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageTextAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postSignDocumentWithHttpInfo(name, sign, storage, folder); return resp.getData(); } throw ex; @@ -30576,35 +34023,33 @@ public AsposeResponse postPageTextAnnotations(String name, Integer pageNumber, L } /** - * Add document page text annotations. + * Sign document. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param sign Signature object containing signature data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageTextAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageTextAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); + public ApiResponse postSignDocumentWithHttpInfo(String name, Signature sign, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postSignDocumentValidateBeforeCall(name, sign, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page text annotations. (asynchronously) + * Sign document. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) + * @param sign Signature object containing signature data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageTextAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postSignDocumentAsync(String name, Signature sign, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -30625,28 +34070,28 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageTextAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postSignDocumentValidateBeforeCall(name, sign, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageTextReplace - * @param name (required) - * @param pageNumber (required) - * @param textReplaceListRequest (required) - * @param storage (optional) - * @param folder (optional) + * Build call for postSignPage + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param sign Signature object containing signature data. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageTextReplaceCall(String name, Integer pageNumber, TextReplaceListRequest textReplaceListRequest, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = textReplaceListRequest; + public com.squareup.okhttp.Call postSignPageCall(String name, Integer pageNumber, Signature sign, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = sign; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/text/replace" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/sign" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -30685,57 +34130,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageTextReplaceValidateBeforeCall(String name, Integer pageNumber, TextReplaceListRequest textReplaceListRequest, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postSignPageValidateBeforeCall(String name, Integer pageNumber, Signature sign, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageTextReplace(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postSignPage(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageTextReplace(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling postSignPage(Async)"); } - // verify the required parameter 'textReplaceListRequest' is set - if (textReplaceListRequest == null) { - throw new ApiException("Missing the required parameter 'textReplaceListRequest' when calling postPageTextReplace(Async)"); + // verify the required parameter 'sign' is set + if (sign == null) { + throw new ApiException("Missing the required parameter 'sign' when calling postSignPage(Async)"); } - com.squareup.okhttp.Call call = postPageTextReplaceCall(name, pageNumber, textReplaceListRequest, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postSignPageCall(name, pageNumber, sign, storage, folder, progressListener, progressRequestListener); return call; } /** - * Page's replace text method. + * Sign page. * - * @param name (required) - * @param pageNumber (required) - * @param textReplaceListRequest (required) - * @param storage (optional) - * @param folder (optional) - * @return TextReplaceResponse + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param sign Signature object containing signature data. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public TextReplaceResponse postPageTextReplace(String name, Integer pageNumber, TextReplaceListRequest textReplaceListRequest, String storage, String folder) throws ApiException { + public AsposeResponse postSignPage(String name, Integer pageNumber, Signature sign, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageTextReplaceWithHttpInfo(name, pageNumber, textReplaceListRequest, storage, folder); + ApiResponse resp = postSignPageWithHttpInfo(name, pageNumber, sign, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageTextReplaceWithHttpInfo(name, pageNumber, textReplaceListRequest, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postSignPageWithHttpInfo(name, pageNumber, sign, storage, folder); return resp.getData(); } throw ex; @@ -30743,35 +34188,35 @@ public TextReplaceResponse postPageTextReplace(String name, Integer pageNumber, } /** - * Page's replace text method. + * Sign page. * - * @param name (required) - * @param pageNumber (required) - * @param textReplaceListRequest (required) - * @param storage (optional) - * @param folder (optional) - * @return ApiResponse<TextReplaceResponse> + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param sign Signature object containing signature data. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageTextReplaceWithHttpInfo(String name, Integer pageNumber, TextReplaceListRequest textReplaceListRequest, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageTextReplaceValidateBeforeCall(name, pageNumber, textReplaceListRequest, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postSignPageWithHttpInfo(String name, Integer pageNumber, Signature sign, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postSignPageValidateBeforeCall(name, pageNumber, sign, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Page's replace text method. (asynchronously) + * Sign page. (asynchronously) * - * @param name (required) - * @param pageNumber (required) - * @param textReplaceListRequest (required) - * @param storage (optional) - * @param folder (optional) + * @param name The document name. (required) + * @param pageNumber The page number. (required) + * @param sign Signature object containing signature data. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageTextReplaceAsync(String name, Integer pageNumber, TextReplaceListRequest textReplaceListRequest, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postSignPageAsync(String name, Integer pageNumber, Signature sign, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -30792,16 +34237,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageTextReplaceValidateBeforeCall(name, pageNumber, textReplaceListRequest, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postSignPageValidateBeforeCall(name, pageNumber, sign, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageTextStamps - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param stamps The array of stamp. (required) + * Build call for postSplitDocument + * @param name Document name. (required) + * @param format Resulting documents format. (optional) + * @param from Start page if defined. (optional) + * @param to End page if defined. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -30809,16 +34255,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageTextStampsCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = stamps; + public com.squareup.okhttp.Call postSplitDocumentCall(String name, String format, Integer from, Integer to, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/stamps/text" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/{name}/split" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (format != null) + localVarQueryParams.addAll(apiClient.parameterToPair("format", format)); + if (from != null) + localVarQueryParams.addAll(apiClient.parameterToPair("from", from)); + if (to != null) + localVarQueryParams.addAll(apiClient.parameterToPair("to", to)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -30852,57 +34303,48 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageTextStampsValidateBeforeCall(String name, Integer pageNumber, List stamps, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call postSplitDocumentValidateBeforeCall(String name, String format, Integer from, Integer to, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageTextStamps(Async)"); - } - - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageTextStamps(Async)"); - } - - // verify the required parameter 'stamps' is set - if (stamps == null) { - throw new ApiException("Missing the required parameter 'stamps' when calling postPageTextStamps(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling postSplitDocument(Async)"); } - com.squareup.okhttp.Call call = postPageTextStampsCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = postSplitDocumentCall(name, format, from, to, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page text stamps. + * Split document to parts. * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param stamps The array of stamp. (required) + * @param name Document name. (required) + * @param format Resulting documents format. (optional) + * @param from Start page if defined. (optional) + * @param to End page if defined. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return AsposeResponse + * @return SplitResultResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageTextStamps(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { + public SplitResultResponse postSplitDocument(String name, String format, Integer from, Integer to, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageTextStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); + ApiResponse resp = postSplitDocumentWithHttpInfo(name, format, from, to, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageTextStampsWithHttpInfo(name, pageNumber, stamps, storage, folder); + apiClient.requestToken(); + ApiResponse resp = postSplitDocumentWithHttpInfo(name, format, from, to, storage, folder); return resp.getData(); } throw ex; @@ -30910,35 +34352,37 @@ public AsposeResponse postPageTextStamps(String name, Integer pageNumber, List postPageTextStampsWithHttpInfo(String name, Integer pageNumber, List stamps, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageTextStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse postSplitDocumentWithHttpInfo(String name, String format, Integer from, Integer to, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = postSplitDocumentValidateBeforeCall(name, format, from, to, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page text stamps. (asynchronously) + * Split document to parts. (asynchronously) * - * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param stamps The array of stamp. (required) + * @param name Document name. (required) + * @param format Resulting documents format. (optional) + * @param from Start page if defined. (optional) + * @param to End page if defined. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageTextStampsAsync(String name, Integer pageNumber, List stamps, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call postSplitDocumentAsync(String name, String format, Integer from, Integer to, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -30959,16 +34403,14 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageTextStampsValidateBeforeCall(name, pageNumber, stamps, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = postSplitDocumentValidateBeforeCall(name, format, from, to, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPageUnderlineAnnotations + * Build call for putAddNewPage * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -30976,13 +34418,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPageUnderlineAnnotationsCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotations; + public com.squareup.okhttp.Call putAddNewPageCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/annotations/underline" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/{name}/pages" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -31019,57 +34460,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPageUnderlineAnnotationsValidateBeforeCall(String name, Integer pageNumber, List annotations, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putAddNewPageValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPageUnderlineAnnotations(Async)"); - } - - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postPageUnderlineAnnotations(Async)"); - } - - // verify the required parameter 'annotations' is set - if (annotations == null) { - throw new ApiException("Missing the required parameter 'annotations' when calling postPageUnderlineAnnotations(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putAddNewPage(Async)"); } - com.squareup.okhttp.Call call = postPageUnderlineAnnotationsCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putAddNewPageCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add document page underline annotations. + * Add new page to end of the document. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return AsposeResponse + * @return DocumentPagesResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPageUnderlineAnnotations(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { + public DocumentPagesResponse putAddNewPage(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = postPageUnderlineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + ApiResponse resp = putAddNewPageWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPageUnderlineAnnotationsWithHttpInfo(name, pageNumber, annotations, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putAddNewPageWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -31077,35 +34506,31 @@ public AsposeResponse postPageUnderlineAnnotations(String name, Integer pageNumb } /** - * Add document page underline annotations. + * Add new page to end of the document. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @return ApiResponse<DocumentPagesResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPageUnderlineAnnotationsWithHttpInfo(String name, Integer pageNumber, List annotations, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPageUnderlineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putAddNewPageWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putAddNewPageValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document page underline annotations. (asynchronously) + * Add new page to end of the document. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param annotations The array of annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPageUnderlineAnnotationsAsync(String name, Integer pageNumber, List annotations, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putAddNewPageAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31126,37 +34551,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPageUnderlineAnnotationsValidateBeforeCall(name, pageNumber, annotations, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putAddNewPageValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postPopupAnnotation + * Build call for putAddText * @param name The document name. (required) - * @param annotationId The parent annotation ID. (required) - * @param annotation The annotation. (required) + * @param pageNumber Number of page (starting from 1). (required) + * @param paragraph Paragraph data. (required) + * @param folder Document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postPopupAnnotationCall(String name, String annotationId, PopupAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotation; + public com.squareup.okhttp.Call putAddTextCall(String name, Integer pageNumber, Paragraph paragraph, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = paragraph; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/{annotationId}/popup" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/text" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); @@ -31186,57 +34611,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postPopupAnnotationValidateBeforeCall(String name, String annotationId, PopupAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putAddTextValidateBeforeCall(String name, Integer pageNumber, Paragraph paragraph, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postPopupAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putAddText(Async)"); } - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling postPopupAnnotation(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling putAddText(Async)"); } - // verify the required parameter 'annotation' is set - if (annotation == null) { - throw new ApiException("Missing the required parameter 'annotation' when calling postPopupAnnotation(Async)"); + // verify the required parameter 'paragraph' is set + if (paragraph == null) { + throw new ApiException("Missing the required parameter 'paragraph' when calling putAddText(Async)"); } - com.squareup.okhttp.Call call = postPopupAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putAddTextCall(name, pageNumber, paragraph, folder, storage, progressListener, progressRequestListener); return call; } /** - * Add document popup annotations. + * Add text to PDF document page. * * @param name The document name. (required) - * @param annotationId The parent annotation ID. (required) - * @param annotation The annotation. (required) + * @param pageNumber Number of page (starting from 1). (required) + * @param paragraph Paragraph data. (required) + * @param folder Document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postPopupAnnotation(String name, String annotationId, PopupAnnotation annotation, String storage, String folder) throws ApiException { + public AsposeResponse putAddText(String name, Integer pageNumber, Paragraph paragraph, String folder, String storage) throws ApiException { try { - ApiResponse resp = postPopupAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + ApiResponse resp = putAddTextWithHttpInfo(name, pageNumber, paragraph, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postPopupAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putAddTextWithHttpInfo(name, pageNumber, paragraph, folder, storage); return resp.getData(); } throw ex; @@ -31244,35 +34669,35 @@ public AsposeResponse postPopupAnnotation(String name, String annotationId, Popu } /** - * Add document popup annotations. + * Add text to PDF document page. * * @param name The document name. (required) - * @param annotationId The parent annotation ID. (required) - * @param annotation The annotation. (required) + * @param pageNumber Number of page (starting from 1). (required) + * @param paragraph Paragraph data. (required) + * @param folder Document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postPopupAnnotationWithHttpInfo(String name, String annotationId, PopupAnnotation annotation, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postPopupAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); + public ApiResponse putAddTextWithHttpInfo(String name, Integer pageNumber, Paragraph paragraph, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = putAddTextValidateBeforeCall(name, pageNumber, paragraph, folder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add document popup annotations. (asynchronously) + * Add text to PDF document page. (asynchronously) * * @param name The document name. (required) - * @param annotationId The parent annotation ID. (required) - * @param annotation The annotation. (required) + * @param pageNumber Number of page (starting from 1). (required) + * @param paragraph Paragraph data. (required) + * @param folder Document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postPopupAnnotationAsync(String name, String annotationId, PopupAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putAddTextAsync(String name, Integer pageNumber, Paragraph paragraph, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31293,15 +34718,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postPopupAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putAddTextValidateBeforeCall(name, pageNumber, paragraph, folder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postSignDocument + * Build call for putAnnotationsFlatten * @param name The document name. (required) - * @param signature Signature object containing signature data. (optional) + * @param startPage The start page number. (optional) + * @param endPage The end page number. (optional) + * @param annotationTypes Array of annotation types. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -31309,15 +34736,21 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postSignDocumentCall(String name, Signature signature, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = signature; + public com.squareup.okhttp.Call putAnnotationsFlattenCall(String name, Integer startPage, Integer endPage, List annotationTypes, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/sign" + String localVarPath = "/pdf/{name}/annotations/flatten" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (startPage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("startPage", startPage)); + if (endPage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("endPage", endPage)); + if (annotationTypes != null) + localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("csv", "annotationTypes", annotationTypes)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -31351,46 +34784,48 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postSignDocumentValidateBeforeCall(String name, Signature signature, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putAnnotationsFlattenValidateBeforeCall(String name, Integer startPage, Integer endPage, List annotationTypes, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postSignDocument(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putAnnotationsFlatten(Async)"); } - com.squareup.okhttp.Call call = postSignDocumentCall(name, signature, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putAnnotationsFlattenCall(name, startPage, endPage, annotationTypes, storage, folder, progressListener, progressRequestListener); return call; } /** - * Sign document. + * Flattens the annotations of the specified types * * @param name The document name. (required) - * @param signature Signature object containing signature data. (optional) + * @param startPage The start page number. (optional) + * @param endPage The end page number. (optional) + * @param annotationTypes Array of annotation types. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postSignDocument(String name, Signature signature, String storage, String folder) throws ApiException { + public AsposeResponse putAnnotationsFlatten(String name, Integer startPage, Integer endPage, List annotationTypes, String storage, String folder) throws ApiException { try { - ApiResponse resp = postSignDocumentWithHttpInfo(name, signature, storage, folder); + ApiResponse resp = putAnnotationsFlattenWithHttpInfo(name, startPage, endPage, annotationTypes, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postSignDocumentWithHttpInfo(name, signature, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putAnnotationsFlattenWithHttpInfo(name, startPage, endPage, annotationTypes, storage, folder); return resp.getData(); } throw ex; @@ -31398,33 +34833,37 @@ public AsposeResponse postSignDocument(String name, Signature signature, String } /** - * Sign document. + * Flattens the annotations of the specified types * * @param name The document name. (required) - * @param signature Signature object containing signature data. (optional) + * @param startPage The start page number. (optional) + * @param endPage The end page number. (optional) + * @param annotationTypes Array of annotation types. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postSignDocumentWithHttpInfo(String name, Signature signature, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postSignDocumentValidateBeforeCall(name, signature, storage, folder, null, null); + public ApiResponse putAnnotationsFlattenWithHttpInfo(String name, Integer startPage, Integer endPage, List annotationTypes, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putAnnotationsFlattenValidateBeforeCall(name, startPage, endPage, annotationTypes, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Sign document. (asynchronously) + * Flattens the annotations of the specified types (asynchronously) * * @param name The document name. (required) - * @param signature Signature object containing signature data. (optional) + * @param startPage The start page number. (optional) + * @param endPage The end page number. (optional) + * @param annotationTypes Array of annotation types. (optional) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postSignDocumentAsync(String name, Signature signature, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putAnnotationsFlattenAsync(String name, Integer startPage, Integer endPage, List annotationTypes, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31445,37 +34884,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postSignDocumentValidateBeforeCall(name, signature, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putAnnotationsFlattenValidateBeforeCall(name, startPage, endPage, annotationTypes, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postSignPage + * Build call for putBookmark * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param signature Signature object containing signature data. (optional) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) + * @param bookmark The bookmark. (required) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postSignPageCall(String name, Integer pageNumber, Signature signature, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = signature; + public com.squareup.okhttp.Call putBookmarkCall(String name, String bookmarkPath, Bookmark bookmark, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = bookmark; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/sign" + String localVarPath = "/pdf/{name}/bookmarks/bookmark/{bookmarkPath}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "bookmarkPath" + "\\}", apiClient.escapeString(bookmarkPath.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); @@ -31505,52 +34944,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postSignPageValidateBeforeCall(String name, Integer pageNumber, Signature signature, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putBookmarkValidateBeforeCall(String name, String bookmarkPath, Bookmark bookmark, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postSignPage(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putBookmark(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling postSignPage(Async)"); + // verify the required parameter 'bookmarkPath' is set + if (bookmarkPath == null) { + throw new ApiException("Missing the required parameter 'bookmarkPath' when calling putBookmark(Async)"); + } + + // verify the required parameter 'bookmark' is set + if (bookmark == null) { + throw new ApiException("Missing the required parameter 'bookmark' when calling putBookmark(Async)"); } - com.squareup.okhttp.Call call = postSignPageCall(name, pageNumber, signature, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putBookmarkCall(name, bookmarkPath, bookmark, folder, storage, progressListener, progressRequestListener); return call; } /** - * Sign page. + * Update document bookmark. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param signature Signature object containing signature data. (optional) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) + * @param bookmark The bookmark. (required) * @param folder The document folder. (optional) - * @return AsposeResponse + * @param storage The document storage. (optional) + * @return BookmarkResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse postSignPage(String name, Integer pageNumber, Signature signature, String storage, String folder) throws ApiException { + public BookmarkResponse putBookmark(String name, String bookmarkPath, Bookmark bookmark, String folder, String storage) throws ApiException { try { - ApiResponse resp = postSignPageWithHttpInfo(name, pageNumber, signature, storage, folder); + ApiResponse resp = putBookmarkWithHttpInfo(name, bookmarkPath, bookmark, folder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postSignPageWithHttpInfo(name, pageNumber, signature, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putBookmarkWithHttpInfo(name, bookmarkPath, bookmark, folder, storage); return resp.getData(); } throw ex; @@ -31558,35 +35002,35 @@ public AsposeResponse postSignPage(String name, Integer pageNumber, Signature si } /** - * Sign page. + * Update document bookmark. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param signature Signature object containing signature data. (optional) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) + * @param bookmark The bookmark. (required) * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @param storage The document storage. (optional) + * @return ApiResponse<BookmarkResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postSignPageWithHttpInfo(String name, Integer pageNumber, Signature signature, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postSignPageValidateBeforeCall(name, pageNumber, signature, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putBookmarkWithHttpInfo(String name, String bookmarkPath, Bookmark bookmark, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = putBookmarkValidateBeforeCall(name, bookmarkPath, bookmark, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Sign page. (asynchronously) + * Update document bookmark. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param signature Signature object containing signature data. (optional) - * @param storage The document storage. (optional) + * @param bookmarkPath The bookmark path. (required) + * @param bookmark The bookmark. (required) * @param folder The document folder. (optional) + * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postSignPageAsync(String name, Integer pageNumber, Signature signature, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putBookmarkAsync(String name, String bookmarkPath, Bookmark bookmark, String folder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31607,17 +35051,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postSignPageValidateBeforeCall(name, pageNumber, signature, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putBookmarkValidateBeforeCall(name, bookmarkPath, bookmark, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for postSplitDocument - * @param name Document name. (required) - * @param format Resulting documents format. (optional) - * @param from Start page if defined. (optional) - * @param to End page if defined. (optional) + * Build call for putCaretAnnotation + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -31625,21 +35068,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call postSplitDocumentCall(String name, String format, Integer from, Integer to, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call putCaretAnnotationCall(String name, String annotationId, CaretAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotation; // create path and map variables - String localVarPath = "/pdf/{name}/split" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/caret/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (format != null) - localVarQueryParams.addAll(apiClient.parameterToPair("format", format)); - if (from != null) - localVarQueryParams.addAll(apiClient.parameterToPair("from", from)); - if (to != null) - localVarQueryParams.addAll(apiClient.parameterToPair("to", to)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -31673,48 +35111,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call postSplitDocumentValidateBeforeCall(String name, String format, Integer from, Integer to, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putCaretAnnotationValidateBeforeCall(String name, String annotationId, CaretAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling postSplitDocument(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putCaretAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling putCaretAnnotation(Async)"); + } + + // verify the required parameter 'annotation' is set + if (annotation == null) { + throw new ApiException("Missing the required parameter 'annotation' when calling putCaretAnnotation(Async)"); } - com.squareup.okhttp.Call call = postSplitDocumentCall(name, format, from, to, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putCaretAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); return call; } /** - * Split document to parts. + * Replace document caret annotation * - * @param name Document name. (required) - * @param format Resulting documents format. (optional) - * @param from Start page if defined. (optional) - * @param to End page if defined. (optional) + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return SplitResultResponse + * @return CaretAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public SplitResultResponse postSplitDocument(String name, String format, Integer from, Integer to, String storage, String folder) throws ApiException { + public CaretAnnotationResponse putCaretAnnotation(String name, String annotationId, CaretAnnotation annotation, String storage, String folder) throws ApiException { try { - ApiResponse resp = postSplitDocumentWithHttpInfo(name, format, from, to, storage, folder); + ApiResponse resp = putCaretAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = postSplitDocumentWithHttpInfo(name, format, from, to, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putCaretAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } throw ex; @@ -31722,37 +35169,35 @@ public SplitResultResponse postSplitDocument(String name, String format, Integer } /** - * Split document to parts. + * Replace document caret annotation * - * @param name Document name. (required) - * @param format Resulting documents format. (optional) - * @param from Start page if defined. (optional) - * @param to End page if defined. (optional) + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<SplitResultResponse> + * @return ApiResponse<CaretAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse postSplitDocumentWithHttpInfo(String name, String format, Integer from, Integer to, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = postSplitDocumentValidateBeforeCall(name, format, from, to, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putCaretAnnotationWithHttpInfo(String name, String annotationId, CaretAnnotation annotation, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putCaretAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Split document to parts. (asynchronously) + * Replace document caret annotation (asynchronously) * - * @param name Document name. (required) - * @param format Resulting documents format. (optional) - * @param from Start page if defined. (optional) - * @param to End page if defined. (optional) + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call postSplitDocumentAsync(String name, String format, Integer from, Integer to, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putCaretAnnotationAsync(String name, String annotationId, CaretAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31773,34 +35218,42 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = postSplitDocumentValidateBeforeCall(name, format, from, to, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putCaretAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putAddNewPage - * @param name The document name. (required) + * Build call for putChangePasswordDocument + * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param newUserPassword New user password (encrypted Base64). (required) + * @param newOwnerPassword New owner password (encrypted Base64). (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param file A file to be changed password. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putAddNewPageCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call putChangePasswordDocumentCall(String outPath, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = file; // create path and map variables - String localVarPath = "/pdf/{name}/pages" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/changepassword"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (outPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("outPath", outPath)); + if (ownerPassword != null) + localVarQueryParams.addAll(apiClient.parameterToPair("ownerPassword", ownerPassword)); + if (newUserPassword != null) + localVarQueryParams.addAll(apiClient.parameterToPair("newUserPassword", newUserPassword)); + if (newOwnerPassword != null) + localVarQueryParams.addAll(apiClient.parameterToPair("newOwnerPassword", newOwnerPassword)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -31830,45 +35283,63 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putAddNewPageValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putChangePasswordDocumentValidateBeforeCall(String outPath, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putAddNewPage(Async)"); + // verify the required parameter 'outPath' is set + if (outPath == null) { + throw new ApiException("Missing the required parameter 'outPath' when calling putChangePasswordDocument(Async)"); + } + + // verify the required parameter 'ownerPassword' is set + if (ownerPassword == null) { + throw new ApiException("Missing the required parameter 'ownerPassword' when calling putChangePasswordDocument(Async)"); + } + + // verify the required parameter 'newUserPassword' is set + if (newUserPassword == null) { + throw new ApiException("Missing the required parameter 'newUserPassword' when calling putChangePasswordDocument(Async)"); + } + + // verify the required parameter 'newOwnerPassword' is set + if (newOwnerPassword == null) { + throw new ApiException("Missing the required parameter 'newOwnerPassword' when calling putChangePasswordDocument(Async)"); } - com.squareup.okhttp.Call call = putAddNewPageCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putChangePasswordDocumentCall(outPath, ownerPassword, newUserPassword, newOwnerPassword, storage, file, progressListener, progressRequestListener); return call; } /** - * Add new page to end of the document. + * Change document password from content. * - * @param name The document name. (required) + * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param newUserPassword New user password (encrypted Base64). (required) + * @param newOwnerPassword New owner password (encrypted Base64). (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return DocumentPagesResponse + * @param file A file to be changed password. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public DocumentPagesResponse putAddNewPage(String name, String storage, String folder) throws ApiException { + public AsposeResponse putChangePasswordDocument(String outPath, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, File file) throws ApiException { try { - ApiResponse resp = putAddNewPageWithHttpInfo(name, storage, folder); + ApiResponse resp = putChangePasswordDocumentWithHttpInfo(outPath, ownerPassword, newUserPassword, newOwnerPassword, storage, file); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putAddNewPageWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putChangePasswordDocumentWithHttpInfo(outPath, ownerPassword, newUserPassword, newOwnerPassword, storage, file); return resp.getData(); } throw ex; @@ -31876,31 +35347,37 @@ public DocumentPagesResponse putAddNewPage(String name, String storage, String f } /** - * Add new page to end of the document. + * Change document password from content. * - * @param name The document name. (required) + * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param newUserPassword New user password (encrypted Base64). (required) + * @param newOwnerPassword New owner password (encrypted Base64). (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<DocumentPagesResponse> + * @param file A file to be changed password. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putAddNewPageWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = putAddNewPageValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putChangePasswordDocumentWithHttpInfo(String outPath, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, File file) throws ApiException { + com.squareup.okhttp.Call call = putChangePasswordDocumentValidateBeforeCall(outPath, ownerPassword, newUserPassword, newOwnerPassword, storage, file, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add new page to end of the document. (asynchronously) + * Change document password from content. (asynchronously) * - * @param name The document name. (required) + * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param ownerPassword Owner password (encrypted Base64). (required) + * @param newUserPassword New user password (encrypted Base64). (required) + * @param newOwnerPassword New owner password (encrypted Base64). (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param file A file to be changed password. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putAddNewPageAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putChangePasswordDocumentAsync(String outPath, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, File file, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -31921,37 +35398,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putAddNewPageValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putChangePasswordDocumentValidateBeforeCall(outPath, ownerPassword, newUserPassword, newOwnerPassword, storage, file, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putAddText + * Build call for putCircleAnnotation * @param name The document name. (required) - * @param pageNumber Number of page (starting from 1). (required) - * @param paragraph Paragraph data. (optional) - * @param folder Document folder. (optional) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putAddTextCall(String name, Integer pageNumber, Paragraph paragraph, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = paragraph; + public com.squareup.okhttp.Call putCircleAnnotationCall(String name, String annotationId, CircleAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotation; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/text" + String localVarPath = "/pdf/{name}/annotations/circle/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -31981,52 +35458,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putAddTextValidateBeforeCall(String name, Integer pageNumber, Paragraph paragraph, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putCircleAnnotationValidateBeforeCall(String name, String annotationId, CircleAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putAddText(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putCircleAnnotation(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling putAddText(Async)"); + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling putCircleAnnotation(Async)"); + } + + // verify the required parameter 'annotation' is set + if (annotation == null) { + throw new ApiException("Missing the required parameter 'annotation' when calling putCircleAnnotation(Async)"); } - com.squareup.okhttp.Call call = putAddTextCall(name, pageNumber, paragraph, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putCircleAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); return call; } /** - * Add text to PDF document page. + * Replace document circle annotation * * @param name The document name. (required) - * @param pageNumber Number of page (starting from 1). (required) - * @param paragraph Paragraph data. (optional) - * @param folder Document folder. (optional) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) - * @return AsposeResponse + * @param folder The document folder. (optional) + * @return CircleAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putAddText(String name, Integer pageNumber, Paragraph paragraph, String folder, String storage) throws ApiException { + public CircleAnnotationResponse putCircleAnnotation(String name, String annotationId, CircleAnnotation annotation, String storage, String folder) throws ApiException { try { - ApiResponse resp = putAddTextWithHttpInfo(name, pageNumber, paragraph, folder, storage); + ApiResponse resp = putCircleAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putAddTextWithHttpInfo(name, pageNumber, paragraph, folder, storage); + apiClient.requestToken(); + ApiResponse resp = putCircleAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } throw ex; @@ -32034,35 +35516,35 @@ public AsposeResponse putAddText(String name, Integer pageNumber, Paragraph para } /** - * Add text to PDF document page. + * Replace document circle annotation * * @param name The document name. (required) - * @param pageNumber Number of page (starting from 1). (required) - * @param paragraph Paragraph data. (optional) - * @param folder Document folder. (optional) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) - * @return ApiResponse<AsposeResponse> + * @param folder The document folder. (optional) + * @return ApiResponse<CircleAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putAddTextWithHttpInfo(String name, Integer pageNumber, Paragraph paragraph, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = putAddTextValidateBeforeCall(name, pageNumber, paragraph, folder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putCircleAnnotationWithHttpInfo(String name, String annotationId, CircleAnnotation annotation, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putCircleAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Add text to PDF document page. (asynchronously) + * Replace document circle annotation (asynchronously) * * @param name The document name. (required) - * @param pageNumber Number of page (starting from 1). (required) - * @param paragraph Paragraph data. (optional) - * @param folder Document folder. (optional) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putAddTextAsync(String name, Integer pageNumber, Paragraph paragraph, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putCircleAnnotationAsync(String name, String annotationId, CircleAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32083,39 +35565,30 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putAddTextValidateBeforeCall(name, pageNumber, paragraph, folder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putCircleAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putAnnotationsFlatten - * @param name The document name. (required) - * @param startPage The start page number. (optional) - * @param endPage The end page number. (optional) - * @param annotationTypes Array of annotation types. (optional) + * Build call for putCreateDocument + * @param name The new document name. (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param folder The new document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putAnnotationsFlattenCall(String name, Integer startPage, Integer endPage, List annotationTypes, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putCreateDocumentCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/flatten" + String localVarPath = "/pdf/{name}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (startPage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("startPage", startPage)); - if (endPage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("endPage", endPage)); - if (annotationTypes != null) - localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("multi", "annotationTypes", annotationTypes)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -32149,48 +35622,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putAnnotationsFlattenValidateBeforeCall(String name, Integer startPage, Integer endPage, List annotationTypes, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putCreateDocumentValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putAnnotationsFlatten(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putCreateDocument(Async)"); } - com.squareup.okhttp.Call call = putAnnotationsFlattenCall(name, startPage, endPage, annotationTypes, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putCreateDocumentCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Flattens the annotations of the specified types + * Create empty document. * - * @param name The document name. (required) - * @param startPage The start page number. (optional) - * @param endPage The end page number. (optional) - * @param annotationTypes Array of annotation types. (optional) + * @param name The new document name. (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return AsposeResponse + * @param folder The new document folder. (optional) + * @return DocumentResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putAnnotationsFlatten(String name, Integer startPage, Integer endPage, List annotationTypes, String storage, String folder) throws ApiException { + public DocumentResponse putCreateDocument(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = putAnnotationsFlattenWithHttpInfo(name, startPage, endPage, annotationTypes, storage, folder); + ApiResponse resp = putCreateDocumentWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putAnnotationsFlattenWithHttpInfo(name, startPage, endPage, annotationTypes, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putCreateDocumentWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -32198,37 +35668,31 @@ public AsposeResponse putAnnotationsFlatten(String name, Integer startPage, Inte } /** - * Flattens the annotations of the specified types + * Create empty document. * - * @param name The document name. (required) - * @param startPage The start page number. (optional) - * @param endPage The end page number. (optional) - * @param annotationTypes Array of annotation types. (optional) + * @param name The new document name. (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @param folder The new document folder. (optional) + * @return ApiResponse<DocumentResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putAnnotationsFlattenWithHttpInfo(String name, Integer startPage, Integer endPage, List annotationTypes, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = putAnnotationsFlattenValidateBeforeCall(name, startPage, endPage, annotationTypes, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putCreateDocumentWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putCreateDocumentValidateBeforeCall(name, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Flattens the annotations of the specified types (asynchronously) + * Create empty document. (asynchronously) * - * @param name The document name. (required) - * @param startPage The start page number. (optional) - * @param endPage The end page number. (optional) - * @param annotationTypes Array of annotation types. (optional) + * @param name The new document name. (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param folder The new document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putAnnotationsFlattenAsync(String name, Integer startPage, Integer endPage, List annotationTypes, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putCreateDocumentAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32249,37 +35713,36 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putAnnotationsFlattenValidateBeforeCall(name, startPage, endPage, annotationTypes, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putCreateDocumentValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putCaretAnnotation - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * Build call for putDecryptDocument + * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param password The password (encrypted Base64). (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param file A file to be derypted. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putCaretAnnotationCall(String name, String annotationId, CaretAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotation; + public com.squareup.okhttp.Call putDecryptDocumentCall(String outPath, String password, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = file; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/caret/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/decrypt"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (outPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("outPath", outPath)); + if (password != null) + localVarQueryParams.addAll(apiClient.parameterToPair("password", password)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -32309,57 +35772,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putCaretAnnotationValidateBeforeCall(String name, String annotationId, CaretAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putCaretAnnotation(Async)"); - } + private com.squareup.okhttp.Call putDecryptDocumentValidateBeforeCall(String outPath, String password, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling putCaretAnnotation(Async)"); + // verify the required parameter 'outPath' is set + if (outPath == null) { + throw new ApiException("Missing the required parameter 'outPath' when calling putDecryptDocument(Async)"); } - // verify the required parameter 'annotation' is set - if (annotation == null) { - throw new ApiException("Missing the required parameter 'annotation' when calling putCaretAnnotation(Async)"); + // verify the required parameter 'password' is set + if (password == null) { + throw new ApiException("Missing the required parameter 'password' when calling putDecryptDocument(Async)"); } - com.squareup.okhttp.Call call = putCaretAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putDecryptDocumentCall(outPath, password, storage, file, progressListener, progressRequestListener); return call; } /** - * Replace document caret annotation + * Decrypt document from content. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param password The password (encrypted Base64). (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return CaretAnnotationResponse + * @param file A file to be derypted. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public CaretAnnotationResponse putCaretAnnotation(String name, String annotationId, CaretAnnotation annotation, String storage, String folder) throws ApiException { + public AsposeResponse putDecryptDocument(String outPath, String password, String storage, File file) throws ApiException { try { - ApiResponse resp = putCaretAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + ApiResponse resp = putDecryptDocumentWithHttpInfo(outPath, password, storage, file); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putCaretAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putDecryptDocumentWithHttpInfo(outPath, password, storage, file); return resp.getData(); } throw ex; @@ -32367,35 +35824,33 @@ public CaretAnnotationResponse putCaretAnnotation(String name, String annotation } /** - * Replace document caret annotation + * Decrypt document from content. * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param password The password (encrypted Base64). (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<CaretAnnotationResponse> + * @param file A file to be derypted. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putCaretAnnotationWithHttpInfo(String name, String annotationId, CaretAnnotation annotation, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = putCaretAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putDecryptDocumentWithHttpInfo(String outPath, String password, String storage, File file) throws ApiException { + com.squareup.okhttp.Call call = putDecryptDocumentValidateBeforeCall(outPath, password, storage, file, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Replace document caret annotation (asynchronously) + * Decrypt document from content. (asynchronously) * - * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param password The password (encrypted Base64). (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param file A file to be derypted. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putCaretAnnotationAsync(String name, String annotationId, CaretAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putDecryptDocumentAsync(String outPath, String password, String storage, File file, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32416,40 +35871,46 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putCaretAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putDecryptDocumentValidateBeforeCall(outPath, password, storage, file, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putChangePasswordDocument + * Build call for putEncryptDocument * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param userPassword User password (encrypted Base64). (required) * @param ownerPassword Owner password (encrypted Base64). (required) - * @param newUserPassword New user password (encrypted Base64). (required) - * @param newOwnerPassword New owner password (encrypted Base64). (required) + * @param cryptoAlgorithm Cryptographic algorithm, see CryptoAlgorithm for details. (required) + * @param permissionsFlags Array of document permissions, see PermissionsFlags for details. (optional) + * @param usePdf20 Support for revision 6 (Extension 8). (optional) * @param storage The document storage. (optional) - * @param file A file to be changed password. (optional) + * @param file A file to be encrypted. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putChangePasswordDocumentCall(String outPath, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putEncryptDocumentCall(String outPath, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = file; // create path and map variables - String localVarPath = "/pdf/changepassword"; + String localVarPath = "/pdf/encrypt"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (outPath != null) localVarQueryParams.addAll(apiClient.parameterToPair("outPath", outPath)); + if (userPassword != null) + localVarQueryParams.addAll(apiClient.parameterToPair("userPassword", userPassword)); if (ownerPassword != null) localVarQueryParams.addAll(apiClient.parameterToPair("ownerPassword", ownerPassword)); - if (newUserPassword != null) - localVarQueryParams.addAll(apiClient.parameterToPair("newUserPassword", newUserPassword)); - if (newOwnerPassword != null) - localVarQueryParams.addAll(apiClient.parameterToPair("newOwnerPassword", newOwnerPassword)); + if (cryptoAlgorithm != null) + localVarQueryParams.addAll(apiClient.parameterToPair("cryptoAlgorithm", cryptoAlgorithm)); + if (permissionsFlags != null) + localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("csv", "permissionsFlags", permissionsFlags)); + if (usePdf20 != null) + localVarQueryParams.addAll(apiClient.parameterToPair("usePdf20", usePdf20)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); @@ -32481,63 +35942,65 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putChangePasswordDocumentValidateBeforeCall(String outPath, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putEncryptDocumentValidateBeforeCall(String outPath, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'outPath' is set if (outPath == null) { - throw new ApiException("Missing the required parameter 'outPath' when calling putChangePasswordDocument(Async)"); + throw new ApiException("Missing the required parameter 'outPath' when calling putEncryptDocument(Async)"); } - // verify the required parameter 'ownerPassword' is set - if (ownerPassword == null) { - throw new ApiException("Missing the required parameter 'ownerPassword' when calling putChangePasswordDocument(Async)"); + // verify the required parameter 'userPassword' is set + if (userPassword == null) { + throw new ApiException("Missing the required parameter 'userPassword' when calling putEncryptDocument(Async)"); } - // verify the required parameter 'newUserPassword' is set - if (newUserPassword == null) { - throw new ApiException("Missing the required parameter 'newUserPassword' when calling putChangePasswordDocument(Async)"); + // verify the required parameter 'ownerPassword' is set + if (ownerPassword == null) { + throw new ApiException("Missing the required parameter 'ownerPassword' when calling putEncryptDocument(Async)"); } - // verify the required parameter 'newOwnerPassword' is set - if (newOwnerPassword == null) { - throw new ApiException("Missing the required parameter 'newOwnerPassword' when calling putChangePasswordDocument(Async)"); + // verify the required parameter 'cryptoAlgorithm' is set + if (cryptoAlgorithm == null) { + throw new ApiException("Missing the required parameter 'cryptoAlgorithm' when calling putEncryptDocument(Async)"); } - com.squareup.okhttp.Call call = putChangePasswordDocumentCall(outPath, ownerPassword, newUserPassword, newOwnerPassword, storage, file, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putEncryptDocumentCall(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file, progressListener, progressRequestListener); return call; } /** - * Change document password from content. + * Encrypt document from content. * * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param userPassword User password (encrypted Base64). (required) * @param ownerPassword Owner password (encrypted Base64). (required) - * @param newUserPassword New user password (encrypted Base64). (required) - * @param newOwnerPassword New owner password (encrypted Base64). (required) + * @param cryptoAlgorithm Cryptographic algorithm, see CryptoAlgorithm for details. (required) + * @param permissionsFlags Array of document permissions, see PermissionsFlags for details. (optional) + * @param usePdf20 Support for revision 6 (Extension 8). (optional) * @param storage The document storage. (optional) - * @param file A file to be changed password. (optional) + * @param file A file to be encrypted. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putChangePasswordDocument(String outPath, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, File file) throws ApiException { + public AsposeResponse putEncryptDocument(String outPath, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, File file) throws ApiException { try { - ApiResponse resp = putChangePasswordDocumentWithHttpInfo(outPath, ownerPassword, newUserPassword, newOwnerPassword, storage, file); + ApiResponse resp = putEncryptDocumentWithHttpInfo(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putChangePasswordDocumentWithHttpInfo(outPath, ownerPassword, newUserPassword, newOwnerPassword, storage, file); + apiClient.requestToken(); + ApiResponse resp = putEncryptDocumentWithHttpInfo(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file); return resp.getData(); } throw ex; @@ -32545,37 +36008,41 @@ public AsposeResponse putChangePasswordDocument(String outPath, String ownerPass } /** - * Change document password from content. + * Encrypt document from content. * * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param userPassword User password (encrypted Base64). (required) * @param ownerPassword Owner password (encrypted Base64). (required) - * @param newUserPassword New user password (encrypted Base64). (required) - * @param newOwnerPassword New owner password (encrypted Base64). (required) + * @param cryptoAlgorithm Cryptographic algorithm, see CryptoAlgorithm for details. (required) + * @param permissionsFlags Array of document permissions, see PermissionsFlags for details. (optional) + * @param usePdf20 Support for revision 6 (Extension 8). (optional) * @param storage The document storage. (optional) - * @param file A file to be changed password. (optional) + * @param file A file to be encrypted. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putChangePasswordDocumentWithHttpInfo(String outPath, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, File file) throws ApiException { - com.squareup.okhttp.Call call = putChangePasswordDocumentValidateBeforeCall(outPath, ownerPassword, newUserPassword, newOwnerPassword, storage, file, null, null); + public ApiResponse putEncryptDocumentWithHttpInfo(String outPath, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, File file) throws ApiException { + com.squareup.okhttp.Call call = putEncryptDocumentValidateBeforeCall(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Change document password from content. (asynchronously) + * Encrypt document from content. (asynchronously) * * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) + * @param userPassword User password (encrypted Base64). (required) * @param ownerPassword Owner password (encrypted Base64). (required) - * @param newUserPassword New user password (encrypted Base64). (required) - * @param newOwnerPassword New owner password (encrypted Base64). (required) + * @param cryptoAlgorithm Cryptographic algorithm, see CryptoAlgorithm for details. (required) + * @param permissionsFlags Array of document permissions, see PermissionsFlags for details. (optional) + * @param usePdf20 Support for revision 6 (Extension 8). (optional) * @param storage The document storage. (optional) - * @param file A file to be changed password. (optional) + * @param file A file to be encrypted. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putChangePasswordDocumentAsync(String outPath, String ownerPassword, String newUserPassword, String newOwnerPassword, String storage, File file, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putEncryptDocumentAsync(String outPath, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, File file, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32596,37 +36063,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putChangePasswordDocumentValidateBeforeCall(outPath, ownerPassword, newUserPassword, newOwnerPassword, storage, file, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putEncryptDocumentValidateBeforeCall(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putCircleAnnotation + * Build call for putEpubInStorageToPdf * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param dstFolder The destination document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putCircleAnnotationCall(String name, String annotationId, CircleAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotation; + public com.squareup.okhttp.Call putEpubInStorageToPdfCall(String name, String srcPath, String storage, String dstFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/circle/{annotationId}" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/create/epub" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (dstFolder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); Map localVarHeaderParams = new HashMap(); @@ -32656,57 +36123,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putCircleAnnotationValidateBeforeCall(String name, String annotationId, CircleAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putEpubInStorageToPdfValidateBeforeCall(String name, String srcPath, String storage, String dstFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putCircleAnnotation(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling putCircleAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putEpubInStorageToPdf(Async)"); } - // verify the required parameter 'annotation' is set - if (annotation == null) { - throw new ApiException("Missing the required parameter 'annotation' when calling putCircleAnnotation(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling putEpubInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = putCircleAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putEpubInStorageToPdfCall(name, srcPath, storage, dstFolder, progressListener, progressRequestListener); return call; } /** - * Replace document circle annotation + * Convert EPUB file (located on storage) to PDF format and upload resulting file to storage. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return CircleAnnotationResponse + * @param dstFolder The destination document folder. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public CircleAnnotationResponse putCircleAnnotation(String name, String annotationId, CircleAnnotation annotation, String storage, String folder) throws ApiException { + public AsposeResponse putEpubInStorageToPdf(String name, String srcPath, String storage, String dstFolder) throws ApiException { try { - ApiResponse resp = putCircleAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + ApiResponse resp = putEpubInStorageToPdfWithHttpInfo(name, srcPath, storage, dstFolder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putCircleAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putEpubInStorageToPdfWithHttpInfo(name, srcPath, storage, dstFolder); return resp.getData(); } throw ex; @@ -32714,35 +36175,33 @@ public CircleAnnotationResponse putCircleAnnotation(String name, String annotati } /** - * Replace document circle annotation + * Convert EPUB file (located on storage) to PDF format and upload resulting file to storage. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @return ApiResponse<CircleAnnotationResponse> + * @param dstFolder The destination document folder. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putCircleAnnotationWithHttpInfo(String name, String annotationId, CircleAnnotation annotation, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = putCircleAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putEpubInStorageToPdfWithHttpInfo(String name, String srcPath, String storage, String dstFolder) throws ApiException { + com.squareup.okhttp.Call call = putEpubInStorageToPdfValidateBeforeCall(name, srcPath, storage, dstFolder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Replace document circle annotation (asynchronously) + * Convert EPUB file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) + * @param dstFolder The destination document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putCircleAnnotationAsync(String name, String annotationId, CircleAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putEpubInStorageToPdfAsync(String name, String srcPath, String storage, String dstFolder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32763,36 +36222,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putCircleAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putEpubInStorageToPdfValidateBeforeCall(name, srcPath, storage, dstFolder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putCreate - * @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext (required) - * @param file File to upload (required) - * @param versionId Source file's version (optional) - * @param storage User's storage name (optional) + * Build call for putExportFieldsFromPdfToFdfInStorage + * @param name The document name. (required) + * @param fdfOutputFilePath The output Fdf file path. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putCreateCall(String path, File file, String versionId, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = file; + public com.squareup.okhttp.Call putExportFieldsFromPdfToFdfInStorageCall(String name, String fdfOutputFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/storage/file"; + String localVarPath = "/pdf/{name}/export/fdf" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); - if (versionId != null) - localVarQueryParams.addAll(apiClient.parameterToPair("versionId", versionId)); + if (fdfOutputFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fdfOutputFilePath", fdfOutputFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -32822,51 +36282,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putCreateValidateBeforeCall(String path, File file, String versionId, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putExportFieldsFromPdfToFdfInStorageValidateBeforeCall(String name, String fdfOutputFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling putCreate(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling putExportFieldsFromPdfToFdfInStorage(Async)"); } - // verify the required parameter 'file' is set - if (file == null) { - throw new ApiException("Missing the required parameter 'file' when calling putCreate(Async)"); + // verify the required parameter 'fdfOutputFilePath' is set + if (fdfOutputFilePath == null) { + throw new ApiException("Missing the required parameter 'fdfOutputFilePath' when calling putExportFieldsFromPdfToFdfInStorage(Async)"); } - com.squareup.okhttp.Call call = putCreateCall(path, file, versionId, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putExportFieldsFromPdfToFdfInStorageCall(name, fdfOutputFilePath, storage, folder, progressListener, progressRequestListener); return call; } /** - * Upload a specific file + * Export fields from from PDF in storage to FDF file in storage. * - * @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext (required) - * @param file File to upload (required) - * @param versionId Source file's version (optional) - * @param storage User's storage name (optional) + * @param name The document name. (required) + * @param fdfOutputFilePath The output Fdf file path. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putCreate(String path, File file, String versionId, String storage) throws ApiException { + public AsposeResponse putExportFieldsFromPdfToFdfInStorage(String name, String fdfOutputFilePath, String storage, String folder) throws ApiException { try { - ApiResponse resp = putCreateWithHttpInfo(path, file, versionId, storage); + ApiResponse resp = putExportFieldsFromPdfToFdfInStorageWithHttpInfo(name, fdfOutputFilePath, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putCreateWithHttpInfo(path, file, versionId, storage); + apiClient.requestToken(); + ApiResponse resp = putExportFieldsFromPdfToFdfInStorageWithHttpInfo(name, fdfOutputFilePath, storage, folder); return resp.getData(); } throw ex; @@ -32874,33 +36334,33 @@ public AsposeResponse putCreate(String path, File file, String versionId, String } /** - * Upload a specific file + * Export fields from from PDF in storage to FDF file in storage. * - * @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext (required) - * @param file File to upload (required) - * @param versionId Source file's version (optional) - * @param storage User's storage name (optional) + * @param name The document name. (required) + * @param fdfOutputFilePath The output Fdf file path. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putCreateWithHttpInfo(String path, File file, String versionId, String storage) throws ApiException { - com.squareup.okhttp.Call call = putCreateValidateBeforeCall(path, file, versionId, storage, null, null); + public ApiResponse putExportFieldsFromPdfToFdfInStorageWithHttpInfo(String name, String fdfOutputFilePath, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putExportFieldsFromPdfToFdfInStorageValidateBeforeCall(name, fdfOutputFilePath, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Upload a specific file (asynchronously) + * Export fields from from PDF in storage to FDF file in storage. (asynchronously) * - * @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext (required) - * @param file File to upload (required) - * @param versionId Source file's version (optional) - * @param storage User's storage name (optional) + * @param name The document name. (required) + * @param fdfOutputFilePath The output Fdf file path. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putCreateAsync(String path, File file, String versionId, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putExportFieldsFromPdfToFdfInStorageAsync(String name, String fdfOutputFilePath, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -32921,30 +36381,33 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putCreateValidateBeforeCall(path, file, versionId, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putExportFieldsFromPdfToFdfInStorageValidateBeforeCall(name, fdfOutputFilePath, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putCreateDocument - * @param name The new document name. (required) + * Build call for putExportFieldsFromPdfToXfdfInStorage + * @param name The document name. (required) + * @param xfdfOutputFilePath The output xfdf file path. (required) * @param storage The document storage. (optional) - * @param folder The new document folder. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putCreateDocumentCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putExportFieldsFromPdfToXfdfInStorageCall(String name, String xfdfOutputFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}" + String localVarPath = "/pdf/{name}/export/xfdf" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (xfdfOutputFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("xfdfOutputFilePath", xfdfOutputFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) @@ -32978,45 +36441,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putCreateDocumentValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putExportFieldsFromPdfToXfdfInStorageValidateBeforeCall(String name, String xfdfOutputFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putCreateDocument(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putExportFieldsFromPdfToXfdfInStorage(Async)"); + } + + // verify the required parameter 'xfdfOutputFilePath' is set + if (xfdfOutputFilePath == null) { + throw new ApiException("Missing the required parameter 'xfdfOutputFilePath' when calling putExportFieldsFromPdfToXfdfInStorage(Async)"); } - com.squareup.okhttp.Call call = putCreateDocumentCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putExportFieldsFromPdfToXfdfInStorageCall(name, xfdfOutputFilePath, storage, folder, progressListener, progressRequestListener); return call; } /** - * Create empty document. + * Export fields from from PDF in storage to XFDF file in storage. * - * @param name The new document name. (required) + * @param name The document name. (required) + * @param xfdfOutputFilePath The output xfdf file path. (required) * @param storage The document storage. (optional) - * @param folder The new document folder. (optional) - * @return DocumentResponse + * @param folder The document folder. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public DocumentResponse putCreateDocument(String name, String storage, String folder) throws ApiException { + public AsposeResponse putExportFieldsFromPdfToXfdfInStorage(String name, String xfdfOutputFilePath, String storage, String folder) throws ApiException { try { - ApiResponse resp = putCreateDocumentWithHttpInfo(name, storage, folder); + ApiResponse resp = putExportFieldsFromPdfToXfdfInStorageWithHttpInfo(name, xfdfOutputFilePath, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putCreateDocumentWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putExportFieldsFromPdfToXfdfInStorageWithHttpInfo(name, xfdfOutputFilePath, storage, folder); return resp.getData(); } throw ex; @@ -33024,31 +36493,33 @@ public DocumentResponse putCreateDocument(String name, String storage, String fo } /** - * Create empty document. + * Export fields from from PDF in storage to XFDF file in storage. * - * @param name The new document name. (required) + * @param name The document name. (required) + * @param xfdfOutputFilePath The output xfdf file path. (required) * @param storage The document storage. (optional) - * @param folder The new document folder. (optional) - * @return ApiResponse<DocumentResponse> + * @param folder The document folder. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putCreateDocumentWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = putCreateDocumentValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putExportFieldsFromPdfToXfdfInStorageWithHttpInfo(String name, String xfdfOutputFilePath, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putExportFieldsFromPdfToXfdfInStorageValidateBeforeCall(name, xfdfOutputFilePath, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Create empty document. (asynchronously) + * Export fields from from PDF in storage to XFDF file in storage. (asynchronously) * - * @param name The new document name. (required) + * @param name The document name. (required) + * @param xfdfOutputFilePath The output xfdf file path. (required) * @param storage The document storage. (optional) - * @param folder The new document folder. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putCreateDocumentAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putExportFieldsFromPdfToXfdfInStorageAsync(String name, String xfdfOutputFilePath, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -33069,35 +36540,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putCreateDocumentValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putExportFieldsFromPdfToXfdfInStorageValidateBeforeCall(name, xfdfOutputFilePath, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putCreateFolder - * @param path Target folder's path e.g. Folder1/Folder2/. The folders will be created recursively (required) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * Build call for putExportFieldsFromPdfToXmlInStorage + * @param name The document name. (required) + * @param xmlOutputFilePath The output xml file path. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putCreateFolderCall(String path, String storage, String destStorage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putExportFieldsFromPdfToXmlInStorageCall(String name, String xmlOutputFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/storage/folder"; + String localVarPath = "/pdf/{name}/export/xml" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (path != null) - localVarQueryParams.addAll(apiClient.parameterToPair("path", path)); + if (xmlOutputFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("xmlOutputFilePath", xmlOutputFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (destStorage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("destStorage", destStorage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -33127,45 +36600,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putCreateFolderValidateBeforeCall(String path, String storage, String destStorage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putExportFieldsFromPdfToXmlInStorageValidateBeforeCall(String name, String xmlOutputFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling putCreateFolder(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling putExportFieldsFromPdfToXmlInStorage(Async)"); + } + + // verify the required parameter 'xmlOutputFilePath' is set + if (xmlOutputFilePath == null) { + throw new ApiException("Missing the required parameter 'xmlOutputFilePath' when calling putExportFieldsFromPdfToXmlInStorage(Async)"); } - com.squareup.okhttp.Call call = putCreateFolderCall(path, storage, destStorage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putExportFieldsFromPdfToXmlInStorageCall(name, xmlOutputFilePath, storage, folder, progressListener, progressRequestListener); return call; } /** - * Create the folder + * Export fields from from PDF in storage to XML file in storage. * - * @param path Target folder's path e.g. Folder1/Folder2/. The folders will be created recursively (required) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * @param name The document name. (required) + * @param xmlOutputFilePath The output xml file path. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putCreateFolder(String path, String storage, String destStorage) throws ApiException { + public AsposeResponse putExportFieldsFromPdfToXmlInStorage(String name, String xmlOutputFilePath, String storage, String folder) throws ApiException { try { - ApiResponse resp = putCreateFolderWithHttpInfo(path, storage, destStorage); + ApiResponse resp = putExportFieldsFromPdfToXmlInStorageWithHttpInfo(name, xmlOutputFilePath, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putCreateFolderWithHttpInfo(path, storage, destStorage); + apiClient.requestToken(); + ApiResponse resp = putExportFieldsFromPdfToXmlInStorageWithHttpInfo(name, xmlOutputFilePath, storage, folder); return resp.getData(); } throw ex; @@ -33173,31 +36652,33 @@ public AsposeResponse putCreateFolder(String path, String storage, String destSt } /** - * Create the folder + * Export fields from from PDF in storage to XML file in storage. * - * @param path Target folder's path e.g. Folder1/Folder2/. The folders will be created recursively (required) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * @param name The document name. (required) + * @param xmlOutputFilePath The output xml file path. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putCreateFolderWithHttpInfo(String path, String storage, String destStorage) throws ApiException { - com.squareup.okhttp.Call call = putCreateFolderValidateBeforeCall(path, storage, destStorage, null, null); + public ApiResponse putExportFieldsFromPdfToXmlInStorageWithHttpInfo(String name, String xmlOutputFilePath, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putExportFieldsFromPdfToXmlInStorageValidateBeforeCall(name, xmlOutputFilePath, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Create the folder (asynchronously) + * Export fields from from PDF in storage to XML file in storage. (asynchronously) * - * @param path Target folder's path e.g. Folder1/Folder2/. The folders will be created recursively (required) - * @param storage User's source storage name (optional) - * @param destStorage User's destination storage name (optional) + * @param name The document name. (required) + * @param xmlOutputFilePath The output xml file path. (required) + * @param storage The document storage. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putCreateFolderAsync(String path, String storage, String destStorage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putExportFieldsFromPdfToXmlInStorageAsync(String name, String xmlOutputFilePath, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -33218,36 +36699,34 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putCreateFolderValidateBeforeCall(path, storage, destStorage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putExportFieldsFromPdfToXmlInStorageValidateBeforeCall(name, xmlOutputFilePath, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putDecryptDocument - * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) - * @param password The password (encrypted Base64). (required) + * Build call for putFieldsFlatten + * @param name The document name. (required) * @param storage The document storage. (optional) - * @param file A file to be derypted. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putDecryptDocumentCall(String outPath, String password, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = file; + public com.squareup.okhttp.Call putFieldsFlattenCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/decrypt"; + String localVarPath = "/pdf/{name}/fields/flatten" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (outPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("outPath", outPath)); - if (password != null) - localVarQueryParams.addAll(apiClient.parameterToPair("password", password)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -33277,51 +36756,45 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putDecryptDocumentValidateBeforeCall(String outPath, String password, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'outPath' is set - if (outPath == null) { - throw new ApiException("Missing the required parameter 'outPath' when calling putDecryptDocument(Async)"); - } + private com.squareup.okhttp.Call putFieldsFlattenValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'password' is set - if (password == null) { - throw new ApiException("Missing the required parameter 'password' when calling putDecryptDocument(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling putFieldsFlatten(Async)"); } - com.squareup.okhttp.Call call = putDecryptDocumentCall(outPath, password, storage, file, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putFieldsFlattenCall(name, storage, folder, progressListener, progressRequestListener); return call; } /** - * Decrypt document from content. + * Flatten form fields in document. * - * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) - * @param password The password (encrypted Base64). (required) + * @param name The document name. (required) * @param storage The document storage. (optional) - * @param file A file to be derypted. (optional) + * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putDecryptDocument(String outPath, String password, String storage, File file) throws ApiException { + public AsposeResponse putFieldsFlatten(String name, String storage, String folder) throws ApiException { try { - ApiResponse resp = putDecryptDocumentWithHttpInfo(outPath, password, storage, file); + ApiResponse resp = putFieldsFlattenWithHttpInfo(name, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putDecryptDocumentWithHttpInfo(outPath, password, storage, file); + apiClient.requestToken(); + ApiResponse resp = putFieldsFlattenWithHttpInfo(name, storage, folder); return resp.getData(); } throw ex; @@ -33329,33 +36802,31 @@ public AsposeResponse putDecryptDocument(String outPath, String password, String } /** - * Decrypt document from content. + * Flatten form fields in document. * - * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) - * @param password The password (encrypted Base64). (required) + * @param name The document name. (required) * @param storage The document storage. (optional) - * @param file A file to be derypted. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putDecryptDocumentWithHttpInfo(String outPath, String password, String storage, File file) throws ApiException { - com.squareup.okhttp.Call call = putDecryptDocumentValidateBeforeCall(outPath, password, storage, file, null, null); + public ApiResponse putFieldsFlattenWithHttpInfo(String name, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putFieldsFlattenValidateBeforeCall(name, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Decrypt document from content. (asynchronously) + * Flatten form fields in document. (asynchronously) * - * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) - * @param password The password (encrypted Base64). (required) + * @param name The document name. (required) * @param storage The document storage. (optional) - * @param file A file to be derypted. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putDecryptDocumentAsync(String outPath, String password, String storage, File file, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putFieldsFlattenAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -33376,48 +36847,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putDecryptDocumentValidateBeforeCall(outPath, password, storage, file, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putFieldsFlattenValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putEncryptDocument - * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) - * @param userPassword User password (encrypted Base64). (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param cryptoAlgorithm Cryptographic algorithm, see for details. (required) - * @param permissionsFlags Array of document permissions, see for details. (optional) - * @param usePdf20 Support for revision 6 (Extension 8). (optional) + * Build call for putFileAttachmentAnnotation + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) - * @param file A file to be encrypted. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putEncryptDocumentCall(String outPath, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = file; + public com.squareup.okhttp.Call putFileAttachmentAnnotationCall(String name, String annotationId, FileAttachmentAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotation; // create path and map variables - String localVarPath = "/pdf/encrypt"; + String localVarPath = "/pdf/{name}/annotations/fileattachment/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (outPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("outPath", outPath)); - if (userPassword != null) - localVarQueryParams.addAll(apiClient.parameterToPair("userPassword", userPassword)); - if (ownerPassword != null) - localVarQueryParams.addAll(apiClient.parameterToPair("ownerPassword", ownerPassword)); - if (cryptoAlgorithm != null) - localVarQueryParams.addAll(apiClient.parameterToPair("cryptoAlgorithm", cryptoAlgorithm)); - if (permissionsFlags != null) - localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("multi", "permissionsFlags", permissionsFlags)); - if (usePdf20 != null) - localVarQueryParams.addAll(apiClient.parameterToPair("usePdf20", usePdf20)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -33447,65 +36907,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putEncryptDocumentValidateBeforeCall(String outPath, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - - // verify the required parameter 'outPath' is set - if (outPath == null) { - throw new ApiException("Missing the required parameter 'outPath' when calling putEncryptDocument(Async)"); - } + private com.squareup.okhttp.Call putFileAttachmentAnnotationValidateBeforeCall(String name, String annotationId, FileAttachmentAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'userPassword' is set - if (userPassword == null) { - throw new ApiException("Missing the required parameter 'userPassword' when calling putEncryptDocument(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling putFileAttachmentAnnotation(Async)"); } - // verify the required parameter 'ownerPassword' is set - if (ownerPassword == null) { - throw new ApiException("Missing the required parameter 'ownerPassword' when calling putEncryptDocument(Async)"); + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling putFileAttachmentAnnotation(Async)"); } - // verify the required parameter 'cryptoAlgorithm' is set - if (cryptoAlgorithm == null) { - throw new ApiException("Missing the required parameter 'cryptoAlgorithm' when calling putEncryptDocument(Async)"); + // verify the required parameter 'annotation' is set + if (annotation == null) { + throw new ApiException("Missing the required parameter 'annotation' when calling putFileAttachmentAnnotation(Async)"); } - com.squareup.okhttp.Call call = putEncryptDocumentCall(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putFileAttachmentAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); return call; } /** - * Encrypt document from content. + * Replace document FileAttachment annotation * - * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) - * @param userPassword User password (encrypted Base64). (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param cryptoAlgorithm Cryptographic algorithm, see for details. (required) - * @param permissionsFlags Array of document permissions, see for details. (optional) - * @param usePdf20 Support for revision 6 (Extension 8). (optional) + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) - * @param file A file to be encrypted. (optional) - * @return AsposeResponse + * @param folder The document folder. (optional) + * @return FileAttachmentAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putEncryptDocument(String outPath, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, File file) throws ApiException { + public FileAttachmentAnnotationResponse putFileAttachmentAnnotation(String name, String annotationId, FileAttachmentAnnotation annotation, String storage, String folder) throws ApiException { try { - ApiResponse resp = putEncryptDocumentWithHttpInfo(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file); + ApiResponse resp = putFileAttachmentAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putEncryptDocumentWithHttpInfo(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file); + apiClient.requestToken(); + ApiResponse resp = putFileAttachmentAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } throw ex; @@ -33513,41 +36965,35 @@ public AsposeResponse putEncryptDocument(String outPath, String userPassword, St } /** - * Encrypt document from content. + * Replace document FileAttachment annotation * - * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) - * @param userPassword User password (encrypted Base64). (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param cryptoAlgorithm Cryptographic algorithm, see for details. (required) - * @param permissionsFlags Array of document permissions, see for details. (optional) - * @param usePdf20 Support for revision 6 (Extension 8). (optional) + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) - * @param file A file to be encrypted. (optional) - * @return ApiResponse<AsposeResponse> + * @param folder The document folder. (optional) + * @return ApiResponse<FileAttachmentAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putEncryptDocumentWithHttpInfo(String outPath, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, File file) throws ApiException { - com.squareup.okhttp.Call call = putEncryptDocumentValidateBeforeCall(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putFileAttachmentAnnotationWithHttpInfo(String name, String annotationId, FileAttachmentAnnotation annotation, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putFileAttachmentAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Encrypt document from content. (asynchronously) + * Replace document FileAttachment annotation (asynchronously) * - * @param outPath Full resulting filename (ex. /folder1/folder2/result.doc) (required) - * @param userPassword User password (encrypted Base64). (required) - * @param ownerPassword Owner password (encrypted Base64). (required) - * @param cryptoAlgorithm Cryptographic algorithm, see for details. (required) - * @param permissionsFlags Array of document permissions, see for details. (optional) - * @param usePdf20 Support for revision 6 (Extension 8). (optional) + * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) - * @param file A file to be encrypted. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putEncryptDocumentAsync(String outPath, String userPassword, String ownerPassword, String cryptoAlgorithm, List permissionsFlags, Boolean usePdf20, String storage, File file, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putFileAttachmentAnnotationAsync(String name, String annotationId, FileAttachmentAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -33568,37 +37014,39 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putEncryptDocumentValidateBeforeCall(outPath, userPassword, ownerPassword, cryptoAlgorithm, permissionsFlags, usePdf20, storage, file, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putFileAttachmentAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putEpubInStorageToPdf + * Build call for putFileAttachmentAnnotationDataExtract * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) + * @param annotationId The annotation ID. (required) + * @param outFolder The output folder. (optional) * @param storage The document storage. (optional) - * @param dstFolder The destination document folder. (optional) + * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putEpubInStorageToPdfCall(String name, String srcPath, String storage, String dstFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putFileAttachmentAnnotationDataExtractCall(String name, String annotationId, String outFolder, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/create/epub" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/fileattachment/{annotationId}/data/extract" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (outFolder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("outFolder", outFolder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (dstFolder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -33628,51 +37076,52 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putEpubInStorageToPdfValidateBeforeCall(String name, String srcPath, String storage, String dstFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putFileAttachmentAnnotationDataExtractValidateBeforeCall(String name, String annotationId, String outFolder, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putEpubInStorageToPdf(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putFileAttachmentAnnotationDataExtract(Async)"); } - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling putEpubInStorageToPdf(Async)"); + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling putFileAttachmentAnnotationDataExtract(Async)"); } - com.squareup.okhttp.Call call = putEpubInStorageToPdfCall(name, srcPath, storage, dstFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putFileAttachmentAnnotationDataExtractCall(name, annotationId, outFolder, storage, folder, progressListener, progressRequestListener); return call; } /** - * Convert EPUB file (located on storage) to PDF format and upload resulting file to storage. + * Extract document FileAttachment annotation content to storage * * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) + * @param annotationId The annotation ID. (required) + * @param outFolder The output folder. (optional) * @param storage The document storage. (optional) - * @param dstFolder The destination document folder. (optional) + * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putEpubInStorageToPdf(String name, String srcPath, String storage, String dstFolder) throws ApiException { + public AsposeResponse putFileAttachmentAnnotationDataExtract(String name, String annotationId, String outFolder, String storage, String folder) throws ApiException { try { - ApiResponse resp = putEpubInStorageToPdfWithHttpInfo(name, srcPath, storage, dstFolder); + ApiResponse resp = putFileAttachmentAnnotationDataExtractWithHttpInfo(name, annotationId, outFolder, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putEpubInStorageToPdfWithHttpInfo(name, srcPath, storage, dstFolder); + apiClient.requestToken(); + ApiResponse resp = putFileAttachmentAnnotationDataExtractWithHttpInfo(name, annotationId, outFolder, storage, folder); return resp.getData(); } throw ex; @@ -33680,33 +37129,35 @@ public AsposeResponse putEpubInStorageToPdf(String name, String srcPath, String } /** - * Convert EPUB file (located on storage) to PDF format and upload resulting file to storage. + * Extract document FileAttachment annotation content to storage * * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) + * @param annotationId The annotation ID. (required) + * @param outFolder The output folder. (optional) * @param storage The document storage. (optional) - * @param dstFolder The destination document folder. (optional) + * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putEpubInStorageToPdfWithHttpInfo(String name, String srcPath, String storage, String dstFolder) throws ApiException { - com.squareup.okhttp.Call call = putEpubInStorageToPdfValidateBeforeCall(name, srcPath, storage, dstFolder, null, null); + public ApiResponse putFileAttachmentAnnotationDataExtractWithHttpInfo(String name, String annotationId, String outFolder, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putFileAttachmentAnnotationDataExtractValidateBeforeCall(name, annotationId, outFolder, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert EPUB file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) + * Extract document FileAttachment annotation content to storage (asynchronously) * * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.epub) (required) + * @param annotationId The annotation ID. (required) + * @param outFolder The output folder. (optional) * @param storage The document storage. (optional) - * @param dstFolder The destination document folder. (optional) + * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putEpubInStorageToPdfAsync(String name, String srcPath, String storage, String dstFolder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putFileAttachmentAnnotationDataExtractAsync(String name, String annotationId, String outFolder, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -33727,14 +37178,16 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putEpubInStorageToPdfValidateBeforeCall(name, srcPath, storage, dstFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putFileAttachmentAnnotationDataExtractValidateBeforeCall(name, annotationId, outFolder, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putFieldsFlatten + * Build call for putFreeTextAnnotation * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -33742,12 +37195,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putFieldsFlattenCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call putFreeTextAnnotationCall(String name, String annotationId, FreeTextAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = annotation; // create path and map variables - String localVarPath = "/pdf/{name}/fields/flatten" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/annotations/freetext/{annotationId}" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -33784,45 +37238,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putFieldsFlattenValidateBeforeCall(String name, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putFreeTextAnnotationValidateBeforeCall(String name, String annotationId, FreeTextAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putFieldsFlatten(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putFreeTextAnnotation(Async)"); + } + + // verify the required parameter 'annotationId' is set + if (annotationId == null) { + throw new ApiException("Missing the required parameter 'annotationId' when calling putFreeTextAnnotation(Async)"); + } + + // verify the required parameter 'annotation' is set + if (annotation == null) { + throw new ApiException("Missing the required parameter 'annotation' when calling putFreeTextAnnotation(Async)"); } - com.squareup.okhttp.Call call = putFieldsFlattenCall(name, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putFreeTextAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); return call; } /** - * Flatten form fields in document. + * Replace document free text annotation * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return AsposeResponse + * @return FreeTextAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putFieldsFlatten(String name, String storage, String folder) throws ApiException { + public FreeTextAnnotationResponse putFreeTextAnnotation(String name, String annotationId, FreeTextAnnotation annotation, String storage, String folder) throws ApiException { try { - ApiResponse resp = putFieldsFlattenWithHttpInfo(name, storage, folder); + ApiResponse resp = putFreeTextAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putFieldsFlattenWithHttpInfo(name, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putFreeTextAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } throw ex; @@ -33830,31 +37296,35 @@ public AsposeResponse putFieldsFlatten(String name, String storage, String folde } /** - * Flatten form fields in document. + * Replace document free text annotation * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<AsposeResponse> + * @return ApiResponse<FreeTextAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putFieldsFlattenWithHttpInfo(String name, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = putFieldsFlattenValidateBeforeCall(name, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putFreeTextAnnotationWithHttpInfo(String name, String annotationId, FreeTextAnnotation annotation, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putFreeTextAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Flatten form fields in document. (asynchronously) + * Replace document free text annotation (asynchronously) * * @param name The document name. (required) + * @param annotationId The annotation ID. (required) + * @param annotation Annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putFieldsFlattenAsync(String name, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putFreeTextAnnotationAsync(String name, String annotationId, FreeTextAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -33875,13 +37345,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putFieldsFlattenValidateBeforeCall(name, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putFreeTextAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putFileAttachmentAnnotation + * Build call for putHighlightAnnotation * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param annotation Annotation. (required) @@ -33892,11 +37362,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putFileAttachmentAnnotationCall(String name, String annotationId, FileAttachmentAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putHighlightAnnotationCall(String name, String annotationId, HighlightAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = annotation; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/fileattachment/{annotationId}" + String localVarPath = "/pdf/{name}/annotations/highlight/{annotationId}" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); @@ -33935,57 +37405,57 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putFileAttachmentAnnotationValidateBeforeCall(String name, String annotationId, FileAttachmentAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putHighlightAnnotationValidateBeforeCall(String name, String annotationId, HighlightAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putFileAttachmentAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putHighlightAnnotation(Async)"); } // verify the required parameter 'annotationId' is set if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling putFileAttachmentAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'annotationId' when calling putHighlightAnnotation(Async)"); } // verify the required parameter 'annotation' is set if (annotation == null) { - throw new ApiException("Missing the required parameter 'annotation' when calling putFileAttachmentAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'annotation' when calling putHighlightAnnotation(Async)"); } - com.squareup.okhttp.Call call = putFileAttachmentAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putHighlightAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); return call; } /** - * Replace document FileAttachment annotation + * Replace document highlight annotation * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param annotation Annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return FileAttachmentAnnotationResponse + * @return HighlightAnnotationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FileAttachmentAnnotationResponse putFileAttachmentAnnotation(String name, String annotationId, FileAttachmentAnnotation annotation, String storage, String folder) throws ApiException { + public HighlightAnnotationResponse putHighlightAnnotation(String name, String annotationId, HighlightAnnotation annotation, String storage, String folder) throws ApiException { try { - ApiResponse resp = putFileAttachmentAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + ApiResponse resp = putHighlightAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putFileAttachmentAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putHighlightAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } throw ex; @@ -33993,24 +37463,24 @@ public FileAttachmentAnnotationResponse putFileAttachmentAnnotation(String name, } /** - * Replace document FileAttachment annotation + * Replace document highlight annotation * * @param name The document name. (required) * @param annotationId The annotation ID. (required) * @param annotation Annotation. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<FileAttachmentAnnotationResponse> + * @return ApiResponse<HighlightAnnotationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putFileAttachmentAnnotationWithHttpInfo(String name, String annotationId, FileAttachmentAnnotation annotation, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = putFileAttachmentAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putHighlightAnnotationWithHttpInfo(String name, String annotationId, HighlightAnnotation annotation, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putHighlightAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Replace document FileAttachment annotation (asynchronously) + * Replace document highlight annotation (asynchronously) * * @param name The document name. (required) * @param annotationId The annotation ID. (required) @@ -34021,7 +37491,7 @@ public ApiResponse putFileAttachmentAnnotation * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putFileAttachmentAnnotationAsync(String name, String annotationId, FileAttachmentAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putHighlightAnnotationAsync(String name, String annotationId, HighlightAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -34042,39 +37512,61 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putFileAttachmentAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putHighlightAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putFileAttachmentAnnotationDataExtract + * Build call for putHtmlInStorageToPdf * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param outFolder The output folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) + * @param htmlFileName Name of HTML file in ZIP. (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putFileAttachmentAnnotationDataExtractCall(String name, String annotationId, String outFolder, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putHtmlInStorageToPdfCall(String name, String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/fileattachment/{annotationId}/data/extract" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + String localVarPath = "/pdf/{name}/create/html" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (outFolder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("outFolder", outFolder)); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (htmlFileName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("htmlFileName", htmlFileName)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (isLandscape != null) + localVarQueryParams.addAll(apiClient.parameterToPair("isLandscape", isLandscape)); + if (marginLeft != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginLeft", marginLeft)); + if (marginBottom != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginBottom", marginBottom)); + if (marginRight != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginRight", marginRight)); + if (marginTop != null) + localVarQueryParams.addAll(apiClient.parameterToPair("marginTop", marginTop)); + if (dstFolder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); Map localVarHeaderParams = new HashMap(); @@ -34104,52 +37596,59 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putFileAttachmentAnnotationDataExtractValidateBeforeCall(String name, String annotationId, String outFolder, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putHtmlInStorageToPdfValidateBeforeCall(String name, String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putFileAttachmentAnnotationDataExtract(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putHtmlInStorageToPdf(Async)"); } - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling putFileAttachmentAnnotationDataExtract(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling putHtmlInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = putFileAttachmentAnnotationDataExtractCall(name, annotationId, outFolder, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putHtmlInStorageToPdfCall(name, srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage, progressListener, progressRequestListener); return call; } /** - * Extract document FileAttachment annotation content to storage + * Convert HTML file (located on storage) to PDF format and upload resulting file to storage. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param outFolder The output folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) + * @param htmlFileName Name of HTML file in ZIP. (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putFileAttachmentAnnotationDataExtract(String name, String annotationId, String outFolder, String storage, String folder) throws ApiException { + public AsposeResponse putHtmlInStorageToPdf(String name, String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String dstFolder, String storage) throws ApiException { try { - ApiResponse resp = putFileAttachmentAnnotationDataExtractWithHttpInfo(name, annotationId, outFolder, storage, folder); + ApiResponse resp = putHtmlInStorageToPdfWithHttpInfo(name, srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putFileAttachmentAnnotationDataExtractWithHttpInfo(name, annotationId, outFolder, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putHtmlInStorageToPdfWithHttpInfo(name, srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage); return resp.getData(); } throw ex; @@ -34157,35 +37656,49 @@ public AsposeResponse putFileAttachmentAnnotationDataExtract(String name, String } /** - * Extract document FileAttachment annotation content to storage + * Convert HTML file (located on storage) to PDF format and upload resulting file to storage. * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param outFolder The output folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) + * @param htmlFileName Name of HTML file in ZIP. (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putFileAttachmentAnnotationDataExtractWithHttpInfo(String name, String annotationId, String outFolder, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = putFileAttachmentAnnotationDataExtractValidateBeforeCall(name, annotationId, outFolder, storage, folder, null, null); + public ApiResponse putHtmlInStorageToPdfWithHttpInfo(String name, String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String dstFolder, String storage) throws ApiException { + com.squareup.okhttp.Call call = putHtmlInStorageToPdfValidateBeforeCall(name, srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document FileAttachment annotation content to storage (asynchronously) + * Convert HTML file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param outFolder The output folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) + * @param htmlFileName Name of HTML file in ZIP. (optional) + * @param height Page height (optional) + * @param width Page width (optional) + * @param isLandscape Is page landscaped (optional) + * @param marginLeft Page margin left (optional) + * @param marginBottom Page margin bottom (optional) + * @param marginRight Page margin right (optional) + * @param marginTop Page margin top (optional) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putFileAttachmentAnnotationDataExtractAsync(String name, String annotationId, String outFolder, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putHtmlInStorageToPdfAsync(String name, String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String dstFolder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -34206,37 +37719,45 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putFileAttachmentAnnotationDataExtractValidateBeforeCall(name, annotationId, outFolder, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putHtmlInStorageToPdfValidateBeforeCall(name, srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putFreeTextAnnotation + * Build call for putImageExtractAsGif * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putFreeTextAnnotationCall(String name, String annotationId, FreeTextAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotation; + public com.squareup.okhttp.Call putImageExtractAsGifCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/freetext/{annotationId}" + String localVarPath = "/pdf/{name}/images/{imageId}/extract/gif" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (destFolder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destFolder", destFolder)); Map localVarHeaderParams = new HashMap(); @@ -34266,57 +37787,54 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putFreeTextAnnotationValidateBeforeCall(String name, String annotationId, FreeTextAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImageExtractAsGifValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putFreeTextAnnotation(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling putFreeTextAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImageExtractAsGif(Async)"); } - // verify the required parameter 'annotation' is set - if (annotation == null) { - throw new ApiException("Missing the required parameter 'annotation' when calling putFreeTextAnnotation(Async)"); + // verify the required parameter 'imageId' is set + if (imageId == null) { + throw new ApiException("Missing the required parameter 'imageId' when calling putImageExtractAsGif(Async)"); } - com.squareup.okhttp.Call call = putFreeTextAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImageExtractAsGifCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); return call; } /** - * Replace document free text annotation + * Extract document image in GIF format to folder * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return FreeTextAnnotationResponse + * @param destFolder The document folder. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public FreeTextAnnotationResponse putFreeTextAnnotation(String name, String annotationId, FreeTextAnnotation annotation, String storage, String folder) throws ApiException { + public AsposeResponse putImageExtractAsGif(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { try { - ApiResponse resp = putFreeTextAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + ApiResponse resp = putImageExtractAsGifWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putFreeTextAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putImageExtractAsGifWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); return resp.getData(); } throw ex; @@ -34324,35 +37842,39 @@ public FreeTextAnnotationResponse putFreeTextAnnotation(String name, String anno } /** - * Replace document free text annotation + * Extract document image in GIF format to folder * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<FreeTextAnnotationResponse> + * @param destFolder The document folder. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putFreeTextAnnotationWithHttpInfo(String name, String annotationId, FreeTextAnnotation annotation, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = putFreeTextAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putImageExtractAsGifWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + com.squareup.okhttp.Call call = putImageExtractAsGifValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Replace document free text annotation (asynchronously) + * Extract document image in GIF format to folder (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putFreeTextAnnotationAsync(String name, String annotationId, FreeTextAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImageExtractAsGifAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -34373,37 +37895,45 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putFreeTextAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putImageExtractAsGifValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putHighlightAnnotation + * Build call for putImageExtractAsJpeg * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putHighlightAnnotationCall(String name, String annotationId, HighlightAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = annotation; + public com.squareup.okhttp.Call putImageExtractAsJpegCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/annotations/highlight/{annotationId}" + String localVarPath = "/pdf/{name}/images/{imageId}/extract/jpeg" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "annotationId" + "\\}", apiClient.escapeString(annotationId.toString())); + .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (destFolder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destFolder", destFolder)); Map localVarHeaderParams = new HashMap(); @@ -34433,57 +37963,54 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putHighlightAnnotationValidateBeforeCall(String name, String annotationId, HighlightAnnotation annotation, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImageExtractAsJpegValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putHighlightAnnotation(Async)"); - } - - // verify the required parameter 'annotationId' is set - if (annotationId == null) { - throw new ApiException("Missing the required parameter 'annotationId' when calling putHighlightAnnotation(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImageExtractAsJpeg(Async)"); } - // verify the required parameter 'annotation' is set - if (annotation == null) { - throw new ApiException("Missing the required parameter 'annotation' when calling putHighlightAnnotation(Async)"); + // verify the required parameter 'imageId' is set + if (imageId == null) { + throw new ApiException("Missing the required parameter 'imageId' when calling putImageExtractAsJpeg(Async)"); } - com.squareup.okhttp.Call call = putHighlightAnnotationCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImageExtractAsJpegCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); return call; } /** - * Replace document highlight annotation + * Extract document image in JPEG format to folder * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return HighlightAnnotationResponse + * @param destFolder The document folder. (optional) + * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public HighlightAnnotationResponse putHighlightAnnotation(String name, String annotationId, HighlightAnnotation annotation, String storage, String folder) throws ApiException { + public AsposeResponse putImageExtractAsJpeg(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { try { - ApiResponse resp = putHighlightAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + ApiResponse resp = putImageExtractAsJpegWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putHighlightAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); + apiClient.requestToken(); + ApiResponse resp = putImageExtractAsJpegWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); return resp.getData(); } throw ex; @@ -34491,35 +38018,39 @@ public HighlightAnnotationResponse putHighlightAnnotation(String name, String an } /** - * Replace document highlight annotation + * Extract document image in JPEG format to folder * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @return ApiResponse<HighlightAnnotationResponse> + * @param destFolder The document folder. (optional) + * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putHighlightAnnotationWithHttpInfo(String name, String annotationId, HighlightAnnotation annotation, String storage, String folder) throws ApiException { - com.squareup.okhttp.Call call = putHighlightAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse putImageExtractAsJpegWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + com.squareup.okhttp.Call call = putImageExtractAsJpegValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Replace document highlight annotation (asynchronously) + * Extract document image in JPEG format to folder (asynchronously) * * @param name The document name. (required) - * @param annotationId The annotation ID. (required) - * @param annotation Annotation. (required) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putHighlightAnnotationAsync(String name, String annotationId, HighlightAnnotation annotation, String storage, String folder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImageExtractAsJpegAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -34540,61 +38071,45 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putHighlightAnnotationValidateBeforeCall(name, annotationId, annotation, storage, folder, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = putImageExtractAsJpegValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putHtmlInStorageToPdf + * Build call for putImageExtractAsPng * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) - * @param htmlFileName Name of HTML file in ZIP. (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) - * @param dstFolder The destination document folder. (optional) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putHtmlInStorageToPdfCall(String name, String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putImageExtractAsPngCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/create/html" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/images/{imageId}/extract/png" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); - if (htmlFileName != null) - localVarQueryParams.addAll(apiClient.parameterToPair("htmlFileName", htmlFileName)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (width != null) localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (isLandscape != null) - localVarQueryParams.addAll(apiClient.parameterToPair("isLandscape", isLandscape)); - if (marginLeft != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginLeft", marginLeft)); - if (marginBottom != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginBottom", marginBottom)); - if (marginRight != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginRight", marginRight)); - if (marginTop != null) - localVarQueryParams.addAll(apiClient.parameterToPair("marginTop", marginTop)); - if (dstFolder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (destFolder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destFolder", destFolder)); Map localVarHeaderParams = new HashMap(); @@ -34624,59 +38139,54 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putHtmlInStorageToPdfValidateBeforeCall(String name, String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImageExtractAsPngValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putHtmlInStorageToPdf(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImageExtractAsPng(Async)"); } - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling putHtmlInStorageToPdf(Async)"); + // verify the required parameter 'imageId' is set + if (imageId == null) { + throw new ApiException("Missing the required parameter 'imageId' when calling putImageExtractAsPng(Async)"); } - com.squareup.okhttp.Call call = putHtmlInStorageToPdfCall(name, srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImageExtractAsPngCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); return call; } /** - * Convert HTML file (located on storage) to PDF format and upload resulting file to storage. + * Extract document image in PNG format to folder * * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) - * @param htmlFileName Name of HTML file in ZIP. (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) - * @param dstFolder The destination document folder. (optional) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putHtmlInStorageToPdf(String name, String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String dstFolder, String storage) throws ApiException { + public AsposeResponse putImageExtractAsPng(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { try { - ApiResponse resp = putHtmlInStorageToPdfWithHttpInfo(name, srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage); + ApiResponse resp = putImageExtractAsPngWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putHtmlInStorageToPdfWithHttpInfo(name, srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage); + apiClient.requestToken(); + ApiResponse resp = putImageExtractAsPngWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); return resp.getData(); } throw ex; @@ -34684,49 +38194,39 @@ public AsposeResponse putHtmlInStorageToPdf(String name, String srcPath, String } /** - * Convert HTML file (located on storage) to PDF format and upload resulting file to storage. + * Extract document image in PNG format to folder * * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) - * @param htmlFileName Name of HTML file in ZIP. (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) - * @param dstFolder The destination document folder. (optional) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putHtmlInStorageToPdfWithHttpInfo(String name, String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String dstFolder, String storage) throws ApiException { - com.squareup.okhttp.Call call = putHtmlInStorageToPdfValidateBeforeCall(name, srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage, null, null); + public ApiResponse putImageExtractAsPngWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + com.squareup.okhttp.Call call = putImageExtractAsPngValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert HTML file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) + * Extract document image in PNG format to folder (asynchronously) * * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.zip) (required) - * @param htmlFileName Name of HTML file in ZIP. (optional) - * @param height Page height (optional) - * @param width Page width (optional) - * @param isLandscape Is page landscaped (optional) - * @param marginLeft Page margin left (optional) - * @param marginBottom Page margin bottom (optional) - * @param marginRight Page margin right (optional) - * @param marginTop Page margin top (optional) - * @param dstFolder The destination document folder. (optional) + * @param imageId Image ID. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putHtmlInStorageToPdfAsync(String name, String srcPath, String htmlFileName, Double height, Double width, Boolean isLandscape, Double marginLeft, Double marginBottom, Double marginRight, Double marginTop, String dstFolder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImageExtractAsPngAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -34747,17 +38247,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putHtmlInStorageToPdfValidateBeforeCall(name, srcPath, htmlFileName, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImageExtractAsPngValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putImageExtractAsGif + * Build call for putImageExtractAsTiff * @param name The document name. (required) * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) @@ -34766,11 +38266,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putImageExtractAsGifCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putImageExtractAsTiffCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/images/{imageId}/extract/gif" + String localVarPath = "/pdf/{name}/images/{imageId}/extract/tiff" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); @@ -34815,54 +38315,54 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putImageExtractAsGifValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImageExtractAsTiffValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putImageExtractAsGif(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImageExtractAsTiff(Async)"); } // verify the required parameter 'imageId' is set if (imageId == null) { - throw new ApiException("Missing the required parameter 'imageId' when calling putImageExtractAsGif(Async)"); + throw new ApiException("Missing the required parameter 'imageId' when calling putImageExtractAsTiff(Async)"); } - com.squareup.okhttp.Call call = putImageExtractAsGifCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImageExtractAsTiffCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); return call; } /** - * Extract document image in GIF format to folder + * Extract document image in TIFF format to folder * * @param name The document name. (required) * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putImageExtractAsGif(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + public AsposeResponse putImageExtractAsTiff(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { try { - ApiResponse resp = putImageExtractAsGifWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); + ApiResponse resp = putImageExtractAsTiffWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putImageExtractAsGifWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); + apiClient.requestToken(); + ApiResponse resp = putImageExtractAsTiffWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); return resp.getData(); } throw ex; @@ -34870,31 +38370,31 @@ public AsposeResponse putImageExtractAsGif(String name, String imageId, Integer } /** - * Extract document image in GIF format to folder + * Extract document image in TIFF format to folder * * @param name The document name. (required) * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putImageExtractAsGifWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { - com.squareup.okhttp.Call call = putImageExtractAsGifValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, null, null); + public ApiResponse putImageExtractAsTiffWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + com.squareup.okhttp.Call call = putImageExtractAsTiffValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document image in GIF format to folder (asynchronously) + * Extract document image in TIFF format to folder (asynchronously) * * @param name The document name. (required) * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) @@ -34902,7 +38402,7 @@ public ApiResponse putImageExtractAsGifWithHttpInfo(String name, * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putImageExtractAsGifAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImageExtractAsTiffAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -34923,45 +38423,35 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putImageExtractAsGifValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImageExtractAsTiffValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putImageExtractAsJpeg + * Build call for putImageInStorageToPdf * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param imageTemplates ImageTemplatesRequestImage templates (required) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putImageExtractAsJpegCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call putImageInStorageToPdfCall(String name, ImageTemplatesRequest imageTemplates, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = imageTemplates; // create path and map variables - String localVarPath = "/pdf/{name}/images/{imageId}/extract/jpeg" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); + String localVarPath = "/pdf/{name}/create/images" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); + if (dstFolder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); - if (destFolder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("destFolder", destFolder)); Map localVarHeaderParams = new HashMap(); @@ -34991,54 +38481,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putImageExtractAsJpegValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImageInStorageToPdfValidateBeforeCall(String name, ImageTemplatesRequest imageTemplates, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putImageExtractAsJpeg(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImageInStorageToPdf(Async)"); } - // verify the required parameter 'imageId' is set - if (imageId == null) { - throw new ApiException("Missing the required parameter 'imageId' when calling putImageExtractAsJpeg(Async)"); + // verify the required parameter 'imageTemplates' is set + if (imageTemplates == null) { + throw new ApiException("Missing the required parameter 'imageTemplates' when calling putImageInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = putImageExtractAsJpegCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImageInStorageToPdfCall(name, imageTemplates, dstFolder, storage, progressListener, progressRequestListener); return call; } /** - * Extract document image in JPEG format to folder + * Convert image file (located on storage) to PDF format and upload resulting file to storage. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param imageTemplates ImageTemplatesRequestImage templates (required) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putImageExtractAsJpeg(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + public AsposeResponse putImageInStorageToPdf(String name, ImageTemplatesRequest imageTemplates, String dstFolder, String storage) throws ApiException { try { - ApiResponse resp = putImageExtractAsJpegWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); + ApiResponse resp = putImageInStorageToPdfWithHttpInfo(name, imageTemplates, dstFolder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putImageExtractAsJpegWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); + apiClient.requestToken(); + ApiResponse resp = putImageInStorageToPdfWithHttpInfo(name, imageTemplates, dstFolder, storage); return resp.getData(); } throw ex; @@ -35046,39 +38533,33 @@ public AsposeResponse putImageExtractAsJpeg(String name, String imageId, Integer } /** - * Extract document image in JPEG format to folder + * Convert image file (located on storage) to PDF format and upload resulting file to storage. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param imageTemplates ImageTemplatesRequestImage templates (required) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putImageExtractAsJpegWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { - com.squareup.okhttp.Call call = putImageExtractAsJpegValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, null, null); + public ApiResponse putImageInStorageToPdfWithHttpInfo(String name, ImageTemplatesRequest imageTemplates, String dstFolder, String storage) throws ApiException { + com.squareup.okhttp.Call call = putImageInStorageToPdfValidateBeforeCall(name, imageTemplates, dstFolder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document image in JPEG format to folder (asynchronously) + * Convert image file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param imageTemplates ImageTemplatesRequestImage templates (required) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putImageExtractAsJpegAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImageInStorageToPdfAsync(String name, ImageTemplatesRequest imageTemplates, String dstFolder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -35099,17 +38580,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putImageExtractAsJpegValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImageInStorageToPdfValidateBeforeCall(name, imageTemplates, dstFolder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putImageExtractAsPng + * Build call for putImagesExtractAsGif * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) @@ -35118,13 +38599,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putImageExtractAsPngCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putImagesExtractAsGifCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/images/{imageId}/extract/png" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/images/extract/gif" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -35167,54 +38648,54 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putImageExtractAsPngValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImagesExtractAsGifValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putImageExtractAsPng(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImagesExtractAsGif(Async)"); } - // verify the required parameter 'imageId' is set - if (imageId == null) { - throw new ApiException("Missing the required parameter 'imageId' when calling putImageExtractAsPng(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling putImagesExtractAsGif(Async)"); } - com.squareup.okhttp.Call call = putImageExtractAsPngCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImagesExtractAsGifCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); return call; } /** - * Extract document image in PNG format to folder + * Extract document images in GIF format to folder. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putImageExtractAsPng(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + public AsposeResponse putImagesExtractAsGif(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { try { - ApiResponse resp = putImageExtractAsPngWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); + ApiResponse resp = putImagesExtractAsGifWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putImageExtractAsPngWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); + apiClient.requestToken(); + ApiResponse resp = putImagesExtractAsGifWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); return resp.getData(); } throw ex; @@ -35222,31 +38703,31 @@ public AsposeResponse putImageExtractAsPng(String name, String imageId, Integer } /** - * Extract document image in PNG format to folder + * Extract document images in GIF format to folder. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putImageExtractAsPngWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { - com.squareup.okhttp.Call call = putImageExtractAsPngValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, null, null); + public ApiResponse putImagesExtractAsGifWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + com.squareup.okhttp.Call call = putImagesExtractAsGifValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document image in PNG format to folder (asynchronously) + * Extract document images in GIF format to folder. (asynchronously) * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) @@ -35254,7 +38735,7 @@ public ApiResponse putImageExtractAsPngWithHttpInfo(String name, * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putImageExtractAsPngAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImagesExtractAsGifAsync(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -35275,17 +38756,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putImageExtractAsPngValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImagesExtractAsGifValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putImageExtractAsTiff + * Build call for putImagesExtractAsJpeg * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) @@ -35294,13 +38775,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putImageExtractAsTiffCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putImagesExtractAsJpegCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/images/{imageId}/extract/tiff" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/images/extract/jpeg" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "imageId" + "\\}", apiClient.escapeString(imageId.toString())); + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -35343,54 +38824,54 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putImageExtractAsTiffValidateBeforeCall(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImagesExtractAsJpegValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putImageExtractAsTiff(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImagesExtractAsJpeg(Async)"); } - // verify the required parameter 'imageId' is set - if (imageId == null) { - throw new ApiException("Missing the required parameter 'imageId' when calling putImageExtractAsTiff(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling putImagesExtractAsJpeg(Async)"); } - com.squareup.okhttp.Call call = putImageExtractAsTiffCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImagesExtractAsJpegCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); return call; } /** - * Extract document image in TIFF format to folder + * Extract document images in JPEG format to folder. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putImageExtractAsTiff(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + public AsposeResponse putImagesExtractAsJpeg(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { try { - ApiResponse resp = putImageExtractAsTiffWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); + ApiResponse resp = putImagesExtractAsJpegWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putImageExtractAsTiffWithHttpInfo(name, imageId, width, height, storage, folder, destFolder); + apiClient.requestToken(); + ApiResponse resp = putImagesExtractAsJpegWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); return resp.getData(); } throw ex; @@ -35398,31 +38879,31 @@ public AsposeResponse putImageExtractAsTiff(String name, String imageId, Integer } /** - * Extract document image in TIFF format to folder + * Extract document images in JPEG format to folder. * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putImageExtractAsTiffWithHttpInfo(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { - com.squareup.okhttp.Call call = putImageExtractAsTiffValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, null, null); + public ApiResponse putImagesExtractAsJpegWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + com.squareup.okhttp.Call call = putImagesExtractAsJpegValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document image in TIFF format to folder (asynchronously) + * Extract document images in JPEG format to folder. (asynchronously) * * @param name The document name. (required) - * @param imageId Image ID. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) @@ -35430,7 +38911,7 @@ public ApiResponse putImageExtractAsTiffWithHttpInfo(String name * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putImageExtractAsTiffAsync(String name, String imageId, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImagesExtractAsJpegAsync(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -35451,35 +38932,45 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putImageExtractAsTiffValidateBeforeCall(name, imageId, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImagesExtractAsJpegValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putImageInStorageToPdf + * Build call for putImagesExtractAsPng * @param name The document name. (required) - * @param imageTemplates Image templates (required) - * @param dstFolder The destination document folder. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putImageInStorageToPdfCall(String name, ImageTemplatesRequest imageTemplates, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = imageTemplates; + public com.squareup.okhttp.Call putImagesExtractAsPngCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/create/images" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/{name}/pages/{pageNumber}/images/extract/png" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) + .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (dstFolder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); + if (width != null) + localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); + if (height != null) + localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (destFolder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("destFolder", destFolder)); Map localVarHeaderParams = new HashMap(); @@ -35509,51 +39000,54 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putImageInStorageToPdfValidateBeforeCall(String name, ImageTemplatesRequest imageTemplates, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImagesExtractAsPngValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putImageInStorageToPdf(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImagesExtractAsPng(Async)"); } - // verify the required parameter 'imageTemplates' is set - if (imageTemplates == null) { - throw new ApiException("Missing the required parameter 'imageTemplates' when calling putImageInStorageToPdf(Async)"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) { + throw new ApiException("Missing the required parameter 'pageNumber' when calling putImagesExtractAsPng(Async)"); } - com.squareup.okhttp.Call call = putImageInStorageToPdfCall(name, imageTemplates, dstFolder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImagesExtractAsPngCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); return call; } /** - * Convert image file (located on storage) to PDF format and upload resulting file to storage. + * Extract document images in PNG format to folder. * * @param name The document name. (required) - * @param imageTemplates Image templates (required) - * @param dstFolder The destination document folder. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putImageInStorageToPdf(String name, ImageTemplatesRequest imageTemplates, String dstFolder, String storage) throws ApiException { + public AsposeResponse putImagesExtractAsPng(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { try { - ApiResponse resp = putImageInStorageToPdfWithHttpInfo(name, imageTemplates, dstFolder, storage); + ApiResponse resp = putImagesExtractAsPngWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putImageInStorageToPdfWithHttpInfo(name, imageTemplates, dstFolder, storage); + apiClient.requestToken(); + ApiResponse resp = putImagesExtractAsPngWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); return resp.getData(); } throw ex; @@ -35561,33 +39055,39 @@ public AsposeResponse putImageInStorageToPdf(String name, ImageTemplatesRequest } /** - * Convert image file (located on storage) to PDF format and upload resulting file to storage. + * Extract document images in PNG format to folder. * * @param name The document name. (required) - * @param imageTemplates Image templates (required) - * @param dstFolder The destination document folder. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putImageInStorageToPdfWithHttpInfo(String name, ImageTemplatesRequest imageTemplates, String dstFolder, String storage) throws ApiException { - com.squareup.okhttp.Call call = putImageInStorageToPdfValidateBeforeCall(name, imageTemplates, dstFolder, storage, null, null); + public ApiResponse putImagesExtractAsPngWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + com.squareup.okhttp.Call call = putImagesExtractAsPngValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert image file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) + * Extract document images in PNG format to folder. (asynchronously) * * @param name The document name. (required) - * @param imageTemplates Image templates (required) - * @param dstFolder The destination document folder. (optional) + * @param pageNumber The page number. (required) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) + * @param folder The document folder. (optional) + * @param destFolder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putImageInStorageToPdfAsync(String name, ImageTemplatesRequest imageTemplates, String dstFolder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImagesExtractAsPngAsync(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -35608,17 +39108,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putImageInStorageToPdfValidateBeforeCall(name, imageTemplates, dstFolder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImagesExtractAsPngValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putImagesExtractAsGif + * Build call for putImagesExtractAsTiff * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) @@ -35627,11 +39127,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putImagesExtractAsGifCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putImagesExtractAsTiffCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/images/extract/gif" + String localVarPath = "/pdf/{name}/pages/{pageNumber}/images/extract/tiff" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); @@ -35676,54 +39176,54 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putImagesExtractAsGifValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImagesExtractAsTiffValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putImagesExtractAsGif(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImagesExtractAsTiff(Async)"); } // verify the required parameter 'pageNumber' is set if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling putImagesExtractAsGif(Async)"); + throw new ApiException("Missing the required parameter 'pageNumber' when calling putImagesExtractAsTiff(Async)"); } - com.squareup.okhttp.Call call = putImagesExtractAsGifCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImagesExtractAsTiffCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); return call; } /** - * Extract document images in GIF format to folder. + * Extract document images in TIFF format to folder. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putImagesExtractAsGif(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + public AsposeResponse putImagesExtractAsTiff(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { try { - ApiResponse resp = putImagesExtractAsGifWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); + ApiResponse resp = putImagesExtractAsTiffWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putImagesExtractAsGifWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); + apiClient.requestToken(); + ApiResponse resp = putImagesExtractAsTiffWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); return resp.getData(); } throw ex; @@ -35731,31 +39231,31 @@ public AsposeResponse putImagesExtractAsGif(String name, Integer pageNumber, Int } /** - * Extract document images in GIF format to folder. + * Extract document images in TIFF format to folder. * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putImagesExtractAsGifWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { - com.squareup.okhttp.Call call = putImagesExtractAsGifValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, null, null); + public ApiResponse putImagesExtractAsTiffWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + com.squareup.okhttp.Call call = putImagesExtractAsTiffValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document images in GIF format to folder. (asynchronously) + * Extract document images in TIFF format to folder. (asynchronously) * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param destFolder The document folder. (optional) @@ -35763,7 +39263,7 @@ public ApiResponse putImagesExtractAsGifWithHttpInfo(String name * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putImagesExtractAsGifAsync(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImagesExtractAsTiffAsync(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -35784,45 +39284,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putImagesExtractAsGifValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImagesExtractAsTiffValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putImagesExtractAsJpeg + * Build call for putImportFieldsFromFdfInStorage * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param storage (optional) + * @param fdfFilePath The Fdf file path. (required) + * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putImagesExtractAsJpegCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putImportFieldsFromFdfInStorageCall(String name, String fdfFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/images/extract/jpeg" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/{name}/import/fdf" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); + if (fdfFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("fdfFilePath", fdfFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); - if (destFolder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("destFolder", destFolder)); Map localVarHeaderParams = new HashMap(); @@ -35852,54 +39344,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putImagesExtractAsJpegValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImportFieldsFromFdfInStorageValidateBeforeCall(String name, String fdfFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putImagesExtractAsJpeg(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImportFieldsFromFdfInStorage(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling putImagesExtractAsJpeg(Async)"); + // verify the required parameter 'fdfFilePath' is set + if (fdfFilePath == null) { + throw new ApiException("Missing the required parameter 'fdfFilePath' when calling putImportFieldsFromFdfInStorage(Async)"); } - com.squareup.okhttp.Call call = putImagesExtractAsJpegCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImportFieldsFromFdfInStorageCall(name, fdfFilePath, storage, folder, progressListener, progressRequestListener); return call; } /** - * Extract document images in JPEG format to folder. + * Update fields from FDF file in storage. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param storage (optional) + * @param fdfFilePath The Fdf file path. (required) + * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putImagesExtractAsJpeg(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + public AsposeResponse putImportFieldsFromFdfInStorage(String name, String fdfFilePath, String storage, String folder) throws ApiException { try { - ApiResponse resp = putImagesExtractAsJpegWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); + ApiResponse resp = putImportFieldsFromFdfInStorageWithHttpInfo(name, fdfFilePath, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putImagesExtractAsJpegWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); + apiClient.requestToken(); + ApiResponse resp = putImportFieldsFromFdfInStorageWithHttpInfo(name, fdfFilePath, storage, folder); return resp.getData(); } throw ex; @@ -35907,39 +39396,33 @@ public AsposeResponse putImagesExtractAsJpeg(String name, Integer pageNumber, In } /** - * Extract document images in JPEG format to folder. + * Update fields from FDF file in storage. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param storage (optional) + * @param fdfFilePath The Fdf file path. (required) + * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putImagesExtractAsJpegWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { - com.squareup.okhttp.Call call = putImagesExtractAsJpegValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, null, null); + public ApiResponse putImportFieldsFromFdfInStorageWithHttpInfo(String name, String fdfFilePath, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putImportFieldsFromFdfInStorageValidateBeforeCall(name, fdfFilePath, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document images in JPEG format to folder. (asynchronously) + * Update fields from FDF file in storage. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) - * @param storage (optional) + * @param fdfFilePath The Fdf file path. (required) + * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putImagesExtractAsJpegAsync(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImportFieldsFromFdfInStorageAsync(String name, String fdfFilePath, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -35960,45 +39443,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putImagesExtractAsJpegValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImportFieldsFromFdfInStorageValidateBeforeCall(name, fdfFilePath, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putImagesExtractAsPng + * Build call for putImportFieldsFromXfdfInStorage * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param xfdfFilePath The XFDF file path. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putImagesExtractAsPngCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putImportFieldsFromXfdfInStorageCall(String name, String xfdfFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/images/extract/png" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/{name}/import/xfdf" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); + if (xfdfFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("xfdfFilePath", xfdfFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); - if (destFolder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("destFolder", destFolder)); Map localVarHeaderParams = new HashMap(); @@ -36028,54 +39503,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putImagesExtractAsPngValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImportFieldsFromXfdfInStorageValidateBeforeCall(String name, String xfdfFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putImagesExtractAsPng(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImportFieldsFromXfdfInStorage(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling putImagesExtractAsPng(Async)"); + // verify the required parameter 'xfdfFilePath' is set + if (xfdfFilePath == null) { + throw new ApiException("Missing the required parameter 'xfdfFilePath' when calling putImportFieldsFromXfdfInStorage(Async)"); } - com.squareup.okhttp.Call call = putImagesExtractAsPngCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImportFieldsFromXfdfInStorageCall(name, xfdfFilePath, storage, folder, progressListener, progressRequestListener); return call; } /** - * Extract document images in PNG format to folder. + * Update fields from XFDF file in storage. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param xfdfFilePath The XFDF file path. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putImagesExtractAsPng(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + public AsposeResponse putImportFieldsFromXfdfInStorage(String name, String xfdfFilePath, String storage, String folder) throws ApiException { try { - ApiResponse resp = putImagesExtractAsPngWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); + ApiResponse resp = putImportFieldsFromXfdfInStorageWithHttpInfo(name, xfdfFilePath, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putImagesExtractAsPngWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); + apiClient.requestToken(); + ApiResponse resp = putImportFieldsFromXfdfInStorageWithHttpInfo(name, xfdfFilePath, storage, folder); return resp.getData(); } throw ex; @@ -36083,39 +39555,33 @@ public AsposeResponse putImagesExtractAsPng(String name, Integer pageNumber, Int } /** - * Extract document images in PNG format to folder. + * Update fields from XFDF file in storage. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param xfdfFilePath The XFDF file path. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putImagesExtractAsPngWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { - com.squareup.okhttp.Call call = putImagesExtractAsPngValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, null, null); + public ApiResponse putImportFieldsFromXfdfInStorageWithHttpInfo(String name, String xfdfFilePath, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putImportFieldsFromXfdfInStorageValidateBeforeCall(name, xfdfFilePath, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document images in PNG format to folder. (asynchronously) + * Update fields from XFDF file in storage. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param xfdfFilePath The XFDF file path. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putImagesExtractAsPngAsync(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImportFieldsFromXfdfInStorageAsync(String name, String xfdfFilePath, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -36136,45 +39602,37 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putImagesExtractAsPngValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImportFieldsFromXfdfInStorageValidateBeforeCall(name, xfdfFilePath, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putImagesExtractAsTiff + * Build call for putImportFieldsFromXmlInStorage * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param xmlFilePath Full source filename (ex. /folder1/folder2/template.xml) (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putImagesExtractAsTiffCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putImportFieldsFromXmlInStorageCall(String name, String xmlFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/pages/{pageNumber}/images/extract/tiff" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())) - .replaceAll("\\{" + "pageNumber" + "\\}", apiClient.escapeString(pageNumber.toString())); + String localVarPath = "/pdf/{name}/import/xml" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (width != null) - localVarQueryParams.addAll(apiClient.parameterToPair("width", width)); - if (height != null) - localVarQueryParams.addAll(apiClient.parameterToPair("height", height)); + if (xmlFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("xmlFilePath", xmlFilePath)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); if (folder != null) localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); - if (destFolder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("destFolder", destFolder)); Map localVarHeaderParams = new HashMap(); @@ -36204,54 +39662,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putImagesExtractAsTiffValidateBeforeCall(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putImportFieldsFromXmlInStorageValidateBeforeCall(String name, String xmlFilePath, String storage, String folder, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putImagesExtractAsTiff(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putImportFieldsFromXmlInStorage(Async)"); } - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) { - throw new ApiException("Missing the required parameter 'pageNumber' when calling putImagesExtractAsTiff(Async)"); + // verify the required parameter 'xmlFilePath' is set + if (xmlFilePath == null) { + throw new ApiException("Missing the required parameter 'xmlFilePath' when calling putImportFieldsFromXmlInStorage(Async)"); } - com.squareup.okhttp.Call call = putImagesExtractAsTiffCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImportFieldsFromXmlInStorageCall(name, xmlFilePath, storage, folder, progressListener, progressRequestListener); return call; } /** - * Extract document images in TIFF format to folder. + * Update fields from XML file in storage. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param xmlFilePath Full source filename (ex. /folder1/folder2/template.xml) (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putImagesExtractAsTiff(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { + public AsposeResponse putImportFieldsFromXmlInStorage(String name, String xmlFilePath, String storage, String folder) throws ApiException { try { - ApiResponse resp = putImagesExtractAsTiffWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); + ApiResponse resp = putImportFieldsFromXmlInStorageWithHttpInfo(name, xmlFilePath, storage, folder); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putImagesExtractAsTiffWithHttpInfo(name, pageNumber, width, height, storage, folder, destFolder); + apiClient.requestToken(); + ApiResponse resp = putImportFieldsFromXmlInStorageWithHttpInfo(name, xmlFilePath, storage, folder); return resp.getData(); } throw ex; @@ -36259,39 +39714,33 @@ public AsposeResponse putImagesExtractAsTiff(String name, Integer pageNumber, In } /** - * Extract document images in TIFF format to folder. + * Update fields from XML file in storage. * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param xmlFilePath Full source filename (ex. /folder1/folder2/template.xml) (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putImagesExtractAsTiffWithHttpInfo(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder) throws ApiException { - com.squareup.okhttp.Call call = putImagesExtractAsTiffValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, null, null); + public ApiResponse putImportFieldsFromXmlInStorageWithHttpInfo(String name, String xmlFilePath, String storage, String folder) throws ApiException { + com.squareup.okhttp.Call call = putImportFieldsFromXmlInStorageValidateBeforeCall(name, xmlFilePath, storage, folder, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Extract document images in TIFF format to folder. (asynchronously) + * Update fields from XML file in storage. (asynchronously) * * @param name The document name. (required) - * @param pageNumber The page number. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param xmlFilePath Full source filename (ex. /folder1/folder2/template.xml) (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) - * @param destFolder The document folder. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putImagesExtractAsTiffAsync(String name, Integer pageNumber, Integer width, Integer height, String storage, String folder, String destFolder, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putImportFieldsFromXmlInStorageAsync(String name, String xmlFilePath, String storage, String folder, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -36312,7 +39761,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putImagesExtractAsTiffValidateBeforeCall(name, pageNumber, width, height, storage, folder, destFolder, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putImportFieldsFromXmlInStorageValidateBeforeCall(name, xmlFilePath, storage, folder, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; @@ -36372,7 +39821,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -36421,7 +39870,7 @@ public InkAnnotationResponse putInkAnnotation(String name, String annotationId, { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putInkAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -36539,7 +39988,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -36582,7 +40031,7 @@ public AsposeResponse putLaTeXInStorageToPdf(String name, String srcPath, String { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putLaTeXInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); return resp.getData(); } @@ -36698,7 +40147,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -36747,7 +40196,7 @@ public LineAnnotationResponse putLineAnnotation(String name, String annotationId { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putLineAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -36865,7 +40314,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -36914,7 +40363,7 @@ public LinkAnnotationResponse putLinkAnnotation(String name, String linkId, Link { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putLinkAnnotationWithHttpInfo(name, linkId, link, storage, folder); return resp.getData(); } @@ -36980,7 +40429,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for putMergeDocuments * @param name Resulting documen name. (required) - * @param mergeDocuments with a list of documents. (optional) + * @param mergeDocuments MergeDocuments with a list of documents. (required) * @param storage Resulting document storage. (optional) * @param folder Resulting document folder. (optional) * @param progressListener Progress listener @@ -37030,7 +40479,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -37042,6 +40491,11 @@ private com.squareup.okhttp.Call putMergeDocumentsValidateBeforeCall(String name throw new ApiException("Missing the required parameter 'name' when calling putMergeDocuments(Async)"); } + // verify the required parameter 'mergeDocuments' is set + if (mergeDocuments == null) { + throw new ApiException("Missing the required parameter 'mergeDocuments' when calling putMergeDocuments(Async)"); + } + com.squareup.okhttp.Call call = putMergeDocumentsCall(name, mergeDocuments, storage, folder, progressListener, progressRequestListener); return call; @@ -37052,7 +40506,7 @@ private com.squareup.okhttp.Call putMergeDocumentsValidateBeforeCall(String name * Merge a list of documents. * * @param name Resulting documen name. (required) - * @param mergeDocuments with a list of documents. (optional) + * @param mergeDocuments MergeDocuments with a list of documents. (required) * @param storage Resulting document storage. (optional) * @param folder Resulting document folder. (optional) * @return DocumentResponse @@ -37068,7 +40522,7 @@ public DocumentResponse putMergeDocuments(String name, MergeDocuments mergeDocum { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putMergeDocumentsWithHttpInfo(name, mergeDocuments, storage, folder); return resp.getData(); } @@ -37080,7 +40534,7 @@ public DocumentResponse putMergeDocuments(String name, MergeDocuments mergeDocum * Merge a list of documents. * * @param name Resulting documen name. (required) - * @param mergeDocuments with a list of documents. (optional) + * @param mergeDocuments MergeDocuments with a list of documents. (required) * @param storage Resulting document storage. (optional) * @param folder Resulting document folder. (optional) * @return ApiResponse<DocumentResponse> @@ -37096,7 +40550,7 @@ public ApiResponse putMergeDocumentsWithHttpInfo(String name, * Merge a list of documents. (asynchronously) * * @param name Resulting documen name. (required) - * @param mergeDocuments with a list of documents. (optional) + * @param mergeDocuments MergeDocuments with a list of documents. (required) * @param storage Resulting document storage. (optional) * @param folder Resulting document folder. (optional) * @param callback The callback to be executed when the API call finishes @@ -37184,7 +40638,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -37227,7 +40681,7 @@ public AsposeResponse putMhtInStorageToPdf(String name, String srcPath, String d { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putMhtInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); return resp.getData(); } @@ -37343,7 +40797,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -37392,7 +40846,7 @@ public MovieAnnotationResponse putMovieAnnotation(String name, String annotation { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putMovieAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -37459,7 +40913,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for putPageAddStamp * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param stamp with data. (required) + * @param stamp Stamp with data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -37510,7 +40964,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -37543,7 +40997,7 @@ private com.squareup.okhttp.Call putPageAddStampValidateBeforeCall(String name, * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param stamp with data. (required) + * @param stamp Stamp with data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse @@ -37559,7 +41013,7 @@ public AsposeResponse putPageAddStamp(String name, Integer pageNumber, Stamp sta { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPageAddStampWithHttpInfo(name, pageNumber, stamp, storage, folder); return resp.getData(); } @@ -37572,7 +41026,7 @@ public AsposeResponse putPageAddStamp(String name, Integer pageNumber, Stamp sta * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param stamp with data. (required) + * @param stamp Stamp with data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> @@ -37589,7 +41043,7 @@ public ApiResponse putPageAddStampWithHttpInfo(String name, Inte * * @param name The document name. (required) * @param pageNumber The page number. (required) - * @param stamp with data. (required) + * @param stamp Stamp with data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes @@ -37627,8 +41081,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener @@ -37685,7 +41139,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -37719,8 +41173,8 @@ private com.squareup.okhttp.Call putPageConvertToBmpValidateBeforeCall(String na * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return AsposeResponse @@ -37736,7 +41190,7 @@ public AsposeResponse putPageConvertToBmp(String name, Integer pageNumber, Strin { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPageConvertToBmpWithHttpInfo(name, pageNumber, outPath, width, height, folder, storage); return resp.getData(); } @@ -37750,8 +41204,8 @@ public AsposeResponse putPageConvertToBmp(String name, Integer pageNumber, Strin * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return ApiResponse<AsposeResponse> @@ -37769,8 +41223,8 @@ public ApiResponse putPageConvertToBmpWithHttpInfo(String name, * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes @@ -37808,8 +41262,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener @@ -37866,7 +41320,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -37900,8 +41354,8 @@ private com.squareup.okhttp.Call putPageConvertToEmfValidateBeforeCall(String na * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return AsposeResponse @@ -37917,7 +41371,7 @@ public AsposeResponse putPageConvertToEmf(String name, Integer pageNumber, Strin { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPageConvertToEmfWithHttpInfo(name, pageNumber, outPath, width, height, folder, storage); return resp.getData(); } @@ -37931,8 +41385,8 @@ public AsposeResponse putPageConvertToEmf(String name, Integer pageNumber, Strin * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return ApiResponse<AsposeResponse> @@ -37950,8 +41404,8 @@ public ApiResponse putPageConvertToEmfWithHttpInfo(String name, * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes @@ -37989,8 +41443,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener @@ -38047,7 +41501,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -38081,8 +41535,8 @@ private com.squareup.okhttp.Call putPageConvertToGifValidateBeforeCall(String na * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return AsposeResponse @@ -38098,7 +41552,7 @@ public AsposeResponse putPageConvertToGif(String name, Integer pageNumber, Strin { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPageConvertToGifWithHttpInfo(name, pageNumber, outPath, width, height, folder, storage); return resp.getData(); } @@ -38112,8 +41566,8 @@ public AsposeResponse putPageConvertToGif(String name, Integer pageNumber, Strin * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return ApiResponse<AsposeResponse> @@ -38131,8 +41585,8 @@ public ApiResponse putPageConvertToGifWithHttpInfo(String name, * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes @@ -38170,8 +41624,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener @@ -38228,7 +41682,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -38262,8 +41716,8 @@ private com.squareup.okhttp.Call putPageConvertToJpegValidateBeforeCall(String n * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return AsposeResponse @@ -38279,7 +41733,7 @@ public AsposeResponse putPageConvertToJpeg(String name, Integer pageNumber, Stri { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPageConvertToJpegWithHttpInfo(name, pageNumber, outPath, width, height, folder, storage); return resp.getData(); } @@ -38293,8 +41747,8 @@ public AsposeResponse putPageConvertToJpeg(String name, Integer pageNumber, Stri * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return ApiResponse<AsposeResponse> @@ -38312,8 +41766,8 @@ public ApiResponse putPageConvertToJpegWithHttpInfo(String name, * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes @@ -38351,8 +41805,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener @@ -38409,7 +41863,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -38443,8 +41897,8 @@ private com.squareup.okhttp.Call putPageConvertToPngValidateBeforeCall(String na * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return AsposeResponse @@ -38460,7 +41914,7 @@ public AsposeResponse putPageConvertToPng(String name, Integer pageNumber, Strin { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPageConvertToPngWithHttpInfo(name, pageNumber, outPath, width, height, folder, storage); return resp.getData(); } @@ -38474,8 +41928,8 @@ public AsposeResponse putPageConvertToPng(String name, Integer pageNumber, Strin * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return ApiResponse<AsposeResponse> @@ -38493,8 +41947,8 @@ public ApiResponse putPageConvertToPngWithHttpInfo(String name, * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes @@ -38532,8 +41986,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener @@ -38590,7 +42044,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -38624,8 +42078,8 @@ private com.squareup.okhttp.Call putPageConvertToTiffValidateBeforeCall(String n * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return AsposeResponse @@ -38641,7 +42095,7 @@ public AsposeResponse putPageConvertToTiff(String name, Integer pageNumber, Stri { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPageConvertToTiffWithHttpInfo(name, pageNumber, outPath, width, height, folder, storage); return resp.getData(); } @@ -38655,8 +42109,8 @@ public AsposeResponse putPageConvertToTiff(String name, Integer pageNumber, Stri * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @return ApiResponse<AsposeResponse> @@ -38674,8 +42128,8 @@ public ApiResponse putPageConvertToTiffWithHttpInfo(String name, * @param name The document name. (required) * @param pageNumber The page number. (required) * @param outPath The out path of result image. (required) - * @param width The converted image width. (optional) - * @param height The converted image height. (optional) + * @param width The converted image width. (optional, default to 0) + * @param height The converted image height. (optional, default to 0) * @param folder The document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes @@ -38763,7 +42217,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -38806,7 +42260,7 @@ public AsposeResponse putPclInStorageToPdf(String name, String srcPath, String d { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPclInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); return resp.getData(); } @@ -38942,7 +42396,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -38987,7 +42441,7 @@ public AsposeResponse putPdfInRequestToDoc(String outPath, Boolean addReturnToLi { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToDocWithHttpInfo(outPath, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, storage, file); return resp.getData(); } @@ -39116,7 +42570,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -39154,7 +42608,7 @@ public AsposeResponse putPdfInRequestToEpub(String outPath, String contentRecogn { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToEpubWithHttpInfo(outPath, contentRecognitionMode, storage, file); return resp.getData(); } @@ -39292,7 +42746,7 @@ public com.squareup.okhttp.Call putPdfInRequestToHtmlCall(String outPath, Intege if (cssClassNamesPrefix != null) localVarQueryParams.addAll(apiClient.parameterToPair("cssClassNamesPrefix", cssClassNamesPrefix)); if (explicitListOfSavedPages != null) - localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("multi", "explicitListOfSavedPages", explicitListOfSavedPages)); + localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("csv", "explicitListOfSavedPages", explicitListOfSavedPages)); if (fontEncodingStrategy != null) localVarQueryParams.addAll(apiClient.parameterToPair("fontEncodingStrategy", fontEncodingStrategy)); if (fontSavingMode != null) @@ -39350,7 +42804,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -39415,7 +42869,7 @@ public AsposeResponse putPdfInRequestToHtml(String outPath, Integer additionalMa { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToHtmlWithHttpInfo(outPath, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, storage, file); return resp.getData(); } @@ -39584,7 +43038,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -39622,7 +43076,7 @@ public AsposeResponse putPdfInRequestToLaTeX(String outPath, Integer pagesCount, { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToLaTeXWithHttpInfo(outPath, pagesCount, storage, file); return resp.getData(); } @@ -39734,7 +43188,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -39771,7 +43225,7 @@ public AsposeResponse putPdfInRequestToMobiXml(String outPath, String storage, F { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToMobiXmlWithHttpInfo(outPath, storage, file); return resp.getData(); } @@ -39884,7 +43338,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -39927,7 +43381,7 @@ public AsposeResponse putPdfInRequestToPdfA(String outPath, String type, String { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToPdfAWithHttpInfo(outPath, type, storage, file); return resp.getData(); } @@ -40045,7 +43499,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -40084,7 +43538,7 @@ public AsposeResponse putPdfInRequestToPptx(String outPath, Boolean separateImag { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToPptxWithHttpInfo(outPath, separateImages, slidesAsImages, storage, file); return resp.getData(); } @@ -40198,7 +43652,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -40235,7 +43689,7 @@ public AsposeResponse putPdfInRequestToSvg(String outPath, String storage, File { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToSvgWithHttpInfo(outPath, storage, file); return resp.getData(); } @@ -40390,7 +43844,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -40442,7 +43896,7 @@ public AsposeResponse putPdfInRequestToTiff(String outPath, Double brightness, S { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToTiffWithHttpInfo(outPath, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, storage, file); return resp.getData(); } @@ -40594,7 +44048,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -40635,7 +44089,7 @@ public AsposeResponse putPdfInRequestToXls(String outPath, Boolean insertBlankCo { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToXlsWithHttpInfo(outPath, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, storage, file); return resp.getData(); } @@ -40765,7 +44219,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -40806,7 +44260,7 @@ public AsposeResponse putPdfInRequestToXlsx(String outPath, Boolean insertBlankC { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToXlsxWithHttpInfo(outPath, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, storage, file); return resp.getData(); } @@ -40924,7 +44378,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -40961,7 +44415,7 @@ public AsposeResponse putPdfInRequestToXml(String outPath, String storage, File { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToXmlWithHttpInfo(outPath, storage, file); return resp.getData(); } @@ -41071,7 +44525,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -41108,7 +44562,7 @@ public AsposeResponse putPdfInRequestToXps(String outPath, String storage, File { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInRequestToXpsWithHttpInfo(outPath, storage, file); return resp.getData(); } @@ -41246,7 +44700,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -41297,7 +44751,7 @@ public AsposeResponse putPdfInStorageToDoc(String name, String outPath, Boolean { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToDocWithHttpInfo(name, outPath, addReturnToLineEnd, format, imageResolutionX, imageResolutionY, maxDistanceBetweenTextLines, mode, recognizeBullets, relativeHorizontalProximity, folder, storage); return resp.getData(); } @@ -41432,7 +44886,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -41476,7 +44930,7 @@ public AsposeResponse putPdfInStorageToEpub(String name, String outPath, String { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToEpubWithHttpInfo(name, outPath, contentRecognitionMode, folder, storage); return resp.getData(); } @@ -41618,7 +45072,7 @@ public com.squareup.okhttp.Call putPdfInStorageToHtmlCall(String name, String ou if (cssClassNamesPrefix != null) localVarQueryParams.addAll(apiClient.parameterToPair("cssClassNamesPrefix", cssClassNamesPrefix)); if (explicitListOfSavedPages != null) - localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("multi", "explicitListOfSavedPages", explicitListOfSavedPages)); + localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("csv", "explicitListOfSavedPages", explicitListOfSavedPages)); if (fontEncodingStrategy != null) localVarQueryParams.addAll(apiClient.parameterToPair("fontEncodingStrategy", fontEncodingStrategy)); if (fontSavingMode != null) @@ -41678,7 +45132,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -41749,7 +45203,7 @@ public AsposeResponse putPdfInStorageToHtml(String name, String outPath, Integer { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToHtmlWithHttpInfo(name, outPath, additionalMarginWidthInPoints, compressSvgGraphicsIfAny, convertMarkedContentToLayers, defaultFontName, documentType, fixedLayout, imageResolution, minimalLineWidth, preventGlyphsGrouping, splitCssIntoPages, splitIntoPages, useZOrder, antialiasingProcessing, cssClassNamesPrefix, explicitListOfSavedPages, fontEncodingStrategy, fontSavingMode, htmlMarkupGenerationMode, lettersPositioningMethod, pagesFlowTypeDependsOnViewersScreenSize, partsEmbeddingMode, rasterImagesSavingMode, removeEmptyAreasOnTopAndBottom, saveShadowedTextsAsTransparentTexts, saveTransparentTexts, specialFolderForAllImages, specialFolderForSvgImages, trySaveTextUnderliningAndStrikeoutingInCss, folder, storage); return resp.getData(); } @@ -41924,7 +45378,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -41968,7 +45422,7 @@ public AsposeResponse putPdfInStorageToLaTeX(String name, String outPath, Intege { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToLaTeXWithHttpInfo(name, outPath, pagesCount, folder, storage); return resp.getData(); } @@ -42086,7 +45540,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -42129,7 +45583,7 @@ public AsposeResponse putPdfInStorageToMobiXml(String name, String outPath, Stri { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToMobiXmlWithHttpInfo(name, outPath, folder, storage); return resp.getData(); } @@ -42248,7 +45702,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -42297,7 +45751,7 @@ public AsposeResponse putPdfInStorageToPdfA(String name, String outPath, String { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToPdfAWithHttpInfo(name, outPath, type, folder, storage); return resp.getData(); } @@ -42421,7 +45875,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -42466,7 +45920,7 @@ public AsposeResponse putPdfInStorageToPptx(String name, String outPath, Boolean { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToPptxWithHttpInfo(name, outPath, separateImages, slidesAsImages, folder, storage); return resp.getData(); } @@ -42586,7 +46040,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -42629,7 +46083,7 @@ public AsposeResponse putPdfInStorageToSvg(String name, String outPath, String f { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToSvgWithHttpInfo(name, outPath, folder, storage); return resp.getData(); } @@ -42790,7 +46244,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -42848,7 +46302,7 @@ public AsposeResponse putPdfInStorageToTiff(String name, String outPath, Double { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToTiffWithHttpInfo(name, outPath, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, folder, storage); return resp.getData(); } @@ -43006,7 +46460,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -43053,7 +46507,7 @@ public AsposeResponse putPdfInStorageToXls(String name, String outPath, Boolean { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToXlsWithHttpInfo(name, outPath, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage); return resp.getData(); } @@ -43189,7 +46643,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -43236,7 +46690,7 @@ public AsposeResponse putPdfInStorageToXlsx(String name, String outPath, Boolean { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToXlsxWithHttpInfo(name, outPath, insertBlankColumnAtFirst, minimizeTheNumberOfWorksheets, scaleFactor, uniformWorksheets, folder, storage); return resp.getData(); } @@ -43360,7 +46814,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -43403,7 +46857,7 @@ public AsposeResponse putPdfInStorageToXml(String name, String outPath, String f { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToXmlWithHttpInfo(name, outPath, folder, storage); return resp.getData(); } @@ -43519,7 +46973,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -43562,7 +47016,7 @@ public AsposeResponse putPdfInStorageToXps(String name, String outPath, String f { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPdfInStorageToXpsWithHttpInfo(name, outPath, folder, storage); return resp.getData(); } @@ -43678,7 +47132,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -43727,7 +47181,7 @@ public PolyLineAnnotationResponse putPolyLineAnnotation(String name, String anno { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPolyLineAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -43845,7 +47299,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -43894,7 +47348,7 @@ public PolygonAnnotationResponse putPolygonAnnotation(String name, String annota { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPolygonAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -44012,7 +47466,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -44061,7 +47515,7 @@ public PopupAnnotationResponse putPopupAnnotation(String name, String annotation { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPopupAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -44127,7 +47581,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for putPrivileges * @param name The document name. (required) - * @param privileges Document privileges. (optional) + * @param privileges Document privileges. DocumentPrivilege (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -44177,7 +47631,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -44189,6 +47643,11 @@ private com.squareup.okhttp.Call putPrivilegesValidateBeforeCall(String name, Do throw new ApiException("Missing the required parameter 'name' when calling putPrivileges(Async)"); } + // verify the required parameter 'privileges' is set + if (privileges == null) { + throw new ApiException("Missing the required parameter 'privileges' when calling putPrivileges(Async)"); + } + com.squareup.okhttp.Call call = putPrivilegesCall(name, privileges, storage, folder, progressListener, progressRequestListener); return call; @@ -44199,7 +47658,7 @@ private com.squareup.okhttp.Call putPrivilegesValidateBeforeCall(String name, Do * Update privilege document. * * @param name The document name. (required) - * @param privileges Document privileges. (optional) + * @param privileges Document privileges. DocumentPrivilege (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return AsposeResponse @@ -44215,7 +47674,7 @@ public AsposeResponse putPrivileges(String name, DocumentPrivilege privileges, S { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPrivilegesWithHttpInfo(name, privileges, storage, folder); return resp.getData(); } @@ -44227,7 +47686,7 @@ public AsposeResponse putPrivileges(String name, DocumentPrivilege privileges, S * Update privilege document. * * @param name The document name. (required) - * @param privileges Document privileges. (optional) + * @param privileges Document privileges. DocumentPrivilege (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<AsposeResponse> @@ -44243,7 +47702,7 @@ public ApiResponse putPrivilegesWithHttpInfo(String name, Docume * Update privilege document. (asynchronously) * * @param name The document name. (required) - * @param privileges Document privileges. (optional) + * @param privileges Document privileges. DocumentPrivilege (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes @@ -44331,7 +47790,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -44374,7 +47833,7 @@ public AsposeResponse putPsInStorageToPdf(String name, String srcPath, String ds { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putPsInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); return resp.getData(); } @@ -44490,7 +47949,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -44539,7 +47998,7 @@ public RedactionAnnotationResponse putRedactionAnnotation(String name, String an { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putRedactionAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -44660,7 +48119,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -44705,7 +48164,7 @@ public ImageResponse putReplaceImage(String name, String imageId, String imageFi { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putReplaceImageWithHttpInfo(name, imageId, imageFilePath, storage, folder, image); return resp.getData(); } @@ -44825,7 +48284,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -44874,7 +48333,7 @@ public ScreenAnnotationResponse putScreenAnnotation(String name, String annotati { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putScreenAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -44994,7 +48453,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -45043,7 +48502,7 @@ public AsposeResponse putScreenAnnotationDataExtract(String name, String annotat { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putScreenAnnotationDataExtractWithHttpInfo(name, annotationId, outFilePath, storage, folder); return resp.getData(); } @@ -45161,7 +48620,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -45199,7 +48658,7 @@ public AsposeResponse putSearchableDocument(String name, String storage, String { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putSearchableDocumentWithHttpInfo(name, storage, folder, lang); return resp.getData(); } @@ -45317,7 +48776,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -45366,7 +48825,7 @@ public DocumentPropertyResponse putSetProperty(String name, String propertyName, { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putSetPropertyWithHttpInfo(name, propertyName, value, storage, folder); return resp.getData(); } @@ -45484,7 +48943,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -45533,7 +48992,7 @@ public SoundAnnotationResponse putSoundAnnotation(String name, String annotation { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putSoundAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -45653,7 +49112,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -45702,7 +49161,7 @@ public AsposeResponse putSoundAnnotationDataExtract(String name, String annotati { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putSoundAnnotationDataExtractWithHttpInfo(name, annotationId, outFilePath, storage, folder); return resp.getData(); } @@ -45820,7 +49279,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -45869,7 +49328,7 @@ public SquareAnnotationResponse putSquareAnnotation(String name, String annotati { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putSquareAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -45987,7 +49446,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -46036,7 +49495,7 @@ public SquigglyAnnotationResponse putSquigglyAnnotation(String name, String anno { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putSquigglyAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -46154,7 +49613,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -46203,7 +49662,7 @@ public StampAnnotationResponse putStampAnnotation(String name, String annotation { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putStampAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -46323,7 +49782,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -46372,7 +49831,7 @@ public AsposeResponse putStampAnnotationDataExtract(String name, String annotati { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putStampAnnotationDataExtractWithHttpInfo(name, annotationId, outFilePath, storage, folder); return resp.getData(); } @@ -46490,7 +49949,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -46539,7 +49998,7 @@ public StrikeOutAnnotationResponse putStrikeOutAnnotation(String name, String an { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putStrikeOutAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -46681,7 +50140,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -46732,7 +50191,7 @@ public AsposeResponse putSvgInStorageToPdf(String name, String srcPath, Boolean { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putSvgInStorageToPdfWithHttpInfo(name, srcPath, adjustPageSize, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage); return resp.getData(); } @@ -46864,7 +50323,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -46913,7 +50372,7 @@ public AsposeResponse putTable(String name, String tableId, Table table, String { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putTableWithHttpInfo(name, tableId, table, storage, folder); return resp.getData(); } @@ -47031,7 +50490,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -47080,7 +50539,7 @@ public TextAnnotationResponse putTextAnnotation(String name, String annotationId { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putTextAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -47198,7 +50657,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -47247,7 +50706,7 @@ public UnderlineAnnotationResponse putUnderlineAnnotation(String name, String an { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putUnderlineAnnotationWithHttpInfo(name, annotationId, annotation, storage, folder); return resp.getData(); } @@ -47314,7 +50773,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for putUpdateField * @param name The document name. (required) * @param fieldName The name of a field to be updated. (required) - * @param field with the field data. (optional) + * @param field Field with the field data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -47365,7 +50824,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -47382,6 +50841,11 @@ private com.squareup.okhttp.Call putUpdateFieldValidateBeforeCall(String name, S throw new ApiException("Missing the required parameter 'fieldName' when calling putUpdateField(Async)"); } + // verify the required parameter 'field' is set + if (field == null) { + throw new ApiException("Missing the required parameter 'field' when calling putUpdateField(Async)"); + } + com.squareup.okhttp.Call call = putUpdateFieldCall(name, fieldName, field, storage, folder, progressListener, progressRequestListener); return call; @@ -47393,7 +50857,7 @@ private com.squareup.okhttp.Call putUpdateFieldValidateBeforeCall(String name, S * * @param name The document name. (required) * @param fieldName The name of a field to be updated. (required) - * @param field with the field data. (optional) + * @param field Field with the field data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return FieldResponse @@ -47409,7 +50873,7 @@ public FieldResponse putUpdateField(String name, String fieldName, Field field, { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putUpdateFieldWithHttpInfo(name, fieldName, field, storage, folder); return resp.getData(); } @@ -47422,7 +50886,7 @@ public FieldResponse putUpdateField(String name, String fieldName, Field field, * * @param name The document name. (required) * @param fieldName The name of a field to be updated. (required) - * @param field with the field data. (optional) + * @param field Field with the field data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<FieldResponse> @@ -47439,7 +50903,7 @@ public ApiResponse putUpdateFieldWithHttpInfo(String name, String * * @param name The document name. (required) * @param fieldName The name of a field to be updated. (required) - * @param field with the field data. (optional) + * @param field Field with the field data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes @@ -47475,7 +50939,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don /** * Build call for putUpdateFields * @param name The document name. (required) - * @param fields with the fields data. (optional) + * @param fields Fields with the fields data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param progressListener Progress listener @@ -47525,7 +50989,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -47537,6 +51001,11 @@ private com.squareup.okhttp.Call putUpdateFieldsValidateBeforeCall(String name, throw new ApiException("Missing the required parameter 'name' when calling putUpdateFields(Async)"); } + // verify the required parameter 'fields' is set + if (fields == null) { + throw new ApiException("Missing the required parameter 'fields' when calling putUpdateFields(Async)"); + } + com.squareup.okhttp.Call call = putUpdateFieldsCall(name, fields, storage, folder, progressListener, progressRequestListener); return call; @@ -47547,7 +51016,7 @@ private com.squareup.okhttp.Call putUpdateFieldsValidateBeforeCall(String name, * Update fields. * * @param name The document name. (required) - * @param fields with the fields data. (optional) + * @param fields Fields with the fields data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return FieldsResponse @@ -47563,7 +51032,7 @@ public FieldsResponse putUpdateFields(String name, Fields fields, String storage { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putUpdateFieldsWithHttpInfo(name, fields, storage, folder); return resp.getData(); } @@ -47575,7 +51044,7 @@ public FieldsResponse putUpdateFields(String name, Fields fields, String storage * Update fields. * * @param name The document name. (required) - * @param fields with the fields data. (optional) + * @param fields Fields with the fields data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @return ApiResponse<FieldsResponse> @@ -47591,7 +51060,7 @@ public ApiResponse putUpdateFieldsWithHttpInfo(String name, Fiel * Update fields. (asynchronously) * * @param name The document name. (required) - * @param fields with the fields data. (optional) + * @param fields Fields with the fields data. (required) * @param storage The document storage. (optional) * @param folder The document folder. (optional) * @param callback The callback to be executed when the API call finishes @@ -47700,7 +51169,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @@ -47750,7 +51219,7 @@ public AsposeResponse putWebInStorageToPdf(String name, String url, Double heigh { if (ex.getCode() == 401) { - apiClient.refreshToken(); + apiClient.requestToken(); ApiResponse resp = putWebInStorageToPdfWithHttpInfo(name, url, height, width, isLandscape, marginLeft, marginBottom, marginRight, marginTop, dstFolder, storage); return resp.getData(); } @@ -47876,45 +51345,365 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call putXfaPdfInRequestToAcroFormValidateBeforeCall(String outPath, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'outPath' is set + if (outPath == null) { + throw new ApiException("Missing the required parameter 'outPath' when calling putXfaPdfInRequestToAcroForm(Async)"); + } + + + com.squareup.okhttp.Call call = putXfaPdfInRequestToAcroFormCall(outPath, storage, file, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document which contatins XFA form (in request content) to PDF with AcroForm and uploads resulting file to storage. + * + * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) + * @param storage The document storage. (optional) + * @param file A file to be converted. (optional) + * @return AsposeResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public AsposeResponse putXfaPdfInRequestToAcroForm(String outPath, String storage, File file) throws ApiException { + try + { + ApiResponse resp = putXfaPdfInRequestToAcroFormWithHttpInfo(outPath, storage, file); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = putXfaPdfInRequestToAcroFormWithHttpInfo(outPath, storage, file); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document which contatins XFA form (in request content) to PDF with AcroForm and uploads resulting file to storage. + * + * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) + * @param storage The document storage. (optional) + * @param file A file to be converted. (optional) + * @return ApiResponse<AsposeResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse putXfaPdfInRequestToAcroFormWithHttpInfo(String outPath, String storage, File file) throws ApiException { + com.squareup.okhttp.Call call = putXfaPdfInRequestToAcroFormValidateBeforeCall(outPath, storage, file, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document which contatins XFA form (in request content) to PDF with AcroForm and uploads resulting file to storage. (asynchronously) + * + * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) + * @param storage The document storage. (optional) + * @param file A file to be converted. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call putXfaPdfInRequestToAcroFormAsync(String outPath, String storage, File file, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = putXfaPdfInRequestToAcroFormValidateBeforeCall(outPath, storage, file, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for putXfaPdfInStorageToAcroForm + * @param name The document name. (required) + * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call putXfaPdfInStorageToAcroFormCall(String name, String outPath, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/convert/xfatoacroform" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (outPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("outPath", outPath)); + if (folder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call putXfaPdfInStorageToAcroFormValidateBeforeCall(String name, String outPath, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling putXfaPdfInStorageToAcroForm(Async)"); + } + + // verify the required parameter 'outPath' is set + if (outPath == null) { + throw new ApiException("Missing the required parameter 'outPath' when calling putXfaPdfInStorageToAcroForm(Async)"); + } + + + com.squareup.okhttp.Call call = putXfaPdfInStorageToAcroFormCall(name, outPath, folder, storage, progressListener, progressRequestListener); + return call; + + } + + /** + * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and uploads resulting file to storage + * + * @param name The document name. (required) + * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return AsposeResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public AsposeResponse putXfaPdfInStorageToAcroForm(String name, String outPath, String folder, String storage) throws ApiException { + try + { + ApiResponse resp = putXfaPdfInStorageToAcroFormWithHttpInfo(name, outPath, folder, storage); + return resp.getData(); + } + catch (ApiException ex) + { + if (ex.getCode() == 401) + { + apiClient.requestToken(); + ApiResponse resp = putXfaPdfInStorageToAcroFormWithHttpInfo(name, outPath, folder, storage); + return resp.getData(); + } + throw ex; + } + } + + /** + * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and uploads resulting file to storage + * + * @param name The document name. (required) + * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @return ApiResponse<AsposeResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse putXfaPdfInStorageToAcroFormWithHttpInfo(String name, String outPath, String folder, String storage) throws ApiException { + com.squareup.okhttp.Call call = putXfaPdfInStorageToAcroFormValidateBeforeCall(name, outPath, folder, storage, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and uploads resulting file to storage (asynchronously) + * + * @param name The document name. (required) + * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) + * @param folder The document folder. (optional) + * @param storage The document storage. (optional) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call putXfaPdfInStorageToAcroFormAsync(String name, String outPath, String folder, String storage, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = putXfaPdfInStorageToAcroFormValidateBeforeCall(name, outPath, folder, storage, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for putXmlInStorageToPdf + * @param name The document name. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) + * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param dstFolder The destination document folder. (optional) + * @param storage The document storage. (optional) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call putXmlInStorageToPdfCall(String name, String srcPath, String xslFilePath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/pdf/{name}/create/xml" + .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (xslFilePath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("xslFilePath", xslFilePath)); + if (dstFolder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); + if (storage != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putXfaPdfInRequestToAcroFormValidateBeforeCall(String outPath, String storage, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putXmlInStorageToPdfValidateBeforeCall(String name, String srcPath, String xslFilePath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'outPath' is set - if (outPath == null) { - throw new ApiException("Missing the required parameter 'outPath' when calling putXfaPdfInRequestToAcroForm(Async)"); + // verify the required parameter 'name' is set + if (name == null) { + throw new ApiException("Missing the required parameter 'name' when calling putXmlInStorageToPdf(Async)"); + } + + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling putXmlInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = putXfaPdfInRequestToAcroFormCall(outPath, storage, file, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putXmlInStorageToPdfCall(name, srcPath, xslFilePath, dstFolder, storage, progressListener, progressRequestListener); return call; } /** - * Converts PDF document which contatins XFA form (in request content) to PDF with AcroForm and uploads resulting file to storage. + * Convert XML file (located on storage) to PDF format and upload resulting file to storage. * - * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) + * @param name The document name. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) + * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param file A file to be converted. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putXfaPdfInRequestToAcroForm(String outPath, String storage, File file) throws ApiException { + public AsposeResponse putXmlInStorageToPdf(String name, String srcPath, String xslFilePath, String dstFolder, String storage) throws ApiException { try { - ApiResponse resp = putXfaPdfInRequestToAcroFormWithHttpInfo(outPath, storage, file); + ApiResponse resp = putXmlInStorageToPdfWithHttpInfo(name, srcPath, xslFilePath, dstFolder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putXfaPdfInRequestToAcroFormWithHttpInfo(outPath, storage, file); + apiClient.requestToken(); + ApiResponse resp = putXmlInStorageToPdfWithHttpInfo(name, srcPath, xslFilePath, dstFolder, storage); return resp.getData(); } throw ex; @@ -47922,31 +51711,35 @@ public AsposeResponse putXfaPdfInRequestToAcroForm(String outPath, String storag } /** - * Converts PDF document which contatins XFA form (in request content) to PDF with AcroForm and uploads resulting file to storage. + * Convert XML file (located on storage) to PDF format and upload resulting file to storage. * - * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) + * @param name The document name. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) + * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param file A file to be converted. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putXfaPdfInRequestToAcroFormWithHttpInfo(String outPath, String storage, File file) throws ApiException { - com.squareup.okhttp.Call call = putXfaPdfInRequestToAcroFormValidateBeforeCall(outPath, storage, file, null, null); + public ApiResponse putXmlInStorageToPdfWithHttpInfo(String name, String srcPath, String xslFilePath, String dstFolder, String storage) throws ApiException { + com.squareup.okhttp.Call call = putXmlInStorageToPdfValidateBeforeCall(name, srcPath, xslFilePath, dstFolder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document which contatins XFA form (in request content) to PDF with AcroForm and uploads resulting file to storage. (asynchronously) + * Convert XML file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) * - * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) + * @param name The document name. (required) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) + * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) - * @param file A file to be converted. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putXfaPdfInRequestToAcroFormAsync(String outPath, String storage, File file, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putXmlInStorageToPdfAsync(String name, String srcPath, String xslFilePath, String dstFolder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -47967,35 +51760,35 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putXfaPdfInRequestToAcroFormValidateBeforeCall(outPath, storage, file, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putXmlInStorageToPdfValidateBeforeCall(name, srcPath, xslFilePath, dstFolder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putXfaPdfInStorageToAcroForm + * Build call for putXpsInStorageToPdf * @param name The document name. (required) - * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) - * @param folder The document folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putXfaPdfInStorageToAcroFormCall(String name, String outPath, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putXpsInStorageToPdfCall(String name, String srcPath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/convert/xfatoacroform" + String localVarPath = "/pdf/{name}/create/xps" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (outPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("outPath", outPath)); - if (folder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("folder", folder)); + if (srcPath != null) + localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); + if (dstFolder != null) + localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); if (storage != null) localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); @@ -48027,51 +51820,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putXfaPdfInStorageToAcroFormValidateBeforeCall(String name, String outPath, String folder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putXpsInStorageToPdfValidateBeforeCall(String name, String srcPath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putXfaPdfInStorageToAcroForm(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putXpsInStorageToPdf(Async)"); } - // verify the required parameter 'outPath' is set - if (outPath == null) { - throw new ApiException("Missing the required parameter 'outPath' when calling putXfaPdfInStorageToAcroForm(Async)"); + // verify the required parameter 'srcPath' is set + if (srcPath == null) { + throw new ApiException("Missing the required parameter 'srcPath' when calling putXpsInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = putXfaPdfInStorageToAcroFormCall(name, outPath, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putXpsInStorageToPdfCall(name, srcPath, dstFolder, storage, progressListener, progressRequestListener); return call; } /** - * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and uploads resulting file to storage + * Convert XPS file (located on storage) to PDF format and upload resulting file to storage. * * @param name The document name. (required) - * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) - * @param folder The document folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putXfaPdfInStorageToAcroForm(String name, String outPath, String folder, String storage) throws ApiException { + public AsposeResponse putXpsInStorageToPdf(String name, String srcPath, String dstFolder, String storage) throws ApiException { try { - ApiResponse resp = putXfaPdfInStorageToAcroFormWithHttpInfo(name, outPath, folder, storage); + ApiResponse resp = putXpsInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putXfaPdfInStorageToAcroFormWithHttpInfo(name, outPath, folder, storage); + apiClient.requestToken(); + ApiResponse resp = putXpsInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); return resp.getData(); } throw ex; @@ -48079,33 +51872,33 @@ public AsposeResponse putXfaPdfInStorageToAcroForm(String name, String outPath, } /** - * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and uploads resulting file to storage + * Convert XPS file (located on storage) to PDF format and upload resulting file to storage. * * @param name The document name. (required) - * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) - * @param folder The document folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putXfaPdfInStorageToAcroFormWithHttpInfo(String name, String outPath, String folder, String storage) throws ApiException { - com.squareup.okhttp.Call call = putXfaPdfInStorageToAcroFormValidateBeforeCall(name, outPath, folder, storage, null, null); + public ApiResponse putXpsInStorageToPdfWithHttpInfo(String name, String srcPath, String dstFolder, String storage) throws ApiException { + com.squareup.okhttp.Call call = putXpsInStorageToPdfValidateBeforeCall(name, srcPath, dstFolder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and uploads resulting file to storage (asynchronously) + * Convert XPS file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) * * @param name The document name. (required) - * @param outPath Full resulting filename (ex. /folder1/folder2/result.pdf) (required) - * @param folder The document folder. (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) + * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putXfaPdfInStorageToAcroFormAsync(String name, String outPath, String folder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putXpsInStorageToPdfAsync(String name, String srcPath, String dstFolder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -48126,16 +51919,15 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putXfaPdfInStorageToAcroFormValidateBeforeCall(name, outPath, folder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putXpsInStorageToPdfValidateBeforeCall(name, srcPath, dstFolder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putXmlInStorageToPdf + * Build call for putXslFoInStorageToPdf * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) - * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xpsfo) (required) * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) * @param progressListener Progress listener @@ -48143,19 +51935,17 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putXmlInStorageToPdfCall(String name, String srcPath, String xslFilePath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call putXslFoInStorageToPdfCall(String name, String srcPath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/create/xml" + String localVarPath = "/pdf/{name}/create/xslfo" .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); if (srcPath != null) localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); - if (xslFilePath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("xslFilePath", xslFilePath)); if (dstFolder != null) localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); if (storage != null) @@ -48189,52 +51979,51 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putXmlInStorageToPdfValidateBeforeCall(String name, String srcPath, String xslFilePath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call putXslFoInStorageToPdfValidateBeforeCall(String name, String srcPath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'name' is set if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putXmlInStorageToPdf(Async)"); + throw new ApiException("Missing the required parameter 'name' when calling putXslFoInStorageToPdf(Async)"); } // verify the required parameter 'srcPath' is set if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling putXmlInStorageToPdf(Async)"); + throw new ApiException("Missing the required parameter 'srcPath' when calling putXslFoInStorageToPdf(Async)"); } - com.squareup.okhttp.Call call = putXmlInStorageToPdfCall(name, srcPath, xslFilePath, dstFolder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putXslFoInStorageToPdfCall(name, srcPath, dstFolder, storage, progressListener, progressRequestListener); return call; } /** - * Convert XML file (located on storage) to PDF format and upload resulting file to storage. + * Convert XslFo file (located on storage) to PDF format and upload resulting file to storage. * * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) - * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xpsfo) (required) * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) * @return AsposeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putXmlInStorageToPdf(String name, String srcPath, String xslFilePath, String dstFolder, String storage) throws ApiException { + public AsposeResponse putXslFoInStorageToPdf(String name, String srcPath, String dstFolder, String storage) throws ApiException { try { - ApiResponse resp = putXmlInStorageToPdfWithHttpInfo(name, srcPath, xslFilePath, dstFolder, storage); + ApiResponse resp = putXslFoInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putXmlInStorageToPdfWithHttpInfo(name, srcPath, xslFilePath, dstFolder, storage); + apiClient.requestToken(); + ApiResponse resp = putXslFoInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); return resp.getData(); } throw ex; @@ -48242,35 +52031,33 @@ public AsposeResponse putXmlInStorageToPdf(String name, String srcPath, String x } /** - * Convert XML file (located on storage) to PDF format and upload resulting file to storage. + * Convert XslFo file (located on storage) to PDF format and upload resulting file to storage. * * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) - * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xpsfo) (required) * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) * @return ApiResponse<AsposeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putXmlInStorageToPdfWithHttpInfo(String name, String srcPath, String xslFilePath, String dstFolder, String storage) throws ApiException { - com.squareup.okhttp.Call call = putXmlInStorageToPdfValidateBeforeCall(name, srcPath, xslFilePath, dstFolder, storage, null, null); + public ApiResponse putXslFoInStorageToPdfWithHttpInfo(String name, String srcPath, String dstFolder, String storage) throws ApiException { + com.squareup.okhttp.Call call = putXslFoInStorageToPdfValidateBeforeCall(name, srcPath, dstFolder, storage, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert XML file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) + * Convert XslFo file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) * * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xml) (required) - * @param xslFilePath Full XSL source filename (ex. /folder1/folder2/template.xsl) (optional) + * @param srcPath Full source filename (ex. /folder1/folder2/template.xpsfo) (required) * @param dstFolder The destination document folder. (optional) * @param storage The document storage. (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putXmlInStorageToPdfAsync(String name, String srcPath, String xslFilePath, String dstFolder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call putXslFoInStorageToPdfAsync(String name, String srcPath, String dstFolder, String storage, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -48291,37 +52078,28 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putXmlInStorageToPdfValidateBeforeCall(name, srcPath, xslFilePath, dstFolder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = putXslFoInStorageToPdfValidateBeforeCall(name, srcPath, dstFolder, storage, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putXpsInStorageToPdf - * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) - * @param dstFolder The destination document folder. (optional) - * @param storage The document storage. (optional) + * Build call for storageExists + * @param storageName Storage name (required) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putXpsInStorageToPdfCall(String name, String srcPath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call storageExistsCall(String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables - String localVarPath = "/pdf/{name}/create/xps" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/storage/{storageName}/exist" + .replaceAll("\\{" + "storageName" + "\\}", apiClient.escapeString(storageName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); - if (dstFolder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); Map localVarHeaderParams = new HashMap(); @@ -48351,51 +52129,43 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; - return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + String[] localVarAuthNames = new String[] { "JWT" }; + return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putXpsInStorageToPdfValidateBeforeCall(String name, String srcPath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call storageExistsValidateBeforeCall(String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putXpsInStorageToPdf(Async)"); - } - - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling putXpsInStorageToPdf(Async)"); + // verify the required parameter 'storageName' is set + if (storageName == null) { + throw new ApiException("Missing the required parameter 'storageName' when calling storageExists(Async)"); } - com.squareup.okhttp.Call call = putXpsInStorageToPdfCall(name, srcPath, dstFolder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = storageExistsCall(storageName, progressListener, progressRequestListener); return call; } /** - * Convert XPS file (located on storage) to PDF format and upload resulting file to storage. + * Check if storage exists * - * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) - * @param dstFolder The destination document folder. (optional) - * @param storage The document storage. (optional) - * @return AsposeResponse + * @param storageName Storage name (required) + * @return StorageExist * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putXpsInStorageToPdf(String name, String srcPath, String dstFolder, String storage) throws ApiException { + public StorageExist storageExists(String storageName) throws ApiException { try { - ApiResponse resp = putXpsInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); + ApiResponse resp = storageExistsWithHttpInfo(storageName); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putXpsInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); + apiClient.requestToken(); + ApiResponse resp = storageExistsWithHttpInfo(storageName); return resp.getData(); } throw ex; @@ -48403,33 +52173,27 @@ public AsposeResponse putXpsInStorageToPdf(String name, String srcPath, String d } /** - * Convert XPS file (located on storage) to PDF format and upload resulting file to storage. + * Check if storage exists * - * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) - * @param dstFolder The destination document folder. (optional) - * @param storage The document storage. (optional) - * @return ApiResponse<AsposeResponse> + * @param storageName Storage name (required) + * @return ApiResponse<StorageExist> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putXpsInStorageToPdfWithHttpInfo(String name, String srcPath, String dstFolder, String storage) throws ApiException { - com.squareup.okhttp.Call call = putXpsInStorageToPdfValidateBeforeCall(name, srcPath, dstFolder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse storageExistsWithHttpInfo(String storageName) throws ApiException { + com.squareup.okhttp.Call call = storageExistsValidateBeforeCall(storageName, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert XPS file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) + * Check if storage exists (asynchronously) * - * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xps) (required) - * @param dstFolder The destination document folder. (optional) - * @param storage The document storage. (optional) + * @param storageName Storage name (required) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putXpsInStorageToPdfAsync(String name, String srcPath, String dstFolder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call storageExistsAsync(String storageName, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -48450,37 +52214,32 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putXpsInStorageToPdfValidateBeforeCall(name, srcPath, dstFolder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = storageExistsValidateBeforeCall(storageName, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } /** - * Build call for putXslFoInStorageToPdf - * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xpsfo) (required) - * @param dstFolder The destination document folder. (optional) - * @param storage The document storage. (optional) + * Build call for uploadFile + * @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. (required) + * @param file File to upload (required) + * @param storageName Storage name (optional) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call putXslFoInStorageToPdfCall(String name, String srcPath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - Object localVarPostBody = null; + public com.squareup.okhttp.Call uploadFileCall(String path, File file, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = file; // create path and map variables - String localVarPath = "/pdf/{name}/create/xslfo" - .replaceAll("\\{" + "name" + "\\}", apiClient.escapeString(name.toString())); + String localVarPath = "/pdf/storage/file/{path}" + .replaceAll("\\{" + "path" + "\\}", apiClient.escapeString(path.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); - if (srcPath != null) - localVarQueryParams.addAll(apiClient.parameterToPair("srcPath", srcPath)); - if (dstFolder != null) - localVarQueryParams.addAll(apiClient.parameterToPair("dstFolder", dstFolder)); - if (storage != null) - localVarQueryParams.addAll(apiClient.parameterToPair("storage", storage)); + if (storageName != null) + localVarQueryParams.addAll(apiClient.parameterToPair("storageName", storageName)); Map localVarHeaderParams = new HashMap(); @@ -48510,51 +52269,50 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch }); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "JWT" }; return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call putXslFoInStorageToPdfValidateBeforeCall(String name, String srcPath, String dstFolder, String storage, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call uploadFileValidateBeforeCall(String path, File file, String storageName, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { - // verify the required parameter 'name' is set - if (name == null) { - throw new ApiException("Missing the required parameter 'name' when calling putXslFoInStorageToPdf(Async)"); + // verify the required parameter 'path' is set + if (path == null) { + throw new ApiException("Missing the required parameter 'path' when calling uploadFile(Async)"); } - // verify the required parameter 'srcPath' is set - if (srcPath == null) { - throw new ApiException("Missing the required parameter 'srcPath' when calling putXslFoInStorageToPdf(Async)"); + // verify the required parameter 'file' is set + if (file == null) { + throw new ApiException("Missing the required parameter 'file' when calling uploadFile(Async)"); } - com.squareup.okhttp.Call call = putXslFoInStorageToPdfCall(name, srcPath, dstFolder, storage, progressListener, progressRequestListener); + com.squareup.okhttp.Call call = uploadFileCall(path, file, storageName, progressListener, progressRequestListener); return call; } /** - * Convert XslFo file (located on storage) to PDF format and upload resulting file to storage. + * Upload file * - * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xpsfo) (required) - * @param dstFolder The destination document folder. (optional) - * @param storage The document storage. (optional) - * @return AsposeResponse + * @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. (required) + * @param file File to upload (required) + * @param storageName Storage name (optional) + * @return FilesUploadResult * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public AsposeResponse putXslFoInStorageToPdf(String name, String srcPath, String dstFolder, String storage) throws ApiException { + public FilesUploadResult uploadFile(String path, File file, String storageName) throws ApiException { try { - ApiResponse resp = putXslFoInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); + ApiResponse resp = uploadFileWithHttpInfo(path, file, storageName); return resp.getData(); } catch (ApiException ex) { if (ex.getCode() == 401) { - apiClient.refreshToken(); - ApiResponse resp = putXslFoInStorageToPdfWithHttpInfo(name, srcPath, dstFolder, storage); + apiClient.requestToken(); + ApiResponse resp = uploadFileWithHttpInfo(path, file, storageName); return resp.getData(); } throw ex; @@ -48562,33 +52320,31 @@ public AsposeResponse putXslFoInStorageToPdf(String name, String srcPath, String } /** - * Convert XslFo file (located on storage) to PDF format and upload resulting file to storage. + * Upload file * - * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xpsfo) (required) - * @param dstFolder The destination document folder. (optional) - * @param storage The document storage. (optional) - * @return ApiResponse<AsposeResponse> + * @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. (required) + * @param file File to upload (required) + * @param storageName Storage name (optional) + * @return ApiResponse<FilesUploadResult> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse putXslFoInStorageToPdfWithHttpInfo(String name, String srcPath, String dstFolder, String storage) throws ApiException { - com.squareup.okhttp.Call call = putXslFoInStorageToPdfValidateBeforeCall(name, srcPath, dstFolder, storage, null, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse uploadFileWithHttpInfo(String path, File file, String storageName) throws ApiException { + com.squareup.okhttp.Call call = uploadFileValidateBeforeCall(path, file, storageName, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); } /** - * Convert XslFo file (located on storage) to PDF format and upload resulting file to storage. (asynchronously) + * Upload file (asynchronously) * - * @param name The document name. (required) - * @param srcPath Full source filename (ex. /folder1/folder2/template.xpsfo) (required) - * @param dstFolder The destination document folder. (optional) - * @param storage The document storage. (optional) + * @param path Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. (required) + * @param file File to upload (required) + * @param storageName Storage name (optional) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call putXslFoInStorageToPdfAsync(String name, String srcPath, String dstFolder, String storage, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call uploadFileAsync(String path, File file, String storageName, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -48609,8 +52365,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don }; } - com.squareup.okhttp.Call call = putXslFoInStorageToPdfValidateBeforeCall(name, srcPath, dstFolder, storage, progressListener, progressRequestListener); - Type localVarReturnType = new TypeToken(){}.getType(); + com.squareup.okhttp.Call call = uploadFileValidateBeforeCall(path, file, storageName, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback); return call; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Annotation.java b/src/main/java/com/aspose/asposecloudpdf/model/Annotation.java index c2d2114..04c0f5c 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/Annotation.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/Annotation.java @@ -205,7 +205,7 @@ public Annotation rect(Rectangle rect) { * Gets Rect of the annotation. * @return rect **/ - @ApiModelProperty(value = "Gets Rect of the annotation.") + @ApiModelProperty(required = true, value = "Gets Rect of the annotation.") public Rectangle getRect() { return rect; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/AnnotationInfo.java b/src/main/java/com/aspose/asposecloudpdf/model/AnnotationInfo.java index d3d12c0..428a470 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/AnnotationInfo.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/AnnotationInfo.java @@ -59,7 +59,7 @@ public AnnotationInfo annotationType(AnnotationType annotationType) { * Gets annotation type. * @return annotationType **/ - @ApiModelProperty(value = "Gets annotation type.") + @ApiModelProperty(required = true, value = "Gets annotation type.") public AnnotationType getAnnotationType() { return annotationType; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Attachment.java b/src/main/java/com/aspose/asposecloudpdf/model/Attachment.java index 9a07acc..aa704af 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/Attachment.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/Attachment.java @@ -161,7 +161,7 @@ public Attachment size(Integer size) { * The size of the uncompressed embedded file, in bytes. * @return size **/ - @ApiModelProperty(value = "The size of the uncompressed embedded file, in bytes.") + @ApiModelProperty(required = true, value = "The size of the uncompressed embedded file, in bytes.") public Integer getSize() { return size; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Bookmark.java b/src/main/java/com/aspose/asposecloudpdf/model/Bookmark.java new file mode 100644 index 0000000..0ee97f2 --- /dev/null +++ b/src/main/java/com/aspose/asposecloudpdf/model/Bookmark.java @@ -0,0 +1,454 @@ +/** + * + * 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. + * + */ + + +package com.aspose.asposecloudpdf.model; + +import java.util.Objects; +import com.aspose.asposecloudpdf.model.Bookmarks; +import com.aspose.asposecloudpdf.model.Color; +import com.aspose.asposecloudpdf.model.Link; +import com.aspose.asposecloudpdf.model.LinkElement; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.List; + +/** + * Provides link to bookmark. + */ +@ApiModel(description = "Provides link to bookmark.") + +public class Bookmark extends LinkElement { + @SerializedName("Title") + private String title = null; + + @SerializedName("Italic") + private Boolean italic = null; + + @SerializedName("Bold") + private Boolean bold = null; + + @SerializedName("Color") + private Color color = null; + + @SerializedName("Action") + private String action = null; + + @SerializedName("Level") + private Integer level = null; + + @SerializedName("Destination") + private String destination = null; + + @SerializedName("PageDisplay") + private String pageDisplay = null; + + @SerializedName("PageDisplay_Bottom") + private Integer pageDisplayBottom = null; + + @SerializedName("PageDisplay_Left") + private Integer pageDisplayLeft = null; + + @SerializedName("PageDisplay_Right") + private Integer pageDisplayRight = null; + + @SerializedName("PageDisplay_Top") + private Integer pageDisplayTop = null; + + @SerializedName("PageDisplay_Zoom") + private Integer pageDisplayZoom = null; + + @SerializedName("PageNumber") + private Integer pageNumber = null; + + @SerializedName("RemoteFile") + private String remoteFile = null; + + @SerializedName("Bookmarks") + private Bookmarks bookmarks = null; + + public Bookmark title(String title) { + this.title = title; + return this; + } + + /** + * Get the Title; + * @return title + **/ + @ApiModelProperty(value = "Get the Title;") + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public Bookmark italic(Boolean italic) { + this.italic = italic; + return this; + } + + /** + * Is bookmark italic. + * @return italic + **/ + @ApiModelProperty(value = "Is bookmark italic.") + public Boolean isItalic() { + return italic; + } + + public void setItalic(Boolean italic) { + this.italic = italic; + } + + public Bookmark bold(Boolean bold) { + this.bold = bold; + return this; + } + + /** + * Is bookmark bold. + * @return bold + **/ + @ApiModelProperty(value = "Is bookmark bold.") + public Boolean isBold() { + return bold; + } + + public void setBold(Boolean bold) { + this.bold = bold; + } + + public Bookmark color(Color color) { + this.color = color; + return this; + } + + /** + * Get the color + * @return color + **/ + @ApiModelProperty(value = "Get the color") + public Color getColor() { + return color; + } + + public void setColor(Color color) { + this.color = color; + } + + public Bookmark action(String action) { + this.action = action; + return this; + } + + /** + * Gets or sets the action bound with the bookmark. If PageNumber is presented the action can not be specified. The action type includes: \"GoTo\", \"GoToR\", \"Launch\", \"Named\". + * @return action + **/ + @ApiModelProperty(value = "Gets or sets the action bound with the bookmark. If PageNumber is presented the action can not be specified. The action type includes: \"GoTo\", \"GoToR\", \"Launch\", \"Named\".") + public String getAction() { + return action; + } + + public void setAction(String action) { + this.action = action; + } + + public Bookmark level(Integer level) { + this.level = level; + return this; + } + + /** + * Gets or sets bookmark's hierarchy level. + * @return level + **/ + @ApiModelProperty(value = "Gets or sets bookmark's hierarchy level.") + public Integer getLevel() { + return level; + } + + public void setLevel(Integer level) { + this.level = level; + } + + public Bookmark destination(String destination) { + this.destination = destination; + return this; + } + + /** + * Gets or sets bookmark's destination page. Required if action is set as string.Empty. + * @return destination + **/ + @ApiModelProperty(value = "Gets or sets bookmark's destination page. Required if action is set as string.Empty.") + public String getDestination() { + return destination; + } + + public void setDestination(String destination) { + this.destination = destination; + } + + public Bookmark pageDisplay(String pageDisplay) { + this.pageDisplay = pageDisplay; + return this; + } + + /** + * Gets or sets the type of display bookmark's destination page. + * @return pageDisplay + **/ + @ApiModelProperty(value = "Gets or sets the type of display bookmark's destination page.") + public String getPageDisplay() { + return pageDisplay; + } + + public void setPageDisplay(String pageDisplay) { + this.pageDisplay = pageDisplay; + } + + public Bookmark pageDisplayBottom(Integer pageDisplayBottom) { + this.pageDisplayBottom = pageDisplayBottom; + return this; + } + + /** + * Gets or sets the bottom coordinate of page display. + * @return pageDisplayBottom + **/ + @ApiModelProperty(value = "Gets or sets the bottom coordinate of page display.") + public Integer getPageDisplayBottom() { + return pageDisplayBottom; + } + + public void setPageDisplayBottom(Integer pageDisplayBottom) { + this.pageDisplayBottom = pageDisplayBottom; + } + + public Bookmark pageDisplayLeft(Integer pageDisplayLeft) { + this.pageDisplayLeft = pageDisplayLeft; + return this; + } + + /** + * Gets or sets the left coordinate of page display. + * @return pageDisplayLeft + **/ + @ApiModelProperty(value = "Gets or sets the left coordinate of page display.") + public Integer getPageDisplayLeft() { + return pageDisplayLeft; + } + + public void setPageDisplayLeft(Integer pageDisplayLeft) { + this.pageDisplayLeft = pageDisplayLeft; + } + + public Bookmark pageDisplayRight(Integer pageDisplayRight) { + this.pageDisplayRight = pageDisplayRight; + return this; + } + + /** + * Gets or sets the right coordinate of page display. + * @return pageDisplayRight + **/ + @ApiModelProperty(value = "Gets or sets the right coordinate of page display.") + public Integer getPageDisplayRight() { + return pageDisplayRight; + } + + public void setPageDisplayRight(Integer pageDisplayRight) { + this.pageDisplayRight = pageDisplayRight; + } + + public Bookmark pageDisplayTop(Integer pageDisplayTop) { + this.pageDisplayTop = pageDisplayTop; + return this; + } + + /** + * Gets or sets the top coordinate of page display. + * @return pageDisplayTop + **/ + @ApiModelProperty(value = "Gets or sets the top coordinate of page display.") + public Integer getPageDisplayTop() { + return pageDisplayTop; + } + + public void setPageDisplayTop(Integer pageDisplayTop) { + this.pageDisplayTop = pageDisplayTop; + } + + public Bookmark pageDisplayZoom(Integer pageDisplayZoom) { + this.pageDisplayZoom = pageDisplayZoom; + return this; + } + + /** + * Gets or sets the zoom factor of page display. + * @return pageDisplayZoom + **/ + @ApiModelProperty(value = "Gets or sets the zoom factor of page display.") + public Integer getPageDisplayZoom() { + return pageDisplayZoom; + } + + public void setPageDisplayZoom(Integer pageDisplayZoom) { + this.pageDisplayZoom = pageDisplayZoom; + } + + public Bookmark pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Gets or sets the number of bookmark's destination page. + * @return pageNumber + **/ + @ApiModelProperty(value = "Gets or sets the number of bookmark's destination page. ") + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Bookmark remoteFile(String remoteFile) { + this.remoteFile = remoteFile; + return this; + } + + /** + * Gets or sets the file (path) which is required for \"GoToR\" action of bookmark. + * @return remoteFile + **/ + @ApiModelProperty(value = "Gets or sets the file (path) which is required for \"GoToR\" action of bookmark.") + public String getRemoteFile() { + return remoteFile; + } + + public void setRemoteFile(String remoteFile) { + this.remoteFile = remoteFile; + } + + public Bookmark bookmarks(Bookmarks bookmarks) { + this.bookmarks = bookmarks; + return this; + } + + /** + * The children bookmarks. + * @return bookmarks + **/ + @ApiModelProperty(value = "The children bookmarks.") + public Bookmarks getBookmarks() { + return bookmarks; + } + + public void setBookmarks(Bookmarks bookmarks) { + this.bookmarks = bookmarks; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Bookmark bookmark = (Bookmark) o; + return Objects.equals(this.title, bookmark.title) && + Objects.equals(this.italic, bookmark.italic) && + Objects.equals(this.bold, bookmark.bold) && + Objects.equals(this.color, bookmark.color) && + Objects.equals(this.action, bookmark.action) && + Objects.equals(this.level, bookmark.level) && + Objects.equals(this.destination, bookmark.destination) && + Objects.equals(this.pageDisplay, bookmark.pageDisplay) && + Objects.equals(this.pageDisplayBottom, bookmark.pageDisplayBottom) && + Objects.equals(this.pageDisplayLeft, bookmark.pageDisplayLeft) && + Objects.equals(this.pageDisplayRight, bookmark.pageDisplayRight) && + Objects.equals(this.pageDisplayTop, bookmark.pageDisplayTop) && + Objects.equals(this.pageDisplayZoom, bookmark.pageDisplayZoom) && + Objects.equals(this.pageNumber, bookmark.pageNumber) && + Objects.equals(this.remoteFile, bookmark.remoteFile) && + Objects.equals(this.bookmarks, bookmark.bookmarks) && + super.equals(o); + } + + @Override + public int hashCode() { + return Objects.hash(title, italic, bold, color, action, level, destination, pageDisplay, pageDisplayBottom, pageDisplayLeft, pageDisplayRight, pageDisplayTop, pageDisplayZoom, pageNumber, remoteFile, bookmarks, super.hashCode()); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Bookmark {\n"); + sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + sb.append(" title: ").append(toIndentedString(title)).append("\n"); + sb.append(" italic: ").append(toIndentedString(italic)).append("\n"); + sb.append(" bold: ").append(toIndentedString(bold)).append("\n"); + sb.append(" color: ").append(toIndentedString(color)).append("\n"); + sb.append(" action: ").append(toIndentedString(action)).append("\n"); + sb.append(" level: ").append(toIndentedString(level)).append("\n"); + sb.append(" destination: ").append(toIndentedString(destination)).append("\n"); + sb.append(" pageDisplay: ").append(toIndentedString(pageDisplay)).append("\n"); + sb.append(" pageDisplayBottom: ").append(toIndentedString(pageDisplayBottom)).append("\n"); + sb.append(" pageDisplayLeft: ").append(toIndentedString(pageDisplayLeft)).append("\n"); + sb.append(" pageDisplayRight: ").append(toIndentedString(pageDisplayRight)).append("\n"); + sb.append(" pageDisplayTop: ").append(toIndentedString(pageDisplayTop)).append("\n"); + sb.append(" pageDisplayZoom: ").append(toIndentedString(pageDisplayZoom)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" remoteFile: ").append(toIndentedString(remoteFile)).append("\n"); + sb.append(" bookmarks: ").append(toIndentedString(bookmarks)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/aspose/asposecloudpdf/model/FilesResponse.java b/src/main/java/com/aspose/asposecloudpdf/model/BookmarkResponse.java similarity index 72% rename from src/main/java/com/aspose/asposecloudpdf/model/FilesResponse.java rename to src/main/java/com/aspose/asposecloudpdf/model/BookmarkResponse.java index 65d799f..0f6e767 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/FilesResponse.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/BookmarkResponse.java @@ -24,6 +24,7 @@ import java.util.Objects; import com.aspose.asposecloudpdf.model.AsposeResponse; +import com.aspose.asposecloudpdf.model.Bookmark; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -32,41 +33,32 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; -import java.util.ArrayList; -import java.util.List; /** - * FilesResponse + * Represents response containing single bookmark info */ +@ApiModel(description = "Represents response containing single bookmark info") -public class FilesResponse extends AsposeResponse { - @SerializedName("Files") - private List files = null; +public class BookmarkResponse extends AsposeResponse { + @SerializedName("Bookmark") + private Bookmark bookmark = null; - public FilesResponse files(List files) { - this.files = files; - return this; - } - - public FilesResponse addFilesItem(File filesItem) { - if (this.files == null) { - this.files = new ArrayList(); - } - this.files.add(filesItem); + public BookmarkResponse bookmark(Bookmark bookmark) { + this.bookmark = bookmark; return this; } /** - * Get files - * @return files + * Bookmark object + * @return bookmark **/ - @ApiModelProperty(value = "") - public List getFiles() { - return files; + @ApiModelProperty(value = "Bookmark object") + public Bookmark getBookmark() { + return bookmark; } - public void setFiles(List files) { - this.files = files; + public void setBookmark(Bookmark bookmark) { + this.bookmark = bookmark; } @@ -78,23 +70,23 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - FilesResponse filesResponse = (FilesResponse) o; - return Objects.equals(this.files, filesResponse.files) && + BookmarkResponse bookmarkResponse = (BookmarkResponse) o; + return Objects.equals(this.bookmark, bookmarkResponse.bookmark) && super.equals(o); } @Override public int hashCode() { - return Objects.hash(files, super.hashCode()); + return Objects.hash(bookmark, super.hashCode()); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class FilesResponse {\n"); + sb.append("class BookmarkResponse {\n"); sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append(" files: ").append(toIndentedString(files)).append("\n"); + sb.append(" bookmark: ").append(toIndentedString(bookmark)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Bookmarks.java b/src/main/java/com/aspose/asposecloudpdf/model/Bookmarks.java new file mode 100644 index 0000000..721d24b --- /dev/null +++ b/src/main/java/com/aspose/asposecloudpdf/model/Bookmarks.java @@ -0,0 +1,117 @@ +/** + * + * 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. + * + */ + + +package com.aspose.asposecloudpdf.model; + +import java.util.Objects; +import com.aspose.asposecloudpdf.model.Bookmark; +import com.aspose.asposecloudpdf.model.Link; +import com.aspose.asposecloudpdf.model.LinkElement; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * Represents list of bookmark. + */ +@ApiModel(description = "Represents list of bookmark.") + +public class Bookmarks extends LinkElement { + @SerializedName("List") + private List list = null; + + public Bookmarks list(List list) { + this.list = list; + return this; + } + + public Bookmarks addListItem(Bookmark listItem) { + if (this.list == null) { + this.list = new ArrayList(); + } + this.list.add(listItem); + return this; + } + + /** + * List of bookmarks. + * @return list + **/ + @ApiModelProperty(value = "List of bookmarks.") + public List getList() { + return list; + } + + public void setList(List list) { + this.list = list; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Bookmarks bookmarks = (Bookmarks) o; + return Objects.equals(this.list, bookmarks.list) && + super.equals(o); + } + + @Override + public int hashCode() { + return Objects.hash(list, super.hashCode()); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Bookmarks {\n"); + sb.append(" ").append(toIndentedString(super.toString())).append("\n"); + sb.append(" list: ").append(toIndentedString(list)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/aspose/asposecloudpdf/model/DiscUsageResponse.java b/src/main/java/com/aspose/asposecloudpdf/model/BookmarksResponse.java similarity index 71% rename from src/main/java/com/aspose/asposecloudpdf/model/DiscUsageResponse.java rename to src/main/java/com/aspose/asposecloudpdf/model/BookmarksResponse.java index 10a5d40..ca7abaa 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/DiscUsageResponse.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/BookmarksResponse.java @@ -24,7 +24,7 @@ import java.util.Objects; import com.aspose.asposecloudpdf.model.AsposeResponse; -import com.aspose.asposecloudpdf.model.DiscUsage; +import com.aspose.asposecloudpdf.model.Bookmarks; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -35,29 +35,30 @@ import java.io.IOException; /** - * DiscUsageResponse + * Represents response containing multiple bookmarks info */ +@ApiModel(description = "Represents response containing multiple bookmarks info") -public class DiscUsageResponse extends AsposeResponse { - @SerializedName("DiscUsage") - private DiscUsage discUsage = null; +public class BookmarksResponse extends AsposeResponse { + @SerializedName("Bookmarks") + private Bookmarks bookmarks = null; - public DiscUsageResponse discUsage(DiscUsage discUsage) { - this.discUsage = discUsage; + public BookmarksResponse bookmarks(Bookmarks bookmarks) { + this.bookmarks = bookmarks; return this; } /** - * Get discUsage - * @return discUsage + * Bookmarks object + * @return bookmarks **/ - @ApiModelProperty(value = "") - public DiscUsage getDiscUsage() { - return discUsage; + @ApiModelProperty(value = "Bookmarks object") + public Bookmarks getBookmarks() { + return bookmarks; } - public void setDiscUsage(DiscUsage discUsage) { - this.discUsage = discUsage; + public void setBookmarks(Bookmarks bookmarks) { + this.bookmarks = bookmarks; } @@ -69,23 +70,23 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - DiscUsageResponse discUsageResponse = (DiscUsageResponse) o; - return Objects.equals(this.discUsage, discUsageResponse.discUsage) && + BookmarksResponse bookmarksResponse = (BookmarksResponse) o; + return Objects.equals(this.bookmarks, bookmarksResponse.bookmarks) && super.equals(o); } @Override public int hashCode() { - return Objects.hash(discUsage, super.hashCode()); + return Objects.hash(bookmarks, super.hashCode()); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class DiscUsageResponse {\n"); + sb.append("class BookmarksResponse {\n"); sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append(" discUsage: ").append(toIndentedString(discUsage)).append("\n"); + sb.append(" bookmarks: ").append(toIndentedString(bookmarks)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/CellRecognized.java b/src/main/java/com/aspose/asposecloudpdf/model/CellRecognized.java index b2977de..5b92f47 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/CellRecognized.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/CellRecognized.java @@ -51,10 +51,10 @@ public CellRecognized textRects(TextRects textRects) { } /** - * Gets collection of objects that describes text containing in the cell + * Gets collection of TextRect objects that describes text containing in the cell * @return textRects **/ - @ApiModelProperty(value = "Gets collection of objects that describes text containing in the cell") + @ApiModelProperty(value = "Gets collection of TextRect objects that describes text containing in the cell") public TextRects getTextRects() { return textRects; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/DiscUsage.java b/src/main/java/com/aspose/asposecloudpdf/model/DiscUsage.java index 93fca12..dc13fdc 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/DiscUsage.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/DiscUsage.java @@ -33,8 +33,9 @@ import java.io.IOException; /** - * DiscUsage + * Class for disc space information. */ +@ApiModel(description = "Class for disc space information.") public class DiscUsage { @SerializedName("UsedSize") @@ -49,10 +50,10 @@ public DiscUsage usedSize(Long usedSize) { } /** - * Get usedSize + * Application used disc space. * @return usedSize **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(required = true, value = "Application used disc space.") public Long getUsedSize() { return usedSize; } @@ -67,10 +68,10 @@ public DiscUsage totalSize(Long totalSize) { } /** - * Get totalSize + * Total disc space. * @return totalSize **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(required = true, value = "Total disc space.") public Long getTotalSize() { return totalSize; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/DocumentPrivilege.java b/src/main/java/com/aspose/asposecloudpdf/model/DocumentPrivilege.java index c70a41b..e6bcc3d 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/DocumentPrivilege.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/DocumentPrivilege.java @@ -33,9 +33,9 @@ import java.io.IOException; /** - * Represents the privileges for accessing Pdf file./>. + * Represents the privileges for accessing Pdf file. */ -@ApiModel(description = "Represents the privileges for accessing Pdf file./>.") +@ApiModel(description = "Represents the privileges for accessing Pdf file.") public class DocumentPrivilege { @SerializedName("AllowPrint") diff --git a/src/main/java/com/aspose/asposecloudpdf/model/DocumentProperty.java b/src/main/java/com/aspose/asposecloudpdf/model/DocumentProperty.java index 5f93d95..4c5e92c 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/DocumentProperty.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/DocumentProperty.java @@ -95,7 +95,7 @@ public DocumentProperty builtIn(Boolean builtIn) { * Value indicating whether it is a built-in property. * @return builtIn **/ - @ApiModelProperty(value = "Value indicating whether it is a built-in property.") + @ApiModelProperty(required = true, value = "Value indicating whether it is a built-in property.") public Boolean isBuiltIn() { return builtIn; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/AppendDocument.java b/src/main/java/com/aspose/asposecloudpdf/model/Error.java similarity index 50% rename from src/main/java/com/aspose/asposecloudpdf/model/AppendDocument.java rename to src/main/java/com/aspose/asposecloudpdf/model/Error.java index adc46a8..15b4b85 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/AppendDocument.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/Error.java @@ -23,6 +23,7 @@ package com.aspose.asposecloudpdf.model; import java.util.Objects; +import com.aspose.asposecloudpdf.model.ErrorDetails; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -33,72 +34,93 @@ import java.io.IOException; /** - * Class for appendDocument service request building. + * Error */ -@ApiModel(description = "Class for appendDocument service request building.") +@ApiModel(description = "Error") -public class AppendDocument { - @SerializedName("Document") - private String document = null; +public class Error { + @SerializedName("Code") + private String code = null; - @SerializedName("StartPage") - private Integer startPage = null; + @SerializedName("Message") + private String message = null; - @SerializedName("EndPage") - private Integer endPage = null; + @SerializedName("Description") + private String description = null; - public AppendDocument document(String document) { - this.document = document; + @SerializedName("InnerError") + private ErrorDetails innerError = null; + + public Error code(String code) { + this.code = code; + return this; + } + + /** + * Code + * @return code + **/ + @ApiModelProperty(value = "Code ") + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public Error message(String message) { + this.message = message; return this; } /** - * Document to append (server path). - * @return document + * Message + * @return message **/ - @ApiModelProperty(required = true, value = "Document to append (server path).") - public String getDocument() { - return document; + @ApiModelProperty(value = "Message ") + public String getMessage() { + return message; } - public void setDocument(String document) { - this.document = document; + public void setMessage(String message) { + this.message = message; } - public AppendDocument startPage(Integer startPage) { - this.startPage = startPage; + public Error description(String description) { + this.description = description; return this; } /** - * Appending start page. - * @return startPage + * Description + * @return description **/ - @ApiModelProperty(required = true, value = "Appending start page.") - public Integer getStartPage() { - return startPage; + @ApiModelProperty(value = "Description ") + public String getDescription() { + return description; } - public void setStartPage(Integer startPage) { - this.startPage = startPage; + public void setDescription(String description) { + this.description = description; } - public AppendDocument endPage(Integer endPage) { - this.endPage = endPage; + public Error innerError(ErrorDetails innerError) { + this.innerError = innerError; return this; } /** - * Appending end page. - * @return endPage + * Inner Error + * @return innerError **/ - @ApiModelProperty(required = true, value = "Appending end page.") - public Integer getEndPage() { - return endPage; + @ApiModelProperty(value = "Inner Error ") + public ErrorDetails getInnerError() { + return innerError; } - public void setEndPage(Integer endPage) { - this.endPage = endPage; + public void setInnerError(ErrorDetails innerError) { + this.innerError = innerError; } @@ -110,26 +132,28 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - AppendDocument appendDocument = (AppendDocument) o; - return Objects.equals(this.document, appendDocument.document) && - Objects.equals(this.startPage, appendDocument.startPage) && - Objects.equals(this.endPage, appendDocument.endPage); + Error error = (Error) o; + return Objects.equals(this.code, error.code) && + Objects.equals(this.message, error.message) && + Objects.equals(this.description, error.description) && + Objects.equals(this.innerError, error.innerError); } @Override public int hashCode() { - return Objects.hash(document, startPage, endPage); + return Objects.hash(code, message, description, innerError); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class AppendDocument {\n"); + sb.append("class Error {\n"); - sb.append(" document: ").append(toIndentedString(document)).append("\n"); - sb.append(" startPage: ").append(toIndentedString(startPage)).append("\n"); - sb.append(" endPage: ").append(toIndentedString(endPage)).append("\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" innerError: ").append(toIndentedString(innerError)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/ErrorDetails.java b/src/main/java/com/aspose/asposecloudpdf/model/ErrorDetails.java new file mode 100644 index 0000000..fbbbadc --- /dev/null +++ b/src/main/java/com/aspose/asposecloudpdf/model/ErrorDetails.java @@ -0,0 +1,127 @@ +/** + * + * 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. + * + */ + + +package com.aspose.asposecloudpdf.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.threeten.bp.OffsetDateTime; + +/** + * The error details + */ +@ApiModel(description = "The error details") + +public class ErrorDetails { + @SerializedName("RequestId") + private String requestId = null; + + @SerializedName("Date") + private OffsetDateTime date = null; + + public ErrorDetails requestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * The request id + * @return requestId + **/ + @ApiModelProperty(value = "The request id") + public String getRequestId() { + return requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public ErrorDetails date(OffsetDateTime date) { + this.date = date; + return this; + } + + /** + * Date + * @return date + **/ + @ApiModelProperty(required = true, value = "Date") + public OffsetDateTime getDate() { + return date; + } + + public void setDate(OffsetDateTime date) { + this.date = date; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ErrorDetails errorDetails = (ErrorDetails) o; + return Objects.equals(this.requestId, errorDetails.requestId) && + Objects.equals(this.date, errorDetails.date); + } + + @Override + public int hashCode() { + return Objects.hash(requestId, date); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ErrorDetails {\n"); + + sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); + sb.append(" date: ").append(toIndentedString(date)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Field.java b/src/main/java/com/aspose/asposecloudpdf/model/Field.java index 8ee0df4..070933e 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/Field.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/Field.java @@ -57,7 +57,7 @@ public class Field extends LinkElement { private Rectangle rect = null; @SerializedName("Values") - private List values = null; + private List values = new ArrayList(); public Field name(String name) { this.name = name; @@ -145,9 +145,6 @@ public Field values(List values) { } public Field addValuesItem(String valuesItem) { - if (this.values == null) { - this.values = new ArrayList(); - } this.values.add(valuesItem); return this; } @@ -156,7 +153,7 @@ public Field addValuesItem(String valuesItem) { * Field values. * @return values **/ - @ApiModelProperty(value = "Field values.") + @ApiModelProperty(required = true, value = "Field values.") public List getValues() { return values; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Fields.java b/src/main/java/com/aspose/asposecloudpdf/model/Fields.java index 5fdedf5..92dbbc7 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/Fields.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/Fields.java @@ -44,7 +44,7 @@ public class Fields extends LinkElement { @SerializedName("List") - private List list = null; + private List list = new ArrayList(); public Fields list(List list) { this.list = list; @@ -52,9 +52,6 @@ public Fields list(List list) { } public Fields addListItem(Field listItem) { - if (this.list == null) { - this.list = new ArrayList(); - } this.list.add(listItem); return this; } @@ -63,7 +60,7 @@ public Fields addListItem(Field listItem) { * List of form fields. * @return list **/ - @ApiModelProperty(value = "List of form fields.") + @ApiModelProperty(required = true, value = "List of form fields.") public List getList() { return list; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/FileVersion.java b/src/main/java/com/aspose/asposecloudpdf/model/FileVersion.java index 46384e7..876aef5 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/FileVersion.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/FileVersion.java @@ -23,6 +23,7 @@ package com.aspose.asposecloudpdf.model; import java.util.Objects; +import com.aspose.asposecloudpdf.model.StorageFile; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -34,10 +35,11 @@ import org.threeten.bp.OffsetDateTime; /** - * FileVersion + * File Version */ +@ApiModel(description = "File Version") -public class FileVersion extends File { +public class FileVersion extends StorageFile { @SerializedName("VersionId") private String versionId = null; @@ -50,10 +52,10 @@ public FileVersion versionId(String versionId) { } /** - * Get versionId + * File Version ID. * @return versionId **/ - @ApiModelProperty(value = "") + @ApiModelProperty(value = "File Version ID.") public String getVersionId() { return versionId; } @@ -68,10 +70,10 @@ public FileVersion isLatest(Boolean isLatest) { } /** - * Get isLatest + * Specifies whether the file is (true) or is not (false) the latest version of an file. * @return isLatest **/ - @ApiModelProperty(value = "") + @ApiModelProperty(required = true, value = "Specifies whether the file is (true) or is not (false) the latest version of an file.") public Boolean isIsLatest() { return isLatest; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/FileVersions.java b/src/main/java/com/aspose/asposecloudpdf/model/FileVersions.java new file mode 100644 index 0000000..9654e09 --- /dev/null +++ b/src/main/java/com/aspose/asposecloudpdf/model/FileVersions.java @@ -0,0 +1,114 @@ +/** + * + * 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. + * + */ + + +package com.aspose.asposecloudpdf.model; + +import java.util.Objects; +import com.aspose.asposecloudpdf.model.FileVersion; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * File versions FileVersion. + */ +@ApiModel(description = "File versions FileVersion.") + +public class FileVersions { + @SerializedName("Value") + private List value = null; + + public FileVersions value(List value) { + this.value = value; + return this; + } + + public FileVersions addValueItem(FileVersion valueItem) { + if (this.value == null) { + this.value = new ArrayList(); + } + this.value.add(valueItem); + return this; + } + + /** + * File versions FileVersion. + * @return value + **/ + @ApiModelProperty(value = "File versions FileVersion.") + public List getValue() { + return value; + } + + public void setValue(List value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FileVersions fileVersions = (FileVersions) o; + return Objects.equals(this.value, fileVersions.value); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class FileVersions {\n"); + + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/com/aspose/asposecloudpdf/model/FileExistResponse.java b/src/main/java/com/aspose/asposecloudpdf/model/FilesList.java similarity index 67% rename from src/main/java/com/aspose/asposecloudpdf/model/FileExistResponse.java rename to src/main/java/com/aspose/asposecloudpdf/model/FilesList.java index 3f8f7dd..febfe98 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/FileExistResponse.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/FilesList.java @@ -23,8 +23,7 @@ package com.aspose.asposecloudpdf.model; import java.util.Objects; -import com.aspose.asposecloudpdf.model.AsposeResponse; -import com.aspose.asposecloudpdf.model.FileExist; +import com.aspose.asposecloudpdf.model.StorageFile; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -33,31 +32,42 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** - * FileExistResponse + * Files list */ +@ApiModel(description = "Files list") -public class FileExistResponse extends AsposeResponse { - @SerializedName("FileExist") - private FileExist fileExist = null; +public class FilesList { + @SerializedName("Value") + private List value = null; - public FileExistResponse fileExist(FileExist fileExist) { - this.fileExist = fileExist; + public FilesList value(List value) { + this.value = value; + return this; + } + + public FilesList addValueItem(StorageFile valueItem) { + if (this.value == null) { + this.value = new ArrayList(); + } + this.value.add(valueItem); return this; } /** - * Get fileExist - * @return fileExist + * Files and folders contained by folder StorageFile. + * @return value **/ - @ApiModelProperty(value = "") - public FileExist getFileExist() { - return fileExist; + @ApiModelProperty(value = "Files and folders contained by folder StorageFile.") + public List getValue() { + return value; } - public void setFileExist(FileExist fileExist) { - this.fileExist = fileExist; + public void setValue(List value) { + this.value = value; } @@ -69,23 +79,22 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - FileExistResponse fileExistResponse = (FileExistResponse) o; - return Objects.equals(this.fileExist, fileExistResponse.fileExist) && - super.equals(o); + FilesList filesList = (FilesList) o; + return Objects.equals(this.value, filesList.value); } @Override public int hashCode() { - return Objects.hash(fileExist, super.hashCode()); + return Objects.hash(value); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class FileExistResponse {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append(" fileExist: ").append(toIndentedString(fileExist)).append("\n"); + sb.append("class FilesList {\n"); + + sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/FileVersionsResponse.java b/src/main/java/com/aspose/asposecloudpdf/model/FilesUploadResult.java similarity index 56% rename from src/main/java/com/aspose/asposecloudpdf/model/FileVersionsResponse.java rename to src/main/java/com/aspose/asposecloudpdf/model/FilesUploadResult.java index 92d455f..d1c5b2b 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/FileVersionsResponse.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/FilesUploadResult.java @@ -23,8 +23,7 @@ package com.aspose.asposecloudpdf.model; import java.util.Objects; -import com.aspose.asposecloudpdf.model.AsposeResponse; -import com.aspose.asposecloudpdf.model.FileVersion; +import com.aspose.asposecloudpdf.model.Error; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -37,37 +36,67 @@ import java.util.List; /** - * FileVersionsResponse + * File upload result */ +@ApiModel(description = "File upload result") -public class FileVersionsResponse extends AsposeResponse { - @SerializedName("FileVersions") - private List fileVersions = null; +public class FilesUploadResult { + @SerializedName("Uploaded") + private List uploaded = null; - public FileVersionsResponse fileVersions(List fileVersions) { - this.fileVersions = fileVersions; + @SerializedName("Errors") + private List errors = null; + + public FilesUploadResult uploaded(List uploaded) { + this.uploaded = uploaded; + return this; + } + + public FilesUploadResult addUploadedItem(String uploadedItem) { + if (this.uploaded == null) { + this.uploaded = new ArrayList(); + } + this.uploaded.add(uploadedItem); + return this; + } + + /** + * List of uploaded file names + * @return uploaded + **/ + @ApiModelProperty(value = "List of uploaded file names") + public List getUploaded() { + return uploaded; + } + + public void setUploaded(List uploaded) { + this.uploaded = uploaded; + } + + public FilesUploadResult errors(List errors) { + this.errors = errors; return this; } - public FileVersionsResponse addFileVersionsItem(FileVersion fileVersionsItem) { - if (this.fileVersions == null) { - this.fileVersions = new ArrayList(); + public FilesUploadResult addErrorsItem(Error errorsItem) { + if (this.errors == null) { + this.errors = new ArrayList(); } - this.fileVersions.add(fileVersionsItem); + this.errors.add(errorsItem); return this; } /** - * Get fileVersions - * @return fileVersions + * List of errors. + * @return errors **/ - @ApiModelProperty(value = "") - public List getFileVersions() { - return fileVersions; + @ApiModelProperty(value = "List of errors.") + public List getErrors() { + return errors; } - public void setFileVersions(List fileVersions) { - this.fileVersions = fileVersions; + public void setErrors(List errors) { + this.errors = errors; } @@ -79,23 +108,24 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - FileVersionsResponse fileVersionsResponse = (FileVersionsResponse) o; - return Objects.equals(this.fileVersions, fileVersionsResponse.fileVersions) && - super.equals(o); + FilesUploadResult filesUploadResult = (FilesUploadResult) o; + return Objects.equals(this.uploaded, filesUploadResult.uploaded) && + Objects.equals(this.errors, filesUploadResult.errors); } @Override public int hashCode() { - return Objects.hash(fileVersions, super.hashCode()); + return Objects.hash(uploaded, errors); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class FileVersionsResponse {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append(" fileVersions: ").append(toIndentedString(fileVersions)).append("\n"); + sb.append("class FilesUploadResult {\n"); + + sb.append(" uploaded: ").append(toIndentedString(uploaded)).append("\n"); + sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/FreeTextAnnotation.java b/src/main/java/com/aspose/asposecloudpdf/model/FreeTextAnnotation.java index 24e66cb..1e85cee 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/FreeTextAnnotation.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/FreeTextAnnotation.java @@ -125,7 +125,7 @@ public FreeTextAnnotation textStyle(TextStyle textStyle) { * Text style of the annotation. * @return textStyle **/ - @ApiModelProperty(value = "Text style of the annotation.") + @ApiModelProperty(required = true, value = "Text style of the annotation.") public TextStyle getTextStyle() { return textStyle; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/GraphInfo.java b/src/main/java/com/aspose/asposecloudpdf/model/GraphInfo.java index d04cbbb..188d553 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/GraphInfo.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/GraphInfo.java @@ -98,10 +98,10 @@ public GraphInfo color(Color color) { } /** - * Gets or sets a object that indicates the color of the graph. + * Gets or sets a Color object that indicates the color of the graph. * @return color **/ - @ApiModelProperty(value = "Gets or sets a object that indicates the color of the graph.") + @ApiModelProperty(value = "Gets or sets a Color object that indicates the color of the graph.") public Color getColor() { return color; } @@ -160,10 +160,10 @@ public GraphInfo fillColor(Color fillColor) { } /** - * Gets or sets a object that indicates the fill color of the graph. + * Gets or sets a Color object that indicates the fill color of the graph. * @return fillColor **/ - @ApiModelProperty(value = "Gets or sets a object that indicates the fill color of the graph.") + @ApiModelProperty(value = "Gets or sets a Color object that indicates the fill color of the graph.") public Color getFillColor() { return fillColor; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Image.java b/src/main/java/com/aspose/asposecloudpdf/model/Image.java index 88df2c9..c005ebd 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/Image.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/Image.java @@ -66,7 +66,7 @@ public Image width(Integer width) { * Gets width of the image. * @return width **/ - @ApiModelProperty(value = "Gets width of the image.") + @ApiModelProperty(required = true, value = "Gets width of the image.") public Integer getWidth() { return width; } @@ -84,7 +84,7 @@ public Image height(Integer height) { * Gets height of the image. * @return height **/ - @ApiModelProperty(value = "Gets height of the image.") + @ApiModelProperty(required = true, value = "Gets height of the image.") public Integer getHeight() { return height; } @@ -138,7 +138,7 @@ public Image pageNumber(Integer pageNumber) { * Gets page number. * @return pageNumber **/ - @ApiModelProperty(value = "Gets page number.") + @ApiModelProperty(required = true, value = "Gets page number.") public Integer getPageNumber() { return pageNumber; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/LineAnnotation.java b/src/main/java/com/aspose/asposecloudpdf/model/LineAnnotation.java index 3d3ebbe..7c6b771 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/LineAnnotation.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/LineAnnotation.java @@ -95,7 +95,7 @@ public LineAnnotation starting(Point starting) { * Gets or sets starting point of line. * @return starting **/ - @ApiModelProperty(value = "Gets or sets starting point of line.") + @ApiModelProperty(required = true, value = "Gets or sets starting point of line.") public Point getStarting() { return starting; } @@ -131,7 +131,7 @@ public LineAnnotation ending(Point ending) { * Gets or sets ending point of line. * @return ending **/ - @ApiModelProperty(value = "Gets or sets ending point of line.") + @ApiModelProperty(required = true, value = "Gets or sets ending point of line.") public Point getEnding() { return ending; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/LinkAnnotation.java b/src/main/java/com/aspose/asposecloudpdf/model/LinkAnnotation.java index f1ffa50..8d2f5d4 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/LinkAnnotation.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/LinkAnnotation.java @@ -72,7 +72,7 @@ public LinkAnnotation actionType(LinkActionType actionType) { * Get actionType * @return actionType **/ - @ApiModelProperty(value = "") + @ApiModelProperty(required = true, value = "") public LinkActionType getActionType() { return actionType; } @@ -90,7 +90,7 @@ public LinkAnnotation action(String action) { * Get action * @return action **/ - @ApiModelProperty(value = "") + @ApiModelProperty(required = true, value = "") public String getAction() { return action; } @@ -108,7 +108,7 @@ public LinkAnnotation highlighting(LinkHighlightingMode highlighting) { * Get highlighting * @return highlighting **/ - @ApiModelProperty(value = "") + @ApiModelProperty(required = true, value = "") public LinkHighlightingMode getHighlighting() { return highlighting; } @@ -144,7 +144,7 @@ public LinkAnnotation rect(Rectangle rect) { * Get rect * @return rect **/ - @ApiModelProperty(value = "") + @ApiModelProperty(required = true, value = "") public Rectangle getRect() { return rect; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/FileExist.java b/src/main/java/com/aspose/asposecloudpdf/model/ObjectExist.java similarity index 71% rename from src/main/java/com/aspose/asposecloudpdf/model/FileExist.java rename to src/main/java/com/aspose/asposecloudpdf/model/ObjectExist.java index 7582c4d..6642936 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/FileExist.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/ObjectExist.java @@ -33,44 +33,45 @@ import java.io.IOException; /** - * FileExist + * Object exists */ +@ApiModel(description = "Object exists") -public class FileExist { - @SerializedName("IsExist") - private Boolean isExist = null; +public class ObjectExist { + @SerializedName("Exists") + private Boolean exists = null; @SerializedName("IsFolder") private Boolean isFolder = null; - public FileExist isExist(Boolean isExist) { - this.isExist = isExist; + public ObjectExist exists(Boolean exists) { + this.exists = exists; return this; } /** - * Get isExist - * @return isExist + * Indicates that the file or folder exists. + * @return exists **/ - @ApiModelProperty(required = true, value = "") - public Boolean isIsExist() { - return isExist; + @ApiModelProperty(required = true, value = "Indicates that the file or folder exists.") + public Boolean isExists() { + return exists; } - public void setIsExist(Boolean isExist) { - this.isExist = isExist; + public void setExists(Boolean exists) { + this.exists = exists; } - public FileExist isFolder(Boolean isFolder) { + public ObjectExist isFolder(Boolean isFolder) { this.isFolder = isFolder; return this; } /** - * Get isFolder + * True if it is a folder, false if it is a file. * @return isFolder **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(required = true, value = "True if it is a folder, false if it is a file.") public Boolean isIsFolder() { return isFolder; } @@ -88,23 +89,23 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - FileExist fileExist = (FileExist) o; - return Objects.equals(this.isExist, fileExist.isExist) && - Objects.equals(this.isFolder, fileExist.isFolder); + ObjectExist objectExist = (ObjectExist) o; + return Objects.equals(this.exists, objectExist.exists) && + Objects.equals(this.isFolder, objectExist.isFolder); } @Override public int hashCode() { - return Objects.hash(isExist, isFolder); + return Objects.hash(exists, isFolder); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class FileExist {\n"); + sb.append("class ObjectExist {\n"); - sb.append(" isExist: ").append(toIndentedString(isExist)).append("\n"); + sb.append(" exists: ").append(toIndentedString(exists)).append("\n"); sb.append(" isFolder: ").append(toIndentedString(isFolder)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Page.java b/src/main/java/com/aspose/asposecloudpdf/model/Page.java index 4856f80..60c93f4 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/Page.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/Page.java @@ -61,7 +61,7 @@ public Page id(Integer id) { * Page's id. * @return id **/ - @ApiModelProperty(value = "Page's id.") + @ApiModelProperty(required = true, value = "Page's id.") public Integer getId() { return id; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/PolyAnnotation.java b/src/main/java/com/aspose/asposecloudpdf/model/PolyAnnotation.java index e44e92d..75d7d26 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/PolyAnnotation.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/PolyAnnotation.java @@ -63,7 +63,7 @@ public class PolyAnnotation extends MarkupAnnotation { private PolyIntent intent = null; @SerializedName("Vertices") - private List vertices = null; + private List vertices = new ArrayList(); public PolyAnnotation interiorColor(Color interiorColor) { this.interiorColor = interiorColor; @@ -143,9 +143,6 @@ public PolyAnnotation vertices(List vertices) { } public PolyAnnotation addVerticesItem(Point verticesItem) { - if (this.vertices == null) { - this.vertices = new ArrayList(); - } this.vertices.add(verticesItem); return this; } @@ -154,7 +151,7 @@ public PolyAnnotation addVerticesItem(Point verticesItem) { * Gets or sets an array of points representing the horizontal and vertical coordinates of each vertex. * @return vertices **/ - @ApiModelProperty(value = "Gets or sets an array of points representing the horizontal and vertical coordinates of each vertex.") + @ApiModelProperty(required = true, value = "Gets or sets an array of points representing the horizontal and vertical coordinates of each vertex.") public List getVertices() { return vertices; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/RectanglePdf.java b/src/main/java/com/aspose/asposecloudpdf/model/RectanglePdf.java deleted file mode 100644 index e73ebbb..0000000 --- a/src/main/java/com/aspose/asposecloudpdf/model/RectanglePdf.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - * - * Copyright (c) 2018 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. - * - */ - - -package com.aspose.asposecloudpdf.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Represents rectangle DTO. - */ -@ApiModel(description = "Represents rectangle DTO.") - -public class RectanglePdf { - @SerializedName("LLX") - private Double LLX = null; - - @SerializedName("LLY") - private Double LLY = null; - - @SerializedName("URX") - private Double URX = null; - - @SerializedName("URY") - private Double URY = null; - - public RectanglePdf LLX(Double LLX) { - this.LLX = LLX; - return this; - } - - /** - * Get LLX - * @return LLX - **/ - @ApiModelProperty(required = true, value = "") - public Double getLLX() { - return LLX; - } - - public void setLLX(Double LLX) { - this.LLX = LLX; - } - - public RectanglePdf LLY(Double LLY) { - this.LLY = LLY; - return this; - } - - /** - * Get LLY - * @return LLY - **/ - @ApiModelProperty(required = true, value = "") - public Double getLLY() { - return LLY; - } - - public void setLLY(Double LLY) { - this.LLY = LLY; - } - - public RectanglePdf URX(Double URX) { - this.URX = URX; - return this; - } - - /** - * Get URX - * @return URX - **/ - @ApiModelProperty(required = true, value = "") - public Double getURX() { - return URX; - } - - public void setURX(Double URX) { - this.URX = URX; - } - - public RectanglePdf URY(Double URY) { - this.URY = URY; - return this; - } - - /** - * Get URY - * @return URY - **/ - @ApiModelProperty(required = true, value = "") - public Double getURY() { - return URY; - } - - public void setURY(Double URY) { - this.URY = URY; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RectanglePdf rectanglePdf = (RectanglePdf) o; - return Objects.equals(this.LLX, rectanglePdf.LLX) && - Objects.equals(this.LLY, rectanglePdf.LLY) && - Objects.equals(this.URX, rectanglePdf.URX) && - Objects.equals(this.URY, rectanglePdf.URY); - } - - @Override - public int hashCode() { - return Objects.hash(LLX, LLY, URX, URY); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RectanglePdf {\n"); - - sb.append(" LLX: ").append(toIndentedString(LLX)).append("\n"); - sb.append(" LLY: ").append(toIndentedString(LLY)).append("\n"); - sb.append(" URX: ").append(toIndentedString(URX)).append("\n"); - sb.append(" URY: ").append(toIndentedString(URY)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(java.lang.Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Signature.java b/src/main/java/com/aspose/asposecloudpdf/model/Signature.java index d09e1f7..c3af486 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/Signature.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/Signature.java @@ -211,10 +211,10 @@ public Signature visible(Boolean visible) { } /** - * Gets or sets a value indicating whether this is visible. Supports only when signing particular page. + * Gets or sets a value indicating whether this Signature is visible. Supports only when signing particular page. * @return visible **/ - @ApiModelProperty(required = true, value = "Gets or sets a value indicating whether this is visible. Supports only when signing particular page.") + @ApiModelProperty(required = true, value = "Gets or sets a value indicating whether this Signature is visible. Supports only when signing particular page.") public Boolean isVisible() { return visible; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/SignatureVerifyResponse.java b/src/main/java/com/aspose/asposecloudpdf/model/SignatureVerifyResponse.java index f007edf..3e04905 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/SignatureVerifyResponse.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/SignatureVerifyResponse.java @@ -51,7 +51,7 @@ public SignatureVerifyResponse valid(Boolean valid) { * True if signature is valid and false if not * @return valid **/ - @ApiModelProperty(value = "True if signature is valid and false if not") + @ApiModelProperty(required = true, value = "True if signature is valid and false if not") public Boolean isValid() { return valid; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/SoundAnnotation.java b/src/main/java/com/aspose/asposecloudpdf/model/SoundAnnotation.java index 172d222..6ec20c4 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/SoundAnnotation.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/SoundAnnotation.java @@ -75,7 +75,7 @@ public SoundAnnotation filePath(String filePath) { * A sound file path defining the sound to be played when the annotation is activated. * @return filePath **/ - @ApiModelProperty(value = "A sound file path defining the sound to be played when the annotation is activated.") + @ApiModelProperty(required = true, value = "A sound file path defining the sound to be played when the annotation is activated.") public String getFilePath() { return filePath; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/SplitResultDocument.java b/src/main/java/com/aspose/asposecloudpdf/model/SplitResultDocument.java index 914f93f..a191d7b 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/SplitResultDocument.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/SplitResultDocument.java @@ -51,7 +51,7 @@ public SplitResultDocument id(Integer id) { * Gets or sets the page number. * @return id **/ - @ApiModelProperty(value = "Gets or sets the page number.") + @ApiModelProperty(required = true, value = "Gets or sets the page number.") public Integer getId() { return id; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Stamp.java b/src/main/java/com/aspose/asposecloudpdf/model/Stamp.java index 44daf74..30b781c 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/Stamp.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/Stamp.java @@ -241,10 +241,10 @@ public Stamp rotate(Rotation rotate) { } /** - * Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. + * Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. * @return rotate **/ - @ApiModelProperty(value = "Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None.") + @ApiModelProperty(value = "Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None.") public Rotation getRotate() { return rotate; } @@ -403,10 +403,10 @@ public Stamp textState(TextState textState) { } /** - * Gets text properties of the stamp. See for details. + * Gets text properties of the stamp. See TextState for details. * @return textState **/ - @ApiModelProperty(value = "Gets text properties of the stamp. See for details.") + @ApiModelProperty(value = "Gets text properties of the stamp. See TextState for details.") public TextState getTextState() { return textState; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/StampBase.java b/src/main/java/com/aspose/asposecloudpdf/model/StampBase.java index 89fbec6..6e49855 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/StampBase.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/StampBase.java @@ -127,10 +127,10 @@ public StampBase rotate(Rotation rotate) { } /** - * Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. + * Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. * @return rotate **/ - @ApiModelProperty(value = "Sets or gets the rotation of stamp content according values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None.") + @ApiModelProperty(value = "Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None.") public Rotation getRotate() { return rotate; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/StampInfo.java b/src/main/java/com/aspose/asposecloudpdf/model/StampInfo.java index d5f53a6..8216371 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/StampInfo.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/StampInfo.java @@ -181,7 +181,7 @@ public StampInfo stampType(StampType stampType) { * Gets stamp type. * @return stampType **/ - @ApiModelProperty(value = "Gets stamp type.") + @ApiModelProperty(required = true, value = "Gets stamp type.") public StampType getStampType() { return stampType; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/StorageExistResponse.java b/src/main/java/com/aspose/asposecloudpdf/model/StorageExist.java similarity index 71% rename from src/main/java/com/aspose/asposecloudpdf/model/StorageExistResponse.java rename to src/main/java/com/aspose/asposecloudpdf/model/StorageExist.java index adaded1..035e37a 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/StorageExistResponse.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/StorageExist.java @@ -23,7 +23,6 @@ package com.aspose.asposecloudpdf.model; import java.util.Objects; -import com.aspose.asposecloudpdf.model.AsposeResponse; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -34,29 +33,30 @@ import java.io.IOException; /** - * StorageExistResponse + * Storage exists */ +@ApiModel(description = "Storage exists") -public class StorageExistResponse extends AsposeResponse { - @SerializedName("IsExist") - private Boolean isExist = null; +public class StorageExist { + @SerializedName("Exists") + private Boolean exists = null; - public StorageExistResponse isExist(Boolean isExist) { - this.isExist = isExist; + public StorageExist exists(Boolean exists) { + this.exists = exists; return this; } /** - * Get isExist - * @return isExist + * Shows that the storage exists. + * @return exists **/ - @ApiModelProperty(value = "") - public Boolean isIsExist() { - return isExist; + @ApiModelProperty(required = true, value = "Shows that the storage exists. ") + public Boolean isExists() { + return exists; } - public void setIsExist(Boolean isExist) { - this.isExist = isExist; + public void setExists(Boolean exists) { + this.exists = exists; } @@ -68,23 +68,22 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - StorageExistResponse storageExistResponse = (StorageExistResponse) o; - return Objects.equals(this.isExist, storageExistResponse.isExist) && - super.equals(o); + StorageExist storageExist = (StorageExist) o; + return Objects.equals(this.exists, storageExist.exists); } @Override public int hashCode() { - return Objects.hash(isExist, super.hashCode()); + return Objects.hash(exists); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class StorageExistResponse {\n"); - sb.append(" ").append(toIndentedString(super.toString())).append("\n"); - sb.append(" isExist: ").append(toIndentedString(isExist)).append("\n"); + sb.append("class StorageExist {\n"); + + sb.append(" exists: ").append(toIndentedString(exists)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/File.java b/src/main/java/com/aspose/asposecloudpdf/model/StorageFile.java similarity index 77% rename from src/main/java/com/aspose/asposecloudpdf/model/File.java rename to src/main/java/com/aspose/asposecloudpdf/model/StorageFile.java index 3543570..dc55f84 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/File.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/StorageFile.java @@ -34,12 +34,12 @@ import org.threeten.bp.OffsetDateTime; /** - * Represents file DTO. + * File or folder information */ -@ApiModel(description = "Represents file DTO.") +@ApiModel(description = "File or folder information") -public class File { +public class StorageFile { @SerializedName("Name") private String name = null; @@ -55,16 +55,16 @@ public class File { @SerializedName("Path") private String path = null; - public File name(String name) { + public StorageFile name(String name) { this.name = name; return this; } /** - * Get name + * File or folder name. * @return name **/ - @ApiModelProperty(value = "") + @ApiModelProperty(value = "File or folder name.") public String getName() { return name; } @@ -73,16 +73,16 @@ public void setName(String name) { this.name = name; } - public File isFolder(Boolean isFolder) { + public StorageFile isFolder(Boolean isFolder) { this.isFolder = isFolder; return this; } /** - * Get isFolder + * True if it is a folder. * @return isFolder **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(required = true, value = "True if it is a folder.") public Boolean isIsFolder() { return isFolder; } @@ -91,16 +91,16 @@ public void setIsFolder(Boolean isFolder) { this.isFolder = isFolder; } - public File modifiedDate(OffsetDateTime modifiedDate) { + public StorageFile modifiedDate(OffsetDateTime modifiedDate) { this.modifiedDate = modifiedDate; return this; } /** - * Get modifiedDate + * File or folder last modified DateTime. * @return modifiedDate **/ - @ApiModelProperty(value = "") + @ApiModelProperty(value = "File or folder last modified DateTime.") public OffsetDateTime getModifiedDate() { return modifiedDate; } @@ -109,16 +109,16 @@ public void setModifiedDate(OffsetDateTime modifiedDate) { this.modifiedDate = modifiedDate; } - public File size(Long size) { + public StorageFile size(Long size) { this.size = size; return this; } /** - * Get size + * File or folder size. * @return size **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(required = true, value = "File or folder size.") public Long getSize() { return size; } @@ -127,16 +127,16 @@ public void setSize(Long size) { this.size = size; } - public File path(String path) { + public StorageFile path(String path) { this.path = path; return this; } /** - * Get path + * File or folder path. * @return path **/ - @ApiModelProperty(value = "") + @ApiModelProperty(value = "File or folder path.") public String getPath() { return path; } @@ -154,12 +154,12 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - File file = (File) o; - return Objects.equals(this.name, file.name) && - Objects.equals(this.isFolder, file.isFolder) && - Objects.equals(this.modifiedDate, file.modifiedDate) && - Objects.equals(this.size, file.size) && - Objects.equals(this.path, file.path); + StorageFile storageFile = (StorageFile) o; + return Objects.equals(this.name, storageFile.name) && + Objects.equals(this.isFolder, storageFile.isFolder) && + Objects.equals(this.modifiedDate, storageFile.modifiedDate) && + Objects.equals(this.size, storageFile.size) && + Objects.equals(this.path, storageFile.path); } @Override @@ -171,7 +171,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class File {\n"); + sb.append("class StorageFile {\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" isFolder: ").append(toIndentedString(isFolder)).append("\n"); diff --git a/src/main/java/com/aspose/asposecloudpdf/model/Table.java b/src/main/java/com/aspose/asposecloudpdf/model/Table.java index 4f7f4fa..2f7cd86 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/Table.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/Table.java @@ -78,7 +78,7 @@ public class Table extends LinkElement { private BorderInfo border = null; @SerializedName("Rows") - private List rows = null; + private List rows = new ArrayList(); @SerializedName("DefaultColumnWidth") private String defaultColumnWidth = null; @@ -269,9 +269,6 @@ public Table rows(List rows) { } public Table addRowsItem(Row rowsItem) { - if (this.rows == null) { - this.rows = new ArrayList(); - } this.rows.add(rowsItem); return this; } @@ -280,7 +277,7 @@ public Table addRowsItem(Row rowsItem) { * Sets the rows of the table. * @return rows **/ - @ApiModelProperty(value = "Sets the rows of the table.") + @ApiModelProperty(required = true, value = "Sets the rows of the table.") public List getRows() { return rows; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/TextFooter.java b/src/main/java/com/aspose/asposecloudpdf/model/TextFooter.java index ebad0a4..e755d38 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/TextFooter.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/TextFooter.java @@ -104,10 +104,10 @@ public TextFooter textState(TextState textState) { } /** - * Gets text properties of the stamp. See for details. + * Gets text properties of the stamp. See TextState for details. * @return textState **/ - @ApiModelProperty(value = "Gets text properties of the stamp. See for details.") + @ApiModelProperty(value = "Gets text properties of the stamp. See TextState for details.") public TextState getTextState() { return textState; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/TextHeader.java b/src/main/java/com/aspose/asposecloudpdf/model/TextHeader.java index c7df83d..50aa42d 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/TextHeader.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/TextHeader.java @@ -104,10 +104,10 @@ public TextHeader textState(TextState textState) { } /** - * Gets text properties of the stamp. See for details. + * Gets text properties of the stamp. See TextState for details. * @return textState **/ - @ApiModelProperty(value = "Gets text properties of the stamp. See for details.") + @ApiModelProperty(value = "Gets text properties of the stamp. See TextState for details.") public TextState getTextState() { return textState; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/TextRect.java b/src/main/java/com/aspose/asposecloudpdf/model/TextRect.java index 9c34196..ecddee5 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/TextRect.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/TextRect.java @@ -163,10 +163,10 @@ public TextRect position(Position position) { } /** - * Gets or sets text position for text, represented with object. + * Gets or sets text position for text, represented with TextRect object. * @return position **/ - @ApiModelProperty(value = "Gets or sets text position for text, represented with object.") + @ApiModelProperty(value = "Gets or sets text position for text, represented with TextRect object.") public Position getPosition() { return position; } @@ -181,10 +181,10 @@ public TextRect baselinePosition(Position baselinePosition) { } /** - * Gets text position for text, represented with object. The YIndent of the Position structure represents baseline coordinate of the text fragment. + * Gets text position for text, represented with TextRect object. The YIndent of the Position structure represents baseline coordinate of the text fragment. * @return baselinePosition **/ - @ApiModelProperty(value = "Gets text position for text, represented with object. The YIndent of the Position structure represents baseline coordinate of the text fragment.") + @ApiModelProperty(value = "Gets text position for text, represented with TextRect object. The YIndent of the Position structure represents baseline coordinate of the text fragment.") public Position getBaselinePosition() { return baselinePosition; } @@ -199,10 +199,10 @@ public TextRect textState(TextState textState) { } /** - * Gets or sets text state for the text that object represents. + * Gets or sets text state for the text that TextRect object represents. * @return textState **/ - @ApiModelProperty(value = "Gets or sets text state for the text that object represents.") + @ApiModelProperty(value = "Gets or sets text state for the text that TextRect object represents.") public TextState getTextState() { return textState; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/TextReplaceListRequest.java b/src/main/java/com/aspose/asposecloudpdf/model/TextReplaceListRequest.java index 95b7864..e79c701 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/TextReplaceListRequest.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/TextReplaceListRequest.java @@ -82,10 +82,10 @@ public TextReplaceListRequest defaultFont(String defaultFont) { } /** - * Get defaultFont + * Name of font to use if requested font is not embedded into document. * @return defaultFont **/ - @ApiModelProperty(value = "") + @ApiModelProperty(value = "Name of font to use if requested font is not embedded into document.") public String getDefaultFont() { return defaultFont; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/TextReplaceResponse.java b/src/main/java/com/aspose/asposecloudpdf/model/TextReplaceResponse.java index 2692081..eeb3e87 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/TextReplaceResponse.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/TextReplaceResponse.java @@ -51,7 +51,7 @@ public TextReplaceResponse matches(Integer matches) { * Number of matches * @return matches **/ - @ApiModelProperty(value = "Number of matches") + @ApiModelProperty(required = true, value = "Number of matches") public Integer getMatches() { return matches; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/TextStamp.java b/src/main/java/com/aspose/asposecloudpdf/model/TextStamp.java index 7c34d5d..5535a77 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/TextStamp.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/TextStamp.java @@ -111,10 +111,10 @@ public TextStamp textState(TextState textState) { } /** - * Gets text properties of the stamp. See for details. + * Gets text properties of the stamp. See TextState for details. * @return textState **/ - @ApiModelProperty(value = "Gets text properties of the stamp. See for details.") + @ApiModelProperty(value = "Gets text properties of the stamp. See TextState for details.") public TextState getTextState() { return textState; } diff --git a/src/main/java/com/aspose/asposecloudpdf/model/WordCountResponse.java b/src/main/java/com/aspose/asposecloudpdf/model/WordCountResponse.java index 42a1bad..e45166f 100644 --- a/src/main/java/com/aspose/asposecloudpdf/model/WordCountResponse.java +++ b/src/main/java/com/aspose/asposecloudpdf/model/WordCountResponse.java @@ -49,10 +49,10 @@ public WordCountResponse wordsPerPage(WordCount wordsPerPage) { } /** - * with words per page info. + * WordCount with words per page info. * @return wordsPerPage **/ - @ApiModelProperty(value = "with words per page info. ") + @ApiModelProperty(value = "WordCount with words per page info.") public WordCount getWordsPerPage() { return wordsPerPage; } diff --git a/src/test/java/com/aspose/asposecloudpdf/api/AnnotattionsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/AnnotattionsTests.java new file mode 100644 index 0000000..ab8651d --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/AnnotattionsTests.java @@ -0,0 +1,142 @@ +/** + * + * 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class AnnotattionsTests +{ + private TestHelper th; + public AnnotattionsTests() throws ApiException + { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + + th.uploadFile(name); + AnnotationsInfoResponse response = th.pdfApi.getDocumentAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * DeleteDocumentAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteDocumentAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + + th.uploadFile(name); + AsposeResponse response = th.pdfApi.deleteDocumentAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + int pageNumber = 2; + + th.uploadFile(name); + AnnotationsInfoResponse response = th.pdfApi.getPageAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * DeletePageAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deletePageAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + int pageNumber = 2; + + th.uploadFile(name); + AsposeResponse response = th.pdfApi.deletePageAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * DeleteAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + + th.uploadFile(name); + + AnnotationsInfoResponse responseAnnotations = th.pdfApi.getDocumentAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.deleteAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutAnnotationsFlattenTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void PutAnnotationsFlattenTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + int endPage = 2; + List annotationTypes = new ArrayList<>(); + annotationTypes.add(AnnotationType.STAMP); + th.uploadFile(name); + AsposeResponse response = th.pdfApi.putAnnotationsFlatten(name, null, endPage, annotationTypes, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/AppendTests.java b/src/test/java/com/aspose/asposecloudpdf/api/AppendTests.java new file mode 100644 index 0000000..00ec049 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/AppendTests.java @@ -0,0 +1,60 @@ +/** + * + * 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class AppendTests +{ + private TestHelper th; + public AppendTests() throws ApiException + { + th = TestHelper.getInstance(); + } + /** + * PostAppendDocumentUsingQueryParams Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postAppendDocumentTest() throws ApiException + { + String name = "PdfWithImages2.pdf"; + String appendFileName = "4pages.pdf"; + + th.uploadFile(name); + th.uploadFile(appendFileName); + + int startPage = 2; + int endPage = 4; + + DocumentResponse response = th.pdfApi.postAppendDocument(name, th.tempFolder + '/' + appendFileName, startPage, endPage, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} + diff --git a/src/test/java/com/aspose/asposecloudpdf/api/AttachmentsTestsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/AttachmentsTestsTests.java new file mode 100644 index 0000000..a788e47 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/AttachmentsTestsTests.java @@ -0,0 +1,94 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class AttachmentsTestsTests { + private TestHelper th; + + public AttachmentsTestsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentAttachmentByIndex Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getDocumentAttachmentByIndexTest() throws ApiException + { + String name = "PdfWithEmbeddedFiles.pdf"; + this.th.uploadFile(name); + + int attachmentIndex = 1; + + AttachmentResponse response = this.th.pdfApi.getDocumentAttachmentByIndex(name, attachmentIndex, null, this.th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetDocumentAttachments Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getDocumentAttachmentsTest() throws ApiException + { + String name = "PdfWithEmbeddedFiles.pdf"; + this.th.uploadFile(name); + + AttachmentsResponse response = this.th.pdfApi.getDocumentAttachments(name, null, this.th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetDownloadDocumentAttachmentByIndex Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getDownloadDocumentAttachmentByIndexTest() throws ApiException + { + String name = "PdfWithEmbeddedFiles.pdf"; + this.th.uploadFile(name); + + int attachmentIndex = 1; + + File response = this.th.pdfApi.getDownloadDocumentAttachmentByIndex(name, attachmentIndex, null, this.th.tempFolder); + assertNotNull(response); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/BookmarksTests.java b/src/test/java/com/aspose/asposecloudpdf/api/BookmarksTests.java new file mode 100644 index 0000000..13d19e5 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/BookmarksTests.java @@ -0,0 +1,185 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; + +import static org.junit.Assert.assertEquals; + +public class BookmarksTests { + private TestHelper th; + + public BookmarksTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentBookmarksTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentBookmarksTest()throws ApiException + { + String name = "PdfWithBookmarks.pdf"; + th.uploadFile(name); + + BookmarksResponse response = th.pdfApi.getDocumentBookmarks(name, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetBookmarksTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getBookmarksTest()throws ApiException + { + String name = "PdfWithBookmarks.pdf"; + th.uploadFile(name); + + String bookmarkPath = "1/1"; + + BookmarksResponse response = th.pdfApi.getBookmarks(name, bookmarkPath, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetBookmarkTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getBookmarkTest()throws ApiException + { + String name = "PdfWithBookmarks.pdf"; + th.uploadFile(name); + + String bookmarkPath = "1/1"; + + BookmarkResponse response = th.pdfApi.getBookmark(name, bookmarkPath, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * DeleteDocumentBookmarksTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteDocumentBookmarksTest()throws ApiException + { + String name = "PdfWithBookmarks.pdf"; + th.uploadFile(name); + + AsposeResponse response = th.pdfApi.deleteDocumentBookmarks(name, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * DeleteBookmarkTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteBookmarkTest()throws ApiException + { + String name = "PdfWithBookmarks.pdf"; + th.uploadFile(name); + + String bookmarkPath = "1/1"; + + AsposeResponse response = th.pdfApi.deleteBookmark(name, bookmarkPath, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostBookmarkTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postBookmarkTest()throws ApiException + { + String name = "PdfWithBookmarks.pdf"; + th.uploadFile(name); + + String bookmarkPath = "1/1"; + + Bookmark bookmark = new Bookmark(); + bookmark.setAction("GoTo"); + bookmark.setBold(true); + bookmark.setItalic(false); + bookmark.setTitle("New Bookmark XYZ"); + bookmark.setPageDisplay("XYZ"); + bookmark.setPageDisplayBottom(10); + bookmark.setPageDisplayLeft(10); + bookmark.setPageDisplayRight(10); + bookmark.setPageDisplayTop(10); + bookmark.setPageDisplayZoom(2); + bookmark.setPageNumber(2); + bookmark.setColor(new Color().A(255).R(255)); + ArrayList bookmarks = new ArrayList(); + bookmarks.add(bookmark); + + BookmarksResponse response = th.pdfApi.postBookmark(name, bookmarkPath, bookmarks, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostBookmarkTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putBookmarkTest()throws ApiException + { + String name = "PdfWithBookmarks.pdf"; + th.uploadFile(name); + + String bookmarkPath = "1/1"; + + Bookmark bookmark = new Bookmark(); + bookmark.setAction("GoTo"); + bookmark.setBold(true); + bookmark.setItalic(false); + bookmark.setTitle("New Bookmark XYZ"); + bookmark.setPageDisplay("XYZ"); + bookmark.setPageDisplayBottom(10); + bookmark.setPageDisplayLeft(10); + bookmark.setPageDisplayRight(10); + bookmark.setPageDisplayTop(10); + bookmark.setPageDisplayZoom(2); + bookmark.setPageNumber(2); + bookmark.setColor(new Color().A(255).R(255)); + + + BookmarkResponse response = th.pdfApi.putBookmark(name, bookmarkPath, bookmark, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/CaretAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/CaretAnnotationsTests.java new file mode 100644 index 0000000..8824104 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/CaretAnnotationsTests.java @@ -0,0 +1,175 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class CaretAnnotationsTests { + private TestHelper th; + + public CaretAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentCaretAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentCaretAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + CaretAnnotationsResponse response = th.pdfApi.getDocumentCaretAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageCaretAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageCaretAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + CaretAnnotationsResponse response = th.pdfApi.getPageCaretAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetCaretAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getCaretAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + CaretAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentCaretAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + CaretAnnotationResponse response = th.pdfApi.getCaretAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageCaretAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageCaretAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + CaretAnnotation annotation = new CaretAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setFrame(rect); + annotation.setModified("02/02/2008 00:00:00.000 AM"); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageCaretAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutCaretAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putCaretAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + + CaretAnnotation annotation = new CaretAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + annotation.setFrame(rect); + annotation.setModified("02/02/2008 00:00:00.000 AM"); + + CaretAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentCaretAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putCaretAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/CircleAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/CircleAnnotationsTests.java new file mode 100644 index 0000000..369ed6b --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/CircleAnnotationsTests.java @@ -0,0 +1,170 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class CircleAnnotationsTests { + private TestHelper th; + + public CircleAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentCircleAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentCircleAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + CircleAnnotationsResponse response = th.pdfApi.getDocumentCircleAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageCircleAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageCircleAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + CircleAnnotationsResponse response = th.pdfApi.getPageCircleAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetCircleAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getCircleAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + CircleAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentCircleAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + CircleAnnotationResponse response = th.pdfApi.getCircleAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageCircleAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageCircleAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + CircleAnnotation annotation = new CircleAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageCircleAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutCircleAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putCircleAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + CircleAnnotation annotation = new CircleAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + + CircleAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentCircleAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putCircleAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/ConvertTests.java b/src/test/java/com/aspose/asposecloudpdf/api/ConvertTests.java new file mode 100644 index 0000000..aae767f --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/ConvertTests.java @@ -0,0 +1,883 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class ConvertTests { + private TestHelper th; + + public ConvertTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetPdfInStorageToDoc Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToDocTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + String folder = th.tempFolder; + + File response = th.pdfApi.getPdfInStorageToDoc(name, null, null, null, null, null, null, null, null, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToDoc Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToDocTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + String folder = th.tempFolder; + String resFileName = "result.doc"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToDoc(name, th.tempFolder + '/' + resFileName, null, null, null, null, null, null, null, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToDoc Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToDocTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.doc"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToDoc(th.tempFolder + '/' + resFileName, null, null, null, null, null, null, null, null, null, file); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPdfInStorageToPdfA Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToPdfATest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String type = PdfAType.PDFA1A.toString(); + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToPdfA(name, type, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToPdfA Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToPdfATest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String type = PdfAType.PDFA1A.toString(); + String folder = th.tempFolder; + String resFileName = "result.pdf"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToPdfA(name, th.tempFolder + '/' + resFileName, type, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToPdfA Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToPdfATest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String type = PdfAType.PDFA1A.toString(); + String resFileName = "result.pdf"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToPdfA(th.tempFolder + '/' + resFileName, type, null, file); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPdfInStorageToTiff Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToTiffTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToTiff(name, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToTiff Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToTiffTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.tiff"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToTiff(name, th.tempFolder + '/' + resFileName, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToTiff Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToTiffTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.tiff"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToTiff(th.tempFolder + '/' + resFileName, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, file); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPdfInStorageToSvg Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToSvgTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToSvg(name, null, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToSvg Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToSvgTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.svg"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToSvg(name, th.tempFolder + '/' + resFileName, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToSvg Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToSvgTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.svg"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToSvg(th.tempFolder + '/' + resFileName, null, file); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPdfInStorageToXps Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToXpsTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToXps(name, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToXps Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToXpsTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.xps"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToXps(name, th.tempFolder + '/' + resFileName, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToXps Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToXpsTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.xps"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToXps(th.tempFolder + '/' + resFileName, null , file); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPdfInStorageToXls Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToXlsTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToXls(name, null, null, null, null, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToXls Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToXlsTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.xls"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToXls(name, th.tempFolder + '/' + resFileName, null, null, null, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToXls Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToXlsTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.xls"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToXls(th.tempFolder + '/' + resFileName, null, null, null, null, null , file); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPdfInStorageToXlsx Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToXlsxTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToXlsx(name, null, null, null, null, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToXlsx Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToXlsxTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.xlsx"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToXlsx(name, th.tempFolder + '/' + resFileName, null, null, null, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToXlsx Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToXlsxTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.xlsx"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToXlsx(th.tempFolder + '/' + resFileName, null, null, null, null, null , file); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPdfInStorageToHtml Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToHtmlTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToHtml(name, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToHtml Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToHtmlTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.zip"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToHtml( + name, + th.tempFolder + '/' + resFileName, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + folder, + null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToHtml Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToHtmlTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.zip"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToHtml( + th.tempFolder + '/' + resFileName, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + file); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPdfInStorageToEpub Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToEpubTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToEpub(name, null, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToEpub Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToEpubTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.epub"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToEpub(name, th.tempFolder + '/' + resFileName, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToEpub Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToEpubTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.epub"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToEpub(th.tempFolder + '/' + resFileName, null, null, file); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPdfInStorageToPptx Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToPptxTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToPptx(name, null, null, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToPptx Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToPptxTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.pptx"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToPptx(name, th.tempFolder + '/' + resFileName, null, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToPptx Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToPptxTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.pptx"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToPptx(th.tempFolder + '/' + resFileName, null, null, null, file); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPdfInStorageToLaTeX Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToLaTeXTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToLaTeX(name, null, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToLaTeX Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToLaTeXTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.latex"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToLaTeX(name, th.tempFolder + '/' + resFileName, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToLaTeX Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToLaTeXTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.latex"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToLaTeX(th.tempFolder + '/' + resFileName, null, null, file); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPdfInStorageToMobiXml Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToMobiXmlTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToMobiXml(name, folder, null); + assertNotNull(response); + } + + + /** + * PutPdfInStorageToMobiXml Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToMobiXmlTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.mobi"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToMobiXml(name, th.tempFolder + '/' + resFileName, folder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutPdfInRequestToMobiXml Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToMobiXmlTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.mobi"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToMobiXml(th.tempFolder + '/' + resFileName, null, file); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetXfaPdfInStorageToAcroForm Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getXfaPdfInStorageToAcroFormTest() throws ApiException + { + String name = "PdfWithXfaForm.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getXfaPdfInStorageToAcroForm(name, folder, null); + assertNotNull(response); + } + + /** + * PutXfaPdfInStorageToAcroForm Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putXfaPdfInStorageToAcroFormTest() throws ApiException + { + String name = "PdfWithXfaForm.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.pdf"; + + AsposeResponse response = th.pdfApi.putXfaPdfInStorageToAcroForm(name, th.tempFolder + '/' + resFileName, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutXfaPdfInRequestToAcroForm Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putXfaPdfInRequestToAcroFormTest() throws ApiException + { + String name = "PdfWithXfaForm.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.pdf"; + + AsposeResponse response = th.pdfApi.putXfaPdfInRequestToAcroForm(th.tempFolder + '/' + resFileName, null, file); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPdfInStorageToXml Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPdfInStorageToXmlTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + + File response = th.pdfApi.getPdfInStorageToXml(name, folder, null); + assertNotNull(response); + } + + /** + * PutPdfInStorageToXml Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInStorageToXmlTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String resFileName = "result.xml"; + + AsposeResponse response = th.pdfApi.putPdfInStorageToXml(name, th.tempFolder + '/' + resFileName, folder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutPdfInRequestToXml Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPdfInRequestToXmlTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + String resFileName = "result.xml"; + + AsposeResponse response = th.pdfApi.putPdfInRequestToXml(th.tempFolder + '/' + resFileName, null, file); + assertEquals(200, (int)response.getCode()); + } +} + diff --git a/src/test/java/com/aspose/asposecloudpdf/api/ConvertToPdfTests.java b/src/test/java/com/aspose/asposecloudpdf/api/ConvertToPdfTests.java new file mode 100644 index 0000000..ccc11b1 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/ConvertToPdfTests.java @@ -0,0 +1,525 @@ +/** + * + * Copyright (c) 2019 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; +import java.util.ArrayList; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class ConvertToPdfTests { + private TestHelper th; + + public ConvertToPdfTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetEpubInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getEpubInStorageToPdfTest() throws ApiException + { + String name = "4pages.epub"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + + File response = th.pdfApi.getEpubInStorageToPdf(srcPath, null); + assertNotNull(response); + } + + + /** + * PutEpubInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putEpubInStorageToPdfTest() throws ApiException + { + String name = "4pages.epub"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + String resultName = "fromEpub.pdf"; + + AsposeResponse response = th.pdfApi.putEpubInStorageToPdf(resultName, srcPath, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetWebInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getWebInStorageToPdfTest() throws ApiException + { + String sourceUrl = "http://google.com"; + + File response = th.pdfApi.getWebInStorageToPdf(sourceUrl, null, null , null, + null, null, null, null, null); + assertNotNull(response); + } + + + /** + * PutWebInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putWebInStorageToPdfTest() throws ApiException + { + String sourceUrl = "http://google.com"; + String resultName = "fromWeb.pdf"; + + AsposeResponse response = th.pdfApi.putWebInStorageToPdf(resultName, sourceUrl, null, + null, null, null, null, null, + null, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetLaTeXInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getLaTeXInStorageToPdfTest() throws ApiException + { + String name = "sample.tex"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + + File response = th.pdfApi.getLaTeXInStorageToPdf(srcPath, null); + assertNotNull(response); + } + + + /** + * PutLaTeXInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putLaTeXInStorageToPdfTest() throws ApiException + { + String name = "sample.tex"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + String resultName = "fromTex.pdf"; + + AsposeResponse response = th.pdfApi.putLaTeXInStorageToPdf(resultName, srcPath, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetMhtInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getMhtInStorageToPdfTest() throws ApiException + { + String name = "MhtExample.mht"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + + File response = th.pdfApi.getMhtInStorageToPdf(srcPath, null); + assertNotNull(response); + } + + + /** + * PutMhtInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putMhtInStorageToPdfTest() throws ApiException + { + String name = "MhtExample.mht"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + String resultName = "fromMht.pdf"; + + AsposeResponse response = th.pdfApi.putMhtInStorageToPdf(resultName, srcPath, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetHtmlInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getHtmlInStorageToPdfTest() throws ApiException + { + String name = "HtmlWithImage.zip"; + th.uploadFile(name); + + String htmlFileName = "HtmlWithImage.html"; + double height = 650; + double width = 250; + String srcPath = th.tempFolder + '/' + name; + + File response = th.pdfApi.getHtmlInStorageToPdf(srcPath, htmlFileName, height, width, + null, null, null, null, null, null); + assertNotNull(response); + } + + + /** + * PutHtmlInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putHtmlInStorageToPdfTest() throws ApiException + { + String name = "HtmlWithImage.zip"; + th.uploadFile(name); + + String htmlFileName = "HtmlWithImage.html"; + double height = 650; + double width = 250; + String resultName = "fromHtml.pdf"; + String srcPath = th.tempFolder + '/' + name; + + + AsposeResponse response = th.pdfApi.putHtmlInStorageToPdf(name, srcPath, htmlFileName, + height, width, null, null, null, + null, null, null, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetXslFoInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getXslFoInStorageToPdfTest() throws ApiException + { + String name = "XslfoExample.xslfo"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + + File response = th.pdfApi.getXslFoInStorageToPdf(srcPath, null); + assertNotNull(response); + } + + + /** + * PutXslFoInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putXslFoInStorageToPdfTest() throws ApiException + { + String name = "XslfoExample.xslfo"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + String resultName = "fromXlsFo.pdf"; + + AsposeResponse response = th.pdfApi.putXslFoInStorageToPdf(resultName, srcPath, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetXpsInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getXpsInStorageToPdfTest() throws ApiException + { + String name = "Simple.xps"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + + File response = th.pdfApi.getXpsInStorageToPdf(srcPath, null); + assertNotNull(response); + } + + + /** + * PutXpsInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putXpsInStorageToPdfTest() throws ApiException + { + String name = "Simple.xps"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + String resultName = "fromXps.pdf"; + + AsposeResponse response = th.pdfApi.putXpsInStorageToPdf(resultName, srcPath, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetSvgInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getSvgInStorageToPdfTest() throws ApiException + { + String name = "Simple.svg"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + + File response = th.pdfApi.getSvgInStorageToPdf(srcPath, null, null, null, + null, null, null, null, null, null); + assertNotNull(response); + } + + + /** + * PutSvgInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putSvgInStorageToPdfTest() throws ApiException + { + String name = "Simple.svg"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + String resultName = "fromSvg.pdf"; + + AsposeResponse response = th.pdfApi.putSvgInStorageToPdf(resultName, srcPath, null, + null, null, null, null, null, + null, null, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPclInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPclInStorageToPdfTest() throws ApiException + { + String name = "template.pcl"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + + File response = th.pdfApi.getPclInStorageToPdf(srcPath, null); + assertNotNull(response); + } + + + /** + * PutPclInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPclInStorageToPdfTest() throws ApiException + { + String name = "template.pcl"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + String resultName = "fromPcl.pdf"; + + AsposeResponse response = th.pdfApi.putPclInStorageToPdf(resultName, srcPath, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetXmlInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getXmlInStorageToPdfTest() throws ApiException + { + String name = "template.xml"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + + File response = th.pdfApi.getXmlInStorageToPdf(srcPath, null, null); + assertNotNull(response); + } + + + /** + * PutXmlInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putXmlInStorageToPdfTest() throws ApiException + { + String name = "template.xml"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + String resultName = "fromXml.pdf"; + + AsposeResponse response = th.pdfApi.putXmlInStorageToPdf(resultName, srcPath, null, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPsInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPsInStorageToPdfTest() throws ApiException + { + String name = "Typography.PS"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + + File response = th.pdfApi.getPsInStorageToPdf(srcPath, null); + assertNotNull(response); + } + + + /** + * PutPsInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPsInStorageToPdfTest() throws ApiException + { + String name = "Typography.PS"; + th.uploadFile(name); + + + String srcPath = th.tempFolder + '/' + name; + String resultName = "fromPs.pdf"; + + AsposeResponse response = th.pdfApi.putPsInStorageToPdf(resultName, srcPath, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutImageInStorageToPdf Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void putImageInStorageToPdfTest() throws ApiException + { + final String dataFile1 = "33539.jpg"; + th.uploadFile(dataFile1); + + final String dataFile2 = "44781.jpg"; + th.uploadFile(dataFile2); + + String resultName = "result.pdf"; + + + ImageTemplatesRequest imageTemplatesRequest = new ImageTemplatesRequest() + .isOCR(true) + .ocRLangs("eng") + .imagesList(new ArrayList(){{ + add(new ImageTemplate().imagePath(th.tempFolder + '/' + dataFile1).imageSrcType(ImageSrcType.COMMON)); + add(new ImageTemplate().imagePath(th.tempFolder + '/' + dataFile2).imageSrcType(ImageSrcType.COMMON)); + }}); + + AsposeResponse response = th.pdfApi.putImageInStorageToPdf(resultName, imageTemplatesRequest, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/DocumentTests.java b/src/test/java/com/aspose/asposecloudpdf/api/DocumentTests.java new file mode 100644 index 0000000..e4d037d --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/DocumentTests.java @@ -0,0 +1,120 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + + +import static org.junit.Assert.assertEquals; + +public class DocumentTests { + private TestHelper th; + + public DocumentTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocument Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getDocumentTest() throws ApiException + { + String name = "4pages.pdf"; + this.th.uploadFile(name); + + String folder = this.th.tempFolder; + + DocumentResponse response = this.th.pdfApi.getDocument(name, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PostOptimizeDocument Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postOptimizeDocumentTest() throws ApiException + { + String name = "4pages.pdf"; + this.th.uploadFile(name); + + OptimizeOptions optimizeOptions = new OptimizeOptions(); + optimizeOptions.setAllowReusePageContent(false); + optimizeOptions.setCompressImages(true); + optimizeOptions.setImageQuality(100); + optimizeOptions.setLinkDuplcateStreams(true); + optimizeOptions.setRemoveUnusedObjects(true); + optimizeOptions.setRemoveUnusedStreams(true); + optimizeOptions.setUnembedFonts(true); + + String folder = this.th.tempFolder; + + AsposeResponse response = this.th.pdfApi.postOptimizeDocument(name, optimizeOptions, null, folder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostSplitDocument Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postSplitDocumentTest() throws ApiException + { + String name = "4pages.pdf"; + this.th.uploadFile(name); + + String folder = this.th.tempFolder; + + SplitResultResponse response = this.th.pdfApi.postSplitDocument(name, null, null, null, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutCreateEmptyDocument Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putCreateEmptyDocumentTest() throws ApiException + { + String name = "empty.pdf"; + + String folder = this.th.tempFolder; + + DocumentResponse response = this.th.pdfApi.putCreateDocument(name, null, folder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/EncryptDecryptTests.java b/src/test/java/com/aspose/asposecloudpdf/api/EncryptDecryptTests.java new file mode 100644 index 0000000..932a390 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/EncryptDecryptTests.java @@ -0,0 +1,161 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; + +import static org.junit.Assert.assertEquals; + +public class EncryptDecryptTests { + private TestHelper th; + + public EncryptDecryptTests() throws ApiException { + th = TestHelper.getInstance(); + } + // Encrypt Decrypt Tests + + /** + * PutEncryptDocument Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putEncryptDocumentTest() throws ApiException + { + String name = "4pages.pdf"; + File file = new File(th.testDataFolder + "/" + name); + + String outPath = th.tempFolder + '/' + name; + String userPasswordBase64encoded = "dXNlciAkXlBhc3N3b3JkISY="; //user $^Password!& + String ownerPasswordBase64encoded = "b3duZXJcLy8/ICQxMl5QYXNzd29yZCEm"; //owner\//? $12^Password!& + + AsposeResponse response = th.pdfApi.putEncryptDocument(outPath, userPasswordBase64encoded, ownerPasswordBase64encoded, + CryptoAlgorithm.AESX128.getValue(), null, null, null, file); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostEncryptDocumentInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postEncryptDocumentInStorageTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String userPasswordBase64encoded = "dXNlciAkXlBhc3N3b3JkISY="; //user $^Password!& + String ownerPasswordBase64encoded = "b3duZXJcLy8/ICQxMl5QYXNzd29yZCEm"; //owner\//? $12^Password!& + + AsposeResponse response = th.pdfApi.postEncryptDocumentInStorage(name, userPasswordBase64encoded, ownerPasswordBase64encoded, + CryptoAlgorithm.AESX128.getValue(), null, null, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutDecryptDocument Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putDecryptDocumentTest() throws ApiException + { + String name = "4pagesEncrypted.pdf"; + File file = new File(th.testDataFolder + "/" + name); + + String outPath = th.tempFolder + '/' + name; + String userPasswordBase64encoded = "dXNlciAkXlBhc3N3b3JkISY="; //user $^Password!& + + AsposeResponse response = th.pdfApi.putDecryptDocument(outPath, userPasswordBase64encoded, null, file); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostDencryptDocumentInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void posttDencryptDocumentInStorageTest() throws ApiException + { + String name = "4pagesEncrypted.pdf"; + th.uploadFile(name); + + String userPasswordBase64encoded = "dXNlciAkXlBhc3N3b3JkISY="; //user $^Password!& + + AsposeResponse response = th.pdfApi.postDecryptDocumentInStorage(name, userPasswordBase64encoded, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutChangePasswordDocument Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putChangePasswordDocumentTest() throws ApiException + { + String name = "4pagesEncrypted.pdf"; + File file = new File(th.testDataFolder + "/" + name); + + String outPath = th.tempFolder + '/' + name; + String ownerPasswordBase64Encoded = "b3duZXJcLy8/ICQxMl5QYXNzd29yZCEm"; //owner\//? $12^Password!& + String newUserPasswordBase64Encoded = "dXNlciBuZXcvLz8gJDEyXlBhc3N3b3JkISY="; //user new\//? $12^Password!& + String newOwnerPasswordBase64Encoded = "b3duZXIgbmV3Ly8/ICQxMl5QYXNzd29yZCEm"; //owner new\//? $12^Password!& + + AsposeResponse response = th.pdfApi.putChangePasswordDocument(outPath, ownerPasswordBase64Encoded, + newUserPasswordBase64Encoded, newOwnerPasswordBase64Encoded, null, file); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostChangePasswordDocumentInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postChangePasswordDocumentInStorageTest() throws ApiException + { + String name = "4pagesEncrypted.pdf"; + th.uploadFile(name); + + String ownerPasswordBase64Encoded = "b3duZXJcLy8/ICQxMl5QYXNzd29yZCEm"; //owner\//? $12^Password!& + String newUserPasswordBase64Encoded = "dXNlciBuZXcvLz8gJDEyXlBhc3N3b3JkISY="; //user new\//? $12^Password!& + String newOwnerPasswordBase64Encoded = "b3duZXIgbmV3Ly8/ICQxMl5QYXNzd29yZCEm"; //owner new\//? $12^Password!& + + AsposeResponse response = th.pdfApi.postChangePasswordDocumentInStorage(name, ownerPasswordBase64Encoded, + newUserPasswordBase64Encoded, newOwnerPasswordBase64Encoded, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/FieldsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/FieldsTests.java new file mode 100644 index 0000000..ca97c85 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/FieldsTests.java @@ -0,0 +1,223 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; + +import static org.junit.Assert.assertEquals; + +public class FieldsTests { + private TestHelper th; + + public FieldsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + + /** + * GetField Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getFieldTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + String fieldName = "textField"; + + FieldResponse response = th.pdfApi.getField(name, fieldName, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetFields Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getFieldsTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + FieldsResponse response = th.pdfApi.getFields(name, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PostCreateField Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postCreateFieldTest() throws ApiException + { + String name = "Hello world.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(50.) + .LLY(200.) + .URX(200.) + .URY(400.); + + Field field = new Field(); + field.setName("checkboxfield"); + field.setValues(new ArrayList(){{ add("1");}}); + field.setType(FieldType.BOOLEAN); + field.setRect(rect); + + int pageNumber = 1; + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.postCreateField(name, pageNumber, field, null, folder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutUpdateField Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putUpdateFieldTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + String fieldName = "textField"; + + Field field = new Field(); + field.setName(fieldName); + field.setValues(new ArrayList(){{ add("Text field updated value.");}}); + field.setType(FieldType.TEXT); + + String folder = th.tempFolder; + + FieldResponse response = th.pdfApi.putUpdateField(name, fieldName, field, null, folder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutUpdateField Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putUpdateFieldsTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + Field field = new Field(); + field.setName("textField"); + field.setValues(new ArrayList(){{ add("1");}}); + field.setType(FieldType.TEXT); + + ArrayList fieldsList = new ArrayList(); + fieldsList.add(field); + + Fields fields = new Fields().list(fieldsList); + + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.putUpdateFields(name, fields,null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * DeleteField Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void deleteFieldTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + String fieldName = "textField"; + + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.deleteField(name, fieldName, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutFieldsFlatten Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putFieldsFlattenTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.putFieldsFlatten(name, null, folder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostFlattenDocument Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postFlattenDocumentTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + boolean updateAppearances = true; + boolean hideButtons = true; + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.postFlattenDocument(name, updateAppearances, null, hideButtons, null, folder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/FileAttachmentAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/FileAttachmentAnnotationsTests.java new file mode 100644 index 0000000..983a634 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/FileAttachmentAnnotationsTests.java @@ -0,0 +1,213 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class FileAttachmentAnnotationsTests { + private TestHelper th; + + public FileAttachmentAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentFileAttachmentAnnotationsTest + * + * @throws ApiException if the Api call fails + */ + @Test + public void getDocumentFileAttachmentAnnotationsTest() throws ApiException { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + FileAttachmentAnnotationsResponse response = th.pdfApi.getDocumentFileAttachmentAnnotations(name, null, th.tempFolder); + assertEquals(200, (int) response.getCode()); + } + + /** + * GetPageFileAttachmentAnnotationsTest + * + * @throws ApiException if the Api call fails + */ + @Test + public void getPageFileAttachmentAnnotationsTest() throws ApiException { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + FileAttachmentAnnotationsResponse response = th.pdfApi.getPageFileAttachmentAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int) response.getCode()); + } + + /** + * PostPageFileAttachmentAnnotationsTest + * + * @throws ApiException if the Api call fails + */ + @Test + public void postPageFileAttachmentAnnotationsTest() throws ApiException { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + String attachmentFile = "4pages.pdf"; + th.uploadFile(attachmentFile); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + FileAttachmentAnnotation annotation = new FileAttachmentAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setModified("01/01/2018 12:00:00.000 AM"); + annotation.setFilePath(th.tempFolder + '/' + attachmentFile); + annotation.setFileName(attachmentFile); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageFileAttachmentAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int) response.getCode()); + } + + /** + * GetFileAttachmentAnnotationTest + * + * @throws ApiException if the Api call fails + */ + @Test + public void getFileAttachmentAnnotationTest() throws ApiException { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + FileAttachmentAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentFileAttachmentAnnotations(name, null, th.tempFolder); + assertEquals(200, (int) responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + FileAttachmentAnnotationResponse response = th.pdfApi.getFileAttachmentAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int) response.getCode()); + } + + /** + * PutFileAttachmentAnnotationTest + * + * @throws ApiException if the Api call fails + */ + @Test + public void putFileAttachmentAnnotationTest() throws ApiException { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + String attachmentFile = "4pages.pdf"; + th.uploadFile(attachmentFile); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + FileAttachmentAnnotation annotation = new FileAttachmentAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setModified("01/01/2018 12:00:00.000 AM"); + annotation.setFilePath(th.tempFolder + '/' + attachmentFile); + annotation.setFileName(attachmentFile); + + FileAttachmentAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentFileAttachmentAnnotations(name, null, th.tempFolder); + assertEquals(200, (int) responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putFileAttachmentAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int) response.getCode()); + } + + /** + * GetFileAttachmentAnnotationDataTest + * + * @throws ApiException if the Api call fails + */ + @Test + public void getFileAttachmentAnnotationDataTest() throws ApiException { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + FileAttachmentAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentFileAttachmentAnnotations(name, null, th.tempFolder); + assertEquals(200, (int) responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + File response = th.pdfApi.getFileAttachmentAnnotationData(name, annotationId, null, th.tempFolder); + assertNotNull(response); + } + + /** + * PutFileAttachmentAnnotationDataExtractTest + * + * @throws ApiException if the Api call fails + */ + @Test + public void putFileAttachmentAnnotationDataExtractTest() throws ApiException { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + FileAttachmentAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentFileAttachmentAnnotations(name, null, th.tempFolder); + assertEquals(200, (int) responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putFileAttachmentAnnotationDataExtract(name, annotationId, null, null, th.tempFolder); + assertEquals(200, (int) response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/FreeTextAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/FreeTextAnnotationsTests.java new file mode 100644 index 0000000..6060785 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/FreeTextAnnotationsTests.java @@ -0,0 +1,213 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class FreeTextAnnotationsTests { + private TestHelper th; + + public FreeTextAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentFreeTextAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentFreeTextAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + FreeTextAnnotationsResponse response = th.pdfApi.getDocumentFreeTextAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageFreeTextAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageFreeTextAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + FreeTextAnnotationsResponse response = th.pdfApi.getPageFreeTextAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetFreeTextAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getFreeTextAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + FreeTextAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentFreeTextAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + FreeTextAnnotationResponse response = th.pdfApi.getFreeTextAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageFreeTextAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageFreeTextAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Color foregroundColor = new Color(); + foregroundColor.setA(0x00); + foregroundColor.setR(0x00); + foregroundColor.setG(0xFF); + foregroundColor.setB(0x00); + + Color backgroundColor = new Color(); + backgroundColor.setA(0x00); + backgroundColor.setR(0xFF); + backgroundColor.setG(0x00); + backgroundColor.setB(0x00); + + TextStyle textStyle = new TextStyle(); + textStyle.setFont("Arial"); + textStyle.setFontSize(12.); + textStyle.setForegroundColor(foregroundColor); + textStyle.setBackgroundColor(backgroundColor); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + FreeTextAnnotation freeTextAnnotation = new FreeTextAnnotation(); + freeTextAnnotation.setName("Test Free Text"); + freeTextAnnotation.setTextStyle(textStyle); + freeTextAnnotation.setRect(rect); + freeTextAnnotation.setFlags(flags); + freeTextAnnotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + freeTextAnnotation.setIntent(FreeTextIntent.FREETEXTTYPEWRITER); + freeTextAnnotation.setRichText("Rich Text"); + freeTextAnnotation.setSubject("Text Box Subj"); + freeTextAnnotation.setZindex(1); + freeTextAnnotation.setJustification(Justification.CENTER); + freeTextAnnotation.setTitle("Title"); + + List annotations = new ArrayList<>(); + annotations.add(freeTextAnnotation); + + AsposeResponse response = th.pdfApi.postPageFreeTextAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutFreeTextAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putFreeTextAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + + Color foregroundColor = new Color(); + foregroundColor.setA(0x00); + foregroundColor.setR(0x00); + foregroundColor.setG(0xFF); + foregroundColor.setB(0x00); + + Color backgroundColor = new Color(); + backgroundColor.setA(0x00); + backgroundColor.setR(0xFF); + backgroundColor.setG(0x00); + backgroundColor.setB(0x00); + + TextStyle textStyle = new TextStyle(); + textStyle.setFont("Arial"); + textStyle.setFontSize(12.); + textStyle.setForegroundColor(foregroundColor); + textStyle.setBackgroundColor(backgroundColor); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + FreeTextAnnotation freeTextAnnotation = new FreeTextAnnotation(); + freeTextAnnotation.setName("Test Free Text"); + freeTextAnnotation.setTextStyle(textStyle); + freeTextAnnotation.setRect(rect); + freeTextAnnotation.setFlags(flags); + freeTextAnnotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + freeTextAnnotation.setIntent(FreeTextIntent.FREETEXTTYPEWRITER); + freeTextAnnotation.setRichText("Rich Text"); + freeTextAnnotation.setSubject("Text Box Subj"); + freeTextAnnotation.setZindex(1); + freeTextAnnotation.setJustification(Justification.CENTER); + freeTextAnnotation.setTitle("Title"); + + FreeTextAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentFreeTextAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putFreeTextAnnotation(name, annotationId, freeTextAnnotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/HeaderFooterTests.java b/src/test/java/com/aspose/asposecloudpdf/api/HeaderFooterTests.java new file mode 100644 index 0000000..e99bba0 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/HeaderFooterTests.java @@ -0,0 +1,213 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class HeaderFooterTests { + private TestHelper th; + + public HeaderFooterTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * PostDocumentTextHeaderTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postDocumentTextHeaderTest()throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + int startPage = 2; + int endPage = 3; + + Color foregroundColor = new Color(); + foregroundColor.setA(0x00); + foregroundColor.setR(0x00); + foregroundColor.setG(0xFF); + foregroundColor.setB(0x00); + + Color backgroundColor = new Color(); + backgroundColor.setA(0x00); + backgroundColor.setR(0xFF); + backgroundColor.setG(0x00); + backgroundColor.setB(0x00); + + TextState textState = new TextState() + .fontSize(14.) + .foregroundColor(foregroundColor) + .backgroundColor(backgroundColor); + + TextHeader header = new TextHeader() + .leftMargin(1.) + .rightMargin(2.) + .topMargin(3.) + .textAlignment(HorizontalAlignment.CENTER) + .value("Header") + .textState(textState); + header.background(true) + .horizontalAlignment(HorizontalAlignment.CENTER) + .opacity(1.) + .rotate(Rotation.NONE) + .rotateAngle(0.) + .xindent(0.) + .yindent(0.) + .zoom(1.); + + + AsposeResponse response = th.pdfApi.postDocumentTextHeader(name, header, startPage, endPage, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostDocumentTextFooterTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postDocumentTextFooterTest()throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + int startPage = 2; + int endPage = 3; + + Color foregroundColor = new Color(); + foregroundColor.setA(0x00); + foregroundColor.setR(0x00); + foregroundColor.setG(0xFF); + foregroundColor.setB(0x00); + + Color backgroundColor = new Color(); + backgroundColor.setA(0x00); + backgroundColor.setR(0xFF); + backgroundColor.setG(0x00); + backgroundColor.setB(0x00); + + TextState textState = new TextState() + .fontSize(14.) + .foregroundColor(foregroundColor) + .backgroundColor(backgroundColor); + + TextFooter footer = new TextFooter() + .leftMargin(1.) + .rightMargin(2.) + .bottomMargin(3.) + .textAlignment(HorizontalAlignment.CENTER) + .value("Header") + .textState(textState); + footer.background(true) + .horizontalAlignment(HorizontalAlignment.CENTER) + .opacity(1.) + .rotate(Rotation.NONE) + .rotateAngle(0.) + .xindent(0.) + .yindent(0.) + .zoom(1.); + + + AsposeResponse response = th.pdfApi.postDocumentTextFooter(name, footer, startPage, endPage, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostDocumentImageHeaderTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postDocumentImageHeaderTest()throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String image = "Koala.jpg"; + th.uploadFile(image); + + int startPage = 2; + int endPage = 3; + + ImageHeader header = new ImageHeader() + .leftMargin(1.) + .rightMargin(2.) + .topMargin(3.) + .fileName(th.tempFolder + '/' + image); + header.background(true) + .horizontalAlignment(HorizontalAlignment.CENTER) + .opacity(1.) + .rotate(Rotation.NONE) + .rotateAngle(0.) + .xindent(0.) + .yindent(0.) + .zoom(.1); + + + AsposeResponse response = th.pdfApi.postDocumentImageHeader(name, header, startPage, endPage, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostDocumentImageFooterTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postDocumentImageFooterTest()throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String image = "Koala.jpg"; + th.uploadFile(image); + + int startPage = 2; + int endPage = 3; + + ImageFooter footer = new ImageFooter() + .leftMargin(1.) + .rightMargin(2.) + .bottomMargin(3.) + .fileName(th.tempFolder + '/' + image); + footer.background(true) + .horizontalAlignment(HorizontalAlignment.CENTER) + .opacity(1.) + .rotate(Rotation.NONE) + .rotateAngle(0.) + .xindent(0.) + .yindent(0.) + .zoom(1.); + + + AsposeResponse response = th.pdfApi.postDocumentImageFooter(name, footer, startPage, endPage, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/HighlightAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/HighlightAnnotationsTests.java new file mode 100644 index 0000000..1ac9c68 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/HighlightAnnotationsTests.java @@ -0,0 +1,186 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class HighlightAnnotationsTests { + private TestHelper th; + + public HighlightAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentHighlightAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentHighlightAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + HighlightAnnotationsResponse response = th.pdfApi.getDocumentHighlightAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageHighlightAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageHighlightAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + HighlightAnnotationsResponse response = th.pdfApi.getPageHighlightAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetHighlightAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getHighlightAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + HighlightAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentHighlightAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + HighlightAnnotationResponse response = th.pdfApi.getHighlightAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageHighlightAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageHighlightAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + List points = new ArrayList<>(); + points.add(new Point().X(10.).Y(10.)); + points.add(new Point().X(20.).Y(10.)); + points.add(new Point().X(10.).Y(20.)); + points.add(new Point().X(10.).Y(10.)); + + HighlightAnnotation annotation = new HighlightAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setQuadPoints(points); + annotation.setModified("02/02/2018 00:00:00.000 AM"); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageHighlightAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutHighlightAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putHighlightAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + List points = new ArrayList<>(); + points.add(new Point().X(10.).Y(10.)); + points.add(new Point().X(20.).Y(10.)); + points.add(new Point().X(10.).Y(20.)); + points.add(new Point().X(10.).Y(10.)); + + HighlightAnnotation annotation = new HighlightAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + annotation.setQuadPoints(points); + annotation.setModified("02/02/2018 00:00:00.000 AM"); + + HighlightAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentHighlightAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putHighlightAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/ImagesTests.java b/src/test/java/com/aspose/asposecloudpdf/api/ImagesTests.java new file mode 100644 index 0000000..4f778d7 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/ImagesTests.java @@ -0,0 +1,449 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class ImagesTests { + private TestHelper th; + + public ImagesTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetImage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getImageTest() throws ApiException + { + String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, folder); + assertEquals((int)imagesResponse.getCode(), 200); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + ImageResponse response = th.pdfApi.getImage(name, imageId, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * DeleteImage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void deleteImageTest() throws ApiException + { + String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, folder); + assertEquals((int)imagesResponse.getCode(), 200); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.deleteImage(name, imageId, null, folder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetImages Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getImagesTest() throws ApiException + { + String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + ImagesResponse response = th.pdfApi.getImages(name, pageNumber, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PostReplaceImage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putReplaceImageTest() throws ApiException + { + String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + String imageFileName = "Koala.jpg"; + th.uploadFile(imageFileName); + + int pageNumber = 1; + String folder = th.tempFolder; + String imageFile = folder + '/' + imageFileName; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, folder); + assertEquals((int)imagesResponse.getCode(), 200); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + ImageResponse response = th.pdfApi.putReplaceImage(name, imageId, imageFile, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PostInsertImage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postInsertImageTest() throws ApiException + { + String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + String imageFileName = "Koala.jpg"; + File file = new File(th.testDataFolder + "/" + imageFileName); + + int pageNumber = 1; + String folder = th.tempFolder; + String imageFile = folder + '/' + imageFileName; + + double llx = 10; + double lly = 10; + double urx = 100; + double ury = 100; + + AsposeResponse response = th.pdfApi.postInsertImage(name, pageNumber, llx, lly, urx, ury, imageFile, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutImagesExtractAsJpeg Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImagesExtractAsJpegTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + final String destFolder = th.tempFolder + '/' + "extract_jpg"; + + AsposeResponse response = th.pdfApi.putImagesExtractAsJpeg(name, pageNumber, null, null, null, + th.tempFolder, destFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutImagesExtractAsTiff Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImagesExtractAsTiffTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + final String destFolder = th.tempFolder + '/' + "extract_tiff"; + + AsposeResponse response = th.pdfApi.putImagesExtractAsTiff(name, pageNumber, null, null, null, + th.tempFolder, destFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutImagesExtractAsGif Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImagesExtractAsGifTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + final String destFolder = th.tempFolder + '/' + "extract_gif"; + + AsposeResponse response = th.pdfApi.putImagesExtractAsGif(name, pageNumber, null, null, null, + th.tempFolder, destFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutImagesExtractAsPng Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImagesExtractAsPngTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + final String destFolder = th.tempFolder + '/' + "extract_png"; + + AsposeResponse response = th.pdfApi.putImagesExtractAsPng(name, pageNumber, null, null, null, + th.tempFolder, destFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutImageExtractAsJpeg Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImageExtractAsJpegTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)imagesResponse.getCode()); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + final String destFolder = th.tempFolder + '/' + "extract_jpg"; + + AsposeResponse response = th.pdfApi.putImageExtractAsJpeg(name, imageId, null, null, null, + th.tempFolder, destFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetImageExtractAsJpeg Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getImageExtractAsJpegTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)imagesResponse.getCode()); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + + File response = th.pdfApi.getImageExtractAsJpeg(name, imageId, null, null, null, + th.tempFolder); + assertNotNull(response); + } + + + /** + * PutImageExtractAsTiff Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImageExtractAsTiffTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)imagesResponse.getCode()); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + final String destFolder = th.tempFolder + '/' + "extract_tiff"; + + AsposeResponse response = th.pdfApi.putImageExtractAsTiff(name, imageId, null, null, null, + th.tempFolder, destFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetImageExtractAsTiff Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getImageExtractAsTiffTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)imagesResponse.getCode()); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + + File response = th.pdfApi.getImageExtractAsTiff(name, imageId, null, null, null, + th.tempFolder); + assertNotNull(response); + } + + + /** + * PutImageExtractAsGif Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImageExtractAsGifTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)imagesResponse.getCode()); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + final String destFolder = th.tempFolder + '/' + "extract_gif"; + + AsposeResponse response = th.pdfApi.putImageExtractAsGif(name, imageId, null, null, null, + th.tempFolder, destFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetImageExtractAsGif Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getImageExtractAsGifTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)imagesResponse.getCode()); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + + File response = th.pdfApi.getImageExtractAsGif(name, imageId, null, null, null, + th.tempFolder); + assertNotNull(response); + } + + + /** + * PutImageExtractAsPng Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImageExtractAsPngTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)imagesResponse.getCode()); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + final String destFolder = th.tempFolder + '/' + "extract_png"; + + AsposeResponse response = th.pdfApi.putImageExtractAsPng(name, imageId, null, null, null, + th.tempFolder, destFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetImageExtractAsPng Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getImageExtractAsPngTest() throws ApiException + { + final String name = "PdfWithImages2.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + ImagesResponse imagesResponse = th.pdfApi.getImages(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)imagesResponse.getCode()); + String imageId = imagesResponse.getImages().getList().get(0).getId(); + + + File response = th.pdfApi.getImageExtractAsPng(name, imageId, null, null, null, + th.tempFolder); + assertNotNull(response); + } +} + diff --git a/src/test/java/com/aspose/asposecloudpdf/api/ImportExportTests.java b/src/test/java/com/aspose/asposecloudpdf/api/ImportExportTests.java new file mode 100644 index 0000000..18331d9 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/ImportExportTests.java @@ -0,0 +1,323 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.AsposeResponse; + +import org.junit.Test; + +import java.io.File; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class ImportExportTests { + private TestHelper th; + + public ImportExportTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetExportFieldsFromPdfToXmlInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getExportFieldsFromPdfToXmlInStorageTest() throws ApiException + { + String name = "FormData.pdf"; + th.uploadFile(name); + + File response = th.pdfApi.getExportFieldsFromPdfToXmlInStorage(name, null, th.tempFolder); + assertNotNull(response); + } + + /** + * GetExportFieldsFromPdfToFdfInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getExportFieldsFromPdfToFdfInStorageTest() throws ApiException + { + String name = "FormData.pdf"; + th.uploadFile(name); + + File response = th.pdfApi.getExportFieldsFromPdfToFdfInStorage(name, null, th.tempFolder); + assertNotNull(response); + } + + /** + * GetExportFieldsFromPdfToXfdfInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getExportFieldsFromPdfToXfdfInStorageTest() throws ApiException + { + String name = "FormData.pdf"; + th.uploadFile(name); + + File response = th.pdfApi.getExportFieldsFromPdfToXfdfInStorage(name, null, th.tempFolder); + assertNotNull(response); + } + + /** + * PutExportFieldsFromPdfToXmlInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putExportFieldsFromPdfToXmlInStorageTest() throws ApiException + { + String name = "FormData.pdf"; + th.uploadFile(name); + String outPath = th.tempFolder + "/exportData.xml"; + AsposeResponse response = th.pdfApi.putExportFieldsFromPdfToXmlInStorage(name, outPath, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutExportFieldsFromPdfToFdfInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putExportFieldsFromPdfToFdfInStorageTest() throws ApiException + { + String name = "FormData.pdf"; + th.uploadFile(name); + String outPath = th.tempFolder + "/exportData.fdf"; + AsposeResponse response = th.pdfApi.putExportFieldsFromPdfToFdfInStorage(name, outPath, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutExportFieldsFromPdfToXfdfInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putExportFieldsFromPdfToXfdfInStorageTest() throws ApiException + { + String name = "FormData.pdf"; + th.uploadFile(name); + String outPath = th.tempFolder + "/exportData.xfdf"; + AsposeResponse response = th.pdfApi.putExportFieldsFromPdfToXfdfInStorage(name, outPath, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetImportFieldsFromFdfInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getImportFieldsFromFdfInStorageTest() throws ApiException + { + String name = "FormData.pdf"; + th.uploadFile(name); + + String dataFile = "FormData.fdf"; + th.uploadFile(dataFile); + + String dataPath = th.tempFolder + "/" + dataFile; + + File response = th.pdfApi.getImportFieldsFromFdfInStorage(name, dataPath, null, th.tempFolder); + assertNotNull(response); + } + + /** + * GetImportFieldsFromXfdfInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getImportFieldsFromXfdfInStorageTest() throws ApiException + { + String name = "FormDataXfdf_in.pdf"; + th.uploadFile(name); + + String dataFile = "FormDataXfdf_in.xfdf"; + th.uploadFile(dataFile); + + String dataPath = th.tempFolder + "/" + dataFile; + + File response = th.pdfApi.getImportFieldsFromXfdfInStorage(name, dataPath, null, th.tempFolder); + assertNotNull(response); + } + + /** + * GetImportFieldsFromXmlInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getImportFieldsFromXmlInStorageTest() throws ApiException + { + String name = "FormDataXfa_in.pdf"; + th.uploadFile(name); + + String dataFile = "FormDataXfa_in.xml"; + th.uploadFile(dataFile); + + String dataPath = th.tempFolder + "/" + dataFile; + + File response = th.pdfApi.getImportFieldsFromXmlInStorage(name, dataPath, null, th.tempFolder); + assertNotNull(response); + } + + /** + * PutImportFieldsFromFdfInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImportFieldsFromFdfInStorageTest() throws ApiException + { + String name = "FormData.pdf"; + th.uploadFile(name); + + String dataFile = "FormData.fdf"; + th.uploadFile(dataFile); + + String dataPath = th.tempFolder + "/" + dataFile; + + AsposeResponse response = th.pdfApi.putImportFieldsFromFdfInStorage(name, dataPath, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutImportFieldsFromXfdfInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImportFieldsFromXfdfInStorageTest() throws ApiException + { + String name = "FormDataXfdf_in.pdf"; + th.uploadFile(name); + + String dataFile = "FormDataXfdf_in.xfdf"; + th.uploadFile(dataFile); + + String dataPath = th.tempFolder + "/" + dataFile; + + AsposeResponse response = th.pdfApi.putImportFieldsFromXfdfInStorage(name, dataPath, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutImportFieldsFromXmlInStorage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putImportFieldsFromXmlInStorageTest() throws ApiException + { + String name = "FormDataXfa_in.pdf"; + th.uploadFile(name); + + String dataFile = "FormDataXfa_in.xml"; + th.uploadFile(dataFile); + + String dataPath = th.tempFolder + "/" + dataFile; + + AsposeResponse response = th.pdfApi.putImportFieldsFromXmlInStorage(name, dataPath, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PostImportFieldsFromFdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postImportFieldsFromFdfTest() throws ApiException + { + String name = "FormData.pdf"; + th.uploadFile(name); + + String dataFile = "FormData.fdf"; + + File file = new File(th.testDataFolder + "/" + dataFile); + + AsposeResponse response = th.pdfApi.postImportFieldsFromFdf(name, null, th.tempFolder, file); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostImportFieldsFromXfdf Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postImportFieldsFromXfdfTest() throws ApiException + { + String name = "FormDataXfdf_in.pdf"; + th.uploadFile(name); + + String dataFile = "FormDataXfdf_in.xfdf"; + + File file = new File(th.testDataFolder + "/" + dataFile); + + AsposeResponse response = th.pdfApi.postImportFieldsFromXfdf(name, null, th.tempFolder, file); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostImportFieldsFromXml Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postImportFieldsFromXmlTest() throws ApiException + { + String name = "FormDataXfa_in.pdf"; + th.uploadFile(name); + + String dataFile = "FormDataXfa_in.xml"; + File file = new File(th.testDataFolder + "/" + dataFile); + + AsposeResponse response = th.pdfApi.postImportFieldsFromXml(name, null, th.tempFolder, file); + assertEquals(200, (int)response.getCode()); + } + +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/InkAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/InkAnnotationsTests.java new file mode 100644 index 0000000..a98e84a --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/InkAnnotationsTests.java @@ -0,0 +1,205 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class InkAnnotationsTests { + private TestHelper th; + + public InkAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentInkAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentInkAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + InkAnnotationsResponse response = th.pdfApi.getDocumentInkAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageInkAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageInkAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + InkAnnotationsResponse response = th.pdfApi.getPageInkAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetInkAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getInkAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + InkAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentInkAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + InkAnnotationResponse response = th.pdfApi.getInkAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageInkAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageInkAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List> inkList = new ArrayList<>(); + + List inks1 = new ArrayList<>(); + inks1.add(new Point().X(10.).Y(40.)); + inks1.add(new Point().X(30.).Y(40.)); + + List inks2 = new ArrayList<>(); + inks2.add(new Point().X(10.).Y(20.)); + inks2.add(new Point().X(20.).Y(20.)); + inks2.add(new Point().X(30.).Y(20.)); + + inkList.add(inks1); + inkList.add(inks2); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + InkAnnotation annotation = new InkAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setInkList(inkList); + annotation.setCapStyle(CapStyle.ROUNDED); + annotation.setModified("02/02/2018 00:00:00.000 AM"); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageInkAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutInkAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putInkAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List> inkList = new ArrayList<>(); + + List inks1 = new ArrayList<>(); + inks1.add(new Point().X(10.).Y(40.)); + inks1.add(new Point().X(30.).Y(40.)); + + List inks2 = new ArrayList<>(); + inks2.add(new Point().X(10.).Y(20.)); + inks2.add(new Point().X(20.).Y(20.)); + inks2.add(new Point().X(30.).Y(20.)); + + inkList.add(inks1); + inkList.add(inks2); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + + InkAnnotation annotation = new InkAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + annotation.setInkList(inkList); + annotation.setCapStyle(CapStyle.ROUNDED); + annotation.setModified("02/02/2018 00:00:00.000 AM"); + + InkAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentInkAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putInkAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/LineAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/LineAnnotationsTests.java new file mode 100644 index 0000000..5fc1092 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/LineAnnotationsTests.java @@ -0,0 +1,174 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class LineAnnotationsTests { + private TestHelper th; + + public LineAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentLineAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentLineAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + LineAnnotationsResponse response = th.pdfApi.getDocumentLineAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageLineAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageLineAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + LineAnnotationsResponse response = th.pdfApi.getPageLineAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetLineAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getLineAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + LineAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentLineAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + LineAnnotationResponse response = th.pdfApi.getLineAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageLineAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageLineAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + LineAnnotation annotation = new LineAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setStarting(new Point().X(10.).Y(10.)); + annotation.setEnding(new Point().X(100.).Y(100.)); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageLineAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutLineAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putLineAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + LineAnnotation annotation = new LineAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + annotation.setStarting(new Point().X(10.).Y(10.)); + annotation.setEnding(new Point().X(100.).Y(100.)); + + LineAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentLineAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putLineAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/LinksTests.java b/src/test/java/com/aspose/asposecloudpdf/api/LinksTests.java new file mode 100644 index 0000000..c924fa4 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/LinksTests.java @@ -0,0 +1,226 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; + +import static org.junit.Assert.assertEquals; + +public class LinksTests { + private TestHelper th; + + public LinksTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetPageLinkAnnotation Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPageLinkAnnotationTest() throws ApiException + { + String name = "PdfWithLinks.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + LinkAnnotationsResponse linksResponse = th.pdfApi.getPageLinkAnnotations(name, pageNumber, null, folder); + assertEquals(200, (int)linksResponse.getCode()); + String linkId = linksResponse.getLinks().getList().get(0).getId(); + + LinkAnnotationResponse response = th.pdfApi.getPageLinkAnnotation(name, pageNumber, linkId, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * DeleteLinkAnnotation Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void deleteLinkAnnotationTest() throws ApiException + { + String name = "PdfWithLinks.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + LinkAnnotationsResponse linksResponse = th.pdfApi.getPageLinkAnnotations(name, pageNumber, null, folder); + assertEquals(200, (int)linksResponse.getCode()); + String linkId = linksResponse.getLinks().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.deleteLinkAnnotation(name, linkId, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPageLinkAnnotations Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPageLinkAnnotationsTest() throws ApiException + { + String name = "PdfWithLinks.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + LinkAnnotationsResponse response = th.pdfApi.getPageLinkAnnotations(name, pageNumber, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PostPageLinkAnnotations Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postPageLinkAnnotationsTest() throws ApiException + { + String name = "PdfWithLinks.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + LinkAnnotation link = new LinkAnnotation() + .actionType(LinkActionType.GOTOURIACTION) + .action("https://products.aspose.cloud/pdf") + .rect(new Rectangle().LLX(100.).LLY(100.).URX(500.).URY(500.)); + + ArrayList links = new ArrayList<>(); + links.add(link); + + AsposeResponse response = th.pdfApi.postPageLinkAnnotations(name, pageNumber, links, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutLinkAnnotation Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putLinkAnnotationTest() throws ApiException + { + String name = "PdfWithLinks.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + LinkAnnotation link = new LinkAnnotation() + .actionType(LinkActionType.GOTOURIACTION) + .action("https://products.aspose.cloud/pdf") + .rect(new Rectangle().LLX(100.).LLY(100.).URX(500.).URY(500.)); + + LinkAnnotationsResponse linksResponse = th.pdfApi.getPageLinkAnnotations(name, pageNumber, null, folder); + assertEquals(200, (int)linksResponse.getCode()); + String linkId = linksResponse.getLinks().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putLinkAnnotation(name, linkId, link, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * DeletePageLinkAnnotations Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void deletePageLinkAnnotationsTest() throws ApiException + { + String name = "PdfWithLinks.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.deletePageLinkAnnotations(name, pageNumber, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * DeleteDocumentLinkAnnotations Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void deleteDocumentLinkAnnotationsTest() throws ApiException + { + String name = "PdfWithLinks.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.deleteDocumentLinkAnnotations(name, null, folder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetLinkAnnotation Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getLinkAnnotationTest() throws ApiException + { + String name = "PdfWithLinks.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + LinkAnnotationsResponse linksResponse = th.pdfApi.getPageLinkAnnotations(name, pageNumber, null, folder); + assertEquals(200, (int)linksResponse.getCode()); + String linkId = linksResponse.getLinks().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.getLinkAnnotation(name, linkId, null, folder); + assertEquals(200, (int)response.getCode()); + } +} + diff --git a/src/test/java/com/aspose/asposecloudpdf/api/MergeTests.java b/src/test/java/com/aspose/asposecloudpdf/api/MergeTests.java new file mode 100644 index 0000000..3e535d0 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/MergeTests.java @@ -0,0 +1,75 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; + +import static org.junit.Assert.assertEquals; + +public class MergeTests { + private TestHelper th; + + public MergeTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * PutMergeDocuments Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putMergeDocumentsTest() throws ApiException + { + ArrayList nameList = new ArrayList(); + nameList.add("4pages.pdf"); + nameList.add("PdfWithImages2.pdf"); + nameList.add("marketing.pdf"); + + for (String name : nameList) + { + th.uploadFile(name); + } + + String resultName = "MergingResult.pdf"; + + MergeDocuments mergeDocuments = new MergeDocuments(); + + for(int i = 0; i < nameList.size(); i++) + { + nameList.set(i, th.tempFolder + '/' + nameList.get(i)); + } + + mergeDocuments.setList(nameList); + + String folder = th.tempFolder; + + DocumentResponse response = th.pdfApi.putMergeDocuments(resultName, mergeDocuments, null, folder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/MovieAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/MovieAnnotationsTests.java new file mode 100644 index 0000000..8db5f5d --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/MovieAnnotationsTests.java @@ -0,0 +1,164 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class MovieAnnotationsTests { + private TestHelper th; + + public MovieAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentMovieAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentMovieAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations1.pdf"; + th.uploadFile(name); + + MovieAnnotationsResponse response = th.pdfApi.getDocumentMovieAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageMovieAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageMovieAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations1.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + MovieAnnotationsResponse response = th.pdfApi.getPageMovieAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageMovieAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageMovieAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations1.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + MovieAnnotation annotation = new MovieAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setZindex(1); + annotation.setModified("01/01/2018 12:00:00.000 AM"); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageMovieAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetMovieAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getMovieAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations1.pdf"; + th.uploadFile(name); + + MovieAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentMovieAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + MovieAnnotationResponse response = th.pdfApi.getMovieAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutMovieAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putMovieAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations1.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + MovieAnnotation annotation = new MovieAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setZindex(1); + annotation.setModified("01/01/2018 12:02:03.000 AM"); + + MovieAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentMovieAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putMovieAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/OcrTests.java b/src/test/java/com/aspose/asposecloudpdf/api/OcrTests.java new file mode 100644 index 0000000..267851c --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/OcrTests.java @@ -0,0 +1,74 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class OcrTests { + private TestHelper th; + + public OcrTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * PutSearchableDocument Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putSearchableDocumentTest() throws ApiException + { + String name = "rusdoc.pdf"; + th.uploadFile(name); + + String lang = "rus,eng"; + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.putSearchableDocument(name, null, folder, lang); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutSearchableDocumentWithDefaultLang Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putSearchableDocumentWithDefaultLangTest() throws ApiException + { + String name = "rusdoc.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.putSearchableDocument(name, null, folder, null); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/PageConvertToImageTests.java b/src/test/java/com/aspose/asposecloudpdf/api/PageConvertToImageTests.java new file mode 100644 index 0000000..583ac67 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/PageConvertToImageTests.java @@ -0,0 +1,259 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class PageConvertToImageTests { + private TestHelper th; + + public PageConvertToImageTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetPageConvertToTiff Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageConvertToTiffTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + File response = th.pdfApi.getPageConvertToTiff(name, pageNumber, null, null, th.tempFolder, null); + assertNotNull(response); + } + + /** + * PutPageConvertToTiff Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void putPageConvertToTiffTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + final String resultFile = "page.tiff"; + final String outPath = th.tempFolder + '/' + resultFile; + AsposeResponse response = th.pdfApi.putPageConvertToTiff(name, pageNumber, outPath, + null, null, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageConvertToJpeg Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageConvertToJpegTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + File response = th.pdfApi.getPageConvertToJpeg(name, pageNumber, null, null, th.tempFolder, null); + assertNotNull(response); + } + + /** + * PutPageConvertToJpeg Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void putPageConvertToJpegTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + final String resultFile = "page.jpeg"; + final String outPath = th.tempFolder + '/' + resultFile; + AsposeResponse response = th.pdfApi.putPageConvertToJpeg(name, pageNumber, outPath, + null, null, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPageConvertToPng Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageConvertToPngTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + File response = th.pdfApi.getPageConvertToPng(name, pageNumber, null, null, th.tempFolder, null); + assertNotNull(response); + } + + /** + * PutPageConvertToPng Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void putPageConvertToPngTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + final String resultFile = "page.png"; + final String outPath = th.tempFolder + '/' + resultFile; + AsposeResponse response = th.pdfApi.putPageConvertToPng(name, pageNumber, outPath, + null, null, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPageConvertToEmf Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageConvertToEmfTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + File response = th.pdfApi.getPageConvertToEmf(name, pageNumber, null, null, th.tempFolder, null); + assertNotNull(response); + } + + /** + * PutPageConvertToEmf Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void putPageConvertToEmfTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + final String resultFile = "page.emf"; + final String outPath = th.tempFolder + '/' + resultFile; + AsposeResponse response = th.pdfApi.putPageConvertToEmf(name, pageNumber, outPath, + null, null, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageConvertToBmp Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageConvertToBmpTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + File response = th.pdfApi.getPageConvertToBmp(name, pageNumber, null, null, th.tempFolder, null); + assertNotNull(response); + } + + /** + * PutPageConvertToBmp Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void putPageConvertToBmpTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + final String resultFile = "page.bmp"; + final String outPath = th.tempFolder + '/' + resultFile; + AsposeResponse response = th.pdfApi.putPageConvertToBmp(name, pageNumber, outPath, + null, null, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPageConvertToGif Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageConvertToGifTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + File response = th.pdfApi.getPageConvertToGif(name, pageNumber, null, null, th.tempFolder, null); + assertNotNull(response); + } + + /** + * PutPageConvertToGif Test + * @throws ApiException + * if the Api call fails + */ + @Test + public void putPageConvertToGifTest() throws ApiException + { + final String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + final String resultFile = "page.gif"; + final String outPath = th.tempFolder + '/' + resultFile; + AsposeResponse response = th.pdfApi.putPageConvertToGif(name, pageNumber, outPath, + null, null, th.tempFolder, null); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/PagesTests.java b/src/test/java/com/aspose/asposecloudpdf/api/PagesTests.java new file mode 100644 index 0000000..2e2c776 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/PagesTests.java @@ -0,0 +1,188 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class PagesTests { + private TestHelper th; + + public PagesTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * DeletePage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void deletePageTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.deletePage(name, pageNumber, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPageTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 3; + String folder = th.tempFolder; + + DocumentPageResponse response = th.pdfApi.getPage(name, pageNumber, null, folder); + assertNotNull(response); + } + + + /** + * GetPages Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPagesTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + DocumentPagesResponse response = th.pdfApi.getPages(name, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetWordsPerPage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getWordsPerPageTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + WordCountResponse response = th.pdfApi.getWordsPerPage(name, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PostMovePage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postMovePageTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + int pageNumber = 1; + int newIndex = 1; + + AsposeResponse response = th.pdfApi.postMovePage(name, pageNumber, newIndex, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutAddNewPage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putAddNewPageTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String folder = th.tempFolder; + + DocumentPagesResponse response = th.pdfApi.putAddNewPage(name, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutPageAddStamp Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPageAddStampTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String stampFileName = "Penguins.jpg"; + th.uploadFile(stampFileName); + + int pageNumber = 1; + String folder = th.tempFolder; + + + Stamp stamp = new Stamp(); + stamp.setType(StampType.IMAGE); + stamp.setFileName(folder + '/' + stampFileName); + stamp.setBackground(true); + stamp.setWidth(200.); + stamp.setHeight(200.); + stamp.setXindent(100.); + stamp.setYindent(100.); + + AsposeResponse response = th.pdfApi.putPageAddStamp(name, pageNumber, stamp, null, folder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/PdfApiTest.java b/src/test/java/com/aspose/asposecloudpdf/api/PdfApiTest.java index 0329b42..e69de29 100644 --- a/src/test/java/com/aspose/asposecloudpdf/api/PdfApiTest.java +++ b/src/test/java/com/aspose/asposecloudpdf/api/PdfApiTest.java @@ -1,7409 +0,0 @@ -/** - * - * 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. - * - */ - - -package com.aspose.asposecloudpdf.api; - -import com.aspose.asposecloudpdf.ApiException; -import com.aspose.asposecloudpdf.model.*; - -import java.io.File; - -import com.google.gson.Gson; -import com.google.gson.stream.JsonReader; - -import org.junit.Test; - -import java.io.FileNotFoundException; -import java.io.FileReader; -import java.util.ArrayList; -import java.util.List; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; - -/** - * API tests for PdfApi - */ -public class PdfApiTest -{ - private final PdfApi pdfApi; - private String tempFolder = "TempPdfCloud"; - private String testDataFolder = "testData"; - private String setupFile = "setup.json"; - - class ApiCreds{ - public String app_key; - public String app_sid; - public String product_uri; - } - - public PdfApiTest() throws FileNotFoundException - { - ApiCreds apiCreds = getApiCreds(); - pdfApi = new PdfApi(apiCreds.app_key, apiCreds.app_sid); - pdfApi.getApiClient().setBasePath(apiCreds.product_uri); - } - - private ApiCreds getApiCreds() throws FileNotFoundException - { - Gson gson = new Gson(); - JsonReader reader = new JsonReader(new FileReader(setupFile)); - return gson.fromJson(reader, ApiCreds.class); - } - - - private void uploadFile(String name) throws ApiException - { - File file = new File(testDataFolder + "/" + name); - AsposeResponse response = pdfApi.putCreate(tempFolder + '/' + name, file, null, null); - assertEquals(200, (int)response.getCode()); - } - - //Annotations Tests - - /** - * GetDocumentAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - - uploadFile(name); - AnnotationsInfoResponse response = pdfApi.getDocumentAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * DeleteDocumentAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteDocumentAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - - uploadFile(name); - AsposeResponse response = pdfApi.deleteDocumentAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - int pageNumber = 2; - - uploadFile(name); - AnnotationsInfoResponse response = pdfApi.getPageAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * DeletePageAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void deletePageAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - int pageNumber = 2; - - uploadFile(name); - AsposeResponse response = pdfApi.deletePageAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * DeleteAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - - uploadFile(name); - - AnnotationsInfoResponse responseAnnotations = pdfApi.getDocumentAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.deleteAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutAnnotationsFlattenTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void PutAnnotationsFlattenTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - int endPage = 2; - List annotationTypes = new ArrayList<>(); - annotationTypes.add(AnnotationType.STAMP); - uploadFile(name); - AsposeResponse response = pdfApi.putAnnotationsFlatten(name, null, endPage, annotationTypes, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - // File Attachment Annotations - - /** - * GetDocumentFileAttachmentAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentFileAttachmentAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - FileAttachmentAnnotationsResponse response = pdfApi.getDocumentFileAttachmentAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageFileAttachmentAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageFileAttachmentAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - FileAttachmentAnnotationsResponse response = pdfApi.getPageFileAttachmentAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageFileAttachmentAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageFileAttachmentAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - String attachmentFile = "4pages.pdf"; - uploadFile(attachmentFile); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - FileAttachmentAnnotation annotation = new FileAttachmentAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setModified("01/01/2018 12:00:00.000 AM"); - annotation.setFilePath(tempFolder + '/' + attachmentFile); - annotation.setFileName(attachmentFile); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageFileAttachmentAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetFileAttachmentAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getFileAttachmentAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - FileAttachmentAnnotationsResponse responseAnnotations = pdfApi.getDocumentFileAttachmentAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - FileAttachmentAnnotationResponse response = pdfApi.getFileAttachmentAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutFileAttachmentAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putFileAttachmentAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - String attachmentFile = "4pages.pdf"; - uploadFile(attachmentFile); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - FileAttachmentAnnotation annotation = new FileAttachmentAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setModified("01/01/2018 12:00:00.000 AM"); - annotation.setFilePath(tempFolder + '/' + attachmentFile); - annotation.setFileName(attachmentFile); - - FileAttachmentAnnotationsResponse responseAnnotations = pdfApi.getDocumentFileAttachmentAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putFileAttachmentAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetFileAttachmentAnnotationDataTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getFileAttachmentAnnotationDataTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - FileAttachmentAnnotationsResponse responseAnnotations = pdfApi.getDocumentFileAttachmentAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - File response = pdfApi.getFileAttachmentAnnotationData(name, annotationId, null, tempFolder); - assertNotNull(response); - } - - /** - * PutFileAttachmentAnnotationDataExtractTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putFileAttachmentAnnotationDataExtractTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - FileAttachmentAnnotationsResponse responseAnnotations = pdfApi.getDocumentFileAttachmentAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putFileAttachmentAnnotationDataExtract(name, annotationId, null, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Stamp Tests - - /** - * GetDocumentStampsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentStampsTest()throws ApiException - { - String name = "PageNumberStamp.pdf"; - uploadFile(name); - - StampsInfoResponse response = pdfApi.getDocumentStamps(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * DeleteDocumentStampsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteDocumentStampsTest()throws ApiException - { - String name = "PageNumberStamp.pdf"; - uploadFile(name); - - AsposeResponse response = pdfApi.deleteDocumentStamps(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageStampsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageStampsTest()throws ApiException - { - String name = "PageNumberStamp.pdf"; - uploadFile(name); - int pageNumber = 1; - StampsInfoResponse response = pdfApi.getPageStamps(name, pageNumber,null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * DeletePageStampsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void deletePageStampsTest()throws ApiException - { - String name = "PageNumberStamp.pdf"; - uploadFile(name); - int pageNumber = 1; - AsposeResponse response = pdfApi.deletePageStamps(name, pageNumber,null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageTextStampsTest - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postPageTextStampsTest()throws ApiException - { - String name = "PageNumberStamp.pdf"; - uploadFile(name); - int pageNumber = 1; - - TextState textState = new TextState().fontSize(14.); - - TextStamp stamp = new TextStamp() - .textAlignment(HorizontalAlignment.CENTER) - .value("Text Stamp") - .textState(textState) - .leftMargin(1.) - .rightMargin(2.) - .topMargin(3.) - .bottomMargin(4.) - .verticalAlignment(VerticalAlignment.CENTER); - - stamp.background(true) - .horizontalAlignment(HorizontalAlignment.CENTER) - .opacity(1.) - .rotate(Rotation.NONE) - .rotateAngle(0.) - .xindent(0.) - .yindent(0.) - .zoom(1.); - - List stamps = new ArrayList<>(); - stamps.add(stamp); - - AsposeResponse response = pdfApi.postPageTextStamps(name, pageNumber, stamps,null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * PostPageImageStampsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageImageStampsTest()throws ApiException - { - String name = "PageNumberStamp.pdf"; - uploadFile(name); - - String image = "Koala.jpg"; - uploadFile(image); - int pageNumber = 1; - - ImageStamp stamp = new ImageStamp() - .fileName(tempFolder + '/' + image) - .leftMargin(1.) - .rightMargin(2.) - .topMargin(3.) - .bottomMargin(4.) - .verticalAlignment(VerticalAlignment.CENTER); - stamp.background(true) - .horizontalAlignment(HorizontalAlignment.CENTER) - .opacity(1.) - .rotate(Rotation.NONE) - .rotateAngle(0.) - .xindent(0.) - .yindent(0.) - .zoom(1.); - - List stamps = new ArrayList<>(); - stamps.add(stamp); - - AsposeResponse response = pdfApi.postPageImageStamps(name, pageNumber, stamps,null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * PostPagePdfPageStampsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPagePdfPageStampsTest()throws ApiException - { - String name = "PageNumberStamp.pdf"; - uploadFile(name); - - String pdf = "4pages.pdf"; - uploadFile(pdf); - int pageNumber = 1; - - PdfPageStamp stamp = new PdfPageStamp() - .fileName(tempFolder + '/' + pdf) - .pageIndex(2) - .leftMargin(1.) - .rightMargin(2.) - .topMargin(3.) - .bottomMargin(4.) - .verticalAlignment(VerticalAlignment.CENTER); - stamp.background(true) - .horizontalAlignment(HorizontalAlignment.CENTER) - .opacity(1.) - .rotate(Rotation.NONE) - .rotateAngle(0.) - .xindent(0.) - .yindent(0.) - .zoom(1.); - - List stamps = new ArrayList<>(); - stamps.add(stamp); - - AsposeResponse response = pdfApi.postPagePdfPageStamps(name, pageNumber, stamps,null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * DeleteStampTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteStampTest()throws ApiException - { - String name = "PageNumberStamp.pdf"; - uploadFile(name); - - StampsInfoResponse stampsResponse = pdfApi.getDocumentStamps(name, null, tempFolder); - assertEquals(200, (int)stampsResponse.getCode()); - String stampId = stampsResponse.getStamps().getList().get(0).getId(); - - AsposeResponse response = pdfApi.deleteStamp(name, stampId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostDocumentPageNumberStamps Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postDocumentPageNumberStampsTest()throws ApiException - { - String name = "4pages.pdf"; - uploadFile(name); - - PageNumberStamp stamp = new PageNumberStamp() - .value("Page #") - .leftMargin(1.) - .rightMargin(2.) - .topMargin(3.) - .bottomMargin(4.) - .verticalAlignment(VerticalAlignment.BOTTOM) - .startingNumber(3); - - stamp.background(true) - .horizontalAlignment(HorizontalAlignment.CENTER) - .opacity(1.) - .rotate(Rotation.NONE) - .rotateAngle(0.) - .xindent(0.) - .yindent(0.) - .zoom(1.); - - int startPageNumber = 2; - int endPageNumber = 3; - - AsposeResponse response = pdfApi.postDocumentPageNumberStamps(name, stamp, startPageNumber, endPageNumber, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Header Footer Tests - - /** - * PostDocumentTextHeaderTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postDocumentTextHeaderTest()throws ApiException - { - String name = "4pages.pdf"; - uploadFile(name); - - int startPage = 2; - int endPage = 3; - - Color foregroundColor = new Color(); - foregroundColor.setA(0x00); - foregroundColor.setR(0x00); - foregroundColor.setG(0xFF); - foregroundColor.setB(0x00); - - Color backgroundColor = new Color(); - backgroundColor.setA(0x00); - backgroundColor.setR(0xFF); - backgroundColor.setG(0x00); - backgroundColor.setB(0x00); - - TextState textState = new TextState() - .fontSize(14.) - .foregroundColor(foregroundColor) - .backgroundColor(backgroundColor); - - TextHeader header = new TextHeader() - .leftMargin(1.) - .rightMargin(2.) - .topMargin(3.) - .textAlignment(HorizontalAlignment.CENTER) - .value("Header") - .textState(textState); - header.background(true) - .horizontalAlignment(HorizontalAlignment.CENTER) - .opacity(1.) - .rotate(Rotation.NONE) - .rotateAngle(0.) - .xindent(0.) - .yindent(0.) - .zoom(1.); - - - AsposeResponse response = pdfApi.postDocumentTextHeader(name, header, startPage, endPage, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * PostDocumentTextFooterTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postDocumentTextFooterTest()throws ApiException - { - String name = "4pages.pdf"; - uploadFile(name); - - int startPage = 2; - int endPage = 3; - - Color foregroundColor = new Color(); - foregroundColor.setA(0x00); - foregroundColor.setR(0x00); - foregroundColor.setG(0xFF); - foregroundColor.setB(0x00); - - Color backgroundColor = new Color(); - backgroundColor.setA(0x00); - backgroundColor.setR(0xFF); - backgroundColor.setG(0x00); - backgroundColor.setB(0x00); - - TextState textState = new TextState() - .fontSize(14.) - .foregroundColor(foregroundColor) - .backgroundColor(backgroundColor); - - TextFooter footer = new TextFooter() - .leftMargin(1.) - .rightMargin(2.) - .bottomMargin(3.) - .textAlignment(HorizontalAlignment.CENTER) - .value("Header") - .textState(textState); - footer.background(true) - .horizontalAlignment(HorizontalAlignment.CENTER) - .opacity(1.) - .rotate(Rotation.NONE) - .rotateAngle(0.) - .xindent(0.) - .yindent(0.) - .zoom(1.); - - - AsposeResponse response = pdfApi.postDocumentTextFooter(name, footer, startPage, endPage, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * PostDocumentImageHeaderTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postDocumentImageHeaderTest()throws ApiException - { - String name = "4pages.pdf"; - uploadFile(name); - - String image = "Koala.jpg"; - uploadFile(image); - - int startPage = 2; - int endPage = 3; - - ImageHeader header = new ImageHeader() - .leftMargin(1.) - .rightMargin(2.) - .topMargin(3.) - .fileName(tempFolder + '/' + image); - header.background(true) - .horizontalAlignment(HorizontalAlignment.CENTER) - .opacity(1.) - .rotate(Rotation.NONE) - .rotateAngle(0.) - .xindent(0.) - .yindent(0.) - .zoom(.1); - - - AsposeResponse response = pdfApi.postDocumentImageHeader(name, header, startPage, endPage, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * PostDocumentImageFooterTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postDocumentImageFooterTest()throws ApiException - { - String name = "4pages.pdf"; - uploadFile(name); - - String image = "Koala.jpg"; - uploadFile(image); - - int startPage = 2; - int endPage = 3; - - ImageFooter footer = new ImageFooter() - .leftMargin(1.) - .rightMargin(2.) - .bottomMargin(3.) - .fileName(tempFolder + '/' + image); - footer.background(true) - .horizontalAlignment(HorizontalAlignment.CENTER) - .opacity(1.) - .rotate(Rotation.NONE) - .rotateAngle(0.) - .xindent(0.) - .yindent(0.) - .zoom(1.); - - - AsposeResponse response = pdfApi.postDocumentImageFooter(name, footer, startPage, endPage, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Table Tests - - /** - * GetDocumentTablesTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentTablesTest()throws ApiException - { - String name = "PdfWithTable.pdf"; - uploadFile(name); - - TablesRecognizedResponse response = pdfApi.getDocumentTables(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * DeleteDocumentTablesTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteDocumentTablesTest()throws ApiException - { - String name = "PdfWithTable.pdf"; - uploadFile(name); - - AsposeResponse response = pdfApi.deleteDocumentTables(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageTablesTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageTablesTest()throws ApiException - { - String name = "PdfWithTable.pdf"; - uploadFile(name); - int pageNumber = 1; - - TablesRecognizedResponse response = pdfApi.getPageTables(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * DeletePageTablesTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void deletePageTablesTest()throws ApiException - { - String name = "PdfWithTable.pdf"; - uploadFile(name); - int pageNumber = 1; - - AsposeResponse response = pdfApi.deletePageTables(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetTableTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getTableTest()throws ApiException - { - String name = "PdfWithTable.pdf"; - uploadFile(name); - - TablesRecognizedResponse tablesResponse = pdfApi.getDocumentTables(name, null, tempFolder); - assertEquals(200, (int)tablesResponse.getCode()); - String tableId = tablesResponse.getTables().getList().get(0).getId(); - - TableRecognizedResponse response = pdfApi.getTable(name, tableId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * DeleteTableTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteTableTest()throws ApiException - { - String name = "PdfWithTable.pdf"; - uploadFile(name); - - TablesRecognizedResponse tablesResponse = pdfApi.getDocumentTables(name, null, tempFolder); - assertEquals(200, (int)tablesResponse.getCode()); - String tableId = tablesResponse.getTables().getList().get(0).getId(); - - AsposeResponse response = pdfApi.deleteTable(name, tableId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageTablesTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageTablesTest()throws ApiException - { - String name = "4pages.pdf"; - uploadFile(name); - - int pageNumber = 1; - - List
tables = new ArrayList<>(); - tables.add(drawTable()); - - AsposeResponse response = pdfApi.postPageTables(name, pageNumber, tables, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutTableTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putTableTest()throws ApiException - { - String name = "PdfWithTable.pdf"; - uploadFile(name); - - int pageNumber = 1; - - TablesRecognizedResponse tablesResponse = pdfApi.getDocumentTables(name, null, tempFolder); - assertEquals(200, (int)tablesResponse.getCode()); - String tableId = tablesResponse.getTables().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putTable(name, tableId, drawTable(), null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - private Table drawTable() - { - TextState textState = new TextState() - .fontSize(10.) - .backgroundColor(new Color().A(255).R(255)); - - int numOfCols = 5; - int numOfRows = 5; - - Table table = new Table(); - table.setRows(new ArrayList()); - - String colWidths = ""; - for (int c = 0; c < numOfCols; c++) - { - colWidths += " 30"; - } - table.columnWidths(colWidths); - - table.defaultCellTextState(textState); - - GraphInfo borderTableBorder = new GraphInfo(); - borderTableBorder.setColor(new Color().A(255).G(255)); - borderTableBorder.setLineWidth(1.); - - table.setDefaultCellBorder(new BorderInfo() - .top(borderTableBorder) - .right(borderTableBorder) - .bottom(borderTableBorder) - .left(borderTableBorder) - ); - - table.setTop(100.); - - for (int r = 0; r < numOfRows; r++) - { - - Row row = new Row().cells(new ArrayList()); - - for (int c = 0; c < numOfCols; c++) - { - - Cell cell = new Cell(); - cell.setBackgroundColor(new Color().A(255).G(128)); - cell.setDefaultCellTextState(textState); - cell.setParagraphs(new ArrayList()); - cell.getParagraphs().add(new TextRect().text("value")); - - // change properties on cell - if (c == 1) - { - cell.getDefaultCellTextState().setForegroundColor(new Color().A(255).B(255)); - } - - // change properties on cell AFTER first clearing and re-adding paragraphs - else if (c == 2) - { - cell.getParagraphs().clear(); - cell.getParagraphs().add(new TextRect().text("y")); - cell.getDefaultCellTextState().setForegroundColor(new Color().A(255).B(255)); - } - - // change properties on paragraph - else if (c == 3) - { - cell.getParagraphs().get(0).setTextState(textState); - cell.getParagraphs().get(0).getTextState().setForegroundColor(new Color().A(255).G(255)); - } - - // change properties on paragraph AFTER first clearing and re-adding paragraphs - else if (c == 4) - { - cell.getParagraphs().clear(); - cell.getParagraphs().add(new TextRect().text("y")); - cell.getParagraphs().get(0).setTextState(textState); - cell.getParagraphs().get(0).getTextState().setForegroundColor(new Color().A(255).B(255)); - } - row.getCells().add(cell); - - } - table.getRows().add(row); - } - - return table; - } - - // Stamp Annotations - - /** - * GetDocumentStampAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentStampAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - StampAnnotationsResponse response = pdfApi.getDocumentStampAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageStampAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageStampAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - StampAnnotationsResponse response = pdfApi.getPageStampAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageStampAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageStampAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - String attachmentFile = "4pages.pdf"; - uploadFile(attachmentFile); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - StampAnnotation annotation = new StampAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setModified("01/01/2018 12:00:00.000 AM"); - annotation.setFilePath(tempFolder + '/' + attachmentFile); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageStampAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetStampAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getStampAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - StampAnnotationsResponse responseAnnotations = pdfApi.getDocumentStampAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - StampAnnotationResponse response = pdfApi.getStampAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutStampAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putStampAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - String attachmentFile = "4pages.pdf"; - uploadFile(attachmentFile); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - StampAnnotation annotation = new StampAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setModified("01/01/2018 12:00:00.000 AM"); - annotation.setFilePath(tempFolder + '/' + attachmentFile); - - StampAnnotationsResponse responseAnnotations = pdfApi.getDocumentStampAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putStampAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetStampAnnotationDataTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getStampAnnotationDataTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - StampAnnotationsResponse responseAnnotations = pdfApi.getDocumentStampAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - File response = pdfApi.getStampAnnotationData(name, annotationId, null, tempFolder); - assertNull(response); - } - - /** - * PutStampAnnotationDataExtractTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putStampAnnotationDataExtractTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - String outFilePath = tempFolder + '/' + "stamp.dat"; - - StampAnnotationsResponse responseAnnotations = pdfApi.getDocumentStampAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putStampAnnotationDataExtract(name, annotationId, outFilePath, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Screen Annotations - - /** - * GetDocumentScreenAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentScreenAnnotationsTest()throws ApiException - { - String name = "PdfWithScreenAnnotations.pdf"; - uploadFile(name); - - ScreenAnnotationsResponse response = pdfApi.getDocumentScreenAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageScreenAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageScreenAnnotationsTest()throws ApiException - { - String name = "PdfWithScreenAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - ScreenAnnotationsResponse response = pdfApi.getPageScreenAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageScreenAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageScreenAnnotationsTest()throws ApiException - { - String name = "PdfWithScreenAnnotations.pdf"; - uploadFile(name); - - String attachmentFile = "ScreenMovie.swf"; - uploadFile(attachmentFile); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - ScreenAnnotation annotation = new ScreenAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setModified("01/01/2018 12:00:00.000 AM"); - annotation.setFilePath(tempFolder + '/' + attachmentFile); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageScreenAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetScreenAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getScreenAnnotationTest()throws ApiException - { - String name = "PdfWithScreenAnnotations.pdf"; - uploadFile(name); - - ScreenAnnotationsResponse responseAnnotations = pdfApi.getDocumentScreenAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - ScreenAnnotationResponse response = pdfApi.getScreenAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutScreenAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putScreenAnnotationTest()throws ApiException - { - String name = "PdfWithScreenAnnotations.pdf"; - uploadFile(name); - - String attachmentFile = "ScreenMovie.swf"; - uploadFile(attachmentFile); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - ScreenAnnotation annotation = new ScreenAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setModified("01/01/2018 12:00:00.000 AM"); - annotation.setFilePath(tempFolder + '/' + attachmentFile); - - ScreenAnnotationsResponse responseAnnotations = pdfApi.getDocumentScreenAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putScreenAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetScreenAnnotationDataTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getScreenAnnotationDataTest()throws ApiException - { - String name = "PdfWithScreenAnnotations.pdf"; - uploadFile(name); - - ScreenAnnotationsResponse responseAnnotations = pdfApi.getDocumentScreenAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - File response = pdfApi.getScreenAnnotationData(name, annotationId, null, tempFolder); - assertNotNull(response); - } - - /** - * PutScreenAnnotationDataExtractTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putScreenAnnotationDataExtractTest()throws ApiException - { - String name = "PdfWithScreenAnnotations.pdf"; - uploadFile(name); - - ScreenAnnotationsResponse responseAnnotations = pdfApi.getDocumentScreenAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putScreenAnnotationDataExtract(name, annotationId, "outFile.dat", null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Sound Annotations - - /** - * GetDocumentSoundAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentSoundAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - SoundAnnotationsResponse response = pdfApi.getDocumentSoundAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageSoundAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageSoundAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - SoundAnnotationsResponse response = pdfApi.getPageSoundAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageSoundAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageSoundAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - String attachmentFile = "4pages.pdf"; - uploadFile(attachmentFile); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - SoundAnnotation annotation = new SoundAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setModified("01/01/2018 12:00:00.000 AM"); - annotation.setFilePath(tempFolder + '/' + attachmentFile); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageSoundAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetSoundAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getSoundAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - SoundAnnotationsResponse responseAnnotations = pdfApi.getDocumentSoundAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - SoundAnnotationResponse response = pdfApi.getSoundAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutSoundAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putSoundAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - String attachmentFile = "4pages.pdf"; - uploadFile(attachmentFile); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - SoundAnnotation annotation = new SoundAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - annotation.setModified("01/01/2018 12:01:02.000 AM"); - annotation.setFilePath(tempFolder + '/' + attachmentFile); - - SoundAnnotationsResponse responseAnnotations = pdfApi.getDocumentSoundAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putSoundAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetSoundAnnotationDataTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getSoundAnnotationDataTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - SoundAnnotationsResponse responseAnnotations = pdfApi.getDocumentSoundAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - File response = pdfApi.getSoundAnnotationData(name, annotationId, null, tempFolder); - assertNotNull(response); - } - - /** - * PutSoundAnnotationDataExtractTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putSoundAnnotationDataExtractTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - SoundAnnotationsResponse responseAnnotations = pdfApi.getDocumentSoundAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putSoundAnnotationDataExtract(name, annotationId, "outFile.dat", null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Redaction Annotations - - /** - * GetDocumentRedactionAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentRedactionAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - RedactionAnnotationsResponse response = pdfApi.getDocumentRedactionAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageRedactionAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageRedactionAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - RedactionAnnotationsResponse response = pdfApi.getPageRedactionAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageRedactionAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageRedactionAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - List points = new ArrayList<>(); - points.add(new Point().X(10.).Y(40.)); - points.add(new Point().X(30.).Y(40.)); - - RedactionAnnotation annotation = new RedactionAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setZindex(1); - annotation.setModified("01/01/2018 12:00:00.000 AM"); - annotation.setQuadPoint(points); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageRedactionAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetRedactionAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getRedactionAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - RedactionAnnotationsResponse responseAnnotations = pdfApi.getDocumentRedactionAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - RedactionAnnotationResponse response = pdfApi.getRedactionAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutRedactionAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putRedactionAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - List points = new ArrayList<>(); - points.add(new Point().X(10.).Y(40.)); - points.add(new Point().X(30.).Y(40.)); - - RedactionAnnotation annotation = new RedactionAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setZindex(1); - annotation.setModified("01/01/2018 12:02:03.000 AM"); - annotation.setQuadPoint(points); - - RedactionAnnotationsResponse responseAnnotations = pdfApi.getDocumentRedactionAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putRedactionAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Movie Annotations - - /** - * GetDocumentMovieAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentMovieAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations1.pdf"; - uploadFile(name); - - MovieAnnotationsResponse response = pdfApi.getDocumentMovieAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageMovieAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageMovieAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations1.pdf"; - uploadFile(name); - - int pageNumber = 2; - - MovieAnnotationsResponse response = pdfApi.getPageMovieAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageMovieAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageMovieAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations1.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - MovieAnnotation annotation = new MovieAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setZindex(1); - annotation.setModified("01/01/2018 12:00:00.000 AM"); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageMovieAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetMovieAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getMovieAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations1.pdf"; - uploadFile(name); - - MovieAnnotationsResponse responseAnnotations = pdfApi.getDocumentMovieAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - MovieAnnotationResponse response = pdfApi.getMovieAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutMovieAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putMovieAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations1.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - MovieAnnotation annotation = new MovieAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setZindex(1); - annotation.setModified("01/01/2018 12:02:03.000 AM"); - - MovieAnnotationsResponse responseAnnotations = pdfApi.getDocumentMovieAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putMovieAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - - // Line Annotations - - /** - * GetDocumentLineAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentLineAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - LineAnnotationsResponse response = pdfApi.getDocumentLineAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageLineAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageLineAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - LineAnnotationsResponse response = pdfApi.getPageLineAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetLineAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getLineAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - LineAnnotationsResponse responseAnnotations = pdfApi.getDocumentLineAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - LineAnnotationResponse response = pdfApi.getLineAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageLineAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageLineAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - LineAnnotation annotation = new LineAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setStarting(new Point().X(10.).Y(10.)); - annotation.setEnding(new Point().X(100.).Y(100.)); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageLineAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutLineAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putLineAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - LineAnnotation annotation = new LineAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - annotation.setStarting(new Point().X(10.).Y(10.)); - annotation.setEnding(new Point().X(100.).Y(100.)); - - LineAnnotationsResponse responseAnnotations = pdfApi.getDocumentLineAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putLineAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Square Annotations - - /** - * GetDocumentSquareAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentSquareAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - SquareAnnotationsResponse response = pdfApi.getDocumentSquareAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageSquareAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageSquareAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - SquareAnnotationsResponse response = pdfApi.getPageSquareAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetSquareAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getSquareAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - SquareAnnotationsResponse responseAnnotations = pdfApi.getDocumentSquareAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - SquareAnnotationResponse response = pdfApi.getSquareAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageSquareAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageSquareAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - SquareAnnotation annotation = new SquareAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageSquareAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutSquareAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putSquareAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - SquareAnnotation annotation = new SquareAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - - SquareAnnotationsResponse responseAnnotations = pdfApi.getDocumentSquareAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putSquareAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Circle Annotations - - /** - * GetDocumentCircleAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentCircleAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - CircleAnnotationsResponse response = pdfApi.getDocumentCircleAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageCircleAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageCircleAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - CircleAnnotationsResponse response = pdfApi.getPageCircleAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetCircleAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getCircleAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - CircleAnnotationsResponse responseAnnotations = pdfApi.getDocumentCircleAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - CircleAnnotationResponse response = pdfApi.getCircleAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageCircleAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageCircleAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - CircleAnnotation annotation = new CircleAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageCircleAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutCircleAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putCircleAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - CircleAnnotation annotation = new CircleAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - - CircleAnnotationsResponse responseAnnotations = pdfApi.getDocumentCircleAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putCircleAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Polygon Annotations - - /** - * GetDocumentPolygonAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentPolygonAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - PolygonAnnotationsResponse response = pdfApi.getDocumentPolygonAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPagePolygonAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPagePolygonAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - PolygonAnnotationsResponse response = pdfApi.getPagePolygonAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetPolygonAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPolygonAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - PolygonAnnotationsResponse responseAnnotations = pdfApi.getDocumentPolygonAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - PolygonAnnotationResponse response = pdfApi.getPolygonAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPagePolygonAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPagePolygonAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List vertices = new ArrayList(); - vertices.add(new Point().X(10.).Y(10.)); - vertices.add(new Point().X(20.).Y(10.)); - vertices.add(new Point().X(10.).Y(20.)); - vertices.add(new Point().X(10.).Y(10.)); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - PolygonAnnotation annotation = new PolygonAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setVertices(vertices); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPagePolygonAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutPolygonAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putPolygonAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List vertices = new ArrayList(); - vertices.add(new Point().X(10.).Y(10.)); - vertices.add(new Point().X(20.).Y(10.)); - vertices.add(new Point().X(10.).Y(20.)); - vertices.add(new Point().X(10.).Y(10.)); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - PolygonAnnotation annotation = new PolygonAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - annotation.setVertices(vertices); - - PolygonAnnotationsResponse responseAnnotations = pdfApi.getDocumentPolygonAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putPolygonAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // PolyLine Annotations - - /** - * GetDocumentPolyLineAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentPolyLineAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - PolyLineAnnotationsResponse response = pdfApi.getDocumentPolyLineAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPagePolyLineAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPagePolyLineAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - PolyLineAnnotationsResponse response = pdfApi.getPagePolyLineAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetPolyLineAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPolyLineAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - PolyLineAnnotationsResponse responseAnnotations = pdfApi.getDocumentPolyLineAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - PolyLineAnnotationResponse response = pdfApi.getPolyLineAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPagePolyLineAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPagePolyLineAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List vertices = new ArrayList(); - vertices.add(new Point().X(10.).Y(10.)); - vertices.add(new Point().X(20.).Y(10.)); - vertices.add(new Point().X(10.).Y(20.)); - vertices.add(new Point().X(10.).Y(10.)); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - PolyLineAnnotation annotation = new PolyLineAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setVertices(vertices); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPagePolyLineAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutPolyLineAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putPolyLineAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List vertices = new ArrayList(); - vertices.add(new Point().X(10.).Y(10.)); - vertices.add(new Point().X(20.).Y(10.)); - vertices.add(new Point().X(10.).Y(20.)); - vertices.add(new Point().X(10.).Y(10.)); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - PolyLineAnnotation annotation = new PolyLineAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - annotation.setVertices(vertices); - - PolyLineAnnotationsResponse responseAnnotations = pdfApi.getDocumentPolyLineAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putPolyLineAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Free Text Annotations - - /** - * GetDocumentFreeTextAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentFreeTextAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - FreeTextAnnotationsResponse response = pdfApi.getDocumentFreeTextAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageFreeTextAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageFreeTextAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - FreeTextAnnotationsResponse response = pdfApi.getPageFreeTextAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetFreeTextAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getFreeTextAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - FreeTextAnnotationsResponse responseAnnotations = pdfApi.getDocumentFreeTextAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - FreeTextAnnotationResponse response = pdfApi.getFreeTextAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageFreeTextAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageFreeTextAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Color foregroundColor = new Color(); - foregroundColor.setA(0x00); - foregroundColor.setR(0x00); - foregroundColor.setG(0xFF); - foregroundColor.setB(0x00); - - Color backgroundColor = new Color(); - backgroundColor.setA(0x00); - backgroundColor.setR(0xFF); - backgroundColor.setG(0x00); - backgroundColor.setB(0x00); - - TextStyle textStyle = new TextStyle(); - textStyle.setFont("Arial"); - textStyle.setFontSize(12.); - textStyle.setForegroundColor(foregroundColor); - textStyle.setBackgroundColor(backgroundColor); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - FreeTextAnnotation freeTextAnnotation = new FreeTextAnnotation(); - freeTextAnnotation.setName("Test Free Text"); - freeTextAnnotation.setTextStyle(textStyle); - freeTextAnnotation.setRect(rect); - freeTextAnnotation.setFlags(flags); - freeTextAnnotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - freeTextAnnotation.setIntent(FreeTextIntent.FREETEXTTYPEWRITER); - freeTextAnnotation.setRichText("Rich Text"); - freeTextAnnotation.setSubject("Text Box Subj"); - freeTextAnnotation.setZindex(1); - freeTextAnnotation.setJustification(Justification.CENTER); - freeTextAnnotation.setTitle("Title"); - - List annotations = new ArrayList<>(); - annotations.add(freeTextAnnotation); - - AsposeResponse response = pdfApi.postPageFreeTextAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutFreeTextAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putFreeTextAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - - Color foregroundColor = new Color(); - foregroundColor.setA(0x00); - foregroundColor.setR(0x00); - foregroundColor.setG(0xFF); - foregroundColor.setB(0x00); - - Color backgroundColor = new Color(); - backgroundColor.setA(0x00); - backgroundColor.setR(0xFF); - backgroundColor.setG(0x00); - backgroundColor.setB(0x00); - - TextStyle textStyle = new TextStyle(); - textStyle.setFont("Arial"); - textStyle.setFontSize(12.); - textStyle.setForegroundColor(foregroundColor); - textStyle.setBackgroundColor(backgroundColor); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - FreeTextAnnotation freeTextAnnotation = new FreeTextAnnotation(); - freeTextAnnotation.setName("Test Free Text"); - freeTextAnnotation.setTextStyle(textStyle); - freeTextAnnotation.setRect(rect); - freeTextAnnotation.setFlags(flags); - freeTextAnnotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - freeTextAnnotation.setIntent(FreeTextIntent.FREETEXTTYPEWRITER); - freeTextAnnotation.setRichText("Rich Text"); - freeTextAnnotation.setSubject("Text Box Subj"); - freeTextAnnotation.setZindex(1); - freeTextAnnotation.setJustification(Justification.CENTER); - freeTextAnnotation.setTitle("Title"); - - FreeTextAnnotationsResponse responseAnnotations = pdfApi.getDocumentFreeTextAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putFreeTextAnnotation(name, annotationId, freeTextAnnotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - // Text Annotations - - /** - * GetDocumentTextAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentTextAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - TextAnnotationsResponse response = pdfApi.getDocumentTextAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageTextAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageTextAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - TextAnnotationsResponse response = pdfApi.getPageTextAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetTextAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getTextAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - TextAnnotationsResponse responseAnnotations = pdfApi.getDocumentTextAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - TextAnnotationResponse response = pdfApi.getTextAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageTextAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageTextAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - TextAnnotation textAnnotation = new TextAnnotation(); - textAnnotation.setName("Test Free Text"); - textAnnotation.setRect(rect); - textAnnotation.setFlags(flags); - textAnnotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - textAnnotation.setRichText("Rich Text"); - textAnnotation.setSubject("Text Box Subj"); - textAnnotation.setZindex(1); - textAnnotation.setState(AnnotationState.UNDEFINED); - - List annotations = new ArrayList<>(); - annotations.add(textAnnotation); - - AsposeResponse response = pdfApi.postPageTextAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutTextAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putTextAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - TextAnnotation textAnnotation = new TextAnnotation(); - textAnnotation.setName("Test Free Text"); - textAnnotation.setRect(rect); - textAnnotation.setFlags(flags); - textAnnotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - textAnnotation.setRichText("Rich Text"); - textAnnotation.setSubject("Text Box Subj"); - textAnnotation.setZindex(1); - textAnnotation.setState(AnnotationState.UNDEFINED); - - TextAnnotationsResponse responseAnnotations = pdfApi.getDocumentTextAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putTextAnnotation(name, annotationId, textAnnotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - // Highlight Annotations - - /** - * GetDocumentHighlightAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentHighlightAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - HighlightAnnotationsResponse response = pdfApi.getDocumentHighlightAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageHighlightAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageHighlightAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - HighlightAnnotationsResponse response = pdfApi.getPageHighlightAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetHighlightAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getHighlightAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - HighlightAnnotationsResponse responseAnnotations = pdfApi.getDocumentHighlightAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - HighlightAnnotationResponse response = pdfApi.getHighlightAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageHighlightAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageHighlightAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - List points = new ArrayList<>(); - points.add(new Point().X(10.).Y(10.)); - points.add(new Point().X(20.).Y(10.)); - points.add(new Point().X(10.).Y(20.)); - points.add(new Point().X(10.).Y(10.)); - - HighlightAnnotation annotation = new HighlightAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setQuadPoints(points); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageHighlightAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutHighlightAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putHighlightAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - List points = new ArrayList<>(); - points.add(new Point().X(10.).Y(10.)); - points.add(new Point().X(20.).Y(10.)); - points.add(new Point().X(10.).Y(20.)); - points.add(new Point().X(10.).Y(10.)); - - HighlightAnnotation annotation = new HighlightAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - annotation.setQuadPoints(points); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - HighlightAnnotationsResponse responseAnnotations = pdfApi.getDocumentHighlightAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putHighlightAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Underline Annotations - - /** - * GetDocumentUnderlineAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentUnderlineAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - UnderlineAnnotationsResponse response = pdfApi.getDocumentUnderlineAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageUnderlineAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageUnderlineAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - UnderlineAnnotationsResponse response = pdfApi.getPageUnderlineAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetUnderlineAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getUnderlineAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - UnderlineAnnotationsResponse responseAnnotations = pdfApi.getDocumentUnderlineAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - UnderlineAnnotationResponse response = pdfApi.getUnderlineAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageUnderlineAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageUnderlineAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - List points = new ArrayList<>(); - points.add(new Point().X(10.).Y(10.)); - points.add(new Point().X(20.).Y(10.)); - points.add(new Point().X(10.).Y(20.)); - points.add(new Point().X(10.).Y(10.)); - - UnderlineAnnotation annotation = new UnderlineAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setQuadPoints(points); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageUnderlineAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutUnderlineAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putUnderlineAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - List points = new ArrayList<>(); - points.add(new Point().X(10.).Y(10.)); - points.add(new Point().X(20.).Y(10.)); - points.add(new Point().X(10.).Y(20.)); - points.add(new Point().X(10.).Y(10.)); - - UnderlineAnnotation annotation = new UnderlineAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - annotation.setQuadPoints(points); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - UnderlineAnnotationsResponse responseAnnotations = pdfApi.getDocumentUnderlineAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putUnderlineAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Squiggly Annotations - - /** - * GetDocumentSquigglyAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentSquigglyAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - SquigglyAnnotationsResponse response = pdfApi.getDocumentSquigglyAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageSquigglyAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageSquigglyAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - SquigglyAnnotationsResponse response = pdfApi.getPageSquigglyAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetSquigglyAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getSquigglyAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - SquigglyAnnotationsResponse responseAnnotations = pdfApi.getDocumentSquigglyAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - SquigglyAnnotationResponse response = pdfApi.getSquigglyAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageSquigglyAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageSquigglyAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - List points = new ArrayList<>(); - points.add(new Point().X(10.).Y(10.)); - points.add(new Point().X(20.).Y(10.)); - points.add(new Point().X(10.).Y(20.)); - points.add(new Point().X(10.).Y(10.)); - - SquigglyAnnotation annotation = new SquigglyAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setQuadPoints(points); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageSquigglyAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutSquigglyAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putSquigglyAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - List points = new ArrayList<>(); - points.add(new Point().X(10.).Y(10.)); - points.add(new Point().X(20.).Y(10.)); - points.add(new Point().X(10.).Y(20.)); - points.add(new Point().X(10.).Y(10.)); - - SquigglyAnnotation annotation = new SquigglyAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - annotation.setQuadPoints(points); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - SquigglyAnnotationsResponse responseAnnotations = pdfApi.getDocumentSquigglyAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putSquigglyAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // StrikeOut Annotations - - /** - * GetDocumentStrikeOutAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentStrikeOutAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - StrikeOutAnnotationsResponse response = pdfApi.getDocumentStrikeOutAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageStrikeOutAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageStrikeOutAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - StrikeOutAnnotationsResponse response = pdfApi.getPageStrikeOutAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetStrikeOutAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getStrikeOutAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - StrikeOutAnnotationsResponse responseAnnotations = pdfApi.getDocumentStrikeOutAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - StrikeOutAnnotationResponse response = pdfApi.getStrikeOutAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageStrikeOutAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageStrikeOutAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - List points = new ArrayList<>(); - points.add(new Point().X(10.).Y(10.)); - points.add(new Point().X(20.).Y(10.)); - points.add(new Point().X(10.).Y(20.)); - points.add(new Point().X(10.).Y(10.)); - - StrikeOutAnnotation annotation = new StrikeOutAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setQuadPoints(points); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageStrikeOutAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutStrikeOutAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putStrikeOutAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - List points = new ArrayList<>(); - points.add(new Point().X(10.).Y(10.)); - points.add(new Point().X(20.).Y(10.)); - points.add(new Point().X(10.).Y(20.)); - points.add(new Point().X(10.).Y(10.)); - - StrikeOutAnnotation annotation = new StrikeOutAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - annotation.setQuadPoints(points); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - StrikeOutAnnotationsResponse responseAnnotations = pdfApi.getDocumentStrikeOutAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putStrikeOutAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Caret Annotations - - /** - * GetDocumentCaretAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentCaretAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - CaretAnnotationsResponse response = pdfApi.getDocumentCaretAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageCaretAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageCaretAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - CaretAnnotationsResponse response = pdfApi.getPageCaretAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetCaretAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getCaretAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - CaretAnnotationsResponse responseAnnotations = pdfApi.getDocumentCaretAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - CaretAnnotationResponse response = pdfApi.getCaretAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageCaretAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageCaretAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - CaretAnnotation annotation = new CaretAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setFrame(rect); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageCaretAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutCaretAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putCaretAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - - CaretAnnotation annotation = new CaretAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - annotation.setFrame(rect); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - CaretAnnotationsResponse responseAnnotations = pdfApi.getDocumentCaretAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putCaretAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - // Ink Annotations - - /** - * GetDocumentInkAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentInkAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - InkAnnotationsResponse response = pdfApi.getDocumentInkAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageInkAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageInkAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - InkAnnotationsResponse response = pdfApi.getPageInkAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetInkAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getInkAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - InkAnnotationsResponse responseAnnotations = pdfApi.getDocumentInkAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - InkAnnotationResponse response = pdfApi.getInkAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPageInkAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPageInkAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List> inkList = new ArrayList<>(); - - List inks1 = new ArrayList<>(); - inks1.add(new Point().X(10.).Y(40.)); - inks1.add(new Point().X(30.).Y(40.)); - - List inks2 = new ArrayList<>(); - inks2.add(new Point().X(10.).Y(20.)); - inks2.add(new Point().X(20.).Y(20.)); - inks2.add(new Point().X(30.).Y(20.)); - - inkList.add(inks1); - inkList.add(inks2); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - InkAnnotation annotation = new InkAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text"); - annotation.setSubject("Subj"); - annotation.setZindex(1); - annotation.setTitle("Title"); - annotation.setInkList(inkList); - annotation.setCapStyle(CapStyle.ROUNDED); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - List annotations = new ArrayList<>(); - annotations.add(annotation); - - AsposeResponse response = pdfApi.postPageInkAnnotations(name, pageNumber, annotations, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutInkAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putInkAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List> inkList = new ArrayList<>(); - - List inks1 = new ArrayList<>(); - inks1.add(new Point().X(10.).Y(40.)); - inks1.add(new Point().X(30.).Y(40.)); - - List inks2 = new ArrayList<>(); - inks2.add(new Point().X(10.).Y(20.)); - inks2.add(new Point().X(20.).Y(20.)); - inks2.add(new Point().X(30.).Y(20.)); - - inkList.add(inks1); - inkList.add(inks2); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - - InkAnnotation annotation = new InkAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setRichText("Rich Text Updated"); - annotation.setSubject("Subj Updated"); - annotation.setZindex(1); - annotation.setTitle("Title Updated"); - annotation.setInkList(inkList); - annotation.setCapStyle(CapStyle.ROUNDED); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - InkAnnotationsResponse responseAnnotations = pdfApi.getDocumentInkAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putInkAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - // Popup Annotations - - /** - * GetDocumentPopupAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentPopupAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - PopupAnnotationsResponse response = pdfApi.getDocumentPopupAnnotations(name, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetDocumentPopupAnnotationsByParentTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getDocumentPopupAnnotationsByParentTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - String parentId = "GI5TAOZRGU3CYNZSGEWDCNZWFQ3TGOI"; - - PopupAnnotationsResponse response = pdfApi.getDocumentPopupAnnotationsByParent(name, parentId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPagePopupAnnotationsTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPagePopupAnnotationsTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - int pageNumber = 2; - - PopupAnnotationsResponse response = pdfApi.getPagePopupAnnotations(name, pageNumber, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPopupAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPopupAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - PopupAnnotationsResponse responseAnnotations = pdfApi.getDocumentPopupAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - PopupAnnotationResponse response = pdfApi.getPopupAnnotation(name, annotationId, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostPopupAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void postPopupAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - String parentId = "GI5TCMR3GE2TQLBSGM3CYMJYGUWDENRV"; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - PopupAnnotation annotation = new PopupAnnotation(); - annotation.setName("Name"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setZindex(1); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - - AsposeResponse response = pdfApi.postPopupAnnotation(name, parentId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutPopupAnnotationTest - * @throws ApiException - * if the Api call fails - */ - @Test - public void putPopupAnnotationTest()throws ApiException - { - String name = "PdfWithAnnotations.pdf"; - uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(200.) - .URY(200.); - - List flags = new ArrayList<>(); - flags.add(AnnotationFlags.DEFAULT); - - - PopupAnnotation annotation = new PopupAnnotation(); - annotation.setName("Name Updated"); - annotation.setRect(rect); - annotation.setFlags(flags); - annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); - annotation.setZindex(1); - annotation.setModified("02/02/2018 00:00:00.000 AM"); - - PopupAnnotationsResponse responseAnnotations = pdfApi.getDocumentPopupAnnotations(name, null, tempFolder); - assertEquals(200, (int)responseAnnotations.getCode()); - String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); - - AsposeResponse response = pdfApi.putPopupAnnotation(name, annotationId, annotation, null, tempFolder); - assertEquals(201, (int)response.getCode()); - } - - //Append Tests - - /** - * PostAppendDocumentUsingQueryParams Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postAppendDocumentUsingQueryParamsTest() throws ApiException - { - String name = "PdfWithImages2.pdf"; - String appendFileName = "4pages.pdf"; - - this.uploadFile(name); - this.uploadFile(appendFileName); - - int startPage = 2; - int endPage = 4; - - DocumentResponse response = this.pdfApi.postAppendDocument(name, null, this.tempFolder + '/' + appendFileName, startPage, endPage, null, this.tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostAppendDocumentUsingBodyParams Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postAppendDocumentUsingBodyParamsTest() throws ApiException - { - String name = "PdfWithImages2.pdf"; - String appendFileName = "4pages.pdf"; - - this.uploadFile(name); - this.uploadFile(appendFileName); - - AppendDocument appendDocument = new AppendDocument(); - appendDocument.setDocument(this.tempFolder + '/' + appendFileName); - appendDocument.setStartPage(2); - appendDocument.setEndPage(4); - - DocumentResponse response = this.pdfApi.postAppendDocument(name, appendDocument, null, null, null, null, this.tempFolder); - assertEquals(200, (int)response.getCode()); - } - - - //Attachments Tests - - /** - * GetDocumentAttachmentByIndex Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getDocumentAttachmentByIndexTest() throws ApiException - { - String name = "PdfWithEmbeddedFiles.pdf"; - this.uploadFile(name); - - int attachmentIndex = 1; - - AttachmentResponse response = this.pdfApi.getDocumentAttachmentByIndex(name, attachmentIndex, null, this.tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetDocumentAttachments Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getDocumentAttachmentsTest() throws ApiException - { - String name = "PdfWithEmbeddedFiles.pdf"; - this.uploadFile(name); - - AttachmentsResponse response = this.pdfApi.getDocumentAttachments(name, null, this.tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetDownloadDocumentAttachmentByIndex Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getDownloadDocumentAttachmentByIndexTest() throws ApiException - { - String name = "PdfWithEmbeddedFiles.pdf"; - this.uploadFile(name); - - int attachmentIndex = 1; - - File response = this.pdfApi.getDownloadDocumentAttachmentByIndex(name, attachmentIndex, null, this.tempFolder); - assertNotNull(response); - } - - // Convert Tests - - /** - * GetPdfInStorageToDoc Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToDocTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - String folder = this.tempFolder; - - File response = this.pdfApi.getPdfInStorageToDoc(name, null, null, null, null, null, null, null, null, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToDoc Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToDocTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - String folder = this.tempFolder; - String resFileName = "result.doc"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToDoc(name, this.tempFolder + '/' + resFileName, null, null, null, null, null, null, null, null, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToDoc Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToDocTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.doc"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToDoc(this.tempFolder + '/' + resFileName, null, null, null, null, null, null, null, null, null, file); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetPdfInStorageToPdfA Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToPdfATest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String type = PdfAType.PDFA1A.toString(); - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToPdfA(name, type, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToPdfA Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToPdfATest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String type = PdfAType.PDFA1A.toString(); - String folder = this.tempFolder; - String resFileName = "result.pdf"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToPdfA(name, this.tempFolder + '/' + resFileName, type, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToPdfA Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToPdfATest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String type = PdfAType.PDFA1A.toString(); - String resFileName = "result.pdf"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToPdfA(this.tempFolder + '/' + resFileName, type, null, file); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetPdfInStorageToTiff Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToTiffTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToTiff(name, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToTiff Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToTiffTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.tiff"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToTiff(name, this.tempFolder + '/' + resFileName, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToTiff Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToTiffTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.tiff"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToTiff(this.tempFolder + '/' + resFileName, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, file); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetPdfInStorageToSvg Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToSvgTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToSvg(name, null, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToSvg Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToSvgTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.svg"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToSvg(name, this.tempFolder + '/' + resFileName, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToSvg Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToSvgTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.svg"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToSvg(this.tempFolder + '/' + resFileName, null, file); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetPdfInStorageToXps Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToXpsTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToXps(name, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToXps Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToXpsTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.xps"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToXps(name, this.tempFolder + '/' + resFileName, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToXps Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToXpsTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.xps"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToXps(this.tempFolder + '/' + resFileName, null , file); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetPdfInStorageToXls Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToXlsTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToXls(name, null, null, null, null, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToXls Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToXlsTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.xls"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToXls(name, this.tempFolder + '/' + resFileName, null, null, null, null, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToXls Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToXlsTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.xls"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToXls(this.tempFolder + '/' + resFileName, null, null, null, null, null , file); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetPdfInStorageToXlsx Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToXlsxTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToXlsx(name, null, null, null, null, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToXlsx Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToXlsxTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.xlsx"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToXlsx(name, this.tempFolder + '/' + resFileName, null, null, null, null, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToXlsx Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToXlsxTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.xlsx"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToXlsx(this.tempFolder + '/' + resFileName, null, null, null, null, null , file); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetPdfInStorageToHtml Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToHtmlTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToHtml(name, null, null, null, null, null, null, null, null, - null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToHtml Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToHtmlTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.zip"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToHtml( - name, - this.tempFolder + '/' + resFileName, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - folder, - null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToHtml Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToHtmlTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.zip"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToHtml( - this.tempFolder + '/' + resFileName, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - null, - file); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetPdfInStorageToEpub Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToEpubTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToEpub(name, null, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToEpub Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToEpubTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.epub"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToEpub(name, this.tempFolder + '/' + resFileName, null, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToEpub Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToEpubTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.epub"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToEpub(this.tempFolder + '/' + resFileName, null, null, file); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetPdfInStorageToPptx Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToPptxTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToPptx(name, null, null, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToPptx Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToPptxTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.pptx"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToPptx(name, this.tempFolder + '/' + resFileName, null, null, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToPptx Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToPptxTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.pptx"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToPptx(this.tempFolder + '/' + resFileName, null, null, null, file); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetPdfInStorageToLaTeX Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToLaTeXTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToLaTeX(name, null, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToLaTeX Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToLaTeXTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.latex"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToLaTeX(name, this.tempFolder + '/' + resFileName, null, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToLaTeX Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToLaTeXTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.latex"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToLaTeX(this.tempFolder + '/' + resFileName, null, null, file); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetPdfInStorageToMobiXml Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToMobiXmlTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToMobiXml(name, folder, null); - assertNotNull(response); - } - - - /** - * PutPdfInStorageToMobiXml Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToMobiXmlTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.mobi"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToMobiXml(name, this.tempFolder + '/' + resFileName, folder, null); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutPdfInRequestToMobiXml Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToMobiXmlTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.mobi"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToMobiXml(this.tempFolder + '/' + resFileName, null, file); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetXfaPdfInStorageToAcroForm Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getXfaPdfInStorageToAcroFormTest() throws ApiException - { - String name = "PdfWithXfaForm.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getXfaPdfInStorageToAcroForm(name, folder, null); - assertNotNull(response); - } - - /** - * PutXfaPdfInStorageToAcroForm Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putXfaPdfInStorageToAcroFormTest() throws ApiException - { - String name = "PdfWithXfaForm.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.pdf"; - - AsposeResponse response = this.pdfApi.putXfaPdfInStorageToAcroForm(name, this.tempFolder + '/' + resFileName, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutXfaPdfInRequestToAcroForm Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putXfaPdfInRequestToAcroFormTest() throws ApiException - { - String name = "PdfWithXfaForm.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.pdf"; - - AsposeResponse response = this.pdfApi.putXfaPdfInRequestToAcroForm(this.tempFolder + '/' + resFileName, null, file); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetPdfInStorageToXml Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPdfInStorageToXmlTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - - File response = this.pdfApi.getPdfInStorageToXml(name, folder, null); - assertNotNull(response); - } - - /** - * PutPdfInStorageToXml Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInStorageToXmlTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String resFileName = "result.xml"; - - AsposeResponse response = this.pdfApi.putPdfInStorageToXml(name, this.tempFolder + '/' + resFileName, folder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * PutPdfInRequestToXml Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPdfInRequestToXmlTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - String resFileName = "result.xml"; - - AsposeResponse response = this.pdfApi.putPdfInRequestToXml(this.tempFolder + '/' + resFileName, null, file); - assertEquals(201, (int)response.getCode()); - } - - // Convert To PDF Tests - - /** - * GetEpubInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getEpubInStorageToPdfTest() throws ApiException - { - String name = "4pages.epub"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - - File response = this.pdfApi.getEpubInStorageToPdf(srcPath, null); - assertNotNull(response); - } - - - /** - * PutEpubInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putEpubInStorageToPdfTest() throws ApiException - { - String name = "4pages.epub"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - String resultName = "fromEpub.pdf"; - - AsposeResponse response = this.pdfApi.putEpubInStorageToPdf(resultName, srcPath, null, this.tempFolder); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetWebInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getWebInStorageToPdfTest() throws ApiException - { - String sourceUrl = "http://google.com"; - - File response = this.pdfApi.getWebInStorageToPdf(sourceUrl, null, null , null, - null, null, null, null, null); - assertNotNull(response); - } - - - /** - * PutWebInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putWebInStorageToPdfTest() throws ApiException - { - String sourceUrl = "http://google.com"; - String resultName = "fromWeb.pdf"; - - AsposeResponse response = this.pdfApi.putWebInStorageToPdf(resultName, sourceUrl, null, - null, null, null, null, null, - null, this.tempFolder, null); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetLaTeXInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getLaTeXInStorageToPdfTest() throws ApiException - { - String name = "TexExample.tex"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - - File response = this.pdfApi.getLaTeXInStorageToPdf(srcPath, null); - assertNotNull(response); - } - - - /** - * PutLaTeXInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putLaTeXInStorageToPdfTest() throws ApiException - { - String name = "TexExample.tex"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - String resultName = "fromTex.pdf"; - - AsposeResponse response = this.pdfApi.putLaTeXInStorageToPdf(resultName, srcPath, this.tempFolder, null); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetMhtInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getMhtInStorageToPdfTest() throws ApiException - { - String name = "MhtExample.mht"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - - File response = this.pdfApi.getMhtInStorageToPdf(srcPath, null); - assertNotNull(response); - } - - - /** - * PutMhtInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putMhtInStorageToPdfTest() throws ApiException - { - String name = "MhtExample.mht"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - String resultName = "fromMht.pdf"; - - AsposeResponse response = this.pdfApi.putMhtInStorageToPdf(resultName, srcPath, this.tempFolder, null); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetHtmlInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getHtmlInStorageToPdfTest() throws ApiException - { - String name = "HtmlWithImage.zip"; - this.uploadFile(name); - - String htmlFileName = "HtmlWithImage.html"; - double height = 650; - double width = 250; - String srcPath = this.tempFolder + '/' + name; - - File response = this.pdfApi.getHtmlInStorageToPdf(srcPath, htmlFileName, height, width, - null, null, null, null, null, null); - assertNotNull(response); - } - - - /** - * PutHtmlInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putHtmlInStorageToPdfTest() throws ApiException - { - String name = "HtmlWithImage.zip"; - this.uploadFile(name); - - String htmlFileName = "HtmlWithImage.html"; - double height = 650; - double width = 250; - String resultName = "fromHtml.pdf"; - String srcPath = this.tempFolder + '/' + name; - - - AsposeResponse response = this.pdfApi.putHtmlInStorageToPdf(name, srcPath, htmlFileName, - height, width, null, null, null, - null, null, null, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetXslFoInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getXslFoInStorageToPdfTest() throws ApiException - { - String name = "XslfoExample.xslfo"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - - File response = this.pdfApi.getXslFoInStorageToPdf(srcPath, null); - assertNotNull(response); - } - - - /** - * PutXslFoInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putXslFoInStorageToPdfTest() throws ApiException - { - String name = "XslfoExample.xslfo"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - String resultName = "fromXlsFo.pdf"; - - AsposeResponse response = this.pdfApi.putXslFoInStorageToPdf(resultName, srcPath, this.tempFolder, null); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetXpsInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getXpsInStorageToPdfTest() throws ApiException - { - String name = "Simple.xps"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - - File response = this.pdfApi.getXpsInStorageToPdf(srcPath, null); - assertNotNull(response); - } - - - /** - * PutXpsInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putXpsInStorageToPdfTest() throws ApiException - { - String name = "Simple.xps"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - String resultName = "fromXps.pdf"; - - AsposeResponse response = this.pdfApi.putXpsInStorageToPdf(resultName, srcPath, this.tempFolder, null); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetSvgInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getSvgInStorageToPdfTest() throws ApiException - { - String name = "Simple.svg"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - - File response = this.pdfApi.getSvgInStorageToPdf(srcPath, null, null, null, - null, null, null, null, null, null); - assertNotNull(response); - } - - - /** - * PutSvgInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putSvgInStorageToPdfTest() throws ApiException - { - String name = "Simple.svg"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - String resultName = "fromSvg.pdf"; - - AsposeResponse response = this.pdfApi.putSvgInStorageToPdf(resultName, srcPath, null, - null, null, null, null, null, - null, null, this.tempFolder, null); - assertEquals(201, (int)response.getCode()); - } - - /** - * GetPclInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPclInStorageToPdfTest() throws ApiException - { - String name = "template.pcl"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - - File response = this.pdfApi.getPclInStorageToPdf(srcPath, null); - assertNotNull(response); - } - - - /** - * PutPclInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPclInStorageToPdfTest() throws ApiException - { - String name = "template.pcl"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - String resultName = "fromPcl.pdf"; - - AsposeResponse response = this.pdfApi.putPclInStorageToPdf(resultName, srcPath, this.tempFolder, null); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetXmlInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getXmlInStorageToPdfTest() throws ApiException - { - String name = "template.xml"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - - File response = this.pdfApi.getXmlInStorageToPdf(srcPath, null, null); - assertNotNull(response); - } - - - /** - * PutXmlInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putXmlInStorageToPdfTest() throws ApiException - { - String name = "template.xml"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - String resultName = "fromXml.pdf"; - - AsposeResponse response = this.pdfApi.putXmlInStorageToPdf(resultName, srcPath, null, this.tempFolder, null); - assertEquals(201, (int)response.getCode()); - } - - - /** - * GetPsInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPsInStorageToPdfTest() throws ApiException - { - String name = "Typography.PS"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - - File response = this.pdfApi.getPsInStorageToPdf(srcPath, null); - assertNotNull(response); - } - - - /** - * PutPsInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPsInStorageToPdfTest() throws ApiException - { - String name = "Typography.PS"; - this.uploadFile(name); - - - String srcPath = this.tempFolder + '/' + name; - String resultName = "fromPs.pdf"; - - AsposeResponse response = this.pdfApi.putPsInStorageToPdf(resultName, srcPath, this.tempFolder, null); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutImageInStorageToPdf Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void putImageInStorageToPdfTest() throws ApiException - { - final String dataFile1 = "33539.jpg"; - this.uploadFile(dataFile1); - - final String dataFile2 = "44781.jpg"; - this.uploadFile(dataFile2); - - String resultName = "result.pdf"; - - - ImageTemplatesRequest imageTemplatesRequest = new ImageTemplatesRequest() - .isOCR(true) - .ocRLangs("eng") - .imagesList(new ArrayList(){{ - add(new ImageTemplate().imagePath(PdfApiTest.this.tempFolder + '/' + dataFile1).imageSrcType(ImageSrcType.COMMON)); - add(new ImageTemplate().imagePath(PdfApiTest.this.tempFolder + '/' + dataFile2).imageSrcType(ImageSrcType.COMMON)); - }}); - - AsposeResponse response = this.pdfApi.putImageInStorageToPdf(resultName, imageTemplatesRequest, this.tempFolder, null); - assertEquals(201, (int)response.getCode()); - } - - // Document Tests - - /** - * GetDocument Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getDocumentTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - DocumentResponse response = this.pdfApi.getDocument(name, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PostOptimizeDocument Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postOptimizeDocumentTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - OptimizeOptions optimizeOptions = new OptimizeOptions(); - optimizeOptions.setAllowReusePageContent(false); - optimizeOptions.setCompressImages(true); - optimizeOptions.setImageQuality(100); - optimizeOptions.setLinkDuplcateStreams(true); - optimizeOptions.setRemoveUnusedObjects(true); - optimizeOptions.setRemoveUnusedStreams(true); - optimizeOptions.setUnembedFonts(true); - - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.postOptimizeDocument(name, optimizeOptions, null, folder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostSplitDocument Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postSplitDocumentTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - SplitResultResponse response = this.pdfApi.postSplitDocument(name, null, null, null, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PutCreateEmptyDocument Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putCreateEmptyDocumentTest() throws ApiException - { - String name = "empty.pdf"; - - String folder = this.tempFolder; - - DocumentResponse response = this.pdfApi.putCreateDocument(name, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - // Fields Tests - - /** - * GetField Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getFieldTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - String fieldName = "textField"; - - FieldResponse response = this.pdfApi.getField(name, fieldName, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetFields Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getFieldsTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - FieldsResponse response = this.pdfApi.getFields(name, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PostCreateField Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postCreateFieldTest() throws ApiException - { - String name = "Hello world.pdf"; - this.uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(50.) - .LLY(200.) - .URX(200.) - .URY(400.); - - Field field = new Field(); - field.setName("checkboxfield"); - field.setValues(new ArrayList(){{ add("1");}}); - field.setType(FieldType.BOOLEAN); - field.setRect(rect); - - int pageNumber = 1; - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.postCreateField(name, pageNumber, field, null, folder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutUpdateField Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putUpdateFieldTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - String fieldName = "textField"; - - Field field = new Field(); - field.setName(fieldName); - field.setValues(new ArrayList(){{ add("Text field updated value.");}}); - field.setType(FieldType.TEXT); - - String folder = this.tempFolder; - - FieldResponse response = this.pdfApi.putUpdateField(name, fieldName, field, null, folder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutUpdateField Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putUpdateFieldsTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - Field field = new Field(); - field.setName("textField"); - field.setValues(new ArrayList(){{ add("1");}}); - field.setType(FieldType.TEXT); - - ArrayList fieldsList = new ArrayList(); - fieldsList.add(field); - - Fields fields = new Fields().list(fieldsList); - - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.putUpdateFields(name, fields,null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * DeleteField Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void deleteFieldTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - String fieldName = "textField"; - - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.deleteField(name, fieldName, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PutFieldsFlatten Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putFieldsFlattenTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.putFieldsFlatten(name, null, folder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostFlattenDocument Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postFlattenDocumentTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - boolean updateAppearances = true; - boolean hideButtons = true; - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.postFlattenDocument(name, updateAppearances, null, hideButtons, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - - // Images Tests - - /** - * GetImage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getImageTest() throws ApiException - { - String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, folder); - assertEquals((int)imagesResponse.getCode(), 200); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - ImageResponse response = this.pdfApi.getImage(name, imageId, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * DeleteImage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void deleteImageTest() throws ApiException - { - String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, folder); - assertEquals((int)imagesResponse.getCode(), 200); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - AsposeResponse response = this.pdfApi.deleteImage(name, imageId, null, folder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetImages Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getImagesTest() throws ApiException - { - String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - ImagesResponse response = this.pdfApi.getImages(name, pageNumber, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PostReplaceImage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putReplaceImageTest() throws ApiException - { - String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - String imageFileName = "Koala.jpg"; - this.uploadFile(imageFileName); - - int pageNumber = 1; - String folder = this.tempFolder; - String imageFile = folder + '/' + imageFileName; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, folder); - assertEquals((int)imagesResponse.getCode(), 200); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - ImageResponse response = this.pdfApi.putReplaceImage(name, imageId, imageFile, null, folder, null); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PostInsertImage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postInsertImageTest() throws ApiException - { - String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - String imageFileName = "Koala.jpg"; - File file = new File(testDataFolder + "/" + imageFileName); - - int pageNumber = 1; - String folder = this.tempFolder; - String imageFile = folder + '/' + imageFileName; - - double llx = 10; - double lly = 10; - double urx = 100; - double ury = 100; - - AsposeResponse response = this.pdfApi.postInsertImage(name, pageNumber, llx, lly, urx, ury, imageFile, null, folder, null); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutImagesExtractAsJpeg Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putImagesExtractAsJpegTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - final String destFolder = this.tempFolder + '/' + "extract_jpg"; - - AsposeResponse response = this.pdfApi.putImagesExtractAsJpeg(name, pageNumber, null, null, null, - this.tempFolder, destFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutImagesExtractAsTiff Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putImagesExtractAsTiffTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - final String destFolder = this.tempFolder + '/' + "extract_tiff"; - - AsposeResponse response = this.pdfApi.putImagesExtractAsTiff(name, pageNumber, null, null, null, - this.tempFolder, destFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutImagesExtractAsGif Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putImagesExtractAsGifTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - final String destFolder = this.tempFolder + '/' + "extract_gif"; - - AsposeResponse response = this.pdfApi.putImagesExtractAsGif(name, pageNumber, null, null, null, - this.tempFolder, destFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutImagesExtractAsPng Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putImagesExtractAsPngTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - final String destFolder = this.tempFolder + '/' + "extract_png"; - - AsposeResponse response = this.pdfApi.putImagesExtractAsPng(name, pageNumber, null, null, null, - this.tempFolder, destFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PutImageExtractAsJpeg Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putImageExtractAsJpegTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, this.tempFolder); - assertEquals(200, (int)imagesResponse.getCode()); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - final String destFolder = this.tempFolder + '/' + "extract_jpg"; - - AsposeResponse response = this.pdfApi.putImageExtractAsJpeg(name, imageId, null, null, null, - this.tempFolder, destFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetImageExtractAsJpeg Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getImageExtractAsJpegTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, this.tempFolder); - assertEquals(200, (int)imagesResponse.getCode()); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - - File response = this.pdfApi.getImageExtractAsJpeg(name, imageId, null, null, null, - this.tempFolder); - assertNotNull(response); - } - - - /** - * PutImageExtractAsTiff Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putImageExtractAsTiffTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, this.tempFolder); - assertEquals(200, (int)imagesResponse.getCode()); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - final String destFolder = this.tempFolder + '/' + "extract_tiff"; - - AsposeResponse response = this.pdfApi.putImageExtractAsTiff(name, imageId, null, null, null, - this.tempFolder, destFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetImageExtractAsTiff Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getImageExtractAsTiffTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, this.tempFolder); - assertEquals(200, (int)imagesResponse.getCode()); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - - File response = this.pdfApi.getImageExtractAsTiff(name, imageId, null, null, null, - this.tempFolder); - assertNotNull(response); - } - - - /** - * PutImageExtractAsGif Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putImageExtractAsGifTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, this.tempFolder); - assertEquals(200, (int)imagesResponse.getCode()); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - final String destFolder = this.tempFolder + '/' + "extract_gif"; - - AsposeResponse response = this.pdfApi.putImageExtractAsGif(name, imageId, null, null, null, - this.tempFolder, destFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetImageExtractAsGif Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getImageExtractAsGifTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, this.tempFolder); - assertEquals(200, (int)imagesResponse.getCode()); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - - File response = this.pdfApi.getImageExtractAsGif(name, imageId, null, null, null, - this.tempFolder); - assertNotNull(response); - } - - - /** - * PutImageExtractAsPng Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putImageExtractAsPngTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, this.tempFolder); - assertEquals(200, (int)imagesResponse.getCode()); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - final String destFolder = this.tempFolder + '/' + "extract_png"; - - AsposeResponse response = this.pdfApi.putImageExtractAsPng(name, imageId, null, null, null, - this.tempFolder, destFolder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetImageExtractAsPng Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getImageExtractAsPngTest() throws ApiException - { - final String name = "PdfWithImages2.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - - ImagesResponse imagesResponse = this.pdfApi.getImages(name, pageNumber, null, this.tempFolder); - assertEquals(200, (int)imagesResponse.getCode()); - String imageId = imagesResponse.getImages().getList().get(0).getId(); - - - File response = this.pdfApi.getImageExtractAsPng(name, imageId, null, null, null, - this.tempFolder); - assertNotNull(response); - } - - - // Links Tests - - /** - * GetPageLinkAnnotation Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPageLinkAnnotationTest() throws ApiException - { - String name = "PdfWithLinks.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - LinkAnnotationsResponse linksResponse = this.pdfApi.getPageLinkAnnotations(name, pageNumber, null, folder); - assertEquals(200, (int)linksResponse.getCode()); - String linkId = linksResponse.getLinks().getList().get(0).getId(); - - LinkAnnotationResponse response = this.pdfApi.getPageLinkAnnotation(name, pageNumber, linkId, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * DeleteLinkAnnotation Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void deleteLinkAnnotationTest() throws ApiException - { - String name = "PdfWithLinks.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - LinkAnnotationsResponse linksResponse = this.pdfApi.getPageLinkAnnotations(name, pageNumber, null, folder); - assertEquals(200, (int)linksResponse.getCode()); - String linkId = linksResponse.getLinks().getList().get(0).getId(); - - AsposeResponse response = this.pdfApi.deleteLinkAnnotation(name, linkId, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetPageLinkAnnotations Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPageLinkAnnotationsTest() throws ApiException - { - String name = "PdfWithLinks.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - LinkAnnotationsResponse response = this.pdfApi.getPageLinkAnnotations(name, pageNumber, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PostPageLinkAnnotations Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postPageLinkAnnotationsTest() throws ApiException - { - String name = "PdfWithLinks.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - LinkAnnotation link = new LinkAnnotation() - .actionType(LinkActionType.GOTOURIACTION) - .action("https://products.aspose.cloud/pdf") - .rect(new Rectangle().LLX(100.).LLY(100.).URX(500.).URY(500.)); - - ArrayList links = new ArrayList<>(); - links.add(link); - - AsposeResponse response = this.pdfApi.postPageLinkAnnotations(name, pageNumber, links, null, folder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * PutLinkAnnotation Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putLinkAnnotationTest() throws ApiException - { - String name = "PdfWithLinks.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - LinkAnnotation link = new LinkAnnotation() - .actionType(LinkActionType.GOTOURIACTION) - .action("https://products.aspose.cloud/pdf") - .rect(new Rectangle().LLX(100.).LLY(100.).URX(500.).URY(500.)); - - LinkAnnotationsResponse linksResponse = this.pdfApi.getPageLinkAnnotations(name, pageNumber, null, folder); - assertEquals(200, (int)linksResponse.getCode()); - String linkId = linksResponse.getLinks().getList().get(0).getId(); - - AsposeResponse response = this.pdfApi.putLinkAnnotation(name, linkId, link, null, folder); - assertEquals(201, (int)response.getCode()); - } - - - /** - * DeletePageLinkAnnotations Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void deletePageLinkAnnotationsTest() throws ApiException - { - String name = "PdfWithLinks.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.deletePageLinkAnnotations(name, pageNumber, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * DeleteDocumentLinkAnnotations Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void deleteDocumentLinkAnnotationsTest() throws ApiException - { - String name = "PdfWithLinks.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.deleteDocumentLinkAnnotations(name, null, folder); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetLinkAnnotation Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getLinkAnnotationTest() throws ApiException - { - String name = "PdfWithLinks.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - LinkAnnotationsResponse linksResponse = this.pdfApi.getPageLinkAnnotations(name, pageNumber, null, folder); - assertEquals(200, (int)linksResponse.getCode()); - String linkId = linksResponse.getLinks().getList().get(0).getId(); - - AsposeResponse response = this.pdfApi.getLinkAnnotation(name, linkId, null, folder); - assertEquals(200, (int)response.getCode()); - } - - // Merge Tests - - /** - * PutMergeDocuments Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putMergeDocumentsTest() throws ApiException - { - ArrayList nameList = new ArrayList(); - nameList.add("4pages.pdf"); - nameList.add("PdfWithImages2.pdf"); - nameList.add("marketing.pdf"); - - for (String name : nameList) - { - this.uploadFile(name); - } - - String resultName = "MergingResult.pdf"; - - MergeDocuments mergeDocuments = new MergeDocuments(); - - for(int i = 0; i < nameList.size(); i++) - { - nameList.set(i, this.tempFolder + '/' + nameList.get(i)); - } - - mergeDocuments.setList(nameList); - - String folder = this.tempFolder; - - DocumentResponse response = this.pdfApi.putMergeDocuments(resultName, mergeDocuments, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - // OCR Tests - - /** - * PutSearchableDocument Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putSearchableDocumentTest() throws ApiException - { - String name = "rusdoc.pdf"; - this.uploadFile(name); - - String lang = "rus,eng"; - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.putSearchableDocument(name, null, folder, lang); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutSearchableDocumentWithDefaultLang Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putSearchableDocumentWithDefaultLangTest() throws ApiException - { - String name = "rusdoc.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.putSearchableDocument(name, null, folder, null); - assertEquals(200, (int)response.getCode()); - } - - - // Page Convert To Image Tests - - /** - * GetPageConvertToTiff Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageConvertToTiffTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - - File response = this.pdfApi.getPageConvertToTiff(name, pageNumber, null, null, this.tempFolder, null); - assertNotNull(response); - } - - /** - * PutPageConvertToTiff Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void putPageConvertToTiffTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - final String resultFile = "page.tiff"; - final String outPath = this.tempFolder + '/' + resultFile; - AsposeResponse response = this.pdfApi.putPageConvertToTiff(name, pageNumber, outPath, - null, null, this.tempFolder, null); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageConvertToJpeg Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageConvertToJpegTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - - File response = this.pdfApi.getPageConvertToJpeg(name, pageNumber, null, null, this.tempFolder, null); - assertNotNull(response); - } - - /** - * PutPageConvertToJpeg Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void putPageConvertToJpegTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - final String resultFile = "page.jpeg"; - final String outPath = this.tempFolder + '/' + resultFile; - AsposeResponse response = this.pdfApi.putPageConvertToJpeg(name, pageNumber, outPath, - null, null, this.tempFolder, null); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetPageConvertToPng Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageConvertToPngTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - - File response = this.pdfApi.getPageConvertToPng(name, pageNumber, null, null, this.tempFolder, null); - assertNotNull(response); - } - - /** - * PutPageConvertToPng Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void putPageConvertToPngTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - final String resultFile = "page.png"; - final String outPath = this.tempFolder + '/' + resultFile; - AsposeResponse response = this.pdfApi.putPageConvertToPng(name, pageNumber, outPath, - null, null, this.tempFolder, null); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetPageConvertToEmf Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageConvertToEmfTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - - File response = this.pdfApi.getPageConvertToEmf(name, pageNumber, null, null, this.tempFolder, null); - assertNotNull(response); - } - - /** - * PutPageConvertToEmf Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void putPageConvertToEmfTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - final String resultFile = "page.emf"; - final String outPath = this.tempFolder + '/' + resultFile; - AsposeResponse response = this.pdfApi.putPageConvertToEmf(name, pageNumber, outPath, - null, null, this.tempFolder, null); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetPageConvertToBmp Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageConvertToBmpTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - - File response = this.pdfApi.getPageConvertToBmp(name, pageNumber, null, null, this.tempFolder, null); - assertNotNull(response); - } - - /** - * PutPageConvertToBmp Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void putPageConvertToBmpTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - final String resultFile = "page.bmp"; - final String outPath = this.tempFolder + '/' + resultFile; - AsposeResponse response = this.pdfApi.putPageConvertToBmp(name, pageNumber, outPath, - null, null, this.tempFolder, null); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetPageConvertToGif Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPageConvertToGifTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - - File response = this.pdfApi.getPageConvertToGif(name, pageNumber, null, null, this.tempFolder, null); - assertNotNull(response); - } - - /** - * PutPageConvertToGif Test - * @throws ApiException - * if the Api call fails - */ - @Test - public void putPageConvertToGifTest() throws ApiException - { - final String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 2; - final String resultFile = "page.gif"; - final String outPath = this.tempFolder + '/' + resultFile; - AsposeResponse response = this.pdfApi.putPageConvertToGif(name, pageNumber, outPath, - null, null, this.tempFolder, null); - assertEquals(200, (int)response.getCode()); - } - - - // Pages Tests - - /** - * DeletePage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void deletePageTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.deletePage(name, pageNumber, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetPage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPageTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 3; - String folder = this.tempFolder; - - DocumentPageResponse response = this.pdfApi.getPage(name, pageNumber, null, folder); - assertNotNull(response); - } - - - /** - * GetPages Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPagesTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - DocumentPagesResponse response = this.pdfApi.getPages(name, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetWordsPerPage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getWordsPerPageTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - WordCountResponse response = this.pdfApi.getWordsPerPage(name, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PostMovePage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postMovePageTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - int pageNumber = 1; - int newIndex = 1; - - AsposeResponse response = this.pdfApi.postMovePage(name, pageNumber, newIndex, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PutAddNewPage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putAddNewPageTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String folder = this.tempFolder; - - DocumentPagesResponse response = this.pdfApi.putAddNewPage(name, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PutPageAddStamp Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPageAddStampTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String stampFileName = "Penguins.jpg"; - this.uploadFile(stampFileName); - - int pageNumber = 1; - String folder = this.tempFolder; - - - Stamp stamp = new Stamp(); - stamp.setType(StampType.IMAGE); - stamp.setFileName(folder + '/' + stampFileName); - stamp.setBackground(true); - stamp.setWidth(200.); - stamp.setHeight(200.); - stamp.setXindent(100.); - stamp.setYindent(100.); - - AsposeResponse response = this.pdfApi.putPageAddStamp(name, pageNumber, stamp, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - // Privileges Tests - - /** - * PutPrivileges Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putPrivilegesTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - DocumentPrivilege documentPrivilege = new DocumentPrivilege(); - documentPrivilege.setAllowCopy(false); - documentPrivilege.setAllowPrint(false); - - String folder = this.tempFolder; - - AsposeResponse response = this.pdfApi.putPrivileges(name, documentPrivilege, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - // Properties Tests - - /** - * DeleteProperties Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void deletePropertiesTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - DocumentProperty property1 = new DocumentProperty(); - property1.setName("prop1"); - property1.setValue("val1"); - - String folder = this.tempFolder; - - DocumentProperty property2 = new DocumentProperty(); - property2.setName("prop2"); - property2.setValue("val2"); - - - this.pdfApi.putSetProperty(name, property1.getName(), property1.getValue(), null, folder); - this.pdfApi.putSetProperty(name, property2.getName(), property2.getValue(), null, folder); - - AsposeResponse response = this.pdfApi.deleteProperties(name, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * DeleteProperty Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void deletePropertyTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - DocumentProperty property1 = new DocumentProperty(); - property1.setName("prop1"); - property1.setValue("val1"); - - String folder = this.tempFolder; - - this.pdfApi.putSetProperty(name, property1.getName(), property1.getValue(), null, folder); - - AsposeResponse response = this.pdfApi.deleteProperty(name, property1.getName(), null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetDocumentProperties Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getDocumentPropertiesTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - DocumentProperty property1 = new DocumentProperty(); - property1.setName("prop1"); - property1.setValue("val1"); - - String folder = this.tempFolder; - - DocumentProperty property2 = new DocumentProperty(); - property2.setName("prop2"); - property2.setValue("val2"); - - this.pdfApi.putSetProperty(name, property1.getName(), property1.getValue(), null, folder); - this.pdfApi.putSetProperty(name, property2.getName(), property2.getValue(), null, folder); - - DocumentPropertiesResponse response = this.pdfApi.getDocumentProperties(name, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetDocumentProperty Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getDocumentPropertyTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - DocumentProperty property1 = new DocumentProperty(); - property1.setName("prop1"); - property1.setValue("val1"); - - String folder = this.tempFolder; - - this.pdfApi.putSetProperty(name, property1.getName(), property1.getValue(), null, folder); - - DocumentPropertyResponse response = this.pdfApi.getDocumentProperty(name, property1.getName(), null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PutSetProperty Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putSetPropertyTest() throws ApiException - { - String name = "PdfWithAcroForm.pdf"; - this.uploadFile(name); - - DocumentProperty property1 = new DocumentProperty(); - property1.setName("prop1"); - property1.setValue("val1"); - - String folder = this.tempFolder; - - DocumentPropertyResponse response = this.pdfApi.putSetProperty(name, property1.getName(), property1.getValue(), null, folder); - assertEquals(200, (int)response.getCode()); - } - - - // Sign Tests - - /** - * PostSignDocument Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postSignDocumentTest() throws ApiException - { - String name = "BlankWithSignature.pdf"; - this.uploadFile(name); - - String signatureFileName = "test1234.pfx"; - this.uploadFile(signatureFileName); - - Rectangle rectangle = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(500.) - .URY(200.); - - String folder = this.tempFolder; - - Signature signature = new Signature(); - signature.setAuthority("Sergey Smal"); - signature.setContact("test@mail.ru"); - signature.setDate("08/01/2012 12:15:00.000 PM"); - signature.setFormFieldName("Signature1"); - signature.setLocation("Ukraine"); - signature.setPassword("test1234"); - signature.setRectangle(rectangle); - signature.setSignaturePath(folder + '/' + signatureFileName); - signature.setSignatureType(SignatureType.PKCS7); - signature.setVisible(true); - - AsposeResponse response = this.pdfApi.postSignDocument(name, signature, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PostSignPage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postSignPageTest() throws ApiException - { - String name = "BlankWithSignature.pdf"; - this.uploadFile(name); - - String signatureFileName = "test1234.pfx"; - this.uploadFile(signatureFileName); - - int pageNumber = 1; - - Rectangle rectangle = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(500.) - .URY(200.); - - String folder = this.tempFolder; - - Signature signature = new Signature(); - signature.setAuthority("Sergey Smal"); - signature.setContact("test@mail.ru"); - signature.setDate("08/01/2012 12:15:00.000 PM"); - signature.setFormFieldName("Signature1"); - signature.setLocation("Ukraine"); - signature.setPassword("test1234"); - signature.setRectangle(rectangle); - signature.setSignaturePath(folder + '/' + signatureFileName); - signature.setSignatureType(SignatureType.PKCS7); - signature.setVisible(true); - - AsposeResponse response = this.pdfApi.postSignPage(name, pageNumber, signature, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetVerifySignature Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getVerifySignatureTest() throws ApiException - { - String name = "BlankWithSignature.pdf"; - this.uploadFile(name); - - String signatureFileName = "test1234.pfx"; - this.uploadFile(signatureFileName); - - Rectangle rectangle = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(500.) - .URY(200.); - - String folder = this.tempFolder; - - Signature signature = new Signature(); - signature.setAuthority("Sergey Smal"); - signature.setContact("test@mail.ru"); - signature.setDate("08/01/2012 12:15:00.000 PM"); - signature.setFormFieldName("Signature1"); - signature.setLocation("Ukraine"); - signature.setPassword("test1234"); - signature.setRectangle(rectangle); - signature.setSignaturePath(folder + '/' + signatureFileName); - signature.setSignatureType(SignatureType.PKCS7); - signature.setVisible(true); - - AsposeResponse responseSign = this.pdfApi.postSignDocument(name, signature, null, folder); - assertEquals(200, (int)responseSign.getCode()); - - SignatureVerifyResponse response = this.pdfApi.getVerifySignature(name, signature.getFormFieldName(), null, folder); - assertEquals(200, (int)response.getCode()); - } - - // Encrypt Decrypt Tests - - /** - * PutEncryptDocument Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putEncryptDocumentTest() throws ApiException - { - String name = "4pages.pdf"; - File file = new File(testDataFolder + "/" + name); - - String outPath = tempFolder + '/' + name; - String userPasswordBase64encoded = "dXNlciAkXlBhc3N3b3JkISY="; //user $^Password!& - String ownerPasswordBase64encoded = "b3duZXJcLy8/ICQxMl5QYXNzd29yZCEm"; //owner\//? $12^Password!& - - AsposeResponse response = this.pdfApi.putEncryptDocument(outPath, userPasswordBase64encoded, ownerPasswordBase64encoded, - CryptoAlgorithm.AESX128.getValue(), null, null, null, file); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostEncryptDocumentInStorage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postEncryptDocumentInStorageTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String userPasswordBase64encoded = "dXNlciAkXlBhc3N3b3JkISY="; //user $^Password!& - String ownerPasswordBase64encoded = "b3duZXJcLy8/ICQxMl5QYXNzd29yZCEm"; //owner\//? $12^Password!& - - AsposeResponse response = this.pdfApi.postEncryptDocumentInStorage(name, userPasswordBase64encoded, ownerPasswordBase64encoded, - CryptoAlgorithm.AESX128.getValue(), null, null, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutDecryptDocument Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putDecryptDocumentTest() throws ApiException - { - String name = "4pagesEncrypted.pdf"; - File file = new File(testDataFolder + "/" + name); - - String outPath = tempFolder + '/' + name; - String userPasswordBase64encoded = "dXNlciAkXlBhc3N3b3JkISY="; //user $^Password!& - - AsposeResponse response = this.pdfApi.putDecryptDocument(outPath, userPasswordBase64encoded, null, file); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostDencryptDocumentInStorage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void posttDencryptDocumentInStorageTest() throws ApiException - { - String name = "4pagesEncrypted.pdf"; - this.uploadFile(name); - - String userPasswordBase64encoded = "dXNlciAkXlBhc3N3b3JkISY="; //user $^Password!& - - AsposeResponse response = this.pdfApi.postDecryptDocumentInStorage(name, userPasswordBase64encoded, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutChangePasswordDocument Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putChangePasswordDocumentTest() throws ApiException - { - String name = "4pagesEncrypted.pdf"; - File file = new File(testDataFolder + "/" + name); - - String outPath = tempFolder + '/' + name; - String ownerPasswordBase64Encoded = "b3duZXJcLy8/ICQxMl5QYXNzd29yZCEm"; //owner\//? $12^Password!& - String newUserPasswordBase64Encoded = "dXNlciBuZXcvLz8gJDEyXlBhc3N3b3JkISY="; //user new\//? $12^Password!& - String newOwnerPasswordBase64Encoded = "b3duZXIgbmV3Ly8/ICQxMl5QYXNzd29yZCEm"; //owner new\//? $12^Password!& - - AsposeResponse response = this.pdfApi.putChangePasswordDocument(outPath, ownerPasswordBase64Encoded, - newUserPasswordBase64Encoded, newOwnerPasswordBase64Encoded, null, file); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostChangePasswordDocumentInStorage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postChangePasswordDocumentInStorageTest() throws ApiException - { - String name = "4pagesEncrypted.pdf"; - this.uploadFile(name); - - String ownerPasswordBase64Encoded = "b3duZXJcLy8/ICQxMl5QYXNzd29yZCEm"; //owner\//? $12^Password!& - String newUserPasswordBase64Encoded = "dXNlciBuZXcvLz8gJDEyXlBhc3N3b3JkISY="; //user new\//? $12^Password!& - String newOwnerPasswordBase64Encoded = "b3duZXIgbmV3Ly8/ICQxMl5QYXNzd29yZCEm"; //owner new\//? $12^Password!& - - AsposeResponse response = this.pdfApi.postChangePasswordDocumentInStorage(name, ownerPasswordBase64Encoded, - newUserPasswordBase64Encoded, newOwnerPasswordBase64Encoded, null, tempFolder); - assertEquals(200, (int)response.getCode()); - } - - // Text Replace Tests - - /** - * PostDocumentTextReplace Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postDocumentTextReplaceTest() throws ApiException - { - String name = "marketing.pdf"; - this.uploadFile(name); - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(100.) - .URX(300.) - .URY(300.); - - final TextReplace textReplace = new TextReplace(); - textReplace.setOldValue("market"); - textReplace.setNewValue("m_a_r_k_e_t"); - textReplace.setRegex(false); - textReplace.setRect(rect); - - TextReplaceListRequest textReplaceList = new TextReplaceListRequest(); - textReplaceList.setTextReplaces(new ArrayList(){{ add(textReplace); }}); - textReplaceList.setStartIndex(0); - textReplaceList.setCountReplace(0); - - String folder = this.tempFolder; - - TextReplaceResponse response = this.pdfApi.postDocumentTextReplace(name, textReplaceList, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PostPageTextReplaceByRect Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postPageTextReplaceByRectTest() throws ApiException - { - String name = "marketing.pdf"; - this.uploadFile(name); - int pageNumber = 1; - - Rectangle rect = new Rectangle() - .LLX(100.) - .LLY(700.) - .URX(400.) - .URY(1000.); - - final TextReplace textReplace = new TextReplace(); - textReplace.setOldValue("market"); - textReplace.setNewValue("m_a_r_k_e_t"); - textReplace.setRegex(false); - textReplace.setRect(rect); - - TextReplaceListRequest textReplaceList = new TextReplaceListRequest(); - textReplaceList.setTextReplaces(new ArrayList(){{ add(textReplace); }}); - textReplaceList.setStartIndex(0); - textReplaceList.setCountReplace(0); - - String folder = this.tempFolder; - - TextReplaceResponse response = this.pdfApi.postPageTextReplace(name, pageNumber, textReplaceList, null, folder); - assertEquals(200, (int)response.getCode()); - } - - - // Text Tests - - /** - * GetText Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getTextTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - double llx = 0; - double lly = 0; - double urx = 0; - double ury = 0; - String folder = this.tempFolder; - - TextRectsResponse response = this.pdfApi.getText(name, llx, lly, urx, ury, null, null, null, folder, null); - assertEquals(200, (int)response.getCode()); - } - - - /** - * GetPageTextByTwoTextOnPage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getPageTextByTwoTextOnPageTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - double llx = 0; - double lly = 0; - double urx = 0; - double ury = 0; - - List format = new ArrayList(){{ add("First Page"); add("Second Page");}}; - String folder = this.tempFolder; - - TextRectsResponse response = this.pdfApi.getPageText(name, pageNumber, llx, lly, urx, ury, format, null, null, folder, null); - assertEquals(200, (int)response.getCode()); - } - - - /** - * PutAddText Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putAddTextTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - int pageNumber = 1; - String folder = this.tempFolder; - - Rectangle rectangle = new Rectangle(); - rectangle.setLLX(100.); - rectangle.setLLY(100.); - rectangle.setURX(200.); - rectangle.setURY(200.); - - Color foregroundColor = new Color(); - foregroundColor.setA(0x00); - foregroundColor.setR(0x00); - foregroundColor.setG(0xFF); - foregroundColor.setB(0x00); - - Color backgroundColor = new Color(); - backgroundColor.setA(0x00); - backgroundColor.setR(0xFF); - backgroundColor.setG(0x00); - backgroundColor.setB(0x00); - - TextState textState = new TextState(); - textState.setFont("Arial"); - textState.setFontSize(10.); - textState.setForegroundColor(foregroundColor); - textState.setBackgroundColor(backgroundColor); - textState.setFontStyle(FontStyles.BOLD); - - final Segment segment = new Segment(); - segment.setValue("segment 1"); - segment.setTextState(textState); - - final TextLine textLine = new TextLine(); - textLine.setHorizontalAlignment(TextHorizontalAlignment.RIGHT); - textLine.setSegments(new ArrayList(){{ add(segment);}}); - - Paragraph paragraph = new Paragraph(); - paragraph.setRectangle(rectangle); - paragraph.setLeftMargin(10.); - paragraph.setRightMargin(10.); - paragraph.setTopMargin(20.); - paragraph.setBottomMargin(20.); - paragraph.setHorizontalAlignment(TextHorizontalAlignment.FULLJUSTIFY); - paragraph.setLineSpacing(LineSpacing.FONTSIZE); - paragraph.setRotation(10.); - paragraph.setSubsequentLinesIndent(20.); - paragraph.setVerticalAlignment(VerticalAlignment.CENTER); - paragraph.setWrapMode(WrapMode.BYWORDS); - paragraph.setLines(new ArrayList(){{ add(textLine);}}); - - - AsposeResponse response = this.pdfApi.putAddText(name, pageNumber, paragraph, folder, null); - assertEquals(200, (int)response.getCode()); - } - - - // Storage Tests - - /** - * UploadFile Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void uploadFileTest() throws ApiException - { - String name = "4pages.pdf"; - String path = this.tempFolder + '/' + name; - File file = new File(testDataFolder + "/" + name); - AsposeResponse response = this.pdfApi.putCreate(path, file, null, null); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetDownload Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getDownloadTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String path = this.tempFolder + '/' + name; - - File response = this.pdfApi.getDownload(path, null, null); - assertNotNull(response); - } - - /** - * GetListFiles Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getListFilesTest() throws ApiException - { - FilesResponse response = this.pdfApi.getListFiles(this.tempFolder, null); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostMoveFile Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postMoveFileTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String src = this.tempFolder + '/' + name; - String dest = this.tempFolder + "/4pages_renamed.pdf"; - - AsposeResponse response = this.pdfApi.postMoveFile(src, dest, null, null, null); - assertEquals(200, (int)response.getCode()); - } - - /** - * DeleteFile Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void deleteFileTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String path = this.tempFolder + '/' + name; - - AsposeResponse response = this.pdfApi.deleteFile(path, null, null); - assertEquals(200, (int)response.getCode()); - } - - /** - * PutCreateFolder Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void putCreateFolderTest() throws ApiException - { - String path = this.tempFolder + "/testFolder"; - - AsposeResponse response = this.pdfApi.putCreateFolder(path, null, null); - assertEquals(200, (int)response.getCode()); - } - - /** - * PostMoveFolder Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void postMoveFolderTest() throws ApiException - { - String src = this.tempFolder + "/testFolder"; - - AsposeResponse responseCreateFolder = this.pdfApi.putCreateFolder(src, null, null); - assertEquals(200, (int)responseCreateFolder.getCode()); - - String dest = this.tempFolder + "/testFolderRenamed"; - - AsposeResponse response = this.pdfApi.postMoveFolder(src, dest, null, null); - assertEquals(200, (int)response.getCode()); - } - - /** - * DeleteFolder Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void deleteFolderTest() throws ApiException - { - String path = this.tempFolder + "/testFolder"; - - AsposeResponse responseCreateFolder = this.pdfApi.putCreateFolder(path, null, null); - assertEquals(200, (int)responseCreateFolder.getCode()); - - AsposeResponse response = this.pdfApi.deleteFolder(path,null, null); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetIsStorageExist Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getIsStorageExistTest() throws ApiException - { - String name = "PDF-CI"; - - AsposeResponse response = this.pdfApi.getIsStorageExist(name); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetIsExist Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getIsExistTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String path = this.tempFolder + '/' + name; - - AsposeResponse response = this.pdfApi.getIsExist(path, null, null); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetDiscUsage Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getDiscUsageTest() throws ApiException - { - DiscUsageResponse response = this.pdfApi.getDiscUsage(null); - assertEquals(200, (int)response.getCode()); - } - - /** - * GetListFileVersions Test - * @throws ApiException - * if the Api call fails - */ - - @Test - public void getListFileVersionsTest() throws ApiException - { - String name = "4pages.pdf"; - this.uploadFile(name); - - String path = this.tempFolder + '/' + name; - - FileVersionsResponse response = this.pdfApi.getListFileVersions(path, null); - assertEquals(200, (int)response.getCode()); - } -} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/PolyLineAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/PolyLineAnnotationsTests.java new file mode 100644 index 0000000..82e21e5 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/PolyLineAnnotationsTests.java @@ -0,0 +1,184 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class PolyLineAnnotationsTests { + private TestHelper th; + + public PolyLineAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentPolyLineAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentPolyLineAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + PolyLineAnnotationsResponse response = th.pdfApi.getDocumentPolyLineAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPagePolyLineAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPagePolyLineAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + PolyLineAnnotationsResponse response = th.pdfApi.getPagePolyLineAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPolyLineAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPolyLineAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + PolyLineAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentPolyLineAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + PolyLineAnnotationResponse response = th.pdfApi.getPolyLineAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPagePolyLineAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPagePolyLineAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List vertices = new ArrayList(); + vertices.add(new Point().X(10.).Y(10.)); + vertices.add(new Point().X(20.).Y(10.)); + vertices.add(new Point().X(10.).Y(20.)); + vertices.add(new Point().X(10.).Y(10.)); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + PolyLineAnnotation annotation = new PolyLineAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setVertices(vertices); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPagePolyLineAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutPolyLineAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putPolyLineAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List vertices = new ArrayList(); + vertices.add(new Point().X(10.).Y(10.)); + vertices.add(new Point().X(20.).Y(10.)); + vertices.add(new Point().X(10.).Y(20.)); + vertices.add(new Point().X(10.).Y(10.)); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + PolyLineAnnotation annotation = new PolyLineAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + annotation.setVertices(vertices); + + PolyLineAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentPolyLineAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putPolyLineAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/PolygonAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/PolygonAnnotationsTests.java new file mode 100644 index 0000000..ec0ee73 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/PolygonAnnotationsTests.java @@ -0,0 +1,184 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class PolygonAnnotationsTests { + private TestHelper th; + + public PolygonAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentPolygonAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentPolygonAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + PolygonAnnotationsResponse response = th.pdfApi.getDocumentPolygonAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPagePolygonAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPagePolygonAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + PolygonAnnotationsResponse response = th.pdfApi.getPagePolygonAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPolygonAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPolygonAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + PolygonAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentPolygonAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + PolygonAnnotationResponse response = th.pdfApi.getPolygonAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPagePolygonAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPagePolygonAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List vertices = new ArrayList(); + vertices.add(new Point().X(10.).Y(10.)); + vertices.add(new Point().X(20.).Y(10.)); + vertices.add(new Point().X(10.).Y(20.)); + vertices.add(new Point().X(10.).Y(10.)); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + PolygonAnnotation annotation = new PolygonAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setVertices(vertices); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPagePolygonAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutPolygonAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putPolygonAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List vertices = new ArrayList(); + vertices.add(new Point().X(10.).Y(10.)); + vertices.add(new Point().X(20.).Y(10.)); + vertices.add(new Point().X(10.).Y(20.)); + vertices.add(new Point().X(10.).Y(10.)); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + PolygonAnnotation annotation = new PolygonAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + annotation.setVertices(vertices); + + PolygonAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentPolygonAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putPolygonAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/PopupAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/PopupAnnotationsTests.java new file mode 100644 index 0000000..64001b3 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/PopupAnnotationsTests.java @@ -0,0 +1,181 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class PopupAnnotationsTests { + private TestHelper th; + + public PopupAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentPopupAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentPopupAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + PopupAnnotationsResponse response = th.pdfApi.getDocumentPopupAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetDocumentPopupAnnotationsByParentTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentPopupAnnotationsByParentTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + String parentId = "GI5TAOZRGU3CYNZSGEWDCNZWFQ3TGOI"; + + PopupAnnotationsResponse response = th.pdfApi.getDocumentPopupAnnotationsByParent(name, parentId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPagePopupAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPagePopupAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + PopupAnnotationsResponse response = th.pdfApi.getPagePopupAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPopupAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPopupAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + PopupAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentPopupAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + PopupAnnotationResponse response = th.pdfApi.getPopupAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPopupAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPopupAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + String parentId = "GI5TCMR3GE2TQLBSGM3CYMJYGUWDENRV"; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + PopupAnnotation annotation = new PopupAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setZindex(1); + annotation.setModified("02/02/2018 00:00:00.000 AM"); + + + AsposeResponse response = th.pdfApi.postPopupAnnotation(name, parentId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutPopupAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putPopupAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + + PopupAnnotation annotation = new PopupAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setZindex(1); + annotation.setModified("02/02/2018 00:00:00.000 AM"); + + PopupAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentPopupAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putPopupAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/PrivilegesTests.java b/src/test/java/com/aspose/asposecloudpdf/api/PrivilegesTests.java new file mode 100644 index 0000000..6bf9708 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/PrivilegesTests.java @@ -0,0 +1,59 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class PrivilegesTests { + private TestHelper th; + + public PrivilegesTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * PutPrivileges Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putPrivilegesTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + DocumentPrivilege documentPrivilege = new DocumentPrivilege(); + documentPrivilege.setAllowCopy(false); + documentPrivilege.setAllowPrint(false); + + String folder = th.tempFolder; + + AsposeResponse response = th.pdfApi.putPrivileges(name, documentPrivilege, null, folder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/PropertiesTests.java b/src/test/java/com/aspose/asposecloudpdf/api/PropertiesTests.java new file mode 100644 index 0000000..3033df7 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/PropertiesTests.java @@ -0,0 +1,171 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class PropertiesTests { + private TestHelper th; + + public PropertiesTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * DeleteProperties Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void deletePropertiesTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + DocumentProperty property1 = new DocumentProperty(); + property1.setName("prop1"); + property1.setValue("val1"); + + String folder = th.tempFolder; + + DocumentProperty property2 = new DocumentProperty(); + property2.setName("prop2"); + property2.setValue("val2"); + + + th.pdfApi.putSetProperty(name, property1.getName(), property1.getValue(), null, folder); + th.pdfApi.putSetProperty(name, property2.getName(), property2.getValue(), null, folder); + + AsposeResponse response = th.pdfApi.deleteProperties(name, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * DeleteProperty Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void deletePropertyTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + DocumentProperty property1 = new DocumentProperty(); + property1.setName("prop1"); + property1.setValue("val1"); + + String folder = th.tempFolder; + + th.pdfApi.putSetProperty(name, property1.getName(), property1.getValue(), null, folder); + + AsposeResponse response = th.pdfApi.deleteProperty(name, property1.getName(), null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetDocumentProperties Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getDocumentPropertiesTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + DocumentProperty property1 = new DocumentProperty(); + property1.setName("prop1"); + property1.setValue("val1"); + + String folder = th.tempFolder; + + DocumentProperty property2 = new DocumentProperty(); + property2.setName("prop2"); + property2.setValue("val2"); + + th.pdfApi.putSetProperty(name, property1.getName(), property1.getValue(), null, folder); + th.pdfApi.putSetProperty(name, property2.getName(), property2.getValue(), null, folder); + + DocumentPropertiesResponse response = th.pdfApi.getDocumentProperties(name, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetDocumentProperty Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getDocumentPropertyTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + DocumentProperty property1 = new DocumentProperty(); + property1.setName("prop1"); + property1.setValue("val1"); + + String folder = th.tempFolder; + + th.pdfApi.putSetProperty(name, property1.getName(), property1.getValue(), null, folder); + + DocumentPropertyResponse response = th.pdfApi.getDocumentProperty(name, property1.getName(), null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutSetProperty Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putSetPropertyTest() throws ApiException + { + String name = "PdfWithAcroForm.pdf"; + th.uploadFile(name); + + DocumentProperty property1 = new DocumentProperty(); + property1.setName("prop1"); + property1.setValue("val1"); + + String folder = th.tempFolder; + + DocumentPropertyResponse response = th.pdfApi.putSetProperty(name, property1.getName(), property1.getValue(), null, folder); + assertEquals(200, (int)response.getCode()); + } +} + diff --git a/src/test/java/com/aspose/asposecloudpdf/api/RedactionAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/RedactionAnnotationsTests.java new file mode 100644 index 0000000..aca5468 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/RedactionAnnotationsTests.java @@ -0,0 +1,174 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class RedactionAnnotationsTests { + private TestHelper th; + + public RedactionAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentRedactionAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentRedactionAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + RedactionAnnotationsResponse response = th.pdfApi.getDocumentRedactionAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageRedactionAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageRedactionAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + RedactionAnnotationsResponse response = th.pdfApi.getPageRedactionAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageRedactionAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageRedactionAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + List points = new ArrayList<>(); + points.add(new Point().X(10.).Y(40.)); + points.add(new Point().X(30.).Y(40.)); + + RedactionAnnotation annotation = new RedactionAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setZindex(1); + annotation.setModified("01/01/2018 12:00:00.000 AM"); + annotation.setQuadPoint(points); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageRedactionAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetRedactionAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getRedactionAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + RedactionAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentRedactionAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + RedactionAnnotationResponse response = th.pdfApi.getRedactionAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutRedactionAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putRedactionAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + List points = new ArrayList<>(); + points.add(new Point().X(10.).Y(40.)); + points.add(new Point().X(30.).Y(40.)); + + RedactionAnnotation annotation = new RedactionAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setZindex(1); + annotation.setModified("01/01/2018 12:02:03.000 AM"); + annotation.setQuadPoint(points); + + RedactionAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentRedactionAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putRedactionAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/ScreenAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/ScreenAnnotationsTests.java new file mode 100644 index 0000000..47c85bf --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/ScreenAnnotationsTests.java @@ -0,0 +1,214 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class ScreenAnnotationsTests { + private TestHelper th; + + public ScreenAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentScreenAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentScreenAnnotationsTest()throws ApiException + { + String name = "PdfWithScreenAnnotations.pdf"; + th.uploadFile(name); + + ScreenAnnotationsResponse response = th.pdfApi.getDocumentScreenAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageScreenAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageScreenAnnotationsTest()throws ApiException + { + String name = "PdfWithScreenAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + ScreenAnnotationsResponse response = th.pdfApi.getPageScreenAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageScreenAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageScreenAnnotationsTest()throws ApiException + { + String name = "PdfWithScreenAnnotations.pdf"; + th.uploadFile(name); + + String attachmentFile = "ScreenMovie.swf"; + th.uploadFile(attachmentFile); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + ScreenAnnotation annotation = new ScreenAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setModified("01/01/2008 12:00:00.000 AM"); + annotation.setFilePath(th.tempFolder + '/' + attachmentFile); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageScreenAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetScreenAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getScreenAnnotationTest()throws ApiException + { + String name = "PdfWithScreenAnnotations.pdf"; + th.uploadFile(name); + + ScreenAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentScreenAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + ScreenAnnotationResponse response = th.pdfApi.getScreenAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutScreenAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putScreenAnnotationTest()throws ApiException + { + String name = "PdfWithScreenAnnotations.pdf"; + th.uploadFile(name); + + String attachmentFile = "ScreenMovie.swf"; + th.uploadFile(attachmentFile); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + ScreenAnnotation annotation = new ScreenAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setModified("01/01/2008 12:00:00.000 AM"); + annotation.setFilePath(th.tempFolder + '/' + attachmentFile); + + ScreenAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentScreenAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putScreenAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetScreenAnnotationDataTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getScreenAnnotationDataTest()throws ApiException + { + String name = "PdfWithScreenAnnotations.pdf"; + th.uploadFile(name); + + ScreenAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentScreenAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + File response = th.pdfApi.getScreenAnnotationData(name, annotationId, null, th.tempFolder); + assertNotNull(response); + } + + /** + * PutScreenAnnotationDataExtractTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putScreenAnnotationDataExtractTest()throws ApiException + { + String name = "PdfWithScreenAnnotations.pdf"; + th.uploadFile(name); + + ScreenAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentScreenAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putScreenAnnotationDataExtract(name, annotationId, "outFile.dat", null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} \ No newline at end of file diff --git a/src/test/java/com/aspose/asposecloudpdf/api/SignTests.java b/src/test/java/com/aspose/asposecloudpdf/api/SignTests.java new file mode 100644 index 0000000..d2884c0 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/SignTests.java @@ -0,0 +1,161 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class SignTests { + private TestHelper th; + + public SignTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * PostSignDocument Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postSignDocumentTest() throws ApiException + { + String name = "BlankWithSignature.pdf"; + th.uploadFile(name); + + String signatureFileName = "test1234.pfx"; + th.uploadFile(signatureFileName); + + Rectangle rectangle = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(500.) + .URY(200.); + + String folder = th.tempFolder; + + Signature signature = new Signature(); + signature.setAuthority("Sergey Smal"); + signature.setContact("test@mail.ru"); + signature.setDate("08/01/2012 12:15:00.000 PM"); + signature.setFormFieldName("Signature1"); + signature.setLocation("Ukraine"); + signature.setPassword("test1234"); + signature.setRectangle(rectangle); + signature.setSignaturePath(folder + '/' + signatureFileName); + signature.setSignatureType(SignatureType.PKCS7); + signature.setVisible(true); + + AsposeResponse response = th.pdfApi.postSignDocument(name, signature, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PostSignPage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postSignPageTest() throws ApiException + { + String name = "BlankWithSignature.pdf"; + th.uploadFile(name); + + String signatureFileName = "test1234.pfx"; + th.uploadFile(signatureFileName); + + int pageNumber = 1; + + Rectangle rectangle = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(500.) + .URY(200.); + + String folder = th.tempFolder; + + Signature signature = new Signature(); + signature.setAuthority("Sergey Smal"); + signature.setContact("test@mail.ru"); + signature.setDate("08/01/2012 12:15:00.000 PM"); + signature.setFormFieldName("Signature1"); + signature.setLocation("Ukraine"); + signature.setPassword("test1234"); + signature.setRectangle(rectangle); + signature.setSignaturePath(folder + '/' + signatureFileName); + signature.setSignatureType(SignatureType.PKCS7); + signature.setVisible(true); + + AsposeResponse response = th.pdfApi.postSignPage(name, pageNumber, signature, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetVerifySignature Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getVerifySignatureTest() throws ApiException + { + String name = "BlankWithSignature.pdf"; + th.uploadFile(name); + + String signatureFileName = "test1234.pfx"; + th.uploadFile(signatureFileName); + + Rectangle rectangle = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(500.) + .URY(200.); + + String folder = th.tempFolder; + + Signature signature = new Signature(); + signature.setAuthority("Sergey Smal"); + signature.setContact("test@mail.ru"); + signature.setDate("08/01/2012 12:15:00.000 PM"); + signature.setFormFieldName("Signature1"); + signature.setLocation("Ukraine"); + signature.setPassword("test1234"); + signature.setRectangle(rectangle); + signature.setSignaturePath(folder + '/' + signatureFileName); + signature.setSignatureType(SignatureType.PKCS7); + signature.setVisible(true); + + AsposeResponse responseSign = th.pdfApi.postSignDocument(name, signature, null, folder); + assertEquals(200, (int)responseSign.getCode()); + + SignatureVerifyResponse response = th.pdfApi.getVerifySignature(name, signature.getFormFieldName(), null, folder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/SoundAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/SoundAnnotationsTests.java new file mode 100644 index 0000000..ddcd02a --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/SoundAnnotationsTests.java @@ -0,0 +1,220 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class SoundAnnotationsTests { + private TestHelper th; + + public SoundAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + + /** + * GetDocumentSoundAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentSoundAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + SoundAnnotationsResponse response = th.pdfApi.getDocumentSoundAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageSoundAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageSoundAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + SoundAnnotationsResponse response = th.pdfApi.getPageSoundAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageSoundAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageSoundAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + String attachmentFile = "4pages.pdf"; + th.uploadFile(attachmentFile); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + SoundAnnotation annotation = new SoundAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setModified("01/01/2008 12:00:00.000 AM"); + annotation.setFilePath(th.tempFolder + '/' + attachmentFile); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageSoundAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetSoundAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getSoundAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + SoundAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentSoundAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + SoundAnnotationResponse response = th.pdfApi.getSoundAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutSoundAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putSoundAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + String attachmentFile = "4pages.pdf"; + th.uploadFile(attachmentFile); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + SoundAnnotation annotation = new SoundAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + annotation.setModified("01/01/2008 12:01:02.000 AM"); + annotation.setFilePath(th.tempFolder + '/' + attachmentFile); + + SoundAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentSoundAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putSoundAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetSoundAnnotationDataTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getSoundAnnotationDataTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + SoundAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentSoundAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + File response = th.pdfApi.getSoundAnnotationData(name, annotationId, null, th.tempFolder); + assertNotNull(response); + } + + /** + * PutSoundAnnotationDataExtractTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putSoundAnnotationDataExtractTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + SoundAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentSoundAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putSoundAnnotationDataExtract(name, annotationId, "outFile.dat", null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/SquareAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/SquareAnnotationsTests.java new file mode 100644 index 0000000..a58de64 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/SquareAnnotationsTests.java @@ -0,0 +1,170 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class SquareAnnotationsTests { + private TestHelper th; + + public SquareAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentSquareAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentSquareAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + SquareAnnotationsResponse response = th.pdfApi.getDocumentSquareAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageSquareAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageSquareAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + SquareAnnotationsResponse response = th.pdfApi.getPageSquareAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetSquareAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getSquareAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + SquareAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentSquareAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + SquareAnnotationResponse response = th.pdfApi.getSquareAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageSquareAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageSquareAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + SquareAnnotation annotation = new SquareAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageSquareAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutSquareAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putSquareAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + SquareAnnotation annotation = new SquareAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + + SquareAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentSquareAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putSquareAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/SquigglyAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/SquigglyAnnotationsTests.java new file mode 100644 index 0000000..ff6c426 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/SquigglyAnnotationsTests.java @@ -0,0 +1,186 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class SquigglyAnnotationsTests { + private TestHelper th; + + public SquigglyAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentSquigglyAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentSquigglyAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + SquigglyAnnotationsResponse response = th.pdfApi.getDocumentSquigglyAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageSquigglyAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageSquigglyAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + SquigglyAnnotationsResponse response = th.pdfApi.getPageSquigglyAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetSquigglyAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getSquigglyAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + SquigglyAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentSquigglyAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + SquigglyAnnotationResponse response = th.pdfApi.getSquigglyAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageSquigglyAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageSquigglyAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + List points = new ArrayList<>(); + points.add(new Point().X(10.).Y(10.)); + points.add(new Point().X(20.).Y(10.)); + points.add(new Point().X(10.).Y(20.)); + points.add(new Point().X(10.).Y(10.)); + + SquigglyAnnotation annotation = new SquigglyAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setQuadPoints(points); + annotation.setModified("02/02/2018 00:00:00.000 AM"); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageSquigglyAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutSquigglyAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putSquigglyAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + List points = new ArrayList<>(); + points.add(new Point().X(10.).Y(10.)); + points.add(new Point().X(20.).Y(10.)); + points.add(new Point().X(10.).Y(20.)); + points.add(new Point().X(10.).Y(10.)); + + SquigglyAnnotation annotation = new SquigglyAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + annotation.setQuadPoints(points); + annotation.setModified("02/02/2018 00:00:00.000 AM"); + + SquigglyAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentSquigglyAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putSquigglyAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/StampAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/StampAnnotationsTests.java new file mode 100644 index 0000000..7a535e1 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/StampAnnotationsTests.java @@ -0,0 +1,220 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; + +public class StampAnnotationsTests { + private TestHelper th; + + public StampAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentStampAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentStampAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + StampAnnotationsResponse response = th.pdfApi.getDocumentStampAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageStampAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageStampAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + StampAnnotationsResponse response = th.pdfApi.getPageStampAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageStampAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageStampAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + String attachmentFile = "4pages.pdf"; + th.uploadFile(attachmentFile); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + StampAnnotation annotation = new StampAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setModified("01/01/2008 12:00:00.000 AM"); + annotation.setFilePath(th.tempFolder + '/' + attachmentFile); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageStampAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetStampAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getStampAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + StampAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentStampAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + StampAnnotationResponse response = th.pdfApi.getStampAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutStampAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putStampAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + String attachmentFile = "4pages.pdf"; + th.uploadFile(attachmentFile); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + StampAnnotation annotation = new StampAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setModified("01/01/2008 12:00:00.000 AM"); + annotation.setFilePath(th.tempFolder + '/' + attachmentFile); + + StampAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentStampAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putStampAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetStampAnnotationDataTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getStampAnnotationDataTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + StampAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentStampAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + File response = th.pdfApi.getStampAnnotationData(name, annotationId, null, th.tempFolder); + assertNull(response); + } + + /** + * PutStampAnnotationDataExtractTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putStampAnnotationDataExtractTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + String outFilePath = th.tempFolder + '/' + "stamp.dat"; + + StampAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentStampAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putStampAnnotationDataExtract(name, annotationId, outFilePath, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/StampTests.java b/src/test/java/com/aspose/asposecloudpdf/api/StampTests.java new file mode 100644 index 0000000..49d92d8 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/StampTests.java @@ -0,0 +1,275 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class StampTests { + private TestHelper th; + + public StampTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentStampsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentStampsTest()throws ApiException + { + String name = "PageNumberStamp.pdf"; + th.uploadFile(name); + + StampsInfoResponse response = th.pdfApi.getDocumentStamps(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * DeleteDocumentStampsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteDocumentStampsTest()throws ApiException + { + String name = "PageNumberStamp.pdf"; + th.uploadFile(name); + + AsposeResponse response = th.pdfApi.deleteDocumentStamps(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageStampsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageStampsTest()throws ApiException + { + String name = "PageNumberStamp.pdf"; + th.uploadFile(name); + int pageNumber = 1; + StampsInfoResponse response = th.pdfApi.getPageStamps(name, pageNumber,null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * DeletePageStampsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deletePageStampsTest()throws ApiException + { + String name = "PageNumberStamp.pdf"; + th.uploadFile(name); + int pageNumber = 1; + AsposeResponse response = th.pdfApi.deletePageStamps(name, pageNumber,null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageTextStampsTest + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postPageTextStampsTest()throws ApiException + { + String name = "PageNumberStamp.pdf"; + th.uploadFile(name); + int pageNumber = 1; + + TextState textState = new TextState().fontSize(14.); + + TextStamp stamp = new TextStamp() + .textAlignment(HorizontalAlignment.CENTER) + .value("Text Stamp") + .textState(textState) + .leftMargin(1.) + .rightMargin(2.) + .topMargin(3.) + .bottomMargin(4.) + .verticalAlignment(VerticalAlignment.CENTER); + + stamp.background(true) + .horizontalAlignment(HorizontalAlignment.CENTER) + .opacity(1.) + .rotate(Rotation.NONE) + .rotateAngle(0.) + .xindent(0.) + .yindent(0.) + .zoom(1.); + + List stamps = new ArrayList<>(); + stamps.add(stamp); + + AsposeResponse response = th.pdfApi.postPageTextStamps(name, pageNumber, stamps,null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageImageStampsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageImageStampsTest()throws ApiException + { + String name = "PageNumberStamp.pdf"; + th.uploadFile(name); + + String image = "Koala.jpg"; + th.uploadFile(image); + int pageNumber = 1; + + ImageStamp stamp = new ImageStamp() + .fileName(th.tempFolder + '/' + image) + .leftMargin(1.) + .rightMargin(2.) + .topMargin(3.) + .bottomMargin(4.) + .verticalAlignment(VerticalAlignment.CENTER); + stamp.background(true) + .horizontalAlignment(HorizontalAlignment.CENTER) + .opacity(1.) + .rotate(Rotation.NONE) + .rotateAngle(0.) + .xindent(0.) + .yindent(0.) + .zoom(1.); + + List stamps = new ArrayList<>(); + stamps.add(stamp); + + AsposeResponse response = th.pdfApi.postPageImageStamps(name, pageNumber, stamps,null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPagePdfPageStampsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPagePdfPageStampsTest()throws ApiException + { + String name = "PageNumberStamp.pdf"; + th.uploadFile(name); + + String pdf = "4pages.pdf"; + th.uploadFile(pdf); + int pageNumber = 1; + + PdfPageStamp stamp = new PdfPageStamp() + .fileName(th.tempFolder + '/' + pdf) + .pageIndex(2) + .leftMargin(1.) + .rightMargin(2.) + .topMargin(3.) + .bottomMargin(4.) + .verticalAlignment(VerticalAlignment.CENTER); + stamp.background(true) + .horizontalAlignment(HorizontalAlignment.CENTER) + .opacity(1.) + .rotate(Rotation.NONE) + .rotateAngle(0.) + .xindent(0.) + .yindent(0.) + .zoom(1.); + + List stamps = new ArrayList<>(); + stamps.add(stamp); + + AsposeResponse response = th.pdfApi.postPagePdfPageStamps(name, pageNumber, stamps,null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * DeleteStampTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteStampTest()throws ApiException + { + String name = "PageNumberStamp.pdf"; + th.uploadFile(name); + + StampsInfoResponse stampsResponse = th.pdfApi.getDocumentStamps(name, null, th.tempFolder); + assertEquals(200, (int)stampsResponse.getCode()); + String stampId = stampsResponse.getStamps().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.deleteStamp(name, stampId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostDocumentPageNumberStamps Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postDocumentPageNumberStampsTest()throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + PageNumberStamp stamp = new PageNumberStamp() + .value("Page #") + .leftMargin(1.) + .rightMargin(2.) + .topMargin(3.) + .bottomMargin(4.) + .verticalAlignment(VerticalAlignment.BOTTOM) + .startingNumber(3); + + stamp.background(true) + .horizontalAlignment(HorizontalAlignment.CENTER) + .opacity(1.) + .rotate(Rotation.NONE) + .rotateAngle(0.) + .xindent(0.) + .yindent(0.) + .zoom(1.); + + int startPageNumber = 2; + int endPageNumber = 3; + + AsposeResponse response = th.pdfApi.postDocumentPageNumberStamps(name, stamp, startPageNumber, endPageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} + diff --git a/src/test/java/com/aspose/asposecloudpdf/api/StorageTests.java b/src/test/java/com/aspose/asposecloudpdf/api/StorageTests.java new file mode 100644 index 0000000..a8217c3 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/StorageTests.java @@ -0,0 +1,232 @@ +/** + * + * Copyright (c) 2019 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.io.File; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertTrue; + +public class StorageTests +{ + private TestHelper th; + public StorageTests() throws ApiException + { + th = TestHelper.getInstance(); + } + /** + * UploadFile Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void uploadFileTest() throws ApiException + { + String name = "4pages.pdf"; + String path = th.tempFolder + '/' + name; + File file = new File(th.testDataFolder + "/" + name); + FilesUploadResult response = th.pdfApi.uploadFile(path, file, null); + assertEquals(1, response.getUploaded().size()); + } + + /** + * GetDownload Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void downloadFileTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String path = th.tempFolder + '/' + name; + + File response = th.pdfApi.downloadFile(path, null, null); + assertNotNull(response); + } + + /** + * GetListFiles Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getFilesListTest() throws ApiException + { + FilesList response = th.pdfApi.getFilesList(th.tempFolder, null); + assertTrue(response.getValue().size() > 0); + } + + /** + * PostMoveFile Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void moveFileTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String src = th.tempFolder + '/' + name; + String dest = th.tempFolder + "/4pages_renamed.pdf"; + + th.pdfApi.moveFile(src, dest, null, null, null); + } + + /** + * DeleteFile Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void deleteFileTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String path = th.tempFolder + '/' + name; + + th.pdfApi.deleteFile(path, null, null); + } + + /** + * PutCreateFolder Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void createFolderTest() throws ApiException + { + String path = th.tempFolder + "/testFolder"; + th.pdfApi.createFolder(path, null); + } + + /** + * PostMoveFolder Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void moveFolderTest() throws ApiException + { + String src = th.tempFolder + "/testFolder"; + th.pdfApi.createFolder(src, null); + + String dest = th.tempFolder + "/testFolderRenamed"; + th.pdfApi.moveFolder(src, dest, null, null); + } + + /** + * DeleteFolder Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void deleteFolderTest() throws ApiException + { + String path = th.tempFolder + "/testFolder"; + + th.pdfApi.createFolder(path, null); + th.pdfApi.deleteFolder(path,null, null); + } + + /** + * GetIsStorageExist Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getIsStorageExistTest() throws ApiException + { + String name = "PDF-CI"; + + StorageExist response = th.pdfApi.storageExists(name); + assertTrue(response.isExists()); + } + + /** + * GetIsExist Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void objectExistsTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String path = th.tempFolder + '/' + name; + + ObjectExist response = th.pdfApi.objectExists(path, null, null); + assertTrue(response.isExists()); + } + + /** + * GetDiscUsage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getDiscUsageTest() throws ApiException + { + DiscUsage response = th.pdfApi.getDiscUsage(null); + assertTrue(response.getTotalSize() > 0); + } + + /** + * GetListFileVersions Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getFileVersionsTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + String path = th.tempFolder + '/' + name; + + FileVersions response = th.pdfApi.getFileVersions(path, null); + assertTrue(response.getValue().size() > 0); + } +} + diff --git a/src/test/java/com/aspose/asposecloudpdf/api/StrikeOutAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/StrikeOutAnnotationsTests.java new file mode 100644 index 0000000..beb96fa --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/StrikeOutAnnotationsTests.java @@ -0,0 +1,186 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class StrikeOutAnnotationsTests { + private TestHelper th; + + public StrikeOutAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentStrikeOutAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentStrikeOutAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + StrikeOutAnnotationsResponse response = th.pdfApi.getDocumentStrikeOutAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageStrikeOutAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageStrikeOutAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + StrikeOutAnnotationsResponse response = th.pdfApi.getPageStrikeOutAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetStrikeOutAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getStrikeOutAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + StrikeOutAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentStrikeOutAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + StrikeOutAnnotationResponse response = th.pdfApi.getStrikeOutAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageStrikeOutAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageStrikeOutAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + List points = new ArrayList<>(); + points.add(new Point().X(10.).Y(10.)); + points.add(new Point().X(20.).Y(10.)); + points.add(new Point().X(10.).Y(20.)); + points.add(new Point().X(10.).Y(10.)); + + StrikeOutAnnotation annotation = new StrikeOutAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setQuadPoints(points); + annotation.setModified("02/02/2008 00:00:00.000 AM"); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageStrikeOutAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutStrikeOutAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putStrikeOutAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + List points = new ArrayList<>(); + points.add(new Point().X(10.).Y(10.)); + points.add(new Point().X(20.).Y(10.)); + points.add(new Point().X(10.).Y(20.)); + points.add(new Point().X(10.).Y(10.)); + + StrikeOutAnnotation annotation = new StrikeOutAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + annotation.setQuadPoints(points); + annotation.setModified("02/02/2008 00:00:00.000 AM"); + + StrikeOutAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentStrikeOutAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putStrikeOutAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/TableTests.java b/src/test/java/com/aspose/asposecloudpdf/api/TableTests.java new file mode 100644 index 0000000..e141892 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/TableTests.java @@ -0,0 +1,268 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class TableTests { + private TestHelper th; + + public TableTests() throws ApiException { + th = TestHelper.getInstance(); + } + + + /** + * GetDocumentTablesTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentTablesTest()throws ApiException + { + String name = "PdfWithTable.pdf"; + th.uploadFile(name); + + TablesRecognizedResponse response = th.pdfApi.getDocumentTables(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * DeleteDocumentTablesTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteDocumentTablesTest()throws ApiException + { + String name = "PdfWithTable.pdf"; + th.uploadFile(name); + + AsposeResponse response = th.pdfApi.deleteDocumentTables(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageTablesTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageTablesTest()throws ApiException + { + String name = "PdfWithTable.pdf"; + th.uploadFile(name); + int pageNumber = 1; + + TablesRecognizedResponse response = th.pdfApi.getPageTables(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * DeletePageTablesTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deletePageTablesTest()throws ApiException + { + String name = "PdfWithTable.pdf"; + th.uploadFile(name); + int pageNumber = 1; + + AsposeResponse response = th.pdfApi.deletePageTables(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetTableTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getTableTest()throws ApiException + { + String name = "PdfWithTable.pdf"; + th.uploadFile(name); + + TablesRecognizedResponse tablesResponse = th.pdfApi.getDocumentTables(name, null, th.tempFolder); + assertEquals(200, (int)tablesResponse.getCode()); + String tableId = tablesResponse.getTables().getList().get(0).getId(); + + TableRecognizedResponse response = th.pdfApi.getTable(name, tableId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * DeleteTableTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void deleteTableTest()throws ApiException + { + String name = "PdfWithTable.pdf"; + th.uploadFile(name); + + TablesRecognizedResponse tablesResponse = th.pdfApi.getDocumentTables(name, null, th.tempFolder); + assertEquals(200, (int)tablesResponse.getCode()); + String tableId = tablesResponse.getTables().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.deleteTable(name, tableId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageTablesTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageTablesTest()throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + List
tables = new ArrayList<>(); + tables.add(drawTable()); + + AsposeResponse response = th.pdfApi.postPageTables(name, pageNumber, tables, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PutTableTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putTableTest()throws ApiException + { + String name = "PdfWithTable.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + TablesRecognizedResponse tablesResponse = th.pdfApi.getDocumentTables(name, null, th.tempFolder); + assertEquals(200, (int)tablesResponse.getCode()); + String tableId = tablesResponse.getTables().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putTable(name, tableId, drawTable(), null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + private Table drawTable() + { + TextState textState = new TextState() + .fontSize(10.) + .backgroundColor(new Color().A(255).R(255)); + + int numOfCols = 5; + int numOfRows = 5; + + Table table = new Table(); + table.setRows(new ArrayList()); + + String colWidths = ""; + for (int c = 0; c < numOfCols; c++) + { + colWidths += " 30"; + } + table.columnWidths(colWidths); + + table.defaultCellTextState(textState); + + GraphInfo borderTableBorder = new GraphInfo(); + borderTableBorder.setColor(new Color().A(255).G(255)); + borderTableBorder.setLineWidth(1.); + + table.setDefaultCellBorder(new BorderInfo() + .top(borderTableBorder) + .right(borderTableBorder) + .bottom(borderTableBorder) + .left(borderTableBorder) + ); + + table.setTop(100.); + + for (int r = 0; r < numOfRows; r++) + { + + Row row = new Row().cells(new ArrayList()); + + for (int c = 0; c < numOfCols; c++) + { + + Cell cell = new Cell(); + cell.setBackgroundColor(new Color().A(255).G(128)); + cell.setDefaultCellTextState(textState); + cell.setParagraphs(new ArrayList()); + cell.getParagraphs().add(new TextRect().text("value")); + + // change properties on cell + if (c == 1) + { + cell.getDefaultCellTextState().setForegroundColor(new Color().A(255).B(255)); + } + + // change properties on cell AFTER first clearing and re-adding paragraphs + else if (c == 2) + { + cell.getParagraphs().clear(); + cell.getParagraphs().add(new TextRect().text("y")); + cell.getDefaultCellTextState().setForegroundColor(new Color().A(255).B(255)); + } + + // change properties on paragraph + else if (c == 3) + { + cell.getParagraphs().get(0).setTextState(textState); + cell.getParagraphs().get(0).getTextState().setForegroundColor(new Color().A(255).G(255)); + } + + // change properties on paragraph AFTER first clearing and re-adding paragraphs + else if (c == 4) + { + cell.getParagraphs().clear(); + cell.getParagraphs().add(new TextRect().text("y")); + cell.getParagraphs().get(0).setTextState(textState); + cell.getParagraphs().get(0).getTextState().setForegroundColor(new Color().A(255).B(255)); + } + row.getCells().add(cell); + + } + table.getRows().add(row); + } + + return table; + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/TestHelper.java b/src/test/java/com/aspose/asposecloudpdf/api/TestHelper.java new file mode 100644 index 0000000..730f1be --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/TestHelper.java @@ -0,0 +1,61 @@ +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.FilesUploadResult; +import com.google.gson.Gson; +import com.google.gson.stream.JsonReader; + +import java.io.File; +import java.io.FileNotFoundException; +import java.io.FileReader; + +import io.swagger.annotations.Api; + +public class TestHelper { + public static PdfApi pdfApi; + public static String tempFolder = "TempPdfCloud"; + public static String testDataFolder = "testData"; + public static String setupFile = "setup.json"; + + class ApiCreds{ + public String app_key; + public String app_sid; + public String product_uri; + } + + private static TestHelper instance; + public static TestHelper getInstance() throws ApiException + { + if (instance == null) + { + instance = new TestHelper(); + } + return instance; + } + + private TestHelper() throws ApiException + { + TestHelper.ApiCreds apiCreds = getApiCreds(); + pdfApi = new PdfApi(apiCreds.app_key, apiCreds.app_sid); + pdfApi.getApiClient().setBasePath(apiCreds.product_uri); + } + + private TestHelper.ApiCreds getApiCreds() throws ApiException + { + Gson gson = new Gson(); + try { + JsonReader reader = new JsonReader(new FileReader(setupFile)); + return gson.fromJson(reader, TestHelper.ApiCreds.class); + } + catch (FileNotFoundException ex){ + throw new ApiException(ex.getMessage()); + } + } + + + public void uploadFile(String name) throws ApiException + { + File file = new File(testDataFolder + "/" + name); + FilesUploadResult response = pdfApi.uploadFile(tempFolder + '/' + name, file, null); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/TextAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/TextAnnotationsTests.java new file mode 100644 index 0000000..e1a51b8 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/TextAnnotationsTests.java @@ -0,0 +1,171 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class TextAnnotationsTests { + private TestHelper th; + + public TextAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentTextAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentTextAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + TextAnnotationsResponse response = th.pdfApi.getDocumentTextAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageTextAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageTextAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + TextAnnotationsResponse response = th.pdfApi.getPageTextAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetTextAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getTextAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + TextAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentTextAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + TextAnnotationResponse response = th.pdfApi.getTextAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageTextAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageTextAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + TextAnnotation textAnnotation = new TextAnnotation(); + textAnnotation.setName("Test Free Text"); + textAnnotation.setRect(rect); + textAnnotation.setFlags(flags); + textAnnotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + textAnnotation.setRichText("Rich Text"); + textAnnotation.setSubject("Text Box Subj"); + textAnnotation.setZindex(1); + textAnnotation.setState(AnnotationState.UNDEFINED); + + List annotations = new ArrayList<>(); + annotations.add(textAnnotation); + + AsposeResponse response = th.pdfApi.postPageTextAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutTextAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putTextAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + TextAnnotation textAnnotation = new TextAnnotation(); + textAnnotation.setName("Test Free Text"); + textAnnotation.setRect(rect); + textAnnotation.setFlags(flags); + textAnnotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + textAnnotation.setRichText("Rich Text"); + textAnnotation.setSubject("Text Box Subj"); + textAnnotation.setZindex(1); + textAnnotation.setState(AnnotationState.UNDEFINED); + + TextAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentTextAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putTextAnnotation(name, annotationId, textAnnotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/TextReplaceTests.java b/src/test/java/com/aspose/asposecloudpdf/api/TextReplaceTests.java new file mode 100644 index 0000000..6d4b13a --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/TextReplaceTests.java @@ -0,0 +1,111 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; + +import static org.junit.Assert.assertEquals; + +public class TextReplaceTests { + private TestHelper th; + + public TextReplaceTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * PostDocumentTextReplace Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postDocumentTextReplaceTest() throws ApiException + { + String name = "marketing.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(300.) + .URY(300.); + + final TextReplace textReplace = new TextReplace(); + textReplace.setOldValue("market"); + textReplace.setNewValue("m_a_r_k_e_t"); + textReplace.setRegex(false); + textReplace.setRect(rect); + + TextReplaceListRequest textReplaceList = new TextReplaceListRequest(); + textReplaceList.setTextReplaces(new ArrayList(){{ add(textReplace); }}); + textReplaceList.setStartIndex(0); + textReplaceList.setCountReplace(0); + + String folder = th.tempFolder; + + TextReplaceResponse response = th.pdfApi.postDocumentTextReplace(name, textReplaceList, null, folder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PostPageTextReplaceByRect Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void postPageTextReplaceByRectTest() throws ApiException + { + String name = "marketing.pdf"; + th.uploadFile(name); + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(700.) + .URX(400.) + .URY(1000.); + + final TextReplace textReplace = new TextReplace(); + textReplace.setOldValue("market"); + textReplace.setNewValue("m_a_r_k_e_t"); + textReplace.setRegex(false); + textReplace.setRect(rect); + + TextReplaceListRequest textReplaceList = new TextReplaceListRequest(); + textReplaceList.setTextReplaces(new ArrayList(){{ add(textReplace); }}); + textReplaceList.setStartIndex(0); + textReplaceList.setCountReplace(0); + + String folder = th.tempFolder; + + TextReplaceResponse response = th.pdfApi.postPageTextReplace(name, pageNumber, textReplaceList, null, folder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/TextTests.java b/src/test/java/com/aspose/asposecloudpdf/api/TextTests.java new file mode 100644 index 0000000..7265325 --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/TextTests.java @@ -0,0 +1,156 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class TextTests { + private TestHelper th; + + public TextTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetText Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getTextTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + double llx = 0; + double lly = 0; + double urx = 0; + double ury = 0; + String folder = th.tempFolder; + + TextRectsResponse response = th.pdfApi.getText(name, llx, lly, urx, ury, null, null, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetPageTextByTwoTextOnPage Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void getPageTextByTwoTextOnPageTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + double llx = 0; + double lly = 0; + double urx = 0; + double ury = 0; + + List format = new ArrayList(){{ add("First Page"); add("Second Page");}}; + String folder = th.tempFolder; + + TextRectsResponse response = th.pdfApi.getPageText(name, pageNumber, llx, lly, urx, ury, format, null, null, folder, null); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutAddText Test + * @throws ApiException + * if the Api call fails + */ + + @Test + public void putAddTextTest() throws ApiException + { + String name = "4pages.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + String folder = th.tempFolder; + + Rectangle rectangle = new Rectangle(); + rectangle.setLLX(100.); + rectangle.setLLY(100.); + rectangle.setURX(200.); + rectangle.setURY(200.); + + Color foregroundColor = new Color(); + foregroundColor.setA(0x00); + foregroundColor.setR(0x00); + foregroundColor.setG(0xFF); + foregroundColor.setB(0x00); + + Color backgroundColor = new Color(); + backgroundColor.setA(0x00); + backgroundColor.setR(0xFF); + backgroundColor.setG(0x00); + backgroundColor.setB(0x00); + + TextState textState = new TextState(); + textState.setFont("Arial"); + textState.setFontSize(10.); + textState.setForegroundColor(foregroundColor); + textState.setBackgroundColor(backgroundColor); + textState.setFontStyle(FontStyles.BOLD); + + final Segment segment = new Segment(); + segment.setValue("segment 1"); + segment.setTextState(textState); + + final TextLine textLine = new TextLine(); + textLine.setHorizontalAlignment(TextHorizontalAlignment.RIGHT); + textLine.setSegments(new ArrayList(){{ add(segment);}}); + + Paragraph paragraph = new Paragraph(); + paragraph.setRectangle(rectangle); + paragraph.setLeftMargin(10.); + paragraph.setRightMargin(10.); + paragraph.setTopMargin(20.); + paragraph.setBottomMargin(20.); + paragraph.setHorizontalAlignment(TextHorizontalAlignment.FULLJUSTIFY); + paragraph.setLineSpacing(LineSpacing.FONTSIZE); + paragraph.setRotation(10.); + paragraph.setSubsequentLinesIndent(20.); + paragraph.setVerticalAlignment(VerticalAlignment.CENTER); + paragraph.setWrapMode(WrapMode.BYWORDS); + paragraph.setLines(new ArrayList(){{ add(textLine);}}); + + + AsposeResponse response = th.pdfApi.putAddText(name, pageNumber, paragraph, folder, null); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/src/test/java/com/aspose/asposecloudpdf/api/UnderlineAnnotationsTests.java b/src/test/java/com/aspose/asposecloudpdf/api/UnderlineAnnotationsTests.java new file mode 100644 index 0000000..4e0a78e --- /dev/null +++ b/src/test/java/com/aspose/asposecloudpdf/api/UnderlineAnnotationsTests.java @@ -0,0 +1,186 @@ +/** + * + * Copyright (c) 2009 Aspose.PDF Cloud + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of TestHelper.getInstance() 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. + * + */ + +package com.aspose.asposecloudpdf.api; + +import com.aspose.asposecloudpdf.ApiException; +import com.aspose.asposecloudpdf.model.*; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertEquals; + +public class UnderlineAnnotationsTests { + private TestHelper th; + + public UnderlineAnnotationsTests() throws ApiException { + th = TestHelper.getInstance(); + } + + /** + * GetDocumentUnderlineAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getDocumentUnderlineAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + UnderlineAnnotationsResponse response = th.pdfApi.getDocumentUnderlineAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * GetPageUnderlineAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getPageUnderlineAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 2; + + UnderlineAnnotationsResponse response = th.pdfApi.getPageUnderlineAnnotations(name, pageNumber, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * GetUnderlineAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void getUnderlineAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + UnderlineAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentUnderlineAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + UnderlineAnnotationResponse response = th.pdfApi.getUnderlineAnnotation(name, annotationId, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + /** + * PostPageUnderlineAnnotationsTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void postPageUnderlineAnnotationsTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + int pageNumber = 1; + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + List points = new ArrayList<>(); + points.add(new Point().X(10.).Y(10.)); + points.add(new Point().X(20.).Y(10.)); + points.add(new Point().X(10.).Y(20.)); + points.add(new Point().X(10.).Y(10.)); + + UnderlineAnnotation annotation = new UnderlineAnnotation(); + annotation.setName("Name"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text"); + annotation.setSubject("Subj"); + annotation.setZindex(1); + annotation.setTitle("Title"); + annotation.setQuadPoints(points); + annotation.setModified("02/02/2018 00:00:00.000 AM"); + + List annotations = new ArrayList<>(); + annotations.add(annotation); + + AsposeResponse response = th.pdfApi.postPageUnderlineAnnotations(name, pageNumber, annotations, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } + + + /** + * PutUnderlineAnnotationTest + * @throws ApiException + * if the Api call fails + */ + @Test + public void putUnderlineAnnotationTest()throws ApiException + { + String name = "PdfWithAnnotations.pdf"; + th.uploadFile(name); + + Rectangle rect = new Rectangle() + .LLX(100.) + .LLY(100.) + .URX(200.) + .URY(200.); + + List flags = new ArrayList<>(); + flags.add(AnnotationFlags.DEFAULT); + + List points = new ArrayList<>(); + points.add(new Point().X(10.).Y(10.)); + points.add(new Point().X(20.).Y(10.)); + points.add(new Point().X(10.).Y(20.)); + points.add(new Point().X(10.).Y(10.)); + + UnderlineAnnotation annotation = new UnderlineAnnotation(); + annotation.setName("Name Updated"); + annotation.setRect(rect); + annotation.setFlags(flags); + annotation.setHorizontalAlignment(HorizontalAlignment.CENTER); + annotation.setRichText("Rich Text Updated"); + annotation.setSubject("Subj Updated"); + annotation.setZindex(1); + annotation.setTitle("Title Updated"); + annotation.setQuadPoints(points); + annotation.setModified("02/02/2018 00:00:00.000 AM"); + + UnderlineAnnotationsResponse responseAnnotations = th.pdfApi.getDocumentUnderlineAnnotations(name, null, th.tempFolder); + assertEquals(200, (int)responseAnnotations.getCode()); + String annotationId = responseAnnotations.getAnnotations().getList().get(0).getId(); + + AsposeResponse response = th.pdfApi.putUnderlineAnnotation(name, annotationId, annotation, null, th.tempFolder); + assertEquals(200, (int)response.getCode()); + } +} diff --git a/testData/FormData.fdf b/testData/FormData.fdf new file mode 100644 index 0000000000000000000000000000000000000000..dbf2680e34298f95ea0b1775f4aac6d87936137f GIT binary patch literal 1486 zcmZux-%ry}6zZ6ch8=`x)>imugA?f>%#i` z7q?$O{r$51C%zzRCb0~6p5Y8n7>1LPuEoW>!^eNoCTgK0A%-^4F09(xTS8*i;>yaPRX%0SnO?n@@(}%mWc!0j1AsjCh{21Kv!av| z6-gcqee@1~M7UE5Y?^72Y07Qsk?g1#)~q?S!l)A04Y(db;w|(GevEMoby0`$2EMY8 z60U&l6ZE5vj=8bqm*4Bv#5Nyyn?M*%;s6Q^J<6WjGM zvLoqC2=BZ9%OBd`M-8%fSSREDRZr6oQO-2l(1Et#ED%>rBVv} z1VJ;@@i?X`Nnyk+!7jDsAXiXK6AJ4xmGoW}UvEMka8^J;OfAg64R7H)+J@CG+JO5J z{BMEKld%2@`#^87>Ofo9Y7=z41E@*B{DK-> zx!q8;Ovg|!%K|Hg3z`myvjY^a%~czFHRr4pA+C+KgiELq>@87Hb)GDF)R%mps!Q~Y zrr9XjMLWIVK+l=9Dvf4G!j_llX*IL%u$goK9Jb*J{p-O5!jnQh(VADSc`y(89DrlR zCQt6FuFtu|adn;4v6U?57jwnM$%3v=RI4yxu&x*AGPZQRL@HHXFB&rz_B85LAc9R1 z|Guc`x}++LQYND$R}41e7RKR<65D{G9Q7PHV8n?=U`EbT>c!Z!o&|qoXy|59i$?wd D7&qIY literal 0 HcmV?d00001 diff --git a/testData/FormData.pdf b/testData/FormData.pdf new file mode 100644 index 0000000000000000000000000000000000000000..5dec5729e609e3ae22c8e256dbc3445e9f42a0e3 GIT binary patch literal 443345 zcma&MbyQqk@GOeE1$TFMcXtUM+})kv?(Xh{K=9xYV9?+*xLa_S;PA+2zx&?0_pSTS zS!ecUhOXXS)zxQ)N>x&tiH(^DnQD7y3WSWn#>Yd-O6p{4i!3O}B5h;uZsE!zZExak zA!%XeWNz`k5%EzK;;b`SSCvZ7)G$>XU+pm1Os<{h@z~tioi+bDBCQ@5;aAQ zJyoPiwC(n69m1erNOt6rVa zIHkMqE^NZv_(McWK5g8PR9PD95JWn;31K-TQ(WR&d6a53ty?ylcP0zAta} zA|B@rgX=_I<&gTPc$gw9o-G|_C@Pxsj>u_PYYIucY2$?;b3Y>M%IR*R+ZzuaW@p-8P z9v^2Y^aB}jak@tgcb#IjXXGK2p(te`oszz@Z?^}R-qbavcJd5H<_do16YLy`J#n}4 z(_UT0>UON->H1lSTzkEC!f8;?gC8GzvXUQabn~=!xzc&;r?DE-cc7TJE5$}=u=@MS zYG>4Y_M9YP1Em&Qxo~fR=jHXfX{TCjhCrp(MP5KVz;B=P_UY%)d0GkW)YPOGi3rRC z_0KgYXfplir96KO3k*>_3??)bv=^2dYL^L`&(zVZzNHW4i-zU;Q_CIjTZMJJHGKEGH6l#{#SHH+( zsC=fnsr=EG9W#IE!gno92G})kUyn!1sehJ5Zxj<<9Z`qO4XyTL16 z7kO25f1Q0W+dt3$!IYAB<@SmZpo7LG;v|wqz47vJ9~eAaJ-oNdYwA9Wj*%26yu8p)Y5C6VY1|Q?W++BDL=7d z(q*sw#9A~9dX-0vk{(TRuU^A39fFA z((G&)Av+eV8MN{?#lG$D?^pF?sysTN@MhR@PhHsg3=JG1O`hhL5y+SPAaLK{L{kEF zQM%W+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JX2>;}8h>~_L#{t0(c}cbA{Xzs=`pZ>Ye)xx$?r5X zbC!{2Yz6IaF^MT7l@SQ$RF7pd8=n$=vw8hXCb99A3P)Au)@vxsg$R`8!2t>a`U2mj zP!Ob;@xwd;34WNiDJbhS9h7wj4az!j2xV?s1W6bsMDW9miU?(G&w(=cepo?SJ2Rln zg%fbcKmhzOPqIOAOlSO1919ngX$*>ELBX+b!Le{bBA6RIph%`s&kFpq03i`9NJs<= z6cWLLg+#DWLLykukO&qyBw`F6att1lRXZed3?6a}9&!vGatt1F3?2x$3M$|{zV?G+ zmOs{1ri*6oNu`0%i{th_5GomN4vw7KFv4hBxNfwjgCnOjmY-@~k7m?b#F~rQwE=gk ztKsr%5hw)vhwc5TeSNE~`d05ryQ`=(WFOLbVu=0B&>jyC4Gu0rl|0NNv|J66Z(4XK#F&5){sRW{Jk(M780;c%+@z?!6^ zk42~egEK-GtD=uUYBCI|L{gw5Fp5Hfp$y41sUjIxQz!^SJ)Myi&>Wa~H$hoewrT9G z%0Jj!5mW4~uCA^w*t`8ly^BTmOWlVo6{T$31r_Y&1mVeSN4OlOA=zZx9tMp-q9$y6 F{|^cn3$6eF literal 0 HcmV?d00001 diff --git a/testData/FormDataXfa_in.pdf b/testData/FormDataXfa_in.pdf new file mode 100644 index 0000000000000000000000000000000000000000..743dbaa034eb49d384b9f1e9edd1b780187230df GIT binary patch literal 82703 zcma%i1yCH()+R8xySqCK4DRmku7kU~26qkaPVnHtB{;zX!8HW;;9<#={omHUt=g`d zo^!hU-h0k>zMk_{bq|fIq%;eVl?R1pcW-t91(B1BoSod++zv%hkWJCn32f$O>j$q7j9NphnlyG+NbaZkj=VDWJ16$f!csRR}1383+*`#e9 zJiu;j(hg=G;C~Kblan+Mlm_u}@vw7%q{PL=xg9x32^lzbpwF%TCAI|m<-6UZ&iDZ$MtY{Vw#WC`{$cu$;z_pf8+OwI{<4^W*= z5$t5`VMERX`WubcKhor5Q+IauAm{v>fjXPUJ2vFpoNSuDE?_o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GhfLCz7;!&~Q?FUku^|9H<>8USfL0Syr30|QClBUeKNt)HK!o5BLAZbjrvw!M01zXXnZq?@gF@Q=bcD0xI|z^ug|`7YA#FhrJ}~GfGRaVkB!o+oHWDIQhV&~z zibEI(fdIh}EeIG6fxra>^u_iqe^>hD^p`oFus_ujs#p{OZ-+N0R;B~g&CRhWG(ZPW zFx%%x=r^42+J6C3#hYQxoxhI*0wxUt$j`4u8U&ah4iVr1lN#V}Airt;72|uZ{3Dd# zb-&|?f%fVBjqZcF+-K@9^8ard%uqjP!PcH&eK6T(C=l8jZA02f>_{^K`SVPeq2Q#o zV}m40kQNqc6GRe8lMS*pGZzE>>iR8Ok`T2&ad^UyA%07QgMlK@xBe{s5rH*ULJf{%hii0&Mm(3yU@b*xT)IOjs?_mW{AL5^PE9nzVNUOi8=9mVmC7*goIC zK>yb{L0U(us(&BhkHu+Y^XDKBOyDwjl>L6%D9T9K+hfh(f=~z)A|i|e3JO4wKtVHM z7!V2JHwOxXMNGj$!onyN1bVPiR8@bs{WZJ$3zyWVh_fRiaVYc;TmcagFw7h*2!uj~ zU_e2rFd8T<0)_$wP=XLMBt%5W6o&eN`^~?kTycn1`PVS1OGYGzGd$J{`FVD z|9kA8i2pkINyR^D{7ctAVd$6K>Fto5}yC_0R7mxk02V<>y!-U@(NApEOwhgGz=A4CeZ+5_Te> z&1tB>00@}$`tt(7piluQV83Vof{DPOV8B5Wfcq&E;wPOD>|ejhNWA=~OyF;1Fw*J3 zUu;DL{?mtu@Lz3(NaX+3uaJNc_%|7mfFvC;5ooCPPo%IeXi{*b(w~ZS!$}~1ix&cc O(NJByD6397(E2~~p1^DX literal 0 HcmV?d00001 diff --git a/testData/FormDataXfdf_in.xfdf b/testData/FormDataXfdf_in.xfdf new file mode 100644 index 0000000..3ca2678 --- /dev/null +++ b/testData/FormDataXfdf_in.xfdf @@ -0,0 +1,21 @@ + + + + + + Deutschland + + + Freie & Hansestadt Hamburg + + + Hamburger + + + dirk.pass@bs-card-service.com + + + Dirk Pass + + + diff --git a/testData/sample.tex b/testData/sample.tex new file mode 100644 index 0000000..637c532 --- /dev/null +++ b/testData/sample.tex @@ -0,0 +1,105 @@ +\documentclass{article} +\usepackage{epsfig} +\renewcommand{\baselinestretch}{1} +\setlength{\textheight}{9in} +\setlength{\textwidth}{6.5in} +\setlength{\headheight}{0in} +\setlength{\headsep}{0in} +\setlength{\topmargin}{0in} +\setlength{\oddsidemargin}{0in} +\setlength{\evensidemargin}{0in} +\setlength{\parindent}{.3in} +\begin{document} + +\leftline{Pat Q.~Student} +\leftline{AME 20231} +\leftline{18 January 2013} + +\medskip +This is a sample file in the text formatter \LaTeX. +I require you to use it for the following reasons: + +\begin{itemize} + +\item{It produces the best output of text, figures, + and equations of any + program I've seen.} + +\item{It is machine-independent. It runs on Linux, Macintosh (see {\tt TeXShop}), and Windows (see {\tt MiKTeX}) machines. + You can e-mail {\tt ASCII} text versions of most relevant files.} + +\item{It is the tool of choice for many research + scientists and engineers. + Many journals accept + \LaTeX~ submissions, and many books + are written in \LaTeX.} + +\end{itemize} +\medskip +Some basic instructions are given next. +Put your text in here. You can be a little sloppy about +spacing. It adjusts the text to look good. +{\small You can make the text smaller.} +{\tiny You can make the text tiny.} + +Skip a line for a new paragraph. +You can use italics ({\em e.g.} {\em Thermodynamics is everywhere}) or {\bf bold}. +Greek letters are a snap: $\Psi$, $\psi$, +$\Phi$, $\phi$. Equations within text are easy--- +A well known Maxwell thermodynamic relation is +$\left.{\partial T \over \partial p}\right|_{s} = +\left.{\partial v \over \partial s}\right|_{p}$. +You can also set aside equations like so: +\begin{eqnarray} +du &=& Tds -p dv, \qquad \mbox{first law}\\ +ds &\ge& {dq \over T}.\qquad \qquad \mbox{second law} \label{ee} +\end{eqnarray} +Eq.~(\ref{ee}) is the second law. +References\footnote{Lamport, L., 1986, {\em \LaTeX: User's Guide \& Reference Manual}, + Addison-Wesley: Reading, Massachusetts.} +are available. +If you have an postscript file, say {\tt sample.figure.eps}, in the same local directory, +you can insert the file as a figure. Figure \ref{sample}, below, plots an isotherm for air modeled as an ideal gas. +\begin{figure}[ht] +\epsfxsize=2.5in +\centerline{\epsffile{sample.figure.eps}} +\caption{Sample figure plotting $T=300~K$ isotherm for air when modeled as an ideal gas.} +\label{sample} +\end{figure} + +\medskip +\leftline{\em Running \LaTeX} +\medskip + +You can create a \LaTeX~ file with any text editor ({\tt vi}, {\tt emacs}, {\tt gedit}, +etc.). +To get a document, you need to run the \LaTeX~ application +on the text file. The text file must have the suffix ``{\tt .tex}'' +On a Linux cluster machine, this is done via the command + +\medskip +{\tt latex file.tex} + +\medskip +\noindent +This generates three files: {\tt file.dvi}, {\tt file.aux}, +and {\tt file.log}. The most important is {\tt file.dvi}. + +\medskip +\noindent +The finished product can be previewed in the following way. +Execute the commands: + +\medskip + +{\tt dvipdf file.dvi}\hspace{1.9in}{\em Linux System} + +\medskip +\noindent +This command generates {\tt file.pdf}. +Alternatively, you can use {\tt TeXShop} on a Macintosh or {\tt MiKTeX} on a Windows-based machine. +The {\tt .tex} file must have a closing statement as +below. + + +\end{document}