/** * openfilz-api * API for Document Management System * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { MergeRequest } from '../models'; import type { OrganizeRequest } from '../models'; import type { PdfInfo } from '../models'; import type { PdfOperationResponse } from '../models'; import type { RotateRequest } from '../models'; import type { SplitRequest } from '../models'; /** * PDFToolsApi - axios parameter creator */ export declare const PDFToolsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Page count and geometry, bookmarks, and whether the file is password-protected or digitally signed. * @summary Describe a stored PDF * @param {string} documentId PDF document id * @param {*} [options] Override http request option. * @throws {RequiredError} */ info: (documentId: string, options?: RawAxiosRequestConfig) => Promise; /** * 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. * @summary Merge PDFs * @param {MergeRequest} mergeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ merge: (mergeRequest: MergeRequest, options?: RawAxiosRequestConfig) => Promise; /** * 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. * @summary Reorganise the pages of a PDF * @param {OrganizeRequest} organizeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ organize: (organizeRequest: OrganizeRequest, options?: RawAxiosRequestConfig) => Promise; /** * 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. * @summary Rotate pages * @param {RotateRequest} rotateRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ rotate: (rotateRequest: RotateRequest, options?: RawAxiosRequestConfig) => Promise; /** * 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}). * @summary Split a PDF * @param {SplitRequest} splitRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ split: (splitRequest: SplitRequest, options?: RawAxiosRequestConfig) => Promise; }; /** * PDFToolsApi - functional programming interface */ export declare const PDFToolsApiFp: (configuration?: Configuration) => { /** * Page count and geometry, bookmarks, and whether the file is password-protected or digitally signed. * @summary Describe a stored PDF * @param {string} documentId PDF document id * @param {*} [options] Override http request option. * @throws {RequiredError} */ info(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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. * @summary Merge PDFs * @param {MergeRequest} mergeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ merge(mergeRequest: MergeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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. * @summary Reorganise the pages of a PDF * @param {OrganizeRequest} organizeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ organize(organizeRequest: OrganizeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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. * @summary Rotate pages * @param {RotateRequest} rotateRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ rotate(rotateRequest: RotateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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}). * @summary Split a PDF * @param {SplitRequest} splitRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ split(splitRequest: SplitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * PDFToolsApi - factory interface */ export declare const PDFToolsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Page count and geometry, bookmarks, and whether the file is password-protected or digitally signed. * @summary Describe a stored PDF * @param {string} documentId PDF document id * @param {*} [options] Override http request option. * @throws {RequiredError} */ info(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * 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. * @summary Merge PDFs * @param {MergeRequest} mergeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ merge(mergeRequest: MergeRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * 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. * @summary Reorganise the pages of a PDF * @param {OrganizeRequest} organizeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ organize(organizeRequest: OrganizeRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * 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. * @summary Rotate pages * @param {RotateRequest} rotateRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ rotate(rotateRequest: RotateRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * 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}). * @summary Split a PDF * @param {SplitRequest} splitRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ split(splitRequest: SplitRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * PDFToolsApi - object-oriented interface */ export declare class PDFToolsApi extends BaseAPI { /** * Page count and geometry, bookmarks, and whether the file is password-protected or digitally signed. * @summary Describe a stored PDF * @param {string} documentId PDF document id * @param {*} [options] Override http request option. * @throws {RequiredError} */ info(documentId: string, options?: RawAxiosRequestConfig): Promise>; /** * 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. * @summary Merge PDFs * @param {MergeRequest} mergeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ merge(mergeRequest: MergeRequest, options?: RawAxiosRequestConfig): Promise>; /** * 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. * @summary Reorganise the pages of a PDF * @param {OrganizeRequest} organizeRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ organize(organizeRequest: OrganizeRequest, options?: RawAxiosRequestConfig): Promise>; /** * 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. * @summary Rotate pages * @param {RotateRequest} rotateRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ rotate(rotateRequest: RotateRequest, options?: RawAxiosRequestConfig): Promise>; /** * 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}). * @summary Split a PDF * @param {SplitRequest} splitRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ split(splitRequest: SplitRequest, options?: RawAxiosRequestConfig): Promise>; }