/** * 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 { SplitOutput } from './split-output'; /** * Split a PDF into several documents */ export interface SplitRequest { /** * PDF document to split */ 'documentId': string; /** * Split mode */ 'mode': SplitRequestModeEnum; /** * EVERY_N_PAGES: pages per part */ 'n'?: number; /** * AT_PAGES: pages at which a new part starts */ 'pages'?: Array; /** * PAGE_RANGES: one page selection per part */ 'ranges'?: Array; /** * BY_OUTLINE_LEVEL: deepest bookmark level starting a part (default 1) */ 'outlineLevel'?: number; /** * Destination of the parts */ 'output'?: SplitOutput; } export declare const SplitRequestModeEnum: { readonly EveryNPages: "EVERY_N_PAGES"; readonly EveryPage: "EVERY_PAGE"; readonly AtPages: "AT_PAGES"; readonly PageRanges: "PAGE_RANGES"; readonly ByOutlineLevel: "BY_OUTLINE_LEVEL"; }; export type SplitRequestModeEnum = typeof SplitRequestModeEnum[keyof typeof SplitRequestModeEnum];