Skip to content

Commit 582fd90

Browse files
committed
Generated v18.9
1 parent 5343293 commit 582fd90

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+3416
-2147
lines changed

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": "18.7.2",
3+
"version": "18.9.0",
44
"description": "Aspose.PDF Cloud SDK",
55
"homepage": "https://products.aspose.cloud/pdf/cloud",
66
"author": {

src/api/api.ts

Lines changed: 2618 additions & 1521 deletions
Large diffs are not rendered by default.

src/models/annotation.ts

Lines changed: 74 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,14 @@
1919
*
2020
*/
2121

22-
import { Color } from "./color";
22+
import { VerticalAlignment } from "./verticalAlignment";
23+
import { HorizontalAlignment } from "./horizontalAlignment";
2324
import { LinkElement } from "./linkElement";
2425

2526
/**
2627
* Provides annotation.
2728
*/
2829
export class Annotation extends LinkElement {
29-
/**
30-
* Get the annotation color.
31-
*/
32-
'color': Color;
3330
/**
3431
* Get the annotation content.
3532
*/
@@ -50,15 +47,42 @@ export class Annotation extends LinkElement {
5047
* The date and time when the annotation was last modified.
5148
*/
5249
'modified': string;
50+
/**
51+
* Gets ID of the annotation.
52+
*/
53+
'id': string;
54+
/**
55+
* Gets Flags of the annotation.
56+
*/
57+
'flags': Array<AnnotationFlags>;
58+
/**
59+
* Gets Name of the annotation.
60+
*/
61+
'name': string;
62+
/**
63+
* Gets Rect of the annotation.
64+
*/
65+
'rect': RectanglePdf;
66+
/**
67+
* Gets PageIndex of the annotation.
68+
*/
69+
'pageIndex': number;
70+
/**
71+
* Gets ZIndex of the annotation.
72+
*/
73+
'zIndex': number;
74+
/**
75+
* Gets HorizontalAlignment of the annotation.
76+
*/
77+
'horizontalAlignment': HorizontalAlignment;
78+
/**
79+
* Gets VerticalAlignment of the annotation.
80+
*/
81+
'verticalAlignment': VerticalAlignment;
5382

5483
static discriminator = undefined;
5584

5685
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
57-
{
58-
"name": "color",
59-
"baseName": "Color",
60-
"type": "Color"
61-
},
6286
{
6387
"name": "contents",
6488
"baseName": "Contents",
@@ -83,6 +107,46 @@ export class Annotation extends LinkElement {
83107
"name": "modified",
84108
"baseName": "Modified",
85109
"type": "string"
110+
},
111+
{
112+
"name": "id",
113+
"baseName": "Id",
114+
"type": "string"
115+
},
116+
{
117+
"name": "flags",
118+
"baseName": "Flags",
119+
"type": "Array<AnnotationFlags>"
120+
},
121+
{
122+
"name": "name",
123+
"baseName": "Name",
124+
"type": "string"
125+
},
126+
{
127+
"name": "rect",
128+
"baseName": "Rect",
129+
"type": "RectanglePdf"
130+
},
131+
{
132+
"name": "pageIndex",
133+
"baseName": "PageIndex",
134+
"type": "number"
135+
},
136+
{
137+
"name": "zIndex",
138+
"baseName": "ZIndex",
139+
"type": "number"
140+
},
141+
{
142+
"name": "horizontalAlignment",
143+
"baseName": "HorizontalAlignment",
144+
"type": "HorizontalAlignment"
145+
},
146+
{
147+
"name": "verticalAlignment",
148+
"baseName": "VerticalAlignment",
149+
"type": "VerticalAlignment"
86150
} ];
87151

88152
static getAttributeTypeMap() {

src/models/annotationFlags.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/**
2+
*
3+
* Copyright (c) 2018 Aspose.PDF Cloud
4+
* Permission is hereby granted, free of charge, to any person obtaining a copy
5+
* of this software and associated documentation files (the "Software"), to deal
6+
* in the Software without restriction, including without limitation the rights
7+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
* copies of the Software, and to permit persons to whom the Software is
9+
* furnished to do so, subject to the following conditions:
10+
* The above copyright notice and this permission notice shall be included in all
11+
* copies or substantial portions of the Software.
12+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18+
* SOFTWARE.
19+
*
20+
*/
21+
22+
23+
/**
24+
* A set of flags specifying various characteristics of the annotation.
25+
*/
26+
export class AnnotationFlags {
27+
28+
static discriminator = undefined;
29+
30+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
31+
];
32+
33+
static getAttributeTypeMap() {
34+
return AnnotationFlags.attributeTypeMap;
35+
}
36+
}
37+
38+

src/models/annotationInfo.ts

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/**
2+
*
3+
* Copyright (c) 2018 Aspose.PDF Cloud
4+
* Permission is hereby granted, free of charge, to any person obtaining a copy
5+
* of this software and associated documentation files (the "Software"), to deal
6+
* in the Software without restriction, including without limitation the rights
7+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
* copies of the Software, and to permit persons to whom the Software is
9+
* furnished to do so, subject to the following conditions:
10+
* The above copyright notice and this permission notice shall be included in all
11+
* copies or substantial portions of the Software.
12+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18+
* SOFTWARE.
19+
*
20+
*/
21+
22+
import { Annotation } from "./annotation";
23+
24+
/**
25+
* Provides annotation.
26+
*/
27+
export class AnnotationInfo extends Annotation {
28+
/**
29+
* Gets annotation type.
30+
*/
31+
'annotationType': AnnotationType;
32+
33+
static discriminator = undefined;
34+
35+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
36+
{
37+
"name": "annotationType",
38+
"baseName": "AnnotationType",
39+
"type": "AnnotationType"
40+
} ];
41+
42+
static getAttributeTypeMap() {
43+
return super.getAttributeTypeMap().concat(AnnotationInfo.attributeTypeMap);
44+
}
45+
}
46+
47+

src/models/annotationState.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/**
2+
*
3+
* Copyright (c) 2018 Aspose.PDF Cloud
4+
* Permission is hereby granted, free of charge, to any person obtaining a copy
5+
* of this software and associated documentation files (the "Software"), to deal
6+
* in the Software without restriction, including without limitation the rights
7+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
* copies of the Software, and to permit persons to whom the Software is
9+
* furnished to do so, subject to the following conditions:
10+
* The above copyright notice and this permission notice shall be included in all
11+
* copies or substantial portions of the Software.
12+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18+
* SOFTWARE.
19+
*
20+
*/
21+
22+
23+
/**
24+
* The enumeration of states to which the original annotation can be set.
25+
*/
26+
export class AnnotationState {
27+
28+
static discriminator = undefined;
29+
30+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
31+
];
32+
33+
static getAttributeTypeMap() {
34+
return AnnotationState.attributeTypeMap;
35+
}
36+
}
37+
38+

src/models/annotationType.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/**
2+
*
3+
* Copyright (c) 2018 Aspose.PDF Cloud
4+
* Permission is hereby granted, free of charge, to any person obtaining a copy
5+
* of this software and associated documentation files (the "Software"), to deal
6+
* in the Software without restriction, including without limitation the rights
7+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
* copies of the Software, and to permit persons to whom the Software is
9+
* furnished to do so, subject to the following conditions:
10+
* The above copyright notice and this permission notice shall be included in all
11+
* copies or substantial portions of the Software.
12+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18+
* SOFTWARE.
19+
*
20+
*/
21+
22+
23+
/**
24+
*
25+
*/
26+
export class AnnotationType {
27+
28+
static discriminator = undefined;
29+
30+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
31+
];
32+
33+
static getAttributeTypeMap() {
34+
return AnnotationType.attributeTypeMap;
35+
}
36+
}
37+
38+

