// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file artworking/v1/pdfsplit.proto (package artworking.v1, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file artworking/v1/pdfsplit.proto. */ export const file_artworking_v1_pdfsplit: GenFile = /*@__PURE__*/ fileDesc("ChxhcnR3b3JraW5nL3YxL3BkZnNwbGl0LnByb3RvEg1hcnR3b3JraW5nLnYxIisKDlBkZlNwbGl0UGFyYW1zEhkKEXByZXNlcnZlX2ZpbGVuYW1lGAEgASgIIp8CCg5QZGZTcGxpdEFjdGlvbhIZChFleGVjdXRpb25fcGxhbl9pZBgBIAEoBBISCgpwYWdlX2NvdW50GAIgASgFEhUKDWVycm9yX21lc3NhZ2UYAyABKAkSLQoGcGFyYW1zGAQgASgLMh0uYXJ0d29ya2luZy52MS5QZGZTcGxpdFBhcmFtcxIUCgxuZXdfaXRlbV9pZHMYBSADKAUSSwoQcGFnZV9tZWRpYV9pdGVtcxgGIAMoCzIxLmFydHdvcmtpbmcudjEuUGRmU3BsaXRBY3Rpb24uUGFnZU1lZGlhSXRlbXNFbnRyeRo1ChNQYWdlTWVkaWFJdGVtc0VudHJ5EgsKA2tleRgBIAEoBRINCgV2YWx1ZRgCIAEoAzoCOAFCUFpOYml0YnVja2V0Lm9yZy9rdWRvdWsvYXJ0d29ya2VyLWJhY2tlbmQvcHJvdG8vZ2VuL2dvL2FydHdvcmtpbmcvdjE7YXJ0d29ya2luZ3YxYgZwcm90bzM"); /** * PdfSplitParams defines parameters for PDF page splitting * * @generated from message artworking.v1.PdfSplitParams */ export type PdfSplitParams = Message<"artworking.v1.PdfSplitParams"> & { /** * Whether to preserve original filename pattern * * @generated from field: bool preserve_filename = 1; */ preserveFilename: boolean; }; /** * Describes the message artworking.v1.PdfSplitParams. * Use `create(PdfSplitParamsSchema)` to create a new message. */ export const PdfSplitParamsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_pdfsplit, 0); /** * PdfSplitAction tracks the state of a PDF split operation * * @generated from message artworking.v1.PdfSplitAction */ export type PdfSplitAction = Message<"artworking.v1.PdfSplitAction"> & { /** * Execution plan ID from TaskAPI * * @generated from field: uint64 execution_plan_id = 1; */ executionPlanId: bigint; /** * Number of pages that were split * * @generated from field: int32 page_count = 2; */ pageCount: number; /** * Error message if split failed * * @generated from field: string error_message = 3; */ errorMessage: string; /** * Parameters used for the split * * @generated from field: artworking.v1.PdfSplitParams params = 4; */ params?: PdfSplitParams; /** * IDs of the newly created artwork items (one per page) * * @generated from field: repeated int32 new_item_ids = 5; */ newItemIds: number[]; /** * Map of page number to media item ID * * @generated from field: map page_media_items = 6; */ pageMediaItems: { [key: number]: bigint }; }; /** * Describes the message artworking.v1.PdfSplitAction. * Use `create(PdfSplitActionSchema)` to create a new message. */ export const PdfSplitActionSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_pdfsplit, 1);