@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/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@cloudpdf/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "3.0.0-next.
|
|
47
|
-
"User-Agent": "@cloudpdf/sdk/3.0.0-next.
|
|
46
|
+
"X-Fern-SDK-Version": "3.0.0-next.14",
|
|
47
|
+
"User-Agent": "@cloudpdf/sdk/3.0.0-next.14",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -10,6 +10,41 @@ export declare namespace PagesClient {
|
|
|
10
10
|
export declare class PagesClient {
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<PagesClient.Options>;
|
|
12
12
|
constructor(options: PagesClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {CloudPDF.doc.DocPagesSetScaleRequest} request
|
|
15
|
+
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
+
*
|
|
17
|
+
* @throws {@link CloudPDF.BadRequestError}
|
|
18
|
+
* @throws {@link CloudPDF.NotFoundError}
|
|
19
|
+
* @throws {@link errors.CloudPDFError}
|
|
20
|
+
* @throws {@link errors.CloudPDFTimeoutError}
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* await client.doc.pages.setScale({
|
|
24
|
+
* docId: "docId",
|
|
25
|
+
* layerName: "layerName",
|
|
26
|
+
* pon: 1
|
|
27
|
+
* })
|
|
28
|
+
*/
|
|
29
|
+
setScale(request: CloudPDF.doc.DocPagesSetScaleRequest, requestOptions?: PagesClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocPagesSetScale200Response>;
|
|
30
|
+
private __setScale;
|
|
31
|
+
/**
|
|
32
|
+
* @param {CloudPDF.doc.ViewportsPagesRequest} request
|
|
33
|
+
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link CloudPDF.NotFoundError}
|
|
36
|
+
* @throws {@link errors.CloudPDFError}
|
|
37
|
+
* @throws {@link errors.CloudPDFTimeoutError}
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* await client.doc.pages.viewports({
|
|
41
|
+
* docId: "docId",
|
|
42
|
+
* layerName: "layerName",
|
|
43
|
+
* pon: 1
|
|
44
|
+
* })
|
|
45
|
+
*/
|
|
46
|
+
viewports(request: CloudPDF.doc.ViewportsPagesRequest, requestOptions?: PagesClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocPagesViewports200Response>;
|
|
47
|
+
private __viewports;
|
|
13
48
|
/**
|
|
14
49
|
* @param {CloudPDF.doc.DeletePagesRequest} request
|
|
15
50
|
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -42,6 +42,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
42
42
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
46
|
+
var t = {};
|
|
47
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
48
|
+
t[p] = s[p];
|
|
49
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
50
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
51
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
52
|
+
t[p[i]] = s[p[i]];
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
};
|
|
45
56
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
57
|
exports.PagesClient = void 0;
|
|
47
58
|
const BaseClient_js_1 = require("../../../../../../BaseClient.js");
|
|
@@ -55,6 +66,121 @@ class PagesClient {
|
|
|
55
66
|
constructor(options) {
|
|
56
67
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* @param {CloudPDF.doc.DocPagesSetScaleRequest} request
|
|
71
|
+
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link CloudPDF.BadRequestError}
|
|
74
|
+
* @throws {@link CloudPDF.NotFoundError}
|
|
75
|
+
* @throws {@link errors.CloudPDFError}
|
|
76
|
+
* @throws {@link errors.CloudPDFTimeoutError}
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* await client.doc.pages.setScale({
|
|
80
|
+
* docId: "docId",
|
|
81
|
+
* layerName: "layerName",
|
|
82
|
+
* pon: 1
|
|
83
|
+
* })
|
|
84
|
+
*/
|
|
85
|
+
setScale(request, requestOptions) {
|
|
86
|
+
return core.HttpResponsePromise.fromPromise(this.__setScale(request, requestOptions));
|
|
87
|
+
}
|
|
88
|
+
__setScale(request, requestOptions) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
91
|
+
const { docId, layerName, pon, "X-Document-Password": documentPassword } = request, _body = __rest(request, ["docId", "layerName", "pon", "X-Document-Password"]);
|
|
92
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
93
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Document-Password": documentPassword }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
94
|
+
const _response = yield core.fetcher({
|
|
95
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `v1/docs/${core.url.encodePathParam(docId)}/layers/${core.url.encodePathParam(layerName)}/pages/${core.url.encodePathParam(pon)}/scale`),
|
|
96
|
+
method: "PUT",
|
|
97
|
+
headers: _headers,
|
|
98
|
+
contentType: "application/json",
|
|
99
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
100
|
+
requestType: "json",
|
|
101
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
102
|
+
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
103
|
+
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
104
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
105
|
+
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
106
|
+
logging: this._options.logging,
|
|
107
|
+
});
|
|
108
|
+
if (_response.ok) {
|
|
109
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
110
|
+
}
|
|
111
|
+
if (_response.error.reason === "status-code") {
|
|
112
|
+
switch (_response.error.statusCode) {
|
|
113
|
+
case 400:
|
|
114
|
+
throw new CloudPDF.BadRequestError(_response.error.body, _response.rawResponse);
|
|
115
|
+
case 404:
|
|
116
|
+
throw new CloudPDF.NotFoundError(_response.error.body, _response.rawResponse);
|
|
117
|
+
default:
|
|
118
|
+
throw new errors.CloudPDFError({
|
|
119
|
+
statusCode: _response.error.statusCode,
|
|
120
|
+
body: _response.error.body,
|
|
121
|
+
rawResponse: _response.rawResponse,
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/v1/docs/{docId}/layers/{layerName}/pages/{pon}/scale");
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* @param {CloudPDF.doc.ViewportsPagesRequest} request
|
|
130
|
+
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link CloudPDF.NotFoundError}
|
|
133
|
+
* @throws {@link errors.CloudPDFError}
|
|
134
|
+
* @throws {@link errors.CloudPDFTimeoutError}
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* await client.doc.pages.viewports({
|
|
138
|
+
* docId: "docId",
|
|
139
|
+
* layerName: "layerName",
|
|
140
|
+
* pon: 1
|
|
141
|
+
* })
|
|
142
|
+
*/
|
|
143
|
+
viewports(request, requestOptions) {
|
|
144
|
+
return core.HttpResponsePromise.fromPromise(this.__viewports(request, requestOptions));
|
|
145
|
+
}
|
|
146
|
+
__viewports(request, requestOptions) {
|
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
149
|
+
const { docId, layerName, pon, "X-Document-Password": documentPassword } = request;
|
|
150
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
151
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Document-Password": documentPassword }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
152
|
+
const _response = yield core.fetcher({
|
|
153
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `v1/docs/${core.url.encodePathParam(docId)}/layers/${core.url.encodePathParam(layerName)}/pages/${core.url.encodePathParam(pon)}/viewports`),
|
|
154
|
+
method: "GET",
|
|
155
|
+
headers: _headers,
|
|
156
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
157
|
+
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
158
|
+
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
159
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
160
|
+
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
161
|
+
logging: this._options.logging,
|
|
162
|
+
});
|
|
163
|
+
if (_response.ok) {
|
|
164
|
+
return {
|
|
165
|
+
data: _response.body,
|
|
166
|
+
rawResponse: _response.rawResponse,
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
if (_response.error.reason === "status-code") {
|
|
170
|
+
switch (_response.error.statusCode) {
|
|
171
|
+
case 404:
|
|
172
|
+
throw new CloudPDF.NotFoundError(_response.error.body, _response.rawResponse);
|
|
173
|
+
default:
|
|
174
|
+
throw new errors.CloudPDFError({
|
|
175
|
+
statusCode: _response.error.statusCode,
|
|
176
|
+
body: _response.error.body,
|
|
177
|
+
rawResponse: _response.rawResponse,
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/docs/{docId}/layers/{layerName}/pages/{pon}/viewports");
|
|
182
|
+
});
|
|
183
|
+
}
|
|
58
184
|
/**
|
|
59
185
|
* @param {CloudPDF.doc.DeletePagesRequest} request
|
|
60
186
|
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/cjs/api/resources/doc/resources/pages/client/requests/DocPagesSetScaleRequest.d.ts
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
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DocPagesSetScaleRequest = void 0;
|
|
5
|
+
var DocPagesSetScaleRequest;
|
|
6
|
+
(function (DocPagesSetScaleRequest) {
|
|
7
|
+
let Measure;
|
|
8
|
+
(function (Measure) {
|
|
9
|
+
Measure.Subtype = {
|
|
10
|
+
Rl: "RL",
|
|
11
|
+
};
|
|
12
|
+
let X;
|
|
13
|
+
(function (X) {
|
|
14
|
+
let Item;
|
|
15
|
+
(function (Item) {
|
|
16
|
+
Item.Fraction = {
|
|
17
|
+
Decimal: "decimal",
|
|
18
|
+
Fraction: "fraction",
|
|
19
|
+
Round: "round",
|
|
20
|
+
Truncate: "truncate",
|
|
21
|
+
};
|
|
22
|
+
Item.LabelPosition = {
|
|
23
|
+
Suffix: "suffix",
|
|
24
|
+
Prefix: "prefix",
|
|
25
|
+
};
|
|
26
|
+
})(Item = X.Item || (X.Item = {}));
|
|
27
|
+
})(X = Measure.X || (Measure.X = {}));
|
|
28
|
+
let Y;
|
|
29
|
+
(function (Y) {
|
|
30
|
+
let Item;
|
|
31
|
+
(function (Item) {
|
|
32
|
+
Item.Fraction = {
|
|
33
|
+
Decimal: "decimal",
|
|
34
|
+
Fraction: "fraction",
|
|
35
|
+
Round: "round",
|
|
36
|
+
Truncate: "truncate",
|
|
37
|
+
};
|
|
38
|
+
Item.LabelPosition = {
|
|
39
|
+
Suffix: "suffix",
|
|
40
|
+
Prefix: "prefix",
|
|
41
|
+
};
|
|
42
|
+
})(Item = Y.Item || (Y.Item = {}));
|
|
43
|
+
})(Y = Measure.Y || (Measure.Y = {}));
|
|
44
|
+
let Distance;
|
|
45
|
+
(function (Distance) {
|
|
46
|
+
let Item;
|
|
47
|
+
(function (Item) {
|
|
48
|
+
Item.Fraction = {
|
|
49
|
+
Decimal: "decimal",
|
|
50
|
+
Fraction: "fraction",
|
|
51
|
+
Round: "round",
|
|
52
|
+
Truncate: "truncate",
|
|
53
|
+
};
|
|
54
|
+
Item.LabelPosition = {
|
|
55
|
+
Suffix: "suffix",
|
|
56
|
+
Prefix: "prefix",
|
|
57
|
+
};
|
|
58
|
+
})(Item = Distance.Item || (Distance.Item = {}));
|
|
59
|
+
})(Distance = Measure.Distance || (Measure.Distance = {}));
|
|
60
|
+
let Area;
|
|
61
|
+
(function (Area) {
|
|
62
|
+
let Item;
|
|
63
|
+
(function (Item) {
|
|
64
|
+
Item.Fraction = {
|
|
65
|
+
Decimal: "decimal",
|
|
66
|
+
Fraction: "fraction",
|
|
67
|
+
Round: "round",
|
|
68
|
+
Truncate: "truncate",
|
|
69
|
+
};
|
|
70
|
+
Item.LabelPosition = {
|
|
71
|
+
Suffix: "suffix",
|
|
72
|
+
Prefix: "prefix",
|
|
73
|
+
};
|
|
74
|
+
})(Item = Area.Item || (Area.Item = {}));
|
|
75
|
+
})(Area = Measure.Area || (Measure.Area = {}));
|
|
76
|
+
let Angle;
|
|
77
|
+
(function (Angle) {
|
|
78
|
+
let Item;
|
|
79
|
+
(function (Item) {
|
|
80
|
+
Item.Fraction = {
|
|
81
|
+
Decimal: "decimal",
|
|
82
|
+
Fraction: "fraction",
|
|
83
|
+
Round: "round",
|
|
84
|
+
Truncate: "truncate",
|
|
85
|
+
};
|
|
86
|
+
Item.LabelPosition = {
|
|
87
|
+
Suffix: "suffix",
|
|
88
|
+
Prefix: "prefix",
|
|
89
|
+
};
|
|
90
|
+
})(Item = Angle.Item || (Angle.Item = {}));
|
|
91
|
+
})(Angle = Measure.Angle || (Measure.Angle = {}));
|
|
92
|
+
let Slope;
|
|
93
|
+
(function (Slope) {
|
|
94
|
+
let Item;
|
|
95
|
+
(function (Item) {
|
|
96
|
+
Item.Fraction = {
|
|
97
|
+
Decimal: "decimal",
|
|
98
|
+
Fraction: "fraction",
|
|
99
|
+
Round: "round",
|
|
100
|
+
Truncate: "truncate",
|
|
101
|
+
};
|
|
102
|
+
Item.LabelPosition = {
|
|
103
|
+
Suffix: "suffix",
|
|
104
|
+
Prefix: "prefix",
|
|
105
|
+
};
|
|
106
|
+
})(Item = Slope.Item || (Slope.Item = {}));
|
|
107
|
+
})(Slope = Measure.Slope || (Measure.Slope = {}));
|
|
108
|
+
})(Measure = DocPagesSetScaleRequest.Measure || (DocPagesSetScaleRequest.Measure = {}));
|
|
109
|
+
})(DocPagesSetScaleRequest || (exports.DocPagesSetScaleRequest = DocPagesSetScaleRequest = {}));
|
|
@@ -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.js";
|
|
2
|
+
export { DocPagesSetScaleRequest } from "./DocPagesSetScaleRequest.js";
|
|
2
3
|
export type { ExtractPagesRequest } from "./ExtractPagesRequest.js";
|
|
3
4
|
export type { FlattenPagesRequest } from "./FlattenPagesRequest.js";
|
|
4
5
|
export type { InsertBlankPagesRequest } from "./InsertBlankPagesRequest.js";
|
|
@@ -7,3 +8,4 @@ export type { MovePagesRequest } from "./MovePagesRequest.js";
|
|
|
7
8
|
export type { RemoveNamePagesRequest } from "./RemoveNamePagesRequest.js";
|
|
8
9
|
export type { RotatePagesRequest } from "./RotatePagesRequest.js";
|
|
9
10
|
export type { SetNamePagesRequest } from "./SetNamePagesRequest.js";
|
|
11
|
+
export type { ViewportsPagesRequest } from "./ViewportsPagesRequest.js";
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DocPagesSetScaleRequest = void 0;
|
|
4
|
+
var DocPagesSetScaleRequest_js_1 = require("./DocPagesSetScaleRequest.js");
|
|
5
|
+
Object.defineProperty(exports, "DocPagesSetScaleRequest", { enumerable: true, get: function () { return DocPagesSetScaleRequest_js_1.DocPagesSetScaleRequest; } });
|
|
@@ -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";
|