src/models/annotations.ts renamed to src/models/annotationsInfo.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@ import { LinkElement } from "./linkElement";
2424
/**
2525
* List of annotations.
2626
*/
27-
export class Annotations extends LinkElement {
28-
'list': Array<LinkElement>;
27+
export class AnnotationsInfo extends LinkElement {
28+
'list': Array<AnnotationInfo>;
2929

3030
static discriminator = undefined;
3131

3232
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
3333
{
3434
"name": "list",
3535
"baseName": "List",
36-
"type": "Array<LinkElement>"
36+
"type": "Array<AnnotationInfo>"
3737
} ];
3838

3939
static getAttributeTypeMap() {
40-
return super.getAttributeTypeMap().concat(Annotations.attributeTypeMap);
40+
return super.getAttributeTypeMap().concat(AnnotationsInfo.attributeTypeMap);
4141
}
4242
}
4343

src/models/annotationsResponse.ts renamed to src/models/annotationsInfoResponse.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,21 @@
1919
*
2020
*/
2121

22-
import { Annotations } from "./annotations";
23-
import { SaaSposeResponse } from "./saaSposeResponse";
2422

25-
export class AnnotationsResponse extends SaaSposeResponse {
26-
'annotations': Annotations;
23+
export class AnnotationsInfoResponse extends AsposeResponse {
24+
'annotations': AnnotationsInfo;
2725

2826
static discriminator = undefined;
2927

3028
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
3129
{
3230
"name": "annotations",
3331
"baseName": "Annotations",
34-
"type": "Annotations"
32+
"type": "AnnotationsInfo"
3533
} ];
3634

3735
static getAttributeTypeMap() {
38-
return super.getAttributeTypeMap().concat(AnnotationsResponse.attributeTypeMap);
36+
return super.getAttributeTypeMap().concat(AnnotationsInfoResponse.attributeTypeMap);
3937
}
4038
}
4139

src/models/saaSposeResponse.ts renamed to src/models/asposeResponse.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,15 @@
1919
*
2020
*/
2121

22-
import { HttpStatusCode } from "./httpStatusCode";
2322

2423
/**
2524
* Base class for all responses.
2625
*/
27-
export class SaaSposeResponse {
26+
export class AsposeResponse {
2827
/**
2928
* Response status code.
3029
*/
31-
'code': HttpStatusCode;
30+
'code': number;
3231
/**
3332
* Response status.
3433
*/
@@ -40,7 +39,7 @@ export class SaaSposeResponse {
4039
{
4140
"name": "code",
4241
"baseName": "Code",
43-
"type": "HttpStatusCode"
42+
"type": "number"
4443
},
4544
{
4645
"name": "status",
@@ -49,7 +48,7 @@ export class SaaSposeResponse {
4948
} ];
5049

5150
static getAttributeTypeMap() {
52-
return SaaSposeResponse.attributeTypeMap;
51+
return AsposeResponse.attributeTypeMap;
5352
}
5453
}
5554

0 commit comments

Comments
 (0)