@cloudpdf/sdk 3.0.0-next.13 → 3.0.0-next.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/doc/resources/pages/client/Client.d.ts +35 -0
  3. package/dist/cjs/api/resources/doc/resources/pages/client/Client.js +126 -0
  4. package/dist/cjs/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.d.ts +214 -0
  5. package/dist/cjs/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.js +109 -0
  6. package/dist/cjs/api/resources/doc/resources/pages/client/requests/ViewportsPagesRequest.d.ts +15 -0
  7. package/dist/cjs/api/resources/doc/resources/pages/client/requests/ViewportsPagesRequest.js +3 -0
  8. package/dist/cjs/api/resources/doc/resources/pages/client/requests/index.d.ts +2 -0
  9. package/dist/cjs/api/resources/doc/resources/pages/client/requests/index.js +3 -0
  10. package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItem.d.ts +65 -0
  11. package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItem.js +18 -0
  12. package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemLineMeasure.d.ts +202 -0
  13. package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemLineMeasure.js +106 -0
  14. package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.d.ts +202 -0
  15. package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.js +106 -0
  16. package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure.d.ts +202 -0
  17. package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure.js +106 -0
  18. package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItem.d.ts +65 -0
  19. package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItem.js +18 -0
  20. package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasure.d.ts +202 -0
  21. package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasure.js +106 -0
  22. package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasure.d.ts +202 -0
  23. package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasure.js +106 -0
  24. package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasure.d.ts +202 -0
  25. package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasure.js +106 -0
  26. package/dist/cjs/api/types/DocPagesSetScale200Response.d.ts +51 -0
  27. package/dist/cjs/api/types/DocPagesSetScale200Response.js +3 -0
  28. package/dist/cjs/api/types/DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationState.d.ts +11 -0
  29. package/dist/cjs/api/types/DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationState.js +3 -0
  30. package/dist/cjs/api/types/DocPagesSetScale400Response.d.ts +40 -0
  31. package/dist/cjs/api/types/DocPagesSetScale400Response.js +37 -0
  32. package/dist/cjs/api/types/DocPagesSetScale404Response.d.ts +40 -0
  33. package/dist/cjs/api/types/DocPagesSetScale404Response.js +37 -0
  34. package/dist/cjs/api/types/DocPagesViewports200Response.d.ts +2 -0
  35. package/dist/cjs/api/types/DocPagesViewports200Response.js +3 -0
  36. package/dist/cjs/api/types/DocPagesViewports200ResponseItem.d.ts +15 -0
  37. package/dist/cjs/api/types/DocPagesViewports200ResponseItem.js +3 -0
  38. package/dist/cjs/api/types/DocPagesViewports200ResponseItemMeasure.d.ts +202 -0
  39. package/dist/cjs/api/types/DocPagesViewports200ResponseItemMeasure.js +106 -0
  40. package/dist/cjs/api/types/DocPagesViewports404Response.d.ts +40 -0
  41. package/dist/cjs/api/types/DocPagesViewports404Response.js +37 -0
  42. package/dist/cjs/api/types/index.d.ts +14 -0
  43. package/dist/cjs/api/types/index.js +14 -0
  44. package/dist/cjs/version.d.ts +1 -1
  45. package/dist/cjs/version.js +1 -1
  46. package/dist/esm/BaseClient.mjs +2 -2
  47. package/dist/esm/api/resources/doc/resources/pages/client/Client.d.mts +35 -0
  48. package/dist/esm/api/resources/doc/resources/pages/client/Client.mjs +126 -0
  49. package/dist/esm/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.d.mts +214 -0
  50. package/dist/esm/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.mjs +106 -0
  51. package/dist/esm/api/resources/doc/resources/pages/client/requests/ViewportsPagesRequest.d.mts +15 -0
  52. package/dist/esm/api/resources/doc/resources/pages/client/requests/ViewportsPagesRequest.mjs +2 -0
  53. package/dist/esm/api/resources/doc/resources/pages/client/requests/index.d.mts +2 -0
  54. package/dist/esm/api/resources/doc/resources/pages/client/requests/index.mjs +1 -1
  55. package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItem.d.mts +65 -0
  56. package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItem.mjs +18 -0
  57. package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemLineMeasure.d.mts +202 -0
  58. package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemLineMeasure.mjs +103 -0
  59. package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.d.mts +202 -0
  60. package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.mjs +103 -0
  61. package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure.d.mts +202 -0
  62. package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure.mjs +103 -0
  63. package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItem.d.mts +65 -0
  64. package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItem.mjs +18 -0
  65. package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasure.d.mts +202 -0
  66. package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasure.mjs +103 -0
  67. package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasure.d.mts +202 -0
  68. package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasure.mjs +103 -0
  69. package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasure.d.mts +202 -0
  70. package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasure.mjs +103 -0
  71. package/dist/esm/api/types/DocPagesSetScale200Response.d.mts +51 -0
  72. package/dist/esm/api/types/DocPagesSetScale200Response.mjs +2 -0
  73. package/dist/esm/api/types/DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationState.d.mts +11 -0
  74. package/dist/esm/api/types/DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationState.mjs +2 -0
  75. package/dist/esm/api/types/DocPagesSetScale400Response.d.mts +40 -0
  76. package/dist/esm/api/types/DocPagesSetScale400Response.mjs +34 -0
  77. package/dist/esm/api/types/DocPagesSetScale404Response.d.mts +40 -0
  78. package/dist/esm/api/types/DocPagesSetScale404Response.mjs +34 -0
  79. package/dist/esm/api/types/DocPagesViewports200Response.d.mts +2 -0
  80. package/dist/esm/api/types/DocPagesViewports200Response.mjs +2 -0
  81. package/dist/esm/api/types/DocPagesViewports200ResponseItem.d.mts +15 -0
  82. package/dist/esm/api/types/DocPagesViewports200ResponseItem.mjs +2 -0
  83. package/dist/esm/api/types/DocPagesViewports200ResponseItemMeasure.d.mts +202 -0
  84. package/dist/esm/api/types/DocPagesViewports200ResponseItemMeasure.mjs +103 -0
  85. package/dist/esm/api/types/DocPagesViewports404Response.d.mts +40 -0
  86. package/dist/esm/api/types/DocPagesViewports404Response.mjs +34 -0
  87. package/dist/esm/api/types/index.d.mts +14 -0
  88. package/dist/esm/api/types/index.mjs +14 -0
  89. package/dist/esm/version.d.mts +1 -1
  90. package/dist/esm/version.mjs +1 -1
  91. package/package.json +1 -1
  92. package/reference.md +106 -0
