Skip to content

Commit b823e93

Browse files
committed
Update to v20.9
1 parent a2720a2 commit b823e93

12 files changed

+34
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ Class | Description
629629
[**Segment**](docs/Segment.md) | Represents segment of Pdf text.
630630
[**ShapeType**](docs/ShapeType.md) | This enum represents shape type for the extracted images.
631631
[**Signature**](docs/Signature.md) | Represents signature.
632-
[**SignatureCustomAppearance**](docs/SignatureCustomAppearance.md) | An abstract class which represents signature custon appearance object.
632+
[**SignatureCustomAppearance**](docs/SignatureCustomAppearance.md) | An abstract class which represents signature custom appearance object.
633633
[**SignatureField**](docs/SignatureField.md) | Provides SignatureField.
634634
[**SignatureFieldResponse**](docs/SignatureFieldResponse.md) | Represents response containing single signature field object
635635
[**SignatureFields**](docs/SignatureFields.md) | Object representing a list of signature fields.

docs/PdfApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5655,7 +5655,7 @@ Name | Type | Description | Notes
56555655

56565656
<a name="postPageRedactionAnnotations"></a>
56575657
## **postPageRedactionAnnotations**
5658-
> postPageRedactionAnnotations(name, pageNumber, annotations, storage, folder)
5658+
> postPageRedactionAnnotations(name, pageNumber, annotations, storage, folder, apply)
56595659
56605660
Add document page redaction annotations.
56615661

@@ -5667,6 +5667,7 @@ Name | Type | Description | Notes
56675667
**annotations** | [**Array&lt;RedactionAnnotation&gt;**](RedactionAnnotation.md) | The array of annotation. |
56685668
**storage** | **string** | The document storage. | [optional]
56695669
**folder** | **string** | The document folder. | [optional]
5670+
**apply** | **boolean** | Apply redaction immediately after adding. | [optional]
56705671

56715672
### Return type
56725673

@@ -8301,7 +8302,7 @@ Name | Type | Description | Notes
83018302

83028303
<a name="putRedactionAnnotation"></a>
83038304
## **putRedactionAnnotation**
8304-
> putRedactionAnnotation(name, annotationId, annotation, storage, folder)
8305+
> putRedactionAnnotation(name, annotationId, annotation, storage, folder, apply)
83058306
83068307
Replace document redaction annotation
83078308

@@ -8313,6 +8314,7 @@ Name | Type | Description | Notes
83138314
**annotation** | [**RedactionAnnotation**](RedactionAnnotation.md) | Annotation. |
83148315
**storage** | **string** | The document storage. | [optional]
83158316
**folder** | **string** | The document folder. | [optional]
8317+
**apply** | **boolean** | Apply redaction immediately after adding. | [optional]
83168318

83178319
### Return type
83188320

docs/RedactionAnnotation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**fillColor** | [**Color**](Color.md) | Gets or sets color to fill annotation. | [optional]
1010
**borderColor** | [**Color**](Color.md) | Gets or sets color of border which is drawn when redaction is not active. | [optional]
1111
**overlayText** | **string** | Text to print on redact annotation. | [optional]
12-
**repeat** | **boolean** | If true overlay text will be repated on the annotation. | [optional]
12+
**repeat** | **boolean** | If true overlay text will be repeated on the annotation. | [optional]
1313
**textAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets. Alignment of Overlay Text. | [optional]
1414
**color** | [**Color**](Color.md) | Color of the annotation.<br />*Inherited from [Annotation](Annotation.md)* | [optional]
1515
**contents** | **string** | Get the annotation content.<br />*Inherited from [Annotation](Annotation.md)* | [optional]

docs/SignatureCustomAppearance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SignatureCustomAppearance
2-
An abstract class which represents signature custon appearance object.
2+
An abstract class which represents signature custom appearance object.
33

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

docs/TextStyle.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**font** | **string** | Gets or sets font of the text. | [optional]
99
**foregroundColor** | [**Color**](Color.md) | Gets or sets foreground color of the text. | [optional]
1010
**backgroundColor** | [**Color**](Color.md) | Sets background color of the text. | [optional]
11+
**fontFile** | **string** | Sets path of font file in storage. | [optional]
1112

