// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file preflight/v2/preflight-batch.proto (package preflight.v2, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } 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 { file_preflight_v2_preflight } from "./preflight_pb.js"; import type { ObjectRef } from "../../common/v1/object-ref_pb.js"; import { file_common_v1_object_ref } from "../../common/v1/object-ref_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file preflight/v2/preflight-batch.proto. */ export const file_preflight_v2_preflight_batch: GenFile = /*@__PURE__*/ fileDesc("CiJwcmVmbGlnaHQvdjIvcHJlZmxpZ2h0LWJhdGNoLnByb3RvEgxwcmVmbGlnaHQudjIi5gIKD1ByZWZsaWdodFJlcG9ydBIRCglvYmplY3RfaWQYASABKAkSEwoLb2JqZWN0X3R5cGUYAiABKAkSFAoMYXJ0d29ya2VyX2lkGAMgASgDEh4KFnRhc2tfZXhlY3V0aW9uX3BsYW5faWQYBCABKAMSEQoJZmlsZV9zaXplGAUgASgFEhIKCnBhZ2VfY291bnQYBiABKAUSJgoeZW5jcnlwdGVkX2ZpbGVzX21lZGlhX2l0ZW1faWRzGAcgAygDEjAKBnJlcG9ydBgIIAEoCzIgLnByZWZsaWdodC52Mi5CYXRjaERvY3VtZW50Q2hlY2sSKAoFc3RhdGUYCSABKA4yGS5wcmVmbGlnaHQudjIuUmVwb3J0U3RhdGUSEwoLYnVpbGRfY291bnQYCiABKAUSNQoL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ItYmFja2VuZC9wcm90by9wcmVmbGlnaHQvdjJiBnByb3RvMw", [file_preflight_v2_preflight, file_common_v1_object_ref]); /** * @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 const PreflightReportSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 0); /** * @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 const GetPreflightReportRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 1); /** * @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 const GetPreflightReportResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 2); /** * @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 const BatchDocumentCheckSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 3); /** * @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 const BatchDocumentCheck_ChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 3, 0); /** * ----------------------------------------------------------------------- * 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 const BatchDocumentChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 4); /** * @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 const BatchDocumentChecks_ChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 4, 0); /** * @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 const BatchColourChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 5); /** * 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 const BatchColourChecks_ChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 5, 0); /** * @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 const BatchDimensionsChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 6); /** * @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 const BatchDimensionsChecks_ChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 6, 0); /** * @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 const BatchFontChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 7); /** * @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 const BatchFontChecks_ChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 7, 0); /** * @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 const BatchImageChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 8); /** * @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 const BatchImageChecks_ChecksSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 8, 0); /** * @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 const BatchPageCountCheckSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 9); /** * @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 const BatchColourCheckSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 10); /** * @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 const BatchAspectRatioCheckSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 11); /** * @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 const BatchBleedCheckSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 12); /** * @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 const BatchOrientationCheckSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 13); /** * @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 const BatchTrimSizeCheckSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 14); /** * @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 const BatchBoxSizeCheckSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 15); /** * @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 const BatchFontsEmbeddedCheckSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 16); /** * @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 const BatchImageResolutionCheckSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 17); /** * 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 const BatchAffectedFilesAndPagesSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 18); /** * @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 const BatchFailuresSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 19); /** * @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 const BatchWarningsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v2_preflight_batch, 20);