@@ -195,6 +195,10 @@ var DocAnnotationsList200ResponseAnnotationsItem;
195
195
  })(DocAnnotationsList200ResponseAnnotationsItemSquare = DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemSquare || (DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemSquare = {}));
196
196
  let DocAnnotationsList200ResponseAnnotationsItemPolygon;
197
197
  (function (DocAnnotationsList200ResponseAnnotationsItemPolygon) {
198
+ DocAnnotationsList200ResponseAnnotationsItemPolygon.Intent = {
199
+ PolygonCloud: "PolygonCloud",
200
+ PolygonDimension: "PolygonDimension",
201
+ };
198
202
  DocAnnotationsList200ResponseAnnotationsItemPolygon.IdentityQuality = {
199
203
  Durable: "durable",
200
204
  Weak: "weak",
@@ -230,6 +234,9 @@ var DocAnnotationsList200ResponseAnnotationsItem;
230
234
  })(DocAnnotationsList200ResponseAnnotationsItemPolygon = DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemPolygon || (DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemPolygon = {}));
231
235
  let DocAnnotationsList200ResponseAnnotationsItemPolyline;
232
236
  (function (DocAnnotationsList200ResponseAnnotationsItemPolyline) {
237
+ DocAnnotationsList200ResponseAnnotationsItemPolyline.Intent = {
238
+ PolyLineDimension: "PolyLineDimension",
239
+ };
233
240
  DocAnnotationsList200ResponseAnnotationsItemPolyline.IdentityQuality = {
234
241
  Durable: "durable",
235
242
  Weak: "weak",
@@ -292,6 +299,17 @@ var DocAnnotationsList200ResponseAnnotationsItem;
292
299
  })(DocAnnotationsList200ResponseAnnotationsItemPolyline = DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemPolyline || (DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemPolyline = {}));
293
300
  let DocAnnotationsList200ResponseAnnotationsItemLine;
294
301
  (function (DocAnnotationsList200ResponseAnnotationsItemLine) {
302
+ DocAnnotationsList200ResponseAnnotationsItemLine.Intent = {
303
+ LineArrow: "LineArrow",
304
+ LineDimension: "LineDimension",
305
+ };
306
+ let Caption;
307
+ (function (Caption) {
308
+ Caption.Position = {
309
+ Inline: "inline",
310
+ Top: "top",
311
+ };
312
+ })(Caption = DocAnnotationsList200ResponseAnnotationsItemLine.Caption || (DocAnnotationsList200ResponseAnnotationsItemLine.Caption = {}));
295
313
  DocAnnotationsList200ResponseAnnotationsItemLine.IdentityQuality = {
296
314
  Durable: "durable",
297
315
  Weak: "weak",
@@ -0,0 +1,202 @@
1
+ import type * as CloudPDF from "../index.js";
2
+ export type DocAnnotationsList200ResponseAnnotationsItemLineMeasure = CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLineMeasure.Rl | CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLineMeasure.Geo | CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLineMeasure.Unknown;
3
+ export declare namespace DocAnnotationsList200ResponseAnnotationsItemLineMeasure {
4
+ interface Rl {
5
+ subtype: "RL";
6
+ ratio?: string | undefined;
7
+ x: DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.X.Item[];
8
+ y?: DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Y.Item[] | undefined;
9
+ distance: DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Distance.Item[];
10
+ area: DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Area.Item[];
11
+ angle?: DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Angle.Item[] | undefined;
12
+ slope?: DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Slope.Item[] | undefined;
13
+ origin?: DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Origin | undefined;
14
+ cyx?: number | undefined;
15
+ }
16
+ namespace DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl {
17
+ type X = X.Item[];
18
+ namespace X {
19
+ interface Item {
20
+ unit: string;
21
+ conversion?: number | undefined;
22
+ fraction?: Item.Fraction | undefined;
23
+ precision?: number | undefined;
24
+ fixed?: boolean | undefined;
25
+ thousands?: string | undefined;
26
+ decimal?: string | undefined;
27
+ prefixSpacing?: string | undefined;
28
+ suffixSpacing?: string | undefined;
29
+ labelPosition?: Item.LabelPosition | undefined;
30
+ }
31
+ namespace Item {
32
+ const Fraction: {
33
+ readonly Decimal: "decimal";
34
+ readonly Fraction: "fraction";
35
+ readonly Round: "round";
36
+ readonly Truncate: "truncate";
37
+ };
38
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
39
+ const LabelPosition: {
40
+ readonly Suffix: "suffix";
41
+ readonly Prefix: "prefix";
42
+ };
43
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
44
+ }
45
+ }
46
+ type Y = Y.Item[];
47
+ namespace Y {
48
+ interface Item {
49
+ unit: string;
50
+ conversion?: number | undefined;
51
+ fraction?: Item.Fraction | undefined;
52
+ precision?: number | undefined;
53
+ fixed?: boolean | undefined;
54
+ thousands?: string | undefined;
55
+ decimal?: string | undefined;
56
+ prefixSpacing?: string | undefined;
57
+ suffixSpacing?: string | undefined;
58
+ labelPosition?: Item.LabelPosition | undefined;
59
+ }
60
+ namespace Item {
61
+ const Fraction: {
62
+ readonly Decimal: "decimal";
63
+ readonly Fraction: "fraction";
64
+ readonly Round: "round";
65
+ readonly Truncate: "truncate";
66
+ };
67
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
68
+ const LabelPosition: {
69
+ readonly Suffix: "suffix";
70
+ readonly Prefix: "prefix";
71
+ };
72
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
73
+ }
74
+ }
75
+ type Distance = Distance.Item[];
76
+ namespace Distance {
77
+ interface Item {
78
+ unit: string;
79
+ conversion?: number | undefined;
80
+ fraction?: Item.Fraction | undefined;
81
+ precision?: number | undefined;
82
+ fixed?: boolean | undefined;
83
+ thousands?: string | undefined;
84
+ decimal?: string | undefined;
85
+ prefixSpacing?: string | undefined;
86
+ suffixSpacing?: string | undefined;
87
+ labelPosition?: Item.LabelPosition | undefined;
88
+ }
89
+ namespace Item {
90
+ const Fraction: {
91
+ readonly Decimal: "decimal";
92
+ readonly Fraction: "fraction";
93
+ readonly Round: "round";
94
+ readonly Truncate: "truncate";
95
+ };
96
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
97
+ const LabelPosition: {
98
+ readonly Suffix: "suffix";
99
+ readonly Prefix: "prefix";
100
+ };
101
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
102
+ }
103
+ }
104
+ type Area = Area.Item[];
105
+ namespace Area {
106
+ interface Item {
107
+ unit: string;
108
+ conversion?: number | undefined;
109
+ fraction?: Item.Fraction | undefined;
110
+ precision?: number | undefined;
111
+ fixed?: boolean | undefined;
112
+ thousands?: string | undefined;
113
+ decimal?: string | undefined;
114
+ prefixSpacing?: string | undefined;
115
+ suffixSpacing?: string | undefined;
116
+ labelPosition?: Item.LabelPosition | undefined;
117
+ }
118
+ namespace Item {
119
+ const Fraction: {
120
+ readonly Decimal: "decimal";
121
+ readonly Fraction: "fraction";
122
+ readonly Round: "round";
123
+ readonly Truncate: "truncate";
124
+ };
125
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
126
+ const LabelPosition: {
127
+ readonly Suffix: "suffix";
128
+ readonly Prefix: "prefix";
129
+ };
130
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
131
+ }
132
+ }
133
+ type Angle = Angle.Item[];
134
+ namespace Angle {
135
+ interface Item {
136
+ unit: string;
137
+ conversion?: number | undefined;
138
+ fraction?: Item.Fraction | undefined;
139
+ precision?: number | undefined;
140
+ fixed?: boolean | undefined;
141
+ thousands?: string | undefined;
142
+ decimal?: string | undefined;
143
+ prefixSpacing?: string | undefined;
144
+ suffixSpacing?: string | undefined;
145
+ labelPosition?: Item.LabelPosition | undefined;
146
+ }
147
+ namespace Item {
148
+ const Fraction: {
149
+ readonly Decimal: "decimal";
150
+ readonly Fraction: "fraction";
151
+ readonly Round: "round";
152
+ readonly Truncate: "truncate";
153
+ };
154
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
155
+ const LabelPosition: {
156
+ readonly Suffix: "suffix";
157
+ readonly Prefix: "prefix";
158
+ };
159
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
160
+ }
161
+ }
162
+ type Slope = Slope.Item[];
163
+ namespace Slope {
164
+ interface Item {
165
+ unit: string;
166
+ conversion?: number | undefined;
167
+ fraction?: Item.Fraction | undefined;
168
+ precision?: number | undefined;
169
+ fixed?: boolean | undefined;
170
+ thousands?: string | undefined;
171
+ decimal?: string | undefined;
172
+ prefixSpacing?: string | undefined;
173
+ suffixSpacing?: string | undefined;
174
+ labelPosition?: Item.LabelPosition | undefined;
175
+ }
176
+ namespace Item {
177
+ const Fraction: {
178
+ readonly Decimal: "decimal";
179
+ readonly Fraction: "fraction";
180
+ readonly Round: "round";
181
+ readonly Truncate: "truncate";
182
+ };
183
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
184
+ const LabelPosition: {
185
+ readonly Suffix: "suffix";
186
+ readonly Prefix: "prefix";
187
+ };
188
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
189
+ }
190
+ }
191
+ interface Origin {
192
+ x: number;
193
+ y: number;
194
+ }
195
+ }
196
+ interface Geo {
197
+ subtype: "GEO";
198
+ }
199
+ interface Unknown {
200
+ subtype: "unknown";
201
+ }
202
+ }
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DocAnnotationsList200ResponseAnnotationsItemLineMeasure = void 0;
5
+ var DocAnnotationsList200ResponseAnnotationsItemLineMeasure;
6
+ (function (DocAnnotationsList200ResponseAnnotationsItemLineMeasure) {
7
+ let DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl;
8
+ (function (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl) {
9
+ let X;
10
+ (function (X) {
11
+ let Item;
12
+ (function (Item) {
13
+ Item.Fraction = {
14
+ Decimal: "decimal",
15
+ Fraction: "fraction",
16
+ Round: "round",
17
+ Truncate: "truncate",
18
+ };
19
+ Item.LabelPosition = {
20
+ Suffix: "suffix",
21
+ Prefix: "prefix",
22
+ };
23
+ })(Item = X.Item || (X.Item = {}));
24
+ })(X = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.X || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.X = {}));
25
+ let Y;
26
+ (function (Y) {
27
+ let Item;
28
+ (function (Item) {
29
+ Item.Fraction = {
30
+ Decimal: "decimal",
31
+ Fraction: "fraction",
32
+ Round: "round",
33
+ Truncate: "truncate",
34
+ };
35
+ Item.LabelPosition = {
36
+ Suffix: "suffix",
37
+ Prefix: "prefix",
38
+ };
39
+ })(Item = Y.Item || (Y.Item = {}));
40
+ })(Y = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Y || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Y = {}));
41
+ let Distance;
42
+ (function (Distance) {
43
+ let Item;
44
+ (function (Item) {
45
+ Item.Fraction = {
46
+ Decimal: "decimal",
47
+ Fraction: "fraction",
48
+ Round: "round",
49
+ Truncate: "truncate",
50
+ };
51
+ Item.LabelPosition = {
52
+ Suffix: "suffix",
53
+ Prefix: "prefix",
54
+ };
55
+ })(Item = Distance.Item || (Distance.Item = {}));
56
+ })(Distance = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Distance || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Distance = {}));
57
+ let Area;
58
+ (function (Area) {
59
+ let Item;
60
+ (function (Item) {
61
+ Item.Fraction = {
62
+ Decimal: "decimal",
63
+ Fraction: "fraction",
64
+ Round: "round",
65
+ Truncate: "truncate",
66
+ };
67
+ Item.LabelPosition = {
68
+ Suffix: "suffix",
69
+ Prefix: "prefix",
70
+ };
71
+ })(Item = Area.Item || (Area.Item = {}));
72
+ })(Area = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Area || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Area = {}));
73
+ let Angle;
74
+ (function (Angle) {
75
+ let Item;
76
+ (function (Item) {
77
+ Item.Fraction = {
78
+ Decimal: "decimal",
79
+ Fraction: "fraction",
80
+ Round: "round",
81
+ Truncate: "truncate",
82
+ };
83
+ Item.LabelPosition = {
84
+ Suffix: "suffix",
85
+ Prefix: "prefix",
86
+ };
87
+ })(Item = Angle.Item || (Angle.Item = {}));
88
+ })(Angle = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Angle || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Angle = {}));
89
+ let Slope;
90
+ (function (Slope) {
91
+ let Item;
92
+ (function (Item) {
93
+ Item.Fraction = {
94
+ Decimal: "decimal",
95
+ Fraction: "fraction",
96
+ Round: "round",
97
+ Truncate: "truncate",
98
+ };
99
+ Item.LabelPosition = {
100
+ Suffix: "suffix",
101
+ Prefix: "prefix",
102
+ };
103
+ })(Item = Slope.Item || (Slope.Item = {}));
104
+ })(Slope = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Slope || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Slope = {}));
105
+ })(DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl = DocAnnotationsList200ResponseAnnotationsItemLineMeasure.DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl || (DocAnnotationsList200ResponseAnnotationsItemLineMeasure.DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl = {}));
106
+ })(DocAnnotationsList200ResponseAnnotationsItemLineMeasure || (exports.DocAnnotationsList200ResponseAnnotationsItemLineMeasure = DocAnnotationsList200ResponseAnnotationsItemLineMeasure = {}));
@@ -0,0 +1,202 @@
1
+ import type * as CloudPDF from "../index.js";
2
+ export type DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure = CloudPDF.DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.Rl | CloudPDF.DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.Geo | CloudPDF.DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.Unknown;
3
+ export declare namespace DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure {
4
+ interface Rl {
5
+ subtype: "RL";
6
+ ratio?: string | undefined;
7
+ x: DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.X.Item[];
8
+ y?: DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Y.Item[] | undefined;
9
+ distance: DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Distance.Item[];
10
+ area: DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Area.Item[];
11
+ angle?: DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Angle.Item[] | undefined;
12
+ slope?: DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Slope.Item[] | undefined;
13
+ origin?: DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Origin | undefined;
14
+ cyx?: number | undefined;
15
+ }
16
+ namespace DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl {
17
+ type X = X.Item[];
18
+ namespace X {
19
+ interface Item {
20
+ unit: string;
21
+ conversion?: number | undefined;
22
+ fraction?: Item.Fraction | undefined;
23
+ precision?: number | undefined;
24
+ fixed?: boolean | undefined;
25
+ thousands?: string | undefined;
26
+ decimal?: string | undefined;
27
+ prefixSpacing?: string | undefined;
28
+ suffixSpacing?: string | undefined;
29
+ labelPosition?: Item.LabelPosition | undefined;
30
+ }
31
+ namespace Item {
32
+ const Fraction: {
33
+ readonly Decimal: "decimal";
34
+ readonly Fraction: "fraction";
35
+ readonly Round: "round";
36
+ readonly Truncate: "truncate";
37
+ };
38
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
39
+ const LabelPosition: {
40
+ readonly Suffix: "suffix";
41
+ readonly Prefix: "prefix";
42
+ };
43
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
44
+ }
45
+ }
46
+ type Y = Y.Item[];
47
+ namespace Y {
48
+ interface Item {
49
+ unit: string;
50
+ conversion?: number | undefined;
51
+ fraction?: Item.Fraction | undefined;
52
+ precision?: number | undefined;
53
+ fixed?: boolean | undefined;
54
+ thousands?: string | undefined;
55
+ decimal?: string | undefined;
56
+ prefixSpacing?: string | undefined;
57
+ suffixSpacing?: string | undefined;
58
+ labelPosition?: Item.LabelPosition | undefined;
59
+ }
60
+ namespace Item {
61
+ const Fraction: {
62
+ readonly Decimal: "decimal";
63
+ readonly Fraction: "fraction";
64
+ readonly Round: "round";
65
+ readonly Truncate: "truncate";
66
+ };
67
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
68
+ const LabelPosition: {
69
+ readonly Suffix: "suffix";
70
+ readonly Prefix: "prefix";
71
+ };
72
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
73
+ }
74
+ }
75
+ type Distance = Distance.Item[];
76
+ namespace Distance {
77
+ interface Item {
78
+ unit: string;
79
+ conversion?: number | undefined;
80
+ fraction?: Item.Fraction | undefined;
81
+ precision?: number | undefined;
82
+ fixed?: boolean | undefined;
83
+ thousands?: string | undefined;
84
+ decimal?: string | undefined;
85
+ prefixSpacing?: string | undefined;
86
+ suffixSpacing?: string | undefined;
87
+ labelPosition?: Item.LabelPosition | undefined;
88
+ }
89
+ namespace Item {
90
+ const Fraction: {
91
+ readonly Decimal: "decimal";
92
+ readonly Fraction: "fraction";
93
+ readonly Round: "round";
94
+ readonly Truncate: "truncate";
95
+ };
96
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
97
+ const LabelPosition: {
98
+ readonly Suffix: "suffix";
99
+ readonly Prefix: "prefix";
100
+ };
101
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
102
+ }
103
+ }
104
+ type Area = Area.Item[];
105
+ namespace Area {
106
+ interface Item {
107
+ unit: string;
108
+ conversion?: number | undefined;
109
+ fraction?: Item.Fraction | undefined;
110
+ precision?: number | undefined;
111
+ fixed?: boolean | undefined;
112
+ thousands?: string | undefined;
113
+ decimal?: string | undefined;
114
+ prefixSpacing?: string | undefined;
115
+ suffixSpacing?: string | undefined;
116
+ labelPosition?: Item.LabelPosition | undefined;
117
+ }
118
+ namespace Item {
119
+ const Fraction: {
120
+ readonly Decimal: "decimal";
121
+ readonly Fraction: "fraction";
122
+ readonly Round: "round";
123
+ readonly Truncate: "truncate";
124
+ };
125
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
126
+ const LabelPosition: {
127
+ readonly Suffix: "suffix";
128
+ readonly Prefix: "prefix";
129
+ };
130
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
131
+ }
132
+ }
133
+ type Angle = Angle.Item[];
134
+ namespace Angle {
135
+ interface Item {
136
+ unit: string;
137
+ conversion?: number | undefined;
138
+ fraction?: Item.Fraction | undefined;
139
+ precision?: number | undefined;
140
+ fixed?: boolean | undefined;
141
+ thousands?: string | undefined;
142
+ decimal?: string | undefined;
143
+ prefixSpacing?: string | undefined;
144
+ suffixSpacing?: string | undefined;
145
+ labelPosition?: Item.LabelPosition | undefined;
146
+ }
147
+ namespace Item {
148
+ const Fraction: {
149
+ readonly Decimal: "decimal";
150
+ readonly Fraction: "fraction";
151
+ readonly Round: "round";
152
+ readonly Truncate: "truncate";
153
+ };
154
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
155
+ const LabelPosition: {
156
+ readonly Suffix: "suffix";
157
+ readonly Prefix: "prefix";
158
+ };
159
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
160
+ }
161
+ }
162
+ type Slope = Slope.Item[];
163
+ namespace Slope {
164
+ interface Item {
165
+ unit: string;
166
+ conversion?: number | undefined;
167
+ fraction?: Item.Fraction | undefined;
168
+ precision?: number | undefined;
169
+ fixed?: boolean | undefined;
170
+ thousands?: string | undefined;
171
+ decimal?: string | undefined;
172
+ prefixSpacing?: string | undefined;
173
+ suffixSpacing?: string | undefined;
174
+ labelPosition?: Item.LabelPosition | undefined;
175
+ }
176
+ namespace Item {
177
+ const Fraction: {
178
+ readonly Decimal: "decimal";
179
+ readonly Fraction: "fraction";
180
+ readonly Round: "round";
181
+ readonly Truncate: "truncate";
182
+ };
183
+ type Fraction = (typeof Fraction)[keyof typeof Fraction];
184
+ const LabelPosition: {
185
+ readonly Suffix: "suffix";
186
+ readonly Prefix: "prefix";
187
+ };
188
+ type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
189
+ }
190
+ }
191
+ interface Origin {
192
+ x: number;
193
+ y: number;
194
+ }
195
+ }
196
+ interface Geo {
197
+ subtype: "GEO";
198
+ }
199
+ interface Unknown {
200
+ subtype: "unknown";
201
+ }
202
+ }
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure = void 0;
5
+ var DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure;
6
+ (function (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure) {
7
+ let DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl;
8
+ (function (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl) {
9
+ let X;
10
+ (function (X) {
11
+ let Item;
12
+ (function (Item) {
13
+ Item.Fraction = {
14
+ Decimal: "decimal",
15
+ Fraction: "fraction",
16
+ Round: "round",
17
+ Truncate: "truncate",
18
+ };
19
+ Item.LabelPosition = {
20
+ Suffix: "suffix",
21
+ Prefix: "prefix",
22
+ };
23
+ })(Item = X.Item || (X.Item = {}));
24
+ })(X = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.X || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.X = {}));
25
+ let Y;
26
+ (function (Y) {
27
+ let Item;
28
+ (function (Item) {
29
+ Item.Fraction = {
30
+ Decimal: "decimal",
31
+ Fraction: "fraction",
32
+ Round: "round",
33
+ Truncate: "truncate",
34
+ };
35
+ Item.LabelPosition = {
36
+ Suffix: "suffix",
37
+ Prefix: "prefix",
38
+ };
39
+ })(Item = Y.Item || (Y.Item = {}));
40
+ })(Y = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Y || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Y = {}));
41
+ let Distance;
42
+ (function (Distance) {
43
+ let Item;
44
+ (function (Item) {
45
+ Item.Fraction = {
46
+ Decimal: "decimal",
47
+ Fraction: "fraction",
48
+ Round: "round",
49
+ Truncate: "truncate",
50
+ };
51
+ Item.LabelPosition = {
52
+ Suffix: "suffix",
53
+ Prefix: "prefix",
54
+ };
55
+ })(Item = Distance.Item || (Distance.Item = {}));
56
+ })(Distance = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Distance || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Distance = {}));
57
+ let Area;
58
+ (function (Area) {
59
+ let Item;
60
+ (function (Item) {
61
+ Item.Fraction = {
62
+ Decimal: "decimal",
63
+ Fraction: "fraction",
64
+ Round: "round",
65
+ Truncate: "truncate",
66
+ };
67
+ Item.LabelPosition = {
68
+ Suffix: "suffix",
69
+ Prefix: "prefix",
70
+ };
71
+ })(Item = Area.Item || (Area.Item = {}));
72
+ })(Area = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Area || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Area = {}));
73
+ let Angle;
74
+ (function (Angle) {
75
+ let Item;
76
+ (function (Item) {
77
+ Item.Fraction = {
78
+ Decimal: "decimal",
79
+ Fraction: "fraction",
80
+ Round: "round",
81
+ Truncate: "truncate",
82
+ };
83
+ Item.LabelPosition = {
84
+ Suffix: "suffix",
85
+ Prefix: "prefix",
86
+ };
87
+ })(Item = Angle.Item || (Angle.Item = {}));
88
+ })(Angle = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Angle || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Angle = {}));
89
+ let Slope;
90
+ (function (Slope) {
91
+ let Item;
92
+ (function (Item) {
93
+ Item.Fraction = {
94
+ Decimal: "decimal",
95
+ Fraction: "fraction",
96
+ Round: "round",
97
+ Truncate: "truncate",
98
+ };
99
+ Item.LabelPosition = {
100
+ Suffix: "suffix",
101
+ Prefix: "prefix",
102
+ };
103
+ })(Item = Slope.Item || (Slope.Item = {}));
104
+ })(Slope = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Slope || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Slope = {}));
105
+ })(DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl = {}));
106
+ })(DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure || (exports.DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure = {}));