Skip to content

Commit b1730ce

Browse files
authored
Merge pull request #69 from aspose-pdf-cloud/develop
update to 22.11
2 parents 7c4a054 + 6f68ae2 commit b1730ce

File tree

8 files changed

+22
-25
lines changed

8 files changed

+22
-25
lines changed

README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,9 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
3030
## Read PDF Formats
3131
MHT, PCL, PS, XSLFO, MD
3232

33-
## Enhancements in Version 22.10
34-
- Convert password protected PDF to DOC.
35-
- Support to convert password protected document to graphic formats.
36-
- Support to convert pages of password protected PDF to JPEG using GetPageConvertToJpeg.
37-
- Add new REST API endpoint to parse PDF document into PDF parts containing specified page ranges.
33+
## Enhancements in Version 22.11
3834
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3935

40-
## Bugs fixed in Version 22.10
41-
- The PostSplitDocument API method is throwing 504 Gateway Error.
42-
4336
## Installation
4437

4538
### NPM
@@ -321,7 +314,7 @@ Class | Method | HTTP request | Description
321314
*PdfApi* | [**postSignDocument**](docs/PdfApi.md#postSignDocument) | **POST** /pdf/\{name}/sign | Sign document.
322315
*PdfApi* | [**postSignPage**](docs/PdfApi.md#postSignPage) | **POST** /pdf/\{name}/pages/\{pageNumber}/sign | Sign page.
323316
*PdfApi* | [**postSplitDocument**](docs/PdfApi.md#postSplitDocument) | **POST** /pdf/\{name}/split | Split document to parts.
324-
*PdfApi* | [**postSplitRangePdfDocument**](docs/PdfApi.md#postSplitRangePdfDocument) | **POST** /pdf/\{name}/splitrangepdf |
317+
*PdfApi* | [**postSplitRangePdfDocument**](docs/PdfApi.md#postSplitRangePdfDocument) | **POST** /pdf/\{name}/splitrangepdf | Split document into ranges.
325318
*PdfApi* | [**postTextBoxFields**](docs/PdfApi.md#postTextBoxFields) | **POST** /pdf/\{name}/fields/textbox | Add document text box fields.
326319
*PdfApi* | [**putAddNewPage**](docs/PdfApi.md#putAddNewPage) | **PUT** /pdf/\{name}/pages | Add new page to end of the document.
327320
*PdfApi* | [**putAddText**](docs/PdfApi.md#putAddText) | **PUT** /pdf/\{name}/pages/\{pageNumber}/text | Add text to PDF document page.
@@ -658,7 +651,7 @@ Class | Description
658651
[**SoundAnnotationsResponse**](docs/SoundAnnotationsResponse.md) | Represents response containing multiple sound annotation objects
659652
[**SoundEncoding**](docs/SoundEncoding.md) | The encoding format for the sample data.
660653
[**SoundIcon**](docs/SoundIcon.md) | An icon to be used in displaying the annotation.
661-
[**SplitRangePdfOptions**](docs/SplitRangePdfOptions.md) |
654+
[**SplitRangePdfOptions**](docs/SplitRangePdfOptions.md) | Represents Pdf split into ranges options.
662655
[**SplitResult**](docs/SplitResult.md) | Represents split result object.
663656
[**SplitResultDocument**](docs/SplitResultDocument.md) | Represents split result document,
664657
[**SplitResultResponse**](docs/SplitResultResponse.md) | Represents responce containing split result.

docs/PdfApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Method | HTTP request | Description
246246
*PdfApi* | [**postSignDocument**](PdfApi.md#postSignDocument) | **POST** /pdf/\{name}/sign | Sign document.
247247
*PdfApi* | [**postSignPage**](PdfApi.md#postSignPage) | **POST** /pdf/\{name}/pages/\{pageNumber}/sign | Sign page.
248248
*PdfApi* | [**postSplitDocument**](PdfApi.md#postSplitDocument) | **POST** /pdf/\{name}/split | Split document to parts.
249-
*PdfApi* | [**postSplitRangePdfDocument**](PdfApi.md#postSplitRangePdfDocument) | **POST** /pdf/\{name}/splitrangepdf |
249+
*PdfApi* | [**postSplitRangePdfDocument**](PdfApi.md#postSplitRangePdfDocument) | **POST** /pdf/\{name}/splitrangepdf | Split document into ranges.
250250
*PdfApi* | [**postTextBoxFields**](PdfApi.md#postTextBoxFields) | **POST** /pdf/\{name}/fields/textbox | Add document text box fields.
251251
*PdfApi* | [**putAddNewPage**](PdfApi.md#putAddNewPage) | **PUT** /pdf/\{name}/pages | Add new page to end of the document.
252252
*PdfApi* | [**putAddText**](PdfApi.md#putAddText) | **PUT** /pdf/\{name}/pages/\{pageNumber}/text | Add text to PDF document page.
@@ -6027,15 +6027,15 @@ Name | Type | Description | Notes
60276027
## **postSplitRangePdfDocument**
60286028
> postSplitRangePdfDocument(name, options, storage, folder)
60296029
6030-
6030+
Split document into ranges.
60316031

60326032
### Parameters
60336033
Name | Type | Description | Notes
60346034
------------- | ------------- | ------------- | -------------
6035-
**name** | **string** | |
6036-
**options** | [**SplitRangePdfOptions**](SplitRangePdfOptions.md) | |
6037-
**storage** | **string** | | [optional]
6038-
**folder** | **string** | | [optional]
6035+
**name** | **string** | The document name. |
6036+
**options** | [**SplitRangePdfOptions**](SplitRangePdfOptions.md) | The splitting options. |
6037+
**storage** | **string** | The document storage. | [optional]
6038+
**folder** | **string** | The document folder. | [optional]
60396039

60406040
### Return type
60416041

docs/SplitRangePdfOptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SplitRangePdfOptions
2-
2+
Represents Pdf split into ranges options.
33

44
## Properties
55
Name | Type | Description | Notes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "asposepdfcloud",
3-
"version": "22.10.0",
3+
"version": "22.11.0",
44
"description": "Aspose.PDF Cloud is a REST API for creating and editing PDF files. Most popular features proposed by Aspose.PDF Cloud: PDF to Word, Convert PDF to Image, Merge PDF, Split PDF, Add Images to PDF, Rotate PDF. 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.",
55
"homepage": "https://products.aspose.cloud/pdf/cloud",
66
"author": {

src/api/api.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15177,10 +15177,11 @@ export class PdfApi {
1517715177

1517815178
/**
1517915179
*
15180-
* @param name
15181-
* @param options
15182-
* @param storage
15183-
* @param folder
15180+
* @summary Split document into ranges.
15181+
* @param name The document name.
15182+
* @param options The splitting options.
15183+
* @param storage The document storage.
15184+
* @param folder The document folder.
1518415185
*/
1518515186
public async postSplitRangePdfDocument (name: string, options: SplitRangePdfOptions, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: SplitResultResponse; }> {
1518615187
const localVarPath = this.basePath + '/pdf/{name}/splitrangepdf'

src/models/splitRangePdfOptions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121

2222
import { PageRange } from "./pageRange";
2323

24+
/**
25+
* Represents Pdf split into ranges options.
26+
*/
2427
export class SplitRangePdfOptions {
2528
'pageRanges': Array<PageRange>;
2629

src/requestHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async function invokeApiMethodInternal(requestOptions: request.Options, confgura
9393
//headers
9494
sa.set("User-Agent", "pdf nodejs sdk");
9595
sa.set("x-aspose-client", "nodejs sdk");
96-
sa.set("x-aspose-client-version", "22.10.0");
96+
sa.set("x-aspose-client-version", "22.11.0");
9797

9898
if (!requestOptions.headers) {
9999
requestOptions.headers = {};

0 commit comments

Comments
 (0)