@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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/doc/resources/pages/client/Client.d.ts +35 -0
- package/dist/cjs/api/resources/doc/resources/pages/client/Client.js +126 -0
- package/dist/cjs/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.d.ts +214 -0
- package/dist/cjs/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.js +109 -0
- package/dist/cjs/api/resources/doc/resources/pages/client/requests/ViewportsPagesRequest.d.ts +15 -0
- package/dist/cjs/api/resources/doc/resources/pages/client/requests/ViewportsPagesRequest.js +3 -0
- package/dist/cjs/api/resources/doc/resources/pages/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/doc/resources/pages/client/requests/index.js +3 -0
- package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItem.d.ts +65 -0
- package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItem.js +18 -0
- package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemLineMeasure.d.ts +202 -0
- package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemLineMeasure.js +106 -0
- package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.d.ts +202 -0
- package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.js +106 -0
- package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure.d.ts +202 -0
- package/dist/cjs/api/types/DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure.js +106 -0
- package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItem.d.ts +65 -0
- package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItem.js +18 -0
- package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasure.d.ts +202 -0
- package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasure.js +106 -0
- package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasure.d.ts +202 -0
- package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasure.js +106 -0
- package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasure.d.ts +202 -0
- package/dist/cjs/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasure.js +106 -0
- package/dist/cjs/api/types/DocPagesSetScale200Response.d.ts +51 -0
- package/dist/cjs/api/types/DocPagesSetScale200Response.js +3 -0
- package/dist/cjs/api/types/DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationState.d.ts +11 -0
- package/dist/cjs/api/types/DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationState.js +3 -0
- package/dist/cjs/api/types/DocPagesSetScale400Response.d.ts +40 -0
- package/dist/cjs/api/types/DocPagesSetScale400Response.js +37 -0
- package/dist/cjs/api/types/DocPagesSetScale404Response.d.ts +40 -0
- package/dist/cjs/api/types/DocPagesSetScale404Response.js +37 -0
- package/dist/cjs/api/types/DocPagesViewports200Response.d.ts +2 -0
- package/dist/cjs/api/types/DocPagesViewports200Response.js +3 -0
- package/dist/cjs/api/types/DocPagesViewports200ResponseItem.d.ts +15 -0
- package/dist/cjs/api/types/DocPagesViewports200ResponseItem.js +3 -0
- package/dist/cjs/api/types/DocPagesViewports200ResponseItemMeasure.d.ts +202 -0
- package/dist/cjs/api/types/DocPagesViewports200ResponseItemMeasure.js +106 -0
- package/dist/cjs/api/types/DocPagesViewports404Response.d.ts +40 -0
- package/dist/cjs/api/types/DocPagesViewports404Response.js +37 -0
- package/dist/cjs/api/types/index.d.ts +14 -0
- package/dist/cjs/api/types/index.js +14 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/doc/resources/pages/client/Client.d.mts +35 -0
- package/dist/esm/api/resources/doc/resources/pages/client/Client.mjs +126 -0
- package/dist/esm/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.d.mts +214 -0
- package/dist/esm/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.mjs +106 -0
- package/dist/esm/api/resources/doc/resources/pages/client/requests/ViewportsPagesRequest.d.mts +15 -0
- package/dist/esm/api/resources/doc/resources/pages/client/requests/ViewportsPagesRequest.mjs +2 -0
- package/dist/esm/api/resources/doc/resources/pages/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/doc/resources/pages/client/requests/index.mjs +1 -1
- package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItem.d.mts +65 -0
- package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItem.mjs +18 -0
- package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemLineMeasure.d.mts +202 -0
- package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemLineMeasure.mjs +103 -0
- package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.d.mts +202 -0
- package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure.mjs +103 -0
- package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure.d.mts +202 -0
- package/dist/esm/api/types/DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure.mjs +103 -0
- package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItem.d.mts +65 -0
- package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItem.mjs +18 -0
- package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasure.d.mts +202 -0
- package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemLineMeasure.mjs +103 -0
- package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasure.d.mts +202 -0
- package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolygonMeasure.mjs +103 -0
- package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasure.d.mts +202 -0
- package/dist/esm/api/types/DocAnnotationsListAll200ResponsePagesItemAnnotationsItemPolylineMeasure.mjs +103 -0
- package/dist/esm/api/types/DocPagesSetScale200Response.d.mts +51 -0
- package/dist/esm/api/types/DocPagesSetScale200Response.mjs +2 -0
- package/dist/esm/api/types/DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationState.d.mts +11 -0
- package/dist/esm/api/types/DocPagesSetScale200ResponseMetaAffectedPagesItemWeakAnnotationState.mjs +2 -0
- package/dist/esm/api/types/DocPagesSetScale400Response.d.mts +40 -0
- package/dist/esm/api/types/DocPagesSetScale400Response.mjs +34 -0
- package/dist/esm/api/types/DocPagesSetScale404Response.d.mts +40 -0
- package/dist/esm/api/types/DocPagesSetScale404Response.mjs +34 -0
- package/dist/esm/api/types/DocPagesViewports200Response.d.mts +2 -0
- package/dist/esm/api/types/DocPagesViewports200Response.mjs +2 -0
- package/dist/esm/api/types/DocPagesViewports200ResponseItem.d.mts +15 -0
- package/dist/esm/api/types/DocPagesViewports200ResponseItem.mjs +2 -0
- package/dist/esm/api/types/DocPagesViewports200ResponseItemMeasure.d.mts +202 -0
- package/dist/esm/api/types/DocPagesViewports200ResponseItemMeasure.mjs +103 -0
- package/dist/esm/api/types/DocPagesViewports404Response.d.mts +40 -0
- package/dist/esm/api/types/DocPagesViewports404Response.mjs +34 -0
- package/dist/esm/api/types/index.d.mts +14 -0
- package/dist/esm/api/types/index.mjs +14 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +106 -0
package/dist/esm/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.d.mts
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* docId: "docId",
|
|
5
|
+
* layerName: "layerName",
|
|
6
|
+
* pon: 1
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface DocPagesSetScaleRequest {
|
|
10
|
+
docId: string;
|
|
11
|
+
layerName: string;
|
|
12
|
+
pon: number;
|
|
13
|
+
/** Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. */
|
|
14
|
+
"X-Document-Password"?: string;
|
|
15
|
+
measure: DocPagesSetScaleRequest.Measure | null;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace DocPagesSetScaleRequest {
|
|
18
|
+
interface Measure {
|
|
19
|
+
subtype: Measure.Subtype;
|
|
20
|
+
ratio?: string | undefined;
|
|
21
|
+
x: Measure.X.Item[];
|
|
22
|
+
y?: Measure.Y.Item[] | undefined;
|
|
23
|
+
distance: Measure.Distance.Item[];
|
|
24
|
+
area: Measure.Area.Item[];
|
|
25
|
+
angle?: Measure.Angle.Item[] | undefined;
|
|
26
|
+
slope?: Measure.Slope.Item[] | undefined;
|
|
27
|
+
origin?: Measure.Origin | undefined;
|
|
28
|
+
cyx?: number | undefined;
|
|
29
|
+
}
|
|
30
|
+
namespace Measure {
|
|
31
|
+
const Subtype: {
|
|
32
|
+
readonly Rl: "RL";
|
|
33
|
+
};
|
|
34
|
+
type Subtype = (typeof Subtype)[keyof typeof Subtype];
|
|
35
|
+
type X = X.Item[];
|
|
36
|
+
namespace X {
|
|
37
|
+
interface Item {
|
|
38
|
+
unit: string;
|
|
39
|
+
conversion: number;
|
|
40
|
+
fraction?: Item.Fraction | undefined;
|
|
41
|
+
precision?: number | undefined;
|
|
42
|
+
fixed?: boolean | undefined;
|
|
43
|
+
thousands?: string | undefined;
|
|
44
|
+
decimal?: string | undefined;
|
|
45
|
+
prefixSpacing?: string | undefined;
|
|
46
|
+
suffixSpacing?: string | undefined;
|
|
47
|
+
labelPosition?: Item.LabelPosition | undefined;
|
|
48
|
+
}
|
|
49
|
+
namespace Item {
|
|
50
|
+
const Fraction: {
|
|
51
|
+
readonly Decimal: "decimal";
|
|
52
|
+
readonly Fraction: "fraction";
|
|
53
|
+
readonly Round: "round";
|
|
54
|
+
readonly Truncate: "truncate";
|
|
55
|
+
};
|
|
56
|
+
type Fraction = (typeof Fraction)[keyof typeof Fraction];
|
|
57
|
+
const LabelPosition: {
|
|
58
|
+
readonly Suffix: "suffix";
|
|
59
|
+
readonly Prefix: "prefix";
|
|
60
|
+
};
|
|
61
|
+
type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
type Y = Y.Item[];
|
|
65
|
+
namespace Y {
|
|
66
|
+
interface Item {
|
|
67
|
+
unit: string;
|
|
68
|
+
conversion: number;
|
|
69
|
+
fraction?: Item.Fraction | undefined;
|
|
70
|
+
precision?: number | undefined;
|
|
71
|
+
fixed?: boolean | undefined;
|
|
72
|
+
thousands?: string | undefined;
|
|
73
|
+
decimal?: string | undefined;
|
|
74
|
+
prefixSpacing?: string | undefined;
|
|
75
|
+
suffixSpacing?: string | undefined;
|
|
76
|
+
labelPosition?: Item.LabelPosition | undefined;
|
|
77
|
+
}
|
|
78
|
+
namespace Item {
|
|
79
|
+
const Fraction: {
|
|
80
|
+
readonly Decimal: "decimal";
|
|
81
|
+
readonly Fraction: "fraction";
|
|
82
|
+
readonly Round: "round";
|
|
83
|
+
readonly Truncate: "truncate";
|
|
84
|
+
};
|
|
85
|
+
type Fraction = (typeof Fraction)[keyof typeof Fraction];
|
|
86
|
+
const LabelPosition: {
|
|
87
|
+
readonly Suffix: "suffix";
|
|
88
|
+
readonly Prefix: "prefix";
|
|
89
|
+
};
|
|
90
|
+
type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
type Distance = Distance.Item[];
|
|
94
|
+
namespace Distance {
|
|
95
|
+
interface Item {
|
|
96
|
+
unit: string;
|
|
97
|
+
conversion: number;
|
|
98
|
+
fraction?: Item.Fraction | undefined;
|
|
99
|
+
precision?: number | undefined;
|
|
100
|
+
fixed?: boolean | undefined;
|
|
101
|
+
thousands?: string | undefined;
|
|
102
|
+
decimal?: string | undefined;
|
|
103
|
+
prefixSpacing?: string | undefined;
|
|
104
|
+
suffixSpacing?: string | undefined;
|
|
105
|
+
labelPosition?: Item.LabelPosition | undefined;
|
|
106
|
+
}
|
|
107
|
+
namespace Item {
|
|
108
|
+
const Fraction: {
|
|
109
|
+
readonly Decimal: "decimal";
|
|
110
|
+
readonly Fraction: "fraction";
|
|
111
|
+
readonly Round: "round";
|
|
112
|
+
readonly Truncate: "truncate";
|
|
113
|
+
};
|
|
114
|
+
type Fraction = (typeof Fraction)[keyof typeof Fraction];
|
|
115
|
+
const LabelPosition: {
|
|
116
|
+
readonly Suffix: "suffix";
|
|
117
|
+
readonly Prefix: "prefix";
|
|
118
|
+
};
|
|
119
|
+
type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
type Area = Area.Item[];
|
|
123
|
+
namespace Area {
|
|
124
|
+
interface Item {
|
|
125
|
+
unit: string;
|
|
126
|
+
conversion: number;
|
|
127
|
+
fraction?: Item.Fraction | undefined;
|
|
128
|
+
precision?: number | undefined;
|
|
129
|
+
fixed?: boolean | undefined;
|
|
130
|
+
thousands?: string | undefined;
|
|
131
|
+
decimal?: string | undefined;
|
|
132
|
+
prefixSpacing?: string | undefined;
|
|
133
|
+
suffixSpacing?: string | undefined;
|
|
134
|
+
labelPosition?: Item.LabelPosition | undefined;
|
|
135
|
+
}
|
|
136
|
+
namespace Item {
|
|
137
|
+
const Fraction: {
|
|
138
|
+
readonly Decimal: "decimal";
|
|
139
|
+
readonly Fraction: "fraction";
|
|
140
|
+
readonly Round: "round";
|
|
141
|
+
readonly Truncate: "truncate";
|
|
142
|
+
};
|
|
143
|
+
type Fraction = (typeof Fraction)[keyof typeof Fraction];
|
|
144
|
+
const LabelPosition: {
|
|
145
|
+
readonly Suffix: "suffix";
|
|
146
|
+
readonly Prefix: "prefix";
|
|
147
|
+
};
|
|
148
|
+
type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
type Angle = Angle.Item[];
|
|
152
|
+
namespace Angle {
|
|
153
|
+
interface Item {
|
|
154
|
+
unit: string;
|
|
155
|
+
conversion: number;
|
|
156
|
+
fraction?: Item.Fraction | undefined;
|
|
157
|
+
precision?: number | undefined;
|
|
158
|
+
fixed?: boolean | undefined;
|
|
159
|
+
thousands?: string | undefined;
|
|
160
|
+
decimal?: string | undefined;
|
|
161
|
+
prefixSpacing?: string | undefined;
|
|
162
|
+
suffixSpacing?: string | undefined;
|
|
163
|
+
labelPosition?: Item.LabelPosition | undefined;
|
|
164
|
+
}
|
|
165
|
+
namespace Item {
|
|
166
|
+
const Fraction: {
|
|
167
|
+
readonly Decimal: "decimal";
|
|
168
|
+
readonly Fraction: "fraction";
|
|
169
|
+
readonly Round: "round";
|
|
170
|
+
readonly Truncate: "truncate";
|
|
171
|
+
};
|
|
172
|
+
type Fraction = (typeof Fraction)[keyof typeof Fraction];
|
|
173
|
+
const LabelPosition: {
|
|
174
|
+
readonly Suffix: "suffix";
|
|
175
|
+
readonly Prefix: "prefix";
|
|
176
|
+
};
|
|
177
|
+
type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
type Slope = Slope.Item[];
|
|
181
|
+
namespace Slope {
|
|
182
|
+
interface Item {
|
|
183
|
+
unit: string;
|
|
184
|
+
conversion: number;
|
|
185
|
+
fraction?: Item.Fraction | undefined;
|
|
186
|
+
precision?: number | undefined;
|
|
187
|
+
fixed?: boolean | undefined;
|
|
188
|
+
thousands?: string | undefined;
|
|
189
|
+
decimal?: string | undefined;
|
|
190
|
+
prefixSpacing?: string | undefined;
|
|
191
|
+
suffixSpacing?: string | undefined;
|
|
192
|
+
labelPosition?: Item.LabelPosition | undefined;
|
|
193
|
+
}
|
|
194
|
+
namespace Item {
|
|
195
|
+
const Fraction: {
|
|
196
|
+
readonly Decimal: "decimal";
|
|
197
|
+
readonly Fraction: "fraction";
|
|
198
|
+
readonly Round: "round";
|
|
199
|
+
readonly Truncate: "truncate";
|
|
200
|
+
};
|
|
201
|
+
type Fraction = (typeof Fraction)[keyof typeof Fraction];
|
|
202
|
+
const LabelPosition: {
|
|
203
|
+
readonly Suffix: "suffix";
|
|
204
|
+
readonly Prefix: "prefix";
|
|
205
|
+
};
|
|
206
|
+
type LabelPosition = (typeof LabelPosition)[keyof typeof LabelPosition];
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
interface Origin {
|
|
210
|
+
x: number;
|
|
211
|
+
y: number;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
package/dist/esm/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.mjs
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var DocPagesSetScaleRequest;
|
|
3
|
+
(function (DocPagesSetScaleRequest) {
|
|
4
|
+
let Measure;
|
|
5
|
+
(function (Measure) {
|
|
6
|
+
Measure.Subtype = {
|
|
7
|
+
Rl: "RL",
|
|
8
|
+
};
|
|
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 = Measure.X || (Measure.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 = Measure.Y || (Measure.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 = Measure.Distance || (Measure.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 = Measure.Area || (Measure.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 = Measure.Angle || (Measure.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 = Measure.Slope || (Measure.Slope = {}));
|
|
105
|
+
})(Measure = DocPagesSetScaleRequest.Measure || (DocPagesSetScaleRequest.Measure = {}));
|
|
106
|
+
})(DocPagesSetScaleRequest || (DocPagesSetScaleRequest = {}));
|
package/dist/esm/api/resources/doc/resources/pages/client/requests/ViewportsPagesRequest.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* docId: "docId",
|
|
5
|
+
* layerName: "layerName",
|
|
6
|
+
* pon: 1
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface ViewportsPagesRequest {
|
|
10
|
+
docId: string;
|
|
11
|
+
layerName: string;
|
|
12
|
+
pon: number;
|
|
13
|
+
/** Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. */
|
|
14
|
+
"X-Document-Password"?: string;
|
|
15
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type { DeletePagesRequest } from "./DeletePagesRequest.mjs";
|
|
2
|
+
export { DocPagesSetScaleRequest } from "./DocPagesSetScaleRequest.mjs";
|
|
2
3
|
export type { ExtractPagesRequest } from "./ExtractPagesRequest.mjs";
|
|
3
4
|
export type { FlattenPagesRequest } from "./FlattenPagesRequest.mjs";
|
|
4
5
|
export type { InsertBlankPagesRequest } from "./InsertBlankPagesRequest.mjs";
|
|
@@ -7,3 +8,4 @@ export type { MovePagesRequest } from "./MovePagesRequest.mjs";
|
|
|
7
8
|
export type { RemoveNamePagesRequest } from "./RemoveNamePagesRequest.mjs";
|
|
8
9
|
export type { RotatePagesRequest } from "./RotatePagesRequest.mjs";
|
|
9
10
|
export type { SetNamePagesRequest } from "./SetNamePagesRequest.mjs";
|
|
11
|
+
export type { ViewportsPagesRequest } from "./ViewportsPagesRequest.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { DocPagesSetScaleRequest } from "./DocPagesSetScaleRequest.mjs";
|
|
@@ -658,6 +658,9 @@ export declare namespace DocAnnotationsList200ResponseAnnotationsItem {
|
|
|
658
658
|
}
|
|
659
659
|
interface Polygon {
|
|
660
660
|
subtype: "polygon";
|
|
661
|
+
intent?: DocAnnotationsList200ResponseAnnotationsItemPolygon.Intent | undefined;
|
|
662
|
+
measure?: CloudPDF.DocAnnotationsList200ResponseAnnotationsItemPolygonMeasure | undefined;
|
|
663
|
+
caption?: DocAnnotationsList200ResponseAnnotationsItemPolygon.Caption | undefined;
|
|
661
664
|
ref: CloudPDF.DocAnnotationsList200ResponseAnnotationsItemPolygonRef;
|
|
662
665
|
pageObjectNumber: number;
|
|
663
666
|
index: number;
|
|
@@ -689,6 +692,21 @@ export declare namespace DocAnnotationsList200ResponseAnnotationsItem {
|
|
|
689
692
|
cloudyIntensity: number | null;
|
|
690
693
|
}
|
|
691
694
|
namespace DocAnnotationsList200ResponseAnnotationsItemPolygon {
|
|
695
|
+
const Intent: {
|
|
696
|
+
readonly PolygonCloud: "PolygonCloud";
|
|
697
|
+
readonly PolygonDimension: "PolygonDimension";
|
|
698
|
+
};
|
|
699
|
+
type Intent = (typeof Intent)[keyof typeof Intent];
|
|
700
|
+
interface Caption {
|
|
701
|
+
enabled: boolean;
|
|
702
|
+
center?: Caption.Center | undefined;
|
|
703
|
+
}
|
|
704
|
+
namespace Caption {
|
|
705
|
+
interface Center {
|
|
706
|
+
x: number;
|
|
707
|
+
y: number;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
692
710
|
const IdentityQuality: {
|
|
693
711
|
readonly Durable: "durable";
|
|
694
712
|
readonly Weak: "weak";
|
|
@@ -763,6 +781,9 @@ export declare namespace DocAnnotationsList200ResponseAnnotationsItem {
|
|
|
763
781
|
}
|
|
764
782
|
interface Polyline {
|
|
765
783
|
subtype: "polyline";
|
|
784
|
+
intent?: DocAnnotationsList200ResponseAnnotationsItemPolyline.Intent | undefined;
|
|
785
|
+
measure?: CloudPDF.DocAnnotationsList200ResponseAnnotationsItemPolylineMeasure | undefined;
|
|
786
|
+
caption?: DocAnnotationsList200ResponseAnnotationsItemPolyline.Caption | undefined;
|
|
766
787
|
ref: CloudPDF.DocAnnotationsList200ResponseAnnotationsItemPolylineRef;
|
|
767
788
|
pageObjectNumber: number;
|
|
768
789
|
index: number;
|
|
@@ -794,6 +815,20 @@ export declare namespace DocAnnotationsList200ResponseAnnotationsItem {
|
|
|
794
815
|
lineEndings: DocAnnotationsList200ResponseAnnotationsItemPolyline.LineEndings;
|
|
795
816
|
}
|
|
796
817
|
namespace DocAnnotationsList200ResponseAnnotationsItemPolyline {
|
|
818
|
+
const Intent: {
|
|
819
|
+
readonly PolyLineDimension: "PolyLineDimension";
|
|
820
|
+
};
|
|
821
|
+
type Intent = (typeof Intent)[keyof typeof Intent];
|
|
822
|
+
interface Caption {
|
|
823
|
+
enabled: boolean;
|
|
824
|
+
center?: Caption.Center | undefined;
|
|
825
|
+
}
|
|
826
|
+
namespace Caption {
|
|
827
|
+
interface Center {
|
|
828
|
+
x: number;
|
|
829
|
+
y: number;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
797
832
|
const IdentityQuality: {
|
|
798
833
|
readonly Durable: "durable";
|
|
799
834
|
readonly Weak: "weak";
|
|
@@ -900,6 +935,10 @@ export declare namespace DocAnnotationsList200ResponseAnnotationsItem {
|
|
|
900
935
|
}
|
|
901
936
|
interface Line {
|
|
902
937
|
subtype: "line";
|
|
938
|
+
intent?: DocAnnotationsList200ResponseAnnotationsItemLine.Intent | undefined;
|
|
939
|
+
measure?: CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLineMeasure | undefined;
|
|
940
|
+
caption?: DocAnnotationsList200ResponseAnnotationsItemLine.Caption | undefined;
|
|
941
|
+
leader?: DocAnnotationsList200ResponseAnnotationsItemLine.Leader | undefined;
|
|
903
942
|
ref: CloudPDF.DocAnnotationsList200ResponseAnnotationsItemLineRef;
|
|
904
943
|
pageObjectNumber: number;
|
|
905
944
|
index: number;
|
|
@@ -931,6 +970,32 @@ export declare namespace DocAnnotationsList200ResponseAnnotationsItem {
|
|
|
931
970
|
rotation?: number | undefined;
|
|
932
971
|
}
|
|
933
972
|
namespace DocAnnotationsList200ResponseAnnotationsItemLine {
|
|
973
|
+
const Intent: {
|
|
974
|
+
readonly LineArrow: "LineArrow";
|
|
975
|
+
readonly LineDimension: "LineDimension";
|
|
976
|
+
};
|
|
977
|
+
type Intent = (typeof Intent)[keyof typeof Intent];
|
|
978
|
+
interface Caption {
|
|
979
|
+
enabled: boolean;
|
|
980
|
+
position?: Caption.Position | undefined;
|
|
981
|
+
offset?: Caption.Offset | undefined;
|
|
982
|
+
}
|
|
983
|
+
namespace Caption {
|
|
984
|
+
const Position: {
|
|
985
|
+
readonly Inline: "inline";
|
|
986
|
+
readonly Top: "top";
|
|
987
|
+
};
|
|
988
|
+
type Position = (typeof Position)[keyof typeof Position];
|
|
989
|
+
interface Offset {
|
|
990
|
+
along: number;
|
|
991
|
+
perpendicular: number;
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
interface Leader {
|
|
995
|
+
length: number;
|
|
996
|
+
extension?: number | undefined;
|
|
997
|
+
offset?: number | undefined;
|
|
998
|
+
}
|
|
934
999
|
const IdentityQuality: {
|
|
935
1000
|
readonly Durable: "durable";
|
|
936
1001
|
readonly Weak: "weak";
|
|
@@ -192,6 +192,10 @@ export var DocAnnotationsList200ResponseAnnotationsItem;
|
|
|
192
192
|
})(DocAnnotationsList200ResponseAnnotationsItemSquare = DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemSquare || (DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemSquare = {}));
|
|
193
193
|
let DocAnnotationsList200ResponseAnnotationsItemPolygon;
|
|
194
194
|
(function (DocAnnotationsList200ResponseAnnotationsItemPolygon) {
|
|
195
|
+
DocAnnotationsList200ResponseAnnotationsItemPolygon.Intent = {
|
|
196
|
+
PolygonCloud: "PolygonCloud",
|
|
197
|
+
PolygonDimension: "PolygonDimension",
|
|
198
|
+
};
|
|
195
199
|
DocAnnotationsList200ResponseAnnotationsItemPolygon.IdentityQuality = {
|
|
196
200
|
Durable: "durable",
|
|
197
201
|
Weak: "weak",
|
|
@@ -227,6 +231,9 @@ export var DocAnnotationsList200ResponseAnnotationsItem;
|
|
|
227
231
|
})(DocAnnotationsList200ResponseAnnotationsItemPolygon = DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemPolygon || (DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemPolygon = {}));
|
|
228
232
|
let DocAnnotationsList200ResponseAnnotationsItemPolyline;
|
|
229
233
|
(function (DocAnnotationsList200ResponseAnnotationsItemPolyline) {
|
|
234
|
+
DocAnnotationsList200ResponseAnnotationsItemPolyline.Intent = {
|
|
235
|
+
PolyLineDimension: "PolyLineDimension",
|
|
236
|
+
};
|
|
230
237
|
DocAnnotationsList200ResponseAnnotationsItemPolyline.IdentityQuality = {
|
|
231
238
|
Durable: "durable",
|
|
232
239
|
Weak: "weak",
|
|
@@ -289,6 +296,17 @@ export var DocAnnotationsList200ResponseAnnotationsItem;
|
|
|
289
296
|
})(DocAnnotationsList200ResponseAnnotationsItemPolyline = DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemPolyline || (DocAnnotationsList200ResponseAnnotationsItem.DocAnnotationsList200ResponseAnnotationsItemPolyline = {}));
|
|
290
297
|
let DocAnnotationsList200ResponseAnnotationsItemLine;
|
|
291
298
|
(function (DocAnnotationsList200ResponseAnnotationsItemLine) {
|
|
299
|
+
DocAnnotationsList200ResponseAnnotationsItemLine.Intent = {
|
|
300
|
+
LineArrow: "LineArrow",
|
|
301
|
+
LineDimension: "LineDimension",
|
|
302
|
+
};
|
|
303
|
+
let Caption;
|
|
304
|
+
(function (Caption) {
|
|
305
|
+
Caption.Position = {
|
|
306
|
+
Inline: "inline",
|
|
307
|
+
Top: "top",
|
|
308
|
+
};
|
|
309
|
+
})(Caption = DocAnnotationsList200ResponseAnnotationsItemLine.Caption || (DocAnnotationsList200ResponseAnnotationsItemLine.Caption = {}));
|
|
292
310
|
DocAnnotationsList200ResponseAnnotationsItemLine.IdentityQuality = {
|
|
293
311
|
Durable: "durable",
|
|
294
312
|
Weak: "weak",
|