@openfilz-sdk/typescript-ee 1.9.1 → 1.9.3
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/.openapi-generator/FILES +36 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +24 -2
- package/api/feature-entitlements-api.ts +121 -0
- package/api/pdftools-api.ts +430 -0
- package/api.ts +2 -0
- package/dist/api/feature-entitlements-api.d.ts +63 -0
- package/dist/api/feature-entitlements-api.js +125 -0
- package/dist/api/pdftools-api.d.ts +200 -0
- package/dist/api/pdftools-api.js +412 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/feature-entitlements-api.d.ts +63 -0
- package/dist/esm/api/feature-entitlements-api.js +118 -0
- package/dist/esm/api/pdftools-api.d.ts +200 -0
- package/dist/esm/api/pdftools-api.js +405 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/enriched-audit-log-details.d.ts +3 -0
- package/dist/esm/models/enriched-audit-log.d.ts +1 -0
- package/dist/esm/models/enriched-audit-log.js +1 -0
- package/dist/esm/models/feature-entitlement.d.ts +16 -0
- package/dist/esm/models/feature-entitlement.js +14 -0
- package/dist/esm/models/index.d.ts +16 -0
- package/dist/esm/models/index.js +16 -0
- package/dist/esm/models/merge-request.d.ts +30 -0
- package/dist/esm/models/merge-request.js +14 -0
- package/dist/esm/models/merge-source.d.ts +24 -0
- package/dist/esm/models/merge-source.js +14 -0
- package/dist/esm/models/organize-request.d.ts +30 -0
- package/dist/esm/models/organize-request.js +14 -0
- package/dist/esm/models/output-target.d.ts +41 -0
- package/dist/esm/models/output-target.js +17 -0
- package/dist/esm/models/page-instruction.d.ts +28 -0
- package/dist/esm/models/page-instruction.js +14 -0
- package/dist/esm/models/pdf-info.d.ts +26 -0
- package/dist/esm/models/pdf-info.js +14 -0
- package/dist/esm/models/pdf-operation-response.d.ts +19 -0
- package/dist/esm/models/pdf-operation-response.js +14 -0
- package/dist/esm/models/pdf-outline-entry.d.ts +19 -0
- package/dist/esm/models/pdf-outline-entry.js +14 -0
- package/dist/esm/models/pdf-output-info.d.ts +21 -0
- package/dist/esm/models/pdf-output-info.js +14 -0
- package/dist/esm/models/pdf-page-info.d.ts +20 -0
- package/dist/esm/models/pdf-page-info.js +14 -0
- package/dist/esm/models/pdf-transform-audit.d.ts +17 -0
- package/dist/esm/models/pdf-transform-audit.js +14 -0
- package/dist/esm/models/response.d.ts +15 -0
- package/dist/esm/models/response.js +14 -0
- package/dist/esm/models/rotate-request.d.ts +33 -0
- package/dist/esm/models/rotate-request.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +1 -0
- package/dist/esm/models/search-by-audit-log-request.js +1 -0
- package/dist/esm/models/settings.d.ts +1 -0
- package/dist/esm/models/split-output.d.ts +32 -0
- package/dist/esm/models/split-output.js +14 -0
- package/dist/esm/models/split-request.d.ts +53 -0
- package/dist/esm/models/split-request.js +20 -0
- package/dist/models/enriched-audit-log-details.d.ts +3 -0
- package/dist/models/enriched-audit-log.d.ts +1 -0
- package/dist/models/enriched-audit-log.js +1 -0
- package/dist/models/feature-entitlement.d.ts +16 -0
- package/dist/models/feature-entitlement.js +15 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/dist/models/merge-request.d.ts +30 -0
- package/dist/models/merge-request.js +15 -0
- package/dist/models/merge-source.d.ts +24 -0
- package/dist/models/merge-source.js +15 -0
- package/dist/models/organize-request.d.ts +30 -0
- package/dist/models/organize-request.js +15 -0
- package/dist/models/output-target.d.ts +41 -0
- package/dist/models/output-target.js +20 -0
- package/dist/models/page-instruction.d.ts +28 -0
- package/dist/models/page-instruction.js +15 -0
- package/dist/models/pdf-info.d.ts +26 -0
- package/dist/models/pdf-info.js +15 -0
- package/dist/models/pdf-operation-response.d.ts +19 -0
- package/dist/models/pdf-operation-response.js +15 -0
- package/dist/models/pdf-outline-entry.d.ts +19 -0
- package/dist/models/pdf-outline-entry.js +15 -0
- package/dist/models/pdf-output-info.d.ts +21 -0
- package/dist/models/pdf-output-info.js +15 -0
- package/dist/models/pdf-page-info.d.ts +20 -0
- package/dist/models/pdf-page-info.js +15 -0
- package/dist/models/pdf-transform-audit.d.ts +17 -0
- package/dist/models/pdf-transform-audit.js +15 -0
- package/dist/models/response.d.ts +15 -0
- package/dist/models/response.js +15 -0
- package/dist/models/rotate-request.d.ts +33 -0
- package/dist/models/rotate-request.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +1 -0
- package/dist/models/search-by-audit-log-request.js +1 -0
- package/dist/models/settings.d.ts +1 -0
- package/dist/models/split-output.d.ts +32 -0
- package/dist/models/split-output.js +15 -0
- package/dist/models/split-request.d.ts +53 -0
- package/dist/models/split-request.js +23 -0
- package/docs/EnrichedAuditLogDetails.md +8 -2
- package/docs/FeatureEntitlement.md +24 -0
- package/docs/FeatureEntitlementsApi.md +52 -0
- package/docs/MergeRequest.md +25 -0
- package/docs/MergeSource.md +23 -0
- package/docs/OrganizeRequest.md +25 -0
- package/docs/OutputTarget.md +29 -0
- package/docs/PDFToolsApi.md +271 -0
- package/docs/PageInstruction.md +25 -0
- package/docs/PdfInfo.md +35 -0
- package/docs/PdfOperationResponse.md +23 -0
- package/docs/PdfOutlineEntry.md +25 -0
- package/docs/PdfOutputInfo.md +29 -0
- package/docs/PdfPageInfo.md +27 -0
- package/docs/PdfTransformAudit.md +27 -0
- package/docs/Response.md +20 -0
- package/docs/RotateRequest.md +27 -0
- package/docs/Settings.md +2 -0
- package/docs/SplitOutput.md +27 -0
- package/docs/SplitRequest.md +33 -0
- package/models/enriched-audit-log-details.ts +4 -1
- package/models/enriched-audit-log.ts +1 -0
- package/models/feature-entitlement.ts +22 -0
- package/models/index.ts +16 -0
- package/models/merge-request.ts +40 -0
- package/models/merge-source.ts +30 -0
- package/models/organize-request.ts +40 -0
- package/models/output-target.ts +50 -0
- package/models/page-instruction.ts +34 -0
- package/models/pdf-info.ts +36 -0
- package/models/pdf-operation-response.ts +27 -0
- package/models/pdf-outline-entry.ts +25 -0
- package/models/pdf-output-info.ts +27 -0
- package/models/pdf-page-info.ts +26 -0
- package/models/pdf-transform-audit.ts +26 -0
- package/models/response.ts +23 -0
- package/models/rotate-request.ts +41 -0
- package/models/search-by-audit-log-request.ts +1 -0
- package/models/settings.ts +1 -0
- package/models/split-output.ts +38 -0
- package/models/split-request.ts +64 -0
- package/package.json +1 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { Response } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* FeatureEntitlementsApi - axios parameter creator
|
|
18
|
+
*/
|
|
19
|
+
export declare const FeatureEntitlementsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
|
+
/**
|
|
21
|
+
* Lets the admin UI distinguish \'service not deployed\' from \'licence does not entitle this feature\', so the latter can prompt a licence upgrade instead of failing on the first API call. Exposes feature names only — no licence internals.
|
|
22
|
+
* @summary Deployment + licence state per optional feature
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
getFeatureEntitlements: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* FeatureEntitlementsApi - functional programming interface
|
|
30
|
+
*/
|
|
31
|
+
export declare const FeatureEntitlementsApiFp: (configuration?: Configuration) => {
|
|
32
|
+
/**
|
|
33
|
+
* Lets the admin UI distinguish \'service not deployed\' from \'licence does not entitle this feature\', so the latter can prompt a licence upgrade instead of failing on the first API call. Exposes feature names only — no licence internals.
|
|
34
|
+
* @summary Deployment + licence state per optional feature
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
getFeatureEntitlements(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>>;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* FeatureEntitlementsApi - factory interface
|
|
42
|
+
*/
|
|
43
|
+
export declare const FeatureEntitlementsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
44
|
+
/**
|
|
45
|
+
* Lets the admin UI distinguish \'service not deployed\' from \'licence does not entitle this feature\', so the latter can prompt a licence upgrade instead of failing on the first API call. Exposes feature names only — no licence internals.
|
|
46
|
+
* @summary Deployment + licence state per optional feature
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
getFeatureEntitlements(options?: RawAxiosRequestConfig): AxiosPromise<Response>;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* FeatureEntitlementsApi - object-oriented interface
|
|
54
|
+
*/
|
|
55
|
+
export declare class FeatureEntitlementsApi extends BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Lets the admin UI distinguish \'service not deployed\' from \'licence does not entitle this feature\', so the latter can prompt a licence upgrade instead of failing on the first API call. Exposes feature names only — no licence internals.
|
|
58
|
+
* @summary Deployment + licence state per optional feature
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
62
|
+
getFeatureEntitlements(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Response, any, {}, any>>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* FeatureEntitlementsApi - axios parameter creator
|
|
31
|
+
*/
|
|
32
|
+
export const FeatureEntitlementsApiAxiosParamCreator = function (configuration) {
|
|
33
|
+
return {
|
|
34
|
+
/**
|
|
35
|
+
* Lets the admin UI distinguish \'service not deployed\' from \'licence does not entitle this feature\', so the latter can prompt a licence upgrade instead of failing on the first API call. Exposes feature names only — no licence internals.
|
|
36
|
+
* @summary Deployment + licence state per optional feature
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
getFeatureEntitlements: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
41
|
+
const localVarPath = `/api/v1/admin/features`;
|
|
42
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44
|
+
let baseOptions;
|
|
45
|
+
if (configuration) {
|
|
46
|
+
baseOptions = configuration.baseOptions;
|
|
47
|
+
}
|
|
48
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
49
|
+
const localVarHeaderParameter = {};
|
|
50
|
+
const localVarQueryParameter = {};
|
|
51
|
+
// authentication keycloak_auth required
|
|
52
|
+
// http bearer authentication required
|
|
53
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
54
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
55
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
58
|
+
return {
|
|
59
|
+
url: toPathString(localVarUrlObj),
|
|
60
|
+
options: localVarRequestOptions,
|
|
61
|
+
};
|
|
62
|
+
}),
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* FeatureEntitlementsApi - functional programming interface
|
|
67
|
+
*/
|
|
68
|
+
export const FeatureEntitlementsApiFp = function (configuration) {
|
|
69
|
+
const localVarAxiosParamCreator = FeatureEntitlementsApiAxiosParamCreator(configuration);
|
|
70
|
+
return {
|
|
71
|
+
/**
|
|
72
|
+
* Lets the admin UI distinguish \'service not deployed\' from \'licence does not entitle this feature\', so the latter can prompt a licence upgrade instead of failing on the first API call. Exposes feature names only — no licence internals.
|
|
73
|
+
* @summary Deployment + licence state per optional feature
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
getFeatureEntitlements(options) {
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
var _a, _b, _c;
|
|
80
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFeatureEntitlements(options);
|
|
81
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
82
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureEntitlementsApi.getFeatureEntitlements']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
83
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
84
|
+
});
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* FeatureEntitlementsApi - factory interface
|
|
90
|
+
*/
|
|
91
|
+
export const FeatureEntitlementsApiFactory = function (configuration, basePath, axios) {
|
|
92
|
+
const localVarFp = FeatureEntitlementsApiFp(configuration);
|
|
93
|
+
return {
|
|
94
|
+
/**
|
|
95
|
+
* Lets the admin UI distinguish \'service not deployed\' from \'licence does not entitle this feature\', so the latter can prompt a licence upgrade instead of failing on the first API call. Exposes feature names only — no licence internals.
|
|
96
|
+
* @summary Deployment + licence state per optional feature
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
getFeatureEntitlements(options) {
|
|
101
|
+
return localVarFp.getFeatureEntitlements(options).then((request) => request(axios, basePath));
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* FeatureEntitlementsApi - object-oriented interface
|
|
107
|
+
*/
|
|
108
|
+
export class FeatureEntitlementsApi extends BaseAPI {
|
|
109
|
+
/**
|
|
110
|
+
* Lets the admin UI distinguish \'service not deployed\' from \'licence does not entitle this feature\', so the latter can prompt a licence upgrade instead of failing on the first API call. Exposes feature names only — no licence internals.
|
|
111
|
+
* @summary Deployment + licence state per optional feature
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
getFeatureEntitlements(options) {
|
|
116
|
+
return FeatureEntitlementsApiFp(this.configuration).getFeatureEntitlements(options).then((request) => request(this.axios, this.basePath));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { MergeRequest } from '../models';
|
|
16
|
+
import type { OrganizeRequest } from '../models';
|
|
17
|
+
import type { PdfInfo } from '../models';
|
|
18
|
+
import type { PdfOperationResponse } from '../models';
|
|
19
|
+
import type { RotateRequest } from '../models';
|
|
20
|
+
import type { SplitRequest } from '../models';
|
|
21
|
+
/**
|
|
22
|
+
* PDFToolsApi - axios parameter creator
|
|
23
|
+
*/
|
|
24
|
+
export declare const PDFToolsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
+
/**
|
|
26
|
+
* Page count and geometry, bookmarks, and whether the file is password-protected or digitally signed.
|
|
27
|
+
* @summary Describe a stored PDF
|
|
28
|
+
* @param {string} documentId PDF document id
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
info: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
* Concatenate several PDFs (or page selections of them) into one document, in the given order, optionally with one bookmark per source. Default output: a new document next to the first source.
|
|
35
|
+
* @summary Merge PDFs
|
|
36
|
+
* @param {MergeRequest} mergeRequest
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
merge: (mergeRequest: MergeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
/**
|
|
42
|
+
* The result is exactly the listed pages, in order: reorder, delete, duplicate, rotate individual pages, extract a selection, or insert pages from other PDFs. Default output: a new version of the main document.
|
|
43
|
+
* @summary Reorganise the pages of a PDF
|
|
44
|
+
* @param {OrganizeRequest} organizeRequest
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
organize: (organizeRequest: OrganizeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
/**
|
|
50
|
+
* Rotate all or selected pages of one or several PDFs by 90, 180 or 270 degrees, one output per document. Default output: a new version of each document.
|
|
51
|
+
* @summary Rotate pages
|
|
52
|
+
* @param {RotateRequest} rotateRequest
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
rotate: (rotateRequest: RotateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
+
/**
|
|
58
|
+
* Cut one PDF into several new documents: every N pages, at given pages, by explicit page ranges, one document per page, or at bookmarks. Names follow a pattern ({name}, {index}, {first}, {last}, {title}).
|
|
59
|
+
* @summary Split a PDF
|
|
60
|
+
* @param {SplitRequest} splitRequest
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
split: (splitRequest: SplitRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* PDFToolsApi - functional programming interface
|
|
68
|
+
*/
|
|
69
|
+
export declare const PDFToolsApiFp: (configuration?: Configuration) => {
|
|
70
|
+
/**
|
|
71
|
+
* Page count and geometry, bookmarks, and whether the file is password-protected or digitally signed.
|
|
72
|
+
* @summary Describe a stored PDF
|
|
73
|
+
* @param {string} documentId PDF document id
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
info(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PdfInfo>>;
|
|
78
|
+
/**
|
|
79
|
+
* Concatenate several PDFs (or page selections of them) into one document, in the given order, optionally with one bookmark per source. Default output: a new document next to the first source.
|
|
80
|
+
* @summary Merge PDFs
|
|
81
|
+
* @param {MergeRequest} mergeRequest
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
merge(mergeRequest: MergeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PdfOperationResponse>>;
|
|
86
|
+
/**
|
|
87
|
+
* The result is exactly the listed pages, in order: reorder, delete, duplicate, rotate individual pages, extract a selection, or insert pages from other PDFs. Default output: a new version of the main document.
|
|
88
|
+
* @summary Reorganise the pages of a PDF
|
|
89
|
+
* @param {OrganizeRequest} organizeRequest
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
organize(organizeRequest: OrganizeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PdfOperationResponse>>;
|
|
94
|
+
/**
|
|
95
|
+
* Rotate all or selected pages of one or several PDFs by 90, 180 or 270 degrees, one output per document. Default output: a new version of each document.
|
|
96
|
+
* @summary Rotate pages
|
|
97
|
+
* @param {RotateRequest} rotateRequest
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
rotate(rotateRequest: RotateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PdfOperationResponse>>;
|
|
102
|
+
/**
|
|
103
|
+
* Cut one PDF into several new documents: every N pages, at given pages, by explicit page ranges, one document per page, or at bookmarks. Names follow a pattern ({name}, {index}, {first}, {last}, {title}).
|
|
104
|
+
* @summary Split a PDF
|
|
105
|
+
* @param {SplitRequest} splitRequest
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
split(splitRequest: SplitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PdfOperationResponse>>;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* PDFToolsApi - factory interface
|
|
113
|
+
*/
|
|
114
|
+
export declare const PDFToolsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
115
|
+
/**
|
|
116
|
+
* Page count and geometry, bookmarks, and whether the file is password-protected or digitally signed.
|
|
117
|
+
* @summary Describe a stored PDF
|
|
118
|
+
* @param {string} documentId PDF document id
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
info(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<PdfInfo>;
|
|
123
|
+
/**
|
|
124
|
+
* Concatenate several PDFs (or page selections of them) into one document, in the given order, optionally with one bookmark per source. Default output: a new document next to the first source.
|
|
125
|
+
* @summary Merge PDFs
|
|
126
|
+
* @param {MergeRequest} mergeRequest
|
|
127
|
+
* @param {*} [options] Override http request option.
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
*/
|
|
130
|
+
merge(mergeRequest: MergeRequest, options?: RawAxiosRequestConfig): AxiosPromise<PdfOperationResponse>;
|
|
131
|
+
/**
|
|
132
|
+
* The result is exactly the listed pages, in order: reorder, delete, duplicate, rotate individual pages, extract a selection, or insert pages from other PDFs. Default output: a new version of the main document.
|
|
133
|
+
* @summary Reorganise the pages of a PDF
|
|
134
|
+
* @param {OrganizeRequest} organizeRequest
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
organize(organizeRequest: OrganizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<PdfOperationResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* Rotate all or selected pages of one or several PDFs by 90, 180 or 270 degrees, one output per document. Default output: a new version of each document.
|
|
141
|
+
* @summary Rotate pages
|
|
142
|
+
* @param {RotateRequest} rotateRequest
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
rotate(rotateRequest: RotateRequest, options?: RawAxiosRequestConfig): AxiosPromise<PdfOperationResponse>;
|
|
147
|
+
/**
|
|
148
|
+
* Cut one PDF into several new documents: every N pages, at given pages, by explicit page ranges, one document per page, or at bookmarks. Names follow a pattern ({name}, {index}, {first}, {last}, {title}).
|
|
149
|
+
* @summary Split a PDF
|
|
150
|
+
* @param {SplitRequest} splitRequest
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
split(splitRequest: SplitRequest, options?: RawAxiosRequestConfig): AxiosPromise<PdfOperationResponse>;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* PDFToolsApi - object-oriented interface
|
|
158
|
+
*/
|
|
159
|
+
export declare class PDFToolsApi extends BaseAPI {
|
|
160
|
+
/**
|
|
161
|
+
* Page count and geometry, bookmarks, and whether the file is password-protected or digitally signed.
|
|
162
|
+
* @summary Describe a stored PDF
|
|
163
|
+
* @param {string} documentId PDF document id
|
|
164
|
+
* @param {*} [options] Override http request option.
|
|
165
|
+
* @throws {RequiredError}
|
|
166
|
+
*/
|
|
167
|
+
info(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PdfInfo, any, {}, any>>;
|
|
168
|
+
/**
|
|
169
|
+
* Concatenate several PDFs (or page selections of them) into one document, in the given order, optionally with one bookmark per source. Default output: a new document next to the first source.
|
|
170
|
+
* @summary Merge PDFs
|
|
171
|
+
* @param {MergeRequest} mergeRequest
|
|
172
|
+
* @param {*} [options] Override http request option.
|
|
173
|
+
* @throws {RequiredError}
|
|
174
|
+
*/
|
|
175
|
+
merge(mergeRequest: MergeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PdfOperationResponse, any, {}, any>>;
|
|
176
|
+
/**
|
|
177
|
+
* The result is exactly the listed pages, in order: reorder, delete, duplicate, rotate individual pages, extract a selection, or insert pages from other PDFs. Default output: a new version of the main document.
|
|
178
|
+
* @summary Reorganise the pages of a PDF
|
|
179
|
+
* @param {OrganizeRequest} organizeRequest
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
organize(organizeRequest: OrganizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PdfOperationResponse, any, {}, any>>;
|
|
184
|
+
/**
|
|
185
|
+
* Rotate all or selected pages of one or several PDFs by 90, 180 or 270 degrees, one output per document. Default output: a new version of each document.
|
|
186
|
+
* @summary Rotate pages
|
|
187
|
+
* @param {RotateRequest} rotateRequest
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
rotate(rotateRequest: RotateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PdfOperationResponse, any, {}, any>>;
|
|
192
|
+
/**
|
|
193
|
+
* Cut one PDF into several new documents: every N pages, at given pages, by explicit page ranges, one document per page, or at bookmarks. Names follow a pattern ({name}, {index}, {first}, {last}, {title}).
|
|
194
|
+
* @summary Split a PDF
|
|
195
|
+
* @param {SplitRequest} splitRequest
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
split(splitRequest: SplitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PdfOperationResponse, any, {}, any>>;
|
|
200
|
+
}
|