@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.
Files changed (140) hide show
  1. package/.openapi-generator/FILES +36 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +24 -2
  4. package/api/feature-entitlements-api.ts +121 -0
  5. package/api/pdftools-api.ts +430 -0
  6. package/api.ts +2 -0
  7. package/dist/api/feature-entitlements-api.d.ts +63 -0
  8. package/dist/api/feature-entitlements-api.js +125 -0
  9. package/dist/api/pdftools-api.d.ts +200 -0
  10. package/dist/api/pdftools-api.js +412 -0
  11. package/dist/api.d.ts +2 -0
  12. package/dist/api.js +2 -0
  13. package/dist/esm/api/feature-entitlements-api.d.ts +63 -0
  14. package/dist/esm/api/feature-entitlements-api.js +118 -0
  15. package/dist/esm/api/pdftools-api.d.ts +200 -0
  16. package/dist/esm/api/pdftools-api.js +405 -0
  17. package/dist/esm/api.d.ts +2 -0
  18. package/dist/esm/api.js +2 -0
  19. package/dist/esm/models/enriched-audit-log-details.d.ts +3 -0
  20. package/dist/esm/models/enriched-audit-log.d.ts +1 -0
  21. package/dist/esm/models/enriched-audit-log.js +1 -0
  22. package/dist/esm/models/feature-entitlement.d.ts +16 -0
  23. package/dist/esm/models/feature-entitlement.js +14 -0
  24. package/dist/esm/models/index.d.ts +16 -0
  25. package/dist/esm/models/index.js +16 -0
  26. package/dist/esm/models/merge-request.d.ts +30 -0
  27. package/dist/esm/models/merge-request.js +14 -0
  28. package/dist/esm/models/merge-source.d.ts +24 -0
  29. package/dist/esm/models/merge-source.js +14 -0
  30. package/dist/esm/models/organize-request.d.ts +30 -0
  31. package/dist/esm/models/organize-request.js +14 -0
  32. package/dist/esm/models/output-target.d.ts +41 -0
  33. package/dist/esm/models/output-target.js +17 -0
  34. package/dist/esm/models/page-instruction.d.ts +28 -0
  35. package/dist/esm/models/page-instruction.js +14 -0
  36. package/dist/esm/models/pdf-info.d.ts +26 -0
  37. package/dist/esm/models/pdf-info.js +14 -0
  38. package/dist/esm/models/pdf-operation-response.d.ts +19 -0
  39. package/dist/esm/models/pdf-operation-response.js +14 -0
  40. package/dist/esm/models/pdf-outline-entry.d.ts +19 -0
  41. package/dist/esm/models/pdf-outline-entry.js +14 -0
  42. package/dist/esm/models/pdf-output-info.d.ts +21 -0
  43. package/dist/esm/models/pdf-output-info.js +14 -0
  44. package/dist/esm/models/pdf-page-info.d.ts +20 -0
  45. package/dist/esm/models/pdf-page-info.js +14 -0
  46. package/dist/esm/models/pdf-transform-audit.d.ts +17 -0
  47. package/dist/esm/models/pdf-transform-audit.js +14 -0
  48. package/dist/esm/models/response.d.ts +15 -0
  49. package/dist/esm/models/response.js +14 -0
  50. package/dist/esm/models/rotate-request.d.ts +33 -0
  51. package/dist/esm/models/rotate-request.js +14 -0
  52. package/dist/esm/models/search-by-audit-log-request.d.ts +1 -0
  53. package/dist/esm/models/search-by-audit-log-request.js +1 -0
  54. package/dist/esm/models/settings.d.ts +1 -0
  55. package/dist/esm/models/split-output.d.ts +32 -0
  56. package/dist/esm/models/split-output.js +14 -0
  57. package/dist/esm/models/split-request.d.ts +53 -0
  58. package/dist/esm/models/split-request.js +20 -0
  59. package/dist/models/enriched-audit-log-details.d.ts +3 -0
  60. package/dist/models/enriched-audit-log.d.ts +1 -0
  61. package/dist/models/enriched-audit-log.js +1 -0
  62. package/dist/models/feature-entitlement.d.ts +16 -0
  63. package/dist/models/feature-entitlement.js +15 -0
  64. package/dist/models/index.d.ts +16 -0
  65. package/dist/models/index.js +16 -0
  66. package/dist/models/merge-request.d.ts +30 -0
  67. package/dist/models/merge-request.js +15 -0
  68. package/dist/models/merge-source.d.ts +24 -0
  69. package/dist/models/merge-source.js +15 -0
  70. package/dist/models/organize-request.d.ts +30 -0
  71. package/dist/models/organize-request.js +15 -0
  72. package/dist/models/output-target.d.ts +41 -0
  73. package/dist/models/output-target.js +20 -0
  74. package/dist/models/page-instruction.d.ts +28 -0
  75. package/dist/models/page-instruction.js +15 -0
  76. package/dist/models/pdf-info.d.ts +26 -0
  77. package/dist/models/pdf-info.js +15 -0
  78. package/dist/models/pdf-operation-response.d.ts +19 -0
  79. package/dist/models/pdf-operation-response.js +15 -0
  80. package/dist/models/pdf-outline-entry.d.ts +19 -0
  81. package/dist/models/pdf-outline-entry.js +15 -0
  82. package/dist/models/pdf-output-info.d.ts +21 -0
  83. package/dist/models/pdf-output-info.js +15 -0
  84. package/dist/models/pdf-page-info.d.ts +20 -0
  85. package/dist/models/pdf-page-info.js +15 -0
  86. package/dist/models/pdf-transform-audit.d.ts +17 -0
  87. package/dist/models/pdf-transform-audit.js +15 -0
  88. package/dist/models/response.d.ts +15 -0
  89. package/dist/models/response.js +15 -0
  90. package/dist/models/rotate-request.d.ts +33 -0
  91. package/dist/models/rotate-request.js +15 -0
  92. package/dist/models/search-by-audit-log-request.d.ts +1 -0
  93. package/dist/models/search-by-audit-log-request.js +1 -0
  94. package/dist/models/settings.d.ts +1 -0
  95. package/dist/models/split-output.d.ts +32 -0
  96. package/dist/models/split-output.js +15 -0
  97. package/dist/models/split-request.d.ts +53 -0
  98. package/dist/models/split-request.js +23 -0
  99. package/docs/EnrichedAuditLogDetails.md +8 -2
  100. package/docs/FeatureEntitlement.md +24 -0
  101. package/docs/FeatureEntitlementsApi.md +52 -0
  102. package/docs/MergeRequest.md +25 -0
  103. package/docs/MergeSource.md +23 -0
  104. package/docs/OrganizeRequest.md +25 -0
  105. package/docs/OutputTarget.md +29 -0
  106. package/docs/PDFToolsApi.md +271 -0
  107. package/docs/PageInstruction.md +25 -0
  108. package/docs/PdfInfo.md +35 -0
  109. package/docs/PdfOperationResponse.md +23 -0
  110. package/docs/PdfOutlineEntry.md +25 -0
  111. package/docs/PdfOutputInfo.md +29 -0
  112. package/docs/PdfPageInfo.md +27 -0
  113. package/docs/PdfTransformAudit.md +27 -0
  114. package/docs/Response.md +20 -0
  115. package/docs/RotateRequest.md +27 -0
  116. package/docs/Settings.md +2 -0
  117. package/docs/SplitOutput.md +27 -0
  118. package/docs/SplitRequest.md +33 -0
  119. package/models/enriched-audit-log-details.ts +4 -1
  120. package/models/enriched-audit-log.ts +1 -0
  121. package/models/feature-entitlement.ts +22 -0
  122. package/models/index.ts +16 -0
  123. package/models/merge-request.ts +40 -0
  124. package/models/merge-source.ts +30 -0
  125. package/models/organize-request.ts +40 -0
  126. package/models/output-target.ts +50 -0
  127. package/models/page-instruction.ts +34 -0
  128. package/models/pdf-info.ts +36 -0
  129. package/models/pdf-operation-response.ts +27 -0
  130. package/models/pdf-outline-entry.ts +25 -0
  131. package/models/pdf-output-info.ts +27 -0
  132. package/models/pdf-page-info.ts +26 -0
  133. package/models/pdf-transform-audit.ts +26 -0
  134. package/models/response.ts +23 -0
  135. package/models/rotate-request.ts +41 -0
  136. package/models/search-by-audit-log-request.ts +1 -0
  137. package/models/settings.ts +1 -0
  138. package/models/split-output.ts +38 -0
  139. package/models/split-request.ts +64 -0
  140. 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
+ }