@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
@@ -0,0 +1,202 @@
1
+ import type * as CloudPDF from "../index.mjs";
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,103 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export var DocAnnotationsList200ResponseAnnotationsItemLineMeasure;
3
+ (function (DocAnnotationsList200ResponseAnnotationsItemLineMeasure) {
4
+ let DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl;
5
+ (function (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl) {
6
+ let X;
7
+ (function (X) {
8
+ let Item;
9
+ (function (Item) {
10
+ Item.Fraction = {
11
+ Decimal: "decimal",
12
+ Fraction: "fraction",
13
+ Round: "round",
14
+ Truncate: "truncate",
15
+ };
16
+ Item.LabelPosition = {
17
+ Suffix: "suffix",
18
+ Prefix: "prefix",
19
+ };
20
+ })(Item = X.Item || (X.Item = {}));
21
+ })(X = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.X || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.X = {}));
22
+ let Y;
23
+ (function (Y) {
24
+ let Item;
25
+ (function (Item) {
26
+ Item.Fraction = {
27
+ Decimal: "decimal",
28
+ Fraction: "fraction",
29
+ Round: "round",
30
+ Truncate: "truncate",
31
+ };
32
+ Item.LabelPosition = {
33
+ Suffix: "suffix",
34
+ Prefix: "prefix",
35
+ };
36
+ })(Item = Y.Item || (Y.Item = {}));
37
+ })(Y = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Y || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Y = {}));
38
+ let Distance;
39
+ (function (Distance) {
40
+ let Item;
41
+ (function (Item) {
42
+ Item.Fraction = {
43
+ Decimal: "decimal",
44
+ Fraction: "fraction",
45
+ Round: "round",
46
+ Truncate: "truncate",
47
+ };
48
+ Item.LabelPosition = {
49
+ Suffix: "suffix",
50
+ Prefix: "prefix",
51
+ };
52
+ })(Item = Distance.Item || (Distance.Item = {}));
53
+ })(Distance = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Distance || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Distance = {}));
54
+ let Area;
55
+ (function (Area) {
56
+ let Item;
57
+ (function (Item) {
58
+ Item.Fraction = {
59
+ Decimal: "decimal",
60
+ Fraction: "fraction",
61
+ Round: "round",
62
+ Truncate: "truncate",
63
+ };
64
+ Item.LabelPosition = {
65
+ Suffix: "suffix",
66
+ Prefix: "prefix",
67
+ };
68
+ })(Item = Area.Item || (Area.Item = {}));
69
+ })(Area = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Area || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Area = {}));
70
+ let Angle;
71
+ (function (Angle) {
72
+ let Item;
73
+ (function (Item) {
74
+ Item.Fraction = {
75
+ Decimal: "decimal",
76
+ Fraction: "fraction",
77
+ Round: "round",
78
+ Truncate: "truncate",
79
+ };
80
+ Item.LabelPosition = {
81
+ Suffix: "suffix",
82
+ Prefix: "prefix",
83
+ };
84
+ })(Item = Angle.Item || (Angle.Item = {}));
85
+ })(Angle = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Angle || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Angle = {}));
86
+ let Slope;
87
+ (function (Slope) {
88
+ let Item;
89
+ (function (Item) {
90
+ Item.Fraction = {
91
+ Decimal: "decimal",
92
+ Fraction: "fraction",
93
+ Round: "round",
94
+ Truncate: "truncate",
95
+ };
96
+ Item.LabelPosition = {
97
+ Suffix: "suffix",
98
+ Prefix: "prefix",
99
+ };
100
+ })(Item = Slope.Item || (Slope.Item = {}));
101
+ })(Slope = DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Slope || (DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl.Slope = {}));
102
+ })(DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl = DocAnnotationsList200ResponseAnnotationsItemLineMeasure.DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl || (DocAnnotationsList200ResponseAnnotationsItemLineMeasure.DocAnnotationsList200ResponseAnnotationsItemLineMeasureRl = {}));
103
+ })(DocAnnotationsList200ResponseAnnotationsItemLineMeasure || (DocAnnotationsList200ResponseAnnotationsItemLineMeasure = {}));
@@ -0,0 +1,202 @@
1
+ import type * as CloudPDF from "../index.mjs";
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,103 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export var DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure;
3
+ (function (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure) {
4
+ let DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl;
5
+ (function (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl) {
6
+ let X;
7
+ (function (X) {
8
+ let Item;
9
+ (function (Item) {
10
+ Item.Fraction = {
11
+ Decimal: "decimal",
12
+ Fraction: "fraction",
13
+ Round: "round",
14
+ Truncate: "truncate",
15
+ };
16
+ Item.LabelPosition = {
17
+ Suffix: "suffix",
18
+ Prefix: "prefix",
19
+ };
20
+ })(Item = X.Item || (X.Item = {}));
21
+ })(X = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.X || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.X = {}));
22
+ let Y;
23
+ (function (Y) {
24
+ let Item;
25
+ (function (Item) {
26
+ Item.Fraction = {
27
+ Decimal: "decimal",
28
+ Fraction: "fraction",
29
+ Round: "round",
30
+ Truncate: "truncate",
31
+ };
32
+ Item.LabelPosition = {
33
+ Suffix: "suffix",
34
+ Prefix: "prefix",
35
+ };
36
+ })(Item = Y.Item || (Y.Item = {}));
37
+ })(Y = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Y || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Y = {}));
38
+ let Distance;
39
+ (function (Distance) {
40
+ let Item;
41
+ (function (Item) {
42
+ Item.Fraction = {
43
+ Decimal: "decimal",
44
+ Fraction: "fraction",
45
+ Round: "round",
46
+ Truncate: "truncate",
47
+ };
48
+ Item.LabelPosition = {
49
+ Suffix: "suffix",
50
+ Prefix: "prefix",
51
+ };
52
+ })(Item = Distance.Item || (Distance.Item = {}));
53
+ })(Distance = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Distance || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Distance = {}));
54
+ let Area;
55
+ (function (Area) {
56
+ let Item;
57
+ (function (Item) {
58
+ Item.Fraction = {
59
+ Decimal: "decimal",
60
+ Fraction: "fraction",
61
+ Round: "round",
62
+ Truncate: "truncate",
63
+ };
64
+ Item.LabelPosition = {
65
+ Suffix: "suffix",
66
+ Prefix: "prefix",
67
+ };
68
+ })(Item = Area.Item || (Area.Item = {}));
69
+ })(Area = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Area || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Area = {}));
70
+ let Angle;
71
+ (function (Angle) {
72
+ let Item;
73
+ (function (Item) {
74
+ Item.Fraction = {
75
+ Decimal: "decimal",
76
+ Fraction: "fraction",
77
+ Round: "round",
78
+ Truncate: "truncate",
79
+ };
80
+ Item.LabelPosition = {
81
+ Suffix: "suffix",
82
+ Prefix: "prefix",
83
+ };
84
+ })(Item = Angle.Item || (Angle.Item = {}));
85
+ })(Angle = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Angle || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Angle = {}));
86
+ let Slope;
87
+ (function (Slope) {
88
+ let Item;
89
+ (function (Item) {
90
+ Item.Fraction = {
91
+ Decimal: "decimal",
92
+ Fraction: "fraction",
93
+ Round: "round",
94
+ Truncate: "truncate",
95
+ };
96
+ Item.LabelPosition = {
97
+ Suffix: "suffix",
98
+ Prefix: "prefix",
99
+ };
100
+ })(Item = Slope.Item || (Slope.Item = {}));
101
+ })(Slope = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Slope || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl.Slope = {}));
102
+ })(DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl = DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.DocAnnotationsList200ResponseAnnotationsItemPolygonMeasureRl = {}));
103
+ })(DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure || (DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure = {}));