/* tslint:disable */ /* eslint-disable */ /** * 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. */ // May contain unused imports in some cases // @ts-ignore 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 const SplitRequestModeEnum = { EveryNPages: 'EVERY_N_PAGES', EveryPage: 'EVERY_PAGE', AtPages: 'AT_PAGES', PageRanges: 'PAGE_RANGES', ByOutlineLevel: 'BY_OUTLINE_LEVEL', } as const; export type SplitRequestModeEnum = typeof SplitRequestModeEnum[keyof typeof SplitRequestModeEnum];