1213
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) [[View Source]](../src/models/textStyle.ts)
1314

package-lock.json

Lines changed: 1 addition & 1 deletion
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": "20.8.0",
3+
"version": "20.9.0",
44
"description": "Aspose.PDF Cloud SDK",
55
"homepage": "https://products.aspose.cloud/pdf/cloud",
66
"author": {

src/api/api.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14110,8 +14110,9 @@ export class PdfApi {
1411014110
* @param annotations The array of annotation.
1411114111
* @param storage The document storage.
1411214112
* @param folder The document folder.
14113+
* @param apply Apply redaction immediately after adding.
1411314114
*/
14114-
public async postPageRedactionAnnotations (name: string, pageNumber: number, annotations: Array<RedactionAnnotation>, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
14115+
public async postPageRedactionAnnotations (name: string, pageNumber: number, annotations: Array<RedactionAnnotation>, storage?: string, folder?: string, apply?: boolean) : Promise<{ response: http.IncomingMessage; body: AsposeResponse; }> {
1411514116
const localVarPath = this.basePath + '/pdf/{name}/pages/{pageNumber}/annotations/redaction'
1411614117
.replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'))
1411714118
.replace('{' + 'pageNumber' + '}', encodeURIComponent(String(pageNumber)).replace('%2F', '/'));
@@ -14142,6 +14143,10 @@ export class PdfApi {
1414214143
localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
1414314144
}
1414414145

14146+
if (apply !== undefined && null !== apply) {
14147+
localVarQueryParameters['apply'] = ObjectSerializer.serialize(apply, "boolean");
14148+
}
14149+
1414514150

1414614151
let localVarUseFormData = false;
1414714152
let fileData = null;
@@ -21687,8 +21692,9 @@ export class PdfApi {
2168721692
* @param annotation Annotation.
2168821693
* @param storage The document storage.
2168921694
* @param folder The document folder.
21695+
* @param apply Apply redaction immediately after adding.
2169021696
*/
21691-
public async putRedactionAnnotation (name: string, annotationId: string, annotation: RedactionAnnotation, storage?: string, folder?: string) : Promise<{ response: http.IncomingMessage; body: RedactionAnnotationResponse; }> {
21697+
public async putRedactionAnnotation (name: string, annotationId: string, annotation: RedactionAnnotation, storage?: string, folder?: string, apply?: boolean) : Promise<{ response: http.IncomingMessage; body: RedactionAnnotationResponse; }> {
2169221698
const localVarPath = this.basePath + '/pdf/{name}/annotations/redaction/{annotationId}'
2169321699
.replace('{' + 'name' + '}', encodeURIComponent(String(name)).replace('%2F', '/'))
2169421700
.replace('{' + 'annotationId' + '}', encodeURIComponent(String(annotationId)).replace('%2F', '/'));
@@ -21719,6 +21725,10 @@ export class PdfApi {
2171921725
localVarQueryParameters['folder'] = ObjectSerializer.serialize(folder, "string");
2172021726
}
2172121727

21728+
if (apply !== undefined && null !== apply) {
21729+
localVarQueryParameters['apply'] = ObjectSerializer.serialize(apply, "boolean");
21730+
}
21731+
2172221732

2172321733
let localVarUseFormData = false;
2172421734
let fileData = null;

src/models/redactionAnnotation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class RedactionAnnotation extends Annotation {
4545
*/
4646
'overlayText': string;
4747
/**
48-
* If true overlay text will be repated on the annotation.
48+
* If true overlay text will be repeated on the annotation.
4949
*/
5050
'repeat': boolean;
5151
/**

src/models/signatureCustomAppearance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222

2323
/**
24-
* An abstract class which represents signature custon appearance object.
24+
* An abstract class which represents signature custom appearance object.
2525
*/
2626
export class SignatureCustomAppearance {
2727
/**

0 commit comments

Comments
 (0)