import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { AspectRatioCheckInput, AspectRatioCheckOutput, BleedCheckInput, BleedCheckOutput, BoxSizeCheckOutput, ColourCheckInput, ColourCheckOutput, FontsEmbeddedCheckInput, FontsEmbeddedCheckOutput, ImageResolutionCheckInput, ImageResolutionCheckOutput, OrientationCheckInput, OrientationCheckOutput, PageCountCheckInput, PageCountCheckOutput, PreflightMediaItem, ReportState, TrimSizeCheckInput, TrimSizeCheckOutput } from "./preflight_pb.js"; import type { ObjectRef } from "../../common/v1/object-ref_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file preflight/v2/preflight-batch.proto. */ export declare const file_preflight_v2_preflight_batch: GenFile; /** * @generated from message preflight.v2.PreflightReport */ export type PreflightReport = Message<"preflight.v2.PreflightReport"> & { /** * @generated from field: string object_id = 1; */ objectId: string; /** * @generated from field: string object_type = 2; */ objectType: string; /** * @generated from field: int64 artworker_id = 3; */ artworkerId: bigint; /** * @generated from field: int64 task_execution_plan_id = 4; */ taskExecutionPlanId: bigint; /** * @generated from field: int32 file_size = 5; */ fileSize: number; /** * @generated from field: int32 page_count = 6; */ pageCount: number; /** * @generated from field: repeated int64 encrypted_files_media_item_ids = 7; */ encryptedFilesMediaItemIds: bigint[]; /** * @generated from field: preflight.v2.BatchDocumentCheck report = 8; */ report?: BatchDocumentCheck; /** * @generated from field: preflight.v2.ReportState state = 9; */ state: ReportState; /** * @generated from field: int32 build_count = 10; */ buildCount: number; /** * @generated from field: repeated preflight.v2.PreflightMediaItem media_items = 11; */ mediaItems: PreflightMediaItem[]; }; /** * Describes the message preflight.v2.PreflightReport. * Use `create(PreflightReportSchema)` to create a new message. */ export declare const PreflightReportSchema: GenMessage; /** * @generated from message preflight.v2.GetPreflightReportRequest */ export type GetPreflightReportRequest = Message<"preflight.v2.GetPreflightReportRequest"> & { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; /** * @generated from field: int64 artworker_id = 2; */ artworkerId: bigint; }; /** * Describes the message preflight.v2.GetPreflightReportRequest. * Use `create(GetPreflightReportRequestSchema)` to create a new message. */ export declare const GetPreflightReportRequestSchema: GenMessage; /** * @generated from message preflight.v2.GetPreflightReportResponse */ export type GetPreflightReportResponse = Message<"preflight.v2.GetPreflightReportResponse"> & { /** * @generated from field: preflight.v2.PreflightReport report = 1; */ report?: PreflightReport; }; /** * Describes the message preflight.v2.GetPreflightReportResponse. * Use `create(GetPreflightReportResponseSchema)` to create a new message. */ export declare const GetPreflightReportResponseSchema: GenMessage; /** * @generated from message preflight.v2.BatchDocumentCheck */ export type BatchDocumentCheck = Message<"preflight.v2.BatchDocumentCheck"> & { /** * @generated from field: preflight.v2.BatchDocumentCheck.Checks checks = 1; */ checks?: BatchDocumentCheck_Checks; /** * @generated from field: string status = 2; */ status: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 3; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 4; */ warnings?: BatchWarnings; /** * @generated from field: optional string name = 5; */ name?: string; /** * @generated from field: int32 page_count = 6; */ pageCount: number; /** * @generated from field: string error = 7; */ error: string; }; /** * Describes the message preflight.v2.BatchDocumentCheck. * Use `create(BatchDocumentCheckSchema)` to create a new message. */ export declare const BatchDocumentCheckSchema: GenMessage; /** * @generated from message preflight.v2.BatchDocumentCheck.Checks */ export type BatchDocumentCheck_Checks = Message<"preflight.v2.BatchDocumentCheck.Checks"> & { /** * @generated from field: preflight.v2.BatchColourChecks colours = 1; */ colours?: BatchColourChecks; /** * @generated from field: preflight.v2.BatchDimensionsChecks dimensions = 2; */ dimensions?: BatchDimensionsChecks; /** * @generated from field: preflight.v2.BatchFontChecks fonts = 3; */ fonts?: BatchFontChecks; /** * @generated from field: preflight.v2.BatchImageChecks images = 4; */ images?: BatchImageChecks; /** * @generated from field: preflight.v2.BatchDocumentChecks document = 5; */ document?: BatchDocumentChecks; }; /** * Describes the message preflight.v2.BatchDocumentCheck.Checks. * Use `create(BatchDocumentCheck_ChecksSchema)` to create a new message. */ export declare const BatchDocumentCheck_ChecksSchema: GenMessage; /** * ----------------------------------------------------------------------- * Each group has explicit checks: no "map needed. * ----------------------------------------------------------------------- * * @generated from message preflight.v2.BatchDocumentChecks */ export type BatchDocumentChecks = Message<"preflight.v2.BatchDocumentChecks"> & { /** * @generated from field: preflight.v2.BatchDocumentChecks.Checks checks = 1; */ checks?: BatchDocumentChecks_Checks; /** * @generated from field: string status = 2; */ status: string; }; /** * Describes the message preflight.v2.BatchDocumentChecks. * Use `create(BatchDocumentChecksSchema)` to create a new message. */ export declare const BatchDocumentChecksSchema: GenMessage; /** * @generated from message preflight.v2.BatchDocumentChecks.Checks */ export type BatchDocumentChecks_Checks = Message<"preflight.v2.BatchDocumentChecks.Checks"> & { /** * @generated from field: preflight.v2.BatchPageCountCheck document_page_count = 1; */ documentPageCount?: BatchPageCountCheck; }; /** * Describes the message preflight.v2.BatchDocumentChecks.Checks. * Use `create(BatchDocumentChecks_ChecksSchema)` to create a new message. */ export declare const BatchDocumentChecks_ChecksSchema: GenMessage; /** * @generated from message preflight.v2.BatchColourChecks */ export type BatchColourChecks = Message<"preflight.v2.BatchColourChecks"> & { /** * @generated from field: preflight.v2.BatchColourChecks.Checks checks = 1; */ checks?: BatchColourChecks_Checks; /** * @generated from field: string status = 2; */ status: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 3; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 4; */ warnings?: BatchWarnings; /** * @generated from field: optional string name = 5; */ name?: string; }; /** * Describes the message preflight.v2.BatchColourChecks. * Use `create(BatchColourChecksSchema)` to create a new message. */ export declare const BatchColourChecksSchema: GenMessage; /** * The single "checkColours" as a specialized message: * * @generated from message preflight.v2.BatchColourChecks.Checks */ export type BatchColourChecks_Checks = Message<"preflight.v2.BatchColourChecks.Checks"> & { /** * @generated from field: preflight.v2.BatchColourCheck check_colours = 1; */ checkColours?: BatchColourCheck; }; /** * Describes the message preflight.v2.BatchColourChecks.Checks. * Use `create(BatchColourChecks_ChecksSchema)` to create a new message. */ export declare const BatchColourChecks_ChecksSchema: GenMessage; /** * @generated from message preflight.v2.BatchDimensionsChecks */ export type BatchDimensionsChecks = Message<"preflight.v2.BatchDimensionsChecks"> & { /** * @generated from field: preflight.v2.BatchDimensionsChecks.Checks checks = 1; */ checks?: BatchDimensionsChecks_Checks; /** * @generated from field: string status = 2; */ status: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 3; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 4; */ warnings?: BatchWarnings; /** * @generated from field: optional string name = 5; */ name?: string; }; /** * Describes the message preflight.v2.BatchDimensionsChecks. * Use `create(BatchDimensionsChecksSchema)` to create a new message. */ export declare const BatchDimensionsChecksSchema: GenMessage; /** * @generated from message preflight.v2.BatchDimensionsChecks.Checks */ export type BatchDimensionsChecks_Checks = Message<"preflight.v2.BatchDimensionsChecks.Checks"> & { /** * @generated from field: preflight.v2.BatchAspectRatioCheck aspect_ratio = 1; */ aspectRatio?: BatchAspectRatioCheck; /** * @generated from field: preflight.v2.BatchBleedCheck bleed = 2; */ bleed?: BatchBleedCheck; /** * @generated from field: preflight.v2.BatchOrientationCheck orientation = 3; */ orientation?: BatchOrientationCheck; /** * @generated from field: preflight.v2.BatchTrimSizeCheck trim_size = 4; */ trimSize?: BatchTrimSizeCheck; /** * @generated from field: preflight.v2.BatchBoxSizeCheck media_box_size = 5; */ mediaBoxSize?: BatchBoxSizeCheck; /** * @generated from field: preflight.v2.BatchBoxSizeCheck bleed_box_size = 6; */ bleedBoxSize?: BatchBoxSizeCheck; /** * @generated from field: preflight.v2.BatchBoxSizeCheck art_box_size = 7; */ artBoxSize?: BatchBoxSizeCheck; }; /** * Describes the message preflight.v2.BatchDimensionsChecks.Checks. * Use `create(BatchDimensionsChecks_ChecksSchema)` to create a new message. */ export declare const BatchDimensionsChecks_ChecksSchema: GenMessage; /** * @generated from message preflight.v2.BatchFontChecks */ export type BatchFontChecks = Message<"preflight.v2.BatchFontChecks"> & { /** * @generated from field: preflight.v2.BatchFontChecks.Checks checks = 1; */ checks?: BatchFontChecks_Checks; /** * @generated from field: string status = 2; */ status: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 3; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 4; */ warnings?: BatchWarnings; /** * @generated from field: optional string name = 5; */ name?: string; }; /** * Describes the message preflight.v2.BatchFontChecks. * Use `create(BatchFontChecksSchema)` to create a new message. */ export declare const BatchFontChecksSchema: GenMessage; /** * @generated from message preflight.v2.BatchFontChecks.Checks */ export type BatchFontChecks_Checks = Message<"preflight.v2.BatchFontChecks.Checks"> & { /** * @generated from field: preflight.v2.BatchFontsEmbeddedCheck fonts_embedded = 1; */ fontsEmbedded?: BatchFontsEmbeddedCheck; }; /** * Describes the message preflight.v2.BatchFontChecks.Checks. * Use `create(BatchFontChecks_ChecksSchema)` to create a new message. */ export declare const BatchFontChecks_ChecksSchema: GenMessage; /** * @generated from message preflight.v2.BatchImageChecks */ export type BatchImageChecks = Message<"preflight.v2.BatchImageChecks"> & { /** * @generated from field: preflight.v2.BatchImageChecks.Checks checks = 1; */ checks?: BatchImageChecks_Checks; /** * @generated from field: string status = 2; */ status: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 3; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 4; */ warnings?: BatchWarnings; /** * @generated from field: optional string name = 5; */ name?: string; }; /** * Describes the message preflight.v2.BatchImageChecks. * Use `create(BatchImageChecksSchema)` to create a new message. */ export declare const BatchImageChecksSchema: GenMessage; /** * @generated from message preflight.v2.BatchImageChecks.Checks */ export type BatchImageChecks_Checks = Message<"preflight.v2.BatchImageChecks.Checks"> & { /** * @generated from field: preflight.v2.BatchImageResolutionCheck image_resolution = 1; */ imageResolution?: BatchImageResolutionCheck; }; /** * Describes the message preflight.v2.BatchImageChecks.Checks. * Use `create(BatchImageChecks_ChecksSchema)` to create a new message. */ export declare const BatchImageChecks_ChecksSchema: GenMessage; /** * @generated from message preflight.v2.BatchPageCountCheck */ export type BatchPageCountCheck = Message<"preflight.v2.BatchPageCountCheck"> & { /** * @generated from field: bool check_enabled = 1; */ checkEnabled: boolean; /** * @generated from field: preflight.v2.PageCountCheckInput input = 2; */ input?: PageCountCheckInput; /** * @generated from field: string key = 3; */ key: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: preflight.v2.PageCountCheckOutput output = 5; */ output?: PageCountCheckOutput; /** * @generated from field: string status = 6; */ status: string; }; /** * Describes the message preflight.v2.BatchPageCountCheck. * Use `create(BatchPageCountCheckSchema)` to create a new message. */ export declare const BatchPageCountCheckSchema: GenMessage; /** * @generated from message preflight.v2.BatchColourCheck */ export type BatchColourCheck = Message<"preflight.v2.BatchColourCheck"> & { /** * @generated from field: bool check_enabled = 1; */ checkEnabled: boolean; /** * @generated from field: preflight.v2.ColourCheckInput input = 2; */ input?: ColourCheckInput; /** * @generated from field: string key = 3; */ key: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: preflight.v2.ColourCheckOutput output = 5; */ output?: ColourCheckOutput; /** * @generated from field: string status = 6; */ status: string; /** * @generated from field: string summary = 7; */ summary: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 8; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 9; */ warnings?: BatchWarnings; }; /** * Describes the message preflight.v2.BatchColourCheck. * Use `create(BatchColourCheckSchema)` to create a new message. */ export declare const BatchColourCheckSchema: GenMessage; /** * @generated from message preflight.v2.BatchAspectRatioCheck */ export type BatchAspectRatioCheck = Message<"preflight.v2.BatchAspectRatioCheck"> & { /** * @generated from field: bool check_enabled = 1; */ checkEnabled: boolean; /** * @generated from field: preflight.v2.AspectRatioCheckInput input = 2; */ input?: AspectRatioCheckInput; /** * @generated from field: string key = 3; */ key: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: preflight.v2.AspectRatioCheckOutput output = 5; */ output?: AspectRatioCheckOutput; /** * @generated from field: string status = 6; */ status: string; /** * @generated from field: string summary = 7; */ summary: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 8; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 9; */ warnings?: BatchWarnings; }; /** * Describes the message preflight.v2.BatchAspectRatioCheck. * Use `create(BatchAspectRatioCheckSchema)` to create a new message. */ export declare const BatchAspectRatioCheckSchema: GenMessage; /** * @generated from message preflight.v2.BatchBleedCheck */ export type BatchBleedCheck = Message<"preflight.v2.BatchBleedCheck"> & { /** * @generated from field: bool check_enabled = 1; */ checkEnabled: boolean; /** * @generated from field: preflight.v2.BleedCheckInput input = 2; */ input?: BleedCheckInput; /** * @generated from field: string key = 3; */ key: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: preflight.v2.BleedCheckOutput output = 5; */ output?: BleedCheckOutput; /** * @generated from field: string status = 6; */ status: string; /** * @generated from field: string summary = 7; */ summary: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 8; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 9; */ warnings?: BatchWarnings; }; /** * Describes the message preflight.v2.BatchBleedCheck. * Use `create(BatchBleedCheckSchema)` to create a new message. */ export declare const BatchBleedCheckSchema: GenMessage; /** * @generated from message preflight.v2.BatchOrientationCheck */ export type BatchOrientationCheck = Message<"preflight.v2.BatchOrientationCheck"> & { /** * @generated from field: bool check_enabled = 1; */ checkEnabled: boolean; /** * @generated from field: preflight.v2.OrientationCheckInput input = 2; */ input?: OrientationCheckInput; /** * @generated from field: string key = 3; */ key: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: preflight.v2.OrientationCheckOutput output = 5; */ output?: OrientationCheckOutput; /** * @generated from field: string status = 6; */ status: string; /** * @generated from field: string summary = 7; */ summary: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 8; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 9; */ warnings?: BatchWarnings; }; /** * Describes the message preflight.v2.BatchOrientationCheck. * Use `create(BatchOrientationCheckSchema)` to create a new message. */ export declare const BatchOrientationCheckSchema: GenMessage; /** * @generated from message preflight.v2.BatchTrimSizeCheck */ export type BatchTrimSizeCheck = Message<"preflight.v2.BatchTrimSizeCheck"> & { /** * @generated from field: bool check_enabled = 1; */ checkEnabled: boolean; /** * @generated from field: preflight.v2.TrimSizeCheckInput input = 2; */ input?: TrimSizeCheckInput; /** * @generated from field: string key = 3; */ key: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: preflight.v2.TrimSizeCheckOutput output = 5; */ output?: TrimSizeCheckOutput; /** * @generated from field: string status = 6; */ status: string; /** * @generated from field: string summary = 7; */ summary: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 8; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 9; */ warnings?: BatchWarnings; }; /** * Describes the message preflight.v2.BatchTrimSizeCheck. * Use `create(BatchTrimSizeCheckSchema)` to create a new message. */ export declare const BatchTrimSizeCheckSchema: GenMessage; /** * @generated from message preflight.v2.BatchBoxSizeCheck */ export type BatchBoxSizeCheck = Message<"preflight.v2.BatchBoxSizeCheck"> & { /** * @generated from field: bool check_enabled = 1; */ checkEnabled: boolean; /** * TrimSizeCheckInput input = 2; * * @generated from field: string key = 3; */ key: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: preflight.v2.BoxSizeCheckOutput output = 5; */ output?: BoxSizeCheckOutput; /** * @generated from field: string status = 6; */ status: string; /** * @generated from field: string summary = 7; */ summary: string; }; /** * Describes the message preflight.v2.BatchBoxSizeCheck. * Use `create(BatchBoxSizeCheckSchema)` to create a new message. */ export declare const BatchBoxSizeCheckSchema: GenMessage; /** * @generated from message preflight.v2.BatchFontsEmbeddedCheck */ export type BatchFontsEmbeddedCheck = Message<"preflight.v2.BatchFontsEmbeddedCheck"> & { /** * @generated from field: bool check_enabled = 1; */ checkEnabled: boolean; /** * @generated from field: preflight.v2.FontsEmbeddedCheckInput input = 2; */ input?: FontsEmbeddedCheckInput; /** * @generated from field: string key = 3; */ key: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: preflight.v2.FontsEmbeddedCheckOutput output = 5; */ output?: FontsEmbeddedCheckOutput; /** * @generated from field: string status = 6; */ status: string; /** * @generated from field: string summary = 7; */ summary: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 8; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 9; */ warnings?: BatchWarnings; }; /** * Describes the message preflight.v2.BatchFontsEmbeddedCheck. * Use `create(BatchFontsEmbeddedCheckSchema)` to create a new message. */ export declare const BatchFontsEmbeddedCheckSchema: GenMessage; /** * @generated from message preflight.v2.BatchImageResolutionCheck */ export type BatchImageResolutionCheck = Message<"preflight.v2.BatchImageResolutionCheck"> & { /** * @generated from field: bool check_enabled = 1; */ checkEnabled: boolean; /** * @generated from field: preflight.v2.ImageResolutionCheckInput input = 2; */ input?: ImageResolutionCheckInput; /** * @generated from field: string key = 3; */ key: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: preflight.v2.ImageResolutionCheckOutput output = 5; */ output?: ImageResolutionCheckOutput; /** * @generated from field: string status = 6; */ status: string; /** * @generated from field: string summary = 7; */ summary: string; /** * @generated from field: optional preflight.v2.BatchFailures failures = 8; */ failures?: BatchFailures; /** * @generated from field: optional preflight.v2.BatchWarnings warnings = 9; */ warnings?: BatchWarnings; }; /** * Describes the message preflight.v2.BatchImageResolutionCheck. * Use `create(BatchImageResolutionCheckSchema)` to create a new message. */ export declare const BatchImageResolutionCheckSchema: GenMessage; /** * AffectedFilesAndPages represents affected files and pages * * @generated from message preflight.v2.BatchAffectedFilesAndPages */ export type BatchAffectedFilesAndPages = Message<"preflight.v2.BatchAffectedFilesAndPages"> & { /** * @generated from field: int32 file_num = 1; */ fileNum: number; /** * @generated from field: int32 page_num = 2; */ pageNum: number; }; /** * Describes the message preflight.v2.BatchAffectedFilesAndPages. * Use `create(BatchAffectedFilesAndPagesSchema)` to create a new message. */ export declare const BatchAffectedFilesAndPagesSchema: GenMessage; /** * @generated from message preflight.v2.BatchFailures */ export type BatchFailures = Message<"preflight.v2.BatchFailures"> & { /** * @generated from field: repeated preflight.v2.BatchAffectedFilesAndPages affected_pages = 1; */ affectedPages: BatchAffectedFilesAndPages[]; /** * @generated from field: int32 count = 2; */ count: number; }; /** * Describes the message preflight.v2.BatchFailures. * Use `create(BatchFailuresSchema)` to create a new message. */ export declare const BatchFailuresSchema: GenMessage; /** * @generated from message preflight.v2.BatchWarnings */ export type BatchWarnings = Message<"preflight.v2.BatchWarnings"> & { /** * @generated from field: repeated preflight.v2.BatchAffectedFilesAndPages affected_pages = 1; */ affectedPages: BatchAffectedFilesAndPages[]; /** * @generated from field: int32 count = 2; */ count: number; }; /** * Describes the message preflight.v2.BatchWarnings. * Use `create(BatchWarningsSchema)` to create a new message. */ export declare const BatchWarningsSchema: GenMessage;